skysight-inc/HackerNews huggingface dataset:
Show HN: I made a weight-loss app using OpenAI APIs
Hey HN, wanted to show you my weekend project (several weekends actually).

A few months back I started experimenting with LLMs as a way to estimate calories/macros and give useful feedback. The results were good enough that I felt like something was there. I wanted to shed a few pounds so I built out a web app for myself. A few friends tried it and everyone said "this needs to be a native app".

So I converted the Rails app to just be an API backend and built an iOS app in SwiftUI. It just got approved in the (US) app store last week.

https://apps.apple.com/us/app/fatgpt-ai-weight-loss-coach/id...

Feature-wise it's pretty simple compared to MFP or Noom. But I've been logging my food every day for a while now and am down 12 pounds.

It's been really fun to build and I'm trying to release a new version every week.

Happy to hear any feedback or answer questions.
The world keeps flip flopping between serial and parallel.

Back in the day parallel ports were awesome because they were effectively 8 serial ports in parallel (sounds awesome right? 8 times the bandwidth)

But then some dude came along and USB did 100X the bandwidth in a serial bus. Then other dudes were like "okay great now let's put multiple USB data pairs in parallel" and boom USB 3.2 was born. Parallel again. USB-C is effectively a UPB.

Parallel ATA was the shit back in the day for hard drives but then Serial ATA replaced it. Now we're at NVMe which is parallel again with 4 PCIe lanes.

CompactFlash (parallel) -> SD (serial) -> UHS-II (parallel), same story

BNC cable ethernet (serial) -> 100-Base-TX (parallel) -> fiber (serial) -> fiber bundles (parallel), same story
Possibly as far south as Alabama. https://abcnews.go.com/amp/US/northern-lights-south-alabama-...
The most interesting thing imo is what they all do similarly: they all store the size, instead of the end pointer -- unlike, say, std::vector. Exercise for the reader as to why this is the right tradeoff.
I find it incredibly hard to believe they had no idea what message they could be sending. Everything reacts to its destruction. They choreographed the final moments of each prop to show pain.

The hydraulic press channel does not do that. Their videos convey enthusiasm and sheer glee.
Are we supposed to be able to see anything in North America?
Importantly, this article is not primarily about greenhouse gasses.
I'm near Bristol. It's still absolutely stunning. It's not just to the north, either - it's everywhere.
US set to impose 100% tariff on Chinese electric vehicle imports
Deletion of UniSuper's Private Cloud Subscription
In Quebec and eagerly waiting for the sunset. Ah a few weeks ago the sun was the old lover and now please go away...
How software can detect loose wheels on cars and trucks
Does it work in Windows terminal? Any good?
According to the SWPC[0], the "SPACE WEATHER CONDITIONS" section displays the pertinent information: as of 5/10/2024 at 6:00 CST, the "24-Hour Observed Maximums" list "R3 S2 G4". The "Latest Observed" section shows "R1 S1 G4".

According to NOAA Space Weather Scales [1], the effects of those events, their levels, and the corresponding hazards (including biological risks for the "S" category) are listed.

It is unclear to me what "high-flying" and "high latitudes"
mean in these cases, and I would think that they would depend on the severity and location of the space weather event.

[0] https://www.swpc.noaa.gov/communities/space-weather-enthusia...

[1] https://www.swpc.noaa.gov/sites/default/files/images/NOAAsca...
I feel like I would appreciate an ad where they crushed landfill waste into an iPad.
Discussions [1] (100 points, 1 day ago, 27 comments) [0] (64 points, 2 days ago, 10 comments)

[0]: https://news.ycombinator.com/item?id=40304666
[1]: https://news.ycombinator.com/item?id=40313171
Red Robin isn't exactly the type of restaurant I would think of when I want a quiet table - it is half a sport's bar after all.

If you go to a nicer restaurant, you will get a quiet table. It's the type of restaurant that matters - not so much acoustic design.
How much of a fire risk are electric vehicles?
I before E except after C, except …
This is why I think Akira can't be surpassed. Not just because it was done on acetate, but because of the level of skill and consideration required to animate that way. You can't just undo that brush stroke onto the cel and try something else.

As much as technology has democratized the field, I think it also lowers the heights. I desperately hope I'm wrong and just old, but I haven't met someone who puts up something that they think is better. Maybe it's just because we're in the transitory phase - but digital animation has been around for decades at this point. Maybe it's Ikea versus handcrafting, and the shift is in the expected quality rather than the art elevating itself to meet priors.
'Seriously Underwater' Home Mortgages Tick Up Across the US
Why not? Everything else in the universe has a tendency to self-assemble.
GITS is amazing as a design universe. The more you dig into the manga or movies (even the SACs) the deeper you get sucked in to what could be. From the vision of mind interfaces to the dream of mind across the net. It was WAY ahead of it's time and still stands up today.

