Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alkonaut
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
631.
▲
by
alkonaut
2y ago
Yes. I’m 100% talking about unsafe Rust now (for private fields). That is: I see reflection only as a way of making unsafe bytemucking a bit more ergonomic. Its nothing you can’t already do. It’s a well behaved object with invariants 99% of
632.
▲
by
alkonaut
2y ago
I didn’t follow that argument, where would reflection be used here? Was the problem that if parentlib 1.0.0 used reflection on childlib 1.0.0 then potentially bumping childlib to 1.0.1 would cause it to completely break the functionality of
633.
▲
by
alkonaut
2y ago
I think the agreement is rather “if you change the private field then there are no longer any guarantees of anything”. Which is fine, I think. And obviously with or without reflection anyone can already modify the private field.
634.
▲
by
alkonaut
2y ago
If I learned right now that Rust had a reflection API then I’d assume that it’s fundamentally unsafe when it comes to handling non public fields. For exactly the reasons the article lists. I think the API with safe public reflection and uns
635.
▲
by
alkonaut
2y ago
Yes, it's important that the development of large groups of people who don't emit much at all, leapfrog directly to more modern energy. I think it's safe to say there is a large risk that a billion people in india will stil
636.
▲
by
alkonaut
2y ago
Population is peaking soon which should be a good start for flattening that curve.
637.
▲
by
alkonaut
2y ago
They could, but if the LLM can iterate and solve it then the user might not need to know. So when the user input is needed, at least it's not merely to do what I do know: feed the compiler messages or test failures back to ChatGPT who
638.
▲
by
alkonaut
2y ago
> "Get with the program, or else" is the message here. You seem to imply this is either unexpected or unfortunate? What is it you refer to as "the program"? There is a big difference between on the one hand Hungrary a
639.
▲
by
alkonaut
2y ago
> Almost everywhere in the former Yugoslavia is more safe than in the West. According to what metric? > But it is not only safe, you will very easily make friends as people are much more open to forming friendships. Are you generalizi
640.
▲
by
alkonaut
2y ago
Any LLM-coding agent that doesn't work inside the same environment as the developer will be a dead end or a toy. I use ChatGPT to ask for code examples or sketching out pieces of code, but it's just not going to be nearly as goo
641.
▲
by
alkonaut
2y ago
Yes I phrased it backwards in the first sentence (of course). So the answer is ”investor money to operate at a loss?”
642.
▲
by
alkonaut
2y ago
I never understood why the asterisk is with the variable name in C and not by the type. Apart from declaring multiple variables of pointer and non-pointer type at the same time is there any other reason for it?
643.
▲
by
alkonaut
2y ago
Yes but my fear of having to litigate anything is around 1000x higher than my fear of being overcharged for service or spied on by the manufacturer. The cost of first party service for 2-10 years (warranty period) is just part of the cost o
644.
▲
by
alkonaut
2y ago
I’m under the impression (probably created by Apple) that anything not tailor made by them is worse. I can charge my phone with any 5V source and the right connector but it’s always slower than an Apple charger. Why, I don’t know. Could be
645.
▲
by
alkonaut
2y ago
My main point was that the batteries are replaced anyway, if the product still has life in it (os updates, decent perf) because people have shops replace batteries or they trade them in when upgrading and they are refurbished and resold. Bu
646.
▲
by
alkonaut
2y ago
Yes I get that using the models costs a lot more than training. But using them isn’t free. Even using a large nVidia chip for a fraction of a second is expensive. So where does this money come from? Gains from paid tiers, investor money?
647.
▲
by
alkonaut
2y ago
If big models require big hardware how come there are so many free LLMs? How much compute is one ChatGPT interaction with the default model? Is it a massive loss leader for OpenAI?
648.
▲
by
alkonaut
2y ago
Of course it’s a design drawback. Otherwise it would be the design. The drawback could be as simple as “higher cost to manufacture” or “higher risk of consumers using incorrect/third party batteries”. I’d argue the latter is a real pro
649.
▲
by
alkonaut
2y ago
Old phones are refurbed and sold. New screen and battery and it’s often as good as new. A 5 year old iPhone 11 with a new battery and screen is great value at maybe $200. It’s important that the battery replacement done at those shops is ea
650.
▲
by
alkonaut
2y ago
It still compromises something I’m sure. Weight/thickness/rigidity or something else. The phone already has a hatch for the battery: the shell. If it takes 1 hour to replace a battery or 30 seconds feels like it doesn’t matter sin
651.
▲
by
alkonaut
2y ago
I was thinking a smartphone from $500 at least.
652.
▲
by
alkonaut
2y ago
That’s not very clear. How easy is ”readily”? I replaced a few and found the biggest obstacle being the glue they use to keep them in place inside (they must sit in compartments larger than the battery since it changes size). But would it b
653.
▲
by
alkonaut
2y ago
Which devices don’t have replaceable batteries? No iPhone had a battery that couldn’t be replaced for maybe 10% or the purchase cost or so. Why do people consider a smartphone with a degraded battery ”e-waste”? Just go have the battery repl
654.
▲
by
alkonaut
2y ago
I’m happy to have batteries glued to my smartphone (replaceable, but only in the sense the main logic board is replaceable) if it saves even a few % in weight, rigidity or how waterproof it is. The times when phones had battery hatches we
655.
▲
by
alkonaut
2y ago
If you used a naïve translation to Rust, wouldn’t you get parts that are safe and parts that are unsafe? So your manual job would need to be only verifying safety in the unsafe regions (same as when writing rust to begin with)? Seems it wou
656.
▲
by
alkonaut
2y ago
I might be too optimistic but I think LLMs will basically replace the worst and most junior devs, while the job of anyone with 5 or 10+ years of experience will be babysitting AI codevelopers, instead of junior developers. I find a lot of g
657.
▲
by
alkonaut
2y ago
Someone realized it's not a good idea to hand a bunch of teens cameras, give them unlimited possibility to bully eachother anonymously and then force them to share a space for 8 hours every day, including changing clothes and showering
658.
▲
by
alkonaut
2y ago
I don't even use copilot (yet) because the process of reviewing it through all the different obstacles (security, legal, budget) is on it's 24th month or something. I think many people in traditional industry can relate.
659.
▲
by
alkonaut
2y ago
Specifically for credit card numbers those should be easy to detect as they are a specific format. But generally for PII, passwords etc there is no way to know when something is or isn’t secret or sensitive so either you should accept that
660.
▲
by
alkonaut
2y ago
"Consume" doesn't mean destroy either. It's contextual and its pretty clear what it means in this context.
More ›