jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
My main complaint with CSS in JS is that a strict naming convention solves a lot of the problems without coupling styles in application bundles. Basically, I don't want to invalidate my JS bundle just to include a new visual theme.

Luckily, you can use CSS best practices with React.

The problems mentioned in the presentation, followed by some CSS-friendly solutions --

1) Global namespace: all selectors are global

Use a naming convention.

2) Dependencies: no way to specify that a block of markup depends on a particular CSS module

Use a build process and a naming convention that includes a component name.

3) Dead code elimination: difficult to determine when styles are no longer needed

Loop over components and extract CSS component names from class attributes.

4) Minification: can't minify class names in markup

Not a bottleneck, nobody cares.

5) Sharing constants: can't share constants/variables with javascript

Use rework/postcss.

6) Non-deterministic resolution: loading styles asynchronously can result in different results since specificity assumes later rules should override earlier rules and async load order is arbitrary

Use SUIT CSS to prevent collisions and normalize specificity.

7) Isolation: base component CSS can be trashed by authors of subcomponents, making it difficult to change base CSS.

Reduce responsibilities of base component CSS. Encourage use of modifier classes. Ban tag selectors from component CSS. Use a SUIT CSS compliance checker.

I use SUIT CSS with React and couldn't be happier.
I agree, at least in this article, it is distracting how many times the author implies that bad economics inherently incriminate Apple, and that developers should not have to worry about marketing, being profitable while keeping prices low, or the other concerns that routinely accompany running a business. It would be a better article if it acknowledged the role of the developer and tried to draw a sharper line between cultural and economic forces and where Apple is involved, or should be more involved.

Also, bloggers prefacing criticism with, "I love Apple, but..." is human nature, and not necessarily evidence of a conspiracy. Plenty of people criticized iOS 7's design -- the articles went on for days. There are some good points in the article, but the overarching narrative is pretty thin.
Yea, that was the one I was thinking of in my top reply to brd :)
IPC boundaries, interface size, basic block count and CFG arity, number of different storage classes, number of different objects, number of different object lifecycles, &c.

I'm not saying there's one best known way to measure the complexity of a system, just that it is measurable.
That's why you would pay the drivers to run this app. Then via the Long Tail, they could get royalties every time the data they collected is re-sold.
Debugging LX branded zones on SmartOS

https://www.youtube.com/watch?v=6oIBiWdh41c

"A gritty how-to on debugging LX branded zones on SmartOS presented internally at Joyent on 1/30/15. While given to an internal audience, there is quite a bit of information here that may be interesting to the broader community"
The Idiot Line between being an author and a hack must be somewhere between the heading tag where you all caps your negative then drop in an F bomb modifier for shock value.

Also, Leonardo Da Vinci.
So is running a blog which can handle 100 people simultaneously viewing it... :)
So just to set timers?
Isn't that true of an awful lot of conditions; "differential diagnosis"?
I tried this a few years ago when I was younger and more optimistic. But man it was not a great experience.

Having said that I think there is still room for modern shells which are easier to script in. For a while I am using fish and thought scripting would be at least as easy and straightforward as using lua. But the syntax is really awkward. For example comparing two variables needs to be put in a

math "2 + 2"

Urg.
Finally, a rea$on to be nice!
More likely than not he/she inherited it. It's true for the vast majority of multimillionaires, from royals and aristocrats (obviously) to the Waltons/Rockefellers/Rothschilds/Abby Johnsons of this world, to the Chinese Party Princeling, to the 2nd generation of Silicon Valley aristocracy like Laurene Jobs & co.
I would agree with you, but the article itself is examining percentiles of income, not net worth.

> But evasion peaks among the richest 5 percent, who have an income of at least $200,000 and who, as a cohort, capture more than one-third of total national earnings. Taxpayers in this group hide more than 20 percent of their income from tax collectors.
I can say that this is interesting; the founder of Facebook itself is a victim of a leaked data. I wonder how much would it cost to buy Mark Zuckerberg's phone number?
My question was whether or not we should trust DuckDuckGo, not whether DuckDuckGo is more trustworthy than some alternatives, and not whether they collect less user-specific data than some alternatives.

My thinking is that there isn't much reason to trust them. I disagree that their business is built on them being trustworthy. Their business is built on people believing them trustworthy. This may act as a disincentive to act in an untrustworthy manner, but it is simply another factor for their cost-benefit analyses. Most companies benefit from appearing trustworthy, such as banks, but the unfortunate reality is that this doesn't mean that they will actually work in your best interest.
I've invested in a bunch that have raised 1mln+ but that extra money just prolongs the same misery, while creating the illusion that they still have the funds to figure things out. I recommend maybe 1 mln rather than 750.
Thinkpads have this sensor that is meant to protect the hard drive from sudden shock. I bet it could be used for something like that.

http://www.thinkwiki.org/wiki/Active_Protection_System
This looked intriguing, but all the lessons seem to revolve around learning Python, which doesn't interest me (since I'm already a software developer). I guess I expected something more science-y like R or maybe Julia.
With the number of idiots that have already almost collided with commercial aircraft, I think the drug connection is the least of our worries.

http://www.washingtonpost.com/world/national-security/near-c...
And other repositories. Git, svn, tfs etc.

TFS comes with something like this built in. You can send someone a link to a changeset and see all of the differences nicely formatted on a web page. It is very nice.
Assuming this is an honest question, the guy is creepy because men preying on women is much more common than the other way around.
All it takes is a phone call. Certainly there is an account number where the money goes or some way to authenticate. I'm actually a little incredulous that Apple didn't try that- to the point of actually wondering if we are getting the whole story here.

I remember this being a big deal a while back in a slightly different way: bootleg hair products. There is pretty good money in ripping off 'for salon sale only' stuff and selling it to retail outlets- but I don't know what the penalties are if caught. And that's not really fraud (on behalf of the retailer)- that's more like violating a TOS.
Java: http://www.jooq.org/

Scala: http://slick.typesafe.com/

They also have the benefit of being fully type-safe across query projections.
I can't tell if Karpelès really believes all the nonsense coming out of his mouth or not. Is he really that naive? He lost a decent chunk of a billion dollars but he thinks he can just rebrand and keep the company going? He believes it's better 'for Bitcoin' to keep Gox running even though all the money is gone? He thinks there's still a way out of this mess?

I don't understand how he thinks.
To be honest, I've never really understood the point of using an ORM. Sure, I guess it would be handy if you needed to migrate your data from one RDBMS to another, but other than that, I find it much easier to write SQL (with parameterized queries when applicable).
Or does not freeing Atom mean that Github is not getting enough revenue from hosting? (Eek, are they dying? Should we move our stuff off to other services? =P)
Trading is a risky business, but "the exchange loses my money" is not supposed to be a substantial portion of that risk...
Michal commits which movies/whatever he watches to GitHub :p
Great stuff. Do you think there's potential for further performance gains in cljs core.async by using generators under the hood where available?
Aha I have not even noticed this issue, I will have a look. But we don't use the built-in screen sharing in production. Some of my test boxes have it though, but they're also on an IP KVM luckily.
Next, Tesla whiteboards.
It seems to me that if a fact is informative then the opposite of that fact would be too. For example, the article says that verified users jumped 34%. That fact tells us coinbase is growing and at what pace. If the opposite were true, and users were declining, that would tell us coinbase and maybe bitcoin were in trouble.

I don't see what the most common gender among the leadership team tells us. What does it matter if they are mostly, partly, or entirely men or women? This article is written in Bloomberg, the four founders of Bloomberg plus their chairmen are all men[1] - does that matter? If I were to put on my "just journalism" hat, maybe I'd think it says something when organizations led entirely by men criticize organizations partly led by women for their social justice bona fides... Or, maybe I'd think that most executives are men, most people in tech are men, most people in crypto are men, so it's really not that surprising or informative that most of coinbase's leadership are men. Or, maybe it does matter for some reason, but the journalist should explain that reason rather than just drop the fact and imply it means something without explanation.

1 - https://en.m.wikipedia.org/wiki/Bloomberg_L.P.
He described how he does exactly this - and has to reapply it after every update.
Right. The financial incentive of the for-profit tax preparation companies is to lobby the politicians to make the tax code so complicated that people need to pay tax preparation companies. If the tax code was simple, then these companies would cease to exist.

The IRS itself is mainly just following the directions of the politicians. These directions may or may not include looking for fraud, depending on who is currently in power.
Non-mobile link: https://en.wikipedia.org/wiki/Radiation_hardening
I downvoted you for the lack of details. What you are saying can be said about any system, just change the name. Even about Mac.
I have a PC that I use almost exclusively for gaming that is booted at most once a week these days. I don't recall it ever spontaneously rebooting.

The worst I have experienced is slow downs in game because it chose to update in the background.
I have a bunch of RTL-SDRs, the HackRF, and the AirSpy. I have only done VHF -> UHF work with them, never HF. In my experience, the HackRF receive frontend is pretty poor, at least in comparison. I'd use it if I needed transmit or for local strong signals only. The AirSpy has the best receiver of the bunch, but worse software support. I've had quite a challenging time getting it to work with GNU Radio and GQRX. It works great in SDR Sharp but that is no longer FOSS and must be run on Windows IIRC. The RTL-SDR is cheap and has a receiver at least on par with the HackRF and by far the best compatibility.
I believe the link should be:

https://www.typotheque.com/articles/hinting
Ara will be a crappy phone. But it will be potentially important to making Android, and perhaps the underlying Linux portable across a a range of instruction sets and SoC architectures, and, of course, a wide range of peripherals.
Google moving a town over would be the same as choosing a town like Longmont or Broomfield. Which is likely to be just fine, and provides just as many jobs for graduates in the area, without getting mired in Boulder politics.

That's exactly what Sun and every other big tech company did in the 1990s when they had a footprint in Colorado.
Equally important to knowing what is possible is to not know what is considered impossible, or at least considered very hard. Automation is often considered futile, and knowing that can be intimidating. We are often limited by what we think is impossible, but really isn't.

It is said that most Nobel prizes are earned for research done before 30, since any older and they would know the breakthrough they are trying to accomplish is impossible :)
Not quite true, but thought-provoking.

"The role of the police is to preserve a range of disorder that is enshrined in law, and thereby prevent violence against and stagnation of persons, properties, and cultures," would, I venture, be a nearer approximation of the truth.
I understand your frustration, but is the light rail & public transportation a right or a privilege? We're getting pedantic here though, so I'm not extending this conversation. I'm just glad the police didn't show up with a tank and throw teargas and rubber bullets at them. That's all. Some compassion & respect was shown towards protestors and the only downside the police had to face was a few frustrated commuters, I'm okay with that. Since it's basically impossible to make everyone happy in this kind of situation, I think annoyed commuters is the lesser evil here.
And I've got some prime real-estate on Mars to sell you. Along with a spaceship that will get you there and back in 2 hours.

Why on earth would you ever believe anything that comes out of their collective mouths? If they had access to core routers - they'd be idiots to ever announce it publicly. The amount of money they could make selling that access on the black market would allow them to retire at whatever idiotic teenage age they're currently at.
The protestors are using fear (the fear of being attacked by police) to achieve a political goal (somewhat murky but the general gist seems to be to accelerate the depolicing of cities).
He's (unfortunately & arguably) the most powerful person in the world, not some Joe off the street. Censoring any elected officials sets a dangerous precedent.

