Readit News logoReadit News
gkfasdfasdf commented on Tesla ending Models S and X production   cnbc.com/2026/01/28/tesla... · Posted by u/keyboardJones
gwbas1c · 13 days ago
> And to add insult to injury, even GM Super Cruise is widely renowned as better and safer than Tesla’s current “FSD”.

My Huyndai's Autopilot equivalent (I don't even know what they call it) is better than the enhanced Autopilot in the Model 3 that I traded in. It actually changes lanes when I put on the blinker, instead of only changing lanes 70% of the time, and the other time just sitting with the blinker on and a clear lane.

gkfasdfasdf · 13 days ago
Tesla FSD will change lanes when you use the blinker. It will also accelerate and remain engaged if you press the pedal, e.g. if you want to coax it forward at an intersection.
gkfasdfasdf commented on Tesla ending Models S and X production   cnbc.com/2026/01/28/tesla... · Posted by u/keyboardJones
root_axis · 13 days ago
I took it in for a HW update in 2023. I do believe there is an even newer hardware stack since then, but as far as I'm aware the HW doesn't impact the supported capabilities.
gkfasdfasdf · 13 days ago
Congrats on the upgrade - what exactly did they upgrade and what version of FSD are you running? Hardware and software definitely matters. My FSD experience applies to 2026 Model Y, latest FSD (v14.x).
gkfasdfasdf commented on Tesla ending Models S and X production   cnbc.com/2026/01/28/tesla... · Posted by u/keyboardJones
sgjohnson · 13 days ago
Tesla will become a case study on how to completely waste the first-mover advantage.

For many people, the very term EV itself is still ubiquitous to Tesla.

And somehow Tesla is still worth more than every other non-Chinese automaker combined. $1.5T.

GM? $80B. Stellantis? $40B. Toyota? $280B. Mercedes-Benz? $60B. BMW? $55B. Volkswagen Group? Also $55B.

I’m sure I’ve missed plenty of others, but I could miss some 18 $50B automakers, and Tesla would still be worth more than all of them combined.

If Tesla was valued fairly, it would probably be at the tune of $5B. But I’ll never bet against it, because the markets can remain irrational for longer than I can remain solvent. And for some unbeknownst to me reason, the markets value Tesla as a hot tech company, not a 3rd rate automaker, which is what it actually is.

And to add insult to injury, even GM Super Cruise is widely renowned as better and safer than Tesla’s current “FSD”.

gkfasdfasdf · 13 days ago
> And to add insult to injury, even GM Super Cruise is widely renowned as better and safer than Tesla’s current “FSD”.

Do you have any sources for that claim? I can attest that current iteration of FSD is very, very good, and very likely is a safer driver than I am. At least one major insurance company agrees [0]. I don't have any experience with Super Cruise though.

[0] - https://www.lemonade.com/fsd

gkfasdfasdf commented on Comma openpilot – Open source driver-assistance   comma.ai... · Posted by u/JumpCrisscross
tokyobreakfast · 18 days ago
I read at least one thread per day criticizing Tesla self-driving (which has hundreds of highly-paid engineers working on it) as unreliable vaporware, meanwhile I'm supposed to hack my car with some code off a GitHub repo?

I'll be adding this to my list of 101 creative ways to die, behind basement apartment in Venice, Italy.

gkfasdfasdf · 18 days ago
Tesla FSD is awesome. I use it almost all the time now, it feels safer than me driving. It's like having a private chauffeur. My disengagements are mostly nav related.
gkfasdfasdf commented on If you're going to vibe code, why not do it in C?   stephenramsay.net/posts/v... · Posted by u/sramsay
vbezhenar · 2 months ago
Why Rust? Haskell is gold standard here.
gkfasdfasdf · 2 months ago
Can you elaborate? What is it about Haskell that makes it better?
gkfasdfasdf commented on Strace-macOS: A clone of the strace command for macOS   github.com/Mic92/strace-m... · Posted by u/signa11
gkfasdfasdf · 3 months ago
TIL Nix flakes work on macos - is this a legit alternative to homebrew?
gkfasdfasdf commented on Bloom filters are good for search that does not scale   notpeerreviewed.com/blog/... · Posted by u/birdculture
susam · 3 months ago
I just noticed the m = 10007 value in my comment above and I thought I should clarify it. The number of bits per bloom filter does not need to be a prime number if the hash functions have uniform distribution. Murmur2 hash functions do have uniform distribution, so m was not chosen to be prime in order to reduce collisions in the Bloom filter's bit positions. The reason for using a prime value was more mundane.

This was a fairly large project, with roughly 3 million lines of C and C++ code which had numerous constants with special values defined throughout the code. So instead of using a less interesting number like 10000, I chose 10007 so that if we ever came across the value 10007 (decimal) or 0x2717 (hexadecimal) while inspecting a core dump in a debugger, we would immediately recognise it as the constant defining the number of bits per Bloom filter.

gkfasdfasdf · 3 months ago
Interesting trick about the constant value, and thank you for the detailed write up!
gkfasdfasdf commented on Notes by djb on using Fil-C   cr.yp.to/2025/fil-c.html... · Posted by u/transpute
pizlonator · 3 months ago
> Is your intention that people use the Fil-C garbage collector instead of free()? Or is it just a backstop in case of memory leak bugs?

Wow great question!

My intention is to give folks powerful options. You can choose:

- Compile your code with Fil-C while still maintaining it for Yolo-C. In that case, you'll be calling free(). Fil-C's free() behavior ensures no GC-induced leaks (more on that below) so code that does this will not have leaks in Fil-C.

- Fully adopt Fil-C and don't look back. In that case, you'll probably just lean on the GC. You can still fight GC-induced leaks by selectively free()ing stuff.

- Both of the above, with `#ifdef __FILC__` guards to select what you do. I think you will want to do that if your C program has a custom GC (this is exactly what I did with emacs - I replaced its super awesome GC with calls to my GC) or if you're doing custom arena allocations (arenas work fine in Fil-C, but you get more security benefit, and better memory usage, if you just replace the arena with relying on GC).

The reason why the GC is there is not as a backstop against memory leaks, but because it lets me support free() in a totally sound way with deterministic panic on any use-after-free. Additionally, the way that the GC works means that a program that free()s memory is immune to GC-induced memory leaks.

What is a GC-induced leak? For decades now, GC implementers like me have noticed the following phenomena:

- Someone takes a program that uses manual memory management and has no known leaks or crashes in some set of tests, and converts it to use GC. The result is a program that leaks on that set of tests! I think Boehm noticed this when evangelizing his GC. I've noticed it in manual conversions of C++ code to Java. I've heard others mention it in GC circles.

- Someone writes a program in a GC'd language. Their top perf bug is memory leaks, and they're bad. You scratch your head and wonder: wasn't the whole point of GC to avoid this?

Here's why both phenomena happen: folks have a tendency keep dangling pointers to objects that they are no longer using. Here's an evil example I once found: there's a Window god-object that gets created for every window that gets opened. And for reasons, the Window has a previousWindow pointer to the Window from which the user initiated opening the window. The previousWindow pointer is used in initialization of the Window, but never again. Nobody nulled previousWindow.

The result? A GC-induced leak!

In a malloc/free program, the call to previousWindow.destroy() (or whatever) would also delete (free()) the object, and you'd have a dangling pointer. But it's fine because nobody dereferences it. It's a correct case of dangling pointers! But in the GC'd program, the dangling program keeps previousWindow around, and then there's previousWindow.previousWindow, and previousWindow.previousWindow.previousWindow, and... you get the idea.

This is why Fil-C's answer to free() isn't to just ignore it. Fil-C strongly supports free():

- Freeing an object immediately flags the capability as being empty and free. No memory accesses will succeed on the object anymore.

- The GC does not scan any outgoing references from freed objects (and it doesn't have to because the program can't access those references). Note that there's almost a race here, except https://fil-c.org/safepoints saves us. This prevents previousWindow.previousWindow from leaking.

- For those pointers in the heap that the GC can mutate, the GC repoints the capability to the free'd singleton instead of marking the freed object. If all outstanding pointers to a freed object are repointable, then the object won't get marked, and will die. This prevents previousWindow from leaking.

> Can the GC be configured to warn or panic if something is GCed without free()?

Nope. Reason: the Fil-C runtime itself now relies on GC, and there's some functionality that only a GC can provide that has proven indispensable for porting some complex stuff (like CPython and Perl5).

It would take a lot of work to convert the Fil-C runtime to not rely on GC. It's just too darn convenient to do nasty runtime stuff (like thread management and signal handling) by leaning on the fact that the GC prevents stuff like ABA problems. And if you did make the runtime not rely on GC, then your leak detector would go haywire in a lot of interesting ports (like CPython).

But, I think someone might end up doing this exercise eventually, because if you did it, then you could just as well build a version of Fil-C that has no GC at all but relies on the memory safety of sufficiently-segregated heaps.

gkfasdfasdf · 3 months ago
Is it possible to use Fil-C as a replacement for valgrind/address sanitizer/leak sanitizer? I.e. say I have a C program that does manual memory management already. Can I then compile it with Fil-C and have it panic/assert on heap use after free, uninitialized memory read (including stack), array out of bounds read, etc?
gkfasdfasdf commented on Notes by djb on using Fil-C   cr.yp.to/2025/fil-c.html... · Posted by u/transpute
gkfasdfasdf · 3 months ago
Does Fil-C catch uninitialized memory reads?

u/gkfasdfasdf

KarmaCake day1466November 18, 2014View Original