skysight-inc/HackerNews huggingface dataset:
Ask HN: How do you deal with perfectionism related to programming?
There is one thing that has held me back the most while progressing in my programming endeavors: perfectionism. It has been an enormous energy drain. I believe that programmers are especially susceptible to it since programming is a very creative but at the same time logical task with many different ways of approaching problems in a huge ecosystem. In the last few years I got to know my perfectionistic side, where it comes from and what is supportive in changing my relationship with it. I always say that perfectionism is a fear of vulnerability. I think it is a topic that is not addressed enough and that many people have challenges with. What are your experiences with perfectionism? How do you handle it? Lets support each other!
> Please stop spreading bs.

This breaks the HN guidelines: https://news.ycombinator.com/newsguidelines.html. Please edit out such bits. This would be a fine comment without it.
Don't you still have to be smart about rounding at some point? Otherwise compounding a (say) 1% fee will lead to arbitrarily long numbers.
I believe there are libraries to do this that can be used in any language.

http://speleotrove.com/decimal/ etc.

https://hn.algolia.com/?query=speleotrove&sort=byDate&dateRa...
Question: in what way is the public interest being served by ejecting this person from the country?
>You think so little of your fellow countrymen that you don't trust them to receive information from sources other than the government?

He clearly said that he was Canadian.

I'm American, and my countrymen just elected someone who's clearly incompetent to the highest office in the land (and in the primary elections before, the other party chose someone who's clearly corrupt as the opposition candidate). I don't really trust my countrymen either.

>Look at other countries that have introduced freedom of speech laws. I cannot recall countries being destroyed by such unproductive frenzies, but I do remember corrupt politicians being forced out of power, and people standing up for the rights of individuals, etc.

Have you forgotten the Arab Spring? That wasn't really from free speech laws per se, but it was fueled by social media which acts the same. A bunch of dictators were forced out of power or killed, and then the people proceeded to elect Islamic extremists to power, as in Egypt where they elected the Muslim Brotherhood, who then proceeded to oppress minorities. Libya is a complete mess now, and Syria has been going through a brutal civil war for over 5 years now. Those countries were better off under their previous dictatorships. I think all evidence points to democratic systems and freedom of press and information being a very bad thing in places where the populace is uneducated and incapable of electing decent leaders. It isn't even working very well in America. It works great in places like Norway and Switzerland though, places where the populace is highly educated.
New GOP bill to replace Obamacare is leaked
It's an area of SF where a lot of tech companies are located. https://en.wikipedia.org/wiki/South_of_Market,_San_Francisco
HHGregg closing 88 stores amid bankruptcy rumors
That does not excuse them just as it would not excuse males. It is important to hold women to the same standard even in this area. Moreover, some women are abusive even without males teaching them that.

Out of curiosity, what did you meant by male centric position?
It's not even necessarily a mistake. If one bee values proximity to apple trees higher than proximity to peach trees and another bee values the opposite, then they can have honest and valid differences of opinion about two nesting sites.
How a Typo Caused Internet Havoc This Week
Why is it sexism? Perhaps she was the only one with a distracting body? How do we know non-female workers didn't get a talking to for wearing certain clothing?

How do we know it's not jealousy or personal vendetta?
US nuclear force modernization is undermining world's strategic stability
How Uber Used Secret “Greyball” Tool to Deceive Authorities Worldwide
+1 for the Cuckoo's Egg. It takes place a bit after the war-dialing era of Wargames and is factual rather than fiction but it's a great read and the real deal of network intrusions, hacking, and spies in the 80's (I met Cliff Stoll shortly after the main events of the book and we spent much of the next five years hanging out together after meeting in a phone networking distribution closet at the Harvard Smithsonian Center for Astrophysics, but that's a different story)
Won't decimal floats still result in errors like this if the absolute value gets too large? You can avoid that by ensuring that the mantissa has enough digits to hold the largest value you'll ever encounter with enough significance to represent the smallest value you'll ever encounter, but at that point you might as well use an integer with that smallest value as the unit.
I'm not a C evangelist, but I would point out that most documentation of standard C function is very detailed and its code is shown in its man page. Any developer should be able to grok that code and determine its safety. Mattaku...
32GB RAM and a TrackPoint/pointing stick, please.
Another Country - fiction

Fire Next Time - nonfiction

You can't go wrong with JB. One of the most beautiful authors in history. His description of humanity - and inhumanity of many in the US - is without parallel, and worthy even more noawadays with the increasing deportation of "undesirable" people like fathers and mothers who are here legally but are brown.
Last year I tired of reconciling my credit card and checkbook accounts, so shifted to using cash only (I have credit cards if there's an emergency). So far I'm spending ~10% less each month. I'm more careful about purchases. I get and seek cash discounts. Best of all I don't need to do the reconciliation.
Why do talented, or at least competent, software engineers stick around when they are treated like this?

I left jobs for a lot less than what this person went through.

I hope she gets a better job soon and I am glad all these stories are coming out now.
Is this what you got from the article??
Most other things being equal, and they usually are, I'm going to take the job with the more relaxed dress code.
At what point is a manager allowed to tell an employee their clothing is inappropriate for work? What line must be crossed before that happens? Ever? Are they ever allowed to say "that outfit is inappropriate"?
The base of the emergency spillway is bedrock, so it can only erode down that far. That's 30ft below the top of that spillway, which is why everyone talks about potentially having a 30ft wall of water hit downstream communities.
"Arguing that you don't care about the right to privacy because you have nothing to hide is no different than saying you don't care about free speech because you have nothing to say." -Edward Snowden
How Uber Used Secret Greyball Tool to Deceive Authorities Worldwide
Not sure why you're being downvoted for posting this...

Facts rule, and the NHTSA is one of the best in analyzing accident statistics in the world.
Glad to see Haskell used in production.

It's kind of funny that build reproducibility (which was a major issue before stack) is one of the strong point.

I wonder if, for your project, using cloudhaskell would have been more appropriate.
I have a feeling some of the problems you found could have been solved with that.
>Really? Where in the US are reporters attacked and forced by authorities to film confessions for attempting to interview citizens who are appealing legal cases?

Outside of the US it happens:

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

"When former British Home Secretary David Blunkett published his memoirs in late 2006, it was revealed he had advised Prime Minister Tony Blair in late March 2003 to bomb the Al Jazeera television transmitter in Baghdad. "There wasn't a worry from me because I believed that this was a war and in a war you wouldn't allow the broadcast to continue taking place"
The current post is also a follow-up to https://news.ycombinator.com/item?id=13777077 from yesterday.
All I get from that site, with some ad blocking on Firefox 51, is:

11:34:40.979 SecurityError: The operation is insecure. 1 frontend.fe083880.js:15
e.exports<.initialize https://hackerone.com/assets/frontend.fe083880.js:15:31757
t.Model https://hackerone.com/assets/vendor.b247925b.js:31:4648
e.exports<.constructor https://hackerone.com/assets/frontend.fe083880.js:2:20109
q/r< https://hackerone.com/assets/vendor.b247925b.js:31:22455
<anonymous> https://hackerone.com/assets/frontend.fe083880.js:19:31012
t https://hackerone.com/assets/vendor.b247925b.js:1:96
n https://hackerone.com/assets/frontend.fe083880.js:26:14283
forEach self-hosted
<anonymous> https://hackerone.com/assets/frontend.fe083880.js:96:23586
t https://hackerone.com/assets/vendor.b247925b.js:1:96
window.webpackJsonp https://hackerone.com/assets/vendor.b247925b.js:1:418
<anonymous> https://hackerone.com/assets/frontend.fe083880.js:1:1

Fail, Hacker One.
One strategy is to leave the thing at hand for few weeks. This way you can
forget most of the trivial, unimportant things that were bothering you before.
Networking site gathers momentum in quest for open science
>>they feel obligated to entertain instead of allowing one another to be he entertainment

A most excellent pithy summary!!

When I have friends over, we end up in my workshop or the kitchen or just sitting on the stairs by the front door, talking. I've tried to raise my kids to appreciate that, for adults, switching on a television or bringing out a cellphone while in the company of another is a rude gesture and a signal : "you bore me."
I'm running a kernel that supports PCI-E hotplug & thunderbolt. That's not the issue.

FWIW the kernel in 16.04 does support that. But I've tried with newer kernels too.
Aren't Dell doing this well already with their XPS series?
Not sure why I haven't been using that, but that is better than Command+O for sure, thanks!

Still, all navigating should be single-key-able, right? I guess it is technically, with left & right arrow keys in the List & Columns views, but I don't use those or like those as much, for whatever reason.
> I can only imagine this choice was imposed by the hardware partners they could round up.

What do you mean? Seems like this was fundamentally Mozilla imposing their philosophy/faith in their web technology/platform on hardware partners rather than the other way around? (And I believe the article supports that interpretation).
This looks neat! I'd mirror what codebreaker said and probably in the long term you want to use something like helm.sh to manage your kubernetes yaml, but this may help get started. Also possibly useful for getting started (especially if coming from Heroku or using Foreman with a Procfile) is a gem I built, more or less in anger, out of inability to get a supporting partner to agree to using helm but not wanting to have duplication across deployment files and across environments, so while I don't necessarily reccomend as a long term tool, if you can't or don't want to initially use helm, ky[0] may be a useful stepping stone/bridge solution to avoid a ton of seperate manually maintained, unDRY deployment files with similar or identical env vars and small differences for web vs worker deployments etc.

[0]: https://github.com/stellaservice/ky
The domestic Japanese publication industry certainly does carry enough weight to build a career as a professor on. The question is whether is actually should.

Many of the journals are essentially pay to play -- join an organization, present at the conference, write a paper for the proceedings that is not completely absurd (slight absurdity is ok), ship $100, and you will get published.

There are journals that are more rigorous, and getting into these at last once is often a key to better employment, but these are the exceptions rather than the rule. Furthermore, I would say that most of the work published in the competitive domestic Japan journals would not be publishable abroad both due to limited impact as well as (in some fields) questionable methodology.

As a simple example of the low quality that I found in some journals, many academics were unable to interpret standard t-tests correctly in their evaluation of their research. It brought a tear to my eye.
To be clear, our new application is better (faster, scales better, more maintainable), for the most part because of the improved architecture.

As we were going to do the rewrite anyway, we considered more alternatives than just Python. For programs that have to be reliable and maintainable, I prefer a language with a strong static type system. Haskell has that, and it has a few practical benefits over other tools that made it an excellent choice for our use case.
It wouldn't stop me from joining a company that's clearly better than the rest. But engineers have a lot of comparably good options in hub cities, so it's reasonable to be picky about small stuff - we can afford to be. A formal dress code does have real downsides: it (1) costs money, (2) wastes closet space (it's a premium in NYC!), and (3) makes biking to work or otherwise living a pre-/post-work active life more of a pain.
I really enjoyed The Cuckoo's Egg book, and later the video adaption for NOVA.

