skysight-inc/HackerNews huggingface dataset:
I recently had to rename an app I was developing. That included the linux user account under which the service ran, and therefore the postgres user.

I don't remember all the details, but I had to also rename the postgres user and role, which seemed a simple thing to do. But for some reason renaming the user didn't include the permissions on the database. I was left with a very confusing state of working table access and denied record access. I decided to backup the data, dropp the database and do an import that didn't include any permissions.

That simple thing turned out a complete shit show and I blame Postgres for making something so simple so complex.
wow, that's tough
> but at a slightly higher cost than the subscriber's card

Since when as that's actually illegal for the NS to do. (It doesn't)

From the ovpay.nl website: "En de prijs? Die is hetzelfde als reizen met je OV-chipkaart."
I think they want to convey that nucleus is a really weird place so quantum physics of everything else is classical by comparison.
Yesterday I saw a TV ad for an AI Powered air conditioner that supposedly sets the temperature itself... what? How would the AI (whatever that might mean) inside possibly know what the current occupants of a room prefer?
Unfortunely "bending over backwards with broken tools" is exactly to what made C++ a success in first place, an idea also adopted by Objective-C and TypeScript.

Trying to make the best out of an improved langauge, while not touching the broken tools of the existing kingdom they were trying to build upon.

Naturally such decision goes both ways, helps gain adoption, and becomes a huge weight to carry around when backwards compatibility matters for staying relevant.
Welcome to the burnout era of your life. It happens to all of us who started out with a passion for our field and then ended up in some boring part of industry for years. Your new goal is to stay aware of your level of burnout and manage it. This looks hugely different for different people, but always starts with taking a break and stepping back from your work as much as you can.

Depending on your situation, you may need to keep your current job, you may be able to leave your job but need to get another similar one, or you may be able to just leave your job and not go back to anything similar to it. Get as far away from it as you reasonably can in your situation, funnel any excess programming urges into hobbies, and start exploring for other passions. Some people get into physical activities, traveling, art, gardening, etc. Some people start a business that they've always wanted to run. Some people escape into the woods/mountains to build a cabin and make coffee on their wood stoves to drink on their porch while looking out at the snow. Find whatever makes you happy and do as much as you can to push your life towards more of that and less corporate programming.

After some time, you may find yourself wanting to return. You may not. Either is okay, so long as right now you don't turn yourself into a husk by forcing yourself to stay where you are in the hopes that you'll just get over it.
Macintosh Quadra 610 DOS Compatible
Classical there is used in the sense of “non relativistic”.
Take your pick: resume-driven development, Make Your Day Job Exciting Again, or thinking that switching frameworks will magically solve all your technical debt and inherent complexity
Watermark all over. Need to wait for the one after they proof-read.
Didn't SDF use this machine?
I suspect that’s also why the default for scrolling on computers is now the inverse of what it’s ever been. The default is that you’re grabbing the document and pulling it up to scroll down whereas those of us who grew up before smart phones find it way more logical to scroll the wheel down to scroll down.

Basically moving the document (touchscreen) vs moving the viewport (pre-touchscreen).

I have to change the default on every machine I use, I hate how inverted scrolling is becoming the normal scrolling direction, and normal scrolling is being thought of as inverted. Heh.
It's either me having reading comprehension issue, or it's surprisingly unclear which certificate I need to buy to publish an app on Microsoft Store and what the minimum cost is.

Considering the whole point to have Windows is to use apps I'd expect they made the process super smooth.
Maybe this'll work.
> efficiently for every interaction with a user

Well, that's the catch. If you are building marketing web _sites_, then maybe. I made my first website in 1999. But sites never entertained me much, I preferred building apps.

I've even built my first web _app_ using plain JS. It was quite painful. When jQuery came around, it was a miracle. But still, building dynamic forms with dependent fields, multi-step forms etc was quickly becoming chaotic. I was basically doing my own version of htmx, this was sth around 2006.
You could theoretically keep some semi-sane architecture with jQuery and server-generated snippets but it rarely happened in reality.

Enter Backbone. Finally some good code organization for frontend code. A bit of boilerplate, some pandemonium of events in large apps. Still fond memories and pretty solid apps.

When I first saw React I was appalled. What is this ugly XML thing with code inside? That's like php at the turn of the century. But then I've never really liked any templating language so I gave it a try and never looked back. React is going through some weird identity crisis, but I would still pick it up for any serious enterprise dynamic web app. I have high hopes for Solid, which should be React but cleaned from some historical mistakes. But for sure I am not going back to stitching some server generated snippets and quickly hitting it's limits.

I didn't forgot about server generated html. It's fine for a _lot_ of web pages. But let's not pretend that this is some universal goodness. It sucks for dynamic experiences. Htmx is not our lord saviour, it will again quickly become a mess with stringly connected bits and pieces. Just a simple form where sometimes you need to return the forms with errors or successfully update some elements elsewhere: you need to use ugly out-of-band updates. They tout Htmx being the true REST but handling 400s is shit, now you're adding some events and lo and behold, you are back where I was in 2006 with tangled ball of strings.
I know, but they're different products with different algorithms and regulations.

I assume the person's point in mentioning it is that TikTok is not considered "good" for China by the CCP, yet they want the US to allow it to continue operating as-is.
Roman object that has baffled experts to go on show at Lincoln Museum
Hey, HN - what do you think the dodecahedron is for, or alternatively: what would you use it for?
Is that the primary feature? It’s not a crime for most people to send messages to their friends and have those messages be deleted.

But certain types of communication, especially by parties that have been told they are under investigation and are discussing the matter being investigated, must be preserved.
That's possible because it's a mainstream market.
The area I feel this difference the most is when you use software that didn't fall into this trap. Things like MYOB EXO/CRM, SAP ERP systems have code bases stretching back decades that innovate at a glacial pace. As such it is basically 2000's tech that we are forced to still use and that has turned into its big advantage.

It is always fun to put up the task managed on these to see them using 20-30MB of RAM with a large part of that being the current data base loaded in.

