skysight-inc/HackerNews huggingface dataset:
> I don't think you are here for a productive discourse. It is more likely you are waging a class war here.

Hey, you're the one who started preaching ideology in that thread, you cannot complain if I do the same afterwards ;).

> Please, find another person to preach Marxism to,

When you grow up, you'll learn that the world is not black and white, and if you look past the cold war propaganda, there's actually nuance between the two evils that are actual Communism and Liberalism. The only system that actually delivered prosperity anywhere in the world is the Welfare state, and it has nothing to do with Marxism except that it recognizes that unconstrained Capitalism lead to bad outcome (and, in practice, Fascism, more often than not).

> I come from a country that has suffered greatly from Marxist ideology and the damage was so severe that recovery is still not in sight.

What country is it? The damage from Communism were indeed sever when it lasted, but in most former communists countries, one must not confuse what we're seeing now with the aftermath of Communism, when it's in fact the natural consequences of the new Capitalist order that emerged after its demise.
You receive a call on your phone. The caller says they're from your bank. You hang up and call back to the bank yourself. End of story. If the caller objects to you doing that, that by itself is an enormous red flag. You never, EVER take incoming calls from "your bank" seriously.

I myself have an additional rule that I always reject calls from unknown numbers, unless I expect one (delivery, taxi, etc).
You can turn weight training into cardio, by keeping breaks between sets down to just a few seconds.

If you go to a fitness center, some have machines set up for this. Mine used to call it circuit training. At home, if you're using free weights, have enough that you don't waste time changing plates.
Well thats a fun experiment. If you ever find the link, do share it, would love to tinker around and see what's exactly going on in there.
Oh, please.

These licenses are fixed percentages.

The only thing that is fixed about your employers' greed is that it has no end.

Spotify pays "$0.003-$0.005 per stream. Artists can expect around $400 for every 100,000 streams."

This is disgusting since you know they HAVE to be on your platform, but there is no money to be made there. The IMMENSE share goes to Spotify.

So please...spare me that shift of blame. The only thing that would change if the license holders would demand less is that Spotify would make EVEN MORE, and you know it. No customer would get a discount or something like that. People know that. You can't lie to us.
I always thought I wouldn't fall for this trick. Then one day a lady called about something I'd done on Coinbase. It's true, I had transferred money to Coinbase. She then said she wanted me to login to the app and get to a screen where I had to do something. I hung up.

Months later I got a call from the Income Tax Department saying I was in big trouble. I had done something very bad. I hung up.

But the third time was wild. Something was wrong with my credit card. They had to replace it. They were even able to trigger a 2FA code. I hung up and changed my password.

Turns out I was right. I don't fall for this trick.
That's great to hear, thanks for sharing! Will definitely have benchmarks to share later

Would love to hear about the scale of the vector data you're working with in your local app. Do you actually find yourself with > 1 million vectors? Do you get away with just storing it all in-memory?
I might be too cynical, but when a company thinks that the best use of its cash is to buyback shares (and not, say, invest in a new product line) then it has reached its limits. It's a sign that the company is no longer engaged in developing new things (which requires cash) and is merely engaged in maintaining an existing business.

Kinda sad to see Apple doing this.
Its fascinating that people think this is a good thing and even more interesting that they find the joke acceptable...
Okay, but coordinating in one Facebook group is hard. If they're doing it in 100, they're never going to get a chance to be extremist militia. They'll just be managing groups. This is good.
That always happens with 2FA these days AFAIK.
> Compare us to our ancestors 10,000 years ago, nomads emerging from the Paleolithic with only stone tools, no writing, etc.

Aren't we still those people?
Aren't stone tools, and tools made of wood, bone, and other plant & animal parts, enough? They don't require smelting (though I wouldn't be surprised if someone(s) 10,000 years ago got curious about the metal bits in their fire and traced it back to iron deposits in the sediment stuck to the wood gathered from a dry riverbed), and are far less environmentally damaging than a lot of the stuff we make these days.

Numerous other animals make and use tools, and plenty others don't seem to, and they get by okay- a meaningful life can be lived without the technological trappings we've cocooned ourselves in.

I take neither this phone nor reading and writing for granted; it's all wonderful and unnecessary technology. Who needs to read & write when you are part of a tight-knit, mutually-supportive community with a rich oral tradition going back millennia?
>AI is artificial intelligence.

AI is artificial intelligence, "AI" is artificial but it's not intelligence.

ChatGPT, Gemini, Stable Diffusion, LLAMA, et al. are not AI, they are "AI".

>Do you have a point here? ... Social media companies' "algorithms" aren't algorithms.

Social media run on servers, servers run software, software is quite literally "a procedure for solving a mathematical problem in a finite number of steps that frequently involves repetition of an operation" and "a step-by-step procedure for solving a problem or accomplishing some end"

Please come back when you at least have a basic understanding of how computers work.
Related:

Open Sourcing DOS 4

https://news.ycombinator.com/item?id=40163405
As someone else said, Scheme is the one that warrants the "pure, elegant" reputation. CL is full of crazy features and weird functions but it's because it's basically the continued lineage of the original Lisp from 1960. It can even run those old 60s vintage programs with minimal tweaks.

https://web.archive.org/web/20150217111426/http://www.inform...

If you just want to play with macros and learn what makes the Lisp thing so special I'd recommend Clojure, it's like a stripped down CL with only functional features, and it's extremely nice and ergonomic.
Can response be cached at llm side?

If yes then with each question. You can pass random number and check it really understands
Does any of you know how to force-enable this feature on a Pixel 4a, preferably without tripping SafetyNet? And does it support languages other than English?
Oh brother, talk about histrionics…
Discussion [0] (227 points, 10 hour ago, 116 comments)

[0]: https://news.ycombinator.com/item?id=40240037
I'm using PostgreSQL since 2002. Never lost anything.
The point isn’t that we should have to trust Apple/Google for our passkeys — it’s that we should have full control over the backing store used by our password manager(s).
[dupe]

Discussion: https://news.ycombinator.com/item?id=40240037
A ringing bell:

https://youtu.be/MmrihxFhWJw?t=57
Second Boeing whistleblower dies after short illness
Fortunately, people have minds which can override their programming.
SpaceX is certainly giving a hard time to its competitors, but it doesn't mean they shouldn't exist. Some of them may actually follow the same route, designing reusable hardware and reducing launch costs. SpaceX took 20 years to become relying on robustly reusable system; maybe some other companies reach a similar state sooner.
Asking for a specific employee is considered a red flag in AML training. I don't think many banks will even allow you to do that.
Looking for something like Plecto but affordable, any suggestions?
I would like to build attractive dashboards fed by a Google sheet. Plecto looks great as does Geckoboard but my goodness seems everyone in this space has max pricing. I see a few things that are cheep but look very cheep. Google is not much help as I’m pummelled with ads and SEO “content”. Recommendations of things you love are appreciated.
Apparently the meat industry thinks otherwise, hence they're trying to push their poodles to outlaw it. With some success even: https://www.bbc.com/news/world-us-canada-68947766
"what key am I pressing?" as simply as possible
I think it will be very interesting to see how it plays out and has a lot of positive potential.

I don't think it is very sustainable to have 50% of the population on a biologic medication to help self control, but hopefully it will help individuals and societies change norms.
How is this entirely developed by ChatGPT? Does the author claim that all the code in there was generated by ChatGPT?
Large discussion [0] (450 points, 1 day ago, 526 comments)

[0]: https://news.ycombinator.com/item?id=40230790
kind of the point though
Albeit the "lack of evidence" is often usually stated to not be used as evidence, I believe this is a proof of the contrary.

Patients that have improved symptoms are less incentivized to seek further treatment/studies - obviously this can be controlled for.
[dupe]

https://news.ycombinator.com/item?id=40230790
I don't know of a non-Google option for this, but my Moto G7 can do this using it's stock ROM.
That's a red flag on that bank.
The standard supports exports, it should arrive; the vast majority of users will never export them from Google or iCloud synced storage though.

https://news.ycombinator.com/item?id=35855133 ("HN: Passkeys will be importable, exportable, cross-device, and across managers")
So goodfellas, basically: https://www.youtube.com/watch?v=ZPtjyqgZAUk
Everyone asks, "where are the militias", but no one stops to ask "why are there militias".

And if your answer is simply because "racist", "evil", or any other weird notion, you are most certainly entirely wrong.
This is really fun.

Surprised it doesn't come with instructions about which letters map onto left/right start/middle/end.

Also, the choice of those mappings is not very intuitive. A simple idea might have been a-g starts, h-t middles, u-z ends, for instance.
> As a novice C programmer, the simplicity and immediacy of results opened my eyes to how C can feel as productive as higher level languages with robust standard libs.

TBH, once you have halfway-good libraries for dealing with `char *` strings as-is, dynamic arrays and hashmaps, you are not going to be much slowed-down using C than using a higher-level language.

You even get much stronger isolation guarantees than most other high-level languages, while getting much more compatibility[1] with any other language you may wish to interface to: https://www.lelanthran.com/chap9/content.html

[1] I did a little Go project, and it annoyed me slightly when I wanted to do performant FFI. For Go, I think the situation has improved since I last checked, though.
Where’s that data?
Is there anything about that phone in particular, or is google just device-locking features to differentiate their devices? (or subsidizing something that runs on their server)
DuckDB-VSS: Vector Similarity Search for DuckDB
Show HN: Markdown Slide Editor with AI
* Introduction

A tool that allows you to create slides using Markdown.

Using Marp as a core rendering engine.

https://www.markslides.ai/intro

* Sample slide

https://www.markslides.ai/publications/JavaScript-console-in...

* Motivation

While creating development-related slides using Keynote, I feel uncomfortable with inserting source code, formatting text, etc.

* Features

Auto generating slides and contents using GPT-3.5, GPT-4

Source code syntax highlighting

MermaidJS diagram, Typograms rendering

Support slide show, presenter mode

Support Unsplash, GIPHY images

PDF export

Sharable public link

Publishing (can be found in search engines)

* Links

GitHub: https://github.com/markslides

Discord: https://discord.gg/XucrF7vhrk

Twitter: https://twitter.com/MarkSlides
But then alcohol kills or shortens life span in many more ways than drunk driving.
I’m going to plug Peter Attia, MD again here. In his podcast with Mike Joyner, MD (an exercise physiologist of Mayo Clinic) there is fairly detailed discussion of the literature on this topic.
"Using a language like C#, Javascript, or Python would force that allocation structure."

No. C# structs are C structs. Shape[], Span<Shape> or Shape* would not be an array of pointers. Any of the following would work:

var fromHeap = new Shape[100];
var fromStack = (stackalloc Shape[100]);
var fromPool = ArrayPool<Shape>.Shared.Rent(100);
var fromMalloc = (Shape*)NativeMemory.Alloc(sizeof(Shape) * 100);
The other day I got a call from my bank, thought it was probably a scam. I hung up and tried calling back but it was a labyrinth of menu options, I gave up. Turned out that the first call was legit and I spent another day playing phone tag to get back to him.

There needs to be a better way to verify.
Ask HN: Is it possible to estimate the age of the moon from its crater count?
If we know the approximate rate of impacts (and can cross check across the rate of different sizes with the count of craters of different sizes), shouldn't we be able to get a good picture of its age?

How does this correspond to the age estimate through other methods? :)
> It's about ironic as rain on your wedding day.

Ah!!! It's the Alanis Morrisette meaning of irony, not the dictionary one!
CBA (largest bank in Australia) is very good about this and has scam info on the front page of their website, and drills it into you that they’ll never ask for any information over the phone and to call them on the main number if you’re ever asked.

I’ve had a call from them before and when they first greeted me they made it clear they know my full name and details, and told me up front if I have any doubts before continuing I can call the main number and use the voice-assistant to ask for a specific department. I did, and was put through in under a minute.

My previous bank wouldn’t even do 2FA other than via SMS, and also would only let you do 8 character alphanumeric passwords. The contrast between banks is wild for this day and age.
I’m sure the American tax payers are sending in billions of dollars because Russia is highly non genius lol. Get your head out your ass
Simple web to whatsap food ordering. Best viewed on mobile
> No, they don't.

Really, they do: there a millions of us coding in those other languages just fine, and automatic formatting has been a thing for decade, and I'm not aware of a single language out there that doesn't have such a formatting tool.

The only exception with Go is that you cannot change the default settings. But that's it. In any other language you can use a code formatter with the default settings and the “speedbump in the way of automating formatting” you talk about doesn't exist anywhere but in your mind.

> where it can be relied upon to be present and so used in pre-commit hooks

You know that a failing git hook aborts the commit? So that with any language, if the formatter isn't installed in the machine, the commit cannot be performed, which means that the formatter can actually be relied upon anyway. In practice, the hardest part is making sure people all have the git hook installed (that's not that hard but that's the hardest part).

As I said before, Go has many useful properties, but automatic formatting is definitely not what makes Go relevant, and the endless stream of Gophers who argue this are just ridiculing themselves in front of everybody else.
Good story, but the writing is annoyingly tough to follow.
You receive a call on your phone. The caller says they’re from your bank. You never notice because you ignore unexpected calls that aren’t from family and you don’t check your voicemail.
We agree about official calls, I also call back (independantly sourcing an official number) and advise my father ( ~90 ) to do the same.

> I myself have an additional rule that I always reject calls from unknown numbers

I'm highly skeptical of unknown numbers and they're almost always telemarketers or scam calls but ... my circle includes people who can lose phones, have batteries go flat, ask others to pass on a message, etc - fully whitelisting isn't always an option.
Macs and iPhones don’t cost $200
Absolutely true, I found it amusing because I came to strongly believe over the years that lack of physical activity is one of the worst things one can do for one’s overall wellbeing. We evolved to be physically active, sitting around all day can be compared to being malnourished or not getting enough sunlight or social contact, etc.
Good luck making all your teammates use these boost templates and use them correctly. And debugging these layers of templates.

A classic from the old Rust FAQ:

>> I already write perfect C++. What does Rust give me?

> Modern C++ includes many features that make writing safe and correct code less error-prone, but it’s not perfect, and it’s still easy to introduce unsafety. This is something the C++ core developers are working to overcome, but C++ is limited by a long history that predates a lot of the ideas they are now trying to implement.

> Rust was designed from day one to be a safe systems programming language, which means it’s not limited by historic design decisions that make getting safety right in C++ so complicated. In C++, safety is achieved by careful personal discipline, and is very easy to get wrong. In Rust, safety is the default. It gives you the ability to work in a team that includes people less perfect than you are, without having to spend your time double-checking their code for safety bugs.
Beware of the Turing tar-pit (2004)
Even more so in 2024.
Your comment just gave me a thought of how cool would it be if society had a mandated activity hour in the morning. I’m imagining loud speakers attached to poles outside making announcements and all businesses closed for that hour, and people all out and about exercising, walking, running, talking. Yes it’s a bit like school but society can be so much better if we prioritized good living!
It exists: https://apate.ai/
I struggle with anxiety and have below average HRV and VO2max.

I started jogging a month or so ago and have definitely seen an improvement in my mental health.
I'm for calorie labeling, but view it simply as a tool and aid for those who choose and try to self regulate.

There is no amount of labeling that will make a different if there isn't a human expressing agency to read the label and take action.

I think there are tons of helpful strategies, but the critical infrastructure t
Needed is more self actualized agency.

