skysight-inc/HackerNews huggingface dataset:
> The existence of job hopping does not negate existence of abuse

It (at least to some extent) negates your assertion that employers can get away with it. Employee churn is literally employers failing to get away with it. If a bad employer cares about employee churn, then it’s something they’ll have to address eventually by solving the problems they’ve created that led to employee churn in the first place.

That doesn’t necessarily mean they will though. Having contracted/consulted for a lot of companies, I’ve come to the conclusion that most companies are bad at most things, and that a company really only needs to be good at a select few things to be viable in the market. But if there’s competition for labor (which there is in a lot of software engineering sectors), then failing at employee retention will put them at a competitive disadvantage, and companies that succeed at it at a competitive advantage.
Does this site work for amazon Canada?
I think Adam Smith and other economists would say that if everyone was an independent businessperson with full autonomy then we’d have less exploitation and more equality. But people are willing to trade essential Liberty to purchase a little temporary Safety (and a whole array of consumer goods they don’t need and pay high rent for status), to quote a certain modern philosopher.
Ask HN: Sample Code for Common Scenarios?
While developing software we encounter common scenarios like querying a DB, getting data from an
external API, posting some data to an API, etc.

I want to know if there is a place where all these common scenarios are implemented using best practices so that we can just use that framework and simply modify it to suit our needs?

Searching google we usually get the answer from stack overflow but that is generally not best practice answer, its more like code snippet.

For example, I want to create a project where I need to query data from an API and manipulate the data and then use it in some form. I was looking for the best code structure for this scenario (how should I structure my classes to achieve this)

Searched google and github a lot, but there is no such repository of common scenarios implemented for others to modify according to their needs.

thanks for reading! Will be grateful if someone can help.
Experts Warn of Possible Sustained Global Spread of New Coronavirus
More interested in the tech behind the website. Amazon traditionally blocks scrapping quite aggressively
aka $0 worth.
The opposite to exceptions isn't (necessarily) error codes. Golang errors are a recent example.
Functions can be inlined by the compiler if it thinks it's an issue. I think it's rather a question of readability : sometimes if a process involves a long series of step I like to be able to read them linearly rather than jumping back and forth to sub steps. I can read just the headers if they're cleanly organized by cleanly separated paragraphs (with braces if needed to indicate separate scopes and no leaking variables between paragraphs).
The echoes of Roman (and Greek) admiration are still visible in Europe, and even throughout the Americas:

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

Another example - the common language of ancient Rome, Latin, is still the official spoken language of the Catholic Church. Until the 1960s, priestly instruction and most Catholic masses were conducted in Latin:

https://en.wikipedia.org/wiki/Ecclesiastical_Latin#Current_u...
If you have a few long data loading and preprocessing steps it's a pain to wait for them to run again, people try to avoid it.

When something odd begins to happen, they don't immediately consider the possibility that it's not their bug and waste time trying to 'debug' the problem instead of just rerunning the notebook.
Or if you do at least check them for trackers before install:

https://exodus-privacy.eu.org/en/
You logged in to HN to post this nonsense. What is your point?
Additionally, the barrier to entry was much higher then (obviously not talking about the price)
Parent laid it out already: without this option, device creators would need the full commercial license right from the start. This allows them to cheaply bootstrap and get the full license if/when their gadget proves promising.
I would say that the beauty of error codes is precisely that it is an evil that is easily visible, whereas exceptions lurk in the shadows.

Error codes are like someone suggesting "lets blow this thing up" and you can either follow their advice or ignore it.

Exceptions are more like someone throwing you an unlocked grenade. Unless you expect them to be that irresponsible and unless you actively react to their behavior, things explode.

I once had to debug an issue with a Java app that did not throw exceptions anywhere, but it did use the Hibernate ERM framework and somewhere deep inside Hibernate there was a bytecode patching library used which didn't like our custom build of the VM and produce a class-less unchecked exception which would crash the app.

