skysight-inc/HackerNews huggingface dataset:
I was there for the first generation of the PC revolution (and my father was a mainframe programmer---he and his colleagues LOVED Apple IIs and TRS-80s). There are echoes of the conflict, but it (as always) is more complex. The problem with Arduinos is not that they're "shit" (they're well-designed low-end general-purpose embedded development platforms). The problem is that their development ecosystem and community seem to purposefully hide the complexity and detail of the hardware. Which is precisely the opposite of what the early generation of hobbyist home PC developers and engineers did --- they revelled in the (modest) complexity of their platforms and actively tried to expand it (our home Apple II eventually had to escape the confines of it's case and sported a Z-80 co-processor so we could play with CP/M, too).

I was a member of the generation that cut their teeth on those simple home computers, and they were a fantastic way to start to learn our profession. They taught us abstractions that helped us move to the next levels of complexity, and the intuitions about computers that we learned were accurate and helpful.

My argument (not really mine, I'm reporting it from others, I'm a little more on the fence) is that, while the Arduino platform could do the same thing for a generation of hardware engineers, its community (and those who hope to make money off of it) seems to be going out of their way to avoid it. People who accept the default tools and attitude of the Arduino are not encouraged to understand how microcontrollers work. They are encouraged to follow a recipe, stuff some parts into a breadboard with no understanding of electronics or awareness that a datasheet is even a thing, download code they don't even read, and start high-fiving themselves when they make an LED glow. (OK, that's a caricature too, but I've decided to give myself some rhetorical license).
If you liked this, you might like this data analysis of CYOA:

http://samizdat.cc/cyoa/
I disagree with Linus here -- there are hashes which are secure in all ways, and hashes which are broken, like SHA1. Why try to figure out where SHA1 is safe?

Also, git's use of SHA1 is completely broken, it's just that no-one (that we know of) has chosen to spend the money required to make evil git repositories (you can't just take existing collisions and use them in git, you would have to go find git-specific ones).
I'd guess the point of it is to actually give the laws requiring that you not fire employees for illegal reasons teeth.
But the regulation only applies to roaming so it doesn't really affect calls made from your home country to another EU country, which can still be much more than a typical local call.
Look at the most free market of them all with the least regulation: United States. Here using a mobile phone is WAAAY more expensive than in Europe. My US friends always thinks I'm lying when I tell them how little we pay for data in EU.
I highly recommend Life's Lottery. It's a nostalgic return to 80's Britain that should be entertaining even for anyone who didn't live through those years.

The fact that you control the choices of a person from childhood to adulthood, with astonishingly different outcomes depending on those choices, has the sublime effect of making you consider the direction your real life is going, and how your everyday trivial decisions shape it. Sometimes what appears to be a minor choice or even an evil decision can lead to a better outcome than the alternative.

New paperback and ebook editions were released a few years ago.
Although I agree with you about encouraging interface{} (there is even a "proverb" against its usage), you cannot read an empty interface as a type it is not.

Unlike C void-pointer, interface{} is the tuple (type, value) and you need a type assertion for the right tipe to get the value.
But in addition to that, how do you "update all and bump relevant package.json entries, dependencies _and_ devDependencies as appropriate" ?

`npm update --save` or `npm update --save-dev` say explicitly "save updates to `dependencies` resp. `devDependencies`", which causes duplication between dependencies and devDependencies. (Say you have a dep foo and a devDep bar and both are outdated: `npm update --save` will bork package.json with an additional incorrect dep bar, and `npm update --save-dev` will bork it with an additional incorrect devDep foo :-/ )

Am I missing something? I understand there are 3rd-party packages providing such functionality, but is there any reason to not cover this feature in npm?
Why are there no interactive debuggers if you develop firefox?
Lol the banks will find away to keep charging for overdrafts and screw both types of customer - just like they did over the reduction in merchant charges I lost £20 a month but the merchants just pocketed the reduced charges as a bonus and did not pass it on to customers.
Note that their page changed today. Germany wasn't included previously, along with some other EU countries. That meant that you got free roaming in the US and Australia, but not in some of the biggest EU countries.

The new policy is a big positive even for 3 clients.
If you can't find a mentor, you can learn how to learn on your own. Wrote up some suggestions here: https://codewithoutrules.com/2017/04/17/learning-without-a-m...
Certainly it's possible, and yet I don't think there is much other way for employees to achieve any sort of political power over their employers. It's also probably worth mentioning, since we're talking about Japan, the extent to which the worlds of Japanese business and Japanese organized crime are intertwined.
Tim Cook on Donald Trump, the HomePod, and the Legacy of Steve Jobs
That's about $400 million profit for the fiscal year, using the naive 1 yen = 1 cent exchange rate.
>I'd make that trade any day

It's not a trade, it's just a temporary result of a market imbalance. When that stops to be case, programmers will get the same bad treatment like everybody else.

So I'd make rather live in a country with more sane and fair laws for all, and not extrapolate too much from what a specific field or two (even if it happens to be mine) might temporarily command.
That would help a lot. I agree.
Someone said, somewhere:
User files bug that isn't a bug:

bad/rookie dev: omg dumb user

good dev: closes bug issue, files new issue to fix docs.
What interest group besides unions had any interest in establishing a forty-hour work week?
Amazing, $30 is considered high for a mobile plan.
In Canada it's the price of the lowest end plan from the lowest end provider. A plan from a big name provider will be at least $60 with capped data.
I just regularly run `yarn upgrade-interactive` in my projects.

I was thinking of making dependency-updates part of the CI-pipeline, using a 'allow_failure'-flag. However, if you decide not to upgrade a dep for some reason, this will cause each and every build to throw a warning.
Of course you'd say that, you tab user!
Amazon Spends More on Advertising Than Wal-Mart,Target,Best Buy and More Combined
Hi andreaso, do you happen to have a list of encryption algs on your side? We don't support chacha20-poly1305 (yet) and afaik aes in gcm mode, but e.g. aes ctr are reliable so I find it strange these are not supported on your side.
I wish there was more of an investment in Ansible Galaxy. Being able to get software installed & running in a default state without a lot of effort is super helpful, particularly for systems that have complicated installation procedures.

I sort of wish they could make some sort of installer system around Ansible and convince developers to use it.
WiFi Password Exact Hacks
The guy has released quite a few games, so probably.
... Unless you're C-level, in which case you merely lose your bonus at worst.
I needed a good laugh this morning. But of course this is pretty bogus relationship. People who drive Teslas make more money than those who drive Gremlins.
Which is exactly what the article says.
That kind of thing used to happen in Israel too. Every time the government introduced a new regulation aiming to reduce mobile costs, the three companies would respond by simultaneously raising prices. And then the government used the nuclear option--They licensed two new mobile operators. And the prices plummeted.
Wow, there's some really angry comments about this.

How about we see this as an opportunity to learn something new about how browsers work and cool new compression formats that are supported by major browsers?
Where do you have the €7/GB from? It's the cap, not the price usually paid. I remember a study by the EC where they found out that most operators don't pay significant amount of roaming costs. It either evens out or the amounts are too small.

Most countries will have 3-4 operators so that there is competition and I doubt that €7/GB is the cheapest an Italian operator can offer to a wholesale client.
Well then let me thank you again :) Very slick UI, signed up in seconds, set myself up in under a minute.

What are your plans with it? Just leaving a free service running or do you want to add paid plans as well? (and if not, I would recommend setting up at least a "Support" plan of some kind; it sends a strong signal)
>> waiting to be jettisoned as the market for 32-bit OSes goes away.

I didn't know there still was a market for 32-bit x86 OSes. I suppose legacy systems - SCADA and such.
This is great, now I can ditch my UK Three SIM that I've had for years simply because they implemented a "feel at home" kind of policy long ago, where roaming within the EU is free. There was always a data limit, and you can't tether your phone to your laptop which was annoying, but it's been great for me who's been travelling in the EU frequently. Now I can drop that extra £30/month cost and don't have to carry extra SIMs. I love it.
That's really far less true than it used to be; Japanese companies want to have it both ways, where employees remain as loyal to them as before but they don't return the favor.
Hmm no. That's what's happening in your world, but you're imposing that world view on me.

Probably about 80% of the code I write doesn't even get looked at or used by another developer. If the technique/analysis proves useful, it gets rewritten/refactored. That has the added advantage that I then understand the model better.
Do you consider the cost of an unauthorised overdraft when opening a bank account? Do you consider the late payment fee when taking out a loan? Do you consider the cost of foreign transactions when choosing a credit card? Do you consider the cost of ink cartridges when buying a printer?

Maybe you do, but most people don't. People aren't price sensitive to every element equally. I recall the first time I used roaming. I was in Heidelberg, Germany, using a UK-issued SIM. The cost per minute for me to make a call to a local number was over 1 USD per minute, billed in minute increments (i.e. a 10 second call would be billed as a minute).

If I had known that before I left, would that have been enough for me to research other carriers' roaming costs and switch? Probably not.
You get paid by the keypress?!
How do you boycott a product that isn't being made?
You're right, I looked back and it does in fact stay in the namespace.

Disregard my comment.
Is there anything Facebook could do at this point that wouldn't make you think this?

Just because someone's making money off of something doesn't mean it's inherently bad.
I use spaces.

Who do I contact for my check?
Recording user sessions in closed environments: Hybrid Mobile and Desktop apps
You have to go to Romania, Lithuania, Latvia, Estonia, Bulgaria, and Poland get one each? Or just get six cards from different services?
The idea of replacing a union with an app approaches self-parody.
Without a doubt, there are a ton of extremely capable female executives who are rightfully recognized for their contributions.

The criticism against Mayer was due to a combination of her age, gender and "celebrity" status (celebrities tend to be attractive, successful and wealthy). A man would not have had a media circus around him due to the fact that he chose to start a family while being a CEO (a choice that she informed the Yahoo board of before taking the job). Mayer also looks about 10 years younger than she is in most photos; which IMO leads to a lot of armchair executives criticizing her as inexperienced (lol, she was a key member of the team that built the product that destroyed Yahoo, so I'm pretty sure she's experienced).

IMO Mayer is a great example that having kids doesn't have to derail your career as a female executive. While she may set an unrealistic standard for other women (damn Stanford overachievers!) I can't fault her for figuring out a way to make the various elements of her life work for her.
Operation Jailbreak
"Make the Web HTML Again"...presented as a video. Never mind then.
Jetbrains product users make more money? ;^)
Not so sure. The relations between mafia and unions seems to me unique to the US, or at least not so widespread.

