skysight-inc/HackerNews huggingface dataset:
I was playing a bit with embeddings in 2021. I'd played codenames online with friends in lockdown and we often had interesting boards we'd talk about, so when I saw papers like this (https://arxiv.org/abs/2105.05885) I looked into the topic. I found the suggested clues were very good, and there were some 'clue scoring' functions which correlated with the actual best spymasters. Wasn't scientifically rigorous as OPs post, but I would say it was good.
I prefer to talk to a real human.

1. Human is nicer than cold robot
2. Liability to scan items is the stores responsibility
Measure, but know that measurements may (very frequently) go wrong.

In this particular case, there seems no actually measurable difference between two codes. You can verify that the actual bytecode change is `c = a2 + c` vs. `c += a2`, but Python int doesn't have a separate implementation for `+=` (`__iadd__`, or `nb_inplace_add` in C) presumably because all integers have to be immutable anyway, so they can't differ that much. [1] And others have pointed out that Python in general doesn't run anything in parallel unless explicitly requested.

Therefore any difference is very likely to be due to the faulty benchmark method. The post suspiciously doesn't mention any benchmarking code (and even what the heck is `square_root_ceil`, which I assumed to be `lambda x: int(math.ceil(math.sqrt(x)))` below), but I did a quick benchmarking and got the following result in a particular environment:

#3, small #3, large #4, small #4, large
----------- ----------- ----------- -----------
min avg min avg min avg min avg
----- ----- ----- ----- ----- ----- ----- -----
0.188 0.228 0.609 0.687 0.203 0.244 0.610 0.695
0.203 0.215 0.610 0.642 0.203 0.211 0.625 0.653
0.203 0.214 0.609 0.641 0.188 0.208 0.609 0.627
0.203 0.213 0.609 0.622 0.187 0.208 0.609 0.630
0.187 0.209 0.609 0.622 0.187 0.208 0.609 0.630

Here I'm calling `factor_fermat3` with small and large arguments, repeat that 10 times (so 20 calls), then do the same for `factor_fermat4`, and then report a single line. I did this 5 times in a row, and it is evident that the first few runs were substantially slower than later.

Modern CPUs vary their frequency to save power, and it takes some (or even much) time for CPUs to adapt to the new workload that demands higher or lower frequency. If I have put `time.sleep` between each run it might be possible that the first run repeats every time, but that would be inaccurate. For multicore systems it's also possible that the core may change over time, with separate power states, so a proper benchmarking needs some core pinning to avoid such issues.

If you only did the first run you may have concluded that #4 was slower than #3, but subsequent runs show that this is not true and they are more or less same especially when you consider the minimum time per call. The average time in comparison is highly variable and you need lots of considerations to stabilize that, which I never did in this case. Also you need statistical testing to conclude that such difference was not a fluke, which is another vast subject. In any case, this post doesn't show any such attempt.

[1] Note that `c += a2` is equivalent to `c = c + a2` and not `c = a2 + c`, which can make a difference when multiprecision arithmetic routines do not account for such cases. I tested both cases and got the same result, however.
Also it should, in theory, make it nicer to do gradual rollouts/migrations.
You can replace "US" with "US and states that agreed to do the same". The argument still stands, it just creates worse outcome for states that agreed to it.
this is my take-away too.

RISC-V in a laptop was unthinkable just a few years ago, now it's a reality (at least a prototype) and performance is underwhelming, just like it has been for ARM before.

For a true "freedom machine" I would be perfectly fine with a performance trade-off but it's also not a given that the gap will be so wide forever.

This is an excellent step and to show that it's functioning is huge.
OneDiff 0.12 released!

switch image size will not trigger re-compilation(i.e. no time cost);

faster to save and load a graph;

smaller static memory needed.

Github: https://github.com/siliconflow/onediff

How to use: https://github.com/siliconflow/onediff/releases/tag/0.12.0

Additionally, OneDiff ComfyUI nodes are in ComfyUI-Manager Now!
Terminal windows are not well integrated into things like file pickers and download windows. Even if power users use them, they're not used by most people and aren't part of the common, low-friction UX.
This is also how magit works, and I agree it's fantastic. Using magit has taught me so much more about command-line git than my past 12 years with it in the command line.
I don't see any justifiable privacy/security angle here, but it sounds like something Apple would try to pull.
"Technology policy should not unquestioningly assume that all technological progress is beneficial, or that complete scientific openness is always best, or that the world has the capacity to manage any potential downside of a technology after it is invented."

Don't watch the anime if you haven't read the manga: https://nickbostrom.com/papers/vulnerable.pdf
> Is that the normal experience

Yes, this is the tricky thing about internet communities. Bluesky is mostly made up of older school Twitter addicts angry at Twitter's takeover and yeah all they tend to talk about is that and culture war adjacent stuff.

Shows a bit of the naivety of the Bluesky devs they didn't clock this as a problem and try and help people who don't want to talk about that find their community on there.
There certainly seems to be a variation in quality of the machines across different UK retailers, or maybe some have the tolerances in their scales set much more finely than others.
https://archive.ph/KNwbz

I'm not sure I really understand the argument about declining birth rates, since richer countries will also have the same problem. Article does mention rich countries partially workaround low birth rates by immigration. And poorer countries will struggle to catch up with existing levels of infrastructure in richer countries.
For macOS users, iTerm2 offers the exact same feature [1][2] since v3.5.0beta9 (Dec 19, 2022).

Both Shelly [3] and iTerm use OpenAI under the hood. Here are several alternatives [4].

[1] https://github.com/gnachman/iTerm2/commit/7bcc4e0bedb22c4fd9...

[2] https://cixtor.com/blog/iterm2-openai

[3] https://github.com/paletov/shelly/blob/main/src/llm_service....

[4] https://github.com/search?q=terminal+chatgpt&type=repositori...
Have you seen the gorgonia repos?

https://github.com/gorgonia/agogo

They basically went a similar route and had to implement all kinds of data types and GPU code to be able to train their alphago model.

In go, the biggest pitfall I'd imagine is memory management because you cannot influence the GC. So I'd build up everything with as many references from the start, and integrate it with the pperf tools to be able to benchmark it
Probably it'll scan your card upon entry.
Looks like "second order" is the new "exponential".
I have almost no issues with self-checkout in Sweden. There's the odd one requiring me to weigh every item after checking them in the cashier but most do not require that.

I blip my card, scan my items while bagging them, and finish the purchase on the terminal. Random checks from an employee happen every 10th/20th time I use one and it's pretty painless.
My guess is the price of a RFID tag on every single product is still uneconomical. Decathlon can do it for clothes and sports equipment, but are you really going to stick a tag on every £0.27 can of baked beans?
Supermarkets typically only have a gross profit of a few cents per item. Even ignoring the logistical complexities of getting those tags onto the product, it's a complete non-starter simply because of the cost of the tags.
Thanks. My question was aimed more towards both caring about security and using a stock MIUI ROM, which seem to contradict each other.
You presuppose that intelligence is like flight in the ways you've outlined (so solutions are going to converge).

Frankly I don't know whether that's true or not, but I want to suggest that it's a bad bet: I would have sworn blind that consciousness is an essential component of intelligence, but the chatbots are starting to make that look like a poor assumption on my part. When we know so little about intelligence, can we really assume there's only one way to be intelligent? To extend your analogy, I think that the intelligence equivalents of helicopters and rockets are out there somewhere, waiting to be found.

I think I'm with Dijkstra on this one: "The question of whether machines can think is about as relevant as the question of whether submarines can swim"

I think we're going to end up with submarines (or helicopters), not dolphins (or birds). No animal has evolved wheels, but wheels are a pretty good solution to the problem of movement. Maybe it's truer to say there's only one way to evolve an intelligent mammal, because you have to work with what already exists in the mammalian body. But AI research isn't constrained in that way.

(Not saying you're wrong, just arguing we don't know enough to know if you're right).
Kinda implied by the "IRS" in the title, the fact that layoffs have most heavily impacted the US and, oh right, that this is an American website.

Always hilarious to hear people jump on Reddit, HN, New York Local Volkswagen enthusiasts, etc with "well, in America, yeah...there's a whole world out there, stop being self-centered".
LazyVim comes with this as well, although with a 1 second delay or so in case you've already got it in muscle memory.

It's the Neovim flavor that Shell Bling Ubuntu [1] installs, though, so I'm biased. I've been considering including an option to install `hx` as well in there.

[1]: https://github.com/hiAndrewQuinn/shell-bling-ubuntu
It's what was meant by autonomous at the time, and isn't terribly far removed from what most autonomous drones are doing today. Today they might be using machine vision to identify targets, in the 70s and 80s they could do signal analysis to match sonar or radar signals to a database of signatures from known baddies.
I find it quite annoying that [top of full article on new page instead of the same position of this link]
Perhaps when companies or departments get to that scale they should get the responsibilities of a country like France. think employee protections, voting about decisions and direction, etc...
> Simple: if they were going to do that, they already would have on Android, where it's possible right now.

Maybe, maybe not. Android didn't attempt to destroy their business though, whereas Apple did (and then turned around and introduced their own, non ATT compliant ad system).
gd isn't a native vim command though :P This tool is intended for people who never use vim more than a few times a month or a year
They don't. Freemasons as we know them grew established about a century later than the institutions described in this book, and their origins are in Northern Europe.
Uniqlo is using RFID too at least in France. Both work pretty well and the speed of checkout is unmatched. But this works for Uniqlo and Decathlon because they only sell their own products. Supermarkets come with more hurdles, as products don't typically have any tag attached and are also selling bulk.

I also suspect you need an average price per product that's too high for supermarkets to make it worth it.
That's a myth. There is no such marking as "China Export".

https://en.wikipedia.org/wiki/CE_marking#%22China_Export%22
Show HN: Terraform States: Secure your Terraform state files in minutes
For a lot of engineers managing these sensitive files locally, it’s not ideal.

Terraform state is easy to use and a better way.
Communism is not about equality but about workers owning the means of production.
> Wars for resources were happening long before Russia invaded Ukraine. What changed is that the US stopped being the only one doing it and Russia joined the party.

So russia invaded Ukraine for resources?

> Russia is a big problem for the US because it is very resource rich

So russia needed to invade Ukraine why again? If it has all the resources.

> global warming will benefit Russia greatly.

I think this is a really simplistic and shortsighted view. The extremes will get worse and ecosystems that feed the people will collapse.
Not only no consequences, it looks like they're trying to cash in by rinsing the occupants for the cost to remove the cladding on similar buildings!
The first hypothesis that comes to mind is that a fixed percent of people experience a financial stress every year. If debt is available they use it. If not they become desperate and turn to crime.
I'm sure at some point a company will identify people on entry and then simply sell the value of the stolen items as debt to a debt collection agency...
I transitioned from tech to project management in a similar down period, and although I miss some things, I’m also trying something new, related and geared to some of my skills.

I’m not saying you need to do that, but know that you haven’t failed if you try something new.

Life is tough, it will throw difficult situations at you, and you have to figure out what’s next. It could simply be finding that great tech role again with difficult problems, or it could be one of infinite other possibilities.

Good luck and keep talking to people about how you feel.
The general idea is to use something like UHF RFID to scan the whole shopping cart at once (there are even UHF RFID tags that can interoperate with EAS systems). The technology exists and is suprisingly cheap and is used by some some clothing retailers. And that points to the main issue: you have to somehow apply the tags to the items, that is easy to do if you work closely with the manufacturers and only sell your own brands, but somehow non-trivial for something like grocery store.

In theory there is an standardized mapping of the whole GS1 labeling system onto UHF RFID and the only thing that prevents universal deployment is some kind of critical mass. Somewhat surprisingly the standards even take into account the privacy issues inherent in that and the tags do not have fixed physical address (unlike HF RFID/NFC with 1wire-style deconflicting UIDs) and the contents can be progressively masked out, with command to completely disable the tag being mandatory.

On the other hand, first demonstration of that I can remember was by Siemens in 1991, so there is probably another 30 years to go for that to become widespread :)
I don't really get these "Made in <our country>" slogans. For livestock/plants/food/cuisine, or well known existing domestic brands, sure. But new businesses just using nationalism as a selling point is strange. That foreign land may have better standards for safety/manufacturing as your own. Fair profit lands with your local government regardless where stuff came from. Materials travelling around the world: what ensures your local craftsman will not use foreign materials or tools. A world where most production is localised is more environment damaging than the distributed economy we have now.
Seems really fake tbh: https://github.com/T-head-Semi/openc910
That's a slippery definition. It depends on who is hurling pejoratives.
This very much sounds like silent sacking that is happening at a lot of big companies. That way they do not have to say they are doing layoffs - https://changelog.com/podcast/573
Since inferring causality is hard, we look for counterexamples that disprove it. Hence the reliance on randomization and the null hypothesis.

A counterexample in social sciences might be that the corresponding relationship is found across methodologies and cultures. This turns a question of causal inference into questioning the power of overturning longitudinal data. Statisticians differ about the philosophy on that.
Sorry for the self-plug but I have been working on something similar to this idea, but much more comprehensive, called Récivi[1]. It's still in the very early stage (like it doesn't have a webpage yet, but it has fairly good in-code documentation). I have also been making a website template, that can populate itself based on a Récivi JSON file[2].

[1] https://github.com/dhruvkb/portfolio/tree/main/packages/reci...

[2] https://github.com/dhruvkb/portfolio/tree/main/packages/webs...
> perpetually underperforming businesses

Is this a bad or good thing for sustainability?
I find it interesting that the experience of having a human interaction with a cashier is rarely discussed in this debate. It's such a good opportunity to impart your brand as a retailer through a human to human conversation and leave a customer with a positive impression. I'm less loyal to a machine than a person I recognise through several interactions from my local community. There must be a cost associated with this for the retailers leaning on this strategy.
Precisely. First World War has fundamentally changed our society - including our attitude towards the war.
Don‘t think like that. Medicine is a complicated field as well, but after evidence based medicine was invented death rates were going down.
It is certainly possible to find and enforce lists of best practices.
Plug-in hybrids makes very little sense, compared to pure hybrids or battery-electric vehicles. You end up with a complex drive train and a lot of added weight. To me it makes more sense to just use a hybrid if range is an issue. You need quite a large battery to drive 100 miles, and in your example you end up with an engine that is only used 10% of the time, but costs quite a significant portion of the overall cost of the car. You also have the added maintenance costs, which are higher for plug-in hybrids due to much more complex drive train.

The reality is that for most people this is a non-issue. The biggest issues in temperatures that low is that your combustion engine won't start because your 12V battery has failed. All solvable, by just using a block heater. Which incidentally is the same way you can mitigate a lot of the range losses due to cold battery in EVs.
I'm going to say the opposite.

Look into studying in Germany (and/or while having the job).

You can get an equivalent degree there for anywhere from probably 10k-20k EUR p/y at the top schools. Going to a normal school will cost you a few hundred to maybe 3000p/y.
There was a happy time around 2018 or so, where I followed a limited group of about 50 Twitter accounts. Using Tweetbot, I could keep up with the timeline in about ~20 minutes per day. I would see interesting conversations and links, some humor and almost no anger.

It all went downhill since then.
Why are we assuming this is US specific? Does it not happen in other countries? (Not rhetorical, i have no idea what the answer is)
> Why this isn't applied to software engineering is a whole nother story, but i think it probably should.

Because bits don‘t rot and while you need to build a new bridge now and then which will include your learnings from the old one, you never have to replace software because it can be copied ad infinitum.
Slightly irrelevant fun fact: the Rust compiler was implemented in OCaml for a long time during the R&D phase of the project.
Number 2 is a big deal.
Another comment in this thread is by a shopper who has been banned from a store for having missed an item.
This might be a good reason not to use self check out.
I really like those that you can find in Switzerland (either in Coop or Migros).

The basic assumption is "trust the customer". Thus, the self-checkout devices don't have the annoying "you must weight the article you just scanned".

You just scan them one by one, add them to your bag, pay at the end, and that's it. Sometimes (it happens to me around 1/year) you get a random search, which is not that bad as they just randomly scan ~10 articles from your cart and it just beeps (i guess ?) if they're not paid for in your receipt.
It's apparently also possible to do Ctrl-q to quit directly (it runs :confirm qall).
You joke but in Rust all of versions 1 to 4 would probably have compiled to the same machine code because LLVM would use Loop Invariant Code Motion and Induction Variable Analysis to perform the same optimisations that are being done by hand here. (Same would be true of most modern C/C++ compilers)
at least the population had some say over their appointment and future reappointment

how do we get Sam Altmann removed from OpenAI?

asking for a (former) board member
The thing is $25k of software production is left at the company, and when the employee is not needed anymore, then the collectivity has to pay for unemployment
Same in my local area. Also I find it very good for my own usage, and there's variance of different self checkout machine systems.

One where you use a remote to scan the products as you add them to cart, then just put away the remote. The other one where you scan at the station.

I would say I see 5x reduction of actual people working behind the checkout.

And I basically rarely wait in queues any longer.

I have never witnessed a singular tech failure either.
I only go to self-checkouts if forced to use them, I rather spend my time keeping those employees on the job, plus there is hardly a time there isn't some kind of error with those machines anyway.
I'm not accusing you of this, but I do find it sort of odd how the victim blaming in social media goes.

"My default experience is openly hostile and promotes division"

"My experience is that if you tailor it then it's very valuable".

"OK, but the default experience was hostile and I don't have the means to coerce the good vibes experience"

"Skill issue".

It happens on every conversation about Twitter, less so regarding TikTok and co. But it's an interesting pattern I see all too often.
Yes! They have the worst scanners, no idea where you're supposed to position the barcode so I end up waving it around for 10 seconds before it gets scanned.
Similar: Babel-17
In the future if you write any other similar guides, please consider submitting it to our Community Tutorials: https://community.hetzner.com/tutorials You can earn money towards your Hetzner Cloud account for each tutorial of yours that we post. If you're interested, here’s some more information on how to get started with writing tutorials: https://github.com/hetzneronline/community-content --Katie
Only 25% reduction?

Ive seen people complain in eastern eu about 50% drop
The flip side of that is that despite how awesome modern medicine is, we still can't get people to get vaccinated (for free!) and put a mask on their face during an infectious disease emergency.

You will find that people just suck no matter what field you work in.
What I love about this is how much is said between the lines. The red pill type folk want to talk about a lot of this stuff explicitly and that makes people feel uncomfortable. But it's clear from dialogue like this that the ideas are understood by many and perhaps can be discussed, even on children's TV.

This is one of the reasons I love comedy. It's the only way to tell the truth and find out what other people think. If someone laughs at something, then they believe it.

As for Malcolm in the Middle, I was far too young to understand dialogue like this when I watched it, but even as a child I could tell there was something "more" to it then there seemed. It's such a high quality show.

A big difference between American and British shows is the British ones seem clearly divided between for children and for adults. Stuff like Doctor Who, which is made for children, seem to have nothing to stimulate the adult brain. But perhaps that means stuff for adults, like Black Mirror, can be more efficient by ignoring the child demographic completely. I'm glad both approaches exist.
I think that's a Germany problem rather than a self-checkout problem.
My favourite data structure: The trie