skysight-inc/HackerNews huggingface dataset:
So what you mean to say is that the problem is not so much that there isn't any error reporting, but that, in C, it's being ignored ?

Never do

printf("here's a number: %d", 11);

Always do:

int attempts = 0
int ret = printf("here's a number: %d", 11);
while (attempts++ < max_attempts && ret < 0) {
switch (ret) {
case EINTR:
case EAGAIN:
ret = printf("here's a number: %d", 11);
default:
// At this point you, as a programmer, should STOP AND THINK.
// What would be a reasonable reaction here ? How will it affect
// everything else the program does ? What is the correct way to
// proceed ?
//
// P.S. Anyone doing "return -1;" at this point should be taken out and shot.
// and yes, that's the C equivalent of what every Go programmer always does.

panic("printf error", ret); // for example, crash the program.
}
}

Needless to say, you should do this on EVERY printf statement.

There. Isn't explicit erroring great ? NO IT ISN'T.

Needless to say, this has an almost direct translation to Go. Does anyone do this ? Of course not. In Go, like in C, like in shell scripting, in the vast majority of programs nearly all errors are ignored.

That's why exceptions are so very superior to explicit error handling : it accomplishes many things :

1) it alerts the user that an error occured. "Explicit error handling" like C, Go, most C++, ... do will simply silently attempt to proceed, likely turning a small error or a typo into a disaster or catastrophe. Silent database corruption, here we come !

2) It provides information about where the error occured. Stop me if this sounds familiar: "when an error is printed, and the program crashes, I download the source and grep it for what I think is a unique word in the error message. When it turns out it isn't I get cranky. When it turns out there isn't a unique word in the error I just sit down in a quiet corner and softly cry".

3) It allows for "layered" error management strategies. I'm not saying it gets it up to OCaml levels, but it is far superior to C or Go error management. In the main function, you catch any Exception for the various parts of the program you start, log it in a reasonable manner, alert if necessary, and restart the relevant portion of the program. Inside the parts of the program you catch finer grained exceptions with more explicit management.

4) it's far more concise.

So "explicit" error management ? Let's just be truthful here (just look at Github examples of C and Go code): it's really just ignoring errors.

You can find coding errors involving ignored errors in the Go standard library in minutes. Examples:

1) https://github.com/golang/go/blob/master/src/bufio/bufio.go#...

2) https://github.com/golang/go/blob/master/src/bufio/bufio.go#...

3) https://github.com/golang/go/blob/master/src/flag/flag.go#L5...

So even the Go core developers themselves can't be trusted to not ignore errors.
I only have one “key”, my car fob. It goes in that little pocket!
This is ripe in the animation and CGI studios also. ILM/Lucas Arts were notorious meat grinders of young professionals. There must be an upper bound to hours worked in a shift/day/week legally for salaried employees/management/executives. No game or movies is worth working someone to death to keep on budget.
It's really good. Flexible query expression chaining.

It would be nice to have "or" expressions for merging two expressions.

Also, an option for all results without pagination seems useful.

Finally, JSON and CSV export would be cool too.

(Feedback also sent within the app.)
"We take our consistency guarantees, and correctness more generally, deadly serious"

That is empty talk, ie advertising.

In a distributed database, as is the state of the art, you sacrifice one of: availability, consistency, performance.

This is true for every db, be it Spanner, or MongoDb.

Best to document what exactly was sacrificed. Just claiming that you "take it seriously" means nothing. BTW good luck :)
What changed is that the abhorrent but legal content has gone from being minority, irrelevant and ultimately easily dismissed content to being the centerpoint of political and social issues of our time.

It's easy to talk about free speech when the worst of it has no impact to you. When your site begins to be used as a point of validation for abhorrent ideas where people actually carry out illegal and nefarious acts, things change.
If just say 10 of them were swept into the same river and eventually stream, they would have a chance at it. It's just the luck of numbers so far. After all, there's no law of nature that says atlantic salmon are only in the atlantic.
Back in the day, a Zippo lighter.
An independent tax preparer, sure. A tax preparer that works for a firm would almost certainly be allowed to spend their paid working hours learning this year’s tax code.
To be fair to the people whose merges failed, I believe this is a shortcoming of git (the tool) and not the people using it.

It is fair to expect a developer to invest sometime in learning their tools well but git is a different beast. I know it solves a very complex problem but the fact that it exposes a complex interface to the user to do so seems like a shortcoming of the tool to me.

Heck, we even have a comic for it that shows how sometimes just saving my work, deleting my clone, re-cloning the repo and applying the changes in my work is easier than understanding the Git error messages: https://xkcd.com/1597/.

The tooltip in the comic is also sound advice: If that doesn't fix it, git.txt contains the phone number of a friend of mine who understands git. Just wait through a few minutes of 'It's really pretty simple, just think of branches as...' and eventually you'll learn the commands that will fix everything.
Web Browser and Explorer APK Latest Version Download Free for Android Android APK
Same with advertising industry in Japan.
In SF I use Delancey Street movers. The experience has always been phenomenal. And they hire ex-cons who are trying to change their lives so it's win-win. Any tips that we give them is tax-deductible and goes towards programs for the employees and their families for outings, etc. Everyone works so hard, and they are extremely efficient, I have had no qualms giving 50% tips to these guys and I've used them 4 times now.
I know a guy in his late 30s that just had a freaking heart attack as a result of chronic stress and overwork. Worst part is his is self-imposed! He is an entrepreneur and does lots of contract work.

Sometimes we don't realize what we are doing to our bodies with overwork, stress, poor diets (you know it's true), and insufficient exercise. It's good to get reminded every once in a while.
I agree that GDB isn't substantive to the author's point, it's merely an example and validity of the argument as a whole isn't contingent on that one example.

However, I guess I'm not clear about the argument as a whole. The author is essentially claiming, "We write wrappers that are shoddy in that they don't consider failure cases."

That is true. What the author doesn't address is: what's the solution?

If the answer is "Code better," or "Think more," I feel like that's a straw-man.

I think the real question is how can we make a wrapper (e.g. a complex setup script) provide visibility into its problems (permissions issue, harddrive space, network issue, etc) without doubling the work involved?
sports too
Usually I don't send anything back -- but when I have, I've been able to just drop it in a blue mail box vs. going all the way down to the post office; very easy. I've seen people in my building just leave it down by the mailboxes for the carrier, but I have a blue box on my walk to work and drop it in there.
I'm sure it's not that simple. If there were an open source version I'd love to contribute.
One difference is that many "programmers" actually don't do any programming at work. Their hands on experience is a 5 week java course in uni 10 years ago and after thay they have been stuck in meetings or writing brain numbing CRUD in a proprietary domain specific scripting language at $bigco ever since. The only way for many to get actual hands on is to do side projects.

Hair dressers don't have this problem, they are actually cutting hair 8 hours a day.

Carpenters have a more hands on education compared to compsci which is more maths than version control.

Doctors require 2 years of practice supervised by other doctors before they are certified.
> The average American game developer earned a respectable living wage for the entertainment industry which is likely less than you would make if you were a law, cs, or engineering professional.
Emblem Logo Design – ProDesigns
+1 to Apollo. It’s been amazing so far. No real hurdles. There’s maybe a few tricks to figure out how to manage auth but it’s not too bad. Good stuff!
The problem of people wanting software for free is such a hard thing to combat. There's something psychological about software that people don't realize what it takes to make it. Most people would never expect to obtain a physical item for free, and then get mad when they are charged for it, yet they do this with software.
looks like that crazy fish really did it as in Shawshank Redemption
Why don't foreign shippers set up a route from Florida to the Bahamas to Puerto Rico? This would be perfectly legal under the Jones Act. Or alternately Florida - BVI - PR. If they can't make that work because of the slight additional cost of a stop in Nassau then I don't really buy the idea that PR is getting hosed by the Jones act.

Sure the Jones act is protecting "only" 60,000 American jobs. And everyone would benefit a little from cheaper shipping. That's the exact same argument neoliberals made when textiles and furniture and everything else beat a path to Asia and left behind rusting factories and opiod-popping towns. I mean, sure, lots of devastation in the rust belt and New England but hey, we all get cheaper underwear!

The problem is that 60,000 jobs here 60,000 jobs there starts to add up across industries until you get stagnant wages, collapsing labor participation rates, collapsing labor share of income, fraying social net, the worst economic inequality in the history of this country, an ever growing group of hopeless, despondent (or angry) people, eventually, even, Donald J Trump as President of the United States.
This is what happens when you do something that a lot of other people aspire to do. Growing up, many of the girls in my schools would talk about how they want to go into fashion or interior design (thankfully most them figured out that it would be hard to make ends meet unless they had some particular talent, and the luck and patience for sales and marketing); many of the boys talked about how they wanted to get into game development, many of them acquiring poseur-level knowledge of the field, playing around with development tools.

When you have a continuous supply of giddy, overjoyed young applicants who have dreamt since childhood of working a position and want nothing more than to pour their life into what you're making, they will gladly accept pay and working conditions below the general standard for the applicable skills.
This was a well written post mortem and I appreciate Nick's honesty, but it left me with the impression that Walnut closed because the team ran out of willpower.

