skysight-inc/HackerNews huggingface dataset:
LogCabin uses its event loop for network operations but then hands requests off to threads to process. I started out with libevent2, but the problem is it doesn't deal with having multiple threads very well (error-prone and inefficient). It's also not as well-documented as the man pages for epoll, so I ended up using epoll directly instead. What was really lost in the libevent2 -> epoll conversion was platform independence, but I think it might be better to get that back through well-placed #ifdefs or relying on some other library; I wouldn't go back to libevent2.
Sounds like a cool app, and something I've been looking for. I guess Google ate it so I'll never get to use it. Too bad. Congrats to the people behind the app though.
...all in little transparent 3D printed cups used by astronauts to drink on the space station...

They apparently 3D print the cups, but I wonder if they are 3D printed in orbit or on the ground?

I wonder what kind of material is used, and the printing method!
This is a myth. One single Asterisk instance may handle 200-500 calls nowadays, but if you cluster them, you may grow carrier-size networks out of them. There are a number of large scale Asterisk deployments that handle tens of thousands of parallel calls with carrier-grade reliability.
There is a similar game on iOS called Magic Piano [1] - it seems to have licensed many popular and older songs and you can play them on iPad with an almost identical UI, for a freemium cost.

[1] https://itunes.apple.com/au/app/magic-piano-by-smule/id42125...
I couldn't get past "Computer science is not quite engineering."
Prior discussion: https://news.ycombinator.com/item?id=9489939
Sure, he could do that if he had any kind of legal right to do so, which he does not. If all of Paul Allen's net worth were in Microsoft stock (and it certainly is not), he'd own less than 5% of the company at this point. Paul Allen couldn't release all of Microsoft's code any more than I could.

And of course, even if it were possible, Microsoft would need to come up with a new way to generate the 87 billion dollars in revenue it just lost, or else lay off 200 thousand people.
Hopefully not a literal post mortem.
You'll have to be more subtle than that. A crash investigator is going to notice asymmetric skid patterns and brake disc damage.
Wow. I'm unfamiliar with the project, but their planned features would be amazing in any language. I'll give it a try, for sure.

