skysight-inc/HackerNews huggingface dataset:
A little background: The book was funded through a Kickstarter campaign where it raised a little over $12,000. The book focuses on 200+ startup accelerators from 48 different countries, and features advice and incite from 140+ of their graduates. Please share your feedback on the covers and any cover ideas below. Cheers! Luke
The top 10 lessons I learned from a year of productivity
Nice resource. Just last month I set up Bind9 on a spare VM for the same reasons (albeit just for personal use).

Is this project something you'd consider releasing the source code for (obviously I'm happy to write my own code if needs be but there's no point in me reinventing the wheel if you already have this sitting on a public git repo)
There will always be somebody to go wild with scalaz and/or shapeless. Scala has the same problem as C++ - you have to agree on a reasonable subset within a team and ensure that everyone sticks to it.
If the government GPG signed their emails, then it would trivial and notionally unfakeable.
Extract Method dates back to at least VS 2010 however introduce variable is new.
They could just use google login
I'm watching a few of these screencasts, and I'm really not understanding this editor. Could anyone enlighten me or point me in the right direction?

Is this editor only for python? What is an outline? I'm pretty lost on what this editor is all about.
Starbucks is hardly "perfect", but it's sure good enough to drop $1.75 on when, under the circumstances, it's a satisfactory alternative to roasting/grinding/heating/assembling/pouring/timing/pressing/cleaning/storing (which I do frequently). The "ritual itself" is quite enjoyable, but finding the tools & developing the skills wouldn't have happened without earning >$1000 to buy & try alternatives. Without the rush to work, I'd not have the resources to learn how enjoyable coffee could be.

Without the urgency to earn, the luxuries we do enjoy wouldn't be possible. Coffee wouldn't, for nearly everyone, wouldn't be anywhere close to even Starbucks "fast-food coffee". More time in your day means a lower standard of living.
Probably due to my setup with NoScript and RequestPolicy, the page kept reloading. Disabling Javascript for bbc.co.uk enabled it to load without problem.
Not sure whether or not this is sarcasm... Too bad we don't have that detector yet!
Then by the same extent

main() { printf("Hello world!\n"); }

is a working native app in C that I built in just 5 seconds. How is it notable?
Yes. It's probably the same weird confusion I had, too ... because all "experts on the Internet" complain about Scala being a kitchen-sink of features, but if you actually walk into it, you just wonder how they managed to reduce and condense features into such a small, well-designed orthogonal core ... and wonder why no one else did it before.

In hindsight, Scala is much smaller than C#, F#, C++, OCaml, etc. while still being more expressive and comfortable to use.
Not directly related to the post but I just wanted to say Venmo is awesome. I've had an account for a while now but most of my friends didn't want to use it and so I wasn't very active. Starting about 2 years ago I got all my roommates on Venmo (Venmo to pay and Splitwise to track it) to handle groceries/rent/utilities/etc and I love no longer getting checks/cash.

I'm not sure if they had always offered debit-card-only setup (I think I had to add a bank when I first signed up) but they do now which is great for when people want to pay me. I can have the money in Venmo and moving towards one of my bank accounts in minutes. Just a few months ago my Mom wanted me to buy a gift for my dad so that it didn't show up on her card and so I ordered it and then after he had the gift she Venmo'd me the money. She didn't have an account setup but I had the money in less than 10 minutes. She isn't technically illiterate but she sometimes needs help with computer stuff but I just told her to use Venmo and she figured it all out by herself.

I have a bachelor party I'm attending this weekend and in a group chat with the other guys attending the guy who setup the hotel said we could bring cash/checks or just Venmo him the money. This is someone who, while they grew up with tech, isn't someone I would expect to use Venmo. It just goes to show that what I think of as "someone I would expect to use Venmo" is wrong/outdated.

I'm really excited to see Venmo get used more and more as it makes my life extremely more simple when it comes to paying friend back or getting paid back. I am going to start pushing my friends that don't have it yet to sign up, I'd like nothing more than to never get a check/cash from a friend again.
The support for Python3 here is killer; Thrift amazingly has yet to merge a number of patches that would enable py3 support despite many requests.
Browser Font Rendering Test
From a version control perspective, we're investing heavily in Git right now, which brings a DVCS ecosystem into Team Foundation Server. This means that you can choose between using a checkout/edit/checkin model (TFVC "server workspaces"), a much more relaxed edit/merge/commit model (TFVC "local workspaces") or a DVCS (Git). I hope that wasn't too marketing speak-y.

Anyway, sorry things feel clunky. I would definitely suggest moving from a server workspace to a local workspace if you haven't already and don't need some of the guarantees it makes about locking files for checkout and such. An edit/merge/commit system isn't nearly as chatty with the server and is much more pleasant to use on a daily basis.
I think he's Aussie so that's normal.
GOOD <insert your language here> code does not panic. Except people write code...
A somewhat clearer way (imho) is /(\d)\D*$/ since it anchors to the end of the string.
Or.. force a public ID (or FaceBook) on every Internet-user and arrest/scare the hell out of a few teens being "sarcastic". Send the bill for the SWAT team or something like that. That will stop most people from behaving "sarcastic" on the social media. Did you ever try sarcasm during a conversation with the police/TSA? Doesn't end well.
> (and more)

That's why I have no interest in Scala. I prefer languages with only a handful (or less) of "good stuff" that you can then build on top of.
Lua does seem to attract a number of prolifically productive people.
PlayCanvas takes its WebGL video game engine open source
I agree. A startup really doesn't have to build their own credit card processing solution.

WRT PCI DSS it's not very hard to comply. Some 7 years ago in a company that persisted everything about customers we changed the system for compliance within two weeks.
Have you tried working with desktop apps on a touch-centric interface?

It works great. I don't use any Metro apps on my Surface Pro. Click, Double-Click, Drag, Drop, Right-Click - it all works very, very well.
Great artists steal: The iOS 8 features inspired by Android
And lest we forget, reliably identifying sarcasm on the internet is pretty hard even for humans who have all the requisite cultural knowledge. Unless the secret service can turn on the twitterer's webcam and observe their facial expression while they type, this really is a no go.

And we all know that could never happen.
I think someone else mentioned this idea, but I can't find it anymore. I wish there was some way to donate to a group of people that was automatically managed by you guys (or crowd-sourced if you can make that work).

I wouldn't mind giving a little bit each month, but I don't really feel like searching for specific users that do work I want to support, and then checking back every few months to make sure they still are.

