HNHacker News
TopNewBestAskShowJobs

knuthsat

774 karma · joined September 22, 2020

submissionscomments
knuthsat··on Megatron-Turing NLG 530B, the World’s Largest Generative Language Model
For some reason this issue with model having insane amounts of weights but training data being small is not something that is an issue for modern NNs.
knuthsat··on It takes a PhD to develop that
I really cannot fathom how one could forget fundamentals.

I can prove the average complexity of quicksort with simple math transformations of initial recurrence equation which I do not even have remembered but I'm sure I could derive. Last time I did this was maybe 8 years ago if not more.

Yet somehow an accomplished dev cannot spot accidentally quadratic behavior when coding in something that is not Haskell.

IMO, the average dev and average accomplished dev is no longer the kind that knows the fundamentals. Not that it's necessary in all cases but eventually everything will look an equivalent of a doctoral thesis when the average codes the spaghetti mess.

Recently I was reviewing code with map(find).sort(indexOf) (O(n^2 log n + n^2) behavior) when it could have been a simple dict; map(dict.get) (O(n)). This person has 10 years of coding experience. When looking at the resume, the dev is pretty accomplished, productive, and worthy of the salary. But I assume the knowledge of fundamentals was missing from the start.

knuthsat··on Serbia surveillance law urgently withdrawn
Serbia is far from a dictatorship. Otherwise these propositions wouldn't be met with internal outrage that influences the progression of the law.
knuthsat··on When McDonalds Came to Denmark
Here's a nice anecdotal example of an exploit

https://news.ycombinator.com/item?id=28619499

Hospitals can easily exploit the insured but not uninsured.

knuthsat··on When McDonalds Came to Denmark
It's not really initial conditions, the US government is already spending a lot on medicaid, medicare and social security, I believe almost 50% of its federal budget. [0]

As an EU citizen I definitely can't see the USA becoming more like European countries when it's already spending that much.

It's quite likely that the current powers are just leeching the citizens (tax payers), so until there's some reform in health care, the budget is going to be drained as much as possible.

I saw it in my EU country (public hospitals writing very specific requirements for a business so that only 1 business fulfills them, families rotating care of a disabled person through all individuals so that all end up getting the pension - the pension is priviliged if work requires you to care for people with disabilities, and a bunch of different EU fund extraction schemes, from public universities to individuals). People learn the tricks of the system and then exploit it, probably more aggressively in the USA.

Pension systems in EU countries are collapsing a bit. Just look at % of budget for pensions in Austria, Germany, Croatia etc. Every year they rob the younger generations by raising the pensions for the elderly. I think Croatia recently basically cut pensions by 25% for all people that have about 15 years more of work. Austria is constantly raising the pensions because the life standard increase is driving the elderly to poverty.

[0]: https://en.wikipedia.org/wiki/United_States_federal_budget#M...

knuthsat··on Shenandoah in OpenJDK 17: Sub-millisecond GC pauses
My take on this is that just injecting stuff in a constructor is an antipattern. Why not pass the data through methods instead of accessing it through a singleton in a constructor?

I understand the need for DI, sometimes the order of instantiation is necessary but for everything else I get lost in the DI constructor injection stuff.

knuthsat··on Can We Solve Linear Algebra Problems at Extreme Scale and Low Precisions?
I wonder how does this affect deep learning calculations and how it's possible that all those multiplications and additions still work.
knuthsat··on Shenandoah in OpenJDK 17: Sub-millisecond GC pauses
I think there's work being done on value types in Java. Although this was the case 6+ years ago. I'm surprised they still didn't land into Java.
knuthsat··on A Single Fire Killed at Least 10% of the World's Giant Sequoias, Study Says
I think it turned out that coal and oil are mostly heavily processed microorganisms. Trees never end up so deep.
knuthsat··on A search engine that favors text-heavy sites and punishes modern web design
You can still support millions of these requests per second if you just bake all of the dependencies directly in a small OS running on your fastest raspberry pi.
knuthsat··on Unravelling `Async for` Loops
The infectious nature is just how things work with types. Imagine if you had to annotate a function with IO every time you do something that reaches for something else outside of the program. You would either design things differently so that IO usage is minimized or you would make everything infected by IO.

With Async, people are still figuring things out.

I've encountered a bunch of code bases that are polluted with async when a better design could have removed it completely.

knuthsat··on Resource efficient Thread Pools with Zig
What about smol?
knuthsat··on Transmission torrent client ported to C++
I do not know why but for me it always is slower than qBitTorrent.

It connects to less peers when downloading or uploading.

knuthsat··on Follow boring advice
I gained 25kg on a vegan diet through a span of 5 years. You just have to eat a bit more than comfortable but protein digestibility is a non-issue. Stuff that I ate - tofu, seitan, tempeh are very low processed soy/wheat products and can very quickly give you more than 200g of protein a day.

For me, the biggest problem was meeting caloric needs. It's very hard to get to 3000kcal+ eating non-processed plants.

PDCAAS, DIAAS or similar "bioavailability" measurements are standardized on pigs bowels and are targeted towards malnutritioned individuals that border on starvation or suffer from kwashiorkor.

As for weightlifting, you can do rounded back (inefficient form) deadlifts smartly (not overdoing the load) and get strong enough.

knuthsat··on Major Quantum Computing Advance Made Obsolete by Teenager (2018)
What does this mean? After making the state preparation assumption, the classical algorithm can be of same complexity? Or the classical algorithm does not depend on state preparation?
knuthsat··on Prevent duplicate cron job running
This is from SQLite docs:

> SQLite uses POSIX advisory locks to implement locking on Unix. On Windows it uses the LockFile(), LockFileEx(), and UnlockFile() system calls. SQLite assumes that these system calls all work as advertised. If that is not the case, then database corruption can result. One should note that POSIX advisory locking is known to be buggy or even unimplemented on many NFS implementations (including recent versions of Mac OS X) and that there are reports of locking problems for network filesystems under Windows. Your best defense is to not use SQLite for files on a network filesystem.

I guess cross-platform for naive me is POSIX + Windows.

knuthsat··on Prevent duplicate cron job running
SQLite comes for free in Python distribution. The only reason why I mentioned it. Of course, just having a nice cross-platform file locking interface would be nice (not the case for Python).
knuthsat··on Prevent duplicate cron job running
Python has SQLite. This means you can lock a db file on all platforms and synchronize processes using SQLite.
knuthsat··on Drink less, exercise more – advice on pandemic living from an 18th-century poem
I did not have any testing but thanks for making me aware simple tests exist.
knuthsat··on Drink less, exercise more – advice on pandemic living from an 18th-century poem
I use a gram scale and eat only plants with home made bread. What can I say? On average it’s probably 1100kcal per day and weight loss seems invisible.
knuthsat··on Drink less, exercise more – advice on pandemic living from an 18th-century poem
I usually notice severe metabolism slowdown when sitting for prolonged periods of time. I can eat 800-1200 kcal and not lose any weight (and I’m 200lbs).

After I start hiking for 4 hours a day I’m losing weight even on 2300 kcal.

So it seems my programmer lifestyle is messing me up.

knuthsat··on How does one get close to mastering software engineering?
learning the underlying principles of things makes the changes look less dramatic.

after some point there's not much one needs to learn to be productive.

I feel no pressure not knowing vue, django, fp-ts, rxjs, Rust, Zig, C++20. Rarely there's something you can do with new stuff that you can't do with old.

knuthsat··on Noted study in psychology fails to replicate, crumbles with evidence of fraud
You don't even need the graphs, miles driven per year is a sum. Sums converge to gaussians yet here the deviation was half of mean which means they used a uniform variable generator for miles.
knuthsat··on Genius Checklist
For me, learning is stressful even when I'm doing it out of my own curiosity.

I start biting nails immediately.

knuthsat··on Obstructive Sleep Apnea Is Associated with Low Testosterone Levels
But what if the relationship with obesity has nonlinearities, how good is this control?

There are studies with millions of participants and by controlling for smoking, obesity, they still find increased risk and associations that are still very probably noise.fitting.

knuthsat··on Obstructive Sleep Apnea Is Associated with Low Testosterone Levels
The researchers would say that they adjusted the statistics to eliminate that variable but these statistical tricks work only in physics yet somehow they find it acceptable to use for such small N.
knuthsat··on Tinder will introduce voluntary ID verification to reduce catfishing incidents
Interesting, from the experience of my friends it sounds like they use it mostly to have fun (they use it when traveling to have a one night stand, find new friends in their home town).

Both men and women.

Those that wanted marriage and kids already have that.

knuthsat··on Buddha and Mind
Wim Hof comes to mind. Guy melts ice for hours to break a world record. His control over his autonomous nervous system is amazing, basically maintains normal body temp even when aggressively cooled.

It looks like he can control his immune response too.

knuthsat··on Physicists Create a Bizarre ‘Wigner Crystal’ Made Purely of Electrons
I wonder if it's a monopole.
knuthsat··on Ask HN: What is the HN of Cryptocurrency?
Well, I wouldn't mind a centralized and fully private crypto authorized by EU. They can authorize private construction of digital Euro wallets, so that only I know the key, but require me to give them a single-use view key if law demands it.
← PreviousPage 3 of 13Next →