HNHacker News
TopNewBestAskShowJobs

MrLeap

3,045 karma · joined August 24, 2014

https://twitter.com/LeapJosh for surreal gamedev.

I'm making this, there is a free demo if you want to try it. https://store.steampowered.com/app/1537490/Tentacle_Typer/

submissionscomments
MrLeap··on Excess mortality in the EU hits 16%, highest 2022 value so far
According to their graph it looks like there's more peaking in the winter.
MrLeap··on Simulated Growing Plants
Neat tech coming out of the UE world.

I made something similar for the weird Lovecraftian text editor I'm making. My goal's to eventually let people fill a wasteland with flora by doing creative writing around it. Mine's more stylized, simpler, and Unity. :p

https://twitter.com/LeapJosh/status/1515840289096753162

MrLeap··on Dealing with the perfectionism trap as a developer
Code that serves as a highway I try to make as clean as possible. Code that serves as a cul-de-sac just has to work.
MrLeap··on USPTO to add surcharge on non-DOCX patent applications in 2023
The consolation is that, if I remember correctly, docx is just a zip file containing xml.

I made an xlsx exporter in actionscript3 (lol) years ago and it worked like this. What I ultimately did was made a "template" document, and my code just injected strings into key spots, zipped it up in memory and gave it to you as a file.xlsx. Probably took me 3 days?

I didn't have the benefit of libraries so I imagine this is significantly easier in less hobbled environments, nodejs or whatever probably has a kitchen sink package to do it.

MrLeap··on The GPU Banana Stand
This is very cool. I wish I could use it in unity!

Going to take a few minutes to scope out what a port would take...

MrLeap··on The GPU Banana Stand
Signed distance fields _are not that bad_ (thank you Inigo Quilez)

Once you have your primitives, it becomes basic math and union, subtraction, intersection for the most part.

I made this shader a few days after learning the basics -> https://twitter.com/LeapJosh/status/1494417750395179012

If glsl ever got function pointers or similar, you'd see simple SDF DSLs and frameworks bloom overnight and many of them would be easy and awesome.

MrLeap··on AWS open sourced the AWS console design system
What is a windowed grid?
MrLeap··on A Future So Bright We Have to Breath Liquid
I made the text editor I used to write the first draft. Just a weird piece of trivia.
MrLeap··on Shader-like holographic effects with CSS
It's a shame filter: custom() died. It would be easier to skip shader-like and just go right to shader.
MrLeap··on Fog Volumes arrive in Godot 4.0
Answering "why use maya instead of blender?" is more challenging to answer than it used to be.

Replace maya with zbrush / houdini and it's easier to answer but gets harder every update. I say this with a decade of unity experience but I hope godot follows blender's trajectory!

MrLeap··on Fog Volumes arrive in Godot 4.0
Also called "crepuscular rays" if you want even more keywords :D
MrLeap··on How does a USB keyboard work? (2021) [video]
Wireshark has usb tools, might be derivable.
MrLeap··on Webcams aren't good enough
A realsense camera, 2 hours worth of dev and OBS virtual cam and I could make a scattery POC of this :p
MrLeap··on Ask HN: Side projects that are making money, but you'd not talk about them?
I've been working on a 3d first person creative writing RPG where you're a Tentacle Monster with a magic mechanical typewriter. You learn ritual magic based on what you write and it can export .txt files. It even has printer "support". It's called Tentacle Typer.

My goal is to make people more prolific and creative writers.

It's not released yet, but I've gotten enough wish lists that I'm confident I will make some money when I do. It's also led to some freelance/consulting work that's kept me afloat while I shamble forth.

https://twitter.com/LeapJosh/status/1469737611824713739 <- My feed is mostly my progress.

A little discouraged by some gambits that didn't yield results I wanted has me not talking about it as much as I was last year. Ah well I bet the hype energy will come back. There's a lot cool here.

MrLeap··on Is there a maximum size for Windows clipboard data?
Thank you. I'm deliberately going to be readonly (and most likely only filenames unless the user requests contents) When I'm walking around the filesystem.

Thank you for the info.

MrLeap··on Is there a maximum size for Windows clipboard data?
I've been wondering about this -- I'm making a text editor RPG, and in the medium term I want to make a file picker that builds a procedural dungeon based on your file system. I know such a thing would have been trivially fine in older versions of windows, but I didn't know if going down that road has any foot guns a more educated win developer would know.

Is protected folder access an on-by-default thing, or is it only certain folders?

Quick googling makes me think my plan might trigger windows defender for an exemption request. Hm That's a drag, but understandable I suppose?

MrLeap··on Why Emacs has buffers
I have been doing my best!
MrLeap··on Germany paying $5.5B for Intel fab
That sentence stuck out to me too. It makes me wonder if the nature of America's representative democracy lowers the threshold by which our elected officials actually have to do a good job / serve the will of the people.

They constantly fall short, even of the narrow interests of whatever their particular constituency is. But there's kind of a floor where we just throw up our hands and say "WELL THEY WERE VOTED IN"

Do our officials receive less psychic pressure? Does the Chinese government work harder to align the populous' desires with their actions?

Pretty fascinating rabbit holes.

MrLeap··on Why Emacs has buffers
My pleasure. I hope it earns a place in your collection when I'm ready to release. (Trying my best for a demo this month.)

I think one of the coolest features is that you learn different spells depending on what you write.

For example, if you write horror you'll learn spookier spells than if you write romance or technobabble.

https://twitter.com/LeapJosh/status/1519398797079625733 and then you create rituals using those spells powered by yet more writing.

MrLeap··on Why Emacs has buffers
Thank you :D
MrLeap··on Why Emacs has buffers
If I may, I'd like to mention a text editor that I am making as an example of relevant skeuomorphism. It's called Tentacle Typer.

It makes regular ol' .txt files in mostly the traditional way, but you write text documents as an eldritch tentacle monster with a magic mechanical typewriter inside a steampunk sandbox.

https://twitter.com/LeapJosh/status/1469737611824713739

MrLeap··on Plain text, with lines
This is cool. I could see myself adding support for this in Tentacle Typer. It's a text editor with a similar just-save-plain-text philosophy, main difference is that it has more tentacles. Giving a tentacle a paint brush for mid text doodling would be fun.

Bookmarking for later.

MrLeap··on People hated shopping carts when they first came out
35 pounds of butter will provide enough calories for you to walk to space. Butter based diets make a basket life for even a family of 14 trivial.

Think about it.

https://what-if.xkcd.com/126/

MrLeap··on How to Be Successful (2019)
This is a challenge but I'm trying. I have a long and sordid history of overworking on things that did not give back anywhere near what I put in. I'm testing the thesis that it was because of power dynamics and ownership.

I'm a year and a half into a project that I've worked on fullest time with max grit that I own completely. If it succeeds even a little I plan to build 3-5 dome houses on our rural land for indie gamedevs and artists to work on their personal projects for a year without rent. We'll only ask for a tiny percentage of revenue sharing just to try and make the thing self sustaining. A little forest moon base for dreams.

I hope by not being parasitic and actually just helping people do the thing I have been struggling to death to do, it would move the needle a few atoms towards what you're describing.

My greatest fear is that the system is so efficient that some how helping others is impossible, and I'll figure out why only when I'm dry. It's hard to imagine, but I haven't seen much help from the waterworld captains while I've been cobbling together my raft of flotsam. Maybe it's because sailing is hard and storms are kind of scary no matter how big the boat. Few grow old enough to find the time.

Feel free to email me, especially if you're among that rare resplendent type.

MrLeap··on Extracting Triangular 3D Models, Materials, and Lighting from Images
This is a very platform specific question.

https://web.dev/gpu-compute/ This gets into it for web development. I've never used this though.

https://web-dev.imgix.net/image/vvhSqZboQoZZN9wBvoXq72wzGAf1... Just _behold_ that graph. Imagine where it goes even further to the right. Magnificent.

I LOVE gpu.js. https://gpu.rocks/

You have python in your name, I found this! https://developer.nvidia.com/how-to-cuda-python

Another good source for modern tutorials would be Unity compute shader tutorials. With hand wringing, anything you do in one of those .computes can be done from any other launch point.

MrLeap··on Extracting Triangular 3D Models, Materials, and Lighting from Images
They've all kind of blurred together. Anything that was effectively just map/filter/reduce operations but were too slow. I've done it on a C#.net ERP frontend, a local search function in a wargaming app, a real time web application written in node.js (gpu.js is awesome)

I used this technique to write a performant electron application that served as a driver for a PoE+ lidar. That's just what comes to mind right now.

MrLeap··on Extracting Triangular 3D Models, Materials, and Lighting from Images
I just had to check the dates. I remember the exact moment I realized everyone had a secret super computer in their gaming rig that no one was really putting to work. It was a year before your prometheus example.

I saw this video, while I was in college playing around with XNA, python and pygame. https://youtu.be/ACHJ2rGyP10?t=30

It's pretty mundane now, but at the time I was gobsmacked. Watching that performance and comparing it to the measely entity counts I could run realtime in C# or my python pandemic simulator I was writing made me FANATICLY BELIEVE that for many problems I had been taught to use the wrong tool. Shader programs had been misadvertized and their true power obfuscated under a veil of painting pretty pictures etc etc.

I became something of a GPU evangelist in that moment, and for years when someone would say such and such problem was computationally intractable on current hardware, I'd go into a whole schpeel, pull out some previous "impossible" things it allowed and usually they would run away, even though I would call for them to come back.

Despite that, HLSL/GLSL became my behind the counter deep stock black magic for solving all sorts of problems, plenty of which that had no pretty pictures show up on screen. If I could encode your problem as a series of textures smaller than 4096x4096 (this is most problems), I could make your function with minutes of execution time finish 60 times a second.

It allowed for some clutch performance improvements in a stuffy .net application that looked to my coworkers like space magic. Because it was space magic. To this day I have unused fingers when I count all the times I've multithread on the cpu. What a half measure! What a loathsome simulacrum of the massive power of the GPU! Why debase yourself? Oh it's running on a pizzabox somewhere that doesn't have a GPU, I suppose that's a reason.

These days GPU compute is a more standard tool for people, with more direct ways to use it. I'm not mad that it's no longer a secret weapon. It's cool to see what things people are doing with it, like this! This is incredible! I selfishly wish nvidia permissively licensed their future tech like this so we could get to the next phase faster. Oh well.

I agree with you strongly and believe that we haven't even scratched the surface.

Thanks for making me remember all that.

I still try to figure out weird/hard things made easy/possible by GPUs. Within the year I've coerced a gpu to do millions of string operations inside a fragment shader. That was weird and I think it made the GTX1080 uncomfortable, but it did it a few hundred times a second.

Admittedly it's a lot more pretty picture drawing these days. I still try to reach a little and put the massive power we have to work whenever I can.

https://www.reddit.com/r/Unity3D/comments/updci7/i_made_this...

MrLeap··on MI officials fast-track bridge fix after man says it 'collapsed under my feet'
There's a lot to unpack here. Guy enters the news for being the good guy donating a baseball to a museum instead of collecting a big check for it. Later, on his way to a baseball game while discussing things with a "fellow attorney" he falls through a hole in a public bridge?

Is there an award for greatest plaintiff advantage? I can imagine him on stage next to a school bus full of paralegal orphans. Glad the dude is okay.

MrLeap··on CAD in Blender Is Here - CAD Sketcher Constraint Driven Design [video]
Unless something crazy happens whatever blender is missing will probably be there eventually. It's a big ol' self improving battleship now.
MrLeap··on Ozarks Technical Community College robbed of nearly $900k
Amusing anecdote. My girlfriend has an accounting degree in the Ozarks and has had trouble getting work related to it.
← PreviousPage 13 of 28Next →