Readit News logoReadit News
just_testing commented on 10% of Firefox crashes are caused by bitflips   mas.to/@gabrielesvelto/11... · Posted by u/marvinborner
netcoyote · 12 days ago
I've told this story before on HN, but my biz partner at ArenaNet, Mike O'Brien (creator of battle.net) wrote a system in Guild Wars circa 2004 that detected bitflips as part of our bug triage process, because we'd regularly get bug reports from game clients that made no sense.

Every frame (i.e. ~60FPS) Guild Wars would allocate random memory, run math-heavy computations, and compare the results with a table of known values. Around 1 out of 1000 computers would fail this test!

We'd save the test result to the registry and include the result in automated bug reports.

The common causes we discovered for the problem were:

- overclocked CPU

- bad memory wait-state configuration

- underpowered power supply

- overheating due to under-specced cooling fans or dusty intakes

These problems occurred because Guild Wars was rendering outdoor terrain, and so pushed a lot of polygons compared to many other 3d games of that era (which can clip extensively using binary-space partitioning, portals, etc. that don't work so well for outdoor stuff). So the game caused computers to run hot.

Several years later I learned that Dell computers had larger-than-reasonable analog component problems because Dell sourced the absolute cheapest stuff for their computers; I expect that was also a cause.

And then a few more years on I learned about RowHammer attacks on memory, which was likely another cause -- the math computations we used were designed to hit a memory row quite frequently.

Sometimes I'm amazed that computers even work at all!

Incidentally, my contribution to all this was to write code to launch the browser upon test-failure, and load up a web page telling players to clean out their dusty computer fan-intakes.

just_testing · 12 days ago
I loved reading your comment and got curious: how he detected the bitflips?
just_testing commented on Notepad++ hijacked by state-sponsored actors   notepad-plus-plus.org/new... · Posted by u/mysterydip
Saris · a month ago
I've been using Fort: https://github.com/tnodir/fort

It's the best one I found after trying a few, because it's pretty easy to use, and lets me disable notification popups which is a part that always frustrates me about other options.

just_testing · a month ago
Thank you!!
just_testing commented on UEFI Bindings for JavaScript   codeberg.org/smnx/prometh... · Posted by u/ananas-dev
pwdisswordfishy · a month ago
Those apps are not consuming 300MB of RAM because they are written in JS. JS is running on microcontrollers and the James Webb Space Telescope.

They are consuming 300MB of RAM because they are built on Electron and the NPM ecosystem.

just_testing · a month ago
Wait a second, JS in James Webb Space Telescope?? Doing what? I'd love to hear about its usecases in the telescope. Is there any blog post about it?
just_testing commented on Notepad++ hijacked by state-sponsored actors   notepad-plus-plus.org/new... · Posted by u/mysterydip
Saris · a month ago
I guess my habit of running a firewall and not allowing programs to access the internet unless they actually need it is helpful for stuff like this.

Absolutely no reason a text editor needs internet access.

I only update stuff through winget, which fetches the installer from github in a lot of cases, and changing a package requires a PR to the winget repo AFAIK. Not foolproof of course though.

just_testing · a month ago
Which firewall software do you use? I should probably start using firewalls in my computers as well...
just_testing commented on Brazil's X ban is sending lots of people to Bluesky   theverge.com/2024/8/30/24... · Posted by u/rvz
pfraze · 2 years ago
The bad crawl for internet archive is because it's a giant SPA. It's a react native codebase which, while irritating for web users, allows us to target all the platforms without building multiple apps. Kind of a life-saver.

Relays actually don't process media; that's up to the applications. We intentionally keep the repo-hosting costs low (and they'll get lower soon) so that self-hosting your data and keypairs remains affordable. Think of the application model as equivalent to a search engine, with the repo-hosts (PDSes) being web servers. That's almost exactly how it works.

The only way decentralization would make a hug of death irrelevant is if the individual nodes weren't processing the full network, in which case you're not getting the global social experience, so.

just_testing · 2 years ago
Are you using a framework for developing with react native? I'd love to know if you have some blog posts on the UI part.

Thanks!

just_testing commented on Ask HN: Is it possible to make FAANG salaries without working there?    · Posted by u/zer0sand0nes
unregistereddev · 2 years ago
Anecdote: I'm a Sr. Staff Engineer at a large employer in a LCOL city. Typical middle class houses cost $300k - $500k here, with luxury houses costing roughly $1m and small starter homes costing $200k (just using real estate as a rough proxy for cost of living).

My base salary is $150k/yr. My cash bonus maxes out somewhere around $80k/yr, and typically falls in the $50k - 70k range. I also receive equity worth roughly $12k - $15k per year. Counting in the value of benefits, my comp package is worth roughly $280k - $300k/yr.

I am extremely well paid for the area I live in. It's very unlikely that I could make more money without moving to a different metro, getting lucky with a remote position, or going into niche contracting.

Just throwing this out there, because a $250k salary (plus bonus) is doing well even in a HCOL area.

just_testing · 2 years ago
Thanks for a comment from outside of the bubble
just_testing commented on Foliate: Read e-books in style, navigate with ease   johnfactotum.github.io/fo... · Posted by u/ingve
mattkevan · 2 years ago
I’ve not been happy with the state of desktop ebook readers for a while, so I recently built a simple web-based ebook reader. It’s designed to be a quick and easy way to read books while also providing decent layout and typography.

Although it’s a website, books and reading histories are saved in the browser’s local storage and it doesn’t track anything.

Here’s the link: https://www.minimalreader.xyz

just_testing · 2 years ago
I am going to start using this. Thank you!
just_testing commented on Own a weather station? We want your data   weather.gov/iln/cwop... · Posted by u/dylan604
open-meteo · 2 years ago
You can access historical air quality data from August 2022 onwards: https://open-meteo.com/en/docs/air-quality-api#start_date=20.... Data is based on the Copernicus air quality forecast. All are references listed the documentation
just_testing · 2 years ago
Thank you!
just_testing commented on Own a weather station? We want your data   weather.gov/iln/cwop... · Posted by u/dylan604
open-meteo · 2 years ago
Hi, I am building an Open-Source Weather API aggregating open-data weather models from NOAA, ECMWF, DWD, MeteoFrance, JMA, CMA, CMCC and others. I agree that many weather companies basically redistribute NWS data at a premium. There is a free API service available on https://open-meteo.com and all databases are redistributed via an AWS Open-Data Sponsorship. Feel free to reach out if you need help building your weather data broker startup
just_testing · 2 years ago
First of all, thank you! What a treasure trove of data.

If I may ask a question, do you have historical air quality data?

u/just_testing

KarmaCake day169October 28, 2010View Original