Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
barosl
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
barosl
2mo ago
I was told that some people in Busan, the Korean city nearest to Japan, felt the earthquake and even felt dizzy.
2.
▲
by
barosl
7mo ago
Oh wow, yes I remember now, I used to type `Alt+F` and then `S` immediately because Notepad didn't support `Ctrl+S` back then. Thanks for giving me nostalgia!
3.
▲
by
barosl
7mo ago
> Some time ago, I noted that the Windows 95 CD contained a variety of multimedia extras That "some time ago" is 20 years ago. It is crazy that Raymond has been able to consistently write historical yet fun blog posts for decad
4.
▲
by
barosl
1y ago
I tested the demo at https://moq.dev/publish/ and it's buttery as hell. Very impressive. Thanks for the great technology! Watching the Big Buck Bunny demo at https://moq.dev/watch/?name=bbb o
5.
▲
by
barosl
1y ago
Actually the default value of `APT::Install-Recommends` had been false, and it was changed to true in Debian 6.0 Squeeze (2011-02-06). I didn't like the change at the time because my Debian and Ubuntu systems suddenly installed more pa
6.
▲
by
barosl
1y ago
fish doesn't use SQLite, but its own plaintext format. They've been trying to migrate to other formats.[1] Currently fish stores timestamps and directories in its history. [1] https://github.com/fish-shell/fis
7.
▲
by
barosl
1y ago
There still seem to be some remaining issues. My Cloudflare Pages site is still giving me 500 errors. I looked up the response headers and realized that when requests are served by a certain data center, they fail, but if processed by anoth
8.
▲
by
barosl
1y ago
Off topic, but it is good to see an article about the LIEF library on Hacker News. I recently had a need to modify the header of an ELF file and LIEF was a lifesaver. Thanks to all the authors and contributors!
9.
▲
by
barosl
1y ago
History classes are always fun! I didn't know dash had the command history feature. It is just disabled by default.
10.
▲
by
barosl
2y ago
Yeah, I also used Docker (actually, Podman) as an alternative Python package manager and it worked well enough. Most of all, it felt somewhat cleaner and more reproducible than using plain virtualenv. Of course, I migrated from it after I
11.
▲
by
barosl
2y ago
A very well written article! I admire the analysis done by the author regarding the difficulties of Python packaging. With the advent of uv, I'm finally feeling like Python packaging is solved. As mentioned in the article, being able t
12.
▲
by
barosl
2y ago
Just the default one. I tried some alternative keyboards and they are better in some ways but in the end the default keyboard was enough. Termius provides input of some special keys (e.g. Ctrl, Alt, Esc, Tab, Home, End) so that's anoth
13.
▲
by
barosl
2y ago
I tried Mosh but it didn't fit my taste. It tries to "predict" the state of the screen before being acknowledged by the server, but sometimes the prediction is wrong and Mosh reverts the cursor movement and redraws the affect
14.
▲
by
barosl
2y ago
I also write code using my phone when I'm on a bus or the subway. It requires some patience but after getting used to it, the experience is surprisingly pleasant especially if you're familiar with terminal-based tools. My environm
15.
▲
by
barosl
2y ago
> if "rm -i" is the default the "rm" level gets disabled, because "rm -i -f" is the same as "rm -f" You can use "\rm" to invoke the non-aliased version of the command. I made "rm -i&
16.
▲
by
barosl
2y ago
> to overload the bit shift operators for stream I/O MFC extends this idea to network programming, allowing the use of shift operators to send and receive data.
17.
▲
by
barosl
3y ago
We have github.com/[username].gpg to get their OpenPGP keys, too!
18.
▲
by
barosl
3y ago
> states.intersection({'VALID'} | {'IN_PROGRESS'}) Does this Python code count? Haha.
19.
▲
by
barosl
3y ago
The cool thing about this project is that as it uses systemd's socket activation, it requires no server processes at all. There is no waste of resources when Cockpit is not being used. Accessing a page is literally the same as invoking
20.
▲
by
barosl
3y ago
> A server-side JavaScript script might pull data out of a relational database and format it in HTML on the fly. A page might contain JavaScript scripts that run on both the client and the server. This is exactly what we do with server-s
21.
▲
by
barosl
3y ago
The funny thing is, I do know about WeeChat (the IRC client) and did use it in the past, but still thought the article was about WeChat (the Chinese messaging service) for a moment. I'm embarrassed!
22.
▲
by
barosl
4y ago
Oh wow. So some countries had free local calls, which boosted the local BBS culture. That's pretty cool, huh. I had no idea. In my home country there was no such thing, so BBS's tended to be owned by big companies.
23.
▲
by
barosl
4y ago
I also learned the lesson to use a different history file recently. I added `HISTSIZE=-1` to `~/.bashrc` to make the number of items stored in the history unlimited, but the history kept being truncated. The problem was that Ubuntu
24.
▲
by
barosl
4y ago
They said they were planning to expand its coverage to the multi-region use case last year[1], but nothing's concrete. I've heard good things about Fauna, but having to rely on their own query language put me off. I might have to
25.
▲
by
barosl
4y ago
I recently tried CockroachDB's serverless offering and I was very satisfied with it. It has a generous free tier, easy-to-understand pricing, and a query analyzer that helps me estimate how much a query would cost. It is still in beta
26.
▲
by
barosl
4y ago
PEP 518 lists some reasons not to use configparser and I agree with them wholeheartedly.[1] Personally I don't want to use ill-defined formats, even for simple projects. [1] https://peps.python.org/pep-0518/#config
27.
▲
by
barosl
4y ago
The addition of a TOML parser to the standard library is really welcome. I've always wanted to use TOML in my Python scripts but having to import an external library made me use JSON instead, which was awkward due to the lack of commen
28.
▲
by
barosl
5y ago
This vulnerability seems much harder to exploit. I've just checked the services I'm in charge of and while there are a few uses of `${ctx:...}` in those codebases, the corresponding context values are all injected internally and n
29.
▲
by
barosl
5y ago
> Since the lower four bits are /2 Wow, so the second field of every timestamp in a ZIP file must be an even number? That's shocking to me! It seems that RAR and FAT32 share this problem. How could I not know this?
30.
▲
by
barosl
5y ago
After reading the answer, I've got some questions: 1. I like little-endian systems because adding or subtracting small numbers is easier in those systems byte-wise. Would the same benefit apply to human languages? 2. Why did the Arabic
More ›