skysight-inc/HackerNews huggingface dataset:
The goal here is to share your creativity. That, I find, interesting and perhaps others do find it too.
McDonald's is an example I chose, because I once worked there.
I mainly suggested 3D printing, avoid negative balance sheet, AI, vertical/indoor farming, cut bloat, cut advertising (akin to Primark, Ferrari) & invest in R&D. If enough cash, then, diversify product line & generate another source of income (akin to Pepsi or Apple).

So, the company can also be Amazon.
For example, fraudulent listings on Amazon (thus less customer satisfaction).
Have a scam report button and impose quality control on listings.
The good news is people who need to learn this skill end up better off.

1. work on personal health: regular sleep schedule, balance your diet, mild exercise, etc.

2. On top of note taking, learn prioritization and time management. I use bullet journaling and create action items to focus on next steps.
Apple announces “Buy now pay later” plan
An important factor to consider any time you see really worrisome things like medical errors or suicide as leading causes of death: counter-intuitively, that can be good news. Every time you solve your #1 highest priority problem, your #2 becomes your new #1. At some point, if you have good-enough solution for a broad-enough range of problems, the only option left is that your biggest problem is now failing to apply those solutions correctly!

By way of example, let's take a look at WHO data[0]. Across Europe, the leading cause of death for children under 4 is congenital anomalies. That sounds bad in isolation, but is actually pretty good in context. First, because the actual rate at which children die from congenital anomalies in Europe is a fair bit lower than the world-wide average, but most importantly because those anomalies float to the top simply by virtue of every other cause of death being exceedingly rare.

0. https://www.who.int/data/gho/data/indicators/indicator-detai...
Where did the Wii-U source extract come from? I know there was some Wii source code dumped in May, 2020, but that was for the original Wii and nothing really that wasn't already known. That the source extract is s casually dumped suggests access to the code that the average person really couldn't dream of.
You assume that oil and gas are only used as energy components, but they are also raw materials required in industry.
so you're squatting domains, cool
Get a mechanical hand counter. Every time you resist the urge, tick yourself a point. Every time you cave in, reset it to zero. Keep it visible on your desk to remind you of your progress (or failure).
It seems crazy to me to start the reform of the system from this end by lowering the jail population and laxer prosecution. I'd think that keeping the law & enforcement as is and targeting the underlying systemic causes - war on drugs, unemployment, lack of opportunities etc would be more sensible.
Subscribe to newsletters and podcasts, get their RSS feeds plug to Feedly.
"You release the product with both ports."

This requirement kills the new port in its crib.
They surely can be used in the app, but a) requires that code generation and b) you are limited by the expressiveness of Prisma's DSL. The DSL supports much less than TypeScript. The last time I looked: No support for generics, conditional types, mapped types, (const) enums, index signatures, class instances (+methods), and more. Basically you lose the full power of TypeScript that way. Also you would have no way of using that interface in validation and serialisation, which is more important than just using it in type checking - you would need to rewrite the entity in another format like json-schema or zod-like libraries, which means at the end you still duplicate it.
I was about to say the same about you :)

Yes, Russians didn't manage to take Kiev or Kharkiv. But that doesn't change the fact that they are making progress in the east and the south. Wars have more than one front.
Your pension would be substantially smaller.

Technically the pension fund consists of 3 parts:

1) Shared pool of funds. Current workforce pays into the pool and current pensioners get payouts from this pool. You can't liquidate this part of your fund as there is no part that is fully "yours"

2) Individual pool - part of your salary automatically gets put into this pool and invested into the pension fund of your choosing. THIS is the part that people can now liquidate before they reach the pension age

3) Individual pool of extra deposits - You can choose to add money into this pool and incest it in a pension fund. If you withdraw funds during your pension age then no gains tax is applied on the profits. But you can liquidate the fund at any point as long as you pay the gains tax.

So these citizens/residents will only be left with the first option as their pension payments.
The biggest mistake he and Democrats keep making is blaming “billionaire Republicans”. It’s not Republicans it’s Democrats voting him out.

He either refuses to acknowledge that the Democrat voters themselves are rejecting his policies out of hubris or it’s a way to shame democrats by accusing them of acting like Republicans. But it didn’t work and only infuriated and calcified anti-Boudin people even more.

Democrats at the federal level better take heed. If San Francisco who is overwhelmingly Democrat will reject extreme progressive policies like Boudin’s, hopefully it means the Dems can regain some sense of rationality.

My friends and I have all made a pact that we will vote Republican until the Dems come more to the center, no matter how horrible the Republicans candidate is. That’s the only way we can change behavior is through voting, and in CA they have come to take voters for granted for decades and left California a progressive experiment gone off the rails to the point of lunacy.
Show HN: I've built a CLI to create remote dev envs as a Go learning project
Hey HN,

As most of you (I think?), I cannot learn something without having a project, on the side, to implement what I’ve just learned.

Recode is the project that I've used to learn Go. It lets you create a development environment in your cloud provider account easily.

You can think of it as a desktop version of Gitpod / Coder / GitHub Codespaces less polished and with less features but 100% free and open-source.

At the time of writing, it only works with Visual Studio Code and AWS.

In order to let you configure your development environments easily, I’ve chosen to use Docker with some Dockerfiles:

- One for your user configuration.

- One for your project.

The user configuration corresponds to the tools / settings that you use in all your projects like your timezone / locale, your preferred shell or your dotfiles.

The project configuration corresponds to the tools / settings that you use in a specific project like Go >= 1.18 and Node.js >= 14.

As you may have guessed, the project configuration inherits from the user one.

This project is 100% community-driven, meaning that except for bug fixes no more features will be added.

The only features that will be added are the ones that will be posted as an issue and that will receive a significant amount of upvotes (>= 10 currently).
Yeah, the article is trash. The actual complaint has a story that makes sense.

https://s3.documentcloud.org/documents/22054162/michael-lowe...

It was a search warrant, not a subpoena.
A society in which almost all are working not out of pure altruism, but out of necessity to satisfy their own selfish needs.
>You are right, and some central banks only use the basic interest rate as a remedy in all cases. It seems to me that case 2 cannot be solved through this mechanism.

It can. Interest rates rise -> money becomes more expensive -> investment dries up -> demand is quenched -> things become cheap again
Meaning the basic compilation unit.
When it happens to me I usually joke "I mean, not-(grunt)" when I'm around my wife. Not so much with others, they might not get it.
This is basically an automated Hario V60. Hiroia is a subsidiary of Hario.

It works about the way you'd expect, other than perhaps offering more control over the pour: https://www.youtube.com/watch?v=FqYTjFWYlzs

Their target is retail, where staff labor per cup and repeatable results are important. That said, its ~$750 street price is lower than that of many home espresso makers.
> This bet could hurt the web badly.

But not when Chrome does it, right? Not when Chrome implements an avalanche of non-standards from incomplete pre-draft specs authored by no one else but Google? Then it's "pushing the web forward" and it's the "backwards Safari that is holding the web back"?
LOL. That's only the case if you don't care about the definition of "monopolistic."
Title isn't accurate, as others pointed out. Eg. Minitel in France predates 1994. Also, it depends on your definition of "online". Eg. I think you could buy things via Teletext before 1994. And buying things via phone probably also predates 1994 - both for buying products (tv sell stuff), but also services (eg. group chat, or adult lines).
Yeah, nice point.
> Republicans: mental health is definitely an issue that needs to be solved

If this were true, they would have proposed legislation to fund healthcare.
> "setup", "loop" and "delay" are the worst imaginable way to write embedded software

I agree with "delay", but why do you say setup and loop are the worst imaginable way to write embedded software?
"People in the startup sector earn _much_ more than other sectors - the difference is, if I'm not wrong, one of the biggest in the EU."

Do you have a source for this claim?

I would be very surprised if that was true.
The solution to mass incarceration isn't less tough policing, it's a more effective justice system with reasonable punishment and thorough prevention and rehabilitation programmes. Part of prevention is more policing, not less. Being Reasonable or thorough never got anyone elected though.
Every life insurance has clauses that don't pay out under certain circumstances (such as suicide).

And even if they do eventually pay, it matters the hoops they make your family run through and the time they take to pay out.
Yes the radio is always on and will remain so. I can’t be bothered by streaming services.
Our family computer is a MacBook (13-inch, Mid 2010). Last month my father-in-law talked me through opening it up, cleaning out the dust, and replacing the HDD with an SSD. Still runs great! Nice little unit.
Maybe it could assemble itself inside you. "It's 3D-printers all the way down..."
Deepfake Simon Cowell
They show good metrics "we are profitable for each ride sharing from a hardware perspective", but if you look at financial statements you see things huge lines like "General and administrative expenses".

As a result, 2021 income: 205M, expenses: 425M

Essentially, this is the business of selling for 0.50 USD something that costs 1 USD to produce.
I'm more impressed by how happy they are for eating bologna sandwiches.
https://twitter.com/CometAshe/status/1044242057534078976
Is the increase in cost known or predictable in decentralizing fabs? The argument for geopolitical stability is strong but at what cost?
I would argue that goods prices also don’t display the same elasticity going down as they do going up. Whether they are less sticky I don’t know but will definitely look into relevant literature.
In reality, yes. Definitely. In this study, I think they define spam however they do.
I agree that "virtue signalling narcissistic assholes" are a problem OP.

I am not familiar with that particular project, but I know the feeling of being angry a project I care about is being ruined by evil people.

I also know what it's like to feel the chilling effect of censorship, followed by the reaction to the emotional whiplash of the psychic check raise of someone like myself simply stating their opinions loud and proud, and challenging anyone who disagrees to call the police, or go ahead and shoot me.

And to be clear: the last time I expressed my anger fully, they named the woman on the other end of that encrypted line a senior military adviser, had a protest outside the Mayor's house which was violently attacked, and members of the group protesting because the staff of the new mayor.

(I'm trying to keep it local. Fuck the feds, if you can't learn the norms after ten year, go back to your home state or California)

I'm a troll - when I show up in real life, it often means I think people are about to start shooting, and I might have to personally stop them.

I'm from a place where they used to beat us bloody for doing finger guns at a teacher -- now I look them in the eye as horrible things happen, as if to say "You didn't consent, so I won't step in. You're getting what you asked for. Don't complain, or I'll tell you to get in the ground with Jeffrey Epstein if you don't like what you see on your precious TV."

Despite the above, I'm trying to be less of an edgelord -- someone reached out offline and told me that doing things when I was younger like putting the image of a dead Persian protester into a slide deck and stating "This is what they want to do to us, this is why we need to build better anonymity tools" in the end of class lecture at a university I hacked my way into attending despite not being a student was traumatizing and rude.

Express your anger if you want, in my opinion. Just don't bear false witness.

Propaganda is the selective telling of truths -- violate that norm, and you'll experience as close to hell as you can in this life. (IMHO)
Why would they do it?
Russia never failed delivering cheap gas.
"Flesh Penetrating Sound Waves" sounds like a band in a David Cronenberg film.
I can recommend getting familiar with Michael Levin work also.

https://youtu.be/-Bwq1oOST7w
He's addressing each party, not describing each party's beliefs.
In Canada it used to be like this, but they passed legislation that advertised prices must include all the fees etc. For some time this worked well and ticket prices didn't suddenly double on the last booking screen.

Then came the rise of the discount airlines, where it tells you your ticket is $58, and it is, but if you want luggage you now enter the world of tiered add ons. $58 only covers you and a 10kg carry on. You want a piece of luggage? Additional money only added in at the add tier screen, because the base ticket price is 'correct' and there's no standard for how many pieces of luggage the advertised ticket should include, so they advertise the price with 0.

if they could advertise a 'standing room only' and force you to upgrade to a seat I bet they would. Maybe you need the first luggage tier for washroom access? The nickel and dime sort of approach is exactly what made the dishonest prices the first time around detestable.
Protect critical information with effective corporate data backup. Discover the best practices that help you ensure business continuity and disaster recovery.
> blaming “billionaire Republicans”

I just can't imagine a world where an ousted politician (or elected bureaucrat in this case) says "wow I guess I really fucked up, I'm sorry. I'll pack my things and be out in the morning". They have to save face by blaming somebody.
"Arbitrary" means "picked." It doesn't mean "random" (although you certainly can pick things randomly.) The alternative to arbitrary choice is systematic choice i.e. having a set of specific meaningful criteria that determine something.

So I agree with you, but the problem is that it is arbitrary, and the arbiters could be rigging the outcome with their choices.
It is true - doesn't mean they're going to do anything about it, though.
Not at the moment, we pretty much have two software engineers on staff. And you might not like the salary if you compare it to for-profit world. But it is a nice place to work!
Let’s not get to crazy with politics on HN. Remember this is not meant for us to get heated, it’s to have open discussion. Check yourself before you write, very easy to be blindsided by anger with issues like this.
yeah! I actually tried the Wayback Machine/Archive, and sure enough my blog is there. However, I designed it to just have (say) 5 lines of content under the header, then the reader would clock on "More" to read the whole article. This is because the blog was originally designed to be accessed on a WAP-capable phone (https://youtu.be/Da8_4NqxLM8?t=18). Sadly, in my case this meant running a database query and of course the Archive doesn't support that as there's no database :/ I just need a couple of days to have another look for that CD ...
First Images from JWST Are Coming on July 12th
Thanks for confirming euro folks. Good luck on the other side of the pond - hopefully we’ll stabilize these prices over time.
Yes, in-place editing with tools like sed is dangerous.

But, in your own example you have a useless use of cat:

cat $FILENAME | sed $SEDOPTIONS "s/$SEARCHTERM/$REPLACEMENT/g"

could be replaced with:

sed $SEDOPTIONS "s/$SEARCHTERM/$REPLACEMENT/g" < $FILENAME
The article mentions the need for the ramped-up steel producers to find an outlet post WWII, hence the rise in popularity of steel cabinetry.

I wonder if this also what led to the increase in other steel furniture like file cabinets, desks, chairs, etc in the 50s and 60s.

I don't know if anybody else ever sat at one, but the massive steel desks the government used in the 50s and 60s in offices and labs were built like tanks, and probably weighed as much.
Additionally, the ideas here are well represented in mainstream deep learning research by the supposed energy offenders. For example, here are links representing practical applications using sparse inference, continuous multitask learning, and specialized hardware -- just by Google.

The article is marketing to folks who care about the environment, but have limited background on modern ML (and perhaps also energy economics).

[1] https://ai.googleblog.com/2021/03/accelerating-neural-networ...
[2] https://ai.googleblog.com/2022/03/robust-graph-neural-networ...
[3] https://ai.googleblog.com/2021/04/multi-task-robotic-reinfor...
[4] https://cloud.google.com/tpu/docs/tpus
The point that you are either dismissing or missing is that headline inflation tends to include products that have extremely sticky prices, and tends to exclude products with prices that fluctuate freely. Therefore, headline inflation tends to be a poor proxy for change in cost of living, and is at best a lagging indicator.
> [...] prevent users from relying on any kind of implicit behavior.

Except now you just _know_ that somebody out there is using hash map iteration order as a source of entropy. ;)
The commenter is comparing a core GOP belief: Minimal gun control with a fringe Democratic belief: Defund the police.

Any comparison of the parties can't be done in good faith.
Or increase the money spent on caring for unwanted babies given to adoption since that seems to be the only recourse they deem acceptable
We are experiencing both. During the pandemic governments inflated the money supply to fund vaccines, cash payouts to citizens, and huge programs to keep payrolls flowing. The pandemic also increased demand on consumer goods because people were spending their stimulus checks on goods since you couldn't go out or travel. Add on the fact that there are shortages of goods because many producers were slowed down significantly by lockdowns and staff shortages.

So we have both fewer goods available for purchase and less valuable money to buy them with.
This really is similar to the statistic of head protection increasing the number of head injuries. With the explanation being that otherwise, many of those injuries are deaths instead.
Ask HN: Where to find designers with old Mac apps aesthetics?
Do they even exist?

What I am especially looking for are folks who can create webpages for apps in the old mac style, before the whole flat movement took over.
If the money is doubled but most of it goes into offshore investment funds because those on the receiving end already have enough bread then the price of bread doesn’t really change, but venture cap funding becomes more readily available.
I’m currently visiting family in the US and inflation has to be at least 150% since I was here last year.
I'm not a fan of the idea of leveraging TS types at runtime. This is just a lock-in to TS, even if type annotations become a thing in JS.
I don't like ORMs that use runtime types either. Most of the time, I want to write raw SQL.

So as an experiment, I created a library that statically types raw SQL:

https://github.com/nikeee/sequelts

The idea is to parse the SQL queries using TS's type system. The parsed query is combined with the database schema and therefore, we know what type the query will return.

This is especially useful due to TS's structural type system.
It's also zero-overhead due to the entire functionality being just TS types, which vanish as soon as we compile. It therefore also works JS-only.

However, it's just a proof of concept. I'm working on an ANTLR target for TS types, so that the SQL parser can be generated.
A game changer will also be the integration with sql-template-tags [1] (which would make this actually usable).

This is just for selecting data. Time will tell if it's feasible to also type-check mutating queries.

The primary use-cases will target SQLite/D1.

[1]: https://www.npmjs.com/package/sql-template-tag
Some people really dislike when Grog try to play God, either for misguided religious reasons or somewhat reasonable comprehension of the sheer scale of human ignorance in regards to biological systems.
It seems to me that the medicine is worse than the disease in this case.
Bummer: all prices are included in the calculation, including salaries, so if products have increased 14% and salaries increased 0% then given that markets are relatively same, inflation is only 7%. From the perspective of a consumer though…
Start looking for remote jobs you could do, start bolstering your interview skills and/or doing things at current job that might help round out skill sets or learn new tech you haven't used much. We joke about Resume Driven Development but if you can introduce a new-to-corporate-machine technology and deliver something useful then it goes on the resume.

> life is at the whim of a nameless entity in the corporate machine

Observation: we aren't very far off from feudalism in medieval times from how humans organize work. Sure there is more choice of moving around physically, picking a career/job and there is certainly upward mobility possible but for the vast majority of people, this is how it goes. The organizational hierarchy is much the same.
Because headline inflation is not equivalent to "% change in cost of living", and the media should stop reporting it as such.
There is monetary supply inflation (increase in quantity of money), which WOULD be neutral if you would do an airdrop to everyone in economy in the same proportions and this would then be the same as price inflation, but that kind of inflation would be useless. What is going on is the goverment prints money, gives it to the largest economic actors, to 'stimulate the economy' and then it 'trickles down' and we get increased volatility of prices which usually means a bigger increase in more necessary consumer goods (food, housing).
My favorite so far is StrictYaml [1]. It's a subset of yaml that directly addresses a lot of the article's concerns:

* supports comments

* flexible with good signal to noise (no need for so many brackets and commas)

* gets rid of a lot of YAML's complexity [2]

* explicitly typed for less ambiguities [3]

The main page also gives comparisons against HJSON, HOCON and TOML [4]

[1]: https://hitchdev.com/strictyaml/

[2]: https://hitchdev.com/strictyaml/features-removed/

[3]: https://hitchdev.com/strictyaml/why/implicit-typing-removed/

[4]: https://hitchdev.com/strictyaml/#why-strictyaml
The guys at TIC-80 had a proposal of embedding mpython to the engine, so you will be able to write in python:
https://github.com/nesbox/TIC-80/issues/935
The linked articles are actually about how to translate problems from an OOP perspective into idiomatic Haskell.