skysight-inc/HackerNews huggingface dataset:
Views should react to things like screen size, routes should route. There's really no relation between them and mixing these 2 functionalities has been a recipe for disaster in every app where I've seen it used because finding route definitions becomes a major chore. It also results in having duplicate route paths all over the place and renaming a path is painful.

We still use react-router but wrap it with code that generates all the routes off of our own object structure which describes the pages. Instead of using a string path to create links, we use page definition objects like this: `<PageLink to={Pages.user.account} />` and the custom PageLink component basically gets everything it needs to render the normal `<Link>` from the `account` object including the default display text of the link, authorization required to visit the page, etc.

Another thing we've had to do in every single project with React Router was to stop using the `history` prop and start creating our own `history` object that we can then import anywhere, not just in view code... We basically have a whole kit that wraps React Router at this point and it's much, much more predictable and maintainable than defining things in JSX.
Airbnb's "Growth hacking" case study comes to mind. Their original web app allowed people to cross-post their listings to Craigslist so they didn't have to do it twice.

It's possible the same principle would work here. Post to [fediverse-friendly app] and it cross-posts to Youtube/medium/Twitter. Very likely that APIs would be locked down to prevent this though.
Maybe morality in general is not a benchmark but rather an endless continuum. Let's say Alice builds a similar website to Bob, but took extra time to add accessibility. You could argue Alice's site is morally superior to Bob's without saying Bob is immoral.
> On the 737NG 3 pitot tubes are pilot, co-pilot and the elevator control feel input. They aren't averaged, voted upon or compared in any way.

You're mistaken. To quote Boeing themselves:

> The most modern systems today use an air data inertial reference unit (ADIRU), which incorporates the best information from three pitot and static sources and provides a single set of data to both pilots. An ADIRU receives information from air data modules, which are located close to the pressure sources.

This is used on, at least the Boeing 757, 737 and Airbus A319, A320, A321, A330, & A340.
State AGs put tech giants on notice: '...they have become too big'
Google owns that TLD - https://domains.google/tld/dev/
Kidfluencer is possibly the most repulsive portmanteau I've seen the media create so far
I agree with you, my only point is that accessibility costs something. It either costs time and money if you want to adhere to some standard like WCAG, it costs in hiring a better designer who doesn't make inaccessible design choices and understands basics like contrast ratios, and/or it costs in hiring a developer who has enough experience and common sense to know what is accessible and what isn't.

Accessibility costs time and money, there is no way around this. Not all companies want to pay that money. I don't think the entirety of the blame can be placed on developers.
I'm going to call you out on the tenants remaining in the property for "several years". That simply wouldn't happen unless you didn't follow the procedure to evict them.

UK laws are very much in the favour of the landlord.
Just a bit of reading between the lines (from your previous postings ;-) ): Yeah... I wouldn't touch those shares with a ten foot pole while wearing a hazmat suit (the goggles, they do nothing!)

Unless I'm inter-line-reading incorrectly, the company raised $1m giving away 50% of the cap table. They ran out of money and pivoted. Loaded labour rate of about $150K initially I guess... Then raise money from an ICO -- must have been something around $3-4M given the 15 employees now. That money is gone. Originally 2 founders, now 3 (cap table is shrinking). I think there is no way at all that they will be able to raise money. Even if they sell the IP, it will be a fire sale.

This is not financial advice. I am not any kind of financial expert. I can't tell you what to do. I might be entirely wrong, but I don't see recovery at this stage, no matter what the business is.
Exactly! FastAPI inherits a lot from Tom Christie's great work.

Even the heaviest inspiration is form APIStar (now "deprecated" as a server). Built by him too.
The example I provided, about school courseware and a browser damaged by an expert and the student dropping the class, wasn't a made-up example.
> My Facebook insider said access logs showed some 2,000 engineers or developers made approximately nine million internal queries for data elements that contained plain text user passwords.

This imo is the truly alarming takeaway. FB employees were retrieving user passwords? Around two thousand FB employees? How in God's name is Zuckerberg going to perform his usual performative contrition about that one?

I'm just trying to imagine the data structures that were being retrieved from databases. Either they stored something like a big user account data type that contained their password in plaintext, which imo is a really weird design choice, or logs for other services were being mixed in with logs leaking the user/pass combos.

Surely one of the engineers could have noticed and said 'wait a minute... those are logins' over the course of the years? We hear all the time that people want FB to follow a responsible social practices (the debate on what those are rages on, which is great imo), but can't FB at least wrangle its own code base?

On the other hand, we shouldn't take the stance that heads should roll, imo - it would just create a chilling effect that would deter other companies from ever going public about their own security mishaps.

