HNHacker News
TopNewBestAskShowJobs

ablomen

43 karma · joined December 7, 2016

submissionscomments
ablomen··on School surveillance of students via laptops may do more harm than good
No shit - person that once was a child
ablomen··on Parsoid in PHP, or There and Back Again
I did not like/see the real benefit of strict typing until actually using Typescript. Now for me the more verbose code and extra typing is vastly outweighed by knowing what arguments the function actually wants, especially when using 3rd party libraries. The time saved by real-time type checking in my editor compared to edit->run->crash->edit is almost unbelievable and the amount of errors in code I ported over that we did not come across in production is also huge. So no, I think the visual overload is definitely worth it.
ablomen··on Tim Cook Appears Alongside Trump in Re-Election Campaign Ad Shot
"A low moment in Apple’s proud history"

https://en.wikipedia.org/wiki/Apple_Inc.#Criticism_and_contr...

I think Apple has done a lot worse in its "proud history" and is still doing it.

ablomen··on Nobody talks about the real reason to use Tabs over Spaces
I totally agree, as a dyslexic big pieces of text look like a garbled mess. I need > 2 spaces to be able to navigate a file with code with any speed.

Tabs for indentation, spaces for alignment looks to me like the best of both worlds.

ablomen··on I don’t want to be a software developer anymore
Haha yes a lot of breweries have been started by IT people over here too. To be fair, brewing includes some science, a lot of self learning and creativity, so there is some overlap there.

Not to mention the fact that until recently (over here at least) most beer festivals looked quite a bit like open source conventions, just with different stickers. And the "beer nerds" (including me) I know are just as in to beer as I was in to computers.

ablomen··on I don’t want to be a software developer anymore
Coming from a country with cushy laws on the side of employees etc (the Netherlands), and as a male, I can say that I can really identify with the opening paragraphs of this piece.

When I started as all round IT guy 10 years ago it felt like a dream, getting payed for doing what I was doing anyway. And the first 4 years of turning in to a web developer was fun and challenging.

But after a while the shine wears off and getting up every day to make software for clients you are not interested in, with deadlines and promises that where not made by your self, it just drains you.

After finding my own solution (starting up a beer brewery) another thing dawned, sitting behind a computer hours every day for work just is not good for your body or your mind. The money is great, the work can be fun, but at least for me, the best thing I have ever done is starting something totally non-IT (or other office job) related.

ablomen··on Javascript Arrays and Functional Programming
In this example it is, but a nice thing about using map, reduce etc is that you can chain them together, ex:

  let out = ["a", "b", "c", 1, 2, 3]
  	// Turn letters to upper case
  	.map(i => {
  		return typeof i === "string"
  			? i.toUpperCase()
  			: i;
  	})
  	// Add one to numbers
  	.map(i => {
  		return typeof i === "number"
  			? i + 1
  			: i;
  	})
  	// split letters and numbers up
  	.reduce((all, i) => { 
  		typeof i === "string"
  			? all.letters.push(i)
  			: all.numbers.push(i);
  		return all;
  	}, { "letters": [], "numbers": [] });
  // => { letters: ["A", "B", "C"], numbers: [2, 3, 4] }
ablomen··on Lawsuit: Sexual harassment ‘victim’ was San Francisco business rival in disguise
"Fortunately for women who just want to get their work done and go home, we do not live in the world of Mad Men anymore" Yes we can all be happy about that, but it's not an either/or situation, lots of relationships start at work and they can work out just fine.
ablomen··on Lawsuit: Sexual harassment ‘victim’ was San Francisco business rival in disguise
Thanks, I'll be sure tell my parents (mom used to be dad's secretary) that their 35y relationship will end in failure.
ablomen··on Mini.css – Minimal, responsive, style-agnostic CSS framework
Sorry custom elements might have been the wrong term to use. I mean custom interfaces, say an image gallery or a realtime search box where you would use elements like buttons and input's in a different way then the usage this framework defines for you. Using a nav both in your header and sidebar is a different example where these are not good defaults
ablomen··on Mini.css – Minimal, responsive, style-agnostic CSS framework
It looks great at first glance. A big problem though is that it styles basic elements. If for example you want to use a <table>, <mark> or <nav> where it would make sense in a custom element you'll have to reset all the styles of the library before adding your own.