skysight-inc/HackerNews huggingface dataset:
> even if you don't use @flaky, if one build fails and you run it again and it passes, what do you do?

One's answer to this question is a look into one's soul, at least in terms of engineering. The question is exactly what do you do. In my opinion, good engineers find out why the first one failed and why the second one passed. Either could be a false result. Sometimes the tests failed because the build box ran out of hard drive space, that's a false result. Sometimes a test passes because its condition for passing is incorrect, that's a false result too.

Tests passing is not necessarily a good thing in itself. That is why we have the notion of "testing the test"- a green icon means nothing if it's a lie.
Was with you till the second sentence.
This is an interesting question, and I'm curious to see what others here respond with.

I would say arrogance is using your power, wealth, prestige just to show others that you are powerful.

The secret to gaining respect is having power, but only leveraging it when absolutely necessary.
This appears related to learned helplessness except on a sociological basis rather than individual basis.
I've been using Linux on the desktop daily since about 1998. It may look a little prettier today, but I find it crashes and freezes a whole lot more these days.
Anything is questionable, but (in the USA at least)
https://www.google.com/webhp#q=how+many+obese+people+in+usa

burning more cals is better
https://www.google.com/webhp#q=how+many+calories+burned+stan...
Congrats!:)
You don't necessarily have to only lift in order to gain health benefits. Generally I would simply recommend to pick a sport and try to become the best you can be and the rewards will follow soon, not only physically but also psychologically. Could be anything, cycling, running, tennis, martial arts - lifting works great of course. I myself switched from lifting to gymnastics strength training and couldn't be happier.
I use this Chrome extension: https://chrome.google.com/webstore/detail/read-mode/nagcaaho...

There are others like it if you don't like this formatting.
> I get paid to solve problems, not be happy or healthy.

> that ship has long since sailed

> that's for other people to enjoy.

> is a thing people are capable of?

You seem very unhappy.
I've been using quaternions for 15 years now and I still don't have a good mental image of why they work. I've just learned to accept the operations and what they do.
Scheme is a multi-paradigm programming language. Functional is one such paradigm that it supports. It also supports imperative, object-oriented, relational, and probably others that I don't even know about.

In Scheme, one can build functional systems on top of imperative building blocks. For example, memoization can be implemented as a higher-order procedure that uses a mutable hash table as the cache. A memoized function is still pure, despite the use of local state, because it retains the crucial property of referential transparency.

Anyway, I guess my point is that the use of 'set!' or 'hash-table-set!' or whatever else doesn't mean that a program is no longer using the functional paradigm. To quote from a Clojure web page[0], "if a pure function mutates some local data in order to produce an immutable return value, is that ok?"

[0] http://clojure.org/transients
I think some people become arrogant when they, for whatever reason, start to view themselves as innately superior to other human beings, and as a result, demonstrate a hostility then they feel that their superiority is threatened. I feel like this really just stems from an insecurity that someone has, like if someone is very intelligent at an elite university and feels that by that virtue they are superior to others and that to them it's absurd that an average person could be better than them.
Pretty much, but who really gives a shit?
I'm not a Rails dev (.NET actually) but I have stumbled with this question before: should I allow invalid objects to lay around my domain?

It may be tempting to validate as soon as the constructor/setter is hit. And this works great for things like a name length or an email format as the article points out. The problem with this approach is when you hit a validation that is complex and/or needs IO. What if there's some info in the database that would allow or not you to construct the object the way you need? You would go to the database and check the info in your constructor?

Strike one.

Some validation only makes sense on a specific operation. The object you constructed, due to some business rule, may be invalid to delete but valid to update for instance. Feels more natural to validate the object with a context: is the object valid to this operation?

Strike two.

Not to mention the inconvenience of never being able to have invalid entity for things like integration with other systems and logging. What if you receive, from a webservice or something, a valid object format-wise but invalid from the business rule perspective? Being able to deal with an invalid instance feels more natural, when logging such exceptional behavior, inform the other system about it, etc. In this scenario of inevitable invalid data is better to handle it built into one entity rather than fighting against a bag of properties without any form at all.

Strike three.
OpenJDK Mobile
try Beaker: http://BeakerNotebook.com
we have a modern interface & the next release will have a dark color theme too, easily accessible from a menu item:
https://twitter.com/beakernotebook/status/682233629460795393
Amsterdam Court Rules Anne Frank’s Diary Can Be Used for Research Purposes
Why not throw an exception containing a list of invalid field errors instead of just one? That would only work in the constructor though not if you're setting fields individually.
A Guide to Vitamins and the January Blues This Winter
There are also people who do have very tough situations and still get things done. My dad did this when he first immigrated to this country working 14 hours a day in a factory for $4/hour while learning computer engineering.

