Hacker Newsnew | past | comments | ask | show | jobs | submit | ea016's commentslogin

Well, as Jeff Atwood famously said [0], "any application that can be written in JavaScript, will eventually be written in JavaScript". I guess that applies to embedded systems too

[0] https://en.wikipedia.org/wiki/Jeff_Atwood


Well, wasn't Fabrice Bellard the guy who built a virtual machine with JS so that you could run Linux within the browser?

https://bellard.org/jslinux/vm.html?cpu=riscv64&url=fedora33...


Fabrice is an absolute legend. Most people would be content with just making QEMU, but this guy makes TinyC and FFmpeg and QuickJS and MicroQuickJS and a bunch of other huge projects.

I am envious that I will never anywhere near his level of productivity.


Not to detract from his status as a legend, but I think the kind of person that singlehandedly makes one of these projects is exactly the kind of person that would make the others.

I forgot about FFmpeg (thanks for the reminder), but my first thought was "yup that makes perfect sense".


Sure, they're not unrelated or anything, but at the same time, they're all really important, huge projects.

Not just programming either; he invented a mathematical technique for calculating the nth hex digit of pi

I know it's not true, but it would be funny if Bellard had access to AI for 15 years (time-traveler, independent invention, classified researcher) and that was the cause of his superhuman producitvity.

AI will let 10,000 Bellards bloom - or more.


And thanks to that we can run Linux in a PDF as well..

And FFMPEG, the standard codec suite for Unix today. And Qemu, the core of KVM. Plus TCC, a great small compiler compared to C/Clang altough cparser has better C99 coverage. Oh, and some DVB transmitter reusing the MHZ radiation from a computer screen by tweaking the Vidtune values from X. It's similar to what Tempest for Eliza does.

Please don't use js in medical devices.

attempt at humor:Okay so, would you rather your beloved great aunt's pacemaker fail because the software in it was written in C, and there's a use-after-free memory error, or because the software in it was written in JavaScript, and because someone used `==` instead of `===` a boolean that should have been `false` is `true`?


Sounds a bit like rule 35 of the Internet.

We're on the enterprise plan, so far we're seeing Dashboard degradation and Turnstile (their captcha service) down. But all proxying/CDN and other services seem to work well.


No relations to them, but I've started using Happy[0]'s iOS app to start and continue Claude Code sessions on my iPhone. It allows me to run sessions on a custom environment, like a machine with a GPU to train models

[0] https://github.com/slopus/happy/


This seems to be the only solution still if using bedrock or direct API access instead of Pro / Max plan, the Claude Code for Web doesn't seem to let you use it that way.


You can log in to your CC instance however you like, including via Pro/Max. Happy just wraps it and provides remote access with a much better UI than using a phone-based terminal app.


Yes, that's precisely what I meant! I was talking with regards to the parent article about Claude Code on the Web via Anthropic.


Are you people just lighting money on fire? What could you possibly get done via a phone that is meaningful.


2 interesting facts about it:

- it was completed ahead of schedule and with no budget overrun. The construction company (Eiffage) had a strong incentive to do so: the deal was that they supported a most of the cost but in exchange got to collect the tolls

- they have small mirrors all over the viaduct used to measure its movement - a bit like real-life telemetry


Google Cloud Storage seems to be down or very slow


Vercel heavy user here. They have a very misleading pricing. It's "starting at $150", it varies depending on the region. I end up paying $400 / TB as we have a very international website.


A really great article. However they tested on nextjs.org only, so it's still possible Google doesn't waste rendering resources on smaller domains


Martin Splitt mentioned on a LinkedIn post[1] as a follow up to this that larger sites may have crawl budget applied.

> That was a pretty defensive stance in 2018 and, to be fair, using server-side rendering still likely gives you a more robust and faster-for-users setup than CSR, but in general our queue times are significantly lower than people assumed and crawl budget only applies to very large (think 1 million pages or more) sites and matter mostly to those, who have large quantities of content they need updated and crawled very frequently (think hourly tops).

We have also tested smaller websites and found that Google consistently renders them all. What was very surprising about this research is how fast the render occured after crawling the webpage.

[1] https://www.linkedin.com/feed/update/urn:li:activity:7224438...


I couldn't share any pricing data since the discussions with providers are private. Instead, I added a graph of prices from gpulist.ai. For an Infiniband cluster, median is $2.3 per H100 hour, average is $2.47.


$2.47 * 256 * 24 * 30 = $455k ?


Based solely on my own calculations that I made for the board of my company; this is within the parameters I would expect, yeah.


I'm surprised that ~$10 million dollars of GPUs, @ $40k per H100 and excluding operational costs like the energy bill, only rents for $455k per month. Sounds like a really tough business since the amount of time required to recoup the costs of ownership (~21 months) seems like a really long time. A new generation or two of chips will have hit the market in that time, depreciating the recurring rental income. Leads me to wonder how much if any profit can be made renting GPUs.


I think Google Slides supports video, the downside is that you need to upload them to Google Drive first


It does - or YouTube. But they will not auto play like a gif and take over the screen when playing.

feature requests for Google:

- inline video that auto plays and loops. This is like 1 line of html. Please do this!

- let me drag a video into the slide and just upload it for me and embed it

- or just convert videos to gifs for me when I drag in!!


Steps to do so:

- open the network console

- right click on the request

- click "copy as curl"

- visit https://curlconverter.com/ to convert to Python/Node/any language


Also available as a VSCode extension that automatically matches the pasted content to the programming language used in the current file: https://marketplace.visualstudio.com/items?itemName=curlconv...


I made a fork of the Chrome DevTools that adds "Copy as Python" to the right click menu of each request in the Network tab. You can tell Chrome to use a different version of the DevTools if you start it from the command line

https://github.com/curlconverter/curlconverter/issues/64#iss...


Thank you for this. I didn’t know curlconverter existed.


This is my current workflow, though with ChatGPT.

I was just trying to save a few clicks


You made your request sound important to implement when you already have a workaround that doesn't take very much time...

This is why feature bloat is a thing


I was to say this lol


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: