HNHacker News
TopNewBestAskShowJobs

adriancooney

1,716 karma · joined March 14, 2012

http://adriancooney.ie
submissionscomments
adriancooney··on “My Google account got suspended because of NewPipe”
This has genuinely scared me. As others have mentioned, I'm completely dependant on my Google for so many things. Is there any service out there that can fanout email received to multiple providers like Gmail or Outlook? It's not a great solution but helps with the vendor lock in.
adriancooney··on Introducing Hooks
After pouring over this API for the last 3 days and keeping up with the RFC, I think I have reversed my position. I felt I couldn't leave this comment like this because it doesn't reflect my opinion anymore. I think hooks are amazing. If the React team can nail the API down, I think hooks will be revolution in how we work in React. I still feel like it will make the barrier for entry a little harder but as an experienced React dev, they're fantastic.
adriancooney··on Introducing Hooks
My gut reaction is that Hooks isn't the greatest addition to React. One thing I've always pitched about React is the clean and extremely explicit API (with `dangerouslySetInnerHTML` being my favourite example). The hooks API is taking the dangerous road down to implicitness and magic which can only ever mean bad things in my book.

It's really not clear to me how calling the setter for these individual pieces of state triggers a render. It seems the `useState` call is implicitly linked to the calling component no matter how far down the call stack (with only a linting check keeping the safety on this footgun). I was also surprised to see the concept of reducers making their way to the API. We're being told the "classes are the biggest barrier to learning React" yet the notoriously difficult concept of reducers has its own method. Don't get me wrong, I _love_ Redux however I'm not sure I can get behind the shade for classes.

I'll have to play around with hooks before I can make a final call though because I have the utmost respect for everyone behind this project.

An interesting observation: I think this is the first piece of API that contains the word "assumes" [1].

[1] https://www.google.ie/search?q=site%3Areactjs.org%2Fdocs+%22...

adriancooney··on Introducing Hooks
I doubt the linter will enforce the same-ordering, that would require state between runs. I think the linter just ensures hooks are run at the top level in the functional component.
adriancooney··on Chrome 69 will keep Google Cookies when you tell it to delete all cookies
For all we know this could have happened!
adriancooney··on Rave.dj – an artificially intelligent mash-up machine
This is fantastic!
adriancooney··on Show HN: ChromeREPL, Interact with Chrome from Sublime Text
This looks pretty slick, looking forward to giving it a shot. It’s nice to see Sublime get a bit of love too in the age of Atom and VS Code. The Snippets tab under the Sources section of the Dev Tools has worked well for me in the past too.
adriancooney··on Reading privileged memory with a side-channel
Wow, what a find for the Project Zero team. This team and idea can only be described as a success, well done.
adriancooney··on Introduction to WebAssembly: why should we care?
I feel like a really big point people gloss over when it comes to WebAssembly is browser support. It’ll be years before we can drop JavaScript (not that I want to) because we’ll be waiting for IE and friends to drop of the face of the planet. WebAssembly could act like a catalyst to propel the web forward or segment it even more. I’m leaning more towards the latter, at least for the next 7-10 years or so.
adriancooney··on New Zealand to ban foreigners from buying existing houses
Wow. I had no idea the prices had increased so much. I'm paying just under double what you paid in 2012 for a 2 bed in the city centre.
adriancooney··on Cloudflare Stream – Combines video encoding, global delivery, and player
It's interesting that they have "monetization" in one of the panels in their process diagram. Does that mean Cloudflare is getting into the advertising game?
adriancooney··on Vue.js vs. React
This is exactly my concern with Vue, the API is huge! One of React's strongest points is the tiny API.
adriancooney··on WannaCry ransomware bitcoins move from online wallets
That is an extremely interesting point of view, thank you for sharing. Another thought: say some criminals pass their money through a mixer and like in the scenario you described, it's deemed worthless to any exchanges/payment processors because it's "dirty". Does this mean that, say they were feeling sour they couldn't book a hotel on Booking.com, could they potentially taint any public wallet address by sending tiny amounts of bitcoin from their tainted wallet to them? Can a user prevent/block coins being transferred to their account in the blockchain? If your prediction comes through, this could spell a disaster for Bitcoin because potentially every wallet could be tainted and thus all coins traced back to criminal activity.

