skysight-inc/HackerNews huggingface dataset:
Show HN: Adding Python Plugin support to my AI app Llama Run to automate your PC
I wanted to share a project I’ve been working on—an assistant app called Llama Run. I initially built it to do simple tasks on my PC (change settings, perform automation, etc.), but as the project evolved, I became interested in making it extensible with Python Plugin support.

Here's the backstory: While researching automation libraries, I came across PyAutoGUI, which allows you to control your PC through Python (moving the mouse, typing, clicking, etc.). It got me thinking about the potential of combining Python's flexibility with event-driven automation inside my app. Later, I found a GitHub repo that combined PyAutoGUI and OpenAI API for automation—this inspired me to give users the ability to create and run custom Python scripts directly in Llama Run.

How it works: I’m integrating Python through the CPython API alongside C++, allowing the app to run Python scripts dynamically. The plugin system will allow users to write Python code to interact with the app and automate their own workflows. By using a plugin system, I’m also keeping the app's core logic separate from custom user functionalities. I’m still developing this feature, but I’d love feedback or suggestions from the HN community. I’m eager to discuss the process and gather ideas on how to make this even better. In the meantime, if you're interested, here’s the Microsoft Store link: [https://apps.microsoft.com/detail/9NW950ZX02CQ?hl=en-us&gl=I...] (This doesn't include the plugin system).
Related shameless plug: I have a small tool that prepends each output line with a timestamp (can be absolute, relative, or elapsed since last line), might be useful or pair well with this tool in similar scenarios (not needed when dealing with already timestamped logs, of course).

https://github.com/zmwangx/ets
“Chances are” is not science, it’s just obsessing over the current Scary Thing. You’re just making things up.
Should be a law to put the materials used on all products, not just foods.
This is why doing long-term development on Android feels like trying to build a sandcastle during high tide.

Google forces you to use their ever-changing, drama-prone OS-level components through their “official” libraries. These libraries evolve faster than a teenager’s TikTok algorithm, so good luck keeping up. Oh, and if you don’t update your app to comply with their shiny new toolchains and runtime? The Play Store will ghost you faster than a bad Tinder match.
https://www.sciencedirect.com/science/article/abs/pii/S03043...

> Several studies in the past have shown that harmful chemicals and substances can leach from paper and paperboard-based food packaging into the food meant for human consumption (Choi et al., 2002, Hansen et al., 2013, Schaider et al., 2017, Trier et al., 2011, Trier et al., 2018, Deshwal et al., 2019, Vandermarken et al., 2019).

https://youtu.be/i5611OvTFGM?feature=shared&t=5289

> "BPA, phthalates, plasticisers etc. are not chemically bound to substance they added too, and under heat they come out [...] you don't want to mix these with your food, but the worst thing to do is to put it in the heated environment" — Dr. Shanna Swan, Ph.D
Would love this for us to help us build interactive tutorials for Lowdefy, very cool. also think it is important that it exports well to youtube etc. and link back for when users want the interactivity.

Would be super if the player can be embed in docs.

https://lowdefy.com
> [I also declare] to have awarded and given 75 Carolus guilders of twenty stivers apiece per year as heritable annuity, to be paid one half of the annuity aforesaid on the 9 th of June 1625 and the other half the 9th of December following and so on every six months until repayment with all payments entirely free of all taxes, impositions or burdens of whatever name or title none excepted.

It is confusingly written, but what it means by repayment in the above paragraph is not "until you get your 1200 guilders back in these 75-guilder installments", its meaning is clarified by the next paragraph,

> On such conditions that I or my successors [unreadable] of the aforesaid Leckendijck may, at any time when it pleases us, extinguish, repay, and buy back the said annuity in full at once and not in parts or fractions with the sum of one thousand two hundred Carolus guilders

which explains how the board can get itself out of this obligation: by paying the original principal of 1200 guilders back.
In my lifetime there have seldom been much layoffs due to improved technologies. The companies tend to invest to keep up with the rival companies. The layoffs come more when the companies become loss making for whatever reason eg. the UK coal industry going, or Detroit being undercut by lower cost car makers.
It goes even into Idahoe and into Vancouver, BC.
The central thesis of the post is false to the degree that I can't be bothered with the rest of it. "general disorder discourage locals from supporting public transit" just clearly does not apply to San Francisco, the main subject of the rest of it. San Francisco has passed every Muni bond measure and tax for the last 50 years. Half a million people ride Muni every day. The people of SF do support transit.
Er, no. Those silky ones were likely worse, but a lot of the regular looking paper ones have polymer glues releasing microplastic as well.
And I dumped them because their client was buggy, doesn’t work offline on mobile devices and I had to use IMAP anyway…
fascinating how one piece of bad journalism disqualifies whole research - we already have 2 comments (and I was about to post the 3rd) here about "why cellulose is in the list of microplastics?"

in my case I opened the news story with a question "what microplastics even are there in a paper bag??", then saw the sentence "The tea bags used for the research were made from the polymers nylon-6, polypropylene and cellulose."
I just want to say something random. ChatGPT cited and English newspaper called 'The Sun' in the answer to a query I made this moring.

I found that amusing and figured then that we might already be beyond peak AI!

If AI is trained on sources that include The Sun, it's going to end up being garbage and/or constantly needing to be fact checked.
Here's a pretty complete list of UK brands: https://moralfibres.co.uk/the-teabags-without-plastic/
Right, no peanut butter.

Actually I'm starting to like this idea of banning sugar and maybe some other ingredients, would get rid of a lot of garbage in our diets.
Yes, this is exactly what I was referring to.
I guess since this is Hacker News, I shouldn’t be surprised that there are a bunch of commenters who are absolutely certain they and their random colo provider will do a better job of defeating the almighty NSA than AWS.

You won’t even know when they serve your Colo provider with a warrant under gag order, and I’m certain they’ll be able to bypass your own “tamper-proof” protections.
I find it impossible to put this into any kind of meaningful context.

First of all, what's with the focus on tea bags? How does that compare with microplastics entering our food and drink from the plastic-lined paper cups we drink hot tea and coffee out of, from the cling wrap that covers our food as we heat it in the microwave, from the Tupperware and other plastic containers we heat our food up in, from the bottled water that sits inside plastic for months, from all of the plastic bowls and utensils we use in our kitchens, from the disposable serrated plastic knife we might use at an event to cut our chicken, and so forth? Why tea bags?

Second, how do "microplastics" compare to micro-everything else? Surely if you brew tea in a wooden container, "microwood" particles are entering the drink. Surely when you scrape your stainless steel spatula against your stainless steel skillet making scrambled eggs, "microsteel" particles are embedded in your eggs. How does the body deal with micro-everything? Is there any reason to think plastic is more harmful? Is there any specific supposed health consequence, like a specific type of cancer or increased aging or something?
I’m an American. I play soccer once a week with a mix of Americans and Immigrants. Recently I started meeting for coffee after with some of the guys. This was prompted by a Serbian, but in attendance regularly is a Hungarian, a Jamaican, and occasionally some Vietnamese guys. We call it the UN but more importantly, these guys know how to sit and talk. The regularity of it makes it more likely to continue.

It has done more for my
mood in the past few months than anything else. Just
sitting and talking and having coffee. As a group. Just men.
Not sure if this is an option where you are, but I became a "stringer" for my local newspaper for a while. Writing tightly, under deadline, with an editor reviewing my work helped improve my clarity quite a bit.
It's because there is no major city north of the larger SF area. It's weird though
> telephony, message exchange, open standards on the web, Bluetooth

Things that existed before iPhones and that Apple cannot lock down? I'm glad they're open, but I won't give Apple credit. Particularly when they gently slid people out of SMS and into iMessage, for example. (Google did this less too but less successfully and are also at fault.)
It sounded from the methods section like a random paper teabag from the store. It wouldn’t surprise me at all if the manufacturing world had moved from paper to some kind of engineered cellulose bioplastic… but I always thought of those more in the context of rayon, and those horrible “bamboo” textiles and foams. (Versus linen made from bamboo fibers, which is lovely :)

Are there other processes that work out cheaper than paper for teabag kind of applications these days?
Nicer teas (pricier usually) come in cotton muslins - https://www.mariagefreres.com/en/tea.html?conditionnement=47. Their Marco Polo tea is my once a year splurge. The bag is tied with string - no glue.
I understand for a novel or something. But for an essay, not finishing it is sometimes not finishing the argument and therefore not understanding the point at all.

I guess the article's point is that an essay is presenting one idea in the smallest amount of sentences possible. Imagine you do that and get an essay with 100 pages. It means that 90 pages is not enough to understand the idea. Now, imagine I uselessly triple the number of pages by repeating each sentence in 3 different ways. In this case, if I just read the first 100 pages and stop, I did not understood the idea, and reading these 100 pages was at best useless (the situation is the same as if I did not know the idea at all) or more realistic counter-productive (I have badly understood the idea).
Doing the mundane exceptionally well is...exceptional. No reason why that shouldn't also be profitable.
i would wager its more likely that people who are prone to developing it are more likely to be smoking weed to try to deal with earlier symptoms. Weed isnt a particularly new thing, despite its recent potency.
I doubt this matters for the general population. My folks had already thrown out their black plastic utensils.
> Transit, especially if it’s made free or if fare-jumping is easy, allows both criminals and drugged-up disorderly types to reach otherwise peaceful neighborhoods. And since apartment complexes A) are cheaper to live in than single-family houses, and B) usually come with inclusionary zoning requirements that require any new complex to include some poor tenants, they also mean more poor people in the neighborhood.

The author identified the symptoms, but fell short of finding the cause.

Drug dealers typically live in well-connected areas as they have people come to them, not the other way around. And they can afford to, since it's a risky, but lucrative profession.

All those "disorderly types" are not drugged up (at least not enough) - they're on their way to get their fix. If they had enough they would be at home, being all drugged up without a care in the world.

It's a difficult problem because those who survived long enough in this line of work learned how to not draw attention to themselves from both the law and their competitors.
Curiously, it seems the best way to reduce (though not avoid) micro plastic exposure from tea bags is to switch from cellulose tea bags to plastic ones – nylon:

> polypropylene releases approximately 1.2 billion particles per milliliter, with an average size of 136.7 nanometers; cellulose releases about 135 million particles per milliliter, with an average size of 244 nanometers; while nylon-6 releases 8.18 million particles per milliliter, with an average size of 138.4 nanometers.
I like it! but it would be even better as a shell's plugin maybe?
It's sadly inevitable that when billions in funding and industry hype are tied to performance on a handful of benchmarks, scores will somehow, magically, continue to go up.

Needless to say, it doesn't bring us any closer to AGI.

The only solution I see here is people crafting their own, private benchmarks that the big players don't care about enough to train on. That, at least, gives you a clearer view of the field.
> "Transit, especially if it’s made free or if fare-jumping is easy, allows both criminals and drugged-up disorderly types to reach otherwise peaceful neighborhoods."

