skysight-inc/HackerNews huggingface dataset:
TL;DR: sorry, we're not sorry. we will go ahead with it and explain it to you better why it's a good thing in your interest.
No one is saying that all people are genetically the same. No one is arguing that sayig "different genetic groups of humans are predispositioned for certain conditions"is racist, or that medical treatment needs to ignore biological differences.

What is being claimed by OP is that since atrocities were also inflicted on white people during unethical medical experiments such as MK ULTRA, withholding known treatment from a specific racial group in Tuskegee without their consent can't be called racism (which is so absurd that maybe that's where you got confused?).

Hope that clears things up for you.
Is this the final form of all tech companies now?
You could have spend that time learning something which is actually useful and helps finding interesting jobs. For example, GPU programming or SIMD intrinsics.

What annoys me about rust is the complexity just for the sake of it, lots of pain for minimal gain compared to alternatives. If you need async/await you'll do better in modern .NET despite the GC, if you need the highest CPU performance you'll do better in C++ despite the unsafety.
Ask HN: Good LLM tool-use examples?
Hia, I'm working on a query-builder tool for searching medical databases that translates a clinician's natural-language query into an existing IR which maps onto SQL. This entails some retrieval aspects which I'm planning to implement using function calling (aka tool use).

Please share examples of LLM tool use / function calling; any tips or learnings in this area would also be much appreciated!

Thanks,
extasia
> the ad industry is not going away

That's the start of full blown stockholm syndrome.

No data is ever fully anonymous, don't pretend otherwise. So no data should be send at all.
There is no shame in having your work - even software development - be a means to an end.

You are well within reason to work to survive, tuck a little away, and use the rest (of both time and money) to explore unrelated interests and passions. I really enjoy gardening.

The cross-pollination of interests, passions and professional experience may well lead to a fun and interesting project where your $DAY_JOB skills come into their own in a way you’d not expect.

Work to live, not live to work and all that.
> Following assassination attempts on presidential candidate Donald Trump over the weekend, Tesla CEO Elon Musk says that he’s faced two assassination attempts of his own within recent months.

> “Yeah, so we actually did have two homicidal maniacs in the last roughly seven months come to aspirationally try to kill me, and a bunch of other people. So it’s not just me. And then there wasn’t like an actual issue that they articulated, they were just in the homicidal maniac career, so I do need to be kind of careful.”

Sounds like Musk is eager both to connect with Trump, and to get attention focused back on himself.

And his "assassins" sound far too low-functioning and incoherent to apply that term to.
EU would destroy them.
The legal, technical and strategic challenges make it a less attractive option
I just cloned the Starship repo and cargo --release built it and it took six minutes and 30 seconds (which did feel interminable). The author says it takes him 15 minutes "for building just the main.rs", 10 minutes for "lib.rs" and an unspecified time for "everything else".

My CPU is from 2012. What on earth is he doing this on, a TI-83? Or am I missing some intricacy of whatever Gentoo is doing that would inherently inflate build times by an order of magnitude?
This is not meant as a critique of you, but your comment includes a hint of what bothers me with some Rust evangelists. I would call it "slightly entitled over-optimism".

I have a C++ service running in production. It's been in production for 10-ish years with minimal updates. It'll probably keep running just fine for the next 10 years.

With that in mind, "the onus on anti-Rust people is now to demonstrate a better language to rewrite in first, rather than just sitting in the status quo waiting for the steamroller driven by a crab to very slowly run them over." just doesn't make much sense to me. If the status quo is fine, there's no "onus", there's no difficult decision to be made, there just isn't any rewrite. The anti-Rust people will probably be fine by doing ... nothing.
> My personal opinion is that Rust is a bit too lengthy to keep everything in your head

I'm curious what you mean by "lengthy" here. The reason I say Rust lets me keep fewer things in my head is because something like this in C:

struct Bar {};

struct Foo {
struct Bar *bar;
};

where it's no clear if Foo owns Bar or merely outlives it, becomes

struct Bar;
struct Foo<'b> {
bar: &'b Bar,
}

in Rust and I no longer have to keep this information in my head.
Legal: “it’s forbidden to target ads at specific users”

Done.
Or just don't access any content that is funded by advertising. The nonprofit web still exists. But for all content that's not someone's spare time passion project, someone's gotta foot the bill.
I've been searching for a tool that allows writing without any pressure, and strflow seems to be that choice. It has no unnecessary features, just simple and practical. Currently, the only feature I'm missing is font size adjustment on macOS. Before this, I was using Notion, but creating a new page to record "trivial thoughts" felt too heavy. Continuously adding records to a single page made it very difficult to search. Even with Notion AI enabled, it was still challenging to find the recorded content. I've subscribed to strflow to see if it can change my habits.
I must just be missing something then. How would you write a program that prints out the numbers from 1 to n, for reasonable n? (representable by a computer)
The days of Mozilla having earned the benefit of the doubt are long gone for most people.

The person you replied to made a reasonable point and your response reads as defensive and dismissive. Do you have an interest in Mozilla we should know about?
Just as a curiosity, have you thought about transforming the target value stepping down to web animations api calls?

That way the implementation could _probably_ get some free performance as the browser could pre-calc some stuff ahead of time, without the need for you to brute force every calc on top of the js engine.
Thailand to roll out $13.8B handout plan in digital money to citizens
Maybe they mean this statement, however I don't see why their proposed changes are radical.

[1] https://blog.mozilla.org/en/mozilla/we-need-more-than-deplat...
Yep.
One of the things which the FSF did right was the GPL. They didn’t tried like programmers hack against bad things which never works in long term.

The bad people will change the API, lock the bootloader, implement a problematic standard (ACPI, SecureBoot) or add more DRM.

We cannot solve political issues (law) with technical solutions (programming). If we don’t like locked iPhones, the solution is a law. If we don’t like tracking, the solution is a law. But the EU Cookie-Directive of failed? Because malicious compliance, they made a business case out of it instead of ending it (cookies for logins are fine). And if we want public APIs, local computing and open-source the solutions are laws.

The FSF uses the law :)

Let us go a step further, change it.
Is this really a good idea? I’ve been thinking about doing this for a while, but a part of me tells me it’d just be weird and morbid for them, and maybe interfere in their ability to let me go and live their life to the fullest.

I don’t mean videos of us together doing stuff (I.e. memories) but videos meant directly for them to watch. I’m thinking about giving them advice for adulthood and telling them about who I am, and also tell them about who they are as kids (so they can remember it after they grow up). But I’m still not convinced it’s a good idea.
This expanding market provides AMD with a lucrative opportunity indeed
Dude, mobile has been dominating over desktop for years already. If it doesn't work on mobile, it doesn't work at all.

Check the percentage of mobile users, it's like 60. Then about 10-20% use tablets and only about 20-30% use desktops.
can we stop diagnosing unknown people based on a 2 paragraph post on HN? the obsession with finding a label for all sorts of mental states is crazy.
I agree with the rest of your post though
Yes, they do. Once we have managed to lost one and we got immediate feedback.
They don't need to. Defaults are retained by the majority of users, who will never know about this change.
What have been your top discoveries with the FLIR device?
It's basically a method to help you find a downward slope, right?

In Britain, until surprisingly recent times, water engineers had been known to use dowsing rods to help find water pipes. As far as I can tell, it's a... method... that helped them to stop overthinking the problem, and subconsciously look at where the the pipe's likely to be, given the many small clues indicating previous engineering work.
Tor is (was?) heavily subsidised by secret services in a.o. the US.

> likewise, agencies within the U.S. government variously fund Tor (the U.S. State Department, the National Science Foundation, and – through the Broadcasting Board of Governors, which itself partially funded Tor until October 2012 https://en.wikipedia.org/wiki/Tor_%28network%29?wprov=sfla1
A lot of people got away with a lot more than they should be allowed to. When you have millions of followers (and not only in Twitter terminology) you need to be extremely careful with what you say, in special about others, as what one sees as criticism can be seen as a call to arms by others.

We need to be careful in shaping public discourse.
I regularly help anaesthetise people for their pilonidal abscesses to be removed. It never ceases to amaze me how common this is.
You're correct! Fair Use Doctrine
> How should browser development be funded?

One of the most common Mozilla complaints I see on the web is that you cannot fund Firefox development directly. People want to give money to it, but cannot.

Which makes sense, I guess. Anecdotally, Mozilla is by far the company I know with the most vocal users that get completely ignored.
> My attempt at OpenGL rendering with Rust turned out to be a lengthy journey of suffering through way too many layers of rust wrappers around unsafe C shared libraries. I especially hated that I constantly had to use casting helper functions to go from pre-defined OpenGL constants back to their associated integer values.

From this description, I can't figure out if you used FFI or a wrapper library. But it looks like you are complaining about both - which can't happen together. And the problems you mention seems very specific to the choices you made. I have faced similar problems with other code - something often solved by choosing a different library or approach. I don't see that affecting Rust's FFI story.

> And I do think it's valid to accuse NIH syndrome if there is exactly 1 OpenGL API in C but there are 100+ Rust crates for various OpenGL wrappers.

By definition, they didn't invent anything if the crates were wrappers. They were just using that exactly 1 OpenGL API - the thing that you were accusing them of not doing. And as for 100+ Rust crates, I don't think that should be a problem. Wrapper developers often try different API styles. It's just that crates.io makes them all very visible. In practice, just one crate (or a group of related crates) become popular enough to be the defacto standard in a segment.
On my SBCs and VPSs I use a cache-heavy zram setup with LZ4 and `vm.page-cluster=0` being the most important changes to the default, and cache pressure and swappiness both to 200 off the top of my head, and things like only doing foreground IO when the background write buffer is full. This type of swapping is fast, and is easy on the CPU, and gives a lot of extra disk cache on this type of low performing storage. I disable disk schedulers because they haven't been necessary and would just add overhead.

This means there's a lot of available RAM capacity, that there's a hefty read cache to avoid the SD card, that when there are disk writes on writable storage it can still read from it, and with the lack of clustering and the speed of decompression there's no swapping lag whenever a page needs to be swapped back. This swap early, swap often is the complete opposite of the OOM-prevention swapping you used to use on disks, which was slow and interrupted IO whereas LZ4 in RAM is fast and doesn't interrupt IO.

I have been using this setup since 2022 and have not had any issues but I don't compile anything on those setups, though I see no reason why it would not be safer than compiling without zram at all.
In _Beyond the Curve_ a writer put it succinctly:

> Nobody thinks they are the Ursula of their story.

I think it is the human condition that our ego protects itself by denying truth in order to “protect” our psyche from acknowledging that we may have done something extremely morally compromising.
> cookie-cutter live-in-a-bubble West Coast employees

We should refrain from such labelling. We should engage in dialog, not label people and immediately reject whatever they have to say. This is not how democracy should work.

> the NYT pretends it still practices journalism.

I'm not sure why Fox News still has "News" in their name. Or why they ever had it.
We don't necessarily need the ad industry to work out the practicalities if we simply do away with the whole ad industry. We could quite easily outlaw receiving payments from a third party in exchange for displaying information to your users.
> I don't know if keeping Rust's syntax C++-like is a stated goal of the project

They won't change the syntax, the whole discussion is hypothetically anyway.
What I wanted to express is that most people want a C++-style syntax (of generics), even if they complain about Rust's syntax.
That's why you don't talk to cops. Have a lawyer present and use the courts that us taxpayers pay for.
Maybe you're not the idea person. Find a cause you believe in and offer your services there, or look for a cofounder and profess your allegiance.
They aren't owned nor controlled by Google. And certainly not directly.

I presume you refer to the fact that most income of Mozilla comes from Google paying a fee to have their search be the default. While that is worrysome, it's not control nor ownership. Let alone direct control. At most it gives Google leverage.
There's no reason to think that dolphin milk for example is bad for humans. It has just a bit more fat than lactose. In a balanced diet it could be perfectly fine. It's just inconvenient to acquire. Humanity milks basically any milk that is convenient to milk. And uses it as food since the beginning of animal domestication with amazing results.

I doubt 70% of human population is allergic to milk. If you just read Wikipedia article about milk allergy you'll find out that the rate is 3% and 15% of those 3% are also allergic to soy. And that is just about children. Only 0.4% retain milk allergy in adulthood.

I can imagine that 65% people don't have ability to digest lactose because they lost it at some point because of culture and food availability they didn't need to retain it beyond childhood.

The funny thing is that the problem is with just lactose and if you supplement the missing enzyme nearly all people can draw nutritional benefit from milks vitamins, micro elements, sugars and fats.

Could you point me to some research indicating superiority of soy milk over any animal milk, preferably one that's not analogous to "eating Teflon is healthier than eating a burger for the purposes of weight loss"?
This move does not stop the arms race. Non-anonymous data is still better for the ad industry. Why give that up?
Well, look what vectors Apple thinks are used (most while you keep using it, some physical):

https://support.apple.com/en-us/105120
In a weird bit of circularity, the article you link to references the conspiracy theory you're trying to push:

> In the weeks since the election, allies of Trump have included the Center for Tech and Civic Life's grants in their voter fraud conspiracy theories. They have challenged the legality and neutrality of the grants, claiming that the funding was aimed at boosting Democratic turnout.
Is it c? Or is it с?
Slightly off topic: I'm interested in taking part in the Vesuvius challenge[0], but I don't have a background in ML, just a regular web developer. Does anyone have suggestions on how to get started? I planned to get some background on practical ML by working through Karpathy's Zero to Hero series along with the Understanding Deep Learning book. Would that be enough or anything else I should learn? I plan to understand the existing solutions to last year's prize and then pick a smaller sub challenge.

[0] https://scrollprize.org/
Stud finders are for finding studs, not pipes and wiring.
> Why? Using wasted energy at scale doesn't seem to cause significant CO2 emissions […]

There is no such thing as "wasted energy". The fact that cryptocurrency mining exists means there is load on the grid, which needs to be given supply. If that load/demand goes away, then the supply can be reduced or shutdown. I.e., if there is no demand the power would not be generated in the first place.
Wow, this explains a lot, in my case.

I wonder if the fatigue is i dividual-specific. I’m definitely hit after 20-30 min, regardless of my interest in exhibition, whilst my ex could spend hours browsing.
The situation with Flash and Silverlight was better than the situation currently is with EME. Before, you could implement a standard-compliant open source web browser, you just may not be able to view certain non-web embeds. Now, web browsers need permission from Google to view certain kinds of web content, and they can't be open source.
Do you _really_ want to do programming in your spare time? I know that this is a common thing in the industry, but that should be the exception more than the rule. No reason your hobby should be related so directly to your profession.

I'm a fairly senior engineer, confident in my professional abilities, and I'm similar to you: I just don't have anything programming-related to do, and don't have ideas either. Well, I haven't done anything programming-related in my free time in ~5y, focused on other stuff (music, climbing, crafting, travelling, socialising) and I'm very happy about it. In fact, the least I touch a computer the happier I am.
A donation has been made in your name to The Human Fund.
Does Listerine contain alcohol?
Right but a 25 yr old’s retirement account has practically zero risk. If you functionally can’t withdraw the money for decades anyway, there’s approximately zero chance a dollar invested in bonds will outperform a dollar invested in equities.

Ending up at 60/40 might be a good plan, but starting there seems a waste of money.
Sounds reasonable.

But I highly doubt it removes the want for private data, though. Tracking is also there to measure performance, do AB tests, etc etc.

I'm sure such a broad sweeping law would solve some. But it won't make the ad industry suddenly "good" or go away, or get purged or such.
Is it possible to use this for image recognition and like? Not sure what can be the usage of this apart from as a chatbot.
This is why I work at a company. I have ideas all the time, but they are in the context of work. It’s there that I can work on stuff, and I like to think some of it is worthwhile.

I don’t think everyone needs to have a bunch of side projects related to their day job. I’m sure most plumbers don’t spend their nights and weekend creating and solving ever more complicated plumbing projects in their home. I think it’s nice if a person can have a hobby that scratches an itch that is completely different from their day job.
Oh, I also discovered another limitation on macOS: it doesn't support the ability to quote specific messages like iOS does.
Technically correct? The "M" in "NVMe" is for "memory".
> Or the third option: they feel the tradeoff of HN & co's criticism style is not a big deal in the end.

Well, right now, with their dwindling market cap, I feel like their only userbase is HN & co's type of user.

They repeatedly failed to increase their user base with non privacy conscious adjacent communities. So antagonizing the ONLY folks that go through the trouble of installing a non default browser to have a worse user experience seems like a big brain moment.
> If censorship resistance and reliability are your metrics, there really isn't a serious competitor.

Given the public ledger of Bitcoin, I would hardly say it has "censorship resistance". On that metric I would think Monero or some such would be better:

* https://www.investopedia.com/tech/five-most-private-cryptocu...
i think you might be projecting some stuff onto my post that wasn't there? i'm quite content with my life in general, i just enjoy programming and would like to do more of it and hone my skills but i struggle to think of ways to do that. i can't just open an editor and start writing "code", there has to be an end goal in mind.
Why planetary problems need a new approach to politics Essays
That hardly worked when implemented in the GDPR, where this exchange is most often "free". Why would it work this time?
Not every await and new task produces an allocation in C#: ValueTask only allocates a state machine box if it yields asynchronously, plain task objects are pooled for common values and state machine box itself can also be pooled for frequently called methods (is opt-in), for example socket.SendAsync does not allocate thanks to this.

This will change further as "Runtime Handled Tasks" implementation comes along which will replace Roslyn-generated explicit state-machine code with runtime-provided suspension mechanism which will only yield/suspend the execution at true yield points, with further improvements to how the captured state that needs to persist across them is stored.
What you call Stockholm syndrome, I call reality. ;P

This is an area that we are stuck contending with. Legal solutions are needed here but that path is mired by complex and powerful lobbying. If Mozilla can push for a more private or more protective - even if not fully private or fully protective - then I’d like to see where it goes.
But where else are you going to put your anonymous pages when you don't want them for a while?

Lots of the stuff you're using is backed by disk anyway -- and will be removed from RAM when there's any memory pressure, whether or not you have any swap. If you've got swap then the system can put anonymous pages in it, otherwise it'll need to evict named files more frequently.

Unless you have enough RAM that you're literally never evicting anything from your page cache, in which case swap still doesn't hurt you.

I'll absolutely agree that swapping out part of the working set is unwanted, but
most swapping is benign and genuinely helps performance by allowing the system to retain more useful data in RAM. You don't want to get into a state where you're paging code in and out of RAM because there's nowhere to put data that's not being used.
> it can be surprisingly non-obvious what gets people bothered and what doesn't.

Agreed in general, disagreed in the specific Mozilla case. They’re an internet-related company where “privacy” is one of the stated core goals, yet they’ve stuck their foot in their mouth so often they could open a shoe shop. Failing to see this one is at best incompetence.
My perfect world would have a law against advertising in general. If someone's paying you to say something, it's a conflict of interest and illegal.

Hopefully, the vacuum of people needing to know things would result in better independent Product reviews.

And the vacuum of not spending 30% of your company budget on advertising would hopefully lead to sinking prices and people being more willing to spend on things that were previously funded by advertising.
Please give to LadyBird project and be done with it.