HNHacker News
TopNewBestAskShowJobs

caspervonb

540 karma · joined May 6, 2013

submissionscomments
caspervonb··on The Node.js Ecosystem Is Chaotic and Insecure
For Node.js projects, the MIT clause should be covered by simply having the entire package installed, provided the author actually put the license file in the package.

However when using a bundler; you are potentially violating the licenses of a bunch of packages.

caspervonb··on The Node.js Ecosystem Is Chaotic and Insecure
Personally I'd just let that be UB; garbage in, garbage out.
caspervonb··on The Node.js Ecosystem Is Chaotic and Insecure
Indirectly through it's vast dependency tree.
caspervonb··on The Node.js Ecosystem Is Chaotic and Insecure
Splitting hairs, yes that uses bitwise operators, you can get away with either a modulus operator or a bitwise AND operator.
caspervonb··on The Node.js Ecosystem Is Chaotic and Insecure
From what I've seen as a contractor usually there is no package-lock at all.
caspervonb··on Ask HN: Those of you who deleted FB, have you stopped using Google too?
So it's more or less impossible to completely avoid Google products, especially for developers.

Personal life I've cut out what I can.

- I use DuckDuckGo for search. - I use ProtonMail for email. - I've hardly ever used my smart phone for anything, remains the same now. It's essentially a test device with no account associated with it. Not having a cell phone is amazing.

caspervonb··on The Node.js Ecosystem Is Chaotic and Insecure
Who really audits every single dependency in their dependency tree? not so much a rogue developer, but most.
caspervonb··on The Node.js Ecosystem Is Chaotic and Insecure
> Breitbart-esque fearmongering

WTH is Breitbart? Bart Simpsons's evil twin?

caspervonb··on The Node.js Ecosystem Is Chaotic and Insecure
> Yes, so let's all keep reinventing the wheel, over and over again.

Writing basic code, like operator calls is not reinventing the wheel.

> `isOdd(2)` is a lot easier to understand than `value % 2`

It's not tho, an operator is fundamental and everyone knows what it does. The function on the other hand you have no clue and have to check the source to see what it does.

> On top of that, mentioning left-pad is really cliche and weak at this point (bear in mind this happend 2 years ago), npm has taken measures and nothing similar has happend since then, and even then, it was still a fairly isolated event - the whole thing actually took 10 minutes.

Mentioning left-pad because the culture has not changed since then, this is a culture problem and not a technical one IMHO.

caspervonb··on Hyper 2, Electron based terminal
Does editing text with the keyboard alone make sense to you? That's the gist of it, you use commands to manipulate text. It's hard to grok at first when you're only used to textarea style editors without modes.
caspervonb··on The Node.js Ecosystem Is Chaotic and Insecure
Which in turn gets pulled into Webpack and Babel, but the case stands for just about any is-* package.
caspervonb··on Hyper 2, Electron based terminal
Oh and as for the title on that article, Bunch of people took offence and no one got it but it's a reference to when Balmer called GPL/LGPL cancer and hippie culture.
caspervonb··on Hyper 2, Electron based terminal
Like I've said a million times, https://medium.com/p/electron-is-cancer-b066108e6c32

Why would you use a full web stack terminal emulator, over.. well a normal native and actually reasonably fast terminal emulator?

The trend is catching on, so maybe one day we can't even reach for a native email client because it will be unmaintained in favour of the hackable html webstack email client.

Congratulations on reaching v2 tho!

caspervonb··on Go gets preliminary WebAssembly support
Currently it's not supported, see https://github.com/golang/go/blob/a9ba3e30acf004a57fbc1288d5...
caspervonb··on Go gets preliminary WebAssembly support
WebAssembly actually CAN access the DOM, but it requires some glue code.

Essentially, from the developer perspective WebAssembly is like embedding native code as a scripting language in the browser.

Only primitive data types can be passed back and forth between the foreign function interface between the two.

caspervonb··on That feel when you can't captcha [video]
Hard on humans, easy on bots.
caspervonb··on Sorting Algorithms Revisualized
Neat, made my own a few weeks back, It's in JavaScript tho so can't deal with huge datasets, oh and there's sound.

- https://caspervonb.github.io/toneofsorting/ :-}

caspervonb··on Awesome interactive visualisations of sorting algorithms you can see and hear
Ugh, there's a slash missing at the end.
caspervonb··on Show HN: Interactive Visualization of Sorting Algorithms
Added some breakpoints to the stylesheet, give it another try.
caspervonb··on Sorting Visualizations
What are the odds, just posted one myself with audio, and intended to have level of details but there are just balls and bars at the moment.

Think I'll adopt a color scale for the denser datasets, looks great.

caspervonb··on Show HN: Interactive Visualization of Sorting Algorithms
Something to try, lower the array size to less than or equal to 10, there's a different representation.
caspervonb··on It’s Time to Git Good, How to Write Better Commits
TL;DR, use `git commit -p` and think about your commit messages.

Ended up being invited to be medium partner after my last story, so trying out Medium's Partner Program, which means signed in only, can sign in via Twitter tho :)

caspervonb··on Ask HN: Is coding like speaking another language?
Polyglot here, dont think that it matters tho.

I think of it more as a notation and has more in common with constructs like mathematics than actual spoken language. Yeah we have rules and syntax grammer, but at the end of the day you are expressing it in plain ol English.

caspervonb··on Ask HN: Have you successfully moved away from Google search?
For the most part I've moved away, but everynow and then the default browser setup is configured to use Google.
caspervonb··on Show HN: Conway's Game of Life Synthethized into Music
Added both.
caspervonb··on Show HN: Conway's Game of Life Synthethized into Music
Will do, along with a pause button too as it's pretty hard if not impossible to draw a glider gun right now ;)
caspervonb··on Show HN: 8192px, an expanding collaborative pixel art canvas
8192 became the arbitrary magic number for everything, so every 8192 seconds it expands by 8x8. It was 2x2 but progress was too slow, would take a year before reaching the upper bounds of 8192x8192px.
caspervonb··on Ask HN: Which is better tmux or screen?
Use screen mostly, reason is simple, its the one i started using first and it's installed by default on most servers.

Objectively, I really don't know.

caspervonb··on How We Built r/Place
<shameless-plug> Also available on GitHub (https://github.com/8192px/8192px) ;-] </shameless-plug>
caspervonb··on Show HN: 8192px, an expanding collaborative pixel art canvas
Should be more reasonable now, scaling by * -0.1 but it could use more cross browser normalization...
← PreviousPage 4 of 5Next →