skysight-inc/HackerNews huggingface dataset:
Creating a nuclear explosive is more of a routine engineering challenge, rather than intellectual. Any nation with (1) 1950s-level engineering capability and (2) money or will can do it.

To badly paraphrase a Manhattan Project scientist, from memory: "there are lots of ways to create a nuclear explosion and no matter which one we try they all seem to work"

Miniaturised nukes are much, much more complicated and seem to require 1990s+ levels of physics, computer modelling and engineering.
Also, they controlled for language and the effect was still present.
Really bad benchmark? Inappropriate choice of benchmark?
No - we're looking for onsite devs :D
How to mount a cifs share at boot on Ubuntu
Which leads to the question when would they stop adding special case structures?
I think the author was actually referring to the fact that it makes the written software using Go more complex to understand and maintain. Quoting:
"...efforts to add templated types and immutability to the language would unlock the ability to write more complex, less readable software. Indeed, the addition of these features would have a knock on effect that would profoundly alter the way error handling, collections, and concurrency are implemented."
your comment seems to imply that the article and all other comments are not... I'm confused now.
Isn't Abe a conservative. Why is it that "small government" politicians always seem to be for more surveillance?

At least it would be nice if they dealt with the well known problem of organized crime in Japan, but I doubt it will be used for anything like that - just more screwing over the little guy.
After seeing Rich Hickey's excellent material on the matter^, I can no longer read anything talking about Simplicity and Complexity in programming without suspecting the author of being fast and loose with what those terms specifically mean.

As it stands, they are recipe for different camps and sub-camps of programmers to talk past each other endlessly.

^ https://www.infoq.com/presentations/Simple-Made-Easy
TFA says they chose it because of the mechanical actuation vs the hydraulic disc actuation. However it could have been updated after your comment.
That's fascinating; thank you for that. I often find academic papers are too densely written to me to read, but the authors of that paper have gone out of their way to describe everything in a straightforward manner.
"Do we know that [...] Cisco VPN, Juniper, etc don't have backdoors?"

Wasn't it published in NSA leaks that Cisco and Juniper do/did have backdoors?

We can trust particular crypto algorithms, but I'd bet money that for all complex, popular software there are not only vulnerabilities found by various agencies, but also vulnerabilities intentionally inserted there.

Looking back at known historical intelligence operations from the cold war, it'd be ridiculous to assume that noone has tried and succeeded to get some technician (or manager) to insert some backdoors for them. Compared to other intelligence activities, the required effort for that is so small and the benefit so large, that I'd assume that multiple nationstates have inserted their own backdoors in various key components of global infrastructure.
I can assure you that I'm not poor ;)
Semantic Code Property Graphs and Security Profiles
Teaching 10 year olds how a website works
It would be if it was one way only. In practice users from all telcos roam on other networks, negating large bits of this exchange. Real price per user is much lower.
"within the regulatory framework"
aka against the people
Honestly, I'm not even that much of an idealist. I think using the same indentation style as the general community is important, so I use spaces most of the time day-to-day. My biggest point was: maybe we don't need to berate/assume things about others for having different preferences than us?
This had more to do with J. Edgar Hoover, his unlimited power and personal baggage.

Civil Rights groups were branded as subversives with potential communist leanings.
This is not true.

The Currency Transaction Report only covers cash transactions. That means green pieces of paper with pictures of dead presidents on them, not electronic money in a bank account.

Deposit or withdraw cash, buy money orders or cashiers checks with cash, buy a car or house with cash, and if it's over $10,000, it gets reported.

But if you write use a check, credit card, ACH or wire transfer, that's not cash and the bank doesn't have to file a Currency Transaction Report.

That's because these transactions are already in the banking system, so there's already a good audit trail of what money is moving where.
More of a reason to keep permanently establish the Olympics in Greece and be done with it. Wherever the Olympics go, corruption seems to follow.
PEP 8 specifically recommends using spaces for Python development. And the vast majority of software developers I know follow most of PEP 8 for Python development. https://www.python.org/dev/peps/pep-0008/#tabs-or-spaces

I'm not a PHP guy (so I'm not sure about this) but it looks like PHP-FIG suggests it too...
http://www.php-fig.org/psr/psr-2/

So are we really saying software developers who follow style guides earn more? That doesn't surprise me. Adhering to guidelines is a good way to work well on teams and thus become a more valuable team member.
poor ruby devs and their two-space indentation rules.
Cool thanks, always trying to hear what we need to work on.
Fun Ways to Use .FUN for Branded Links
Humans are domesticated primates, and like all domesticated animals we demonstrate the canonical properties of neoteny, or the adult retention of childlike traits: physical traits like rounder heads, flatter faces, shorter noses, bigger eyes and shorter jaws, of course; but also and more importantly the cognitive traits of playfulness, curiosity, creativity and innovation.

Indeed, it is in many ways the explosion of cultural innovation and exchange approximately 50 thousand years ago that marks the distinction between archaic humans and modern homo sapiens sapiens, who spread to every habitable continent on earth and developed a wide variety of inventions to facilitate living in diverse climates. Archaic humans also had culture, of course, but nothing like the innovation curve that has characterized the period since then.
I second that. Tried using cash as a down payment on a house did not fly even though I could reconcile the difference in cash with what I kept in the bank with my pay stubs and deposit/withdrawl records. Underwriters want to see that cash sitting in a bank account.
Maybe, but being the best of a bad bunch doesn't make you good.
Atom 1.18
How is that problematic though? I'm not aware of any language or situation where the width of the window has any impact on anything.
the only right answer for "tabs vs space" question is "i put a modeline comment with the project accepted style on all files I touch. And that style guide better say tabs" :)
Yeah that's the package I meant with "3rd-party packages providing such functionality", thanks for pointing it out :) ! Was wondering if there was a reason other than "because no one developed it" for such a feature not being in npm core.
Doesnt using spaces to indent code waste a lot of time? I mean sure if you're only indenting once, it takes a few extra key presses to make 1 tab worth of space bar clicks but if your code gets really deep, then you're talking about wasting a lot of time hitting the space bar key per indent PER line...each subsequent line of indented code doubles the amount of space bar clicks...

Am i missing something here? this sounds really dumb, as tabs make the most sense, and it appears use less memory as well.
4TH INDUSTRIAL REVOLUTION
Books for CEO's who want to lead with empathy
The facet that is missing is the impact on users' code complexity. It is all well and good if Go is simple, but if my code is horrendously complex to compensate, it isn't a net win. I exaggerate, but a lot of the complaints for Go already stem from this trade-off.

Focusing entirely on the language itself is a failure.
Keep on eye on the language's users,
Indent with tabs.
Align with spaces.
Show HN: React Express – Learn React Through Interactive Examples
Why React Native Is the Best Choice for Making Native Apps
> Of all the mega-corps, Amazon is one of the few that has all the pieces and user-engagement, but no social component.

Honest question, since I might be out of the loop here in Europe, but what user engagement pieces does Amazon have then ? I use Amazon for shopping and AWS, and would have no idea what other products they have that are dominating a market. Is this about Kindle ?
an indicator is just that, an indicator. It doesn't mean anything on its own, but in the presence of additional information (interview question responses and discussions in this case) it can help paint a better picture.
If someone answered this question with "what? I don't know/care", and then knocked more important questions out of the park, then it was obviously a bad indicator and isn't relevant.
Friends of mine have been to North Korea, one of them to teach for a quarter at PUST (so not as a tourist). By their telling, even with a constant military guard, it is about as poor as we've been told. Of course, my friend did not see slave labor or criminal camps, but then flying to Moscow wouldn't let you tour gulags either. Some Americans do "tour" the North Korean prison system, just like with the Soviet one back in the day, and their experiences seem similar. Seems unlikely that they eat children, though, and I'm not sure I've heard anything about priest burnings their, though of course religion is mostly banned. This is of course a personal take and using sources you don't have access to—so use however much salt you feel necessary—but it seems that most assessments of life inside North Korea by international organizations are pretty on-the-mark.
Gionee A1 Lite Goes Official with 20MP Front Camera and 4000 MAh Battery
Which is why developers that actually care about the whole desktop experience setttle on OS X and Windows.

Developers that are fine with xmonad and CLI, settle for a POSIX experience, making such APIs like PolicyKit barely used, because portable UNIX applications don't adopt them.
> The only downside I can think of here is that plain-text-only documents tend to defer images/figures and other non-plain-text media to external files (if they even support such media in the first place). This means that these additional files (and their formats) need to be considered as well.

Before MIME was a thing,I was possible to embed images in emails by including a block of uuencoded text in the middle of the email message (which was otherwise in plain text).

I suppose that could be one option assuming the client program can render them.
Anyone know if that is an Re-Speaker being used as the microphone array on the desk?
Having a tangible, beautiful object, often with additional art and conveniently readable and viewable extra information, a dead end?!

From where I sit, almost all the rest of the world are who went wrong, with impoverished, locked-in streaming services from businesses who take everything away the day you stop paying them, and dull audiofile-only downloads.

But we seem to agree that Abe declaring unauthorized CD copying preparation to terrorism is ludicrous...
I think that the part about your father is an unfortunate event that ended well. Therefore, with all due respect, I don't think that's a story.

On the other hand, the media is frothy about Uber, and when the media covets a subject, editorial discretion often changes a little.

Consequently, you might have a story about Uber drivers driving around with suspended licenses. If you found a few journalists with a history of being hypercritical of Uber, you could pitch a pretty solid "what if" story.

For example, how do cab companies deal with suspended licenses? Do they have a greater (or lesser) burden to keep their drivers properly licensed?

Or, what happens if an Uber driver with a suspended license causes an accident that leads to injuries? Where is liability? What is an injured party to do? Is there any way that the Uber passenger could have liability?

The short answer is:

If you really want to publicize this you likely can because the media is frothy about Uber now. If an Uber executive had bad gas, you could find a reporter who would salivate for the coverage.

To publicize it:

1.) Zero in on a good story. The media does not want to be your personal hit squad.

2.) Research two or three reporters with a history of negative coverage about Uber.

3.) Write a personalized pitch to each reporter. Reference past articles that he/she has written. Don't use the word exclusive unless you know what that means. (Hint - if you send a pitch to three journalists, it isn't exclusive.)

4.) Be prepared for this to get way the fuck out of control.
vertical align serves no purpose. why would anyone ever considers it important?

silly js devs and their var block...
>By the time this decade rolled around, Node.js and Go had arrived on the scene, highlighting the need for concurrency as a first class concept. Various async contortions papered over the single threaded cracks of Python programs, but it was too late. Other languages had shown that concurrency must be a built-in facility, and Python had missed the boat.

While concurrency is nice, some citation is needed here. For one, Python is not going anywhere, and remains spectacularly more popular than Golang.

>But, no matter how important and useful templated types and immutability would be, integrating them into a hypothetical Go 2 would decrease its readability and increase compilation times—two things which Go was designed to address.

Well, they sacrificed compilation times to get a native compiler (which has no real utility to the users of the language, on the contrary it makes bootstrapping a little more messy).

Sacrificing it for Generics seems like a no brainer, but it seems they're not yet ready to bite the bullet.

As for "sacrificing readability" I don't think that having 30 lines of code just because you need to make it work with different types is any easier than having 10 lines of the same code with parametric types. Not to mention NOT having to write any code at all, because the standard library can finally have code (e.g for math, collections, etc.) that works across all relevant types. With Generics people could just reuse a few generic implementations of channel uses to handle 90% of their concurrency needs.

And it's also much better and easier to parse than using dreadful string templating kludges or interface{} to get the same behaviour.

I mean, the author mentions all those languages with generics ("Rust, Nim, Pony, Crystal, and Swift showed that basic templated types are a useful, and increasingly, expected feature of any language—just like concurrency"). Does he see the users of those languages complaining about generics being a burden?

Why do people always have to lament the terrible burden Generics will bring to Go in advance, when millions of us (literally, just add Java and C# programmers) just use generics in other languages without thinking twice about it?

There's a proverb in my country, that "He who'd rather not knead the dough (to make bread), keeps sifting the flour for days".

In programming terms it would translate roughly to: "He who is too lazy to build a bikeshed or doesn't like the prospect of building one, will keep on discussing the color it should give it".

Which I think is the case whenever anybody from the core Go team discusses Generics.

>As it stands now, generics or immutability can’t just be added to Go and still call it simple.

It's 2017. Neither are particularly difficult to grasp for a modern programmer. Even enterprise Java programmers have been using the former for a decade already, and they're not known for the wild experimental nature...
Fairy wants to make daily housecleaning a thing
If we're talking about mobile apps, it seems more likely that they would send the same software to everyone and just turn on these features being tested by sending some activation signal from a central coordinating service, or perhaps including it in some web content that the app might use. That seems much easier than actually distributing different apps.
9 billion to purchase the service to push ads for AWS. Hmm.
You're right when it comes to die size and transistor budget, but complexity can sometimes have hidden costs. Complexity can limit and constrain the design of other aspects of a system in ways that are nearly impossible to predict and often non-obvious even when you're down in the trenches.

Not only can today's features limit tomorrow's design, but because those features give rise to mental models and habits of thinking they can limit future design in an almost unconscious way. The more complex your system becomes the more its existing complexity dominates your thinking to the exclusion of innovative ideas.

This process happens so quickly in software that it's obvious there:

http://www.retrologic.com/jargon/R/rococo.html
fun fact RedGate's website sends "GNU Terry Pratchett"
Reduce road traffic and pollution by cooperation of competing businesses
Sorry pet peeve, but title is not a grammar error, a lot of the world says maths not math.

Some dictators abuse power for material gain. If woke up dictator of Earth I think my tyranny would lean more towards standards bodies. Forcing holdouts to the metric system would actually cost the economy more? Too bad, this is the cruelty of oppression. I at least would promise not to kill or torture anyone.
It's not clear to me how templated types and immutability inevitably lead to more complex and less readable software. Can you or someone else explain?
Windows itself is indented with spaces.
Not true. The CS, SS, DS, and ES bases are ignored in 64-bit mode, but those registers still exist, still carry their full, extraordinarily complicated values, and are very much observable. Even on AMD Zen, for example, SS handling is screwed up enough that every context switch has added overhead to work around a SYSRET glitch that would otherwise risk executing user code with a messed up bit in the "hidden" part of SS.

AMD should have killed these registers entirely in 64-bit user mode, but they didn't.
Hi HN, I am looking for feedback. I wrote libSimpleCGI after years of running into cases where I needed to write C extensions for WSGI apps. Extensions born from either performance concerns OR legacy code reuse.

I was curious if this is/was a common problem for other developers and whether this library is of any practical use.
New VirusTotal UI
> * Joe likes 4-space tabs, I like 2-space tabs, and Jane is old-school with 8-space tabs.

> * Someone calls a meeting and demands we all switch to spaces

They compromise on the average 5 spaces per tab and everybody is dissatisfied.
I can have a great runtime, with static linking support in many other languages.

The sync.Map in Go 1.9 is yet another example of the price to pay for lacking generics.
Only releasing STLs is rough!
you're going to be downvoted by the thou shalt not mix tabs and spaces crowd that fails to understand the reason of what they preach. sigh.

also the fly by night devs who still don't see tabs on their text editors... I mean, ide.
Doesn't Go & gofmt pretty much not allow for the use of spaces?
Non-fixed width typeface? That would be grounds for immediate termination.
Large corporations will buy messaging / social networks over time because of the fact that there is a long tail for people who will use the service. The perception that app X is "uncool" or has no growth is the fact that being a part of HN makes you think that the bleeding edge is whatever everyone uses. Of those other frameworks there are a multitude of users on those platforms. The perpetual buying of these companies is a part of the Red Queen hypothesis that large megacorporations have to adapt to survive. One way to do this is the purchase of companies and messaging and social have so much cool platform churn that it becomes endless.
Visual Studio supports column-based selection using Alt+Shift with up/down arrows or the mouse to select a column, so you can add any number of spaces or any other text on all of the rows at once. I'd assume SSMS is the same, since it's based on VS.

But that's still not a good reason to use spaces (especially 2 spaces) and say "FU" to programmers suffering from diplopia.
UK defense company sold powerful surveillance tech to Mid East
So for the cost of keeping $15000 stuck in a checking account for say 10 years, you get a whopping $927.31. You'd get more money back dropping that into a high-efficiency AC system or solar panels.

Meanwhile, most people don't even have $15000 lying around with nothing else to do. My understanding from surveys done by various companies is that 60% of Americans don't even have $1000 in savings. And those with beaucoup money are negotiating their own loan rates, because there's better places to park their money for long-term interest.
> WhatsApp is a zuck property now, you can consider it insecure.

Another day on HN...
Ah! I wasn't following the references close enough.
Ooh, ooh, now compare salaries of vi vs emacs users.
Great news, thanks.

Already signed up!

edit: Any plans to see Snips natively in end-user devices?
I would put on my resume that "I worked with Namiko". Anyone with two brain cells to rub together could infer that this is a rearrangement of Konami.

Moreover, you can say during an interview, and other private communication, that you worked at Konami, without having that appear on your public resume.

There are easy ways to comply with Konami's demands, only not really.
Maybe I'm missing the obvious, but where's the source? I don't see a link anywhere?
> Is it bad to be afraid when there is reason to be?

We also have a reason to connect "American company" with "NSA Spy"... and it's probably not really true for all US companies is it? :)

It's kind of ironic that Telegram is being attacked for being Russian by people coming from US of all places.
The author was specifically talking about concurrency. You just repeated his point.
No one knew about generics until languages like Pony and Crystal proved that they were important? This may be a pedantic point, but technically, generics or templated types were already being used in some obscure, academic languages like Java, C#, and C++.
Check out this page for a start on Chrome device licenses: https://support.google.com/chrome/a/answer/2717664?hl=en

You can see an educational portal listing the cost of the management license at $30 here, which isn't really a complete picture, but demonstrates that we aren't talking about something they give schools for free: https://edu.google.com/products/devices/

Note that this is kinda of well-hidden, but that last link cites the "total cost of ownership" of a $149 Chromebook over three years as $588, which should give you an idea the difference between the hardware they give away, and the eventual cost of everything you need to deploy the suckers.

Schools is definitely big money for Google, it's just well-disguised as an altruistic endeavor.
It doesn't signify anything. I think you might be giving a bad impression of your company by asking that question. In an interview, you have a limited amount of time to come to a judgment about a candidate. Using that time to ask pointless and borderline flamebait questions is going to be a red flag for a lot of candidates. You are also going to put candidates on edge by making them worry about whether or not they have given the "right" answer to a silly question.
sarcasm is one of the true idiosyncrasies of humanity that differentiates us from the machines. Embrace it.