Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
int_19h
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
901.
▲
by
int_19h
1y ago
If you start thinking about a conspiracy, the first thing you should do is ask yourself how much effort it would take to keep it under the lid without anyone leaking.
902.
▲
by
int_19h
1y ago
You are describing limitations on sandboxed UWP apps, but Windows still supports regular Win32 just fine, and everything that you describe is available there. I still run 30 year old games on Windows and write new software using WPF and Win
903.
▲
by
int_19h
1y ago
> In my opinion, it is somewhat problematic that different language concepts (Delphi, etc.) have been more or less merged into FP, resulting in redundant object models, for example. That was not an FP invention, though. Delphi already di
904.
▲
by
int_19h
1y ago
The problem with Ada is tooling other than the compiler. Last I checked, GnatStudio still doesn't work well on Apple Silicon, for example, and VSCode support was decidedly meh. With Free Pascal, though, you get a TUI IDE working basica
905.
▲
by
int_19h
1y ago
86Box is what you want for this kind of nostalgic programming, comrade. Our teachers didn't know much about this stuff in school. The origin of my username here (and elsewhere) is from those classes at school; I once submitted an assig
906.
▲
by
int_19h
1y ago
It's not an either-or (well, except for this last item). It seems sensible to not write new software in plain C. Rust is certainly a valid choice for a safer language, but in many cases overkill wrt how painful the rewrite is vs bene
907.
▲
by
int_19h
1y ago
Corporations are creations of a democratic society. A corporate charter is granted . As such, it can and does come with strings attached, which can include rules such as "you are not allowed to do this", so long as rules and th
908.
▲
by
int_19h
1y ago
In practice this means that in C and C++ land you have large framework-style libraries (GLib, Boost, Qt etc), which are much easier to vet, and doing it ones gives you a whole lot of goodies at once with minimal dependencies.
909.
▲
by
int_19h
1y ago
Of course, this only works so long as the sandbox is secure. There have been attempts to do this kind of sandboxing before. Java and .NET both used to have it. Both dropped it because it turns out that properly sandboxing stuff is hard.
910.
▲
by
int_19h
1y ago
Yep, I believe that's what Scala called that. And I think we need something like this to get people off globals.
911.
▲
by
int_19h
1y ago
The proof is that they went in and started killing people at random.
912.
▲
by
int_19h
1y ago
Access to source code does not translate to "written by some random people". Many F/OSS projects have a tight circle of contributors, sometimes even outright closed as for e.g. SQLite. That aside, OP was complaining about sof
913.
▲
by
int_19h
1y ago
It's great if you already know enough (or know how to read the manpage) to verify that what it tells you is really what it does. Given that e.g. LLM coding assistants sometimes end up doing things like reverting code they didn't w
914.
▲
by
int_19h
1y ago
Gnome developers also have a habit of telling users (and other developers who try to integrate with their DE) who ask for those missing features that they're "holding it wrong" etc. Quite often this is justified along the lin
915.
▲
by
int_19h
1y ago
I clicked on the link, and the first thing I see is a screenshot where half of the screen is taken by terminal with TUI apps in it. There's no "Install" button, and the "Download" one is labelled "ISO". Ye
916.
▲
by
int_19h
1y ago
I would argue that if you're using Python, you already don't care about performance (unless it's just a little glue between other things). In .NET they do virtual dispatch via a very basic map-like interface that has a bunch
917.
▲
by
int_19h
1y ago
If Hamas only targeted Zionists , that would be a reasonable take, but their actions - including the October massacre - and their propaganda target Jews in general. Nazis in the West are actually divided quite a bit on this. Old-school Naz
918.
▲
by
int_19h
1y ago
Jabotinsky was arguing for forceful colonization, not outright genocide, but "colonization" was the other term that you objected to. And yes, of course, there are different brands of Zionists - but the fundamental believe of that
919.
▲
by
int_19h
1y ago
It's because JavaScript was the thing that popularized async/await for many developers, and they aren't aware that it originated in a language (C#) and runtime (.NET) that are fully multithreaded.
920.
▲
by
int_19h
1y ago
They could do something like OCaml modules and signatures but more permissive. Module author writes the public signature and that's what the type checker runs against, but if you want, you can "downcast" the module to the act
921.
▲
by
int_19h
1y ago
Regarding recursive functions, would it really be that annoying? We kinda take the ability to recurse for granted, yet it is rarely used in practice, and often when it happens it's unintentional and a source of bugs (due to unforeseen
922.
▲
by
int_19h
1y ago
This blog post had a better explanation than the one linked from the story IMO: https://kristoff.it/blog/zig-new-async-io/
923.
▲
by
int_19h
1y ago
They have plans for multiple implementations including green threads and stackless.
924.
▲
by
int_19h
1y ago
OP didn't say that code looks like ordinary sync code, only that it's possible to write code that works equally well for both sync and async. If you RTFA, it looks like this: var a = io.async(doWork, .{ io, "hard" })
925.
▲
by
int_19h
1y ago
> I did not know that. I'll have to figure out how this works and what it looks like. They basically stitch together a dummy async stack based on causality chain. It's not really a stack anymore since you can have a bunch of ta
926.
▲
by
int_19h
1y ago
.NET has had task-local vars for about a decade now: https://learn.microsoft.com/en-us/dotnet/api/system.threadin... Python added them in 3.7: https://docs.python.org/3/library/conte
927.
▲
by
int_19h
1y ago
It depends on how you do it. XSLT 2.0 had <xsl:tunnel>, where you still had to declare them explicitly as function (well, template) parameters, just with a flag. No explicit control over levels, you just get the most recent one that s
928.
▲
by
int_19h
1y ago
As a person who was previously involved with the (somewhat more "casual") parts of the American militia movement - meaning all the right-wingers with guns - I should note that they do have some organization. Not much of it, to b
929.
▲
by
int_19h
1y ago
Because Israel managed to pull of a wildly successful operation to capture the American politics by very aggressively promoting the notion that being in any way, shape, or form against anything Israel does is rabid anti-Semitism, and then u
930.
▲
by
int_19h
1y ago
Are you seriously trying to argue that genocide is okay in some circumstances? I should also note that the tactic itself dates way back before Israel became an independent state. Here's one honest Zionist writing it like it is: https:
More ›