Unions can indeed have issues (on one end corrupt leadership that just pads their bank accounts or screws those that they're supposed to represent, on the other end over-privileging of a certain field), but turning into "unlabelled mafia" is not a core trait.
TIL asking someone you know who has been through a disaster if they are okay is a "bullshit inquiry."
> What else do we expect governments to do?

We expect it to not both support the laws that create a $100B black market for drugs in the first place, and then try to combat the consequences of its own actions and claim it's solving a problem, rather than creating two of them.
But there's an actual causation here (you need more money to buy a Tesla). Use of tabs and salary don't seem to have any relation one way or an other.

My personal guess would be that using spaces is a practical decision and might be more popular towards older, more experienced devs (who are therefore better paid).

On paper tabs sounds better, they're "configurable", you should indent with tabs and align with spaces, yada yada and everything is good in the world.

In practice however it becomes a big mess real quick unless you only work on projects with very good and perfectionist developers who understand when they should indent and when they should align and how they should configure their editors to do the right thing. See for instance the linux kernel codebase, it looks like arse if you don't use 8-space tabs and the coding style even tells you to use that value (it shouldn't really matter if tabs were used "right", except maybe for 80-column limits). So why even bother with tabs in this situation? Do we really care that much about wasting a few bytes?

Therefore I gave up on tabs a long time ago and tell everybody to just use spaces in all the projects I maintain.
Most of the holders of Japanese government debt are Japanese citizens, so repudiating the debt is not likely to be a popular move.
I can kind of understand the vilification of this feature, and the reasons for that are explained in other comments on this post, but I think it's a major improvement to how it would have been before, and on other current platforms as well. Unlike other ways to keep in touch with friends, like WhatsApp, WeChat, Kakao, Facebook isn't just a messaging platform (although that's how I primarily use it) and so it's actually possible to see someone marked as safe without having to directly message them about it. This is a direct improvement over other platforms where the only way you know if someone is safe is to actually message them.

I don't really buy the argument that you would just assume someone is safe before; you would absolutely have thw worry that if there was a disaster in London, you would want to know if your friend is safe. Previously you couldn't easily contact them, though: if you even had their phone number, calling them internationally wouldn't be easy or sometimes even possible, but often you'd have their address, and hope they would respond to you. Now it's much easier to keep in touch.

I also feel like people are making controversy over nothing when they think that asking if they're safe when they're in London during that fire is too much if they're not in the vicinity. Facebook is in a catch-22 here; Facebook either knows your (roughly) exact location and knows if you were in or near the apartment building at the time, which would make people cry about Facebook tracking you everywhere, or it doesn't and it asks if you're safe if you're in London. Even in the image from the tweet that this article references there is a "Not in the area" button you can press. There's really no way to correctly do this without having really accurate and very up to date information about the people using Facebook, which isn't always possible.

Could Facebook improve the ways it determines if a user is in the area? Yes, of course; a simple way would be to look up IP address block(s) and see if the user is in a block they look up, then prompt them, although it's not really that simple. I also run into issues with Facebook thinking I'm in Japan when I'm not, even though I left nearly a month ago. Facebook really could also improve the UI around it; the point at the bottom of the article when it says that the writer has 100 (probably) London based friends, 97 of which are not "marked as safe", which is terrible UI. But I do absolutely disagree that this feature is worth removing based on the arguments presented in this article.
You do realize that implementing promises is a prerequisite for async/await, right?
They must be paid by the hour and all that spacebar pressing adds up
Right, since I choose to remain on earth I'm complicit for the actions of everyone on earth. The logic doesn't check out.

The reason I'm asking about FB in particular is because employees didn't sign up to build "blasphemy traps" (as opposed to Palantir employees for example). If I were an employee of FB and realized what my work was being used for - I'd demand my employer stop the behavior or resign.

Edit: It's interesting that every day Uber is being trashed in the media yet here we have Zuck getting innocent people killed just to push his ticker up a fraction of a point. Uber is sexist but Zuck will kill you.
What do you have in mind?
> They liked their genocides like they liked their mines and factories -- huge.

Wut? How many huge genocides exactly did the Soviets commit? As in killing off entire ethnic groups? I can't really name any, although I can definitely name at least one that Americans committed, but we usually don't like to talk about that.
I'm not sure compiler writers care that much; they don't have to support every x86 instruction and can restrict themselves to whatever subset produces fast code.

Where it really kills you are things that have to analyze x86 binary code (e.g., binary static or dynamic analysis tools). Unless you cover every nook and cranny of x86, chances are you'll eventually encounter some program that uses one of these instructions and your analysis will break. And of course emulators like QEMU face the same problem.

This problem becomes especially severe in the context of malware – any instruction you forget to model becomes a way for a malicious program to evade your analysis.
I don't know man, I have the Cosmote 65 and was paying 12 euros a month until recently (now I pay 20) for 1500 mins/SMS and 3 GB/mo. If you tell them you're switching away every time your contract lapses, they give you huge discounts.
Apparently it is

> needed to bolster counter-terrorism precautions ahead of the 2020 Tokyo Olympics

but:

> Under the bill, terrorist groups or criminal organizations could be punished for the planning of 277 crimes, which range from arson to copyright violation

Copyright violation? Seriously? Copyright violation is a terrorist act or a part of planning a terrorist act?
Well that settles that! We finally have proof that spaces are superior to tabs... ;)
>Developers who use spaces make more money than those who use tabs

