skysight-inc/HackerNews huggingface dataset:
That is definitely one argument (and I do see where you're coming from -- especially if your error path has a defer that does cleanup or something complicated like that). However, I don't think spending a significant amount of time mocking out every struct method that has an error return is a worthwhile investment -- the majority of 'if err != nil { return err }' cases are not going to be interesting and the ones that are usually don't even need mocking to test because they are significant enough error cases that they are easy to trigger using the real version of whatever struct. And of course you should test error paths to make sure that your code does validate things.
It is very rare that I have seen a use of std::set that seemed justified, although it does happen. People just use it because it's easier to type than unordered_set!

One way to speed up set's usually appalling performance is to give it a custom allocator so that instead of N calls to allocate tiny tree nodes all over the heap, you get all your tree nodes on an arena. This can dramatically speed up short-lived sets (for example you are trying to build the unique set of some non-unique input).
Of course, thank you! Corrected.
Yes/No/It's Complicated.

If when you say "ROM" you're talking about the persistent storage holding the modem's firmware, then absolutely -- that firmware lives in a "vendor" partition on the same emmc as the OS.

When talking about "RAM", things get a bit more complex. Most usb and even pcie modems are going to ship with enough built-in (that is, on the same die) RAM to get the job done. They have absolutely no need for the quantities or qualities of external DDR (where your OS is running from most of the time).

That said, when the modem is embedded in the SoC, all bets are off -- it's really convenient to share as much as possible, and is entirely possible for the modem cores to depend on the same DDR memory as your ARM cores.
Great headline, terrible article. It mostly talks about German words and almost nothing of German work ethics. The only interesting bit is around the end where it quickly skirts over the fact that you need to make employees realize they are unproductive before you can work on their behavior.

All the other stuff is just meh. I mean, the language analysis isn’t even very good, or in depth, with terrible half-assed English translations.

Basically, don’t waste you time reading this.
I think it's apparent that Evernote and similar single-feature companies pproviding these single features like notes or reminders or to do lists or contacts are doomed unless they get bought by one of the big players.

I'll happily pay $10 / month to Apple or Google or MS, assuming basic privacy, to deal with everything - my email, notes, sketches, brainstorms, files, bookmarks, reminders, calenders, contacts, etc.

But I'm not paying ten separate companies $1 each for the same features, even if the individual companies are better than whatever the large providers include.

I just don't want to deal with more subscriptions, credit card bills, and the potential for surprise charges - been shafted too many times by companies that became shady as things became financially desperate.
The short answer is it's different and unfamiliar to most newcomers:

1. The image-based paradigm [1] holds it back. Using Smalltalk, there's quite a change in development style, the existing development tools (text editors, version etc) mostly don't work [2], and deployment is at least slightly different.

2. The unfamiliar UI (mostly Morphic) looked very different.

3. The different (but incredibly simple) syntax looks strange to newcomers.

There are paid tools that fix some of these, but they never quite caught on with lots of momentum, and they were used mostly in bigger enterprise shops. The biggest might have been IBM VisualAge (for Smalltalk), which later morphed into IBM VisualAge for Java and then Eclipse.

[1] The image-based paradigm is really really great. If you haven't experienced it before, give it a go. It's worth it even if you are never going to use Smalltalk.
[2] There's been effort to get git to work. I haven't been tracking it, but this was only in the recent few years.
In the 80s with the "democratization" of technology we all dreamed of a future where all the population would become tech-savvy, instead we dumbed down devices and their interfaces and now everything looks like is made by hasbro and automated to the point that users don't even need to know what they really want to do.
>How long would it take to develop and deploy a targetted version of a program?

Not particularly relevant - they can require a targeted version of the program be developed before someone comes under suspicion.

>What's the likelihood of the target updating their program during the useful window of time?

Doesn't matter - they can require a force-push update system be built to silently update a specific customer's app version. The law is broadly enough worded that they can order whatever software is in their way to become broken upon receipt of a court order.

>Is this timeframe going to be of use to law enforcement?

Yes, because the law will allow them to force commercial companies to build automated, scaled systems.

>If the timeframe is justified, what's the time limit? Is 'suspect' going to have their comms intercepted for the foreseeable future? At what point is the well deemed to be dry?

We'll never know, because it's designed to be used in secret.
I think Lobste.rs might sneak past HN on signal:noise, but it gives up a bit of variety in topics.
Where do you see 26 megabit/s speeds? I live in US/Mountain time zone, have only ever seen such speed via my wired, local ISP land-line.
You'd probably be outcast as soon as people found out that you weren't attending. Which would probably come up pretty quickly when someone asks what your major is or who you have this semester.

You wouldn't be part of the shared experience.
That’s exactly what I saw too, and veiled accusations of sexism against people questioning things.
Never had a problem with adjusting to new keyboards. When I moved to France it took me all of a week to adapt to azerty keyboards. I wish Linux had better trackpad options,m; that’s one of 3 or so big things that keeps me on Mac.
What is especially notable about this is that Nintendo recently announced that their Just Dance 2019 game will come out on Wii and NOT the WiiU.
Maybe I’m oblivious, but I’ve never heard bureaucratic applied to software. I’ve got to say it fits perfectly in this case.
Hey, thanks for sharing your background. It does sound like we're in a similar situation and although you're still looking for an opportunity to switch over to C++ development, it is still motivating to hear someone else is striving for a similar goal. The projects you've worked on in C++ sound interesting and I think if you were capable of creating them when you were younger and had less professional programming experience under your belt, there isn't any reason you can't create some amazing projects now if you set your mind to it. I would assume employers would want recent C++ examples/projects, but if you can retrieve some of your old work, it wouldn't hurt to add them on GitHub for someone to look over. Hopefully we can both get some good advice on this thread. :)
I think parent worded it in a way that's causing confusion. The point is that in India, tech is one of the only few ways to earn a decent salary. The average American has many more ways to earn a decent salary and thus the choice to go into tech has more to do with whether they had some interest (not passion) in tech or not for whatever reasons. Money alone is not an overwhelming factor because you can get equally well-paid elsewhere. In India, that is not the case. You can ONLY get paid well (assuming you're an average person) if you go into tech.
If any one is look for Kubernetes books or Kubernetes tutorials: https://reactdom.com/kubernetes
Cloning a Git repository
Elon Musk calls Thailand diver 'child rapist' in latest baseless attack
There's a limited number of US residency spots, less than the number of med school graduates. If you don't get a residency there, you gotta do something.
What are good stocks to invest in for 2019 that are on U.S. exchanges?
These are the good stock to invest in 2019 for the USA Stock Market.

