Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pytness
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
pytness
1y ago
Same but with editing a message on a browser and trying to delete a word with Ctrl+w
2.
▲
by
pytness
1y ago
We already have two keys, they are called Shift and Enter
3.
▲
by
pytness
1y ago
From the wiki[0]: "It is believed to be the first compound to have formed in the universe" They created the molecule under space conditions: "The experiment was carried out at the Cryogenic Storage Ring (CSR) at the MPIK in H
4.
▲
by
pytness
1y ago
if a gpg signature check fails, is it a correctness issue? a security issue? or both?
5.
▲
by
pytness
2y ago
Obligatory xkcd: https://xkcd.com/356/
6.
▲
by
pytness
2y ago
Relevant or not, python 3.13 shows the same thing: Python 3.13.0: 799.6559143066406 ms Node 18.20.4: 59.34080000221729 ms
7.
▲
by
pytness
2y ago
Note that the book uses python 2
8.
▲
by
pytness
2y ago
"draw a line under the last word in this line" ____
9.
▲
by
pytness
2y ago
It depends how you measure the time i guess. I would say from 4 hours to 6 hours on an average workday (thats what wakatime says at least). But is writing code, stopping for reading docs / thinking and continue writing code counted as
10.
▲
by
pytness
2y ago
For being a relatively new language, there are almost no "entry level" positions. Just take a look at https://rustjobs.dev/ . Most of them are well paid remote jobs, but they are asking for +3 years of "profes
11.
▲
by
pytness
2y ago
Also, the site is really slow. The only thing that the site manages to turn on is the computer fans.
12.
▲
by
pytness
2y ago
> Yes. I was confused by its output, i.e. 2541.91s Thats the output of the shell command `time` (im using zsh so the output differs from other shells) eg `time cargo build`. system is the cpu time spent calling kernel functions and user
13.
▲
by
pytness
2y ago
Yes, in linux there is a file system type called tmpfs which is mapped to memory (most of the time iirc). > Filesystem Size Used Avail Use% Mounted on > tmpfs 31G 22M 31G 1% /tmp Try running `cargo build --
14.
▲
by
pytness
2y ago
I directly cloned to /tmp. 64GB ddr5, No overclock. edit: (also, the machine was recently rebooted and had very few processes running) After i posted the comment i tested on a laptop running windows with wsl (i7-12850HX 16c 24t) and th
15.
▲
by
pytness
2y ago
I ran `cargo fetch` first to remove the downloading time out of the equation. Ran on arch (AMD R7 7800X3D). First build: > cargo build 2574.91s user 79.89s system 1341% cpu 3:17.84 total After change: > cargo build 11.97s user 1.62s
16.
▲
by
pytness
2y ago
I am often promptly required to be at my job around the same hour. I have started noticing uber charging what would be a 8$ ride up to 15$ when there is no trafic and the drivers are next to me. Also, some uber drivers, take your ride while
17.
▲
by
pytness
2y ago
I just asked o1-preview and it said three
18.
▲
by
pytness
2y ago
Using percentages as means of manipulating the masses has always been a thing. "There has been a 1000% increase in traffic deaths this year, we must do something!" Ah yes, we went from 1 death per year to 11 because there was a fa
19.
▲
by
pytness
2y ago
Is it me or is the description of the algo wrong? > Round 1. Keep going through Hamlet, adding new words as you go. If you come to a word that’s already on your list, flip a coin again. If it’s tails, delete the word; If i follo
20.
▲
by
pytness
2y ago
Seems like a yapper. And it makes some wrong(?) assumptions? >>> hi Hi! It's nice to meet you. Is there something I can help you with, or would you like to chat? >>> if tilt my head upwards so my face is lo
21.
▲
by
pytness
2y ago
TIL the porcine virus is only ~106 carbon atoms wide.
22.
▲
by
pytness
3y ago
Insurance and banks services are used out of business hours by everyone. You better have people working after pushing to production a friday at 5pm. If it breaks on my work hours, np, i will revert the deployment. Good luck getting me to re
23.
▲
by
pytness
3y ago
You dont push on fridays or before holidays. Good luck breaking prod and having you or your coworkers do extra hours on a holiday. edit: the point is you choose when to deploy, eg shoot.
24.
▲
by
pytness
3y ago
Sure, but you wouldnt push to prod on a friday
25.
▲
by
pytness
3y ago
It also performs better if you tell it to take its time to answer a question. ChatGPT obviously wont halt for 2 minutes thinking about the question, but it still performs better. Some problems require more than a couple of minutes, money ma
26.
▲
by
pytness
3y ago
Plus the clap crate. We could make all of this a crate and have the same ls in less than 10 lines
27.
▲
by
pytness
3y ago
They kinda do: https://github.com/sqids/sqids-blocklist/tree/main/data
28.
▲
by
pytness
3y ago
I think you completely misunderstood the article, or you have not read it. The uniqueness from the system comes from the fact that two different numbers will never have the same id. The pad only works for things like user ids. You can also
29.
▲
by
pytness
3y ago
> They visited at least two unique pages. The user has visited A and B on day 1, and A on day 2. So the total page hits is (A, B, A). Remove duplicates and you have (A, B) which makes the sentence true. Imagine he said: > They bought
30.
▲
by
pytness
3y ago
:o no way
More ›