skysight-inc/HackerNews huggingface dataset:
> But the expense of extra lines of co[d]e come at significant maintenance costs.

All lines are not created equal.

if err != nil {
return err
}

Those 3 lines have very, very little maintenance cost.

The obvious must also be mentioned: less lines of code usually mean building on abstractions - the lines of code are in there, somewhere, but not in your code. Better hope that abstraction is well-tested. Of course it's all a matter of balance, but I disagree with "more lines of code is inherently a bad thing", which stated another way, would mean "cram as much information as possible in a single line of code".

In the end, lines of code are a bad metric of software.
From what I've seen most of the times people complain about Go it is because they think they're going to use whatever feature they claim is lacking when in actuality they rarely use it in practice.
I think its cheap, for example Netflix would cost me 120 bucks a year and I just occasionally use that service, email I use all the time.
Firefox: Suggested Tiles Partners Go Live
its only played in Australia

It's also played in Ireland, they call it Gaelic Rules there. I can't believe you'd unvalidate a whole culture like that, you monster :-p
The iPhone 6S aggravates missing photo archive features in iCloud
New pipelines are not the answer and never have been. Allowing companies to turn the landscape into a waste land of pipelines is not some answer.
I think a lot more people would get educated about pipelines if we started proposing running them through San Francisco and New York and I for one would like to see that happen since new pipelines are supposedly such a great economic boost.
I think this article shows exactly the mechanism to enforce it - you sue for breach of contract.

Now, for most people, getting their 20 bucks back is not worth the trouble and costs of a lawsuit. Which is exactly why the suit in this case was carried out at a higher level, taking advantage of the fact that the guy running the project as well as some backers lived in the same jurisdiction.
I think I made I mistake when I called photos dense data.

I think I meant photos are high quantity of data (1 photo=1000 words).

But high quantity doesn't equal high quality. High quality (high data density? high signal?) is found in a single, 10-word succinct sentence more often than it's found in a photo. In that sense the signal in a photo is more diluted by more noise.

This definition is in line with what I said about elite scientists. They prefer photos less than average scientists do, because the signal is low. It's interesting that this difference isn't as big though. Maybe it's harder in general to find the signal in high noise (the few good words in the 1000 words of a photo), irrespective of being elite or average.

Maybe that's where painting comes in. It isn't as fixed of a medium as a photo, which may make it easier for the elite to capture the few good words a photo may not. Although this is probably connected with time too. You can continue working on a painting; paintings are abandoned. Whereas a photo is a still in time, often completely uncapturable at other times.

I wish the study had also captured physical exercise. That'd be more data on kinetic thinking.

A thought on music, which is off the charts for elites. Music is patterns and paradoxically patterns compress very well. Literally, think .mpeg, deflate, arithmetic coding and dictionary compression that can yield 100x benefit. Music is probably an uncompressed spider web that reels us in to some small, powerful data function. Music is the macroexpanded source code and its data expression is the macro.
HUMAN – the movie
referrer link?
Show HN: Twilio SMS UI, Put a human touch to your automated messaging
How+To+Use+Your+Gifts+To+Thrive+Wherever+You+Are
Roads are freaking expencive to build and maintain. These pods look a lot more useful than self driving cars or subways and likely cost less than highways.
Contracts fall under civil law. There is no statutory definition of what constitutes offers and acceptance. So in this case, were I a lawyer, I'd argue that the TOS is a legal contract, and by using the site, you have implicitly agreed to the definition of contract acceptance specified in the TOS.

Whether it holds up in court is a different question, but this lawsuit at least gave a precedent.
I though it might be hard puzzle games, so I built this:

http://store.steampowered.com/app/363670

But it does not sell very well. So puzzles are off too. As an indie, you cannot really compete with FPS or MOBA genre. Someone might suggest RTS, but RTS is replaced with MOBAs.

The only genre I see lacking and what would be easier to sell on Steam are RPGs. But those take a lot of time and effort to build. If you work alone, it's hard to justify 2-3 years of development before making any money.

I'm currently considering what will be my next game. Perhaps a 4x game that would have a vast and complex world that lives on its own.
Less than other lines, but I definitely would disagree with the doubled-up "very" on "little". In addition to simply being distracting and verbose, a core issue is that you have to make certain you always have the boilerplate and that you have to make certain it is always correct. Otherwise you just https://gotofail.com/ :(.
you could probably connect this to rPi to make it smart/connected.
I despise the Google Maps UI.
Ask HN: Late cofounder
Hey,
I'm about to join a startup as a late cofounder and would appreciate any thoughts on the situation.
It's a 3 years old startup with a "working" product that needs clients.
They lost all the team except the CEO when they were out of money.
The investors have about 3/4 of the company, and say they will put money on the company when they see paying clients. The rest 1/4 equity are going to be split to the CEO and me as tech lead.
I've been working with them for a month with the promise of an ok salary when the company gets money and about 10% equity vested over 3 or 4 years. The legacy tech will need a lot of work, but that's not really a problem.

On the other hand I have an very generous salary offer as an lead dev on another startup.

The generous offer is time-limited, so I can't really wait and see how the risky startup goes. Any ideas on how to evaluate?

Any feedback is really appreciated, thank you
Sdfdf
Go is a little more verbose in basically two ways: it forces you to handle error states explicitly, and it doesn't let you do overly-clever things to save a few lines of typing. Neither of which increase the maintenance or testing burden.
Real Men Park Near the Restaurant
I would guess that stations are the real problem here. To make this kind of transportation system really useful, you need really lots of them.
Teaching a Different Shakespeare Than the One I Love
There's open source software to do all of that, and it is relatively simple to setup. However, you will soon find that the real nightmare is in maintaining all the services. With paid for, or google hosted, services you set it and forget it.

It's also much more expensive to roll your own. That said there is a nerd-cred factor that had me set up owncloud on my personal domain. It's definitely a nuisance though hosting your own stuff.
How about: Using win32 means your application works without any problem and any third-party dlls or weird installs on anything from win2k to windows10 and winRT (any non-arm version). Making a single .exe that works across all of them isn't very hard. Making one that also works on linux and even android and ios is possible, but isn't nearly as seemless. Needless to say, you won't achieve this with either webapps, C#, java, or any of the other languages.

It's incredibly fast. You know how Go and C++ start with tiny applications ? The app starts up 0.2 seconds after you've finished typing the command. Delphi does that for 150000 lines applications. Your executables are decently sized (2-5 megabytes for large apps, kilobytes for small games and the like. Especially Go and C++ have problems with executable size. Go's hello world is still > 2 megabytes, and large go apps have huge binary sizes (dozens of megabytes), despite not containing spectacular amounts of code. Large C++ binaries, statically linked, are dozens to hundreds of megabytes (and God help you if you turn on debug info. I've known compiling a webserver + database app in C++ that actually failed to compile due to the single binary filling up the disk that had ~18 Gigabytes of free space (the binary, once compiled was 1.8 gigabytes, the rest was intermediate files)).

The number of add-ons, controls, database connectivity, install software, ... available for Delphi defies belief and they're extremely high quality.

It's extremely unlikely to change in backwards incompatible ways. Your code will keep working, and will keep looking and working the way it does now (compared to java or shudder the web, it's heaven)

Of course, there are downsides : manual memory allocation is a bit inconvenient (but very fast), HTTP/JSON communication is tricky. Nobody trusts .exe files anymore (for good reason, of course, but ...). It's unlikely to impress when judged on the last buzzwords.
> it forces you to handle error states explicitly,

Does it?

`if err != nil` is a convention. It's not a checked error. It's like saying "C has explicit array bounds checking", if the convention was to check it by hand.

For all the hate Java gets, when I have a checked exception, I know what it is going to be. I don't need to dig around in sourcecode trying to work out if I should care or not. I don't need to check which of the three Golang error-distinction idioms (package-variable errors, error subtypes, plain-old-errors-with-magical-strings) is in play.

