skysight-inc/HackerNews huggingface dataset:
I would love to see a full client OS developed based on a Capabilities model. Imagine if Qubes OS didn't have to settle with VM:s that are essentially large sandboxes, but it could isolate software and grant access directly managed trough these secure tokens.

Ideally even regular software packages would then be split up in smaller pieces that in turn had their own capabilities, so that a web browser could restrict the capabilities of the rendering thread/process by simply not giving it all the capabilities of the main thread of the software. Instead of just threading software or using process isolation you'd define capabilities for every sensitive interaction and could be a whole lot more fine-grained.
This is too bad since giving pirates and hackers their own space would be vastly better than them being on GTA Online!
The Rust developers specifically tailor the compiler to generate LLVM IR that resembles Clang's generated LLVM IR.
Vulkan is still in development. It is based on the same concepts as Apple's Metal, AMD's Mantle and Microsoft's DX12, i.e. low-level access to the GPU.
>Rails hurts Ruby, Django hurts Python, Sinatra hurts Javascript.

Is there some JS framework called Sinatra? Either you made a mistake or I'm out of the loop when it comes to the JS world.

The only Sinatra I know of is http://www.sinatrarb.com/
As an Irishman, both announces and announce sound fine to me.
Could you elaborate which C++14 features were slow?
There are opening books, and there are opening books. 1. Nf3 Nf6 2. e4 can no doubt be found in some opening books due to the sheer fact that someone, somewhere, played it, and it got archived. Then yes it's a line that could get selected at random.

It's not a serious opening though, it looks frivolous - could be played in simultaneous games, or in bullet chess for its surprise value etc.

If you optimize the opening book to include serious games only, you're unlikely to come across this line. http://www.chessgames.com/perl/explorer?node=98&move=2&moves...

Given the insame amount of opening theory research humanity has done by now, if e4 on the third move here was even remotely close to a clever sacrifice, chess community would have noted it by now.
When explaining the least-squares, why not drawing the damn squares in the chart then?
Bypassing Two-Factor Protected WordPress Logins
My point is that I want to write programs that do use dynamic allocation, but also handle failure of this dynamic allocation in a reasonable way. Right now, Rust's philosophy is that you can choose whether to use dynamic allocation, but if you do, it'd better be an infallible allocator.
Yeah, it's hard for the serious players to get their needed H1B when "consultancy companies" clogs the system by hiring warm bodies that barely know how to write a Hello World in Java (but hey they can be allocated to "corporate projects")
Speaking of routing, I don't know for sure but I'd imagine most if not all of Google's services are on anycast IPs - meaning each node taking part in the DDoS would have its attack routed to its nearest Google DC rather than any central target.

On a global scale this would mean that the one big DDoS you'd expect to see effectively gets split into many tiny DDoSes, which Google can handle using methods mentioned in the other responses in this thread.
Improbable Launches SpatialOS, an Operating System for Data Simulation
Are we talking about firmware as drivers executing on host or the microcontrollers on the drives? My proposal works on adapter in between the two or could replace HD microcontroller if you had willing vendor. Doing it on host sucks host CPU requiring more powerful and energy consuming processors given No of drives and data amount.

Idea is to move straight-forward, possibly parallelizable algorithms off general-purpose, legacy CPU's onto cheaper, efficient ones more suited to algorithm. It wasn't uncommon for FPGA's to get an eightfold boost in performance on stuff like this in various experiments.

In my field, high assurance INFOSEC, the main advantage is the use in inline, media encryptors. I really just knocked off specs and ideas of NSA's Type 1 IME given it was the best:

http://m.nsa.gov/ia/programs/inline_media_encryptor/

Also, Orange Book required full mediation and even SCOMP system mediated hardware I/O. Copying these lessons from the past made my design immune to DMA, firmware, and SMM attacks that were later discovered. Like above, offloading gets performance boost cuz inline I/O handles interrupt handling, prevents many cache flushes, and supports hardware accelerators. Also, keygen and storage stay off main server. Fun times.
The power of priority information and how to take advantage of it
> Can I call Rust code from Go?

Yep. Rust code can easily expose a C ABI, so any language that can call into C (which is every language) can potentially call into Rust.

> Can I call Go from Rust?

Go is working on exposing the ability to compile standalone libraries that can be called from other languages. Support was spotty last I looked, but it should be interesting to watch going forward.
If we're talking about corporate stinginess, look no further than IBM's London office. They don't even provide a place to make your own tea or coffee, let alone the actual tea or coffee. Bringing in your own kettle is banned. The best you can do is buy a cup of hot water from the canteen for 23p and put your own teabag in.

It's become a bit of a running joke among staff there, but nobody seems to seriously complain about it. I guess they've just got used to it. I do think it says something about IBM's current attitude to its employees.
As a fellow Irishman, he's referring to the misspelling at the top of this submission :)
Tricking Google Authenticator TOTP with NTP
This reads like historical fiction. I can't imagine that Charlie Savage attended the meeting. But he says nothing about his source(s). Maybe the book does. Nevertheless, the style strikes me as odd.
Yes. Why a common man want css in their email? The so called "developers" in the article are actually spammers!

We moved to gmail to escape from spam not to get more spam.
Security v usability: cracking the workplace password problem
But it doesn't look like they'll be employing any software developers ('manufacturing, customer care, finance and global supply chain management'). I'm not sure many customer care people would normally come over on an H1B anyway.
Can't wait until it evolves into code Spaaghetti ;)
Good question!

For me personally, I'm not too worried about the NSA. But I do think it is quite silly that Gmail and Outlook has a little lock icon to indicate that security is ON, while the first thing that happens when you click Send is that your email is whizzed over half the internet in plaintext.

For organizations and corporations, I imagine they would very much like to be able to verify the identity of the receiving organization before delivering possibly sensitive email.

(The sender identity is already authenticated via DKIM.)
I think the very page you linked explains why they're targeting clothing. Performance clothing is a high margin, high turn around market with low regulation and relatively loose quality standards. Spiber can use this as a test bed for scaling their processes before they can go engage more technically and regulatory challenging fields with confidence.

This is literally one of the few fields where spider silk has a use, but isn't actually super critical. Unlike say on an medical implant. You want to learn about the quirks of QCing spider silk (whoa.. we really do live in the future) on a parka, not in someone's body.
I'm not an expert, but isn't the advice in this article wrong?
I'm not so sure if relating this news to the H1B visa makes sense. From the linked article, I don't think many of these are software dev roles.

Additionally I'm not even sure if there is much dev work going on in their Cork plant? Would love to hear from someone in the know :)
> `The brain is ultimately just a muscle. Make it stronger by working it out.'

I like the analogy that things are "muscles". It concisely captures various phenomena that I've observed: the brain is a muscle, willpower is a muscle, trust (in another person) is a muscle ...
ASP.NET with SPA (NG2, React) and Node.js
> Patankar did concede that FiveM does get around the "GTA V launcher," which usually gates the game's content behind some digital rights management. Despite this, he insisted that the mod doesn't help users get unpaid access to either the single player (SP) game or the traditional Grand Theft Auto: Online mode. "[Running] FiveM with whatever copy you have doesn't act as a gateway towards the SP or GTA:O portions," he said. "Even with a legit copy, I can't open FiveM and end up in GTA:O or SP."

Compare this to Minecraft where there are 3rd party launchers which ask you for your Minecraft username and password login details.

These are used because adding mods is a bit tricky and launchers let you easily experiment with them.
The man's commitment to his game, considering that he works alone is incredible. Without using terms like "10xer" and "rockstar", he's got an incredible level of perseverance and dedication, considering that he already launched the game and at this point is working on features that are considered by many boring and a grind, all to make a polished finished product. The fact that he documented pretty much everything in his blog is great if you need motivation or are just curious about how to make a game from zero.
On HERE maps, the US takes 4.5GB, a single state like California takes 430MB.
Actually the first leg (sender client to sender smtp server) is probably the most at risk of a mitm, as it often goes over wifi.
The Next Frontier for Predictive Analytics in Travel and Hospitality
You can read the comments on the original RFC for stabilizing catch support and see that the majority of them revolve around various ways of deliberately handicapping the API: https://github.com/rust-lang/rfcs/pull/1236

It even inspired a followup RFC for the purpose of codifying these restrictions in a brand-new fundamental trait: https://github.com/rust-lang/rfcs/pull/1323
Nice to have Node functionality in ASP.NET. Nevertheless I switch from the Microsoft stack. No need for ASP.NET any more. NG2, Node, Firebase is more productive (and cheaper) for me.
8 a.m. til 10 a.m. Or to put it another way, until other people come into the office :)

I used to come in late (midday) but commuting changes forced me to become an early riser. Now I honestly couldn't go back.
Cognitive dissonance would be wearing a silk shirt and refusing to put this coat on.

Thinking of a manufactured product as a spider web is just irrational.
"European" here[1], and I have no idea what I just read (lack of English wasn't the problem). I think this article is a joke or maybe a bit surreal? Or maybe written by somebody who had not enough sampling data from the rest of the continent but only had 3 jobs and they were all in the same city in some shitty place. Sure if you sample data exclusively from unhappy employees in Europe your answer is predetermined: we're all shit.

[1]whatever that means because we all know every country here from Italy, Spain, France, Romania, Croatia to Finland, Norway, Sweden, and Germany, UK are all identical and can be lumped together :-)
Arson Artist sets fire to FSB HQ entrance
What do you mean by "SQL tables"? Presumably not the type of a table (you rejected that notion when I proposed it under the name "column specification") but rather a table with all its data?
and a bit explaining text:

http://www.themoscowtimes.com/article/russian-performance-ar...
Deutsche Telekom to Run Microsoft Cloud in Germany
> Apparently my vi command muscle memory hasn't faded.

Back in the day I did most of my dev work on Solaris. I then spent 4 years as CTO as a startup that was pretty much only Windows.

When I subsequently went back to working at a unix shop I was initially struggling with vi as I tried to read some of the C++ code. I couldn't remember commands, was having to refer to the man pages every few mins. It was torture.

A couple of days in, I was writing up some notes in vi when someone walked past my desk and started chatting. When we finished talking I looked down at the monitor and I'd written more than I had when I was concentrating, nicely formatted, the works. Turns out "my hands" had remembered a load of what I thought I had forgotten.

For the next few days I had to keep finding ways to distract myself so that I could work efficiently. Eventually it all came to the foreground but it was the most bizarre experience while it was happening.
I think you would be interested in the SAFE research project: http://www.crash-safe.org/.
> Handling memory allocation failure is trivial

The problem I'm talking about is allocation failure and OOM are not the same: handling out-of-memory reliably is a lot more than just checking for NULL in `malloc`, as I demonstrated. There's no guarantee that allocations will fail when they "should" and so you'll only learn that you're beyond reasonable limits when you touch enough pages that the operating system starts killing programs (possibly yours, possibly others), or when the user cannot actually use their computer in any reasonable manner.

> Windows is a very modern operating system and does not overcommit

Yeah definitely, it's why I was sure to mention the problems with swapping (sure, the memory is allocated and usable by the program, but in slow motion; not so great if you actually want to use the computer).

> The resource you're allocating is address space. When you run out of this resource, your allocations will fail. On overcommit systems, you don't allocate commit charge until you access the memory.

Yes, running out of virtual memory is one way for allocations to fail, but, as you say, there's a variety of different systems at play here. Only failure in one of those systems (requesting virtual memory/address space) is handled by checking for `malloc` returning NULL, and so focusing on just that is missing the forest for the trees. Presumably the overall goal is to handle memory exhaustion gracefully, not to check the return value of NULL (which is just one part of the former).
> Konami

They aren't a game dev any more. EA seem a bit less awful than their heyday, too... I agree 100% on the rest.
They've had experiments offline for a long time...

Gmail, Google Calendar and Google Reader used to have offline mode through Google Gears - though a while ago they yanked it from all browsers apart from Chrome to foist the latter onto people. Of course there is also POP3 and IMAP for Gmail. Also, Google Maps used to have a prominent offline caching mode, but the hid it away more and more.
Yes, but it's still progress toward the inevitable end result of traditional C++-style exceptions. That's the inevitable end state because the traditional exception model is simply the best one.
| the best podcast listening experience on Android

That's a big claim. Not to discount your work, but why should someone use your app over Pocket Casts (which I believe to currently have the best Android app).
one of my colleagues was lamenting the fact that he made it all the way through pre-university mathematics education without anyone explaining the geometry link between "x-squared", i.e. "x^2", and the area of a square of side-length x.

so this is a pretty reasonable thing to ask for.
If you do mainly Objective-C, JetBrains AppCode is pretty good. Refactoring tools are awesome, even though they are still working in Swift support. Code navigation et.al. are on par with other JetBrains products. Debugging works pretty fine.

You still have to revert to XCode for that crap that is Interface Builder. JetBrains tried to write an IB clone inside AppCode, but they abandoned it.

AppCode lets me code 80% of the time without having to use that horror that XCode is. Alcatraz helps a bit alleviating the other 20%, specially the XVim plugin for Xcode.
It's almost like Google wanted everyone to use slow obsolete software and keep the really good stuff for itself, while still making it look like they're doing a great thing for the community.
Where I work we have a soda machine and a can of soda costs about 0,80 euro cent, which isn't that really cheap knowing how much a soda can costs.The idea is that we so fund tickets for a local PHP conference. Water and fruit is free.

I don't have particular negative feelings about it (there are more important things) but it is certainly one of the more remarkable differences if I compare it will all the other places that I have worked. My previous employer was even mad if you took soda's from home.

The most choice I ever had was working at Lernout and Hauspie. All the free soda, coffee or even soup that you could possibly think of.
Why IT and Operations are on a collision course
Show HN: Vert S – the speediest unit and currency converter on iOS
More importantly, it could give them a metric on piracy for their game.
I loath Soylent, but the prop 65 thing is a distraction rather than evidence of anything wrong. That same warning is on a bunch of stuff because the limits are absurdly low, far lower than any safety threshold.
Furthermore SDL2 is absolutely fantastic and just works. You may say, you do not want to use it as it "just" abstracts away keyboard/mouse/controller input, window and GL context creation but these things are damn hard to get right.
Yup. The relationship between employee and employer is a 2 way street, and it may not seem like it some times but both of them have tremendous power. When the employer starts doing dumb shit and increasingly makes it obvious they don't truly value the employee they pick up on that. And then they start leaving. Who leaves first? Oh, just the people who are the most intrinsically motivated, who care about the work the most, who have the most talent/experience and can easily find a job elsewhere (and know it). And when those people start to leave it starts a cascade. Because when the best, most talented, most experienced people leave it makes the working environment worse. A big aspect of job satisfaction for devs is working around other talented and capable folks, when that diminishes it creates a bigger incentive to leave. So more and more people leave, generally the people who have the easiest time finding jobs.

So talent and experience just start evaporating out of the company. And before you know it there's an enormous brain drain happening.

The thing is, this isn't obvious to people higher up until much, much later. And then it tends to manifest itself as a reduced capability to execute on projects, especially difficult ones. But almost always there's a zillion other things that one can readily blame for such things because no project is the same from cycle to cycle. And, of course, management is generally resistant to the notion that they fucked up and screwed the company over with short-sighted policies. Who would imagine that something as simple as getting rid of free soda could translate into not being able to ship on time years later? That's preposterous? But these are just the rocks in the river that the currents and eddies swirl around, they're the visible aspects of sentiment and changes that run deep and are invisible unless you're in the trenches and paying close attention.

Devs aren't a "cost center", they're the value that the entire company is built around. Treat them well and you'll be able to keep the best ones around for a long time, which is an enormous competitive advantage.
Also, from a practical perspective, most large organisations don't have a system where you can go to your manager and say 'please can I spend $X of my own money on my monitor/chair etc' and then have them buy them for you. It might work in a start-up but the infrastructure for that isn't in place in most organisations - you could bring stuff in yourself I guess but it wouldn't be insured.

Likewise, my (carefully adjusted!) chair regularly finds itself in some other part of the office when I'm not in, and if I'd paid for it myself, that would be mighty annoying.
Damn programmers.
A dazzling virtual reality rollout from New York Times
My parents bought a Beta VCR at Sears back in the 80s -- it was on sale for some reason. It was a freaking huge top-loading model (which was probably a good thing, as I had recently destroyed my dad's front-loading 8 track player with a peanut butter sandwich).

I remember watching the 'Beta' section at Blockbuster shrink until they finally sold off all of their Beta tapes for $5/pop (which was a steal back then). After a while, the thing was really only good for recording TV shows, as movies were simply unavailable for it.

When we finally "upgraded" to VHS some years later, the drop in picture quality was noticeable.
I think this is paper: http://arxiv.org/abs/1511.02793
20 Essential Blogging Tools That Will Automate Your Blogging Efforts
In regards to the find and replace, you can actually rename a variable or function by placing your cursor in it and hitting Cmd+Ctrl+E (that may not be the right shortcut, but I know there is one). No danger of changing something you didn't want to change.

As far as the file stack goes, I'm not really sure what that does; but Xcode has other navigation options, like tabs, and files can be switched with the fuzzy finder.

You are absolutely right about the instability—that's the reason I switched away from Mac/iOS development. Too many weird bugs, in Xcode and in Swift. I haven't found it too slow on an SSD but when I used an HDD the speed was horrible.

> ( it is actually faster to run in it inside VirtualBox than XCode natively ).

Is there anything special you're doing with VBox? In a Windows VM, Eclipse is mostly usable, but disk accesses (or something) have incredible latency. It makes opening a new tab take a few seconds.
German Azure DC will be owned by Deutsche Telecomto to prevent US data seizures
Nvidia 's 'mobile supercomputer' can make machines smarter
They didn't put prop 65 stickers on the product, even though the absurdly low limits of prop 65 required the warning.

That might be because they didn't test the product well enough to detect those very low levels; or because they think prop 65 is bogus; or because they just didn't realise it was a thing.

None of those are great for a food product.

(Although I agree the prop 65 labelling is so strict it becomes worthless.)
I moved to Fastmail six months ago based on their reputation. I use it for several accounts, including that sent to my own domain name. No regrets at all.
And yet it's on the front page with 18 points. Rust related links always seem to accrue a ton of upvotes on this site... there's either a huge amount of interest in it, or a bunch of people who just upvote everything Rust. Or both.
That some operating systems lie about resource commitments is no reason not to provide reasonable facilities for reacting to allocation failures. By doing so, you make it harder to write well-behaved programs for systems that don't overcommit --- besides, no system overcommits address space, so malloc can always fail.

It's true that even with reasonable allocation failure reporting on a non-overcommit system, you can use too much memory and make life unpleasant for users without actually seeing allocations fail. Bounding resource use is important regardless. That's an issue of good behavior, however. Even absent good behavior, programs should at least be robust.

One of the reasons overcommit bothers me so much is that infects programming communities with the idea that resource consumption doesn't matter, since if you use too much, you're just going to get a SIGKILL anyway.
Performance is not always the most important factor.

Also I don't know about Ruby but Python is moving really fast with PyPy.

We also have Cython. This is where I'd go when the extreme performance is needed. This way you can avoid compromising on other important factors (libraries, accumulated know-how, even syntax and development tools).

In case of NodeJS it's even more baffling.
Asosio