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 Samsung TVs should be regularly virus-checked, the company says
Most smart TVs have built-in microphones. You don't want microphones on a compromised device in the middle of your living room.
Raphmedia··on The State of CSS 2019
CSS is a list of declarations. There is nothing esoteric about it.

You can read it from top to bottom and understand what the defined styles will look like when they are rendered.

If your naming is done correctly and your files are separated by features, there is no reason why you can't understand and visualize everything that is defined.

Raphmedia··on Retail stores use Bluetooth beacons to track customers
Now, imagine instead that this store has an employee who follows you around with a notebook that quietly nods and writes down everything you're doing. At the same time, they are talking on the phone with a third party.

You hear them say, "So their names is John Smith? All right, all right, all right. What is their medical situation? Cancer, you say? Yeah, they're looking at razors right now. They are wearing the new Nike shoes. Just sneezed. Again. They are looking at allergy medication now."...

Then you look around and notice that every person in the store is followed by one of these employees.

You freak out a little bit and leave the store. The next store has the same kind of employees. As soon as you enter, the phone rings. The employee from the previous store calls your new "supervisor". On the phone, you hear a voice describing everything you've just done next-door.

This is what this situation would look like in an imaginary world of 1900s.

Raphmedia··on Magnesium and major depression (2011)
> magnesium

Yes! Magnesium changed my life!

I was certain that I was living with depression... until I read somewhere that lactose intolerance can lead to magnesium deficiency.

I started taking Magnesium and felt the effect immediately. All of my body is physically relaxed. I struggled with muscle cramps and spasms, they are gone thanks to increasing my magnesium intake. It's as if my muscles being under stress created anxiety and that anxiety reduced my ability to be happy.

I have also learned that I need to supplement with vitamin D during the winter to avoid having SAD. Vitamin D + Magnesium are also my solution to happiness.

Raphmedia··on Show HN: Browser Extension to Refine the HN Experience
This is going to sound like nitpicking but is there a way that you could avoid the flicker on the listing page?

Perhaps adding the <div> on load with a static height and then filling it with the filters? Another option could be to allow the user to show / hide the bar and remember the setting. That way, one could open it when needed only and it wouldn't flicker on every load.

Same thing for the "toggle all comments" button in a thread.

I get nauseous with such flickers. I really like this extension but won't be able to use it unless this changes.

Raphmedia··on Candida auris: A fungus hospitals don’t want to talk about
Exactly. Fungus are usually quite straightforward to eradicate on the surface of the body or on non-porous material. The issue with Candida auris is that it gets in the patient's blood and inside the porous ceiling tiles and walls.
Raphmedia··on Pylon – Declarative layout primitives for CSS and HTML
This could work with a build system or as a templating engine. The names and logic is sound, but as you said it makes little senses to use those tags as-is in production.
Raphmedia··on Canada to ban keeping whales, dolphins in captivity
This comes at the same time as other changes dones to improve the whales's ecosystems.

See [Whale watching excursions prohibited in part of the Saguenay-St. Lawrence Marine Park](https://ici.radio-canada.ca/nouvelle/1178858/parc-marin-sagu...) for example.

Raphmedia··on Google's Captcha in Firefox vs. in Chrome
It's the same widget as the checkbox but it throws the images at you if it has doubts.
Raphmedia··on When Grown-Ups Get Caught in Teens’ AirDrop Crossfire
Of course, if someone physically shows their genitals, the situation is about the same.

That does not mean that it's a light situation. In Canada, that is a criminal offence.

  Indecent acts
  173. (1) Everyone who wilfully does an indecent act in a public place in the presence of one or more persons, or in any place with intent to insult or offend any person,

  (a) is guilty of an indictable offence and is liable to imprisonment for a term of not more than two years; or
  (b) is guilty of an offence punishable on summary conviction and is liable to imprisonment for a term of not more than six months.
Raphmedia··on When Grown-Ups Get Caught in Teens’ AirDrop Crossfire
Reacting strongly to receiving the genitals of a stranger who is statistically likely to be stronger than you and probably able to pin you down without too much trouble is not paranoia.

It's one thing to send empty death threats online. It's another to push your genitals on someone who's within 30 feet of you (AirDrop's range). This is the last thing that I'd want to receive at night while commuting in a dirty bus or while walking back home in the dark alone.

Yes, disabling the feature is a solution. However, I'll bet that most people are not aware that they have it on or don't suspect that it can be a vector of attack.

The problem here is people abusing of the system. Don't blame the victim for it. If anything, blame Apple for not explaining the feature better or for a not allowing to keep the feature to "everyone" and disable image previews.

