skysight-inc/HackerNews huggingface dataset:
On a recent trip through Croatia the best convenient charger had only 87kw. I would have been pretty sad with a 6C battery when most chargers could mostly do 1C at most.
I agree that if you need to write mocks, it's likely that your interfaces are poorly defined. This is one of the claimed benefits of test driven development - writing the tests first forces you to design the code in a way that cleanly separates modules so they can be tested.
During my school years, my teacher confiscated a deck of my trading cards and stored them in the classroom drawer.

You could probably see where this goes next - very quickly all my cards were stolen by my classmates, and I could do nothing while I saw my classmates play my own cards, as I had no proof they were mine.

That certainly taught me a lesson or two about human nature, at least at that time...
Why the rush?
As you access higher incomes the possibilities of things you could buy expands, thus you want more and more money to afford them, thus requiring bigger pay raises.
For people wonder how this got there, the blame goes to Rep. Elise Stefanik:

https://www.congress.gov/bill/118th-congress/house-bill/2864

That bill was tacked onto a big "must pass" defense authorization and may not have survived on its own.

Here's an article with some speculation on why Stefanik introduced this bill: https://dronexl.co/2024/06/06/drone-industry-outrage-stefani...
Didn't Cities Skylines come out of a previous project by the same developer, a transport simulator called Cities in Motion? It's no wonder it has a heavy focus on transport management.
I'd be welcome to be proven wrong, but I don't think you'd be able to achieve the results shown here without some sort of stable diffusion or GAN approach.
under 18s arent on facebook, and barely on instagram. that might work for 25-40 year olds though
These are actually really, really useful.

I don't know if I'd call the portraits "stunning" but this is exactly the type of image that is extremely useful to use as an author portrait on a blog or publication, in a list of employees on a startup's team page, and so forth.

You can compare with Wall Street Journal hedcuts [1] or the portraits in the Economist's "By Invitation" [2].

Because actual photos often reveal "too much", with a lot of distracting detail not relevant to your "essence", and you're never going to get a series of photos of different people to look all that consistent unless you're using the same photographer with the same setup in the same location, which usually isn't practical.

So this kind of tool that accurately reproduces someone's face and expression and hair accurately, but stylizes the rest, is actually super useful in communicating just the right amount of visual information in a lot of professional contexts.

So kudos to the creator -- I think you might be able to turn this into a business if you market this to businesses that want to use images of their employees, where the business pays to decide on a particular consistent "look", and then can just feed in and update images of employees/reporters as needed. Charge something like $199 to define the look, and then $99/yr for portraits based on up to 100 original photo uploads per year, $179/yr for 200 photos, etc.

[1] https://www.wsj.com/articles/whats-in-a-hedcut-depends-how-i...

[2] https://www.economist.com/by-invitation
They pretty much all have chromebooks or laptops these days that can perform the same actions if it's school related.

Also, study hall is an elective class. You still need to behave in study hall. The purpose is to study. Lunch could be an exception, but not really. There should be enough time to eat and socialize just a little. The lunch periods are not excessively long.
It seems like the chemistry has some interesting trade-offs.

https://www.mitsubishicritical.com/resources/blog/the-runawa...

https://www.linkedin.com/pulse/which-better-nickel-manganese...

> NMC does have an increased fire and thermal runaway risk

> The USA has put regulations and restrictions in place to make sure certain sources of Cobalt and other minerals are not used in future supplies and designs. Estimates show that there will be a Cobalt shortage by 2028, which has been quickened by the increased use of Cobalt in electric vehicles and battery energy storage designs

> NMC has increased energy density with a cycle life span that is geared towards a reduced number of cycles per year.

> The full charge and discharge cycle of the LFP battery will only decay to 80% of the original after the number of full charge and discharge cycles is greater than 3500 times. … The charge-discharge cycle life of NMC battery is about 1000 times.
> I don’t think this makes much of a difference.

From practical experience, it really does. To a huge extent.

It's why most major supermarkets (unless forbidden by law) will wrap their home brand breads in packaging with holes in it. Higher sales because the bread is always hard as a rock 2 days later unless placed in an airtight container.

That's in southern and middle (east) Australia's climate anyway. :)
I really love this framing of it. I think this is exactly what I spend most of my time doing.

Although I might say there are three levels I'm thinking about all the time: There are the interface and the "what will the computer actually do" levels, but also a really important one in between of thinking about the future reader of the code.

What's interesting, now that you've got me thinking about this, is that I'm not only doing this exercise while programming, but that it's also what I'm doing during all the other parts of my work. While in meetings discussing what to do and how and in what sequence, it's this same exercise of thinking about how we'll need to interface to the human world, and then how we'll get the computer to do what we need, and then how we'll do both those things in a way that will be comprehensible and maintainable.

So I think you've really hit the nail on the head here. To me, this is the job.
What kind of parent will call or message their kids during school hours?

All the ressources mentionned can probably be accessed through other means, usually the school library which has computer terminals.
I left the treadmill, it was so boring. I voluntarily went back on it, it is nice to know I can hop off.

But I can't hop off, its too boring. Seriously.
Charging stations in remote locations use batteries to smooth the load so that they don't need a 2.5MW connection.
I'm assuming voice entry mistranscription of "study hall"?
Essential, open source Mac apps
It's also biased into informal definitions, mixing side effects with logic, and encapsulating complex behavior together. It's way more biased into being a scripting language, while Haskell has all those biases pointed at being an application language.

So, I'd say that both languages lead people into very different programing styles.
The trip was totally fine though. Apart from lunch we only stopped for 1x15min per leg during 7 hours of driving.
I would never get into programming if all I was shown were some quixotic features of Scheme I couldn't use for anything in the real-world. What attracted me to programming was to quickly enable me how to draw a graph of a function, how to make a simple worm-like game, how to dream about creating a flight simulator and drawing the plane dashboard with all its dials and make them move even if the flying part was deep in dreams, drawing a car on a screen with some air arrows to simulate aerodynamics and dream how to build a software for it. But dry string manipulation with weird syntax was not very interesting and in fact rather repulsive.
Oh, well that's kind of what I mean. I mean I assume the RLHF that's being done isn't teaching it to say "I don't know".

Which I wonder if it's intentional. Because a fairly big complaint about the systems are how they can sometimes sound confidently correct about something they don't know. And so why train them to be like this if that's an intentional training direction.
I very much prefer my Skydio2 drone over any DJI product I've ever flown. Totally subjective experience. I got tired of fixing DJI drones.
> doesn't require every single function to be pure

having never done F# or haskell, doesn't that start getting into the territory of languages that encourage functional programming like ruby or javascript (modern javascript)?
I have had succes with that approach as well. Don't expect the CEO to answer of course but whoever gets tasked with it is usually still much better positioned to get your issue resolved than a call center drone.
Typical fear mongering that got phones all over the schools in the first place. Kids aren't getting abducted or even using their phones in an emergency capacity.
It really is a detriment to entrepreneurship in the U.S., as well as early retirement for those who have saved up enough money but are locked into a job until Medicare kicks in at 65.

One other observation: During the pandemic my spouse left her job to work with me full time. We had COBRA (health insurance based on her previous plan per federal law) for 18 months, which was great. Then we had to go to the open health marketplace. What a freaking disaster that was.

If you make any sort of middle class income, which we did through my business, you don't qualify for any breaks in our state's marketplace (Massachusetts Health Connector). The broker database they had for small businesses insurance was a joke - no one ever returns your call; it seems they are looking for midsized businesses where their commission will be larger.

I spent many hours comparing family plans on the Massachusetts Health Connector and eventually decided to bypass the marketplace and purchase insurance directly from the insurance company because it was a little less expensive and had a slightly lower deductible (but was still sky-high compared to COBRA/her previous employer's plan). We got reamed on the monthly insurance cost as well as the crazy-high deductible. She eventually went back to her old employer, and one of the primary reasons was getting access to affordable health insurance without crushing OOP costs.
https://github.com/esilverm
Derailleurs have, on average, 2% lower loss than hub gears, when new.

However, many suggest that because hub gears usually have an enclosed chain, whereas derailleurs rarely have an enclosed chain, that 2% is usually eclipsed by chain losses as the chain gets dirty/rusty/worn far faster on derailleurs.
But isn’t software engineering one of the easiest domains to self-learn? I don’t know of any other profession that has such vast amounts of completely free resources online.
>This is exactly the problem. The military needs single-use drones in high volume, and the production capacity/scale for that can only exist if it's subsidized by the consumer industry.

Single use drones could exist without subsidizing by the consumer industry. Ukraine is literally doing it with rubberbands. Anything else would simply lead to overdesign and basically the same problem we have now where the enemy is simply lobbing cheap artillery in volume while we simply do not have smart missiles to spare for Ukraine, nor for ourselves if we got into such a war. Lmao.

The American MIC is largely...maliciously incompetent. I work in this sector.
Overdesigning, so you can slap a 500% profit margin on something with more features than ever needed. Then you lobby the generals in charge of project funding with dinners, gifts and more.
Doesn't mean Universal Healthcare wouldn't be a net win for entrepreneurship.

We should unlock all barriers to entry that we possibly can
I would be interested in the repo.
> You’re not wrong, but these are mostly untenable solutions at present.

In the past, it was a lot worse. There was a lot more "shared culture" that seemingly everyone tuned in to, that you kind of had to grin and bear. If you didn't know what happened on Seinfeld last night (90s), or on the Simpsons (2000s), or Game of Thrones (2010s), then you really had nothing to talk about at the water cooler. Nowadays, there really isn't much popular stuff that -everyone- watches, so it's easier than ever to drop that popular stuff.

A sticky notable exception is still national sports. There's still so much shared pop culture in knowing what the local city's Sportsball team sportsed about during last night's game that you have to kind of put up with if you want to socialize at the water cooler.
I began supporting AMD as my choice for a gaming CPU when they began trouncing Intel in terms of performance vs. total draw power with an attractive price point around 2016 or so.

Then, a wave of speculative execution vulnerabilities were discovered / disclosed, resulting in an even larger differential for performance and power use after the SPECTRE patches were applied.

Considering this, I'm not sure that it's fair to cast the successes of AMD as mere failures from Intel. Dr. Su is simply a brilliant engineer and business leader.
We have schools doing this in the Netherlands. Students actually report liking it because they are now more in real physical contact with their fellow students directly instead of immersed in their phone every chance they get.

I think that shows that indeed it should be a rule, voluntary will not work because of something akin to the network effect.

When we get interns at our company many of them, instead of communicating with us are in their phones during lunch and coffee breaks. It’s a disease, they don’t integrate, they don’t learn being social around collegeas. I don’t like most people of that generation and they never get to know me. Something has to change.
Oh, those pesky consumers getting in the way of the innovation of the free market with their protections. If only they could be fully exploited for maximum value extraction without interference.
Can't wait for them to declare that starliner is actually the newest ISS module and it ain't coming back.
Auto corrupt of study hall, also known as a free period. https://en.wikipedia.org/wiki/Study_hall
Can you provide data that grounds these claims? How often are children saved from abduction by an iPhone or similar?

The schools posit that the social and educational benefits of no smartphones outweigh the (purported) risks of an un-nannied childhood.
Docker Compose is a super easy way to run Postgres, Redis, etc. alongside your tests, and most CI platforms can either use a Compose file directly or have a similar way of running service containers alongside your tests. Example: https://docs.github.com/en/actions/using-containerized-servi...

Typically you'd keep the database container itself alive, and you would run the schema migrations once at startup. Then your test runner would apply fixtures for each test class, which should set up and tear down any data they need to run or that they create while running. Restarting the database server between each test can be very slow.

The test data is a harder problem to solve. For unit tests, you should probably be creating specific test data for each "unit" and cleaning up in between each test using whatever "fixture" mechanism your test runner supports. However, this can get really nasty if there's a lot of dependencies between your tables. (That in and of itself may be a sign of something wrong, but sometimes you can't avoid it or prioritize changing it.)

You can attempt to anonymize production data, but obviously that can go very wrong. You can also try to create some data by using the app in a dev environment and then use a dump of that database in your tests. However, that's going to be very fragile, and if you really need hundreds of tables to be populated to run one test, you've got some big problems to fix.

Property-based testing is an interesting alternative, where you basically generate random data subject to some constraints and run your tests repeatedly until you've covered a representative subset of the range of possible values. But this can be complicated to set up, and if your tests aren't fast, your tests can take a very long time to run.

I think at the end of the day, the best thing you can do is decouple the components of your application as much as possible so you can test each one without needing giant, complicated test data.
What useful things could a smartphone do during school hours.

You have a literal internet connected computer with any function you could care to name, interactive touch screen display, full sound with headphones being provided by the student.

The situation we have now is that there are few apps that are suitable for a classrooms, even fewer which teachers would be allowed to use and none which are endorsed or included in the curriculum[1].

Meanwhile students phones have no central management unless by parents using a specialist app, are not automatically locked down to appropriate use during school hours, meaning they just get used for messaging and inappropriate stuff.

There is no reason that a students phone couldn't become the world's most amazing educational tool the moment they walk onto school premises - the world just hasn't caught up yet and probably won't for a while.

[1] I don't know this, but I'm sure they're providing iPads or something if they're actually doing anything around this.
Let Readers Read
There just isn’t much of the internet left outside of social media as far as I can tell
it's incredibly common, like a quick text from the child "hey don't pick me up today I'm going to Greg's house" or a parent saying "do you have football practice today"
Yes, all cards will be like this soon. So if you wish to keep your rare baseball card collection, you'll have to continue to pay your subscription price. If you miss a payment, you might be temporarily locked out of the collection, but repeated missed payments risk the collection being deleted entirely.
The only thing to be done is to drop out and participate in at least sponsoring, if not creating culture.
Similar thing happened to me in the 80s.

I learned never to take anything of value into school.

My kids learned the same thing in the same way.
Genuine question then, how do you do something like this with PS or Gimp?
The phone doesn't do anything against abduction. It doesn't make the public transports work better either.

