





They did it once by mixing meters and feets, and crashed the Mars lander.
Edit: looked it up, wasnβt actually meters vs feet, but newton-seconds vs some American eagles per gun unit for force
Itβs guns per eagle, get it right. What would eagles per gun even be?
A gun that shoots eagles, obviously
We donβt shoot eagles in America, we shoot turkeys. Just as Benjamin Franklin intended.
Step clap step step clap
it happened again with the Intuitive Machines lander that landed on the moon last week
The Intuitive Machines lander issue was that no one disarmed the safety switch on the laser guidance system. (No, really!) Luckily NASA had a backup system installed that ended up working better anyway.
Pretty much the hardware version of && false
that ended up working better anyway
Not sure if it ended up working better, as it landed with nonzero horizontal velocity. Though I suppose weβll never know how well the original system would have performedβ¦
Pound-seconds, I believe. Good olβ LM giving imperial numbers to NASA.
deleted by creator
Hopefully, the transition to metric is soon and I can stop reading this same joke every week.
Technically the US measurement system is metric since the Mendenhall Order of 1893 reestablished all customary units as conversion factors of metric units. In 1933 the ASA redefined the inch to be exactly 25.4mm, following the lead of the British Standards Institution in 1930 (precision was increasingly important for manufacturing, and the previous value of 25.40005mm had become impractical). The international yard and pound were officially adopted by the US National Bereau of Standards (now NIST) in 1959, the Metric Conversion Act was passed in 1975, and finally EO 12770 (1991) required all agencies of the executive branch to transition to metric units.
So, from one point of view weβve been transitioning to metric since 1893 and itβs still not done. From another, the inch is just a metric unit as its length is officially defined in millimeters (all customary units are now based on SI units), therefore the conversion is complete.
itβs an orbiter not a lander
It was intended to be an orbiter.
Ended up a missile
Peger the term high velocity lander
rods from god
If a TODO passes code review, more than one person fucked up.
At my first job after university, we did releases every Friday evening. From 3-5pm, all you would see in the Slack channel was a flurry of everyone committing straight to master (with a bunch of merge conflict commits between). Oh and then weβd release. Fun times.
A free for all, late Friday deployment is bafflingβ¦ Weβve got a strict window of Tuesday-Thursday for releases (unless itβs a critical issue), and a 2-3 day merge freeze to help mitigate unexpected changes.
Weβve got a relatively small team with LOTS of moving parts, so minimizing deployment issues is always top of mind.
I literally know multi billion dollar B2C startups doing the same. Itβs got so toxic that the management regularly fires people and to fill their spots, they offer obscene amounts of money just for starter positions.
Whereβs this? I feel like I can milk the company for a little while lol.
Eh, then you just get those idiots who avoid using TODO: because it makes the code review βharderβ.
// This is a broken example.
// Note: remove X before doing Y
Thatβs no longer a technical process issue but more of a teamcoach/HR kind of issue then. You should be able to assume good intentions from colleagues, imho.
You guys do code reviews?
I mean, just look at how many patches in Android are marked DO NOT MERGE, DO NOT MERGE ANYWHERE, etc, but are in mainline
Especially the devops team. That keyword should be caught in a precommit hook
We use a CI pipeline check which prevents merges to master if the code contains a TODO. A precommit hook only works if the developer has the hooks configured.
See this is why the devops team should do it and not me
I feel like modern compilers would turn their nose up at that shit. βDead code? Ewww! No way Iβm letting that into my syntax tree!β
A lot of IDEs would probably throw a warning about unreachable code.
Golang wonβt even compile with dead code. Unfortunately thatβs too strict, you just end up commenting out the whole block instead. At least the commented out code is obvious in review, and some automated checks catch it if you have them.
commenting out the whole block
var foo is declared but not used is such a pain in my asshole when doing this.
implying that any developer actually reads warnings
most of my (rust) projects have zero (or maybe 1-2) warnings, unless Iβm in the middle of working on a feature
First thing I do on my projects is enable warnings as errors and increase my warning levels when reasonable.
Unfortunately, the same canβt be said on the projects I work on at work. Drives me crazy that we get likes 300+ warnings whenever we run the app and that we canβt change it because "theyβre just warnings*.
π€’ Good lord.
Though, I say that as I was basically forced to accept code that was using something marked deprecated because it was unreasonable to refactoring the code in that project. And I know weβre never going to change it unless it stops working. π At least I marked it as an issue on the review.
Oh yeah, Iβm genuinely about to hand-in my resignation as soon as I find another job over this kind of shit. I keep being told that the business is really trying to clean-up its act when it comes to coding practices, but they keep putting some of the most incompetent people Iβve ever worked with in charge of shit (because they do promotions based on years of experience instead of actual actionable experience). Itβs awful.
Thatβs when you add #![deny(bad_code)], making sure that nobody notices.
Itβs not that we want to ignore warnings. Itβs just that most warnings take time to fix.
Thereβs only so many hours in a day. And we have to accept technical debt in order to deliver, and then pay it off later.
My job does it well by doing a βspringβ and βsummerβ cleaning where we can turn out 100+ warnings into the single digits. Then busy season happens again and weβre back to 200+.
Itβs not that we want to ignore warnings.
Speak for yourself, I promise you the team I work on actively ignores warnings and doesnβt even want to solve them as they pop-up. Being told you canβt compare doubles (because of precision loss) and ignoring it is on the developer and isnβt even that hard to fix. Most of our warnings come from shit like that.
Like, I get it. Itβs probably not worth it to hunt down every βunused variableβ warning (especially in an API where we used to have a variable for it and we donβt use it anymore and we donβt want to break the existing API so we just leave it there), but thereβs things that are just trivial to fix when youβre working on code thatβs right next to it.
Drives me crazy that we get likes 300+ warnings whenever we run the app and that we canβt change it because "theyβre just warnings*.
Laughs in Xamarin. Only 300?
Well, it was a year ago, is Xamarin now finally changed to the new thing (what was itβs name)?
Maui!
Right, thanks. The KDE thing.
Guess what? Flight Software usually uses ancient proprietary compilers for specialized hardware running an RTOS, rip π’
Woah woah WOAH WOAH.
So youβre saying software for the Artemis landers arenβt being built with the latest TypeScript compiler and running on a canary version of v8?!
Lol
SpaceX actually did use some kind of TS/JS chrome browser thing for their docking controls lolβ¦
At my workplace, we have a lint rule that reports an error if @nocommit is anywhere in the file, plus a commit hook that blocks all commits with @nocommit anywhere in them. It works well and has saved me a few times.
Works pretty well, except the lint rule and its associated tests have to do something like "@no"+"commit" to avoid triggering it,
I did the same thing with βDO NOT MERGEβ back in the day. Saved some people who didnβt even know about the check.
In a lot of modern work flows this is incompatible with the development pattern.
For example, at my job we have to roll a test release through CI that we then have to deploy to a test kubernetes cluster. You canβt even do that if the build is failing because of linting issues.
The test release shouldnβt have anything marked with @nocommit thoughβ¦ The idea is that you use it to mark code that is only temporary local debugging code that should never be committed.
Are you committing to master? I donβt see any reason why you shouldnβt commit your debugging code to your own branch. Obviously clean it up before merging
My workplace uses feature flags rather than feature branches, and a continuous deployment cycle, so we only have one branch.
Dude looks like Hank and Dale had a baby.
Dank Grill
He does, nothing but propain conspiracies all day long, and a too hot wife
Other dude looks like the angry teacher from Daria
Isnβt this pretty much what happened with the LIDAR on the most recent commercial moon lander?
Yes but it was a physical switch
Final flight checks:
βItβs off, so I turn it on and β¦ WALK AWAY!β
B-b-but it clearly says right there in the todo, thatβs good enough, r-r-right?!
I mean, my IDE highlights all the TODOβs in yellow. I donβt know how we could possibly make it any less error prone.
That requires someone to look at that section in the IDE. If it doesnβt block the merge, it doesnβt do shit.
Thank you for explaining the joke.
Thank you for explaining that it was a joke.
Yeah, gVim is pretty great, isnβt it? :-P
Personally I prefer Neovide
Oh I should have added a /s I guess - gVim is really old, and while I literally do use it (DAILY) and also legit DO think that it is great, I am not really advocating for it. I have heard great things about Sublime, but even that is dated and apparently neovim is much more highly regarded. Anyway, thanks for pointing that out!:-)
Oh, no, I totally get it. Vim, and its modernized fork Neovim, are phenomenal editors, and they still hold up today β I was born post-9/11 and I still use Neovim for all of text editing needs, from development work to editing config files. Itβs just better. That said, I do still like 21st century features like LSP linting and auto complete, drop shadows for floating windows, emoji/nerdfonts, and font ligature support, which Neovim and its frontend Neovide provide.
Neovide is a graphical frontend for Neovim just as gVim is a graphical frontend for Vim. I like to think of it as a terminal emulator that can only run Neovim (although you can still :term from within Neovim to get a shell) and communicates with it via RPC, which allows it to have some fun Neovim-specific extensions like allowing sub-character scrolling, animating the cursor as it jumps around the screen, having window opacity, fullscreen etc. configurable via Vim commands and therefore keybinds, and, of course, all the modern terminal emulation amenities like truecolor, full Unicode support, and ligature support (Iβm sorry I just really like Fira Code).
If you havenβt already tried Neovim, and there arenβt any Vim-9.0-specific features you depend on, I highly recommend giving it a shot. Itβs 100% backwards compatible with Vim 8 and earlier (after you point it at your existing vim config) and it adds support for Lua scripting, a built-in LSP client that all plugins can access so you donβt have to rely on CoC for everything (although you can continue to use CoC if you so desire), and community support in the form of Neovim-only plugins such as the fantastic telescope.nvim. It really does feel like Vim turned into a full fledged IDE, without sacrificing anything that makes it Vim β including its performance (external memory-hogging LSP servers notwithstanding).
I finally moved to neovim some time ago. I usually find frontends and plugins to be more trouble than theyβre worth, but I should probably have a look at that. If it ever ends up in Debian, that is.
Why wait? Itβs available from the project page as an AppImage, and if youβd rather build from source, itβs a Rust app β just clone the repo and cargo install --path . (or `cargo install --git https://github.com/neovide/neovide if youβd rather skip that step)
As for GUI frontends being a hassle, though, I hate to say I kind of agree with you, at least at first β I quite like Neovide now that Iβve gotten used to it (and bothered to configure it to my liking), but Konsole has more sensible defaults for sure. Iβm also in the habit of :q any time I need to go back to a terminal to compile something and it is incredibly frustrating having my terminal emulator close and my entire editing session disappear on me whenever muscle memory takes over.
Thanks so much for the info - Iβll save it and check it out, it does look neat!:-)
If anyone is interested there is a wonderful walk about one of the apollo flight computers
Die someone already mention the Apollo 14 computer hack .
This got a lot of compression over less than a couple of hours!
They still have those control desks in modern missions?
For NASA, similar desk layout, but it does look more modernized.
https://images-assets.nasa.gov/image/KSC-20181107-PH_BOE01_0002/KSC-20181107-PH_BOE01_0002~large.jpg
On the one hand: kind of sad since this isnβt too far removed from some workplaces. The hardware and furniture could be sourced from any number of places.
On the other: hot damn. We can get the same kit NASA uses at home. Welcome to the future.
Thatβs what i meant, all software and plugable devices now. Those desks were prohibitively expensive.
git blame
Naomi Nagata
Anyone know the artist? Saw another one by them a couple days ago about brute force protection.
deleted by creator
Ah, the Season 4 finale of For All Mankind.
Itβs ok weβll QA in prod
deleted by creator