skysight-inc/HackerNews huggingface dataset:
Also interesting:

http://www.datastax.com/dev/blog/preparing-for-the-leap-seco...
This particular phone was a poor choice.

It is very outdated from both a hardware and software perspective.

You can walk into any walmart or dollar store in the united states and buy a far more modern phone for $30

I suspect there were better choices in that market they bought it.
Spectrum wasn't sold to them, it was licensed. A list of specific services they are allowed to provide is in the license agreement. Spectrum remains public property leased out for a specific purpose, and not private property; the government is well within its rights to decide what the spectrum should, and should not, be used for.

They knew the license terms when they bid for the spectrum. One of the approved uses is providing internet service, and the license agreement (UASL) specifically says that this entails providing access to all legal websites and services on the internet.

While the intent is clear, it isn't as detailed as net neutrality legislation in other countries — which is why campaigners want new regulations or legislation with similar clarity as laws in Brazil, Chile or the FCC's rules.
Preparing for the Leap Second
Authorized biography of Elon Musk has just been released
"[L]imited" probably means bandwidth limited.
Best wikipedia for readers/students? (click any wiki link inside an article)
when IE11 rolls out, lots of devs (obviously not in san francisco bubble) will be churning out sites that require IE11 new APIs to work.

IE11 was already released in 2013.
Yay, I am specifically waiting for "New `fish_preexec` and `fish_postexec` events are fired before and after job execution respectively" [0] It allows to implement something like undistract-me [1] for fish.

[0] https://github.com/fish-shell/fish-shell/issues/1549
[1] http://mumak.net/undistract-me/

edit: Just installed the beta and implemented it (status WorksForMe) https://github.com/qznc/dot/commit/8cf55564383ed93af148234d2...
I was looking at the problem of spam and I came across Paul Graham's essay "A Plan For Spam."

It worked brilliantly - still does now. My email setup is rather esoteric setup because of some unusual requirements, so I do my own spam filtering, and it's still working.

So I went and read some of PG's other essays, and wondered about connections between them. So I did this:

http://www.solipsys.co.uk/new/PaulGrahamEssays.html?HN_20150...

And this:

http://www.solipsys.co.uk/new/PaulGrahamEssaysRanking.html?H...

Just messing about and I learned a lot, so I emailed PG with the result. He suggested I submit it to HN, and that's when I first heard of it.
Maybe not obvious - I must have just forgotten to add it!

You can email me at sam@samgentle.com
PS> echo foo,bar,baz | ? { $_ -ne "foo" }

The sed command is not a shell. You can use sed in PowerShell.
Japan is the second largest and most homogenous consumer economy in the world, and everything works here (infrastructure, payments, etc).

That was the rationale that the cofounder of a different major Silicon Valley payments company told me when they chose Japan as the first country outside the US, and it seems like a credible rationale for Stripe to put Japan high on their list.

There's also a very low rate of fraud here in Japan, which should count for a lot.
Lately ? My weight :P
Already at least 18 times on HN:

https://hn.algolia.com/?query=Richard%20Feynman%20and%20The%...
I'll try this in my 2 hours lunch break ;)
Providing free basic internet access

There is no "basic" Internet access with a limited number of sites in the same sense that one can get "basic" cable with a limited number of channels. That's not Internet access. Calling it Internet access is disingenuous on the part of Internet.org, and providing it in the first place is destructive to the long-term interests of the intended beneficiaries.

What's both "good" and "right" is providing bandwidth-limited access to the entire Internet, subsidized if necessary by the local ads shown on a non-prioritized, low-bandwidth-friendly localized version of Facebook.
> For the majority of use-cases out there, NoSQL databases offer enough consistency.

For applications with a nontrivial data model, ensuring that each logical operation only does a single document update (or that multiple nontransactional updates cause no conflict in maintaining consistency in the presence of other logical operations) is actually really challenging - and it adds a substantial design overhead to every new feature added. I think you're being extremely optimistic in your assertion that NoSQL systems are that widely safely applicable. My experience has been that NoSQL-based systems stay mostly-consistent because they happen to experience very little concurrent activity, not through understanding/design on the users' part.

This is not to make light of the situations where NoSQL systems shine, but the idea that higher levels of consistency are rarely useful does not match my experience at all.

> NoSQL movement, if you wanna call it that, took off because most apps (including Google, including Financial Services, even Health Care) don't need some types of consistency offered by relational databases.

I'd say that Mongo (for example) took off because:

- They really nailed the setup experience for new users (which RDBMSs historically sucked at).

- The data model is much easier for simple apps.

- They had some fairly creative techniques for making their system look good - unacknowledged writes, and claims of support for replication which didn't really fully work.

- Most programmers don't really understand the ins-and-outs of maintaining consistency.
Are there still that many naive people that think 'neutral' things exist when people are involved? Wake up :o)

You probably also think governments have your best interests at heart.
A simple UI framework for Rust
I was unaware of the fact that welfare cheques use some kind of special dollars which are restricted in what products or services they can be used for. If you are talking about food stamps, they are not restricted in where or what they can be used for, only in that they can only be used for food.
Interestingly third world countries tend to spend massively on consumer goods when you compare the relative income between developing countries versus non developing countries.

This is probably related to the fact that they don't have quite a few of the items that those in other parts of the world take for granted.

Mobile phones, refrigerators, television sets, household items of all shapes & sizes as well as vehicles are very high on the list of desirables and any substantial income tends to be converted into stuff.

In countries where infrastructure is weak a mobile phone is a lot of things at once and so it tends to be very high on the list of things to acquire, a refrigerator (provided you have power regularly) is a way to save money and all the other things in that list signal 'status', something humans all over the world are sensitive to, the third world is definitely no exception in this respect.

Even in non developing countries plenty of people spend money on stuff they can barely afford rather than on their health or the quality of their food.
Well the problem is that carriers would never agree to such a deal. It would, for instance, make generalized instant-messaging work and destroy their SMS revenue. It would also eat into their "real internet" revenues. I doubt the problem there is Facebook.

I feel a bit that people complaining about this service are self-serving. People here are complaining about things that affect them (potential future internet directions) and because of these effects millions (maybe even a billion) should be denied a free service.

I feel very, very uncomfortable with that viewpoint.
As a developer, I welcome this open armed. I've come into contact with several payment gateways (GMO/Econtext/F-regi) while working in Japan, and all of their API's have been an atrocity, with lackluster documentation.
I Want Your AOL CDs
Offering a trial period or free tier of your product may be something worth considering. This allows a developer to test the tool within their workflow and if they find enough value from it, pay for the product in full.
Well for example, with prezto I wasn't really happy with any prompt provided, so I decided to make my own, and although it's not rocket science, it's definitely easier to customize your prompt using Fish.

Another thing is writing scripts and completions functions with fish, it's a way better experience than zsh. Writing completion stuff using zsh is really painful.

The preview with the autocompletion is really cool, but maybe you can have that with zsh too.

And then there's the speed, it's totally not objective but IIRC my prezto setup was quite a bit slower.

In the end I just really appreciate that I don't have to spend time customizing my shell: now I install fish on my VMs or servers, and everything is like I want it without me doing anything.

If you're happily using prezto you may not have much to gain from using fish, and you may not even like it since there's stuff from prezto you won't find out of the box.
If a machine is down (as in the machines themselves are dead) then you absolutely need to move the data onto another node to avoid losing it entirely. There is no way to avoid this, whatever your consistency model.

If there is a network partition, however, there is no need to move the data since it will eventually recover; moving it would likely make the situation worse. Cassandra never does this, and operators should never ask it to.

If you have severe enough network partitions to isolate all of your nodes from all of its peers, there is no database that can work safely, regardless of data shuffling or consistency model.
Its the point size which seems to have changed. From 9pt to 10pt.
David Hasselhoff – True Survivor
> 1) You're supposed to set the pipe to be non-blocking. Presumably you also then don't check the return code of the write(2) call in the signal handler. While this solves the case of a signal handler blocking forever, it does mean you might have dropped writes that correspond to signal receptions.

That doesn't matter. You're not supposed to have a byte in the pipe for every signal. What matters is having at least one byte any time there are unprocessed signals. The only function of the pipe is to wake the select(2) up. You still need bookkeeping elsewhere.

> That leads us to:

> 2) The self-pipe trick specifically calls out handling SIGCHLD (probably because it's one signal that you don't want to ignore!) But given the chances of dropping a byte as described in 1) and the fact that SIGCHLD and fork are explicitly called out, I can only assume that the lesson here is: only have one pipe per signal you intend to handle. Since multiple signals sent to a process may result in a single signal being delivered, your real signal handling code (the stuff that's watching the other end of the pipe) already has to deal with this situation.

Meh. Just have one pipe and a sig_atomic_t for each different types of signal you're interested in.
I agree it is a cool hack. I was wondering why you thought it was the coolest thing you'd seen in your life, rather than say this week or maybe even just today.
It's a bit more complicated than that.

Wireshark allows two different filtering languages in two different places, used at different times.

Your first example ("ip.addr=127.0.0.1") is a display filter. You enter those in the text field at the top of the GUI.

Your third example, 'host 127.0.0.1' is a 'capture filter'. You can enter capture filters in Capture/options.
Instagram (photos).
Whatsapp (messages).
Facebook (social networks).
Internet.org (everything).

He seems to be a good job of trying to control EVERYTHING.
Hi JonCox...

Charley from Amsys here... just thought I'd let you know we're an Apple Authorised Training Company and have been teaching iOS development courses for the last 5 years. We have a range of Swift dev courses. If you're already an iOS developer then we'd recommend this course.

http://www.amsys.co.uk/course/advanced-swift-development/

Also.. as we're approaching the 1st anniversary of Swift... you can book on any Swift course running in June and save 20%.

Thanks,
Charley
More likely: concrete.

And that's exactly what it is: liquid stone that can be poured at room temperature. And if you add some rebar the compound material can have some pretty good tensile properties too.
I don't think you can compare them.

The web feels clunky but if you think about it, it's the ultimate sandbox. Hey, it even supports scriptable accelerated 3d graphics :)

So yeah, two different things for two different purpose. They are both state of the art and pushing limits.
> Does running the self-pipe trick on a separate thread solve that issue? It seems like it's basically equivalent to signalfd (neither worse nor better, unless you're worried about platform-specific thread bugs): you end up with a signal mask on your main thread, but you also avoid EINTR on your main thread. Any possible pipe lockup just happens on the signal-handling thread, so the mainloop can keep running and eventually dequeue signals.

There's no need for threads. Set the pipe to non-blocking and ignore the write() error if it's EAGAIN/EWOULDBLOCK. See my response above for why dropping writes if a byte already exists in the pipe is okay.
CSS does have variables: http://www.w3.org/TR/css-variables/

Of course, this being the web you’re somewhat limited in browser support: http://caniuse.com/#feat=css-variables
Structured approaches and systematic methods to generate many different views, these are probably the best ways to achieve fast thinking and getting good enough results in work/daily life endeavors.

Having a system in place and becoming one's second nature (through training) will help one to remain guided and calm in heated/hectic situations(James Bond?), basically turn one's mind into some kind of machine which runs fast and emotion free. Machine might not produce _the_ best solution, but it can produce a lot quickly (hopefully some are good and creative). Frankly I believe in today's society one needs more of the quickness to be successful(in a worldly sense).
In Asia I would say omissions include:

Angkor (now central Cambodia)
http://en.wikipedia.org/wiki/Angkor
Hugely significant for the language and culture of mainland Southeast Asia.

Dali, Nanzhao (now Yunnan, China)
https://en.wikipedia.org/wiki/Nanzhao
Important as a highly developed kingdom with influence over a large area that acted as an early crossroads between China, India, Tibet, and non-state peoples of Zomia.

Various cities, Shu kingdom (now Sichuan, China)
http://en.wikipedia.org/wiki/Shu_%28state%29
Rediscovered in the 1980s, purely only known by literary reference in ancient Chinese texts, this civilization is known to have had highly developed bronze working far beyond the capacity of any other known in human history. We really know little about them as they did not have a written language, other than they had some form of ritual or belief system involving masks, large and ornate metallic trees and bird figures.

Various cities, Champa (now central and southern Vietnam)
http://en.wikipedia.org/wiki/Champa
Champa was the pre-Chinese Indian kingdom of Vietnam. It was finally conquered in the 15th century, though its descendents remain. Huge Hindu temple complexes remain which are spectacular.

Jambi, Srivijaya (now eastern Sumatra, Indonesia)
https://en.wikipedia.org/wiki/Melayu_Kingdom
Interesting because it's huge and mostly unexcavated - potentially a second Angkor.

... and probably at least 3 or 4 early (eg. Mon) sites in Burma.
According to Lighthouse's creator:

http://www.reddit.com/r/oculus/comments/35kymh/valves_alan_y...

> It can actually (poorly) track a moving object with just one sensor and one base station...
We didn't expect this at all, it is not immediately intuitive, but even 2D simulations display this behavior. If you can tell me why, really why, you should apply for a job at Valve. :)

(Apparently 5 sensor hits are required for a proper fix.)
It looks to me AWS is using the different algorithm. See my other comment here.
Really ? I thought it was limited to something like a fixed number of megabytes increase per call.
Hi, can you tell how it competes to cmder and iterm? I use these currently in windows and osx
I believe you should "pay" 1 karma to downvote. That way, trigger-happy people will be less likely to use it for a slight disagreement.
Steam explosion.
How to manipulate standards
(actually from a talk today, it's a 120 degree sweep)
It's going to be a major feat of engineering to design a pump for molten lava. That would have been a much bigger technical achievement than roasting a steak with an exotic heat source.
I thought the problem was failing to integrate some groups in society.
Weight, outside air temperature, bank account balance, train delay.
I don't see anything in the parent comment indicating that there will be any free internet packages.
Would you kill defective babies who wouldn't survive let alone procreate before 20th century medicine had arrived?
1. Sell to our laziness - does this product save me X hrs of writing the same boring code for each project (e.g. creditcard.js)

2. Can I try it right now? A dev might need authorization from a manager to buy something, so a free trial will go a long way in getting the dev to try out your product.

3. How good is the quality? Detailed documentation goes a long way. Devs care a lot more than any other target market about what is under the hood.

Spend your marketing dollars creating a very high quality, targeted blog with the sole goal to capture my email. Send me regular emails (once/twice a month) about very specific things that I am interested in. Gain the trust of a dev before you start selling to him.
The .se domain was linked to the mailbox of EZTV founder NovaKing, which allowed them to access the domain registrar account and various other services for which they quickly reset all passwords

-- So thats why i use a gmail address for public services. I wouldnt know which to pick involving torrents. But i wouldnt use the domain mail.

They also tookover the .ch domain because of ownership of the .se domain and misleading the registrar.
To be sure, there are numbers that are toll free and the receiving party is charged for calling, much like the arrangement that Indian telecoms are proposing to get into with e-com sites like Flipkart. Toll-free numbers can be seen as incentives to call a particular number more than others. Aren't they violating the "Telephony Neutrality" principle ?
With the added value of constraints and data integrity.

I am yet to do any project where a NoSQL database makes sense.
When you can see more than one way to build a project, understand all the pros and cons in each of the solutions and can articulate them.

I'll give you an example:
My friend hired two developers to build him an e-commerce site with inventory control in the backend.
There are dozen of ways to approach this problem but the main thing to understand is, that he needs a solid working solution.

This was their first job, they decided to build it from scratch in Django, by reasoning that it has a great admin ui out of the box.
Django maybe a good solution if he had an IT department or the
e-commerce was his main business, but it isn't.

They should've offered him an off-the-shelf solution with minor modifications, a solution that is widely used and can be supported by a lot more developers.

Their main concern was to build some thing new from scratch which is tremendous amount of fun, and should be done when it is right, but it also means that you are getting your leg work on the client's expense, which can cost him to lose money.
Knowing SQL is a way to win hands down most ORM mappers.
electronic frontier foundation is non democratic, not inclusive and not the internet.
I can understand that, but why do we invent these two different DSLs? I suppose they have a very large portion of overlap!
Ask HN: What should I do if I don't get a summer internship?
Next year I'll be a senior (majoring in CS). I am currently studying abroad, so unfortunately I won't even be back in the US until mid June (and then have about two months left until uni starts again). I have a meh GPA (3.0) but a couple of side projects that I've put some time into as well as brief, crude work experience doing web dev for two university organizations through the university. Essentially, I'm looking at graduating without a whole lot of formal experience, so how should I look at spending the rest of my time (2 months of summer + 2 semesters) in preparation for getting a job? I'm quite concerned about getting a job doing something interesting where I feel like I have some sort of positive impact on the world, and I'm worried that with my current situation my options will be limited.
I'm not sure how that is functionally different to mintplant's example?

In fish you just type 'w' hit the up arrow and then hit enter to execute or any motion keys to edit. The same number of keypresses as well.

Am I misunderstanding?
“The accidental entrepreneur” [pdf]
> * Functions can only return a status number.

[In Bourne shell] A function can just print to stdout, and the caller can capture it. In this way, a function has two outputs: an exit status, and a (normally text) result.

It's unusual to go any further, but if you really wanted to you could make a function return any number of outputs by writing to different file descriptors and having the caller capture them all separately.
I think it's because

1. it's late at north america right now

2. a pdf/blog post is much more preferable than a youtube video.
You need to think of significance of factors here. I would say they are the following in this order:

General Intelligence,
Stress Level,
Familiarity with the task at hand,
Good night's sleep,
Coffee/tea/other stimulants,
Nutrition,
Exercise

I think the single most important in this list is stress levels which can really lower your iq by dozens of points at a particular moment.
Everything except the first is modifiable.
w00t? A billion attributes on hundreds of billions of rows? Could you think more of an edge case? You're just coming up with shit so you can show off how l33t you are. If you have that kind of a need, just go for a NoSQL server, nobody is stopping you. This feature is a nicety to have, not a replacement of NoSQL.
I wonder what going into sales would be like. You could try the other side of the coin.
SQL =>

Step 1: remove data integrity.

Step 2: remove powerful query language.

Step 3: only store strings.

=> No-SQL

It's interesting that the technology is named after a missing feature.
I think it will be much cheaper to rent an instance on AWS or Digital Ocean , on an hourly basis, with Hadoop and Apache Spark already deployed.
That way you can play around with much larger datasets.

http://aws.amazon.com/elasticmapreduce/
The Rebirth of French Venture Capital
Increasing the size of memtables should reduce the tombestone overhead since entries will get overwritten in memory.
"Good enough" is not really good enough and even if it were good enough for now, it will most definitely not be good enough in the future.

If "good enough" displaces or prevents real and open internet access from becoming a reality for all users then it is a very bad thing.
What is Cloud ERP and why does it matter?