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

I like 2-4 but I despise nested selectors. They make selectors ungreppable.

Why/how do you grep selectors? Seems overly optimistic to be able to guess the particular rule pattern that is applying a style. Browser tools are much more reliable.

Let's say you're thrown into a website you've never worked on before and asked to fix a styling problem. You can look in the browser tools, but the website will only be running the compiled production version, and if the team knows what they're doing there won't be source maps available.

So you've now found selectors in DevTools that you think are causing the problem, and you want to find them in the source code. In the case of many projects, that means searching through hundreds of small CSS files.

That's why you grep selectors, and where the pain comes. You have to start with the most specific rules that you found in DevTools, then start deleting parts from them until you find a non-nested rule that's in the source, yet still specific enough that you haven't got hundreds of matches to go through.

It would be great if something like ast-grep could take a CSS rule copied from DevTools and search for nested CSS that would compile to match it.


If this is the only option, I would suggest that means the team doesn't know what they are doing.

Nope, hardcoded deep in the OS internals.

Guess changing it is considered an edge-case.

> Working for free is not fun

Open source can be very fun if you genuinely enjoy it.

The problem is dealing with people that have wrong expectations, those need to be ignored.


`make` can do exactly the same.

Maybe that's why Opus 4.5 has degraded so much in the recent days (https://marginlab.ai/trackers/claude-code/).

I’ve definitely experienced a subjective regression with Opus 4.5 the last few days. Feels like I was back to the frustrations from a year ago. Keen to see if 4.6 has reversed this.


Yes, but opening that and searching for "411" is much slower than just typing "http.cat/411" into the URL bar


Also relieves a stress a bit with a funny cat photo. There's also http.dog to the same effect.


...which is when you set up a browser bookmark with a keyword, so you can just type "http 411" and it will redirect you! :-)

Eg.: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/..." would then go to: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/..."


Should be restricted to only "in office" vs "not in office", no showing the wifi name. Also, the lack of wired network support seems odd.


IMO that's probably how the feature will work, I haven't seen any actual non-speculation/rage bait evidence to the contrary.


Yeah it's used to list where your coworkers might be, it's a part of Microsoft Places, which is like a hotdesk thing. People have an insane response to this, and yet i assume they use their company provided laptop everyday.


It's more likely because the internet runs on a very small number of authorative server implementations which all implement this ordering quirk.


This is a recursive resolver quirk


... that was perpetuated by BIND.

(Yes, there are other recursive resolver implementations, but they look at BIND as the reference implementation and absent any contravention to the RFC or intentional design-level decisions, they would follow BIND's mechanism.)


It's also the most natural way to structure the answer:

Hey, where can I find A.

Answer: A is actually B

Answer: Also B can be found at 42


I hope uBlock will support Servo if `webRequestBlocking` is implemented like in Firefox.


> That's great until you need to connect to a work/client VPN that decided to also use 10.0.0.0/8.

There's numerous other reserved IPv4 blocks that can be used: https://en.wikipedia.org/wiki/Reserved_IP_addresses#IPv4. Would definitely not recommend to use 10/8 for private networks.


Landed on 172.16/22 for this reason however it's not uncommon how an enterprise to use all 3 private classes. One place I worked used 192.168 for management, 10 for servers, and 172 for wifi

Using 2 different classes has been a pretty common setup for wifi and wireless in my experience


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

Search: