skysight-inc/HackerNews huggingface dataset:
The u32/i64/... naming system is pretty common.

Assuming you can trust those types to be what they look like, the code is readable.

I've worked with C for well over 30 years; custom typedefs are par for the course. Work with OpenMAX libs? You have OMX_U32. On Windows? You have DWORD. Using Glib? guint32 ...
https://en.m.wikipedia.org/wiki/Generalized_second-price_auc...
Agree, which is also why I also still prefer to shop local. I was responding to:

> if everyone puts their money in the same place then companies get too big and distort economies.

You're not going to make the big companies smaller or prevent market distortions by doing this. That's what I was referring to by "move the needle."
In other words, water is wet and people who are financially illiterate/irreponsible will continue making bad financial choices, no matter what tools are available to help aid them.
thanks for the answer. there seem to be assumptions

>>coming across as using a badgering tone, sounding entitled and complaining when you're talking to people who provide a free service to you<<

but your answer is genuinely more informative, and intellectually mature than a DV based on assumption of bad faith

+ it probably would have been usefull to let HN know that a maintainence cycle was incipient, this entire submission would probably not exist, and no left field attributions made.
Yeah you'd think it would make no difference but in my experience it does help a little. Don't ask me why.

But yeah even with zram my laptop still hard reboots 80% of the time when it runs out of RAM. No idea how people expect the Linux Desktop to ever be popular when it can't even get a basic thing like not randomly rebooting your computer right.
Also, I forgot to say: thanks for the submission!
This is why no matter how many interesting ads or tiktoks, I will never do these genetic testing kits. I wouldn't be surprised military is working on CRISPR like infections that target your specific DNA when sprayed in the air.
Show HN: Simple Web ChatGPT client without server and the need of the API key
I thought these modern web apps with a million lines of JS, insane memory consumption and server side are basically bloated. So during an overnight work (not without the help of Large Language Models), I made a couple clients for different occasions. One of them, written in HTML/JS/CSS, you can see in the main link. The other is written in Bash and represents a primitive script that uses curl and jq to send and receive information from the "free" Chinese API. That's good enough for me.

Link to the repository: https://github.com/asakura42/SimpleGPT

I hope you will appreciate it. Among other things, I'll gladly accept your contribution in the form of pull requests if you like my idea. You could, for example, make a primitive GUI program without a million dependencies (my programming knowledge is not enough beyond python+tk, so I hope someone will help me with it).
Does anyone happen to have expertise/pointers on how ZFS' ARC interacts with Linux disk caching currently when using ZFS-on-Linux? It seems like the ARC space shows up as "used" despite being in a similar category of "made available if needed" - is that correct?

Is data in the ARC double-cached by Linux's disk caching mentioned in the post? If so, is it possible to disable this double-caching somehow?
> Interestingly, the relationship between wife’s relative income and husband’s
> psychological distress is not found among couples where wives outearned
> husbands at the beginning of their marriage pointing to importance of marital > selection.

I would like to know what causes the distress exacly. Does the distress come from thinking of themselves as under-performing? They started with a higher income but did not manage to progress as quickly as their spouse. Or do they fear that their spouse will leave them if they do not turn it around?
Yes, the optional sign on char is also madness. C had a chance in 1989 to make it unsigned, and muffed it. (When C86 decided between value-preserving and sign-preserving semantics, they could have also said char was unsigned, and saved generations of programmers from grief.)

D's `char` type is unsigned. Done. No more problems.
> Are online user revolutions a thing?

How do you define that?

People organizing themselves and changing their situation, successfully, is as old as time. Likely, you live in a country where democracy was forced on the powers-that-be in that way.
Was there period documentation? Or a just so story about short swords?
It's dead because it's not economically viable.

It never was.

It's been enormously subsidized by the military's interest in nuclear propulsion and weaponry for well over half a century, and it has only gotten more expensive.

Meanwhile, solar and wind have plunged in cost.

Solar and wind are far cheaper, more easily distributed which makes them more resilient, have simpler construction, installation, maintenance, and repair chains, and none of the geopolitical and security headaches.

The last hurdle is better long distance distribution (HVDC) to be able to better move power around and deploying more energy storage at all levels - grid, microgrid, and home.
For what it's worth, Mastodon has been a nice community for me. I haven't really found my place in the lemmyverse. Maybe that's a good thing though.
Um, it was dependent on how the CPU handled it back in those days. That problem went away, though.
Counterpoint: autopay gives me peace of mind knowing that I won't miss a payment, which has huge downsides: credit score dings, interest charges, and potentially declined charges.

What I think trips people up is accounting for future expenses. The personal finance tools I've checked out focus on historical transactions but fail to put this to use and forecast future transactions. I set up GNUCash[1] to automatically create all the random monthly bills up to 3 months ahead of time, including a guess at CC totals.

I still check monthly, but its mostly just confirming nobody's stolen my card and updating my investments, which I can't forecast ahead of time =)

[1]: https://www.gnucash.org
I don’t understand. If you’re watching it the bits have been decrypted. Can’t you just get them from local memory?
I am guessing that the reasoning is with less income tax revenue for the government, they will need to create more money to pay the bills. The only way to prevent this would be to reduce the spending the same amount as the reduction in tax revenue.
I don't use auto-pay from the credit card company, but I do setup my credit union to pay ~$50 to each one of my cards each month, which should meet the minimum required payment, in case I might forget. Then I manually pay off the balance of each credit card each month, sometimes more than once in a month.
The Motorola 68K family has been targeted by C compilers configured with 16 bit int.
Keep your receipt details and return to seller (if in UK) if they don't meet the stated lifetime. AFAIK there are no time limits to Consumer Rights Act returns beyond 'expected product lifetime'.
> Turns out only a fraction of users did the same, so not sure it was an efficient protest.

The interesting question is, what makes an efficient protest? What is effective in what situations? How is it organized?
Using a signal handler for IPC isn't really "simple" though, since the handler needs to be async signal safe itself. You don't need a "full protocol parser" for sockets either. You can send/receive C structs just fine. It's also not hard to write to sockets from the command line.

> But do be aware of the inherent synchronization problems with traditional handlers.

This is why you should almost never use signal handlers for IPC, because they're full of footguns and not actually simple to use.

Increasing the number of file descriptors doesn't seem like much of a burden. If your app actually pushes on those limits you need to be messing with ulimits anyway.
I do small scale manufacturing as a hobby which covers quite a gamut of fields from woodworking, machining, electronics, chemistry etc. So a huge amount of tools and industrial consumables. A lot of electronics modules. Basically anything I think I might need I buy and store. My plan for war breaking out is to stay home and do engineering work.
Lemmy isn't some utopia either. There seem to be users of a particular political bent that if you breath in a way that slightly hints that you might not fully align with them, they follow you around every forum and harass you. I ended up replying to one of harassers in a nasty way, and it earned me a ban on the main instance without warning. I was fine with it though, as I was falling into the same shitty time-wasting use patterns that I found myself engaging in on Reddit and Twitter.
CLA’s don’t fully transfer ownership (hence the L) and don’t unilaterally allow changing the software license. Though that does of course depend on the nature of each CLA since there’s no singular contract associated.

A CTA (transfer vs license) does allow unilateral license changes after the fact.
It seems it goes back a little further than that.

> probably from Middle Low German weddersinnes, literally "against the way"

https://www.etymonline.com/word/widdershins#etymonline_v_799...

Basically, this is NOT the way.
You're right, misread that because of the indentation and diff formatting, good catch!
Am I the only one using Autopay to stave off late fees in otherwise maxed out 18-21 month interest free credit cards (ie, "free" money), then paying them off in full before that grace period ends?
That sounds eerily similar to the myth from the linked article. Although there is a chance that some enterprising blacksmith came up with a clever marketing scheme for those to convince the nobility that they really needed such a set of short swords.

'Just in case pillagers come up the stairs, and I'll throw in a Zweihänder for half the price too, in case your attacker steps out of reach of your regular sword!'.
You can write correct programs with both. The reality is that people often fail to do this. But you can automatically detect signed overflow and protect against it, while unsigned wrap detected at run-time could be a bug or could be just fine (e.g. because you did your own "overflow" check and handle it correctly). This makes it extremely hard to find unsigned wraparound bugs and impossible to trap at run-time.
Is there similar effort from Apple?
Deosil is the counterpart which means reverse-widdershins or sunwise, mentioned in your link.
Windows and Mac use compressed RAM for many many years as standard.

Yet on many Linux desktop you have to activate it (namely ZRAM). It solves the problem that a e.g. browser eats all your memory. It's much quicker than Swap and yet mostly unknown by many people who are running a Linux desktop. As mentioned by another user it's still not standard on Ubuntu desktop and I don't understand why.
Hey, thanks for the response. I also really appreciate the link to your page. I read some of your posts documenting the journey and will read all of them. Really excited to learn from this, it's really valuable stuff! <3
I once read about several companies whose entire product was an Excel addin that did ... pivot tables. The average businessperson had never heard of the pivot table functionality built into Excel, and they were an easy sale for the magical demo of a pivot table on their own data.
If the photo industry is any indication, it won't really matter where the legal line is. They'll put in enforcement mechanisms wherever the industry feels like they should be.

Nothing stops companies from going beyond what the law requires.
I got a good accidental brush with Moravec's Paradox in James Martin's After the Internet: Alien Intelligence (2001), which talked about how coming systems would be unrecognizable bizarre expert systems, with seemingly super powered capabilities. That stuck with me so much, for such a long time, and it almost never felt like a good or great thing; too much ability to let it control & define us, without being able to understand the forces at play or how they were being deployed.

I far prefer Personal Computing values, such as Engelbart's mission to Augment Intellect, to make the operators smarter, more aware, to make them into a better expert. I believe so much in our powers of intuition & intellect, and trying to amplify that seems like the worthy cause of our time.
No but it is a lot less likely for a PID to get reused on accident within a new PID namespace.
The V.C. Sumner site has been a multi-decade slow motion financial and management catastrophe on many fronts[1][2][3]. It does not surprise me that the rot that apparently existed (and maybe still exists) at the top has filtered down into operational and maintenance issues.

One lesson for me is that excellence is a symptom of a healthy organization, not the other way around.

[1] https://www.chooseenergy.com/news/article/failed-v-c-summer-...

[2] https://www.wsj.com/articles/south-carolina-utility-agrees-t...

[3] https://theintercept.com/2019/02/06/south-caroline-green-new...
More details & a demo video is included on our website : https://salk.ai/chat
In the intricate domain of medical diagnostics, the precision and clarity of images play a pivotal role. As the healthcare sector increasingly leans towards video annotation outsourcing to refine their datasets, medical image segmentation stands out as a technique of paramount importance. This method offers a deeper dive into medical images, allowing professionals to discern finer details and make informed decisions. In this article, we’ll delve into the intricacies of medical image segmentation, its applications, and its transformative role in diagnostics and treatment planning.
Yeah, it just seemed foolish to allow codepoints to be combined to form a "character". Some 'smart' people don't know when to stop being clever.
I love the word sunwise. In Swedish it's "medsols" and "motsols", sunwise and counter-sunwise respectively.

And speaking of, let's start another myth. Swedes always dance around the christmas tree or maypole sunwise because it's an ancient dance to evoke the sun after months of darkness.
Thanks, I really find these examples useful. For me, the QUERY function in Google Sheets has been really useful too. Same thing with IMPORTRANGE. It really helps with documenting what you did to get a count of rows.
Thanks for all the work in bootstrapping this part of the ecosystem! I opened an issue[1] on the memory issue for jumprope. It seems to really come down to the large size of skiplist nodes relative to the text.

