skysight-inc/HackerNews huggingface dataset:
> This is the exact opposite of what I want in C++.

This is the exact response I was expecting to go to the top of hacker news -- negative and dismissive. Also, it's nonsense.

Go to a Python mailing list, and count the number of emails complaining that "my program keeps seg faulting unexpectedly" due to "missing a single tab somewhere". Can't find any examples? Well, it would appear that Python coders are more competent than you.

Alternatively, perhaps our eyes and brain are intrinsically wired to easily detect vertical and horizontal lines. Maybe that's why they're so prominent in design -- just a thought. And maybe that's why all C++ programs have some scheme of indentation to denote scope anyway.

I really hate that whenever someone makes a proposal for a language, the zealots, be they lisp or C++ or whatever, immediately come out of the woodwork to heap scorn upon the idea. Personally, I think the kind of change proposed by the OP (with a few modifications) would be really nice, and would give the language a more Pythonic flavour, which isn't called executable pseudocode for nothing.

> If vertical compression is an issue - get a bigger monitor or an IDE that allows for code hiding.

You need to listen to yourself type.
It's Extortion.

I see no reason why Comcast should need more money to deliver a 5mb HD video stream over my 50mb connection. Now if Comcast wants to charge extra to stream 5mb video over a 1mb subscriber line (increasing the BW for that video), then go for it.
And even if you can't find it online, it's usually not that hard to stumble into a university library and troll through some peer reviewed journals for giggles, or find good books on amazon that are a click and a few days away.

One of my favorite books on cycling: http://www.amazon.com/Bicycling-Science-David-Gordon-Wilson/...

Not much practical in that, that I remember, but tons and tons of random articles on odd-ball bike stuff. One of the few books I've purchased and randomly read most of a few times. Really great book.
This just kept loading, so I killed it without looking.

What is wrong with text????
> "Doctors claim that patients aren’t ready for the bad news earlier, when they are still digesting their shocking predicament: that their lives have changed irretrievably; that their priorities, their future aspirations, their promises to their loved ones—both the explicit and, more important, the implicit ones—would go unfulfilled. They cite their own hesitations too. Doctors want to be purveyors of hope rather than despair, a motive sometimes attributed to compassion, sometimes to a starker concern that patients will find a new, more optimistic second opinion. "

This is absolute nonsense. Any person with basic maturity/intelligence would long have understood that any of us could die in any split second, and that the essence of the world is randomness and senselessness. Just accept this fact, relax and "don't care". I don't care on what day I die. What I care is if I have lived every day of my life to the fullest possible, and when I come to die I will not find that I haven’t lived. If I fulfill this, then even if I somehow suddenly face death tomorrow, I would be serene and happy to embrace it. On the contrary, if I could live for 1000 years but with every day wasted, I would be mad and I'd better take an Euthanasia. Here Ruth and her husband had the right attitude for life and they're totally worthy of applauds. There’s no point in doing a prolonged, painful, senseless and sure-to-be-defeated battle for just a few years of life. We all will die. What’s important is live every day to the best possible with determination, and accept with serenity what our current limitations can’t reach.
They like to make things seem as complicated as possible.

It's like Aeon writers get paid by the word.
Given the rise of Xamarin, support for C# would be great as well (the recently updated PaintCode has supported Xamarin/C# code generation since its first release I think).
Maybe people should have to explain why they are downvoting.
> "Sure is a mighty nice website you got there, be a shame if our 50 million subscribers couldn't access it...."

The FCC explicitly said that kind of thing would not be allowed under their proposed regulatory plans. Do you have a reason to believe otherwise?
How the US stopped its fisheries from collapsing
Nice downvote.
does anyone have a mirror?
I can't speak to the printer case but silicon manufacturers do this to an absurd degree with their SKUs. See the GTX 690 to Quadro conversion hack [1].

[1] http://www.tomshardware.com/news/Nvidia-GTX-690-Quadro-K5000...
>For example, if the printf is indented with spaces and the return foo is indented with tabs, the return will be put outside the if, even though it looks like its inside.

Python 3 deals with this by throwing a warning about inconsistent use of tabs and spaces before it even finishes parsing the file (so basically before runtime). There's no reason why any other language can't do the same.
Snapchat Lied To Us About Our Photos Disappearing Forever
Maybe a doing downvoting should lead to a five minute timeout from reading HN.
"If you're an entrepreneur, there are millions if not billions of people who are on the cusp of becoming your target market..."

US entrepreneurs have a shot, but they'll be a day late and a dollar short in many of the more developed international markets right now. Especially in Asia, where local equivalents to all of these majors services have been around for about as long as Alibaba has. Not every market is as dominated by a handful of major tech giants as China's (Alibaba, Tencent, etc.). But most markets with widespread internet coverage and smartphone usage have their domestic megaplayers.

That's not to say these markets can't be penetrated. But we should realize that the world hasn't exactly held its breath waiting for our tech's arrival. It's been busy.

I agree that the US media haven't done much to cover these markets. But a lot of people who've done business overseas, particularly in mobile, have experienced them. American entrepreneurs have had the luxury to focus exclusively (or at least predominantly) on the American market for decades, because it's a huge and affluent market. But I agree; there are enormous opportunities abroad. Not many of them are blue oceans anymore, though.

One enormous challenge with developing technologies for truly global audiences is that the infrastructure, culture, and socioeconomic reality of most countries varies enormously. There isn't a homogeneous global consumer base, so much as a global consumer base fragmented by local idiosyncrasies. Navigating these is tricky, but worthwhile.
Unfortunately, I can't recommend anything, but I'm not a wide reader on the topic so my knowledge is limited.

Perhaps I was a bit hard on that book, my expectations were that it would be a deep, expert type of book. If that's not what you are looking for, it is perfectly fine. Actually, now that I think about it, the epub version is good to keep on your mobile phone as a handy, easily-accessible reference for use in the coffee shop, so I guess it does get a credit from me.
That should have cost you 2 karma.
> They're not a "source of errors" -

Yeah I am not entirely agreeing with "source of errors". Usually it is other things like inconsistent syntax or (I am just making it up here) error intolerant syntax. And by that I mean things like:

* I am allowed to use single '=' and '==' in a conditional (in C++). Program still compiles, runs and probably doesn't do what I expect.

* In Python, if I leave an extra , at the end of a variable it creates a tuple ( x = a vs x = a, ). Program still compiles and runs but probably doesn't do what I expect.

* In general think of the time you spent hours and days hunting a bug that ended up being a one character error like above.

In either case, it would be nice if compilers or linters should warn you...

But anyway, I don't think as you were saying, {} are necessary a cause for more or less "errors"

But, { } are a source of visual noise. I think it clutters the screen and it provides an opportunity for strange syntax. When I scan code quickly I don't match up parentheses, I look for nicely formatted and indented blocks of code first. Whitespace and indentation is best for that.

There shouldn't be 100+ page style guides for how to format a language, it should have a one, best, clearest, default formatting and it should be used by everyone. That, I found after programming Python for almost 10 year now, is very helpful.
Sunlit 1.2
Kobo takes over Sony's e-book business starting today
Okay, concretely, I'd like to see a translation of this real-world C++ code (taken from V8):

#define RETURN_OBJECT_UNLESS_EXCEPTION(ISOLATE, RETURN_VALUE, RETURN_EMPTY) \
if (!__allocation__.IsRetry()) { \
__object__ = __allocation__.ToObjectChecked(); \
if (__object__ == (ISOLATE)->heap()->exception()) { RETURN_EMPTY; } \
RETURN_VALUE; \
}
OhMiBod Promises Remote Controlled Vibrators
Netflix is essentially unwatchable for many comcast subscribers due to high congestion during peak hours. If the peering connections are sufficiently overloaded/congested, there isn't too much appreciable difference.

On the other hand, give an inch, give a mile. The ISPs want toll roads, and if they get the ability to charge other peering services and content providers to carry their traffic over non-congested pipes, I don't see why they won't get toll roads from some other patsy they buy off later.
Quill looks promising,but pasting from word doesn't seem to work.Most editors built today focus a lot on semantic tags generated for bold(<strong>) and not much on paste from word.Would love to see an editor that implements proper paste from ms word
If it looked more like Python or CoffeeScript, then it wouldn't be C++ anymore.
LNG is still a fossil fuel. Its supply is inherently constrained. Most estimates are that we'll hit peak natural gas some time after peak oil and before peak coal -- somewhere in the mid-to-late 21st century. Jean Laherrere (who's also researched peak oil) suggests a 2030 date for peak NG.

One characteristic of gas that makes predictions more difficult than oil or coal is that wells tend to peak and fail very suddenly. Which makes sense: you're extracting a gas, not a fluid, under pressure. While oil can be extracted, effectively, by sucking harder, or by forcing water into wells (what Saudi Arabia's been doing for years now), gas flows until it doesn't. Experience to date with fracked natural gas suggests that wells peak even faster, often within a year.

See for example: http://www.oilempire.us/naturalgas.html

http://oilprice.com/Energy/Natural-Gas/Shale-Bust-North-Amer...

As for NG as an aviation fuel: while it tends to perform well on a energy/weight basis, it's not so hot on energy/volume, and presents more significant storage and handling challenges. Where liquid fuels will stay in any reasonably contained tank, LNG needs either refrigeration or pressure to be viable. I'm not saying it's impossible but I'd strongly suspect it's much less practical than liquid fuels, so long as they're available.

That Russian NG aircraft has been under development for four decades and still isn't available. I take any paper-engineering estimates with several tons of salt. Of the touted benefit, carbon monoxide emissions reduction really isn't an issue: CO is a problem in confined environments such as garages and warehouses, in which commercial aircraft rarely operate. In the open atmosphere, CO both dissipates and reacts fairly quickly (forming CO2). Of itself it's not a long-term persistent atmospheric pollutant.

Similarly, NOx and hydrocarbon emissions are results of incomplete combustion and principally represent problems in urban smog where you've got large numbers of vehicles operating in a constrained area. They're not a particular concern in the wide-open reaches most flights occupy most of the time.
Isn't this what CPU manufacturers do already. Instead of making different chips (which increases cost because of increased complexity in the manufacturing process), they make a single chip and enable/disable parts of it based on how it is sold.

Also, I think the closer analogy would be slowing down the printer based on where the document you are printing comes from (still not a perfect analogy). You analogy seems more like ISPs offering faster service to end-users who pay a higher price.
I think tabs vs spaces problem is silly and nobody should be using tabs. Editor should be showing tabs in red and asking the user to clean them up.
Update: Router company that threatened a reviewer loses Amazon selling license
Why Didn’t Apple Join Opposition to FCC Net Neutrality Proposal?
Yeah...I think we are working on houses built in different centuries. I was working on the first reno since building...not the 40th.
Then why would anyone downvote if there's a punishment for the person doing the downvoting?!
I definitely agree. I think people forget that they can learn things, or they get caught up in this "too old to learn" kind of trap, or at least "too old to learn anything serious."