This is not just public transit either. I live in a rural area about 20mins drive north of an exurb, and the peace we make out here is very desirable. We try to resist the paving of roads because it just brings more traffic from people who don't live here or contribute to the local economy or culture. The conversations I have with people coming out to the "middle of nowhere," to drag race, trade drugs, loiter, vandalize, dump litter, and have public sex in front of my farmhouse often end with reminding them the reason they like it out here is because nobody here does the stuff they're doing here. If you like it, treat it better.

What makes these places desirable (anywhere) is the people who live here, and by observing norms, you can be welcome in them. If you go anywhere with a load of garbage in your head about why people should want to be around you and put up with your indulgent nonsense, don't be surprised when they are unenthusiastic, or make a point of walking out and telling you so.

It's like someone bringing a 50W subwoofer on a backcountry canoe trip. It's purpose is to despoil its environment. Terms like NIMBY are thought terminating cliches and epithets that people in cities with no responsibility for their communities use to spoil the environments they envy for others. Instead of advocating for the destruction of peaceful neighbourhoods and environments, why not try making yourself welcome in them instead.
I know that is the talking point, but that is not my lived experience. I have been on 5 regular meds for chronic conditions and I currently pay less than $25/mo with my insurance plan. Twelve years ago I did a 18 month stint doing freelance work with no health insurance and paid about the same.
> It's using words in an order that sounds relationally intuitive, but taken as a whole it's ping-ponging across completely unrelated concepts. It can't have come from a human