Every crevasse of the original Manga contains deep thought out design on what digital life could become. What constructs we become once we crossed that digital/biological line.

Love it. Happy to buy into the sell.
Found one from the Stelvio pass that shows some colors, but nothing like some of the other links people are posting.
> If you're nearby any moderately busy road it's not the engine what makes noise but the tires and then air going around the car.

You cannot even hear modern ICE cars running unless you are really close to them. My neighbor's garage door opener is louder than his ICE car...

Road noise is tires/air like you mentioned. Not a real way to deal with that.
I thought it was clearly 100% CGI, but there certainly is a mixture of opinions here.
Yep, a rifle shot will comprehensively destroy a transformer. HV transformers are very expensive, very hard to make and if you need any number of them, already have lead times in the years. In fact anything that requires trained personnel, equipment and a supply chain for spares will be out of service indefinitely if the attacks overwhelm the repair capacity. And you only have to injure one linesman or mine one plyon to multiply the difficulty of repairs enormously by requiring armed escort and area sweeping for every repaired pylon hanger.

In any kind of concerted guerilla effort against it, the grid cannot be defended. That said, the first strikes will be easy enough, but anyone who is caught disabling electrical infrastructure or workers after the first few days--once the water, medical and food supplies have gone down and the lethal gravity of the situation is clear--will probably be treated unsympathetically by the locals.
I think you should have expected something when you thought you taking a subway means there is no point to anyone being able to drive anywhere they want.
I've recently switched to OpenBSD as a workstation desktop using Xfce. Chromium and Firefox (ESR) are the browsers. Emacs is used for many things (authoring, calendaring, contacts, email, IRC, task tracking, etc.). LibreOffice gets used for the balance. That covers most workstation activities. All the web sites that I care about work. The performance is good enough. With OpenBSD, there's some assembly required. I don't mind that. The right way to approach OpenBSD and its ports collection is as a toolkit. You have to use the tools provided, to make the solution you want. I'm already running OpenBSD servers. It was just easier to use OpenBSD for the destktop as well.
How Putin's Gas Empire Crumbled
It's more important to require no connectivity, or only limit connectivity to the servers controlled by domestic companies and ensure that they have sources for all firmware within the car, than to tax the car imports.

Modern cars are designed like smartphones with mandatory cloud connectivity and updates, but they are cars: a faulty / hacked car is far more dangerous to the public than a faulty / hacked smartphone.
Didn't think of it this way.
In this case, maybe there's a way.

You can use this free Figma file: https://www.figma.com/community/file/1336391869817535178

and export all the icons as SVGs.
You're clearly on the other side of this dividing line.
Medallion fund
I don't think you quite understand how tokenization works. Try typing "strawberry" in here:

https://platform.openai.com/tokenizer

Tokens aren't just individual parts of compound words, they're sliced up in a way that's convenient statistically. The tokenizer has each individual character as a token, so it could be purely character-based if desired, it's just easier to compute when some common sequences like "berry" are represented by a single token. Try typing "strawberry" into the tokenizer and see it tokenized as "str", "aw", and "berry".

Also, next token prediction is not stupid. A "sufficiently advanced" next token predictor must be at least as intelligent as a human, if it could predict any humans' next token in any scenario. Obviously, we're not there yet, but there's no reason to think right now that next token prediction will face any sort of limitation. Especially with new models coming out that are seeing better perfomance purely from training them much longer on the same datasets.
what views of his do you disagree with?
Yeah, it's often easy to make it look much better on camera than what it did in real life. Something to keep in mind if one feel one missed out, heh.

Also, timelapses of long exposures can give a wrong impression of how it moves. But has for a long time been the only way to actually see a video of it.

It's often not that slow and wavy in real life. It's more like watching an orchestra play, where suddenly someone plays a flute in the corner, and then a few moments later a trombone sounds from the other side. It's dramatic and beautiful when it's really on.

But modern video cameras are now good enough to capture this in real time, so hopefully we'll see more realistic videoes.
Need a tracker for medallion fund
This one guy has something like badge #10 in C++
See the Auroral oval map https://www.spaceweatherlive.com/en.html

Right now it's appearing over North East US, and should become increasingly visible after sunset.
(I'm not referring to exponential growth in temperature over time due to constant input power, but rather to exponential growth in input power over time because it's required for economic growth).
Yep I noticed that to, it’s sort of bathing everywhere from zenith
I won't say REST is perfect, but I much prefer it to an unstructured api where anything goes. You didn't suggest that, but you really didn't suggest any alternative.

What's the alternative to relying on documentation? Is relying on documentation even a bad thing?
Aurora aside, that is a very cool website.
LapLink!

https://www.cambus.net/file-transfers-via-the-parallel-port-...

https://en.wikipedia.org/wiki/Laplink
Discussion yesterday (29 points, 8 comments)

https://news.ycombinator.com/item?id=40314450
Doesn’t look like that in reality. If I take a photo on my phone here in the UK midlands I get pink and green in all directions with a 3 second exposure.

However with just the naked eye it’s like super high level clouds
I agree with most of your comments here, but I actually don't think the Humane AI stuff is a good example.

By all accounts, the new iPad Pro is a good, solid product. The problem is that people don't like the ad.

The problem with Humane AI is not really "bad PR", it's fundamentally bad products. Or perhaps to put it a little more generously: as has been very common of late in the tech world, the Humane AI products are technologically interesting marvels that solve literally 0 problems people actually have and are basically worse in every way compared to a smart phone.

That is, the iPad Pro's problem is really just the PR. No amount of good PR could save Humane AI's products.
If that's true, why did they add the features to detect unneeded photos (e.g., post it notes, duplicates) and bulk delete them?
I don't think old means better. I agree that you should use whatever is best for you and makes you more productive (why I doing care about vim vs emacs debates) but I think you're giving up a lot. You're given and unless color blind then you are missing the added dimensions you searching with things like syntax highlighting. All your commands exist in vim, but come on, you've had the last 33 years to update. My configs update as I change too, so I hope that you aren't stuck because I don't like vi for the same reason I don't like GUIs: not all holes are round and not all pegs are square.
...where "pollution" means "air pollution".
These Barbie promos are getting out of hand
Giving me “nobody is allowed to make the world a better place more than I do” vibes

> amid mounting concern that China could flood the US market with cheap EVs

As a consumer, isn’t that a good thing?
In some places yes https://services.swpc.noaa.gov/images/aurora-forecast-northe...
Also, these two networks achieves vastly different results, per watt consumed. A NN creates a painting in 4s on my M2 MacBook; an artist in 4 hours. Are their used joules equivalent? How many humans would it take to simulate MacOS?

Horsepower comparisons here are nuanced and fatally tricky!
Agree. Was surprised how well the phone pulled the colour out.

Can’t find my DSLR unfortunately otherwise it’d be on the tripod.

Had to wake the 6 year old for him to see this, once in a life time type of thing
Dihydrogen monoxide levels have also peaked.
Why People Follow the Leader: The Power of Transference
If I am in Texas, should I take care of anything? Like flip breakers or disconnect solar panels?
Don't think about the money. Money flows in one direction, but corporate decisions, organization of resources, manufacturing activity -- real physical flows, energy flows, mass flows -- move opposite. What "finance" really is is improving allocation of those real resources, and then skimming a little bit off of the improvement. Fundamentally, money is a signal for the expenditure of energy. The flow of money, the signal, can be analyzed and applied optimally to improve the expenditure of energy.

If the world's production capacity is a giant muscle, finance is like the brain. Spending 20 watts of brainpower to move a 100 watt muscle in the right way can be hugely effective, far more effective than a 1000 watt muscle with 5 watts of brain.

This is really what finance does. They improve the movement of the muscle.
Can't sell the new characters' toys if you don't kill off half a dozen old favorites in the first ten minutes of the movie!
Many thanks for the encouraging comments.
decade's worth of data hoarding
It would be great to have a FAQ page on your site mentioning this. I was on your docs page and did a search for "firefox" as well as "safari" in the search box and there were no hits at all. Seems like something that people would often be checking for.
Yeah, none of these other stories and photos are from reality
Does anyone have real life experience (preferably verified in production environment) of fine-tuning actually adding new knowledge to the existing LLM in a reliable and consistent manner? I've seen claims that fine-tuning only adapt the "forms" but can't adding new knowledge, while some claim otherwise. I couldn't convince myself either way with my limited adhoc/anecdotal experiments.
A note [video] – 94 Year old Man Passionate about Teaching Math
On the other hand, there's a lot of space... in space.
What is the best way to allocate billions?
In the wake of Simons' death, who left behind billions, what is the best way to allocate billions while alive, and you have, say, 3 decades to do it, and the goal is to maximize good?

Yeah, I know this is EA material and people like SBF hurt the reputation of that line of thinking, but what would be the best approach? invest in schools? a limited type of basic income? grants?
> To be honest I really dislike this kind of vague speculative fearmongering when targeted at specific minority groups, which seems extremely dangerous. It historically blends right into overt bigotry and sectarian oppression.

Basically, I'm repeating the contention of sociologist Eric Kaufmann's book Shall the Religious Inherit the Earth–that in the long-run religious (ultra-)conservatives will dominate due to high birth and retention rates.

It isn't "fearmongering", because that assumes one is presenting a takeover by religious conservatives as negative. One might view it as positive. One might view it as neutral. I'm not presenting any value judgement of it here.

The contention isn't about any religious group in particular, it is about ultra-conservative religious groups in general. Ultra-Orthodox Jews happen to be the clearest example of the phenomenon, but there are other candidates – Old Order Amish, Latin Mass Roman Catholics, Salafist Muslims, etc.

Personally, I doubt ultra-Orthodox Jews will ever single-handedly takeover America, because in the scenario I am talking about, there will likely be other (non-Jewish) ultra-conservative religious groups, with which they'll share power. But I do think it plausible that in 2 or 3 centuries from now, North America will be a much more reliigious and much more conservative place than it is today. Not certain, of course, but plausible.
Yet how many people are checking what libraries are being linked on every compilation?

CMakefiles are susceptible to bugs too. KeepassXC could also very well remove these build flags and people would be none the wiser.

As I said, concerned users should look at other ways to isolate the application’s behavior here instead of relying on the build process.

Run it in an isolated network namespace if network connectivity is the prevailing concern.
> A PString is the address of a character buffer like C, but the length of the string is stored at a negative offset. I may be remembering wrong but I think there was an older C++ STL that also used negative offsets.

In the Microsoft world, BSTR from COM/OLE does this. Though I think the length prefix is 4 bytes, and the payload is 16 bit wchars.
The headline has been updated:

OpenAI revs up plans for web search, but denies report of an imminent launch
Here’s the benchmark:

https://www.tomshardware.com/pc-components/cpus/apple-m4-sco...
True, but most GUIs are built with the mouse in mind, and at best slap some ctrl keybinds on as an afterthought. Hamburger menus and flat whitespace are cumbersome.
Not OP, but I'm presuming they mean something like adding a "db_account_password" column to the users table to store the password for that user's database account (i.e. not their password, but the password the app uses to log in to the database as them), so the app can get the credentials to log in to a user's database account before running queries as them.

You'd configure it like a normal webapp with the host, port, username, etc. It wouldn't be something you could just add to the config for an existing app, it would take custom code.
No, this is all quite harmless.
It was seen in France and Switzerland today, even if they are not colored in on the map, so it could be seen outside the main areas.

Also - there is green over the equator - is that intentional?
The US already used graphite bombs to disable 85% of the Iraqi electrical system in the 90s. Drones that autonomously target anything with insulator discs on it would make it rather cheaper, though.

It's still probably a war crime to target civilian infrastructure, however, so either win or deny using the drones and blame saboteurs now that the drones are cheap enough to reasonably suggest guerilla usage is possible.
Refusal of enlistment is not essential to the Haredi lifestyle, and so it seems plausible their resistance to that might gradually weaken

There is already a minority of them, the Hardal (Nationalist Haredi), who are happy to enlist, but whose birth rates, retention rates, and general lifestyle, are similar to the Haredi mainstream
Whoa! Cool. I didn't see that earlier - nice.
Have you ever heard the phrase "tortured logic"?
Ah! You got me down the right rabbit hole. I think I was actually using INTERSVR and INTERLNK but yes, must have been a LapLink cable.

https://en.wikipedia.org/wiki/List_of_DOS_commands#INTERSVR_...
They are VC backed now which makes me wonder if they will do a license switch later or something else to monetize...

https://news.ycombinator.com/item?id=38126060
All of that. Plus, wrap your head in aluminum foil.
Downloading random exes from the internet is real scary. Jamming this into another tool feels like a better way to go.
That does allow you to change the default for users installing the packages and while ensuring that users who already have it installed don't lose functionality during an upgrade.
I think we can all agree legislators need to better "red team" their laws, and try to predict how people will get around the spirit of the law by using technicalities in the wording of the law, so that better words can be enacted.

If they did not intend for Bezos to take advantage of income limits, they should have written the law better so that he couldn't.
It's the same as my username here - happy to get connected :)
Jump Seating United Pilot Causes Drama at Southwest
Yeah, camera sensors (depending on filtering) are far more sensitive to the dim light of the aurora than our eyes. Still means you can get utterly amazing photography there already! :)
I think you changed it immediately when you first saw it and never thought about it again. I’d doubt Chrome binaries on any platform would change that only on one platform.
OP’s factoring includes washing, food prep, all that other stuff.
I heard the aurora would be visible in Netherland, so living in Amsterdam I just went outside to check. Nothing. Maybe some very vague lighter bands in some places? Cities have too much light for this sort of thing.
Apache NuttX International Workshop 2024 (13-14 Jun)