Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ChrisSD
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
181.
▲
by
ChrisSD
5y ago
It's funny because of the number of physicists who loudly proclaim philosophy is either dead or at least useless (while also extolling the virtues of their own philosophy of science, with bonus points for mangling Popper).
182.
▲
by
ChrisSD
5y ago
You could submit a PR to their repo.
183.
▲
by
ChrisSD
5y ago
The fallacy is a favourite of the news media "In the studio today we have someone who has been studying this topic at a reputable institution for decades. And to argue a different side we have someone who only learned about this topic
184.
▲
by
ChrisSD
5y ago
I would be cautions of claiming performance improvements without the benchmarks to back it up. The compiler is often very good at figuring out if a length is constant and optimizing appropriately. I suspect it'd be able to do it in the
185.
▲
by
ChrisSD
5y ago
Nitpick: With memory (un)safety, a crash is the optimal outcome when something goes wrong. The real problem is when it doesn't crash and the program continues on thinking everything is fine...
186.
▲
by
ChrisSD
5y ago
I find typing `&&` to be annoyingly difficult. I have to hold shift and hunt around for the `7` key (and probably hit `6` or `8` first). Whereas I can type "and" without looking or even really thinking about it.
187.
▲
by
ChrisSD
5y ago
Powershell has stopped doing that in that newer version. I think since 6 or 7. On Windows 10 you do have to install it separately though.
188.
▲
by
ChrisSD
5y ago
That's US only right? So it won't affect most users?
189.
▲
1001 Ways of Implementing a System Call (2019)
(x86.lol)
1 points
by
ChrisSD
5y ago
|
0 comments
190.
▲
by
ChrisSD
5y ago
True, however... > assuming the hardware and kernel do support it Assuming kernel support is doing a lot of heavy lifting there. To put it another way, why is a syscall better than any other stable ABI? If both kernel and stable library
191.
▲
by
ChrisSD
5y ago
> However, there is one big elephant in the room: right now, there are a lot of platforms that do not fully support static linking because you have to dynamically link libc or other system interfaces. The only one I know of that supports
192.
▲
by
ChrisSD
5y ago
Ah, this takes me back. HLA really helped me to learn the basics back in the day. To be honest nowadays my assembly skills are mainly read-only. Usually when I'm debugging some weird crash or looking to see how something gets optimized
193.
▲
by
ChrisSD
5y ago
But preserving the old solution is also important. Sometimes we have to maintain old versions so it's very helpful to be able to look up answer from that time.
194.
▲
by
ChrisSD
5y ago
The compiler doesn't know if the program contains UB or not. How could it? Sure it can have warnings for some well know UB patterns but it can't catch them all. There are dedicated tools designed to detect UB which are not only v
195.
▲
by
ChrisSD
5y ago
Hm, I think "ignoring the situation completely with unpredictable results" pretty much covers everything. It's how optimizations generally work. Each optimization pass simply assumes there's no UB in the input and will o
196.
▲
by
ChrisSD
5y ago
Btw, naming calling does not help you make your case, whatever that may be. Neither does watching a fictional TV show. I'm really not inclined to continue this if this is the level of discourse. Can you show me one instance of activist
197.
▲
by
ChrisSD
5y ago
Huh? Even the headline uses the word "urges" and the article doesn't say that Loeb can "require" anything. All that happened is that: > Loeb sent a letter to Disney Chief Executive Officer Bob Chapek And made it
198.
▲
by
ChrisSD
5y ago
Sure they can raise their voice but they're limited in what they can achieve, legally speaking. Especially in large companies with a lot of shareholders. Unless the companies by-laws give shareholders undue influence, which would be un
199.
▲
by
ChrisSD
5y ago
> I understand that these public companies are required to act in the best interests of shareholders This is not true. Public companies are only required to be honest with shareholders, no more or less. The shareholders are free to inves
200.
▲
by
ChrisSD
5y ago
Well if we're talking hypotheticals then why not add a volunteer healthcare system? After all, if we can somehow manage a volunteer police force, judiciary, etc all without government then it should be possible to add healthcare to the
201.
▲
by
ChrisSD
5y ago
Say I try to force you to do something. Who is to stop me doing that? It requires government and taxation to run a justice system. I.e. a ton of "energy".
202.
▲
by
ChrisSD
5y ago
Good post! It's an interesting role reversal. Usually Unix is all about passing raw strings around whereas Windows is much more comfortable with passing structured data (see also COM). I would warn that "CommandLineToArgvW" d
203.
▲
by
ChrisSD
5y ago
If ESNI is fundamentally flawed, how is it better than nothing at all? At that point isn't it just cargo cult "protection"?
204.
▲
by
ChrisSD
5y ago
Ok but I'm uncertain how submitting a link equates to shoving anything down people's throats?
205.
▲
by
ChrisSD
5y ago
> By that measure we should all leave C and convert kernel to C++. Microsoft actually did do that in the 90's.
206.
▲
by
ChrisSD
5y ago
Ok but Microsoft's 4-6 years of support for their hardware has nothing to do with Windows 11.
207.
▲
by
ChrisSD
5y ago
Microsoft has made no secret of how long its hardware support lasts. If anything, the total of six years is longer than the Surface average of ~5. The Windows 11 announcement changes nothing in this regard. Edit: The first gen Surface Studi
208.
▲
by
ChrisSD
5y ago
Fun fact: the Surface Studio 2 is fully supported until October 2, 2024 with no need to replace the OS! Not bad for a niche device released in 2018.
209.
▲
by
ChrisSD
5y ago
You can disable all the ads. Though it does require digging through the settings.
210.
▲
by
ChrisSD
5y ago
Anti-malware software is almost universally terrible. My advice is to use the one that comes with Windows (aka Windows Defender). It's not perfect but it's the least worst option. Whatever you do, don't use McAfee. And defini
More ›