skysight-inc/HackerNews huggingface dataset:
I'd suggest that's not the right way to look at it. To a first approximation, "everything" is using an event loop nowadays, in that everything is using the same fundamental primitives to handle and dispatch events. In particular, this includes the Go runtime; run "strace" on a Go network program and you'll see these same calls pop up in the strace.

What this does instead is give a Go program direct access to the event loop. The benefit is that it bypasses all of the stuff that Go wraps around the internal event loop call that allows it to implement the way it offers a thread-like interface for you, and integrates with the channel and concurrency primitives, and maintains your position in the call stack between events, etc. The penalty is... the exact same thing, that you lose all the nice stuff that the Go runtime offers to you to implement the thread-like interface, etc., and are back to a lower-level interface that offers less services.

The performance of the Go runtime is "pretty good", especially by scripting language standards, but if you have sufficiently high performance requirements, you will not want to pay the overhead. The pathological case for all of these nice high-level abstractions is a server that handles a ton of network traffic of some sort and needs to do a little something to every request, maybe just a couple dozen cycle's worth of something, at which point paying what could be a few hundred cycles for all this runtime nice stuff that you're not using becomes a significant performance drain. Most people are not doing things where they can service a network request in a few dozen cycles, and the longer it takes to service a single request the more sense it makes to have a nice runtime layer providing you useful services, as it drops in the percentage of CPU time consumed by your program. For the most part, if you are so much as hitting a database over a network connection, even a local one, in your request, you've already greatly exceeded the amount of time you're paying to the runtime, for instance.

It does seem to me that a lot of people are a bit bedazzled by the top-level stuff that various languages offer, and forget that under the hood, everyone's using the event-based interfaces. What differs between Node and Twisted and all of the dozens or hundreds of other viable wrappers over these calls is the services automatically provided, not whether or not they are "event loops". Go is an event loop at the kernel level. Node is an event loop at the kernel level. Erlang is an event loop at the kernel level. They aren't all the same, but "event-based" vs. "not event-based" is not the distinction; it's a question of what they lay on top of the underlying event loop, not whether they use it. Even pure OS threads are, ultimately, event loops under the hood, just in the kernel rather than the user space.
Full time jobs can't hold wages until other work is completed.
Perhaps you get confused about the long history of Appalachian Coal Miners voting solidly Democratic, 100 years of such, only to see their votes taken for granted and their livelihood disappear.

West Virginia, despite being as far from Cosmopolitan as you can get has been a Democratic stronghold until the last election cycle
I guess you have to use will power to make those decisions.
Looking at troika's submissions, there's one "Show HN" about Deepstream so yeah, definitely involved in the project. Don't understand why one would say "I've switched to" for an application they've created or contributed to, especially if there's proof in your history that you have marbles in the game.
Haha, yes, many of these professional “analysts” are merely professional click-bait writers.
Why does it matter that the drive was used? If I can permanently damage my performance by using a different filesystem for a while, that's a big deal. It's not FUD to talk about how drive-managed SMR is unpredictable, and might work great or might work horribly, and you can't entirely predict what you'll get.
Interestingly, Germany had a push over the last thirty years or so towards requiring higher education for jobs that have historically never needed that.

As an example, a large chunk of my classmates did not study after the Abitur (which is the qualification for university studies and can be received with about 18 from the Gymnasium – our highest secondary school). Many went to local banks and became bank tellers and back office workers.

Bank tellers used to have "Mittlere Reife", which you get at the Realschule (in the middle of secondary schools) with about 16. There are still bank tellers with Mittlere Reife, but since the banks can choose to get young people with Abitur, they do so.

Becoming a baker or a joiner used to be the domain of young people who graduated from the Hauptschule – the lowest of the secondary schools. Today, many are from the Realschule.

Still, the apprenticeship system works, even if the standards have been raised.

Even more interesting to young people who think about going to college (because that's the audience we're talking about here) is the "dual system", where they study half of the time, but with lower academic expectations (less theorizing, more practical learning), and spend the other half in a company where they can immediately put their new knowledge to practice. They are paid by the company (enough to move out from home) and are obligated to work at that company after graduation for a few years. It is quite a bit like apprenticeship, but for white-collar jobs.

It is less prestigious than studying at a university, but companies love those students, because they are well-integrated into the company from the beginning, and some of those students do have rather fast careers afterwards.
I believe that the Angular team is also taking this approach. [1]

[1] At ng-conf 2017, the core team was asked whether they'd consider designating LTS releases, and the answer was essentially what you're saying here: They work very hard to be backward compatible, and encourage everyone to move _forward_ instead of getting stuck in the past.
I’ll never shop at OfficeMax again–even if everything is free
Intriguing approach. Anyone know if there's a write-up somewhere from somebody that's tried it? It's always helpful to learn from the gotchas others have run into.
I've asked this question before (what would you do if software development went away[1]) and the response indicated that they would not, or could not entertain that thought. Instead they posited that such a world would be impossible or that developers could go back to school to be lawyers - not realizing that new law school grads had a 25% unemployment rate.

[1] https://news.ycombinator.com/threads?id=chrisbennet&next=123...
half way down the page, search for "As a thought exercise"

"As a thought exercise, what will/would software developers do once 90% are made redundant by A.I. or something? Maybe "suck it up" and go back to school to become nurses?"
What an interesting definition of "free speech" you hint at here. Tell us more!
Yeah, and try doing it on a bicycle. I biked across the US (SF to NYC) last summer, and it's something you simply cannot replicate any other way. There is so much more to the world when you hear the sounds, smell the smells, and have spontaneous conversations with people ("you're on a bike? going to where? what?").
Firebase Cloud Firestore is new product from Firebas and is much more flexible than Firebase Realtime Databse.

It can do accomplish that query. From the docs a similar query:

citiesRef
.where("population", ">", 100000)
.orderBy("population")
.limit(2)

https://firebase.google.com/docs/firestore/query-data/order-...
Upwork has one advantage if you go hourly with the screenshot program those hours always get paid. If you go per project then you are at the mercy of the client.
I wish that the author could have talked about the Harvard study and "tribal" mindset without overstating his case.

> At this point, as the stories above show, the conservative base will believe anything.

No, they don't show that. From the Harvard study's conclusion:

> “conservative media is more partisan and more insular than the left.”

The undermining of the "neutral arbiters" like science and mainstream media is something we should be talking about. But can we do it in a way that's not just encouraging more insularity?
Docker Orchestration Workshop
This article is based on a false premise: that „traditional“ media outlets are the arbiters of truth and factual information. What is actually true is that it used to be much more expensive to run a world wide media network and so it was much easier to establish a “consensus”. The narrative in traditional news media is also manufactured and far from an impartial or factual account.

„Manufacturing Consent“ gives plenty of historical examples of war crimes committed or facilitated by the US and their coverage by the news media, „collusion“ with Russia is a rather mild charge in comparison.
The coal industry employs fewer people than Arby's.

Their votes are "taken for granted" because they're a tiny constituency, and their livelihood was always going to disappear. Mines have become progressively more automated (like everything else) and between natural gas and renewable energy options, it's simply no longer the economic home run it used to be.
Yes, but that's because there are a few people who are extraordinarily wealthy. The median is a better measure of what people make.
No problem, didn't sound negative. The main difference with Koa would be having a starting point with default middleware, security and websockets. I do agree with your points, Koa is probably the most elegant library out there, probably followed closely only by express.

But that is not why I created server. It is not about library elegance and simplicity, it's all about making it easy to use. Both of Express and Koa involve external middleware that the user has to manage manually, and there is a subset that is really common for most situations. Server.js is all about usage simplicity, including this subset by default and making things work by default.

Context was inspired initially by the way Promises work with a single return value, but then expanded further (and named after) Koa's context.
There are two things confused here. Lots of people go contracting in the UK because

1) You can earn more. A company will pay more as it can ditch the person at the end of the contract, when it is not a core competency of the firm.

2) There are tax benefits

3) When you contract is over you get a change of scenery

Many of those always contract through an agency

What you are describing is more like someone trying to start their own agency/practice. That is quite different and sales would be a big part of that.

> Those roles traditionally aren't marketed through middlemen simply because lawyers and tax accountants generally are considered to be independent professionals.

Your point that I was answering was that the contractor is outsourcing some services to the 'middlemen', not using a middleman to find those services

You are also not exactly right about accountants and lawyers. They join partnerships and associations exactly so they can get work from the practice and use their shared admin facilities. A barrister in the UK is a tenant of his chambers and the clerks get the work and the barrister has fees deducted for this service. This is exactly so they can concentrate on their day job.
If it was shining into my house I'd certainly be trying to get this done!

My my complaint is more general: Some council boffin has decided that using ultra-bright lights would improve safety, but actually they can have the opposite effect - by being blinding and dazzling to pedestrians, drivers and cyclists.

A redesign of the lighting units (perhaps with some kind of lens or diffuser) would probably help too, so that the light is diffused more and you aren't looking directly into the LED elements.
Sounds a little bit like: Leadership, Innovation, Marketing.

Yeah, it's good to have all of those three.
> However, in my opinion as a software development freelancer marketing and sales is a key part of your business.

That is 100% your opinion. It is far from a rule that you should expect others to adhere to, especially given that there are tons of services out there that promise to remove that need. It's almost as if different people design, build and execute their lives differently, using different values.

You're getting downvoted because you're asserting your opinion as a global truth. There is no universal law dictating how software freelancers should work.

In this one instance, your opinions are absolutely vindicated -- but what about the literal millions of successful freelancers where your opinions and advice mean bunk?
Chandler Carruth. His talks at cppcon and his work is great.
I generally tow the line when it comes to software, but I do have a couple contrarian opinions and one of them is that LTS is really, really dumb. Not just for maintainers, for everyone.

LTS destroys your codebase. LTS allows mistakes like pushing state into your server that you didn't know was there. LTS makes it much harder to upgrade because by the time you're moving off of, say, Ubuntu 12.04 the whole world has changed. LTS multiplies the number of things that can go wrong. LTS makes people think that the OS is going to be around forever so they don't architect their devices to be OS-updateable. IoT is bad now, but it's slowly getting worse too because half these devices are stuck on some out of date version of linux running some out of date version of Python.

All my servers run Ubuntu 17.10. Rails is on the latest version. Ruby is on the latest version. I don't pin any of my gems and every time I upgrade Ruby I upgrade the latest version of all the gems too.

This is only possible with extensive testing, and mistakes do get made here and there, but overall it's much, much easier handling these issues one at a time. The only thing I don't do is keep current on packages that I install via `apt` because I don't want to risk building from source.
I'm with you. The company who wants to exchange capital for labor benefits from being able to negotiate separately with each provider of that labor to get the lowest price possible from each person. SOME of the people providing the labor do well out of this too (the good negotiators) and would perceive a union as harmful to them. Employers can exploit this by, say, keeping salaries as close to secret as they can so that more people think they are doing better than average. But it's weird to me that this hoodwink works so well. I have been in both union and non-union roles. I'd go for union every time. All of the labor might as well negotiate with all of the capital, otherwise the power differential has an outsized effect.
The project is very much moribund but I've used it to see how some things might be implemented.
Probably his account is private.
everything comes back around. i worked in a startup in 2002 and we developed a mesh network street light controller. https://web.archive.org/web/20020605214609/http://www.telemi...
I thought a few years ago that China was buying a large amount of coal, in fact most of it. Has that changed?
The two-sentence "Result of the Check" section ends with "and the strength increased the closer to the Russian helicopter wing".

As professionals, they state the observations and facts and don't cross into the realm of speculation.
The Undoables of Computer Science
You should think in terms of components not html. You would be combing simple components to create more complex components.

As far as names i find vuejs more complex. I have years of experience in js. Vuje requres me throw many of those to write simple loops, if logic even onclick binds etc. For me at least reactjs is a simple framework.
„We manage blogs ... so the owners don't have to.“

On a first look someone who has not run content-marketing before will say: „WOW...great...no work for me“.

My experience in having run content-marketing campaigns for various products is that you really have to define what you want to achieve with the content. Otherwise it is a waste of time (huge factor) and obviously money which you would have better spend running ads.

Do you want to purely do SEO content to drive traffic to your site? Possible with an outsourced service.

„You don't need a rocket scientist to plan out your content.“ Wrong. Wrong. Wrong.

Do you want to build an audience around your company/brand? First: this is a gigantic time/resource commitment which MIGHT pay off longterm in a big way. From my experience this is very hard to do right using someone external who is not in someway affiliated with the company itself.
I think SICP also pretty good in this regard.
Thankfully it's available online for free
One can, but we're talking about 18-year-olds fresh out of high school here.
Science only tells you what is, it can never tell you what should be. The value systems possessed by most people revolve mostly around what should be, and aren't affected so much by what is (except insofar as it can tell you what can't be, even if you really want it to).

Basically, you can't derive an "ought" from an "is", and science can only give you an "is".
Yep at the moment they do, and they will continue to, but that has nothing to do with the fact that historically those in the industry voted Democratic not Republican.

The lack of reality among some around here does amaze me
Is C11 a plus though? It has features strongly diverging from C++ (e.g. struct initializers), and may only add confusion.
The ted talk "What makes us feel good about our work?" illustrates this perfectly. https://www.ted.com/talks/dan_ariely_what_makes_us_feel_good...

> Now there's good news and bad news here. The bad news is that ignoring the performance of people is almost as bad as shredding their effort in front of their eyes. Ignoring gets you a whole way out there. The good news is that by simply looking at something that somebody has done, scanning it and saying "Uh huh," that seems to be quite sufficient to dramatically improve people's motivations. So the good news is that adding motivation doesn't seem to be so difficult. The bad news is that eliminating motivations seems to be incredibly easy, and if we don't think about it carefully, we might overdo it. So this is all in terms of negative motivation, or eliminating negative motivation.

Which brings us to the totally free, and very low friction way to say thanks: http://saythanks.io

> SayThanks.io provides a handy URL for you to share with your open source projects— it encourages users to send a simple thank you note to you, the creator of that project.

> This simple link can be added to READMEs and project documentation.

> Then, you can enjoy a nice inbox of very small but thoughtful messages from the happy users of the software that you've toiled over. :)
> the political factor in DNC

heh

> My general perspective is that Tesla should derisk the miners by putting some money upfront on a contractual basis. Maybe it's Panasonic that does this.

I think they have a long term supply deal with Sumitomo Metal Mining[1] (Phillipines, not Indonesia, my bad), but I'm not sure if there's money up front.

It's my personal opinion that the industry is well prepared for a drastic increase in cobalt demand. I'll also point out that laptops and cell phones put a very large buffer in place for NCA and NMC chemistries. Laptops and cell phones use LCO which is a 100% cobalt oxide cathode. A high supply pressure will cause them to switch to low-cobalt chemistries like NMC and NCA, or even to completely non-cobalt chemistry. That'll free up cobalt for all batteries. LCO is becoming less popular but AFAIK it's still the majority of batteries by kWh and certainly by use of cobalt.

[1] https://evobsession.com/sumitomo-metal-mining-boosting-nca-u...
This is what I wanted http://windowshots.reddit.com to be, but despite everything I could think of to try to shape the community, it mostly turned into a competition for prettiest vista.
Proper host-aware and host-managed SMR drives have their own command set to manage zones. It's kind of like TRIM, but specific to SMR drives.
The thing I like about Unz.com is that it doesn't seem particularly to favor one side over the other; marginalized voices of all stripes are welcome, would-be neo-Hitlers and would-be neo-Stalins alike.

To be sure, I don't have a lot of use for opinions of either stripe, but I'm glad that there's a place left on the Internet where both are suffered to exist in public, for a little while longer at least. Sticking your head under a pillow and your fingers in your ears doesn't make them go away, and all else equal, you're safer being able to keep an eye on them.

(Incidentally, the comment to which I'm responding is posted under a name that's 53 days old, with 1 karma, no submissions, 1 comment. It's almost as though someone made this account a while back so the green name would age off and then stuck it in a back pocket for eventual sockpuppeting use, but I'm sure that is merely an unworthy cavil...)
Doh, I did noobishly link a private instagram post. Here's a imgur version ( not the best quality ): https://imgur.com/a/iXYby
This startup makes millions buying on Walmart, selling on Amazon
Good luck. You may be a math genius, but you don't have a marketing or venture-formation bone in your body. (I do applaud you're choice not to take on VC money, though...)
I have to agree with you, one of the reasons could be the "left" propaganda machine were traditional gate-keepers, so withholding data would be easier way to lie, and the "right" propaganda machine is disruptive and attention-seeking given its untraditional foundation, needs "sensationalist red meat".
https://www.reddit.com/r/FacesOfAmerica/

As I said, I just started it, so it has nothing yet, but I did find it serendipitous that this piece touched on a similar thing.
Rather than changing express's syntax, I would much rather have a better express boilerplate generator with an opinionated stack with good documentation/justification.

I recently started learning express/node and wasted weeks googling for blog posts for each dependency to figure out how to configure them. I guess this is somewhat valuable for end-to-end understanding but not for productivity.

There are a bunch dependencies I am now kind of decided on (not for technical reasons, but because they are clear popularity contest winners) and figured out how use:

body-parser
compression
serve-favicon
express-session
csurf
helmet
cors
dotenv
moment
selfsigned
chalk
debug

But still a bunch that I haven't gotten to googling and still need to decide on what to choose:

logging (morgan vs winston)
validation (express-validator, joi)
auth (passport jwt, local, social)
session storage (redis vs keeping it in database?)
database (mongo/mongoose vs pg/knex/bookshelf/sequelize, graphql)
storage (s3 vs gcs)
ajax requests (request vs axios)
mail (mailgun, sendgrid, mailchimp)
error handlers
rate limiting
geo ip

I would be so happy if someone took away my power to choose and just forced me to use something that will "just work".
(I think there was an edit)
> So, I wrote my own Web Session State Server, just TCP/IP socket communications

Are you Terry A. Davis ?

(edit: hey, it's a legitimate question, why the downvote?)
Apple explored buying a medical-clinic startup as part of push into health care
> One of the easiest ways to gauge social sensitivity is to show someone photos of people’s eyes and ask him or her to describe what the people are thinking or feeling — an exam known as the Reading the Mind in the Eyes test. People on the more successful teams in Woolley’s experiment scored above average on the Reading the Mind in the Eyes test.

What isn't mentioned is that the 'Mind in the Eyes' test is used to assess autism and spectrum conditions.

If that kind of empathy is necessary for good teamwork then the neuro-diverse are at a disadvantage in that type of work and systematically excluded from companies that do all of their work in teams. Companies that take this seriously could assess where teamwork is important - and where it isn't - and hire appropriately.