Sidebar
Programming Humor
Always wanted an AI assistant that can write smut inside IDE while I write code
I dunno... just software engineering things I guess.
115 files changed and almost 3k lines added... sure, I'll have this reviewed by tomorrow for ya 🙄
A few months ago I saw a funny story about a guy who added generics/templates to JavaScript (or maybe TypeScript?) by using runic characters that look like angle brackets to enclose the template parameter, then using a preprocessor to convert the runes, etc. to actual, legal types before compilation. I can't seem to find it anywhere; hoping someone knows what I'm talking about.
> Want to make a branch ? > `git checkout` > Want to make switch branches ? > `git checkout` > Want to get a _specific_ file version ? > `git checkout` > Want to get remove changes to one file ? > Believe it or not, also > `git checkout`
Is fenestration when you find out if something is windows compatible? And [defenestration](https://allthatsinteresting.com/defenestration) when you find out it isn’t?
Edit: so im done with my preliminary research into this codebase. Our corporate SSO provider is changing, so I've been updating our tools to take advantage of the new badges. I found this in a web application that I started on today. The original developer is long gone, and according to our PaaS, this app has been running for just under 3 years without an update. There is no CI/CD, blue-green deployment, or back ups. The database is an H2 db with ddl-auto set to create-drop on startup, meaning that this database will delete itself if the app is restaged but thanks to this guys code, it won't populate itself. 🤷
Apparently VMWare knows what's up
Via [@mountain_ghosts](https://twitter.com/mountain_ghosts/status/1245754158910705668) via [The Register](https://www.theregister.com/2020/04/02/boeing_787_power_cycle_51_days_stale_data/)
Via [Toggl](https://toggl.com/blog/save-princess-8-programming-languages)
>Playing a game >Visual Studio Code
From the Apollo 11 github repo: https://github.com/chrislgarry/Apollo-11/blob/b56b8c3d03e810a6ceb69e1c0874d4c89d2c32f6/Luminary099/LUNAR_LANDING_GUIDANCE_EQUATIONS.agc#L666C1-L667C1
Via DesignerNews: [Getting help from an engineer](https://www.designernews.co/stories/91849-getting-help-from-an-engineer)
Original tweet: https://twitter.com/DesignUXUI/status/576432203560685568
>A collection listing Achievements that were rejected when creating the GitHub Profile Achievements feature. >This repository attempts to list them all.
``` // We play this game because we want this to be callable even from places that // don't have access to CallFrame* or the VM, and we only allocate so little // memory here that it's not necessary to trigger a GC - just accounting what // we have done is good enough. The sort of bizarre exception to the "allocating // little memory" is when we transfer a backing buffer into the C heap; this // will temporarily get counted towards heap footprint (incorrectly, in the case // of adopting an oversize typed array) but we don't GC here anyway. That's // almost certainly fine. The worst case is if you created a ton of fast typed // arrays, and did nothing but caused all of them to slow down and waste memory. // In that case, your memory footprint will double before the GC realizes what's // up. But if you do *anything* to trigger a GC watermark check, it will know // that you *had* done those allocations and it will GC appropriately. ``` Relevant code on line [#269](https://github.com/WebKit/WebKit/blob/ab10a90523e06df54bbb8a98e1aed913f79d0af9/Source/JavaScriptCore/runtime/JSArrayBufferView.cpp#L269)
Still not the best thing to see when working on an open source project.
Still not the best thing to see when working on an open source project.
If only string maps were known to human kind :)