jayrhacker
@jayrhacker@kbin.social
- Comment on Why can't code be uncompiled? 10 months ago:
if you compiled some code and then uncompiled it you would get the most efficient version of it ... ?
Sorta, an optimizing compiler will always trim dead code which isn't needed, but it will also do things that are more efficient but make the code harder to understand like unrolling loops. e.g. you might have some code that says "for numbers 1-100 call some function" the compiler can look at this and say "let's just go ahead and insert 100 calls to that function with the specific number" so instead of a small loop you'll see a big block of function calls almost the same.
Other optimizations will similarly obfuscate the original programmers intent, and thinks like assertions are meant to be optimized out in production code so those won't appear in the de-compiled version of the sources.
- Comment on What's the point of a reverse proxy and does cloudflare give all the benefits of one? 10 months ago:
Historically, reverse proxies were invented to manage a large number of slow connections to application servers which were relatively resource intensive. If your application requires N bytes of memory per transaction then the time between the request coming in and the response going out could pin those bytes in memory, as the web server can't move ahead to the next request until the client confirms it got the whole page.
A reverse proxy can spool in requests from slow clients, when they are complete, then hand them off to the app servers on the backend, the response is generated and sent to the reverse proxy, which can slowly spool the response data out while the app server moves onto the next request.
- Comment on Is the saying, "The internet's written in ink, not pencil" accurate? 11 months ago:
Web sites and pages come and go, but the search engine indices are forever. The Internet Archive, for example, uses data from a search engine crawler to populate their archive of the internet (until Alexa was shut down by Amazon, they do their own crawling now). Google likely has a lot of old internet data in archives as well.
- Comment on What is the best way to safely and completely erase all data from old laptops? 11 months ago:
True, but if all the data was encrypted, then the drive formatted it would require physically dismantling an HDD in a clean room to recover data, for SSDs the wear leveling makes it hard to fully erase anything, but again, after encrypting and formatting the cost of the tools needed to get the data back are well above the potential benefit (i.e. there are easier ways to get people's personal info)
- Comment on checkmate 11 months ago:
Proof of the Parrotnormal perhaps…
- Comment on [deleted] 11 months ago:
Now, in this case, you’ve run into slang usage that only loosely adheres to the dictionary usage.
Honestly, I think this usage is very much the dictionary sense of "appealing in a pretty or endearing way". "cute" covers a range of attractiveness or appeal in a way that applies across the spectrum of more specific compliments. It's a safe complement to use, no-one is likely to be offended where "sexy" or "hot" is more loaded and explicit.
It's also a more implied/less explicit way to say "sexy" (e.g. that's a cute guy) and can also apply to non-sexualized things like babies and cats so again, it's a safer choice.
- Comment on Sonic Shower Thought: Someone has probably used holodeck technology to feel like they're pooping at home. 11 months ago:
Man, cleaning out the bio filters was bad enough with all the porn…
- Comment on Microsoft preparing San Francisco offices for OpenAI employees, even as chaos lingers 11 months ago:
Board Yeeted the CEO, most of the staff protested and threatened to quit, MSFT is looking to hire them all away in what can only be described as an unprecedented act of corporate piracy on the AI seas…
- Comment on YSK that the free and not-for-profit meditation app Medito had a huge update and is even better now 11 months ago:
The only medication app you need is the built in timer.
- Comment on Assuming a button that, every time you push it, your intelligence goes up. The obvious and sane thing to do is to push the button all day. Yes? No? Maybe? Is there something that I'm missing here? 11 months ago:
Once you're in the top 0.1% it's probably safe to go outside and just lord your intelligence over everyone you meet.
- Comment on Apple calls Android a 'massive tracking device' 1 year ago:
If those are you idea of clean interfaces… wow.
- Comment on As some carmakers run from Apple CarPlay, Porsche embraces it 1 year ago:
It is, both use a virtual display device over USB or Wi-Fi and send touch events from the screen to the phone.
It's basically a Display + HID interface from the car to the phone.
That said, the software on the car side should be updatable over time as well, to fix bugs and add new features.
- Comment on Shocking 1 year ago:
Purina? I hope they test on animals!
- Comment on [deleted] 1 year ago:
claiming that tofu or soy sauce are some how [a] big food conspiracy
Is also an anti-asian racist dogwhistle
- Comment on No love lost: AppLovin helpfully releases tool to switch from Unity to Godot or Unreal 1 year ago:
Pretty sure Godot has it's own scripting language (hence the prompt converting all the C#/JS code from Unity).
Unreal is C++ but it's also another commercial proprietary engine, so they could rug-pull in the same way.
- Comment on The Gruesome Story of How Neuralink’s Monkeys Actually Died 1 year ago:
“Science cannot move forward without heaps.”
- Comment on How many of y'all's local PDs are running drugs? 1 year ago:
Let's not let a few good apples ruin the reputation of the Police: ACAB
- Comment on How the IT guys see the users 1 year ago:
Heh, now do Software Engineers and IT guys…
- Comment on I just deleted my reddit account, and it's long overdue. 1 year ago:
Not yet!
- Comment on Java 1 year ago:
Java is, of course, Turing Complete™️ but when you have to hide all the guns and knives in jdk.internal.misc.Unsafe something is clearly wrong.
- Comment on Java 1 year ago:
It's the same in the the standard c library, so Java is being consistent with a real programming language…
- Comment on Java 1 year ago:
It's the same in the the standard c library, so Java is being consistent with a real programming language…