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

Of course you should do the right thing, but if you want to break the private of C++ it is much easier to "#define private public" before including the header file.


now that's just diabolical...


More info (but a little vague on myth vs fact): https://en.wikipedia.org/wiki/Mpemba_effect


I'm on Linux Mint (21.2) and get the same error. Probably macOS only. A quick reading in readthedocs confirms it is macOS only, no Linux, no Windows.


This should be fixed now. Let me know if you still have issues


The article is not correct on salaries being public: What is public are your tax reports and those are done a year later. To my knowledge you cannot see all details either, only totals that the tax is based on. Thus I think your statement is wrong or at least it is not related to the public databases mentioned in the article.


The full social security number for a person is not easily obtained and not published by the free websites.


Very easily obtained, though: just call +46856485160 and ask for it. They also reply to questions like "okay, so did this person have any siblings and what were their parents' names?" and "who else lives at that address?" and so on.

I have needed to provide information for a visa application including family history on dead half-relatives from a branch of the family tree I have very little contact with. It was a breeze. Names at birth, later marriages, dates of death and everything that I had no idea was given without delay (as stipulated by law).


It is, on mrkoll for example. You could also ask the government. Your full social security number isn't a secret.


A modern car has >100 ECUs, blink is distributed to a few ECUs, think: front body, rear body, left door, right door plus instrument cluster and maybe a trailer control ECU. It does not look premium if they do not blink in phase so you send CAN command for blinking. (A separate cable introduce cost, weight and faults due to corrosion that are tricky to diagnose, in total you want to avoid that.) If something disturb CAN or an ECU reboots you would get the described behavior. But it is not obvious (at least not to me) that it must be a software error - could easily be hardware designed with too small margins. (I have not worked with this issue at Volvo and do not know the actual cause of the problem.)


Alternatively, you could design the system to fail in a way that was less dangerous.

For example, an ECU that controls blinkers does it with a 555 timer, based on a "start blinking" CAN bus command. It resyncs on each new "start blinking " command. It times out after 50 blinks, if no "stop blinking" command comes.

This makes each ECU autonomous and responsible for doing "the safe thing", once it has been commanded to.

Finding all the new subtle horrible timing problems in this design is left as an exercise for the reader. :)


ECU is abbreviation for Electronic Control Unit in automotive. (And a modern car may actually have multiple ECUs controlling the engine(s), especially if it is a hybrid=HEV, plugin HEV=PHEV or battery electric vehicle=BEV.)


There is one more problem with encrypted elections not yet listed here; the vote is secret for now but 5, 10 or 20 years later it will be easy to break.

This might mostly be a problem for those then powerful, if someone find out that they voted "wrong" long time ago, our trust in them will be reduced. Yet a way to do negative campaigning.


While f/64 sounds like a small aperture, it can be worth remembering that it was on large format cameras. A small sensor like on iPhone 6 is wide open corresponding to depth matching f/113! (iPhone6 is f/2.2, crop is 7.21, 8"x10" camera is crop 0.14. 7.21/0.14*2.2 = f/113)


Worth noting that angular resolution and DOF/defocus is related to absolute aperture size, not f-number, so you can also just plug in the values for "f" to compare.

The iPhone 6 has f=4.15mm, a lens with similar FOV on an 8x10 has f=200mm.

200mm / 64 = 3.1mm -> the size of an f/64 aperture on a 200mm lens.

4.15mm / 2.2 = 1.9mm -> the size of on f/2.2 aperture on the iPhone 6.

Although the 8x10 will often have less defocus due to movements (photographer control of focal plane).


It still give me the mental image of a good lens with a meticulously crafted iris that can close way way down.


I agree with this thinking. It is also possible that competitors to multi-billion contract being awarded to AWS by DoD wants an argument to distributing the contract among many cloud suppliers to reduce risk. Bloomberg has worked with this story for a year - is that a man-year or a calendar year? If the latter, both trade-war and the DoD contract are less probable.


I don't know the percentage B2B vs consumer-focused startups in EU or US so giving a few examples makes no real sense but Spotify, iZettle, Skype and Pirate bay are all of swedish origin. And business taxes in Sweden are among the low ones in OECD. Salary (after tax) is lower than in US but schools and health care is free so compared to US the living standard is not that bad, i.e. assuming the original poster assumption is correct, I don't think taxes is the explanation.


What I mean is that businesses, even small companies, will have a lot more money than any consumer, as any money being paid as wage is decimated to such a large degree.

Spotify, Skype etc are addressing an international market, so the exact situation in Sweden wouldn't affect that much, and also I don't know if e.g. Spotify is even really making that much money yet from customers.


Those companies however, pay no corporate and dividend withholding taxes. And the founders make their money from booking capital gains by selling the stock of a loss making entity.


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

Search: