skysight-inc/HackerNews huggingface dataset:
When me and my friends were participating in a contest, half of the program's chrashes were because of wrongly passing arguments to another function. Reversing their order for example. I know, that's just plain stupid, but it has happend multiple times ;)

So I set out to make a library that makes type checking just a little bit easier. I hope that next time we take part in that competition, this will save us some time

What do you think of it?
It seems to me that the labour market issues we face would exist regardless of how many immigrants are let in. In the long term jobs are at risk from automation. We have fewer middle income people who can afford or are willing to pay high income tax rates.
An official solution would be great, but in the meantime there was a thread last year with lots of options:

https://news.ycombinator.com/item?id=8706496
I'm the author of the article.

> I couldn't help reading the emphasized "types" in "optional types" as a yell for the Typescript developers to come back.

Not sure what you mean, but I definitely didn't have TypeScript in mind. I emphasized "optional" in "optional types" in the bulletpoint where I'm talking about "getting out of your way", and "type" in the next bulletpoint where I'm talking about structure. It was meant to be cute but evidently I failed... Sorry for the confusion.
Thanks for the explanation about preprocessors and such.

But CSS not needing comments? That's a nice thought, but it kind of becomes awkward in a large organisation with a massive development team. Like the kind you need to develop the large applications mentioned in the post title. I mean sure, it would be ideal if your CSS was so easy to read that any future developer could figure out what everything referred to in an instant. But for something like say, Facebook, or Google, or Amazon, it seems rather unlikely that someone new to the team can figure out why every single CSS rule was implemented in the way it was or where each class refers to without some sort of help. Strip out comments, and what's left? Someone walking them through the entire CSS structure of the site? A couple of days in the web inspector? An actual manual?
Does the bill really go to the family or to the jumpers assets/inheritance?
Because of this legislation I foresee non-EU companies choosing to set up a European subsidiary to take online payments. It's good for Europe and will likely apply an interesting market force on fees outside of the EU.
That's not the only downside, this basically kills the possibility of innovation. They're basically solidifying the position of MC and Visa in the market forever, and make it hard for someone else to come in.

So far the U.S. hasn't been so successful in taking the power away from these payment networks, but at least there's a chance. I could see someone like Square coming in and dominating the market with a consumer product in 5-10 years.
I see Go as a systems language and I think it was designed that way (wikipedia agrees with me here but I don't know enough about it so I'm not claiming this to be true). AFAIK it's used mostly for server / CLI stuff, where its concurrency model and speed shines.
> Does anyone know how Dart will be affected by web assembly?

WebAssembly right now is a suitable target only for C++ like languages. There is a hope that in the future WebAssembly will introduce features enabling efficient compilation of dynamic languages, but so far it's unclear when this hope is going to materialize into something more tangible than a few entries on the road map.
Your harsh judgements of Japan's trajectory make assumptions that are not evidently true (to me).

What do you mean, "problems with low fertility"? That looks a highly desirable outcome to me, a blessing in disguise.

Sure, most governments run Ponzi-like schemes and depend on "exponential growth" all around to finance themselves (pensions), but that's an economic snafu. Ultimately unsustainable in any case.

Not sure where this mentality of "more is always better" comes from. You could argue Japan would still be overpopulated even at half its current population.

Random thought: being "extremely xenophobic" seems desirable (necessary?) for such reversal process to stand a chance. Otherwise the country would be overrun by people who simply procreate more (aka race to the bottom when it comes to quality of life). Should maximum procreation trump everything else?
How good does the produced C code look though? I mean if you were on a project which required C code and you used Ooc would your co-workers immediately barf if they saw the C code you committed to the repository?

