Hacker Newsnew | past | comments | ask | show | jobs | submit | supahfly_remix's commentslogin

Does anyone know where one could obtain the firmware for this? It might be interesting to reverse engineer.


It’s available in various archives of the Toyota TechStream pre-2024 editions, in some sort of weird encrypted file format that can be trivially decrypted; I haven’t tried myself but the ECU I work with isn’t encrypted in-vehicle. I’ve spent five or six years in Ghidra with various hybrid Subaru-Toyota ECUs from 2013-2020 and I wonder what kind of source control practices result in the massive function spaghetti that must have produced in this SH-2A code; I can see where Toyota bolted their direct injection runloop into Subaru’s. So, yeah, if you’re curious, the firmware’s out there, if you’ve got a few years to spare and an absolutely ridiculous amount of patience (and a solid grasp of CAN bus messaging protocols, which you’ll need to identify code blocks and variables and such!)

“The Car Hacker’s Handbook” may be of interest as a first step review, but honestly I just dove in with Ghidra and just .. didn’t ever stop. YMMV :)


lol, thanks for the reply. Yes, I was thinking of looking at it, but your comment dissuaded me. Out of curiosity, did you try running ECU code through an LLM and asking questions of it, and, if so, how did that work out?


No.


Do CDN, such as Cloudflare, support SSE? The last time I looked, they didn't, but maybe things have changed.


Cloudflare doesn't officially support SSE, but if you send keepalives events every 15 or 20sec or so you can reliably use SSE for 40 min + in my experiance.

No server traffic for 100+ sec officially results in a 524, so you could possibly make that keepalive interval longer, but I haven't tested it.

Make sure to have the new style cache rule with Bypass cache selected and absolutely make sure you are using HTTP/2 all the way to the origin.

The 6 connections per browser limit of HTTP/1.1 SSE was painful, and I am pretty sure auto negotiation breaks, often in unexpected ways with a HTTP/1.1 origin.


I have a demo of this for CF workers https://github.com/hntrl/eventkit/tree/main/examples/workers...

(it's not SSE in particular, but it demonstrates that you can have a long running stream like SSE)


On top of the comments below about SSE, I'd also point out that Cloudflare is doing some interesting stuff around serverless resumable websockets. They also have stuff for WebRTC.


Yes, they are


Out of curiosity, can you tell me more about your hobby that involves ship to shore cranes? Or, is this an indirect way of saying that your hobby involves transoceanic shipping? This is Hackernews, so it could plausibly be either.


A third interpretation is this is a joke and they are talking about a business they want to make work without the tariffs, but yeah might have flown over my head too.


> Get a CGM for two weeks and find out what foods spike your blood sugar the most

Are you in the US, and is it possible to obtain a CGM without a prescription?


Yes! Abbott Lingo (iPhone only for now) and Dexcom Stelo. They go for about $45 per sensor that last for 2 weeks.

I second the OP's suggestion. It's completely changed my eating habits.


How does the Stelo compare to the G7?

Do you have any tips for how to start with one and systematically get the most insight out of it?


I've been using the Lingo so I can't comment on that.

Also, it really important to note that I don't have diabetes or any metabolic disorders. I am mainly interested in learning more about the foods that I eat and their effects on me.

The Lingo is the same hardware as the Abbott Freestyle but the difference is in the app.

The way I've been using mine is to consistently log the foods that I eat (the app is really helpful for this) and then seeing what it does to my blood glucose level. My goal has been to minimize spikes in my blood glucose level.

Things I found interesting: 1. Instant oatmeal spikes my blood glucose level a lot. 2. A honeycrisp apple will also spike it but a granny smith apple is much much more modest. 3. Eating bread and rice will spike it. However, eating rice as part of a meal will cause a much smaller spike. 4. Gelato can cause a modest spike but much less than you would expect, smaller than instant oatmeal or a sweet apple. 5. Dark chocolate has little effect on blood glucose. 6. Running will cause a tiny rise (maybe my body is preparing me for the energy needs?) 7. I become borderline hypoglycemic when I'm sleeping.

A very notable effect from this is that minimizing these spikes has been very helpful with my dieting. My desire to snack has been much much easier to control and I've had much better success with my diet plans (I've lost 10 pounds in 3 months whereas my previous attempts only managed to lose 5 pounds before I just gave up).

Once you see what food does what to your blood glucose you sort of remember what foods or groups of good to avoid. I will also say that I'm now super wary of most processed foods. I don't want to be too cynical but I do wonder if the companies knew the connection between blood glucose level spikes and hunger signals.


Stelo is essentially a binned, feature-restricted version of the G7 that’s available OTC without a prescription. If you qualify for getting a G7, need readings more frequently than every 15 minutes, or have any need for high/low glucose alerts, then you shouldn’t consider Stelo at all, IMO —- it’s strictly an inferior version of the G7.


What habits changed?


Dexcom Stelo is $100 for two, OTC


I asked in a sibling comment but thought I’d ask here too: how does the Stelo compare to the G7? And do you have any advice on how to start with one and systematically get the best insight out of it?


I can’t comment on the differences between the models.

As far as using it, you’ll fall into one of two camps

1. You put it on and go about your normal life. You might discover some unexpected foods that spike your blood sugar, etc.

2. You put it on, but you basically already know what’s going on. So you end up course correcting your diet to avoid seeing something bad. You should not buy a CGM :)

I was in the second group, although I learned that blood sugar can actually spike during _intense_ exercise, as your body releases glucose to fuel you.


Try talking to prospective customers. Understand what challenges they have and how you can address them.


This class sounds interesting. Where can I learn more about these techniques? (I'm curious, not planning on using them!)


Looks like googling "Harrah's data science" turns up a decent volume of articles. I won't link any in particular here because I haven't read any of them so I don't know which ones are good.


Thanks! Yes, I was looking for recommended papers/info.


Probably here, but might be dry. https://link.springer.com/journal/10899


Thanks for the link. I wonder if this journal is constrained to observing gambling rather than doing experiments to trying to exacerbate it as Harrah's is doing: "The Journal of Gambling Studies is an interdisciplinary forum for research and discussion of the many and varied aspects of gambling behavior, both controlled and pathological. Coverage extends to the wide range of attendant and resultant problems, including alcoholism, suicide, crime, and a number of other mental health concerns."


"Coercion" by Douglas Rushkoff is somewhat dated but by no means out of date.

https://www.penguinrandomhouse.com/books/348346/coercion-by-...


FWIW, Pinboard's founder is still actively commenting (https://news.ycombinator.com/threads?id=idlewords) on HN as of 7 days ago.


He's also somewhat active on twitter: https://x.com/pinboard


Ah, thanks! Gonna ping him to allow me to download my pin archive :)


> I wish we could have another and bump the packet size.

The clock precision (100s of ppm) of the NIC oscillators on either side of a network connection gives a physical upper limit on the Ethernet packet size. The space between the packets lets the slower side "catch up". See https://en.wikipedia.org/wiki/Interpacket_gap for more info.

We could use more precise oscillators to have longer packets but at a more expensive cost.


You don't need that as much on modern protocols. The point of 8b/10b or 64b/66b is that it guarantees enough edges to allow receivers to be self clocking from the incoming bits being more or less thrown directly into a PLL.


That's a separate concern.

The previously mentioned issue is that to never buffer packets in a reclocking repeater on a link, you _need_ the incoming packet rate to never be higher than the rate at which you can send them back out, or else you'd fill up/buffer.

If your repeaters are actually switches, this manifests as whether you occasionally drop packets on a full link with uncongested switching fabric. Think two switches with a 10G port and 8 1G ports each used to compress 8 long cables into one (say, via vlan-tagging based on which of the 8 ports).


Realistically I think we would be fine to make packet size significantly larger than Ethernet would currently allow if we really wanted. E.g. Infiniband already has 1x lane speeds of 200 Gbps without relying on any interpacket gap for clock sync at all. Ethernet, on the other hand, has been consistently increasing speed while decreasing the number of bits used for the interpacket gap since it's less and less relevant for clocking. Put a few bytes back and you could probably do enormous sizes.


I don't get how that limits the packet size. If a sender's clock is 500 ppm faster than an intermediate node's, you need 500 ppm of slack. That could be short packets with a short gap, or large packets with a large gap.

Ethernet specs the IPG as a fixed number of bits, but it could easily be proportional to the size of the previous packet.


He went on to found meetup.com (see his bio at https://en.wikipedia.org/wiki/Scott_Heiferman).


Have there been studies of nominally non-drinking sub-populations, such as Mormons or Muslims, to understand the effects of alcohol?


I imagine picking people from one particular religion or culture is bound to introduce statistical skews.

Mormons do seem to skew toward abstinence from a lot of unhealthy habits, but the stereotype is that they drink a lot of soda, right? That’s bound to do something.

Plus if a group has a strong stigma against alcohol you’ll probably get some members with an unusually high incentive to miss-report whether or not they drink.


> you’ll probably get some members with an unusually high incentive to miss-report whether or not they drink

As a former member of such a group, this is exactly right. Even if it's completely anonymous, there's a strong and absurd sense of "God is watching me fill out this form, better make myself look good".


It's a fair question. However, even muslims are human, i.e., when I've worked in strictly muslim countries (or for that matter, alcohol free geographical zones) someone, somewhere, is drinking (or they know someone that can get it, it being throat and brain cell destroying hooch) even though they're also ticking the zero booze box. See how complicated humans are? But isn't a zero alcohol life not a viable position even for teetotallers of yore, fermented fruit, some food, all contained alcohol.


The increase in alcohol usage in a population increases the onset of symptoms of various alcohol related health effects, including alcoholism and death.

It’s pretty well understood, clinically speaking.

But it’s fun to down a few and the statisical chances of dying sooner are not that high if you follow the generally recommended limits.


Yes, but those populations are far from completely dry. They may drink less, but do not represent a scientific control group. If you did find a totally dry community, the other cultural differances may well muddy the results too (diet, relationship to medical care etc).


Do you have support for that claim? Large, large parts of the Islamic world are not westernized at all — I would be very surprised if rural Yemeni housewives or Socotran shepherds ever drink, or for that matter 99% of people in pre-tourist-visa Saudi.

Hard agree on their being a myriad of confounding factors from genetics over climate and family relationships to diet, though...


Well, i have family connections to pre-visa middle eastern countries and yes, alcohol is a problem. Thats why they have the rule. Are drugs also not a problem also in many countries despite national bans? Remember too that about 30% of people in western nations are essentially dry (<2 drinks per year). So the asking questions approach has merit.


Interesting! Didn't expect that. Also useful statistic with the 30%, makes sense I guess.

Getting off-topic at this point I guess, but I think national bans can go both ways (and everything in between). I suppose (alcohol) Prohibition and the War on Drugs in the US are prominent examples, but I don't think such bans are doomed to fail necessarily — especially if they are tied with genuine cultural or religious beliefs, geographic isolation, pragmatic unavailability or the thing being banned being simple "not in fashion",,


They have other diet restrictions and lifestyle, which might have other effects on life expectancy


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: