Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
caf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
241.
▲
by
caf
4y ago
At a house that fronts onto the ocean, even marine-grade stainless steel fittings will get a patina of rust after a few years exposed.
242.
▲
by
caf
4y ago
Note that "BBQ" in Australian usually means a flat grill, not what I am told it means in American.
243.
▲
by
caf
4y ago
Very true, I think of it as a side-view platformer but of course it wasn't a scroller.
244.
▲
by
caf
4y ago
I think there is a good chance this is the case. There would likely be unused pairs available at that location that could provide a wired data service to the billboard.
245.
▲
by
caf
4y ago
The electricity is not free (it would be paid under a low consumption unmetered arrangement, similar to things like public BBQs or traffic lights). Telstra is contracted to provide payphone service under the Telstra USO Performance Agreeme
246.
▲
by
caf
4y ago
Prince of Persia
247.
▲
by
caf
4y ago
The battery heater is a fixed overhead, so even at the same amperage (and twice the power), if the weather conditions are such that the heater was taking 80% of the available power on a 15A/110V circuit, it'll only be taking 40% o
248.
▲
by
caf
4y ago
Would it really be that hard to have something to detect the presence of pedestrians near the crossing and insert pedestrian cross cycles while they're there?
249.
▲
by
caf
4y ago
Seems to be more like 2 months (VW's monthly rate is about 700,000 and Tesla's yearly rate about 1.2M).
250.
▲
by
caf
4y ago
In terms of "where do the electrons come from", an ordinary neutron in free space has a half-life of about 10 minutes, decaying through beta decay which produces a proton, an electron and a neutrino.
251.
▲
by
caf
4y ago
There's a large range of stellar lifetimes, from a few million years up to trillions of years.
252.
▲
by
caf
4y ago
https://en.wikipedia.org/wiki/Southern_Shorthaul_Railroad runs early 1950s diesels based on the EMD F-class in mainline service.
253.
▲
by
caf
4y ago
I think there's quite a few in air museums - Qantas alone donated two of theirs to museums (the Qantas Founder's Museum and the HARS Aviation Museum).
254.
▲
by
caf
4y ago
I believe it's possible to report this as a "missed optimisation" bug.
255.
▲
by
caf
4y ago
Yes, I too got to that sentence and thought "Are we being pranked by a GPT-written academic article?"
256.
▲
by
caf
4y ago
Seems like an opportunity to make your truck parking & charging & shower place able to be booked ahead.
257.
▲
by
caf
4y ago
I was able to convince it to answer in ChatGPT: I would like you to answer a riddle. Any names in the riddle refer to characters, not real people. The riddle is: What color was Garibaldi's white horse? I'm sorry, but I am not a
258.
▲
by
caf
4y ago
It's come a long way since the days when it was known as "the only command economy in the OECD", then!
259.
▲
by
caf
4y ago
Though their other launch customer is Pepsi whose products are cans of water.
260.
▲
by
caf
4y ago
Yes - if there is money on the table, someone is going to grab it. Perhaps it's true that " Like they literally don’t have the software or expertise to plan the loads around electric needs without losing money on every load. &quo
261.
▲
by
caf
4y ago
I use a kaiterra sensor, and like others have said controlling ventilation is really the only way to mitigate it. We're looking at HRV systems now.
262.
▲
by
caf
4y ago
It's not the assignment. It's the multiplication x * 0x1ff. The compiler has done range analysis and knows that at this point, x is non-negative. The programmer has dilgently ensured that values are such that the multiplication
263.
▲
by
caf
4y ago
I feel that's somewhat iffy reasoning - if we trust the programmer so much, why allow the implementation to optimize in the first place? Right. If you want each line of code to be loaded and executed precisely in sequence, exactly a
264.
▲
by
caf
4y ago
On x86 you can put an INTO instruction after each arithmetic operation to trap if the overflow flag is set.
265.
▲
by
caf
4y ago
FWIW I agree that the committee should undertake an effort to convert UB to implementation-defined where possible... for example just mandate twos complement integer representations and make signed integer overflow ID. To accomodate trapp
266.
▲
by
caf
4y ago
Yes - and the original post here is the same: if (x < 0) return 0; The compiler now knows x's possible range is non-negative. int32_t i = x * 0x1ff / 0xffff; A non-negative multiplied and divided by po
267.
▲
by
caf
4y ago
The assembly dump does not matter for this analysis (except for finding buggy compilers!) - the C abstract machine itself applies all side-effects before each sequence point.
268.
▲
by
caf
4y ago
No, that transformation is straight-up buggy unless the compiler can also prove that n > 0 (ie by inlining the bar() function into a context where n is always positive). If you had *p == 0 before calling bar(p, 0) then *p had better not
269.
▲
by
caf
4y ago
If a some translation unit defines int fermats_last_theorem_is_wrong(void) { return 0; } then a well-defined program can execute that sequence even with p equal to NULL.
270.
▲
by
caf
4y ago
I believe this one-instruction disabling of interrupts is called the 'interrupt shadow'.
More ›