HNHacker News
TopNewBestAskShowJobs

mil22

1,298 karma · joined February 4, 2023

submissionscomments
mil22··on Gemini CLI
They really need to provide some clarity on the terms around data retention and training, for users who access Gemini CLI free via sign-in to a personal Google account. It's not clear whether the Gemini Code Assist terms are relevant, or indeed which of the three sets of terms they link at the bottom of the README.md apply here.
mil22··on Gemini CLI
Does anyone know what Google's policy on retention and training use will be when using the free version by signing in with a personal Google account? Like many others, I don't want my proprietary codebase stored permanently on Google servers or used to train their models.

At the bottom of README.md, they state:

"This project leverages the Gemini APIs to provide AI capabilities. For details on the terms of service governing the Gemini API, please refer to the terms for the access mechanism you are using:

* Gemini API key

* Gemini Code Assist

* Vertex AI"

The Gemini API terms state: "for Unpaid Services, all content and responses is retained, subject to human review, and used for training".

The Gemini Code Assist terms trifurcate for individuals, Standard / Enterprise, and Cloud Code (presumably not relevant).

* For individuals: "When you use Gemini Code Assist for individuals, Google collects your prompts, related code, generated output, code edits, related feature usage information, and your feedback to provide, improve, and develop Google products and services and machine learning technologies."

* For Standard and Enterprise: "To help protect the privacy of your data, Gemini Code Assist Standard and Enterprise conform to Google's privacy commitment with generative AI technologies. This commitment includes items such as the following: Google doesn't use your data to train our models without your permission."

The Vertex AI terms state "Google will not use Customer Data to train or fine-tune any AI/ML models without Customer's prior permission or instruction."

What a confusing array of offerings and terms! I am left without certainty as to the answer to my original question. When using the free version by signing in with a personal Google account, which doesn't require a Gemini API key and isn't Gemini Code Assist or Vertex AI, it's not clear which access mechanism I am using or which terms apply.

It's also disappointing "Google's privacy commitment with generative AI technologies" which promises that "Google doesn't use your data to train our models without your permission" doesn't seem to apply to individuals.

mil22··on Ty: A fast Python type checker and language server
Let's hope you're right and that translates to even higher performance for Ty compared to Pyright. There are of course many variables and gotchas with these sorts of things.
mil22··on Ty: A fast Python type checker and language server
I tried all the type checkers available as of ~1 year ago, and Pyright worked the best for me. It's not perfect, but it's better than any of the pure Python checkers. Memory is cheap (unless you're buying it from Apple I guess...). Would I take a faster type checker with better memory footprint? Heck yes, assuming equal or superior functionality.
mil22··on Ty: A fast Python type checker and language server
Pyright + Pylance + Ruff has been rock solid for me on my 100Kloc codebase for more than a year now. I use the VS Code extensions, and Pyright and Ruff are integrated into my pre-commit.
mil22··on Ty: A fast Python type checker and language server
I tested it side-by-side on my ~100Kloc codebase.

Ty: 2.5 seconds, 1599 diagnostics, almost all of which are false positives

Pyright: 13.6 seconds, 10 errors, all of which are actually real errors

There's plenty of potential here, but Ty's type inference is just not as sophisticated as Pyright's at this time. That's not surprising given it hasn't even been released yet.

Whether Ty will still perform so much faster once all of Pyright's type inference abilities have been matched or implemented - well, that remains to be seen.

Pyright runs on Node, so I would expect it to be a little slower than Ty, but perhaps not by very much, since modern JS engines are already quite fast and perform within a factor of ~2-3x of Rust. That said, I'm rooting for Ty here, since even a 2-3x performance boost would be useful.

mil22··on Ty: A fast Python type checker and language server
I tested it side-by-side on my ~100Kloc codebase.

Ty: 2.5 seconds, 1599 diagnostics, almost all of which are false positives

Pyright: 13.6 seconds, 10 errors, all of which are actually real errors

There's plenty of potential here, but Ty's type inference is just not as sophisticated as Pyright's at this time. That's not surprising given it hasn't even been released yet.

Whether Ty will still perform so much faster once all of Pyright's type inference abilities have been matched or implemented - well, that remains to be seen.

Pyright runs on Node, so I would expect it to be a little slower than Ty, but perhaps not by very much, since modern JS engines are already quite fast and perform within a factor of ~2-3x of Rust. That said, I'm rooting for Ty here, since even a 2-3x performance boost would be useful.

mil22··on Ty: A fast Python type checker and language server
Great, but how does it compare to Pyright on the utility / performance curve? Pyright is mature and already very fast.

https://github.com/microsoft/pyright

mil22··on Apple violated antitrust ruling, judge finds
This matches my own personal experience of corporate America, and is one of the primary reasons I left.

And it’s not just the lying that’s the problem - it’s the lack of critical thinking, the gullibility, the willingness to suspend disbelief and give benefit of the doubt and credit where it’s not due, amongst those being lied to, be they employees, or voters.

The way out is to see through it, to question it, and to stop acquiescing to it. If we all do that, the liars will never ascend to the positions of power we have allowed them to have over us today.

mil22··on Apple violated antitrust ruling, judge finds
"Accordingly ... the Court refers the issue to the United States Attorney for the Northern District of California ... for investigation against Apple and Alex Roman, Apple’s Vice President of Finance specifically."
mil22··on Apple violated antitrust ruling, judge finds
About time. I'm tired of apologizing to customers who purchase subscriptions in my app only to discover they could have purchased the exact the same thing from my website for 15% less. "Why didn't you tell me?"

Excerpt from the filing:

"In stark contrast to Apple’s initial in-court testimony, contemporaneous business documents reveal that Apple knew exactly what it was doing and at every turn chose the most anticompetitive option. To hide the truth, Vice-President of Finance, Alex Roman, outright lied under oath. Internally, Phillip Schiller had advocated that Apple comply with the Injunction, but Tim Cook ignored Schiller and instead allowed Chief Financial Officer Luca Maestri and his finance team to convince him otherwise. Cook chose poorly. The real evidence, detailed herein more than meets the clear and convincing standard to find a violation. The Court refers the matter to the United States Attorney for the Northern District of California to investigate whether criminal contempt proceedings are appropriate."

mil22··on A judge just blew up Apple's control of the App Store
Full context:

"In stark contrast to Apple’s initial in-court testimony, contemporaneous business documents reveal that Apple knew exactly what it was doing and at every turn chose the most anticompetitive option. To hide the truth, Vice-President of Finance, Alex Roman, outright lied under oath. Internally, Phillip Schiller had advocated that Apple comply with the Injunction, but Tim Cook ignored Schiller and instead allowed Chief Financial Officer Luca Maestri and his finance team to convince him otherwise. Cook chose poorly. The real evidence, detailed herein more than meets the clear and convincing standard to find a violation. The Court refers the matter to the United States Attorney for the Northern District of California to investigate whether criminal contempt proceedings are appropriate."

mil22··on A judge just blew up Apple's control of the App Store
About time. I'm tired of apologizing to customers who purchase subscriptions in my app only to discover they could have purchased the exact the same thing for 15% less from my website. "Why didn't you tell me?"
mil22··on Claude 3.7 Sonnet and Claude Code
Apart from, of course, the incentive of being undercut on price by the competition at (likely soon) a similar level of performance.
mil22··on A Princeton rower became Diamondhands and fooled SV's most famous VC – twice
https://web.archive.org/web/20240925225116/https://fortune.c...
mil22··on Two new Gemini models, reduced 1.5 Pro pricing, increased rate limits, and more
Not yet, hadn't heard of it. Thanks for the suggestion.
mil22··on Two new Gemini models, reduced 1.5 Pro pricing, increased rate limits, and more
I have used Github Copilot extensively within VS Code for several months. The autocomplete - fast and often surprisingly accurate - is very useful. My only complaint is when writing comments, I find the completions distracting to my thought process.

I tried Gemini Code Assist and it was so bad by comparison that I turned it off within literally minutes. Too slow and inaccurate.

I also tried Codestral via the Continue extension and found it also to be slower and less useful than Copilot.

So I still haven't found anything better for completion than Copilot. I find long completions, e.g. writing complete functions, less useful in general, and get the most benefit from short, fast, accurate completions that save me typing, without trying to go too far in terms of predicting what I'm going to write next. Fast is the key - I'm a 185 wpm on Monkeytype, so the completion had better be super low latency otherwise I'll already have typed what I want by the time the suggestion appears. Copilot wins on the speed front by far.

I've also tried pretty much everything out there for writing algorithms and doing larger code refactorings, and answering questions, and find myself using Continue with Claude Sonnet, or just Sonnet or o1-preview via their native web interfaces, most of the time.

mil22··on Low level of Magnesium linked to disease-causing DNA damage
For me it starts with a small patch of my visual field going blind - not white or black, just not able to see anything or make out detail in that area. Typically it's a spot in the center of my vision such that I can't read. After 5-10 minutes, flashing, swirling colored patterns will appear in that same spot. The affected area then enlarges progressively over the course of anywhere between 30 minutes and several hours, covering a polygonally shaped area with the flashing swirling patterns. Sometimes it will stop after 2-3 hours and gradually disappear. Other times the area of blindness and flashing colors will continue to expand for 6 or more hours until it covers an entire half of my visual field.

After the visual aura disappears, usually (but not always) an intense headache will start that lasts the rest of the day.

Triggers for me are unknown but in the past have included air pollution (e.g. smoke from wildfires) and very bright light (watching a video with a white background for too long on a high brightness TV).

I have also noticed greatly reduced frequency of these migraines after I started taking magnesium glycinate daily.

mil22··on Sell for half a billion and get nothing (2021)
Atlassian IPO'd in 2015... so you would have worked there 2006-2009. Congrats on the success, but that was more than a decade and a half ago... I'm not sure it counts as a recent example.
mil22··on Sell for half a billion and get nothing (2021)
I'm in this category, except became an invisible solopreneur after deciding startups are a raw deal instead of going back to FAANG. Between the unfavorable tax treatment, long time to IPO, the inherently high risk of options, it's just not worth it. Perhaps a good deal for the VCs, maybe for the founders, but not for even the earliest employees. See you in the next life.
mil22··on Ollama is now available on Windows in preview
It has worked just fine under WSL for many months now, including full GPU support, though that's not as convenient for most. Native Windows support is icing on the cake.
mil22··on My sixth year as a bootstrapped founder
Going out on your own may not be always strictly better or more rewarding, but this founder story is just one datapoint. Since most companies have an employee equity pool that is sized at only 10-20%, working for them is by definition giving 80-90% of the value you create away to the founders and investors. The rewards of either starting a company or being a sole proprietor (e.g. indie dev or consultant), can therefore be expected to be very substantial, on average, perhaps even 5-10x per unit time worked, and that's not including the secondary non-financial benefits of not working for someone else (e.g. freedom, autonomy, etc.). I do wish more people were aware of this principle, because the willingness of engineers in the aggregate to acquiesce to 10-20% ownership is why VCs and founders become so inappropriately rich by comparison. Just my 2c.
mil22··on Smoking has long-term effects on the immune system
Some, but not all [1]: "... the remaining 17% reported using only nicotine-containing vaping products... It is believed that the non-THC/CBD vapers who were diagnosed with EVALI were actually suffering from disparate vaping-associated lung diseases caused by different toxins within the aerosols or different host responses to the inhalants."

Note that many of the toxic chemicals referred to in this paper are normal components of nicotine vape juice, including but not limited to the flavorings, so the comparison to spiking Tylenol with cyanide is not particularly apt.

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10228557/

mil22··on Smoking has long-term effects on the immune system
Yes. The long-term health implications of vaping are only just beginning to be understood. If you forced me at gunpoint to either vape or smoke, I'd still choose the vape.
mil22··on Smoking has long-term effects on the immune system
Some, but not all [1]: "... the remaining 17% reported using only nicotine-containing vaping products... It is believed that the non-THC/CBD vapers who were diagnosed with EVALI were actually suffering from disparate vaping-associated lung diseases caused by different toxins within the aerosols or different host responses to the inhalants."

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10228557/

mil22··on Smoking has long-term effects on the immune system
Water is essential for human survival; vaping is not necessary for human survival or health but rather introduces potentially harmful substances into the body, including nicotine, which is addictive, and other chemicals that have adverse health effects.

Serious drowning incidents from drinking water are extremely rare and usually involve underlying medical conditions or very specific circumstances. Conversely, the health risks associated with vaping, including lung injury, addiction, and potential cardiovascular effects, are well-documented and have been observed in a significant portion of users, especially among young people and adolescents.

Vaping has been linked to a significant rise in nicotine addiction among teenagers and young adults, often drawn to flavored vape products. This trend threatens to reverse decades of progress in tobacco control and nicotine addiction. Water consumption does not carry a similar public health risk; it does not lead to widespread addiction or serve as a gateway to the consumption of more harmful substances.

While water is essential and generally safe, there are still regulations in place to ensure its safety (e.g., water quality standards). The call to regulate or ban vapes stems from a similar public health perspective — protect consumers, especially young ones, from products that have been shown to pose significant health risks.

Lastly, equating the act of vaping with drinking water is a false equivalence. The two activities serve different purposes and have vastly different implications for health. While water is necessary for life and generally promotes health, vaping introduces unnecessary risks, particularly to young and vulnerable populations.

mil22··on Smoking has long-term effects on the immune system
That's crazy! I personally think both regular tobacco and vapes should be tightly regulated, with tobacco available only to people born before some fixed year (like New Zealand) and vapes restricted the same way or only to existing smokers. Governments worldwide dropped the ball, allowing an epidemic of vaping, with many of the vapers new nicotine addicts who would never have become smokers had there been no vapes.
mil22··on Smoking has long-term effects on the immune system
Totally agree, it definitely isn't safe, and it isn't safe for the person vaping or anyone exposed second-hand. However, the evidence so far does suggest the harm is somewhat less than regular tobacco smoke.
mil22··on Smoking has long-term effects on the immune system
Especially with the widespread availability of vapes, which are still pretty bad for you but substantially less so than cigarettes, there's no excuse these days.

I am the same way, I will risk getting hit by cars sometimes just to avoid smoke I hate it so much. Even outdoors after a brief exposure it gets lodged in your hair, clothes, and eyes. With the legalization of marijuana in so many places, the problem has become even worse.

mil22··on Our next-generation model: Gemini 1.5
Totally agree with this. I can see the desire to show off, but I don't understand how anyone can believe this is good marketing strategy. Any initial excitement I get from reading such announcements will be immediately extinguished when I discover I can't use the product yet. The primary impression I receive of the product is "vaporware." By the time it does get released I'll already have forgotten the details of the announcement, lost enthusiasm, and invested my time in a different product. When I'm choosing between AI services, I'll be thinking "no, I can't choose Gemini Pro 1.5 because it's not available yet, and who knows when it will be available or how good it'll be." Then when they make their next announcement, I'll be even less likely to give it any attention.
← PreviousPage 4 of 6Next →