skysight-inc/HackerNews huggingface dataset:
I know that LG closed a plant in Alabama last year: https://www.solarpowerworldonline.com/2022/02/lg-to-exit-sol...

However, First Solar announced last year they would be opening a plant in Alabama: https://www.cnbc.com/2022/11/16/first-solar-selects-alabama-...
I don't think mastadon will be around that long, it's the most antisocial of the microblogging platforms

I see a lot of posts but it's very rare that there's a reply or conversation in even 1% of them
Thanks for all that. Finally I got the headat approach faster by removing shuffling, removing the range operation (just filling a list with ten million zeroes using mylist = [0] * 10000000), and hardcoding the constant for the size of the test as a literal 10000000 rather than a variable (ie headat < 10000000 rather than headat < numtopop). I couldn't remove the initialization code entirely since I'm approximating reading through a list, so in the pop() version, having the list is necessary for being able to do that (otherwise if the initialization is outside the run loop then how do you do the second loop loop after you've already pop()'ed every element).

If I reused the same list for each run in the headat version it would be kind of like cheating, since the fundamental reason for this whole exercise is to speed up a monte carlo simulation that depends on shuffling and reading all the elements of a list, which is why I originally included that in the benchmarking code.

Anyway even after I removed all that, the headat version is now just 3.2% faster and with everything hard-coded, without any shuffling, the whole thing stops being an approximation of anything actually useful for any real code.

So the bottom line is that Python lists are plenty fast and there is no reason to try to do hamfisted optimization with runtime variables, as it doesn't get us any useful speedup.
In my experience, most people are completely oblivious to being flashed by high beams, party because they are just oblivious and partly because the lights are already so bright, that flashing beams barely makes a difference.
> the quality of films/TV produced in the west has been in steady decline for quite some time

I could agree the average quality has dropped. But surely you agree that the sheer volume of high-quality content has ballooned. How many high-quality TV shows can you name from the 90s?

Compare that to the last 10 years of shows like: Succession, Ted Lasso, The Queen's Gambit, The Handmaids Tale, Better Call Saul, Ozark, House of Cards, Stranger Things, Silicon Valley, The Crown, Fargo, Mr. Robot, True Detective, Veep, and even (controversially) Game of Thrones.
> Needlessly nasty. Maybe I don't want to have a beer with you after all

I don't think it was nasty at all. If you'd spent more than 30s on it you'd know that "wordsmith" already means "a skilled writer" and thus doesn't match the function of the tool you are describing. Names that appear to describe the function of a thing but don't are IMHO, the one of the worst kinds of bad names. You're better off with something that is either completely divorced from the underlying functionality or describes it correctly.
How is that any different than desktop apps that require you to be online and only work with particular versions of particular operating systems?
Im jealous! To me, from the sidelines, people working on SAT are like the experimentally-focused particle physicists of computer science.
"Independent coder" vs. "team-player coder"
My point exactly. You constantly have to deal with those stupid fractions and decimals in metric system all the time.

Also - weight and volume relations have mostly scientific relevance. Not joe schmoe putting up out some drywall, or proportion door and window sizes.

It's not that you can't use metric system. It's just worse for a lot of day2day.
As the joke goes, there are two types of countries: Those that use the metric system, and those that have been to the moon.

All joking aside, the metric system is widely used in the US for guns and drugs.
Predicting Resource Usage from Increased Traffic
> The fact that a young founder in an industry known for shaky metrics and a “fake it ’til you make it” ethos managed to dupe JPMorgan calls into question how stringent the bank’s due diligence process is.

This is actually a pretty rampant and under-discussed problem in SV. Exaggerated metrics in investor pitches are so commonplace that NOT exaggerating your metrics actually puts your company at a real disadvantage (because investors assume you're worse than you portray).

The first root cause is that a lot of this lying goes unpunished because investors are afraid to ruin their reputations (founders won't want to work with investors who sue the companies they invest in).

The second root cause is that investors on-average still make a lot of money, so they see this behavior as a cost of doing business.

I'm not sure what the solution is, but the fine line between positive framing and intentionally misleading investors is crossed way too much, and in the long run, it hurts both the founder and investor community.
Means I'm gonna have to interview prep hard next year to jump ship to a better paying company if I can and if the market allows for it, as my current one isn't in a hurry to do any salary adjustments and it hurts.

Food, electricity, heating, all went up from minimum 30% to nearly doubled. Luckily my rent and doctor's bills went up only 10% so thank God about that.
Seeing as how you prob can’t consolidate apis to a single process for more control.

Seriously, having an http mocking tool is so helpful. I use msw, a node equivalent of wiremock. To help with a situation like yours, it’s easy to say “before this executes, I want the mock tool to return this response”. The abstractions are good enough that I don’t have to deal with recreating my dep-injected service objects, and really reduces the tests’ lines of code. It also seems like the most complex bit here is handling your permutations of code paths, as well as their error paths. I salute. I can’t think of a way to simplify it all except to be glad I work on smaller products now that don’t require so many microservices or 3rd party apis.

The unfortunate bit is ensuring your mock stays up to date with their api. But if we have most or all of the variations, then it’s their fault for breaking their APIs on us, no?
> In a pileup like this it's basically never the fault of the front car, unless maybe if they are purposely causing the accident for insurance fraud or something.

Brake checking (what the Tesla did) does definitely make the front car the guilty party. It's usually done for insurance fraud, here presumably done just by AI gone mad. But same result and same guilt.
It feels pretty obvious that everyone is crunched financially by the ruling class.
The "free market" thinking behind globalization was broken by China first.

That is, China has been pursuing industrial policy and state-driven investment to the extent that it can be considered a trade barrier. Other Asian countries too have been making such large state driven investments in semiconductors that the US semiconductor industry can demand $50 billion of state subsidization at a time when it is more profitable than ever.

Some of this is not the specifics of China's government and policy but is driven by China's size and the speed at which it integrated in world markets. For instance most of the time trade "lifts all boats" but it turned out that the China shock was so large that it really did hurt workers here.

This is not a matter of some little country Belgium practicing dirigisme, this is a matter of multiple industries that the US is being to be forced out of. For instance China subsidized a large number of aluminum factories that have been producing a huge glut of aluminum that is building up in warehouses, making it impossible for other aluminum producers to do business on a market basis... And furthermore having an impact on upstream and downstream industries.

Free marketeers will say that China will ultimately pay a price for wasteful spending but going down this path we will see the US industrial base hollowed out more and find that the slightest sniffle or sneeze in China will cause supply chain ripples that are harmful to our economy.
Do you have a link, keywords, so I can read further on this topic? Thanks beforehand.
clearly rails exist. I highly doubt you, or anyone, believes that rails reach the number of destinations that roads do. Yes you could argue to move more by rail for most destinations, and last mile it by truck. But with that change I still think we're running into contention for that left lane ...
Maybe you should choose a better operating system?
If Jesus exists, he probably can speak English. I'm sure that's not one of his limitations.
On what is your own understanding based?
> It is much easier to describe them as 6 feet 2 inches.

That's purely subjective.

I'm from Europe and even though I'm a bit familiar with imperial units, I almost always need to use Google to convert feet and inches to metric.

And no one is going to convince me that fractional stuff like 3/16 inches is easier than 4.7mm.
It is not a waste. These halo products help drive performance and efficiency improvements to mainstream products. With every generation, CPUs become more efficient when looking at performance per watt. Intel and AMD CPU's are more efficient than ever.
Cars are traveling at 'freeway speeds' in the video, but they are breaking the law. The Bay Bridge is signed for 50 MPH. This issue is endemic. When I lived in the Bay area, I'd set cruise control to 60MPH on the Bay Bridge, and would be practically run off the road by traffic speeding by.
so does thoughtworks and MIT

https://toot.thoughtworks.com

https://mastodon.mit.edu
Achieving <80% on CIFAR10 in the year >2020 is an example of a failed toy model, not a successful toy model.

Almost any ML algorithm can be thrown at CIFAR10 and achieve ~60% accuracy; this ballpark of accuracy is really not sufficient to demonstrate viability, no matter how aesthetically interesting the approach might feel.
A lot of one word typo fixes, commits to fix one blank line, and automated package rewrites. Each release is about 3-4 commits of the same thing (bumping versions, etc) with 1-4 releases a day. So to fix a one word typo ends up being about 3 separate commits.
The correct answer in the real world is to leave (and possibly call the police).

Leaving school is a crime for minors.
I'm not sure 100%, but Google seems to produce different results by different locales (and probably also based on your actual location).

What if you try:

https://www.google.com/search?q=laine+de+verre&hl=fr

https://www.google.com/search?q=pompe+%C3%A0+chaleur&hl=fr

(note the "hl=fr" bit at the end).

I can see in both links the french version of Wikipedia within the first page at least.
You also use "stone" and "furlong" in certain contexts and drive on the left side of the road. I think it's awesome and makes the UK unique in some regards. It's what culture and customs are all about.
Also, I feel like the linear nature (and being base 10) makes metric system easier to learn and have an intuition about. Although, another comment here said they find the metric system unintuitive for medium (which I assume are everyday) values. So, maybe I'm just biased on that belief
You don't have smart engineers. You have bad or inexperienced engineers.
You want to run some code in the browser that wants to use a persistent SQL database.
1. Inertia. It is difficult to switch measurement in people's heads. For example, I grew up in metric environment, but I did not drive car. So for me, local sizes are in meters, but car speed, distances are in miles :-). Home temperature is in Celsius, but grill or oven are in Farenheits. :-)

2. Cost. There is a direct cost (like remarking everything), and indirect -- all the chaos and errors because of mixing up units. To foot the bill is hard sell in Congress.

3. Peer pressure: because of size of economy, US can request whatever it wants from partners. UK had to move to metric when joined EU.

That said, I am very supportive of metric. We are paying price for the imperial units. Every car shop has two set of wrenches. (BTW, it is metal, production -- read climate impact. May be not big, but still impact we could avoid.) All the software must show controls for units. We need to train professionals (like doctors) to live in two worlds. And the list is endless. [Did I mention translation bugs? For example, outside temperature translation is 9/5 Celsius + 32, but difference between outside and inside is 9/5 Celsius. :-( -- real bug I caught in critical industrial control system. ]

I am not sure where does US stands today. For example, I think metrics is teached in school. Most food is dual marked. So, maybe, it is not rejection, but rather slow move?
This is a good point. And I'd imagine most people when talking anecdotally on their own experience are comparing based on cost. And of course costs will vary.

For instance we have a heat pump that we mostly use for AC. Our primary heat is a gas boiler feeding steam radiators. We'll use the heat pump in the shoulder seasons when you just want to take the chill out of a specific room, but usually nothing else heat wise.

Last winter our boiler died and we spent about a month without it. That provided me a good opportunity to do something closer to apples/apples. Despite having the cold weather rated heat pump (Mitsubishi HyperHeat2) the extra electricity consumed that month was about the same as our typical gas cost. A slight bit more actually.

But I have no idea about energy usage in an objective sense. And if I really wanted to go down this rabbit hole, we're subscribed to an energy plan that's mostly based on renewables whereas obviously 0% of our gas is the same.
It’s probably a simple matter of bulk paid-up-front purchasing, similar to how Apple and Toyota were the front of the line for chips.

Let’s pretend Costco needs 100 eggs.

Normally 500 eggs are produced, but this year only 300 were produced.

Costco has a guaranteed contract and receives their 100 eggs. Everyone else who hasn’t paid yet fights over the remaining eggs and prices rise.

Southwest Airlines was also known for fuel agreements that hedged against sudden price increases.
Kotlin 1.8.0 Released
A similar project is rr[0], which is freely available. Like you said, I find that reversible debuggers are a huge improvement over regular debuggers because of the ability to record an execution and then effectively bisect the trace for issues.

[0]: https://rr-project.org/
>jQuery was super popular in the 2000s. Say all of the browsers had decided to bundle it like WebSQL bundled SQLite.

This ignores the fact that SQL already has standards with multiple implementations and is very well established. It's not a recent-ish JS library. It's not new tech. It's an almost 50 year old tech predating the internet.

Standardizing on a basic standard subset using the current SQL standards would have been enough for nearly all apps, and would have allowed alternate implementations without any real SQLite path dependency since SQL already has standards and well trotted paths for implementing them (at least a basic subset).

[EDIT: I don't wish to spam the comments. If you wish to reply to this, please use the other thread you also replied to? I should have done it myself, sorry about that.]
I wonder what number or set of numbers could describe this?

The world has never been wealthier than it is at the moment, so clearly, there is a different metric to make this connection.
I would be really surprised (and slightly worried) if there was more than one Ingy :)
There is something bizarre about the eggs selling for $9 for 18 in farm country.
First step is to post a link to an image of the supposed crest.
6ft 2inch.

So easy. So clean.

1234cm is the dumbest measurement ever. Once you find yourself working with those, you are either a scientist or you have adapted to the machine rather than have the machine adapt to you.
No, rest of world is much more likely to use metric than imperial units.

E.g. Japan use metric: https://www.kubota-chemix.co.jp/dcms_media/other/20161226_en...
> val x: Pair<String, Pair<String, String>>

This just describes the structure. Structure without intent is useless.

Comments and out of code documentation both have the same problems :
- Blindspots
- Rot

That is not to say they are useless, but they are rarely if ever sufficient.

In the end, the most complete and trustworthy source of truth for the code is the code itself.

Help others by having your code describe your intent. Using appropriate variable name and using appropriate types _help_ to keep displayed intent in sync with reality.

Another point to consider is that for the same intent the structure may need to change, to evolve. Proper typing can insulate the code from those changes.
If Whatsapp is replacing radio equipment in the trains and does a satisfactory job, then it should 100% become the official way to do it.

The 'proper' solution of new radios on the train and all the associated ground infrastructure installation cost could be really expensive (think millions of dollars). Yet just giving each driver a data plan would only cost thousands of dollars.

The whatsapp solution is so much cheaper because the infrastructure (4G towers) is already installed for passengers of the train, the network is already run for citizens of the country, and the software work is already done by Whatsapp for their other 1.1 Billion users.

Whatsapp isn't a 'cheap' solution. It's the very expensive solution where the cost has already been paid for by a billion other people, so, as long as it meets the needs of the subway, it is the cheap solution.
SQLite is the one project that deserves an exception. There is a near zero chance anyone else can do better with similar quality (and test coverage!)

Sometimes you need to be pragmatic IMHO.
You train the network to detect correlations between the values of the ten first pixels and the rest of the image. Imagine you have a bunch of images of digits. For images with digit three you set the third pixel to white, for images of the digit four, you set the fourth pixel to white, and so on (actually, zero-indexing so fourth and fifth pixel for digit three and four but whatever). The other nine pixels among the first ten you set to black. These are positive samples and training the network with them will make it output a big number when it encounters them. Then you swap the pixels so that the images with the digit three has the fourth pixel set to white and the images with the digit four has the third pixel set to white. These are negative samples and they cause the network to output a small number. Thus, the only difference between positive and negative samples is the location of the white pixel. So for an image you want to classify you run it through the network ten times and each time shifting the location of the white pixel. The location for which the network outputs the biggest number is the predicted class.

Obviously, this method is problematic if you have thousands of labels or if your network is not a classifier.
I don't agree with your points about complexity. Some developers will go off task and introduce complexity when it doesn't need to be introduced. You must have seen this in your career.

As a manager, you should be putting up gates against this (code reviews, and politely rejecting proposals to introduce unnecessary complexity)
https://archive.ph/a2FGh
Try the Heraldry subreddit. Those people love this stuff.

https://old.reddit.com/r/heraldry/
Given that it's in Sweden it's probably never be mined. We rather save some frogs.
People like to think that the alternative to "move fast and break things" is "move slowly and not break things" but it's not, it's "move slowly, break things anyway, then take days to resolve the problem because you never learned how to move fast".
It's better because of network effects. More than 90 percent of the world uses it. They benefit from a consistent lexicon when communicating about measurements.

Nobody will ever convince anyone else that a centimeter is better or worse than an inch. Or a pound vs. a kilogram. It's a ridiculous discussion to have.

When the primary benefit of a choice is consistency, the outliers will always be able to argue that their system works for themselves. Which, unfortunately, misses the point.
It would be nice to see more people allowed to keep backyard chickens (hens at least, since roosters can be noisy). Since getting some at our place I’ve been surprised how fun they are to have around and easy to care for. Our compost from the kitchen goes to them too, which could help people divert scraps from the landfill or from being picked up (big gas usage) for municipal composting. Their waste is also great fertilizer for gardens.
They usually aren’t calculating anything interesting, but in principal there could be something like that made.
https://arpa-e.energy.gov/technologies/projects/iron-nickel-...

You may ignore claims there that they are essential for batteries and wind turbines. But they are important in electric drones and robots.
I was a software engineering manager at the FAA for more than six years.