There were a lot of challenges and concerns described, but rather than attempting to surmount the challenge, the team decided to quit (of course, sometimes that's the best choice given the circumstances).
> if you were a law, cs, or engineering professional

Isn't game developer in fact a class of CS professional?
Due to the unstoppable force of automation and other productivity multipliers, the situation is creeping into more and more jobs/sectors. The trend is already clear: Increasing numbers of hungry people in line and pushing each other aside for a chance at one of the increasingly fewer jobs. Today it's a few highly desired niches within a few industries. Tomorrow it's the new normal for employment in general.
Huh, I didn't realise that. That 'patents' clause is pretty powerful - if my (very quick) reading is right, any time you contribute to a GPL3 project, any patents that you own which would apply to that project are basically set free for anyone to use. Cool for FOSS advocates but I can see why a lot of businesses are wary of anything using GPL3.
Also its all a matter of interpretation: you can look at aid to central Asia and Africa as a long term investment. If these regions take off then that would be beneficial to China - it would create markets and natural allies. Creating a win win situation with foreign aid is also a bit novel (so far it was more an attempt get them into neocolonialist dependency, let's see if the Chinese do any better than that)
Comments on the link suggest that this is a known patent troll outfit.
Defining the Demonic
The 'VU9P has ~2.5M logic elements and 6840 DSP units.
The M2S090 has ~90K logic elements and 84 math blocks.
It's nowhere near the same class of device.

The AWS FPGA offering only makes sense if you absolutely need a massive FPGA connected to massive amounts of RAM, and don't want to spend the bucks to own it yourself.
Did you read the enclosing paragraph?

"Their income pales in comparison to what’s offered in other fields with reputations for brutal hours, like banking and law. The average American game developer earned $83,060 in 2013, according to a Gamasutra survey, or less than half the pay of a first-year associate at a New York law firm."

Your answer is right there for goodness sake! The author compares game developers to a first-year associate because both are "fields with reputations for brutal hours."

The author is also Jason Schreier, an editor at Kotaku which has frequently covered these topics. I would argue he's quite aware of the issues developers face, many journalists are close friends with developers in the industry.

To echo your demeaning tone: did you do any research at all?
Isn't the winner-takes-all phenomenon counteracted by the fact that nobody can predict which games will make it? So studios/publishers/self-publishers finance many times more games than will make money.
Previous discussion, with at least 20 alternatives:

https://news.ycombinator.com/item?id=13620626
Why is Ted Stevens a fool for saying the Internet is a series of tubes, but so many otherwise level-headed are fine pretending networks are houses?
> Mr. Iwinski, like many other top video game creators, sees crunch as a necessary evil.

Some developers have a lot of critical things to say about working environment in CDPR. Extreme crunch is one of those.
Explicitly saving will probably disappear, it nearly has already for a lot of people, files and folders as UI primitives will probably follow. I also predict that this will create more problems than it solves, the average person will be heavily restricted in what the can get a computer to do.
Agree with everything, but I'd have mentioned Taiwan too. Assuming no black swan with NK or India/Pakistan, the Taiwan situation seems the most likely to escalate.
>It is truly one of the oldest and greatest human cultures.

Very little of that Iranian culture has survived the Islamic 'revolution'.
Can't the LIDAR eventually be made to use IR wavelengths and thus synthesize 3-d images through fog?

also, the question of seeing the fog is more nuanced that can see/can't see:

"Just like it is impossible to give a simple answer
to the question “How far can I see with a thermal
imaging camera?”, it is equally impossible to say
how much shorter the range will be in foggy or
rainy conditions. This is not only dependant on the
atmospheric conditions and the type of fog but it is
also dependent on the IR camera used and on the
properties of the target (size, temperature difference
of the target and background, etc)" [http://www.flir.com/uploadedFiles/FOG_techNote_LR.pdf]
The collapse of textiles led directly to the Boston tech boom of the 70s, which created far better jobs for everyone.
Attack of the Zombie Websites (investigation into ad supply chain fraud)
I don't see an issue here.

They made a useful app and probably would have at least a multi-million dollar business, eventually.

As it happens, that was worth much more to Slack so they probably got a good immediate payday and stock in very promising company.

For 2 years of work, I would say that's a great success.
So, are you saying that if you come home to a clean living room, clean driveway and an empty trash bin, you will be happy and satisfied ?

I dunno, my mom always found something to yell at me. Irrespective of how hard I tried to please her. She told me it was for my own good.
Why Doc Brown is the real villain of Back to the Future (2010)
I agree. I have left jobs that were grinding me when I realized that the end purpose was not something that I felt was moving the world forward.

Bill Watterson said the following via Hobbes (08 Apr 92, pg 56) that rings true for me: 'I don't know which is worse...that everyone has his price, or that the price is always so low.'
> Your answer is right there for goodness sake! The author compares game developers to a first-year associate because both are "fields with reputations for brutal hours."

To echo what other commenters said, brutal hours are also found in many other, non-law, non-banking related fields. Why single out the most lucrative ones as a comparison? It's purely biased.

> The author is also Jason Schreier, an editor at Kotaku.

Yeah Kotaku. I know. That's clearly the best source for reliable developer-related information right? I hope you are not being serious. In many circles, Kotaku is largely regarded as a tabloid in video games.
I can't speak for others, but for me when I started:
- It's much more fun to work on something creative and with creative people than not. Yes, people will say there is a creative aspect to almost anything, but I think games (and probably other things like film) are really different.
- It is a big deal to work on something that you can identify and people will have heard of or understand. I used to be able to go into a store and point at the boxes that had my name written on them.
- When I was younger I really just tended to work a lot anyway.
He probably can't say a lot about the actual hardware in the car part, so it's good to throw around different examples.
Maybe not if they're a designer or artist.
Yes, Intellectual Ventures is an IP outfit founded by Nathan Myrvold and Edward Jung, both from Microsoft.

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

I think that's quite off-topic for the submission at hand, however. The article has little (nothing?) to do with intellectual property (other than perhaps copyright and authorship of Myrvold's upcoming book) or patents.

If you want to consider this as a reason to discount the submission, please feel free. Perhaps even flag the submission if you feel it's inappropriate for HN. But please don't derail what could otherwise be an interesting conversation about bread, physics, and the history of cooking.
What's wrong with Arab culture?

It's like an Irish man at the turn of the century arguing that Irish culture is different from Italian culture and is worth checking out.

Ridiculous.
By failing of the free market I mean an undesirable flaw in the outcome of the free market. Free markets lead to all sorts of nasty stuff like sweatshops and child labor. We usually create regulations or unions in order to fight back against these flaws. Without one of those, you can get a situation like this.
Some people just love games so much that they're willing to sell their souls and/or health to work on them.

That's kind of how I feel about academia right now -- seems highly irrational from a financial or job security standpoint for most people to get a grad degree and aim for tenure, yet there are still droves of people willing to make that trade.
This seems like a very bad decision. You can't make a c++ compiler that compiles the same things as Microsoft's c++ compiler? Software "licenses" that prohibit anything that a lawyer dreams of shouldn't be legal. An independent implementation of a program, where you merely used the original program to see how it worked when you used it should not be considered reverse engineering. Decisions like this only help large corporate America to preserve their monopolies.
Do yourself a favor today and read this. I'm literally laughing out loud. Read for gems like this:

> Marty McFly is a typical 80s teen who just wants to play guitar, take his girl to the lake, and not have sex with his mom.
To expand a bit, there's a bit of a trap in the truism "you should do what you love". On the surface, it seems to say that you should do the singular thing which you love the most, but you may love more in reality to do something other than that singular thing.

I'd say that you should do what you will love the most to have been doing, all things considered. If bathroom in a bag, a 30-70% pay cut, and seasonal firing still leaves game development at the top of that list, then don't sweat it.
My question is not to you specifically, but to history-aware users of HN. How much of cultural sense came there from Islam and how much from the original culture before so-called Islamic revolutions, which happened almost yesterday? Why do we attribute the culture to specific religion, which wasn’t even at the core of specific nation until some time?

I know that counter-attitudes are strong, but simply image-googling “xyz before islamic revolution” shows undeniable contrast. How to resolve?
Drawille is amazing. I built an image viewer for the terminal with it, very rudimentary, sort of 'cat' but for images https://www.npmjs.com/package/tty-view
You go into the industry because you want to make games. You leave when you get sick of games companies taking advantage of your "passion for games" to offer you an exploitative deal.
This decision makes me want to donate a large sum to an open source project to make a free clone of sas software. I would offer $1000 toward that. This is a terrible decision and if we can't defeat it in this legal case, we should defeat a company that practices this way by legal, free, and independent software. And let's be sure not to use any sas software with that ridiculous license clause.
And the average salary of a first year associate in NY is probably about $10-20k above the average pay of a first year lawyer, and I assume many of them work hard.
AI turns sketches into code at AirBNB
As far as I know there is no Screenhero alternative.

Most of the apps listed are for video conferencing and "simple screen sharing".

That's not what Screenhero does.

Screenhero is for collaborating with other people on arbitrary applications.
The whole premise of the article is flawed. Steve jobs said this before - many of the upcoming social-local-mobile apps ought to be features, not standalone companies. A "check-in" feature-as-a-company is only sellable to investors in silicon valley. It's not defensible in any way, and makes more sense as a feature in an app that people spend a lot of time inside. Foursquare should've sold to Facebook - not because Facebook is evil - because Foursquare a.k.a "check-in" feature, isn't visible or interesting as a standalone company. Enough said
So you guys claim ""CockroachDB maintains strong consistency across a globally-distributed cluster of computers."
"

Then some random dude walks in and finds that... the claims are false.

Oh, you fixed the bugs... great.

Here is the real question.

If you guys really know what you are doing, there would be no chance of someone... Aphyr or not, breaking your consistency guarantees.

In fact, you would be way ahead of Aphyr or whoever else can throw tests at you.

Just my 5c
A lot of coders consider coding not only as a job, but also as hobby. Usually they experiment with new stuffs this way, and thus their open source projects at Sourceforge/Github, etc etc.

I don't expect a brain surgeon to mess with somebody's head because he's bored at weekend, though :p
Thanks for your anecdotes.
Tired: Engineering Interviews; Hired: Engineering Auditions