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 Feds: Chinese spies orchestrated hack that stole aviation secrets
> A 21-page indictment filed in US District Court in the Southern District of California said the Jiangsu Province Ministry of State Security, an arm of the People’s Republic of China’s Ministry of State Security, directed the five-year campaign.

How would you call the spies if not "Chinese"? They are the People’s Republic of China’s Ministry of State Security's spies.

Raphmedia··on China Telecom diverted internet traffic in U.S. and Canada, report finds
Schneier's post on it.

https://www.schneier.com/blog/archives/2018/10/chinas_hackin...

Raphmedia··on Google X Executive Accused of Sexual Harassment Still Works There, Employees Say
Accused != convicted.

The article itself says that 48 people (13 of them seniors members) were fired for similar claims. It's not as if Google was turning a blind eye.

Raphmedia··on Web Performance 101
> [1] https://getoptimage.com/benchmark

A score of 24/55 for TinyPNG and then 55/55 for their own service makes it look as if this article is an advertisement. Especially since TinyPNG gets better/very similar file size while staying visually lossless up to a point (images where it's nothing but a bunch of rainbow gradients are its weakness).

Remember that TinyPNG is optimized for web use where artifacts are tolerated. It was configured with that in mind. They test for images that are visually identical and won't get it from any images optimizer that is made for web usage.

Users only spend a few seconds looking at images that on web pages and the artifacts from optimizers are very minor. See: https://3perf.com/talks/web-perf-101/#images-compress-jpg-si...

Raphmedia··on Facebook exodus: Nearly half of young users have deleted the app
Deleted the app but still using the browser to view my feed. Nobody likes the aggressive notifications and bad battery usage that comes with the app.
Raphmedia··on Copyright Office Adds DMCA Exemption for 'Abandoned' Online Games
> host them publicly.

What about HTML5 / JavaScript games where you have to upload publicly?

Raphmedia··on Is front-end development having an identity crisis?
Programmers that have front-end web development has their main area of expertise are still programmers. The difference is in the tasks. As this person said, they do CSS/JavaScript and even step in the UI/UX expert shoes. Then even do design work.

I have a similar task description and my title is "full-stack web developer".

I simply call myself "web developer" as I consider that being able to deliver a website from A to Z is a requirement of my job. From design to back-end to hosting to SEO.

Raphmedia··on Christie’s sells its first AI portrait for $432k
That was my point. The fact that this is the first piece that is recognized as a work of art AND was sold at a high price will only make this piece increase in value as time go on.
Raphmedia··on “Stress Hormone” Cortisol Linked to Early Toll on Thinking Ability
Hey at least now it's public and not hidden somewhere deep in Facebook's shadow profiles code.
Raphmedia··on Ban organophosphate pesticides to protect children's health, experts say
Oh woah.

My mother has a lot of those and they keep crumbling and she has to have them changed. She swallowed a few of them. She also suffer from neurological diseases and fibromyalgia.

That those are in fact made of mercury is blowing my mind right now.

I'll advise her to get her mercury levels checked out.

Raphmedia··on Christie’s sells its first AI portrait for $432k
It's one of the first work of art by an AI. Think of how much this fact alone will increase the price of the painting in 200 years.
Raphmedia··on Incomplete List of Mistakes in the Design of CSS
There's logic in CSS. Selector specificity, cascade, inheritance, display types, etc.

Once you grasp the few parts that requires understanding you only need to remember the syntax and the declarations.

Then the real challenge is to organize your stylesheets in such as way that allows your styles to grow.

I've seen from experience that most people don't even try to learn the language. They come in with no knowledge of the cascade, wonder why everything fails and blame it on the language. Most "bugs" related to CSS can be spotted and fixed in minutes.

Ex: ID selectors are always stronger than classes when it comes to selector specificity. A class can also be mixed with an element selector to increase its weight but it will never beat an ID. Someone who is not aware of this will try to have a class selector be stronger than an ID and get strange results. Instead of fixing the selectors they put an !important on the class selector to have it be stronger than the ID. The stylesheet then quickly become a mess.

Raphmedia··on Incomplete List of Mistakes in the Design of CSS
> The fact that people find it so confusing is one.

Problem is that they never learned it. They jump in thinking "I know how to code, everything should make sense to me" and hit a wall. CSS is not like regular coding.

I went to a technical college and one of the class was on CSS. It's the class that everyone aced. Even the people who would fail miserably in every other parts of the industry.

CSS is not hard but it requires some memorization.

Raphmedia··on Is Gutenberg the End or a New Beginning for WordPress?
Even if they were to make the default theme based on React, nobody is using it. Everyone switch to something else right after install.

Should they change the entire stack to use React, they would lose a lot of their community. A lot of their users are code novices that make do with simple HTML and some PHP snippets.

Raphmedia··on Is Gutenberg the End or a New Beginning for WordPress?
It's the WYSIWYG in the admin and you can still opt out to use TinyMCE. AFAIK, the front-end of Wordpress isn't using React.
Raphmedia··on Lavender’s Soothing Scent Could Be More Than Just Folk Medicine
> it's possibly the poorest quality "study"

Agreed and that's why I said there's a "fear" about it and not a "scientific fact".

Raphmedia··on Lavender’s Soothing Scent Could Be More Than Just Folk Medicine
I wonder if topical application of lavender oil could help in the case of MTF hormone replacement therapy.

The articles say that it doesn't increase serum estrogen levels but I wonder if it might help the skin to achieve more "female" properties.

Raphmedia··on Lavender’s Soothing Scent Could Be More Than Just Folk Medicine
Well, there's the whole "could make breast grow on boys" fear going on too.

This might stop some of the people who jump on bandwagons from using it without talking with a doctor first.

https://www.nih.gov/news-events/news-releases/lavender-tea-t...

Raphmedia··on Lavender’s Soothing Scent Could Be More Than Just Folk Medicine
Entirely possible. Think of cilantro that tastes and smells like soap for some people. Contrary to popular belief, we do not all perceive the world in the same ways.

"This may be traced to the OR6A2 gene, an olfactory receptor able to bind many of the aldehydes implicated in the herb's very particular smell. Perhaps those with a specific variation in the gene are particularly sensitive to its soapiness."

http://mentalfloss.com/article/91060/why-does-cilantro-taste...

https://flavourjournal.biomedcentral.com/articles/10.1186/20...

Raphmedia··on In Japan, the Kit Kat Isn’t Just a Chocolate
I believe that HN readers also have a special place in their heart for Japanese snacks after those articles got trending:

https://www.candyjapan.com/behind-the-scenes/algorithmic-fit...

https://www.candyjapan.com/behind-the-scenes/how-many-lines-...

Raphmedia··on Spent – Poverty Simulator (2011)
(Canadian)

I pay $35/month for 1GB of mobile internet + unlimited phone calls/texts. Over that, I pay 47$/month for unlimited 30Mbps internet. That's ignoring taxes.

Take a look:

https://www.planhub.ca/quebec/compare-cellphone-plan/0min.10...

https://www.planhub.ca/quebec/compare-internet-plan/search?l...

Remember that the province I live in is more the size of France and is covered with ice during winter. Carriers have to support the entire province and then the entire country.

See those size comparison:

https://mapfight.appspot.com/quebec-vs-fr/quebec-france-size...

https://mapfight.appspot.com/ca-vs-fr/canada-france-size-com...

Raphmedia··on Two in Three Americans Now Support Legalizing Marijuana
> The biggest complaint I ever hear that isn't based on a non-truth is "it smells bad".

Why should you send someone to jail based on their smell?

You can legally cook pungent meals, burn smelly incense, slow cook meat over a stinking smoker, smoke fetid home rolled cigarettes, take one shower every month, have terribly foot fungus or a really bad case of farts.

All smelly but legal things.

Here in the Canadian town I live, you are not allowed to smoke or vape it on any public land. If you rent, your landlord has to agree to it. You can legalize it and still control it.

To be honest, the smells decreased since it was made legal. Police would tolerate it so nobody called for "pot smell". That was a bad waste of resources. Now that it's up to the landlord to enforce it, people are more willing to call.

I would never call the police on my neighbors for a smell. If I knew that someone went to jail over personal use because of me, I would feel really bad.

However, I would ring the landlord in a heartbeat if their action was not allowed in the lease.

Raphmedia··on Space Transportation System
Videos were very instructive back then too.

At some point, we started to prioritize form over function.

E.g. https://www.youtube.com/watch?v=yYAw79386WI [Around The Corner - How Differential Steering Works (1937)]

Raphmedia··on I woke up unable to speak English
Also the psychological trauma of no longer being able to speak a language you technically know.
Raphmedia··on Microplastics found in 90 percent of table salt
Who would benefit from it? Foreign entities trying to wage a silent chemical war? How would take make sure that their own country is getting hit by microplastics in the international oceans ?
Raphmedia··on Cannabis is legal in Canada: What you need to know
You jest but chances are high that if brothels are ever legalized nationally, the government will control it.
Raphmedia··on Cannabis is legal in Canada: What you need to know
This is why it is 18+ and 21+ to buy it legally. Children should not take any mind altering substances. Nobody is arguing that it is harmless for kids.
Raphmedia··on Cannabis is legal in Canada: What you need to know
Most users I know are heavy users (both recreational and medical) and buy once monthly. So that has to be bulk pricing. AFAIK, the government store doesn't offer bulk discounts.
Raphmedia··on Cannabis is legal in Canada: What you need to know
Which would be around 1.5 to 2 times the street price depending on what deals you had before legalization.¹

It is however on par with what medical pricing was.

¹According to what I have heard around. I have never purchased it from the street.

Raphmedia··on Cannabis is legal in Canada: What you need to know
They are done by web agencies and not in-house by the government.
← PreviousPage 18 of 34Next →