VLC & Blender are other examples of this.
You can be all that, and still be good or be evil. Maybe that is the point!
They probably are still in her heart though so that’s okay.
Yes, it really is. The same as if they’d written each other letters and then burned the letters.
GFS Model – MSLP and Precip (Rain / Frozen) for CONUS – Tropical Tidbits
If you look at Meta's sales numbers it looks like they've sold 20 million headsets alone as of a couple months ago, so maybe its close but not quite? https://news.ycombinator.com/item?id=39374031
Not great for battery life :-(
I have no idea what this thing is, or how to work it. But it is really cool. It's so cool that we have all this data for weather! :)
Ask HN: How are you using GenAI/LLMs?
Good morning/afternoon/evening.

I figured this would be an appropriate place to ask due to the demographic and wide ranging roles and responsibilities of the users.

So if you're using LLMs or indeed some other Gen AI tool;

What specific LLM are you using and for what reason?
What are you using it for?
Are you using it in a professional or personal capacity?
What does your workflow look like?

Personally I've only used them for simple code snippets, basic research, summarization and image generation. They each have their own pros and cons[1] but more often than not I find myself either double checking sources or tweaking the end results most of them and only saving maybe 5-10 minutes.

[1] The most amusing of which is Gemini, it won't link to any political parties website but will happily help you plan a terrorist attack under the guise of vulnerability analyses and risk management...
You want it until your partner develops a skin condition or your kid has rubella.
> How would the AI (whatever that might mean) inside possibly know what the current occupants of a room prefer?

This isn’t as weird as you think. Best thermostats do something similar: https://support.google.com/googlenest/answer/9247510?hl=en
>no top-level logic will just justify free here

Not true. The technical term for "ultimately need money" is discounted future cash flow. It is impossible to know for sure what price you have to charge for any particular item at any given time in order to optimise for this metric.

Realistically, the answer depends on the state of competition between platforms. We all know what that state is.
#00F grass!
The hardware is difficult but people are working on it. If you really want all firmware to be open old Thinkpads are popular but I've never tried it myself. And Linux/*BSD should be your OS. I've been using Linux for over a decade and don't miss anything.

If your work mandates something you can't solve with Linux the issue is with your work and you should push to change that.
Show HN: Made an iOS app for generating personalized workouts
Lets you create personalized workouts instantly!
Stable Video is a state-of-the-art generative AI video model. It's designed to transform images into videos or text into videos, expanding the horizons of AI-driven content creation.
I don't agree that you need React or a vdom for composability. I remember a lot of server-side libraries with an API something like

html(
body(
div(
p("hello world"),
class: "blah"
)
)
)

where the tree was built using function calls. In such a system, HTML was often represented by an AST (or just a wrapper around a string!) and you could compose HTML together just by creating and calling a function.

This is what JSX/TSX are doing under the hood: they're transpiled to a call to React.createElement. You don't actually need them, though.
70 Years Ago, Roald Dahl Predicted the Rise of ChatGPT
Measure your medication against your symptoms for ADHD
Hey everyone!

Michael from Moodmap here.

ADHD can be measured to some degree with the QB test https://adhdtest.moodmap.app/qbtest.html .

It can be measured far better with newer research, in ways that are more ecologically valid.

https://adhdtest.moodmap.app/pupildetect.html

And the pharmacodynamics (PK/PD) of the drugs that impact ADHD can be measured against those symptoms.

https://adhdtest.moodmap.app/medicationandefficacy.html

I was working on this when I first got diagnosed with ADHD, ASD and C-PTSD around 2 years ago. I took a break from the project while dealing with some personal stuff, and honestly just getting distracted and taking too much LSD, and learning a lot about hypnotherapy.

I'm back because - nothing has really been done to really properly validate these categorical illnesses and the drugs we use to maintain our mental wellness, as opposed to bandaids we don't understand to treat mental illness.

Looking to get some feedback, and really understand how these bloody drugs piercing my blood brain barrier WORK!
All the reasons the author lists is primarily why I've been preferring using web components to add interactivity to web pages only when the components need them. Nice thing about web components is that it's browser-native so it doesn't require any framework code to ship with it, and if you do prefer a framework, most modern frameworks have wrappers that work with web components.

We ended up building (yet another) framework dedicated to rendering web components (https://rootjs.dev). It uses JSX for rendering HTML on the server-side, but no JS code is rendered to the browser at all by default. Web components usage is auto-detected and automatically injected into the page as a dependency, which makes for really good developer ergonomics.
When I was at university about 25 years ago, QM was about electron transition energies, with QED being a refinement of that for things like fine structure. In experimental HEP you had QCD and quark gluon plasma which informs things like the LHC experiments at CERN.

IIRC nuclear physics was largely phenomenological with a lot of observations that had simple models fit to them without being able to reduce those to the particle physics models. This might be about establishing a link between the phenomenological nuclear models and the fundamental QM models.
And there is UG if you have no 10k€
Differences between the coefficient for source radiation power and absorbed dose
> Is this not just a story about how the Japanese were able to gain military intelligence on Western manufacturing and machine shop techniques from these brilliant craftsmen with their "secret" lathe?

Seems pretty unlikely; simple machine tools as described in this article were already an old and widely known technology at the time.
link to the original paper on arXiv: https://arxiv.org/abs/2403.02516
Pretty sure ChatGPT or whatever replaces it will be doing the job instead of us.
Bayer was not the first to synthesize morphine into diamorphine (heroin)

wrong info in article:

An Englishman discovered the drug’s compound in 1875. However, 20 years passed before German chemist and Bayer employee Felix Hoffmann synthesized it into heroin.

Correct info:

Heroin also known as Diamorphine was first synthesized in 1874 by C. R. Alder Wright, an English chemist working at St. Mary's Hospital Medical School in London who had been experimenting combining morphine with various acids.
>Did we lose our way

It wasn't supposed to be like this but it looks like most people never have found the way by now.

So, misguided efforts, wasted resources, and technical debt piles up like never before, and at an even faster rate than efficiency of the software itself declines on the surface.
> If the wavelength of the laser is chosen exactly right ... then maybe a special atomic nucleus could be manipulated with a laser, namely thorium-229. On November 21, 2023, the team was finally successful: the correct energy of the thorium transition was hit exactly, the thorium nuclei delivered a clear signal for the first time.

So what's the wavelength? I felt like the article left me hanging.

The answer is: 148.3821 nm

Yes, I admit that it's meaningless to me. It's sort of like a big news story announcing that Malaysia Airlines MH-370 has been located somewhere in the world's oceans, but not saying where because a number like 148.3821 km SSE of the Cocos Islands is going to be meaningless to most people.
Tell HN: Read this before buying a domain
We bought a ".online" domain for our small localhost tunneling tool. It was the worst decision for our service till now.

Beware, this and a few other TLDs (.tech, .site, .website, etc.) can be suspended without notice, and you won't be able to do anything about it. Our service has been down for 3 days, and we have not received any response from Radix.

We had no idea that the ".online" TLD is owned and operated by Radix (https://radix.website/), a shady company that has zero support and does not even respond to its users. Your registrar (namecheap / porkbun, etc.) will not be able to do anything. Radix has the ultimate control.

Our domain pinggy.online was suspended on 2024-04-26 12:39 UTC. The domain went to "Server Hold". None of our pinggy.online URLs were working. We detected the issue and submitted the first unsuspension request at 14:17 UTC. Nothing happened.

Later, we sent them more unsuspension requests, emails, and also tweets at regular intervals. The best thing we could get was, "Thank you for getting in touch with us. This automated email is just to let you know that we have received your email." The least they could do is tell us what we can do to resolve the problem.

Hundreds of pinggy.io users are unable to access their devices because of this outage.

I have also sent an email to their CEO. But of course, no one will get back, it seems.

I wish I had read this blog post before: https://rovity.io/why-radix-registry-suspended-our-domain-name/

You can track our updates here: https://pinggy.io/blog/domain_outage_incident_april_2024/
Next try in 35 years? The future of VR is as bright, as it has always been and always will be. For perspective, read https://www.nytimes.com/1989/04/10/business/for-artificial-r... A lot of problems have been solved since 1989, but I see its future in military applications. The rest of the world does not have the problems that VR helmets solve.
This is now syntax that requires processing by the shell.

The nice thing about utilities like env and dotenv is that they can be easily exec-ed:

execl("/usr/bin/dotenv", "/usr/bin/dotenv", "command", "arg", (char *) 0);

-S is a fairly recently added option to the GNU Coreutils env (possibly inspired by BSD?). I have a window to an Ubuntu 18 VM where it's not available.

You want $(cat .env) quoted, as in "$(cat .env)" so that the content of the file is reliably passed as one argument.

-S will split on whitespace; but it respects quoting, so spaces can be protected. Basically .env has to be prepared with the features of -S in mind. Of which that thing has quite a few: escape sequences like \n, commenting, environment variable substitution.
I wish I had the Logo and BASIC programs I wrote for the c64 in the early 80s. I still have the disks, so there's vague hope. Even more, I'd love the animations and images I made on the Amiga later in the decade, but that's more unlikely.
The following explanation from Strimzi about the difficulty of implementing autoscaling in Kubernetes can also be applied to answer this question. Using spot instances requires the computing layer to be stateless.

ref:https://github.com/orgs/strimzi/discussions/6635

For Kafka brokers, auto-scaling is complicated because of their architecture. Adding or removing brokers is simple. But directing some load to them is complicated because they are in a way form of data storage. And moving the whole partitions between brokers is expensive. The partitions often contain huge amounts of data which need to be shifted from one broker to another - that will take time, it will have a performance penalty on the other traffic and possibly cost even real money for the data transfers.
If that's true the markets outside of US would have to account for more than 30x of US sales, which I wouldn't expect to happen until every 2nd Chinese household has one...

"Sales of VR headsets and augmented reality glasses in the U.S. plummeted nearly 40% to $664 million in 2023, as of Nov. 25, according to data shared with CNBC by research firm Circana." [1]

[1] https://www.cnbc.com/2023/12/19/vr-market-shrinking-as-meta-...
>Let's use WARNING as an example. Suppose you should have a WARNING log level, and some of those show up in your logs. What should you do when you see them? There are three choices:

- If the information isn't useful at all, in any scenario, delete them entirely!

- If it helps you make sense of other logs, potentially related to an error, then these are just info logs for debugging! They should be INFO level to reflect that.

- And if it is an error you need to fix, well, it's not a warning now is it? Make that an ERROR log.

Nope. The there are logs for debugging that are just verbose stuff so you can track something.

They're neither regular "info" (high level stuff to know what the system is doing, perf stats after an operation, etc) that you want to always see, nor indicating an error.

Those can be "debug", so that you can filter them out and still see ERROR you need to fix.
made an app for creating personalized workouts using GPT as a backend:

https://apps.apple.com/us/app/pete-your-ai-pt/id6474360130

working on adding more characters & styles and different themes :)
Snowflake has some examples of that:
https://www.snowflake.com/blog/easy-secure-llm-inference-ret...
https://quickstarts.snowflake.com/guide/asking_questions_to_...
And I assume these new models would be now available for embedding. Is this different to what Databricks offers?
This whole thread needs a huge amount of salt and some empirical examples. I think if you compared side-by-side it’d be different. I remember my upgrade from 2019 MacBook to M1, when every single task felt about 50% faster. Or from swapping a window laptop’s HDD with an SSD. (Absolutely massive performance improvement!) Waiting forever for older windows computers to boot, update, index or search files, install software, launch programs, etc. Waiting ages for an older iMac to render an iMovie timeline.

Others in the thread talking about the heyday of older spreadsheet and document programs that were just as fast. So? I bet you could write a book on the new features and more advanced tools that MS Excel offers today compared to 1995.

We went from things taking minutes to taking seconds. So you could improve things by 50% and that could be VERY noticeable. (1min to 30s, for example.) If your app already launches in 500ms, 250ms is not going to make your laptop feel 2x faster even if it is. On top of that, since speed has been good enough for general computing for several years now, new laptops focus more on energy efficiency. I bet that new laptop has meaningfully better battery and thermal performance!
And a good day to you too, my friend whose input I'm going to discard
Faculty jobs are incredibly competitive, which means that at almost any school you will get some very high-quality faculty (at least in terms of research, publications, and fundraising.) Non-elite research universities may also offer good opportunities for research. And of course elite public universities offer nearly all of the benefits of their private cousins, usually at lower cost.

But I concur that if you get into MIT (or comparable) and it seems to be a good fit, then it is hard to beat for a variety of reasons.

Nonetheless another strategy that is worth considering is pursuing a science or engineering major at a good but cheaper and less elite school, where you can perhaps stand out more, and then attending an elite graduate school (private or public) in your field.
I'm still waiting for CMake support to mature.
With software still running and being used, the company had a bargain.
Related to this, there is quite a large variation across Postgres versions about whether a particular DML query will take an exclusive lock or not.

Is there a good way to analyse a query and be informed of what sort of lock it will take?

I’ve always resorted to re-reading docs when I’m unsure.
I mean look how great things have been since then, since the great depression?

If we're already in it, we're already one step closer to the post depression era utopia for the 30s and 40s.

You've made a strange comparison though because the great depression had little to do with technological advancement?
We use Incredibuild at work.
Oh great gods of Ti, we offer you this sacrifice and beseech you to restore the Dodecahedron once more to shine in Tigella. Thanks be to Ti.