Sure, but how many spaces? grabs popcorn
what kind of microphone do you recommend for pi?
How else do you think they can afford to pay for the licenses?
As far as I know, the data limit is whatever your tariff normally gives you - no more, no less. I wouldn't be surprised if the other carriers have a no-tethering-while-roaming rule too.
Just don't take any unofficial souvenirs...
This by itself disproves the Just World hypothesis.
What Is TDD? How to Get Started with Test Driven Development
check is in the mail ;)
You do realise that async/await is basically syntactic sugar for promises in JS, don't you?
Not that serious.

But the grandparent post was someone from Latvia saying 'this is terrible our prices have gone up' which was followed by someone from France saying 'no this is great our prices have gone down'.

Someone's paying for it, and I doubt it's the Telcos who are losing out.
Do you think it's likely it'll stay that way after Brexit?
I can't wait for Konami to go bankrupt so that somebody will finally do something with the great stuff they made. How on earth is there not a modern 4-player Contra game?
Rkern/line_profiler: Line-by-line profiling for Python
Failure to warn: An early warning system for drug risks falls flat
Of course professionals get paid more, but I'm surprised there are so many tab users out there! Time to add a new interview question.
Of course they do because they are pig headed ignoramuses who are insist on getting their way in spite of all evidence that they're wrong. So of course they are good at getting raises. ;)
I am not at all impressed with this article, it strikes me as another piece that simply summarizes information leaked by the US government or someone at one of the intelligence organizations.

