Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
James_K
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
121.
▲
by
James_K
1y ago
I bloody wish I could! Sadly, these things aren't up to me, and the companies involved would probably pay more bribes to your gangster president to get him to sanction our economy if we tried.
122.
▲
by
James_K
1y ago
Let me put this very simply to you: if I go to a country where the age of consent is 14 and start a business streaming child porn to America, I should be stopped from doing that. This is the same principle with a lesser offence.
123.
▲
by
James_K
1y ago
US businesses can get bent. Half my country is rotten and hollowed out, all the shops replaced by Amazon. Screw them. Uber wants to come over here and put our local cabbies out of work, then bring them all back on lower wages with higher fe
124.
▲
by
James_K
1y ago
And they wonder why print media is dying.
125.
▲
by
James_K
1y ago
Something not being useful is distinct from it having no uses. It could well be the case that the use of AI creates more damage than it does good. Many people have found it a useful tool to create the appearance of work where none is happen
126.
▲
by
James_K
1y ago
The rainbow braces thing is quite useful. It can save you a bit of bother counting. A lot of his other suggestions just seem like more general search things that should highlight matches the same way Ctrl+f highlights text in a web page.
127.
▲
by
James_K
1y ago
Unfortunately, more like. I'd much rather have some explicit syntax for it that potentially never realise it's a feature. I was baffled beyond belief the first time the compiler asked me to put a ghost in my struct.
128.
▲
by
James_K
1y ago
Actually, memory leaks are the major class of memory error for which Rust offers no protection. See the following safe function in Box: https://doc.rust-lang.org/std/boxed/struct.Box.html#method.l...
129.
▲
by
James_K
1y ago
Go is probably a better pick in this case.
130.
▲
by
James_K
1y ago
> Code that only writes through the reference is correctly typed with respect to a super-type of A (it is valid to call the code with a reference to a supertype of A). I'm not trying to be snarky, I genuinely want to know what you t
131.
▲
by
James_K
1y ago
> https://www.w3.org/TR/REC-xml/ >match >[Definition: (Of strings or names:) Two strings or names being compared are identical. Characters with multiple possible representations in ISO/IEC 10646 (e.g.
132.
▲
by
James_K
1y ago
> A piece of code that accepts a reference to some type A and only ever reads from it can correctly accept a reference to a subtype of A. The same is true of a piece of code that writes through the reference or returns it. That's ho
133.
▲
by
James_K
1y ago
Would you consider this to be indicative of the quality of the C++ language? I think the standard library should usually be an example of optimal code with respect to performance, and when it is very complicated this would indicate, to me,
134.
▲
by
James_K
1y ago
> A mutable reference type is covariant on read, and contra on write. No it isn't. The type is covariant because a reference is a subtype of all parent types. The the function read must have it's argument invariant because it b
135.
▲
by
James_K
1y ago
1 point by James_K 0 minutes ago | root | parent | next | edit | delete [–] That's horrible design. I was utterly perplexed whenever the compiler asked me to add one of those strange fields to a struct. If it had just asked me to inclu
136.
▲
by
James_K
1y ago
Yes this is an interesting case where something that seems obvious on first thought also seems like it would be wrong once you try it out, and then after 100 years of trying someone looks hard enough at their plate of spaghetti and realises
137.
▲
by
James_K
1y ago
Oh, I never knew that Rust had variance. I always just assumed everything was invariant. Strange that they've got no way to write it down in the type system.
138.
▲
by
James_K
1y ago
While safe Rust may be relatively simple to write, and certainly easier to write than safe C, this article has someone added to my belief that unsafe Rust is far too difficult to write. Perhaps some of this is deliberate, as a kind of defen
139.
▲
by
James_K
1y ago
If people would only set their CORS headers, you could make a feed reader in a static web page.
140.
▲
by
James_K
1y ago
Ah yes, the internet, famous for making everyone carefully monitor what they say and express only reasonable and tepid opinions.
141.
▲
by
James_K
1y ago
The tree format seems an advantage, if anything. It naturally separates discussions into separate threats. Messaging software would dump all these into a single channel so you could have different conversations happening at the same time in
142.
▲
by
James_K
1y ago
I think the problem with emaill is more the availability of it. Anyone can send you an email so they mostly wind up as junk that needs to be managed.
143.
▲
by
James_K
1y ago
I'm still not really convinced. Look at it from my perspective: I have my website, BSky isn't compatible with the web, therefore I would have to provide two different versions of all content I publish to satisfy someone else'
144.
▲
by
James_K
1y ago
I've never really gotten AT protocol. It just seems like reïnventing the web. I guess it's a little more secure than the normal web because there's no JS, and you can make it seem more integrated because users won't have
145.
▲
by
James_K
1y ago
The beading effect is very odd to me, as if surface tension is inverted.
146.
▲
by
James_K
1y ago
“Trace” is overestimated and “noel” is underestimated.
147.
▲
by
James_K
1y ago
The brackets are the best part of lisp and it utterly confuses me how ready some people are to remove them.
148.
▲
by
James_K
1y ago
Perhaps you should read beyond the first sentence.
149.
▲
by
James_K
1y ago
Implicit in calling yourself a rationalist is the idea that other people are not thinking rationally. There are a lot of “we see the world as it really is” ideologies, and you can only ascribe to one if you have a certain sense of self-assu
150.
▲
by
James_K
1y ago
It's still pretty simple. I think you are really underestimating the ability of humans to do rote activities. Especially since we could give the human a pen and paper in this case and let them write stuff down on it to give parity to t
More ›