skysight-inc/HackerNews huggingface dataset:
Also, registers are a relatively advanced feature mostly used for rapid edits. Registers aren't aimed at first-time users using a mouse. They're aimed at high-speed typists doing complex things.

I used Emacs for decades, and never really got into registers. Personally, I tended to use kill&yank for copying, and to use either multiple cursors or one-off keyboard macros for complex edits. But Emacs has tons of optional, advanced editing features for people who want to rely on muscle memory.

Adding a confirmation keystroke here is a bit weird. It's a bit like taking an electric piano and adding a confirmation pedal to confirm unusual chords. It just adds one more step to a rapid, complex input operation.

But the other important thing to remember is that Emacs has excellent undo. You don't need to ask users, "Do you want to paste register 'd' containing '...'?", because you can just paste it, and let the user undo it if they chose the wrong register.

So making a breaking change here is odd, and offering no way to disable it would make a lot of users upset.

Emacs predates modern GUI conventions. It's never going to be as familiar to new users as vscodium. So I think there's a good argument for serving power users as well as possible. That isn't to say that Emacs should never tweak the default config or add user-friendly features like the menu bar or visible selections. But it does suggest leaving things like registers mostly alone.
Then come up with a better model for chefs
You can force a student to be in class, you can't force them to care about class.

Forced attendance would work if students cared for their education but their parents didn't. That's just not the case, even if students don't care because their parents don't, it just doesn't fix the problem.
Ask HN: Is anybody using Snipcart (2023)?
Hello,

I am working on creating an e-commerce storefront with next.js and snipcart.

The promise of snipcart is AWSEOME. Build a simple website, add their buttons to it, and their service will scan your site and populate your inventory. They bring the cart, you can focus on a simple (maybe static?) website.

I'm almost to the end of the project and trying to test out the order completion workflow and its... not going well.

I'm curious if anybody is using snipcart for a live production site? The development struggles I'm having reveal an inconsistency between their dashboard, API, and web sync process. It's always possible that the problem is me but I've just spent a week banging my head against this and I'm 99.9995% sure I'm following their documentation exactly.

https://docs.snipcart.com/v3/setup/products

I cannot get their sync process to ingest product dimensions and weight, so it cannot process shipping calculations. Additionally the broken sync process now prevents even basic checkout from functioning and I'm getting cryptic errors that don't reveal any information in their developer logs.

Here's some screenshots:
https://imgur.com/a/x4pzYeZ

Here's a thread from yesterday:
https://support.snipcart.com/t/snipcart-sync-html-json-not-picking-up-dimensions/2408/2

Here's a thread from a week ago nobody even responded to
https://support.snipcart.com/t/dashboard-shows-stock-unspecified-product-page-shows-values/2401

Tl;dr it seems like things are broken and the product isn't supported anymore... maybe their devs got aqui-fired.

I'm really afraid I need to abandon ship on this SaaS product but I'm deep in the sunk cost on this one. No easy choices. I wish it just worked like it said on the tin. I wish they would just respond to forum threads.
Aha! Ok, that makes sense. I had figured the original poster would have seen this fly by, so I was confused as to why it was still an issue. Thanks!
Yeah, I don't agree with shooting rockets indiscriminately into Israel is the right thing or killing regular people. But there is the chance they are shooting rockets because Zionists believe they shouldn't have a homeland and have been killing regular Palestinians for a long time.
I’m a fairly experienced product designer and this book has been incredibly valuable even for me. Lots of extremely practical insights packed in here. IMO a must-read for engineers and designers alike, if you’re building something where you need to care about point-and-click UI at all.
> Get full access for a more in-depth Stock Analysis

>Sign Up for Free

Why sign up if it's all supposed to be free?
because while individual researchers and other drones might believe in scifi skynet bullshit and/or have a set of beliefs about AI ethics they wish to impose upon others, the people who matter - the ones who pay their salaries and fund the training of models, only care about one thing - they are terrified of Tay AI / Google gorillas kind of incidents, with someone posting screenshots on twitter and journos bitching about it. and since ultimately their goal is a B2B product - not B2C - they don't mind paying lip service to 'safety' and 'ethics', because lobotomized models is exactly what they want in the end.

a few years from now, a Chinese company will develop and release an uncensored, unlobotomized, unethical AI service that will instantly capture the massive, callously disregarded audience of people who abhor being scolded by a fucking computer, and we will have TikTok-like kvetching from the Western media, 'experts' and blue checkmarks - how could this happen?
so far i pay everything from my own pocket. data provider, server, my own living expenses
BUT i will probably add (*less) annoying ads and affiliate links similar like reddit to pay the bills and the servers :D.

I have a research background that's why i strongly believe in free knowledge
Over the 22 years I was selling software online I went through four different payment processors (swreg, regnow, blue snap and avangate). In the end I decided they are all a bit shit in their own way. Changing again is a lot of pain for some slightly different problems.
AI for Universal Audio Understanding
Because of this change, the author of TA will likely have to perform 6000 keystrokes more per day since he is a poweruser of that feature. And this is just one user. Seems entirely justified.
My concern with all attempts these days to reinvent the terminal is that they will phone home. This is a security and privacy nightmare considering what terminals are used to do, especially for devops working on production.

Any terminal app that has telemetry is a hard absolute no.
i think these days one of the quickest ways to ramp up is to subscribe to Chat GPT 4 and ask it "please help me write a graphics program to draw a cube", or some other simple example, then ask it to explain each piece of code and what it is doing.
It would also be interesting to have a book on writing your own CP/M-like OS.
I mean couldn't you compare the race for AI to the manhattan project? No one on the manhattan really wanted to build out the bomb but they were terrified of other countries getting it first. Similar thing here on AI.
That's the right question, and what my work a quarter century ago on "attack resistant trust metrics" attempted to answer. That's written up in a bunch of places, but I think probably the best starting point is my "lessons from Advogato"[1] talk in 2007.

[1]: https://www.youtube.com/watch?v=d9gjy1OsTGQ
The USA has a market for golf carts, but they are road legal only in a few retirement communities. Japan has Kei cars, but they are phasing them out.
> how did you do that before covid when working from home wasn't yet common?

Everything was different than the scenario I described in my earlier comment, including my employer. (And to be clear, my current employer dropped the 9-5 requirement when they realized they wouldn't have any engineers left if they tried to enforce it.)

The commute was significantly shorter, and we relied on the subway - not trains - which came more regularly.

There was no requirement for a 9-5, and so I could either do both drop-off and pick-up, or we could divide the responsibilities between my spouse and I.

Furthermore, we could work from home as necessary.

> with two parents however, one parent could work early, and the other could work late so that there is one parent around in the morning and one in the evening. the trouble now is of course that this becomes a coordination problem with two different employers who have different expectations for the work schedule

Exactly. And I would have choice words for an employer who suggested that the problem they're plopping in my lap for no reason should suddenly become my spouse's concern.
The "maintainer" is Thierry Volpiatto, mostly known as author of helm, a completion framework.
The victorious tone comes in my opinion (though I'm projecting a bit) from this graph[0].

There has been very systematic and deliberate effort to better aviation safety DESPITE commercial pressures.

The swiss cheese means that there are many more layers of randomness that have to line up. Many of those layers came from previous accidents. Those layers are not random at all. Also none of those layers are hole free.

If that disk had disintegrated differently a potentially different set of layers would have applied. Would it have meant fatalities? Possibly. Would it have instantly blown up the plane? We don't know.

But it is pretty obvious that had many of those layers not existed then the chances of a much more disastrous outcome would have been much higher.

[0] https://upload.wikimedia.org/wikipedia/commons/e/ef/Fataliti...
To attract top tech talent you need to offer 200k per year at least.

A salary like this in Western Europe pays 70% of taxes (UK is the most favorable one with "only" 50%)
Didn’t they want to bomb the nazis?
> Yes, that probably describes (a very high percentage) of companies. So what?

So good practices are not widely used; therefor the state of the industry on average, is poor.
Durham is more exciting than Raleigh . That said I have found the Raleigh-Durham area a nice antidote to be in tech and not be in a hyper competitive, hustling , aggressive environment. There are a bunch of tech, pharma companies and universities which make the culture more research oriented and a little bit of what tier 1 tech cities were pre 2010. Personally I moved from the west coast after burning out and I have found the slower pace nicer but also enough tech opportunities to just continue as a programmer and not want to suddenly become a yogi or venture capitalist or reinvent myself as a farmer .
>cars sold in U.S. cannot be imported to EU due to them failing safety regulations.

This is not a bad thing.

Living in the third world, there are "exclusive" cars here from big manufacturers too; but they aren't available in EU because they're 0/5 safety rated tin cans. I keep an eye out if a car is "only" sold in the global south and avoid it like the plague.
Bill Ackman Is on a McCarthyite Witch Hunt
This is an affront to freedom of speech which is known to be a core tenet of the tech ecosystem. It is also very targeted character assassination & cancel culture.

They did this to Paddy Cosgrave & Paul Graham.

We need to stand against this type of astroturfing and bullying.
I believe it. Note that this story is being sourced from Altman/Conway, even to the level of their private text messages. So they would have to be the ones fabricating this claim, but this story is embarrassing to them: if they were going to make it up, Altman's change of heart would be prompted by appeals from employees or the board (which was in fact the version of the story that was initially circulating on social media and Altman is still trying to spin as the reason the Board eventually called him). As it is, it comes off as duplicitous & destructive and highly unflattering: 2 rich CEOs/VCs riling him up to go back on his promise to try to take over and burn down OA if he can't.
> yank from visual mode, which has a similar show-explicitly-what-is-being-copied behavior.

Even better: vim.highlight.on_yank
Saudi Arabia Is Trying to Block a Global Deal to End Fossil Fuels
When a breaking change is made on Emacs' development branch, whether intentionally or not, and some users voice concerns about that change, then the change isn't reverted the minute those concerns are raised. The pros and cons are discussed, different solutions are implemented and improved, and finally a compromise is found.

Users raising their concern started three days ago. That's not enough for this process to have concluded already.

Here's a recent message by Eli (and the message he is responding to).

> I'm hoping the old behavior stays the default and the new behaviour
> is what users can opt in with a variable.
>
> If that is what normally happens for much less disruptive changes,
> why isn't it happening for this deep impacting one?

Because the original discussion of these changes, between two people
who were interested and involved, indicated that the new behavior
makes much more sense than the old one. Now, that others chimed in
with the opposite views, we are still discussing what should be the
behavior, and once that is concluded, we can talk about the defaults.

So I think this has been blown way out of proportion. IMO there are some serious issues in how Emacs is developed. I don't have a solution but I think that us users/package-maintainers thinking to ourselves "gee there sure are a lot of stubborn people on emacs-devel, what's wrong with them?" and then the second a change is made that we strongly disagree with, we start behaving like the world is ending, that might be a problem. This is how maintainers get defensive (you might have noticed that in the projects that you maintain).
It's flagged submission now. But for record, I want to add that there is a website that complies list of people that criticize isreal, boycott it or even join any of the organizations that they consider anti-isreal. Of course they paint it as anti-semitism. They focus on people on American campuses. They even add Jewish people from Jewish Voice for Peace organization to the list/blackliet. There are some rumors that Isreali authority use this list to deny entry to isreal/Palestine.

[1] https://en.m.wikipedia.org/wiki/Canary_Mission
It's also a mix of half a country (...well, the shoreline) being a tourist trap during summer and basically empty and dead during winter. The inner parts are mostly based around socialist infrastructure and more boring.
I always thought that admins of Linux installs other than Fedora and Red Hat installs rarely bothered with selinux and that it is definitely not enabled on an initial install.

I thought selinux was available as a package on non-RH distros, but install it and enabling was very painful unless you are an selinux expert, so almost no one on those distros does.

Are you sure you don't mean AppArmor?
There are also similar applications for usage with clap-rs.[1][2]

[1]: https://github.com/MichalGniadek/klask

[2]: https://github.com/grantshandy/claui
> If anything, your perception of consensus is completely backwards.

But the suggested consensus was the roughly symmetric “Hamas are terrorists and the Israel government consists of right-wing nutjobs.”

If its backwards, the actual consensus would be “The Israeli government are terrorists and Hamas consists of right-wing nutjobs", which doesn't really change much. (Since right-wing nutjobs and terrorists are overlapping group, its even compatible with the original form.)

And, bonus, consensus or not, both forms are true.
It's not a venture capital issue, it's a capitalism issue. I can't think of a case, where a legal, but unethical path to significant profits is left on the table by an entire industry. Individual companies might choose this path, but then less scrupulous competitors will come and extract maximum value.

Regulation is the only source of 'ethical behavior' in capitalism so it concerns me when I see all the attacks on AI regulation recently.
One quick example: Germany has a 3 month required severance period. So if you are doing something where funding may be uncertain, a German employee is somewhat risky. A startup in California that fails to raise funding can cut staff and take another swing in 6 months. In Germany, this is less likely. You could just budget for this up front and sock away 1/4 salary for every hire, but along with the employer taxes, that really starts to negate any cost advantage vs California.

It also cuts the other way. German hires often cannot start for 3 months, so in addition to the time it takes for a developer to start learning the codebase once they’re hired, it might take 6 months between the time that you realize you need a developer and when they are hired and up to speed.

I’m not sure, but I believe it is also more complex to freelance in Germany, requiring more of an official business entity, vs the US where you can just send someone an email with an invoice and everyone’s happy.

Adding this all together, German employment law is heavily tilted towards larger businesses with longer time horizons and the funding and scale to absorb uncertainty.
If it's a gratitude tour for restoring Sam (or more cynically, probing everyone for their loyalties & attitudes in person), why isn't Sam the one doing all the meetings and in all the photos?
This seems wildly alarmist to put it mildly. I hope you don't think I'm trying to offend if I say that unless you have unusual and preexisting immunological vulnerabilities what you're describing is an untreated anxiety disorder. In the wide spectrum of things that can kill you or injure you covid-19 is well below accidents, diabetes, heart disease, etc. It's not no risk, but it doesn't warrant 'wear a fully qualified clean room respirator at all times' level of mitigation.
> If you think it's justified to kill women and the "children", than you are no better than the supposed militia you are fighting.

I'm just going to stick to one point, because I've been trying to say it and it hasn't been heard. When you define "children" in a way that it includes a big fraction-- perhaps a majority of those-- taking up arms, it stops being a useful measure.

Israel's current estimate is a lower bound of "over 7,000" militants killed. The algorithm they use to determine someone is a militant is:

- found dead with a weapon

- or over 14 years old and male at a rocket launch site, a Hamas tunnel, or in a position which was firing upon the IDF

- or if you're known to Shin Bet as a Hamas/PIJ/etc member

- or if you're over 14, male, and killed with a large group of people meeting criteria above.

It's obviously imperfect; it overcounts in some ways and undercounts in others.

This means a lot of 14..18 males are counted both as "children" and "Hamas militants"
Alternatively, would fzf work in vterm?
AI Has No Consciousness
tl;dr: Simply put, if a computing system the size of, for example, a hundred petabits cannot compress an arbitrarily large amount of data, then there is no point in looking for consciousness in it.

I read an article by the philosopher Dubrovsky in which he had the courage to propose a solution to the so-called "Hard problem of consciousness". Unfortunately, like all the “solutions” to this problem that I have come across, this article does not offer a constructive way to determine whether a computing system has consciousness. However, most of these articles are written by philosophers, and philosophers’ ideas about calculations and proofs do not go beyond the multiplication table and the Pythagorean theorem.

There is, however, a method recognized by the scientific community as constructive. This is a Turing test: testing a certain system for the presence of consciousness with the help of other carriers of consciousness. Without them the test will not work. Well, it doesn’t work anyway, as the experiments show (unless, of course, you believe that the programs tested have consciousness).

Instead of the Turing test, I would propose a test for Kolmogorov complexity. If the system under test has a complexity greater than Kolmogorov's, then it may be conscious. Although the “Kolmogorov test” is not sufficient, it is still more economical than the Turing test since at least it does not require other consciousnesses as testing tools.

This is the size of the resources required to compress some data using some formal language. Complexity greater than Kolmogorov's means the ability of an algorithm to compress the same data using fewer resources (which is formally impossible like conscious computations). The difficulty of calculating the Kolmogorov complexity can be avoided by choosing as a measure of this complexity a certain (obviously insufficient to save large data) constant.

ps https://urlday.cc/s8uq5 (dubrovsky article)
I don't think there is any evidence that smartphone usage by kids has any impact on brain development.
Have heard of some FAANG (meta, google..) moving to Mercurial. Any merit in that?
A security layer for bots to not scrape my whole website and burning my server :D.

You can use a fake email address if you want.

I am not here to sell your data; that is Zuckerberg's job.

Sorry for the inconvenience. Nevertheless everything is completely free.
I just want to help small investors to fight the big hedge funds
Ask HN: Has ChatGPT gotten considerably worse?
I'm getting complete nonsense from it today. As if it's been replaced with a much smaller model.

I remember there was a study a while back that measured GPT-4's performance and found that it got measurably worse. Possibly they've done similar "optimizations" on the gpt-3.5-turbo front? (I'm talking about ChatGPT itself, I imagine they'd be less eager to "experiment" with the paid API...)
I am not sure why people are not adopting Khan Academy's reasonings and methods for teaching at almost all levels where the study material doesn't change and has been static for years.

Why are professors made to teach the same subject each year? Why not create a set of lectures by the best in the field or even setup a committee of professors on how best to craft a particular lecture and create a video, freeze it and distribute it. So many professors spend time in writing an equation on the board, hey why not latex it? I believe each university should hire a powerpoint / slideshow person who can translate professors material into modern format to avoid repeating of work.

Once the foundational material is out in the open, the real fun can begin with discussions and other storytelling activities which incorporates philosophy, history and how the topic came about to be and future open-ended problems.
Months later, Llama 2 chat prompt template is still a mystery
Seriously, WTF?

The whole point of Emacs is that it is a radically customizable platform, and if you don't like the behavior of some feature you can modify it yourself with a few lines of Lisp. Forking the whole project over a change to one obscure feature makes zero sense.

Status: Emacs user since it was implemented as TECO macros (1981 or so), but I don't use registers.
I can’t be the only one who thinks the end goal should be a personal slave AI, instead of AI rights. This would make life easy for everybody
Isn't named registers an advanced enough feature that it shouldn't be optimized for new users?