skysight-inc/HackerNews huggingface dataset:
In practice, probably not.

In theory, there's no reason one couldn't compile a linked list in source to a flat array at runtime if the access pattern was right (and linear types should make that kind of optimization a lot more practical. This might even be something one could implement "in userspace" in a language with linear types - like a safe version of an iterator. Certainly I'd be excited to try - I'm not claiming this is immediately production-quality). Or one could ask where the string is coming from in the first place, and trust some kind of fusion-style optimization to remove the intermediate datastructure entirely at runtime.

Peeling off the front 8 or 16 elements should be no harder than peeling off the front 1, though naively you might have to handle each partial case from 1 to 15.
I hope Thunderbird lives on for a long time, but in the FOSS world, one should never depend on a single piece of software for their day-to-day functionality, thus here are some alternatives:

https://alternativeto.net/software/mozilla-thunderbird/?lice...

You must also keep in mind that desktop mail-clients make the (otherwise) complicated PGP-encryption of emails a bit more user-friendly.
Ask HN: Where can under-priviledged students learn to program online for free?
Hey folks-

I am putting together a list of websites that can be used to learn / teach / practice coding — or more broadly computer science concepts — with a hands-on approach. Do you have any suggestions?

The goal of this is to find the best websites that can be used to help provide resources to middle / high school students who may have access to a computer, but can't afford to own one themselves.

My main interest is to find sites that are free, approachable, allow someone to create an account to store work / keep track of progress. The site also doesn't necessarily have to use a standard programming language. All alternatives welcome!

So far I have focused on sites that tend towards graphics, since that may be a compelling hook for younger students, but would love to hear as many suggestions as possible. Thanks!

Some example sites:

https://www.shadertoy.com

http://glslsandbox.com

https://www.codecademy.com/learn

https://www.openprocessing.org

