HNHacker News
TopNewBestAskShowJobs

gattis

345 karma · joined March 25, 2011

submissionscomments
gattis··on California will pay off all past due rent
well, the money to pay the rent off comes from somewhere... ultimately taxpayers, which includes these "responsible" people

every time the government alters the fair-market price for things, a transfer of wealth is created. sometimes for the better. but yeah, in every case, someone is getting boned.

at least this is only addressing the past and not creating upside-down incentives going forward. if the state said they were paying off any delinquent rent going forward, then only a fool would pay their rent. although, I'm sure a lot of people are making a mental note for themselves to stop paying rent the next time there is a state of emergency.

gattis··on Tylenol isn't so safe, but at least it works?
"The estimated lethal dose of the drug is 10 grams in one day, which is not terribly different from the maximum daily dose."

This is hyperlinked to a page which doesn't say anything close to that. It says the LD50 is 338 mg/kg in mice and 1944 mg/kg in rats. Even if we make the most wild leap and go with 338 mg/kg, the mean human weight is 62kg and so the mean LD50 is 20.956 grams. Extra strength tylenol is 500mg/pill. I think most people can manage to not accidentally take 42 pills, and most people already know that taking the whole bottle is one way to die. So to me it's not really that dangerous at all. Also, I've taken acetaminophen to get rid of a headache about once a week for at least 20 years and it's success rate is sitting at a cool 100% (no exaggeration) in getting rid of the headache completely, and never taking longer than 15 mins. When I don't take or don't have access to it, it usually develops into a bad migrane that lasts many hours before going away on its own. So yeah, at least it works.

gattis··on I still like C and strongly dislike C++
I used to feel the same. For a long time I got away with using C and python for everything. They paired well and I always came away feeling that my code was expressed elegantly enough for me. C was for stuff that had to be fast, python for things that were more functional or meta. Then I started a project that needed to be faster than python but also required some heavy-ish meta-programming. I wrangled for way too long with the C preprocessor, and while way more powerful than I had imagined, still fell well short of being able to do what I needed without it looking and feeling like a dog that had to be put down. I think I would have needed a code-generating script to do it and to me that sounds disgusting. But C++ templates did exactly what I needed. They look awful and I still don't even understand my own code when I try to go back and read it. But it made me understand and appreciate that C++ does have a place, and for certain projects it might actually be the best choice. I'm sure some fan boys of the newer C++ descendents (rust/golang/zig/et al) will disagree.
gattis··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
And by the way, that whole "never rewerite software from scratch"... that might be what they teach you in your startup accelerator or your CS classes, but in the real world, hardware changes fast, your clients change fast, and you will do well to start from scratch sometimes when fundamental assumptions change and you no longer want to support legacy hardware or legacy features that slow you down and everything can be drastically simplified with your new assumptions in hand.

Take for example, Mac OS 9 -> 10. Complete rewrite. One of the best decisions in computing history. And especially relevant here because the display server was one of the babies they threw out the window or whatever, and the quartz compositor was born.

gattis··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
Exactly! I laugh at this petition because nobody is maintaining X.org server right now or even wants to touch it. Last major release was iin 2018. It is a nightmarish cludge. Nobody is forcing anyone to upgrade their software but the rest of us want a future without X11.

It's not just the internals of X11 that are the problem, it's that the entire concept was baked in a different time. The major innovation of the X11 server was that, well, it's a server. It can be completely decoupled from the client, even physically if you use it over tcp. That was kinda nice, but then came GPUs, and direct rendering. The name of the game is now violating every single abstraction that stands between a userland app drawing directly to the display with only a GPU and a single graphics api in between. It was definitely not junior developers who rewrote the entire kernel graphics stack to move from frame buffers to direct rendering.

Computer graphics are pretty tough if you think about how many bits/s are being transferred to your 4k display at 60hz and how little latency we will tolerate. It's not like network data where we can afford to encapsulate it five times over and abstract it and forget about the contents.

Any criticism of Wayland should be with regard to what is next. Hell I'm not even convinced we need a display server, let's talk about that. I'm not going to take anyone seriously who says X11 is better, and because of a few insignificant issues like taking a damn screen cap (really? and that works fine now btw).

gattis··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
I have nvidia and use wayland. It works just fine. I think you are referring to a nested caveat of this which is that the subset of applications still coded soleley against the X protocol will run without gpu acceleration under nvidia and Xwayland. The number of these apps has dwindled thanks to gtk and qt moving over to wayland, now chrome and firefox have early wayland support, and like you said nvidia will soon support Xwayland.
gattis··on Hungry men exposed to blue light are sensitive to Earth's magnetic field (2019)
wow thank you, i don't know how i never knew the term for this. it's gotten frustrating explaining so often, as it happens too often. as my old econometrics professor would say, "knowing a little bit about statistics is a very bad thing"
gattis··on Hungry men exposed to blue light are sensitive to Earth's magnetic field (2019)
Don't even have to read the paper to know exactly what transpired here with high confidence. The author(s) set up an experiment without a hypothesis, threw in 100 candidate variables such as 'were they exposed to blue light', 'was the roof on fire', etc etc. They calculated P-values on all 100 and with a threshold of P < 0.05, they predictably rejected the null hypothesis 5 times. Then they conveniently left out 90 or so variables that failed the test.
gattis··on “I just woke up one morning and it struck me that I was a murderer. so I quit.”
you kinda need some people to be making missiles in order for everyone else to have the luxury of being able to spend their efforts on education and culture. do you know of any countries without missiles? exactly.
gattis··on The Purpose of Persuasion
am i reading that we need to get militantly centrist?
gattis··on AI Company Accused of Using Humans to Fake Its AI
artificial artificial intelligence
gattis··on [dead]
read as "mainly kanye west and a little wayne"
gattis··on 8^8 – Find another you
and it only gets worse as possibilities become less evenly distributed! we are approaching 100% probability this is all bullshit and won't work at all.
gattis··on 8^8 – Find another you
I just did the math and at 12000 people and 16777216 possibilities, 98.63% chance there's at least 1 match. Not buyin' it!
gattis··on 8^8 – Find another you
the MBTI example and use of weighting only makes it more clear that this "case study" is dead from the start, because it shows it takes many questions just to ascertain someone's position on each eigenvector. For example, the most important explanatory personality trait is masculinity vs femininity. How do you ascertain that with one question and 8 answers? For example a question asking if you are male or female only tells you so much and not the whole story. none of the real underlying important explanatory variables can be directly measured with a question, or 8 questions.

And I highly doubt they have no matches in 10k samples, especially given the homogeneity of their audience. And if so then they are just measuring traits of personality that, while diversified, nobody cares about. Check out the birthday paradox. Even if there are 16M possibilities, the chance that two random people in 10,000 matched is much higher than you think.

gattis··on 8^8 – Find another you
Even distribution is just important for doing it in as few questions as possible. If you want to do it in 8, and cover 16M distinct personalities, you're gonna need them to be very evenly distributed.

Check out http://en.wikipedia.org/wiki/Entropy_%28information_theory%2...

Information gain is maximized when the distribution is even.

Imagine a very extreme biased form of this where everyone answers the same way to a question, and that question is repeated 8 times with different wordings. You will only get 1 distinct personality type.

For a real-world example, take the myers briggs (MBTI) personality test. It only does 16 distinct personality types and takes about 50q to get right. Only way 8^8 beats that, without any data to predict the distributions and correlations out of the gate, or completely revolutionarily novel psychological theory, is with precogs.

gattis··on 8^8 – Find another you
"Take the 8^8 test and the likelihood of someone else answering in the exact same pattern as yourself is 1 in 16,777,216"

That requires A) the distribution of answers is even across all 8 options, and B) there are zero correlations between any two answers in the quiz.

Not to mention that the 8 questions have to pretty accurately split the space of human personalities down into eigen-answers that explain the most variance in personality.

And there's just no way to do pick these questions without having the data to analyze in the first place.

gattis··on Steve Heymann Should Be Fired
This sounds like an excellent way to prevent another suicide... oh wait...
gattis··on White House responds to Patent Petition
https://wwws.whitehouse.gov/petitions#!/petition/actually-ta...
gattis··on With Apologies to John Gruber
Daringfireball was lovable when Apple was the underdog, but now it's just annoying. If you want to use the old daring fireball as inspiration, you should find a more interesting subject that you're in love with that nobody else is. Then once they make it big, you can sit back and gloat like Gruber does now.
gattis··on MemSQL (YC W11) Raises $2.1 Million From Ashton Kutcher, SV Angel And More
I never heard of a database that doesn't reside in memory if you have enough ram. Most of the time, it's the OS making this happen by maintaining a cache for disk reads, and flushing writes to disk asynchronously.

Does MemSQL just have more compact data structures that let more stuff fit in memory?

← PreviousPage 2 of 2