HNHacker News
TopNewBestAskShowJobs

torgard

279 karma · joined October 2, 2017

coolboyyy
submissionscomments
torgard··on XPS 13 developer edition 7th generation available
Max 8gb for regular display...

I mean, who uses touch screens for development? I can't really imagine a scenario where it would be helpful for me. Maybe when doing work in Illustrator and Photoshop, but I usually use a different machine for that anyhow, because of Adobe's lack of Linux support.

I don't want to pay for something I won't use.

I am otherwise actively looking for a laptop. System76 does not have European keyboard layouts, otherwise I would go with them.

torgard··on A RAM Edition of Dirty Coding Tricks
> Ultimately Crash fit into the PS1's memory with 4 bytes to spare. Yes, 4 bytes out of 2097152. Good times.

Wow. I am absolutely blown away by this.

torgard··on Transpiled For-Of Loops Are Bad for the Client
One point towards using Array prototype functions (map, filter, reduce, etc.), is that they are often much more readable.

For loops are harder to skim.

Still, I don't understand the for loop hate. I have seen people argue against 'pointless optimizations', in the name of readability. And while yeah, arr.filter().map() is probably faster to comprehend, you're still iterating through the array twice. Pointless optimizations, not so much when the array is thousands of elements long.

torgard··on System76 ME Firmware Updates Plan
I can't buy System76 laptops, because they only have US keyboards. UK and Scandinavian (the one I'm using) have more buttons, so I can't just fix it with stickers.

Sad, because I reeeeally want a System76 laptop.

torgard··on Facebook's Not Listening Through Your Phone. It Doesn't Have To
They day I truly became old, was the day I stopped receiving ads for partying and travel, and started receiving spam about mortgages, loans, wrinkle-cures and pension schemes.
torgard··on Facebook's Not Listening Through Your Phone. It Doesn't Have To
That seems to be the point of the article.

People are in an uproar about being recorded, but not realizing they are being 'recorded' in many other ways.

torgard··on How sheep with cameras got some tiny islands onto Google Street View
That was indeed the idea, and it worked!
torgard··on Implementing VisiCalc (2003)
> if VisiCalc for a different computer, where would you be?

https://www.youtube.com/watch?v=npqD602G90o

torgard··on Google Pixel 2 and 2 XL announced
Come to think of it, that's a pretty good Kickstarter idea.

Usb-C to 3.5mm jack, where it isn't a dongle, but rather built into the cable itself.

torgard··on Stripe Elements: Pre-built UI components to help you create checkout flows
Indeed. And with the upcoming stricter EU laws on data handling, I think this is a big plus.
torgard··on Stripe Elements: Pre-built UI components to help you create checkout flows
Thanks for the reply! Really looking forward to the development of this :)

Keep up the good work!

torgard··on Stripe Elements: Pre-built UI components to help you create checkout flows
I don't believe so. You don't get the card info from the form, you only get the generated tokens. I could be wrong, but I believe that's how it works.
torgard··on Stripe Elements: Pre-built UI components to help you create checkout flows
Stripe Elements is really good. It has been an absolute help.

Now if only we could get something similar for the Connect account stuff. So many different edge cases for countries and businesses, that the only reasonable approach is to autogenerate a form, and hope it makes sense.

Example: Japanese business need to put in their address in kana and kanji, both personal and business address. They also need to specify their gender (and are the only ones who have to do this). I believe they also need some form of personal and business IDs.

Form validation? Forgettaboutit!

Note: I realize these requirements are most likely not strictly determined by Stripe.

Here's hoping Elements expands to Connect accounts in the near future! :)

← PreviousPage 4 of 4