Your emotions are controlling you. Vengeance & revenge is how we ended up with the Patriot Act.
If this were your platform and its T&C explicitely said that harmful content is not allowed, in my opinion it’d perfectly fine that you delete a comment you deem harmful.

> "I disagree with what you say, but I will give my life for your right to say it."

FYI none of the people you cited ever said that. This is a 1906 quote by Evelyn Beatrice Hall that has been misattributed to Voltaire.
It is worth studying the East/West Indian Company model that the English used in India. The same is done know by US for space colonisation. Just look at the executive order signed by Trump to explore the moon. Seems like history may not repeat, just rhymes.
I would think that the main reason Adblock has become mainstream is because ads are extremely annoying and not because users are very concerned about tracking itself.
Yes I think this is what will ultimately happen. The idea that millions of people will simply disappear / change their political views because corporations and the government said so is absurd. Anyone with the slightest exposure to rural American conservatism would know that. In fact, it’s almost a fantasy scenario, confirming whatever bizarre conspiracy theory of the week.

Absolutely the wrong way to solve this problem.
Like codeknight11 said "most people don't care about privacy". Only innovation can displace WhatsApp not privacy policy.

Edit: Innovation can be as well business model that does not involve invading user privacy or in other words privacy friendly business model that does not rely on advertising.
For now. Acting as if there isn't incentive - bankrolled incentive - to escape these bans and establish places where these punishments don't exist is equally foolish. People with massive media followings have the power to single-handedly blow up new networks and content distributors.
I think there is another factor missing from both equations. If someone is willing to be available for overtime, that is valuable in and of itself, even if that person is never asked to do overtime. The company has the option of asking for overtime with employee x, and not with employee y, and could be persuaded by employee x to pay for that optionality.
> In the months to come they announced... the creation of dormitories — as demanded by Ms. Kanoute and her A.C.L.U. lawyer — set aside for Black students and other students of color.

What year is it, and how in the hell is racial segregation acceptable? We've gone full circle.
That's a fair point, but I think you've cherry picked a few very notable examples and made an apples to oranges comparison. The other tech companies acquire hundreds of small companies and shut them down. Google is notorious for this. The examples you used were big companies with massive user bases before the acquisition. I suspect Apple's most notable acquisition to date is Beats, and it continues to operate under it's own brand today.
Amateur radio astronomy is also alive and well. The cost barrier to entry is basically the $20 rtl sdr dongle if you have odds and ends around for making antennas.
but why in the world does it need to cost that much?

what's wrong with just using the jets we already have. I mean we have like a gazillion of those things. what percentage of the military/armed forces is currently being used or has been used over the last 10 years. I'm guessing it's a very small percentage.
Agreed regarding the reasons behind big institutions with large amounts of capital to bear the risk associated with lending compared to a small investor.

So if someone wanted a loan for say 300k, other small investors may choose to lend/service a portion or as much of that loan as they wish with interest?
That he's riden one or more waves.
It breaks my heart how few people in HN appreciate/understand BTC. This technology is creating a new monetary system + Internet for human kind.

What would it take to get you to read the bitcoin white paper and comprehend that bitcoin was not created as an investment vehicle but as an electronic cash system. So Wall Street is speculation on bitcoin. What did you expect?

Bitcoin is as useful at $100 dollars as it is at $1 million. Why then are we fixated on price when this technology can change millions of lives? Let's talk about the many awesome things we can do by coding trust into a decentralized Internet. Price is just a footnote.
Just going to also assert that Apple Maps has significantly improved head over heels over the years here in Canada.

YMMV.
The Obama White House did this, at least at a high level (basically as a education tool, not a detailed invoice): https://obamawhitehouse.archives.gov/2014-taxreceipt
It reminds me of the Way of Tao
Try deleting cache and data (backup your personal dictionary first). As with everything smart that learns (obviously YMMV, but that is my experience) it gets worse over time. Back when I used SwiftKey I deleted everything once a month to have a decent experience.
Ethereum 2
That may be true, but I can’t encourage my social circle to move to an alternative that isn’t polished and has a great user experience for non-technical users. It’s a non starter. Even if I did, the moment they start using it and a) it’s confusing b) most of their circle is using something else, they’ll a) drop it b) ignore my future suggestions :).