I've always dug computers, but hadn't done anything with programming until I was 26 or so (I'm 31 now). A friend of mine had gotten a degree in journalism, and then just decided he wanted to program instead. He ended up getting a full time gig doing it. I thought, "hey, that looks cool, why not" and started teaching myself, as well. Now I have a full time gig doing full stack c# dev and I love it. It's not because I'm some kind of genius or a computer whiz. It friggin sucks trying to learn new concepts sometimes. Eventually I just realized I'm training a really effective neural network. If I fire enough information and different ways of looking at the concept through my brain matter, and make sure I understand the underlying principles, eventually it'll start making sense; soon enough it'll feel like something I always knew.

It made me feel a lot more comfortable with life. It's not even because suddenly I have a marketable skill, which is super nice, but more because I feel like I could learn just about whatever I want tomorrow if I needed to. It's really liberating.
Not sure how they would make the money on it then, but I think it would quickly beat most other engines out there in popularity.

They would make money if Source 2 was designed to make Linux a premier development and gaming environment. Valve wants everyone on Linux, eventually. It's the only refuge they have from the walled garden lockdown future of Windows.
I've been programming in Python for 4 years and I've never spent hours trying to find an indentation error.

It comes up, sure, but no more frequently than any other syntax error in a different language and there are usually dead giveaways indicating what happened. Most IDEs/editors have options to view whitespace characters, so if you're worried about encountering a bug from this you can always enable that feature.

It's really a non-issue.
Out of the box yes, generally clunky.

But those I have played with, KDE, XFCE etc. (disclaimer.. I haven't tried this one) are generally very tunable and can look quite nice when customized.

I agree with poster who mentions the panel though. Usually they aren't so good. Although with a semi-transparent panel my KDE desktop looks pretty good to me at least.
Private Transport in SF Marina To Downtown
Uber drivers fined AUD$1732 each by taxi commission in Melbourne
Only Microsoft is worrying about Windows Phone.
Sysadmins get all the blame and none of the praise, no matter the job title. So it has been for times immemorial and so it will always be.
Cause people can downvote with impunity. It's like a society where it's OK to punch someone.
Apple in talks to buy Beats for $3.2B
Maybe this is true, but I am just having a real hard time believing a fresh syntax is going to solve any real problems with C++. To do that a language with better semantics is needed, which is a much tougher problem being tackled by D, Rust, etc...
Personally I find OsmAnd to be truly awful. The interface is stuck in the Android 1.6 era and I can't even get the online maps to show anything. Offline maps are nice but not that useful unless I am travelling overseas and don't buy a data enabled SIM card.
Interactive vim cheat sheet
Customer acquisition tactics to sell better
Real-Deal BIG Ideas Hackers: Under Which Mushroom Will You Find One?
If the facts are known, say, accessible to all, then placing a whole bunch of really smart people in the same room is unlikely to yield greatness. Such a situation is liable to result in a room that is tempered and inhibited, i.e., a field-leveler. Even if the room temperature rises and beers are passed, there'll generally and quickly be little oxygen left in the room, such that if greatness exists, it too will suffer from hypoxia and suffocate; those whose faces go red suffer from hypercapnia (high CO2), which combined with hypoxia (asphyxia) leads to a disorientated state, delusions of grandeur and narcosis :-) But, in a room that remains obscure, with lots of diversity, and unknowns, the real-deal can readily be recognized because they light-up the room where previously there was only darkness.

The difference between greatness and IQ seems to be one of unfettered, uninhibited, irreverent, and penetration insight into the unknown and seeing the invisible fabric of the world, the rest is simply box-ticking.

PS: I'm not great, I can just see greatness
Itunes_store
Buy an iTunes gift card online or from any Apple outlet. Available in different denominations. Utilize iTunes store and present this gift card to your loved ones.
defrag is "just maps", the physics were essentially CQ3 (standard Q3 really) or CPM (challenge pro mode)

ie most of the amazing stuff is done with something close to original q3 physics (1999 and earlier for beta players)

Turns out q3 physics and netcode are still among the best there is today for FPS with low player count
The Best (and Worst) Headphone Brands, by the Numbers
People really like CityMapper for London, but I tried it for NYC and had to give up quickly. The routes were obviously wrong; it would often pick subways that were inefficient.

For example, preferring a route requiring two transfers taking 40mins over walking one block to another station and taking a subway that required only one transfer and takes 35mins; and I don't mean just that it preferred the inefficient route, it neglected to show the more efficient ones.

I went back to Google because I felt like I couldn't trust CityMapper's results.
I just switched from Logback to Log4j2 for an application and since I was using SLF4J, there were no code changes required.

Also consider the case of third-party libraries. I have dependencies in my application that are hard coded to log to about three different logging implementations. If they instead used SLF4J, the end user could choose whichever implementation they were already using in their app, instead of having multiple implementations or needing to redirect the output via an SLF4J bridging module.
If you travel anywhere in Asia, you will see them everywhere..even in the airport
Offline live-preview Markdown Editor in browser bookmark data:text
There are companies that get a contract rate with Uber to say, have X cars on the road 24/7. They in turn hire enough drivers to keep the cars moving all the time.

I'm fascinated by how logistics work, so I was asking my Uber driver a bunch of questions. He explained the above to me and said he was referred over to one of these companies because he didn't (or couldn't) buy his own car at the time.
My goal was to make the code remain recognisably C++, but remove some of the noise.
I disagree that greatly reducing the mental overhead of visual processing is merely a cosmetic change. This may just be an issue of taste, or familiarity, but I greatly prefer not presenting the same information twice. Once with characters and the second time with indentation. Why not just indentation? Also it forces people to make all hierarchical code blocks immediately visible, instead of being free to put them anywhere they like.
Haskell is lazy and pure, why can't it auto memoize for us so we can code it like we would in math?
I'm on firefox nightly, using pdf.js, windows. The first pdf takes about 4-5 seconds to render a page, and it always does the page I have onscreen so it doesn't matter how many pages there are.
If DevOps fails, it should be a failure of the entire company. and The reality is that DevOps is a culture that should be accepted by every facet of your organization

How is it a failure of the payroll officer, the loading dock crew, the counter staff, the cleaners? (Or relevant departments). DevOps failed because the receptionists weren't buying in? Us techies get the blinkers on and think that it's only us that are important to keeping the company rolling. Finance people often suffer the same delusion.

Either I'm missing something, or the author and I have wildly different definitions of 'devops'.
Learn to Build a Responsive Website
TF1, champion de la Catch-up TV avec la série Grey’s Anatomy et The Voice
TF1 domine le Top 10 Catch-up TV. Sa série médicale Grey’s Anatomy est en tête. Elle devance Taxi Brooklyn, le télé-crochet The Voice et le feuilleton Unforgettable avec Poppy Montgomery.
I run Laravel myself. It's an awesome framework (composer is included, as are things like a CLI and the Eloquent ORM to make things easier for you), with great support and documentation. It's as easy and verbose like RoR, only with laravel it's absolutely clear what's going on inside the framework. Their API is stupid simple, for instance.

I could go on for hours, but I highly, highly recommend it, especially coming from Ruby.
This is an awesome article.

So much of our daily life in the west rests directly on fundamental assumptions we make about reality. I believe it's mind expanding to have those base assumptions challenged from time to time.
"impossible" ... This reminds me of a story Robert Cringely tells of Bill Gates. It seems mister Gates knew a certain thing was impossible to do, so he didn't try ... and lost million$ and market share when his competitor went and did it anyway.

Here's the story:

This business of taking software written for the 8086 processor and porting it to the 80286 normally required completely rewriting the software by hand, often taking years of painstaking effort. It wasn’t just a matter of recompiling the software, of having a machine do the translation, because Microsoft staunchly maintained that there was no way to recompile 8086 code to run on an 80286. Bill Gates swore that such a recompile was impossible. But Drew Major of Superset didn’t know what Bill Gates knew, and so he figured out a way to recompile 8086 code to run on an 80286. What should have taken months or years of labor was finished in a week, and Novell had won the networking war. Six years and more than $100 million later, Microsoft finally admitted defeat.

http://www.cringely.com/2013/03/24/accidental-empires-chapte...

Accidental Empires is a good book.
What happens when you troll the haskell community
The science of sexual attraction
This seems to be missing backslashes. I haven't considered how to deal with preprocessor macros, but the if statement converts very simply:

if !__allocation__.IsRetry()
__object__ = __allocation__.ToObjectChecked()
if __object__ == (ISOLATE)->heap()->exception(); RETURN_EMPTY
RETURN_VALUE

This isn't ambiguous like the example you suggested before.
You might be interested in this: http://www.ergy.com/FSet.html
Re: "Let your lawyers do their thing"

Greenspan is acting as his own lawyer in this action (unless other counsel has been added since the initial complaint).
Hi impendia, we're working on a number of things that will make YT better for yogis and yoga pro's alike - stay tuned :)
I'd say code a raw draft to gain a better understanding of the problem space, then talk about it again. If you're close enought to something workable refactor iteratively and let the concepts emerge.