skysight-inc/HackerNews huggingface dataset:
> Ask us anything, the Facebook team behind it is happy to answer questions here.

Just use the bot. Put it into action. Let the bot answer HN's questions
there are no easy solutions but there are straight-forward solutions. In the short term, have the state incentivize doctors to move through loan forgiveness programs.

In the middle and long term, incentivize people to move to urban areas, build more housing, and culturally stop glorifying suburban and rural life. (And stop supporting it by subsidizing single home ownership and so forth).
Yes, definitely a problem, specially in markets where there are only a small hand full of players. At my place, internet providers come to mind. They all suck immensely, but you know the competition is approximately equally shitty.
Honestly, they're only hard and nasty if you make them hard and nasty. A text link is as easy as <a href="">...</a>.

You can of course use React with 2 different libraries to achieve the same goal, but why would you do that.
In physics, a gallon of water weights 8.34 lbs. (For this analogy, a gallon of water is a unit of work.) And the gallon of water weighs 8.34 lbs irregardless if it is sitting on my desk in a physical building, or on your desk, in the cloud. Same weight, same unit of work. same effort. For a brand new, greenfield application, the cloud is a no brainer. I agree 100%. But for legacy applications, and there are so, soooo many, the cloud is just some one else's computer. Yes, the cloud is more scaleable, yes, the cloud is more manageable, and yes, you can control the cpu/storage/memory/network in much finer amounts. But legacy applications are very complicated. They have long tails, interconnections to other applications that cannot immediately be migrated to the cloud. I have migrated clients off of the cloud, back to on premise or to (co-lo) local hosting, because without rewriting the legacy application, the cloud costs are simply too great.

The essence of IT is to apply technology to solve a business problem. Otherwise, why would the business spend the money? The IT solution might be crazy/stupid/complex but if it works, many business simply adopt it and move on. Now, move that crazy/stupid/complex process to the cloud and surprise, it is very, very expensive. So, yes, the cloud is better, but only for some things. And until legacy applications are rewritten on-premise will exist.

One final insight. The cloud costs more. It has been engineered to be so, both from a profitability standpoint(Amazon is a for profit company) but also because the cloud has decomposed the infrastructure of IT into functional subcomponents, each of which cost money. When I was younger, the challenge for IT was explaining to management, the ROI of new servers, expanded networking, additional technology. We never quite got it right and often had it completely wrong. That was because we lacked the ability to account for/track and manage the actual costs of an on-premise operation. Accounting had one view, operations had another view and management had no idea really, why they were spending millions a year and could not get their business goals accomplished. The cloud changed all of that. You can do almost anything in the cloud, for a price. And I will humbly submit, that the cost of the cloud - minus the aforementioned profitability, is what on-premise organizations should have been spending all along. Anyone reading this and who has spent time in a legacy environment, knows that it is basically a futile exercise of keeping the plates spinning. On-premise failed because it could not get management to understand the value on in-house IT.

As I said, the costs are the same. A gallon of water weighs what it weighs regardless of location. It will be interesting to see, I predict the pendulum will swing back.
Please follow the rules of this site.
From June 30th, 2020:

"Apps that authenticate or set up user accounts must support Sign in with Apple if required by guideline 4.8 of the App Store Review Guidelines."
> JS is forced everywhere

I think this has a lot to do with it, interestingly. The web has become so ubiquitous, and the major players are so resourced, that the barrier to entry can seem really high. Maybe I'm wrong, but my perception is that potential customers wouldn't take a second glance at my sight if it were plain html with minimal CSS and didn't render perfectly on mobile.

> I am glad I don't do web GUIs

Same.
Using the latest features. Like -O4 -flto=4 cef retpoline and such.
But mostly it's the simple things, like the string library, which broke in 9. Only 50% of the added bugs fixed so far. They are moving too fast.
Long ago I read something on HN about encoding x264 without any keyframes at all, and instead there are equivalent blocks that are swept across the image over many frames. But I can't find that reference. Does anyone know what that technique is called and/or where to read more about it?
To be fair, haven't we all (eventually) learned to support environment configuration by messing it up in similar ways at some point?
Shower Caddy – Ideal Storage for All Bathroom Essentials – OrganizeMe
I'd rather pay for the app directly actually.
My last three employments have had me and my team build three different platforms with three different “providers”. Many lessons learned!

Chronological order:

1. E-commerce, low volume (1000-5000RPM), very high value conversions, highly localized trade.

We built an on-prem stack using hasicorp here.
This place had on-prem stuff already in place, the usual vendor driven crap - expensive hypervisor, expensive spoffy SAN, unreliable network.
Anyway, my platform team (4-5 guys) built a silo on commodity hardware to run the new version of this site.
This is a few years back, but the power you get from cheap hardware these days is astounding.
With 6 basic servers, in two DCs, stuffed with off the shelf SSDs we could run the site and dev teams no problem.
Much less downtime compared to the expensive hyperconverged blade crap we started on at basically no cost.
There’s a simplicity that wins out using actual network cables and 1u boxes... LXC is awesome btw!
Using “legacy” vmware, emc, hp etc for non-essential on-prem? Cloud is tempting!

2. Very high volume (Billions of requests per day), global network. AWS. Team tasked with improving on-demand scalability.
We implemented kubernetes on AWS and it really showed what it’s about! After 6-7 months of struggle with k8s < 1.12 things turned around when it hit 1.12-1.13-ish we got it to act how we wanted. Sort of, at least.
Cloud just a no brainer for this type of round-the-clock, elastic workload. You’d need many millions up-front to even begin building something matching “the cloud” here.
Lot of work spent tweaking cost though. At this scale cloud cost management is what you do.

3. Upstart dev-shop. No rpm outside dev (yet). Azure. About 30 devs building cool stuff.
Azure sucks as IaaS, they want you to PaaS that’s for sure. Cloud decision had been made already when I joined.
Do you need cloud for this? No. Are there benefits? Some. Do they outweigh the cost? Hardly.
In the end it will depend on how and where your product drives revenue.
We pay for a small local dev datacenter quarterly, which i find annoying.

Just some quick thoughts off the top of my head (on the phone so excuse everything).

Happy to discuss further!
Ask HN: How did you find what interests you?
Seek content-ness, not happiness. Happiness comes later.

In my early-twenties, I kept thinking that I always wanted happiness, and if I wasn't then something was wrong. I later realized that it was the pursuit of something that I could never attain that was draining and I realized that was the wrong path. I cannot attain perfection. So I decided to look for a better life-path that I could sustain, feel comfortable, and be content for long periods of time. Happiness comes later, naturally almost. It comes in small packets sometimes. Sometimes I don't even notice.

It's a concept that I read once in Ray Bradbury's Dandelion Wine, where the grandmother did not want to go into this box and see the world, because if she saw things she wanted but couldn't attain, she'd be unhappier than she currently was. This concept can be explained further with the parable of the fisherman and the businessman. I also think this is one of the ideas behind the movie "Mr. Holland's Opus", which took me years to understand.
"Find an excuse to win"

I had an attitude of quitting early or pausing on the first obstacle I faced. I used to think of it as "This is not my area of expertise" or "Let me wait for other person to confirm this" or "This is too hard, let me give myself some time" etc.

Unknowingly, I used to look out for excuses to no give my 100%.

Somewhere I read this quote, and that's where I realized the stark difference of mentality I had. From then on, it's really changed my life for good.
It might have the effect that people submit more at once, because the random selection will probably only return one or two anyway. So you don't need space them out manually anymore.
Every percentage drop in per capita GDP is associated with a loss in life expectancy.

