Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ajuc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
241.
▲
by
ajuc
1y ago
The ones that had - died as small kids.
242.
▲
by
ajuc
1y ago
You are calling the main function with arguments "New York, Chicago, Washington". Then the system runs the loop and you are just an effector managed by the system. Running the loop takes hours. Choosing the arguments for the main
243.
▲
by
ajuc
1y ago
It's not a loop. It's the main() function. The loop is driven by the system and that makes a lot of difference.
244.
▲
by
ajuc
1y ago
After communism fell in Poland there was a period of privatization of public transport. It was reverted in last 2 decades in most big cities because it usually had worse quality standards (only competed on price), only served the few most p
245.
▲
by
ajuc
1y ago
Living in suburbs instead of in dense walkable cities is a choice as well.
246.
▲
by
ajuc
1y ago
> The bottom line is, no one ever really used inheritance that much anyway That's just false. Before Java abstract factory era there was already a culture of creating deep inheritance hierarchies in C++ code. Interfaces and design p
247.
▲
by
ajuc
1y ago
I'm not sure if it's more or less often now, but over decades almost everything breaks one way or another. Even if your code, OS and hardware had no bugs and was designed perfectly and you keep the same hardware to run you code fo
248.
▲
by
ajuc
1y ago
I remember when Turbo Pascal 7.0 programs started failing with Division by 0 error cause Turbo Pascal runtime does calibration loop at the start to calculate how many no-ops to sleep for 1 millisecond. So - your HelloWorld written 10 years
249.
▲
by
ajuc
1y ago
Great article. I know it's not the main subject, but I really liked this part: > Technical Work as Emotional Regulation Men are taught to do that in most societies. You are unhappy - don't bother talking about it (men don'
250.
▲
by
ajuc
1y ago
> Divide and Conquer This is the most important, it's so much better for obvious and less obvious reasons. I tried to print a front basket in one piece for my wife's bike 2 times before I got it to print. It broke the next week
251.
▲
by
ajuc
1y ago
The difficulty is in how many relationships you need to keep in mind, not in how hard each of them are. Just like in math. BTW relational DBs are math.
252.
▲
by
ajuc
1y ago
I am married. No kids tho. But I was a kid, and we only did laundry on saturdays. What's the point of doing it daily? Do you not have 7 sets of clothes for everybody?
253.
▲
by
ajuc
1y ago
It's something that takes 15 minutes of work once a week. The rest happens in the background without your involvement. Negligible benefits. And the machine takes space in small European flats.
254.
▲
by
ajuc
1y ago
In Europe most people don't use cloth dryiers. You just hang the clothes on lines (usually on your balcony or in your bathroom if you live in a flat, or in your backyard if you live in a detached home). Clothes are dry the next day any
255.
▲
by
ajuc
1y ago
Bending iron horseshoes was a common party trick historically. Augustus II the Strong (king of PLC and elector of Saxonia) was known for doing it. Sounds impossible if you don't realize the horseshoes weren't steel.
256.
▲
by
ajuc
1y ago
Hear me out - copper-titanium damascuss.
257.
▲
by
ajuc
1y ago
Kitchen knife?
258.
▲
by
ajuc
1y ago
There's many ways to get low wealth inequality. 1. reset the accumulation every 50 years or more often. The reset can be a war, a dictatorship, revolution, whatever. It's how Eastern Europe has low wealth inequality despite no sys
259.
▲
by
ajuc
1y ago
The main reason is that they have marketing of a corporate entity behind them and someone to sign a contract with. I've seen many times - company switching from free, open-source, distributed solution to a worse, closed-source, coporat
260.
▲
by
ajuc
1y ago
Depends on what you define as talent. For example there're studies that intelligence over 120 is negatively correlated with success as a leader.
261.
▲
by
ajuc
1y ago
They do if you tell them. Both Oracle, mssql and postgresql have this implemented. I only used it in Oracle - it's called flashback queries - you do SELECT ... AS OF timestamp and you can see state of the table from the past. It needs
262.
▲
by
ajuc
1y ago
Oracle has flashback queries (SELECT ... AS OF timestamp). It's one of these things that are available but most people ignore it and implement it manually with created_at updated_at deleted_at columns etc. I think one reason for this i
263.
▲
by
ajuc
1y ago
Oracle has this already. SELECT ... AS OF timestamp. It needs to be enabled of course and it's not free.
264.
▲
by
ajuc
1y ago
After I tweaked the tree outline drawing algorithm for this side-project for like 20 hours over 3 days ( https://ajuc.github.io/outdoorsBattlemapGenerator/ ) I've been seeing these outlines EVERYWHERE :)
265.
▲
by
ajuc
1y ago
Like the urge to zoom out or in when you look at sth :)
266.
▲
by
ajuc
1y ago
Yup, I experienced this after both computer games physical sports and even programming (I tinkered with my algorithm for drawing 2d trees in a side project for like 20 hours over a long weekend and after that I've been seeing the deta
267.
▲
by
ajuc
2y ago
Some medieval swords were made in a similar way (twisting and re-flattening the billet many times).
268.
▲
by
ajuc
2y ago
I don't think so, you can do this well in D&D, and you can do it badly in narration-focused RPGs with mechanics allowing for various degrees of success. It's more about DM ability to let the party "fail forward" than
269.
▲
by
ajuc
2y ago
Balance is hard mostly because the possible results are too binary. Either you win or you're dead. Stakes are so high that you tend to err on the safe but boring or you risk TPK. Not only is this boring (it gives players less opportuni
270.
▲
by
ajuc
2y ago
Lem wrote in his journal: "Na początku 48 roku wyjechałem na miesiąc do Pragi, gdzie zostałem zatrudniony w rządowej klinice im. Klimenta Woroszyłowa (wyobraźcie sobie u nas szpital imieniem Hermanna Goeringa). I ledwo wytrzymałem ten
More ›