skysight-inc/HackerNews huggingface dataset:
Yeah,that's a good point. Certainly Rust or anyone else could implement a simple function that returns a populated error struct with the given string message.

I guess my initial reaction of a lot of boilerplate was mainly due to the default Rust error having a message, description, and a cause, instead of Go's default error that just has the message. Adding a description and cause is easy enough, and if you defined them for every error in Go, it would probably look pretty similar. My apologies.
I don't use a Mac, and on Linux I use plain xterm. Does the job, is fast, and you can spawn a lot of them cheaply. Arranging them is easy with a tiling wm.
Ask HN: VPN with dedicated IP and simultaneous connections
We are a small distributed team with a variety of servers that we log into. We have locked down SSH access to our IP addresses. The problem is that some of us get random IP addresses from our ISP which means that we have to keep updating our security policies with the new IP address.

We've looked into the various VPN providers. There only two that I can find that offer dedicated IP addresses, but they do not offer simultaneous connections from multiple different IP addresses.

Are there any other options that we can consider so that each team member gets a dedicated IP (even if its the same IP for everyone) and can be simultaneously connected?
If I had to guess, I would say network and disk I/O will be the bottlenecks. Disk I/O less so because distributed system, and SSD. I imagine if anyone can solve GC issues, though, I would bet on Google :)
Apart of the suggestion here, you have a problem in " but due to the nature and timeline for the project cannot do it for each and ever commit of course".

If the time is so tight that you can dedicate time to fix stuff (including the code quality) then any of the suggestion here are DOA.

Remember: If you want to chop wood for 10 hours, use 8 to sharp the axe.

Code, code, code, code non-stop is as efficient as chop wood without sharp it after a while.

Dedicate time to improve the code quality ALWAYS pay off. Think: "I'm time constrained, so continue the death march until we finish" ALWAYS make the project take longer.

----
A good idea is STOP each week, review the tasks, ask where are the pain, where is the code that is becoming a mess, what is complicated, then FIX that. Decreasing code/clearing it in the short AND long run will be a time saver.

Encourage change when the purpose is quality. Not stick to code/design that is a pain. Stop each week to breathe and see if move forward as now make sense, or is better to kill a portion of the code and rework it.

This is specially important when the TIME is critical. When time is not critical, you can do bad code because, hell, you can take the time! But when you have not time, any bad code is slowing you.

Then make this clear to the team.

Not be yourself the only that code review. Everyone can do it.

Take control when deploy. Not when your customer say so. Be predictable (ie: Always deploy in the start of the week, never at the end).
iOS App Development: How to Build a Quiz App in Swift
Here's a counter-argument.

var x = new Foo()

...is almost universally recognizable, and leaves little guesswork about the intent and meaning of the code. There's a lot more ambiguity encountering this:

var x = foo()

What am I getting back? A primitive value? An instance? A singleton? I have to go peruse the docs. `new` can definitely be abused to do non-intuitive things, but it's still a powerful signal to future readers of the code.
LibreOffice comes in mind for that one.
Google doesn't have ads on the news subdomain. They only make money indirectly by driving traffic to publishers who are Doubleclick customers and adding new behavioral data to the profiles of logged in users.
They're now running a similar study with external mics (MicW i436)

https://twitter.com/NIOSHNoise/status/522456711882629120

I expect apps would be even more accurate with external mics
Pronunciation mp3 file for any word
Announcing Typeplate 2
ECC support?? FINALLY
Plenty of companies have 1,000+ developers and zero presence in the valley. It's ridiculously overpriced and only really useful for fundraising. Which is why most successful companies mostly grow outside of the valley.
Sure, it was a bit of a weird digression. But I figured it would be useful to you.

> And while I agree with you in theory that "laws don't "actually grant any rights", that's a matter of ideology. For all practical intents, they do.

Practical intents? Well, here's a practical example: if laws actually affected/defined rights, then the government could just pass a law that says "it's alright to kill innocent bystanders", and people would have no problem with it.