As you can guess, I don't like Go.
In hong kong 90% of journeys are done using public transport.So the metaphor can be broken.
> But the expense of extra lines of coke

Please tell me that was autocorrect and not muscle memory
Google, Twitter and publishers seek faster web
Did Pixar accidentally delete Toy Story 2 during production?
Show HN: Oembed ANY URL (Slack-Like URL Previews). Fully Open Sourced. Golang
> Those 3 lines have very, very little maintenance cost.

These three lines are everywhere, give me no clear indication of whether they are intentional behaviour or merely a boilerplate-by-convention, and worst of all, they obscure the actual business logic.
Much more energy-efficient, really cheap, doesn't take much space: http://www.skytran.us/benefits/

Goes up to 150 mph: http://www.skytran.us/maglev/

Seems to me it works pretty well in combination with electric self-drivers. Use skytran for lower cost and probably faster transit, hop on an electric taxi when your destination isn't near a station.
<rant sorry="yes">

The problem is... it sucks. I'm doing this and - honestly - it's not very pleasant experience.

The dilemma is - either sell your soul to Google (Apple, Microsoft, whoever else) and surrender to their will for a glimpse of their proprietary innovations, or have to deal with basic (and somewhat ancient) technologies without much of support. Unless you hire a sysadmin to maintain that for you.

The thing is, popular services add some value, like smart email processing, reasonably-well maintained spam filtering, tagging emails (IMAP doesn't have this!) etc etc. It's all theoretically doable in DIY setups, of course, but entry barriers (time, knowledge) are huge, and in practice one'll likely to end up with only basic functionality that'd they'll end up eventually abandoning due to maintenance being a PITA.

</rant>
If you want to build an interactive programmable mirror, looks like Nanogest might be useful: http://www.nanocritical.com/nanogest/ It's available for both iOS and Android.

It recognizes 4 swipe gestures (top, down, left, right) and a wave gesture.

It's a library so you'd still have to build the information display part.
The author forgets to mention iCloud, which is apple's answer to needing more storage. This incetivises them to keep storage low and advocate for everything in the cloud - their cloud.

Their phones aren't expandable, and to the best of my knowledge the only computer they offer now that can be user-upgraded is the mac pro - everything else requires configuration at purchase.

Battery life and storage are the two biggest problems I have with my iphone, and it looks like they made no effort to address this low-hanging fruit in their latest iteration. As if to say what it's at now is good enough - which it clearly is not. This is especially painful, because these are two areas that an android phone has more to offer.

I wouldn't call it a serious strategic mistake. I would call it disappointing and self serving; something apple has always been, but the shtick is getting old, especially considering their position in the industry.
13 mind-blowing statistics on user experience
Whenever I work in Rust, I find myself having a good time mucking around
with the abstractions, but not really getting anything done toward the
problem I’m trying to solve.

I hear this a lot.

There's a lot of good stuff in rust, but people seem to get massively caught
up in making the borrow checker happy and lose sight of the actual task.

Maybe the idea of a drop in GC type for rust
(ie. https://github.com/Manishearth/rust-gc/) has some merit after all...
Here's why Apple made the stylus that Steve Jobs hated
First I just want to thank you for the very pleasant reply. More often than not people online tend to get very religious and downright mean about things like convention like this, so thank you the dialog here has been refreshing.

You might be interested in literate programming:

https://en.wikipedia.org/wiki/Literate_programming#Tools

It's not exactly what you are after, but I think is more fundamentally what you are after - ways to make it easier to understand what code is doing. You can have the best of both worlds too here with something like noweb and two windows.

One other thing I ran into is a code base that had incredibly long lines (more than 132 often). So I started using ndiff to help me there. It's a python script that puts + and - under the lines where the differences are as well. I also wrote a little script to html it with different colors. It was pretty awful until I made it monospace too sadly.

Cheers!
ShoutMeet Pune Event Highlights with Harsh Agrawal
That's analog of http://embed.ly/docs/api/embed API.

I've done it in few days. Server can handle 1000s of requests. Does smart things like de-shortening urls, and fetching image sizes based on first 1024 bytes.

It doesn't need to download full URL content in order to get oembed info. For HTML pages it fetches just first 50KB of data, for binary streams - just 4KB (although 1KB should be enough too for most of data).

Also, guys, poll! Guess what hardware is powering the server? :) You'll be surprised. I'll answer in few hours in the thread!
Are they going to pay you now with money (the green money that you can use in the supermarket)? Or you are going to get only equity?

I think that there are a few red flags:

* no clients after 3 years

* no initial team (can the CEO program?)

* investors have 75% of the company

Also, get everything in writing: "An oral contract isn't worth the paper it's written on."

(Actually, oral contracts are valid, but it's much more difficult deal with.)
I routinely find bugs in golang error handling code. In general I agree with your point but this is not the example I would use.
A lot of people are linking past cases that are similar, but let me just link the biggest one:

https://en.wikipedia.org/wiki/Qian_Xuesen

The guy went on to lead China's missile and aerospace program, but it was almost certainly because he had his life destroyed in the US first.

The 50th Secretary of the US navy, Dan Kimball said, "it was the stupidest thing this country ever did. He was no more a Communist than I was, and we forced him to go."
IMHO, without parens you will end up aiming for ml and matching. Otherwise removing everything will turn anything into ...

Without punctuation:

int thing int a int b while c = a ++ > b b = 0 a = b + c return c

Well almost gibberish, I have to admit, infix and some mandatory keyword do help. But Lisps have this tendency to be structural ... so their syntax and idioms go along with that very often. It's somehow twisted to remove that from them.

Without types:

thing a b while c = ++ a > b b = 0 a = b + c return c

Without most operator symbols:

thing a b while c eq inc! a > b b = 0 a = sum b c return c

Keeping the process

thing a b while c eq inc! a > b b isnow 0 a set-to sum b c return c

thing a b while c eq inc! a gt b b isnow 0 a isnow sum b c c

Recovering a bit of alternative syntax:

(int thing int a int b) while (c = a ++ > b. b = 0) a = b + c return c

<digression/>
60 YouTube channels that will make you smarter
Approaching the "to google or not to google" question is impossible without stating your casus belli.

If you care about opsec, there are many reasons why you would want to use google services: e.g. a hostile actor will have an extremely hard time stealing your emails from Gmail while there's a might higher chance you fucked up a config on your self-hosted setup. Usually, as always, it comes down to smart compartmentalization and using the right tool for the job.

Personally, the ethical perspective is a much stronger reason why to stray away from data behemoths like Google and Facebook. First of all I believe the "usefullness" of many of these services is over-exaggerated: Facebook noawadays is more of a brainwashing service to expose you to "content" that does nothing more than dull your mind and keep you mindlessly scrolling and endless stream of irrelevant advertisements. But even if this isn't the case for all online services, some come at a price I am personally not willing to pay.

We are entering an era of digital slavery where our entire lives are managed by data monopolies that are bound by no rules other than those they create for themselves. I don't care how convenient these commercial services are, if the price is giving up the sovereignty of my data, and the core liberties of my human existence. I make a conscious choice to not be part of this system, and we will all have to face this choice sooner or later.

For more on this topic, I highly suggest Aral Balkan's talk from re:publica this year [1].

[1] - https://www.youtube.com/watch?v=jh8supIUj6c
As a counter argument I would point to C, C++ and Lua as examples of languages that try to keep a basic generic standard library and let everything else fall out in third party libraries. I consider Go more in line with the C family then with the scripting languages like Python etc, With a slightly bigger stdlib.
For consistently high volume routes I could see it being superior to SDCs. You could move a lot of people out of a place with minimal waiting.

It could also be part of a network, with transfers to and from SDCs, which could be arranged to be waiting per passenger at the terminal.

Say you have a major sporting event letting out. These could run from the stadium to smaller collection points for SDCs. Less congestion, less miles traveled for SDCs. Faster, too.

These could be the city-wide movement system, and SDCs the 'last mile', so to speak.

It's possible they're more efficient in maintenance and energy per passenger mile, as well.
There are some steps in that direction. Two projects I know of:

- https://sandstorm.io/

- http://maidsafe.net/

I think I've seen some other projects but forgot to bookmark them (or maybe I did but forgot to tag the bookmark...). Sorry.

Added: sadly, all those projects are about software packaging with a single-click installers. I haven't ever seen a project that'd strive to have installation and configuration recipes written in some configuration management language using literate programming techniques, so the recipe would act not as a mere set of instructions to the machine, but - primarily - as an article to the user, explaining what's going on, why it's so and where to tweak the knobs. Like those "set up your own server" blog posts on steroids, and with a "not interested in details, just do this" button slapped at the top.
Hmm... I suppose explicitly claiming copyright on your email might keep many people from publishing it, particularly if you put a scary warning next to said claim.

Note: I can't think of any reason you can't do this, but whether or not this practice has real legal bite, it could be effective by creating an air of legal uncertainty.
Show HN: Stock recommender system using hedge fund data and machine learning
Color me educated: http://www.nytimes.com/2012/05/23/nyregion/gas-pipeline-bene...
haha holy shit i had no idea. Anyway, i can't eat any of them, it just feels too cruel. I know i know it's weird coming from an otherwise meat eater, but that's exactly my point, it's totally fine to feel certain way but it's just a feeling and it's arrogant to think that it can be "proven" to be universal. It's like some french people who eat fois gras judging some asian people for eating dogs and vice versa. Personally I feel they're both cruel but I don't try to "prove" them, it's just my own feeling. Everyone has their own way of living depending on their culture. There's no problem with vegans eating oysters, the problem is when he thinks he can prove that it's ethical.
Looks to me the entire deals favors the investors. They have 75% ownership (and hence full control) of a risky startup, which sort of failed in the first run - failed to take off, and people left. Now there is one committed CEO, and you are a new guy. Both key people to the success, but with only 25% stake.

CEO may have some other things at stake like relationships, and his reputation etc. But you have no such thing. So decide carefully.

You may have a strong bargaining position. But I don't see any value in bargaining hard for the unknown (i.e future value of a Startup).

Finally, you should take a decision on how much you yourself believe in this Startup. Also the trust other people CEO and the board inspire in you. Not an easy decision.
Yes, Facebook isn't very "useful", but I think you'd have a hard time making the same case about Google's services. Maps, Gmail and Android(assuming iOS/Windows Phone isn't an option) are all hard to beat.
Code is coke at least this is true for some hardcore people here.
> A bit further on the west (in Bosnia & Herzegovina) Google's street view is still not available

Could it be because of the maze of laws that governs public photography? In the US, it's somewhat simple: what's visible from the street can be photographed. But in other countries, you have murky laws, and Google, with deep pockets, can get sued easily.
A safe GC would be immutable by default, so you end up with a lot of Cells (or worse, RefCells) to emulate a mutable GC like JS or Go.
Take the generous salary offer.

A startup takes years to build and from the looks of it you're jumping into an already failing mess for not much gain. 10% after another round or two of funding will turn into not much for all the effort you will put in. If you're not getting a salary "at first" on top of this then you should run even faster in the other direction. Never work for free unless it's something you have complete control over and is something you're very passionate about. This has all the red flags of a bad situation and one you will more than likely get screwed over on down the road.

If you want to found a startup I would suggest taking the lead dev job while you find something you are really passionate about to build.
Your picture is from 2012. North Dakota made multiple efforts in 2014 to reduce gas flaring. 2/3 is currently sold offsite, 3% is used on-site, and the rest is flared. The goal is 15%, but lack of pipelines is causing some real problems. 27% is what you get when you have federal discouragement in developing infrastructure to handle it. Plus, the government learning curve on difference between fracking and traditional oil rig lifecycle is the embarrassing part.

[edit: also the volume of natural gas has jump by factors which makes improvements and volume sold rather large]