HNHacker News
TopNewBestAskShowJobs

stagas

2,268 karma · joined June 23, 2010

https://github.com/stagas

https://textlog.cc/u/stagas

mailto:gstagas@gmail.com

submissionscomments
stagas··on Show HN: Self-made web media player without <video> or <audio>
Impressive. I'm glad you took that challenge and did it! The other option was vendoring ffmpeg wasm which is a few mbs. This is just a few kbs, doesn't require npm, I simply used the release .mjs file, the AI picked up its API right away and did everything for me. Perfect.
stagas··on Show HN: Self-made web media player without <video> or <audio>
Mediabunny is pretty cool! I'm actually using it in the other Show HN, VinylSpin.video to generate mp4 videos from the canvas animation so that no frames are dropped, unlike the MediaRecorder API. The output is perfect. Didn't know it could also play videos! That's awesome really.
stagas··on Show HN: Infinite Canvas for Notes
Thank you so much! I will definitely consider it :) Superlaunch looks pretty cool!
stagas··on Show HN: Backgammon Board with Realistic Mechanics
No engine, just the board for now and the constraints of the game. Yes, I agree, I might look into it. Do you want to help? I can put it on GH just needs some cleaning up.
stagas··on Show HN: Infinite Canvas for Notes
Thanks! :)
stagas··on Show HN: Infinite Canvas for Notes
Thanks! Simply grab them with the mouse :)
stagas··on Show HN: Infinite Canvas for Notes
GitHub: https://github.com/stagas/infinote
stagas··on Show HN: Run a script if Git changes a file
This is very useful, thank you for making this!
stagas··on Ask HN: What are you working on (September 2024)?
That's lovely to hear, thanks. Would love to see some of your work also, if you want to share, here or by email (it's in my profile).
stagas··on Ask HN: What are you working on (September 2024)?
I've been working on an audio DSP language and IDE https://ravescript.com and a DAW https://ravescript-next.deno.dev/ - both are in a good condition but still require a ton of work to be complete. Trying also to combine the two projects into one. Key features (especially in the DAW) are that the audio engine and the graphics engine are made from scratch and utilize WebAssembly/WebGL in a very efficient/performant architecture.
stagas··on Ask HN: Who wants to be hired? (July 2024)
Location: Chania, Crete, Greece

Remote: Yes

Willing to relocate: Yes

Technologies: Typescript, Tailwind, Vite, WebAssembly, Web Dev, Node.js, Deno

CV: https://gist.github.com/stagas/04673c4b2bcf9ece7ecaf0f21d18d...

Email: gstagas@gmail.com

15 years experience with Javascript, 35+ years programming. Looking for a stable senior frontend engineer position.

stagas··on Show HN: Simpler web dev with Htmx, SQLite and TypeScript
This looks really good!

> 4. doesn't have a frontend build process

Is it entirely server-side and then it's all htmx? Is there a way to also hook client-only TS/components for more complex/interactive stuff? Or is that out of scope entirely?

