Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joosters
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
241.
▲
by
joosters
5y ago
Saying 'this is what I will do when an int can't hold the assigned value' is defining the behavior, ergo it is no longer undefined! Vendors are allowed to do anything they want when code containing undefined behaviour is s
242.
▲
by
joosters
5y ago
Maybe I'm splitting hairs, but it's not specifically the presence of 'undefined behavior' that allows the compiler optimization. Instead, it's the language specification. The C spec says that integers cannot be re
243.
▲
by
joosters
5y ago
Isn't the unsigned version the correct one? Presumably the int version will hit the same problem as in the original article, in that the C spec says that ints are not treated as overflowing? (i.e. the compiler cannot assume that adding
244.
▲
by
joosters
5y ago
The article spends a lot of time explaining how these IOUs can be anonymous, but I don’t understand how it can trustlessly interact with another blockchain. If I send some bitcoin to it, what guarantees that I will get a valid ‘IOU’ back, i
245.
▲
by
joosters
5y ago
The pH scale is exponential, so a pH of 2.4 compared to 1.5 is roughly a tenth as acidic as the stomach's. Is that 'close' ? I'm not sure.
246.
▲
by
joosters
5y ago
Same here (as a kid growing up in the 80s) - it was always a drink for when you were ill. Lucozade also had a reputation as being even more sugary than other fizzy drinks. I'm sure it was even marketed back then as an 'energy'
247.
▲
Dead-End SF Street Plagued with Confused Waymo Cars Trying to Turn Around
(sanfrancisco.cbslocal.com)
3 points
by
joosters
5y ago
|
0 comments
248.
▲
by
joosters
5y ago
The ‘how it works’ example is terrible. Bob can borrow $10 but he first needs to loan $15 to the smart contract? That makes no sense at all: if he had $15 spare, he wouldn’t need to borrow $10 in the first place!
249.
▲
by
joosters
5y ago
I just did this! https://weather.slimyhorror.com/tenyears.html (edit: graphs would be a much better way to display this, but making this page full of numbers was a quick ten minute hack)
250.
▲
by
joosters
5y ago
Here are the accuracy stats broken down by year, for the last ten years: https://weather.slimyhorror.com/tenyears.html 'Last year' = last 365 days, '2 years ago' = the 365 days before then, etc etc For m
251.
▲
by
joosters
5y ago
1. The data I scrape could be enough to check this theory out. Currently the site calculates a 'all time' accuracy and 'last year' accuracy, it would be fairly simple to also add an accuracy for 1 year back, 2 years back
252.
▲
by
joosters
5y ago
Years ago, I set up a simple website that screen-scraped the BBC's weather predictions, and compared them against the day's weather report to calculate a very crude and basic accuracy. For the UK towns it monitors, a dumb predicti
253.
▲
by
joosters
5y ago
I too can predict if it will rain in two hours' time (somewhat reliably) by looking out of the window. Years ago, I set up a simple website that screen-scraped the BBC's weather predictions, and compared them against the day
254.
▲
by
joosters
5y ago
The article claims that it saves money, rather than costing extra.
255.
▲
by
joosters
5y ago
The way to get accounts enabled is https://support.google.com/accounts/contact/disabled2 There have been plenty of reports that this doesn't work either, with a bot simply 'reviewing' your account
256.
▲
by
joosters
5y ago
Yes! As a kid, I was jealous of friends who had 'better' computers, but the appeal of the spectrum was seeing how it could be pushed to its limits and do amazing things. Learning BASIC and then assembly on the spectrum got me hook
257.
▲
by
joosters
5y ago
Decoding JPEG images is not very CPU-intensive at all. Back in 1995, an ARM chip was fast enough to render JPEGs on the fly - i.e. apps didn't need to buffer the decoded versions, it was fast enough to draw them straight from the decod
258.
▲
by
joosters
5y ago
This isn't true at all - Linus made the licensing decision in version 0.12 of the kernel, back in 1992! The certainly wasn't any corporate interest in Linux that needed to be protected back then. http://lkml.iu.edu/
259.
▲
by
joosters
5y ago
That looks like https://astro-pi.org/
260.
▲
by
joosters
5y ago
Yes, although in the signup, it claims that they won't charge you unless you upgrade your account from the free tier - i.e. at the end of the trial period, you won't get a surprise subscription bill because you forgot to cancel so
261.
▲
by
joosters
5y ago
The UK bank cover is per-bank, not per-account.
262.
▲
by
joosters
5y ago
If removing it would complicate the code, then it is part of the algorithm. String APIs are critical to the discussion of algorithm costs, e.g. removing the final character from a string is O(n) if they are null terminated, or O(1) if the
263.
▲
by
joosters
5y ago
" However, the geladas don’t seem to get anything from the relationship, since the wolves are unlikely to deter other predators such as leopards or feral dogs, he says. "
264.
▲
by
joosters
5y ago
That's a good thing, it's an added form of protection from losing money to 'smart' contracts.
265.
▲
by
joosters
5y ago
Poly Network has asked digital asset exchanges and miners to block any tokens coming from the above addresses [...] Tether froze more than $30 million in response to the hack Decentralized finance at its best - so decentralized that indiv
266.
▲
by
joosters
5y ago
Maybe because of the density of the payload? Hiding 37MB of data inside of 178MB of images would not be possible without severely degrading the image quality - and they are simple to check. Whereas the NN model continued to work with very l
267.
▲
by
joosters
5y ago
https://www.reddit.com/r/btc/comments/oj0dj4/michael_saylor_...
268.
▲
by
joosters
5y ago
I wonder how these vulnerabilities would be treated if the researchers didn't bother to find an exploit for them? The description of the exploit is so detailed that it gives the impression that discovering the original vulnerability wa
269.
▲
by
joosters
5y ago
'There are ever present dangers that we just live with like the chances of getting in a car accident and dying' Have you not noticed how we have put a lot of time, effort and money into increasing the safety of road travel? Do y
270.
▲
by
joosters
5y ago
It's a fair point, the whole concept of buying something in a sealed container, and never opening it because that would ruin the value, is a bit bonkers. Mind you, the same could be said of wine collectors - just how much 'fine wi
More ›