Also, there is a thing about developing social skills to be able to do small things like asking for directions/help.
Improving Warfighter Alertness Safely Without Off-Target Effects
WWS could be a great source of training data for LLMs.

Regardless, it will be a great place for meaning and connecting with other curious minds.
Wow. This is very interesting.
All the things you mentioned were normally handled without phones a generation ago. They should be able to get medical exceptions for medical devices.

Yeah, schools have a history of issues. However, this policy isn't really new. It was in place when I went to school and there were no issues.
> Tacit negotiations can work. And in practice, it's often your representatives that do the negotiations with other people's representatives.

And now you're back to square one? How do you choose those representatives in a way that represents their constituents' views? That was literally the original problem.

> Check out the repeated Prisoner's Dilemma for some inspiration for how repeated play can breed cooperation.

Have you seen literature on this somewhere? On its face iterated prisoner's dilemma being more cooperative does not in any way suggest that iterates voting somehow admits an easier solution for finding collective preferences than non-repeated voting. The problems are drastically different so far as I can tell. If you've seen literature suggesting otherwise I would love a link or two.

> How is that different from people selling their vote today? Just make sure that the legal system does not enforce these contracts

You seem confused? The reason you can't sell your vote today isn't that it's illegal to sell your vote, but rather the fact that there's no way to prove how you voted, so you could just lie with no incriminating evidence.

Whereas it's pretty darn easy to see how the candidate who promised you tax breaks suddenly voted to raise them when he came into office.

> slightly more complicated version

I see nothing obvious suggesting that your (homemade?) scheme is better, so I'm gonna put the onus on you to explain it wouldn't suffer from similar problems...

Note that "theorem assumptions don't apply" doesn't imply "conclusion doesn't hold".
Replace with TikTok or Snapchat or whatever they are using. Because they are definitely using social media. Maybe you’re playing gotcha at a poor millenial’s out of date examples but the point stands.

Source: parent of high schooler.
[dupe]

More discussion on official post: https://news.ycombinator.com/item?id=40658852
ChatGPT, in my experience, is substantially less biased than most people. I’m impressed by that, fwiw
I'm with you here. It's not a D/R thing it's a top bottom divide.
I regularly have this discussion when it comes to comments.

The intention of the code is much more resilient than the details, so comments should generally focus on the why.

(It’s also important to document the code that isn’t there: algorithms that were rejected due to performance, “obvious” enhancements that don’t actually achieve the intended effect, etc.)
Doesn't seem like the same Linn. Is it? The Wikipedia article on Roger Linn only talks about his various areas of involvement with the music industry.
https://archive.is/2nIS1
That's not my experience at all.

I mean I've gone all 4K/HDR a number of years ago, and all streaming 4K and disc 4K is HEVC. So all the piracy content is WEB-DLs or UHD disc rips of that and it is often not re-converted, but even if it it tey still use HEVC.

H.264 is a fine codec, but it doesn't support HDR and also really starts to show its weakness in efficiency at 4K resolution. At 1080p SDR it fairs much better vs HEVC.
Could really use a $3 or $5 credit pack. $10 is a bit big to jump into without trying it out.
It's the other way around. Regardless of speed, it has the same number of particles to displace. At high speed these particles you're hitting are like hitting a concrete wall. The faster you go, the worse it is, and the less time you have to cool down the heat you're generating.
I mean sure. Realistically, I'm certain I would do that if I were working on a typical code base, which is why I'm in an extremely niche field where that sort of thing is valued. From my extremely biased perspective, these are the 'hard' problems that need solving, versus the general run of the mill operational things. That probably sounds pretentious, but it takes skills for both.
> What kind of parent will call or message their kids during school hours?

Both my teens text me throughout the school day if they need something. It's not every day, but it's several times a week. It's incredibly useful. I'd fight this vigorously if they tried this in my school district.
So... Linux literally has ZFS, ported wholesale from OpenSolaris, and is also homegrowing BTRFS and bcachefs as alternatives. I don't think zones could be ported as easily as ZFS, but LXC seems like a pretty close recreation, and honestly for most people I think docker was an improvement.
How on earth did any child survive pre 2000..
I forgot to answer your first two questions:

> - how much does it go into people and personalities of the team and stakeholders, besides the technical design of the game?

A lot; it all goes together.

> - it sounds like first part of the book is historical and talks about various games, second focuses strictly on simcity?

Yes. And not just games, but computer history and simulation practices (like system dynamics, cellular automata, artificial life) that influenced SimCity and shaped its reception.
If <minority group> is covered by the same jurisdiction as <business>, then it's not close to a 1:1 comparison.

It's perfectly reasonable to not do business with people in countries that support piracy. And I'm referring to the Arrg/EyePatch type and the Buh/KeyboardWarrior type. In the end, it's a choice. If you don't have a legal means to deal with illicit activity, and blocking mostly works, there you go.