Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Thiez
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
571.
▲
by
Thiez
6y ago
So your solution is basically to throw various standards overboard so that spammers cannot generate more urls than there are images on a specific domain. Isn't this cure worse than the (at this point mostly hypothetical) disease?
572.
▲
by
Thiez
6y ago
https://example.com/img.png?x=1 https://example.com/img.png?x=2 https://example.com/img.png?x=3 https://example.com/img.png?x= ... https://example.com/img.pn
573.
▲
by
Thiez
6y ago
Right, but if you do that, is there any advantage over just allocating that memory directly from the GC instead of calling malloc and then registering the memory?
574.
▲
by
Thiez
6y ago
So you don't want to store pointers to GC objects in memory allocated yourself, or it may get freed if there are no other pointers? Seems like quite the footgun.
575.
▲
by
Thiez
6y ago
How does that work? As I understand it the D GC scans the stack and the GC heap memory for pointers (or values looking like pointers) to determine which objects are reachable. But can the GC scan memory allocated by malloc? How does it know
576.
▲
by
Thiez
6y ago
It's a lot like Loki's wager. We can't decide where the head ends and the neck begins, so these things must be outside the realm of science. [1]: https://en.wikipedia.org/wiki/Loki%27s_Wager
577.
▲
by
Thiez
6y ago
So this whole "we should hold them to the same standards" thing is a sham. You've given up, oh no, it's just too hard. We'll claim to hold them to the same standards because it has a nice ring to it, and then do som
578.
▲
by
Thiez
6y ago
> In fact, we're only trying to hold them to the same standards they hold everybody else to. Then convict them. You can't? Fix that . Why this convoluted scheme that punishes unrelated people? You say you want the same standar
579.
▲
by
Thiez
6y ago
I doubt anyone in a position to land a spaceship would be convinced that the earth is flat. And just because something isn't 100% true doesn't make it useless. Newtons laws are very useful in most real life situations, even though
580.
▲
by
Thiez
6y ago
So good cops who have never done anything wrong and never looked the other way or covered up for their coworkers would lose their pension? Communal punishment is considered a war crime under the Geneva Conventions. While those clearly do no
581.
▲
by
Thiez
6y ago
First time I visited a sauna I had some reservations as well. I probably wouldn't have tried if my SO (who had been to saunas before) hadn't suggested it. But that anxiety about being nude melts away in minutes. Then I realized it
582.
▲
by
Thiez
6y ago
As I recall their tweet did not indicate that they had direct access to the identity (such as name or address) of those people. I think they mentioned their municipality? Of course they have the raw data, but it's possible the people w
583.
▲
by
Thiez
6y ago
> "Hard to scale" isn't really a coherent argument against any mainstream programming language. It is odd that you would say that, because it is a very common complaint about languages with dynamic typing. As the program g
584.
▲
by
Thiez
6y ago
Surely the code sample is not to blame here? Or do you truly think the author of the sample is also deserving of being called a "culprit"?
585.
▲
by
Thiez
6y ago
Are you not tempted to just block the requests from these devices, and let the manufacturer take the loss? I imagine serving all those requests is costing real money.
586.
▲
by
Thiez
6y ago
Which features would you remove?
587.
▲
by
Thiez
6y ago
So you don't have any concrete examples, just broad topics that you have a vague feeling about? I guess I am not truly human because I can't solve the halting problem in the general case. I'm probably also subject to Gödel&#x
588.
▲
by
Thiez
6y ago
Is there any reason to believe that the human mind has these amazing computation-transcending powers? What would be the mechanism behind it? Unless there is evidence for these suggested special powers of the human mind, it looks to me like
589.
▲
by
Thiez
6y ago
Don't worry sir, we'll dispatch a camera drone immediately. Please keep within a well-lit area. With video evidence the perp will almost certainly be convicted.
590.
▲
by
Thiez
6y ago
In the US artists are not paid for being played on the radio at all, only the songwriters. So that's an easy answer: $0.
591.
▲
by
Thiez
6y ago
> Remember the initial feeling of navigation by HJKL? And how hindbrain those keystrokes are now? Totally unrelated, but I have a dvorak keyboard layout, and navigation using HJKL is one of the things I hate most about vi. Sure, I could
592.
▲
by
Thiez
6y ago
> You'll encounter the same problem if 23:59:58 is followed by 00:00:00 On the contrary, I would expect skipping a second to happen all the time from the perspective of userland programs, due to common things such as blocking system
593.
▲
by
Thiez
6y ago
A tree captures CO2 temporarily. We would have to bury the wood to actually remove it from the atmosphere.
594.
▲
by
Thiez
6y ago
> Integers, even of massive range, are easy for most humans to communicate verbally when appropriate digit grouping and other reasonable measures are undertaken. Presumably this is after not taking your own advice of performing AES256 en
595.
▲
by
Thiez
6y ago
> why would brute forcing tons of chess moves would be intelligence and not search. Aren't ANN just some kind of brute forcing, just that this time brute forcing happens at training time. Right, so it's okay for humans to spend
596.
▲
by
Thiez
6y ago
> Searle points out that biological systems go far beyond this, we have an actual conceptual understanding of the world which we express in syntax, but we also have an underlying model, and understanding of what it is we're expressi
597.
▲
by
Thiez
6y ago
Surely the same logic applies to all infectious diseases, and we should all get yearly flu shots, permanently practice social distancing, wear masks, etc. lest we maybe be complicit in the deaths of the vulnerable?
598.
▲
by
Thiez
6y ago
Back in the days before associated types you could implement `Deref` multiple times for the same type. That was fun.
599.
▲
by
Thiez
6y ago
Doesn't a cyclomatic complexity limit of 5 basically rule out the switch statement?
600.
▲
by
Thiez
6y ago
It gets even more hilarious when you try to tip the teachers of your children, or perhaps police officers and a judge. Strange how bribing workers for better service can be expected, unexpected, or just plain illegal, depending on their pro
More ›