Michal Hobot

327 posts

Michal Hobot banner
Michal Hobot

Michal Hobot

@ohm

Product Manager and System architect EV fan. More info on LinkedIn.

Poland Katılım Nisan 2007
51 Takip Edilen181 Takipçiler
Michal Hobot
Michal Hobot@ohm·
@davepl1968 Btw, I could get rid of next_hyphen_pos and use hyphen_pos[k] instead, but I wanted to avoid dereferencing memory in each iteration.
English
0
0
0
36
Michal Hobot
Michal Hobot@ohm·
@davepl1968 - I'd change the if (j == 8 || ...) to: if (j == next_hyphen_pos) { out[j++] = '-'; next_hyphen_pos = hyphen_pos[++k]; } That way there would be just one comparison in each iteration instead of four. (2/2)
English
1
0
0
40
Dave W Plummer
Dave W Plummer@davepl1968·
Back in 1994, I removed printf() from Windows COM. Here's the story of why! Share if you enjoy! Thx!
English
23
60
722
36.9K
Michal Hobot
Michal Hobot@ohm·
@davepl1968 I stand corrected. Still, original thesis “Dave renamed ls to dir” is nonsensical
English
0
0
1
31
AutisticJusticeWarrior
AutisticJusticeWarrior@AutisticJW·
@davepl1968 I've always wondered who I should direct all that pent up anger, aggression, and outrage.. Glad you finally identified yourself.. is there a good reason you renamed ls .. dir?
English
1
0
0
372
Dave W Plummer
Dave W Plummer@davepl1968·
There's old, and then there's "I worked on MS-DOS" old. It's the last time I got paid to write in assembly. I was fortunate to come in towards the last versions of MS-DOS. But I still expect it'll give me some serious riz down at the old tech folk's home in a few years ;-) Everything that I knew of in MS-DOS was written in hand-coded x86 assembler, which I had never coded in (I was a 6502/68000/PDP guy). I learned fast enough, but came to really hate segments! We used MASM 2 as our assembler, even though I think the product had reached v5 by then. At some point, when your code is the de facto standard, you can't just start using a new assembler... that would generate different code, a backward compatibility nightmare. I used EDIT.COM, the simple thing built into MS-DOS, as my code editor, nothing fancy. White on blue. I forget now what the debugger was, probably CodeView? You'll notice I religiously say "MS-DOS" and not just "DOS". There was literally a jar you had to deposit money in if you were caught just saying "DOS". Old habits die hard. There were some legendary brains on that team, and especially when you're a fresh college hire, I got to imprint on some of the best. But if there's one thing Bill Gates taught me, it was never to name-drop.
Dave W Plummer tweet media
English
74
37
781
19.3K
Michal Hobot
Michal Hobot@ohm·
@davepl1968 Let’s face it: that whole open()/read()/seek() concept was meant for TAPE drives. For the disk drives, memory mapping is much more natural and for SSD it should be a no-brainer in any modern OS
English
0
0
1
181
Dave W Plummer
Dave W Plummer@davepl1968·
Time to learn "memory-mapped files"! I'm processing 15,000 video game frames a second, doing inference to generate the next move, and storing them all in an array. I WAS using an in-memory vector, but I was pushing the limits of the 512GB in this system! So I switched over to memory mapped files (I'm using nmap on Linux, but it's the same as memory-mapped files on Windows). Memory-mapped files are one of those OS tricks that feel like cheating — in a good way. Instead of doing this: read(fd, buffer, 4096); process(buffer); You do this: ptr = mmap(file); process(ptr); That’s it. The file just appears in your address space. Your file is now in memory. Instantly. No explicit reads. No manual buffering. No memcpy gymnastics. Why it’s cool: • The OS handles paging automatically • You get zero-copy I/O (the page cache is your buffer) • Random access becomes trivial • Huge files become easy to work with • It enables super fast IPC like mine When you touch a byte, the CPU faults in just that page. If you never touch part of the file, it never loads. Demand paging does the heavy lifting. Even better: two processes can map the same file and share memory without explicit shared memory APIs. It’s basically “files as RAM.” Conceptually, this idea goes back to Multics, BSD mmap(), Mach, and eventually into Windows NT’s section objects. We used it in the Windows Shell to replace the shared segments in Win95. It allowed us to access the communal data without exposing one process's memory to another. Once you internalize it, normal file I/O starts to feel… primitive. Memory-mapped files are one of those “you’re thinking about the machine correctly now” moments.
Dave W Plummer tweet media
English
36
47
488
22.3K
Michal Hobot
Michal Hobot@ohm·
@GeorgeE34743660 @davepl1968 - Keyboard (din) - 2x serial (one to be used by a serial mouse) - parallel - VGA - sound card with game port - faxmodem, probably with voicemail option
English
0
0
2
19
George Ellis
George Ellis@GeorgeE34743660·
@davepl1968 com lpt monitor miniscsi? phone keyboard scsi? IIRC SCSI was 50 pins.
Filipino
1
0
0
143
Dave W Plummer
Dave W Plummer@davepl1968·
When trying to identify which port is which, just remember that, like most serial killers, most serial ports are male.
Dave W Plummer tweet media
English
41
15
348
12K
Michal Hobot
Michal Hobot@ohm·
@docphilgewd @norbert5150 @RetroMoviesDB Absolutely not. That was the time you could buy land for almost nothing, including the most attractive places close to the city centers and the most beautiful tourist places at the sea shore, lakes and mountains. In the next 15 years you’d build generational wealth
English
0
0
0
19
Jeff Geerling
Jeff Geerling@geerlingguy·
One thing holding me back from adopting a mechanical keyboard was the lack of Touch ID. I fixed that problem and documented the whole process in this video: youtube.com/watch?v=tzB6m2… But now, I wonder: why doesn't Apple sell an external Touch ID sensor?
YouTube video
YouTube
English
20
15
338
49.2K
Michal Hobot
Michal Hobot@ohm·
@davepl1968 There was always a twin chip setup in Teslas, for refundancy. And I don’t remember edge connector. Is that AI5 board some dev kit?
English
1
0
0
175
Michal Hobot
Michal Hobot@ohm·
Uproszczona, ale w wielu miejscach trafna diagnoza. Autor przeskakuje nad drugą połową krakowskiego IT, tą nie należącą do korporacji. Pomija też - żeby szybciej dobiec do założonej tezy - kwestię braku rodzimego kapitału, zwalczanego przez państwo (Kluska) i media (Filipiak). 4-
Tomasz Borejza@TomaszBorejza

Gazety ogłosiły, że Kraków zmienia się w Łódź lat 90. Powodem są grupowe zwolnienia w zagranicznych korporacjach, które od roku nabierają tempa. Prasa raczej przesadza, ale rzecz jest ciekawa i ważna, bo pokazuje GRANICE polskiego modelu rozwoju. Zapraszam na 🧵👇.

Polski
0
0
0
201
Michal Hobot
Michal Hobot@ohm·
@TeslaBoomerMama ID.4, Enyaq and Q4 e-tron should be presented as one, getting over 95k sales in total. All these are built in the same factory, on the same line, with the same batteries, motors, software etc. Big success, taking into account how much better Model Y is
English
0
0
0
94
AleXandra Merz 🇺🇲
AleXandra Merz 🇺🇲@TeslaBoomerMama·
Top selling EVs in Europe first half of 2025. Who would have thought this, when reading MSM?
AleXandra Merz 🇺🇲 tweet media
English
219
346
2.7K
297.6K
Michal Hobot
Michal Hobot@ohm·
@EdLudlow Em dashes reveal true author of that post 🤖 Neither Starlink requires xAI nor vice versa. Low latency inference is either mission-critical and then it needs local computing like in FSD or it can do with any internet provider
English
0
0
0
72
Ed Ludlow
Ed Ludlow@EdLudlow·
xAI, SpaceX and Tesla Here’s how its been explained to me by investors and insiders: Musk’s companies are moving toward a vertically integrated AI infrastructure model, with clear strategic overlap. xAI needs global distribution and low-latency inference at scale; Starlink, via SpaceX, offers exactly that. So SpaceX funding xAI is less about external investment and more about securing a core customer for its satellite network. As space-based data infrastructure becomes more viable—through players like Relativity and StarCloud—early alignment between compute, distribution, and application becomes a competitive edge. The broader architecture combines distribution (Starlink), compute (Tesla/NVIDIA), models (xAI), and interface (X/Grok) into a loosely connected but purpose-driven stack. Importantly, this isn’t being executed through a single entity. Each business—SpaceX, Tesla, xAI, and X—remains structurally separate, partly for regulatory reasons. Combining them would trigger antitrust scrutiny and create compliance burdens across multiple jurisdictions. By keeping the companies distinct (X/XAI under X Holdings Corp.),there’s more flexibility for partnerships, spin-outs, or fundraising tailored to each domain. It’s a modular approach to control and capital—allowing for strategic collaboration without the rigidity or risk of full consolidation.
English
35
67
588
90.3K
Sawyer Merritt
Sawyer Merritt@SawyerMerritt·
Apple: Introducing, transparent icons. Tesla: Introducing, Robotaxis.
Sawyer Merritt tweet mediaSawyer Merritt tweet media
English
544
721
11.6K
873.8K
Be.Curious! 🤔🇨🇦
Be.Curious! 🤔🇨🇦@GrahamKingma·
@alex_avoigt I’m sure there were a very large percentage of people who rode horses who told everybody that these new-fangled cars were a terrible idea and very unsafe
English
4
0
9
682
Alex
Alex@alex_avoigt·
Be prepared that after the launch of Tesla Robotaxis, the media will try everything to spread fear, uncertainty and doubt and report everything between unintentional misinformation and deliberate lies, but that doesn't change the fact that FSD will prevent accidents, saves many lifes, increase productivity and quality of life and change the world of transport for good. $tsla
English
18
28
240
20.9K
Przemek Gerschmann
Przemek Gerschmann@PGerschmann·
Mam pytanie do odważnych: wymień jedną rzecz, co do której masz rację, a reszta świata się myli
Przemek Gerschmann tweet media
Polski
1.4K
59
3.4K
1.7M