• 0 Posts
  • 72 Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2023

help-circle
  • Your perspective might be why I enjoy microcontroller work. I love getting to know everything about the system, reading hardware documentation, and getting the low level parts to work in a highly deterministic way.

    I use ATTiny85 cores when a ESP32 costs almost the same, but the 85 only has 256 bytes of SRAM and five I/O pins so I can track it all and ensure it will do exactly what I want.








  • Yeah, those durn data size fields. At first you’re like “why would you do this? It’s specified in the spec, right?” Then you start consuming the data stream and go “oh, yeah need this”.

    I was doing some driver work for a real time location tracking board. The serial stream protocol was very well documented and designed. Plenty of byte length count fields, though.


  • This approach is so much nicer than the threading/queuing approaches we used to have. One async showed up, a ton of the work go pulled out of protocol handing and distributed subsystem sync efforts.

    Long lived the multi threaded C++ server buffer! Today, async beging to rule the roost.



  • azimir@lemmy.mltoMemes@lemmy.mlPutting the AI in 'reading rAInbow'
    link
    fedilink
    arrow-up
    70
    arrow-down
    4
    ·
    1 month ago

    I’ve been accused of being a bot in online games due to my robust vocabulary, resistance to abbreviation and slang, as well as pedantic punctuation use. It has been happening for decades.

    Note: rarely have I been accused of a being a bot for my skill at gameplay. We all have our strengths and weaknesses.

    Now, if you wish to truly delve the depths of linguistic proclivities, one should peruse the works of Terry Pratchett, especially the Discworld novels. Any and all of his works are wonderful prose and deep storytelling.



  • With about 10% overhead on the travel time, a pretty mainline high speed rail line would take about 15 hours to go from DC to San Fransisco. Each train (assuming Japanese trains like Amtrak is buying for Texas) can carry about 1323 seats, plus standing room. They can run 16 trains per line per hour. So, that’s 21,168 people per hour passing on the rail.

    Assuming the 15 hour lead time (and no loading time of note because Sergents are really good at yelling people onto trains), within 24 hours, the Pentagon could move about 211,680 soldiers coast to cost from time t=0 to t=24 hours. That’s coast to coast, mind. If you do it from say the middle of the country to SF, it’s only a 4.7 hour trip, so now you can get 19.3 hours of soldiers moving (and arrived) around 408,542 people delivered by t=24hrs. Then, it’s another 508,032 every 24 hours after that.

    Now, while it’s not particularly feasible to have commercially driving HSR across the empty center of the US, the military has a whole different set of priorities, and damn, that’s a lot of equipment & people that could be moved really fast. Yes, planes are faster, but there’s no way they’ll keep up with HSR once the train pipeline fills. This is a latency vs carrying throughput load equation and trains will win it big time. Always have, always will.

    The US way way way behind on building infrastructure. Our infrastructure deficit is trillions of dollars, and our transit modality is decades behind Europe, China, India, japan, and even starting to slip behind sections of Africa. We’re failing as a developed nation because we refuse to invest in modern transit (and many other issues like healthcare, usurious education costs, and losing our democracy to dictator thinking). We’re flailing hard right now. HSR should be a massive investment for our country, along with regional/city rail (trams, metros, heavy regional), but since our population mostly has never ever seen a modern city like Paris, London, Beijing, Tokyo, or Rome so they have no idea what it can even be like to live somewhere well designed for people instead for for cars.

    Though, watching the military test the rails by moving a half million people in 24 hours would be hilarious for those of us not trying to coordinate it.


  • I use Google Docs for anything simple (1-3 pages), and if it has no citations or more than 2 figures. After that I upgrade to LaTeX.

    I had a conference demand a docx file for the paper submission. I figured “fine it can’t be that bad to use word for a simple 8 page publication” but boy was I wrong! It was torture trying to get it formatted and arranged properly. Every part of the word tool is weird and clumsy.

    Oh, and they’ve completely broken the original GUI WYSIWYG (what you see is what you get) premise of a GUI style editor. The PDF it creates often doesn’t look anything like what the document looks like on the screen.

    I dropped a note on the conference organizers about the docx requirement. I don’t have that many hours to fuck around with bad tools so I can attend your venue. I’ll just go to a conference that doesn’t torture us to participate.