...or from my emails; I'm an atrocious writer.
Commonwealth Fusion Systems to Build First Commercial Fusion Power Plant
What about potatoes and processed wheat? Starch quickly converts to sugar during digestion.

Also, peanut butter is highly nutritious, even with some amount of added sugar.
It makes you think there must be more efficient algorithms out there.
Show HN: Shortest, a natural language AI-powered testing framework
Shortest is an open-source AI-powered testing framework that allows developers to write end-to-end tests in plain English, as simple as:

shortest(“user can sign up and create a $5 product”)

The thesis is that being able to write short tests in English → more tests → fewer regressions as AI writes and ships more code.

Would love to hear what you all think! Feedback (and contributions) welcome.
Your code becomes training data[0]:

> When you use Unpaid Services, including, for example, Google AI Studio and the unpaid quota on Gemini API, Google uses the content you submit to the Services and any generated responses to provide, improve, and develop Google products and services and machine learning technologies, including Google's enterprise features, products, and services, consistent with our Privacy Policy.

[0] https://ai.google.dev/gemini-api/terms
Or are they coated with wax/parafin?
ah thanks, I think I get it now.

"heritable annuity" is the perpetual interest. "until repayment" threw me off.

75/1200 = 6.25% though.

Where does the 2.5% interest rate quoted in the article come from?
I used to fix Lexmark printers , they are "PC load letter" printers. not as bad as HP but lexmark printers stop working for various no reasons. Most of the time the trays would mess up due to a little dust or you would have to get the person to smack the drum over the phone and that would usually help. they never stop working but they will crumble 10 pages into a ball inside the machine ha..

side note . HP printers are the worst for PC load letter. I've fixed HP printers my whole life. I love reading the manuals and they use "might" or "maybe" to describe fixes or errors.
Hmm, interesting. That's listing 15 groups out of 6 million. I'm not sure how those 15 were chosen. They seem to be popular groups, so I'm guessing it's ordered in some way that correlates with popularity, however they're not sorted by number or subscribers, number of messages per month, whether they're Usenet or not, or alphabetically.

I wonder how many people found that page useful. With 6 million groups, are people going to find the one they want by going page-by-page 15 at a time? Searching for groups still works today.
... which, of course, they are aptly calling an "ARC" reactor.-
Using multiprocessing adds some overhead for because of serialization, so it's slower than it would be to just hand off the Python objects directly to the workers (as you can with threads) because the process doing the parsing also has to spend time on serializing them again. So you can avoid the GIL, but it has a cost.

For example, if I parse an XML document with ElementTree, as a quick experiment, parsing the document takes ~1 second and serializing all the elements names and attributes to JSON takes an additional ~0.5 seconds. Serializing the whole ElementTree object using pickle takes ~4 seconds. Serializing it as XML takes roughly as long as parsing it.
2024's top Linux and open-source stories:From AI fights to security close calls
Good. Not catching a simple multiplication error is a terrible indictment of their peer review process. On the other hand, peer review is doomed and getting more doomed by the day, and I expect more and more journals will fail if the quality criteria get fairly applied.
> It could be saved on devices and supplied as needed from that device history.