I did some testing with JumpRopeBuf, but ultimately did not include it because I was comparing things from an "interactive editor" perspective where edits are applied immediately instead of a collaborative/CRDT use case where edits are async. But it did perform very well as you said! I feel like JumpRopeBuf feels similar to a piece table, where edits are stored separately and then joined for reading.

[1] https://github.com/josephg/jumprope-rs/issues/5
It is possible to write pornographic literature using Microsoft Word — and many do
.... And this is why we don't just add it to the price? This is the grand reason?

Wouldn't it be far better to establish a rock solid precedent that the price there is the price you pay? Every exception that remains is an opportunity for weasels to justify why they are also the very important exception to the rule.

You sure that's worth a rounding error?
A lot of people are saying "hubris" without really drilling into what the arrogant mistake is. For the record, I don't think its unique to computer programmers, but rather to people who solve complex problems for a living, and consider themselves, at some level, to be decently smart.

It is very easy to convince yourself that you understand something because you read a lot about it, and what you read makes intuitive sense. But that is not at all the same as actually going out and doing the thing, and solving the problem from the blue sky. Dunning-Kruger sort-of describes this, but I believe that there's a multi-dimensionality issue where being on the good side of Mt. Stupid in one domain makes you overrate your capabilities in other domains. Vis the nuclear physicist disputing the official explanation of how the buildings collapsed on 9/11, apparently because he hadn't gotten to the part of the freshman material science course that covered how yield strength decreases with temperature.

So articles like this are important, even as they are kind of obvious to people who have already learned these lessons, because often times it takes learning these things the hard way to understand why (for instance) the software is actually the easy part of an IoT thingy.
I don't believe Apple has embraced Rust the same way Google has. Particularly their firmware is still very based on C.
That's a good point, the large corporation model vs smaller specialized finetuned models are vying for dominance right now, I'm interested to see which paradigm we end up with.
This resonates. For me personally, having kids has been amazing both because of the direct benefits in joy and love and fun, and because the challenging aspects of having kids are the challenges that can make you grow as a person.

Probably different for everyone but for me the kid-driven growth areas are time management/prioritization and patience. Having kids forced me to prioritize how I spend my time in a way that has made me more effective in life because while I have fewer flexible hours, I am putting them to much more intentional use. And learning how to speak kindly and patiently to a toddler who is being difficult has made me much better in a slew of professional and personal types of interactions.
Collecting anonymous data and sharing data with third parties are entirely orthogonal issues.
Stop wasting time searching for startup ideas
As an aspiring entrepreneur, I would struggle to find problems to solve and to come up with great startup ideas. I complained about the lack of tools entrepreneurs had and noticed that it was an extremely huge waste of time.

Thats why I built Preneur; a platform where entrepreneurs can find interesting problems to solve. Preneur aims to concentrate the precious time of entrepreneurs towards solving problems rather than searching for problems to solve.

Preneur is launching on the 25th October. You can join the waiting list to get notified of when we launch.
Basically the users were trying to tell you (sounds like you never got the message) that your dashboards were insufficient at answering the questions people had to answer in their workplace by their bosses every day.

Nobody cares that they looked cool (highly subjective, anyway) if they can't be used to get work done. Where your team thought you were adding value, you were just wasting time.
>> Other countries have laws and agencies to protect against propaganda; the US doesn't bother.

> I am not sure I follow your point here; could you elaborate?

My point is, the US government doesn't otherwise care much about propaganda, so I doubt that's a motivation here.
In some countries, maybe. Doubtful in others.