And in my experience, the people that do bad error handling with return codes are also the same people that catch an Exception and rethrow it wrapped in a RuntimeException to remove all that try/catch bloat. It's laziness in either case.
There are only marginal benefits to Duolingo plus that can't be obtained with a proper adblocker. Many people who choose to subscribe admit they only do so to support the company.
Ugh, same thing happened to me. Bumping my salary from 55k to 60k was inconceivable, so I went to another company for 120k. (Turns out, the same skills you use to make piece of crap parking meters/medical devices are needed to make smartphone operating systems)

Then something similar happened again a couple of years ago.. The top local software companies in Japan were offended when I told them I'd been making 180k USD/year but would be willing to settle for ~140k USD to work for them. Anything over 120k was just unthinkable, and even that was a stretch in their minds. I didn't have much luck explaining that Silicon Valley firms are just going to roll in and eat their lunch if they don't hire people like me. It was better for my long-term savings to work 1-2 years in Silicon Valley, then hang around and be a jobless bum in Tokyo for 1-2 years than to work full time in Tokyo for 2-4 years.

Moral of the story: Go where the money is
> they can get away with de facto 50+ hour weeks while offering the bare minimum in benefits

I would also add "free Red Bull, breakfast buffets, Friday Beer Time" and other "Freebies" DO NOT count to me as benefits. So many of the startups I've interviewed for try and lure you in with all these additional "benefits". No, ten cases of free Red Bull will not pay my rent.

These companies routinely low ball really good developers with these freebies thinking it makes up for paying them slave wages; expecting them to work 50-60 hour work weeks and burn out like clockwork every 18 months.

It's sad so many people I know just grab that carrot and don't realize they could be at a Fortune 500 company making triple what they're making at a startup who claims its harder to get hired at their company than to get accepted at Harvard.
Preventing Suicide by Higher Education
Think that might just be that item. Still looks pretty consistently dropping to me
I thought I was quite familiar with leetcode. But this seems to be a different concept. Care to elaborate how this is "yet another leetcode"?
Yeah but they don't care about employee churn at all. That's the whole point. There is almost an infinite supply of replacements. Did you not read my post?
Netmarble to Launch the Seven Deadly Sins: Grand Cross Within the Year
There were at least message sticks: https://www.ancient-origins.net/ancient-places-australia-oce...

>For instance, one of the message sticks in the Dandiiri Maiwar Exhibition at the Queensland Museum and Science centre is as follows: Bishop White of Carpentaria described how he delivered a message stick on behalf of an Aboriginal boy in Darwin to a boy in Daly Waters. Bishop White asked the boy from Darwin to explain the message. The boy read the message symbols which requested headbands and boomerangs from Daly Waters. The Bishop delivered the message stick and asked the recipient to tell him what the message was. The boy interpreted the message stick exactly as the boy from Darwin had explained it.
>>Who are they supposed to be loyal to?

To themselves. The best advice I ever received was from my dad. And it was 6 months into my first job. I wanted to hop and there came the advice 'investments matter more than income, and you need stability to borrow money for the big ticket ones'. I hopped anyway because like your case I was looking at doubling my income.

But the next two ones I've gone slow and with stability built up good investment assets.

The advice is true. Inflation can eat whatever you earn, so investments are where the magic is.
There are other factors to look at here though, wages for tech workers at even top tech companies are abysmal in Canada. Vancouver for example pays a median of $34/hr (statistics Canada) * 1702hrs/yr (OCED) ~ $60,000/yr -$14,000 in tax gets you a whopping $46k/yr in a place more expensive than San Francisco. Montreal is even more of a joke for tech wages where massive financial companies want and get programmers for $26-$30/hr
Yeah true. So I guess we just have replaced slaves with employees?
they expect urban dwellers to subsidize the parking spot

I think most urban commuter parking is paid, whether public or private, and the expectation is that a city charges appropriate property taxes on commercial buildings to cover any costs imposed by commuters.
It’s Always Up – NetLicensing
I would love to see some financial documents leaked from these companies.

Let's say Apple pre installs Google+ on all its phones. Then I want to know how much apple got paid for this, i.e. how many cents is a users privacy worth to them. And how much money did Google make by using this data, i.e. how much was the data really worth.

Because until we have such data, companies can always hide behind phrases such as "... share with partners ... to provide relevant services" and all that nonsense.
I know that Meteor has a somehow bad reputation, but I still believe the framework is the best full-stack solution in the Node universe and has a bright future. It has evolved a lot, and currently has a new owner, team and funding.

- Tight integration with React, Vue, Svelte
- Natively supports Mongo, but there are good GraphQL and SQL integrations these days
- Plug 'n play user accounts (customisable)
- Easy to deploy
- Builds to Android, iOS, even desktop these days.
- Tight integration between back and frontend. Extremely simple to write API's or realtime applications
- It's simply Node on backend, do whatever you're used to
- Still a very active community
- Tons of apps running happily in production (the myth of it not scaling is due to developers not understanding, not the framework itself)

We continue using it, nothing develops as fast and easy - at least in the Node world.
kernel 5.5 released Sunday. Btrfs now has raid1c3, raid1c4 profiles for 3 and 4 copy raid1. Adds new checksum algorithms: xxhash, blake2b, sha256.

Async discards coming in 5.6.
https://lore.kernel.org/linux-btrfs/cover.1580142284.git.dst...
I discovered this gem on Twitter.
I find the thought that the president aims to have power over what is taught in universities sickening.
This "suicide prevention" aims to stop it by coming close to killing universities or least it claims this as its intention.
I think you hit on the big ones, but also issues around file system access, secure+performant+efficient use of memory across a lot of devices, and complying with an ever-changing landscape of external standards.

Great link!
I remember this giant slide deck he presented at OSCON back in 2004 (guess) about scaling LiveJournal with MySQL, memcached etc. IIRC it was the first real “template” for how to scaling on an open source stack, and it massively benefitted the team and company I was working for at the time.

Edit: this looks like one of the versions of that slide deck - http://www.danga.com/words/2004_lisa/lisa04.pdf
An example of your infinite variance case, sums of cauchy distributions don't even converge to a normal distribution.
To your last point: have Spain changed their position since they said they would not veto a Scottish application to rejoin [1]? I haven’t seen anything to suggest they have.

1. https://www.theguardian.com/politics/2017/apr/02/spain-drops...
Thank you. Apparently, the stockholders agree with my assessment.
You can have several virtual addresses mapped to the same physical address. However, if you use bits that are not 1:1 mapped between those two to index into your cache, then you might end up with one virtual address getting cached in one place in L1, and the other getting cached in another place in L1. That would be bad, because you'd have two potentially inconsistent caches of the same memory.
I've seen a crawling robot trained with a string which would pull it back to the starting position after each episode so it could automatically try over and over again. I'd love to see someone doing that with a biped and just lift it up on a hoist to reset its orientation and position whenever it fell over. But really, it might not make a lot of economic sense if you can simulate the physics like these guys are doing.
Since a year I literally daily turn of my machine by pulling a plug (home automation turns off all plugs at midnight to make me go bed ;).

My quite large 1tb multivolume, multisnapshot BTRFS fs never had any problems.

And it's quite aggressive cfg (big fs commit).

P.S. I do have backups though.
Yes that's being done, here's a preprint using this and similar sequences and comparing them with bat coronaviruses and SARS:

https://www.biorxiv.org/content/10.1101/2020.01.22.914952v1....
Well, the Higgs boson was presented ok Comic Sans... they’re scientists, not webdesigner agonizing on artisanal layouts ;)
We've moved past it now with having errors just be part of the type and signature so you can use language tools to deal with them like any other type instead of having special syntax. I like that. It allows you to express certain concepts more easily. For instance, "in case of failure, use blank" looks nicer in Rust than in Java, and so you're more likely to use it. Java is also sort of moving this way because checked-exception methods don't play well with Streams syntactically.
Probably. This is my experience with the case of the unbalanced if.

When it happens to me in Python or Ruby, I return immediately from the smaller branch and move the other branch out of the if, to the main level.

When it happens in Elixir... It doesn't happen because I don't use ifs there. I write two versions of the same function. One matches the condition for the then branch, the other the condition for the else one.
What I dislike of criticism like this is, that it always operates on the underlying assumption that they have no idea what they are doing. Implying only the critics know how to calculate things and everybody who does renewable energy is fueled by blind ideology and therefore doesn't even bother.

Unless one knows the scottish plans this kind of criticism only brings one closer to becoming an armchair expert. So instead of actually pointing out a meaningful risk someone didn't calculate for in service of society, ones criticism becomes pure agitation and propaganda to the detrement of it.

And over time what started from a honest doubt can be quite dangerous, as can be observed in alternative medicine, where people first formulated their unease about aspects of the modern medical practise and moved quite rapidely to disregarding it completely and selling people sugar as medicine with real consequences.
If the author is seeing this thread; I couldn't find an RSS feed for your site. I don't know if they are difficult to setup, but if it's very little effort, I would appreciate seeing what you post next :)

As for the waryness about the mean. A lot of people much further behind than thinking of different distributions. Even something you assume is normal distributed needs a mean and a variance! As for visualising, histograms are incredibly underrated tools. You can infer a lot of information by just looking at a distribution.
That shouldn’t be the responsibility of the users. It’s the responsibility of the manufacturer, even if the end user isn’t aware of or care for those improvements.

This takes place in every industry except for software development.
Honestly it is expensive but a life-time brilliant.org subscription is $599.99 US Dollars.

It’s a super great service I bought it myself and find it fun to go through some of the courses on my free time. The logic courses are fun. The basic math courses do some cool explanations of divisibility rules. It’s quite a bit different than Khan Academy as it’s a lot less plug and chug, but instead it focuses on teaching small lessons and letting you use intuition and problem solving skills which to me are the fun parts of math. Besides Math it also has Computer Science, Physics, Probability, and other Sciences. I would recommend maybe trying it for one month maybe if they have a free trial or something and then decide if you want to sink the $599.99 into it. The month by month subscriptions are quite a bit cheaper, but if you want to use it long term it may be worth it to buy the lifetime subscription.
It has been demonstrated for millennia. And I don’t know what your strange intelligence straw man has to do with anything. Even elementary metaphysics covers this.
It's a pain to format LTO-7 for higher capacity in LTO-8 drives, but once you do it's only $5-$5.50 a TB
No.

For a shopper, not being able to find what you want (or trust what you find) is a high cost.

The cost of switching to another site, or shopping mode, is low.

More to the point: it's vastly lower than the shopper being able to effectively fix Amazon's search.

This is a general principle of networks and positive- vs. negative-value members or additions.

The naive Metcalf's Law notion, that all members of a network are a net positive, is false, and even the far more useful Tilly-Odlyzko formulation (V = nlog(n)) fails to account for nodes contributing a negative cost. Since all* information imposes an attention cost, you can approximate the actual network value as:

V = n*log(n) - k*n

Where k is some cost constant.

In fact the size of the network is determined by the cost constant. The lower the constant, the larger the sustainable network size.

At some point, adding more members reduces total network value. Worse, since you have high-value and low-value contributors, and quite possibly a higher value-sensitivity of high-value members, as the network value approaches and passes the zero point, high-value members tend to defect. That's what happens as a social network tends to low-quality posts, content, and discussion.

Or a shopping market tends to counterfeit goods, mislabeled content, fraud and the like.

Just as MySpace found itself walking dead, and numerous earlier retail establishments, Amazon could find itself on the wrong side of this line and quickly.

Also: though I represent k as a constant, it's better to think of it at any given point in time as being mostly undifferentiated amongst nodes. But over time that constant might increase or decrease, whether due to the behaviour of nodes, additions or deletions in nodes, or in environmental factors.
“Bob Stearns – A blind computer programmer working at SRI. Bob used the Optacon in his work writing and de-bugging computer programs.“

I want to know more about this guy
Miguel Lorenzo’s Filma video editor set to revolutionize editing for iPad users
I think you meant to reply to this post https://news.ycombinator.com/item?id=22166846. :)
In the Trolltech days, Open Source Qt was GPL-only. And up until Qt 4, the Windows port was Commercial-only.

Nokia introduced LGPL and open governance, simply because they were not interested in Qt as a commercial product, and The Qt Company is now trying to build a business around this. With huge companies like Tesla building their product around the free version of Qt without complying with the open source licenses, it is not that hard to see why they would look for ways to find out who their actual users are.
In Jupyter I approach this by structuring my exploratory analysis in sections, with the minimum of variables reused between sections.

Typically the time-intensive data prep stage is section 1.

The remaining sections are designed essentially like function blocks: data inputs listed in the first cell and data outputs/visualizations towards the end.

Once I decide the exploratory analysis in a section is more-or-less right, I bundle up the code cells into a standalone function, ready for reuse later in my analysis.

Jupyter notebooks can easily get disorganised with out-of-order state. However that is their strength too: exploratory analysis and trying different code approaches is inherently a creative rather than a linear activity.
> It (at least to some extent) negates your assertion that employers can get away with it. Employee churn is literally employers failing to get away with it.

Nah, they are ok with big turnover. Typically, they believe that everyone who left was bad employee in some way.
>senses, perception, pain, pleasure, fear, volition... a body!

Yes! Almost all neural networks have no self-model and thus no self-awareness because they cannot perceive themselves. They only see the inputs. They do not see the result of their actions.

This makes developing a self-model impossible. They cannot develop an internal model of internal vs external causes. What their "boundary of influence" is. Differentiation between internal and external causes.

They are trained and then used, immutable, unlearning after training. Even if they could perceive their outputs during training and/or evaluation, they cannot perceive themselves otherwise, making it practically impossible to deduce by themselves what they even are. They can't inspect themselves.

The causal loop needs to be closed for all of this to happen.
The dust is much less when speeds are kept lower, such as suburban cul-de-sacs as GP states. Dust can be further mitigated with an annual oil coat.

A well built gravel road will have a decent amount of rock which drains in the rain without turning to mud, culverts are needed on the steeper slopes to limit erosion.

While the total cost is much less than asphalt, dirt roads do need more regular maintenance which municipalities frequently try to skimp on.

A good read of the pro's and con's:
https://www.epa.gov/sites/production/files/2015-10/documents...
Most of this religion is plaguing young minds when they cannot stand an objective point before authoritative statements (or any statements, as anyone can drive a smartish blog today with a great confidence). I remember how I fought for some of software religion myself and how it took time to get rid of at least worst parts of it.

What is pure evil is articles like this one, claiming something in a pure vacuum instead of weighting a technique in various exact situations and analyzing the outcomes.
Amazon rolls out new delivery robot called Scout
Think of it this way:

They launch with near absolute MVP. Design is not the priority here; the information is. When it comes to dealing with a pandemic, every minute counts.

The default theme is a sign that someone who knows software and project management is working on it.
Well, there's the law and there is every 10th driver being a prick. Also in Germany.
I forget why I stopped patronizing Central Computer, probably something to do with selection, price, and service. Newegg is an utterly hostile place to buy things these days.

Honestly, if price isn't a motivating factor CDW still exists (and if you're making large business purchases you'll definitely get better pricing).
If you do it on a reasonably clear road to get around someone hogging an overtaking lane, and the police see you, they're going to pull you over and give you a fixed penalty notice for careless driving though. I know this from experience.