This isn't an insult or dismissal, but a hope we can all become better humans.
No. Among other things, they'd have a higher degree of continuity if they were.

I personally find this a fascinating topic, so much so that I did a PhD on it. The most natural loss function to optimize for is minimizing bending energy, and there are solutions to that going back about 300 years. However, in practice that's unlikely to be what you want - the problem with it is that its scaling properties give an advantage to curves with a longer arclength even if they have more curvature variation. Intuitively, the smoothest curve through a set of co-circular points should be a circular arc, but that's not what you get from the minimum energy curve, at least unless you impose an additional arc length constraint.

The long story is of course much more complicated, but the short version is that the Euler spiral fixes these scaling issues and has some other really nice properties. If your problem is "what is the smoothest curve that goes through this sequence of points" then arguably the piecewise Euler spiral G2 continuous spline is the distinguished answer.
The weakness you refer to comes down to mistaking psychopathic behavior for leadership, imagination, genius, creativity. By the time the psychopath shows himself for what he is he has too often gathered a following, gotten rich by fleecing people and fraud, accumulated power, risen to a leadership position. We enable and tolerate such people because we hope for the best -- a real leader, a real humanitarian, a real creative genius.

I don't know how to reduce the list of parasites. I think we could start by enforcing consequences. Not just inconsequential fines, but serious jail time for fraud and other illegal behavior. We can stop overlooking the signs and giving these people a pass based on their lies and empty promises. That might not stop new parasites but it might let us stop them before they cause tremendous damage.
I don't see how "repopulate the earth" implies that.
I feel like everytime I log onto this site I encounter a finished project that's very similar to something I'm working on. I'm too slow (or project hop too much).

Not that PDF related tools are uncommon but yeah I think people understand the sentiment.

I'm also very surprised that <redacted> for profit companies in the Document-manipulating/signing/storing still exist outside of niche industries (healthcare, govt, law) that require audit-trails and other regulatory specifics. I guess SEO still rules.. If anyone wants to make some money call up all the biggest real estate firms in your area and ask them how much they spend on contract signing or related services (it's a lot) and then offer them to do this for half the amount ( I can sign 20-30k documents for <$100 a month, and could be cheaper probably) Your average real estate firm is paying .50c-$1 a signature if they are uninformed, there's a lot of the uninformed.
I am unfamiliar with passkeys. Can they be exported and imported, or WILL it be possible one day?

Because that affects my choice to adopt them today.
And because drivers can't see or hear anything.
There is also the grim reality that most pets would run away and not come back if you were to open the "prison doors". Think of birds, reptiles, dogs etc.

Our interaction with other life on this planet is very human centric, some call this human supremacism. A line is drawn between us and other animals, and the justification is quite arbitrary in my opinion. A line that is used to justify a vast number of atrocities and systemic exploitation. I don't believe there is no meaningful difference between a human and a cricket. But between a human and a dog or pig? That's close enough that I'm willing to extrapolate.
> Nowadays computers are almost never shared.

I find it ironic that Google TV still does not have this feature, it is the one "computer" that people probably still share regularly.

Sure you can login to multiple accounts and have different "profiles", but that just changes home screen recommendations, all the apps and their sessions are shared. So since I share it with a few roommates, we're constantly having to logout and in to our accounts in different apps to access our watch histories, our plex servers, etc.

On the other hand, my android phone does multiple accounts perfectly, why can't it work the same way on the TV?
It would be interesting to correlate these results with data about reduced testosteron levels and sperm counts/fertility, especially whether one of these leads the other or whether both go down at the same time.
I got a call from “my bank” I noticed the number was of a local branch…but had a different country code. Crafty.
Or more like removing only the brown m&ms from the bowl.
Some years ago I had one of these calls and the guy told me to turn over my card and call the phone number printed on it, then as for a specific extension number. I got back through to him in moments. This isn't that hard. However the caller didn't do this until I asked him to prove he was calling from the bank.

The banks (and utilities etc) are training the Boomers that they will call and claim to be from the bank.