Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
unsafecast
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
31.
▲
by
unsafecast
4y ago
The button failed. If one of its core functions can't be carried out because of the circumstances, that's fine. But it's the system's responsibility to announce this very clearly, because if a button that usually makes y
32.
▲
by
unsafecast
4y ago
I didn't see it as a joke. Happy to be wrong though.
33.
▲
by
unsafecast
4y ago
That's being overly pedantic. You can appreciate (even love) something without being a fanboy. I, for one, can say that I love some of the design of macos, but I also criticise apple on most other things. I don't even own a mac.
34.
▲
by
unsafecast
4y ago
Yes, it works well. The first time it misunderstood my query "write a very short story in Inform 7", but after clarifying ("I wanted a short story written as an Inform 7 program"), it wrote me the exact same story but in
35.
▲
by
unsafecast
4y ago
I liked it a lot! It doesn't feel like marketing at all, and I think it's a good balance between technical and non-technical (though I wouldn't mind more details). Keep writing!
36.
▲
by
unsafecast
4y ago
That's incredibly cool! Really interesting concept.
37.
▲
by
unsafecast
4y ago
It does! You lose no functionality by removing it. I just wanted to clarify what the issue was.
38.
▲
by
unsafecast
4y ago
That works, but the issue was to remove the label on the text box, not the box itself.
39.
▲
by
unsafecast
4y ago
We're getting there! Wayland is slowly becoming more and more usable, and unless you've got an nvidia GPU, there's a good chance you wouldn't even notice you're running Wayland most of the time. My intel igpu laptop
40.
▲
by
unsafecast
4y ago
> Maybe the expectation is for developers to use C concurrency primitives? My guess is that they simply haven't thought much about this yet. One step at a time.
41.
▲
by
unsafecast
4y ago
You're right. I tried Deer and it works perfectly, it's smooth and only drops a frame or two on a cold start. It's a well-written program. If it weren't for the UI, I wouldn't even have guessed it's electron. I
42.
▲
by
unsafecast
4y ago
According to the industry, my laptop is slow. I, however, think that my laptop is actually very fast. It's just that everyone gets new stuff every year and the threshold for "usable computer" goes up accordingly. VS Code is u
43.
▲
by
unsafecast
4y ago
I have never, in my life, used an electron program that isn't irritatingly slow on my main computer. Yes, it's not something you'd probably call a fast computer (4th gen i3, 4GB ram), but this same computer doesn't drop
44.
▲
by
unsafecast
4y ago
I quite like the font, and it renders perfectly on my Linux machine. The center column is a bit narrow but that's a minor, easily fixed problem. You should file a bug report.
45.
▲
by
unsafecast
4y ago
A bit strange that one of the showcased websites is awful on mobile.
46.
▲
by
unsafecast
4y ago
But not runtime constants. I do agree with GP in that it would've been nice to have actual constant values, but it is what it is. The last thing C and C++ need is more features. C because we don't want to ruin it, and C++ becaus
47.
▲
by
unsafecast
4y ago
Yeah, let's feed the monopoly! Surely a good way to get better products.
48.
▲
by
unsafecast
4y ago
> const doesn't count because you can't initialize it with a runtime-computed value In what language? C's const is an unmodifiable runtime value for example, as is Zig's. Go is one language that I can think of where
49.
▲
by
unsafecast
4y ago
> As summary of my comment, when use research data for work, you risque, to make product for some abstract market, existed in past, but will not exist in future. Of course - this happens all the time. But I'd argue this is definit
50.
▲
by
unsafecast
4y ago
Yes, companies . A huge number of them. I'd argue that makes Linux and BSD quite successful/popular systems. My point was not that so much that it's a company , but that it's one company. I think measuring popularity
51.
▲
by
unsafecast
4y ago
That's unrelated. It's about what people use, not what a company decided is a good fit for an extremely domain-specific part of a system. Most people have no idea what MINIX is.
52.
▲
by
unsafecast
4y ago
I think that's supposed to apply to you, not your users. My understanding is that you pay if you make money using it. I can definitely see how you can easily interpret it in many other ways though.
53.
▲
by
unsafecast
4y ago
From what I understand, this will be possible in the future with implicit union types. Wouldn't work with _arbitrary_ types, but with a set of types that can be computed at compile time (my guess is that this is possible in most real-w
54.
▲
by
unsafecast
4y ago
In the current context, "normal" would be Wayland. Of course, most people use X (and it was the only choice until 29).
55.
▲
by
unsafecast
4y ago
Emacs is generally used as a normal program that connects to a Wayland compositor (Wayland speak for window manager). The idea is to instead make Emacs behave as a compositor, essentially connecting directly to Wayland and bypassing other w
56.
▲
by
unsafecast
4y ago
The idea is that you don't look. A handle is opaque. You don't care or depend on what's in it. Doesn't matter if it's actually a number or a string. As for sending over a network, that's the low level details.
57.
▲
by
unsafecast
4y ago
Because now you've got an int pointer and an int. The star associates with the right, not left. I prefer to use the variant you described though, because it feels more natural to associate the pointer with the type itself. As far as I
58.
▲
by
unsafecast
4y ago
It's not just a memorization trick; that's exactly what the statement means. If you do int *x, y; You're saying that both *x and y are integers.
59.
▲
by
unsafecast
4y ago
Oh it is. The fact that you have to remember a (very lengthy) document and every single mention of undefined behavior in it just to be sure that the code that goes out of the compiler will somewhat resemble your mental model of it is, in my
60.
▲
by
unsafecast
4y ago
I think this is more about credibility - GP made a pretty good argument without the quotes. But the fact that Albert Einstein supposedly agrees puts a lot more weight onto it.
More ›