HNHacker News
TopNewBestAskShowJobs

teamhappy

2,160 karma · joined June 25, 2014

submissionscomments
teamhappy··on Diesel cars can be banned from German cities, court rules
> what are the advantages of diesel engines in cars if not efficiency?

I wouldn't assume that there's a direct relationship between diesel engines still being around and diesel engines still having an advantage over others. Not having to replace your fleet of trucks, buses, trains or whatever is a big enough advantage for most companies.

Also, importing energy from other countries isn't a sign of poor energy production. If buying energy from you costs me less than turning my power plant on for a day I'm gonna shut it down and call it a day. Not to mention the fact that energy prices are sometimes negative (i.e., they pay you for taking it).

teamhappy··on Planet Shadertoy
Who's writing demos in rust?
teamhappy··on Planet Shadertoy
The ShaderX series is probably a good start: http://www.realtimerendering.com/resources/shaderx/
teamhappy··on Planet Shadertoy
Here's a presentation from one of the mercury guys explaining how to do that kind of thing: https://www.youtube.com/watch?v=s8nFqwOho-s

Also, elevated from RGBA should probably be mentioned since iq (https://www.shadertoy.com/user/iq) is the guy behind Shadertoy. (Also because it's pretty.) http://www.pouet.net/prod.php?which=52938

teamhappy··on Do not use NPM 5.7
http://blog.npmjs.org/post/168978377570/new-package-moniker-...
teamhappy··on Alcohol use disorder largest risk factor for dementia
Didn't see the unit, sorry.

So, 1 standard drink = 1 bottle of beer = 1 reasonable glass of wine = 2 shots of liquor.

teamhappy··on Alcohol use disorder largest risk factor for dementia
Where 1 "Canadian standard drink" is 1 bottle of beer, 1 glass of wine or 1 shot of liquor.

Source: http://www.rethinkyourdrinking.ca/what-is-a-standard-drink/

teamhappy··on A collection of things that are Turing-complete by accident (2013)
The StarCraft community created a level editor and a scripting language around a buffer overflow in the game: http://0xeb.net/wp-content/uploads/2018/02/StarCraft_EUD_Emu...
teamhappy··on "Break and Enter dropbox" attack with Amazon Key (smartlock and smartcam combo)
That doesn't make a lot of sense. Locking your front door is a good idea despite the fact that it's easy to get passed that door.

Also, if your neighbors see someone throw a brick through your front door they will probably call the police. If they see a person "delivering a package" they won't.

teamhappy··on LibreOffice 6.0 is coming
Never mind, the locale settings work just fine. Turns out they just don't update the dropdown with commonly used margins (0.5", 1.75" and so on) to centimeters.
teamhappy··on LibreOffice 6.0 is coming
Can you specify margins in centimeters yet?
teamhappy··on I think I found a Mac kernel bug?
Htop segfaulting on OpenBSD doesn't show that the OpenBSD kernel has the same bug, it shows that htop has some (unrelated) memory management issues (OpenBSD is pretty good at exposing those).
teamhappy··on Commission fines Qualcomm €997 million for abuse of dominant market position
We have a maximum amount you can fine a company. It's "10% of the total turnover in the preceding business year of the undertaking". So whether it's worth breaking the law becomes a simple napkin calculation.

(Source: http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELE...)

teamhappy··on Commission fines Qualcomm €997 million for abuse of dominant market position
I'm glad we're doing something too, but as long as breaking the rules is a viable business strategy I don't expect anything to change.
teamhappy··on Commission fines Qualcomm €997 million for abuse of dominant market position
1. The fine seems to be based on their revenue. 1.23 billion are a little over 5% of 22.291 billion. (I don't know where the 4.9% come from.)

2. It seems logical but it isn't. In you're a rich kid that starts selling drugs your fine is going to be based on all the money you have, not just the money you made selling drugs. That makes all the sense in the world given that the fine is supposed to hurt you financially in order to change your behavior.

teamhappy··on Commission fines Qualcomm €997 million for abuse of dominant market position
The press release[1] says:

"The fine represents 4.9% of Qualcomm's turnover in 2017."

"In accordance with the Commission's 2006 Guidelines on fines (see press release and MEMO) the fine has been calculated on the basis of the value of Qualcomm's direct and indirect sales of LTE baseband chipset in the European Economic Area (EEA). The duration of the infringement established in the decision is five years, six months and 23 days."

Qualcomm made 122.5 billion in the last 5 years[2]. Making them pay 1% of that for breaking the rules isn't what I would call "taking this hard stance on antitrust".

[1]: http://europa.eu/rapid/press-release_IP-18-421_en.htm [2]: https://www.statista.com/statistics/737780/revenue-of-qualco...

teamhappy··on German Engineering Yields New Warship That Isn’t Fit for Sea
"the ship is dramatically overweight"

We've always been better at building submarines anyway.

teamhappy··on Intel Security Issue Update: Initial Performance Data Results for Client Systems
Looks like Sandy Bridge is going to remain unpatched. That doesn't mean that your OS, compiler and so on won't get updates though.
teamhappy··on Cloud companies consider Intel rivals after security flaws found
Feedback directed optimization
teamhappy··on Intel Security Issue Update: Initial Performance Data Results for Client Systems

    > [...] Intel expects to have issued updates for more
    > than 90 percent of processor products introduced within
    > the past five years.
https://newsroom.intel.com/news-releases/intel-issues-update...

Sandy Bridge is older than that.

teamhappy··on Intel Security Issue Update: Initial Performance Data Results for Client Systems

    > For context, on newer CPUs such as on Skylake and
    > beyond, Intel has refined the instructions used to
    > disable branch speculation to be more specific to
    > indirect branches, reducing the overall performance
    > penalty of the Spectre mitigation.
https://cloudblogs.microsoft.com/microsoftsecure/2018/01/09/...
teamhappy··on Intel Security Issue Update: Initial Performance Data Results for Client Systems
The performance hit is (supposedly) much more significant on Haswell and older, which they forgot to include.
teamhappy··on Dropbox Files Confidentially for U.S. IPO
> I feel like it’s some sort of reference to popart

I was hoping it's supposed to be a hommage to vintage electronics manuals.

teamhappy··on Birth Order Effects Exist and Are Strong
Could be one factor. I read a thing the other day that said something about child birth triggering some sort of immune reaction in the mother's body. That could mean that the second child is born under slightly less ideal conditions or something like that.
teamhappy··on Are all BSDs created equally? A survey of BSD kernel vulnerabilities [video]
No idea. He didn't mention anything during the talk (I haven't seen the QA at the end).

He said he reported them a few months back and checked if they were fixed a few days before congress. 3 were fixed, the other ~20 weren't.

teamhappy··on Are all BSDs created equally? A survey of BSD kernel vulnerabilities [video]
Linux has more CVEs than the BSDs. Ilja wanted to know if that's because they have less bugs/better code or because more people have read the Linux code.

Turns out the BSDs have just as many bugs as Linux. (He found dozens over the course of 3 months.) OpenBSD has less bugs than FreeBSD (presumably because they have removed a lot of old code) and FreeBSD has less bugs than NetBSD.

After reporting the bugs he noticed that OpenBSD handles bugs really well, NetBSD less well and FreeBSD in many cases not at all. (By handling the bugs I mean fixing them in current and providing patches/advisories for the latest release.)

teamhappy··on Are all BSDs created equally? A survey of BSD kernel vulnerabilities [video]
Link to the current slides: https://fahrplan.events.ccc.de/congress/2017/Fahrplan/system...
teamhappy··on Exercise is good for boosting memory and thinking skills, new guidelines say
> I have the same problem with lack of sleep after exercising.

This phenomenon is well known among runners. Apparently it's natural and nothing to be concerned about.

teamhappy··on C++17 constexpr everything, or as much as the compiler can
Fair enough. I assumed you didn't consider the more complex use-cases because you mentioned compilers already doing this for small functions.
teamhappy··on C++17 constexpr everything, or as much as the compiler can
You should watch the talk that's mentioned in the article. They demo a constexpr json parser and a constexpr regex engine.
← PreviousPage 4 of 19Next →