skysight-inc/HackerNews huggingface dataset:
If some commits are signed by people you trust, can the chain before that still be compromised?
https://archive.ph/EvV4h
But why use the web browser as local interface for it? Why not a separate, native application?
I don't go to Starbucks anyway because they just keep that stupid ritual of "what's your name" and they can never understand what I'm saying so we are just standing there on the opposite side of the counter exercising our knowledge of the military alphabet. If that's the sort of skill required, sorry, anyone can do it. Tell me - how long does it take to serve your first coffee at Starbucks as a barista?

Just sell me the damn coffee and bugger off with "experience". It doesn't require a "skilled" person to politely serve me a coffee. Just make sure the coffee doesn't taste like shit and I'll come back to you unless you spit at me or offend me. Again - no need to be "skilled" to not do that.
They don’t. These corporations are incredibly popular among the public. Seriously. Look at any polling and you’ll find Amazon, Google, Apple with higher approval ratings than any branch of government (only the military is close), by high double-digit percentages.

The average American would be happier with Amazon taking over the feds, than the other way around.
I think the sports analogy is bad. Using table tennis as an example, a point can look blundered from the outside, but really the opponent hit a very difficult shot to return and the player did their best to do so. There's also the ongoing factor of one's position relative to the table and one's read of the opponent's likely next shot. These aren't factors that can be judged just with a simple measure of whether the player's return hit went wide.
This! GPT is not an "intelligence" by itself, but more an extension to the human brain, like an "exocortex" holding information that we cannot or dont want to keep in our neocortex. Google search was the first of these "exocortex" extensions to the brain that was popular among many people. So the same seems to happens now with LLMs. Maybe we will not end up with an AGI but more with a human/machine hybrid which has the "superhuman" capabilities.

just my 2 ct
Exactly. Spend your weirdness budget wisely, for the things that are really important to differ on. It's fine to spend it, but spend it where you're getting substantial value in exchange for it.
Completely unhinged idea, but I have always found the traditional way of doing operator overloading (that is as special methods of a class, like Python, C++ etc.) to be a bit strange.

It would be more natural to declare the algebraic structure of one or more related classes.

For example, this is something you would do to override addition:

class C:
...

def __add__(self, other: C):
...

The way that would feel more natural to me is something like:

class C:
...

algebraic_structure Monoid<C>:
def +(fst: C, snd: C) -> C:
...

Which would also work for more complicated structure, for example:

class Datetime:
...

class Timedelta:
...

algebraic_structure AffineSpace<Datetime, Timedelta>:
def point_minus(fst: Datetime, snd: Datetime) -> Timedelta:
...

def vector_add(fst: Timedelta, snd: Timedelta) -> Timedelta:
...

def vector_inverse(vec: Timedelta) -> Timedelta:
...

Where you could automatically "deduce" unspecified methods.
I’m not sure employee compensation is part of the FTC remit.
I don't understand how "Accept public money to work full time on key software" is surrender, but I think everyone misunderstood what I said, which usually means I didn't say what I meant.
Weeks 533 – One of the Largest Barge Cranes
https://en.wikipedia.org/wiki/Dolphin_(structure)
I think something like this is inevitable and possibly great. The problems I see are the niceties of my platform of choice that I may loose when everything is rendered in a canvas tag.

For instance, I grab individual elements of the UI all the time for sharing screenshots on macOS (like an individual menu, in a transparent png with drop shadow). I have several text shortcuts that work everywhere except on electron apps. Or, for example, how would accessibility work?

Like I said, I think a future where a cross platform open source web stack becomes the standard for UI development is kind of inevitable. I just hope it’s a great stack, with the best ideas from Mac, Windows, Gnome, KDE, etc, and not a lowest common denominator, which is usually the case.

Anyway, this is extremely cool and I’ll keep an eye on the project.
If you don't need per customer configuration just throw it all in a configuration file and call it a day.
I've been doing largely the same as you up until just about a month ago, and maybe once a year I'd have to track down and deal with breakage of my environment because of it. Things periodically get into a weird state for reasons I don't understand.

