skysight-inc/HackerNews huggingface dataset:
Check out the Tailwind author's reasoning: https://adamwathan.me/css-utility-classes-and-separation-of-...

I find it more compelling than I expected.

The truth of the matter is that as much as the idea of separation of html vs css sounds good, it's so hard that I rarely see it done. Without constant vigilance, you end up with premature abstractions, things you can't actually reuse, and an append-only accumulation of CSS.

The dream sounds good but leaves all the hard details for you to work out yourself. And frankly, after over a decade, I remain unconvinced and ready to look for new ideas.

Breaking the rule with Bootstrap since it first came out never stopped me from building great things, yet trying to obey the rule slowed me down and had me constantly refactoring CSS. It feels like a cargo cult.

We've been pointing to CSS Zen Garden for 17 years as an example of the benefits, but giving everything a class so that you can address it from a .css file isn't the hard part, and that's all the garden shows. The hard parts are organization, maintenance, coming up with a unified strategy, playing CSS whack-a-mole when you change HTML, deciding where to define what, finding where you defined what, etc. The garden demonstrates none of that.
>Good luck avoiding the likes of Google Analytics or ReCaptcha if you want to use the internet.

I avoid Google Analytics all the time. It's called NoScript. c: It actually has no effect on site functionality, either.

ReCaptcha's a different story though. :c
Is is not clear if all the Bugs will manifest in the same manner after the translation.
I've used induction stoves at friends' places and at AirBnBs and I've always hated them. Possibly I just need to spend more time with one to learn it. They're super fast at boiling water, yes, but whenever I've frying stuff it seems extremely picky about alignment and eventually starts beeping at me and shutting off. I also had lots of difficulty picking a perfect power level, which is trivial with gas. The granularity in the digital controls seems too poor, or it has something to do with the thermostat not having direct contact like it does in an old electric stove?

The biggest issue though is every IH stove I've used has had touch controls on the top glass panel which means if you have any spills or overflow, you can't even turn it off.
More cores is an obvious next step, but I'm curious to see how well Apple can scale the unified memory architecture. Can you put 32 cores (plus cache) and enough memory to keep them busy on a chip that retains the advantages of the M1?

Edit: answers to a similar question on the other thread suggest that it's NBD to move the memory off package.

https://news.ycombinator.com/item?id=25331710
Thanks! Really useful.
lol it has been done in spain before: https://theecologist.org/2010/apr/16/spanish-nighttime-solar...
This is an excellent article, making several points that I would not have thought of if I were to write on the same topic (point 11, for instance.)

I would, however, like to make a point about commenting, as there are at least three related cases where renaming identifiers and restructuring logic is not sufficient. The first thing is where one is doing something non-obvious on account of an unintuitive (and possibly undocumented) fact about either the problem domain or some remote part of the the system that it is infeasible to change; the second is some non-obvious corner-case (a subtle issue of thread- or exception-safety, for example); and the third is where the algorithm itself is non-obvious (Jon Bentley wrote of a colleage who found that one of his algorithms had beem 'fixed' and 'improved' to the point where it was no longer efficient; a suitable comment might have avoided that (and there's also the famous /* You are not expected to understand this */, for which no mere restructuring or renaming seems to offer an effective alternative.))

I am sure you are aware of these exceptions, but not everyone on the comment-deprecating bandwagon seem to do so.

https://en.wikipedia.org/wiki/Lions%27_Commentary_on_UNIX_6t...
Apple is probably going to be first on TSMC's 3nm which will go into volume production in 2H 2022 so perhaps they can hit 300W easy.
Even in cultures where regular drinking is normalized, it’s typical understood that there’s a difference between having drinks and binge drinking. “Work hard, party hard” heavily implies the latter, as it’s indicating that the person doing it will party more than is socially normal, and is proud of that.

Also, I’m an American, and I’m largely commenting on both American culture and American startup culture; both of which I’ve participated in. My observations about this are relevant for Zappos, a startup based out of Las Vegas, but might not be relevant for say EPAM in Minsk.
Safety doesn't just come from language features, it also comes from the language disallowing dangerous actions. Rust's unsafe mode opens the door to undefined behaviour, of the sort that plagues so many C/C++ codebases (buffer overflows etc). A program written in safe Rust offers far better assurances than a program making heavy use of unsafe Rust: safe Rust is unable to result in undefined behaviour. (Bugs in the compiler and standard library may still cause mischief, but that's another matter, the intent of the safe Rust subset is to be guaranteed free from UB.)

You may be right that a program written in 100% unsafe Rust might still be less prone to undefined behaviour than a program written in C, but that's not my point. Excessive use of unsafe features undermines the considerable safety advantages that Rust offers over C, and it's regrettable when this is disregarded.
Tachyons needs this for a button:

<a class="f6 link dim ph3 pv2 mb2 dib white bg-black" />

Anyone so quick to show the same in Tailwind to have a comparison?

You can see the button rendered here (the first at the top): https://tachyons.io/components/buttons/basic/index.html#0
> The State Lottery made a mistake in all this. They listed the odds of winning that was associated with each combination of numbers.

I don’t see why this is a mistake. Every lotto should do it, but I can see why they don’t.
Gas cooking stoves perform better than most electric. Unfortunate fact.
>What IS it about Apple that makes a certain class of tech geek feel like they have to dislike them in such a public and performative way?

Well in this case some of the reasons seem to be anticompetitive behaviour.

Tech geeks like to use their general purpose machines where they have a choice to pick their preferred tools and programs rather than feel like they're being pushed to get trapped in a walled garden of everything [company x] that comes to exist by said company exploiting monopsonies and leveraging it's platform control to slowly increase it's clout and push out competitors.

Yes the same can apply to Microsoft or the like in other/similar cases.
Ah yeah sorry, Brave doesn't support paid extensions. It's a known issue with the browser. I usually direct Brave users to download a release package directly: https://github.com/mikecrittenden/shortkeys/releases

Feel free to shoot me an email (in my profile) with your order number and I'm happy to refund you.
One of the reasons I moved away from web presentation projects is overwhelming frustration at just this: There is no other area of technology where there is so much running to stand still: Massive amounts of make-work and "innovation" to do pretty much exactly what people did in 1999. It is extraordinary how many libraries and magical solutions can be embedded to create something that a 15 year old in Notepad threw together with basic CSS and HMTL twenty years ago.

I apologize to the web community at large for the snarky, dismissive tone, but seriously it just seems extraordinary how it's just an endless march of new approaches and new silver bullets to do absolutely trivial things. Arguments about maintainability or extensibility fall by the wayside when that trend du jour is discarded next month because now it's being rebuilt on Backwind on the Spry framework using the TypelessScript stack, etc.

I am absolutely in awe at the advancement in virtually every other area of technology, almost all of it worth every bit of attention and learning. Where we are building enormous, hugely complex projects. Then we have the web where after countless "toss it all and throw it all away" cycles, the community is heralding this. This is what has, to quote the linked article, " taken the frontend world by storm".
there is nothing stopping you from using @apply in custom classes if you really want to - or using data attributes for targeting, depending on your use case.
Could you share some usecases whereby normal people could benefit from internet-enabled devices utilizing 5G, that wasn't possible on 4G?
The irony of using a personal blog to warn of the dangers of letting people freely voice their opinions without centralized moderation.
As.exchange Is Live: Hack Bitcoin Price
Alter Securities, a developer of innovative financial products and technology, announced launching of as.exchange trading platform. as.exchange is the only venue where Tranched Value Securities (patent pending) will be offered, alongside with other new derivatives in the near future, which are expected to enhance traders’ risk management, returns and contribute to more efficient markets.

as.exchange currently is the only company around the globe providing OTC cryptocurrency derivatives trading to retail users, as well as institutional investors. Unlike other cryptocurrency derivative exchanges, as.exchange is the only one that offers patented financial products. This sets as.exchange apart from the major competitors, making the products offered beneficial even to the other cryptocurrency exchanges for the purposes of liquidity enhancement and risk management.

According to the recent research by CoinDesk, the most popular derivatives for cryptocurrencies are perpetual swaps (invented by BitMEX), and futures, currently offered by most of the largest exchanges. In fact, as of 2020, out of 43 large exchanges, 74% of them offer perpetual swaps, 53% offer futures, and 20% offer options. There’s a small number of cryptocurrency derivative exchanges that offer novel products, among which are FTX, Delta Exchange, CoinFlex, and LedgerX, but even these “new products” are new only for cryptocurrency markets, but have existed for a long-time in other alternative asset and capital markets. Due to that, the so-marketed “innovative finance” market, was not so until the launch of as.exchange with own patented derivatives.

“Alter Securities through as.exchange is expected to bring the long-awaited true financial innovation, in the world with overhyped FinTech, where the true innovation was taking place in the technology stack, without the necessary attention for financial part, ” said Nikolay Zvezdin, Founder and CEO of Alter Securities.
Well, arguably a lot more financial services at least. It just can't happen yet because blockchains don't scale enough.

A while back I read Matt Taibbi's book The Divide. Chapter 8 was about collection on delinquent credit card debt, and it was horrifying. According to Taibbi, "the bulk of the credit card collection business is conducted without any supporting documentation showing up or being seen by human eyes at any part of the process....in the overwhelmed modern court system, simply attesting to having the right documentation works just as well as really having it."

According to one judge, "On a regular basis this court encounters defendants being sued on the same debt by more than one creditor alleging it is the assignee of the original credit card obligation." It's also common for lenders to claim delinquency despite the loan actually being paid.

In theory, defendants can challenge all this but even if they could afford lawyers, they often don't even know they're getting sued. When they don't show up there's a default judgement against them and their wages get garnished.

If we had a really scalable blockchain to run all this, including the loan payments and loan sales, then courts could automatically check this stuff. We have the tech now to maintain sufficient privacy for borrowers.

Of course we wouldn't need a blockchain if courts were doing their job, but a pure software solution is likely cheaper than spending a lot more tax money to examine paper documents.
It's true it's simple right now but I think a wrapper around it can be helpful, especially for those who may be new to data recovery. I am hoping to add in the ability to format the disk properly so as to do a non-obvious 'wipe' of the contents as well as some functionality around controlling the camera once I'm able to dump the firmware. I'm new to hardware stuff so this is kind of learn as I go and documenting the results
You can use just two GPUs if the host is running a virtualization manager like Proxmox.

I currently run a Windows gaming VM and a bunch of Linux VMs on top of Proxmox using a single GPU. Planning to add a second GPU for transcoding in the near future.
The good news is that different parts of an SoC can run at different clock rates, and outside of the CPU/GPU it's a much more reliable world.

Yes, you bin the whole SoC; but all the performance differences are expected to be concentrated in the CPU and GPU. Expect a high bin where all cores and all GPU subprocessors are working, a medium bin where 1 or 2 CPU cores and 10% of the GPU is either missing or running at a lower frequencey, and a value bin where perhaps half the CPU cores and up to half the GPU are downgraded.
Indoor antennas can be bought for like $15 here in the US
Put it on top of an existing blockchain and the incremental carbon cost will probably be low. Put it on a proof-of-stake blockchain and it'll be essentially zero.
OP explicitly said serial program tho.
Been through this process. Thing is, when you have a <Heading> component, you might as well simply write a css module for that component. Tailwind is great for "fast prototyping" and quickly styling a bunch of static HTML though. Wouldn't use it for a larger single page app.
> But high-core CPUs are typically slower per core.

While this is true for intel CPUs, this hasn't been the case for AMD Threadripper. The 2990wx has marginally higher single core performance than the 2700x (https://www.cpu-monkey.com/en/compare_cpu-amd_ryzen_threadri...), while the 3990x has only slightly lower single core performance than the 3700x (https://www.cpu-monkey.com/en/compare_cpu-amd_ryzen_threadri...).
A few things stand out in this article:

1. Rich Hickey is quoted in the article, Clojure is mentioned in two other instances, yet Clojure itself is never subjected to the author's evaluation. That seems strange.

2. The quibble about NaN === NaN being false in JavaScript. That's what every language should be doing since that behavior explicitly defined in the IEEE 754 standard. NaN === NaN should always return false and NaN != NaN should always return true. It's in the standard.

3. Dynamic typing is bad. There's pros and cons to dynamic typing. Saying dynamic typing is bad for all circumstances simply reveals a lack of professional maturity and subtlety when selecting tools. Yes, there are many scenarios where the benefits of dynamic typing are outweighed by its cons, but likewise there are many scenarios where the benefits of dynamic typing far outweigh its cons. Literally, YMMV depending upon the problem you're trying to solve.

4. Lack of garbage collection is bad. Like dynamic typing this is not a universal. There are times when you do not want garbage collection. Most of us aren't working in such domains and so yeah, we want garbage collection. The author fails to recognize the existence of domains where garbage collection is harmful to the runtime environment.

Bottom line? It's good to have choice. We're not all programming in the same domains and working on the same challenges. The trade offs we're going to make based off the pros/cons of each feature are going to be different - and that's a good thing!

As for me, I've been programming for nearly 40 years now and my go-to modern languages are JavaScript, Python, Go and Rust. They're modern, have plenty of support and libraries, lots of people know them and want to use them, AND they keep this old-timer's CV up-to-date! I learned long ago the key to success is to be able to get stuff done, not learn a bunch of languages and don't worry about what anyone else thinks is cool.
Agree on (2), but I respectfully disagree with (1).

It adds a lot of friction for the author to have to make 10 separate commits to address 10 comments. I also don't want to review 10 separate commits.

The majority of my comments are on separate chunks of code, so it's not that hard for me to see the resolutions to all of them in one big diff.

Edit: I'm assuming the commits will be squashed at the end of the review. If you're preserving the full commit history, then I can understand why you'd want the atomic commits for each note addressed.
... just like you explain it to a... rubber duck? https://en.wikipedia.org/wiki/Rubber_duck_debugging
Great post. This is the part I liked best:

>When your reviewer makes a suggestion, and you each have roughly equal evidence to support your position, defer to your reviewer. Between the two of you, they have a better perspective on what it’s like to read this code fresh.
I've been wondering whether to put in a heat recovery ventilation system. I imagine that if the air purifier could trigger the ventilator to bring in fresh air, it would cut the time needed to clean the air to a fraction.
> It was a triumph of a consumption mindset over usability.

Touché. At the time the iPhone launched I had a Nokia N91. I later got an N95 and finally a N900, after which I've only used non-productive touchscreen devices.

Speaking of which, I've been following and drooling a bit after the Gemini PDA and its successors (Cosmo Communicator) but now with their latest Astro Slide I'm actually considering biting the bullet and getting one, thanks to the new keyboard mechanism which doesn't require you to open the device to see the screen: https://www.indiegogo.com/projects/astro-slide-5g-transforme...
Performance is a feature and that null check has a cost. The code is correct. The null check is unnecessary. The bug is passing null in.
Any chance we could know the total infrastructure spend of this setup?
I have a "low budget" PC with 32GB RAM and 8 cores. I don't know why anyone would want a workstation with less than 128GB RAM. Of course, the Apple world is extremely weird and you get massively overcharged for commodities like RAM.
Apple doesn’t lawfully sell in Iran; Its products are still ubiquitous in the upper middle class.
But looking at it purely from a technical standpoint but the Sharp and Coway and other actively monitoring filters are kicking into action because of an increased particle count in the air. Whereas the article is about NO2 gas emissions trapped indoors.

I am not sure these HEPA filters are fine enough to actually filter NO2, SO2, CO, etc, are they?
Agree. When interviewing candidates, it’s best to avoid asking for information they have already provided (e.g. with their application or during a screening call); you’ll lose valuable time and risk appearing indifferent or unprepared to the candidates’ eyes.

Instead, take some time to read candidate resumes, profiles or applications and make notes of key points concerning their skills and past experience. Then, you can use interview time to elaborate on these points or ask for the new information you need to help with your evaluation. When looking through candidate resumes, keep your interview questions in mind and ask yourself:
Ask HN: How to shift an engineering career towards Product Management?
I'm looking for some career advice, and perspective. If HN isn't the right place for this, I'd appreciate any suggestions on where to look.

Recently, I had an interview where a tech lead condescendingly commented on my "lack of web app experience", which upped my anxiety around feeling stuck. I'm currently a web developer for a small agency, building marketing websites for clients. I have eight years of experience building websites and web apps for small companies and startups.

While I enjoy web development, I really want to shift to product management.

I've boiled down my available paths to the following:

1. Focus on learning algorithms for interviews, get an engineering job at a larger software company, and hopefully find an opportunity to shift into a PM role. The increase in remote positions has made this more possible recently, but I'm not convinced I'd get the right opportunities to shift to PM.
2. Apply for PM roles at a generic tech consulting company. It could mean soulless projects at a nameless subsidiary for a few years.
3. Find a startup that needs an engineering lead who can also PM. This worked for me in the past, but there are fewer companies these days that need that sort of help.
4. Start my own thing. Hoping this results in a company that can pay me a salary, or at least the experience I can write about to get a job at a different company.

My main concern right now is that the most viable paths might not result in the right opportunities to switch, and I'll feel just as stuck in two years as I do now.

Anyway, I guess my question is, what are the best ways for an engineer to switch towards product management, given their current role doesn't (and won't) offer any opportunity for relevant experience?
If Wales gets kicked out and starts Wikipedia 2, I'll help edit it. Wikipedia has a lot of community problems, maybe Wikipedia 2 will fix them.
> The people that inspect building regulations are paid for by the developers, and not by councils. So there is lots of "optionality" in an otherwise good set of rules

As an American, this is wild to me. I’m not sure how it works for our public houses, but as a private citizen I actually have to pay the local city to bring a government inspector out and double check any electrical, plumbing, etc. work that I do. The people that built my home decades ago likewise had to pay a percentage of the home’s value to the city for inspection.

The idea that a developer anywhere can decide who gets to inspect their building seems like an obviously bad idea.
My prediction of the next most obvious built-in function after lambda and let: `=register(name, reference_or_formula, [scope])` that registers a defined name for the spreadsheet with code rather than the "Define Name" box.
For everyone commenting that denmark is "too small to matter" - please keep in mind that denmark basically kickstarted the modern wind energy industry. Cheap wind energy is one of the major pillars of hope for the energy transition.
It's usually people who feel sour about spending their savings on Apple product and want to justify it so hard, they'll try to shut down anyone with even a hint of criticism for that product. They just cannot feel they might be in the wrong. It's actually an effective litmus test for one's personality and you can more easily filter out your circle based on how well people take such criticism.
Considering Woz's history of not having produced anything of value, it is clear what this coin will be worth
It actually sounds like the perfect position for him. He had an impressive-sounding title of CEO of Zappos without ever actually having to do much; it was a sinecure that let him focus most of his energy on the stuff he cared more about towards the end of his life, like his Vegas project, partying, and drugs.
My suspicion is that with natural gas prices expected to rise due to decrease in fracking, coal companies are likely funding research and native ads to pick up as much business as possible. This would keep money out of the hands of their competitors. That's not to say the information presented is not useful.