Also, it would be a lot more meaningful to see a list of groups on the homepage rather than people that I have mostly never heard of.
It would be interesting to know how this algorithm behaved on fundamentalist texts. (see Poe's law, https://en.wikipedia.org/wiki/Poe%27s_law)
There's already insane confusion about laptop CPUs. Every time someone asks me my opinion about some laptop - I have to lookup some CPUMark score, because you can't tell anything from name, generation or GHz anymore.
PlayCanvas: WebGL 3D game engine
Law enforcement officers, of all people, should know and respect The Law, shouldn't they? I mean, "ignorance of the law is no excuse", and they are doing a special job which requires special knowledge, skills and care. So, I think that we can assume they knew they weren't doing "the right thing". Stingrays are pretty clearly against the spirit of American Democracy and Law Enforcement, as traditionally held.

Beyond that, the ends rarely justify the means, even legally. There are supposed to be limits to how the police find stuff out. See 4th Amendment. Traditional sense of fair play, decency, etc.
New York, Remote, Contract

Stack:

- Ruby on Rails, Postgres, JQuery, CSS3

- UI/UX, SEO

Resume: http://www.emprivo.com

Contact: contact[AT]emprivo.com

We are a small team of three entrepreneurs who design, develop, and market. Done work for Chegg, StubHub, BizFilings, The Knot, and Zulily.
"The Queen reigns, but she does not rule." - Walter Bagehot
One of my first mentors was a blind programmer. He's actually one of the smartest and most productive programmers I know.

The main tool he used was some screen-reading software called JAWS, which apparently is pretty sophisticated these days. You can see some of the other tools available here:
http://www.freedomscientific.com/products/fs/blindness-produ...
Figure out German animal names with this handy flowchart
Exhibit A on why sarcasm detection is difficult. (https://news.ycombinator.com/item?id=7845193)
How a VPN Works
His take on the "x years of swift experience" meme is pretty great:

"Looking forward to next month: I'll be the first and only guy with 4 years of swift programming experience :-)"

https://mobile.twitter.com/clattner_llvm/status/473835365137...
My first freelance project took 2X as long as estimated – How should I proceed?
Oracle now delivers the latest Java versions for Mac OS X.
http://www.java.com/en/download/faq/java_mac.xml

The Java 6 by Apple is the last version created by Apple.
5 Amazing Android Applications custom-made for Mac Users
Reducing Startup Brain Damage
Here's why Go's errors are better than exceptions:

Multithreaded environments make exception handling next to impossible to do correctly. The stack trace only shows a single thread which is often useless without more context. Exceptions are per-thread, so handling has to be per-thread.

Exceptions make the control flow of your program completely obscure. Any line that calls out to another function can cause this function to exit. If you're not wrapping every function call in a try/finally, you're probably doing it wrong (at which point it's even more verbose than go's error returns).

Errors in Go aren't special. They're just values returned from a function. You have the whole language at your disposal to deal with them.

I can write this in Go, and it's perfectly safe:

f, err := os.Open(filename)
if err != nil {
return fmt.Errorf("Failed to open config file: %s", err)
}
err = callFunctionThatMightErrorOut()
if err != nil {
// handle err
}
f.Close()

I know that my code will ALWAYS close that file handle. To do the same thing in a language with exceptions, you'd have to do something like this:

File f
try {
try {
f = os.Open(filename)
}
catch(Exception e) {
throw new Exception(string.Format("Failed to open config file: %s", e.Message))
}
try {
callFunctionThatMightErrorOut()
}
catch(Exception e) {
// handle error
}
}
finally {
if f != nil {
f.Close()
}
}

Now who's verbose?

The reason people think Go exception handling is verbose is because they aren't really handling errors in their own code. Go makes it easy to handle errors in the right way.
Also, if you want to capture everything after some prefix. For instance, in a log: /(WARN|ERR) (.*)/
Actually, it only needs to be \[([^,]+),([^\]]+)\] because you're only going up to a comma in the first capture group and a square bracket in the second.
My argument was also about familiarity. The imperative subset of Scala is really familiar to Swift, you're absolutely right (+1 for posting that comparison). However, real-world Scala is different. With powerful trait-based OO programming, its functional style with routinely chaining monad after monad, and implicits everywhere. It's incredibly powerful, but not an accessible language for an app platform as large as Android's.
How Greylock Partners Finds the Next Facebook
Defrac – Simplified App Development for iOS, Android and HTML5
That's a very good point, actually. It's tricky, because always requiring the latter format is burdensome, especially if the zero value of the map is an ok value for you...
Roman numerals? I have never encountered a regex implementation where '\d' matches 'X'. It's certainly not the case for Javascript: http://regexpal.com/?flags=g&regex=\d%2B&input=10%0Ax%0AX%0A...
This relevant Monty Python skit is worth hoisting out of Stross' comments and posting here:

http://www.youtube.com/watch?v=-fNvi6xG-5Y

from about 1:00
You can't make an open source platform around a core that requires a commercial license. Had Google done as you suggest, there would be no AOSP, which is fairly strategically central to Android.

Tactical choices are constrained by strategic goals.
This comment thread seems like a good place to test detectors on.
Poe's Law says this is pretty much impossible. It is tough enough for humans to tell sarcasm. How are we going to get machines to do it well.

http://en.wikipedia.org/wiki/Poe's_law
You deserve the down votes because all you've added is emotion with zero content.

Why haven't you mentioned a single specific bug? If there are too many, tell us about the ones that you think are show-stoppers.
The "Internet of Things" is marketing fluff, like "information superhighway". What they mean is "we want to charge you for more shit with silicon on it so we made up a new term". Raspberry Pi is waaayyyyy too big [and pricey] for devices that are nothing more than a sensor and a gprs module.
Police sting protects Britons bank accounts from Russian Hackers
Sarcasm doesn't work well on the Internet for the same reasons it doesn't work well in person when conversing with a stranger ... but the stranger has the advantage of reading your body language.

I was brought up in a family that used sarcasm heavily and "turning it down" on the Internet has been a real challenge. Sometimes I still fail (something I believe is obviously sarcastic is misread).
An alternative is something like ucLinux, which runs on MMU-less processors (think 68000/Coldfire or Cortex-M). Pretty much a functional POSIX/Linux EABI with only a bit of pain getting to work.

I'm using ucLinux on a Cortex-M3 (NXP LPC1788 @ 72MHz) and it's pretty reasonable. I did it primarily to use Qt as my UI framework, but if I was running in bare userspace I think it would work even better.
We also have clues about the tone it was said in, which is more difficult in text.
That perception is not entirely without merit, but it's a little dated. Steve Blank, fwiw, teaches and lectures at the MBA programs at both Stanford and Berkeley. MBA programs, like those and many others, are actively embracing his methodology, and methodologies like his.

Modern, top-tier MBA programs are increasingly driven by entrepreneurship, and less by traditional, hidebound business courses and corporate line-management skills. A lot has changed, and much of it changed in reaction to the embarrassments of the late '90s. Furthermore, engineers make up an increasingly large percentage of MBA cohorts these days; the old MBA/engineer dichotomy could use a refresh. The two skill sets -- engineering and analytical business strategy -- are often quite complementary. MBA programs have recognized as much, and today, being an engineer is a serious advantage in an MBA curriculum.

That's not to say you won't find your fair share of entitled, naive, or opportunistic MBA students in any given program. They're still around. But their numbers are dwindling, because many industries (finance and consulting notwithstanding) have realized they don't want that type. In time, these people will become the exceptions, and not the rule. That may already be the case at many MBA programs.

I'm not here to play apologist for the reputation MBAs have earned in the tech world. A lot of it has been deserved. At the same time, a lot of it is no longer as fair or accurate an assessment as it once was.
As a matter of fact, that's what I was doing to bypass DynDNS limitations: running a PhantomJS script via cron once every week to login, click around and logout. But it is a tiny hassle anyway. Much better to stick around with a service that does not have these annoyances.
Seeking | Remote | Located in NYC | Can fly out to your location to understand your vision

We are a small team of three entrepreneurs who design, develop, and market.

We've built 6 of our own startups from scratch. 5 have been profitable. 2 have been acquired.

We also consult for other companies that have a great vision. We've had the honor of working with companies like Chegg, StubHub, BizFilings, The Knot, and Zulily.

Our work: http://www.emprivo.com

We focus on outcomes.

Designing great experiences, coding in Ruby on Rails, and driving traffic are all part of the equation.

But our focus is always on the outcome.

Lets talk: contact [at] emprivo [.] com

http://www.emprivo.com/
Not an "insider" but wikipedia points to:

http://www.freescrabbledictionary.com/twl06.txt
How Silicon Valley Can Bring Us Campaign Finance Reform
Slidebean Launches To Give Prezi A Run For Its Money
And this is where we get the nickname 'pom' from, which is short for 'pompous' and usually associated with other appengages, i.e. 'bastard' and so on.

Pomp and ceremony, with little substance, seems to be an essence of many a puppet state.
That's a nice spin in the headline, but a homeless person could equally well fulfil the requirements.

In reality the Queen is a symbol of the glorious colonial times.
This comment is the epitome of a Hacker News comment. I expected no less when coming to read the comments.
Show HN: Passphrase based chats with verifiable anonymity.
Clojure's startup time is super slow even on the JVM. Here's a good analysis of why: http://nicholaskariniemi.github.io/2014/02/25/clojure-bootst...
Their government pays people to write free software.
Ha ha! No, I was just trying to see the world through their eyes... In their view, wanting these functions isn't the problem. We are the problem.
Give HN: 1x Free (as in beer) e-paper development kit (6" tablet included)
Dear HNers!

We're giving away an e-paper development kit, which includes a WiFi enabled waterproof e-paper tablet and server software (usually priced at 239 EUR). You'll be able to develop your own e-paper application/solution in a matter of days using regular HTML, CSS and JS. See our web (http://www.visionect.com) for more information.

The device comes with no strings attached, we'll even cover the shipping expenses and throw in additional support if you need it.

Every poster in this thread that presents his idea of what he'd like to build or develop using our development kit in a comment will be put in a prize pool. You'll need to tag idea comments with #VISIONECTIDEA so it's easier for us to parse the thread. A computer will pick a random winner on Monday 9. of June at 16.00 CET. We'll ask you for contact/shipping information at that point.

There are a couple of ideas of what you can build on our blog (http://blog.visionect.com) to get your creative juices started.

TL;DR;
- Free e-paper development kit, includes a 6" waterproof tablet (239 EUR value)
- Post an idea on what you'd develop with it, tag it with #VISIONECTIDEA
- Random winning post will be picked on Monday 16.00 CET
local workspaces are hopelessly broken for repositories of any real size. They're slow, you get local store conflicts when running multiple copies of VS, etc. Server workspaces are a pretty poor solution if you have remote workers on poor connections.

So far Git integration seems good, but I have only used it on some smaller projects.

Here's a moaning email I sent to a few devs I work with in April re: TFS:

"...In the office it's slightly better, but TFS is still slow. This is just the tip of the iceberg with TFS though.

Open TFS explorer - 20-30 seconds

Open a folder in TFS explorer - 20-30 seconds

Rename a file - forget it, go and get a coffee

Add a file - forget it, go and get a coffee

Delete a file - forget it, go and get two coffees

Edit a file - Often I see "Waiting for a required operation to complete..." -- see below

Then when you add into the mix that I'm on Virgin media who are the shittest internet provider on earth and who clearly do traffic-shaping on VPN connections; and they constantly drop my VPN connection, which will cause TFS to lock-up -- you might start to see why I'm going slightly insane.

Yet when I work on a pet open-source project with Git everything is sweetness. It seems like the Visual Studio team just started again with their Git integration. It doesn't even have to reload projects when you sync and a project file has changed, it just happily merges it in.

Ultimately even if we host TFS on the best server known to man, I won't ever get over the fact that Virgin media are going to be constantly fucking me over. So a local-store makes much more sense. TFS has a local-store mode, but (incredibly!) its performance is worse than the server version. It seems to be because our store is too large for it (over 100,000 files).

I think it just goes to show how awful TFS is if they can't even create a local database which can manage 100,000 files.

I see this error all the time (on VS 2012 and VS 2013):

[Picture of the 'Waiting for required operation to complete dialog']..."

Sorry if I'm bitching about your work, but it seems the Git integration is the only real game in town right now. It really is very impressive compared to the other options.
Being able to right click and open different offerings in new tabs would make me much more likely to look around. Needing to click on one, and then back out and select the next slows down my workflow and makes me more likely to give up and move on to another similar site.

I really like the idea of the rewards though. Someone willing to spend some time on the research could stay in business with this.
The original SOW, if anyone's interested: https://www.fbo.gov/utils/view?id=fb2ca11b7d9ca8c61e5ee6d8ae...
IPv6 mobile address portability attempts to keep your IPv6 address constant as you move around different wireless access points or LANs within a company or ISP network. It doesn't provide a globally static address or way to provide a static hostname.

Even with a static or mostly static IPv6 address the ability to have a dual stack dynamic hostname where both the v4 (that changes a lot) and the v6 (which might change less) is still useful. It is also obviously useful as you roam between office and home and such and want to keep a hostname constant.
How A Soda Fountain Works
Your exception code ignores RAII, which is about the best argument for exceptions. The file should be closed as soon as the function returns for any reason, which (with a sensible design and properly implemented destructors) will be as soon as the function returns for any reason, meaning the outside try-finally is entirely unnecessary and the file is guaranteed freed even if you have multiple returns.
ProtonMail: End-to-end encrypted email
A secure mail startup founded by CERN and MIT scientists in 2013.
Probably the best move for Google would be to write a super fast WebView implementation. This will let the huge mass of web developers to use JavaScript at a speed comparable to Java.
This doesn't appear to support TCompactProtocol, which in the official Python implementation uses a different byte-order on the wire than the official implementation in every other language.

https://issues.apache.org/jira/browse/THRIFT-1639