Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ajuc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
391.
▲
by
ajuc
2y ago
Not a solution for all of your problems, but it does help me with debugging stuff faster: I have a directory on the desktop called "scratchpad" in which every day I create a new txt file. During the day I copy-paste every JIRA lin
392.
▲
by
ajuc
2y ago
I like his poem "The Power of Taste" the best: It did not take any great character our refusal dissent and persistence we had a scrap of necessary courage but essentially it was a matter of taste Yes taste
393.
▲
by
ajuc
2y ago
The inborn part is how quickly you get results (good or bad). Stupidity is the results. If we spent 50% of time thinking productively - inborn thinking speed would matter. But in my estimate even 5% is generous. So it matters far more what
394.
▲
by
ajuc
2y ago
> Remind you of the collaboration with Nazi Germany. Let me quote Wikipedia: After invading Poland, the Soviet Union sent ultimatums to the Baltic countries, where it demanded military bases on their soil. The Baltic states accepted Sovi
395.
▲
by
ajuc
2y ago
Chinese ship starting from Russian port went to sea, dropped the anchor just before the cables, dragged it over the cables, went away. Haven't reported anything. Declined requests to explain themselves. Sorry but it's bullshit.
396.
▲
by
ajuc
2y ago
Yeah and if you shoot someone and they die it might be an unrelated heart attack.
397.
▲
by
ajuc
2y ago
If you say to your gifted kid that they're great because of how well they do with math - then they will likely build their perception of self-worth on their math skills. Which seems fine at first (it's a great motivator as long as
398.
▲
by
ajuc
2y ago
This is one of these cases where inheriting hacked-together piece of crap (English spelling) makes a lot of additional work higher up. Another example is poetry. A regex can find rhymes in Polish. Same postfix == it rhymes. In English it&#x
399.
▲
by
ajuc
2y ago
It's similar in regular programming - LLMs are better at writing test code than actual code. Mostly because it's simpler (P vs NP etc), but I think also because it's less obvious when test code doesn't work. Replace all
400.
▲
by
ajuc
2y ago
The centralised structure, the lack of trust and selfishness, and the improvisation and ignoring the rules are all connected. The less people care about rules - the harsher you have to be to enforce them. The high level officers had to go t
401.
▲
by
ajuc
2y ago
It works the exact opposite way. People from totalitarian shitholes improvise a lot more than people from functioning democracies (because they have to improvise to survive daily life). And they trust their state and follow the rules a lot
402.
▲
by
ajuc
2y ago
Evolution is path-dependent. Notice that mammals were comprehensively outcompeted by dinosaurs till asteroid removed them and gave mammals time and niches to develop in. If you recreated dinosaurs right now they would lose to mammals (for e
403.
▲
by
ajuc
2y ago
Even if you insist on having these metrics and using them - it's another level of stupid to measure lines of code added instead of edit distance.
404.
▲
by
ajuc
2y ago
It's not thinking, it compressed the internet into a clever, lossy format with nice interface and it retrieves stuff from there. Chain of thought is like trying to improve JPG quality by re-compressing it several times. If it's no
405.
▲
by
ajuc
2y ago
I recently realized this when there was a heat-wave and I walked through a small patch of trees in the middle of the city. The shadows of buildings were pretty light color and walking through them wasn't changing the temperature notice
406.
▲
by
ajuc
2y ago
For me: - His Master's Voice by Stanisław Lem - Permutation City (and the whole trilogy) by Greg Egan - Anathem by Neal Stephenson
407.
▲
by
ajuc
2y ago
You could argue frameworks like Spring Integration or Apache Camel are FP outside + OO inside, but the key is that they allow side-effect channels for passing data ignoring the functional interconnections. Without that you would need to ref
408.
▲
by
ajuc
2y ago
Bullet chess is almost an RTS ;) You need starcraft-like micro ;)
409.
▲
by
ajuc
2y ago
> You designed your code wrong in the beginning so when a new change is introduced you have to modify your design. This is literally a form of technical debt. Yes. And just like in real life if you want to do business - you have to accep
410.
▲
by
ajuc
2y ago
So your solution to changing 5 lines out of 7 was to do the refactor I wrote about and change 7 lines :) I agree it's prettier. But it's objectively a larger change than the 3 lines you'd do in the imperative code. And it
411.
▲
by
ajuc
2y ago
> If you’re saying this is inherently functional then your saying computing at its most primitive state is inherently functional. Sure. But computing isn't what most code does. > Fp is more modular and therefore more adaptable fo
412.
▲
by
ajuc
2y ago
Reduce FPS of your game from 60 to 15, tell players it's the same cause complexity haven't changed. But it's not even mainly about performance. The structure of the code changes with every requirement change. In a non-artific
413.
▲
by
ajuc
2y ago
Your examples are inherently functional, and in practice people would do ABCDService that just returns the result. But ignoring that - how is the code changing when you need to call some external API from the c(x) function and handle the cr
414.
▲
by
ajuc
2y ago
Sure, if you want to have 4 loops where 1 suffices.
415.
▲
by
ajuc
2y ago
There's a trade-off. Functional programs are easier to read, because the structure makes the state transitions and dependencies obvious - you see your dependencies in the arguments list. But it forces you to basically rewrite big parts
416.
▲
by
ajuc
2y ago
> I find OOP works best when you have a single coder who can store the model of the system in this mind and work how out to design the base and abstract classes well. When all the states of the program and all the transitions between the
417.
▲
by
ajuc
2y ago
These things happen very often in programming because programming has feedback loops. If there's a bug - things on other levels will adapt to that bug, creating a "gettier" waiting to happen. Other feedback-related concept is
418.
▲
by
ajuc
2y ago
My wife has one specific guy doing the measurement that she hates and when he measures her pressure it's like 10-20 higher. It's also the guy that measures pressure before letting people enter to the cryo chamber, so she spend abo
419.
▲
by
ajuc
2y ago
My wife had a Cryo Chamber Therapy for a few weeks and had to measure pressure and pulse before each session so they let her in. After about a week she was refused entry because her pressure was too high (when she measured it at home - it w
420.
▲
by
ajuc
2y ago
Some people steal, does not mean stealing is fine or that we shouldn't ban it.
More ›