wegfawefgawefg

Joined 4 years ago

Karma
535
Submissions
456
Member since
Aug 21
View on Hacker News

Recent submissions

Comment · 4 months ago
It's like jit compression. This should be easy enough to replicate. Is the source of this demo available?
Comment · 4 months ago
thats a nice demo! the text is really cheesy
Comment · 4 months ago
I work too much.

We've got: a language that looks like python but lowers to cpp: https://github.com/wegfawefgawefg/dudu; a site that tracks power outtages in canada: https://www.outagehub.ca/ ; a clone of spelunky in cpp with multiplayer and mods: https://github.com/wegfawefgawefg/splonks-cpp; a shadertoy clone but you code in asm: https://github.com/wegfawefgawefg/asm-shader-toy; a fixed point math lib: https://github.com/wegfawefgawefg/gfxp; a sexpr based json replacement with good perf: https://github.com/wegfawefgawefg/gsexp;

Outside of personal stuff, I'd like to shill my consultancy, G&K Software. (IDK if this is even allowed, but its what i'm working on so I think its fair.) We had: an ai asset generation site; a trading tool for a fund in dubai; an endorsed sales data tool;

Those are all out of business now due to global market craziness, tarrifs, and AI advancements... so I guess we've got nothing right now. (Please somebody give us business lol) [email protected]

Comment · 4 months ago
My bud was learning assembly but the normal material was pretty boring but I know he wanted to learn shaders so I combined the two into something pretty terrible. It has all the same complexity of normal raymarching, sdf defining, space coordinate warping, except now you dont get variables or functions.

At first it was just a cpp demo with vm that run per pixel. That was slow, but threading it made it plenty fast for whatever peak compute you might need for a shader written in asm. Then added inputs to match shader toy, buffers for feedback and memory, and various inputs, mouse, kb, mic, webcam, etc. After that i looked over the examples and... found them pretty bland. The asm was missing things needed to make it more of an asm and less of a riscv'ish LHA form. So we add features: registers, labels, branches, subr, includes, consts, etc.

Theres a clever two eval pass for consts that is inspired by lisp, where the consts are just the same asm but with a different env. I did it like that because I looked at real asm const DSL's and they look impure to me and violate the intention of the project. Its sort of like comptime if you know what that is and dont know lisp. (What are you retarded?)

I know asm's have lots of funny macro ideas that can make them like pseudo real languages, but I just left that out because at that point why not write a little scheme that targets this "ST-ASM" as an IR, and then a tabbed pseudo python with swizzling that lowers to that. Ill probably do that next for fun.

To share it it had to be on web, and cpu vm per pixel wasnt gonna cut it in js. So the browser version now compiles the assembly to WGSL for WebGPU, with a WebGL2 fallback so Firefox can still run it. (Took longer to get that working than the entire rest of the project, but if it cant run on the top browsers then it can't be shown off...)

Comment · 1 year ago
we werent too late tho. hitler lost.
Comment · 1 year ago
my personal view is people have a right to be intolerant and hateful and advocate for said intolerance and hate as much as they like.

but property crime and assault are not their right. and those are illegal. so we are already covered there.

Comment · 1 year ago
my apologies i was under the assumption that you were defending what I percieve to be infringements on free speech rights.
Comment · 1 year ago
not false dilema. i only argued against his position by showing that his assertion, even in the extreme worst case such as somebody broadcasting "kill ur bb" would not result in everybody killing ther bb. therefore somebody broadcasting "get rid of browns" does not therefore mean that listeners are brainless zombies who do what they are told will go get rid of browns.

the broadcaster doesnt control my body. i can listen to a broadcast, respect the persons right to assert that we should "get rid of browns", and then simply disagree and think that person is at best ignorant and at worst evil. my capacity to do so is a fundamental requirement for humans to be sentient and participate in a democracy.

if listeners really are the brainless zombies some of the people here advocate for 'protecting' weve got a bigger problem.

if someone broadcasts "kill ur bb" then we should punish those went and killed a bb. the broadcaster has not damaged property or person.

my freedom of speech, whether serious or satire, should not be limited just because there are evil people in the world.

Comment · 1 year ago
enforcing this would require building a panopticon world of brains in jars. no thank you. ill hold individuals responsible for their own actions and keep my freedom of speech thanks
Comment · 1 year ago
no it doesnt. you could blast "kill your own baby" on radio but 99% of people wouldnt do it. and if they did its their own fault.

you either respect the sovereignty of an individual and they are responsible for their actions, or not and if you dont then follow that to its logical conclusion. which would be that all people are not responsible for anything ever, because even the broadcaster was told to by his own life and culture, and so on and so forth until your litigating the first living goo on the planet.

Comment · 1 year ago
most of the world for most of time had slavery. that doesnt mean we should have slavery now. your whole first paragraph is bunk.
Comment · 1 year ago
Both scarlet/violet sold 27million copies, comparable to all the other mainline games, and legends was the most popular sidegame by far at 15 million copies sold.

I think the series is never going to not be open world going forward. It was a resounding success and most people like it.

Comment · 1 year ago
i used facebook back when it functioned like that. and it was still retarded then
Comment · 1 year ago
because my religious redneck family thinks 4chan is a bunch of hackers who hate the elderly because fox news mentioned "ok boomer" meme once.

because ive met many people in real life who think its evil but have never been on it or have even seen it.

every normie hates 4chan, but none of them have never been there.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton