TS transpiles to JS, and then when that JS is executed in Deno, Node.js, a Blink browser like Chrome, etc., it gets just in time compiled to native machine code instead of getting interpreted. Hope that helps.
- 1 Post
- 43 Comments
melfieto Technology@lemmy.world•Move Fast and Break Nothing | Waymo’s robotaxis are probably safer than ChatGPT.English18·10 hours agoI believe Waymo’s strategy has always been to shoot for level 5 autonomous driving and not bother with the others. Tesla not following that strategy has proven them correct. You either have a system that is safe, reliable, and fully autonomous, or you’ve got nothing. Not that Waymo has a system at this point that can work under all conditions, but their approach is definitely superior to Tesla’s if nothing else.
The JavaScript code is compiled to native and is heavily optimized, as opposed to being interpreted.
melfieto Selfhosted@lemmy.world•Using rsync for backups, because it's not shiny and newEnglish52·1 day agoHaving a synced copy elsewhere is not an adequate backup and snapshots are pretty important. I recently had RAM go bad and my most recent backups had corrupt data, but having previous snapshots saved the day.
I had to deal with large JavaScript codebases targeting IE8 back in the day and probably would’ve slapped anyone back then who suggested using JavaScript for everything. I have to say, though, that faster runtimes like v8 and TypeScript have done wonders, and TypeScript nowadays is actually one of my favorite languages.
This article sums up a Stanford study of AI and developer productivity. TL;DR - net productivity boost is a modest 15-20%, or as low as negative to 10% in complex, brownfield codebases. This tracks with my own experience as a dev.
https://www.linkedin.com/pulse/does-ai-actually-boost-developer-productivity-striking-çelebi-tcp8f
melfieto Today I Learned@lemmy.world•TIL that Toys R Us wasn't killed by competition, but by private equity companiesEnglish3·5 days agoI heard a rumor that Amazon did it to dominate the toy market
I certainly would not put it past them.
melfieto Hardware@lemmy.world•Nvidia GeForce RTX 5050 review: a necessary update, not an exciting oneEnglish1·6 days agoWhy are people still picking Nvidia anymore?
As one example, NVIDIA Optix unfortunately beats everything else for path tracing. Maybe AMD is fine for gaming, but if the goal is the most cost effective hardware for a Blender Flamenco render farm, for example, you’re stuck with NVIDIA for the moment. I’d love a better alternative, though.
AMD doesn’t even show up in this list until the end of the second page. The M3 benchmarks are encouraging, but the price for a Mac with a 80 core M3 Ultra is several grand vs $800 for a 5070 Ti with a similar score, so it isn’t exactly a compelling NVIDIA alternative at the moment.
VRAM is the main downside of NVIDIA, since larger scenes regularly exceed 8Gi and it may very well worth buying g a lower powered card to get more VRAM.
melfieto Hardware@lemmy.world•Amazon Fire TV devices expected to ditch Android for Linux in 2025English2·8 days agoNevermind, articles like this suggest it’s all going to be proprietary to give Amazon greater control, which honestly I’d be more surprised if they did make something more open: https://en.todoandroid.es/Amazon-Vega-OS%3A-Everything-you-need-to-know-about-the-Fire-OS-replacement/
melfieto Hardware@lemmy.world•Amazon Fire TV devices expected to ditch Android for Linux in 2025English2·8 days agoMaybe they’ll use and contribute to Plasma Bigscreen? Probably not, but I’d love to see Bigscreen get more love.
melfieto Hardware@lemmy.world•Asus’ new ROG Xbox Ally X set to break the bank at $999.99English10·8 days agoI can’t see paying more than a few hundred for this form factor. Love my Steam Deck, but for the times when I feel like being treated to a nicer gaming experience, that’s when it’s time to break out the real gaming rig with a 4K screen or a VR headset. With such a small screen, streaming games to the Deck on max settings via Moonlight / Sunshine doesn’t really look that much different than the same game on medium settings running on the Deck, so paying double or triple for a slightly more powerful machine with a slightly better screen doesn’t make a lot of sense for me.
melfieto Not The Onion@lemmy.world•Alex Jones sports Hitler mustache in shocking broadcast: 'It had a wild effect on women' English1·8 days agoAgreed, not sure why the mustache is the focus. For instance, Oliver Hardy is a famous comedian with an iconic toothbrush mustache. Charlie Chaplin as well. I guess if you’re going to sport a toothbrush mustache, get yourself a black derby and never, ever take it off. Pretty sure Jones doesn’t own a derby, though.
melfieto Technology@lemmy.world•Amazon is making it impossible to remove the DRM from Kindle BooksEnglish6·9 days agoIt’s a weird concept that you buy a device and then have to find an exploit that hasn’t been patched in order to do what you like with it as though you’re a hacker trying to breach someone else’s system, but it’s actually your own system you’re trying to breach.
melfieto Selfhosted@lemmy.world•Those who are hosting on bare metal: What is stopping you from using Containers or VM's? What are you self hosting?English5·10 days agoI use k3s and enjoy benefits like the following over bare metal:
- Configuration as code where my whole setup is version controlled in git
- Containers and avoiding dependency hell
- Built-in reverse proxy with the Traefik ingress controller. Combined with DNS in my OpenWRT router, all of my self hosted apps can be accessed via appname.lan (e.g., jellyfin.lan, forgejo.lan)
- Declarative network policies with Calico, mainly to make sure nothing phones home
- Managing secrets securely in git with Bitnami Sealed Secrets
- Liveness probes that automatically “turn it off and on again” when something goes wrong
These are just some of the benefits just for one server. Add more and the benefits increase.
Edit:
Sorry, I realize this post is asking why go bare metal, not why k3s and containers are great. 😬
melfieto Technology@lemmy.world•Google just broke *all* third-party YT clients, including yt-dlp; a full JS implementation is now required.English4·10 days agoPay surveillance capitalists to track you, except with a verified real identity? I’ll pass, thanks, and will stick to directly supporting creators I care about.
melfieto Technology@lemmy.world•Google just broke *all* third-party YT clients, including yt-dlp; a full JS implementation is now required.English5·10 days agoYeah, I think Netflix has like a few thousand movies and a couple thousand TV shows, and some of us here have similarly sized Jellyfin libraries. On the other hand, YouTube has billions of videos. It seems DRM would be a significantly more difficult and costly problem for YouTube.
melfieto Technology@lemmy.world•Meta’s Ray-Ban Display Glasses And The New GlassholesEnglish132·11 days agoWorst part with Meta Quest is it seems you have to sign up as a dev and give them a credit card in order to sideload (a.k.a., install stuff on the device you purchased). So, you can shell out hundreds for one of their devices and the device and all your data are belong to Meta. I assume it’s the same deal with these glasses. Zuck off, Zuck.🖕
melfieto Technology@lemmy.world•Meta’s Ray-Ban Display Glasses And The New GlassholesEnglish202·12 days agoAgreed, I’d totally buy a Meta Quest as well if they didn’t zuck up all their devices with spyware that can’t be removed.
melfieto Technology@lemmy.world•Meta’s Mark Zuckerberg unveils new smart glasses powered by AIEnglish5·12 days agoJust when you thought Ring cameras raised grave privacy concerns for the public, introducing face-mounted cameras and microphones streaming straight into Zuck’s data centers. Good thing it’s shit and probably won’t sell that well, I guess.
Don’t understand the downvotes. This is the type of lesson people have learned from losing data and no sense in learning it the hard way yourself.