skysight-inc/HackerNews huggingface dataset:
That's step one, 'how to write a basic Earthfile that just does the thing', so they don't delve into the details of caching and how it works, but look at the whole block and not just that one line; it operates like a Dockerfile:

build:
COPY build.gradle ./
COPY src src
RUN gradle build
RUN gradle install
SAVE ARTIFACT build/install/java-example/bin /bin
SAVE ARTIFACT build/install/java-example/lib /lib

The COPY phases copy files into the build context. If the files haven't changed, then the commands don't need to be run. In other words, if `build.gradle` and `src` are unchanged, it won't run `gradle build` or `gradle install`, and it'll just give you the artifacts from the previous build.

They have a golang example in part three[0], which they redesign to use caching effectively:

build:
# Download deps before copying code.
COPY go.mod go.sum .
RUN go mod download
# Copy and build code.
COPY main.go .
RUN go build -o output/example main.go
SAVE ARTIFACT output/example AS LOCAL local-output/go-example

They copy in go.mod and go.sum and then run `go mod download`. If the mod and sum files haven't changed, then `go mod download` doesn't need to be run.

Then they copy `main.go` in, and run `go build`. If the `main.go` file hasn't changed, `go build` doesn't need to be run.

[0] https://docs.earthly.dev/basics/part-3-adding-dependencies-w...
This was basically my feeling when doing my PhD - there is energy everywhere and if we make systems power efficient enough there is no real reason we can’t make significantly great use of that energy.

That being said, it’s not the energy per se that we can tap into, it’s the gradient created as it dissipates/moves that we tap into. Heat is great, but not if it’s uniform, solar is great, but not if it harvesting it casts an area in shadow that needs it, vibration is great so long as it doesn’t damp and further load the system it’s being taken from.
Please also give the things you did not find inspiring but did find useful after trying them out. I think one of the flaws of modern management is that it often ends up being about the feelings of managers. I'd expect there to be significant negative correlation between the things that feel inspiring upon reading versus those that are practically helpful to the work and the people being managed.
> There are scenarios where the $ number goes negative

Show me legitimate scenario where this is true.
I think I get it. Applying lateral or novel thinking to a problem unfamiliar...
In my part of the US, it's ubiquitous. I don't think there's a major grocery store around here that doesn't sell bricks of it. But it all appears to be manufactured locally, so perhaps the shipping regulations aren't so impactful here.
I had been thinking about this for sometime but now it is time to switch to an alternative game engine. Thank you Unity for helping making my mind up.
If you had to, you could go from typescript to JavaScript overnight in a large project, whereas no similar escape hatch exists for C#.

As for the frontend, you have to have so JavaScript somewhere, it’s unavoidable, so typescript is just a way to make the inevitable more palatable.
If you ask me, its not just 'management' that is the issue, but the nature of 'executive', itself, in the order of things.

Like, what does it mean, to execute? To manage? What's the difference between the two things, and why do we have the layer/abstraction?

Its somewhat akin to the differences/identities/similarities of the "Product Manager" versus "Project Manager" conundrum/befuddlement. Does anyone really produce if they can't project? Can you project without actually producing a product? Do you have an issue with the fact that, as a project manager, you must indeed project? Are you aware that the word issue doesn't just mean problem, but is also rather a benign statement of fact, and a verb as well as a noun...

These fuzzy boundaries are ripe for misgivings and, in my humble opinion, an exceptional source of contemporary misanthropy across the classes.

Just getting these differences right, like absolutely tweaked, for your company, can make all the difference in the world. But yet, time and again .. too much be, not enough do ..
100% Websites that accept complex media from users really are stupid. It’s bad enough sanitizing other input, but the added costs with transcoding and storing user content, all the meanwhile exposing unnecessary risk to processes. I’d just pipe the media upload to Cloudflare and have them deal with it
My personal favorite is that we failed to make the transition to nuclear power
She is now, but was infected with the virus before she got the vaccine. The vaccine was available but unfortunately she was hesitant about getting it due to all of the noise online and in the news. She was vaccinated about 4mo after being infected and had already been experiencing Long Covid symptoms.
Agreed, showing things on a non-log scale seems to skew it significantly.
By a logo. Same as for any other type of cable.
It's the developer's fault that they didn't magically guess what Unity's terms were going to be in the future? Be serious.

This is absolutely Unity's fault. If you buy a car to use Uber, and then half a year later Uber decides that your brand of car is no longer eligible to drive or that it needs to use a different fee structure, then it is Uber's fault that you are losing money.

If you launch an ad-supported game in 2020 under a revenue share and in 2023 Unity decides that it's bored of revenue shares and it wants you to start paying per install, it is Unity's fault that you are losing money. There just is no way to spin it otherwise. Are you seriously trying to blame developers right now for not being psychic?

I guarantee 100% that if we were having a conversation about Unity a year ago and someone said "I don't know if I should use Unity because what if they charge for installs in the future" you would have been making fun of that developer for having that concern. I promise you that a year ago you would not have predicted this change and you would have dismissed concerns about a theoretical structural change away from revenue shares as fearmongering.

> If I buy a Porsche in order to do Uber, it's not Uber's fault that I'm going to lose money.

Also once again, Unity's pricing model is not a natural consequence of the laws of physics. It's made up, Unity made it. The reason you'll lose money driving a porche for Uber is because the car will physically degrade, not because a bunch of board members at Uber got together and thought, "how can we extract more revenue from porsche owners?" Unity's revenue model is not the natural result of entropy, they decided to make it what it is.
> ...reasonable is not any defense, not for...

...any case where the lawyer knows there could be Deep Pockets in play. Quite true. And there is a wide gulf between "X would be a reasonable engineering and regulatory standard", and "X is the current standard".

OTOH...

> Example: a truck stops in front of the autodriving car, too quickly for it to stop in time. It knows this; it understands its vehicle handling to many decimal places ... a likely-fatal accident ...

This is not a "well-understood traffic situation", and it may not be physically possible without a crazy assumption or few. The autodriving car has brakes, a crumple zone in front, air bags, etc. Cars generally have much shorter braking distances than trucks, and the autodriving car presumably has quick reactions. Was the autodriving car blindly approaching the truck at already-lethal (even if the truck had not stopped) speeds? Is the truck loaded with high-sensitivity explosives, that a fairly minor collision will set off?
Interesting... I primarily use a virtual phone number because I don't want to give out my real phone number though; it's easier to cancel and replace a virtual one. (Although maybe not - at this point it's tied to so many services I would probably lose access to something permanently if I canceled it...)
> Nice page, but it doesn't seem to try very hard to create a framework to answer the question it asks. It ends with a Hayak quote which is interesting, even though it's taken out of context.

My assumption has been this page is part of a two-part propaganda trick: the first part is to use all these charts to raise a question, the second part is to provide a oversimple but satisfying propaganda-answer (either a return to the gold standard or cryptocurrency).

The second part may be meant to be an exercise for the reader (e.g. raise the question, and then prime them to search for the answer in a way that will lead them to material advocating the oversimple but satisfying propaganda-answer).

The stereotypical form of propaganda (yelling an answer forcefully at your face) isn't very effective because it's obvious and elicits resistance, so actually-effective propaganda has to have a trick to disarm that response.
Yes, that's used to dismiss the significance of some of the asserted trends. But it also agrees that inflation really did go up:

>>The change in the trade deficit (graphs 15 & 16) may be linked to the end of Bretton Woods indirectly. The end of the system created floating exchange rates. That allowed every nation to determine it's own monetary policy fully. When that happened many Central Banks behaved badly causing high inflation. The US stopped it's high inflation in the 1980s.

And other real phenomena account for other trends c. 1971:

>>Graph 3 is tricky. It shows how Real GDP per capita has moved away from real GDP per employee. The main reason for that is the introduction of women to the workplace.

And it also agrees that some of the trends did happen, meriting investigation, but 1971 wasn't the inflection point:

>>Take a look at graphs on inequality. Here I'm looking mostly at graphs 1, 6, 8, 9, 10. Notice that the inflection point isn't actually 1971. It's usually some time in the early 80s. Greater inequality between high income earners and everyone else started around then. It's a matter of debate why. A lot of economists believe it's because the modern developed economies rewards high skills more than they did in the past. Notice that the very first graph is misleading because it doesn't use total compensation.

I have a hard time characterizing any of that as a "freshman statistics error".
The distinction is that Caddy is the only webserver* that enables HTTPS by default. All others don't attempt to enable HTTPS by default, they start with HTTP and you need to add config to make it use HTTPS. Nor do they enable ACME by default. With Caddy you only need to tell it your domain name and it'll do the rest.

* popular webserver anyway; we can't reasonably count yours with only 6 github stars that we've never heard of :P
Where were you when I was wrapping up my dissertation? I’ve been in start ups ever since pretty much but not in that area sadly.
Criminals Are Allegedly Using Apple AirTags to Track Illegal Weapons
Packages containing rifle parts hidden inside George Foreman Grills also contained Apple’s dime-sized location tracker, investigators say.
What's super crappy about this is all the plugins, I've invested mega money in c# Unity specific asset store assets and now switching platforms is extra painful, vendor lock-in and all that. Foolish me.
Funnily enough, better than the previous world record holder.
https://www.usb.org/document-library/usb4r-specification-v20

I wish it was a joke.
What happened? Are you kidding? or just a kid?

https://www.history.com/topics/vietnam-war/vietnam-war-timel...

..
And people wonder why the pentagon enforced user to run browsers in a VM or print out websites to read as flattened pdfs
If your application can be used to make outbound requests to the internet (and so many apps can be), you can easily make a GET against localhost. There are ways to lock that down, but they aren’t automatic.
"The US" doesn't have power outages. Even most states don't have power outages. But yes, there are some poorly run places in the US.
Which Static Site Generator Builds Markdown the Fastest?
This isn't gradual typing? If libraries are not compiled with the compiler option, then all their reference types will be deemed nullable and I need to check for null before dereferencing. I can't do something like "GetItem().Name" if "GetItem()" returns a reference type like I could in Java, GoLang, JS, etc. If that library did use the flag and was provably non-nullable, then I could.
> Has the wages not been stagnating

Yes and no. A larger share of wages have been diverted to non-wage income, like health insurance especially in the US. There's also increased inequality and issues with trying to measure wages over several decades as the typical household changes -- see "where has all the income gone" [1]

> has house prices not been creeping up

Sure, but this is a separate topic. The dates line up by coincidence. There's a long history of urbanism (zoning, suburbanization, etc.) and migration (immingration and rural -> urban migration) as well as atomizing households (fewer nuclear families meaning need more housing units) that led to this.

The point is 1971 is nonsense even if a lot of the trends over 3-5 decades make sense, but for disparate explanations. And any topic has 2-5 separate subtopics that matter (eg. income is tied to healthcare costs, inequality of capital gains vs labor income gains, etc.)

1. https://www.minneapolisfed.org/article/2008/where-has-all-th...
Because google is shit.
see https://yalebooks.yale.edu/book/9780300164817/vampires-buria...
The submission URL currently points at

"Blood Transfusion and Brain Amyloidosis: Should We Be Worried?"
https://jamanetwork.com/journals/jama/article-abstract/28094...

But, based on the submission title, I suspect this submission was intended to point at

"Intracerebral Hemorrhage Among Blood Donors and Their Transfusion Recipients" https://jamanetwork.com/journals/jama/article-abstract/28094...
Thank you for the thoughtful reply! Reinforcement learning sounds pretty cool. I'm going to start by looking for a class I can take.
There are many solutions for this. Many are complex and will probably take time to implement right now, and you just want to focus on your app in the next days.

So if you want something super simple that will cause no downtime while switching over to a new version, just run two instances of your service, one on e.g port 9000 and the other on 9001.

At any time your proxy (nginx or traefik etc) will use only one of these.

Once you upgrade the version for the inactive one, you change the port used in nginx and reload it. Then the new version will be used.
For sure. I was merely commenting on one of the "other regions" you referred to.
Linux 6.6 Features
Pulitzer Prize winning author Michael Chabon and others sue OpenAI
DC Circuit: Noncommercial copying of private standards in law is fair use [pdf]
> That’s false in itself, what do you think Wayland protocols are? They might add some DE-specific protocol for themselves, but I don’t see why that would be a problem.

It sure looks like it's true, or did GNOME/KDE/wlroots manage to agree on a single screenshot API?
For the Climate Change deniers: Can't you see that every year it's getting worse? Okay, natural or caused by humans, don't you think we should take this a bit more seriously?
>1. The moving off the gold standard

As someone with an econ degree, people advocating for a return to the gold standard are so weird to me. I totally understand people having objections to how central banks manage the money supply and the impacts that has on the economy, but that doesn't mean we should give up control of it completely.

It reminds me of the 2008 housing crisis when people saw a regulation failure and their proposed response was to remove even more regulation. It would be like your home being broken into and deciding the solution is to stop locking your doors instead of trying to find a better lock. It is both defeatist and it does nothing to actually improve the situation.

Advocate for better policy. Don't advocate for no policy. The gold standard is effectively no policy because it gives control of the money supply over to control of the gold supply and gold can be both lost and found which won't happen in ways that actually support the economy.
I believe the hypothesis behind this is that women entering the workforce in large numbers disrupted the labor demand/supply equilibrium while also portending major changes to family structure and aggregate social dynamics.

I don't think its a very interesting hypothesis though. The increase was fairly gradual post-WWII [1]. It also seems like it probably points the causal arrow in the wrong direction. Women probably would not have entered the workforce in such broad numbers had economic conditions supported a single income earner per household.

[1] https://fred.stlouisfed.org/series/LNS11300002
k8s is meant for frameworks and runtimes, like Rails, that don’t have any real concepts of processes or clustering.

I think of Elixir as a way to get full control of the stack in one runtime. It has process management and clustering built right in, which is kind of redundant with everything k8s offers. It gives you so much control over so many things with one runtime and language.

Contrast that to a runtime like Ruby/Rails where it’s “run a server process and don’t attempt anything outside of that” — k8s can actually be helpful for process management, clustering, and service discovery because doing so in Ruby would be a huge effort that requires cobbling the Ruby, Linux, and k8s things together that you just don’t have to do in Elixir.
We use webp internally for storing very small images that are cropped out of larger images (think individual bugs on a big strip). Webp lets us get them small enough we can store the binary image data directly in postgres which was a lovely simplification.

(We evaluated it for storing a bunch of other stuff but didn't find it worth the compatibility and need to transcode problems)
I don't think that's quite right. Another example given by Asimov is Newton's equations, which are obviously not facts about a particular object. We still today accept them as right (in the right contexts), teach them in universities, and use them when they're useful.

I think Asimov's point is that if someone in Newton's time said "I'm glad to live in a time when we finally understand everything there is to know about the motion of cannon balls", they'd be justified: even though technically there were relativistic corrections to be made, they're pretty much irrelevant for the stated purposes (understanding how cannonballs move). And so in the same way he thinks he's justified in saying that in the 20th century we finally understood the basics of the Universe, even though we still don't know (in his words):

> the nature of the big bang and the creation of the Universe, the properties at the center of black holes, some subtle points about the evolution of galaxies and supernovas, and so on
If you're just going to spam the same thought over and over again then you should go to reddit where that lack of originality is appreciated.
Digging water channels in mineral stishovite
You could argue that in art it is folly to worry about authenticity and the real shame is when a masterful “fake” suddenly loses all its value when you find out it wasn’t painted or recorded by the person you thought it was.

Edit:

I am torn about how I feel on the matter but here’s a story worth sharing: I stayed up all night the day before the release of a much-awaited book in a series to read, leaked blurry jpeg by leaked blurry jpeg, hundreds of pages of the book that had just appeared online (I also went out and bought a copy the next day).

While reading it, I knew there was no guarantee it was “real” and it could have been an elaborate hoax but the quality of the storytelling was such that I didn’t care (at least in the moment) if it was fan fiction or the real deal: it was good and I wouldn’t have regretted my time or enjoyed what I had read any less if it turned out to be a “fake.”
The author points out real risks when running your own domain. When you host your own domain, you must treat that and its registrar as a risk vector like your inbox, including 2FA, locking domain transfer, auto-renew, backup email accounts, and update payment details. Like the author I too run my own email out of my domain, and I love the flexibility, but it requires vigilance.

One serious issue is how much email became the de-facto identity of the Internet. This is the ultimate reason why all the above is necessary.
> The Australian system is deliberately 'overbearing' in it's rules because there's an understanding its not going to be uniformly enforced and the average joe's are going to break the rules according to a relatable need.

So selective enforcement a powerful tool of tyranny and oppresion

> And let's not pretend the US is free from bias. The time-wasting setup is no accident. There's plenty of opportunity to make the US more fair for external connections (and internal connections).

The US isn't free from these problems either but it seems to be happening more slowly, which I'd attribute in part to the division of power inherant within a Federalist structure, the more explicit enumeration of rights within the US constitution and the fact that many people in the US get aggressive, belligerent and fight like hell when they feel they've been wronged or want "justice"

> I'd take a King and Priest that doesn't choose free market winners, over a system that rewards patents and regulation in the place of real wealth creation.

They will be choosing the free market winners with the rise of the individual judgement, that's exactly the problem is that their friends will be given to win while they will use the ambiguity to punish people they don't like. Further this has nothing to do with capitalism or anything like that, the state is just as likely to be populated by individuals that are unscrupulous, power-hungry and greedy as anyone in the corporate world.
Yes, so far there has been no clarification by unity about pirate installs or malicious competitors faking the unique installation API called to the Unity backend.

Ripe for fraud.

If unity is malicious they could actually set up farms artificially inflating installation counts and generating a little extra profit.
It sucks, but it is also good. I can pick up an intel mac mini for cheaper and cheaper and they make good little local area servers as long as you don't require them to be as fast as apple silicon.
The power gained by their wealth is enough to make leaving the country easy, but not enough to "save" it, by any stretch.
If you're looking for other models, I recommend reading Artful Making: https://www.amazon.com/Artful-Making-Managers-About-Artists/...

For me it was a nice contrast to the "industrial age corporation" and "widget factory" models that are in common use.
Cute idea, looks like it's been around for a long time! Very reminiscent of the old web.
I’m not the OP, but here’s my reading list: https://tuckerconnelly.com/management-leadership
Unix epoch starts Jan 1st 1970 - could this have anything to do with it? As in, we started getting better at keeping records and more detailed data because of computers?
Practice Makes Perfect with Skillsoft’s Caisy Conversation AI Simulator
Impressive but for reference, about half the acceleration of a Top Fuel dragster, which are also still getting faster.

Here's Brittany Force who holds the current records (fastest time, fastest speed):

https://www.nhra.com/news/2022/brittany-force-sets-national-...

0 to 338.43 mph in 3.665 seconds over 1000 feet. (The cars got too fast for 1,320 feet and have been racing 1000 feet since 2008.)
Yeah, the Energy Theory of Everything has been my running hypothesis for what actually happened to shift from the postwar consensus to neoliberalism.
Functions are all you need [video]