Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gregopet
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
gregopet
2y ago
For a simple website JWTs are almost definitely an overkill (you would get all the drawbacks for none of the benefits). A session based authentication with some libs from your ecosystem for the crypto parts and a nice intro on how to combin
32.
▲
by
gregopet
2y ago
It's mainly trying to make you not worry about how many threads you create (and not worry about the caveats that come with optimising how many threads you create, which is something you are very often forced to do). You can create a th
33.
▲
by
gregopet
2y ago
It's a brave attempt to release the programmer from worrying or even thinking about thread pools and blocking code. Java has gone all in - they even cancelled a non-blocking rewrite of their database driver architecture because why hav
34.
▲
by
gregopet
2y ago
They know very well how powerful it is to have software on nearly every computer on the planet.
35.
▲
by
gregopet
2y ago
it's worth it just for the navigation helpers alone: '2' will bring you to the next 20-minute-after-the-hour entry (pressing again takes you to the next hour+20 minutes, same for the other 0-5 numbers). E will bring you to th
36.
▲
by
gregopet
2y ago
..and in the troubleshooting section: Don't forget the first law of computer science: "Is it turned on?"
37.
▲
by
gregopet
2y ago
The user manual is also quite awesome :) Here's the bit about copy protection (translation is mine): Programs cannot be copy-protected successfully. KONTRABANT 2 is protected only insofar as not just anyone can look at its databases. T
38.
▲
by
gregopet
2y ago
Interestingly enough, the plot of the game being broadcast was (if I remember correctly) about smuggling a new computer from the west. It was loaded with puns at the system (e.g. one of the locations was a government building and you had to
39.
▲
by
gregopet
2y ago
Žiga Turk was (at a much later time :)) also the minister of education, and he's a university professor. Just shows you that game developers can get far in life :)
40.
▲
by
gregopet
2y ago
A friend of mine had faulty wiring in his house, the electricity would go out for a few brief moments whenever someone would ring his house bell. He would stand in front of his house when ZX Spectrum games were being broadcast so nobody wou
41.
▲
by
gregopet
3y ago
I donated to lnav, it's just soo good!
42.
▲
by
gregopet
3y ago
I fell for the marketing and built a PWA for an app that needs to receive notifications even with the device in "deep sleep". It kind of worked, but not quite, which was a huge deal breaker. It took me a lot of googling to find an
43.
▲
by
gregopet
3y ago
Sounds like the non-programmers are good at what they are supposed to be good at (solving the actual problem, if perhaps not always in the most elegant manner) while the programmers should be producing a highly maintainable, understandable,
44.
▲
by
gregopet
3y ago
I've written web servers in Groovy for at least 5 years.. Groovy is great, once you get to know it, but some aspects of its design certainly don't "click" for a while. I'd be using a syntax for years when I'd r
45.
▲
by
gregopet
3y ago
The company explicitly says you can sync obsidian notes by yourself if you so wish. They offer a paid version but under the same conditions as everybody else. I also use SyncThing like the other person who replied and it works great. I real
46.
▲
by
gregopet
3y ago
SBF was probably saying the same thing not so long ago. Of course it's possible to make money with/during a scam, I don't think anybody is disputing that?
47.
▲
by
gregopet
3y ago
Fuck cancer.
48.
▲
by
gregopet
3y ago
Of course Microsoft is fine with it - the official Windows way of installing things has forever been "Pssst, hey there, why don't you download this .exe and run it and keep pressing ok until it's done"
49.
▲
by
gregopet
3y ago
Personally, I found https://microstream.one/ interesting for simple persistance needs (haven't tried it, though).
50.
▲
by
gregopet
3y ago
Thank you for your explanation!
51.
▲
by
gregopet
3y ago
jOOQ doesn't work with string variables (I mean it can, but that's not the point of that library). It compiles your database schema into objects and then you invoke a very SQL-like API over them. The code then reads very close to
52.
▲
by
gregopet
3y ago
Oh lord this looks terrible. Let's reinvent a bunch of wheels and maim the database and end up with.. I don't know exactly what, even after reading the page for over 5 minutes. I've tried various Java persistence technologies
53.
▲
by
gregopet
3y ago
Same thing happened in Slovenia to some illegal migrants who tried to live off the land while making their way further into Europe: they picked up mushrooms that looked a lot like a safe species in their home country but was in fact highly
54.
▲
by
gregopet
3y ago
Even if it is a thing - after using a shared computer one MUST log out. If the 15 minute expiration time saved you then you're just damned lucky!
55.
▲
by
gregopet
3y ago
My grandmother was in the resistance. Being around 14 years old, she was used as a courier and would hide messages in a pile of beans in the cellar. One day the enemy came and they must have been tipped off because they were searching every
56.
▲
by
gregopet
4y ago
We have an IoT command server and connecting to one of the devices (for maintenance, logs or whatever) involved two manual lookups in the output of two commands and then finding your match in both. I was sick of this one day and with some g
57.
▲
by
gregopet
4y ago
I'm not ignorant of the difference, but at the end of the day, what's the difference? It was definitely Elm throwing that error and they certainly weren't adding "well, for the frontend part anyway, you're out of lu
58.
▲
by
gregopet
4y ago
My experience with Elm was very short and rather funny: a programmer I vaguely know approached me (on Twitter?) and with the usual zealotry of functional programmers started convincing me "You just have to try this language out, it
59.
▲
by
gregopet
4y ago
Oh god I am just looking at a piece of software written by some really untalented folk (who are no longer with the client's company) and it's an unholy mess of caches, Kafkas, Elastics.. because they prematurely decided that Postg
60.
▲
by
gregopet
4y ago
I bought it for myself yesterday and just walked in on my 9 year old playing it, not really fully understanding what he's doing but in general having a blast :) I don't think that would happen with the ASCII version..
More ›