As a side note, it's interesting to think that those "dirty" coins/wallets will be destined to circle around the black markets forever.

adriancooney··on Show HN: Quilt – manage data like code
Is there planned support for any other languages than Python?
adriancooney··on Recent version of Handbrake download infected with malware
What the absolute heck. Literally just the hash was updated yet the version stayed the same: https://github.com/caskroom/homebrew-cask/commit/461af7672fa...
adriancooney··on Why ML/OCaml are good for writing compilers (1998)
That was an extremely pleasant and convincing introduction, thank you for that. I'm definitely going to give this a try in future projects.
adriancooney··on Buck – A build system developed and used by Facebook
I've often found myself in a similar situation as myself where I just can't seem to enjoy using Make and never make it past trivial things. For that reason, I'll shamelessly plug what I think is a viable alternative: the Taskfile.

https://hackernoon.com/introducing-the-taskfile-5ddfe7ed83bd

adriancooney··on Rabbit hole leads to 700-year-old Knights Templar cave
Newgrange[1] in Ireland has a bunch of extremely old graffiti and it's amazing. You can clearly see dates carved into the rock from the 1800s alongside people's names.

[1] https://en.wikipedia.org/wiki/Newgrange

adriancooney··on Debug React Component Performance with ES7 Annotations
Since this is entirely for debugging purposes, I feel like the decorator is perfectly fine until the standard is complete. It's unobtrusive (i.e. no refactoring needed) and easy to remember. Maybe a warning inside the decorator is `process.env.NODE_ENV === "production"` warning would be nice.
adriancooney··on No One Saw Tesla’s Solar Roof Coming
Its a dodgy business though converting your entire roof to this technology (in its first iteration too). What if a tile breaks? Whats the lifetime on each tile?
adriancooney··on Russian ship loitering near undersea cables
Ars Technica had a great piece on how these undersea cables: http://arstechnica.com/information-technology/2016/05/how-th...
adriancooney··on React Game Kit
I've often thought React would be perfect for creating games with. Even attempted my own framework similar to this using the canvas but it fell down when it came to rendering. I felt like React really didn't suit the update/render loop approach. It doesn't seem to talk about it on the project page so I wonder how this works. Using the DOM?
adriancooney··on Autoencoding Blade Runner: reconstructing films with artificial neural networks
Middle-out compression.
adriancooney··on Programmers are not different, they need simple UIs
I honestly believe this is the reason why React is currently winning the web tech wars. The API is minimal, clear and concise. Once you've mastered the few functions and concepts, you rarely have to reference the documentation and understand what tools you have to solve a problem. A major source of frustration with me as a programmer is implementing something only to find the library or framework I'm using has already included it in its core, it's just not in the documentation or hidden in a huge API reference. It's a refreshing experience when libraries and frameworks appreciate the product and the programmer.
adriancooney··on Two Bytes to $951M
I love these write ups! Does anyone know where I can find more like this and disclosures (like the Hacking Team)?
adriancooney··on LinkedIn password leak
This is just unforgivable. This is such an incredibly basic and simple to implement feature and they've just ignored it. There should be some legal repercussions for companies neglecting security. When they surpass 100,000 users, a mandatory security audit should be passed (like a health and safety inspection). Data breaches like these just happen far too often.
adriancooney··on Apple is now run by a guy who is more like John Sculley than Steve Jobs
Three types of Macbooks because of the size requirements but why three different types of watch?

I'm in the camp of believing Apple's product line-up is too big. It's having a huge negative impact on their software quality too.

adriancooney··on Berlin Is Banning Most Vacation Apartment Rentals
That's extremely kind and helpful! Would you mind me saving your details for future use? I'd love to setup in Berlin at some point.
adriancooney··on Show HN: Jam API, turn any site into a JSON api using CSS selectors
This is a fantastic idea and I'm really surprised nothing like this has existed before, it seems like such a no-brainer. Great work.
adriancooney··on Show HN: Booleans as a Service (BaaS)
Someone should build and EXTREMELY slow CPU with this as it's register.
← PreviousPage 3 of 5Next →