Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bccdee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
72 ms
·
961.
▲
by
bccdee
5y ago
I was mostly complaining about an old Visual Studio project I used to work on.
962.
▲
by
bccdee
5y ago
I somewhat disagree with this. I've tried to organize notes and documents schema-first several times, and it's never worked. For instance, consider a system of notes where each note has tags: I write a note, come up with some tags
963.
▲
by
bccdee
5y ago
> have a look at visual studio SLN files. They are exactly what was described. You nailed it in one — visual studio is exactly what I was complaining about.
964.
▲
by
bccdee
5y ago
>> Do I have to spin up a whole session of the IDE just to run my test suite? > what are you on about? This complaint is based on a .NET project I used to work on. I'm sure this isn't universally the case for everything .
965.
▲
by
bccdee
5y ago
Yeah, that's true. For me, it'd be somewhat irritating to work without LSP features like "jump to definition," "hover to view doc string," or even tab completion. Arguably, these are IDE features. But when it c
966.
▲
by
bccdee
5y ago
The thing I hate most about IDEs is when they insinuate themselves into a project's development workflow so deeply that you can't make do without them. Do I have to spin up a whole session of the IDE just to run my test suite? Do
967.
▲
by
bccdee
5y ago
Yeah I hear this every time, but very few small modular reactors (SMRs) have actually been built on account of economic and safety barriers to building them [1]. Now, I'm sure these are soluble problems. I'm by no means anti-SMR.
968.
▲
by
bccdee
5y ago
Proletarians make a living off of wage labour. The Bourgeois make enough to live on off of investments in capital. Owning a laptop is perhaps a very tiny investment in capital, arguably, but it certainly won't provide enough passive in
969.
▲
by
bccdee
5y ago
I'm pretty sure they use perceptual hashes for matching CSAM. A lot of cloud services do this sort of thing.
970.
▲
by
bccdee
5y ago
Yeah algorithms in particular are where I'm hesitant to say "never explain how your code works." They can be dense, deeply-nested, and hard to break down into semantically-meaningful variables and function names. Sometimes it
971.
▲
by
bccdee
5y ago
You say that its thesis is (in part) to generally publish in static file formats, but that's not quite accurate. The piece specifically touts PDF/A as the best format and makes several arguments against the use of html/css. I
972.
▲
by
bccdee
5y ago
I think an important part of political mobilization is a positive message. Not just in the sense of optimism, but in the sense that there's a particular thing we want to create instead of simply wanting to destroy what exists right now
973.
▲
by
bccdee
5y ago
Insofar as they know everything anyone downloads from Github, sure.
974.
▲
by
bccdee
5y ago
Ah of course, yeah that must be it.
975.
▲
by
bccdee
5y ago
This may be a somewhat silly question, but why couldn't they just have used flashlights? I'm sure there's an obvious reason, but I don't know what it is.
976.
▲
by
bccdee
5y ago
Not at all. Untagged unions, sure, but no decent modern language has first-class support for untagged unions. First-class tagged unions are a real treat to use.
977.
▲
by
bccdee
5y ago
> Unethical actions are unethical even if the "game" allows for it. Yeah, but nobody cares what you think is unethical. If the game allows unethical moves to be made, they will be made, because people play to win. And you can c
978.
▲
by
bccdee
5y ago
What a perfect analogy — wolves and lambs voting on what to have for dinner. In the absence of democratic governance, the wolves will just eat the lambs because nobody's stopping them. The wolf here is Apple. I can't make my own p
979.
▲
by
bccdee
5y ago
I suppose it further reduces the chance of a collision. If you're in a totally random space, there's always a chance someone will generate a collision if you wait long enough. But if you follow the timestamp and MAC address rules,
980.
▲
by
bccdee
5y ago
The statement was specifically that C had encapsulation, within the context of a discussion about whether OOP should be defined as "encapsulation, abstraction, polymorphism, and inheritance." You interpreted that as meaning memory
981.
▲
by
bccdee
5y ago
> this is indeed a defining feature of OOP (which you know very well if you ever took a programming 101 course) Setting aside the fact that any 101 course is necessarily reductive and inaccurate, "encapsulation + abstraction + polym
982.
▲
by
bccdee
5y ago
This is moreso automation-assisted theorem proving. It takes a lot of human work to get a problem to the point where automation can be useful. It's like saying that calculators can solve complex math problems; it's true in a sense
983.
▲
by
bccdee
5y ago
> I don't want to get into a debate defining what language is OO and what is not I mean, that is the discussion we were having. We weren't talking about language VMs.
984.
▲
by
bccdee
5y ago
That's actually really interesting, I hadn't heard of that.
985.
▲
by
bccdee
5y ago
Encapsulation is information hiding, where the internal components of a unit of code are inaccessible to its consumers (by fiat or by convention — see python's _private methods). This includes hiding procedures, fields and types. Conte
986.
▲
by
bccdee
5y ago
The way to punish someone for a false claim (both for claims filed on youtube and claims filed elsewhere) is to file an expensive lawsuit against the original claimant. It's very burdensome.
987.
▲
by
bccdee
5y ago
> In 2015, France’s highest court upheld the criminal conviction of 12 pro-Palestinian activists for violating restrictions against hate speech. Their crime? Wearing T-shirts that advocated a boycott of Israel — “Long live Palestine, boy
988.
▲
by
bccdee
5y ago
If we're talking about making guarantees about blocking the programmer's ability to modify parts of the address space, we're no longer discussing programming paradigms. We're discussing security proofs. The MMU does not
989.
▲
by
bccdee
5y ago
You must have absurd standards if you find dynamic dispatch to be unacceptably slow. Also, yeah, not every function call needs to be inlined. One level of indirection on top of jumping into a new function isn't really much overhead at
990.
▲
by
bccdee
5y ago
"Abstraction" as a principle is something we've been doing since we came up with function calls. Encapsulation as a principle is something we do when writing C code. The only one of the listed OO principles which is in any se
More ›