About a month ago I set up a "homedir python" using pyenv, to hopefully solve this problem once and for all. So far it seems to be working great.

Though for projects I've been playing with poetry and rye the last year, basically just as syntactic sugar over venv, mostly just to try them out. They work fine, though I don't understand why "rye shell" is being deprecated.
I don't know why people think AGPL changes anything here. The very first of this wave of moves to non-FOSS licenses, and the creation of the SSPL license we are discussing here, was Mongo moving away from the AGPL.

What these companies want is licenses which prevent AWS and other cloud providers from competing with them on their specific technology, regardless of how much those same companies are contributing to the technology. Redis is the most extreme example here - by all accounts I've read, Amazon was a major contributor, not just throwing bug fixes here or there. But that doesn't help Redis Labs, they want money, not code. And the AGPL would have done less than nothing to help stop Amazon from running their own Redis service: Amazon was already doing everything (or at least most things) that the AGPL would have required of them.

SSPL is just a figleaf. No one sane redistributes third party SSPL code without having a contract with the company, it's essentially proprietary in all but name. But it allows the company to maintain this air of open source legitimacy.
China's ageing population: A demographic crisis is unfolding for Xi
Blood, sweat, and water: paper analytical devices track health and environment
The point is to look out for human or similar beings who have somehow lost access to our knowledge, including the ability to read our languages.

The entire thing is an exercise in hyper-transgenerational communication (if I might turn a phrase).
TSMC Evacuates Factory Areas After Taiwan Earthquake, Tsunami Warning
it's en masse because it's way more than the baseline firing rate
No, it wouldn't, but that wasn't the attack here. And code outside the sandbox could check a checksum of the uncompressed data, to ensure that the decompression can't misbehave.
It isn't just the speed/shape of the orbit. The gravitational potential difference is a major factor.
Man I was playin with computers before the internet, so...I guess I do. Do you? Hahaha! :) You know if you use novnc from the web you can connect to a non web application, right? Your use case is not elucidated very cleary. Maybe you can try....being more clear? Hahaha! :)
Show HN: Color Picker – tool for extracting colors from images
Hello, I'm Rayid, a frontend web developer with a passion for creating tools that solve real-world problems. Today, I'm very excited to introduce my first side project – an Image Color Picker web app.

*The Problem:* Ever stumbled upon an eye-catching website and wished you could capture and use those captivating colors in your own projects? I certainly have, and that's what led me to develop this tool. I wanted a tool that could efficiently extract colors from images and save them for later use.

*The Solution:* To overcome the above problem I built Color Picker – a web app built with React and Tailwind, powered by Firebase on the backend. This tool allows users to extract colors from images using an eyedropper, offering multiple formats for easy use. Users can effortlessly save, share, and export their colors. Moreover, this tool automatically names color codes so you can easily implement them into your code.

You can checkout my webapp here: https://imgcolorpicker.vercel.app

I'd love to hear your thoughts and experiences with the tool. Happy coloring!
I always find skepticism like this to be really interesting, since in the end we could always be getting fooled by the Deus Deceptor or something. That being said, let me take a stab at being anti-skeptical for the fun of it.

I work around people who do "Computational Chemistry", which is basically running quantum physics calculations. These tend to be done in order to either understand the properties of materials, or to understand the reasons why reactions happen. The results are more advanced materials and better performing reactions. An early and famous example of such technology is the laser. A more typical modern example would be searching for Zeolite catalysts which have particular properties, or trying to create surface coatings which protect implants from being eaten by the immune system, or on which ice cannot freeze.

Basically, I believe the advanced calculations to be correct because they lead to things which are (eventually) used in daily life.
I still don’t understand how people claim Python is “elegant” given the number of files with four underscores in the name get sprinkled around repositories.
Apple would be loath to annoy China regardless of who the FTC head was.
Brand New LLM & AI Tool for Investments and Trading
Hello, Everyone; I'm Anwaar Malik. I have a background in CS+Finance from the University of Waterloo with additional education in Economics from Harvard. Today, I officially launched AllMind AI to the public. We have been in beta for the past two months and have had analysts, independent investors, and professionals from the finance world review our product to see how we can improve it. I developed AllMind AI to address common challenges faced by investors. In the finance sector, investors typically encounter three significant hurdles: 1) High cost of data; 2) Data is scattered, requiring visits to multiple locations to obtain information, each with its learning curve and fees; and finally and 3) The complexity of transforming raw financial data into actionable insights for investment or trading decisions. This led me to create AllMind AI, designed to significantly reduce the time and money investors spend on research and analysis. During our beta testing, professional analysts from major firms and independent users reported an average savings of 90% in research time and 98% in subscription costs. Our goal at AllMind is to save time and increase profits for investors. We want you to make confident data-driven decisions for your investments. If you are interested in this product, I recommend you check it out (you can use it for free!) https://allmindinvestments.com/
Reminds me of this from a comment yesterday

https://boringtechnology.club/
If my data is already in the browser (Sheets, Gmail, other websites to scrape) why have another app instead of doing the work in the browser?
Tax free $500k? I don't want the IRS to come after me. Please mark all your bribes as regular income thanks
The very things that should ideally be part of an operating system and be called/embedded by the browser as need be?
My theory (not an original thought) is that the objective of all of this is to deprive ordinary people of their freedom to travel. Engineers must be telling someone about the seemingly insurmountable problems, yet various governments are plodding along into ruinous directions.
As the author of the article, I really like your counter-point here.

Because I do agree -- in all startups most "stuff" is being executed poorly (if at all), with issues everywhere, and yet when you get the right 1-2 things _really_ right, that can overwhelm all those problems.

So, perhaps the charitable view is that this piece is a fun way of getting at the usual ideas of things which derisk a startup -- e.g. talking to customers rather than coding in a hole -- and indeed many of these things will surely be a net-positive.

And yet, the "80% of winning" might indeed be correct for amateur chess and amateur tennis, yet it's not "80%" for startups, and that bit is rhetorical.
What I really want is a thing that goes through my browser history and just archives everything unless I specifically exclude it.

Browser history _used_ to do that, almost. You could browse your history offline and pages would still render. And at some point, that stopped working.
Not a physicist, but apparently the planet does not really have enough mass to matter: https://www.reddit.com/r/threebodyproblem/comments/15cgd51/i...
If only we were half this creative with communicating to our current civilization about the serious environmental and health problems caused by the world's current energy mix (air pollution causing ~8 million deaths/yr and greenhouse gasses causing climate change). Then perhaps it'd be more clear that implementing a few small geologic repositories are a fine price to pay to solve our problems.
I have done experiments with music that responds to movements of a car and the side effect was that it inadvertently gamified driving, and the driver made increasingly risky and aggressive maneuvers.

Doing things for the art-of-it that involves cars on public roads is extremely dangerous territory.

It will eventually kill someone, driver, passenger, pedestrian, so I would advise finding a safer application for your expertise and avoid the whole killy death thing and legal quagmire that awaits if you keep going in this direction.
You mean a 64bit architecture literally cannot handle an 8bit instruction as its smallest register is 16bit without swapping modes?

Where did you get that piece of misinformation from? 64-bit x86 can handle 64, 32, 16, and 8-bit data just fine, and its instructions are still byte-aligned.

Also, the decision to remove 16-bit support from 64-bit Windows was entirely political. NTVDMx64 adds it back.
part of this is exactly because their malfeasance has gone unchecked for so long
> like Google India or Gojek Engineering in Bangalore, Jakarta, etc can pay German or French level dev salaries

Not even close. Indian devs at top companies earn way more then European devs at local non-top-tech companies.

>unless by "middle class" your peers meant the professional class in China (the kind that can afford to splurge on a new iPhone every year, buy a Xiaomi SU7, and send their kids to do a bachelors degree at UCB, UCLA, or UIUC)

How many Chinese families (percentual speaking) can actually afford that?
My granny do not need anything to cook
This is a great guide. Awhile back, I wrote a blog post[1], "Python double-under, double-wonder," trying to dispel one common misconception I find among new Python programmers. That is, they often think that these methods are "magical" and thus shouldn't be implemented in their own classes (by "mere mortals"). That is true for a small subset of dunder methods (e.g. `__new__`), but not true for many of them (e.g. `__init__`, `__iter__`, `__call__`, `__len__`).

A better way to think about it is that the double-underscore naming convention simply means "reserved by the core Python team" -- they offer ways to hook into widely-implemented protocols in the Python runtime.

That also means you should never invent your own dunder methods or dunder attributes. This is another mistake new Python programmers -- and even some experienced Python programmers, even some Python framework writers! -- tend to make, "imitating" this naming convention to mark parts of their own code as "magic." Don't do that: the whole idea is that the core Python team reserved this namespace (`__*__`) for Python-wide protocols.

[1]: https://amontalenti.com/2013/04/11/python-double-under-doubl...
Alternatively, a Boolean variable 'bankruptcy' can be declared in the class to indicate the use of dunder-miffling.
Yeah. I think the first half of the article is asking the right questions and highlighting some real problems, but part way through went in a wonky direction.

Those complexities and problems are real, but the obvious value of a context-aware AI is reducing friction by hiding those complexities from the user. So they can state a goal and have the right tools to achieve that goal selected and/or used for them.

Forcing someone to use a half-dozen devices instead of a half-dozen apps is doing the opposite: It's increasing complexity and friction for the user, by adding extra steps between "this is my goal" and "goal accomplished".
Agricultural subsidies are a terrible example because they're so corrupt. The cheese reserve doesn't exist because it's gonna protect Americans from starvation. It exists because the dairy industry massively overproduces. Only a small amount gets converted into cheese. Millions of gallons just get dumped[1]. The dairy industry is entirely unsustainable, especially given that the government keeps the price of milk low because it's considered vital for children's development, dairy lobby propaganda with no basis in fact. And these massive subsidies don't even help small farmers. The only way to keep up with the absurd artificial demand is massive factory farming of genetically engineered super cows bred in a lab to produce as much milk as possible with a life expectancy a third of a normal cow.

[1]: https://www.wsj.com/articles/americas-dairy-farmers-dump-43-...

(I guess this isn't really relevant to the OP, but I recently read a fantastic book about the dairy industry and now I can't shut up).
I fail to see how you addressed the previous comment here. You ignored 80% of the points made.

Donations is fine, but it needs to be “no strings attached”, otherwise I agree with the GP that the risk of weaponising FOSS may become even greater.

I do agree that the US government is critically dependent on FOSS by now though. But “why throw money at it if it ain’t broken?” is the prevalent mentality, especially when everyone can have their own definition of “broken”…
When iPhone and Android phones incorporates local AI models, the 'AI Gadgets' junk hype fad will end in the same way flashlight apps go.

100%. Bookmark this and come back in 5 years.

There are almost 2BN iPhones and Androids in existence and there is still room to innovate around mobile with AI.

Why buy another gadget just for a single use case with AI when your phone already has the capability and power to run local models on device?
Its literally a directive from the White House Office of Science and Technology Policy; White House is not being used in a figurative sense for “the US government broadly” (which , incidentally, I’ve never seen any major Western media do; Washington, sure, but not the White House) but in a literal, institutional sense.

https://www.whitehouse.gov/ostp/news-updates/2024/04/02/whit...
I realized social media was stealing focus from my work by nagging me night and day to re-engage with it. I cut myself off from all but the most simplistic, dark-pattern-free platforms- like HN. My working memory has been freed of clutter and my mood has improved considerably. I recommend sandboxing "tailored for you," dark-patterned online services, or ditching them entirely. (By "sandboxing" I mean accessing them from dedicated platforms off of your mainstream devices.)
It might be more obvious for you, but I have no idea what I'm looking at in the algebraic_structure. Perhaps the traditional method is easier for the average numpty like myself.
Also today is our launch on product hunt: https://www.producthunt.com/products/allmind-ai
"but it’s going to be big."

Or not, because turns out your phone can do it all.
I do love AMD because its drivers are open source as opposed to nVidia. However, is "less issues" really the case? I sure hope not, for nVidia's sake.

My AMD graphics experience, on APUs and dedicated GPUs, has been plagued with basic issues and random crashes. AMD cards and their driver/firmware issues are without a question the IT product that affects my daily life most.
Or, open the Python docs in your favorite browser, bring the omnibar into focus, and click the little button at the bottom of it to add the Python documentation to your list of available search engines.

In your browser's settings, you can set the shortcut for this search engine as "@python"

Now whenever you're searching, just start typing @python, hit tab to complete, and then type your search term.

I use this all the time in Firefox, and I'm 90% sure it works in Chrome, too.
This is such a simplistic, winner-take-all viewpoint. Example: having an awesome marriage can open a bunch of doors and afford you the time, energy & space to DO a lot more things. Same with a family & friends. It must be sad to go through life viewing every course of action as work that eats limited capacity.
> On mobile, they are not competitive with Apple and soon Qualcomm

With the exceprion of some Android tablets, Intel chips are not really present in the mobile market.
Opposite viewpoint: browsers are for much more than "browsing".
It's been 10-20 years that browsers have become the only app many people ever use, on a computer. So they already almost do everything: video conferencing, instant messaging, editing documents, sending emails, image editors, video games, calendar management, etc

So at this point, frankly, "running a local LLM" is a pretty minor feature compared to the entire feature set of an average browser.
GTC is easily confused with Galactic Time, which will likely cause mass havoc a rewrites in dead languages like Imperial C and Scala sometime after the year 48,000AD.
Show HN: Add a Notion AI-like experience to your text editors in 15 mins
Hey HN! We created a way to add Gen AI easily to any text editor/text field. If you’re familiar with Notion-AI, this library lets you define your own Notion-AI-like experience for your users in your very own text editors.

Use our docs to set up a basic GenAI supported text editor in 15 mins. Currently we’re only supporting React, but will look to support other frameworks soon.

Few notes:

- Out of the box, you have support for summarization, translation, and brainstorming with GenAI
- You are able to add any custom actions on top of the already supported actions
- Our library is built on top of Lexical’s Text Editor Framework (comes with the ability to create a highly customizable editors)
- We only support OpenAI models rn, but will support additional models in the future
- We’re built using our platform, [palico.ai](http://palico.ai) — it’s a framework designed to make building, improving, and deploying LLM features easy

You can try the demo here: https://palico-main.vercel.app/lexical

You can look at our docs here: https://docs.palico.ai/category/lexical-ai

Excited to hear what ya’ll think! Please let us know what you think.
The FTC is mainly concerned with the company's external behavior. Internal business would probably fall under the purvue of the NLRB, maybe the SEC, and such.
My thought exactly - the fact that time runs slightly faster on the Moon than on Earth is fascinating, but the pragmatic approach would be to just compensate for the deviation.
You are definitely talking to a person and I have worked as a UX specialist at a monitoring company (about 100 people) my whole career. The majority of the time, I was battling why we should invest long term to create lovable products rather than do "growth hacking" and draw immediate metrics for investors. This was the reason I decided to start a new company, knowing well how saturated the market is in this area. Trust me, I have repeatedly found myself asking the above question. It may sound poetic or like ChatGPT because I didn't want to bring a comparison of features. Rather, I wanted to give a high-level motivation.