Cliff Stoll is a really interesting guy. If you haven't seen it, check out his Acme Klein Bottle site. It's delightful. http://www.kleinbottle.com/
They won't need luck, plenty of people would love to program in Haskell professionally.
Sadly not at this time.
This is addressed in the linked article in great depth.

I don't think the poor performance of WebOS means that approach is fundamentally doomed, especially since FirefoxOS was a few years later... a few years during a period of massive year-over-year increases in mobile computing power.

Long story short: relative to Android, they were bypassing the whole Java layer. Gecko (which is pretty mature + optimized) was essentially running on bare metal. Lose some performance here, gain some performance there. They felt this would offer strong performance.

Now, to be honest, I literally have no idea how this played out in reality. Never even touched a FirefoxOS device.

But, theoretically, there's no reason why this approach can't be pretty fast. At some point your apps need to talk to a widget-drawing layer. If implemented well there's no reason why an HTML-based approach can't be pretty darn fast, or at least fast enough not to be the limiting factor in your phone's performance.
Many consulting companies oriented at Fortune 500 costumers, e.g. McKinsey, have internal manuals describing those formalities to the littlest detail.
I am torn because you are probably hard working nice guys but I really hope we can move to universal health care and then your business would be obsolete. Best of luck.
Exactly what an ephemeral DO vps is good for!
I think all of those things are great. I use this when I need a declarative data structure. I use nested scopes when I need a compositional data structure. Otherwise I use pure functions. Which is most of the time.

I love having these three choices and only these three choices. I think class inheritance, promises/async, and other similar features add complexity for little gain.

I used to revel in using fancy features. I was so excited when I found a real need for a DSL in one of my Ruby applications. I built it. I felt like a rock star. Then 12 months later I realized I could have wrote the same code, more understandably, with functions and a few arrays to index data.

You refer to JS core as "poor" and "bad" which are not very descriptive words. I am sure you have material criticisms but what are they? I read every JavaScript critique I see, and so far they mostly boil down to "it's not C" or "it's not Ruby" or "it's not Haskell".

Yah, it's not. It's simpler and unless you are building a compiler or a video game it's often better because of the simplicity.

The problem with JavaScript, IMO, is that people come from other languages, don't actually learn how the JS primitives are best used, and prematurely try to extend the language. See Promises, see classes, see async. These are all features that were only added because the developers couldn't be bothered to learn how to use exactly the features you mention.

You can argue this as bad usability on the part of JS, but the reason it gained so much traction is not just because it was in Netscape....

These are actually amazingly powerful feature implemented in a small space. As a beginner they are incredibly usable. It's only hard for experts coming from C or Ruby, who are the people wrecking the language with extensions. Lispers seem to get it.
Non-polymorphic functions of the type `a->a` trivially satisfy it, of course. Also, I think polymorphic functions are the most interesting case where you can't use twice as desired in an ML-like language, so it's too bad that despite the fancier type they don't work too well in MLsub. Here's another example that fails when I'd hope for it to succeed:

let one = twice (fun o -> o.x) { x = { x = 1 } }
There are plenty of engineers who ended up as a good managers. The problem is that management roles attracts people who seek control and power over others and can not get it otherwise. Some companies see the above as leadership material, promote them and crrate hell for everyone else.
After a while, it beats you down, and you feel so bad that you can't leave. You kinda feel you aren't deserving of working in a respectful environment.

This is aside from other things like not feeling like you can get another job, or having bills/bonuses that you'd have to repay, etc.
DAYUUUUUMMMM!! Savage
You're also sending a 3-5% tithe to the payment processor (credit card company, bank, electronic payment provider) with every transaction instead of giving that money directly to the service provider.
I just watched Dept of Reclamation video on the designed failure of the Auburn Cofferdam. I get it now.
Great point! This does require quiet some discipline though :)
Different cultures have different values.

This is not a racist thing, this is a culturally aware thing.
And that's basically the only application that counts any more these days.
It would be sexism if it was directed only at women which is not specified in the blog post. If you're meeting with another manager for a transfer, its probably a good idea not to wear a tank top both sexes included.
Here is foldl implemented using foldr in PureScript, along with an example of using laziness to gain modularity:

http://try.purescript.org/?gist=63d81adf9f5257ffa4f576df2658...
> they can't translate emails correctly

Between UK English and US English?
I throw up when I read the arguments used by some of the commenters here how it is ok to deport a mother from her British kids and her husband after a 27 years marriage.
Forcing her to work only on her desk is pretty oppressive.
Native iOS Surveys from json definitions. Many question types, skip logic etc.
Uh, you can still be sexist and also be a jerk... are you asking if people can only be one?

And FFS, just look at women in their goddamn eyes, like a normal person. Not being sexist is like the easiest thing in the world, just don't be weird.
Agreed. Unless you have significant ownership stakes in the company, killing yourself with overtime is never rewarded. It just becomes the normal, and when you finally do cut back, everyone seems disappointed.
General Decimal Arithmetic
Working with other developers, in person. I worked remotely for years. I moved to a new city and I learned so much when I started working on a team, in person, and with other people.
Do you spend like six hours studying after school and eleven hours in weekends for several years?
Then it is comparable :)
The Not-So-Celebratory Reaction to Snap’s I.P.O. In Its Home Town
Patlabor is fun, and has some cool hacker-relevant stuff, but isn't a great and serious movie like Ghost in the Shell. I do recommend watching it, but with suitable expectations!
This seems to be how the world of Windows works. Every peripheral I have seems to need an account to save your settings in the cloud, a feature I pretty much never care about. Every vendor wants you to know that yes, you're using their thing, and that they employ an entire team of engineers and designers that have never seen a computer before. I wish someone would put a stop to it.
I'm no Trump fan but, when he spoke with the Taiwanese leader, I actually thought it was a good thing, although I think he did it more out of ignorance than insight. Either way, it just served to underscore how dumb it is that all these countries around the world have all kinds of complicated reasons for not liking each other. From this, we get this complicated system of dos and don'ts which, to outside observers, just seems ridiculous.
There's an SDK for interacting with all Razer Chroma enabled devices, so it's doable.

http://developer.razerzone.com/works-with-chroma/download/
Uber's disregard for local laws and regulations is well known, so I find it hard to be shocked by this.

But the chutzpah to implement something so blatantly designed to aide in breaking the law is still surprising. It reminds me of Zenefits in a way.

It also seems similar to VW's Diesel engine "Defeat Device". The future of technology will probably include ever more shady uses of programming to mislead regulators and the like.
get it here www.1ranksseo.com
reddit, /r/dataisbeautiful
Yeah it's pretty difficult for me to conceive of a world where hardware vendors cared about OS implementation details like UI rendering strategies.
Are there legal grounds here for a court decision against Uber based on this?

I suppose the answer depends on the nation or state in which this tactic was deployed.

This behavior doesn't surprise me based on their strategy of negotiation regarding regulation.
Making someone work only at their desk? That's some stupid, 3rd grade teacher crap.

It sends the very clear message "You can't do your job, so I am going to watch you like a 10 year old."

Fuck that. I would rather be homeless than deal with that shit.
Different viewpoints are always encouraged, lest the conversation becomes a resonance chamber.
Uber is having a very bad month.
get it here www.1ranksseo.com check it out
How diabolical!

In a world where privacy has been traded away for convenience, it's poetic justice where a startup uses data mining techniques to subvert the government. This is the same government that would have no issues to use the same techniques to spy on its own people for its own motives.

I'm neither on Uber nor the government's side in this case, just simply making an observation. The lack of data privacy seems to be a double-edged sword for users and government/law enforcement alike.
That's a good point.

The lack of complete efficiency, while keeping it sustainable, is a driving force behind a lot of the innovation in the energy sector.

If climate denial in the United States results in them ceding energy innovation to China, then ultimately those parties in China who are building the efficiency gains will gain the most from it. They won't just be manufacturers of the end products anymore. Their companies will potentially dominate the market for various technology as efficiency further improves.
As well as here and lobste.rs :)
I too remember using ToneLoc a few times in the mid nineties.

Thanks!

"I might be an adult, but I'm a minor at heart"
How things like this remain secrets for so long is astounding to me. By definition of what the day to day of driving strangers around Uber has hundreds of drivers who hate their job yet it took this long for these stories to start finding their way into the press.

With Volkswagon cheating the system it was a small group of engineers and covert approval from the top that explained how they could get away with it for so long.
Yes. It's stupid and is worse than it needs to be. See my last paragraph. I don't know what else I can say.
Are they so dreadful?

It's copyright of a design, and ultra-fancy furniture is hardly a necessity.