Raphmedia··on When Grown-Ups Get Caught in Teens’ AirDrop Crossfire
What if that person randomly shares it to a child? Receiving such a picture, especially in public, can be quite distressing even for grown adults.

You start wondering which passenger sent you the picture.

"Is this person looking for a reaction in order to identify me?"

"Will they follow me outside?"

"Should I be worried about being attacked"?

"Is it me? Should I not wear this shirt anymore? Do I look like I'm asking for it?"

"Perhaps I should call the police just in case? What if the police laugh at me?"

"Should I skip my station in case I'm followed and that person wants to find out where I live?"

"Is it that person who sent it? I commute with them daily. Should I be worried? Should I change my commute schedule?"

Overall, not an experience that you want forced upon you.

Raphmedia··on The decline of the family has unleashed an epidemic of loneliness
Don't beat yourself up over it. I myself am transgender and I am still regularly banned from LGBTQ+ online communities simply because I am not an activist and caution against extremism.

For many people, it is a cultural war. You are either "with us" or "against us".

Online media and online narratives are written in such a way that anyone outside your own group is perceived as evil. The filtering bubble effect of closed communities ("safe spaces") often aggravates the situation. I have seen people with balanced positions turn to the far right and others to the far left in knee jerk reactions to negative experiences.

What you hear is the loud minority of a minority. Racism and sexism against white males do exist. The people who hold those values are just as bigoted as any other racist or sexist individuals.

Most well rounded and balanced humans won't tell you that any demographic is "evil". In fact, most people just want to spend their days without thinking about others.

Raphmedia··on I've been building a Markdown note-taking app for 3 years
They do offer a student discount of 60% off for 12 months.
Raphmedia··on Why aren’t more companies remote-first?
> They care about your actual cost of living.

Except they don't. If they cared for that they would ask for your rent and economic situation.

They are not asking your cost of living to help you, they are asking which hiring pool you belong to in order to cut on operational costs.

You could be living rent free & debt free in a high pay area and still get a higher pay than someone with dependents, debts and a high (for their area) rent.

This is the part that disturbs me.

Being born in a good situation and staying with your parents without any costs would mean your paycheck is bigger than someone born in a worst situation that is also living at home.

You might as well build your class barriers out of concrete at that point. Postal-code discrimination is something that should be removed from our lives. Remote working is one solutions to this issue. I really hope that this practice doesn't become a trend.

Raphmedia··on Why aren’t more companies remote-first?
Would this be any different if the employee actually lived there?

Say they own a house in a rural town that has been handed down from their parents, yet they decide to live in an apartment in some big city. They receive an interesting job offer and start working remote at Gitlab but haven't changed their legal address.

Suddenly, they paycheck is reduced unless they disclose their secondary address and somehow make it their main address.

Should that employee be required to sell their house? I would say no.

Well, it's no different if you live in a big apartment out of town and decide to rent a cheap broken down apartment in the city.

What if the employee does not have a fixed address? Are they fired on the spot? Perhaps never hired out of discrimination? Is their pay adjusted for each city they drive their van to? Do the employer require them to stop travelling? What if that person's fixed address is already registered at some organisation or mail center in a "high pay area"? Should they be required to change it to a "low pay area" to be ethical?

Raphmedia··on Why aren’t more companies remote-first?
I understand the reason and how it is a necessary evil. But it's still an evil. Simply put, it is discrimination.

Paying the poor less and the wealthy more.

It makes no sense that two employees with the same workload and same credentials would get a different pay based on their primary address' geolocation.

Just off the top of my head :

- Employee resides at their rich parent's home and get a higher pay vs. employee move near their mother's elderly care center in a ghetto and dock their pay.

- Employee lives alone with no dependents in a high pay area vs. employee being a single-parent in a low pay area.

- Employee lives on a native reservation and get less pay.

- Employee lives in a co-location in a high pay area vs. employee lives alone in a low pay area.

- Employee has impressive credentials in a low pay area vs. employee with no credential living in a high pay area.

- etc.

This is nothing more than a loophole that allows you to give a bonus to employees living in high pay areas while keeping a clear conscience.

If anything, kudos for being open about the whole situation.

Raphmedia··on Why aren’t more companies remote-first?
You would have to explain to me how providing your legal address could be constituted fraud.
Raphmedia··on Why aren’t more companies remote-first?
The upside of hiring remote workers should be to allow you to get the best workers no matters where your company is located. Good employees (those that would be able to get a job in Silicon Valley) will bring profit to your company no matter where they are located.

To pay a worker less because they chose to, say, move back to their hometown to take care of their relatives puts a sour taste in my mouth. Reducing people's pay because they moved to another location makes no sense to me.

Gitlab's pricing is the same no matter what city the client is located. If the employee is able to provide the resources needed charge this price to the customers then the employees should get the same pay as any other employee.

Imagine busting your chops to close a complicated project on time only to learn that the junior two postal codes over is paid more than you to do simple tasks.

I would change employer.

In fact, have been in such a situation before. The home office was outside of the city and they later opened an office there. The new city hires were paid more than everyone else at the company. The result was that the company lost all their strong players.

I am now working even further from the city for that same salary they gave the city employees.

Raphmedia··on Why aren’t more companies remote-first?
> 1. "change their mailing address to that of a friend living in a high income area and have a better pay" => that would be fraudulent

Would it be though?

If my legal address is a small apartment shared with 5 other individuals in a city I never go to, there's no legal reason pushing me to disclose any secondary housing I might own.

Another reason for such as situation is someone being homeless/nomad and having their address set to some organization or PO box in the city.

Raphmedia··on Why aren’t more companies remote-first?
> For the company you are able to hire outside of competitive metro areas and you save money by that https://about.gitlab.com/2019/02/28/why-we-pay-local-rates/ and on office costs.

So, someone can change their mailing address to that of a friend living in a high income area and have a better pay? What about when moving, are employees' pays docked too?

For example, I come from a low-income area and most of my family is poor. By working in tech., I'm able to provide a safety net for parents and close friends. My home address is in my hometown but I would spend time at my significant other's apartment during the week to be close to work.

Why should my pay be less than that of a coworker that does the same exact same job as me simply because this is a remote company? What about someone that does a worst job or is less experienced? Unless that means that the only employees hired in high-pays area are senior and other employees are all junior or mid level and seen as cheaper labor, I don't see the reason... except as sour way to save company's operating cost.

Does that also mean that you believe someone in this situation should never have the resources to move to a high income area? Someone from a high-income area could live in a shared rental, save a big cushion of money and then move to a lower income area for less stress while knowing they will be able to retire. Someone from a low paying area wouldn't be able to do that.

Compensation should be based on output performance and the difficulties and complexity of the work being done.

Raphmedia··on An exoplanet has been found in the ‘Neptunian Desert’
That's right! Neptunian desert confused me. I somehow imagined this was a region that only existed around our sol.
Raphmedia··on An exoplanet has been found in the ‘Neptunian Desert’
Thank you, this was unclear to me after reading the article. This planet is not in our own solar system.
Raphmedia··on Ask HN: How to initiate or respond to small talk (not the programming language)?
Social skills are just that — skills.

How do you normally best acquire new programming skills? Video tutorials, books, online articles or perhaps podcasts?

Pick the medium that is best for you and then find resources on social skills.

One of my issues used to be understanding emotions. Several books later, I'm a much more balanced person. We tend to view charisma based skills as something that people are born with but it's not. They are just regular skills you must learn and train.

Raphmedia··on Navy pilots report unexplained flying objects
I'm kind of worried right now. Is this a temporary configuration or will the Starlinks always be that visible? If it stays the same, the night sky is going to be wild once they lunch all 12,000 of them.
Raphmedia··on Why I'm still using jQuery
I've been doing front-end for years and still use jQuery for almost 90% of my projects. It's not because I'm resistant to change, I've done my share of SPA style projects.

Simply said, jQuery is still the best plug-n-play solution for most small projects.

The numbers are not against jQuery. There's no real gains to skipping it. At 27.77 KB (Minified and Zopflinated file size) it's not as if it's weighting down your pages. On the rare occasions I actually come across something done faster in raw JavaScript (often because jQuery has some heavier polyfills), I simply use the raw JavaScript in my jQuery project.

Raphmedia··on Starlink – SpaceX’s broadband internet system
I am on cutting edge chrome with a decent enough workstation and the site crashed my entire Chrome.
Raphmedia··on To Keep Track of Reddit Conversations Around NYT Articles, We Built a Slack Bot
For example, https://www.reddit.com/domain/ycombinator.com/
Raphmedia··on Almost 40% of Americans Would Struggle to Cover a $400 Emergency
All fine and well if that's a tooth that's in the back. If it's a front tooth, you are going to have to then pay to get a fake one to put in its place. Having holes in your mouth will mess up your teeth even more in the long term.
Raphmedia··on Almost 40% of Americans Would Struggle to Cover a $400 Emergency
> Having to carry a credit card balance isn’t much of a struggle.

Let's say you put $400 on a CC that has 18% interest rate. By paying only the minimum payment each month you end up paying a total of $598 after 4 years and 11 months. This means that for the next 4 years, a credit card is no longer a safe escape for you.

A better example would be an emergency Root Canal at $1,600. This would take you 12 years and 7 months to pay off.

← PreviousPage 11 of 34Next →