HNHacker News
TopNewBestAskShowJobs

caspervonb

540 karma · joined May 6, 2013

submissionscomments
caspervonb··on LLVM 9.0
That was fast, has the release cycle changed?
caspervonb··on Ask HN: Stallman resignation story disappeared from front page
Twitter was up in arms over how "toxic" HN is with several high profile people "nice people" taking screenshots and implicitly urging people to flag and call people out.

So, that's likely why.

caspervonb··on Best JavaScript Editors: Tools Ranked by the Developers Worldwide
At least rant a little if you're going to compare text editors, you won't get any traffic with soul-less dull list posts.
caspervonb··on Stallman's final interview as FSF president
Meanwhile, blue checks with substantial mob following on Twitter are calling him a "literal pedophile rapist".
caspervonb··on Ask HN: How can HN allow login without an email and not be full of bots?
Email isn't a fail-safe, its ridiculously easy to get throw away email accounts. Hundreds of new domains are freely available every month (and subsequently block lists are updated each month).

Also, beep-boop, how do you know we're not all bots? ;)

caspervonb··on Blender 2.80 release candidate
Oh wow, the UI has changed significantly which is a huge milestone. Back in the days any mention of the UI being awkward would typically just result in people telling you "you just aren't smart enough to use it" which basically just let people to roll with Maya instead.
caspervonb··on Show HN: Dino Cruise, a quick HTML 5 browser game I made for my 6-year-old son
I'm all for Dino's with lasers shooting out of their butts but I'm thinking that's a bug? ;-)
caspervonb··on The Opa Language
So.. what exactly are the goals here?
caspervonb··on Show HN: Curl lama.sh – sh to start a web server anywhere
Fair warning to users, you should never ever pipe something from the web directly into a shell.

I'm sure the author here has good intentions but, this is aimed at beginners (I'll assume, doubt anyone reasonably experienced would humor this) and teaching them a terrible idea.

caspervonb··on Show HN: Curl lama.sh – sh to start a web server anywhere
When are you dropping a cryptominer into it? ;-)
caspervonb··on One liner NPM package “is-windows” has 2.5M dependants, why on earth?
Not in proper real English it's not.
caspervonb··on One liner NPM package “is-windows” has 2.5M dependants, why on earth?
Checking for Cygwin is a false positive (IMHO at-least)
caspervonb··on How to Design for the Web in 2019
Two actually, there's the one with "Maximum" too ;)
caspervonb··on How to Design for the Web in 2019
The Medium editorial team kinda messed that one up, I gave permission because I thought it was really funny that Medium was gonna feature me bashing on Medium. Which it was but they kinda just made it dull and ruined the tone.
caspervonb··on How to Design for the Web in 2019
It's an ad for "K&R's The C Programming Language" actually ;)
caspervonb··on How to Design for the Web in 2019
They're maximizing the layout, as per the guide.
caspervonb··on Why Medium Sucks
Syntax highlighting add any information tho, without it it's easier to bring focus to elements that matter with emphasis.
caspervonb··on Ask HN: Alternatives to Google Analytics?
https://matomo.org/
caspervonb··on How to Design for the Web in 2019
It gets better ;-)
caspervonb··on CodeAnywhere Closes “Free Forever” Accounts
One dies, another one will rise.
caspervonb··on Ask HN: How Do Services Like PythonTutor and Repl.it Run Code Safely
Working on a service in Go that does this, focusing on no fuzz embeds, yet to be launched tho and the source is not released yet either but it will be.

Anyway, it's currently docker based, basically the only interesting thing is the run endpoint which is a POST request that copies the payload files to a tmpdir on disk (cached files are just represented as a path).

With the files available I spin up the language appropriate container with the tmpdir mounted as the working directory and the default run command (which can be overriden to specify other build options etc but there's a reasonable default built into every docker image).

The output is streamed as plain-text so it works reasonably well even with no JavaScript but SSE is used when JavaScript is enabled, look a bit prettier. WebSockets are just not implemented yet.

Finally, I found it annoying not being able to preview servers etc on other playgrounds so TCP connections are proxied, each time a subdomain is accessed it looks up the port and maps it accordingly to the container.

There's a bit of overhead to all this tho, from hitting the run button until seeing output can take anywhere from 10 to 60 seconds.

As for safe execution, people have broken out of docker containers before and no doubt people will do it in the future. Best you can do is minimize the damage breaking out of the container would be able to do by isolating the machines that run the containers from the rest of the stack.

caspervonb··on Show HN: CoderMirror – Time tracker for developers with a focus on learning
Pretty bad name, considering CodeMirror has been around for quite a while, is well known, et cetera.
caspervonb··on Oslo made its city center basically car-free
Public transit, trams and busses at every corner more or less.
caspervonb··on Oslo made its city center basically car-free
> It doesn't look quite as good with 5-6 shopping bags with groceries for the kids

Kiwi is literally everywhere, in Oslo it's not going to be more than like two blocks to go grocery shopping.

> Most people who say raising kids in Norway without a car if fine usually haven't had any kids yet

Neither me or any of my school mates had access to cars growing up in the 90s, pretty sure kids these days can walk also. In the country-side I'd kinda agree with your points but in the city, especially Oslo everything is super accessible.

caspervonb··on Oden – A New Programming Language
Ups, just realized I messed up on the title. It's working name is Odin, Oden is the one written in Go... ;-)
caspervonb··on Ask HN: What will future browser be like?
Even slower and even more vendor locked... to Google. As a developer we don't a crap as long as we support "the latest versions of Chrome" but as a user, you can't really use any browser but Chrome these days if you want the site to actually load.
caspervonb··on Ask HN: What would a better C look like?
While it's possible to avoid the shitty parts of C++, libraries and community isnt there as there's a pretty huge divide between Java style C++, C style C++ and "modern idiomatic C++".

Also a better C would have to be as simple as C, C++ is the definition of complexity. Might look simple on the surface but heck even Meyers can't make heads or tails of the spec ;)

As for the need, there are plenty of contenders like Zig, Odin, Jai, etc. For the most part tho they seem to be about fixing the tooling pipeline, module system and standard library. Syntax might differ ever so slightly but feature set is more or less the same.

caspervonb··on Ask HN: Mojave, anything developers should know about before upgrading?
Dark mode is overrated, looks bad compared to what's available on GNOME but nothing blew up so far.
caspervonb··on Ask HN: Who here has built a profitable startup while keeping their day job?
Been a partner for about a year now, which pays you an undisclosed cut of the members fee from those that engage with your content (meaning claps).

Mine is about, uhm, me being a disillusioned 30 year old developer hating how things are done now? Rants like this https://medium.com/commitlog/how-to-design-for-the-modern-we... tend to alright.

Throwing in an amazon link when its appropriate, or funny in the above case doesn't hurt either. Kinda got an on-going thing with always pushing K&R books.

caspervonb··on Ask HN: Who here has built a profitable startup while keeping their day job?
Not a start up per se, but my Medium blog is fairly profitable, ~2k on a good month.
← PreviousPage 2 of 5Next →