skysight-inc/HackerNews huggingface dataset:
So which is it, then? Does keeping size separate "blows your CPU cache"¹ or not? You can't argue it does in one case (Rust) but not in your case…

(And note that the representation you're responding to is not really a "header", in the same sense that the trailing null is a "footer". The representation does not require the length be contiguous with the data, but that's what upthread was trying to say in the first place.)

¹(it doesn't…)
It's pretty funny that C strings were decided to be NULL terminated in the ancient past for 'convenience', but it turns out you still need to carry the length around anyway.
In this case, there is no end game since Samsung exports these products. The money will keep flowing. Your logic makes sense only in a closed system.

The government will then redirect that labour to other stuff they can make and export; and make more money.
Writing a Wayland Compositor, Part 1: Hello wlroots (2018)
Previous discussion here: https://news.ycombinator.com/item?id=16406471
Segwit made transactions smaller, right? What was the problem with it?
Indeed. For most solid-state transmitters many of these non-linearities in envelope and frequency are temperature dependent too.

The same device will give different signatures at different temps.
Show HN: Open-source SDK to prevent duplicate payments and card
> A normal number would mean that every finite sequence of digits is contained within the number.

Is that true? I don't see how that could be true. The sequence 0-9 repeated infinitely is, by definition, a normal number (in that the distribution of digits is uniform)

...and yet nowhere in that sequence does "321" appear ...or "654" ...or "99"

There are an infinite number of combinations of digits that do not appear in that normal number I've just described. So, I don't think your statement is true.
Wow, super impressive. I wouldn't even have dreamed of making something like this at 17.
Onlypets.com. I see the future now.
My understanding is that Google v. Oracle only applies to copyright.
Introduction to MoonBit, a New Language Toolchain for WASM
Compare Mr Karl-Theodor Maria Nikolaus Johann Jacob Philipp Franz Joseph Sylvester Buhl-Freiherr von und zu Guttenberg https://en.wikipedia.org/wiki/Karl-Theodor_zu_Guttenberg

And he's not even the guy with the longest name, and his parents did not make up his name to spite some length restrictions.
> Are jewelry workshops really so messy and flippant with this product that it presumably gets caught up on people and just falls off their clothes when they leave from work?

Boots, not clothes. Diamonds are so sharp that they easily get lodged in rubber soles. And then fall out when you walk.
Are you using gpt4?
If it's efficient, this is very good for competition.
Python and Javascript are probably the most beginner-friendly general-purpose programming languages to learn (while still being real languages in common professional use).

It kinda depends on what you want to do, though (if you know). Python is often used in the sciences and data sciences and ML/AI stuff. Javascript powers the Web (among with some desktop apps, unfortunately, but that's a different story).

Once you know one programming language, it's a lot easier to pick up your second, third, nth ones... the syntax of any particular language isn't as difficult to pick up as the basic logic systems (booleans, conditionals, loops, etc.) and architectural patterns, etc.

If you're not sure what you want to do with a career in "programming" just yet, maybe look up some articles or watch YouTube videos about "what does a _________ do?". Or feel free to discuss it here if you know what you kinda like or don't like?

Some industries have a "standard" language in common use. If you have some ideas of interests of the types of companies or projects you'd like to work on, that would help narrow down the choices. Some random examples:

* Python is common in science, data science, statistics, sometimes finance, some web dev backends, ML/AI, GIS (mapping), robotics, etc. Side note: I recently discovered a fun game that teaches you basic programming with a Python-like language: https://news.ycombinator.com/item?id=40719279

* Javascript is essential for web programming, no matter what other languages you use alongside it

* Games typically use C++ (especially with Unreal Engine) or C# (for Unity).

* Mobile app dev is usually Swift (for Apple stuff) or Java/Kotlin (for Android) or React Native/Javascript (for cross-platform teams that don't want to use platform-native languages)

If you have some ideas of things you like or don't like, share 'em with us :)

------------

Check out the StackOverflow annual developer survey to see what programming languages are currently most popular: https://survey.stackoverflow.co/2023/#section-most-popular-t... (TLDR it's Javascript/TypeScript, SQL, Python, Java, C#, C++, PHP, and then all the others).
Why aren't you doing this?
> - Run apps for upload to a variety of services

... why?

You have a smartphone for photoing your food. Why there should be an option to upload to some service? What would you do when the service (or OS itself) became discontinued, just like in TFA?

> Automatic backup of photos to cloud/network storage locations

An another LTE modem which would be obsolete again in a couple of years? And eating money while it is supported?
Not having a layer like this has left AMD completely out of the AI game that has made NVDA the world's most valuable company.
https://www.qualcomm.com/developer/blog/2024/05/upstreaming-...

> For kernel versions 6.10 and 6.11, we’re also working on merging more features in these areas:

- USB host
- On-board display (eDP)
- GPU
- Memory DCVS
- CPUFreq
- Speakers/MIC/Headset
- Battery
- External DP
- Suspend/Resume
- Camera
- Video

https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.10

Ctrl-F "qualcomm" shows 145 matches, lets hope that some of this stuff lands in 6.10 and 6.11
That behavior should be totally irrelevant to code bases that are trying to handle C strings properly. If you have some reliance on the content of the buffer after the terminator, you've for problems that the string copy routine cannot help you with.
I think I first heard about it in a Scott Manley video - maybe this one, https://m.youtube.com/watch?v=JNT28WKAxgs - & read more on Wikipedia & possibly elsewhere
At what point do you admit this is a failed relationship?
Oh, to be clear, I’m a huge fan of git add -p. I also use TortoiseHG’s equivalent feature.

What I don’t like is that git’s index is called an index (what does “index” have to do with its usecases?) and that the index is live even when you don’t want it. It should be opt-in, not opt-out.
The point is, you are always going to exclude some number of people's names when you set constraints. So you have to decide what is right for your use case, just like with any other engineering decision. There's no such thing as "right" or "wrong" here, simply what is best for the context. 128 bytes for a name is going to be unreasonably low in some contexts (e.g. for Arabic names), but not for others (e.g. for American names).
This is an understated reality of the situation. Patients are already able to receive treatments with experimental drugs. It's the "forcing medicare and insurance companies to pay for it" part that's not a good idea, especially considering that most of these treatments may be worse than the current ones.

Treatments should have solid evidence they improve overall survival when compared against the best treatments available today, and unfortunately too many studies either aren't aiming at revealing that info, and/or are comparing against inferior treatment options.
The GIL only gets in the way of parallelism. Yes there is real hatred. You can experience it if you visit #python on libera and ask anything about threads. "Aieee! The non-determinism! The race conditions! Etc." Of course the async requires an async version of the whole i/o system, it can block on long computations or the wrong system calls, etc. And many rock solid systems are written in Erlang, which uses preemptive lightweight processes for all its concurrency needs.

Lots of microcontroller OS's use cooperative multitasking but once there are enough machine resource's, OS's generally become preemptive. Async concurrency is basically cooperative multitasking with similar issues. Does Python give a way to open a file asynchronously in Linux? It's now possible with io_uring but it was impossible for a very long time (like decades). Erlang and GHC both use thread pools to deal with that. The use the old synchronous open(2) call but move it into an auxiliary thread so it won't block the calling thread.
Use a magnet!

Edit: oops, never mind
Five conservative justices were being 'conservative' in not joining Thomas' concurrence, as that issue was not before the court. The moment this issue comes before SCOTUS, you can expect more concurrences from these five conservative justices.
UBI will benefit them in the sense that work will no longer be a right; since now you get that government pay check. No one wants to keep the consumption machine running for your benefit. The rich can always get a bigger yacht and more holiday residences.

UBI is a power play and the worst outcome for a sovereign citizen.
Cries in OpenCL
Robotics have been around forever, it's only by being AI driven will it gain interest and funding. No one wants to laboriously hand write gcode to actuate a motor to move an arm. People want to ask the robot maid to make coffee for them in a regular human coffee making fashion. A French press or a pour over or whatever. Traditional programming hasn't been able to achieve that in the decades it's been around, so the only way robotics is getting interesting (which it is) is the addition of AI/ML models.
I don't see the similarity, mind explaining?
You could also argue that Patreon is a successful micropayment platform, with most subscriptions being in the $1-$3 range.
The AI could probably tell you are dead (with some false positives) but it would be pretty insensitive to have an AI announce the passing of a human, so I imagine they'd keep the AI hands off when it comes to death.
I would gladly give it access to my entire identity, SSN
.. everything,

but it doesn't even do everything that Google assistant could do 5 years ago.

> Always use WhatsApp for messages

>> While WhatsApp is a popular messaging app with many benefits, it's not always the most convenient or appropriate way to communicate. Here's ....
> In general, the most effective solution I've seen for handling names is to have a single name field and treat it opaquely. If you need an inflection, ask for that separately.

Yes, in general. Though sometimes you need to know about specific parts of a name as interpreted in a specific cultural context.

Eg in Germany by law you need to register a family name when you get married, and your kids are going to have that family name, if you want it or not. (The parents don't necessarily have to have that name, eg the parents can opt for double-barrelled names or they can keep their old name. But the kids only get one family name and they all get the same name, and there are restrictions on which name you can pick.)

In contrast, here in Singapore they just give you a blank space in a form where you can put in your new baby's complete name as you please.

(OK, technically, you get multiple blank spaces, because you can eg give your kid a western name like Jay Random Smith and a Chinese name that is a completely separate name and doesn't need to have anything to do with the western name. I think you can also get eg a tamil name, if you want to etc.)
I’ve seen a lot of these lists lately, but this is the first one I can say I really agree with a lot of the points. I’ve been a professional developer close to 30 years, and have picked up a lot of these same lessons. I like lesson number 1, as I think sometime developers feel they need to come up with some clever way to stand out or show off and you learn over time that every line of code you write is a line of code that needs to be supported. Straight forward code may not show off your skills, but other team members and future developers will like it.
Another fun Manhattan fact: They needed a code name for plutonium, so they called it "copper", but what was a poor scientist or engineer who needed to use actual copper to do? The official code name for copper was "Honest-to-God copper".
Thank you for saving me three minutes of my life to only hear some humming
It seems increasingly likely to me that we're going to see the standard sci-fi script flipped. Instead of AI and robots doing grunt work for humans, AI will be doing most of the decision making, perhaps guided by a small human elite, and humans will do most of the grunt work.

Making machines that think will turn out to be a lot cheaper and easier than building machines that can do general purpose physical work. People are cheap to make and maintain, especially if you're not very concerned with their well-being.
And spaces.
250 Pitt St Sydney around 2002-2003.
> They've been proposed all the way back to Chaum's DigiCash, but no micropayment system has ever really taken off.

If it's true that Chaum fucked up the deal to have it shipped with Windows 95, then this is a bad example.

Not saying it was ever "desperately needed." But being on everyone's computer by default, somebody would surely have found a use for it. Probably gambling, which is more than sufficient for bootstrapping.

Then it's a race: does the consequent acceleration of malware become such a nasty pain point that Microsoft just removes Digicash from the Windows 98 installer? Or does pets.com accept it as payment first, and it therefore becomes entrenched? :)

1: https://bitcoinmagazine.com/culture/genesis-files-how-david-...
There's a Cody's Lab video where they refine highway dust for platinum group metals leaking from catalytic converters:

https://www.youtube.com/watch?v=v5GPWJPLcHg
Bitbucket started as a Mercurial host.

The (internal unverified Atlassian) mythos goes, that in the early days, both GitHub and Bitbucket were on equal MAU footing, but as Git mindshare started to take over, the Bitbucket founder, a Mercurial fan, dragged their feet on adding Git support. This delay lost them the war.
Names aren't actually that hard. It's perfectly reasonable to assume that your system is going to be used in your country and culture, and handle the cases which are relevant for that. Edge cases within that context, and expanding to other cultural contexts, can be handled as they come up. But until then, YAGNI.
> If you’re going to be that picky about the definition of “capital” then maybe the question is why would anyone be against farms and factories?

No one is against farms and factories. Some people are against ownership of farms and factories by private parties separate from working in them.

> For example, suppose that in the system you’re imagining, a retired worker goes to the store to get something to eat.

Then they pay money for it. Which likely comes out of a retirement pension.

> So the retiree has present some kind of abstract claim showing what they’re entitled to.

That "abstract claim" is called "money", and exists separate from (and predates) capitalist property structures, and does not rely on private ownership of the means of production.

> It’s going to serve a similar role to retirement savings. How does it work? When you retire, how secure is your claim? How much can you get, and what happens when political institutions change?

No claim is resilient to change of political institutions; systems of property rights are themselves political institutions.

> I think it’s easier to talk about such things in terms of familiar institutions that we understand well

Yes, but the problem is that you are confusing entirely different institutions that do not rely on each other, simply because they happen to coexist in the system you are most familiar with (though that is not universally historically the case.)

"Capital", "money", and "some form of provision for retirement" are not the same thing.
The API surface is "I have a string that I'm pretty sure will fit in this buffer, but if it doesn't I don't want to cough up control of my bootloader."
Mercurial is slow and unpopular, and it may never be made fast enough to compete with Git. I learned it once upon a time (when I barely knew Git) and thought the UI was marginally better. But now that I have used Git for a while and learned more, I think Git is way superior technologically and in terms of features.

I wouldn't fault anyone for liking Mercurial, but it definitely isn't better than Git except in giving a superficially better impression in its user interface. Once you get past initial impressions and start to do more advanced things, Mercurial sucks. There's good reasons why Mercurial fell out of favor.

Before anyone tries to say Facebook uses Mercurial, I'm just gonna point out that their VCS seems to be an entirely different implementation of Mercurial compared to what is available publicly. And even then, the tech lead on that has said recently that they have performance problems to solve. I doubt if they ever will solve those problems because they are inherent to Mercurial's implementation. Fixing it would break compatibility with old repos, and take a hell of a lot of work.
The data comes from the Polaris hotline.

Criticism from the Polaris wiki page:

“Reason magazine editor Elizabeth Nolan Brown referred to Polaris as "one of the biggest purveyors of bad statistics dressed up as 'human trafficking awareness'".”
Somehow I missed this. Although I'm currently a canon shooter I first started on Olympus gear. Tbh it was fine for a beginner but the image quality wasn't competitive with canon or Nikon.
Backdoored NPM files posing as AWS tools
Micropayments, especially when coupled with authentication for APIs, are desperately needed for AI calls (think tokens). And, mining costs have nothing to do with validating payments, so it doesn't cost more to run transactions over Lightning.
Should add the names of your competitors under the logos. I'm sure they're very famous, I'm assuming Imgur and something else - but I don't recognize either of the logos.
I actually used marquee on two recent sites I made (for fun). On darigo.su if you open Napster (in the pokeball button computer), and on hnchan.darigo.su. I love marquee.
Kahan was the co-architect of the 8087. Palmer (at Intel) hired Kahan as a consultant for the 8087 since Kahan was an expert on floating point. Kahan says: "Intel had decided they wanted really good arithmetic. I suggested that DEC VAX's floating-point be copied because it was very good for its time. But Intel wanted the `best' arithmetic. Palmer told me they expected to sell vast numbers of these co-processors, so `best' meant `best for a market much broader than anyone else contemplated' at that time. He and I put together feasible specifications for that `best' arithmetic." Kahan and Palmer were co-authors on various papers about the 8087 and then Kahan and others authored the IEEE 754 standard.

https://ieeemilestones.ethw.org/w/images/7/7f/Wk_an_intervie...

Also see https://math.berkeley.edu/news/congratulations-professor-wil...

And Kahan's Turing award: "During a long and productive relationship with Intel he specified the design for its floating-point arithmetic on several chips starting with the 8087" https://amturing.acm.org/award_winners/kahan_1023746.cfm
Reminds me of this case: https://www.loweringthebar.net/2006/10/court_of_appeal.html

Most of us, “of a certain age,” can remember Christoff’s smiling face, on the Taster’s Choice labels, for years.
Doesn't matter. Literally, could be entangled quantum photo-carrier pigeons.

x ⊕ y = z
z ⊕ x = y
y ⊕ z = x

Assuming another Out-of-Bound communication channel, all communication channels are provably safe.

https://en.wikipedia.org/wiki/One-time_pad#Perfect_secrecy
I guess the reality exists that the further automation of weaponry and drones might in fact reduce human casualties due to it just turning into robot wars.
I feel like I ought to be able to plead the "porn definition" thing here.

YOU KNOW IT WHEN YOU SEE IT, COME ON. :)

(fair question, I'd have to think about it some more)
There are also like 4 different ways to do branches in Mercurial. Git does branches right IMO.
Looks great, and clearly a lot of time and thought invested. Not news to you, I'm sure, but these sites typically only last for a while. Because nobody has really hit on a way to subsidize a reasonable free plan enough to pay for the bandwidth it collectively consumes, and to implement enough spam protection. Especially once it hits a certain adoption curve. So they either die or find a way to push ads, like imgur did. This is so nice though, I'm really rooting for it to find a way.
If you have to make a grand reveal to the world and change all of it a la Steve Jobs with a single product, you're dead in the water. But we have the Internet and crowd funding and open source these days. Which part of the thing are you most interested in building? Go build that on top of whatever's closest, open source it (yes, even hardware), and iterate from there. It's a failure of the imagination (or perhaps the wisdom of age, or the lack of the foolishness of youth) if you're blocked by the fear of selling out the user.
How is it private if you can't self host?

(I'm hoping I missed something :)
I follow Vinay Prasad MD (https://www.youtube.com/@vprasadmdmph), who does a lot of research related to medical studies and methodology, lots of cancer related ones as that's an area where he works.

You'd be surprised at the number of cancer treatment studies that are deeply flawed:

- Positive effects may have a low confidence due to small sample size, the joke is that if you can fit the laser pointer between the lines it's considered a success. Cancer is a very tough disease and sometimes positive results are due to noise in the dataset.

- Some studies don't consider overall survival (important because you might not die of cancer but you might die sooner from a side effect like Parkinson's caused by the treatment). See mammograms and colonoscopies for treatments that look like they are almost entirely ineffective.

- Don't compare against the standard of care (its easier to show positive results if you aren't using the best treatments available)

- Allow for self selection (the treatment isn't blind or double blind and people drop out of the control group, skewing the results)

Imo he's an excellent source of the latest data driven results related to cancer and other treatments.
From the PoV of the insiders of Dogville? I think my point stands.
Music labels sue Verizon for more than $2.6B
Reminds me a little of the man who "mines" gold and precious gems from the sidewalks in NYC: https://nypost.com/2011/06/20/got-his-mined-in-the-gutter/
Really? In 2019? This is the first I've heard of it, and I've been working here since 2017. I have no notion that this problem has been actually addressed anywhere.
Good call! The second one is Gyazo.
Double blind in this instance meant THC distillate with the terpene or without to avoid that standard issue.
Runtime extraction of malicious code from jpegs included in the library
Alas, that only works if you are dealing only with people under the jurisdiction of the government in question.

There's always them pesky foreigners.
Thanks! It's been operating for the past 3 years without any ads or third-party trackers, and I don't have plans to shut it down for the forseeable future.
Or you can buy in person from Walmart. For the volume he's probably doing, that's not as impractical as it might sound.
it would be interesting to analyze hacker news's threads in this same fashion. not only comments but also upvotes. in the past few months I have noticed that my experience of reading through them has changed significantly, with a lot less comments that are actually informative or add real new takes. plus, a lot more skewed towards more mainstream discourse and less hacker-ish...