Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
carl_dr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
carl_dr
4y ago
Thanks, I do always forget about them to be honest, sooo many ads.
92.
▲
by
carl_dr
4y ago
https://kottke.org/22/12/jodorowskys-tron It is posts like this which meant I missed Jason so much during his sabbatical. I don’t seem to find similar content anywhere else. So glad he’s back.
93.
▲
by
carl_dr
4y ago
ChatGPT is currently rate limited so I can’t login to test, but isn’t it possible that the massive wall of text above the “immoral” prompt just stops the system from hitting some predefined threshold of dodginess? I wanted to try several pa
94.
▲
by
carl_dr
4y ago
> Heck, if I could have a phone with iOS 1 (no third party apps) and the camera and screen of the latest iPhone, I would buy that. Well, you can - just don't install any 3rd party apps?
95.
▲
by
carl_dr
4y ago
https://archive.ph/B6KEP
96.
▲
by
carl_dr
4y ago
That the other guy is evil, and that’s the only other choice, isn’t Apple’s fault.
97.
▲
by
carl_dr
4y ago
The population China didn’t have the choice where they were born. With Apple, you have a choice, knowing fully the pros and cons of the ecosystem, whether to buy into it. It’s not the same at all.
98.
▲
by
carl_dr
4y ago
Added to that, wait until all cars are electric, and they filter down the secondhand market. The average price of a 10-year old car in the UK, as of Sept 2022, is £6100 - pretty much the same as a replacement battery pack, which will be du
99.
▲
by
carl_dr
4y ago
From the article : “Physicists reacted to the paper with interest and caution, expressing concern that the public and media would mistakenly think that actual physical wormholes had been created.” Yet the NYT led with that headline, literal
100.
▲
by
carl_dr
4y ago
One data point: Website and iOS app is working here in the UK.
101.
▲
by
carl_dr
4y ago
The benchmark was specifically testing the hot path of a cached query in their MySQL caching proxy. MySQL wasn’t involved at all. I agree completely that benchmarks need care, hence my point that the article is disappointing. The author mi
102.
▲
by
carl_dr
4y ago
Not too long, did read : The benchmark went from 28.5ms to 32.9ms. That as a percentage is 15% and is huge, it’s not noise. The test is flawed in some way, the article is disappointing in that the author didn’t investigate further.
103.
▲
by
carl_dr
4y ago
The article barely mentions radio, giving no data just could/may/potential to. In visible wavelengths though : > The International Astronomical Union coordinated observations from around the planet, which found that the satelli
104.
▲
by
carl_dr
4y ago
Spoiler alert, the mystery molecule is sulphur dioxide. Clickbait much?
105.
▲
by
carl_dr
4y ago
I'd argue even a barebones framework should protect you against the most basic vulnerabilities, it's something Every Single App Ever will require.
106.
▲
by
carl_dr
4y ago
Little Bobby Tables' cousin Xavier S Scripts strikes again. % wget -q -O- ' http://localhost:8080/hello/%3Cscript%3Ealert(%22oops%22) ' Hello, <script>alert("oops")
107.
▲
by
carl_dr
4y ago
If you are shrikemen, Teenage Fanclub are the first band I saw live. Looking through your profile, I’m surprised we are only Medium.
108.
▲
by
carl_dr
4y ago
I’d like to shake you by the six hands, love that.
109.
▲
by
carl_dr
4y ago
You signed up to last.fm (well, audioscrobbler) two days after I did in 2005. I’ve followed you there, I’ll trawl through your top tracks tomorrow. I’m surprised/happy to see iLiKETRAINS as your top track.
110.
▲
by
carl_dr
4y ago
Thanks, that helps.
111.
▲
by
carl_dr
4y ago
Late 90s me would have had a higher compatibility with you, there are a few blasts from my past in your scrobbles. Followed!
112.
▲
by
carl_dr
4y ago
Can anyone why ELI5 please? The discussion on Twitter isn’t very … analytical.
113.
▲
by
carl_dr
4y ago
I did the same recently after seeing it was possible. 150,000 scrobbles for me, which I thought was a lot until I saw your count! https://www.last.fm/user/carldr
114.
▲
by
carl_dr
4y ago
Yep, same here. And the game seemed well balanced to my skill level until I blundered, at which point it beat me in short order - just as happens on Lichess!
115.
▲
by
carl_dr
4y ago
ruby -rdate -e'b=DateTime.new 0;loop{b+=1/86400r;c=b.strftime"%y%m%d%H%M%S";puts b.strftime"%y-%m-%d %H:%M:%S"if c==c.reverse}' 127. Script never terminates, but it does display all possibilities, so I th
116.
▲
by
carl_dr
4y ago
That doesn't work unfortunately, you need the brackets - DateTime has to be on the left.
117.
▲
by
carl_dr
4y ago
You need to use puts to avoid quotes being added around the output - so I'll give you 145! I'm on my phone too, I'm impressed I even got something working, you've done brilliantly. Edit: DateTime.new(0) seems to work.
118.
▲
by
carl_dr
4y ago
I don't think so. It would be only year 2006 (which map to second 60) which could be a problem, and there wasn't a leap year in that year.
119.
▲
by
carl_dr
4y ago
ruby -e 'require"date";(0..4e9).each{b=DateTime.new(0,1,1)+_1/86400r;c=b.strftime("%y%m%d%H%M%S");puts b.strftime("%y-%m-%d %H:%M:%S")if c==c.reverse}' 151 bytes (including the ruby -e, down from
120.
▲
by
carl_dr
4y ago
Sounds like a great Code Golf contest. ruby -e 'require"date";a=DateTime.new(0,1,1,0,0,0);(0..4e9).each{|d|b=(a+Rational(d,86400));c=b.strftime("%y%m%d%H%M%S");puts b.strftime("%y-%m-%d %H:%M:%S")if c==c.r
More ›