Then what if a new person joined the group convo? Do they have a right to see everything that everyone has said in that group convo, right back to the beginning? What if someone objects to sharing past conversations? What if sharing past conversations is a legitimate security concern to the group?

How does one filter out those past statements by someone who doesn’t want to share past statements? With security-state and foreign-state moles being a rather big issue in some groups, this is a legitimate rabbit’s hole that needs addressing. Some companies that standardize on Signal may not want any prior convos to become available to new entrants.

Personally, I see the lack of history to be a very real competitive advantage, and not any sort of a nerf.

Sure, your own history can be shared between installs on devices that you yourself own. But that is your chat history, meant for only you.
> In future versions, I plan to bring CodeMic to more IDEs: Emacs, (Neo)Vim, IntelliJ, Sublime Text, Helix, and others.

With proper architecture (e.g. using LSP), all-editor support would have been (semi-)automatic.

More on the solution to the "M by N problem": https://matklad.github.io/2022/04/25/why-lsp.html#Standard-E...
Outlet Wall
I don’t really know what you’re talking about, sorry. This is coming off as incoherent rambling to me
Yeah, that commenter wildly misunderstands what "progressive" means. Like full on got the definition of the word backwards.

Is this common? People think "progressive" means "complete government control"?

Progressives support regulations to prevent both public and private entities from becoming too powerful. It's not like they want to give the government authoritarian control lol.
This is what I miss the most. I moved to the US 12 years ago, also from Croatia, and while I have friends here, the lifestyle there is just conducive to spending time hanging out with people.

It's really like a different reality.

Coffee before work? Sure thing.
Another coffee after work? Absolutely.
Drinks in the evening? Definitely.

The thought of not seeing your friends for a month or longer is just absurd over there. If you don't see them regularly they're not your friends. The whole culture is built around spending time with people, and I only realized that after I left.

I enjoy living in the US, but man, I do miss having such a social life.
Your own comment is also not science. Scientific results (particular testing conditions and results) need to be interpreted and actions decided on in the real world. Policy is not science either.
libriscv sounds amazing on paper, I’d love to learn more about it
AI Benchmarks, O3, and the Future of SWE
I'm not that familiar with the open source ones - how good are they in comparison?
Thanks, yes, very helpful!
Show HN: Eszett explicit scopes for styling react components
Hello HN :-) I built "eszett" a small plugin to help manage scoped CSS in React, especially with server components in mind. It’s heavily inspired by styled-jsx. It always bugged my that I can not access the class names, that styled-jsx generates, in my code.

So the core idea is simple: eszett generates a unique class name for each component (like styled-jsx) but then lets you access those class names and you have to scope your styles manually.

I thought giving access to the class names is all I need for a complete plugin, but using it I really missed the automatic rewriting of the class names, so I added that. Maybe at a later stage I will also update this to rewrite the css too.

I built this with swc just to get a chance to play around with rust. This still needs a lot more tests, and also I would like for it to be compatibe with more than just the latest nextjs. But I’d love to get some feedback on how it could be improved and if this concept only makes sense to me or also to others :-)
I see you've worked with oauth2 providers, my friend. Welcome to the circus :)
The article made me check Yorkshire Tea and I'm not really quite sure. How bad are "plant-based plastics"?

> made from natural fibres like wood pulp and the seal is made with PLA - an industrially compostable, plant-based plastic

> ... so we're following WRAP's advice and avoiding the phrase "plastic free"

https://www.yorkshiretea.co.uk/our-packaging

https://www.yorkshiretea.co.uk/brew-news/plastic-in-tea-bags...
I don't know about tea bags, but guys, do yourself, your health and your finances a favor and buy this: https://www.amazon.com/dp/B0DF1ZHXPG

It works surprisingly well, the coffee tastes better and it is not messy.
... for the angular dependence; there is also radial dependence.