Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MaxBarraclough
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
MaxBarraclough
4mo ago
This concern doesn't apply if a hybrid approach is used. From https://www.openssh.org/pq.html : > all the post-quantum algorithms implemented by OpenSSH are "hybrids" that combine a post-quantum algorithm
32.
▲
by
MaxBarraclough
4mo ago
> DbC is the Policy (i.e. what/why) and Asserts are the Mechanism The ideal way to do runtime-checked DbC is not with simple asserts, it's with proper first-class preconditions and postconditions at the language level. It would
33.
▲
by
MaxBarraclough
4mo ago
There's more to design-by-contract than asserts, and DbC isn't the only way to use asserts. Most languages lack proper support for design-by-contract. (For what it's worth I didn't downvote you.)
34.
▲
by
MaxBarraclough
4mo ago
> and it's open source because KDE's license made it that way Chromium is open source, but Chrome isn't. Blink, WebKit, and for that matter KHTML, are available under permissive licences.
35.
▲
by
MaxBarraclough
5mo ago
> Apparently signed integer overflow UB helps with loop optimizations because it makes it easy to prove the loop always terminates I tried googling but couldn't find hard numbers on the performance impact of GCC's -fwrapv fla
36.
▲
by
MaxBarraclough
5mo ago
> It's worse than that, the behavior of the entire program is unconstrained by the language standard beforehand too. Raymond Chen discusses how things can go wrong once you're going to reach UB even before you get to it Heh, ye
37.
▲
by
MaxBarraclough
5mo ago
> The fact that the ordering of those more primitive operations with respect to other operations isn't very tightly constrained is something you'd just have to know about the language, I suppose. No, that's not right. It&#
38.
▲
by
MaxBarraclough
5mo ago
That isn't a strong answer, unless the question was about what you think of the code's style. The point is that it's more than just poor style, it's likely to constitute undefined behaviour. Saying different compilers co
39.
▲
by
MaxBarraclough
5mo ago
You might be interested in OpenJDK's new ability to 'cache' classes to accelerate class loading. JEP 483: Ahead-of-Time Class Loading & Linking . It doesn't persist code generated by the JIT, but can improve startup
40.
▲
by
MaxBarraclough
5mo ago
> Having an understanding of how the code gets transformed into machine code helps I'm not sure about that. Knowing assembly is not a substitute for knowing how the language is defined. Sometimes C/C++ programmers with some as
41.
▲
by
MaxBarraclough
5mo ago
I've not been diligently keeping up with C++ recently but there's a C++20 feature called modules . Per Wikipedia, they're somewhat like precompiled headers. https://en.wikipedia.org/wiki/Modules_(C%2B%2B
42.
▲
by
MaxBarraclough
5mo ago
> If they cheat in classes, they are really just cheating themselves, and this should be no concern to the staff. This is quite plainly not the case. If curve grading is used, cheating directly harms other students who aren't cheati
43.
▲
by
MaxBarraclough
5mo ago
Strong typing is not a synonym for static typing , it refers to a different aspect of type safety. Static typing is, roughly, where variables and expressions have fixed types that can be determined ahead of execution. Strong typing means
44.
▲
by
MaxBarraclough
5mo ago
> Concise since you have to review a lot more code Isn't readability what matters here? Conciseness isn't the same thing.
45.
▲
by
MaxBarraclough
5mo ago
> OSS licensing. Free Software was designed to avoid this This is pretty much a distinction without a difference. There are licences that qualify as one but not the other (per the FSF and OSI's determinations), but none are in wides
46.
▲
by
MaxBarraclough
5mo ago
> Fingerprints are derived from the certificates/private keys SSH fingerprints are derived from the public key. https://superuser.com/a/453022
47.
▲
by
MaxBarraclough
6mo ago
The improved register count must make it much less claustrophobic for students. It's not just the same ISA but with wider words. Looks like I'm mistaken on terminology though. x86 includes the 16-bit, 32-bit, and 64-bit ISAs of
48.
▲
by
MaxBarraclough
6mo ago
Can't imagine anyone teaching x86 assembly these days, did you mean x86-64?
49.
▲
by
MaxBarraclough
6mo ago
Agreed, it's subtle but it's definitely a form of clickbait-style writing.
50.
▲
by
MaxBarraclough
6mo ago
Don't forget the Intel floating-point division bug from the 90s. https://en.wikipedia.org/wiki/Pentium_FDIV_bug
51.
▲
by
MaxBarraclough
6mo ago
Seems unlikely, migrating away from an entrenched codec like H264 isn't like a routine software update. It has widespread hardware support, and there's an enormous body of H264 video out there. As fhn points out, there are now t
52.
▲
by
MaxBarraclough
6mo ago
> Either way no, that can't work. Kotlin has explicit nullable types. Rust has no null, but has option types. Both languages work fine. I think your point was that neither approach could reasonably be retrofitted to C++, do I have t
53.
▲
by
MaxBarraclough
7mo ago
I think it's more than just an echo chamber, it's the community wanting drama more than it wants to help people.
54.
▲
by
MaxBarraclough
7mo ago
Jonathan Blow's own unreleased Jai programming language has a feature to make it trivial to switch between array-of-structs and struct-of-arrays. From a quick search, it seems HackerNews's own jcelerier has put together a C++
55.
▲
by
MaxBarraclough
7mo ago
That's no different from previous developments. If you refuse to work with modern programming languages, or with the web, or with a task-tracker, you're narrowing your opportunities for employment considerably.
56.
▲
by
MaxBarraclough
7mo ago
That's a rule-of-thumb to help beginners in making judgement calls. It doesn't mean inheritance should never be used.
57.
▲
by
MaxBarraclough
7mo ago
> That is, after all, what sets "object-oriented" apart from having objects alone. I wouldn't say so, most object-oriented languages don't work like Objective-C/Smalltalk. Today, I think most programmers would ag
58.
▲
by
MaxBarraclough
8mo ago
> I’ve been here for a years under different usernames The guidelines ask that you don't do this. From https://news.ycombinator.com/newsguidelines.html : > Throwaway accounts are ok for sensitive information, bu
59.
▲
by
MaxBarraclough
9mo ago
I see my phrasing was ambiguous, for what it's worth I'm afraid mike_hearn had it right, I was saying the replication crisis largely just affects research in psychology. I see this was too narrow, but I think it's fair to say
60.
▲
by
MaxBarraclough
9mo ago
I've read of a few cases like this on Hacker News. There's often that assumption, sometimes unstated: if a junior scientist discovers clear evidence of academic misconduct by a senior scientist, it would be career suicide for the
More ›