HNHacker News
TopNewBestAskShowJobs

Raphmedia

5,930 karma · joined June 26, 2013

I'm a full-stack web developer with emphasis on the front-end. Ask me about my mad css skills.

(English is my second language. So I may make stupid grammar mistakes.)

———

• Full-stack web developer @ http://robotshop.com/

• Opinions are my own and not the views of my employer

• raphael AT-AT raphmedia DOT com

• topcolor: 50b1db

———

submissionscomments
Raphmedia··on Show HN: Notimeforbooks.com – Read a book, one page at a time, in your inbox
Hi! You should take a look at https://mjml.io/ (not a service I am associated with, simply one of the easiest to use) and make a responsive email template for your service. If you have a contact somewhere, I'd be willing to help you out with that if you need assistance.
Raphmedia··on Show HN: Notimeforbooks.com – Read a book, one page at a time, in your inbox
This is pretty nice, I'll without a doubt be using it. With the way gmail threads the mails it works great too.
Raphmedia··on Codem Ipsum: Lorem Ipsum but for Code
It keeps throwing me

"SyntaxError: unknown: Unexpected token (1:20)"

on valid code

Raphmedia··on Thousands of Facebook internal documents and emails published online
Any mirror? This server seems to be choking.
Raphmedia··on Where is Notepad in Windows 10? (2015)
I doubt that Microsoft has a partnership with Adobe. They are different companies. And the point is moot since you can install Gimp instead.
Raphmedia··on Amazon is shipping expired food, customers say
> why would anyone still buy items in Amazon that are otherwise typically found in pharmacies or grocery stores?

Sometimes, it's comparing a one hour drive to the nearest town vs. waiting one day for free shipping.

Raphmedia··on I just lost my wallet on the way home from work
Two tons and growing.

However, FB should have filters for those instead of grouping everyone in there.

It makes no sense that the person living in the same town as me with a genuine profile is in the same interface as accounts written in foreign languages with 1 friend and a creation date of two days ago.

Raphmedia··on The Highest Suicide Rate in the World
Yes, this is one of the factors at play but there are no proof that seasonal depression is the main one. All of northern countries have this issue without having such high suicide rates.

This issue is a sociocultural one. There has never been any proof that Seasonal affective disorder (SAD) can increase suicide rates that much. Living up north, I can assure you that everyone is aware of SAD and is taking steps to minimize it. Omega-3, vitamin supplements, light therapy, etc.

Raphmedia··on The Highest Suicide Rate in the World
It is not the latitude that is causing the suicide rates. The at-risk populations just happen to be there. Causality does not equal causation.
Raphmedia··on Anxious tech workers are going to therapy
Going to a therapist that you don't like isn't a setback. It's getting closer to being aware of which kind of therapy is good for you. It's perfectly okay to jump around.

The first appointments are usually going to be freeform discussions, so you'll be able to see if there's a connection.

Raphmedia··on Anxious tech workers are going to therapy
The best way I can describe therapy to a tech oriented person is this:

Therapy is rubber-ducking for your brain and thinking patterns.

Sure, you can figure the bugs by yourself but you often get stuck in your ways of thinking which make you blind to them.

The therapist is the equivalent of a senior brain & behavior engineer. Use them, talk to them. Talk about your quirks and your bugs.

You may think you have a perfect solution, but that solution is most likely flawed. You wouldn't expect a software to debug itself. You wouldn't expect a junior to fix huge breaking issues.

Raphmedia··on Beyond Meat and KFC partner to test fried plant-based ‘chicken’
They had chicken burgers before and there's those burger breakfast sandwiches
Raphmedia··on Show HN: Hello
This is pretty great. I use Momentum but it has become bloated with paid features.
Raphmedia··on Native lazy loading has landed in Chrome
You already know that ìn` will return either `true` or `false`. Why use `==` which will convert data instead of `===` which will test for a boolean directly?

Ignore the symbols and use the words. Which makes more sense to you?

"[My test] strictly equals true." or "[My test] loosely equals true."

Raphmedia··on Native lazy loading has landed in Chrome
> Or if you are programming defensively – by choice or because the codebase is messy.

This accurately describes the majority of JavaScript projects I have worked on.

The last web agency I worked at even had linters checking against '=='.

See this table https://dorey.github.io/JavaScript-Equality-Table/ which displays how unsure you can end up when using '=='.

> Most JavaScript developers (who aren't familiar with JS coercion rules or the difference between == and ===)

It rings strange to me that you would believe that developers who focus on one language ("JavaScript developers") wouldn't know the quirks of that language. Not all JS devs are juniors.

I prefer to follow this rule, "never use == and != unless you need type coercion". You know that your expected results is 'true' then why not test for that only?

Raphmedia··on Native lazy loading has landed in Chrome
It's quite common to compare against "true" using "===" in JavaScript.
Raphmedia··on Yes, I’m Feeling Bad About Climate Change. Let’s Discuss
“When something is important enough, you do it even if the odds are not in your favor.” -Elon Musk

If nobody ever tries, nothing will ever change. Change inspires change. Someone seeing you plant a tree might very well decide to plant one themselves.

Raphmedia··on My Sudden Trip to Hell
From my experience, poverty do increase your sadness and make your life really harder. It yanks away a lot of control from you and your ability to exert your free will is reduced. It also comes with stress, especially in countries without social networks and safety nets.

It won't however make your positive moments any less important. You will be more likely to suffer from mental health issues but that's statistics and they don't represent daily life of people accurately.

If you are not suffering from something such as depression you will still find satisfaction from social encounters, from your community and your family. Unless living in a dangerous situation, your will still be able to feel content about your life. Love will still matter just as much.

That being said, this is my experience living below the poverty line in Canada where healthcare and social programs exists.

Raphmedia··on My Sudden Trip to Hell
One surgery had complications, they had to remove a large portion of her carotid artery during an emergency procedure. She was dead for a bit too long and suffered brain damage from it. The other time, she bleed out from a hysterectomy.
Raphmedia··on My Sudden Trip to Hell
Growing up in total poverty, raised by a single mother who fought cancers and died twice on operating tables let me tell you one thing.

Money is nothing. Poverty won't make you unhappy.

Humans are good at finding new baselines. Poverty will simply become your new normal and the little things of life will still bring you joy. Seeing a loved one will still make you a smile. Life is worth living even without any ressources.

Raphmedia··on Hundreds of extreme self-citing scientists revealed in new database
Is "Woosh" really being that much of a jerk? It's a reference to https://www.xkcd.com/1627/
Raphmedia··on Hundreds of extreme self-citing scientists revealed in new database
[1] https://news.ycombinator.com/item?id=20752035
Raphmedia··on The Nightmare of Valve’s self-organizing “utopia” (2018)
I have 5725 points and I consider that most of them are the equivalent of small talk. Points are worthless, except to inflate your ego.
Raphmedia··on Psytrance Guide
This is like saying analog music is too segmented because both rock and metal are played with guitars. Imagine searching a huge "analog music" catalog for hours and hours until you stumble on Country music. You would go through so many other genres until stumbling on what you were looking for.

People make music first and labels appear after.

An example I like is Witch House. The name was originally conceived as a joke:

"Myself and my friend Shams were joking about the sort of house music we make, [calling it] witch house because it’s, like, occult-based house music. I did this best-of-the-year thing with Pitchfork about witch house. I was saying that we were witch house bands, and 2010 was going to be the year of witch house. It took off from there. But, at the time, when I said witch house, it didn’t even really exist..."

"Shortly after being mentioned to Pitchfork, blogs and other mainstream music press began to use the term. Flavorwire said that despite Egedy's insistence, 'the genre does exist now, for better or worse'."

Raphmedia··on It's raining plastic: microscopic fibers fall from the sky in Rocky Mountains
Some plastics are endocrine disruptors.
Raphmedia··on Facebook has been granted patent on shadow banning
We have gone well beyond the message I wanted to convey. But for the sake of XKCD:386, let me dig a little further in this hole.

You have just described two different things, with different names and different logics. The results of running both is the same but the two are not the same thing.

Moderators sharing lists of usernames to ban versus the software itself banning users globally is not the same thing either. Again, the result is similar, but the process and logic are different.

It is important to make a clear distinction between similar processes.

But yes, you're right, the results are identical and most users will not see the difference.

Raphmedia··on Facebook has been granted patent on shadow banning
One is a flag on the user's account, the other is adding a username to a bot's watch-list. They act the same but are not the same thing.

That would be like saying that paying an employee to watch someone's account and manually delete every comments and submissions is a shadow ban. It is not. AutoModerator is an amazing piece of work but it is just that, a robot moderator.

But that's not the point. The point is that "an unpaid, unaffiliated subreddit moderator" cannot blanked ban you from the website (and that being a premium user won't protect you from such bans either).

Raphmedia··on The Lonely Work of Moderating Hacker News
Same here. Dang has sent me such warnings before and it's always with such politeness that you end up feeling like an uneducated fool. HN has some of the best moderation that I have seen in a while. I have been a moderator for a large website in early 2000's and I can only admire them. This is no easy task.
Raphmedia··on Why is modern web development so complicated?
It seems to me that you are describing click-bait blogs and the work of junior trend-driven developers. I have worked with plenty of clients who actually needed SPAs. Custom CRMs and ERPs, etc.

The quality front-end developers are not the ones who make small blogs or small corner store websites. It's agency developers working on huge projects. Those projects have big budgets on optimisation and page speed.

Switch your gmail account to Basic HTML (https://support.google.com/mail/answer/15049) and see how the SPA version isn't any slower but in fact much more pleasant to use.

"The web" isn't an entity. It is a network of websites and applications. Some of them are slow and over-engineered and others are bloated excuses to display adverts. I can assure you that every single front-end developer I have worked with understood those issues and pushed for the right technologies.

Raphmedia··on JPG vs. PNG vs. GIF vs. SVG
Why use a chart? It's what, four questions?

Is it a vector image? -> Use .svg

Is it an illustration (bitmap) with transparency (i.e. a cutout of a man) -> Use .png

Is it animated? -> Use .mp4 and fallback to .gif

Is it a photo? -> Use .jpg and compress as much as possible

← PreviousPage 7 of 34Next →