I think these sort of tools are interesting because many companies are stuck with some ancient language hurting productivity, but being able to use tools like this one can circumvent some of the problems, if only for new code as existing code will have to be maintained in C.
In Britain there are also 150 odd request stops that you have to flag the train down.
IIRC that's not true for in-person transactions in locations where EMV chips have been rolled out and merchants actually use the chip.
Automate your instagram likes
Steve Jobs School
Forbes asked readers to turn off adblockers then immediately served them malware
Saga Behind the Jostle for DotAfrica – Long March to Africa’s Digital Presence
Run through a hail of riot grade paintball which are fired at much higher velocities and contain usually a mixture of some irritating compound (pepper spray stuff) and fiberglass shards to really burn the skin and tell me how useless they are.

https://en.wikipedia.org/wiki/FN_303
Recruitment Trends to Come in 2016
Find who's buying/selling on the Ripple network
There are a lot of universities which do not require payment. I have found some of them but I want to hear other universities from you ;)
page gives 500 status
I've been a print subscriber since May 2011 and I just wanted to say that my monthly issue of Hacker Monthly has consistently been a wonderful experience. The articles, the art, everything was very enjoyable. Thanks so much for having offered this service!
I've made this comment before. I'm wondering if there are plans to replace Java with Dart or Go on the Android platform. This because of the continuing threat of lawsuits from Oracle.

It's probably impossible to replace Dalvik because you need the bytcode but maybe replacing the language might shield Google from Oracle.
How about Nim? [1] [2]

To me it is in many ways a "nicer and safer C". Sure it's not as mature as C, but what is? What it does have going for it is portability (it compiles to C so it shares C's portability), a soft real-time GC which can be manually controlled [3], generics, AST macros and much more.

1: http://nim-lang.org

2: https://github.com/nim-lang/nim

3: http://nim-lang.org/docs/gc.html#realtime-support
I would love for something like that in the US. Rewards cards are basically a legalized bribe, and the real kicker is that they're aren't even spending their own money - its the stores that pay (and us consumers in the end.)
Pay for things and they won't get shut down.. they said
I think "data driven" is meant in how all software modules are running in a kind of quasi-parallel mode: They read a bunch of "current" values, work on them, output a bunch of "next" values. Rinse and repeat.

Modern ECU software has lots of physical models in there. (I worked on a few.) Just using a few LUTs hasn't been cutting it for quite some time.
The places where the immigrants are coming from are getting richer and their birth rates are dropping so there won't be enough immigrants to grow developed nations' populations.

People will just have to learn to run countries with a stable population.
Its been time for two centuries.
If you just have one account you lose independence.
Your Ideas Matter
The antenna is part of it, but it is also the radio. A lot of the hard work of modulating the wifi signal is done in this hardware, and low-level firmware on the device.

We do have Software Defined Radios, which practically allow you to tune to a much wider range of frequencies, and speak nearly any wireless protocol though.
Are you really arguing that it's more favorable for an oppressive government to mow down protesters with machine guns than use LTL and crowed dispersal techniques just so you could rally your friends for a cause?
Man who let out home on Airbnb for new year suffers £12,000 damage
OneNote is a killer app for MS. Nothing comes close (please don't say Evernote)
FB have Facebook, messenger,whatsapp, instagram, ocutulus rift and others like parse.com. I agree Google is more sprawling but only for now
"I’m in the process of refunding all the subscribers who paid for the subscription period after 2015. It will take some time as I’m doing this by hand. If you need a refund urgently (for any reasons), drop me an email and I’ll have it processed immediately."

Which is about as nice as it gets. On top of that, you got what you paid for no?

This is not some kind of crucial service that holds your data or that you need for your day-to-day life.
* for Windows
No, but I'm afraid exactly the scenario I outlined will happen.
> Reflashing an OpenWrt device generally consists of migrating a minimal environment over to a ramdisk, rewriting the kernel and read only portions and then writing a backup of the config files to the overlay.

Yup. Which is why auto updates will probably never work well.

What if the user is running some custom software on the device and it doesn't have enough RAM to store the new compressed filesystem? These devices don't have swap.

Routers are a subset of embedded systems, which means lots of different platforms, possibly with vendor included quirks, AND then users who run their own junk on them (ahem).

Given that most manufacturers are loath to even release their uboot source (come on guys, it's a bootloader not missile launch codes) and most of the implementations I've seen are a ham fisted modification of an old revision of uboot; just enough to boot, but dragons exist in the code.

Short of an iPhone for routers moment (yes,the irony of Apple's extremely closed system is not lost on me) where some company creates a router which just revolutionizes the whole industry[1], I don't see it happening on a consumer level unless there is a legislative requirement.

[1] this won't happen because phones are fun and shiny and routers aren't. At least to your average consumer.

Also the internet is awesome. An OpenWrt founder replied to my comment! :D
Unfortunately our users can't afford fancy computers with hundreds of GB of RAM. They often need to process entire datasets on laptops with 16GB of RAM but 1TB+ GB of disk space. Of course with 200 GB of RAM with have no problem at all...

Also, as I said, the 100,000 x 1000 example is a quite optimistic one, we do have cases now with 100,000,000 x 10,000 arrays, and this is only going to increase in the months to come with the new generation of devices.
This has been used by establishments that offer paid wifi services to block portable wifi hotspots, http://qz.com/482304/the-fcc-is-cracking-down-on-companies-t...
When a free service us shut down the mantra is normally "you should have paid for it"
> but absolutely speaking it's one of the best large code-bases I had to deal with

You meant "one of the worst"?
What is an intrusive container?
The device in the photo appears to be one of these http://www.ebay.com/itm/125Khz-RFID-EM4305-Card-Reader-Write...

Edit the 125khz ones and 13Mhz ones look similar so not sure which.
Thank you Lim Cheng Soon for all the hard work. I ran the same website for well over a decade and I know how it feels when creativity drops away. Consider passing the mantle to someone else to keep the publication going (if there is any interest), I did this and I don't regret it. After an apprentice period that person could then run it by themselves. That way your baby would get another shot at life even if you yourself don't feel like it any more.
Great article! It might benefit from a comparison with Oleg's Typed tagless-final interpretations (http://okmij.org/ftp/tagless-final/course/).
How do you run the bots if you don't self-host them?
602 Gbps This May Have Been the Largest DDoS Attack in History
Right - should have mentioned it. Will update.

Of course, once I can decently compile on Linux/mono, I'd certainly want to port it. But it will probably take a few months until we reach that point.
Yes, but you see, this is not an online service, it is a publication.

You have a bit of an entitlement issue.
I write games as well (Written more than 10 games, though they are not very large at scale) and I write them in C++. Reasons being writing networking code (TCP/UDP) is much easier & efficient in C/C++ than any other language IMHO. And most of the code works across platforms.
Back in the 1990s using almost exclusively LUTs made sense due to less processing power. The Chrysler JTEC PCM has three Motorola 68HC microcontrollers working in tandem. One for fuel, one for ignition, and one that ties it all back together with other sensors.
US Wants Pakistan to act Fast fast against Pathankot attack perpetrators
WASHINGTON: The US feels that time has come for Pakistan to walk the talk on the promises it made — both in public and in private conversations — that there would be no discrimination in its action against terrorist networks and bring the perpetrators of the Pathankot attack to justice.

Amid Indian intelligence reports that groups and people within Pakistan planned and executed the strike on the Pathankot airbase, a senior state department official said Pakistan should not come out with lame excuses to shield them as has been the case with the Mumbai terrorist attack.

"They (Pakistan) have said publicly that they are going to investigate. They have said publicly that they are not going to discriminate between terrorist groups. We look to see actions to back up those words," the official added.
Cloudron Smartserver now in public beta
I can confirm that tutoring boosts scores significantly. I went to an SAT prep program that was designed specifically to help you beat the test. My score was 1680 as a freshman and 2390 as a junior.
I don't think the point is to minimze the horrific nature of ISIS, its to counter the people who use ISIS to tar 1/3 of the planet's population as irredeemably sub-human. Which is a sadly prevalent thread in immigrant debates.
Great article but in particular, love the map.
I certainly found it heartwarming and I bet the majority of people who read this did as well. Otherwise how would it be on the front page?
This is a good thing. Having the computations done once and the results stored in a LUT saves compute power and it makes the device much easier to test exhaustively. A LUT doesn't have any edge cases, it only has values, whereas computing the same results in real time might lead to result values that cause problems. A LUT simply can not return a value that isn't in it (provided you index it right...).
Aren't checks an anachronism in the US yet? I'd have thought bank transfers would have been more widely adopted in the US by now.

I tend to use my debit cards more than credit cards. I've occasionally had to make chargebacks for fraudulent use and there's been no perceptible difference between a credit card chargeback and a debit card chargeback. The bank does the job equally well no matter the type of account. It's all fairly seamless and has always been done quickly by phone.

The biggest risk I foresee is losing my wallet, not a fraudulent transaction. That's why I have two wallets with two set of cards, so I can easily failover to that wallet while replacement cards are being generated.

The only interesting event that the bank couldn't/wouldn't fix was the time when Best Buy somehow auth'd my card dozens of times in a row for a reasonably expensive laptop. They managed to reduce my available balance far, far into the negative. Obviously they were just authorizations, not final sales, so the money never actually came out of my account, but it was interesting how my bank was happy to let me go many thousands overdrawn and their fraud systems didn't kick in at all. That card was useless until the authorizations dropped off the account.
Every Instagram data point to track (with examples)
Benefits of credit cards : you can get ~2% back on all purchases, you get a free minimum 20 day loan so your cash is not affected immediately, and if there is fraud, you don't lose any cash. Also, has insurance and foreign exchange fee benefits.

Debit cards: if it gets compromised, you start losing cash out of your account

I don't see why it is in anyone's benefit to use a debit card, unless they lack self control.
The EFF can be a lot more constructive if it didn't spend its time, separating the reasons for censorship from the consequences of censorship, and acting as if the relationship between the two is non-existent.

All the EFF ends up doing is sounding like a propaganda wing of the state department.

There is a reason Obama has to meet with the Tech Industry to talk about the spread of ISIS and other forms of lunacy on the networks. There is a real need for control rods. And our tools are useless. That's the reality.
The other reason is to make the device work in a deterministic manner.
Courselib online courses
Nitpick, but I don't think you could still talk about an improvised explosive device at that point.
Pretty much every European country has their own incompatible, cheap debit card system. The problem is that they are incompatible, and often difficult to access for outsiders (non-permanent residents). As a contractor, I've be in large company cafeterias where the only payment option was such a card (getting by by handing cash to one of the employees I'm working with, high friction and not very professional).

In the US, when I was an exchange student in the late 90s, I could pay with my local banks ATM card (so, a debit card) in the local supermarket. I can't remember how far that network extended, but it certainly existed.

The reason credit cards are a thing is because processing payments between a global set of debitors and a global set of creditors, instantly and securely (and yes, despite various problems and shortcomings, on the margin, it's very safe), is a pretty hard problem, much more so 20-30 years ago when the current systems came of age. The credit part is necessary because until recently, the technology simply didn't allow for online processing of payments, all the way from the debitors bank account. The payment would clear against your credit, the expectation that you're good for it, not actual cash in your account.

Running such a network is complicated, thus the fees.

In the past 5 or so years, both Visa and MasterCard have introduced proper debit cards, that is, card where payments are instantly processed against your bank account balance. This is still complicated, but essentially a new, much simpler and more modern network, and thus fees are much lower. Despite the security of the legacy network, this is safer yet, which is good for both merchants and bank (and, indirectly, consumers, though arguments can be made over whether the lower fees outweigh the cost of taking on a higher liability).

I expect expensive credit cards to largely go away, if not by regulation, then competition, and be replaced by debit cards and decoupled credit products and travel-benefits/insurance products. On the margin, the vast majority of users will (and economically should) prefer to save ~2% on their spending to earning airline miles.
I'm far from being an expert in Go or know the specifics about future plans but from what I've gathered it does seem like a beautiful system language. We mainly use it for writing lightning fast API's. I do have a feeling that it will have a breakout year in 2016.
When you consider that the purpose of CCTV's Facebook page is promoting their image abroad, it makes sense.
> I'd have first deployed existing, native code along with
> Rust in parallel using the data splitting technique so
> some is saved with original and some with Rust.

Yes, this is how Dropbox tests all of their features, and they did this with their new Rust-based storage engine as well. This tool has been in development for over a year by now and has seen extensive multi-stage testing (at first handling only a few terabytes of data, then "just" petabytes, and now exabytes).
Nope, the sensor is in the valve most of the time, albeit there's one version in the tire (not compatible with lot of cars atm)
A company deviating from the plan they outlined 1-2 years ago. Shocker.
My ISP auto updates ours (against my wishes). I've had to hardware reset it several times as it introduces bugs constantly. Sometimes it just goes bust as well.

The worst part is that they don't seem to test before pushing these updates. Im back on 3.2.2RC.
That's really sad. I loved the mag and it was my favourite read once a month.
Good luck, I'm sure we'll see something interesting from you in the future, you can discard the project you've lost the passion to, but you can't discard the passion itself :-)
A technique commonly used in C, for example in the Linux kernel. You embed "links" to other nodes in your structs, and find the struct from the link based on offsetof. Linux kernel uses linked lists and red-black trees this way. Probably other data structures too.

Intrusive containers are cache friendly and typically require no dynamic allocations (in addition to allocating the data itself).

See the link in the post above for more about linked lists in the linux kernel.
Sorry, that was me. Bad mouse.
> It's a place where young mothers with strollers are given stinkeye on public transit.

This happens everywhere. It's extremely rude (especially at rush hour) to take up 5x the space of everyone else just cause you have a kid. Either the kid is small enough to carry or big enough to stand.
I don't like it very much either. Not that I mind its usage, but usually I see it as unnecessary. Also, "grok" in my native language is the sound that pigs make, so it doesn't have a very nice ring to it either :)
Why You’re as Able to Build a Robot Butler as Mark Zuckerberg
Japan need mass third world immigration, you can't stay so homogenus for this long. Not acceptable for a first world country to do. They must take responsibility like Sweden, there is war now and they must accept refugees from Syria and rest of the middle east.
The thing I hate most about this whole thing is it's reached a critical mass such that if you don't play the game you're just paying the cost.

I wish stores would simply charge the credit card fee outright as a line item to dis incentivize usage of the credit card (many gas stations do something similar in charging a cash vs credit price).
They'd still need to ship the class library (with 'infringing' API copyrights) for many years for backwards compatibility. Their current strategy of replacing Apache Harmony classes with OpenJDK seems like a good shot to get rid of Oracle's claims for future versions.

My guess is that they'll wait and see how that move pans out first.
A few years ago the regulations in Australia were changed so that the CC companies can't force merchants to cross-subsidise the fees - merchants are allowed to directly pass on the transaction fees as a surcharge if they want.

I've certainly chosen to use alternate payment methods to avoid the surcharge when convenient, so this must be putting some competitive pressure on the CC transaction fees.
State Bedroom – Harewood House, UK
On the other hand it's a good big scale experiment.

Lets wait 20-40 years and see who got it worse.
Good job, well curated courses and video from youtube. Good collection of educational resources.
XLST the language is great. I love the idea, it's wonderful and powerful in practice.

XLST the syntax is an abomination. Trying to shoehorn a language syntax into XML was a stupid, stupid idea.