Hacker Newsnew | past | comments | ask | show | jobs | submit | semolino's commentslogin

This is what Cascade Layers was designed to solve:

https://developer.mozilla.org/en-US/docs/Learn_web_developme...

A lingering bit of weirdness is that all !important declarations, no matter the layer they appear on, are interpreted as being part of their own implicit layer.


Been using 'sensei' as my default branch name for a couple years now.

I get to feel like a ninja when I commit, the conceptual meaning is close to that of the previous term, and there's no historical baggage related to the US. Win-win-win?


That just highlights that the way people are interpreting the word `master` is wrong. You've named your most important branch "teacher".


Isn't master ("ruler, teacher, etc.") upstream of master ("definitive version"), though, etomologically-speaking?

I do see what you're saying, though, and will admit to some cheekiness on my end.


If you try and push you sensei, before you know it you'll be doing jujitsu.


Marketing works and propaganda works. It's as much of a science as it is an art. When done effectively, both leverage characteristics that:

1) exploit known aspects of indivdual human behavior (more reliable when based upon aspects that stem directly from physiological processes)

and

2) play to the the social climate of whatever emergent phenomena are presently occuring in society.

Strategies for 2) tend to be less evergreen. Many people are always hard at work doing reaearch to bolster techniques for 1) and 2).

I agree with you that education helps build immunity against "cheap tricks" used to influence human behavior.

I also want to add that if one has the privilege of decreased susceptibility to these strategies, it's only that: decreased susceptibility and not immunity. At which point, if the goal is not to be influenced, then a useful strategy for the "marketed-to" is to maintain a healthy respect for the power these techniques can have.


Most devices have a built-in ambient light sensor:

https://en.wikipedia.org/wiki/Ambient_light_sensor


What do you mean "most"? Maybe the phones, but PCs rarely have them. Outside macbooks, I only have seen one PC with a light sensor.


I meant most mobile devices. I think my TV has one as well.


That would be awesome — I have found myself wishing for a similar CSS-only solution. In the meantime, I've resorted to measuring the translation distance in JS, and multiplying that by the average duration I want the element to spend in each pixel position (usually a few milliseconds).


I found an actual proposal which is very similar: https://github.com/w3c/csswg-drafts/issues/5091


The commenter you replied to was implying that the EU does not respect the privacy/freedom of mobile device users.


Okay, thanks.

I was confused bexause anonymity against the state is hardly the only, or even a main point of android forks.

Privacy usually is, but against big tech typically.


abs() exists with cross-browser support:

https://developer.mozilla.org/en-US/docs/Web/CSS/abs

There are also other non-custom math functions like round() which can be very useful.


Maybe this is a clue toward understanding my recent inexplicable obsession with shipping containers.


https://blog.glyphdrawing.club/font-with-built-in-syntax-hig...

This write-up demonstrates that OpenType contextual alternates are pretty powerful, but not as much as regular expressions.


I implemented this very technique last year after getting some crypto spam on the guestbook of my personal website. It works like a charm.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: