skysight-inc/HackerNews huggingface dataset:
They are less in opposition then people in these discussions make it up to be. The same people who tend to take you seriously tend to also be willing to pay. And jerk culture tend to prevent your career development, will affect your reputation in front of third parties, and affect both your confidence and ideas about what you can achieve, so eventually you end up with less salary. Bad culture usually implies a lot of nepotism and ass kissing with people taking any dirty advantages they can - and that implies any bias against you being much more mattering then in good culture.

One exception is when higher salary is because of "moral values and ethics" trade-offs. And I would be very careful before I would imply that men are more likely to do that trade-off.
> overcoming a history of injustice without violence

I'm not sure the truth and reconciliation commission would entirely agree with that.
"Be civil. Don't say things you wouldn't say face-to-face. Don't be snarky." https://news.ycombinator.com/newsguidelines.html
Note taking chrome extension
I generally agree, but formal methods I can say with confidence will get adopted in the future.

Here is why: Testing is fastly becoming adopted by everyone in our industry, why? Becuase you cannot afford to not write tests if your system is large/important enough. However our current testing methods cannot not prove the absence of bugs, as Dijkstra is fond of saying. So the best we can tell our clients currently on the bug-free/security question is this: "We wrote it according to X standard and wrote tests to cover those cases.". Formal methods allow us to prove a system is bug-free/secure. It is the evolution of testing. I do not know how far off it is, but because we have already adopted testing I believe formal methods will get adopted as well.
A simple note taking chrome extension that saves your notes to your Google drive. No data is sent to any third party. Its the most simple and secure way of taking notes.
> most of what you see in this article is nonsense

How as a creative person are you okay with saying blank statements like that? Sure if you just want to only talk about John Coltrane's drawing out of his time and only focus on today, possibly.

As someone who has several years of Music Theory and a grandfather that retired as a NYC Jazz Musician I absolutely know many people that worked this way. Heck we had 20 years of the "Mozart Effect" (Was bogus since day one that believed passively listening to Mozart made children and lab rats smarter). BUT music is mathematical and some people have certainly taken this bogus Mozart thing and found out the math behind music. For decades the musical music was captivated with math in the 20th century. This wasn't some spiritual journey in music it was a mathematical puzzle they were trying to work out.

The best example of Music based on Math was Iannis Xenakis, who composed from 1940s into the 1990s. Now he is certainly a required taste and I would say listening to his music live MIGHT make it more palatable but he was using computers in the 1960s to help his compositions. He wasn't Thelonious Monk who just played everything in the hardest keys to prove how great he was on piano but just wrote music from the love he had for mathematics and engineering. Classical music or "European Classical Music" was more into Math and as the high brow crowd was into his stuff it certainly was inside the head of John Coltrane, Miles and Ornette Coleman.

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

https://www.youtube.com/watch?v=n2O8bMlEijg

Stravinky's Septet from 1952 can also show how this serial technique composition had huge influence on Jazz in the late 50s and early 60s. Especially when you listen to Miles Davis and Bill Evans "Sketches of Spain." You see that thousands of musicians were exploring and thinking about the "Math of Grammar."

https://www.youtube.com/watch?v=ijSmRoPzMaY
Grab now offers micro-loans and other financial services
I think the flip side of this is that Agile does not add much in the best case (people trust each other), but it can cause a lot of damage in the worst case (nobody trusts each other, but people can be productive thanks to a lack of transparency).
I'm torn on this. On one hand, yes, these modals are some of the most annoying parts of the web and are really ruining the experience on lots of pages. But on the other hand, why should Mozilla (or any browser) get to start fiddling with the content of web pages? If Comcast announced they were doing this, HN would be up in arms about how they were modifying traffic. I'm aware of the browser vs service provider difference, but the end result is the same. Suppose Google decided that it doesn't like websites with bad color schemes so it's going to have Chrome automatically update some websites to use their material design style? Suppose Microsoft decides that websites with small font aren't friendly enough to people with vision problems so they start upsizing all font below size ten in IE? The point is - the browser should render what it's given. If the user wants to modify that, use a plugin.
This has changed a bit with GDPR coming into force soon.