Detecting HTTP servers and interacting with them in an iframe is especially brilliant.
Academia vs. industry; or, Who pays the bills?
Doesn't work on Chrome 43, MacOS X 10.6 iMac8,1 -- graphics are completely corrupted.
Nice work! A Curator-like (http://curator.apache.org/) framework on top of LogCabin will make it immensely more useful for everyday production systems though.
I think I'd have to agree with you now: REST APIs seem to help with adoption. LogCabin was initially created for use with RAMCloud ( http://ramcloud.stanford.edu ), which mostly hand-rolls its RPC serialization to achieve its extreme performance goals (it budgets about 1 microsecond in software overhead per RPC). I thought I was being user-friendly in LogCabin by using protobufs, and at the time, something as embarrassingly slow as HTTP+JSON was unthinkable. I don't think it's too late to add a REST API to LogCabin, and it'd be pretty easy to make a REST proxy. Maybe that's worth doing for easier adoption from other languages. I also think the CLI client makes the barrier to entry pretty low for people that just want to test it out.
Rombertik – Gazing Past the Smoke, Mirrors, and Trapdoors
Since fingerprint scanners are very easily fooled I hope an additional pin-code is required to transfer non-trivial amounts.
One of the best talks I've ever seen. Thank you so much David.
The Project Takeover Blues 4 – Concatenations
This is fairly common. I've done professional work with Go and C++ and this is one of the biggest reasons I like Go over C++. C++'s concurrency primitives aren't quite good enough so you always need to build something on top of them. Using a library in C++ often requires grokking how it does concurrency and reconciling that with the way your code does concurrency. In Go everyone uses goroutines so you can very quickly understand how to use libraries.
Me too, I've been searching for an excuse to get the Motoko haircut...
The Surface is a computer for Serious Professionals who don't act so casually as to use a computer while lying in bed, or sit cross-legged on the floor, etc.

I'm sure that the Surface is a perfectly useful computer for some people, but I use my laptop in far too many odd positions to get along with one.
This is a really great resource to keep track of. As an up and coming graduate, I'll probably refer back to it from time to time.
Really nice library. It is refreshing to see such neatly coded JavaScript with so few dependencies! (just the browser API :-).

Compare Clusterize.js [1], whose complete implementation fits in less than 250 LOC, to Ember List View [2], mentioned by someone here: ~800 LOC Just for a Mixin (whatever the hell that is).

Now, try to estimate how long would it take you to understand and fix a bug or add a feature to Clusterize, and how long would it take to do the same thing with list-view.

1: https://github.com/NeXTs/Clusterize.js/blob/master/clusteriz...

2: https://github.com/emberjs/list-view/blob/master/addon/list-...
Twilio just raised $100M making it the latest $1B+ Unicorn
So executing people year after year shows that the Singaporian system is working?? Doesn't it show the exact opposite since, you know, they have to continue to execute people?
Wouldn't the success of their laws be validated if no one was executed showing that they had eradicated their drug problem?
Guy Creates Tesla Apple Watch App Before Tesla Themselves
Unusual moments in my first 100K run
I don't have a lot of personal experience with that kind of situation of needing to "shop around", so I'm not sure I'm the best source of information for things like that. But if you do a bit of digging, you can find some links and information online:

http://drpatrickkeelan.com/psychology/the-importance-of-clie...

https://drkathleenyoung.wordpress.com/2009/04/30/the-therapy...

Ultimately it does just come down to trusting your gut, and whether you feel comfortable with them and their approach. If you do choose to switch, your therapist should understand that things like this can and do happen, and shouldn't have a much of a problem with it. (If your therapist does have a problem with it, that's a huge red flag right there and you're better off ditching them.) Some of the better therapists may even make it clear near the beginning of your therapy that they can connect you with other resources or refer you to other places if that's necessary. But even if they don't you do have recourse to do that. Just keep trying, even if it means you have to go through a whole bunch of them to find one that's right for you.
Io.js 2.0.0 Released
The New Event Listing Page of Eventbrite
> Sure your xhtml won't validate, but it probably wasn't going to anyway.

Writing XHTML without validating is sort of like writing Haskell without type-checking, isn't it? It seems like all the pain with none of the benefit.
I've certainly been to that page before :)

I come from an academic lineage of log-based projects, from log-structured filesystems [1] which structure disks as a log, to RAMCloud [2][3][4] whose durability/recovery aspects are a distributed and partially in-memory extension of that, to Raft and LogCabin that are built around the concept of a replicated log for consensus.

LogCabin used to export a log-oriented data model, by the way, where the name made a bit more sense even. There was some talk of renaming it to TreeHouse now that it exports a key-value tree, but that one didn't really catch on.

[1] https://web.stanford.edu/~ouster/cgi-bin/papers/lfs.pdf

[2] http://ramcloud.stanford.edu

[3] https://www.usenix.org/conference/fast14/technical-sessions/...

[4] https://web.stanford.edu/~ouster/cgi-bin/papers/RumblePhd.pd...
I guess I completely disagree, as another lifelong pianist. I think it's a great way to explore using tempo to express musicality. I just had a great experience watching how thrilled my wife (untrained in piano) was to actually "perform" something that sounded musical to her ears.
What good luck I have! I have been fiddling with a procedurally generated 3d world and there are all these great articles about procedural art up on HN. Anyone know of an example project for a procedural 3d world?
I wonder if the distribution of phablet android users being so disproportionate to devices available is because most of the flagship products are phablet sized (Samsung Galaxy S, Google Nexus, etc.)
You end up needing consensus for a lot of fault-tolerant systems that need to provide consistent results. For example, if your system allows users to choose their own usernames, and you're trying to guarantee that all usernames are unique, and your system needs to automatically deal with server failures, then I think you also need consensus.

Another way to think about it is that consensus gets you the equivalent of a compare-and-swap operation in a distributed setting. Just as compare-and-swap is useful for building synchronization primitives with shared memory, consensus is useful for building synchronization primitives across a network.

[1] https://en.wikipedia.org/wiki/Compare-and-swap
You've gotten a lot of good advice here, and I just wanted to chime in on a related point to this--different anti-depressants may be more effective for you at different stages of your treatment. If you start on Lexapro/Prozac/Paxil, and it works great, but after six months you start to feel like it's not as effective, definitely talk to your doctor about looking at different meds, even other SSRI's. There are subtle differences in how they work that can make a difference (I'm not a doctor or bio guy, but they affect different receptors differently, even when they are primarily aimed at serotonin). Depression isn't a monolithic problem (it feels like it, but there can be multiple factors feeding into it), so as you do the talk therapy and the drugs your equilibrium between maladaptive cognitions, chemical imbalances, relationship and work patterns, etc. can shift, just be aware of how you're feeling (and if differently, how) and keep your doctor apprised. Also, therapy can be intimidating because you're talking about problems that feel insurmountable while you're depressed--but just spill it; they get less insurmountable once you've expressed them. Sometimes just hearing yourself say something out loud can make it obvious what the issue is, or how you could look at it differently.

Good luck, it's worth the effort. Something I read that I thought was useful to keep in mind when dealing with this stuff: you're not depressed because the world is shit; you think the world is shit because you're depressed.
From "The Nordic Model" paper:

>> Since the introduction of the law, street prostitution has decreased (while increasing dramatically in Sweden’s
neighbors) and Sweden has become an undesirable destination for pimps and traffickers. In addition, the new law has influenced attitudes regarding the purchase of sex: from 1996 (before the law) until 2008, the number of male sex buyers decreased from 13.6% to 7.9%.
When I read the title, I thought it could learn your random tap rhythm and search through a piano db and find the best match, or even better, slow & smooth morph into another rhythm according to your tap

It turned out to be different, still cool though.
This is educational from the perspective that it really teaches you 'rhythm'. This is beautiful piece of web app :)
It shows you a piece of just how tragic Native American reservations are.
This is awesome. Super easy to get started. I would love to see the ability to see the notation somewhere as I'm playing and the ability to rewind a bit. I could definitely see me using this to scout out a piece.

This really made my day. What a great way to blow off some steam.
I don't know. I think the act of forming a paper up from scratch is an essential element in the process of research. It really isn't a waste of time and space in the sense that proper research will require these definitions and preliminary results be carefully reviewed by the author anyways. Why not have them type it out for us? Or for their own sake even.

A wiki style database of information could be an exciting resource for kicking off new ideas. When scientists conduct research within this database though, findings and methodology must be to a high enough standard. Marks of high quality research include well defined terms and contextualized prior results.

If you want to get straight to the new information, read the abstract up top, skim the middle and read the results and discussion.
This is pretty fun. I think it would be better if the sounds were in some way related to the data. If you were using the web audio api you could do something nuts like hash any event text fields into synthesizer parameters so each event has a unique sound and scale the volume using numeric fields so it gets louder when your numbers get bigger.

Really cool idea though!
I'm sorry for what happened in Iraq. I'm glad you were able to get out of there and succeed here in the States.
Interestingly the word "mobile" did not appear once.
Good summary but I disagree that jumping off a cliff with 3 other guys is always a bad idea. Sometimes you can grow wings and sour over the beautiful mountains others are struggling to climb
I earned my CS BS degree almost 30 years ago. My school kind of served as a training ground for mainframe programmers. We had plenty of assembler and COBOL, but not much in systems architecture and design.

There is a lot that has become much more relevant since then: Security, networking, and distributed systems. But if I could have taken one more course, I'd really like to have studied graph theory.
I Don't Care If I Suck, as Long as I'm Learning
Meet sochsquare, startup that builds user submitted ideas
ready to turn over a new leaf and try reactive clojurescript? :)
This is very interesting, given that ScienceDaily reported the discovery of the seventh and eighth bases in 2011! Did they forget how to count, or do they just republish press releases without any understanding of the subject matter or actual journalism?

Source:
http://sandwalk.blogspot.ie/2011/07/stop-press-scientists-di...
Sigh... Strawman. [1]

You know that by "drugs" I meant narcotics and intoxicants. And while I do not believe the drinking of wine is immoral, I do believe it immoral to drink wine in excess. And yes, becoming intoxicated, thus reducing your ability to exercise personal restraint and judgment is immoral.

[1] https://yourlogicalfallacyis.com/strawman
A useful stack on android #1, architecture – Saúl M
Consensus can be used for a variety of problems including membership, ordering, and atomic commits.
Contracts and Clojure: The Best-Yet Compromise Between Types and Tests
I've seen desktop tools in the past but they seem to have been abandoned.
Mandatory link if you don't know this:
https://www.youtube.com/user/smalin/
To be honest, you should first know that three things before starting reading this book.
Thanks for sharing your experience, it helps to understand some of the business decisions.
Difference is that there's competition in the smartphone space and I can grab an Android / Jolla / Ubuntu phone where I can change my default browser. Apple did not have several years of monopoly behind it by burning away competition and never managed to become a monopoly.

There's a reason governments do not like monopolies and the markets cannot fix themselves by getting rid of them since the monopolies are not playing by the market's rules anymore.
But what exactly are you fuzzing without being protocol specific as you start fuzzing? How do you eliminate false positive? You can be generative with grammar or with some learning capability (as "dumb" as aligning similar traffic as a cluster for example).
It's never too late to pick up a graph theory book.
On the subject of technical communication, formal oral presentations are not enough -- frequent practice engaging in short defenses of small ideas would benefit students immensely when it comes to working on teams in industry.
Why do you think that was a snarky response devoid of insight? I didn't.
Housing CEO Rahul Yadav Resigns
turning off WebGL fixed it...
I was under the impression that medical devices were already locked down like that due to e.g. FDA regulations. Not having security either seems like a "worst of both worlds" situation.
The Sharing Economy Is Destroying Traditional Employment
Every computer science major should... double check they've entered all the correct input before pressing the submit button.
You should not write <img /> or <link /> either - so yes consistency, just not in the way you said.

And the one tag that has to be closed with no content: <script type=".." src=".."></script> can't be self closed anyway.

Self closing tags have no place in HTML.
With no security people get access on their own......
TaiG Jailbreak iOS 8.2,iOS 8.1.2,iOS 8.1.1,iOS 8.2 beta 2
Obviously trust, connectivity, infrastructure, etc are the major issues for investing in the 3rd world.
It is very easy and tempting for a local to take your investment and run off. It helps to live there, get to know the workers, build a relationship etc. It is better to find a ngo or local company that is already recognized and running successfully and help them with their mission.
Congrats, how does compaction work? I assume you can serve kvs from memory?
Why is Google doing a doodle on Nellie Bly?
Agreed. As computing professionals we should always be learning. Whether that is graph theory, a new programming language, or anything else for that matter.
Oh and can I call this from c easily?
When you are building distributed systems often you need a way to coordinate between nodes. You can use a single node to do it, but then you have a single point of failure.

In case of Zookeeper you can utilize various recipes, like here: http://curator.apache.org/curator-recipes/index.html

You can even build more advanced systems on top of it:

https://bookkeeper.apache.org/index.html