stagas··on The "uncanny" is the experience of a loss of control
The term i like to use lately is: faf - Fake As F*ck.
stagas··on The flip-flop on whether alcohol is good for you (2023)
Whatever benefits you think you're feeling when you're consuming alcohol, are actually the baseline if you live a non-alcoholic life. It makes itself relevant by making you feel worse the rest of the time, until you consume it. When you give it up and after a few months when your liver has healed, the buzz/happiness you felt while consuming alcohol becomes your normal again. You don't need it, and you never did. It's a poison of the mind and the body.
stagas··on When do we stop finding new music?
I find soundcloud's autoplay to consistently give me fresh new music that i enjoy and many times in a style never heard before.
stagas··on EU states agree to regulate Deliveroo, Uber workers' rights
Except that working, unlike stock investments, isn't gambling. It's supposed to have a stable, secure, predictable outcome.
stagas··on EU states agree to regulate Deliveroo, Uber workers' rights
The problem here is the workers have no protection for when the algorithm stops picking them. There need to be laws for how disputes like that are solved, because the person has already made some investment to participate, expecting to pay that by getting gigs, so they're left with nothing and the company isn't liable for anything. People need to be protected from the actions of the companies they choose to work for, yes.
stagas··on Protesters hurl soup at the Mona Lisa painting in Paris
Is it in the news? Mission accomplished.
stagas··on Show HN: GodotOS – Fake operating system interface made in the Godot engine
Yes same experience here, it'll perform well for the first 3 keystrokes after a rest, then start lagging, compounding lag to the point where the screen is 5 characters behind of what I am typing, then I have to wait 10-15 seconds for it to rest and report all the errors. It's terrible but there's no alternative for the features.
stagas··on The Final Speech from The Great Dictator (1940)
Colored with better audio: https://www.youtube.com/watch?v=dCXdxFPCqfk
stagas··on Spanish agency created AI influencer and she's raking in up to $11,000 a month
They're getting a piece of the pie, no? I wouldn't be surprised if they were also doing it.
stagas··on Cannabis that people are using for anxiety is probably making it worse
Solves all anxiety and focus problems for me right away. I have to smoke a lot however(maybe up to 2g of bud a day) and I'm trying to see if i can combine it with d8 edibles as they seem to enhance the CBD effect for longer. I think it's a matter of trial and error to get what's right for you. Try another brand or method (edible?). And yeah increase the dose, anxiety should go away like completely. CBD is the best.
stagas··on Berlin's indoor pools
Because it's not the same thing like the beach, sweating on plastic fabric can cause injuries to the skin and it's disgusting (even at the beach imo).
stagas··on Show HN: Instant API – Build type-safe web APIs with JavaScript
That's what I'm pointing out though? That it is runtime type validation and not type safety. They are two different things, the only common is the word "type". Please read the comment again.
stagas··on Show HN: Instant API – Build type-safe web APIs with JavaScript
For sure! Do you pay money $$$? :)
stagas··on Show HN: Instant API – Build type-safe web APIs with JavaScript
I have to stretch my imagination a lot to see how "type-safe" can mean "it throws at runtime".
stagas··on Show HN: Instant API – Build type-safe web APIs with JavaScript
For this software to be appealing it would need to really be type-safe, meaning you'd need to use TypeScript. Type-safe means I can change an interface in project B and project A that depends on B now shows me errors in the editor exactly where I need to visit to fix it. If that isn't happening, it can't be called type-safe or generalized to that term. Currently it's a type-unsafe HTTP endpoint runtime type validator.
stagas··on Show HN: Instant API – Build type-safe web APIs with JavaScript
It's not pedantry, you're using the term wrong. I understand why it can be confusing if you are just using JavaScript and you haven't had the experience of type-safe codebases. Type-safe does not refer to runtime anything, it refers to the developer being able to refactor their interfaces safely, meaning that the type system informs you of any errors across the entire codebase and all of the dependants of that software. Type safety really means "developing with type safety". Type validation on the other hand, can mean runtime type validation, which is what this software is doing, runtime type validation at the HTTP layer, which is a cool project I admit, very useful stuff, but the term type-safe here is misleading.
stagas··on Show HN: Instant API – Build type-safe web APIs with JavaScript
Type Safety != Runtime Type Validation. Something being Type Safe means that I, the programmer, am Safe from making type mistakes while developing and maintaining the software. For that to be possible, you need a type system that is embedded in the language and the editor and can continously analyze all of your code types to be correct. Type safe means that any breaking change to any interface will immediately error and point me to all the locations I need to visit, and therefore I am safe from making any type errors.

While this is a neat project, it's not Type safe, as nothing in the pipeline will inform you about a breaking type error prior to running it and seeing the validation fail. That usually means in production. To catch those errors early before they hit production, you use a type system, and one that exists for JavaScript and works really well, is TypeScript, and I find it mind-boggling that there is no mention of it in this entire document discussing "type safety".

stagas··on Live coding Tetris game with WebAssembly language Moonbit
It's failing to start, tons of errors in the console. The language looks good, and I'd like to give it a try but I can't find any repo of the compiler/LSP extension so I can try it locally, it seems only this hosted IDE exists and then some kind of remote shell script execution. Both are non-starters.

Just make it public/open source.

← PreviousPage 6 of 19Next →