skysight-inc/HackerNews huggingface dataset:
Looking at how to deploy 1B and 3B Llama models on Android for inference. Some posts online recommend using Termux (an amazing app) to have an emulated shell and then install as if it's Linux, using ollama for example. However, this forces you into a manual installation process, and also most of the people don't know what Termux is, and would be afraid to install it from F-Droid.

Maybe someone can recommend a way to deploy Llama to Android without Termux, maybe even something that can be potentially fully implemented inside an app?

I'm currently looking into compiling llama.cpp for Android and bundling it inside an app. Is that a viable path? Would love to hear from someone who tried something similar.
I doubt this is anything serious, they were in space longer than intended.
Why can’t they make smaller phones?
Yes, but that's not Rust's error management strategy. Most Rust code isn't written with recovery from panics in mind, so it can have unintended consequences if you catch panics and then retry.
Is the mapping a valuable byproduct?

Google maps is famous for their human driven cars that drive around with sensors. Is there overlap here?
I need a new battery in my 2020 SE as well, I wasn't aware that the last mini was a 13. Bring 'em back!
One thing to consider is that some things might not be genetic, but environmental. I think jaw muscles are one such thing and short-sightedness might be other. First caused by food we eat and the other by less natural light and less time spend outside in childhood.

I think there might be more of these effects.
Kidnapped and Tortured.. For His Crypto
Why does this matter? When Russia was cool, the Clintons hired an an attorney, with ties to the Russian government, to spy on Trump during the 2016 campaign. Nobody batted an eye or brings it up.

I could go on about current politicians that have ties to evil dictators and regimes.

It only matters now because he is on the wrong side of the political spectrum.
I would argue the defining factor of social media which separates it from blogs/forums/etc. is the ubiquitous feedback metrics, in the form of likes/downvotes/retweets/etc.

Imagine attending party where whenever you finished a sentence, everyone who was listening immediately responded with a silent thumbs up / thumbs down in response. Pretty dystopian. The Onion did a sketch illustrating the problem a few years ago: https://www.youtube.com/watch?v=uFpK_r-jEXg

By this definition, HN is halfway to being social media. There are metrics, but they aren't displayed publicly.
New species of tardigrade reveals secrets of radiation-resisting powers
I think your example highlights why this kind of "everyday AI" would be nearly impossible. If my phone automatically rescheduled my appointments and notified my contacts, without my explicit direction, I would be pissed as all hell. There are some "confirmation" notifications that could assist here ("We noticed your flight is delayed - would you like to reschedule these appointments?"), but even then, I'd say the majority of notifications I get these days are annoying and I spend a ton of time trying to figure out how to turn off annoying notifications while not totally silencing ones I depend upon. I'd have a difficult time believing that AI systems wouldn't just add to my list of over-burdensome notifications.
The problem is that remote solutions to the privacy problem inevitably involve my trusting someone else's privacy assurances. On-device processing reduces the trust required, although of course it doesn't eliminate it.

The common response to this is to point out that I'm trusting Apple or Google anyway just by using their phones, which is true, but (1) since phones are directly accessible to security researchers, there's more potential to find out about malfeasance if data is exfiltrated from the phone in a way that it shouldn't be, and (2) even if I have complete trust in Apple or Google, I also have to trust that they'll be able to protect my data from malicious actors, and, the less data I give them, the less I have to worry when they fail.
Where the best cohort to test with is the one that agrees with you...

You can call this measure "courage" but that is not actually what you are measuring. What you measure is not that different from agreement.
Corroborating written history with ancient DNA described in an Old Norse saga
> Apple has always sucked in AI

Yes, but Apple fans always respond by saying "...but Apple has been using ML in much of the OS for years, you just don't see it..."

I really want Apple to be better at this, but Generative AI is too uncontrollable for a control-freak company.
Now they know how to get one.
I was at St.Mark's Basilica just a few days ago (I live in Venice). An informed archeologist pointed to a specific stone decoration on the north facade, telling me that it was depicting Alexander the Great, and this was confirmed only by very recent studies in Alexandria (where she was going to go back the following week).
The GNU Shepherd Manual
On iPhone, if I take a picture of a plant or animal, it identifies it for me. It's not 100% by any means, but it's useful enough. I've figured out what were baby plants I wanted vs. weeds. I've figure out species of birds I'd taken photos of with my SLR (ie: phone takes picture of Lightroom editing the image, and is able to identify it from that... I'd prefer there was a way to not require me to take a photo of my monitor, either doing it "live", and/or adding the functionality into the Mac.) For people and pets it can find other images that contain the same subject.

When my daughter was studying Chinese, I could use the live-video translation app and see the lesson text translated to English, and see her hand-written answers also translated to English. I could see this being more broadly useful when travelling, along with live translation of spoken words.
“Buffer zone rules”
Cute, except you're both deflecting and hallucinating of course, as no one ever had an issue with that catchphrase you keep dropping, or its import. The issue here was and still is this bizarre axiom - your famous 17 words:

The West wants to permanently de-fang and colonize Russia for obvious reasons -- geopolitical hegemony and market intrusion.

That you've chosen to adopt, and on the basis of sweet, pure faith it seems.
I understand ARM is not becoming a foundry (at least anytime soon, which I will explain in a second). First, I said they are becoming a chipmaker like Intel because they have two of three things to make chips- an architecture, and physical core IP (POP) https://www.arm.com/products/silicon-ip-physical/pop-ip. They are making chips at all three foundries, but obviously don't own physical fabs. Softbank has 46 trillion in assets, with over 57.8 billion in operating income. What's stopping Softbank from making an offer to buy a majority stake in a Japanese foundry such as Rapidus (2nm) and other EUV equipment, such as Lasertec? https://semiwiki.com/forum/index.php?threads/shared-pain-sha... Ultimately, one starts to question, whether Qualcomms's interest in producing more consumer laptop chips is really competitive with the offerings by AMD and Intel, and whether this is really the best use of foundry space when foundries producing chips could be one day used against an amphibious assault on Formosa.

My point is that the commercial lawsuits between Qualcomm and ARM are just one part of a larger geopolitical issue- x86 lost the mobile market 20 years ago- the only reason Intel is surviving is national security- they could have been bankrupt had they not been propped up by a pre-emptive Defense Production Act. Consumers benefit because now they have the choice between more ARM software and x86 products, but I think that is just a short term benefit. Eventually the architecture cuts off support for old software, such as x86-32 bit, and now with X86S, they are only supporting 64 bit. So in the long term, it's better to have options. WINE was developed because of a fear of repeating the Irish Potato Famine ( a mono culture: https://gitlab.winehq.org/wine/wine/-/wikis/Importance-of-Wi...), in economic terms. In other words, just because Intel might not want to sell 32 bit chips anymore, doesn't mean others might not want/need to use some application that only exists on one platform (and all the engineers retired- with lost code/unported code).

There's an AI bubble: https://www.marketwatch.com/story/the-ai-bubble-is-looking-w... When a number of companies get investments and start to produce chips that add little extra value- slightly faster chips in lower power with 10 different architectures than run windows 11, then there is less justification to continue investing in companies that do not produce interesting new hardware because the end result is that they are being shaped by windows 11, rather than a unique feature- automotive efficiency for in car apps, sure, but laptops that run Oryon that are hard to boot linux aren't any more interesting than an x86S processor that can only boot linux 6.8 etc.
And the vacuum cleaner really sucks
This is a severely under-appreciated perspective. A lot of software, especially in industries that are slow to change, is just not programming-friendly. There are no APIs and no access to underlying databases, just user-focused point-and-click.
Meh, wake me up when you release 16384. Just kidding, glad this can be a full time venture for you. Mixed feelings about this orbiting back into my field of view again. So far, having fun.
You should check out how Figma plugins work. They have blog posts on all the tradeoffs they considered.

What I believe they settled on was a JS interpreter compiled to WASM -- it can run arbitrary JS but with very well-defined and restricted interfaces to the outside world (the browser's JS runtime environment).
Oh i just realized the blog author himself created this post: Boris we love you! Best of luck on your journey and thanks for your work!
tcp/443 is likely an open port on the target service (Dynamodb based on the domain name). TLS is not involved.

ICMP ECHO would be a bad choice as it is deprioritized by routers[0].

[0] https://archive.nanog.org/sites/default/files/traceroute-201...
Baseless theory: Does eating mammal desensitize the immune system to “not me” mammal cells in a way that slightly alters the recognition fidelity of “not me” cancer cells?

Our consumption of mammal meat is quantitatively, though not qualitatively, out of spec for human biology.
The key is running the untrusted code in a cross-origin iframe so you can rely on the same-origin policies and `sandbox`[1].

You can control the code in a number of ways - loading a trusted shim that sets up a postMessage handler is pretty common. You can be careful and do that in a way that untructed code can't forge messages to look like their from the trusted code.

Another way is to use two iframes to the untrusted origin. One only loads untrusted code, the other loads a control API that talks to the trusted code. You can then to the loading into the iframe with a service worker. This is how the Playground Elements work (they're a set of web components that let you safely embed a mini IDE for code samples) https://github.com/google/playground-elements

[1]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/if...
the ads will target the latent biases of the agentic AI, just like they do with humans
We'll care more about AI when it's better.
I don't know about iOS, but Firefox syncs my passwords between my Linux machine and Android phone just fine.
The problem isn't really "buying new clothes," since most of the microplastics are released in the laundry. Sewage treatment plants aren't designed to remove them, so they get released with the discharge water. It can also clog up septic leachfields.

They do make purpose-built products to filter microplastic lint from laundry[1][2], but a more hacker approach is to just search for "pool filter."

I wish they made comparable products for the dryer.

[1] https://www.filtrol.net/

[2] https://planetcare.org/
It’s gotta be just barely holding on in some legacy environment right now. I’m surprised they don’t just start over using new tech. Maybe that’s the end goal with on-device inference to sunset cloud Siri.
I know that's true, but I find that the images on my Pixel are starting to have a bit of an eery feel, with some of the details looking more and more like AI generated images. I'd give back a bit of the quality for more "natural" looking images.
GPT-4o is helpful, and so is NotebookLM. The problem is that "AI" features built into a lot of products aren't that useful.
In the end though, it's still rendering to a canvas. Flutter is basically the new flash. If you are in a business segment where lacking best-in-class accessibility could lead to huge ADA lawsuits, I'd steer clear of anything that isn't rendering real DOM elements.

Google Earth is almost like a video game so flutter makes perfect sense for that. If you're building a fintech CRUD app flutter makes absolutely no sense on the web.

With react native web you can share your code with next.js in a monorepo and absolutely blow flutter away in terms of page weight and time to first interaction.
Right but in street surveys nobody knows that. Most people just call it "better camera."
I had not seen this claim before, but upon checking it out it appears to be true:

https://en.wikipedia.org/wiki/Jewish_exodus_from_the_Muslim_...

I'm guessing that is what they are talking about.
Smaller components cost more than bigger ones and the mini users (me included) also want to spend less, not more.
Failing to set reminders/alarms is core Google technology, #2 only to PageRank itself.
CSV viewer in browser (Free no ads)
Yeah, sadly we already know the solution, ban or heavily restrict guns.

Every place with more guns has more shootings. It is so simple it seems almost tautological. Yet somehow this very simple fact is controversial.
Jokes tend to be irresponsible.
If the vector has to be resized in push_back, the implementation copy-constructs a new object from x. It resizes the buffer. Then it move-constructs the copy into the buffer. The cost is only a move construct per resize... So it's on the order of log2(capacity). Very efficient. But don't get used to it, because there are plenty of other C++ libraries that will break under aliasing.
For sure. And I do find https://cfallin.org/blog/2024/06/12/rust-path-generics , for example, interesting. It’s certainly not like what Rust does today is the only way things could ever be. Heck, I’m sad we never got elision on structs in 2018 like we were talking about.
Changing to Gemini broke all of my smart home commands. Keeps trying to search/LLM how to turn off kitchen lights.
In re: AI on my phone - it's sort of interesting, but really not worth having because it's not smart enough nor capable of being smart enough. It lacks "judgement", which is what I really needs, instead of slavish attention to detail coupled with hallucinations.
This is fanaticism - which are traits developers, engineers, and scientists should not engage in.
I can understand why. Most of the generative AI crap we're being force-fed these days is a solution looking for a problem. On my Samsung, the only really useful AI features they provide are erasing things in photos and upscaling. The generation is weak compared to even basic stable diffusion and otherwise they're all fluff features and sometimes give me the same vibes as the "Make Longer" feature on Notion. As far as apps go, I really don't need a chatbot in every app.
Is-Odd-AI
The (heme-rich) iron you get from eating red meat is actually quite different from the (non-heme) iron you get from veggies.

Edit* also- I’m pretty sure fe3 iron sources - particularly dairy cause your body to hoard more iron which will result in more heme iron
Another way to think about it is that for a given z, we can write it as (r, θ) where r is |z| and θ is the rotation of that norm in complex space. The complex conjugate z̄ is (r, −θ). A product of complex numbers zw is (r, θ)×(s, τ)=(rs, θ + τ) so zz̄ = (r², θ − θ) = r² = |z|².
Good luck. I’ve tried to replace battery in mine 12 mini last week - with no success. I had to leave my phone for 4 hours or several days (if they brake screen during battery replacement, they will wait for replacement phone to be shipped overnight). Also representative was convincing me to buy a new phone - saying that battery replacement won’t help much because new ios versions has features which high battery usages, while newer iphones has larger battery and hardware optimizations for these new features. I’m thinking about iPhone 16 now while keeping iPhone 12 mini as backup phone.
Show HN: I made emojis funny again
I made emojiton two years ago just to test OpenAi and people liked it...and I had fun too
"Interesting" definition of AGI. Doesn't match the Metaculus standard, which is entirely capability based.

The arguments for AI drives are reasonably good, so what he says isn't "wrong" in the sense that it's nonsense, but it's not the terminology I'd use.
I am doing freelance web development. One of the most repetitive tasks was building forms. Over the past decade, I’ve created countless forms, often tedious and time-consuming. From that experience, I developed a product to streamline form creation. Now, I’m focused on marketing it at an early stage.

What I’ve learned is that marketability is often more critical than the idea itself. If you’re working on an incremental improvement to an existing solution, start by defining your niche and Ideal Customer Profile (ICP). Consider your approach to reach these customers: Are you part of a community with shared pain points? Does this group struggle with specific issues your product could solve?

The customer and how you’ll connect with them should always come first.
Other systems might not be part of a field as mature as yours, I would argue.
Thank you for asking a good faith question. To answer, I've provided a couple of links below, but the tl;dr is that they're unaffordable for companies, and as a result have become an anachronism. Boeing specifically was already losing billions before the strike, so has a negative ability to give more, much less increase their 60+ billion dollar unfunded pension liabilities with new generations they'll have to keep paying for another half century.

https://finbox.com/NYSE:BA/explorer/unfunded_vested_pension_...

https://www.barrons.com/articles/boeing-strike-pension-plan-...

Notably, the question I asked before yours, was also in good faith. I answered yours first as a further show of good faith, but the question that now must be addressed is: What compromise has the union offered from their own initial demands?
Apple's mobile division still seems to struggle with the ghost of Jony Ive. At least their laptop division was willing to rethink things with the Apple Silicon transition and go back to things that worked.

The late Intel-era portable Macs were simply broken, because of Ive's apparent obsession with "thin for thin's sake." Or, more probably, "thin for the sake of industrial design awards." They innovated 20% too much on keyboard design with the butterfly keyboard that was simply a bad design. I don't know what else to call a keyboard that reliably breaks after a few years of service. But, bad though that it is, it was even worse because you couldn't replace the keyboard. You had to replace the whole top case and battery, at something like $700, when one key went bad, because the whole thing was integrated to save a mm or two. Not only did they un-solve a solved problem (reliable laptop keyboards), they even un-solved the ability to replace a keyboard when it gets mangled, or something spills in it, or a random failure happens.

But, worse, they went with the USB-C only design (the thinnest port!), meaning that every owner of one of those laptops I knew had a pile of assorted adapters in their bag so they could do things that most people want to do every now and then with a laptop, like drive an external display for a presentation, read a USB-A storage device, or read a micro SD card. Yes, the laptop was thinner, but at the cost of needing to carry extra stuff with you to work around the lack of ports.

And then, because it was so thin, they didn't have space to properly cool the zorching-fast Intel chips they put in them, and the chips would throttle badly while baking the machine.

The M-series laptops, shocking me incredibly, threw all that "design" out the window, and went back to something actually useful. They cool well (admittedly, that's mostly the Apple Silicon barely needing cooling), they fixed the keyboard, and the machines have a useful set of ports on the side for "common tasks with a laptop" (SD, HDMI, headphone, plus the USB-C/Thunderbolt ports - still no A ports, though). And then enough battery to last just about forever.

Anyway, I hope their phone division works this sort of thing out too.
I feel this. However I also remind myself that social media connections are never as strong as those we've made in real life, and that there have been former influencers who've hung up their hat and lamented that their residual social connections regress to something close to a mean a lot quicker than they would've liked.

Ultimately, the act of winning at social media seems a bit too subordinate to me.
> Google Maps really, really assumes

Indeed, they assume all kinds of things - with no option to customize. For example, they assume that a 1 or 2 minute transfer will happen. Which you might want to override, but can't. You have your reasons to want to route through Caltrain instead of BART... and you can't. This is a characteristic of the brand really: Google people know what's good for you. I mean, them.
You might like an information-theoretic take on SpinQuant and the likes [1].

tl;dr: round((2*R)*x) is not a great idea for an R-bit quantization.

[1] https://arxiv.org/abs/2410.13780
I actually did something similar using llama.cpp a while back, would be curious to see the speedup with this model.

https://github.com/TugdualKerjan/bunny/tree/main
Has that been done?! Iirc there is only one multi messenger observation of LIGO results (of which there have been many) which casts doubt on LIGO
It’s frustrating how hard it is now to buy pure cotton or <gasp> wool, from a store. Even if it’s 3% synthetic it’s still not what I’m looking for.
Could this be politically motivated lies? Like "Hunter's laptop is Russian disinformation" was?
What the heck did I just read. It feels like BS - Isn't the sample too small?

https://archive.is/FfEK4
I asked if to create task for Monday morning. It created one, Monday 12AM.
The graph has multiple options for some of these.

45% unwilling to pay a monthly fee, 6% willing to pay a monthly fee.
How was editing the source code on such a small screen? I think it was 40x8 or something.
I have a Pixel also, and have issues with is since the change to Gemini. It works _most_ of the time, but every once in a while it'll tell me it can't set a reminder.

I use reminders often so I suppose it is a low failure rate.

But, when they first made the change to Gemini I had to switch back for a few weeks/months before it could set reminders properly.
So that people can skip reading the article and just post their feelings in the HN comments.
Man do I miss his content.
Worth noting, beef red meat has more than 7 times the amount of iron as kale does.
I'd never thought of telomere decay inhibiting cancer growth, but it makes a lot of sense. So many of the ways our biology can fail are also "load bearing bugs" that can't be fixed without negative repercussions.
I just replaced the battery in my iPhone SE 2nd gen last month. Somehow I didn't know that that was possible. Best 80 € spent ever.
Project Turntable
Thousands of years? It’s much more likely that gene editing technology will make skin-color-swaps a routine recreational activity.
I used Google lens yesterday to get the artist name of a painting I liked, that was neat.
8VC is a Russian-run firm and an investor in Twitter.
So do the swap yourself.

Part and kit: https://www.ifixit.com/products/iphone-12-mini-replacement-b...

Steps: https://www.ifixit.com/Guide/iPhone+12+mini+Battery+Replacem...