Hacker Newsnew | past | comments | ask | show | jobs | submit | ciscoriordan's commentslogin

AG Charts is in a simple/powerful sweet spot.


Related to that: https://www.schneier.com/blog/archives/2009/05/software_prob...

Defense attorneys in a DUI case got their hands on the source code for the breathalyzer. It turned out to have terrible programming, e.g. calculating new averages by averaging a new value with the previous average. The case went all the way to the New Jersey Supreme Court, which still found the device to be acceptable.



“Which would cause the first reading to have more weight than successive readings”, funny enough looks like the opposite of what’s going on.


Well, of course, because that statement is deeply incorrect—the described mistake would cause the most recent reading to have more weight.

If you have a set of readings, say, [0.1, 0.02, 0.3, 0.05, 0.08], normally when you average them you would get 0.55—the mean of the set.

Calculating the average by "averaging the new reading with the previous average" would mean new + old / 2 every time. That means that for each reading after the first, your "averages" would be: [0.06, 0.18, 0.115, 0.195].

If we add a new reading of 0.01 to each of these, in the first case, we would get an average of 0.46, and in the second case, 0.1025. As you can see, even taking into account the already-very-skewed numbers, the second case biases it much further in favor of the new reading (which, in this case, is very low compared to the existing readings).


For an insurance, I had to perform the average of questions for contracts such as “Did it go to court”:

1-Yes

2-No

3-Unspecified

Of course the average was around 2.011.


In the first example you'd divide that by 5, or am I misunderstanding something


Maybe it averages from newest -> oldest

With software that bad, who can say


yeah the language is slightly ambiguous enough where you can't for certain know. first vs newest.

the issue is that taken as a whole the quantization of the samples into 8 bins is a much bigger issue along with the problem of the no hardware watchdog or hardware malfunction alarms. along with the poor testing methodologies too.


On the face of it, that's absolutely insane.


Idk, hard to guess based on the layman description, but maybe what they are describing is a rolling average? That would be quite a standard low-pass filter for applications like this.

Hard to get upset over that. What matters is not the signal processing but the validation. You take a bunch of people with various blood alcohol levels measured by some already accepted lab technique and you verify that your new measurement technique is measuring within some acceptable error bound of that.


That’s not the formula for a rolling average though


It is the formula for an exponentially weighted moving average.

Which is not appropriate here...


An exponential moving average is a form of weighted rolling average that would match the plain-text description in the complaint and is often used in signal processing as an IIR low-pass filter (an unweighted rolling average over a window is an FIR filter)


A depression cuts both ways -- lower tax revenue, but lower labor costs too.


An electrical issue could cause a gauge to misreport. E.g. vibrations cause a bad ground.


An electrical issue wouldn't be caused by crossing the international date line.


Maybe the Bermuda Triangle is on walkabout?


Crossing the equator causes the sun to flip around and go the other way in the sky.

Source: When I went to Australia, the sun went the wrong way. It was curiously unsettling.


Cheap flights, expensive parking. Paine Field doesn’t have massive garages like SeaTac. I’ve taken the flight from the article and my airfare was lower than my parking costs for just a weekend trip.

Ubers are expensive but only ~20% more than SeaTac with a Cap Hill starting point.

All things considered, Paine Field is my first choice airport for the area.


There's a bus from the free park and ride. It's quick and easy, especially with an Orca card. There's a little bit of walk from the bus station but you're about to sit for a bunch of time so it's probably a bonus.


SeaTac can go directly from Capitol Hill via the rail and not worry about traffic. Can't do that with Paine Field.


Light rail is a huge boon for SeaTac, that's for sure.

Security and the whole "get to the gate" process is just so easy at Paine Field that it's hard to go back if your flight works out there.

No lounges is a downside though.


https://www.thedrive.com/the-war-zone/russian-su-34-fullback...

“The statement went on to add that the crash was caused by an issue with one of the engines during takeoff, but the jet's two crewmembers are said to have ejected safely and survived. The extent of the injuries to the apartment building's tenants as well as civilians in the surrounding area is unknown at present.”


"To the last I struggled to lift the plane, [but] copilot Yuriy Yegorov hit the catapult [triggering ejection] and we two ejected with our seats."


What I love about HN is that you can get from 'a plane went missing' to a thread that cites every plane loss since 1999 followed by a counterargument citing a downed MIG.

Like, how the heck do you all know so much? The demographics of this site are unreal


You've never been in an internet argument yourself? You don't need to know shit, just google stuff to support your views which you had already formed without evidence and post it to prove whatever you need to support your case.


Well, one of those guys was just flexing/lying tbf ...


Nah, I read every incident report for military in the US because it was part of my job. Since we were talking about US military aviation I felt that was the avenue. I have read every incident report for Russia, not that I even could.


*have not


Always the straight man, I asked, what’s your job? It sounds unreasonably interesting to me.


I have a strange feeling that Mark was a Marine.


Once a Marine, always a Marine, I believe.


I always wonder if (ex)Marines can ever relax on a beach holiday.


As long as you remember some ice so the crayons don't melt.


furiously takes notes


It's the long tail of the Internet, but with humans' knowledge.


This encapsulates HN very well :-)


You might also consider there is probably some cross-pollination with r/NonCredibleDefense, which has a lot of military intelligence people and analysts (the Yeysk crash got a lot of memes on there)


I had a parasitic drain on my Tacoma from my Automatic device (OBD-II reader / GPS tracker). I parked in a garage with no cell service and it drained the battery by constantly trying to connect. It was a non-issue when I commuted daily but started killing the battery when COVID happened and I switched to WFH.

Hard for mechanics to diagnose because they had no idea what that device was and also one of their first steps was to unplug it, put it in a cupholder, and plug their own OBD-II reader in.

Now the Tacoma is parked again most of the time because I got a Tesla and I'm noticing a voltage drop. I need to do more research, I don't know if this is normal for being parked or if there's a drain.


Possibly including John von Neumann, one of the greatest polymaths ever. Everyday life now would be different if he had lived to a normal life expectancy instead of dying to aggressive cancer at 53.


Louis Slotin was a scientific hero for myself as a young person.


If you like this, I recommend "Big Dead Place" (https://www.amazon.com/Big-Dead-Place-Menacing-Antarctica/dp...) by Nicholas Johnson, a garbageman at McMurdo.


Very much recommended! It was going to be made into a TV show apparently.

I first came across Johnson's work in his Shark Fear: Shark Awareness, which is more of a zine mocking fear mongering post 9/11, and about those deadly deadly sharks.

He committed suicide almost 10 years ago.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: