skysight-inc/HackerNews huggingface dataset:
You can take a look at the patch - there's very little additional complexity in either the kernel or the hypervisor. The kernel permission checks remain unmodified, with the hypervisor checks as a backup.

The argument for this isn't that the hypervisor is simpler, it's that the hypervisor is running at a separate privilege level to the rest of the stack. The hardware enforces an additional level of separation. This just adds validation on the other side of that boundary.

(Disclaimer: author of the code)
Ask HN: Why don't RDBMS have a two-way CASCADE DELETE
Question went over the character limit slightly, so I pasted it here:

http://pastebin.com/raw/J6f86KVP
Are you referring to the distance between the water that is being purified and the people who waht to use it?
Ask HN: Does anyone know of a good technical history of Machine Learning?
I'm primarily interested in the history of the concepts behind neural networks, from the origin of the concept to as near as I can get to things like Differentiable Neural Computers.

The ideal would be something that includes some info on the people involved, but which focuses on motivations at the various points where key concepts evolved.
The Art of the Motorcade
> why does it take 62KLOC of C to distribute time?

as a starting point look here: http://www.ntp.org/ntpfaq/. you can go from there to the rfc's (5905 - ntpv4) to get a more indepth look.
Regularity Properties of the Stern Enumeration of the Rationals (2008) [pdf]
Creative Gluttony
It validates on every syscall that has a permission check. If you modify your process status without forking and then make a syscall, it'll still trigger.

(disclaimer: author of this feature)
Michael Burry of The Big Short fame is investing in water. Pretty interesting article about investing in water.

http://vintagevalueinvesting.com/how-to-invest-in-water-like...
See steveklabnik's detailed answers elsewhere in this thread, but the short answer is that you can't write this data type in Rust.
I got the subtext, thanks. The role of government is to avoid unnecessary pain and disorder. Discouraging bigots and racists from hurting others is arguably also a proper role. Consider: things done in the name of racism anywhere but on the premises of their otherwise-public business could be classed a hate crime. But we want that to be ok in special places? Really?
I'm not a fan of the expansion of the concept of "fake news" to include any story a subject thinks was not fair.

There are stories that were completely made up by Estonian teenagers, with no connection to facts at all, which were widely republished and shared. That's the "fake news" problem.

The problem of journalists misrepresenting a company (either by mistake or on purpose) is as old as the hills. It was as true back when the media was widely trusted, as it is now.
I think SPAs make sense for a very limited set of applications. I worked on Grooveshark, which was an SPA by necessity - you don't want page refreshes breaking music playback. We had to do an insane amount of work to get initial load times down, and it was never as fast as we wanted it to be. Some things about an SPA were nice, your server side code can be very fast and very simple and scalable when you can rely on the client side to maintain state for example, but with that comes a lot of fragility and ultimately, a lot more work.

Working on a SPA can be lots of fun, so I'd consider it for a hobby project, but I wouldn't go the SPA route for a production app unless there were some very compelling reasons to do so.
4k makes an appreciable improvement on 15" screens, on 13" screens it's much more questionable, but OSX handles HiDPI well enough that I appreciate it
Here's an idea:

Build out massive solar and wind power capacity and create electricity for the grid. Use specially designed desalination plants which operate well at low utilization and significant swings in production to smooth out the peaks in the solar / wind production curves. Excess power is converted into clean water. Water seems like a reasonably good place to "store" the value of the energy you just created. Furthermore, what is the value of having a somewhat more predictable power supply from solar and wind resources?
Can you share more about how your radio station bot worked? I'm curious what made these scenarios so successful for you?
It is a great point and I did struggle with it. I think if you want to be pessimistic about stock options you can just assume the value to be low or nothing. The site attempts to give you a cautious but optimistic view of what could happen if things go well. This was based on my own personal experience, experience of friends and openly available data on how the rounds normally go.

My perspective when making the site is that companies will often be too optimistic about options even when the company does blow up, which leads people to be misled even if the company does do extraordinary well. The site gives a realistic view of what you can expect in an optimistic scenario.

Of course very few companies every achieve this, but the idea is to at least gauge what your upside might be if a really lucky outcome happens.

If I had good statistics about what % of companies reach Series A, then Series B, then Growth it would be great to put that on the site as well but I'm not sure where I can find that...
Freedom is not worth having if you squander it by making easily avoidable mistakes, either. The point is to make mistakes that lead somewhere. I.e., mistakes that we can't yet write programs to easily prevent.

And there is no shortage of mistakes available for you to make, so don't worry about that.
Because the AV is doing it to check for malicious content being downloaded via a secure connection - content that may be exploiting security holes that have not been patched yet, or which have been patched but the user hasn't updated. It's not at all uncommon for me to be asked to look at a PC and find it has an old version of Firefox and the only user is running as a non-admin, or even more commonly to find all those nice little buttons in the system tray advising about updates to Adobe Reader, Java, and maybe a few drivers.

Many things that would take advantage of those would need to be written to disk and the AV could presumably catch them then, but how about JavaScript exploits? And how does the browser respond to writing things to disk (presumably having exclusive write access) then losing access to them?

There's a juggling act going on there, and I suspect it's a lot easier for an AV vendor to capture and review the network traffic as a single point of contact rather than trying to work with multiple browser and other software vendors to make sure that their software interoperates correctly with the AV.
That's the number one issue that comes to mind, particularly for government work.
Even if all your code resides on the backend, there's no reason why you can't maintain a similar separation between front end/display logic, and backend logic where data can be passed between the two layers but neither makes assumptions about the other.
I'm an American of Swiss extraction who studied in Germany, and Germans would even say that different parts of their own country have different cultures and that Switzerland is most definitely not the same as Germany.
It's bad.

Ending it is necessary and possibly sufficient for Internet ads to stop being awful for both advertiser and publisher.

(I've worked in the space buy-side)
Rather missing the point that we've replaced much native software with thin clients running JS in a browser or pretending to be an app. Whether it needs to be or not.

For many reasons - multi device support, convenience, data harvesting, lock in. Performance isn't something we generally get now everything becomes network constrained rather than CPU or IO.

So yeah it's being fixed because it has to be, because it's a terrible experience in comparison. I don't deny that often the convenience far outweighs the loss of performance and latency.

You can't avoid the fact it's heavily skewed the market against those needing native power on the desktop. If you're doing things that need that, the last 5 years have been rather underwhelming progress wise.
No more spaces:

typedef unsigned char uchar;
DECLARE_AND_IMPLEMENT_ARRAY_API(uchar)
A lot less than you'd think. And we've known this since the 1970s

https://scholar.google.com/citations?view_op=view_citation&h...
I think it's time to stop taking jobs with firewalls like this.
My understanding is that Wealthfront is quite expensive. What is your experience? Do you think you'd be better off simply splitting it into 50% index equities and 50% treasuries?
I'm aware.

I note that Firefox is using some Rust code now - so perhaps that will change at some point, for at least one of the common JavaScript implementations, in the not too distant future. I don't imagine we'll see it for the majority within the decade - but who knows, maybe I'll be pleasantly surprised.

I have less hope for the widespread adoption of OS kernels written in safer languages - given the general unwillingness to even use C++ there (although plenty of toy/'research' kernels in safer languages do exist.) Although maybe we'll see one within the next century? Perhaps a microkernel for use in containers?

Of course, that still leaves bugs in the JITs, compilers, hardware, 'legacy' native interop, unsafe{} blocks, ...
And I get the impression that Apple has been doing a shit ton of that over the years...
Show/Hide Pivot Items of Pivot Field & Resize List Object or Table in Worksheet
https://wikileaks.org/podesta-emails/emailid/10587

"The rumor was not that ODNI had completed the review and determined only one was not TS and the other was, but rather that they had only reached a definitive conclusion on the one (we think the North Korea email that supposedly relied on satellite imagery) and were still deciding on the other."
Thanks for posting this! I remember seeing Sun Ra with June Tyson and John Gilmore sometime in the 70s performing Space is the Place. Never knew there was a movie.
<@SirCmpwn> .s album:"Rebirth Story"
<wormy> 1. b3d086 Under cloud by NAGI feat. 美歌 from Rebirth Story II
<wormy> 2. 012991 BRIGHTEST WAY by Maurits"禅"Cornelis feat. Vivienne from Rebirth Story II
<wormy> 3. d0c866 SINK by NAGI from Rebirth Story II [...50 more]
<@SirCmpwn> .qall album:"Rebirth Story"
<wormy> Queued all related songs!
<@SirCmpwn> .l
<wormy> 2 listeners, including SirCmpwn, minus
<@SirCmpwn> .q
<wormy> 1. 002388 Adieu (long version) by Emily Bindiger from Cowboy Bebop - Limited Edition Boxset CD3
<wormy> 2. b3d086 Under cloud by NAGI feat. 美歌 from Rebirth Story II
<wormy> 3. 012991 BRIGHTEST WAY by Maurits"禅"Cornelis feat. Vivienne from Rebirth Story II [...51 more]

Also helping its success is a nice API, but mostly it's used via the IRC bot.
I agree that the real solution is that there has to be a pay model that works. I don't want to pay $99 per year for every newspaper site I might visit, but I would pay $99 per year for some consolidated and trustworthy news source that gathered the news I needed from the places I need it.

There has to be better content tools rather than better ad tools.

Paying zero dollars for news and content is a failed experiment.
From an insurance perspective, storms are very expensive. Especially if they come with more frequent and stronger damaging winds, hail, tornadoes, landslides, and flooding.

It would be interesting to see some analysis of the financial cost compared to the ecological impact/financial benefits in a drought stricken climate.
Looking for mobile iOS interns as well, by any chance?
The Brain on NLP and Why Is NLP So Essential to HR?
Faraday Future, an electric carmaker on the brink of collapse
I think something like this actually happened with one of the first scheme implementations, but that was because they wrote the GC in scheme so they had to do it that way for a very small subset of the system (is the GC code). But yeah other than that I can't think of any examples (and my example is kind of the exception that proves the rule).
Don't use a SPA if you intend to get a lot of mobile traffic and/or all your site does is render articles or other text-based content.
I used to not care until I stopped using workstations and desktop replacements, 2.5mm doesn't feel like much until you switch from one to the other and it fits in your hands that much better when you're moving with it. That was one of my favorite things about the Spectre
There's a lower limit determined by pixel size, and a lower limit determined by the angular size of the letters as seen by the user. For me, at least, the two are about the same on a 1080p 15" screen. A little more resolution (1440p maybe) could be useful but even that's past the point of diminishing returns.
No. And I'm not sure I get your point. Individual users, in the context of my comment, don't get a choice... They may well have influence at some point... But it's not a technical preference at login or on ongoing debate.

Now I've seen plenty of corporate tech management make those decisions on behalf of their user communities as well as vendors providing offerings to those same corporate institutions/managers which make that choice.
>Other people could say "Its not the airlens job to incentivize eating breakfast when so many people don't any more".

Except that most people want breakfast after a night's sleep.
> The attraction about joining these companies a few years before probable IPO is you have not insignificant potential to increase your income above the average tech worker income level.

I would argue that it is more about having the power to make a big difference (however cliche that sounds) and working on new projects (as opposed to maintaining code)
I've had it and finally switched to a MBP over it, it breaks everywhere
California Tests Electronic Database for End-Of-Life Wishes
Chinese Philosopher Kings, Losing Their Yuan FX Religion?
We seem to be talking past each other. I created a bit of sample code ot show exactly what I'm talking about, it's at https://gist.github.com/kbenson/fbc585d6a6144a2a9f1ef340b913....

The basic idea is that sometimes you might want a pointer to an array item, if that item is complex, not just a copy of it, as there's no need to be wasteful if it's a fairly large struct. Any pointers to that array might be invalidated if realloc is called on it. Knowing exactly when that happens means you can note that it might be invalid, and do something about it, but if it can happen any time you add items to the array, that means you need to check for whether it was reallocated every time, or assume it's always invalidated whenever you push an item on the array.

In the example here, I'm determining the struct with the smallest num field. As I keep allocating space to the array (which I'm doing explicitly here), I'm doing the incorrect thing, which is assuming I can continue to use the pointer, which may no longer be valid and just checking if any of the new items are smaller than the existing smallest. I should be recomputing from scratch. It's obvious when I'm calling realloc, but if I was just pushing new items to the array, it would not be obvious at what point it reallocated to a new location in memory unless I specifically checked.

What's happened in that case is we've traded the complexity of explicitly controlling memory allocation of arrays for the complexity of either not allowing pointers to array items or having to keep track of the array location with a separate pointer and checking that they are still the same prior to using any pointers to array items we've stored.
Table compares 90 hacker-friendly single board computers
Even google's ads are garbage, and google should be able to read my mind by now. The closest they ever come to showing me something I might want is the occasional ad for something I recently did buy. Swing and a miss.
C++ FFI will likely be difficult given that unlike C, C++ lacks a stable ABI since the standard doesn't define an ABI, and leaves it up to compilers to implement.
Robinhood Stock API
And I am not sure how this became the top comment.

What? The very first point is discovery (which is fair) which just smoothly melds into discovery ON FACEBOOK? So we just assume bot discovery is best handed off to FB/GOOG/ etc?

So now FB, in addition to being the de facto destination where your personal data goes to be exploited, is also supposed to "get their shit together" to enable even more of the data collection?

Have you noticed how nobody from FB has actually ever engaged with anyone on HN around the ethical issues surrounding any of their practices?

Your last point is about how everyone involved in bots seem to assume we already know how bots should work. You make the same assumption about who should lead this effort. I would rather the bot technology takes longer to pan out than see a world where the giant corporations are also the sole operators of the bot marketplaces.
Why does 90% of this huge comments section revolve around Rust? Haven't we had enough of the same already? Yes, we know it provides memory safety guarantees. Yes we know you hate everything written in C with great passion. This has been made apparent and banged on our heads for the past several dog-years. Did anyone bother to look at the sheer amount of refactoring the author & team did? Did anyone realize how difficult this is and what they might learn from this tarrasquesque ordeal they went through? Oh no, apparently it is C and logic mandates that Rust supercedes it so why.the.hell.bother.
Ask HN: Who is firing? (January 2017)
Post companies that are having layoffs, mass firings, unusual churn, etc. If possible, please identify the company or as much specifics so you can help others in the community.

Previous thread:
https://news.ycombinator.com/item?id=13081362
My guess is that if they make a general purpose programming AI then all other jobs will also be nonexistent besides being famous and doing YouTube reviews of movies. My thought is that the problems in the way of AI programming are more difficult and can be generalised to enough other jobs that programming is going to be the last job automated.
Ram hotplug is a standard linux kernel feature (obviously one that requires hardware support...)
To be fair... you could've said the same thing about solar 15 years ago: 20-30 year unsubsidized payback, with energy that is the same as industrially-produced energy.
We don't need an ad tech renaissance. We need to burn it to the fucking ground.
Before the GRIZZLY STEPPE report I found myself asking where the proof for the insinuations of a Russian hack to influence the US elections was. I still ask that question after the report was released. I find it completely plausible. However, given the turbulence and hyper-partisanship of this election cycle, I need a bit more than 'It was the Russians because we say so'.
MagSafe is patented by Apple. HyperMac (the company behind this) used to sell the only external battery back that used a MagSafe cable. They got sued by Apple and stopped. I highly doubt they'd make that mistake twice.
SpaceVim – Like Spacemacs, but for Vim
Are you planning to create an API for automated billing?
I'll be using QBasic to teach my kids programming. They both got Raspberry Pis for Christmas, which I preloaded with DosBox. This was always Plan A, but this article made me stop looking for a Plan B: http://www.nicolasbize.com/blog/30-years-later-qbasic-is-sti...
I have an older, refurbished elitebook that I picked up for about $140. It's fantastic. It has a removeable battery and the tool-less backplate. Every component inside can be serviced easily with plain old mini screwdrivers.

The best feature is the hinges. I've had several other laptops over the years that I had to abandon because the hinges seized up and the attachment to the screen was so weak that eventually I opened the laptop and busted the screen. I don't see that ever happening with this elitebook.
> I wouldn't be surprised if Rust has mechanisms to chop up arrays in the way I describe and enforce the bounds you provide it

[T]::split_at is probably what you're looking for.

Almost all array handling in Rust is done through slice types which are tagged with sizes.
Would you care to point to or write a blog about the principles of this strategy? It sounds immensely useful to the many C developers out there as a potential set of best practices to adopt.
Even HP Pavilions (used to) have the option, flat or raised based on cell count
German court threatens journo with jail for report on deadly research misconduct
Open source at Microsoft: Interactive tag cloud of all their GitHub orgs/repos
I was a recruiter during the 2008 bust. That was not a good time to be the person hired to hire people :) I have a few random bits of advice, that mostly boil down to have a sense of urgency, and take what you can get:

* if you need a job, and you've got exactly one crappy offer in front of you, take it, as you can take a better job if one comes along, and it's not in your responsibility to create a compensation package that is attractive enough to retain you

* when interviewing, if you can get an interview, pay extra attention to what the employer really wants & speak to that, as they may have a ridiculous number of candidates to choose from, so you need to be as relevant as possible

* if you see a job for which you're a fit, don't wait to apply to it (I posted a job ad in March of 2009 for a generalist software engineer in CA, and within an hour I had received 65 applications, most of which were qualified candidates with experience, and the person hired was in that batch & is still with the company)

* don't talk about how crazy things are out there with a potential employer, as you don't need/want to remind that employer that you're one of many choices available

* have some marketable skills in your toolset, just in case that fun-but-niche language doesn't map to any job openings for which you'd like to apply

* interview with companies you'd like to join when you don't need another job, even if it's just opening the door with a phone interview, as a warm relationship is easier to call when you need a job than a cold one
Does anyone know how the train compares to ships wrt CO2/kg shipped? I'm sure the train comes out on top, but by how much?

Also, how frequently could one of those trains run?
You’re comparing a 150 ppi (2 megapixel) 1080p display to a 300 ppi (8 megapixel) 2160p display. Many of us agree that displays in the 100–150 ppi range are noticeably pixelated at typical laptop viewing distance.

But you should be comparing to a ~200–230 ppi (4–5 megapixel) display, which at laptop viewing distances (let’s say 24 inches) is just about at the limits of human perception. Dense enough to not be worth the hit to performance/cost/battery to bother going much denser. The Apple 15 inch “retina” display is 220 ppi, 2880 x 1800 pixels. (That’s the analog of 1620p but at a 16:10 rather than 16:9 aspect ratio.) The Apple 13 inch display is 227 ppi, 2560 x 1600 pixels, the 16:10 analog of 1440p.

[Note: corrected Apple laptop pixel count.]
What do you mean by "they are nowhere near C or C++ where it matters to [you]"? Specifically with Rust (because I already know why Go isn't necessarily a good replacement for C or C++). I know very little about D, one of the few things I know is that it is compatible with C++, which is neat, but that's surely not a concern when talking about C.