Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
p4l4g4
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
p4l4g4
3y ago
Great for steganography! We can finally put our passwords on post-its again!
2.
▲
by
p4l4g4
3y ago
Having meaningful output is useful, artificial pauzes like this are only for dramatic effect. I rather have a linear, timestamped log, so I can confirm my suspicions, than a progress bar with artificial delays, that suggest progress. But th
3.
▲
by
p4l4g4
3y ago
I like the idea. I guess you could do something with pubsub to simulate this model. A regular http stack (load balancer and reverse proxies in front of some http framework) would probably need major modifications to work. It would be great
4.
▲
by
p4l4g4
4y ago
This happens more often than I'd like to admit. More often it's on work chat or a call, but the principle holds: I try to explain my problem to someone else and while deepening the explanation, I get a face-palm moment (the answer
5.
▲
by
p4l4g4
4y ago
I would say you can get a long way with trying to prevent your own code from emitting interrupts. But how do you stop libraries or the JVM from emmiting them?
6.
▲
by
p4l4g4
4y ago
You can't just lock on the file operations, since this problem comes from thread interruptions. No interrupt, no problem. So, instead you need to make file operations and _any_ thread interrupt mutual exclusive. Finding and patching al
7.
▲
by
p4l4g4
4y ago
Awesome snippet! I organize most of my work using something similar to the Johnny decimal system[0] and use CDPATH for quicker lookups. But I love how you build a dynamic system with a simple oneliner! [0] https://johnnydecimal.c
8.
▲
by
p4l4g4
4y ago
I work at a database heavy company as an infra engineer. From time to time we get requests from devs or customer success to run a query on all customer databases to see or certain assertions hold (e.g. If the latest update fixed a problem o
9.
▲
by
p4l4g4
4y ago
I maintain the cloud infrastructure at my company and I went the other way around: from laptop only to an 3 screens (laptop on a stand + two screens on the side at a 90 degree angle). When I need a browser window at the right resolution, I
10.
▲
by
p4l4g4
4y ago
How i love these quirky side project! Do you have a link to a repo? Would like to see his setup!
11.
▲
by
p4l4g4
4y ago
A logic bug can be dangerous too though. E.g. Bumping a user ID, to get a "fresh" one or calculate port to open based on offset. When not bounded to a known range, this kind of logic can easily pose a serious security risk. Most o
12.
▲
by
p4l4g4
4y ago
That's why we only allow RFC9225 compliant packages on our systems!
13.
▲
by
p4l4g4
4y ago
Did a lot of data wrangling this year. The usual grep, sed, awk, jq and even find has sped up my days significantly. Sed is among my favorites to whip up some quick, ad hoc, transformations. This year I added Miller [0] to my list; a tool t
14.
▲
by
p4l4g4
4y ago
I have the same experience! On the integration side of things, ldap is often easy to configure. Most software just works, when you know your parameters. The server side, however is a whole different story. It feels like most enterprisey imp
15.
▲
by
p4l4g4
4y ago
I think this analog is close to the dynamic vs static debate. However, there are probably more factors to consider, such as competence of the driver (will the driver even care to slow down?), location of the intersection (an intersection ju
16.
▲
by
p4l4g4
4y ago
I know the feeling. We use ansible extensively in our company. While it is probably the best tool at the moment to get the job done, it is not a pleasant tool for larger/complex setups. Like you said, it's the small things. The th
17.
▲
by
p4l4g4
4y ago
Same here! Tcl/tk is a lovely little language and much under appreciated by many! Interesting software started in tcl, such as redis, expect and sqlite. Still use some tcl through environment-modules, in my personal work setup. Have to
18.
▲
by
p4l4g4
5y ago
"Optimizing based on a lottery event seems counter-productive" I think it depends on how often you "win" the lottery. If a lottery event happens once or twice a year and it's fairly hard to resolve, we classify them
19.
▲
by
p4l4g4
5y ago
Took me a while to appreciate rx. I like the conciseness of normal regexes, but rx is so much more readable and maintainable! I love the extensibility options and the fact it's just a macro. So, at runtime, there is no difference. Glan
20.
▲
by
p4l4g4
5y ago
Just charged my phone with my laptops Usb-C charger, without any issue. Apart from special features like fast-charge, I'd say compatibility is very good.
21.
▲
by
p4l4g4
5y ago
My eye was drawn to the graphs. Especially the house price / income graphs. There seems to be a trend in the US graph: if you zoom in far enough, you can see a consistent drop in Januari (every year). The UK graph does not show this tr
22.
▲
by
p4l4g4
5y ago
Forgot a crucial parameter in the first xclip call: -t image/png. Without this, your system don't know its png data and will paste the raw data when you hit ctrl-v.
23.
▲
by
p4l4g4
5y ago
Nice! Although I'm linux user, I got inspired by the idea. I often combine imagemagick import with xclip to quickly snap parts of the screen to clipboard (import png:- | xclip -sel clip). This can easily be extended with tesseract for
24.
▲
by
p4l4g4
5y ago
I used this a lot! Combined with scripting support, you can make the experience even more interactive. Used gdb scripts in the past to make debug sessions repeatable. Stuck beyond the point your interested in? No problem, just restart the s
25.
▲
by
p4l4g4
5y ago
This, yes! Not necessarily the copy/paste part, but definitely the debug part! I generally like deeper debug sessions, preferably without too much pressure. Getting deep understanding for a problem and figuring out a solution were the
26.
▲
by
p4l4g4
5y ago
Wondered for ages whether there is a real situation where this is needed. Good to see this publicly debunked. Now I have a resource to point to when I get the "better safe than sorry" argument.
27.
▲
by
p4l4g4
6y ago
This problem sounds more familiar to me. Cat - keyboard interaction is one of the most destructive, besides cat - carpet and cat curtain interactions..
28.
▲
by
p4l4g4
6y ago
Nice! Shame it shows 404 when accessing sub directories.
29.
▲
by
p4l4g4
6y ago
Good read, thanks! I liked the flow of this article. Looks liken the author had a good introduction from his friend. The pages he found in a short time took me years to collect! Although it only scratches the surfaces of what emacs is capab
30.
▲
by
p4l4g4
6y ago
I've used vim for about 5 years and switched directly to "vanilla" emacs (no evil or doom). My main motivator was similar to yours. Most functionality I used came from plugins, but the language used to write plugins or other
More ›