They say "the NSA has linked the North Korean government..." then tell us the assessment was not made public, that it is inconclusive, and that the NSA has declined to comment. "One agency..." supposedly has a "building block for this assessment but they are not named. I understand that the government would like to protect their sources, but I don't think we should simply take them at their word. In my opinion, this piece is doing exactly that. What little concrete data I've managed to gather is all circumstantial, I've seen nothing that point to any sort of technical "smoking gun".

Maybe I am paranoid, but my concern is that this finger pointing at foreign governments does nothing but generate fear. When the legislature finally introduces a bill to defeat encryption across the board, they'll have widespread support and everyone who argues against it will be painted as some kind of imbecile. All of the sudden, the largest tech companies in the country will be accused of wanting to aid and abet North Korea and Russia.

And security doesn't materially improve. The assessment Reality Winner released isn't much better than these articles, but at least it's more straightforward and the means to the end were clearly disclosed. Yet no one is talking about putting training in place at the companies involved (to defeat phishing or social engineering attacks via phone or email) or source code audits (even private is better than nothing). It's infuriating.
China rises as a biotech powerhouse
The interesting question is teasing out why the correlation occurs at all.
Submit an expense report to your employer and you'll be reimbursed for the extra bytes.
Is this a homebrew speech recognition engine, or are you using something existing like sphinx/julius/kaldi?
Personally, I have bad experience with tabs. Experience and salary are correlated.

Also some languages are "tab friendly" and there are correlations between language and salary; see previous HN posts on the topic.
Do you just magically happen to take CIFRE Thésards in NLP/Machine Learning?