Stoke Willie

2.9K posts

Stoke Willie banner
Stoke Willie

Stoke Willie

@StokeWillie

Not Wigner, but Noether

Katılım Şubat 2014
447 Takip Edilen205 Takipçiler
Sabitlenmiş Tweet
Stoke Willie
Stoke Willie@StokeWillie·
What C++ isn’t: • an object-oriented language • a superset of C, or an extension of C in any sense • a unified ecosystem (ABI, runtime, compiler, build system, dependency management, etc.) • a product of any organization, or someone else’s responsibility • the “STL”
English
5
0
17
4.6K
Stoke Willie
Stoke Willie@StokeWillie·
@ChShersh My faith in humanity was shaken when I found govnokod.ru. Here is an example from Google's V8 JavaScript engine. It took me about 5 minutes to even parse this single line.
Stoke Willie tweet media
English
0
0
1
60
Dmitrii Kovanikov
Dmitrii Kovanikov@ChShersh·
I've seen man-made horror code bases much worse than the ugliest vibe slop you ever encountered
English
28
6
133
4.7K
Stoke Willie
Stoke Willie@StokeWillie·
@debasishg I like how he explicitly stated "rewrite" and not just "write." It's in a parasitic position from the very beginning. Additionally, "rewrite" implies that all interfaces should be preserved exactly as they are, which contradicts the quoted tweet.
English
0
0
0
35
Dmitrii Kovanikov
Dmitrii Kovanikov@ChShersh·
It’s weird how I desperately want some people to follow me here and I cherish a few particular follows. Yet follows from other popular accounts don’t mean as much to me. Ideally, I just want to post my brainstream and not worry about who follows me. A long way to go there.
English
18
1
75
2.6K
Stoke Willie
Stoke Willie@StokeWillie·
@carllerche And the name captures the very essence of the language — an infectious fungal parasitic disease.
English
0
0
2
244
Stefan
Stefan@schteppe·
C devs should get detention for saying it’s easy to write memory safe C
Stefan tweet media
English
14
5
90
13.5K
Stoke Willie
Stoke Willie@StokeWillie·
How is it possible that there isn't a Swiss watch model called "The Night Swatch"?
English
0
0
0
59
Stoke Willie
Stoke Willie@StokeWillie·
There are two wolves inside me.
Stoke Willie tweet media
English
0
0
2
67
Stoke Willie
Stoke Willie@StokeWillie·
The following thought isn’t based on my own experience, but it is related to the previous one. I once heard that the opinions of someone who understands the structure of the maze several orders of magnitude better than you do may sound to you like the ramblings of a madman. As if you met a programmer and he told you, “If two mathematical objects are isomorphic, then they are equal,” and you replied, “Dude, for god’s sake, go drink some water.”
Stoke Willie@StokeWillie

There’s another related thought — one drawn from my own experience. “True expert” is a silly term, but I haven’t found a better one yet — it’s someone who can drop something using ordinary words, with almost no professional jargon, short enough to stick in your memory, yet completely incomprehensible to you. And only later, once you’re deep inside the labyrinth, years down the line, do you begin to understand it better and better. Its meaning emerges gradually, like a photograph, after countless iterations, until you see it sharply and it turns out to be absolutely obvious.

English
1
0
1
369
Stoke Willie
Stoke Willie@StokeWillie·
A joke for fans of general relativity: All knowledge seems obvious within the frame of reference in which you already possess it.
English
0
0
0
51
Stoke Willie
Stoke Willie@StokeWillie·
There’s another related thought — one drawn from my own experience. “True expert” is a silly term, but I haven’t found a better one yet — it’s someone who can drop something using ordinary words, with almost no professional jargon, short enough to stick in your memory, yet completely incomprehensible to you. And only later, once you’re deep inside the labyrinth, years down the line, do you begin to understand it better and better. Its meaning emerges gradually, like a photograph, after countless iterations, until you see it sharply and it turns out to be absolutely obvious.
Stoke Willie@StokeWillie