http://codepen.io
Yeah I'm really wondering how they got to this point, weeks away from release, and suddenly everyone realizes that Java modules have serious technical issues. Smells like 100% politics.
I have little idea about cars (Java), but in carpet land (JS): we had the largest module ecosystem ever and it was pretty much ignored by TC39 in favor of a new solution, which has technical benefits (it's async), but there's no migration path from the current standard to the new anointed 'standard'. Sometimes technical committees just refuse to pave cowpaths. Look at the amount of lines it takes to do an XHR in the 'fetch' API vs superagent in, say, 2012.
Interestingly, I feel like this situation has some advantages over "non-shitty" work. The pros you mentioned are cool, it's nice to know tomorrow's meal is not at risk, and that's certainly not the kind of worry I want to have again.

But there's another hidden message in there. Monopolies with old tech, and no vision are industries potentially ripe for disruption. I bet if you look hard enough, you might find a need that translates into a start up.
If you're thinking of dabbling into Erlang and may be put off by the syntax, try Elixir. Beautiful, actively evolving language with a healthy community. Compiles directly into Erlang bytecode. You can even still call any native Erlang libraries if you happen to need that.

A short review [1] of Elixir from Joe Armstrong, author of Erlang. This is from 2013, and the language has evolved quite a bit since then.

[1] http://joearms.github.io/2013/05/31/a-week-with-elixir.html
A cryptocurrency implementation in less than 1500 lines of code
Ouch, that would be very useful to me had I known about it two months ago, when I was exploring the database dump from my old Wordpress blog (I'm finalizing the process of re-launching it as a static site). I managed though, by combination of MySQL Workbench and Common Lisp REPL.

Anyway, bookmarking for the next time I'll need to play with relational data.
Why Red Hat voted no: https://developer.jboss.org/blogs/scott.stark/2017/04/14/cri...
I think ill do the same. But i like the girl
ZONING.
Everyone does. Mortgage, property tax, etc deductions can significantly lower your tax basis.
I think you forgot the /s

Seriously. The global financial crisis of 2007-08 wasn't that long ago...
On 2017-05-03 Red Hat voted No with the following comment:
Red Hat is voting NO on this JSR. The Red Hat middleware team, other members of the EC and Java community members, have mentioned publicly and in more detail our concerns (here
https://developer.jboss.org/blogs/scott.stark/2017/04/14/cri... and here
https://developer.jboss.org/servlet/JiveServlet/download/38-...). We have also discussed with our own OpenJDK team, which made good counter arguments to several of the concerns, but in the end we believe a NO vote is the correct course of action. In previous votes and comments on the EG list we have articulated the view that from a middleware/SE developer perspective we believe that Jigsaw does not fulfil its original goals of being a module system which can be used by the likes of Java EE. We understand that after inception the original goals of the EG were initially changed to try to focus it on a module system to be used solely to modularise the JVM and that caused some architecture and implementation approaches which made it difficult for it to be a module system to be used by SE and EE developers. Unfortunately during the lifetime of the EG the goal appeared to switch back to trying to make it a module system for Java developers but previous implementation decisions appear not to have been revisited or could not be changed and as a result the expectations around Jigsaw have not been met by the implementation. Therefore, we are worried about the impact of the current implementation on the wider Java community, particularly existing projects and products including, but also beyond, Java EE. We have raised several issues within the EG list to try to rectify a few of these things in what we believe would have been a minimally invasive manner but they have been rejected. Furthermore, we believe that there has been insufficient consensus in the EG for a series of changes so dramatic to the JVM and which could have an equally dramatic impact on the Java communities, as well as a lack of openness on receiving and discussing community input. We believe that a more considered evaluation of all input and consensus gathering should not take too much time and would result in something which would be better received by the entire Java ecosystem.
As a proposed legislative solution to this. Limit the resolution of prices consumers face. E.G. Only allow the price to change at 2AM daily.
Look into FHA loans. You can have a pretty low down payment.
You've never had incompetent coworkers? You've never worked at a megacorp where it was basically impossible to get fired? One of the things you could've done for your group projects is be the manager yourself. Assign tasks and divvy up the work load based on skill/knowledge. Obviously, don't give the doofus anything challenging. 99% of the time people are willing to do whatever they're explicitly instructed to do. Track assigned tasks and completion. If someone doesn't pull their weight, don't put their name on the finished project and turn in the assignment tracking with the project to explain why their name was removed.
Nothing to do with insurance or VC. Think of a consumer service at Walmart or Home Depot, helping people get very competitive services at prices to fit people's need.

Yes, travel is not a total solution for all 300 million people, but think along the lines of many packaged tour companies in cities who cater for international travellers and can arrange such facilities very efficiently. (I once had dental work done in India, and people don't realize how easy it is, the same kind of thing that you get here.)
Hmm looks nice but last commit was 8 months ago
https://github.com/electroly/sqlnotebook
Looks fun
Wha? Ableton has great built-in effects and Sampler + Operator are fantastic instruments. Some of my favorite producers use almost exclusively built-ins. You can get really far with just a few stacked Operators + saturator + erosion + overdrive + multiband dynamics.

All I've felt the need for so far is a better limiter (you can't really push Ableton's) and a multi-band distortion plugin.
Yes... also, when people started talking about an Echo device that could allow phone calls to happen I sent them an e-mail asking if we could have early access to develop our skill using the new device capabilities and asking if they had a beta program, their only response was: we don't comment on rumors.

Silly me.
Why is it somehow bad that people who are investing their money in the place where they live - thus becoming more responsible citizens than renters who can just pack up and leave - are getting a small bonus for it?
This is motivating me to do more work on my chumby clone project I've been putting on the back burner.
Are IBM and RedHat just against Jigsaw because of commercial interests in JBoss Modules and OSGI?

It's been a while since I touched JBoss, but at one time they had gone wholesale for OSGI as their module system (replacing their old homegrown system built on JMX). Have they since replaced OSGI with something else?
Windows only is a shame, nearly all devs I know use OSX or linux.
The actual code is the check on the tests. They cover each other, acting as though they are and there is some infinite recursion dishonest.

Tests do have a maintenance cost, but it is much lower than the maintenance cost of code without tests. Without manual tests if there a bug it must be caught manually, this costs human time every time the tests are run. That also presumes the humans do the tests correctly, have a new team, QA person out sick, what is the cost now?

The cost of not having tests is bugs in production. If I write code and there a bug that impacts production many millions of dollars are on the line, and this is true for many developers. Write software for any airplane? Crashes can causes crashes so they are dangerous and expensive. How about something more common, Write software software for an online store? If the shopping cart drops 1 in 1000 items that is a huge amount of money, not just because of lost sales, but also angry customers. You will want to run the tests at least a few thousands times to catch that, a human won't do this, an automated unit test suite is shell script and VM away from doing that.

Automated tests don't make this impossible but it reduces the amount of bugs that can make it through. If a test costs 10 hours of developer time at $500/hour and stop one bug that would have alienated 1% of customers. Then there would only need to be 500,000 customers worth $1 each. Clearly these numbers have insanely inflated costs, yet they still make sense for many businesses. And this is only accounting for one bug. Finding that bug did not consume the test, it is still ready for more. A good test can many bugs and last many years.
Doesn't buying plane tickets in advance let airlines plan capacity better?
I'm pretty sure there are a bunch of applications ("skills") out there already that do the first one in your list.

Third idea is really interesting though, maybe calling the emergency services could be good in that situation too
Over 200 terabytes of the government web archived
To be frank, I find the supposition that you are deceitful much easier to believe than the idea that Human Rights Watch is conspiring to give Islam/Saudia Arabia a bad name.

Given that Saudi Arabia doesn't even have a criminal code at all, of course they make statements like that. Judges simply enforce (their idea of) islam, rather than any legal code. There is no rulebook like in pretty much every other country on the planet. So judicial randomness is the norm, rather than the exception (and of course, one might even say this is not the fault of the judges, as they don't make the law, this is the fault of the government refusing to govern).
The biggest concerns are the lack of thought put into build tooling and breakage of existing code. Jigsaw as it is now seems to have been primarily designed to split the JDK up and was pushed into a language-wide module system without enough thought put into the requirements for such functionality.

I don't think anyone is against JPMS solely because they prefer OSGI, etc., but because it can require dramatic changes to the way these systems work (if it can even keep them working at all).

Java 9 will likely ship with Jigsaw in some fashion, at worst it will be limited to the core JRE/JDK libraries themselves.
I'm in the same situation and decided yesterday that it is time to take the risk and do what will make me happy: go back to school. I managed to save quite a bit in my 3.5 years working at my current job so I'll be fine with the reduced income that we'll have moving back to a smaller city. After you've saved enough (which is hard to determine), pull the chord. You'll feel much better.
Disclaimer: my view on having a 'job' is probably very different than normal. I don't buy into the your work is your life mentality that seems to be prevalent in the US. It may have something to do with the fact that I only recently (about 4 years ago) got my first corporate job, I had multiple companies before that.

Compared to running your own business, having a corporate job is nothing. I can easily do the same work I used to do in a day and spread it out over a week. Make use of the fact that you can make lots of $$$ to save a lot and spend mental energy on side projects or hobbies. My side project for the last 2 years has been mostly raising kids but it may be an app or something else you work on the side. Instead of trying to 'climb up the corporate ladder' just try and leech as much money as possible while keeping your well being. Now that last part is important because if the job is stressful and you don't have the mental energy to do anything else than it's a no go.

But if it's chill, you get a long with your coworkers and the hours are normal and allow you for working on side projects, why not ride it out and maximize the $$$ return for that one day you decide to start a company/buy a house/start a family/whatever.
Socket.io 2.0.0
I know they've recently introduced Alexa to the Fire TV, which is a Chromecast-esque dongle that connects to a TV. So they kinda already have that. This seems more like a tablet with bigger speakers?
I think I remember hearing something on Planet Money on if the MID was reformed or eliminated that house prices would drop basically across the board as an adjustment to that tax code change.

Certain homeowners with a mortgage could, almost overnight, go underwater with their home and on the other end homes could become more affordable under a smaller price point.
"Defense" is the largest chunk save social security payouts, and it's the only thing Trump's budget suggests gets increased spending. So many of our problems could be fixed by cutting that in half, hell we'd be better defended giving that money to our "enemies" for infrastructure. And the only way it ends up being worthwhile spent on "defense" is a war.
can somebody provide a bit of background? I was looking forward to JDK 9 modules, but i didn't spent much time reading into it. I am quite surprised that it was voted down, since i think introducing modules is a step in the right direction. Also, judging from the comments, it seems that there will be a second vote?
Here's the economist perspective:

Above all, it is inefficient. By subsidizing bigger, more expensive houses, the policy misallocates scarce savings away from productive investments that raise living standards through income- and job-creating innovations. It also makes our financial system more vulnerable: as we wrote in an earlier post, it encourages people to take on risks – in the form of large, subsidized mortgages – that they are not equipped to bear. In the recent crisis, risky mortgage debt was sufficient to put the entire financial system at risk.

http://www.moneyandbanking.com/commentary/2015/6/3/why-the-m...
​Snowden praises open source for protecting privacy
So this article advocates for the removal of the mortgage interest tax deduction, because subsidizing home ownership leads to a larger economic divide between owners and renters. As a renter, I appreciate the intent, and I also appreciate any measure to simplify the tax code. That said, I also see compelling arguments in the deduction's favor. The sad truth is that most Americans are terrible at saving and in very poor shape for retirement[1]. And empirically, a home mortgage is perhaps the most successful mass-market forced-savings program in American society today, with much higher participation than tax-deferred retirement accounts[2]. So I see the advantage of tax policies that encourage people to buy their home.

[1] Time to get on my customary soapbox: spend less, save more! You'll be happier today, and much happier in the future.

[2] Back on the soapbox: If you're an American making a professional salary, have no debt and are not maxing out your IRA and 401(k) contributions, there will be a moment in your future when you do the retrospective calculation on how much more money you would have if you had done so and be very sad. :) Minimize regret, and save more today!
Please provide proof to back up your claim that this makes them "more responsible citizens".
I actually disagree with the real title. People of all socioeconomic classes use these privacy-encroaching apps -- Facebook, Unroll.me, etc.
> However I feel that front end developer has a clear advantage in that their work can be played with, viewed and commented on by non technical managers and product owners.

The downside of this is that you get a lot more "can you add this or change that? Should be easy :-)". Non-technical folks think that because they can see frontend work they know more about it.

Maybe I've had bad experiences but I consider the fact that the backend's work can't be easily seen by the business people an advantage.
Yes. It's a formal doc that models information following between different actors separated by security boundaries
A novel approach to neural machine translation
They are in the most lucrative advertising business: finance. Every time my credit card fee pops up on my account, they show an ad for credit cards with no fee. Insurance, investing, loans, etc, etc. All of the most expensive adwords on Google and they have treasure trove of data on it.

Since I strongly suspect that data's going to get sold by my bank, credit card company, insurance broker, loan provider and so on, the convenience of mint outweighs its disadvantages to me.
This is potentially about more than weight gain. The DNA-PK-mediated pathway they've discovered looks an awful lot like something you'd design to control senescence.

The DNA-PK inhibitor used, NU7441, is orally active and the press release even calls it drug-like. The human-equivalent dose based on bodyweight is about 3g/day (three pills worth). The actual HED is probably smaller. Currently very expensive.[1]

1 http://www.selleckchem.com/products/nu7441.html
Call/message anyone with the alexa call app? Won't get out of the gate
> As abused as they are, internet users need to build up some healthy "buyer beware" instincts around the tradeoffs

Not having access to what its done with your personal information is one of the things that prevent such an instict from being developed.
Incredible.

This blogger indeed uses a dizzying amount of graphs, but doesn't mention until the end that he has built his entire argument on the assumption that Americans "choose" to spend their higher income on health care.
Yes, but those are Alexa interactions. I would not necessarily read that as including audio or voice messages to another human where Amazon is not expected to interpret or understand what you're saying, but rather to pass along the voice/video as a carrier.

Then again, you could read it that way. And Amazon might. This needs clarification.
Emergency Reportedly Declared at U.S. Nuclear Weapon Production Site
I don't really have a list handy so I might have to keep looking to find something that meets the "great" bar (again -- I'm not a hardcore fan, I mere think it's reasonably decent), but for example check out the page on I/O Concepts [1] and the sub-pages (such as "Synchronous and Asynchronous I/O").

Does the POSIX documentation have anything like it? I don't recall so remind me if it does.

https://msdn.microsoft.com/en-us/library/windows/desktop/aa3...
20 ways to soothe your public speaking jitters
Thanks for the suggestion, but I don't think "low" applies to anything housing related in San Francisco. And yes there are cheaper locations, but at that point I might as well move back to Slovenia and buy a gigantic luxury condo for 300k.
Indeed. As a classically-trained musician, watching Joel's class on Masterclass and seeing him compose melodies by dragging notes around in Ableton until they "sound right to him" was eye-opening.
Exactly. Be assured tho that you are just barely scratching the surface :-). Sign up above if you haven't, it will be dope.
Automating and Scaling Account Health Monitoring
What do you mean by cars and carpet?
paper: https://s3.amazonaws.com/fairseq/papers/convolutional-sequen...

code: https://github.com/facebookresearch/fairseq

pre-trained models: https://github.com/facebookresearch/fairseq#evaluating-pre-t...
I dont believe you are taking into consideration appreciate and long term savings/planning. If you pay your home off in 15 years, then you also only have to worry about maintenance and taxes. If it appreciates greatly when it comes to retire you can move to a more affordable area and take the rest of your appreciation with you for the nest egg.
You still have to pay insurance on the mortgage with those though.
That's because people are mostly going to be able to use it, there isn't anything interesting to say about it.

To the extent it factors into the monthly payment people can make, it impacts all the things you list.
Any itemized deductions have to add up and pass the standard deduction. Thats normal, but they add up.

With that said, as a lot of people said, in high cost areas, it goes really quick, especially if you add municipal taxes which can also be deducted. So if you have 500 bucks a month in municipal taxes (which is kind of low in high cost areas), you're already halfway there. Add the interests (often half of your mortgage payments), and you're well beyond.

If you're in an area with million dollar houses being quite common (we are talking about the rich poor gap after all), you're talking about a 30-40k deduction easy, and even more for super rich.

One thing beyond that (any accountant in the crowd correct me if I'm wrong), the mortgage interest deduction for your primary residence is special in that it is one of the deductions that can be applied to AMT. So again, it helps the ultra rich.

I'm no 1%, but I am affected by AMT, and my place is in a high cost area, and this tax deduction is the only thing saving me from crapping my pants every year when I file my taxes.
This cybernetic synth contains a brain grown from the inventor’s cells
Yes indeed its interesting
It's not like destructors actually remove the complexity. The extra function call you need to add to replace the destructor is already present in your program; it's merely hidden from view. If you are trying to verify the code you have written (either informally or formally) and want to consider all paths through the program, then you need to include the invisible control-flow created by the compiler for destructors. I don't see how it gets any simpler by not being written in your program.