When google tried to go push '+' they needed the people to forget about the data, messages, pictures and everything else that was on facebook. That burden was a bit too much.

GDPR requires facebook to provide users with their data in a machine readable format. So that competitors could write migration scripts and there would be no such lock-in. Makes it easy to switch platforms and bring some competition into the space.

Art. 20 GDPR Right to data portability
https://gdpr-info.eu/art-20-gdpr/
This is horrific, inefficient and stupid.

Multiple speculative causes:

- Social pressure. The bosses want to be able to say "look at how hard I can make my workers work", probably without comparing productivity in any way

- Social pressure. People competing with each other for how hard working they are. This seems prevalent in many cultures. "Oh I am so tired / stressed". When you claim those things, you can stop worrying about other issues, like doing good work. I have always noticed that the busier I appear, the less people would hold me to account for problems. Ridiculous.

- A tired / overworked populace doesn't have the energy to get any revolutionary ideas. The status quo is maintained, no matter what the cost. This suits almost nobody, other than a select few. But, we do it to ourselves. Like the herd of bison running from the lion, we do not realise our power and instead accept whatever the oppressors (companies) force on us. So, we made our bed and are lying in it. No point complaining unless we are willing to do something about it. See points 1 and 2, this has never been about productivity.
Usually it’s a breeze to deploy a website using git. Until I had to do it for a one.com account.

5 different support reps said it couldn’t be done, so I did it anyway, just to show them.
The tech unicorns are data companies, not software companies
I imagine business people hide their money in corporations to avoid personal liability issues.
What happens when software developers are (un)happy
>prioritizing comforts like compensation, using their favorite languages, or remote work, over helping to improve the world.

Compensation isn't a comfort -- it's more like payment which is necessary. Not really something a developer could forgo.

Regarding languages -- why would they not want to leverage their knowledge to get more compensation?
still better than a postdoc
UK publisher invests in ed-tech startup Callido Learning
I am with FroshKiller's comment, who said to solve one of her own problems. My girlfriend had little interest in programming, but asked me one day if there was a way to track a price on a shopping website and get notified if it changes. I offered to help her make this, and she didn't believe she'd be anyway near capable of implementing something like that.