edit: I should probably tone it down in this comment but I'll leave it for posterity
Yeah for data science and CRUD workloads python is great. The performance difference between go and python in those settings are negligible and python wins out on ease of use and ecosystem.
"why can't every business be like Comcast?" -- A socialist
https://news.ycombinator.com/item?id=19432957
so yeah, dev have access to the password of your account, but really they dont need it, they probably have access to the hash in the database and login anyway. So really NO harm have been done
Michael Lynn, a professor of food and beverage management at Cornell, looked at this recently [1], and the study's conclusions seem to support @Amezarak's comment. Here's a quote:

.[...]tipping is a form of price-partitioning that reduces perceptions of expensiveness even when it does not affect the actual total costs of eating out, so replacing tipping with service inclusive pricing may decrease consumers’ perceptions of value."

Some pretty big names in the business have tried banning tips in the past few years, and it's been largely unsuccessful -- in some cases disastrous -- and the restaurants have almost all had to return to tipping to save their businesses. A few brave souls persist, but it's safe to say the anti-tipping movement in the U.S. has kind of petered out for now [2].

I suspect that if an entire city were to ban tipping, it would be much more successful since individual restaurants would not be at a comparative disadvantage due to whacky price perception.

I personally hate trying to figure out tips. I cope by just adding 20% by default in every case, unless the service is truly awful.

1 - https://static.secure.website/wscfus/5261551/7004898/ijhm-ti...

2 - https://www.newyorker.com/culture/annals-of-gastronomy/the-l...
New Zealand to Ban Military-Style Semiautomatic Guns, Jacinda Ardern Says
We scoff at companies that intentionally store the passwords in plain text, then compare that stored value with the credentials provided to authenticate a session. This is a common mistake for novice engineers. We are dismayed by but I wouldn't quite say scoff at accidental logging of secure data, which is a much more common accident and perpetrated by otherwise educated and advanced engineers every day.
"Just works" until you walk out of wifi range.
Please, ublock has a big fat off button. Also, it is trivial to have am instance of chrome or safari available if your locked down firefox is blocking your course work
It's just such an easy mistake to make. Some new ops guys logs all the traffic through a subsystem and boom - plaintext passwords.
Now you're just pulling my leg...

Here's a recent article that I found that describes the sleeping cars in detail: https://www.nytimes.com/interactive/2019/03/20/magazine/trai...
CodeSandbox Containers Are Out of Beta with Improvements
You’re not wrong – though history could have turned out differently.

After the First English Civil War, there were two broad factions within the New Model Army: the Grandees (aristocratic wing) and the Levellers (the more radical, egalitarian, democratic and progressive republicans). Unfortunately, Cromwell’s faction won that particular power struggle and the rest is history. Nevertheless, this period of revolution acted as inspiration for the colonists in America, which in turn inspired the French republicans, thus influencing countless other revolutionary movements.

Related link: https://en.wikipedia.org/wiki/Putney_Debates
My facebook feed has really become stale in the past few years. It used to be a good way to see what your friends are up to, and see pictures. But now it's ads, news stories, posts from my old university, bad memes, and that's about it. Even instagram has become full of influencers, models, brands, etc. I just want a platform to stay in touch with friends and that's it.
Plenty of supply outside of the South East of England. Even housing association apartments are being offered privately because of the lack of demand.
Stanford Medicine Presents Results of Apple Heart Study
Digital Double Agents: Is the Troll Hunter a Troll Herself?
This is precisely my fear. Cloudflare is using price as a selling point.
For people with just a few domains, price isn't important.
I have 5 domains with hover.com. I'm happy to pay a couple of bucks extra per year to know that there's real support. I can call and get an answer in 10 seconds.

Granted, I've never needed to call support, but losing my domain would be a huge disaster with no website, no email, and cost me hours of time. I see no reason to risk anything to save $5 a year
I've seen the exact opposite in the general media - when Fukushima was occurring people were buying iodized salt in North America out of panic (I was working at a drug store at the time, I watched it happen). If anything, when people think of nuclear power they only think of the accidents.
I don't mean to dogpile on CF here, but that same thing happened to me. I got my refund, but it put me off transferring my domain to them. Luckily it was a .net domain, so it was only ~$8x2 not $45x2 as in your case.
This is, supposedly, one of the top 4 global tech companies. Not some regional med-tech enterprise shop with a fleet of ageing WindowsNT servers. It is literally inexcusable.
Housing is a right.
You come across as completely dismissing the existing relationships between corporations and government (revolving door appointments, lobbying, being chosen to craft legislation, pre-drafted pro-business legislation ALEC, etc) and the role those relationships play in choosing the winners and losers in the market.

If in reality hard work was the only measure of whether or not a business will succeed then it would be fine to claim that this article is attempting to "donwplay the value of hard work". But that's not at all the reality of how systems interact in our quasi-capitalist country.

Anecdotally, numerous friends who are ideologically conservative lament the state of corporate influence over government regulation. They believe that a handing over of economic independence to our loving, caring government has already happened but it's a proxy for the corporations who have the most influence. Which removes the ability of the free market to choose the winners and losers.
ive been using njalla for some time now with good results. Not too keen on being told what nameservers i need to use, and they do an excellent job with privacy (PGP encrypted messages and bitcoin payment for example)

https://njal.la
>prevent bots/spam, abuse, etc.

Do they inspect the passwords too?
What about subcomponents? I.e. becoming a supplier for these industries? Can you bootstrap an actuator company?
I think you're being a tad dramatic if we are talking about uBlock Origin. If configured correctly, with the blocklists selected erring a bit on the conservative side, the benefits dramatically outweigh the drawbacks even for the most basic of users.

I am that expert for a very large number of non-expert users. I taught them how to troubleshoot it in case something goes wrong (worst case: click the button to disable it on this page). I've asked them about their experience. There was no breakage and no complaints whatsoever.

I would say it definitely passes the wife test.
Oh look it's the daily 'look how inadequate you are for not doing this unnecessary leet thing' post.
I didn't know that the materials weren't provided. How do they add a new system and not provide training materials?!?!
>Clueless environmentalists demonstating, skyrocketing costs for construction of new reactors, overregulation, fear of nuclear proliferation.

No shortage there.

Last week I just saw a bunch of kids camp out at our city hall to protest and demand the “New Green Deal” which proposed to eliminate plane travel and retrofit all buildings in the USA with renewable energy...

Good luck nuclear... uphill battle there.
> Sweden is a small country

It's about 1500 miles from one end to the other, and not exactly "dense".

Sure it's small compared with Russia or Canada, but it's larger than most.

Realistically anything upto about 500 miles shouldn't need flights -- that's 2-3 hours on a train.

Once you go over 1000 miles then train stops making sense, it's 5 or 6 hours compared with 2 on a plane. 5 hours might work for an evening meal/relax, departing say 4pm and hotel by 10pm. With decent wifi and power you could probably push it to 7 or 8 hours, so maybe 1500 miles if it was high speed all the way.

A sleeper train (which probably wouldn't be high speed) would work at about 1000 miles in 12 hours, leave at 9PM after dinner, getting you there for shower, breakfast, and a 9AM meeting. Would beat a 6AM flight (so up at 4:30)
Agreed. It's less about the possibility that the system can be exploited it always can), and more about the fact there are people out there actively wanting to exploit the system to serve their own ends.
Audi Q8 2019 – Dashboard Tech – Review
Drunk Americans Spent $39B Online Last Year
Way too many to list. Read the article itself, there are links and references.

Anti-free market thinking pervades academia, despite the fact that free markets have generated an unprecedented level of material wealth. Markets feed, cloth, and employ academics who haven't the faintest idea where the money comes from.

No one disputes the fact that monopolies capture an undue amount of wealth. But to launch a general attack on entrepreneurship is fatuous and offensive. I'm sitting here are my desk living that life right now, creating a product that, down the road, will indirectly make that smug academic wealthier. Maybe he should spend five minutes in the business world. He might learn something.
People scoff at companies that store passwords in plain text on purpose. Inadvertently logging them is not the same thing. And Facebook’s scale is why it’s understandable how it could happen.
"A thought experiment: how would an economy run solely on a Bitcoin-like currency behave? And how would it respond to business cycles?"

The same way money has existed for thousands of years but without the kick the can down the road of debt crushing future generations that has been a post WW2 global economic phenomenon?

When the currency collapses or a new currency is put forth, then you will know the power of Bitcoin.

"But MUH bitcoin hodlers who don't have electricity in Venezuela, what good did Bitcoin do them?"

Ask the ones who were 1) smart enough to hold Bitcoin 2) Left Venezuela if they preferred to leave with A) Cash B) Gold or C) Bitcoin when they left.
This would be my advice as well. If you're determined to throw away $13,500 on some blockchain-themed boondoggle, this is a better drain down which to tip it.

Past performance is no automatic guide to the future, but speculating on Bitcoin has often turned out pretty well. Sounds like speculating on the company you used to work for, by contrast, will have reliably turned out poorly.
> A thought experiment: how would an economy run solely on a Bitcoin-like currency behave? And how would it respond to business cycles?

Terribly.

Bitcoin is by design deflationary, which creates an incentive to maintain currency under the mattress. This is accentuated by the fact that bitcoin can't be used in fractional-reserve-banking.

This means that there is little accumulated capital available to borrow and invest.

It also means that any investment would need higher returns than the expected appreciation of a bitcoin, which might set a very high bar for investments, making raising capital nearly impossible.

Today, in most open economies, nobody controls the supply of money, it is increased and decreased dynamically by the market according to supply and demand and to maintain a certain level of risk on the banking system (with some adjustments from the central bank).
Thanks Sam for the reply, I've been otherwise happy with Cloudflare services for several years. The support with this issue was very helpful.
Literally where I saw it... Wynwood in Miami.
Some HN-ers would say "why dictate a 7-year old, let them watch what they find", then head to a YouTube kids thread and brag about only giving their kids 1990s style phones.
Yeah, in fact, up to FastAPI, my main stack was based on Flask with several plug-ins, and I created several project generators with all that.

FastAPI learned a lot from many of these tools and techniques.
Breaking a rule in chess to change behavior in life
I'm skeptical that they can turn their culture around, but I do think they do see damage to their reputation as an existential threat (either via users leaving the platform or via regulatory pressure.)
Oneplus preinstalled weather app doesn't work at all without access to my contacts and to device storage (media). I'm also more and more thinking about switching to Apple, and paying premium for no hardware advantage, only due to fact that Apple collects and sells less information about me. Not because it will change anything substantially but on principle.
It's an issue for the same reason storing passwords in plaintext in the database is an issue. Reading the hash != access to the account. Passwords should be private to everyone except the account owner. If devs have access to all user passwords then you have a fucking issue.
When we can start fining you for your mistakes, when developers can start getting fired for any mistakes immediately.

I don't care about Facebook, but storing user passwords is the plain is not "privacy violation" without the password they still have access to all your data. storing user passwords by logging it is stupid amateur security mistake.

I can understand if Facebook stored the password and used it to access your other accounts with permissions to invite users then sure fine em. But mistakes are mistakes, they owned up to it.
but there are also dozens of other cryptocurrencies which are drop-in replacements for Bitcoin.

I don't see any drop-in replacements. I can see your point if you meant sharing a codebase. However, if you look at it as if it were a business, brand & marketing count for a lot.
Systemd's nspawn support for OCI runtime has been merged
Well, you're still wrong. If someone wants a loan in BTC, they don't want your fake BTC.

Infinite blockchains argument is not valid. Blockchains need to be secure and you can't get billions worth of mining power or POS investments from thin air. Certain blockchains have value because of this security and also from network effects. Both of these effects favor existing blockchains, not new ones. Strongest get stronger.
It is neither a standard practice nor a best practice to give your devs access to your production auth databases.
People who hobby blog and don't expect to make money, nevertheless want to have some audience. They might be creating content for the benefit of a community.

However, discoverability has plunged because of changes in the way Google works, as I have found with blogs based on some of my special interests. Even when one searches for the exact words that appear in posts, Google might not show them at all! (DDG is often not much better.)

So, when people create detailed, useful content and find they are getting no visits at all, this is discouraging.
Yes indeed - I just found a different, primary source. Some people (unfairly, I feel) write off anything he says.

I saw a cool graph showing how much cell price would change if different material inputs price changed. Essentially, cobalt or lithium could double in price, and the cost of a battery pack for a car would only increase 5-10%. Can't find the exact graph, but this article has quite a lot of detailed info on battery price constituents. http://thedeepdive.ca/lithium-ion-battery-cells-cathodes-and...

edit: oo it actually has forecasts for cobalt production and demand showing demand for cobalt higher than supply by 2025. And forecasts that material costs are not likely to drop. And that manufacturers will work other angles of the price equation to get prices lower.
Kontena Pharos 2.3: multi-cluster pod network, cri-o on arm64
If you can find it for $15.18 without having to buy other services, that's a deal and you should take it. Most discounts like that are offered as loss leaders in the hopes that you'll buy other add-ons.
Quite a large list of TLDs, would be more helpful if somehow sorted by popularity too and showing which ones are not available.

https://www.cloudflare.com/tld-policies/
Because some developer typed:

> log.info(req.body)

and no one realized that login data would get captured?

Get real.
What's the current state of the art (i.e., lowest setup time and least maintenance) for downloading the entirety of Wikipedia and browsing it locally?
Please try. Even if you don't publish his stories, you'll be glad to have heard them later on. I was fortunate to have lived through that era and watched all the landings. Now, I try and find and read anything by those who were actually there: astronauts, flight directors, flight controllers, and government or contractor personnel. It is a fascinating and important era and it is worth documenting.
Geely has invested a lot into Volvo[1], and Volvo are innovating in interesting ways[2] . I would choose the electric Polestar 2 over a Tesla in the same price-bracket due to Volvo's culture of safety. Hopefully the cheaper versions will be released soon.

1. https://www.bloomberg.com/news/features/2018-05-24/volvo-is-...

2. https://arstechnica.com/cars/2019/02/volvo-spinoff-polestar-...
I've been eating cat poop every day for the past month, and I have not made any more money yet. Am I not eating enough?