There's always a way and all this talk about "privilege" just simplifies the lives and struggles of people into some silly political game. It's just not that black and white.
That makes me wonder if after hitting a certain threshold in popularity they convert it from free to paid content.
Google's resources are already being used to ask biological questions that NIH is reluctant to fund (I know, because after NIH was reluctant to fund my research, I went to Google and did it there instead). I felt it was pretty important that the knowledge was diffused, this includes both publications and data dumps.
> it's not uncommon to have to wait minutes for things to settle down after booting and logging in

This is no longer my experience with Windows on an SSD. I'm always a bit shocked when I reboot and I'm back at my desktop in under 30 seconds.

On a machine without an SSD, I'm annoyed at how slow everything is -- not just booting.
Also, this email is quite interesting: http://mail.openjdk.java.net/pipermail/mobile-dev/2015-Decem...
Looks like Forbes won't let you past their interstitial page if you're using an adblocker.
1 - Combination of: Lack of empathy & fear.
2 - See 1 ;)
...
4 - It is bad, unless you're woman in corporation full of men. Then it's tool to succeed.
Combat loads have been increasing for decades as we load our troops with new tech and body armor. A US Army report indicates an average of 87-127 lbs (40-58 kg) carry load [0]. Another here [1] indicates 90-110 lbs. US Army doctrine prescribes a max load of 60lb, but troops regularly are exceeding the guidance due to operational necessity. It's incredibly stressful on the body and is a major indicator in early joint and soft tissue degeneration in our soldiers and Marines.

The branches are all looking at ways to reduce the load. Pack "animals" are an excellent option to offload heavy equipment and improve the health and long-term mobility of our combat forces.

0: http://archive.armytimes.com/article/20110214/NEWS/102140308...
1: http://www.globalsecurity.org/military/library/report/call/c...
I don't get articles like these.

First of all this website is worse than any OS environment I've ever used. So right from that standpoint I sorta gulped a bit before reading on.

Graphics driver issues in linux are nothing new, Nvidia a few years back started officially porting drivers to linux but that doesn't solve all the problems. There's also projects like Nouveau; so if you're complaining about linux desktop from a drivers standpoint....get in line.

As for the Windows issues:

>Windows boot problems are often fatal and unsolvable unless you reinstall from scratch

Someone has never used Hirens boot disk

>no system wide update mechanism

wat

>no enforced file system and registry hierarchy

wat

>Android is not Linux (besides have you seen anyone running Android on their desktop or laptop?)

Actually yes I have, I have it running on mine now. Android-x86 Project. At first I'll agree Android was not linux, there were some major differences but these have since been changed.

I'm sorry if this is nitpicking the post but my I don't understand how these make it to the top of HN
Really? There's plenty of old hardware which no longer works in recent Windows versions. It's not in a manufacture's interest to update a driver to recent OS versions. In Linux drivers usually remain for a long time.
Working in IT i've dealt with a few arrogant, but often brilliant, tech people.

I myself can come off as arrogant sometimes, and believe me it's always involuntary.

Online I've taken to reading everything I type and trying to imagine reading it from another persons perspective. That way I often throw away comments before posting them.

In real life it's much harder because it often takes me a long pause before I can answer someone, that pause is filtering out unnecessary arrogance and "snide".
Probably several old computers.
It has the same average density, but doesn't produce the same gravity anomaly.

If the submarine were a perfect spherical shell of denser and lighter sub-shells, everything would cancel out. However, they're not. They're essentially really dense blobs attached to much less dense blobs.

You get a gravity anomaly due to the lack of spherical symmetry.
China's tech investments reach record high of $36b in 2015
Was I the only one expecting a list of screen resolutions?
It's not and anyone arguing to the contrary is wrong. The article is way off base on this. You could argue it's purely syntactic sugar, but really, it's barely even: it's just alternate syntax. People arguing against this are failing to understand that different languages have different syntaxes.

person.getName() is the same as getName(person). In the former it's an implicit parameter, in the latter it's explicit. Or, looking at it differently, one is a syntax for functional calls that prepends the first argument as a target, and one is a syntax that accepts the target as the first argument.

With Java 8 method references, you can see this a bit more clearly. You could, for instance, do this to get a function without the implicit this:

Function<Person, String> getName = Person::getName;
getName.apply(new Person());
Four hot-spots for entrepreneurship
> Lisp is the oldest functional programming language, and the oldest dynamic language.

But Lisp is not a functional language! It's based on the concept of CONS which is mutable and allows for shared structure. Lisp is #1 language that everyone thinks is functional when it's actually not. I'm surprised this article out of all made this mistake.
stop using facebook
I really don't see why this person's level of development experience makes the core message irrelevant to someone with more experience.

To your second point, I think that if everyone was able to filter their time to just the things they knew they had an immediate interest in, cross-pollination of ideas would be vastly constricted and the people with their massive thought-firewalls would be worse off and less able to relate to others for it. What you end up with is a bunch of people in ivory towers so concerned with not polluting their perfected thought bubbles that their relevance and avenues to impact the world at large are severely constricted.

I can't speak for others, but I've stumbled into some of my greatest realizations while I was "wasting time", so I don't see it as a problem at all. You'll never be able to know everything, and forcing yourself to learn things simply out of a fear of wasting time or falling behind on a never-ending stream of new things seems to be an awfully rigid way to go about learning. Too rigid for me, anyways- people are different and evidently we are far apart here. :)
https://github.com/Microsoft/CodeContracts

Takes this to another degree for .Net. Enables deeper static analysis to catch more programming errors before runtime.
I think it's a lack of feedback and the overall difficulty of making anything a habit especially when you won't be shown immediate results.
>And then there's a fear of "and what if I lose"...

Which is not necessarily remote. In Ticketmaster v. RMG, the smaller company, which extracted non-copyrightable data from Ticketmaster's site, lost because the Court ruled that the momentary existence of a web page in RAM constituted an unauthorized copy. The real-world analog is claiming that an illegal copy is made every time a copyrighted work reflects against your retina. The only explanation for that kind of ruling is simple technological ignorance, but it's what we have to deal with.

While the American system has safeguards in place to prevent it, you do have to ask yourself how badly a particular judge is going to want to offend a massive company that could potentially make him tons of money if they believe he's a reliable ally; if not through explicit corruption and bribery, through the possibility of a post-retirement relationship as a "legal consultant" or similar. What benefit does the judge get by favoring a tiny company that's probably not going to be around for more than a few years anyway v. favoring a megacorp that has practically infinite money to burn? Whatever the deterrents are, we do have to recognize that the natural incentive is to favor the larger company, and remain cognizant of that.

We've seen a minor version of this happen with the Eastern District of Texas, which has become the go-to jurisdiction for patent trolls because they believe that judges that sit there are more sympathetic to their cases than other judges may be. The incentive exists for the circuit to encourage a "specialist" reputation, because they collect more filing fees that way, and the judges get more attention, which is a very valuable currency indeed.
A lot of people are turned off exercise by the school environment where it's mandatory, unpleasant, competitive in a bad way and unrewarding.
FWIW, the US Geological Survey has an API (plus their own interactives and reports) for river flow http://waterdata.usgs.gov/nwis/rt
Well first I would say that there is an external and internal arrogance - one that makes you seem arrogant to others, and one that is just your private thoughts. The first is sometimes bad depending on who you're talking to, and the second is ok since it's just your thoughts.

The most important thing to remember is the Golden Rule - treat others as you would wish to be treated in their situation. If being arrogant breaks this rule, then don't do it.
Well this technology certainly has far more uses than the military, specifically search and rescue. Send these puppies in to hard hit areas, isolated spots, and the like, with supplies and such. The military will get their robots so we have to accept that but we can use all that research into making them do useful and humanitarian missions. No one will care if that rescue robot is noisy.
I think your marriages of OOP to Domain Logic and FP to Math are incredibly off base. You can most definitely express domain logic in FP languages. The difference between FP and OOP to me is declarative and immutabe versus imperative and mutable. You could also have declarative OOP but in practice I've found most OOP code tends to be objects wrapping up procedures. But saying you can't express a domain properly in FP is laughable.
It's a matter of definition. It's perfectly consistent to say Haskell does not allow side-effects as they stop being such once they have been reified.
Yes, actually this was a frequent occurrence in Afghanistan. Soldiers or Marines would be posted in small numbers in a remote COP in the mountains. Resupplying these troops would require more soldiers then were actually in the COP, and the resupply missions were often more dangerous than the mission of the COP itself (because it is easier to ambush a convoy of trucks than attacked an outpost).
PHP Lives Matter!
> (user interface, various business domains, integration with other systems over network etc.) are filled with state and procedures.

Procedures can be modeled as functions, state can be passed around, user interface hotness currently is also trending to functional / immutable (Elm, React).

> bit like doing object-orientated programming in C with macros and a lot of conventions.

If you are forced to use C and macros yeah it is no fun.

But if you have tail call optimizations, a good type system (even optional one like Erlang does), immutable data structure support, monitoring and tools (Erlang VM), you can build large systems that handle lots of mutable state in a sane way.

Doesn't matter what language or OO heavy framework (worked on Python, C++, C, C#, Java over the years) if there is lots of mutable state stored in class instances, it makes it very hard to jump in and understand a new large code base. While say something written in Erlang the state is explicitly passed around, it is minimized, and looking at a piece of code it easy to understand what happens vs say looking at somethingSomethingManagerInstance with 100 methods and 100 private data attributes, and understand when something breaks how it go to that broken state.

