Better HN
topnewbestaskshowjobs
Log inSign up

mumphster

760 karma · joined Oct 1, 2011 (15y ago) · 129 submissions

Submissions

comment 4y ago · link · parent

Do you have examples of slower code generated by typescript? TS is a superset of JS so it changing anything that has a large performance impact seems odd, but maybe I’m missing something here. The types aren’t even available at runtime, what’s the biggest slow down you’ve seen?

comment 4y ago · link · parent

Tauri does this as well, I use it for https://github.com/Ell/shortmon and get ~1-2 meg binaries with a react based ui

comment 4y ago · link · parent

People have pirated MMO backends since.. well a long time, mainly KMMO servers. Lineage 2 and Ragnarok Online had big servers running on leaked / hacked official server code for a really long time before emulators became more practical to update with more recent game content.

comment 4y ago · link · parent

Used extensively by Mullvad VPN for a lot of their infrastructure

https://mullvad.net/en/blog/2022/6/15/mullvad-is-now-continu...

comment 4y ago · link · parent

I think you understand wrong. https://nodejs.org/api/debugger.html Combined with chrome dev tools or an ide of your choice has been some of the best tooling I’ve used in any programming language

comment 4y ago · link · parent

It's actually easier than ever nowadays. Do a quick search on archive.org and you'd be surprised on what you can find.

comment 4y ago · link · parent

Are you saying that people playing video games are more energy intensive than literal warehouses full of GPU's running 24/7 mining ethereum? Nobody talks about that because it's a horrible comparison.

8.

JavaScript Systems Music(teropa.info ↗)

2 points · by mumphster · 4y ago · discuss

comment 4y ago · link · parent

Cool, yet another created in a vacuum CRDT, GUI, and text editor implementation written in rust.

This one is even worse because theres no actual examples or code

Hope the devs have fun writing this though! Rust is very enjoyable to work in

comment 4y ago · link · parent

You can solve 1k captchas for $1 at 80% success, they're trivial to bypass

comment 5y ago · link · parent

cobol (on mainframes, no clue if this applies elsewhere) is more than just a langauge, its a whole stack and set of tools for writing terminal UI programs basically that take inputs and do a lot of processing based on said inputs. You can easily run into cobol code that assumes (rightfully so in most cases) that people will be nice and not do bad inputs or try to do the equivalent of sqli. the attitude around safe and secure code just wasnt there when a lot of the cobol codebases ive ran into were initially written

comment 5y ago · link · parent

That applies if youre shipping a giant 15 meg blob of js (not saying some sites dont do this), a lot of the size also comes from css and other assets which still apply with shipping a wasm blob. I'm gonna guess that v8 can parse a 1-2 meg js file just as fast if not faster than the time it takes to download a 15 meg wasm blob or a 4 meg blob + decompress + parse outputted from golang. Like your last line says, shipping 15 megs of any kind of code makes no sense to me

comment 5y ago · link · parent

https://www.w3schools.com/css/css3_3dtransforms.asp

comment 5y ago · link · parent

A web app cant take advantage of native desktop UI patterns (file dialogues, tray, system menus) and APIs (native file handling, win32 access, sockets, etc etc) like electron. Electron apps are desktop apps.

People have been embedding webuis in crap forever and this is nothing new, except that chrome is a way better target to do so instead of old unupdated things like Qt webview and the like. See for example, steam which is just a web browser with some native ui around it.

comment 5y ago · link · parent

What's broken in node.js's design? Most new trading apps out there are also build on electron, or worse yet, some really gross java desktop ui thats even slower and eats up way more ram.

All of what you said is fud and unsubstantiated.

comment 5y ago · link · parent

This doesn’t bypass cert pinning in apps which was the original question

comment 5y ago · link · parent

the link goes straight to the source code... why not just look at it instead of guessing

comment 5y ago · link · parent

completely different take on generative art, did you look at any of the examples in the interview or read it? It's not a contest around tech, its a conversation around tools and using them to express yourself

comment 5y ago · link · parent

webpack AND all the extra plugins and preprocessing and postprocessing CRA adds -- its not a small webpack setup by any means and you can get 1s build times with webpack pretty easily without CRA

comment 5y ago · link · parent

yes

comment 5y ago · link · parent

Neat! If you're ever interested in more of that kind of stuff check out Hainbach, heres a similar thing to what you described with some really great background info on the technique and tech https://www.youtube.com/watch?v=cVy9ABT5-iY

comment 5y ago · link · parent

For sure, dont mean to argue that point at all. I'm just saying the interface of swiftui is very much observables + a react like component setup, its pretty neat to see something like that coming from Apple

comment 5y ago · link · parent

Have you used react at all? Check out react + rxjs for a similar experience, add some typescript on top and it becomes even better!

comment 6y ago · link · parent

What does typescript have to do with speed?

25.

It's probably time to stop recommending Clean Code(qntm.org ↗)

69 points · by mumphster · 6y ago · 8 comments

comment 6y ago · link · parent

Cool! I went ahead and added category sorting last night to twitchroulette, check out the "unknown" filter to randomly browse through streams with no category set. Theres some weird stuff in there for sure (and quite a few pirated movie streams)

comment 6y ago · link · parent

this was an issue with firefox and I pushed a css fix, sorry about that

comment 6y ago · link · parent

Done, thanks!

comment 6y ago · link · parent

Sorry this took so long, added this fix, as well as basic filters. Thanks again for the help!

comment 6y ago · link · parent

just a normal cheap digital ocean vps running python + starlette and redis as a data backend, nothing fancy at all
12345