HNHacker News
TopNewBestAskShowJobs

patrulek

90 karma · joined June 14, 2022

submissionscomments
patrulek··on Ask HN: Tell us about your project that's not done yet but you want feedback on
Ive started 3 projects i would like to come back someday:

1) HoM&M3: Hota player vs AI battle simulator - i already did some reverse engineering of AI used in battle and reimplemented some game mechanics to be able to run simulations with a few units. Purpose: to find average best possible output for given fight scenario.

2) Benchmark runner, database and visualization - i have some code for db, cli and dsl used for querying data. Purpose: to find performance regressions in subsequent builds and to give nice visualizations of product performance for management and marketing.

3) General purpose scripting language built in Go. No code, but most of the grammar already defined. Purpose: mostly educational.

patrulek··on July 2023 was the hottest month on record
This visualization is really cool, but data covers only 150 years. I wouldnt really stress because of this.
patrulek··on The Last 1%
Am i the only one who hates these minimalistic/retro-looking blogs with a few posts that sells you truisms or already known facts?
patrulek··on Throw away your first draft of your code
Code quality isnt that important if you check this code "once a year" and dont have time pressure to change somewhere in there. Or if you are seeing this code daily and know all the quirks.
patrulek··on Melatonin as a treatment for food waste
I had much better results with tryptophan than melatonin in sleep quality.

Taking melatonin for me resulted in top many random grogginess or waking early in the middle of nights.

patrulek··on Good code is like a love letter to the next developer who will maintain it
But thats exactly good code. Code that is clear (well-formatted/readable), works and can be easily proven that is really working.
patrulek··on Good code is like a love letter to the next developer who will maintain it
What a shame im not romantic at all.
patrulek··on Linux has achieved a 3% desktop market share
Linux is fine for tech people, but it is far behind on list for non-tech people. It is (was? im not into Linux) just less friendly and usable. I would guess that most of the people are not that much tech-familiar.
patrulek··on Twilight of the programmers?
> developer productiveness

> LOC

This definitely should've died at the vine.

patrulek··on Young adults who "lie flat" also see romantic relationships as unnecessary
Women are not afraid of being single because they have government as a second father behind their back and can find a new partner in a matter of days without any trouble.
patrulek··on Ask HN: Why can GPT4 en/decode base64?
Good bot.
patrulek··on Helping a kid who made a math mistake
So its like debugging the math.
patrulek··on Hotspot performance engineering fails
Just wait for the EU to impose draconian fines if your service/data center produces more than xyz of CO2 or it produces more than product of your kind should produce on average. Then you will be basically forced to lean over performance.
patrulek··on Horrible Code, Clean Performance
Its true for services/applications. In a case you write library, others will import into their projects, you should always treat performance seriously imo.
patrulek··on American IQ scores have rapidly dropped, proving the 'Reverse Flynn effect'
N?
patrulek··on Programming isn’t coding (2020)
Programming is creating a program. Coding is writing a code.

These two often overlaps but they doesnt have to.

patrulek··on Ask HN: How are you using GPT to be productive?
I just used this to create and integrate a new component(layout) in one of Hugo's theme. I wanted to view lists as cards and using GPT saved me a lot of time. Im not a frontend developer and i dont know how to start writing some code, but i am able to verify and modify when i have it. Its also a lot faster to get proper responses or directions through chatGPT than from google.
patrulek··on 10 days fasting and calcium/vit d supplements increases bone mineral density
Its not really unexpected. One could also think that building muscles during high caloric restriction diet/pure fasting is impossible but growth hormone works wonders for that.
patrulek··on Generative AI is overrated, long live old-school AI
Old-school, huh. The skynet is closer than we think i guess.
patrulek··on Ask HN: Small scripts, hacks and automations you're proud of?
When i was still onboarding at my first (junior) c++ job i organized some ruby scripts for running tests. It wasn't a rocket science, but it seems that team didn't really cared about copy-pasting bunch of code to write new tests. Im proud of this because they found it useful.
patrulek··on Vitamin D supplementation and incident dementia
Something between 2k-10k should be fine.
patrulek··on Saying goodbye to Stack Overflow
> The response time is like 10 minutes or less since everyone there is so hungry for karma.

For trivial questions/broad categories maybe. Ive asked a question 8 months ago for a very specific issue and it has nearly 50 views and no comments other than mine itself when i thought i found solution.

patrulek··on Is parallel programming hard, and, if so, what can you do about it? [pdf]
Its isnt hard but you need to change your programming standpoint. To write parallel code you need to think more about data alignment, dependency and flow. Its quite different than typical object/behaviour oriented programming.
patrulek··on Declining sperm count: Much more than you wanted to know
> eat pretty healthy generally

Im always suspicious when i see someone is eating clean/healthy etc.

patrulek··on New mathematical model shows how the body regulates potassium
I once dosed (orally) 20g of KCl in about one hour. I felt very "lightly" and felt tingling all over my body. It was nice experiment, but not so wise as you already mentioned.
patrulek··on Coffee does not give you energy, it just borrows what you will pay for later
It increase activity of your nervous system. So despite it doesn't give you energy, it helps you to use/leech off more energy from your body.
patrulek··on Memory loss: Expert advice for improving memory and concentration
Do cardio for increased blood/oxygen flow to the brain.
patrulek··on Worst interview questions for software developers
If you could be an animal, which one you would prefer to be?
patrulek··on Show HN: I'm challenging your clicking speed with this game I rebuilt
11.01s with mouse after about 20 tries. I also decreased page size to 80%.

Edit: 10.99s :)

Edit2: 10.32s

Edit3: 10.15s

Edit4: 10.04s

That who learnt speed reading may have a little advantage here. There is one exercise that is called `Shultz tables` that is basically non-interactive version of this game.

patrulek··on Ask HN: How to overcome stage fear / social anxiety
You can improve your body language by improving your body.
← PreviousPage 3 of 4Next →