But we both know people would consider such a law illegitimate (and insane), exactly because passing a law that says it's alright to kill people doesn't actually make it moral to do so. In other words, rights are not defined by laws, even in practice.

> it has the effect of granting rights by preventing signatories that have subordinated themselves to it from enforcing laws that try to take those rights away

So once a government signs a paper that says X, it can't sign another paper that says not-X? Or alternatively, if a government promises it'll be good, it can't then be bad?

If government A promises to be good, but is bad, will governments B, C and D then invade A to force it to be good? Or will they go give A a stern talking to? Or will they perhaps impose economic sanctions that hurt their own economies too?

You see, signing a law that says a government will be good is nothing but PR, in practice.
I can vouch for this-I've been trying to import CommonCrypto, and instead of just typing "import CommonCrypto" I have to do some sort of "bridging header" stuff with a .h file that just seems totally backwards to me (I don't have Cocoa or Obj-C experience). It feels very not quite ready for prime time.
There is an Android port. It is... Interesting. https://play.google.com/store/apps/details?id=com.andropenof...
Widely Loathed Spirit Airlines Reveals What People Hate Most About Flying
Doing everything is not the same as doing everything well.

Surely you agree that languages designed with one purpose in mind (a la Go and networking/server development) can reasonably do better at that purpose than an explicitly general-purpose language?

Just to be clear, I prefer Swift to Go in general. However, between the two, I would personally prefer to use Go for the development of network utilities.
Welcoming New Humble Masterpieces into MoMA’s Collection
Mac os x, for instance, lets you know where the binary was downloaded from when you launch it the first time. 3 would help people trust the binary more when actually choosing to launch it.
This is precisely the style of application development Ember shines at.
Pangu8 1.2.1 released, its final version for Cydia Download iOS 8.0 – 8.1
Hope DO comes back up soon! I want to check this out.
Not only it is endorsed, it is Ember. The project will get lifted to Ember in github by the time Ember 2 comes around
Terminal.com also already has fast containers that you use as virtual machines that people use in production (disclaimer: I'm a founder)
I love it! This is a really fun idea. My favorite so far is 'coin operated helicopter'
>Do these talented people really need to be in an office in Silicon Valley, sitting opposite you, tapping away on their keybosrds with their headphones on to as productive or better than me or you?

It really depends on the person. I know for me? I'm vastly more productive when I'm trying to ignore the other people in the room and work.

For me? It's at least in part about immediate and constant social pressure. That, and showing off. I would be super embarrassed, say, if a co-worker noticed me reading HN during work hours. How come I haven't been able to implement something remote for this? Could you rig up webcams or telepresence bots to do the same thing? I don't know.

Working remote? oh well, I just won't put that hour on my timesheet. I mean, I'm honest about my hours, but in the last few remote situations I was in, I just didn't put in the hours.

Now, not everyone is like this. I know many people that are vastly more productive when alone, in fact the most productive individual contributor technical people I know are vastly more productive alone.

But for me, my own faults and weaknesses line up such that I need an office. I need that social pressure keeping me on track. The difference in productivity is vast; enough, at least, to justify significant rent and some commute time.
I'm curious to know about why you say that Juju overpromised and underdelivered. I definitely agree that the marketing of the technology detracts from making it clear what the technology does, but Juju is still pretty cool. Perhaps you're thinking of MAAS (which is basically unusable)?
Interesting. I know Google uses the IP 8.8.8.8 (and 8.8.4.4) for their public DNS servers. So it seems Level3 doesn't own the entire 8.0.0.0/8 block then.
Mea culpa, I see that Apple does indeed have an /8.
Same, about the file hierarchy. Makes the most sense to me. If VLC had a file browser panel, my OSX audio life would feel complete.
You know what I really love though in the meantime? MOC on Linux.
pagekite
I noticed this as well a couple of weeks ago.

They're still actively visiting every page on the websites that are associated with our iOS apps.

Today alone (starting shortly before 8am CET) they've crawled over 8000 pages on https://trails.io and http://offmaps.com — without sending conditional caching headers (our pages don't change too often).

