Readit News logoReadit News
dmingod666 commented on WebAssembly adoption: Is slow and steady winning the race?   thenewstack.io/webassembl... · Posted by u/qclibre22
Traubenfuchs · a year ago
> VMs like Python and Java require huge effort to embed.

As a (backend) Java dev, I couldn't let that stand. And indeed I found out java now offers a tool called jlink with first class support, that will create a system native (e.g. .dmg on my macbook) executable with the JRE embedded. The javafx example project* I found could be downloaded, built and run from its native release all within less than 5 minutes.

Mind you the Hello World example executable is 80mb and takes 6 seconds to start, but I feel like with the garbage we are used to in regards to desktop applications, this totally holds up -doesn't everything else usually bundle all of chrome? I have also read there are simple command line options to reduce the size to about 50mb.

* https://github.com/mjparme/javafx-template

dmingod666 · a year ago
very good alternative is wails

6-10mb single binary

use any frontend js tech you want

automatically go functions exposed to the js side so you don't need to think about making endpoints, it makes and uses a websockets between the binary and the ui

uses WebView2 and not chrome

dmingod666 commented on A coder considers the waning days of the craft   newyorker.com/magazine/20... · Posted by u/jsomers
dmingod666 · 2 years ago
most impacted are technical consultants ( outside experts that merely provide high level consulting ) -- their recommendations will be scrutinized more closely
dmingod666 commented on Insider trade on Splunk acquisition?   twitter.com/unusual_whale... · Posted by u/mkmk
dmingod666 · 2 years ago
Maybe it was just a member of Congress and thus no crime was committed
dmingod666 commented on The Fall of Stack Overflow   observablehq.com/@ayhanfu... · Posted by u/ayhanfuat
dmingod666 · 2 years ago
As a full time Dev. I'm on ChatGPT (paid) and use co-pilot.

My teams first go-to is ChatGPT as well. SO is no longer 'that site' to go to ( been on SO for 10+ years ). I have 0 love for that site. It was 'The resource' before, now it's just another site..

dmingod666 commented on Open source AI is critical – Hugging Face CEO before US Congress   venturebeat.com/ai/huggin... · Posted by u/thibo_skabgia
dmingod666 · 2 years ago
I like the fact that he's still quite approachable on social media
dmingod666 commented on The Stupid Programmer Manifesto   hasen.substack.com/p/the-... · Posted by u/hsn915
xupybd · 2 years ago
How can you store program state on disk like that? You'd need serialization and deserialization. A DB might be easier.
dmingod666 · 2 years ago
You have things like rocksdb, SQLite etc that are simple have serialization-deserialization built-in, so no external app dependencies
dmingod666 commented on Video to video with Stable Diffusion   stable-diffusion-art.com/... · Posted by u/hui-zheng
Tenoke · 2 years ago
You can with paid Colab. You just can't on the free tier.
dmingod666 · 2 years ago
cool, I have the pro, haven't tried it myself.
dmingod666 commented on Video to video with Stable Diffusion   stable-diffusion-art.com/... · Posted by u/hui-zheng
unshavedyak · 2 years ago
Kinda crazy how averse to ongoing costs i am. I have a 3080TI for Blender rendering and sculpting and general blender, so i definitely need something good local.. but i'm debating buying top of the line on the next iteration so i can do this stuff locally. Thousands of dollars perhaps just to avoid a $2 cost lol.
dmingod666 · 2 years ago
The 2$ adds up + thats an ephemeral environment and these things are super finiky to get working properly (dependency and initial setup + adding tools to your workflow). Plus there is a more of a craft like - ad-hoc approach to how you want to do things, plus a learning curve, with what tools and scripts you want to do or write simple stuff on your own -- runpod sounds good on paper but after a while, you then want AWS/Google VM so things are stable and your environment is sane and stable. Then if you calculate, you'll come up to a cost of buying a nice card in 6-10 monthly payments.. So if you want to play with it in peace you spend once and only worry about electricity costs :D
dmingod666 commented on Video to video with Stable Diffusion   stable-diffusion-art.com/... · Posted by u/hui-zheng
mherrmann · 2 years ago
Does someone know how long rendering these videos takes? Can it be done in real-time?
dmingod666 · 2 years ago
No can't do it realtime. Each image would be about 20-60 seconds (depends on what you're doing with it)
dmingod666 commented on Video to video with Stable Diffusion   stable-diffusion-art.com/... · Posted by u/hui-zheng
erybodyknows · 2 years ago
Does anyone “in the know” have approximations on cost to run this on collab or similar? Maybe a very rough Dollars per minute of video?
dmingod666 · 2 years ago
A frame is like 20-30 seconds for one pass on my 3090, you may have multiple tools and multiple passes.. say 60 seconds a frame x 300 frames about 5 hours -- 3090 costs 0.44$ per hour on runpod.. a little more than 2$

u/dmingod666

KarmaCake day784December 5, 2015View Original