Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
charliesome
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
charliesome
7y ago
If electric scooters continue to become more widespread (I think they will), they'll become normalised and people will stop thinking they look goofy. For now, it's easy to not worry about the goof factor.
32.
▲
by
charliesome
7y ago
I'd argue that an invalid string concept would be neither correct nor efficient. Why should all code that deals with strings carry the burden of fallibility of a subset of string functions? You've mentioned NaN propagation in anot
33.
▲
by
charliesome
7y ago
A book page is clearly a different concept to a web page, despite the similar name. I'm not sure what your point is.
34.
▲
by
charliesome
7y ago
For those interested in learning more about the invention of Eurobonds and how they destabilised the postwar Bretton Woods system by enabling free movement of capital across borders, this Guardian article is a fascinating read: https:/
35.
▲
by
charliesome
7y ago
If marketing tobacco products isn't where one draws the line, where would the line be drawn? We must not give a pass to people who work on bad things simply because their boss told them to do so.
36.
▲
by
charliesome
7y ago
Why are you so interested in shutting down discussion on this topic? People are talking about and lobbying their governments on this. It's entirely reasonable that we talk about it here too.
37.
▲
by
charliesome
7y ago
PIDs will recycle rather than exhausting. As an aside, that's also the reason why it's unsafe to use a PID from any process other than the parent process. As soon as the parent calls wait(2), the PID is released and could be reuse
38.
▲
by
charliesome
7y ago
This feels a bit like the "if you don't like capitalism why do you use an iPhone?" argument. The reality is that Hacker News is a generally high quality technical forum and that's the reason a lot of people are here.
39.
▲
by
charliesome
7y ago
There was an early Black Mirror episode exploring exactly this scenario. The social consequences are frightening.
40.
▲
by
charliesome
8y ago
> Those who are somehow convinced he has ties to the despicable alt right, When he's hosting two prominent alt right figures as guests on his podcast [0], I think it's pretty fair to say that he has ties to the alt right. [0]:
41.
▲
by
charliesome
8y ago
It looks like the author anticipated that someone would try to unblur the key and left a little easter egg there :) >> "7965616820746869732069736E277420746865207265616C206B65792E2E2E2E".scan(/../).map { |x| x
42.
▲
by
charliesome
8y ago
As digital radio takes over and analog broadcasting is switched off, that AM/FM radio will indeed become semi-obsolete.
43.
▲
by
charliesome
8y ago
And what if someone's unable to work? > Humans are rational creatures I think this claim needs to be backed up too. There is a lot of evidence indicating that we're incredibly irrational.
44.
▲
Luster – An Experimental Lua VM Implemented in Pure Rust
(github.com)
38 points
by
charliesome
8y ago
|
0 comments
45.
▲
by
charliesome
8y ago
>I can't spend 30 minutes fixing my clothes because my 30 minutes is more valuable than a tshirt's cost. I think it's a mistake that we value our own time like this. There's satisfaction that can be derived from spend
46.
▲
by
charliesome
8y ago
All network I/O is inherently asynchronous of course, so the sync vs async debate is more about whether to use the blocking abstraction the kernel provides versus bringing your own or writing async code directly. Using async I/O o
47.
▲
by
charliesome
8y ago
> and it's synchronous, so it's really slow. > it's asynchronous (so it's really fast) Whether something is 'synchronous' or 'asynchronous' has absolutely no bearing on performance.
48.
▲
by
charliesome
8y ago
There's definitely a causative relationship between A and B, although it's not the only factor (of course, safer road design is probably a more significant factor) When mandatory helmet laws were introduced across Australia we saw
49.
▲
by
charliesome
8y ago
Hundreds of thousands of OS threads is viable on Linux. There's a couple of gotchas - you need to tweak the max pid and max memory map limits, but otherwise this is an approach that works just fine.
50.
▲
by
charliesome
8y ago
Rust lifetimes prevent use-after-frees, but they're totally orthogonal to buffer overflows. Rust mitigates buffer overflows by automatically inserting bounds checks and panicking on out-of-bounds access. Your program still crashes, but
51.
▲
by
charliesome
8y ago
I don't understand how this is an argument in favour of free food/drink. You're selling whatever additional time you give to your employer for a rock bottom price. It's not a good deal.
52.
▲
by
charliesome
8y ago
It's pretty disappointing to see that Boom is still using fossil fuel burning engines. Surely if you're innovating on aviation tech, Mach 2.2 flight for business people is less important than figuring out a way to fly that doesn&#
53.
▲
by
charliesome
8y ago
> You have to consider things like: is the variable null or undefined? Does it have the Number type? Is the number an integer? This is a non-problem. If you really have to consider all these edge cases before testing if a number is odd o
54.
▲
by
charliesome
9y ago
In Australia presenting at ER is free, for any reason.
55.
▲
by
charliesome
9y ago
There is a difference. An empty string in C is a non-null char* pointer pointing to a zero byte. Passing a null pointer to strlen will crash.
56.
▲
by
charliesome
9y ago
Self-signed certificates are trivially MITMable. In the absence of cert pinning (like SSH does), they offer no security.
57.
▲
by
charliesome
9y ago
In Rust you can also write: if let (Some(q_in), Some(z_in)) = (q, z) { q_in + z_in } else { 0 }
58.
▲
by
charliesome
9y ago
In other parts of the world, yes. Telstra in Australia is bound by the Universal Service Obligation, for instance: https://www.acma.gov.au/Industry/Telco/Carriers-and-service-... This is an area where it's cr
59.
▲
by
charliesome
9y ago
It's not that we don't like jokes - it's that this joke is an easy and boring joke to make. More importantly, it's downright hostile to many people in our community.
60.
▲
by
charliesome
9y ago
Sorry, I should've been more clear. You're right - you can absolutely build sequence out of the bind operation for any monad. Promise.all is not just sequence though, there's some additional subtleties to it. In particular th
More ›