HNHacker News
TopNewBestAskShowJobs

streptomycin

3,968 karma · joined February 18, 2011

submissionscomments
streptomycin··on Ask HN: Is it possible to ditch Google Play as a solo mobile app dev?
The one that is bothering me most is having to display my physical, home address on the play store for paid apps

Fun fact, it's actually not just for paid apps, it's for free apps too!

I just said fuck it and listed my home address, cause if someone really wants to find me it's not like that info is actually hidden in other public records.

streptomycin··on CNN and USA Today have fake websites, I believe Forbes Marketplace runs them
In 2005, some scammy ad company paid me to do similar stuff - let them completely control some pages on a high ranking domain. Google figured it out after a few months and blacklisted my entire domain until I removed them. Crazy that this is still an issue.
streptomycin··on Guiding principles: How US dietary guidelines contribute to obesity
Everyone wants some boogeyman to blame. In reality, it's probably just that food is really cheap these days, and America is really rich these days.
streptomycin··on A $10k stipend is available for anyone moving to Cumberland, MD
"Assessed" doesn't mean much, there are many towns (such as my current town, and many others here in NJ) where houses all sell for a similar premium over the official assessed value.
streptomycin··on BMW Overtakes Tesla in European EV Sales for First Time
Yes https://i.imgur.com/ZNv1AyD.jpg

Although BMW is making some nice EVs and they are selling more than they used to, the headline is misleading.

streptomycin··on (Opinion) Crypto mining is nonessential and is killing our climate
Proof of stake uses a lot less energy.

And if you're worried about the energy usage of crypto, wait until you hear about this AI thing...

streptomycin··on Ask HN: Why are PWA user install stats so hard to find?
My understanding is that a PWA is just a website with a few extra features. The ability to "install" it is one of those features, but it's still a PWA even if you don't install it and just use it as a normal website. So basically a website with a service worker that has some offline functionality is a PWA. Tons of people use those without even knowing it, and there's no good way to measure that.
streptomycin··on Speeding up the JavaScript ecosystem – Isolated Declarations
You wouldn't, you would use JSR.
streptomycin··on "Superintelligence" 10 years later
Yes we already have "superintelligences" if we redefine the word to mean something different.
streptomycin··on Ask HN: Who has had a successful PWA product?
It doesn't... started as a hobby project in 2012, wanted to see if it was possible to make an app that stored a lot of client-side data in IndexedDB. Now, my app is successful so I don't really want to move to another platform, but also it creates too much data to easily and cheaply sync to a server. So I'm in a weird situation. https://basketball-gm.com/ if you're curious.

I realize I'm a bit of an edge case. But also, ideally we could make PWAs that operate with similar data guarantees as native apps. That's kind of the idea of PWAs, that web apps should be able to mostly be the equivalent of native apps.

And it almost works, except for the data loss issue. Kind of sad. Cause there are so many other advantages of a PWA... like being able to target all platforms with one PWA is incredible. Having no gatekeepers to "approve" my app updates is incredible. But the cost is sometimes users lose all their data :)

streptomycin··on Ask HN: Who has had a successful PWA product?
Random data loss happens on Android quite a bit too. Source: I have a PWA with a lot of users, and my #1 complaint is data being lost on both Android and iOS.

This is true even if you use Google's own tool to wrap your PWA and put it in the Play Store, and even if you use the so-called "persistent storage API" to have users request their data not be deleted - still get random data loss, and it makes it very hard to maintain a 4+ star rating when there are a bunch of 1 star reviews about users losing all their data.

streptomycin··on Ask HN: Who has had a successful PWA product?
No, that also gets deleted sometimes.

But on the plus side, random deletions also happen on Android!

streptomycin··on Augmenting biological intelligence with RL in C.elegans using optogenetics [pdf]
The problem is that even one individual neuron is really complicated. The model we imagine of how a neuron works is very simplified. Useful for some things, but not for simulating a worm's brain.
streptomycin··on Cost of developing new drugs may be lower than industry claims: trial
Not much, universities basically never pay for clinical trials.
streptomycin··on Cost of developing new drugs may be lower than industry claims: trial
Its own bill for landmark trials of a four-drug combination treatment for drug-resistant tuberculosis came to €34m (£29m).

Okay, how does that compare to what pharma companies spend? The article cites some unrelated numbers, doesn't actually compare.

A quick Google search says:

The average cost of phase 1, 2, and 3 clinical trials across therapeutic areas is around $4, 13, and 20 million respectively.

So... not really that different? What's the big deal here?

streptomycin··on I should have loved biology (2020)
When I took biochemistry as an undergrad, it was taught by a somewhat eccentric professor who instead taught it more like "History of Molecular Biology". And it was super interesting.

But all the premed students hated it lol

Besides that, every other bio course I ever took was just rote memorization (except ones taught in math/engineering departments). Bio 101 was maybe the hardest class I ever took because it was so damn boring to memorize all those random facts.

streptomycin··on Faces.js, a JavaScript library for generating vector-based cartoon faces
Thanks for plugging my main project, I came too late to this thread to do it!
streptomycin··on Faces.js, a JavaScript library for generating vector-based cartoon faces
(faces.js dev here)