NYSE: SPG
NYSE: MO
NYSE: KO
NYSE: KHC
NASDAQ: HAS
NYSE: MRK
NYSE: WMT
NYSE: VZ
NYSE: MDT
Keep Reading !!
Read More :- https://kalkinemedia.com/
/s/An arrest/A conviction

Arrests don’t show up on background checks. Only convictions and pending charges do.
"I suggest that you call people you know in Thailand, find out what’s actually going on and stop defending child rapists, you f ah [changed by me] …"

Calling journalists f ah might not be the best strategy for CEOs.
-21 grams apparently /s
I have not seen any air horns like that. I'd prefer something like that myself as it would make honking and braking simultaneously easier.
It’s all about how easy you’d be to bribe. If you owe a lot of money or gamble a lot then that’s viewed as you being susceptible to selling secrets.

They don’t care if you like to go out drinking
Seriously. I will happily keep paying for EN without anything more than maintenance updates, I like knowing I'm helping the servers stay on.
Yes, it is, and it should be dealt with as such. Criminalizing peoples’ existence is not dealing with the problem itself.
Shows you the massive inefficiencies of fuel-based motors that a marginally more complex setup yields such a better result maintenance wise.

Plus the Atkinson cycle parallel hybrid drivetrain is a fantastic invention.
this is exactly it.

work related emails already are on gsuite. yeah they could require 2FA and other stuff, but the more friction, the more people will fall back on personal emails.

Campaign workers have like 2 days of training total. it is what it is. Even at high levels of staff, many are on sabbatical from their main careers.

Though, if there was a moment for behavior change, this would be it.

Really, it might be easiest to get campaign staff on some secure messaging app instead of email, cause trying to explain different levels of email security will simply go over laypersons heads. My region of staffers all used GroupMe -- I wouldn't be surprised if the DNC doubles down on Slack or something similar.
Your question seems to be focused on the hardware infrastructure side of things? But then you mention 'help-desk' and that suggests you are asking about buying and supporting masses of PCs.

I am a data center guy, so I would suggest Google being one of the best at designing, building and running massive numbers of computers. Of course, they don't exactly follow the IBM/MS 'traditional IT' model.
Appreciate the feedback! I assume you got that impression because of the homepage's focus on collaboration as opposed to just individual productivity? Turns out we've focused a lot on individual productivity features and have lots of folks using it that way, but we leaned into the collaborative notes messaging for our homepage since that's what truly makes us unique in the space.
The main DSCC and DCCC can and will force campaigns to use approved vendors and they could very easily enforce google apps. This only works where they provide $ or staff though as leverage. But generally I think carrot works better than stick
The problem with your theory is the cities are where the jobs are, plus affordable housing is in general short supply.

I find it very frustrating to keep running into comments like this on HN. I was willing to go almost anywhere in the Western US to get off the street. There are damn few places that aren't senior housing, aren't trailers, aren't the absolute muddle of nowhere where it would be along drive to even get groceries (thereby adding to the expense of living there because you need a car, etc) and can be had for under $500 per month.

Even small towns aren't that cheap.

I would like to actively foster the development of online incomes in small towns and rural areas. The internet savvy people are also mostly in the big cities and many rural places lack high speed internet.

If we could somehow supply good internet to such areas and help people earn money online so that the lack of good jobs isn't an issue, now you are talking about a real solution. But most of the people saying that homeless folks need to just move someplace cheap aren't talking about helping them make money online. They are just ignoring the fact that these people simply cannot currently get their needs met at all outside of the big city and are being arrested for being in the big city where services are.

I run a bunch of websites. I can't get Patreon support sufficient to let me develop them full time. I didn't get the economic development job I applied for last December.

I think I have actual workable solutions that don't just throw people to the wolves. And I can't get traction because basically no one really wants this solved. They just want to blame the homeless and not actually work on real solutions.

There is a nationwide shortage of affordable housing. This is not unique to big cities. So sending people to small towns with no services and poor job prospects isn't currently a fix. And it is starting to make me spit nails to hear that.

Meanwhile, tech giants want to eliminate like 80 percent of jobs and replace it with UBI. Then articles that state that in the first paragraph fail to actually explore this dystopian vision and, instead, wax eloquent about how do gooder social workers will live so much better with UBI to supplement their underpaid job. They don't actually get into what life looks like if we hand everyone $10k annually with no hope of ever having a job again because robots are doing everything.

And people wonder why I'm suicidal so much of the time. Good god.
Shockley was apparently awful to work for and reportedly tried to steal the credit for Bardeen and Brattain's transistor work. All in all he doesn't seem to have been a very nice person.

"He (Shockley) called both Bardeen and I in separately, shortly after the demonstration, and told us that sometimes the people who do the work don’t get the credit for it."

"Shockley took the lion’s share of the credit in public for the invention of transistor, which led to a deterioration of Bardeen’s relationship with Shockley. Bell Labs management however consistently presented all three inventors as a team. Shockley eventually infuriated and alienated Bardeen and Brattain, and he essentially blocked the two from working on the junction transistor."

https://alixus.wordpress.com/undeserved-nobel-prizes-transis...

Of course the FET transistor was actually invented by Lilienfeld twenty years earlier and was long since patented. Shockley and team were aware of it and referenced it in their own work. They were working around Lilienfeld's patent by doing things slightly differently with the BJT. So awarding Shockley's team the Nobel Prize for the invention of the transistor seems to overlook poor old Lilienfeld rather badly.

https://en.wikipedia.org/wiki/Julius_Edgar_Lilienfeld

And in the end the transistors in your CPU are FETs derived from Lilienfeld's design, not the BJT of Shockley's team.
The problem with the proprietary components is that it makes it very difficult for third party developers to install their own versions of the operating system. The complex system of mandatory proprietary firmware is the reason why the custom ROM ecosststem is so fragmented and unreliable.
Show HN: An interface built primarily for voice texting
Thank you, I'll keep this in mind when I'm actively applying for positions regardless of the path I take.
There's one standout comment: https://news.ycombinator.com/item?id=7951861
Xournal comes so, so close.

You gotta roll your own out of app organization/tagging scheme, which isn't a big deal in keyboard mode, but when my machine is in stylus mode, totally sucks. (I used folders to organize Xournal files. Hard to navigate via stylus. Compare to say onenote with good stylus/touch us)

Also, the UI is just funky. Switching colors of the pen requires carefully tapping an extraordinarily tiny colored box. No way to paste images, you gotta clipart them in (so no roll-your-own stylus screenselect +paste functionality like onenote + windows 10). Scrolling only works sometimes, and leaves little penmark dots usually as it takes a second to understand that that wasn't my stylus.

It only recognizes one of the buttons on my thinkpad stylus.

If you're in putting text and want one word to be a different color, that single word needs to be an entirely different textbox, which is nearly impossible to do so close to other text. Also, no bold, italic, underline.

Gotta roll your own sync, which doesn't bother me because onenote sync is so terrible it actually makes the software worse.

Xournal is an incredible software but it's just soooo cloooose. I keep meaning to hunt around to see if it's open source and see if I can start contributing to get it how I want it.
As I understand, (1) Dragonfly’a aim for P2P is for technical reasons (i.e. better network utilisation, distributing the load, etc.) whereas Dat’s aim is decentralisation; (2) Dragonfly thus assumes that peers (e.g. servers in your datacenter) trust each other whereas Dat cannot make such assumptions.
In my experience git is excellent at being offline. I’m not sure if we would have had problem if our team foundation setup had ever went off line, but we moved to git long ago because it’s what every single IT-based student learns in my country. With every potential hire knowing git and almost none of them knowing tfd/vsts, it seemed silly not to migrate since the platforms both work well for what we need and git was cheaper over all.

You can use git outside of GitHub and Microsoft though, I mean, you could always use bitbucket.
Google Apps is not GCS. If you wanted to compare that number you'd have to throw in Office 365/Azure into the same number and it would dwarf Google.

Google has ~3% market share compared to Microsoft's ~28% and Amazon's ~40%. Not even in the same league at the moment. Google is more on par with IBM and Rackspace, for now. Google will undoubtedly make strides in the space, but they haven't been tested.
It's also exclusive of Tesla, who doesn't release lease vs buy numbers
My immediate guess is because other car companies outsource the production of most of the parts, and the companies who make those parts are happy to make more to sell on the aftermarket.

