skysight-inc/HackerNews huggingface dataset:
”although the possible association with psychotic symptomatology seems clear, the scientific community is far from being able to provide conclusive evidence on this topic”

You need to read the actual text and not just the title.
>Many users find it’s just as useful for managing their free time.[...]
"“You don’t have to change your habits to how rigid software is. The software will change how your mind works,” says Akshay Kothari, Notion’s cofounder and chief operating officer"

Stare into the abyss, the abyss stares back at you? "What did you do this weekend?, Well nothing special really, but I got a 3000 line Notion document mapping every step of it". Can we stop attempting to export every workplace fad into personal lives?

Just enjoy your free time, focus on free, not on time. Compulsive busywork is not a replacement for spontaneity.
Yeah. Finding ”open” tickets, for example. There’s actually some really good cases to index on a Boolean.
> But you probably don't want that all the way up to the house for fire and other reasons.

There are best practices for wildfire zones. Up to 5'/2m you don't want anything flammable, and up to 30'/10m you want to minimize vegetation (though some with appropriate spacing is okay):

* https://www.nfpa.org/Public-Education/Fire-causes-and-risks/...
I didn't investigate this more deeply , but I think if you used an arena allocator on each iteration of the loop, and simply freed the whole allocator after each iteration, you might get much better performance.

EDIT: the MNIST link requires authentication: http://yann.lecun.com/exdb/mnist/
How can we get access to the test run at the end?
My team has experienced _exactly_ the same cyclical panicking in production before because of the same library.

The Google Pub/Sub Go library does not handle panics by default, so if any message payload plays badly with your code and panics, you cyclically panic the service.

That's because the message keeps getting retried because you don't `Ack` it. Non acknowledgements get retried automatically, you get the picture.
John walks to the stadium to watch the game.