Code is Apache license, and you can do whatever you want with the output. If you want to be nice, lmk if you use it somewhere, I like seeing it in the wild!

streptomycin··on Faces.js, a JavaScript library for generating vector-based cartoon faces
(faces.js dev here)

What you see now is already after another contributor came through and redid all my artwork. You don't want to know what it looked like back before then lol

streptomycin··on Faces.js, a JavaScript library for generating vector-based cartoon faces
(faces.js dev here)

A nice thing about the current API is the face objects can be trivially serialized to JSON, which I need do in the application I originally wrote the library for.

Also the `display` function works with a DOM element as the first argument too, in which case you don't need to make up an ID. That's how I use it.

That being said, the API might not be perfect, but you should at least appreciate that it's been stable since v1 in 2015!

streptomycin··on Tick-killing pill shows promising results in human trial
https://www.uptodate.com/contents/what-to-do-after-a-tick-bi...

> Even if a tick is attached, it must have taken a blood meal to transmit Lyme disease. At least 36 to 48 hours of feeding is typically required for a tick to have fed and then transmit the bacterium that causes Lyme disease.

streptomycin··on JSR first impressions: a JavaScript package manager by the Deno team (2023)
Deno continues to seem very interested in making marginal improvements to the Node/npm ecosystem that (if adopted) would be massive breaking changes for everyone. It's hard for me to imagine many people being interested in this.
streptomycin··on Big Pharma spends billions more on executives and stockholders than on R&D
I will agree with that, if we can also agree that pharma companies spend tons of money on clinical trials, and it's difficult to imagine where that money would come from if they didn't exist :)
streptomycin··on Big Pharma spends billions more on executives and stockholders than on R&D
In "clinical testing for safety-monitoring or marketing purposes", "marketing purposes" doesn't mean spending money on ads and stuff like that, it means doing clinical trials to see if a drug works for a certain disease or population, or to compare their drug against a competing drug, or whatever. This is the insanely expensive research that pharma companies do to see if drugs actually work, that everyone likes to ignore when talking about greedy pharma companies.

Results of clinical trials (if successful) can then be used in ads, but that would not be R&D expenditure.

streptomycin··on Grade inflation at UC Riverside, and institutional pressures for easier grading
Some of this is because young professors try to grade things fairly (such as failing students who never make any effort to learn the material) and get beaten down by the administration because failing students are a lot of extra work for the admins. Then it flows downhill to professors telling the same to TAs.

I remember as a TA I caught a student cheating (very blatant, included a paper trail with obvious lying) and the professor was like "eh, give him an 8/10 instead of a 10/10". That was the attitude 15 years ago, I can't imagine what it's like now if trends have continued..

streptomycin··on It's time to admit that genes are not the blueprint for life
Some idiots (on both sides) seem to think "nature vs nurture" must have a single winner. Some slightly less stupid people like to strawman all their opponents as thinking that. This seems to be yet another example of the latter.
streptomycin··on The web just gets better with Interop 2024
I don't think there is a real plan, I think it's just the current state of the power struggle between two competing factions. Some browser devs prioritize web apps being as good as native apps. And some browser devs prioritize not causing problems for users (such as using too many resources). Seems like sometimes one faction sneaks something past the other to advance their cause a bit, and in total the result is incoherent.
streptomycin··on The web just gets better with Interop 2024
Yes, but they are both symptoms of the same problem. Ultimately as a PWA developer I'd love to just be able to save a file to disk and be able to rely on it the same as a native app can.

And currently there are also other situations where browsers will delete your data, in addition to low disk space and the weird iOS usage requirements.

streptomycin··on The web just gets better with Interop 2024
That is definitely not a good alternative. Three major problems I've had with it:

1. That heuristic is not just in Safari, it's in Chrome too. Firefox is the only one with a normal permission dialog. And the heuristic is really confusing for users! They come to me and say "how can I stop my data from being deleted?" and I have no answer if the heuristic says they can't enable persistent storage.

2. It only helps with eviction (deleting data due to low disk space), not other scenarios where data may be deleted. Such as clearing the "browser cache" without realizing what that implies, which may even be done automatically or through some third party app.

3. I have a place in my app settings page where users can see their persistent storage setting and also enable it if they want. I have many reports of users who enable it, then check back some time later, and somehow it's disabled. So the persistent data setting seems to not be persistent.

streptomycin··on The web just gets better with Interop 2024
Last I looked into it, it's not permanent in any browser. If you're low on disk space, stuff will get deleted. https://twitter.com/tomayac/status/1613605318407094275

It kind of makes sense, given the constraints the browser devs have given themselves. Since there's no way for users to see/manage these OPFS files directly, there is no good alternative except automatically deleting stuff if disk space is low.

What would really be nice would be if we could just create normal files and let users control them, but that doesn't seem to be in the cards. And it sucks. The #1 question I get for my PWA is "how do I stop it from sometimes deleting all my data?" and there's really no good answer.

← PreviousPage 5 of 34Next →