Tesla manufactures parts itself, and is still getting their main production lines working right.
The article should say which C++ compiler and standard library they're using. Each implementation is different, and these results may not be true for all of them.
Supercharger Gen 3 is on the horizon. I would see what thay holds, and nobody has even 1/10th the deployed charging supercharging hardware of Tesla.
Good riddance. Hope both of the founders land in jail.
I guess that's how market economy works.
I'm sort of sad about this. I liked having a well known company headed by (and founded by) a woman to hold up as an example for my daughter. There are other billion dollar companies headed by women, but I think this was the only "science" one other than 23andme?
Hopefully this isn't too political of a reply, but this is a great example as to why there is such a lack of interest in "smart guns" -- e.g., weapons that require a fingerprint, a special ring, or some other electronic safety interlock.

Not just because of the potential to be hacked, but also because electronics have a wider variety of failure modes as compared to the mechanical bits, most of which have remained both highly reliable and functionally unchanged over fifty, if not a hundred, years.

Especially when you consider that, at least when it comes to safety, there's so much low-hanging fruit on the education and awareness front.

Regardless of where you stand on the politics, it seems pretty straightforward that, in a country that today has more guns than people, that safety education should be part of school curricula at multiple points.

On that note, we should probably also make sure everybody knows how to properly use a fire extinguisher, and I'm not sure we teach that, either... :/
Just for nitpicking, the Wikipedia article says Wii U too (although I know that was a failure, I was just looking for this because it seemed interesting)
China nearing mass production of J-20 stealth fighter
Not really a good example for your daughter to be honest...
... that's why you have backup security keys, numbered per account, in a safe in campaign offices.
"Has it ever occurred to you that others might not see salary negotiation this way"

Yes, it totally did! That's why I am not judging them. I am afraid though you don't want to understand where I am coming from, either.

I understand that people want to have their lives and don't want to fight, politically or economically. It's just good to know who they are.

Frankly, I find it curious that people do not want to openly discuss salaries. It's not like the stakes are very high (in Western societies, anyway). But maybe in the U.S. they actually are higher than, say, Norway. It's almost as if collective bargaining is a taboo topic in the U.S.

The word "coward" is probably not ideal, but I don't know of a better equivalent. You could take my example, and change "discussing salaries" into "discussing government" in a society which (relatively softly) represses freedom of speech (like for example, communist society in Eastern Europe, where I do come from).

So in these hypothetical circumstance, you can make a certain statement, which can be interpreted as being critical of the government, which is a taboo in that society. The other people can either take the bait and break a taboo slightly too, or they might not. It's useful information for you to know whether or not they are willing to break the taboo, because if the push ever comes to shove, for example you would suddenly find yourself in some uncomfortable situation, say somebody from dissent would ask you for help, and you would need help of another person, then you would naturally choose somebody who you know was willing to break the taboo before. So that's the meaning of the word "coward" in that context.

It's not being judgemental, because as I said, it would be immoral to force the people to participate (in activity that is considered bad by society and thus taboo). It's a simple test of boundaries, you want to participate or not.

"The fairness of my salary is independent of whether the guy next to me makes twice as much or half as much. I couldn't give two shits how much he makes."

I don't think it's quite true, because if it truly had been the case, then you wouldn't consider it taboo to discuss it. Just like, you know, we don't consider it taboo to talk about whether or not we have kids or cars and how many.
One of the interesting experiments of the 2016 election was that all local and national campaigns were rolled into one Coordinated Campaign. With shared offices/tech/infrastructure.

That brings downsides, but also upsides: it becomes feasible to give everyone a standard security solution for tech.

Still hard to train everyone to use it, but not impossible.
Who you are is almost entirely contained within your genes

Well, that doesn't sound right either. It's not easy to put what is correct in a nutshell, I think. Your annoyance with everyone who doesn't agree with your understanding seems unreasonable. For one thing, if what the people who annoy you write is almost entirely determined by their genes, why be angry about that?

I'm no expert; I should rewatch Robert Sapolsky's excellent 25-part lecture series on the biology of human behavior[0], which covers this question in depth from a number of perspectives. It's by a long way the best lecture series I've seen.

[0]https://www.youtube.com/watch?v=NNnIGh9g6fA&list=PL150326949...