skysight-inc/HackerNews huggingface dataset:
Wouldn't it be possible to implement all of the same semantics in pure Swift using a concurrent dispatch queue and some semaphores? I tried making a generator like the one in Hexagen:

https://gist.github.com/Sidnicious/8e57892b14629c5ec740

I understand the main benefits of coroutines as:

- Cheap creation

- Cheap context switching

- Predictable context switching

…and I don't know the performance characteristics of Grand Central Dispatch. Could someone who's more familiar with GCD explain why using it for this kind of concurrency is an okay/bad idea and how it compares to coroutines?

(FWIW I'm a huge fan of hacking async semantics into languages and made a thing like this for C++: https://github.com/Sidnicious/team)
It's a very sad thing that the world depends on a library that has been virtually unmaintained for years.
Yes, about 6 times a week.
Stove 70%
Electric griddle 10%
Microwave 10%
Rice cooker 10%
Oven occasionally.
also on github: https://github.com/rolandshoemaker/raziel
I used Rivets on a decent-sized SPA and I have to say, it worked out really well.

The rendering was a bit slow, and in more than a few places I had to force a refresh to get it to pick up data changes. Those are really my only complaints though: the templates were a breeze to write, and with the ability to write custom formatters, Rivets is pretty expressive and extensible. I wound up with a codebase that was quite straightforward and easy to reason about, with minimal cruft. Overall I'd say it was a win.

Nowadays I use React.js and am very happy with the switch, but I definitely recommend Rivets to anyone who just wants to add a smidgeon of data-binding without pulling in a heavy framework. If I were doing that medium-sized SPA project again though, I'd definitely use React.
Having recently lived in a few very cold houses... I have to say, no thank you. In order for a place to feel like home — for my thoughts to relax and spread out — I absolutely need the temperature to be warm all around me. If it isn't, I feel like a hostage to my environment, hugging my computer's power brick and covering myself in heaps of blankets just to keep my mind working. The outside no longer feels "out"; it's inside too, all around me, chipping away at my defenses until I start to freeze again.

I need my safe place to be happy and productive.
Live in the East Bay. Use BART, Casual Carpool, or AC Transit Transbay buses.

http://sfcasualcarpool.com/

Good candidate locations: in Oakland near Rockridge (safe, nice area & easy commute) or Berkeley (college-town feel). That will usually give ~45m commute (one-way). You can get a place for $1400-$1600 there.
GoPro on Dog's Stick
It's interesting how exposure to certain type of UI/UX can shape our intuition. I see [this type of graph] in Google Analytics on a regular basis, so jumping into this felt very intuitive.
Agreed on "way too expensive and way too long." Most of the world seems to do fine with law as an undergraduate degree. I think a mandatory apprenticeship period, as Canada and the UK have, would also be useful, as neither American law schools nor the bar exam teach you much about how to actually practice law. (But good luck convincing the ABA education committee of any of this...)
"Negative rates are a signal, and effect all base load (coal, nuclear, hydro, etc) equally. I don't see how sending proper market signals are a bad thing."

But those market signals are not sent to the solar installations. i.e. if you produce a lot of power when it is sunny and there is a glut, the owner of the panel typically still get the same rebate.

If we sent proper market signals to renewable energy providers it would indeed be a good thing.
You know, it's quite possible to treat adults as independent agents who are responsible for their own actions and yet acknowledge (and possibly even be sympathetic to) the fact that these same adults can be subject to external forces which put them in a really tough spot.
Bonobos, a similar ape species equally related to humans, can actually play video games, drive golf carts, and all kinds of cool stuff.

http://www.ted.com/talks/susan_savage_rumbaugh_on_apes_that_...

Skip to 15:52 if you want to go straight to the one playing Pac-Man.
> All places where the right to own and bear firearms is non-existent or substantially impeded.

And very happily so. We all seem to manage to get by without them
> the slow pace of JVM development

Just in the past couple of years we've had a terrific new GC and the most powerful profiler I've ever seen (Java Flight Recorder) added to the JVM (the latter, unfortunately, not to OpenJDK yet). In a year, we'll have modules, JIT caching/AOT (possibly) and runtime control over JIT optimizations[1]. Work is already underway for atomic value types, classdynamic, a new FFI layer, and a next-gen, fully programmable JIT (Graal). Many of those enhancements are not only ahead of other production quality offerings, but truly state of the art if not groundbreaking. Even when I look hard I can't find another runtime that's less than 5+ years behind (and that's being generous).

[1]: http://openjdk.java.net/jeps/165
> The biproduct of his quest to "defend the human and civil right to keep and bear arms as guaranteed by the United States Constitution" is that countries that aren't the USA all get to benefit from his wonderful innovations.

Is it odd that I read this as unironic praise? Aren't there countries with oppressed minority groups that will benefit from being armed?
Watching the video makes me think this is some kind of parody site. It starts out with some depressed looking worn out dude slouching in his chair mumbling incomprehensibly.
How often do you have a need for non-engineers to be able to alter your database queries? Why is this a requirement or even desirable? There seem to be few cases where a query change needs to be made in isolation, without having to touch any of the downstream consumers of that data.

So if we remove this non-requirement of "anybody can write it", we're back to my original question: Ok, we the coders know we want a Product instance, but to build it we create a Select instance and then ask a library do so some sort of parsing?

Possibly no ORM exists that meet your criteria because there are issues with the design goals you're trying to achieve?
I would say that the main job of any CEO or top executive is to continuously learn and self improve. As a CEO, your job is to think strategically and with a long-term vision. Most of the daily problems should be delegated to the functional managers as you will be buried in work if you try to do everything yourself. Only in situations when the rest of the company cannot figure out themselves or when there is a lot at stake should the CEO intervene. I believe that a sign of a good leader is someone who is able to delegate work to others and trusts that they can get it done.

Given how fast we are moving in the world in terms of technology and business, there are new break throughs and developments everyday that can change the landscape of entire industries. As a CEO, your main role is to understand this landscape and have a vision for the next 2 to 5 years in the case of technology companies. For older and less turbulent industries this could be 5 to 10 years.

Keep in mind that what I am saying applies to companies with +100 employees. For early stage start-ups, the CEO will have to wear multiple hats and have to take a hands-on role otherwise the company will not have enough revenues to survive. Once you have pass the threshold of survival (~100 employees), you need to reorganize your company for growth. This is a difficult transition for most start-up CEOs and the dirty little secret that VCs keep from founders is that few founder CEOs make it through this transition.

One of the best way to ensure growth in your organization is to learn about the ever changing world outside of it so that you can help the rest of the organization continuously grow and thrive. One way of doing this is to look beyond your own industry and explore how other industries are dealing with their problems. Different industries are more advanced in different area so use this to your advantage. You can "steal" the best ideas and use them to improve internal operations. Remember that at this stage in your company, you are not really building anything new. Instead you job (which is just as difficult) is to improve on whatever already exists.

One reason why you should use your spare time to learn is that some companies actually march towards a wall because they are too busy pursuing immediate profits. This is the argument behind Clayten Christensen's book the Innovator's Dilemma. It is a great book and I would highly recommend it to all CEOs whether in start-ups or in large organizations.
Setting aside legality and technical issues for a second, in some respects this seems similar to regular printing of currency bills: I find it very likely that the (any?) government would require that 3D printers refuse to print "crucial" parts of a weapon either at the software or at the firmware level.

Of course, with the more DIY and open nature of 3D printers this might be difficult to enforce, but not impossible, at least for the average user.
I use a similar approach. The insurance companies are in business to make money, so (on average) they don't sell policies that lose them money.

I buy insurance if either:

1. I believe I'm significantly more likely to break the item then their estimates (ex: you use your phone at your construction job, and are significantly more likely to break it).

2. It's enough money that it would cause significant problems for me (home insurance, renters insurance, etc).

Otherwise, I figure I am 'self-insuring', and will come out ahead over the long term.
No. He's working on Dark Wallet - a completely different technology.
I'm curious when these will actually ship (the "Ghost Gunner" mill; I ordered one of the first ones, promised for delivery by the end of 2014, and no signs it will actually be here in Q1).
> It is a SyntaxError to use the keyword 'var'

What if I want a variable?!
Not a lie: I have never encountered the name Lexi before. I would have assumed it to be a made-up pseudonym. Or a reference to a post-modern sci-fi / futuristic book.

If it's short for "Alexis," which is a claim you edited out of your comment, then I'm even more confused, as that name seems to be male preferred within the US.
If I needed the food, sure, but I don't. I actually save money and improve my health by not eating meat and instead eating vegetables. We choose meat, in the US, for the pleasure of eating it.
If you plug all that stuff in every day, why not just get a the inevitable hub apple is going to sell? That way just one cable to plug in each morning instead of 5.
While I'm sure we're all frustrated with the scroll hacking, can we just not discuss that and instead focus on what an interesting and exciting project this is? I really wish I had a class half this interesting in undergrad.
I live in the Twin Peaks neighborhood, and regularly run up to Sutro Tower on my morning workout. You can get surprisingly close to it, and there's an oval track adjacent to the tower where you can run. Highly recommend! It's quite breathtaking looking up at it from the ground, in a strange way.
What weren't you willing to yield on? If it was that metrics should have dimensions, Netflix has the stronger argument.
Comic Papyrus
I managed to work on a Chromebook for a few months. I was doing a mixture of web frontend (Angular) and Go based backend. I was using terminal for most things tmux, shell, vim, git, ssh which is how I work on my MBP anyway. Postman for api testing and I found some chrome apps for screenshots and other little things. It was all quite good. The only apps I really missed were Inkscape and Gimp and I could run those under Crouton if needed but my Chromebook was a bit memory constrained. I guess Skype was a bit of an issue as well. In the end I stopped because the hardware had reliability issues and the screen wasn't all that great.

I could see myself working on a Pixel fulltime.
That review is actually incredibly (and somewhat surprisingly) positive.

It mostly comes down to what everyone here already knows: Chromebooks don't run all the apps many people need, like Photoshop:

> Personally speaking, I wouldn't buy one -- but that's mostly because it won't run Photoshop, and it doesn't play nice with certain peripherals like my running watch. Barring that, though, I love the Pixel. Between the design, display, keyboard and battery life, it's among the finest notebooks I've had the pleasure of using. I'm sad to have to give my review unit back.
I'm about half Betty's age.

All I want is text. I don't want links, I don't want ads, I don't want dancing clowns, email sign-up sheets, click-to-advance slide-shows, or any of the other 14,000 ways websites seek to suck me in. Just give me the fucking news.

It's frustrating. We're turning every part of our lives into some weird spinoff of an X-Box. I can't have a transactional relationship with a site. Let's say I want to travel. Can I just speak into my phone and tell it where I want to fly to, then have it set up the flights? Heck no. Instead I end up on a responsive, immersive, gamified POS that's one missoin in life is to keep me around and keep me coming back. Guess what? I don't want to be around, and I don't want to be coming back. I just want the stupid flight.

I don't think being a digital native has anything to do with it. This is all about what kinds of relationships we're going to expect and demand from our technology. So far the trend is not good. If somebody will fix this for older people, count me as a customer too.
I think on a computer with a Core i5 and 8gb of RAM, choosing between web apps and Android apps is kind of a false choice. Windows or Linux both offer you far more applications that are built to take advantage of that form factor.
It's always remarkable finding new ways in which Eric Raymond is an ass.
Cody is a solid human being. I have enjoyed my every contact with him.

Some of you may have been in the audience when I moderated a panel in which he was a participant at NHLF last year. It was a great experience and made me realize that, while I have mixed feelings about his cause, he acts from the heart and has a lot of hope for the world.
Locating lost/stranded hikers is definitely resource intensive, but you still have to extract them from the area. In that particular case (Eaton Canyon waterfalls), the number of rescues performed by the Forest Service (most of them by helicopter) had climbed to an average of two a week in the year before the closure. That's an unbelievably high number that's caused directly by stupid, unprepared people stranding themselves. Closing the trail was definitely the right decision there. The only other alternative is "we are not going to rescue people anymore because we don't have the manpower and cannot afford to fly our helicopters so much."

Rescuers had no trouble locating these idiots: http://www.nationalparkstraveler.com/2009/10/third-time-was-...

This is a very real, big and growing problem for wilderness rescue services: http://www.nytimes.com/2010/08/22/science/earth/22parks.html
This comment is bizarre.

First the link you have is about people taking outdated/wrong maps on trips, not about technology that might disappear due to conditions.

Second 'when people....' you just made up to prove some weird point.

Why are people going to suddenly go crazy because there is 4G access everywhere? We all know batteries run out and things break. Normal precautions are all still needed.

Because this technology might allow silly people do something silly in a different location we concentrate on that rather than all the lives it will save?
Excellent article - but I do not think that large corporation are doing it wrong.

Some large companies even encourage people with entrepreneurship spirit and ideas to leave the company (and their VC arm / friends even invest in them). And in many cases they are acquired back.

The problem is actually with relatively smaller companies: which do not have $$ in the bank to acquire anything useful.
Many of the sites have the same issue and people are getting duped into it.
As a university student on a budget cooking is a necessity, which is okay because it's fun!

3 times a day, mostly stove and oven. Microwave if I'm too impatient to wait for vegetables.
You're thinking of darkwallet, https://www.darkwallet.is/ a browser-based bitcoin wallet that uses coinjoin to obscure transactions, rather than darkcoin, which is an altcoin that has built in obfuscation based on coinjoin so it happens by default.
Can you explain why the pixel is so much better than the Retina MacBook's screen? My retina is by far the best screen I've ever seen, but I've never had the opportunity to use a Pixel.

FWIW, I've never had any burn in issues with my first gen Retina MacBook in all the years I've owned it. Although based on many of the complaints I've read, that's because I was lucky to get the better screen.
On Alzheimer's front, does anyone know what happened to "Young blood reverses age-related impairments in cognitive function and synaptic plasticity in mice" (2014)?

http://www.nature.com/nm/journal/v20/n6/full/nm.3569.html
Sorry, but I don't like it. I think it looks ugly and you can see it practically from everywhere. I never liked it...
Leak investigation stalls amid fears of confirming U.S.-Israel operation
Mature relational databases support views, pre-built queries that developers can define and other developers can then use as "tables" in higher-level queries, allowing some code reuse. This has been around a long time.
Financing Your Idea – Katya Akudovich of LiveJournal and David Eckstein of OpenDNS
Here comes the USB-C port hype train, choochoo!
> Read what others have said in this thread, think critically about their views as well as your own and see where you end up.

thanks for the honest reply. you offer a reasonable assessment, as much as i disagree that victim blaming is universally wrong.

this man is responsible for his own actions, and that the bulk of the accusations here are serious regardless as to that behaviour.

however, i think its damaging to the cause of preventing sexual harassment in the workplace if women do not consistently treat all men as equal in this regard - regardless as to how attractive they find them at the time (and e.g. coupled with how married they are)... it seems to me that it makes it impossible to set objective standards.
What is in this set of "thousands of FDA-approved drugs"? Just oncolytics? Or more broad than that?

A few potential challenges:

1. Just because a combination of drugs works on a cell culture, doesn't mean it works in a human body; there are just so many more variables in vivo

2. You're just testing for efficacy, not safety; what happens if one drug potentiates the other and results in the patients getting very sick or dying? Likely a small risk since most drugs list contraindications, but a few problems might slip through

3. How are you planning on dealing with reimbursement? Insurance companies (Medicare/Medicaid included), won't pay for cancer drugs unless there is proof that they work; that proof is usually a clinical trial or at least some published data supporting it; there may be some pushback if insurance companies either don't believe your data or just don't know how to interpret it

Not trying to shit on your company, just curious if you've looked at these issues yet. It's definitely a cool idea!
I recently had the almost the exact same experience with Google recently. First phone interview they called the wrong number and I clarified that they had the wrong number and I was told that it was fixed. Second phone interview the exact same issue happened again. Both interviews were shorter than they were supposed to be. But after going on to the rest of the interviews I cannot say that Google has the dumbest interview process. Going into it I knew that there would be no feedback. In the end I was rejected too but I feel like in a year I will be much more prepared to get that job if desired because preparing for a Google interview forced me to go back to the fundamentals of computer science algorithms/data structures. The materials given to candidates should be mostly review and I will admit I had to learn most of the materials given to me
I think people forget that any non-HTTPS page can be tampered with in flight. For example, to deliver a form that looks like it uses Stripe but actually goes to an attacker. HTTPS is a 100% must on all pages for a business.
Famous optical illusions recreated in LaTeX
This required a throwaway?
right, but i think he deserved criticism from the moment he began pursuing her, and for his dogged persistence. the fact that he managed to end up in a relationship at all muddies the waters considerably imo, and makes it difficult to point at this as an example of how not behave in the work environment.
Luxurious and affordable memory foam mattress delivered right to your door
YCombinator's own Clever is in this space. I'd be interested to hear what safeguards they have in place.
Don't feel silly -- many Valley cities have strict rules on building height too. Ideally, we'd like high-rise living next to mass transit, but I outside of downtown San Jose, I doubt any city would approve.
> Until your first layoff. Then it's an absolute blessing to live somewhere where your next job is one more exit up 101.

The Bay Area is not the only place with a high amount of tech jobs. Sure it may have the most but there's many other cities with plenty of openings.

Searching "software engineer" job listings on LinkedIn[1] shows:

San Francisco (12,676)
New York City (6,619)
Washington D.C. Metro (5,613)
Seattle (4,584)
Boston (4,452)
Chicago (3,933)
Los Angeles (3,135)

[1] https://www.linkedin.com/job/software-engineer-jobs/
thanks for the thoughtful reply. :)

you highlight issues that society needs to resolve very astutely.
I applaud the NYT for opening itself up like this, and for giving these students a seriously cool project to work on. Who knows how many of their ideas will actually be practicable? But at least the NYT is expressing intellectual curiosity and submitting itself to examination. And it's willing to be examined by a segment (college students) that few other media organizations would take very seriously.

Also, apropos of nothing, kudos to these kids for sneaking a Pied Piper logo into one of their pages. :)
That number is anywhere from laughable to totally reasonable to overly generous, depending on several things including size of the company.

If you're giving employee #1 0.2%, maybe you should be hiring a contractor or something.

If you're Google, you're not going to give an engineer 0.2% even if he's The Best One.
I would love to buy you a beer sometime and discuss that with you. If you have any sources for that epiphany... please let me know.
Alibaba Invested $200M in Snapchat
The USA was founded on the principle that everybody should be armed to be able to defend against a corrupt state. Some other countries were founded on the principle that nobody should be armed (unless really nessesary) and that corrupt states should be dealt with in other ways. Both concepts are valid and have their unique drawbacks and advantages. The problem is that it's possible to derive a democratic society of that choice by making it even easier to circumvent gun control.

Maybe somewhere in the world it will have positive effects if minorities are suddenly armed. In other places of the world police suddenly has to assume that everyone could carry a weapon, potentially leading to a lot of the problems the US has with their police. It's certainly not universally positive.