Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
forinti
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
511.
▲
by
forinti
2y ago
I used them both to find the longest line in a file. The Perl option just spits out the number of times each line length occurs. It will get messy if you have many different line lengths (which was not my case). You also have to take into a
512.
▲
by
forinti
2y ago
As a dare from a friend I compared my Perl solution to an AWK solution: $time perl -MData::Dumper -ne '$n{length($_)}++; END {print Dumper(%n)}' bigfile.txt $VAR1 = '1088'; $VAR2 = 349647; real 0m1.326s
513.
▲
by
forinti
2y ago
Not so bad if my car can drop me off at work and, go to court, and then pick me up at the end of the day to go home.
514.
▲
by
forinti
2y ago
I prefer it because of the bot API.
515.
▲
by
forinti
2y ago
Employers seem to have no qualms about publishing fake job postings. I've gone to interviews only to be informed that the position was taken and that they "only wanted to know me". It seems to me that HRs have started a game
516.
▲
by
forinti
2y ago
I really like their H618 offerings with Zero form factor and 4GB of RAM. Plus the Banana Pi M4 has eMMC.
517.
▲
by
forinti
2y ago
Sure, in case of an emergency. But I feel that focusing on the map is optimizing the wrong thing.
518.
▲
by
forinti
2y ago
Who actually needs a map? It seems to me that an app that tells me which route to take is a faster and easier way to navigate the underground.
519.
▲
by
forinti
2y ago
When I was about that age I spent a whole afternoon playing Sim City. When I realised how many hours I had lost, I just uninstalled it and never looked back. You should definitely talk to a psychologist if you can't convince him yourse
520.
▲
by
forinti
2y ago
When I have the time, I like to script an attack on phishing sites by posting false data. The idea is to fill their databases with trash, and make it more difficult for the criminals to weed out real data entered by victims.
521.
▲
by
forinti
2y ago
Actually, this was the first Pascal faithful to the standard that ran on a diskless machine. It was really quite a feat.
522.
▲
by
forinti
2y ago
ISO Pascal for the BBC Micro uses 2 16KB ROMs and runs on 32KB of RAM. These ROMs include a runtime, an editor (4KB with regex search), and a compiler.
523.
▲
by
forinti
2y ago
> except that I'm not pissed off as much There's a radio show in the mornings in my country that I call "the hour of indignation". A "news" presenter rants on for many minutes about something that is very wr
524.
▲
by
forinti
2y ago
A decade ago I switched from my local morning news to a French show. Instead of violence, traffic accidents, and soccer, the French show talked about recipes, books, travelling, etc. It didn't really try to be a news show, just somethi
525.
▲
by
forinti
2y ago
Short tangential story: My grandfather many decades ago came home with a pack of "unbreakable" glasses. My grandmother asked why he had bought them. He shrugged and replied "well, if you don't want them..." and thre
526.
▲
by
forinti
2y ago
The proxy replied with a message stating that the site was blocked because it was pornographic.
527.
▲
by
forinti
2y ago
I once worked for a company that blocked Cuban sites because of .cu (which is the Portuguese word for the end of your digestive system), but did not block porn sites (or so I was told ;-).
528.
▲
by
forinti
2y ago
I have to go to the office once a week and besides communicating with my colleagues over IM, I have to connect over RDS to my machine because it sits in another room. I go to the office and I'm still remote!
529.
▲
by
forinti
2y ago
It's nice, but I would use something with a bit more memory. An Orange Pi Zero 2W with 4GB maybe. 512MB nowadays is only practical if you don't use a GUI.
530.
▲
by
forinti
2y ago
A long time ago I built a multimedia kiosk for a retail chain. I used Linux and X without a Window Manager, so my worst case scenario was that the clients would see a gray screen. I agree that it does not make sense to use Windows for this
531.
▲
by
forinti
2y ago
After watching a video of a person playing with a MacDonald's kiosk, I started to do the same with equipment I found at different places. One food court had kiosks with Windows and complete access to the Internet. Somebody could downlo
532.
▲
by
forinti
2y ago
Use the real numbers but change the owners of each count. Except, of course, if the winning party has a huge advantage which you don't think people would buy.
533.
▲
by
forinti
2y ago
I am not a typewriter aficionado at all, but since I met the Brother Deluxe I've had a big crush on this machine. I would have no use for it, but I think it is just beautiful. I'm thinking of 3D printing a lookalike case for some
534.
▲
by
forinti
2y ago
They could still spoof an encrypted public signal as they would be the owners of the key.
535.
▲
by
forinti
2y ago
I used to see some devs brute-force autocomplete on the IDE to find a method, and now I see people spend hours trying to make ChatGPT spit out a valid block of code for a particular task.
536.
▲
by
forinti
2y ago
Just last week I bought a new desktop for a family member. I was considering an Intel CPU, but at the last minute found a better and cheaper option with an AMD processor. Am I glad I dodged that bullet.
537.
▲
by
forinti
2y ago
The last Windows I willingly used was Windows 2000. But I would never go back to that: Linux is so much better now for my needs.
538.
▲
by
forinti
2y ago
What percentage of ex convicts are so completely isolated from society that they have no friends, family, or even a public defender, social worker, or parole officer?
539.
▲
by
forinti
2y ago
I'm sure you can find a lawyer who'll take the case for a percentage of the compensation.
540.
▲
by
forinti
2y ago
There's a interesting question there. How often do species completely disappear and how often do they evolve into something else?
More ›