Took an evening, she wrote it in Python, and I had her look everything up (StackOverflow and other places), and just helped in explaining the rough concepts involved (here's what a variable is, then you need to read a website's entire content into a variable, see what that website actually looks like in code, spot the words..., here's how you can cut and slice text, and find word positions, etc.) — I then wrote her a tiny python library that only has one function, like a "send_email(to, subject, message)" and takes care of using my smtp setup. She was excited (and exhausted), but she was REALLY excited when she received an e-mail about a week later about a price-drop.

Stuff like that is gold, it takes time to spot those opportunities and find something that matches her interests, but working on things that she actually needs will make things incredibly easier.

Another issue is that most people don't know what they can actually 'do' with programs. A friend of mine lost his job and started studying programming, and when I asked him what projects he had in mind, he had no idea what's even in the realm of things possible. I helped him make a temperature reader with the Raspberry Pi, and a website. And he loved it. But he completely freaked out when I showed him that same website can be opened on his phone and stored as an "app-like" bookmark on his home screen. He showed all his friends, and I'm sure he didn't sleep much that night wanting to improve the website to make it even cooler.

The hardest part about programming isn't the language, it's learning all the technologies and concepts involved in how it all ties together, how to break any given project into its core components that need to be implemented, and what tool is right for the job.
The code's nice and short, but note that if you are choosing from a large collection it's really inefficient: in order to generate a single random element it needs to do some computation for every element in the collection. That is, its runtime is O(n).

(For choosing from a small number of things this code has the advantage that it's not doing a lot of complicated stuff in Ruby, and in any case the speed probably doesn't matter too much. In fact, even when choosing from a large enough number of things to make this much slower than it need be, the speed may well not matter at all. But it's worth being aware.)
I don't see why stating two facts, namely that governments want facebook to do something (for example Germany forcing Facebook to censor what they consider hate speech) and that this situation is untenable is in any way contradictory.
What were you expecting?
ICOClap – Sharpay- Sharing is the new mining
I believe it has seen some significant adoption in finance.
tl;dr

If you want to parallelize[1] network I/O, use async. Otherwise, don't.

[1] Technically: not parallelize, but overlap.
Pardon the micro-rant, but this is yet another great example of fake news. It's everywhere.

Factually accurate, but none the less closer to bias / propaganda than truth. Unnecessary and inappropriate.

Techcrunch (and all others who choose to deny their journalistic responsibilities) should be embarrassed for being so willing to publish such click bait-y headlines.

Perhaps greed isn't so good after all?
China delays reports of software loopholes so intelligence agency can exploit
Clearly, Techcrunch should know better.
Also Jane Street etc.
Trump blocks Broadcom takeover of US chipmaker Qualcomm citing national security
Sorry it was not sarcasm. You are right tho, when that happen I'll probably go back to IRC.

The problem with better chat is that it's better, so you spend more time on it.
Ctrl+F "Developer Story"

https://insights.stackoverflow.com/survey/2018#community-sha...
Manufactoria is indeed excellent, it got me back into hobby programming which I had forgotten how much I enjoyed. I recently discovered that its creator has released a programming game called "Silicon Zeroes" on Steam. Haven't had a chance to play it yet but I'm sure it's good, I've sunk quite a few hours into Manufactoria so I was happy to finally send some money the creators way. :)
>Either it could be in proprietary plugins or it could be part of the spec,

Aren't those EME modules basically proprietary plugins?

>Firefox's implementation of EME uses an open-source sandbox to load the proprietary DRM modules, which are treated as plug-ins that are loaded when EME-encrypted content is requested.

https://en.wikipedia.org/wiki/Encrypted_Media_Extensions
> Hutton realised that the formation and movement of these rocks to create the coastline we see at Siccar Point couldn’t happen in sudden cataclysms over years or decades

Color me skeptical. Why couldn’t these be quickly deposited layers that were later turned upright in some cataclysm? Why couldn’t they have taken decades?

Yes I know it’s heresy to question long established science, but that is the essence of science is it not? Questions and skepticism :-)

Off to do more reading I suppose.
I'm personally against it because I don't want anything to fall down into my garden or on my head in case of a failure.
- "Avoid O(n), try O(1)": prefer also Map rather than Objects, they are more efficient as soon as the object is in hash mode, possibly even immutableJS's Map which has few more features

quick benchmark: https://repl.it/@caub/CumbersomeRigidTriggers

- "Remove event listeners": there's the handy `once` option now https://developer.mozilla.org/en-US/docs/Web/API/EventTarget...
You may also be interested in my filterlist[1] project for uBlock Origin which attempts to do this via CSS style overrides for many, many sites.

[1] https://github.com/yourduskquibbles/webannoyances
Having experience the burnout lesson the hard way, I do pace myself. Sundays are for friends, church, and family. I get all the sleep I want. I stop at times to read YC news and talk to others :-) I get bike rides and watch a movie now and again. Life is not all about work.
Thanks for the comments everyone :)
The breakdown in trust of news institutions has many sources, so correcting factual faults is just addressing one part. Omission and selective use of facts, misleading context, and misleading language seem to carry a higher penalty for trust in todays environment where it is very easy to provide the original source when ever a slightly biased news article is published. A factually error is very binary, true or false, while omission and selective use of facts gives room for much more outrage and distrust of otherwise well establish news institutions.

The Economist and the New York Times may have good practices in regard to errors, but there is a clear difference in their reporting to independent fact checking sites. To make matters worse, even those examples of "excellent" news papers tend to have a clear and open political alignment. With increased political polarization this then result in a rather natural distrust of news institutions, even those that are vigilant in correcting errors after they have occurred.
Here is a list of all the best sport streaming websites for you
Not formal verification, but you can specify and validate application state of SPAs written in clojurescript using clojure.spec(https://clojure.org/about/spec).

Example -- (https://github.com/Day8/re-frame/blob/master/examples/todomv...)
I work similar hours, have forever. The only way to work such hours is if you have points, equity, ownership of the revenues or your name in bold on the product. That incentive creates the will to perform for your benefit. Working such hours for mere salary is insanity.
Passion and interest can keep you going at a high pace for quite some time. However, you're statistically more likely to eventually burn out with a job that you truly enjoy, than you are with a job that's easy to put down at the end of the day. There's more incentive to eat in to your long-term energy storage in the former case.

In the case of 996, it's almost as if the employees are being asked to behave as if they are wildly passionate about what they do, as if it is their destiny and calling. I can only presume that they will burn out all the more quickly.

Although I suppose, if, as others have implied, the job is actually a non-complex assembly line-ish thing, then perhaps employees are easily replaceable, and it makes economic sense to use one up until it is empty, and then proceed to the next one.

On the other hand, if the job truly is easily represented by some simple algorithm, why not teach a machine to do it cheaper and more consistently?

Seems more likely that they are fooling themselves, and that the entire setup is there to give upper management a sense of satisfaction rather than to create actual productivity.
Attempts to choose the best life may be doomed to failure
Interesting that they'd release this video the same day a helicopter crash featured prominently in the news.
Me too! I cannot recommend this enough. IMO everyone should have this bookmark (or similar). As you say, it's most useful for removing static overlays that just get in the way of page content and take up screen space, but it can also get rid of pop-ups too.

It even works well on iOS/Safari !
It's not required, you can use .catch since it's just normal promises:

const result = await doStuff().catch(errorHandler);
> Also, showing people only what they want to see leads to echo chambers

Not sure I agree with this. The internet made it possbile for the whole world to see information coming from all kinds of sources. Before, in history, you had to rely on local news/newspapers, or even less information. Much more bubbly than this modern age.

Again: I think the reason those bubbles appear have to do with society and the urge to belong to a group, Facebook is not to blame here. Facebook reflects people and society, not the other way around.
Despite the fact that I discouraged my friends severally about hiring hackers to catch their cheating partners, I resorted to hiring a private investigator during my divorce. My husband hid his affair too well and I had no evidence to prove his infidelity to the court so I went on Craigslist to hire a professional whom I met and told my problem.. His services were topnotch which made working with him very easy, he got me everything I needed within 24 hours and it was amazing, I paid upfront despite my fears but I got results because I currently have my husband’s messages diverted to my phone, Call logs, Facebook messenger, WhatasApp, Instant chat, Viber, Skype Password, retrieved all his deleted messages, . David completed the hack without any physical access or installation on my husband’s phone so he never found out until I presented the information in court..Many thanks to David Consultants I got what I deserve
Contact him for help.
Gmail:
Hotcyberclown @ gmail.com
Text: +13478993017
Whatsapp Number: 12675265346
I know you will surely refer him.
Honest question.

Can somebody explain to me why async IO is so important and why it is better than using the operating system scheduler?

If process A is blocked because of IO, then then thing that needs to be done will need to wait for the IO anyways.

Of course, in a server context, process A cannot handle new server requests while it is blocked. But luckily we can run more than one process, so process B will be free to pick it up. I will need to run a few more worker processes than there are CPU cores, but is there a problem with that?

EDIT:

I'm thinking now the problem is maybe that running more workers than there are cores will mean that the server accepts more concurrent connections than it can handle?
If I use async code and run exacly as many workers as I have cores, the workers will never blocked.
But then, I have the scenario where multiple async callbacks resolve in short sequence, but cannot be picked up by a worker because all workers are busy.

So, in both scenarios (no async but more workers than cores VS async with as many workers as cores) it can happen that the server puts too much on its plate and accepts more than it can handle.

I have a feeling that this is a fundamental problem that manifests itself differently in both paradigms, but exists notheless?
You’d think that, but Wittgenstein minted his career on calling philosophers out for not thinking critically enough in debates.
That is so incredible! I've never split it up, I just use the "all-in-one" package usually. Might take the time to deploy the detached server on DO sometime.
Former GOOGLE engineer explains how freedom turns people into entitled jerks
>... ability to compromise that makes a man noble."

Sir Berners-Lee is such a nobility, should we as digital peasants knee before him? Feudalism of the Web is upon us.
I quite enjoy the irony that Coffeescript—a language apparently invented to make Javascript more palatable—is the third most dreaded language in the survey.
"businesses shouldn't expect their employees to sacrifice so much for something they don't even own" hahaha Business owners tend to think their employees have a sense of "ownership" and use that to drive them as hard as they drive themselves. It is astounding the low EQ of many business owners.
Recall the original iPods. They didn't have network connectivity at all. A desktop computer running iTunes would automatically check for & download new episodes of podcasts subscribed to in it, and they would be synced to an iPod when it was plugged in to charge.
I love Hutton's line "We find no vestige of a beginning - no prospect of an end"....

Hardly surprising that Edinburgh became the birthplace of geology - few cities have their geological wonders quite so blatantly on display.

I can recommend the Geowalks around Edinburgh: http://www.geowalks.co.uk/
Spent a day in Franz Joseph this Christmas. Lovely, hip little town, but constant buzzing of helicopters was annoying.

Electricity would certainly make them at least little bit quieter.
Lol, yeah, I think everyone that had one of those must have climbed in at some point. Me and my cousins used to put the lid on and roll each other around probably giving us brain damage in the process. I think the last time I got in was after one time when my older cousins were torturing me by sitting on the lid and not letting me out.
What did you expect from a product called KittyHawk?
I love it. Can’t wait to see the first batch of production reviews from customers.

Also on energy usage:

Why does it matter how much electrical energy it uses? We know how to harness a near infinite amount.
The Use and Abuse of Keyword Arguments in Python
I feel like these "N performance tips" make it onto the main page mostly because of the commenters coming up with counterpoints to each "tip".
Most podcasts I listen too (Linux Unplugged, Linux Action News, No Agenda) are no longer relevant after a week to a couple of weeks. The value is very much in the now. That would be a third mode then.
I bought a new battery from Levono for my x230 this year, and the battery life is now ace. Longer than a work day.
How to Design Collection Libraries?
Web browsers should always try to act in the best interest of the user, not just render what is given.
> A local Docker build might have issues due to your local computer's environment that cause mysterious or hard-to-replicate problems.

This always comes and bites us back isn't it? The whole promise of Docker was that we would be freed form these pains... But yet here we stand :(

Wondering what kind of issues you're running into. The first one that comes to mind for me is Kernel version mismatches. Though those shouldn't always cause that much trouble due to the "Dont break userspace mantra" that Linus has
I'm not much of an airplaneologist, but this looks like a deathtrap to me. I appreciate all of the efforts in new transportation modes though.
> Instead, a brief visit to Singapore, for example, will convince anyone what the future of transportation looks like. A public transport system, enabling a lifestyle that makes cars redundant.

Living in Singapore, I agree with what you say, but in this future, there will be a lot of whining, too:

https://news.ycombinator.com/item?id=15928972
Η ΕΡΩΤΙΚΗ ΖΩΗ ΣΤΗΝ ΑΘΗΝΑ – ESCORTS – ESCORT ATHENS – ESCORTS ATHENS