Take Matrix for example. I had heard of it but hadn’t really looked into it until now. There’s no official client, so you have to find your own. That’s already a barrier of entry for someone like my mom. Then I look led through their list of client apps, and it’s the usual issues with free client apps. They don’t look great, and the reviews claim they’re rough around the edges. Even my eyes glaze over at the thought of having to try out 3-4 different clients to find the one I like.

I’d the goal is to move our communication infrastructure to use more open standards we have be realistic. And right now from what I can see, Matrix is still a solution for and by technical people. Asking my parents to move to it isn’t realistic at the moment.
>realizing that I too was programming for the Internet in 1996, and I could have asked the same type of question, in the same year, etc.

Let me offer another way of framing it so it doesn't seem like comparing your programming-trajectory to Larry Page's programming-trajectory.

The way to look at people like Bill Gates, Jeff Bezos, Larry Page, Elon Musk is to see them as businessmen who happen to know how to do some programming.

I'm not trivializing Larry as a "script kiddie" because he did know advanced programming concepts since he pursued comp sci PhD at Stanford but the programming itself wasn't his main interest. Yes, Larry asked a Java question but the real interest was solving an intellectual puzzle: since the impact (e.g. h-index[1]) of academic papers can be approximated by citations, can that same idea be applied to webpages by analyzing the pages' href links??? This is the idea that's bigger than Java which preoccupied his mind.

After he codes his proof-of-concept crawler in Java, one of his later employees at Google Inc rewrites it in C++ for performance. Larry Page doesn't waste time arguing on internet forums that "C++ gives you so many ways to shoot yourself in the foot". Instead, he concentrates on the expanding his idea to organize all the world's information.

That's what a lot of us on HN are trying to do... find a big idea that just lets us use our programming skills to implement it. The programming is only a transition state to something else. Personally, I do like programming but that's not my end goal of self-actualization.

[1] https://en.wikipedia.org/wiki/H-index
> RISC-V was originally a teaching ISA

Where did you read this? I've always heard it started as part of Par Lab, a research project, and was aimed from the very start at being an open-source ISA that academia and then industry could use.
> 27" 4K at native resolution is far too small for me to read, but it looks great at 150% scaling, or even 200% for some things.

The problem is once you start scaling up you're losing real estate. 4k at 200% scaling gives you same real estate as 1080p. Sure the picture will look better but you're not gaining any improvements in being able to open and see more things at once. That and some apps can't handle scaling properly.

Personally I find 25" 1440p at native scaling to be a good balance of real estate, sharpness and ease of reading anything comfortably (even low contrast status bars).

With that set up you can open 4x 80 char side by side code windows in Vim, VSCode, etc.. You can also grab a really good 25" 1440p IPS panel monitor for around $300. I wrote a huge guide on picking monitors for developers at https://nickjanetakis.com/blog/how-to-pick-a-good-monitor-fo....
easy fix, give out a spoofed second

of course every fix creates another problem
> if this isn't a textbook example of a situation where law enforcement was justified in using lethal force, I'm not sure what is.

There is no reasonable justification for the police to execute an unarmed protestor simply for trespassing in a political building.

I suspect that you (like many others) have just become normalized to such police brutality, to think this is acceptable.
You have to remember we spent most of 2020 being gaslit by the media about “mostly peaceful protests” where people were being assassinated, $2 billion in property damage, a Federal courthouse attacked for weeks, and entire city blocks seized for days by protestors.

After spending the last 4 years hearing that Trump conspired with the Russians to steal his election.

But this suddenly is a mob committing treason and sedition.