Eg, in the US it's highly likely that if one party tried to do a mass buildup of nuclear, the next one would do its best to sabotage it. The one deciding to build would not see the plants being finished, and would likely see the project defunded or sabotaged in some way.

For the arsenal part, the military has its own reactors, unrelated to whatever needs the population at large might have.
Truly, propaganda https://www.38north.org/2023/04/a-fresh-look-at-north-korea-...
Does "right to repair" help? Can you in theory replace controller boards?
In my experience, you typically don’t just improve past slwo with n+1s.

Sure, if you introduce an n+1 to a large, existing table it will slow down. However, most endpoints are going to start at zero.
The worst offense of wsl2 is writing files to ram before copying it to the native filesystem unusable with lots of data.
You might be on to something here. I spend more time configuring things rather than playing games (mister fpga, real hardware or emulators).

I think having access to any game up to about 2004 has caused me to feel opportunity cost in playing any of them. I remember friends complaining of the same sort of thing once playstation piracy took off. It got to the point were one guy I new would purposely buy real retail games that he wanted to properly play because he knew if he got it on CDR it would be worthless to him and he'd not invest the time in it.
Really fun question! Let's investigate chirality in all its manifestations, natural and humanmade.
When I worked in telco we used to run into this a lot.

We'd demand standard alarms for things like memory leaks / out of memory conditions / high than normal memory usage, as to get 99.999% uptime we want to be paged when problems like this would occur. Except a bunch of platform did the extremely naive implementation and included recoverable memory in their alarm conditions. So inevitably someone would log in and grep the logs or copy some files to the system, and hit the alarm conditions.

And there were some vendors who really didn't want to fix it, they would argue that recoverable memory is in use, so it should really be part of that alarm condition.
> Media

As far as I can tell, the mainstream media is working overtime to _downplay_ the actual state of things.

I'm a computer programmer with an advanced degree and three decades of experience and until about a year ago, I got a dozen unsolicited job offers a month. Now I can't recall the last time I saw any. Reddit's /r/cscareerquestions used to be flooded with people complaining about persistent recruiters, now it's flooded with credentialed people who've been looking for a job for months with no success.

My wife and I both make good salaries in a relatively low cost of living area and we're suddenly finding ourselves cutting back drastically just to keep from falling behind. I track my finances pretty carefully and I can compare what I spent on groceries and gas and medical expenses later year vs. this year (against the 0% pay raise we've both gotten for the past few years) and it's quite a bit.

I'm in a good position since I bought a house a long time ago at a fixed mortgage rate and am still employed, but I can't even imagine how people even a little worse off than me are doing... all while the network news and the places on the internet that haven't been shadowbanned are insisting that we're just exaggerating the scope of this financial crisis.

I remember 2000 and 2008, and neither seem like anything compared to this.
What is a “terrorist state”? Are they not just a state acting in their own interests?
What are these first class facilities? Just curious
Doors can be built to open in four ways: inwards or outwards, hinge on the left or right. (Sorry if the language is wrong, non-native speaker here.) Considering that I am not sure I can follow why the door would make one direction more natural than the other. Maybe because there were more right-handed people than left-handed which made one setup more natural than the other?
You're preaching to the choir with Jira alternatives. For devs, Jira more often gets in the way than helps. We're ok with a minimal set of features. In order to really get traction, you need to sell PM's and leadership types.
That's not a good counter-explanation.

A castle staircase takes a lot of time and effort to build. Choosing to build the staircase in one direction or the other has negligible cost. If there is even a slight or possible advantage to one direction then it would make sense to build it that way.

Defense in depth.
I think the caveat here for people doing something legal is the questionable future status of crypto. Countries have completely outlawed holding them before, I’d rather just not have it tied to my name if there’s any risk of it becoming illegal, if there were a feasible option.
Allowing users to comment on adverts seems like a terrible idea. I'm amazed that any brands allow that - although I suppose if they're still advertising on Twitter perhaps they're not too concerned about what appears next to their ads..