HN user

_rf

6 karma

Proud owner of the domain redflames.space

Posts1
Comments5
View on HN

I'm kind of confused what the use case of this would be.

So it's essentially saving you the trouble of having to put code into an "int main()" and putting declarations before it?

And then attempt to run the code after every line you type. Are there other examples of REPLs that work like this rather than all the state of execution being held in the REPL like I imagine Python does do it?

Can it Tab-complete identifiers I introduce in it? Actually, I suppose it's a single 115 LoC bash script, and I really don't mean to dunk on it, it's a neat little experiment. It just kinda made me wonder what REPLs are made for, for the first time. :D

Like I imagine a very basic "interactive" coding session (for any language) could also be achieved by having an editor open and saving after each line, or having that done automatically, and then in another terminal some script watches for those changes and compiles/interprets/runs it.

A REPL like python's is more like... having a debugger attached to your program, but it just sits at a breakpoint and let's you tell it what code to run next, and you can inspect variable contents and such.

Seems like languages that compile to machine code don't work all that well for REPLing, eh.

I'm gonna pick out one thing I'm always really curious about; what makes you trust a VPN provider more than an ISP? I've never quite understood this especially with how iffy and downright wrong VPN marketing (e.g. ad-reads on YT) can be.

- Why trust a VPN company more than your ISP? To me it seems like a commercial VPN could have equal or more incentive to do questionable things with your info.

- Is it somehow easier for an ISP to track my activity vs. a single VPN company whose servers I'd tunnel all my traffic through?

Sure, the ISP knows where I live and all that but it seems like a VPN could easily identify/know me to the same degree.

( - or is it like a self-hosted VPN sitting in the cloud, and would such a thing be practical/effective at all)

If I'm submitting a link, do I still get to add text here? I have to admit this is my first time submitting, and it's my own content. I love finding interesting nerdy things and software/hardware deep-dives on HN.

A year ago I found Fabien Sanglard's post about Andrew Kensler's postcard pathtracer, and I was hooked. So I spent some weeks digging through the code further, and then set out to write about my findings.

Well, completing the series has taken me over a year. But I consider these four posts done now! So I just hope people will also find something of value within them.

PS: I also have a CUDA implementation going, but I only included a short video as a bonus at the end of post 3. I should get back on that. :)