That's just my observation based on systems I worked over the years.
This is exactly a perfect example of WTF worthy behavior being treated as totally normal; that it's encoded that there's "leadership" and "not leadership" as binary job distinctions with distinct responsibilities.

I've been in both types of cultures and, by far the healthier culture was the one in which "making the organization better" was treated as everyone's responsibility. I've seen very junior engineers drive quite significant culture changes, simply by leading by example. They did it, not by whining or complaining, but by taking baby steps of trying out small experiments with their immediate team and then broadcasting their success to incrementally greater circles within the company until it became the new normal.

If you seriously believe that all (or most) companies disallow anyone not in leadership to improve things, I'd consider getting out of your current situation and seeing things again with clear eyes.
This ^^ If you don't have strict, solid form, when you load a bunch of weight on the bar, you WILL get injured. It's inevitable. I recommend a relatively new book BY THE NUMBERS. Full disclosure, it was written by the former owner of my gym, but the reviews have been solid across the board.
Google could replace Linux with any POSIX kernel and only OEMs and NDK users that use unofficial APIs would notice.
Also relatedly, I've experimented holding my phone higher than normal while reading from it, at almost eye-level. But I can't get myself into the consistent habit.
Mine was 'You were selected! Click OK to claim blah blah!'
Show HN: OSM2VectorTiles – Offline map of the entire world
This is a great question with a lot to answer. Would love to hear everyone else's thoughts on it.

To me arrogance is conceited. It's assuming you're better than everyone else. It's assuming everyone else is worse than you, and making it shown.

Detecting arrogance is pattern-matching for multiple traits more than a single characteristic. Some examples that show arrogance:

- Thinking you always know best

- Similarly, thinking you're cleverer/funnier/N-er than everyone else

- Not listening or valuing others opinions

This can be verbal as well as non-verbal. Pretty much all of this boils down to two values: narcissism (self-conceit) and lack of respect.

Why people become arrogant is a tough, philosophical and behavioural question. Is it parenting? Is it consistent self-praise? Maybe not being challenged as a kid? It's hard to find a real answer. Sometimes people really excel at an early age and it might make them think they're better than everyone else. Then again, maybe the person didn't grow up to value other people in the right way.

And generally whether it's bad is a situational call IMO. It's bad if you don't have anything to back it up. Even if you're brilliant it's bad if you're a douche about it (and have no respect for others).

Could you blame Steph Curry for being arrogant about being (one of) the best shooter in history? Maybe not, but if he's a dick about it you probably won't like him.

And that's probably what encapsulates whether arrogance is bad: does it hinder your personal relationships — or your personal progression? If so, it's a bad trait. And I think that question can be asked of anything.

Some people below have posted great points in preventing arrogance. Part of the problem is ego: learn that other people do hard work and value them. Easier said than done. Assuming you're doing the easy part of a project is a good tip. Asking people about what they do and actually trying or taking interest in it is another. Working with smart people is even better, though it's not necessary — even not-so-smart people do tough jobs that people might not value.
One of the most powerful things about Erlang is that there is no state other than what you are passed in locally (of course, there are still side-effect dumps, like databases & files, but those can be well-managed behind gen_server).

This property makes Erlang programs incredibly easy to reason about and test.
I can't offer you a complete definition or guide to arrogance, but one common negative trait in the field of technology that is often called arrogance can be countered by liberal application of the principle of charity:

https://en.wikipedia.org/wiki/Principle_of_charity
Sidecar shutting down: So long Sidecar and thanks
I think just the opposite - most of my software runs on Linux, but hardware is the main obstacle.

I've installed Linux many times on desktops and laptops, and I have yet to simply install a graphics driver and have it work first try. My laptop locks up the cursor after two minutes of use, doesn't support two-finger touchpad scrolling, and exhibits constant graphical artifacts, all under multiple driver and kernel combinations.

Speaking as a big fan of Linux, the hardware support is abysmal, except where the money is: server hardware.
A place to test, host and run ruby scripts online
Companies have business needs to not go down and to not lose customer data, both of which are very real consequences of poor engineering practice.

Managers are also acclimated to the business's practices and may find others absurd. The essay is suggesting that hey would be better managers were they to listen to the WTFs from newcomers.
I'm really interested in other people's experiences with understanding how their stock options work.

It seems really easy to misunderstand something serious, even if you know quite a lot about equity.
if you come off as arrogant it probably means you don't push yourself outside of your comfort zone often enough.

i.e. you aren't growing as a human being, you're static, and have become comfortable there in your little niche, so you look down on others who are learning new things.

when was the last time you felt dumb? been a while? fix that. most arrogant people are afraid of feeling dumb so they just dismiss things they aren't good at as beneath them.
how did you run that?