skysight-inc/HackerNews huggingface dataset:
I find this problem more puzzling: when an app (e.g messenger) only has access to certain photos on my device, why can’t the image selector when I want to attach an image still browse all of them?

Isn’t the image selector an OS component that shows me all my photos without the app seeing them (that is, the app isn’t rendering them)?

If this isn’t the case - why isn’t it? Is there no iOS system level image picker that runs isolated from the app? Or is there, but apps aren’t using it?
I mean, they don't have a leg to stand on, France that is. The UK supply chain started yield infrastructure build out in q1 2020 as paid for exclusively by the UK at the behest of the Jenner institute.

French politics is transference and blame to deflect blame from the leadership. Currently they promised 10m by end of march in total vaccinated. But in seeing that wouldn't be possible they jumped at the chance to stop issuing it so they can lean on that excuse
or not much need for cars at all
I have been in the position of having spent hours to figure it out myself. And I believe I’ve learned more in the process.
Because the standards you’re building against are arbitrary and just made up by other people. I can make a browser that crashes when it encounters a <div> tag. It’s a shitty browser. Will you feel bad when your stuff won’t work on it?
I think you may be over-exaggerating the difficulty of doing this. Companies both insource and outsource things pretty frequently. For example it's common for tech firms to insource catering. Building restaurants is not a core competency, yet they are perfectly able to do it and haven't suffered any great distraction from doing so.

In practice one company acquiring another, or even just poaching some employees, is a common thing that happens so frequently we take it for granted. When Apple acquired PA Semi nobody batted an eyelid even though they were in-sourcing something as complex and difficult as CPU design. And there are many examples outside of the computing industry too.

With developer tools specifically, the alternative to buying the product is often "We'll have a team of engineers spend a quarter or two building something that is specific to our needs"

If it takes a small team of engineers only six months to roll their own version of your product, that's what I meant by the value proposition being quite thin (or your price being too high). Also, most companies outside of very rich tech firms will not actually staff up an entire project just to clone a tool they could acquire off the shelf, unless that really is the only reasonable path forward e.g. their needs genuinely are unique.

Now, in computing we do have the issue that the prevalence of VC money, and indifference of VCs to whether it's being well spent, has created a large population of "very rich tech firms" with lots of apparently bored engineers working at them. So they spend a lot of time churning out open source frameworks that they maintain for a few years and then abandon, even when they could have used something else. That's rather unique to software but I don't think it's something inherent to developers as a type of person. Rather, it's inherent to a market where money is free and firms compare themselves to each other by the sheer size of their engineering teams. Outside of the Valley that problem mostly goes away.
> You are in no position whatsoever to make determination as to what incentives drive the recruiter's business.

My god, how patronising.

My view on his comes from speaking to several hundred recruiters and owners of recruitment agencies as part of research for a product targeted at those businesses.

I also have close friends who worked or have worked in that industry and we have had very frank conversations about what their incentives are.

Maybe they all lied to me, but none of them wanted to put anybody forward for an interview who would make them look incompetent.

Their ideal flow for a deal was as follows:

- Receive brief from client.

- Find about 3 good candidates and get them booked for interviews. Could be more or less, depending on the role.

- Interviews take place and the client considers all candidates to be at least somewhat suitable, but decides to pull the trigger on one of them.

- The recruiter manages the candidate's salary expectations within a range based on their experience of placing other people in similar positions so that the deal gets done. Generally this means that they will try to get it closed within one or at most two offer-counteroffer loops. That may mean disabusing candidates of unrealistic salary expectations. It may also mean convincing clients to increase the previously agreed salary range to accommodate a candidate who is significantly more attractive than the average.

- The recruiter receives a placement fee equivalent to a percentage of yearly salary in most cases.

This does not mean that individual recruiters or agencies may not have other incentives. I know that sometimes interviews of external candidates are a procedural requirement and are conducted just for show so that a preferred internal candidate may be offered the position.

But in general, I am quite sure that the above is a reasonably accurate account of what the usual incentives are.
Right, which was exactly what was described in the grandparent comment
The laws of supply and demand only work that way if supply is limited, which is very often not the case. A lot of production benefits from economies of scale, where fixed overheads are dwarfed by unit costs. In such cases, decreased demand results in reduced production, which results in the loss of economies of scale as production overheads remain the same or similar, thereby increasing in magnitude relative to unit costs.

Maybe it costs ten gajillion dollars to produce one litre of petrol, but twenty gajillion dollars to produce one bazillion litres of petrol.
Zero serious cases?

No symptoms worse than the average flu?

If both points are true, Elon Musk made the right move. Wouldn't you agree?
> On the other hand, he did it for fun

This might be an argument for him to console himself (or just keep smiling) in the event that he received nothing. It isn't a valid consideration for Rockstar, which should take heed of the calculus you stated with your first hand only, because for the beneficiary of a windfall, karma awaits.
Encountering Thomas Sowell
Science Goes Rogue
And where would you draw the line where you need to invest in at least a single devops engineer?
I believe they fallback on SMS OTP
Ask HN: Practice (As Software Developer)
Good morning,
I ask you this question which is very subjective: in your free time what are your learning techniques or ways of approaching to improve your skills as a developer?
For example, in this period I have two objectives (which can also change with time) based on which topic I believe has gaps:
1) learn a framework (example: React)
solution: Katas development with incremental difficulty
2) improve my speed skills in understanding code not written by me:
solution: I take a project from github, I reverse engineer and try to extrapolate the application flow
Also, I ask you: what keeps you motivated to delve into certain topics and how do you stay motivated?
If you have any links to articles to suggest about the topic, so be it ...
U-boat is a synonym for submarine (literally - "undersea boat").
I found LeetCode difficult too. Some things that I found helpful:

1) The book How to Design Programs. Its main point: the shape of data determines the shape of functions. Northeastern University has a good course on this principle. There are several types of data, such as atomic values, constrained values, lists, and the functions for dealing with them follow the "shape" of how the data were defined.

Recursion can also follow this pattern because data can be defined recursively, such as with binary trees and linked lists. Obviously, recursion is not limited to recursively defined data, but it helps to see the relationship between functions/methods and the data they operate on.

The book and the course also discuss how to abstract general patterns from concrete instances, such as "filter", "map" and "fold".

2) Once I saw that function "structure" can follow the structure of data, I looked at the structure of functions that operate on graphs, trees, arrays, greedy problems, dynamic programming problems. There is usually a structure involved.

To get at the structure, I abstracted the details to get at the "elements" of the function and the data it operates on.

Here's one pattern:
for each element of data input
do something with that element

Basically all algorithms follow this pattern. Replace "do something" with a transformation, a summation, a "map", filter, fold, etc. Replace data input with tree, graph, array, etc.

3) For dynamic programming, I studied the approach used in "Optimization" courses, often taught in the context of business. In that context, DP is not taught as "finding the subproblem", but as a multistage decision process. I found this very helpful.

Lastly, even though receiving material rewards is nice, re-framing motivation towards contribution rather than receiving can mitigate disappointment in any endeavor in life.
> User, process, and filesystem namespacing. System call filtering. Ensuring even if there is a remote exec exploit there is no bash or anything else in the container for an attacker to use.

All of these are supported by systemd out of the box. You can use `SystemCallFilter=...`, and various options to restrict the file system (like `ProtectHome` and `ProtectSystem`) plus tons of other linux kernel features (capabilities, no new privileges).
Facebook Agrees to Pay for Murdoch’s Australia News Content
Not sure where the 69 figure comes from. Top post has more info:

> As a back of the envelope calculation, if you covered the ~2.44 m2 roof of a VW ID3 with solar panels you'd probably see somewhere in the region of 244 kWh / year (based on typical UK solar panel generation per year - this would be more in a sunny place). At 4.3 miles/kWh that gives you just over 1000 miles / year of self charged driving.

The 4.3 is pretty optimistic, most cars are rated around 3 miles per kwh, but I digress. Optimistically it'd mean 1000 miles per year or 19 miles per week, or 2.7 miles per day.

I'd say firstly, this is already a niche category. The average car drives 30 miles a day, or more than 10x what this would charge under optimistic mileage.

Second, the extra weight would likely make this comparison even worse.

Third, not really cost-efficient, either, to install a complete solar system for every 2.5 metres. Much of the cost isn't in the panels but in the system around it.

Fourth, I doubt even the 69 mile a week category of people will still mostly have personal cars within 5-10 years. The flexible car rental market is taking off. In Amsterdam for example there's now about 100 thousand users of Sharenow alone, one of the multiple car rental providers, on a population of about 800 thousand people. Anyone who drives 69 miles a week or 10 miles a day, is typically better off renting. At a speed of 20 miles per hour you're looking at 30 minutes or 6 euros per day for your complete car usage costs, i.e. 180 a month. That's less than most cars (300-400 a month) cost in insurance, deprecation, taxes, fuel and parking in Europe. These companies are expanding sufficiently to allow most people in this low-usage group to do away with a personal car within 5 years I think. By the time these solarpanel cars could even start coming online, it's likely that most cars will have increased usage rates and that these solar panels won't even power a few percent of the mileage.
iPhone will soon ship with government-approved apps preinstalled in Russia
Stripe just became Silicon Valley’s most precious gem
Maybe, but I think way more things would turn into web services instead of offline apps, and that that's where most of the resources would go. Subscriptions everywhere, and slow all-code-on-server interfaces. And there would be draconian contracts to try and prevent developers from walking out the door with the source code.
On the Insecurity of ES&S Voting Machines’ Hash Code
In the US, most cell phone users are on unlimited voice/text plans. There is no cost to most consumers for sending and receiving SMS in the US. Also, the Line / What's App / WeChat equivalent in the US is Facebook Messenger. That is how sms has won.
This is so satisfying to watch!
Golang apps are super easy to dockerize (if you ever decide you need to do that). I build and deploy go apps to ECS Fargate with a simple Makefile and vim. And using Alpine means the final product is only a few megs larger than my go binary.

I'm often criticized (by the young devs) for not having an automated pipeline with a lot of bells and whistles, but honestly, the Makefile is all I need.

I do agree with the general concept of over-engineering. One of my former CTO's called it technological self-pleasure and ultimately a distraction.
If Musk made all his staff and suppliers drive without a seatbelt and nobody was seriously injured a month later, would you start advocating for this as national policy too?
Now compare that to the amount of people who died due to not receiving antibiotic treatment in time.

Splitting hairs to point out exceptions doesn't change the rule.
A big irony is how America got a salt monopoly, while China has just scrapped its own.

I believed China was the one, and only country in the world still left with a salt tax, and a salt monopoly.
As the saying (and the song) goes: You can't con an honest John. The mark thought he was the one taking advantage of Elon Musk and his looney marketing scheme, that he would be getting something for nothing. This opportunity was obviously so good it couldn't possibly last, so he'd better hurry take it, or the sucker Musk would wise up.
I cannot for my life find it now, but I saw a documentary on YouTube or similar a couple of years ago. It was oldish, from the 1960s or 1970s about the restoration of a historical farm in what I believe was a national park in the US. The farm house was build from planks and not logs as this house and the carpenters did it all from scratch. A very soothing film, as documentaries from that time often is.
Well, turning a static binary into a docker image is basically just adding some metadata on how to run it. Whereas turning an image into a static binary is much harder, so it makes sense the world standarized on the more flexible format.
> Because with Nuclear you are providing true cost which includes everything from insurance to decomission.

All of these, including decomission, are part of the LCOE formula, just as they are for renewables or coal or gas: https://wikimedia.org/api/rest_v1/media/math/render/svg/e049...
A bit fucking rich from France.

This is the classic EU attitude of absolute overwhelming entitlement.

They will never EVER admit that they fucked up.
One minute they're suspending use of AstraZeneca, the next they're complaining they aren't getting enough deliveries of the vaccine they don't want to use.
In-kernel WireGuard is on its way to FreeBSD and the pfSense router
What’s Behind Match Day’s Algorithm?
Sounds like an urban planning problem.

I can find half a dozen car sharing vehicles in a 400m radius from my house.
Cheap wireless patches revolutionise patient monitoring – RR,O2sat,HR,TPR,ECG
Capitalism in action.

It's not because of too much regulation that many of these monopolies exist. (That's not to say there aren't industries where this isn't the case.)
I think dicounting for corruption, the material/monetary amount is a very good proxy for value. So I would say the average ceo yes, but companies relying on government spending (Palantir I’m looking at you) maybe not
Sort of unrelated, but I've found great tabletop rpgs like Fate Core to be amazing for improv+dice. With the right group it's amazing fun.
How many kilometres per week they take? 0.05 increase in drag coefficient can alone eat the energy equivalent of 50km in a week.
Go's err != nil has nothing to do with types though. It's just its own quirky convention.

Python could similarly declare that exceptions are only for dead-end panics, and all error handling should be done by returning 2-element tuples.
From what I understand, the EU has done poorly in the both in the negotiations and actually provisioning vaccines and it's not strictly an issue with leadership in any particular country. Beyond delegating their responsibility of course.
How are you measuring wealth? Global debt is nearly 4 times global GDP
This is why I switched over to a VOIP number instead. SMS works everywhere I have internet, and if I have to I just pick up a data-only sim card for wherever I am. Can even check my messages online. Probably not as secure, and wouldn't work well if I was regularly calling people, but for the most part it works fine and costs $1 a month.
I was expecting the sqlite comment ;-) still : you need to handle migrations, you may very well have other dependencies on external APIs or services ...
Don't underestimate the efficiency of old-fashioned sodium lamps, they're pretty close to that of LEDs from what I understand. I think part of the reason places are so keen to install LED streetlights is that on paper they have a much longer lifespan than the bulbs in the sodium lamps they're replacing. Also, they're more modern and everyone knows how efficient they are.
He addressed that in a follow up post.
https://sebastianrushworth.com/2020/09/28/herd-immunity-with...

Sweden didn't have overloaded hospitals, used standard pandemic guidelines (i.e. before everyone shit their pants and went full authoritarian, based on "Chinas did it" as opposed to any kind of evidence based approach). A year on and Sweden are no worse off than the average European country, so we should be asking ourselves if lockdwon was a sensible option. Sadly many people are cheering them on without any evidence to suggest they had a meaningful effect.

"But, worse than the surrounding countries" you say. Finland and Norway had minimal lock downs and no mask mandates. Also Sweden always has 5 times the number of flu deaths per capita compared to Finland on a normal year, for whatever reason.
I'll do you one better. I don't think we've started on AI yet. What we have at the moment is some basic black box decision engines and work data scientists could have done 20 years ago if they'd been given the same budgets.

Artificial neural nets might form one small component of the AIs of the coming years and they will always be useful research tools but they are not the be-all and end-all of AI.
Oracle is doing a good job adding features to Java to keep up with modern languages, but it’s not just about adding — some things need to be removed or changed.

By way of example:

Final classes by default with an open keyword instead of open by default with a final keyword. Inheritance is a very tricky thing to get right and it’s better to explicitly say “I thought about this and put in the effort to make it work”.

Checked exceptions are a contentious topic and I’m not sure which choice I prefer, but Kotlin chose to remove that, and it has an impact on style.
Faucci isn't credible.

Seriously though, instead of such a useless comment, why don't you address the issues with what he has said in his blog. He writes clearly and follows the scientific method better than anyone suggesting masks will help. Yes he predicted herd immunity and got it wrong. Neil Ferguson's models predicted nearly ten times as many deaths for Sweden yet his predictions are still used for pressuring into pointless lockdowns. He is still doubling down despite being proven wrong.
How to Generate Conditional Image via MixNMatch
Most of those houses existed when the rate was high
> "using the right software (and using the software right)"

This is a great phrase that I'm going to use more.
How to build a content recommendation engine with Snowplow
The EU was super happy on the negociations on the vaccine prices with AstraZeneca. They claimed that the grouped buy was a major reason why they were able to get such a cheap price (Around $2.15 / dose). The US and UK pays around $3 to $4 / dose.

To compare, South Africa seems to be paying $5.25 to AstraZeneca. Pfizer vaccine costs $14.70/dose and Moderna $18. You can see why the EU is so dependent on AstraZeneca. It's all about injecting the cheapest vaccine as fast as possible.

Basically, the EU got a super heavy discount on the vaccine price. This also mean that they are last on the line for deliveries. In times of hardship, any sensible business will satisfy clients who pay a significant premium for their product before delivering the noisy client that negociates super harshly and can't stop complaining about your product.

Ursula von der Leyen needs to look herself in the mirror for the supposed "vaccine delivery issues". She willingly looked for the cheapest provider. When you imperatively need a product to be delivered and to work, you pay a premium for it, you don't look to reduce your costs as much as possible.
I had looked at these emails when they leaked.
To be clear: If you'd offer me one of those mRNA vaccines like right now I wouldn't hesitate for a second and take it.

But I do think this raises some questions around transparency. If the EMA has concerns about the production of these vaccines then I think this is something that should be discussed in public - so the scientific community can weight in and review this issue. If the EMA thinks that this is a solved issue - which the emails imply is what they thought before they authorized the vaccine - then that's what they should communicate.
Which troubles that you had before did turn out fixed with Silverblue for you?
The examples, specifically, are extremely helpful!
I meant it's fine to take calculated risks.

E. g. we have less than 1% chance per year that a given person leaves us on bad terms or suffers a bad accident or illness. In case it really happens, it will cost us X in delays and extra work. To lower the probability of this risk to Y% would cost us Z (money, delay, etc).

If you do this math, you can tell if it's a good idea to optimize here, or if you have more pressing issues.

In my experience, this sort of one-man jobs gets automated or at least well described and checked for fear of mistakes and/or employee fraud rather than "downtime".
The point of that line of reasoning is not that drugs should all be legal; rather, it is that the current laws are not based on health (and the assumption is that it should be). Drugs that pose some of the most serious health risks, alcohol and tobacco, are legal and can be purchased without consulting a doctor, even by people who are killing themselves with their habit. Drugs that pose less of a health risk like marijuana or psychedelic mushrooms are completely banned. Moreover, illegal drugs, like illegal alcohol, have unknown doses and may have unknown impurities, or may even be a different drug than what the seller claimed.

Anyone who knows the history of the war on drugs knows that public health is a cover story. The first drug laws in the USA were bans on cocaine and heroin, and the arguments presented to Congress and the general public were overtly racist. It was said that cocaine turned black men into murderous demons who could not be stopped even after being shot in the heart. Heroin, besides being made by a German company, was also said to be popular among Asian immigrants who were bringing their awful habits here. Then marijuana was banned, because, according to the testimony given to Congress, it fueled jazz music and caused white women to want to have sex with black men, and Mexicans were using it to corrupt the white youth. Drug enforcement has always disproportionately targeted black people.