I don’t believe it’s possible to explain something truly complex to an unprepared audience. Knowledge is like a journey through a labyrinth with its wide, straight streets, secret passages, and dead ends. An expert looks down on the maze from above; they see the whole picture. A beginner stands at the entrance to the maze and sees only the next turn. A good teacher is someone who can step back into the labyrinth, into the student’s shoes. It’s just that not everyone can. “Distilling concepts” has always struck me as a popular explanation of the spin: “Imagine a spinning ball, only it’s not a ball and it doesn’t spin.”

English
0
0
0
454
Stoke Willie
Stoke Willie@StokeWillie·
I don’t believe it’s possible to explain something truly complex to an unprepared audience. Knowledge is like a journey through a labyrinth with its wide, straight streets, secret passages, and dead ends. An expert looks down on the maze from above; they see the whole picture. A beginner stands at the entrance to the maze and sees only the next turn. A good teacher is someone who can step back into the labyrinth, into the student’s shoes. It’s just that not everyone can. “Distilling concepts” has always struck me as a popular explanation of the spin: “Imagine a spinning ball, only it’s not a ball and it doesn’t spin.”
LaurieWired@lauriewired

I think it’s more that explaining in of itself is it’s own, separate skill, that also doesn’t let you signal fake competence. You can be super smart and not be able to distill concepts down; mostly because you’re taking language shortcuts that let you convey information really quickly. If you’re talking with work colleagues, conversations can be highly compressed when everyone has the same domain knowledge. The danger / meta here, is that *some* people use domain vocabulary to fake competence, without actually knowing the underlying field. It’s not that hard to “sound smart” just by using the right words. The way I’d put it, is *if* someone is able to distill a difficult concept to a lay audience, you can have high confidence that they actually understand the field. If someone is *not* able to distill a difficult concept, they probably understand the field, but there is a non zero chance (maybe ~10%) that they are just signaling via language without real domain knowledge.

English
0
0
0
107
Stoke Willie
Stoke Willie@StokeWillie·
In C, a type primarily determines memory layout, and the representable values of a single variable. This, to be honest, rather limited information results in over-constrained requirements for expressions. Such rigidity is often falsely presented as "simplicity". In C++ and many other languages, you can specify type constraints in a way that extends the type system from objects (which store information in memory) to expressions. This allows us to control generic expressions: to unify common behavior while specializing code by inspecting the types of components -- thus, we obtain composable generic expressions. This is a common way to build strict abstraction layers at zero or minimal cost. With this approach, your program cannot name or list all relevant types in advance: types become a computational quantity (or, if you wish, program-generated artifacts) and are inferred from expressions. Inferred C++ types that span several pages have become usual compiler artifacts. A large part of modern C++ development has been directed at avoiding the exposure of such computed types in diagnostics: instead of showing the user a gigantic inferred type, the implementation should report which specific requirement was violated in the expression.
George@geocucu

So elegant and modern, not your grandpa's language 🤯

English
1
0
8
2.8K
Stoke Willie
Stoke Willie@StokeWillie·
@banisterfiend It turns out that less can also follow a file if you press ”Ctrl+End“, but ”tail -F“ is better because it can follow even after file truncation.
English
0
0
1
52
John Mair ☁
John Mair ☁@banisterfiend·
@StokeWillie Really? I use tail -f for everything, it’s fantastic for streaming from a log file
English
1
0
1
39
Stoke Willie
Stoke Willie@StokeWillie·
I was today years old when I learned "tail --follow" command.
English
1
0
2
82
Chicot
Chicot@parianmarble·
Chicot tweet mediaChicot tweet mediaChicot tweet mediaChicot tweet media
ZXX
1
1
29
1K
Chicot
Chicot@parianmarble·
Artuš Scheiner
Chicot tweet mediaChicot tweet mediaChicot tweet mediaChicot tweet media
1
26
288
7.5K