HNHacker News
TopNewBestAskShowJobs

chikere232

509 karma · joined October 13, 2024

submissionscomments
chikere232··on People are bad at reporting what they eat. That's a problem for dietary research
So what you're saying there's a great business opportunity in people paying to get locked in a diet-cell?
chikere232··on People are bad at reporting what they eat. That's a problem for dietary research
For vitamins are probably easier to start in the other end and have a blood test to check how you're doing. I have no idea if that would involve selling your first born in the US though
chikere232··on People are bad at reporting what they eat. That's a problem for dietary research
Macros are pretty stable though. A week old veggie has less vitamins than a fresh one, but the carbs are pretty unchanged. Trying to measure and weigh for micro nutrients seems doomed though.

As a way of life, weighing and counting macros also seems pretty doomed to because it's just so much work, but it's very doable for a few days to realign your view of what an appropriate amount of food is, if you're diligent and mindful enough to not have a soda or a snack without thinking

chikere232··on Garmin's –$40B Pivot
It sounds like you have a good routine, but it's pretty nice to just have to charge once a week or something
chikere232··on The surprising struggle to get a Unix Epoch time from a UTC string in C or C++
It would be incorrect, but it's already incorrect as what they're doing isn't really a struggle, so I guess the net result is neutral?
chikere232··on The surprising struggle to get a Unix Epoch time from a UTC string in C or C++
https://man7.org/linux/man-pages/man3/timegm.3.html

It's not posix, but it's pretty available

chikere232··on The surprising struggle to get a Unix Epoch time from a UTC string in C or C++
That is not really the problem.

mktime() parses the time string which lacks any information on time zones

then the article uses timegm() to convert it to unixtime on the assumption that it was in UTC

also it's about C

chikere232··on IsMyXFeedFucked – Analyze How Your X Feed's Impacting You
X, such a curious game, the only way to win is not to play
chikere232··on Haskell: A Great Procedural Language
I don't think that holds water. We've had functional programming for longer than oracle or java have existed, and for far longer than oracle has owned java. Haskell itself has been around for longer than java or oracle-owned java.

Functional programming just seems harder for people to get into. Perhaps it's bad for everyone that people don't make that effort, but it doesn't seem like a conspiracy

chikere232··on The surprising struggle to get a Unix Epoch time from a UTC string in C or C++
Is it a struggle though?

They needed to have a locale matching the language of the localised time string they wanted to parse, they needed to use strptime to parse the string, they needed to use timegm() to convert the result to seconds when seen as UTC. The man pages pretty much describe these things.

The interface or these things could certainly be nicer, but most of the things they bring up as issues aren't even relevant for the task they're trying to do. Why do they talk about daylight savings time being confusing when they're only trying to deal with UTC which doesn't have it?

chikere232··on Haskell: A Great Procedural Language
I don't think that's it. I know plenty of people who were taught lisp first thing at university, and as soon as someone handed them an imperative language, they never looked at lisp again. And lisp is way easier than haskell IMO as IO is just a function and not a pilosophical concept
chikere232··on O1 isn't a chat model (and that's the point)
So in a sense, being an early adopter for the previous models makes you worse at this one?
chikere232··on O1 isn't a chat model (and that's the point)
> Technically, the models can already learn on the fly. Just that the knowledge it can learn is limited to the context length.

Isn't that just improving the prompt to the non-learning model?

chikere232··on You can't use your $6,299.00 Camera as a Webcam. That will be $5
Don't buy Canon. They've also been very shitty about third party lenses
chikere232··on Homomorphic encryption in iOS 18
It doesn't have to be binary. I have some trust for apple. They've earned it in various ways by caring for privacy.

When they start opting me into photo scanning I lose a bit of trust. The homomorphic encryption makes it less bad. The relative quiet around the rollout of the feature makes it worse. Apple's past attempt to start client side scanning makes it worse. Etc...

The net result is I trust them a bit less. Perhaps not enough to set my apple devices on fire yet, but a bit.

chikere232··on Homomorphic encryption in iOS 18
As they didn't ask, I will trust them less
chikere232··on Homomorphic encryption in iOS 18
The devil is in the proprietary details though.
chikere232··on Homomorphic encryption in iOS 18
You have to be quick if you want to disable the feature, as the scan starts on OS install, and disabling requires you to actively open the Photos app and turn it off.
chikere232··on Homomorphic encryption in iOS 18
> You are Apple. You want to make search work like magic in the Photos app, so the user can find all their “dog” pictures with ease.

What if you're a user and you don't care about searching for "dog" in your own photos, you might not even use the Photos app, but apple still scans all your photos and sends data off device without asking you?

Perhaps this complicated dance works, perhaps they have made no mistakes, perhaps no one hacks or coerces the relay host providers... they could still have just asked for consent the first time you open Photos (if you ever do) before starting the scan.

chikere232··on Homomorphic encryption in iOS 18
and if a government say already forced ISPs to collect metadata about who connects to whom and when, I imagine they don't even need to bother getting data from the relay hosts
chikere232··on An "oh fuck" moment in time
I guess time will tell, especially as you've bet the company on it

My impression so far is that they're already in diminishing returns territory. They might just be puppies learning to walk, in the sense of having a fundamental limit to their potential

chikere232··on An "oh fuck" moment in time
The mental model is pretty easy. It's effectively a markov chain text predictor, only big.

Your takeaways are good and fit that model

chikere232··on An "oh fuck" moment in time
So it's great for answering questions you know the answer for and can guide it if necessary?
chikere232··on An "oh fuck" moment in time
> Well, yeah. You are. It's built to answer questions people actually ask, not solve new logic puzzles.

Isn't the causality inverted here? It's trained on questions people have asked before, so that's what it's better at. New logic puzzles illustrate this flaw

chikere232··on An "oh fuck" moment in time
*if they become ready
chikere232··on An "oh fuck" moment in time
I'd much rather write my own code while thinking through the implications and pitfalls of it than have a virtual junior coder vomit out some code I have to check carefully.

If I want to invest time in fixing some junior developer's probably broken code, I'd much rather do it with a real junior developer who has the potential to learn over time and become a not junior developer

chikere232··on Comptime as Configuration
Releasing more often, keeping master/main/trunk deployable, and not having a develop branch or long lived feature branches solves a lot of that.

Of course that sometimes needs some kind of feature flags for bigger changes, which is a configuration option too, but at least the stable state of the code is simpler and not a nest of code + config that never really changes.

chikere232··on Obvious things C should do
I tried D last year. As I recall it, there's at least one obvious things from C that D should add:

Switches can't seem to figure out that I have a case for every value of the enum I'm switching on, so I need a pointless default: assert(0);

I didn't check if this also breaks me getting warnings if I add new values to the enum but not the switch, but I imagine it does

chikere232··on Why I Chose Common Lisp
It's not a lisp, but Unison (https://www.unison-lang.org/) integrates editor, version control, runtime with content addressed functions

It's pretty cool, and also an obviously terrible idea as you leave behind all standard tooling

chikere232··on Obvious things C should do
It has and it does. Compare modern C with c89

It won't become D and you can probably be fairly sure it won't grow a standard garbage collector and object system.

← PreviousPage 3 of 6Next →