$ grep ^17\\. /var/log/nginx/*.log | grep 'Go|Fetcher' | wc -l
8254

Note that they don't appear to be scraping any URLs available from within the apps themselves, but rather the the company/support websites linked in our App Store listings.

I guess they're automatically scanning for objectionable content, since these websites are linked from the App Store and the iTunes website?
Right, but why did it take a playback feature for you to realize this?

Google Docs has always had a revision history tab.
The software tech Apple uses generally doesn't seem to get as publicized compared to most large tech companies - for example, I know second hand that Apple uses Angular.js, but I have never seen anything in the wild about it.

One thing to keep in mind though is that Apple is much more a hardware company than software.
I really like that, that it's nice a idea to build palettes on related images. I thought you would have a special formula that matches words with specific colors!
So they are "apple-maps'ing" search as well, hilariously using one of Google's own tools in the process.

Would be interesting to know if/when any deals with bing/google/duckduckgo for search is expiring, like they were with google maps. That's probably when we will see an apple search engine.

Makes sense for them to fully control another part of the backend for spotlight and siri.
Front (YC S14) on the differences between raising capital in the US and EU
Well, it's ugly, but I don't doubt it's useful if you're on a tablet.
FBI seizes Silk Road 2.0, names operator
I'm curious, why does GnuPG scare you?
So, you believe that sitting in your armchair, you've identified some fundamental flaw in the Duke engine design that they overlooked from day 1?

Yes, ported intake/exhaust solves the problem of rotating the disk instead of the cylinders, but porting comes with its own set of drawbacks. Ask any engineer who has worked on Wankel Rotary engine design and they'll tell you all about it. Ported engine designs include the Wankel Rotary design, as well as 2-stroke, reciprocating, piston-in-sleve (traditional 2-stroke ICE) engine designs. Both have issues meeting emissions requirements because of inherent limitations of ported engine designs.

Cam operated valves have some very specific advantages that play a large role in the ICE's ability to reach current specific output levels. With a ported engine, you cannot vary the intake/exhaust profiles; with a cam, you can. Variable overlap in intake/exhaust, as well as variable intake/exhaust opening area are key aspects of state-of-the-art ICE design. You give up both of these with ported engine designs.

Wondering about these kinds of things is great, but be conservative with your assumptions, and generous in your interpretation. It's condescending and narcissistic to assume that you can take a cursory look at the Duke engine, wave your hand, and solve a massive design flaw.
I'm not saying it's a good idea, I was just responding to your assertion that Swift was designed only for writing user-facing applications. That is not the case - this is Apple's planned replacement for low-level code as well as apps. It is this design requirement which drove Swift's abandoning Objective-C's dynamic bindings etc.
What were teh effects? How did the author notice? Was his server lagging? his OSX machine? If would be pretty awesome if you could dos MACs with 250KB/s flood.
Create stunning presentations on SlideShare now
Ooh, that's interesting. They already increased the requirements for online privacy policies etc for ios8 apps, so perhaps we'll see some crackdown on appstore apps who are missing those.
I'm developing with Dart full-time since about 1 1/2 years and I'm just glad that I don't have to use JS anymore.
JS has still more libs ready to use but the quantity and quality of the packages available for Dart are raising fast.
I enjoy that I can use the same language client- and server-side and share a lot of code. Upcoming features will make Dart even more appealing (Appengine support, DartVM in Chrome, async/await, ...) The Dart team is always busy improving the ecosystem :-)
More details here: http://uk.businessinsider.com/fbi-silk-road-seized-arrests-2...

Operator supposedly an engineer at Space X and arrested in San Francisco yesterday.
Dumb question but what is the reddit front page? Isn't it customized for everyone depending on what you're subscribed to? Or are there a ton of users that never log in?

It seems like you wouldn't get much value out of reddit if you just view the front page without logging in?
For reference, the plane in the article appears to be a Bixler.
Cogent Admits They Slowed Netflix’s Traffic, Creating a Fast Lane and Slow Lane
Ha4eR
The author really has no idea what stewards actually do. Mostly it is dealing with spam across multiple different language wikipedias and policing the smaller ones that do not have enough of a community themselves. Basically the only thing they would be doing on the English Wikipedia would be promoting people to bureaucrat and such. They explicitly do not use their powers on any of the projects that have actual communities.
I haven't tried it, but here's a SciPy 2013 talk by its author Ana Nelson: https://www.youtube.com/watch?v=u6_qtDJ6ciA
Lots of respect for replying to a pretty snarky comment and admitting that you were wrong with good humour, if everyone was like this internet comments would be a whole lot better :)
Popular hosting in particular. It's got to be pretty easy for an entity like the NSA to notice a whole lot of traffic to the same place. Once that information is handed off to the FBI they just have to parallel construct well enough to convince a court ... which as it turns out doesn't have to be that good.
Are there any details on how the distributed joins are achieved? (Sorry if that detail is in the design doc, my access to google drive is blocked from work).
Where is the file downloaded from if it wasn't uploaded to the targeted site?
In most languages, I would agree with you. Unfortunately, I haven't encountered a "half-decent toolchain" in JavaScript – or at least a toolchain that would help me reliably and fearlessly refactor big bases of code.
The published database is actually for the Foreign Labor Certification application (a.k.a LCA), which precedes making an H-1B application, and mostly approved. A certified LCA may not result into a successful H-1B petition though.
Travel to Egypt ♥
Operator of Silk Road 2.0 Website Charged in Manhattan Federal Court
Eeek, the "C" in CIDR stands for classless, so it is either a Class B or a /16 not a "class /16"

Also, it is highly unlikely that you had a /16 as a PI allocation even in 1990.
I think Apple will not allow an embedded scripting language like VBA. On Android and Windows it should be possible.
One thing I'm interested in knowing is whether Reddit manipulates the votes on its own submissions. See, for example, r/blog: http://www.reddit.com/r/blog/new/

Every submission made there went to the frontpage. What are the chances? I mean, it's hard to believe that mainstream Redditors at this point are so interested in Reddit news that they keep sending every Reddit announcement to the top. What's more likely, to me at least, is that Reddit is either leveraging its knowledge of how things work to get to the top in a surefire way, or it's plain messing with the upvote numbers. I would love to see data on these submissions, if possible. Of course, there's good reason for them to actually do this -- they need to advertise the Reddit marketplace stuff and so on, it's how they make money.
Ask HN: Hackathon project: Show skill or work on a simple project that I like?
So the situation is that I have an idea of the project that i'd like to work on at a Hackathon. The problem is it might be too simple for me. The idea is fairly simple and I believe many people will really like. I know I will create it even if it's not at the Hackathon. The problem I'm facing is that I don't think it will challenge me enough or show off my technical skills. I'm currently a college student and I'm looking for a job. I feel like this would be a great way to network with possible employers especially if I can show my technical skill. So I guess the question would be, Should I go with a project that can challenge me and show off my skills or the simple very useful project that I really like?
Reddit has a default frontpage for people who don't have accounts. I lurked for years and was just fine without actually creating an account. :)
Great job, I can definitely see myself using your service assuming it runs properly on several different platforms upon release.
this is more fun: http://vimeo.com/68215606
The most likely explanation for not using Swift is the employees who worked on the crawler simply didn't know it existed. From what I've heard, only a select few at the company knew it was in development and a number of Apple employees were noticeably shocked during the WWDC keynote when it was announced.

Apple actually uses a bunch of 3rd party developer tech on the server-side and on the web. They use Rails quite a bit I believe and are starting to use Angular.js too.
It's never too late to switch or alter the direction of your profession. Plus you're asking for help which means you're moving in the right direction.

It sounds like you're at a bit of a crossroads. The first thing I'd suggest is to pick one thing and stick with it. Stop the learning.

If you want to get into programming and develop your portfolio the following is what I'd suggest

1. Create a github account.

2. Find a project that interests you. I'd look at this thread from the other day on what OSS projects need the most help with documentation for projects https://news.ycombinator.com/item?id=8551624

2a. As you're looking through projects, look for ones that have maintainers who show they welcome contributions and are willing to go the extra mile with communication. The way to figure this out is to look at past pull requests and closed issues.

3. Once you've contacted the maintainer start helping. I'd suggest focusing on the documentation and issues first. Steve Klabnik had an excellent post on how to be an open source gardener http://words.steveklabnik.com/how-to-be-an-open-source-garde...

4. Start a wordpress, medium, or blogger blog.

5. Every time you learn something write about it and PUBLISH it

All this advice is applicable to working on two main things 1) Figuring out if you really want a career in programming 2) working on your weakness, which is communication in English. If you have any questions or want to talk about better next steps feel free to contact me. My twitter handle is in my profile.
I think you can get a long way with "automated code reviews" - basically, linting and static analysis. There are various ones out there for your language - disclaimer: I wrote one for Python called https://landscape.io

They can take a little while to get set up exactly how you like them, but once you do, run them on your CI server after every commit and it'll output the warnings about style violations and so on. That's basically what you're after. It's not a replacement for a manual code review but it's certainly closer to what you want than nothing!

As other have said though, this only works if you and your team treat code quality as important and actually take the time to understand the output of the analysis tools. That's why I like the CI approach, so that you can see if the number of warnings is going up or down over time and react accordingly. That metric is a useful one to keep an eye on to get a view on the quality of your code, and if it gets too high you can schedule some time.

(PS if you are interested in learning more about "Automatic Code Reviews" for Python, here's a talk I did at EuroPython14: http://carlcrowder.com/pages/europython-2014-automatic-code-... )
Scribd Expands Its Subscription E-Book Service with 30K Audiobooks
>Much to my surprise, I found out that reddit's front pages are not a pure "meritocracy" based on votes, but that rankings depend heavily on subreddits.

Is this really a surprise? If just went by upvotes alone, a sub with 1M subscribers will always dominate a sub with 500k. You need to factor in the that context.
I left reddit years ago (and found HN) because although I agree with mostly liberal views it became too much of an echo-chamber for liberal views the frontpage is the extreme example of that.

There are many great sub-reddits of course but it's not a place for politicial discussions (in fact I am still looking for a good place to have political discussions)

Edit: Why does my personal experience get downvoted?
People rarely make apples to apples comparisons.

A nice 4 bedroom house on 2 acres is easily 10 to 20+x as much in the Valley vs most of the US. Generally, when running the numbers people adjust for this and look at the housing people actually buy vs trying to do direct comparisons.

Cars on the other hand tend to be close to the same price anywhere you live. But, insurance vary's a fair bit.

So, while directly living a 35k lifestyle in India might cost 500k in the valley, most people are willing to make reasonable sacrifices. And thare are advantages to living in a major city.
The thing is, the tax rates only matter if you are successful. Well, mostly. You mostly only pay taxes on profit. (there are exceptions, like payroll taxes, but those are mostly federal.)

I'd be happy to promise to pay a billion dollars if my company ever has more than two billion dollars on hand, if paying that billion makes it even slightly more likely that my company will become that successful in the future.

Face facts, as a friend used to say, your company will probably fail before it makes enough money to pay significant taxes.

And money on the upside? it's got diminishing marginal value. Making promises to give away some of the upside, if it gives you a better chance of getting to the point that there is a significant upside, often makes a lot of sense.

All that said, complexity matters a lot. I mean, until I start making money, I don't really care what the tax rate is - I'm not making much money, so I'm not paying much in taxes. But I'm paying my accountant, and even then, my accountant makes me think at least a little about taxes. And taxes are super complex.

When your company is small, you will spend more money figuring out how much to pay than you will spend on actual taxes. Complexity is a cost even when you are small and posting small profits.