skysight-inc/HackerNews huggingface dataset:
I don’t like the proposed method but I’m glad to see thoughts a little outside the main lines of utility CSS vs Module isolation vs naming conventions like BEM.

One bad consequence of the custom element name convention is that the outer layer of a component then has no semantic meaning and accessibility has to be fully implemented by the developer, which requires a lot of knowledge and effort compared to using correct semantic HTML.

Inaccessible code is a real business risk and making all components generic elements with no affordances for screen readers would not help. It’s a pity the article doesn’t consider this at all as its recommended patterns would lead to some needlessly bad experiences.
You know, like malware.
Yes, I'd love to hear some stories!
Yeah, or at least sugar? Why fat? That's strange.
Please refrain from content-free meming on HN.
The managerial class finds is icky that the lower castes suddenly have a benefit that was exclusive to them.
IQ in high school as a predictor of midlife alcohol drinking patterns
I was called by an Indian like ten years ago, trying to convince me to follow some script obviously made for Windows when at the time I already hadn’t a Windows box for quite some time. Fun moment, in that specific case.

Probably the funniest thing here is that this call reached me despite the fact that I am French, living in France. And so I really wonder how they ended up calling me. I mean, chance I would understand some English speaker with an Indian accent (I like how it sounds, but it’s definitely an additional difficulty as a non-native).

I read here and there how extortion of old USA citizens by some organized Indian citizens is really a thing. To my mind the main issue at stake is that we have global level communication facilities, extremely high wealth disparities at world scale, and no compelling global social endeavor to reach an harmonization of human quality of life for everyone. I don’t mean the latter is on the official agenda of most countries out there either, but at global scale it’s obviously even worst.

With all that in mind, blaming a whole nation for the illegitimate actions of some minority in the country, all the more when the international geopolitical context itself is all but fair, is probably not going to solve any issue.
As this article argues, problem with CSS Classes is that a CSS Class can be applied to _any_ element where custom properties will be scoped to the elements that the CSS was meant to be used for.
Depends on what you mean adequately. We probably shouldn't carpet bomb them. But there's a lot more that could be done - turning the weapons donations to Ukraine from a drip-drip of the spigot to a firehose should wrap the war up.
This.

I keep hearing from Amiga people how the Amiga "coulda been a contenda" in this day and age of computing if only Commodore weren't so mismanaged. If only Commodore hadn't bought Amiga Inc. in the first place and the brilliant, revolutionary Jay Miner were allowed to market his designs on his own terms without being beholden to some evil corporate overlord who wanted to squeeze them for profit. If only. If only.

But it was clear, from the late 1980s, that the PC was going to win because it was not under the control of a single corporation. Indeed, it was winning despite IBM beginning to fumble the ball. All corporations, in the long run, tend toward mismanagement that can totally sink a platform if it's under their control. It happened to Commodore, Atari, Symbolics, SGI, it almost happened to Apple in the 90s, and it looks like it might happen to Raspberry Pi in the near future. But when there's an open standard on which companies can compete even as they interoperate, the platform thrives, and things unimaginable to its originators can be built upon it.

RISC-V brings this quality to the chip architecture and ISA, the same way Linux brought it to operating systems and the combination of x86, ISA/PCI bus, and BIOS/UEFI interface brought it to the general system design. It's not perfect, and no implementation of it is going to be perfect, but RISC-V really is gonna change everything.
Why don’t US phone carriers give their users the ability to block foreign calls terminating in the U.S., at the telephony signaling layer? In almost no case do I ever want to receive a phone call from a foreign country with a spoofed number. Nor do I think anyone in my family wants to either.
In what sense? Pain is a complex emotion triggered by various simple sensations (very hot, very high pressure etc). But remember that people with certain kinds of brain damage can feel these same sensations, but not pain. To them these just don't register as painful. Other people feel pain in limbs that they no longer have, so not triggered by any sensation at all.

Also, even beyond medical issues, different people perceive pain very differently. Hot peppers are perhaps the clearest example of this, where people accustomed to them feel the same heat, but not the same pain as someone unaccustomed.
Still can't do peer to peer pay transfers, still need a bank account, still need to apply for a physical card, still need to pay high transaction fees, still need to fill out credit card information when shopping online, no way to list who is authorized to charge your card and revoke their access, still need a costly terminal to accept payments, etc.

Having used both systems, I'd say WeChat and Alipay's payment systems are vastly superior to credit cards in terms of UX.
Can you elaborate why you would see Gates as a malicious actor?
AI is a premium thing. The people in power to purchase stuff are going with big name providers because they don't really know what to look for in the details. This is especially true with the tight budgets tight now.
This gives big bikeshedding vibes. I always liked the idea of semantic markup, but humans are messy and complex and we will always find ways to bring that chaos to utopian systems. Classes and IDs work fine most of the time. Documenting your styles is good practice. Using BEM or Tailwind has the benefit of adhering to a system and base classes that others can make sense of without much effort. CSS is OK. Our energies are better spent on more important things.
I used Hackmd in the past to share the draft of my book (1) and liked that people don't need to have an account to comment. Google Docs was no option as no markdown support and account required. The process worked well but I found Hackmd too expensive for just getting feedback. Stash looks promising for this use case.

(1) Written fully in Markdown in Obsidian at this point. I moved to Asciidoc since because of formatting. The early draft is still available on Hackmd though. Details in my bio.
Some countries have mechanisms to allow restricted investment by, essentially, retail investors, without being a full public company. These are usually idiosyncratic enough that they're country-scoped and not open to foreign investors.

The company does have at least some non-retail foreign investment.
There's never been any reason to think Google wouldn't pull something like this with Chrome though. Which is why people should be advocating switching to Firefox.
> So, they have to ask each and every one of their iMessage-using friends to please not send these ridiculous reactions, because they are ultimately another text message which will cost money. If that counts as "forcing others to adapt their communication

No, it doesn't, because that's engaging in bilateral negotiation of how the communication will go with the others involved in it. Unilaterally disabling the feature, however, is different, and that is what I was criticizing.
This just sounds like a different version of mycoprotein or quorn.

Not to discount their efforts, the more like them the better.
> games that would benefit from "VR as a screen" without many of the downsides—think, for example, playing Civilization

As a kind of ex-VR enthusiast and strategy fan, I don't see much value there.

A single strategy game like Civ are 10s of hours of playtime or if a paradox game, 100s. The magical experience of VR presence fades pretty sharpish so it quickly comes down to comfort and practicality. This also applies to MMORPGs like Elite Dangerous - it's a breath taking experience docking your ship the first few times but as soon as you are into the grind, a headset just becomes sweaty nuisance.

These are games that benefit from the external world e.g.

- eat a sandwich, sip coffee, tickle the cat on your lap... as you ponder your next move

- have 30 browser tabs open - the wiki, a strategy guide, a tutorial, the patch notes, a thread about a bug, and that random history rabbit-hole because you are accidentally learning things about the Carolingians or whatever.

- ideal games to play along with some TV/netflix/youtube that only deserves partial attention. These are not games that benefit from 100% undivided focus. Kind of the opposite, a thoughtful game benefits from "gazing out the window" type defocussing.

- if playing something new/tricky, then I also have a todo list and spreadsheet for calculating some things going too

I think motion controllers have untapped potential but even then, they are are going against mouse/keyboard. When the task is wrangling complexity with both precise selections, data navigation/entry and bulk actions, filtering, searches etc. then it's difficult to see an advantage. You can enjoy some Minority Report navigation for a bit but after a few hundred hours... a keyboard shortcut is the real, truly valuable innovation you want.

Instantly jumping from location to location / screen to screen is better than whatever visual journey VR would typically insist on. I generally have zero issues with VR sickness but I actually get kind of nauseous micromanaging multiple wars on different sides of a map in 2D because of having to rapidly flip back and forth every other second. I can't imagine how bad that would be in VR!
The idea of a chatbot pretending to be a famous scientist trying to help me understand physics made me vomit in my mouth a little bit.
A new google tombstone would be super exciting indeed
Kaspersky Blog
In the CSS that we have today, they are still probably the least shitty solution in most cases.

attr() for things that aren't content isn't really supported and manually doing [data-gap="1"] {} [data-gap="2"] {} and so on sucks for various reasons. Attributes like [card-size="big"] look good, but unlike classes, they don't get autocompleted so you always have to remember the magic strings (ugh) and errors don't get caught by static analysis.

It's not just the class attribute that's harmful legacy garbage, but the core design of CSS. But we're stuck with it.
> Microsoft Comic Chat installed a custom font, Comic Sans MS, that users could use in other applications and documents.

We have finally found the root of all evil.
I prefer to work intensely and collaboratively in an office.

This is how I'd do it: Three in-office days, same weekdays for everyone (e.g. Monday to Wednesday). The choice to have a 5-day or 4-day week.

An energetic, quietly humming work atmosphere, with incidental information sharing and a spirit of collaboration, with colleagues present and nearby, sounds best for me personally. Among other advantages, the presence of coworkers helps me focus.

Different strokes for different folks. Obviously, the prerequisite is that it's a team of nice people you like being around.

Sure, people who prefer to work from home would leave that company. That doesn't mean that this company will lack talent. People who do want to work like that will join it.
Worth noting that the most detestable traitors in those orgs all passed. The one thing they all have in common is that they were granted higher clearance than tons and tons of fine applicants.
Maybe its different in other countries
This is just class names with extra steps and more syntax, it's a downgrade, not an improvement.
Butter isn’t just hydrocarbons though. An imitation that is literally only hydrocarbons would be unhealthy.
Keep on poisoning discussions, it's really helpful.
I didn't know I could just create my own tags in HTML. I assume this makes it harder for accessibility technologies to understand the page?
Custom properties can be applied to any element as well. You can constrain the effects of either to only the elements they should affect in your CSS rules.
Digital id card for every citizen? My id card can prove identity or sign a document and could for ~10 years. Estonia had it for over 20 years.

Just give it to everyone. Today, it can likely be embedded in a cell phone instead of separate physical card.
I mean, Tailwind already is that with extra steps.
Ask HN: Do you already see the impact of LLMs on the job prospects for dev's?
Looking at our own experience and the experience from practitioners in other companies, it seems like AI-assisted programming is able to deliver a realistic 10-20% overall productivity boost for developers (including the fact that developers don’t code all day). That’s significant, but do we already see an impact on hiring beyond the regular ups and downs of the economy? Personally, I don’t see it yet as the productivity boost seems to be eaten up by unrealistic project plans and expanding scope. But what’s your experience?
A Branding Exercise
That's for attributes, not tags, no?
This is nice. I've been taking Termium[0] for a spin and it's been pretty great for the most part, but the Rumsfeld-complete always-on autosuggest/copilot UX they're aiming for does feel like a bit of a compromise.

On occasions when I do know what I don't know, and want to specifically opt in, this looks perfect.

[0]: https://codeium.com/blog/termium-codeium-in-terminal-launch
https://research.google/pubs/macaroons-cookies-with-contextu...
I really hope to see more research like this. I feel like LLMs have insanely high pedagogic value, and that's because I've been using them to teach myself difficult subjects and review my understanding.

The issue with the kind of system that the author is proposing for curious self-driven learning is that the SRS is optimized for a given curriculum.

Many people including myself use flashcards to guide (and sort of "create") their own curriculum. Flashcards with SRS are really good for many things, but it's difficult to generalize them for thus usecase.

I'd really like to see some prototypes of people integrating LLM intelligence in creating and adjusting cards on the fly. It's clearly something LLMs excel at, especially the larger closed-source ones like Claude 3.5 sonnet
The sex questions are often the setup. You fill out a ton of background material with one or two sex questions, then the poly has hours of it. People use the word “ambush” and I think it’s useful when they’re trying to build a baseline profile.
https://meyerweb.com/eric/comment/chech.html

“Considered Harmful Essays Considered Harmful”.
I really hope to see more research like this. I feel like LLMs have insanely high pedagogic value, and that's because I've been using them to teach myself difficult subjects and review my understanding.

How do you know if the LLM isn't hallucinating?
I lost my love for the web (2022)
Tailwind solves this but not in the way you think!

The rise of React and SSG/SSR means there is a world where the classes are React components and the attributes are props.

Even for static pages, for DX you can use the same tooling as you are used to for dynamic pages. And something like NextJS can generate the static html.

And this makes even more sense for dynamic stuff like date pickers.

In this world you use utility classes because tags are too granular and components are the logical unit.

But if you are hand crafting the html then tailwind might be more of a pain. I am a bit undecided on that. I still have a soft spot for CSS Zen Garden.
How I Prepare Merge Requests
What do you mean? I don't know of any country except the US where SSN is used for authentication. In my country SSN is public information.
What you are complaining about has nothing to do with thread pools or virtual threads. You're pointing out the fact that more parallelism will also need more hardware and that a finite hardware budget will need a back pressure strategy to keep resource consumption within a limit. While you might be correct that "sizing a traditional thread pool" is a back pressure strategy that can be applied to virtual threads, the problem with it is that IO bound threads will prevent CPU bound threads from making progress. You don't want to apply back pressure based on the number of tasks. You want back pressure to be in response to resource utilization, so that enough tasks get scheduled to max out the hardware.

This is a common problem with people using Java parallel streams, because they by default share a single global thread pool and the way to use your own thread pool is also extremely counterintuitive, because it essentially relies on some implicit thread local magic to choose to distribute the stream in the thread pool that the parallel stream was launched on, instead of passing it as a parameter.

It would be best if people came up with more dynamic back pressure strategies, because this is a more general problem that goes way beyond thread pools. In fact, one of the key problems of automatic parallelization is deciding at what point there is too much parallelization.
Tools like evilnginx proxy the traffic, then grab the auth token / cookie after a successful login. From there you can send the session tokens to something like necrobrowser to automatically do whatever you want with the account. The whole hack can happen in seconds.
`.my-card` is semantic, but `.big` is presentational/visual. You could maintain the semantics with rules like:

.my-card { width: normal; }
.homepage .my-card { width: bigger; }
.sidebar .my-card { width: smaller; }

(where 'normal', 'bigger', and 'smaller" should be replaced with real values).

BEM suggested state labels (e.g. `.my-card__loading`). I'm on the fence about those vs `.my-card.loading`. The class-based syntax seems shorter than either BEM-style or attribute selectors, and thus I prefer it. You might get a bit more rigour from the more longer-form methods, but I'm not convinced the energy isn't better spent training your team to be more careful.

Shared code, CSS toolkits, shareable widgets present bigger challenges... the thing is that none of the tools suggested actually fix the problems. Your code can still break 3rd party code and vice-versa because of the global nature of CSS.

Specificity needs management, but so do type systems and class hierarchies. Stop pretending the cascade and global namespace don't exist and just do the work.
I wish I have the same dedication, but alas Anki hadn't sufficiently proven useful to me that I would use it on a day to day basis.
Move this post to Ask HN: or Hire HN, you will gain more views.
I felt OP was needlessly negative. In classic internet fashion, I added to that negativity. Not proud of it.
Rare Sudden Stratospheric Warming Event Detected over Antarctica
> To opt-out you had to add _optout to the SSID name.

Or banish machines running Microsoft software from the network.
I know it’s just business, but I still have a chip on my shoulder for gitlab’s low equity packages
> yet it went bankrupt because companies prefer to buy new plastic which is both cheaper and more convenient. That way things never are going to change.

Well, about that example:

1. Obligatory first point: This is an example of a systematic problem of capitalism, which by default promotes (corporate) profit seeking over other considerations and interests, making it difficult to achieve them.

2. The state could have, theoretically, taxed the purchase of new plastic products, and/or given tax benefits for switching from new-plastic to recycled-plastic, reversing the "cheaper" incentive.

3. There are uses of recycled plastic where new plastic is just, well, just note used (probably because it provides no benefit). Example: Bricks for the construction industry:

https://plaex.ca/about-plaex-building-systems-mortarless-int...

caveat: Have not researched that extensively

4. Quality of recycled plastic can be improved significantly by a combination of sorting and contaminant removal; and it seems that even with these actions, it might be cheaper - on the market as it exists now - than virgin plastic production. There's a paper by McKinsey on this matter:

https://www.mckinsey.com/industries/chemicals/our-insights/b...
I've been using IRC again recently after a long break. I've been struggling to pick a client. I'm on Debian+KDE so I've been using Konversation, but it crashes after a couple hours (so I dont see conversations until I restart it).

I've been pleased to see that IRC still has community. There's something that makes IRC feel safe that I didn't get when I tried Discord.
One thing that I learned when becoming a senior engineer is that if the layer above you is profitable enough you should build substandard implementations in your layer that match the abstractions of the above layer. Overall the system will perform much better than if you optimize for whatever the bottleneck on your layer is.
Von der Leyen Commission loses Covid vaccine transparency case
Yes, it's 34k websites, but to be transparent, they probably don't all strictly qualify as niche, for example, it includes some smaller commercial sites (usually if they have tech blogs). I've found the hardest part of this isn't finding the feeds so much as filtering out the usual suspects (SEO etc) that masquerade as technical content.

As well as HN, I found a google search along the lines of "site:github.com opml rss feed [topic]" was quite effective too.
Remember Google Code?
Less pay for doing exactly what you're already doing? How would that work?
Obfuscation is the 'Google' way /s

"Privacy centric users hate this 1 trick"
I know very little about Asian cooking of any kind, but I seem to remember being told that wok hei produces enough smoke to be extremely unpleasant to have inside a residential building - to the point that even when people do want to use wok hei at home they would choose to have a setup in the garden rather than the kitchen.

If my memory/understanding is not wrong, then that adds to the idea that people won't achieve wok hei on their stove even if the reason is not wanting its side effects rather than being technically impossible.
With a different wall texture (and I guess hexagonal rooms) you could make https://en.wikipedia.org/wiki/The_Library_of_Babel
> But there's nothing insane about a company thinking about what role it can play towards helping people up

That may be true but that does not negate the fact that 'DEI' has been and still is a divisive 'praxis' (to use a word out of the underlying ideology's playbook) which intentionally divides people into an ever widening fractal of identity groups and increases distrust and envy between those groups by pushing a victim/victimiser narrative. Where the motto on the Great Seal of the United States reads E pluribus unum (out of many, one) [1] DEI aims to achieve the opposite: out of one, many.

DEI orders 'we, the people' into a hierarchy with the 'oppressed' on top and the 'oppressors' below them. This is an ever ongoing process since identity categories are themselves subject to the same 'intersectional' narrative, e.g. 'black lives matter' is one-upped by 'black trans lives matter' etc.

[1] https://en.wikipedia.org/wiki/E_pluribus_unum
Google had a code hosting service (free for open source projects) with repo, issue tracker, and wiki. But it was shut down in 2016.

Now there is just an archive: https://code.google.com/archive/
Well, no. Labor value decreases, but hours stay the same since more can be produced in the same time. This creates surplus value, which is taken by whoever controls the means of production. Workers, realizing they are being cut out, strike, negotiate higher wages. Rinse and repeat (this, if you ask the progressives at least!)