roboguy12
|
6 years ago
|
on: It’s Time for Caps Lock to Die
Also, for the macOS users, there's a great emoji picker interface: cmd+ctrl+space brings up a very similar-sounding menu where you can search by typing, or scroll through and click the one you want.
roboguy12
|
7 years ago
|
on: Revery – Native, high-performance, cross-platform desktop apps
roboguy12
|
8 years ago
|
on: What are your thoughts on using Clojure for more than 2 years?
I'm mildly comfortable with clojure, but haven't used it in a number of years. The code linked here looked pretty typical to me; could you possibly elaborate on the differences between this and some more modern clojure, or maybe a reputable link to a blog post outlining the ways the language has changed?
roboguy12
|
8 years ago
|
on: Javascript Arrays and Functional Programming
Here's an example of why it's useful for me to see articles like this on HN. I'm an engineering manager, and someone on my team recently joined who wasn't very familiar with these more functional styles. I offered to explain to him benefits of declarative styles like this vs imperative, but he said he learned better by reading. He asked if I had any articles that I'd recommend about the topic, and since I've seen this, I'll send it his way.
roboguy12
|
8 years ago
|
on: ECMAScript 2017 Language Specification
And, when you compile it to JavaScript, you can choose the target language level. So, you could write Typescript and have it compile such that in essence, all it does is strip out the type annotations.
roboguy12
|
8 years ago
|
on: One month with React Native
Same. I evangelize TypeScript whenever I can. I don't think I'll ever be as efficient in JavaScript as I am in TypeScript, now that I've tried it. Granted, it has its quirks, but (especially when writing React) it's invaluable to me.
roboguy12
|
9 years ago
|
on: Ask HN: Do you think Electron is good for building Desktop Apps?
roboguy12
|
9 years ago
|
on: Show HN: Polished – A lightweight toolset for writing styles in JavaScript
+1 for typestyle. My team and I have been using it for the past few weeks in trying to clean up a rather monolithic css project, and it's been really cool to work with.
roboguy12
|
9 years ago
|
on: Java 9 is scheduled to launch in July
My experience with kotlin so far has been great. I've used it in personal projects, and am in the process of converting some microservices at work to it from java (the interop is seamless, so I'm able to do it incrementally as opposed to a full rewrite). People ask me what the difference is between kotlin and java, and I typically reply with "it's java, minus all the bad stuff". Variable types are inferred, map/reduce/filter are builtins and don't require going through a Stream, there's no need for Guava anymore since listOf() and mapOf() are builtin, boilerplate-reducers like data classes continue to speak to the whole "it's pretty much java, but how you _want_ to write it" mantra. It nails all of the little things that java has just missed, like in an if-block after checking a variables instanceof, you don't need to explicitly cast it to that type. There are tons of simple things like this that just come for free, and when you go back to java it's amazing how much extra, pointless boilerplate you need to write. I personally don't see any reason for me to ever write java again.
roboguy12
|
9 years ago
|
on: Show HN: Boilerplate for Node.js and TypeScript with Jest tests
FWIW, Typescript also has async/await, as of 2.1 (in reference to the Alternative section in your README).
roboguy12
|
9 years ago
|
on: A monthly release cadence for React Native
Aside from the live reloading and being able to write in javascript as opposed to Swift/Java, the development paradigms of React is just better, IMO. The component-based design patterns and event-dispatching-based control flow just make so much more sense to me than the traditional Android/iOS way of doing things (I have experience in both the web and mobile). It's easier to test, easier to read/write, and easier to reason about. This is just opinion of course, others may not feel the same.
roboguy12
|
9 years ago
|
on: LLVM's New Versioning Scheme
> Why not be brave about it and use date-based numberings
Like IntelliJ IDEA? The version I'm running right now is 2016.3.1
roboguy12
|
9 years ago
|
on: Spotify might be killing SSDs by design errors?
I've been using Google Play Music since it launched, and I'm very happy with the service. It works very well on web/Android/iOS, and there's rarely anything that I find missing from its catalog. And, for the rare times that I do, Google Play Music comes with YouTube Red, which gives you ad-free playback and offline caching.
roboguy12
|
9 years ago
|
on: Macbook Pro Touch Bar runs watchOS
I've had `jj` bound to ESC for several years now, and I know lots of people who use `jk` or `fj` too. Hitting `jj` is super quick and barely requires movement, but I've always hated the small delay after typing a `j` (while it listens for another `j` to complete the chord). I may have to retrain myself to use ^[ instead.
roboguy12
|
9 years ago
|
on: Netflix Now Only Has 31 Movies from IMDB's Top 250 List
Last weekend my wife and I wanted to watch the movie Goat. It was pretty recently in theaters, so we didn't expect it to be on Netflix. We searched HBO Now, Hulu, Starz, and all of the other video streaming services that we have (and pay money for!). We found two options - rent it on Google Play Movies, or rent it through Amazon Prime. Now, we wanted to Chromecast it, and Amazon (to the best of my knowledge) does not allow you to do that, presumably because they want you to buy their Fire TV instead.
So, we spent the $6 to rent the movie on Google Play. About 10 minutes into the movie, the quality plummeted and playback stopped with an error code. We called customer support and they talked us through possible solutions for ~35 minutes before we gave up and asked for a refund. It wasn't a problem with our Wifi, since Netflix/Youtube and other services worked just fine, it was a problem with Google Play streaming to the Chromecast.
After searching and trying for over an hour to watch a movie legally using paid services, we went to putlocker, plugged an hdmi cable into my computer and streamed it just fine. We really, really tried to do it the legal way and pay money for the content we wanted to watch, but it was far too complicated to even find a place to watch it, let alone actually successfully watch it. I was reminded a lot of this comic http://theoatmeal.com/comics/game_of_thrones throughout the whole thing. All of this fragmentation is going to become a huge problem again, when piracy is just so easy and convenient.
roboguy12
|
9 years ago
|
on: JavaScript Conquered the Web, Now It’s Taking Over the Desktop
> The ecosystem is terrible and the community is full of self-righteous assholes who has the collective attention span of a 2 year old
> I don't think he 'stooped' to anything
Really? This is supposed to be a place for civil, mature discussion. There are plenty of valid arguments against javascript as a language and as a community, there's no need for childish comments like that.
roboguy12
|
9 years ago
|
on: A bite of Python
I forget the second half of the line, but one of my high school English teachers would always say "being is bad, ...", meaning there's rarely ever a time when you'd want to use it over some other way of saying it. I guess it's along the same lines as "don't end a sentence in a preposition".
roboguy12
|
9 years ago
|
on: The Typography of ‘Stranger Things’
I've been meaning to watch this show, but haven't yet gotten around to it. But, having just watched the title song video, I absolutely agree with the music aspect. I just recently saw the movie It Follows an 80's-influenced horror/suspense movie from 2014, and it has a lot of the same aspects as what I saw in the trailer, especially with the music. I'd recommend it to anyone based on the music alone, but as far as horror movies go (I'm usually not a fan) it was brilliant.
roboguy12
|
10 years ago
|
on: A few tips for writing macros in Clojure
I thought that at first too about infixes being better (I've only been using Clojure for a few months), but I'm beginning to find the opposite. The only times when I miss an infix syntax is when doing math
1 + (2 * 10) - (12 / 3)
is so much easier for me to read to read than
(- (+ 1 (* 2 10) (/ 12 3)))
But when working with functions, I much prefer the standard Clojure syntax.