HNHacker News
TopNewBestAskShowJobs

moozilla

180 karma · joined December 25, 2008

submissionscomments
moozilla··on Chrome zero-day released on GitHub – fixed on V8 but still works on latest
Couldn't find the PR you're referring to, unless it was this one https://github.com/rapid7/metasploit-framework/pull/15007 which was added by the same author as the OP, but looks like a different exploit as far as I can tell?
moozilla··on Ask HN: Why aren't you coding?
I was in a similar spot, except with the addition that I gave up on installing a Linux VM/WSL because my gaming laptop came with Windows 10 Home (which doesn't support Hyper-V) and I didn't want to shell out $100. However, recently I gave it another shot, as WSL2 apparently works just fine on Windows 10 Home, and I was surprised how easy it was to set up. Took me less than an hour to get WSL2 set up and hooked into VSCode with all my preferred settings. I recommend giving it a shot next time you have some inspiration.
moozilla··on AirPods Max
I have a pair of the HD 4.50 BT, and they sound like the same one parent is describing. Cost around $100 on sale, battery lasts for days and I wear them 8 hrs a day for work and several hours after work listening to music or streaming video. Sound quality and active noise cancelling are both quite good for the price point. Only complaint I have is the built in microphone sounds terrible, and they always try to connect to my laptops as a headset.
moozilla··on Super Mario Bros. 3 in 3 Minutes – World Record Speedrun Explained [video]
He's probably referring to this comment Bisqwit posted in the comments on that video:

> I believe there is an incredible number of counterfeit doctrines and antichrists (Greek word that literally means counterfeit messiah), some more obvious and some more subtle. Islam being one of the most obvious ones.

(It's a reference to Islam at least. Not sure how calling it a false doctrine is Islamophobic; seems like a pretty standard Christian take.)

moozilla··on California’s new law bans schools from starting before 8am
I found the statistics in Dr. Matthew Walker's Why We Sleep [1] pretty compelling.

Starting an hour layer improves SAT scores:

One of the first test cases happened in the township of Edina, Minnesota. Here, school start times for teenagers were shifted from 7:25 a.m. to 8:30 a.m. More striking than the forty-three minutes of extra sleep that these teens reported getting was the change in academic performance, indexed using a standardized measure called the Scholastic Assessment Test, or SAT.

In the year before this time change, the average verbal SAT scores of the top-performing students was a very respectable 605. The following year, after switching to an 8:30 a.m. start time, that score rose to an average 761 for the same top-tier bracket of students. Math SAT scores also improved, increasing from an average of 683 in the year prior to the time change, to 739 in the year after. Add this all up, and you see that investing in delaying school start times—allowing students more sleep and better alignment with their unchangeable biological rhythms—returned a net SAT profit of 212 points. That improvement will change which tier of university those teenagers go to, potentially altering their subsequent life trajectories as a consequence.

(This is one example, that has been replicated many times, he covers more in the book.)

It saves even saves lives:

Yet something even more profound has happened in this ongoing story of later school start times—something that researchers did not anticipate: the life expectancy of students increased. The leading cause of death among teenagers is road traffic accidents, and in this regard, even the slightest dose of insufficient sleep can have marked consequences, as we have discussed. When the Mahtomedi School District of Minnesota pushed their school start time from 7:30 to 8:00 a.m., there was a 60 percent reduction in traffic accidents in drivers sixteen to eighteen years of age. Teton County in Wyoming enacted an even more dramatic change in school start time, shifting from a 7:35 a.m. bell to a far more biologically reasonable one of 8:55 a.m. The result was astonishing—a 70 percent reduction in traffic accidents in sixteen- to eighteen-year-old drivers.

To place that in context, the advent of anti-lock brake technology (ABS)—which prevents the wheels of a car from seizing up under hard braking, allowing the driver to still maneuver the vehicle—reduced accident rates by around 20 to 25 percent. It was deemed a revolution. Here is a simple biological factor—sufficient sleep—that will drop accident rates by more than double that amount in our teens.

There's more reasons, like improving attendance and decreasing drug/alcohol use, but these are the ones that stuck out to me. There was another statistic that I can't immediately find a quotation for that was pretty mind-blowing for me, which was that in university, the difference in performance in controls and students who started class an hour later was equivalent to the difference between controls and students who had a professor a standard deviation above the average. They even showed that this was dose dependent (an extra hour later had more effect). I think it's pretty incredible, considering the skill gap between an average professor and a great one, that simply taking a class at a 10am instead of 8am can increase learning so much.

[1] https://www.amazon.com/Why-We-Sleep-Unlocking-Dreams/dp/1501...

moozilla··on Gameboy hello world
Adding to what wk_end has said - many emulators (VBA included) will just write to the VRAM without complaining, so you won't even catch the bug unless you try it on a flash cart or in BGB (I'll second that recommendation).

For your demo checking $FF41 should be sufficient, unless you're writing a lot of data you'll usually have enough time in one vblank period. You could wait for $FF41 == 01 and then copy all the data, or check it each iteration of the loop (less efficient but will never fail). I've seen actual games do it both ways (decent amount of disassembly/ROM hacking experience).

moozilla··on Top medical experts say we should decriminalize all drugs (2016)
What scientific results are you googling exactly? Everything I can find shows a strong consensus that coffee has positive effects across the board. This seems like a good summary:

https://www.nytimes.com/2015/05/12/upshot/more-consensus-on-...

Highlight from that article:

>There have been two meta-analyses published within the last year or so. The first reviewed 20 studies, including almost a million people, and the second included 17 studies containing more than a million people. Both found that drinking coffee was associated with a significantly reduced chance of death. I can’t think of any other product that has this much positive epidemiologic evidence going for it.

I don't understand how you can claim coffee is bad for your heart in good faith if you have read _any_ of the research... for example, this meta-analysis of 36 studies: https://www.ncbi.nlm.nih.gov/pubmed/24201300

> A nonlinear association between coffee consumption and CVD risk was observed in this meta-analysis. Moderate coffee consumption was inversely significantly associated with CVD risk, with the lowest CVD risk at 3 to 5 cups per day, and heavy coffee consumption was not associated with elevated CVD risk.

I think any doctor worth their salt would tell you that there is a strong scientific consensus that drinking coffee is not only completely safe, but it has preventative effects towards cancer, cardiovascular disease, Parkinson's, and Type-2 diabetes.

Here's a bonus review of 112 meta-analyses: http://www.annualreviews.org/doi/abs/10.1146/annurev-nutr-07...

> Of the 59 unique outcomes examined in the selected 112 meta-analyses of observational studies, coffee was associated with a probable decreased risk of breast, colorectal, colon, endometrial, and prostate cancers; cardiovascular disease and mortality; Parkinson's disease; and type-2 diabetes.

moozilla··on The Case Against Eating Fish
I think this kind of article is downright irresponsible - when you weigh the small amounts of extra toxins you consume, the effects are always going to be lesser than the enormous benefits of consuming fish.

> Drs. Mozaffarian and Rimm put this in perspective in their analysis in the Journal of the American Medical Association. (1) First, reviewing data from the Environmental Protection Agency and elsewhere, they calculated that if 100,000 people ate farmed salmon twice a week for 70 years, the extra PCB intake could potentially cause 24 extra deaths from cancer—but would prevent at least 7,000 deaths from heart disease. (source: https://www.hsph.harvard.edu/nutritionsource/fish/)

I'm certain a similar argument can be applied to the dangers of mislabeled fish or micro-plastics. To put it in perspective: if the sort of argument this article presents convinced even 7% of people to not eat fish, it would counteract the 7000 potential heart disease deaths in the above example.

moozilla··on AI produces realistic sounds that fool humans
Also in the clips in the video is fooled all _three_ of the participants tested. Couldn't find anything in the paper about sample sizes... but hopefully it was more than three...
moozilla··on Why I'm a Pirate
> Think about artists that tried pay-what-you-want model. A lot of people pay $0. Some pay $0.10. But a lot pay $0.

FWIW, the only album I've paid for in years was a pay-what-you-want deal. I paid something like $3. Which was all that was left in my bank account after I paid my rent and bought groceries for that month - I'm a college student.

moozilla··on Doodle or Die - our "bizarrely addictive" Node Knockout game
This will add a color selector:

javascript:for(var i=0;i<6;i++){for(var j=0;j<6;j++){for(var k=0;k<6;k++){txt = '#'+'0369cf'.substr(i,1)+'0369cf'.substr(j,1)+'0369cf'.substr(k,1);$('.tools').append("<a href='#drawing' data-color='" + txt + "'style='width: 5px; height: 5px; padding: 0; spacing: 0; background: " + txt + ";'></a> ");}}}

moozilla··on Computer learns to play Civilization by reading the manual
> They need a control where the computer doesn't have access to a manual and compare to that.

Which is exactly what they did: http://people.csail.mit.edu/regina/my_papers/civ11.pdf

moozilla··on Scientists Demonstrate Mammalian Regeneration Through a Single Gene Deletion
Not necessarily. The mutation could have survived for any number of reasons including genetic drift. As long as it didn't kill the organism right away there wouldn't be significant negative pressure to get rid of it.
moozilla··on Spray-on liquid glass is about to revolutionize almost everything
What happens if you are killed or decide to steal the contents of the cache?
moozilla··on Transcending the Human, DIY Style
You might start here:

http://en.wikipedia.org/wiki/Tummo#Scientific_investigation

If you're interested in how to perform the actual meditation, this is a great book: http://www.amazon.com/Bliss-Inner-Fire-Practice-Naropa/dp/08...

moozilla··on Transcending the Human, DIY Style
If you don't mind me asking, how old are you and how long have you been studying this? Also how did you find a qualified teacher?
moozilla··on WakeMates are ready
Is it possible to use this if you don't own a smart phone?
moozilla··on After A Four Year Run, Firefox Is No Longer The Top Browser On TechCrunch
Not true since version 2.0 of the plugin.

https://chrome.google.com/extensions/detail/gighmmpiobklfepj...

moozilla··on Buddhism and Happiness: Sitting Quietly, Doing Something
Anything by Bruce Frantzis. He has written several excellent books and I believe he also has (more expensive) DVDs.
← PreviousPage 2 of 2