HNHacker News
TopNewBestAskShowJobs

nicostouch

195 karma · joined May 5, 2016

Full stack Ruby on Rails developer working on my own products (https://seyoh.com, https://habitrabb.it, https://officequotes.app) and available to help you with yours :)
submissionscomments
nicostouch··on I created the exact same app in React and Vue
"I'm biased, but I'm biased through experience"

BAZINGA!

nicostouch··on Show HN: Layoutit – An interactive CSS Grid generator
I used to really love the bootstrap layoutit tool. Used that heaps in the past. Can you guys please make one for design systems (like Prime React, Element, Vue Admin etc) in React/Vue so you can visually build using components from those systems? That would be beyond amazing.
nicostouch··on What was it like to be a software engineer at NeXT?
That is the most genius fucken' way to play it.
nicostouch··on Ask HN: How do you organize/track your personal goals?
I did that this weekend. It was also hard to kick back and relax when I wanted to work on my goals. That was very conflicting, but I'm starting to see the value of slowing down a little bit.
nicostouch··on Ask HN: How do you organize/track your personal goals?
I'm putting together https://habitrabb.it as an alternative to Loop but addressing some of the issues people in Play store were complaining about. Still a WIP but Android version will come out soon and I'm currently in the process of majorly reworking the UX.

Essentially the difference is people sometimes complained of losing a lot of data because no cloud backups and no iOS version hence i'm doing web+android+ios. Also a lot of people wanted to be able to track doing habits multiple times per day or track some specific metric (30x pushups) which I've chosen to implement. Small things like that but they add up.

nicostouch··on Why We’re Building Flux, a New Data Scripting and Query Language
I love this story. Please tell us more.

Years before I ever read Thinking Fast and Slow I clicked on to the fact that humans are predisposed to making exceedingly poor decisions. This is such a fun example.

I almost want to start a side-project based on collecting these...

nicostouch··on Ask HN: What are the things keep in mind while giving/preparing for a tech talk?
If there is a Q&A section and it's being recorded... please please please repeat the question so your mic pics it up because the person asking it is miles away and it never makes it into the audio so the people watching at home later have to guess what the question is based off the answer you gave which can be tough sometimes. So just a "Ok, so the question is... blah blah blah - answer".

Also... nothing can quite prepare you for how shot your nerves can be. It definitely pays to run it through many times as you can with a timer so that you are at least confident in your pacing.

Other than that it's quite fun.

It can be pretty handy to you to include your twitter handle in the top right corner so you get some follows throughout the presentation from people who were interested. At the end link off to 'you can find the slides for this presentation here bit.ly/soloyolo' etc.

nicostouch··on Why Isn't Debugging Treated as a First-Class Activity?
I often wonder why it's not treated as a first class citizen when teaching programming. I think there should be a full CS course dedicated to it.

I put together http://www.debug.coach/ because a guy I used to work with had better debugging skills than anybody and I noticed it was because he always knew the right questions to ask.

nicostouch··on Intercooler.js – Simple AJAX Using HTML Attributes
It's independent of Rails. It simply hooks the all calls to <a href> tags and replaces them with ajax get requests to the url.

It works really nice with Rails because of how easy Rails makes it return a piece of javascript to the page (this is called SJR) so there is some magic included for making form submissions work which is part of the Rails turbolinks gem. The javascript that the server returns to the page essentially calls Turbolinks.visit("/url-form-submission-would-redirect-to-after-completion") so that the expected navigation takes place. It's quite clever. I think you would have to replicate that in the Java world to get the full experience. This SO answer alludes to how you might replicate SJR https://stackoverflow.com/questions/26750738/java-spring-ret...

So I think out of the box you can expect clicking links to work (and that alone provides a great speedup), but ajax form submissions will require some work. If you look at some articles on how form submissions with turbolinks make use of SJR you could likely figure it out and implement it. It's overall not a very complicated mechanism.

I suppose Rails .erb templating engine also has some helpers which the form submission side of turbolinks relies on. Namely it includes a data attribute data-remote and that's the thing turbolinks hooks into to prevent the default behavior of the form submission and and instead fire the ajax request. In theory so long as your forms include that it will work if you have the SJR stuff in place on your back-end.

You could definitely roll full support for it.

nicostouch··on Intercooler.js – Simple AJAX Using HTML Attributes
turbolinks swaps out the <body> and merges the <head> tags of the incoming page with the existing <head> tag.
nicostouch··on All my aliases for 'clear'
So many coworkers said I should just alias c=clear or something like that. I don't know why... I just have a penchant for typing the full thing :) Badly it seems.
nicostouch··on Ask HN: What's your favorite way of getting a web app up quickly in 2018?
Well, he probably means source code management. However...if it's a SaaS you could have the marketing website hosted on github pages for free using Jekyll and that even incorporates a blog into your solution too! Then of course host the app on a subdomain using Heroku. So github can come into it that way if you think about it. Not a bad option at all!
nicostouch··on Ask HN: What's your favorite way of getting a web app up quickly in 2018?
It's so not fast to develop with though. I used to use it exclusively for years just cos that's what I knew. Switching to Rails now because Rails blows it out the water for speed of development. I still have a lot of love for Spring Boot just because of the power/flexibility and how incredible it is as a framework and marvel of engineering. But starting a spring boot app vs. starting a rails app is night and day in terms of how far along you already are with a Rails app especially if you use something like https://bullettrain.co
nicostouch··on Ask HN: What's your favorite way of getting a web app up quickly in 2018?
I started building a SaaS in Java/Spring and months in realised Ruby/Rails would have been stunningly faster to get the same result. The full write-up is here for reference http://tayler.io/5-lessons-learned-as-an-indie-hacker/
nicostouch··on Why Is New Zealand So Often Left Off World Maps?
lol it's cos we don't want anyone to know where it is. Why tell everyone about such a nice place? :)
nicostouch··on A debugging journey - debugging a weird bug in macOS
Interesting bug! Reading through this made me add a couple of new questions to http://www.debug.coach/

Could there be a bug in a library/3rd party code? Could there be a possible race condition?

I remember recently hitting a bug in a 3rd party library in a Jar provided by Oracle in WebLogic to do with an incorrect implementation of the W3C DOM API causing XML validation to fail whenever attributes were present. Of course the J-Unit tests provide a different Jar and thus a different (correct) implementation and no bug. Took ages to track down.

nicostouch··on Does Depression Have an Evolutionary Purpose? (2017)
probably to feed the lions
nicostouch··on The end of the cloud is coming
Yeahhh no. Try building Netflix on this as a platform. Then write a new article.
nicostouch··on Web merchants routinely leak data about Bitcoin purchases
Pretty much everyone in the bitcoin community takes this knowledge for granted. If you want actual privacy go with either Monero or ZCash.
nicostouch··on Tofu – The opposite of a font
TOFU = Terrified Of Fucking it Up.

e.g I wanna try it but i'm TOFU

nicostouch··on Ask HN: My company has been acquired and I'm kicked out. What should I do now?
Invest in digibyte. It's the future.
nicostouch··on Ask HN: Did your life as a parent affected your life as a developer?
Get a self-driving car and just do the side-projects during the commute.
nicostouch··on Root – Programmable bank account for software developers
China is nowhere near cashless. Though, they do do a lot of payments by mobile apps like Alipay and WeChat. I was there for 3 months recently and I used Alipay for almost every cos Im from NZ and whilst we have cash here I never use it, every transaction is done via debit card. Was so good when I got Alipay in China cos I hate cash. Still... China definitely isnt cashless.
nicostouch··on Ask HN: What are the most important problems in your industry?
bitrot. nuff said.
nicostouch··on Kim Stanley Robinson’s “New York 2140”
All the bitcoins will be mined
nicostouch··on Show HN: Chrome extension for less confusing Digital Ocean menus
Awesome work. I actually built a chrome extension yesterday to fix the log work experience in JIRA because of its horrible UX. Funny to see someone else with a desire to hack together a chrome extension to get the experience they want. DO even implemented a change in response! Thats just awesome. Their UX is pretty decent IMO but it does miss the mark in some areas. Its funny working in software we know how painful it can be to get changes like that all the way into production, yet isnt it amazing the speed at which you can move when you are free from any constraints and dont have to worry about any backend stuff or frameworks... just bolt something on the front and boom.
nicostouch··on Ask HN: What are some 'must watch' talks?
Such an epic lecture this!
nicostouch··on Ask HN: We've all been there, what was your big stuff up?
I was browsing through some web services code I had written a few months prior and was now doing a bug fix for it when I noticed an if statement with a boolean condition that would be easier to read if it were the other way around. I modified the condition to improve readability but in doing so actually flipped the condition. Luckily QA caught it otherwise it would have broken customer sign up through the web portal for a number of clients. Not a great mistake to make but it taught me a great lesson - never ever ever refactor something without the proper tests in place first, it's not worth the risk.
nicostouch··on Ask HN: Are there any startups willing to use the ASP.NET Core technology?
Congratulations on completely failing to answer the question.
nicostouch··on Ask HN: What is the best online learning subscription for S/W Developers?
I've only used pluralsight but it's ridiculously good in my opinion. I was asked at work to trial a couple of courses from some providers and in the process was signed up for the pluralsight free trial. The company decided overall it was too expensive, but I was hooked so I bought a subscription with my own money. It has definitely been a tangible boost to my career. I'd be interested to hear others experience of how other providers.
Page 1 of 2Next →