John is not walking to the game.
Admittedly the name is poor, but memccpy has been in POSIX since forever (the opengroup.org manual mentions it's from "Issue 1" which I believe refers to the X/Open Issue 1 from 1985), so I guess the C committee thought that an existing poor name was better than coming up with a new one.
I would say a mute is as good as a block.
Nobody formally enforces it, there's no written rule in the company. Bosses do not order their reports to show up before the official hours, or leave past them.
> There is only Linux in different tastes and maybe some BSD in some obscure places.

This is why most people (and developers) still use the Windows Desktop and not the thousands of Linux Desktop(s) out there.

> But no other OSes exist (that are worth to get oneself acquainted with)

macOS exists and it works with that. Rust supports Windows as well so it is certainly possible to port it to Windows. Literally someone asked for Windows. [0]

> I am pretty sure of it.

Henceforth, I don't think you are even sure.

[0] https://news.ycombinator.com/item?id=35698882
> Corollary 1: rushed insistence on shipping

This one is an epidemic and the worst one. Shipping just to ship.

> Corollary 4: isolation

I disagree with the isolation part, that's subjective. I work better with no human contact, even for long extended times. Humans are distracting, that's why I prefer working at late at night. I assume people are on a spectrum of how much "isolation" is optimal for them.
Monopolies compete with workers outside of their industry/location.

People working on oil rigs take serious risks, but they also make a lot of money relative to their skill set because otherwise they couldn’t get anyone to do the job.
It's copyright infringement all the way down.
Does this work on windows? I've been using a npm package for this "port-kill".

The problem is less that people don't understand shell commands but more there is too much stuff to remember.

An alias works well for this stuff but then you have to set it up everywhere you work. Sometimes downloading a package is just easier.

npx kill-port 8080
I suppose PubSub is at least slightly better than this because it's not a perfect queue. I.E. messages that are not acknowledged will be retried with exponential backoff.

That at least gives some time to process some stuff before you encounter the poison message again.

Whereas with a FIFO queue you're completely screwed.
Willful and unimaginative ignorance is boring.
Commercial entities are using the data, however. I'm pretty sure the German legislation didn't mean that to be allowed.
you can export and backup your entire workspace in usable format ( markdown for pages + csv for databases + attachments).
Yes, but people will still not stop complaining and arguing about all of those.
Someone will likely be able to answer more specifically, but I seem to recall an old common operation was filling fixed width text fields; truncating a message would make sense there (not ideal, but probably familiar).
Wait what’s the difference between this and npx killport?
I've been using whisper since it was there and it's also open source and I know I can host my own. I use it with I would say 95% accuracy, possibly more.

I'm interacting with GPT, so it usually doesn't care about the mistakes, it normally interprets them as what they are supposed to be.
> There’s a lot of looking down of noses, between “doers,” “talkers,” and “thinkers,” but I’ve found it’s best to have respect for each other, and combine our strengths.

Nicely said. While “those who can, do; those who can’t teach” is funny, it’s usually so, so wrong.
I can't recall the female scientist's name, but I am certain have read an 'oral history' where this specific person, present when Apple people show up, angrily calls up Xerox HQ in east coast to protest and was told, over the phone, to "show them everything".
Arm Developing Reference Chips to Attract New Customers: Report
> Also riding a recumbent really gives you perspective on what a fast bike is. No amount of carbon fiber can beat the more streamlined and comfortable position.

Until the uphill starts...
> we don't want same sourcecode compile with one compiler implementation, but not the other... right?

It's not ideal, but I can live with it so long as when I write a program which compiles it has the desired behaviour. That's the problem in C++ and to a lesser extent C which ultimately falls out of this same constraint. In C++ it's easy to write programs which compiler A and compiler B will both compile but they have different results and neither of them is wrong. I have no use for this whatsoever.

If some Rust compilers say my program is unacceptable, and others build it correctly, obviously that's not brilliant news but I can choose whether to fix the program to be acceptable to more compilers, or not worry - the results at least are correct.
The answer gives no evidence that the "x" is truly arbitrary and I am not inclined to believe it. "x" is one of the letters of "hexadecimal" and the letter-name sounds very much like "hex". Are we supposed to believe that Thompson or Kernighan or whoever it was picked a random letter of the alphabet and it just happened to be one of the two letters ("h" would be the other) with an obvious mnemonic connection to "hex"/"hexadecimal"?
I've had to be deliberate about what I do with embedded programming.

I sat down to introspect, and realised that I was:

- learning the inner workings of various electronics

- learning #![no_std] Rust

- learning about software standards like Matter

- doing projects that I never complete

- reading, discussing, watching

From the 4 quadrants, I don't think I was doing enough of the first, being to produce DIY devices that I can use around the house.
It was only when I deliberately decided to focus on the first, that I was able to tame my time spent on the other 3 quadrants.

That has sometimes meant accepting that I should use things like ESPHome, build my firmware/software in C and C++, etc.

Else my expertise will forever be theoretical, not the reason why I got into embedded development in the first place.
Why would any DNN ever need to deallocate other than at program termination? (And allocate other than at startup)
what go web framework you folks are using ?
> When Henson was 6, he tested off the charts on an IQ test

I find it very hard to believe an IQ test on a six year old is going to be much of a indicator of anything. I guess it would at least indicate that the child belongs to a group whose parents’ would give a six year old an IQ test.

> We routinely take our best and brightest, tell them a high IQ is good for making money and essentially try to break them in childhood. We could do better, if we really wanted to.

We could start by not trying to abuse IQ on an individual level.
> macOS exists and it works with that

your parent poster is obviously trolling, but macOS is some kind of BSD, so they actually took this case in account.
The power of the One ring was power over the wearers of the other rings. The invisibility thing was a minor side effect (that apparently Sauron was able to mitigate, we see him wearing it on the battlefield in the opening bit).

The Rings' victims became separated, mentally, from the real world, falling to despair when they didn't become direct servants of Sauron. Schizoid depressive symptoms.

Sauron's continued focus on the One Ring was part of his continued focus on dominating the world; if he'd decided to leave it lost, stay home and take up macrame, no one would have bothered with him further. They'd have ceded Mirkwood to him and left him in peace for who knows how long.

Which just goes to sho: It's not our mistakes that kill us, its our ambitions.
American credit cards work just fine with OV Pay for both NS and regional public transport (tried it with a Chase Visa card). Side note: Albert Heijn also finally started accepting them, so credit cards are now accepted at almsot all merchants.
On face value you'd think that but you also remember the rest of the team and the manager also has to spend hundreds of hours a year with that person so it's way easier if you like them and enjoy that time rather than someone mega skilled who causes you stress and you don't like being around.
The recommendation for work_mem doesn't account for all the possible cases. It is already noted elsewhere on this thread [1] that the use of memory per connection could be higher than work_mem, and this is true even if you don't use stored procedures, as the memory incurred can be on a per-query node. So it can be a multiple of work_mem per connection.

But there's a factor that even worsens this: parallel query, which is typically enabled by default, and will add another multiple to work_mem.

Tuning work_mem is a hard art, and requires a delicate balance between trying to optimize some query's performance (that could avoid touching disk or using some indexes) vs the risk of causing db-wide errors like OOMs (very dangerous) or running out of SHM (errors only on queries being run, but still not desirable). So I normally lean on being quite conservative (db stability first!) so I divide the available memory (server memory - OS memory - shared_buffers and other PG buffers memory) by the number of connections, also divided by the parallelism and by another multiple factor --and then leave some additional room.

In any case I'd recommend reviewing the detailed information, suggestions and links on the topic on postgresqlCONF [2] (disclaimer: a free project built by my company)

[1]: https://news.ycombinator.com/item?id=35697986

[2]: https://postgresqlco.nf/doc/en/param/work_mem/

(edit: formatting)
" ...in america

Unlikely to power anything for-profit in europe
YouTube seems to have some gear focused channels like HowNOT2.
PostgresREST was invented way before Superbase was around. Just a FYI.
I play https://hexapipes.vercel.app/ daily. There's a timer but you can also close the browser tab and come back days later and it keep the latest state.
It's not clear that the SSNIP test would actually meaningfully show any significant distinction between the possible market definitions in this case. It seems likely that none of them would pass this test.
Yes, it is because it leaves you with half the table the scan while adding the overhead of doing an index scan. And of you have a biased distribution you probably want a partial index since those are smaller.
I've tinkered with nostr and there's plenty to agree with here, but it's not specific to nostr. Nostr is in its very early days where people who tinker now are also pretty good at protecting that private key (dorks like us). For mass adoption we're probably going to see WebAuthn develop and solve the problems you're mentioning for most non-technical people. The early dorks will flinch at Apple/Google syncing people's e2ee keys, but techies will always be able to just dial in their private key to the client of their choosing. So it will be a bit messy, but hopefully the best of both worlds. And a giant improvement from current paradigm.

I don't use it, but Minds is an example of an app that is using delegated keys to sign people's messages using nostr protocol, allowing a user's data a route out of Minds' infrastructure in the future. Again, seems a healthy improvement.
I wonder if there’s any impact from prolonged use from Superchargers?
Let's say that you're unable to list all processes. What do you do to handle that error? You exit the program. What does unwrap do? It safely exits the program. Seems to be handling the error just fine to me.

The only downside is that the error message won't look great, but for a tool like this, that seems fine.

> Here process could be null, and we try to access it the line after.

Process cannot be null. Rust does not have nulls outside of unsafe code.

The type of 'p' there is 'Result<Process, ProcError>', and so 'process' is of type 'Process', which cant' be null.

That's one of the actual benefits of rust: it is memory safe outside of unsafe code, and doesn't make the "null" mistake.
It looks like a great way to bootstrap their licensees into spaces they usually don't build for. Right now there are very few ARM-based SoCs competitive in the desktop space and having a set of reference designs, with a mix of fast and efficient cores and personal computer networking and graphics could open up a market now underserved by repurposed set-top and mobile parts.

I would be delighted with an ARM with a dozen efficient cores and a couple fast ones.
Ask HN: How do you brainstorm with yourself?
I feel one of the biggest productivity blockers for me is getting stuck. This tends to happen even though I'm very conscious about taking small breaks and not pounding too long on a problem if I don't get forward.

What will happen is that I'll flick around unsure about what is the next step, and not realizing that I'm stuck. Many times I might also miss some obvious easy step I could take to get one step forward, just because I'm not yet aware that I'm stuck, and haven't been actively seeking a solution.

Thus, I was wondering, what are your best advice for:

1. Realize as soon as possible that you are stuck and need to stop to seek out another approach

2. Brainstorming with yourself - How do you get to think about those kind of obvious things that you might miss just because you are too buried in your current work?
PCI-PTS is another one we were concerned with as a terminal vendors, which involved a bunch of stuff around tamper-proofing and tamper-evidence, as well as vetting the cryptographic algorithms in use, some level of source code security evaluation etc. Complicated old business.

I was very proud when my security library, including implementations of all sorts of ANSI X.9 standards, derived-unique-keys-per-transaction, a keystore that was destroyed on tamper, secure program code update mechanisms etc etc passed certification, on a device with 128k of SRAM and 256k of program memory.

Shame it never made it to market. Stupid unicorn company taking on tens of millions in debt and then exploding... still, I got a few trips to China out of it.
https://www.goodreads.com/en/book/show/16121

On the off chance you’re not making a joke, the story is fascinating and far more nuanced than that. This is one of my favourite biographies and worth a read if you haven’t already!
As a constant traveler the subject caught my eye, and I read through the whole thing. I learned a little (perhaps questionable) information about Heraclitus and Aristotle, and the derivations of "belonging" and "hotel," but absolutely nothing about what hotels will do to "win the war" against vacations rentals. The title promises to tell me how hotels will win that war, but the article fails to do so. And the style comes off as stilted and pompous, with almost no relevant content.

If you write articles like this and promote them on sites like Hacker News you have to expect criticism. I get criticism for my articles too, and I use that criticism to improve my writing and my content.

I apologize for calling you an LLM. I still think the article wasted my time -- pointless.
It's not uncommon but a few major retailers like Walmart, Kroger, Home Depot and Lowe's for example don't accept it. It's also not too common in hospitality (they take your card to the cash register, instead of bringing the payment terminal to you).
I have two problems with comparing Social Media accounts to the "Public Square".

In a public square, I know who you are. You are right there in front of me. I can see you face and I can even follow you home.

Now look on Twitter and Mastodon and even hacker news and see how many people even use their real name?

Thesis a case where I would call for a publicly owned social media platform that adheres strictly to the first amendment but that needs I.D verification and you must use your real name. No blocking allowed at all and zero ranking, upvotes, or likes.

And let twitter and facebook and mastodon be the places where people can live in their own verification bias.

This makes me think as well, is the anonymity of social media discouraging the courage needed to state you feelings in public and to protect? Is the "safe space" of social media actually inhibiting public protest that could actually change things?
That is how DVDs and BluRay’s work though! You’re only allowed to play on authorized devices, and manufacturers must pay royalties. The company that created Blu-Ray (Sony) gets a cut. There was a battle with HD-DVD (Microsoft backed) and Blu-Ray won. And HD-DVDs became coasters.

“Interoperability” laws are dangerous because they require lawyers to legislate how code works, and they’re not engineers. It’s in the interest of society to be interoperable , but at what costs and tradeoffs? Do I have to register my new network protocol with the Bureau of Interop Standards? If I make too much money on my platform, must I eventually cede control of that platform to a government-led utility commission? These would be nightmares and the unintended consequences of forcing laws to over-regulate how our technology platforms work and would dramatically hurt innovation.

You mention EV networks but this is a great example of the benefits of not forcing interop too soon: by far the most reliable EV charging network is Tesla’s, which has forced competition to up their game and forced competitive car brands to invest in networks. On the other hand, The CCS fast DC charging standard is a bulky design by committee standard that extended the old J1772 standard from 20 years ago. It’s inferior to Tesla’s NACS in terms of communications speeds, ease of use (NACS is far less bulky) and performance in cold weather. But we’ll have to live with it. It was a premature standard but has only minor deficiencies, luckily. EV networks themselves don’t have forced interop on the billing level and we have a handful of apps with different payment methods, some with plug and charge, some not, it’s not very intuitive. But unless you force a utility experience prematurely this is life in an evolving market.
As other have said, this is no longer considered to be "true".

Yes, they make it harder to get memory corruption. But that's a very narrow definition of "safe".

If you tell the computer to copy a string, or append to a string, it's wrong, and not safe, to only do a partial copy or concatenation.

It's a huge footgun. Smaller than strcpy(), sure, but "safe" it is not.

I don't really have a better answer for C.
It is, except at Walmart/Home Depot/Lowes/hotels/wait service restaurants and a few other brands in my experience.
You mention renewables and especially solar as a contributing factor to these negative prices when combined with capacity constraints. Can you explain how this works?

A PV installation can easily start and stop production as long as the sun is shining, right? Then it seems like PV producers should bid to produce as much as possible whenever the price is positive, and not produce anything whenever the price is negative. Is this how they operate, and if so, how does this contribute to negative prices and not just to bringing the price towards 0?
The argument there for Apple is whether the App Store is a product, or a feature of their product. In Google's case they have chosen to offer their store un-bundled from the base OS. Apple does not, for them it's just a feature of their phone in the same way that the stores on games consoles are features.
Not a new barbell, no. But there is potential for endless fiddling with nutrition, supplements and exercise plans.

More than enough gym bros enjoy taking about 3x12, 5x5, creatine shake timing and hormones more than lifting heavy things.
Probably because you can't do proper testing as easy as application code. And debugging is much harder.
Ask HN: Where can you get advice on scaling microservices/monoliths rapidly?
I come across a problem which seems fairly fundamental in the "HN-relevant"/theoretical sense:

When I scale, I have a jobs system with a queue.

Problem is each job can take 2 mins, but I might add a new job every minute sometimes during peak.

If my job system goes FIFO, it'll perform terribly for the latest users, who have to wait 10 minutes or longer.

But if I choose randomly or LIFO, some users never get a solution or have to wait something crazy like 6 hours.

Where can I read about optimising this kind of problem or useful approaches? I feel analysis-paralysis and question each change of default strategy, like FIFO to random order within last 10 minutes (most recent)
My point still stands about Windows, regardless.
I am in the process of moving to obsidian from Joplin. I like Joplin but the screen real estate is a bit much on smaller screens.
Intel Patent Details Unique Adamantine L4 Cache for Next Gen Meteor Lake CPUs
I think Stable Diffusion may use part of LIAON and stability ai is based in London.
If only there were profiles for popular cloud providers.
Wanting a good UI, easily setting up new devices, habing the same password manager as my coworkers
I'm a bit behind on modern PostgreSQL so I might be wrong, but I believe MySQL has better support for what they call "online DDL" (modifying tables without blocking simultaneous queries).

Last time I checked, MySQL supported it in more cases. MySQL can also be explicit about it via "lock assertions":

ALTER TABLE ..., LOCK=NONE;

will give an error if the requested operation can't be performed while still allowing concurrent reads and writes to the table (if you're fine with preventing writes you can use LOCK=SHARED).

The LOCK clause isn't just an assertion and can actually affect how MySQL performs the operation, but I tend to think of it as asserting "this won't cause downtime by locking this multi billion-row table while it spends an hour rewriting it".
I use this, forcibly kill, no logging, never errors, works on mac and linux:

kill -9 "$(lsof -t -i:5000)" &>/dev/null || true
How do you know the source is accurate?