The response to the coronavirus pandemic, of mandatory lockdowns of nearly the entire population, for several weeks, may prove to be one of the most egregious cases of self-inflicted social harm the world has ever seen.
We are just under $1M annual revenue, so not really making a lot of money, but not to bad either. Since we are bootstrapped, so no really pressure to grow exponentially. From very early days we had paying customers (just enough to support a lean team). Our major growth has come in the last 2 years, where our team size grew from <15 to >40.

So we are based in India so salaries tend not to inflate too much. We also pick raw talent and nurture them (and also pay above market), so it just about works!

Having said that, I think the market for products like ERPNext (our flagship) is huge, in the tens of billions. Looking at our current traction, we really hope we can make the product good enough for enterprises to switch to this. I see a huge potential revenue in support, assurance, consulting when it comes to it. So its a waiting game.
I assume people are meant to find the second question easier to answer? But I don’t know why. The first gives you some vital information for pulling this interaction off successfully. It tells you the speaker liked the movie (or hated it, depending on tone of voice), so you’d better think about how vehemently you want to disagree with them. The second sounds like a trap! If you say “boy, it sucked!” and the speaker loved it, they might not like that! It only works if you trust the speaker to be some kind of enlightened being who never gets offended. If I didn’t know the speaker well, I’d be tempted to give a really wishy-washy non-answer to the second question.
You can make a very lovely site with just HTML and CSS! CSS is extremely powerful by itself. As long as you don’t need any dynamic content or dynamic UI, you can likely avoid JS entirely :)
Django has been a joy to work with. As other's have mentioned, I'm a huge fan of their documentation. I think they do a great job of letting you quickly hop between Tutorial and Reference docs. Lots of links help me quickly dive into more detail when I need, then jump back out.
Cost. We currently pay less than €5000 monthly for 500TB/month in traffic and 50 Ryzen CPUs. Amazon would be $30,000 traffic + $100,000 compute.
The author of the piece seems to confuse robotics for industry automation and for academia and research. Most high-end research/service robots have some form of Deep Learning baked in to them, the vast majority of them being Computer Vision related object/feature detection & classification.

The purpose of the CV part might vary, but for mobile robots (delivery, drone etc) it is usually to enhance localization & mapping (SLAM)by detecting features in the environment. For static robots (arms, P&P) usually object detection for pick, and segmentation+classification for placing/stacking it correctly.

Covariant.ai, Osaro and other CV in robotics start ups are simply trying to sell this as a module to existing arms, to make then slightly more flexible.
This seems counterintuitive as it is the opposite of the programming ‘rule’: Tell, don’t ask.
At this point, China is gone for Facebook, for the same reasons Facebook dominates the rest of the world. WeChat has strong network effects, everyone is already on it, and Tencent has deep enough pockets that they don't have to worry about anything Facebook might do. WeChat is also much more integrated into daily life in Chaina than all of Facebook apps combined. So I am sure they have given up on China practically.
Is this a new main competitor to AWS Cloud9?
> Girls are fetching fursonas. Please wait warmly

Nice ref there.
This Month in Rust GameDev #9 – April 2020
Rationality is self-contradictory, and part of your own motivations will always be irrational.

As a consequence, at some level, you have to stop worrying about economic consequences of your actions on you. It is, in particular, rejection of utility maximization as a human motivator, because there has to be something more, something that cannot be measured.

And empirically, it seems that people who we recognize as creators or inventors have mostly not done the things they have done for pure economic profit, but they have been driven by something else, that cannot be explained in economic terms.

Also related to this is my earlier comment: https://news.ycombinator.com/item?id=22964404
> Seems like they've made a big political statement just by having a Taiwanese person on the oversight board

Are they? Or are you making to political statement, with this comment?

Not an attack, something to consider.
Show HN: Pastepal – your next favorite pasteboard manager for Mac
> The amount of content is going to explode by orders of magnitude and shared culture is basically going to die, with nearly zero chance another random person consumes the same content.

Why? I believe there's already so much content out there that this could easily happen today if the only question would be the raw amount. However if you ask people around the water cooler, instead of one guy watching joesmith34's Source Film Maker video on YouTube and another watching janedoe157's flash animation yesterday evening, everyone watched the latest episode of a popular Netflix series.
React by itself isn't difficult either. Anyone who has an hour or so to spare can go through the tutorial https://reactjs.org/tutorial/tutorial.html.

They need to rewrite it to use hooks at some point, but it's still a pretty good intro.
Recommended free software for the public sector
Review: System76 Lemur Pro
Absolutely! maybe it's one of those things you just have to mess up to understand why it's important.
Made by the amazing team at Timeless https://timeless.co/
What's the issue with Azure Storage? It seems to me like it's one of the azure cloud services that are the least painful to use - at least through the official SDKs
It's not obvious? Facebook has enough of your conversations to fingerprint your writing style. Now they can de-anonimize your reddit account and serve you even more personalized ads.
Except the minor detail that when you have low income and bills to pay, not only 3/4 isn't enough, the government doesn't have infinite amount of money for the whole country.
But does the dog have a buddha nature?
> That's enshrined in the United nations charter on human rights.

Good luck turning up at $country’s port of entry with that as your only immigration document.
I'm hoping that the result of this critique, whether the model is correct or not (which is beyond the scope of the critique), will push for better software writing in academia.

There's some discussion in the GH issues, too: https://github.com/mrc-ide/covid-sim/issues/165

I'm hoping it doesn't get hijacked and turns into a flamefest, which would distract from the main point.
It's probably time to retire Upton to the Internet Hall of Fame next to Betteridge.
Though he might handwave at this notion of "power imbalance", you and I both fully understand that this is not the core issue driving his philosophy. Someone making $120k a year can afford to hire a lobbyist in their state legislature. Should no one make $120k?

If there were no billionaires would the so called "power imbalance" be restored? Does someone with $900 million not have the power of someone with $1 billion? Of course not.

And money doesn't linearly equate with power. There are a number of powerful people in Washington, even unelected ones, who have no substantial fortune to their name yet wield far more power than say Jack Dorsey, Bill Ackman, or Marc Andreeson. If Piketty was truly against all concentrations of power, he would call himself a libertarian.

But Piketty is not against concentrations of power. The core idea behind Piketty's philosophy is a moral one. He believes that some people having a significant amount more than others is a moral failure in society, and must be corrected, even at an economic cost.
There is a lot of time spent waiting that can be used for learning, thinking or other useful activities. If we just spend a little time each day improving our lives, it adds up.
I saw them live in Montreal about 16 years ago now (I think, +/-) and Radioactivity was much more vibrant than on the album. I still replay it in my head once in a while.

They put circuitry to such good use.
This whole thread is great. It's amazing how many people seem to be gaining the same inner wisdom I've found, of disidentifying with the mind, yet feeling more whole with all of who I am in the moment.
If you redirect users, bad things can happen. If you consume third party dependencies, bad things can happen. If you handle sensitive or personally identifiable information, bad things can happen. If you are not aware of privacy protection laws, bad things can happen. If you configure S3 buckets, bad things can happen. If you deploy static assets, better exclude sensitive information like version control data or bad things can happen. If you construct database queries, bad things can happen. If you manipulate files, bad things can happen. If your site can be put in an iframe, bad things can happen... and the list goes on and on.
I forget where I got it from - a biography of an old professor I think

And the way he explained not holding on to things was "I had my turn being 19. I had my turn being 40. Now it's my turn to be 85". I did those things, nothing can change that -- I don't need to keep doing them lest I lose my worth or something.
Unfortunately there's still iframes, that don't play well with SameSite
Giving, without expecting something in return.

I used to be very calculating, if I do this, what will I get from person X, what will person Y think of me.

Now I just do, what I want. What I think and feel is right. And I give freely, of what I have. Sharing feels good.
Finland's basic income experiment: small employment effects
For business logic at a fairly large school the free and open tools that make the cloud so productive get used here a lot. We get to leverage commodity hardware and network infra very effectively for on-premises[1].

You have to have a good recovery plan for when equipment X’s power supply fails but when deploy is all automated, it’s very easy to overcome swapping bare metal, and easy to drill (practice) during off hours.

This makes it much easier to meet regulatory compliance: either statutory or regulations your org has created internally (e.g. financial controls in-org, working with vulnerable people or children, working with controlled substances, working with sensitive intellectual property.)

Simply being able to say you can pull the plug on something and do forensic analysis of the storage on a device is an important thing to say to stakeholders (carers, carers families, pupil parents.)

I’m so grateful to be living in the modern age when “cloud” software exists[2], but I don’t have to be in the cloud to use it.

The downside: you need trained staff and it’s completely inappropriate if you need any kind of bandwidth, power consumption, or to support round the clock business (which we do not because, out here on the long tail, we work in single city so still have things like evenings weekends and holidays for maintenance!)

—
[1] Premise vs premises is one of those “oh isn’t the English language awful” distinctions. Premise is the logical foundation for some other theory (“the premises for my laziness is that because the sky is grey it will probably rain so I’m not going to paint the house”) where as the premise_s_ means physical real estate property (“this is my freshly painted house: I welcome you onto the premises”.)

[2] Ansible, Ubiquiti, arm SBCs like raspberry pi, Docker, LXC, IPv6 (making global routing for more tractable, IPv4 for the public and as an endpoint to get on the VPN.)
> If we’re using concurrency, that means multiple threads of execution may be mutating the same cell, which requires synchronization — locks, atomics, etc. That much synchronization is the death knell of performance.

You can do this without synchronization by exploiting the fact that all "lanes" of a SIMD vector execute simultaneously, e.g. by doing vector scatters "to the left" and then "to the right" those writes will not race with each other, and don't require locks or atomics.

Whether pull or push is faster heavily depends on the algorithm - there is no silver bullet here. To write efficient parallel algorithms you need to know how to do both.

The author only appears to know how to do pull (if that's wrong, they didn't really do push any justice in the article), so from their POV push just doesn't work.

The article does show something very important though: pull does give you reasonable performance and is quite easy to reason about and get right. In contrast, push is quite hard due to the write-write data-races the author mentions, so I don't blame the author from arriving at their conclusion that one should always do pull. It might not always be true, but it is definitely a safe place to start, particularly if you aren't super familiar with the algorithm yet and don't know how or if push would work well.

For example, many of the convolutions that neural networks use are actually implemented using the "push" approach because that's more efficient, and they are quite similar to what the blog post author is doing.
I have a quite good setup, in general.

Unfortunately this is some external requirement I cannot do anything about. Also, as opposed to many people, I actually got to work and know both the IDE-world (including VScode), and the vim world. I have a base for comparison.

Hopefully you "got that" too.
There are no adults in the room (https://letterstoanewdeveloper.com/2019/08/12/there-are-no-a...)

During my career I was always looking for some senior developer to guide me in my work. I was hoping someone has figured everything out and could tell me whether my solutions where good or bad. It frustrated me that most of them did not really have a clue and could not help me. I blamed it to my company which would not invest the money to hire really good senior developers and switched employers. I hoped to find better learning opportunities there (which I thought meant better guiding). But it was the same everywhere: The people who I thought had everything figured out seemed to be just as clueless as me.

It took me some time to realize this is the norm. There is no one who has the perfect understanding of everything. There is a lot of uncertainty to any solution you try out. Accepting the uncertainty and acting accordingly is the true meaning of "seniority".
> With things like game programming the worst that can happen is your game is slow or buggy or laggy but usually you’re not exposing it to the huge, often malicious audience

Not my domain of expertise, but cheating and lags in online real-time games (like FPS games) can ruin a game quickly. Also, in-game shops, currency, micro-transactions probably are targets for crackers and exploiters.
Cathode-ray tube amusement device