https://cwiki.apache.org/confluence/display/BOOKKEEPER/HedWi...
I like this title better than the actual one.
Oh lordy. I'm currently in the country living under this "regime" and am quite amused by your description. I can honestly tell you that the government doesn't go round busting into people's houses trying to catch gay men loving their partners. WRT the domestic workers, (btw, you got the gender wrong- they tend to be females) and there are severe punishments for abusing them. I've also noted occasional reports in the news about employers being jailed and such.
Are you kidding me? People won't know all this stuff after 15 years in the field.
I think this qualifies as life hacking ;).
Rotating speakers don't require less player skill, but distortion does.

Guitar distortion reduces the need to mute adjacent strings, a very difficult thing to master, because only the strongest tone comes through.

Or, given equal skill, distortion meant you could jump around, play writhing on your back with your tongue, play with your guitar on fire, which you absolutely cannot playing without distortion.
Oh and can I stop using zk now?
Sphinx does indeed a very good job and is continuously improved. It is very fast and with small memory footprint.

We also built https://techusearch.com which uses Sphinx indexes (think of a SaaS version of Elasticsearch backed by Sphinx).
I'd love to be able to upload my own MIDIs.
Compaction in LogCabin uses a snapshotting approach. It writes a header to a snapshot file, then forks off a child process to write the data into a snapshot. The data is just each node in the tree serialized as a protobuf using a pre-order traversal, IIRC. Much more detail on compaction [1] mentioning LogCabin explicitly.

LogCabin does currently keep all data in memory, so it never touches disk for read requests. It also keeps a copy of the entire log in memory for now, but I hope to address that eventually [2].

[1] https://github.com/ongardie/dissertation#readme

[2] https://github.com/logcabin/logcabin/issues/106
Much closer to writing C without type-checking, and even that might be too strong. Back when that was the cool thing to do, I put a lot of effort into always generating valid XHTML out of a sense of pride, and I'm not sure it ever had any practical benefits. The things that the validator checked for and the things that browsers actually had issues with didn't have a lot of overlap.
Even for a rhythm trainer it is disappointing because you're forced to tap at a set interval, not what the notes are actually saying. And forget double-tapping when there are two notes on a single interval -- that just plays two intervals!

Thumbs down from a lifelong DDRer and casual pianist.

Though idank's comment is nice to see!
There's not currently an extern "C" wrapper, but I don't think that'd be too much work to write.
Your paraphrase is missing the other times white people showed up and built stuff "for them".
So what you are saying is... fine arts major + MBA = recipe for success!
I actually wish I could purchase an iPhone 6 in an iPhone 4s form factor.

I like being able to hold the phone with one hand and do everything I need with my thumb. This seems like one of those trends thats driven by the manufacturers need to position themselves rather than customer demand.
Shipping Trumps Serendipity
IMO an electric car gets you closer in tune with the car because the input delay from pedal to torque on the wheel is pratically zero and the resolution is insanely more precise than with gasoline. At lower speeds the car feels much lighter, every input you put simply gives you instant feedback making the controls feel even more tactile, almost like riding a bike.

You can not compare electric to driving a gasoline with automatic, those still suffer from all the mechanical delays and are imo worse with regards to this as the delay of a gearshift can come at unpredictable times.
> Would you say this is a good moment to pass judgment on your programming abilities ?

Sure. Interestingly </hr> is ignored, but <br></br> is parsed as a block of some kind. I did not know this, so yes, you can judge me for it.

I know you are poking me for what I said about self closing tags, but I stand by it. I've seen a lot of html, and it's one very easy way to find the bad programmers - they all self close <br>. I'm sure there are exceptions, but I have not come across any.

It's a sign of a tutorial programmer (not exactly), maybe, more or a copy/paste programmer, who finds "blocks" of code that work, and just apply it everywhere.

They tend to lack the deep fundamentals of how html works.
John Oliver: Standardized testing
Not necessarily. If the internet.org initiative was truly noble, they could provide bandwidth-limited access to all of the Internet, along with an optional service or browser addon that formats pages for text-only viewing to save even more bandwidth.