HNHacker News
TopNewBestAskShowJobs

component

98 karma · joined June 30, 2016

submissionscomments
component··on Piped – An alternative privacy-friendly YouTube front end
I recently learned about Piped - liked it so much that I've made an iOS shortcut [1] that replaces YouTube URLs with piped.video

edit: iCloud link

[1] https://www.icloud.com/shortcuts/d8ee1ef618da423e889272f9c0f...

component··on Ethiopia is now Africa's fastest growing economy
Salaries went up a bit also tax was reduced - needless to say the price spikes aren't proportional but it's a start
component··on Ethiopia is now Africa's fastest growing economy
Ethiopian here

Yes, Chinese contractors are having a big boom (banks, stadiums, airports & roads)

There's a shortage of foreign currency due to the mega projects underway - medicine, electronics, car prices have nearly doubled

component··on D3.js 5.0 is out
I still use on axios over fetch. Mainly because fetch doesn't have abort function. axios implements cancelable promise proposal that didn't go though TC39

Tho it has been a while since I checked TC39 status on fetch

component··on iPhone X
They worked with Hollywood mask makers. On the keynote they said it still knows you if you're wearing a scarf, sunglasses, grow a beard...

Touch ID: 1:50,000

Face ID: 1:1,000,000

component··on Feather: Open-source icons
Should be noted the _bundled_ SVG set of Feather on icomoon is out of date.
component··on Show HN: Schwifty – make a Spotify playlist
It's now mobile ready
component··on Show HN: Schwifty – make a Spotify playlist
Thank you for your feedback

Added a link to the original tweet that inspired the app

component··on Show HN: Schwifty – make a Spotify playlist
Inspired by: https://mobile.twitter.com/errikkxa/status/84934921200542105...

PS: it's a weekend hack; I'll optimize it for mobile soon

component··on Facebook Announces React Fiber, a Rewrite of Its React Framework
Angular 1.x was never meant to be an MVC initially. It was mainly for templating then they started adding stuff to it (services, directives, digest cycle, dependency injection...) leading to API bloat

By the time Angular 2 was released, Ember, Vue and React have devoured the market

component··on United Broke Its Contract with Flyers
[1] Pepsi: That was the biggest PR blunder of the week, year maybe.

United: Hold my beer.

Sean Spicer: LEEEEEEEEEERROOOOOOOY JEEEENNNNNNKINS!

Fickle indeed. Hopefully United learns from this incident, tho I think it's unlikely

There's also an episode of It's Always sunny in Philadelphia (S12E04) where they talk about the 24 hour news cycle - which pretty much sums up social media unforgiving nature

[1] https://mobile.twitter.com/lance_bradley/status/851864862426...

component··on Instagram Stories hits 200M users, surpassing Snapchat
> My understanding is that SnapChat's inscrutable UI is deliberate: they want you to have to be shown how to use SnapChat by someone already on it, to avoid the "My grandmother's on Facebook, how uncool is that?" problem.

Couldn't agree more

It's evident by most of the comments here

Instagram / Facebook / WhatsApp will not get that < 25 demography

I doubt Instagram counts this as success. They didn't get any new users - that was the main goal when mimicking Snapchat

component··on Show HN: Colormind – Color schemes via Generative Adversarial Networks
I just tested coolors out using a screen capture of Spotify desktop on MacOS and it didn't pickup the green color. I guess it's only picking out dominant colors

Colormind picked the green color on all attempts

Edit: after several more attempts coolors started picking up the green color

Test Image: http://i.imgur.com/6pMMV4W.jpg

component··on How to Write a Git Commit Message (2014)
This is great

Some of the active verbs are also commands that automatically close/reference issues right out of the box on GitHub & BitBucket (& I'm sure on GitLab too)

component··on React Conf 2017 Livestream
The creator of Inferno joined the React team a while back. Performace wise, I'm sure some of that Inferno magic will be there
component··on A little-known iPhone feature that lets blind people see with their fingers
There's an iOS accessibility engineer who's blind [1]. It's amazing how dedicated they are on accessibility features

[1] http://mashable.com/2016/07/10/apple-innovation-blind-engine...

component··on Whiteboard sticker for your laptop
Sadly, yes it is "staingate"

Did a bit more digging and found a site [1] which has a gallery of affected MBP, showing the different levels of "staingate"

[1] http://staingate.org

component··on Whiteboard sticker for your laptop
> Unfortunately for my screen-doodling habit, new MacBooks have some kind of coating (AR? Oleophobic?) that causes the marker's fluid to bead up, ruining the effect.

I can confirm, my mid 2014 MBP screen is _ruined_. Tried alcohol, screen wipers (which actually made it worse)

I am this close to using a detergent (I know I shouldn't). Any suggestions?

component··on Show HN: Read Hacker News Like Pinterest – Built with Vuejs
Adding on the issue of refresh; I usually access HN on my iPhone - currently every back action triggers a _refresh_. A great example of back action handing is Reddit's mobile page.

Other than that the whole thing looks really neat.

component··on Hyper 1.0.0
Zeit team is amazing, thier OSS is examplary; what they've achieved/ing in relatively short time is astounding. I highly recommend their blog [1], an absolute joy to read.

Congrats to the team and all the contributors.

[1] https://zeit.co/blog/

component··on iPhone 7
Nope, only FaceTime had the ability to show native call interface.

Previously, WhatsApp showed you a notification when you get an incoming call (if app closed / minimized).

Seems iOS 10 is allowing apps to take over the screen for calls (just like they did on iOS 9 with reply via notification which was only available on iMessage)

component··on Google isn’t safe from Yahoo’s fate
> Google has a lot of core things going for it which are no longer the search-market

Google still makes most (~90%) of its revenue from search.

All the other products need to be[come] succusful for them to be considered alternatives for revenue.

component··on Official Telegram for MacOS logs every pasted message to syslog
Earlier post: https://news.ycombinator.com/item?id=12150081
component··on Hack – CSS framework for Hackers
This is more of a collection of other libraries into "one". From what I saw it doesn't provide much to be called a framework.

Or am I missing something?

component··on 100 Days of Swift: The Tutorials
I remember seeing the projects on Medium [1] and thinking it would be pretty cool if the code was available.

It would be more awesome if the code alone was available for free and charge for the videos. But I'm sure the countless hours spent on making & editing the videos/Projects justifies the price.

[1] https://medium.com/@samvlu/100-days-of-swift-736d45a19b63

component··on Performance Comparison of JavaScript Frameworks
> so many frameworks have benchmark charts on their own site which indicate they're all faster than everything else

Whenever I see something like that, I usually lose interest. I don't want to see benchmarks, I want to see what it brings to the table.

Bad:

- ours is X times smaller compared to Y

- ours has the full package compared to X

- you don't have to worry about doing X. You would, if you were using Y

- ours is faster than X (some graph where they're winning)

- rant on X

Good:

- we took this approach

- we enforce X as it helped us achieve Y

- we took features we liked from X, Y, Z...and came up with this

component··on Why I'll never abbreviate a variable as long as I live
I should have clarified. The coder style of naming might seem to be run through minifier, but the coder actually wrote 'a', 'aa', 'aaa'...

My guess is that the coder saw a minified code a took it as a standard or something.

component··on Why I'll never abbreviate a variable as long as I live
I don't understand.

Why would one submit a minified code for a review?

A friend of mine used to work at a place where one of the coder actually used 'a', 'aa', 'aaa'...when naming variables.

component··on Why I'll never abbreviate a variable as long as I live
Whenever we interview a candidate, the one thing we give high premium on is structure, the rest come next.

bad variable names, long complex code...can easily be adjusted. If the candidate doesn't have a good understanding of how to structure a code (what goes where, for what purpose, separation on concern...), it'll take much more effort to teach that candidate than to teach the bad variable namer.

Properly structured code naturally leads to a better performing software, even if/when a bug arises it'll be easier to spot / test.

All that being said, if a coder names a variables, 'a', 'aa', 'aaa', 'aaaa' that's a serious red flag.

component··on .DS_Store files always hidden from Finder in macOS Sierra Beta
A global gitignore solves that.

The file is available in the Terminal. I don't see the point of seeing a `.DS_Store` file on finder.