Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
quelltext
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
quelltext
4y ago
I think that's the piece that got me and grand-GP maybe confused. You are writing a GC in Java, yes but have access to low-level memory abstractions/interfaces, right? Whereas I was initially wondering how to write a GC in "p
92.
▲
by
quelltext
4y ago
It doesn't go into why, it's just a statement.
93.
▲
by
quelltext
4y ago
Yes, I mentioned that that's basically what it says. But why would you tell people to actively duplicate code? It's like "I don't get what this type of function does and have to look it up all the time, better to have ev
94.
▲
by
quelltext
4y ago
> so the documentation is trying to talk them out of... What documentation though? There's an internal comment but it's not documentation and it's not really arguing against the use of this type of comparison (just against
95.
▲
by
quelltext
4y ago
> If people really need the extra performance, they'll use unsafe to create byte slices backed by the strings, and then use bytes.Compare ...and thus very likely end up with buggy code.
96.
▲
by
quelltext
4y ago
The native binary operators aren't a three way compare though. The author seems to assume nobody needs a three way compare, which I feel is assuming a bit too much. In particular because it is there because someone is using/need
97.
▲
by
quelltext
4y ago
> Basically no one should use strings.Compare Others have already talked about the performance aspect but I'm just baffled at the comment basically saying nobody should use this function anyway. I expect the need for 3-way compares
98.
▲
by
quelltext
4y ago
Digging through that code might be a bit challenging. Do you happen to have a link to a paper/documentation on this? Or maybe some rough explanation how it works (that goes beyond the short summary you provided) Java doesn't provi
99.
▲
by
quelltext
4y ago
What's the reason?
100.
▲
by
quelltext
4y ago
> Children are less computer-literate than ever. Is there any evidence for this? Is it a definition issue? My grandparents and some people in my parents' circle of friends are not computer-literate. And by that I mean they don'
101.
▲
by
quelltext
4y ago
The task was impossible because they gave them light bulbs that simply cannot light up with a low V battery. The one scene where a student appears to succeed (this clip is spliced in after the segment where the professor says "it'
102.
▲
by
quelltext
4y ago
Pretty common I think. Not only hiring. A coworker was blocked from organizing some technical community event because among the 5 speakers who applied to present only one was "x". I get the sentiment behind such quotas but it'
103.
▲
by
quelltext
4y ago
> Should I start subtly managing her out? What does that mean? Last time I heard this it was in the context of firing, or rather preparing conditions to simplify the process. Is it a euphemism for making their work life difficult so they
104.
▲
by
quelltext
4y ago
> In your production environment, this value should always be false. If the variable is set to true in production, you risk exposing sensitive configuration values to your application's end users. It's still a footgun. It'
105.
▲
by
quelltext
4y ago
The article states: > The environment configured on the live site was actually set to production, but the configuration also has APP_DEBUG=true set which is why a 500 server error response was giving such neat and useful output. It shoul
106.
▲
by
quelltext
4y ago
The title is a bit misleading. It's not wrong. Someone used a leaked API key to do card testing. That explains why someone might be interested in the API key. However, the bigger part of the story is that Laravel or whatever framework
107.
▲
by
quelltext
4y ago
So, like full of homeless people and litter? No, thank you.
108.
▲
by
quelltext
4y ago
Do we need spoilers here? Didn't know that was Gandalf. Aside from that I agree, so far TRoP has been close to or better than expected. I'm not sure what people expected here but at any rate it's too early. You would't
109.
▲
by
quelltext
4y ago
I mean, it's currency. Trading currency is pretty old, so I doubt anyone was surprised here.
110.
▲
by
quelltext
4y ago
Not really. Like, I would't use Zen personally and it's fair for Zig to highlight their concerns, but still none of this is stealing, and seems more like a petty disagreement, the cause of many forks on other projects in history.
111.
▲
by
quelltext
4y ago
The main issue was that at the time the "Effect on balance by account type" figure was reversed / incorrect, and so the example was just not making sense. Reading on further and again I realized it was not the example but tha
112.
▲
by
quelltext
4y ago
I think the figure / chart in "Effect on balance by account type" is wrong / flipped. It says that debits decrease debit normal account balance which doesn't match the text description or subsequent examples.
113.
▲
by
quelltext
4y ago
They seem to have a good write up to explain that: https://zen-lang.org/zig/ Also: forking /= stealing
114.
▲
by
quelltext
4y ago
Was curious what they say about it but the link didn't seem to have anything on custom headers.
115.
▲
by
quelltext
4y ago
I for one will wait for secondary sources and if this is so great I might end up creating a Discord account. But not just to check out for myself if it's cool or not.
116.
▲
by
quelltext
4y ago
So, is this a replacement backend for JSX? Or what is it actually? Is ot tied into React (is React's virtual DOM implementation pluggable by design?)? I don't quite get how a framework can be described as "it's a virtual
117.
▲
by
quelltext
4y ago
Huh? How can metropolitan France be larger than the entirety of Germany?
118.
▲
by
quelltext
4y ago
https://help.gumroad.com/article/260-your-payout-settings-pa... Gumroad itself uses Stripe, it seems so if Stripe decides to hold funds it's likely Gumroad will just forward that experience to you.
119.
▲
by
quelltext
4y ago
Fencing tokens might be fine to prevent data corruption but they don't suffice to guarantee mutual exclusion. For instance, if you need to deal with an external API and you need to avoid the same request going out twice and you have lo
120.
▲
by
quelltext
4y ago
They can still send bodies, which is where GP said the message should be.
More ›