Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
quirino
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
quirino
2y ago
I honestly expected the IOI (International Olympiad of Informatics) to be "beaten" much earlier than the IMO. There's AlphaCode, of course, but on the latest update I don't think it was quite on "silver medal"
62.
▲
by
quirino
2y ago
I wonder if sites could use the HTML <time> tag for this. They could choose the human readable format but still give us the time so that it could be replaced or overlayed with some extension. I always try to use it when writing HTML.
63.
▲
by
quirino
2y ago
Can you suggest a couple of channels? I've never played RuneScape but those videos sound right up my alley.
64.
▲
by
quirino
2y ago
Hey! Tudo bem :) Sorry for the late reply. I've added a "/data" endpoint where you can get the full database in json format.
65.
▲
by
quirino
2y ago
Chose to fix that, but won't delete the submissions that used it. Thanks!
66.
▲
by
quirino
2y ago
Thanks for sharing! It's similar to mine in many ways.
67.
▲
by
quirino
2y ago
Just saw you got 12 zeroes! Second place! Did you start using a GPU or where you just insanely lucky?
68.
▲
by
quirino
2y ago
It was actually much easier than I expected. Just asked for it as a single HTML page, copied the output to a file and opened it on Chrome. Did very few adjustments.
69.
▲
by
quirino
2y ago
I've watched most of them actually. It's a really great channel. Notably, I watched his Mike Tyson video released 6 months ago and didn't notice anything like this. The only way to be sure would be to ask him directly, but so
70.
▲
by
quirino
2y ago
Something I notice about text written by LLMs is how painfully obvious they are to identify sometimes. Recently I was watching a very well researched two hour video on Tetris World Records [1], but the sheer amount of text clearly "enh
71.
▲
by
quirino
2y ago
I'm glad you had some fun! This experiment went about as well as I could hope! If anyone's curious, I'm getting 4.5MH/s single-threaded and 12.2MH/s multi-threaded on a slightly old i7 with 4 cores. It's my own
72.
▲
by
quirino
2y ago
The hashing is about consensus. It's related how a low hash stands as proof of computational power, you can't just fake it. The "adding more zeros" is done automatically, according to an algorithm, so that the time betwe
73.
▲
by
quirino
2y ago
One hour later, it seems like you've got your 10th zero! :) Luck plays a tiny part too, I'm testing sequentially and I got my 9th zero with only ~7e8 hashes, a whopping 100x earlier than expected.
74.
▲
by
quirino
2y ago
The top competitors are very likely using GPUs, I guess that would make this cost much much lower...
75.
▲
by
quirino
2y ago
Maybe I should include a warning that it is pretty slow. I'm using my own SHA256 implementation in C++, and it is at least 100 times faster than the JS one. I've measured it to be about as fast as the one on the Go standard librar
76.
▲
by
quirino
2y ago
Thank you! Curiously most of the code for that JS miner was written on my phone, with the help of ChatGPT. I didn't have my laptop with me and was curious how fast a phone browser would be able to mine.
77.
▲
by
quirino
2y ago
That's also my issue with dark kitchens. Apps list actual, physical restaurants, next to what is just people making food in their own homes. And I've found instances of the name changes you mentioned. There's this "premi
78.
▲
Show HN: SHAllenge – Compete to get the lowest hash
(shallenge.quirino.net)
123 points
by
quirino
2y ago
|
133 comments
79.
▲
by
quirino
2y ago
In that case I think the strategy would be to create a lead and then let all the balls through so that the game ends. At the start I was winning but at some point I wasn't able to keep up anymore.
80.
▲
by
quirino
2y ago
My first thought was that the AI of the bot was code written by GPT.
81.
▲
by
quirino
2y ago
It is mentioned at the end of the article. In Python it's as simple as len(str(x)).
82.
▲
by
quirino
2y ago
Interesting note is that the clever solution fails pretty early: 999999999999999 (15 nines) outputs 16. I hope the author warned the students about floating point imprecision :P
83.
▲
by
quirino
3y ago
One of my favorite data structures is the Aho-Corasick Automaton, which combines Tries and the KMP algorithm in order to search for multiple strings in a text simultaneously. It is very elegant.
84.
▲
by
quirino
3y ago
There are shops on TikTok, seems to be a pretty big thing in some countries.
85.
▲
by
quirino
3y ago
Or even from the first guess, I started with #777777
86.
▲
by
quirino
3y ago
The OBI website is really great, it's just been down for a couple of days. There's a good chance you'll find records there.
87.
▲
by
quirino
3y ago
When I started programming at 12-13 I had no idea loops or arrays existed and implemented an absolutely criminal Tic-Tac-Toe game. The same year me and a friend were studying for the national Informatics Olympiad and we were completely stum
88.
▲
by
quirino
3y ago
I've fallen into this trap so many times... Last time I decided to do the absolute minimum. I just glued together some Markdown library with Jinja for a total of ~50 lines of Python. Turns out you can do a lot with just that.
89.
▲
by
quirino
3y ago
I had a similar issue on Arch Linux some time ago. I debugged it by running it with strace, seeing what it was waiting for and googling it. Uninstalling some package solved it.
90.
▲
by
quirino
3y ago
There's this great blog for Logo changes: https://www.underconsideration.com/brandnew/ You have to subscribe to read the articles now, but just looking at the thumbnails is fun enough
More ›