skysight-inc/HackerNews huggingface dataset:
We were never going to stop it. As soon as the "real lockdown" people were calling for in the US in April, 2020 was lifted, the virus would start spreading again since there would always be travel, p999 events, people violating lockdown, and animal reservoirs that would reintroduce it. China is the best case for "following through." It can hold back covid, but only through extensive testing, lockdowns, and border restrictions in perpetuity.

Given US values (e.g. "don't tread on me"), 15% of the population would ignore restrictions. You'd also see the same thing globally, sometimes because of values, sometimes out of economic necessity.

We never had a chance to vaccinate the world quickly enough, either. Up until delta, the mRNA vaccines might have been able to eradicate it, but delta was circulating in India around when those vaccines were approved. The logistics and manufacturing capacity to deliver them to rich countries was still 6 months away.
if the "machine" is programmed to make a certain "choice", and "obeys" that programming, why is it guilty?
“Effortless to follow” is eloquently put.

When I interview candidates during recruiting I often ask the open ended question “what is good code for you” as it gets people talking. There is rarely a wrong answer. Usually, there is a difference in answers between more junior and more senior programmers. More senior candidates focus more on the readability & maintainability, while more junior programmers focus on accuracy, speed, following style-guides etc.

For me “good code” is code that is easy to change. Most things follow from that: easier to understand makes it easier to change. Do 1 thing (SRP), makes it easier to change, etc..
Say what you will about not being able to reverse myopia, but I didn't really believe it. My brother recently wrote a book about his experience of going from -4 to 0 diopter over the course of less than a year without surgery: https://www.discoveryournaturalvision.com/

I tried the same technique. I went from wearing -3.5 contacts to -1.5 in about 3 months. The basic concept is forcing your eyes to read any text closeup (computer screen, books) at the edge of blur instead of it being in focus. That's basically all there is to it. People prefer laser surgery because it's less work than putting in the effort 8 hours a day for 3+ months at a time. I admit, I've given up after reaching -1.5, since it's good enough, but I'd like to rid myself of contacts entirely. The last 20% is 80% of the work, same principle applies :)
It's all made of inter prediction + intra prediction + residual coding.

There's an evolution from JPEG -> MPEG2 -> MPEG4 part 2 (XviD) -> AVC -> HEVC… where it gets more complicated over time but that's still the structure.

There's also alternative ideas like wavelets (JPEG2000) and many other minor silly ideas; almost all of them are bad and can be ignored. Which is not to say the MPEG codecs are perfect.

ML people think they can do "ML video compression" which will be a black box; I think this might work but only because calling your video codec ML means you can make your codec 1TB instead of a few hundred KB.
I mostly agree but

> Why can’t I view two code windows side-by-side?

This works just fine. You can have unlimited horizontal panes each having the same or a different file. Or, you can open a second Xcode window of the same project (e.g. right click a file and open in new window) hide the UI and you have multiple editor windows for the same project (something VSCode can only do in a limited fashion)
How to make diagrams and flow charts in Keynote on the Mac
what are the optimizations you are talking about?
I agree, yes. My history is less Java and more PHP.
Same reason why there is no Nazi Germany flag - they are not included in Unicode.
What do you imagine that Microsoft got in trouble for?

>Judge Thomas Penfield Jackson issued his findings of fact on November 5, 1999, which stated that Microsoft's dominance of the x86-based personal computer operating systems market constituted a monopoly, and that Microsoft had taken actions to crush threats to that monopoly, including Apple, Java, Netscape, Lotus Software, RealNetworks, Linux, and others.

https://en.wikipedia.org/wiki/United_States_v._Microsoft_Cor...
Festering Hate
heheh. Yeah, I don't remember WAIT being a function on that device. Very cool that you still have both of those. I would love to poke around on one again, one day.
This comes off incredibly naive of FE engineering.

Buttons and Doodads? sigh.

A significant factor as to why Apple has succeeded the past 2 decades is due to the design of their products - from the sleek aluminum bodies of their hardware to the UI/UX of their operating systems.

Unless you want your UI to look like something out of 1995, you're going to have to make it look good.

Making it look good will require a decent amount of code.

From animation libraries like Framer Motion, or data visualizations using d3, or even After Effects renders from Lottie.

That isn't even mentioning the amount of state that is required to be stored so that proper renders could occur - If your user has logged in, if your user has typed something into an input field, how many times you should retry a request if it fails, what functions to run due to a websocket response, and myriads of other things that FE engineers have to deal with.

Please reconsider your thoughts.
> My understanding is that WebKit is the only rendering engine permitted on iOS as a security precaution, ostensibly taking Apple at face value and in good faith.

Look at mac. Do we have a problem with firefox on mac? Both mac and iOS share the same OS kernel. Using security as an excuse is laughable.

I once read on twitter from a mozilla dev saying they were even willing to build a browser engine without JIT just to satisfy the security requirement. But eventually they went with webkit to build Firefox for iOS.
As a citizen and consumer I agree with your perspective, but as a developer I'm starting to wonder where the public/private line is being drawn in everyone's mind.

The whole "does twitter owe someone a platform" conversation is fascinating.
> Objective-C’s success was driven by iOS.

Well, Objective-C is from 1984 and its major success was being cloned to make a programming language called Java.
QuantStack (small company that carries Jupyter): 2021 in review
As someone now experiencing Spanish gov systems after getting used to gov.uk - 100% yes. They’re actually really quite good.
Unicode has more than enough space and text is rarely a blip on the amount of traffic carried on the internet, emojis are fine.
The crypto selloff wiped $7B off corporate balance sheets
Trade shows are a particular kind of crazy.
> They're really not stable in two dimensions?

Stable is not really the right word. "Well behaved" is better. In 2D all orbits are stable in the sense that escape velocity is infinite, but a consequence of that is that you don't naturally get nice (nearly) circular orbits that keep planets in habitable zones. That only happens in 3D.
I could be wrong, but it seems like the cost to demolish a mall and completely rebuild is dwarfed by the value of the real estate. I don't particularly want to live in a former mall, but I might be interested in a condo in the same location. Just demolish everything and have developers create new living spaces from scratch. Malls are mostly parking lots anyway.

I may be drastically underestimating the cost of such a project. But the real estate for centrally located malls is likely to continue increasing in value.
Yeah I agree with almost all of these. IMO the most important is “keep it simple”. That is always always my coding North Star and it’s served me well over the many years I’ve been programming.
Judicial review of executive actions like these and its mechanisms of enforcement do not stink, rather they are one of the greatest achievements of human civilisation and arguably function better than literally every other part of society in any democracy you care to name. They do not need reform. If they needed reform beyond small calibrations of penalty units, the correct answer would more likely be a civil war.
To drop 80lbs in 6 months would need 3lbs drop per week, but with a BMI of 46 this guy really needs to be losing weight regardless of any potential trips to space!
“Deadbolt” zero-day exploit is encrypting QNAP NAS volumes
> Hopefully I can convince you that you don’t really need clean code, you need _____ code. It’s up to you to fill in that blank with words that describe what your project requires.

The answer to this lies in quality of the final product, which is roughly determined by two opposing forces:

1. How simple is it for a team to make changes and continually meet the quality spec.

2. The velocity at which the team can make those changes to meet the product spec.

Anything apart from these, is down to someone's personal preferences (usually in search of trying to invent a DSL mimicking their favourite language).
Vision therapy doesn't work for everyone, it's quite a bit of effort. Under-correction is only one component, therapy should be designed in conjunction with lifestyle.

For liability reasons (e.g. driving) optometrists tend to err on the side of stronger rather than weaker, so most prescriptions are for distance activity. If you're spending many hours with screens that are at arms length or closer, then reducing a distance-driving prescription by 0.25 may not be enough to reach the "edge of blur" for closeup vision.

The https://endmyopia.org community has more info. If you don't have the time to learn about measurements and feedback testing, look for a local optometrist who endorses vision therapy and can work iteratively with you.

This comment may be relevant: https://news.ycombinator.com/item?id=30112144
> is a set of rules that absolutely are not at odds with one another

Yes, if you take them as general guidelines, not dogmatic rules with variable interpretations

The latter is exactly what his fans do

> 2 .Keep it simple stupid

> 2. Prefer polymorphism to if/else or switch/case.

No, not at odds with one another...
I guess it's a matter of what the IdP attests. It's definitely possible for an IdP like Okta to include a ton of client details as part of the attestation payload. Stuff like GeoIP, client certificate fields, MDM status, etc.
> - driver can reveal internal workings of their “proprietary” hardware

Every, somewhat solid, HW engineer from the competition will be able to still grasp those inner workings from a proprietary driver and the HW itself.
In the end they cannot just copy (most) things over due to facing potential legal issues, no matter if the driver is foss or proprietary.

> - they use driver features to further differentiate their hardware product
> But really it’s just old tradition and paranoia

Agreeing here, albeit AMD and Intel seem to have (somewhat) grasped that it doesn't need to be that way.
Newton and Einstein both seem to be on the side of hidden variables, so I'm not sure if it's unpopular among the elites.

I have a lot of trouble imagining any experiment which could completely rule out every other influencing factor. There are silly thought experiments such as what if the world has been objective for the last x00 years - prior to that and after, the laws we've observed during the period would bend; things will become inconsistent.

It's silly and I don't even believe it, but it does show that science is incapable of completely ruling out everything.

The truth could be endemic mystery. Endemic insanely and terrifyingly simple endless levels of understanding. In a way science is nothing unless that's the reality.
No, don't follow the VUE path, don't add your own invented format. Let us just write standard js/html.
All right, so you're a sociopath.
Something like this would certainly release a lot of regulatory tension. I suppose they've run the numbers and concluded that a significant chunk of their subscriber base would be willing to jump through said hoops for cheaper services and apps.
We have flying cars, they just don't look like what sci fi authors imagined, and we call them helicopters
How wordle finds word of the day
You think no one is deploying DANE for SMTP?

https://stats.dnssec-tools.org/images/domains.svg

It's deployed on many more domains than MTA-STS.
It always amazes me how important and useful open source software is often supported by small team doing heroic efforts. I found it very interesting to learn about QuantStack and what they do to support Jupyter data science communities.

I'm personally keeping a close eye on Jupyter Lite [1]. which uses WASM to run python and popular data science libraries (e.g. numpy, pandas) completely in the browser.

[1] https://blog.jupyter.org/jupyterlite-jupyter-%EF%B8%8F-webas...
Novartis acquihired them very early on and now is performing clinical trials.

Results from the most recent completed study are encouraging:

https://www.healio.com/news/optometry/20201012/further-study...
At the moment, yes - we want to figure out the principles of application/block interaction in a web context first, and then move on to other environments. The principles should be transferable, although some of the 'how are they implemented' won't be (https://blockprotocol.org/docs/faq#what-about-non-web-contex...)

The comment above you is right that 'handling blocks implemented in different ways' (in a web context) is one of the mushier parts of the spec, and it's something we need to do more prototyping and refinement of.
I find the framework part difficult. There are so many factors that impact bundle size and performance. To start what type of apps? How much content do they pull in? How much interactivity is there?

If you for example compare a few very minimal mostly static site vs let's say data dashboards your comparison stops to make sense.

Also consider the people who use the frameworks; some of the frameworks are quite new, you can expect a higher percentage of "early adopters" which are likely to be more experienced and write more performant code in general.

It reminds me a bit of Wordpress. Can be very quick, but most sites were/are just 100 plugins bundled together into a slow mess. Its popularity and ease of use messing with its "score".

Anyway, it's definitely interesting to see such numbers, but I won't be using them to make decisions or draw conclusions.
It’s more or less open advertisement. The user constantly advertises their product on HN.

It’s a tough market, and HN might include users or sysadmin types who might be interested in ZFS backups.

Whether advertisement violates the site rules, I don’t know.
To me it's a consumer rights issue. Apple shouldn't have any say what I can and can't install on my device. It would be like if Tesla made you sign an EULA for your car that prevented you from putting on your own tires and instead you were required to use Tesla ones. In the car market "for your safety" is an even stronger argument and yet everyone can see straight through that argument. Freedom has been under assault in computing now for the last 20 years and for some reason there's a loud contingent of nerds cheering it on. It really is baffling to me. The absolute best and exciting time for me for iOS was when people jailbroke their phones and used Cydia. Now it's just a bland corporate sell out of an operating system.
You may have moral rights preventing them to do that : https://en.m.wikipedia.org/wiki/Moral_rights

As a Frenchman my moral rights are inalienable but I’m not sure I could realistically force HN to respect them because the European court probably has more important tasks.
+1 when I write code I always think about how my reviewers would perceive it before sending it over and I refactor based on that. You should aim to write code that's easy for others to follow.
> Perhaps every team need to have a "definition of clean code" for themselves.

All of these concepts are attempts to codify practices that worked really well for specific people in specific circumstances. Like Egg Shen, we take what we want and leave the rest.
Yeah, polymorphism is in no way simple in lots of languages/frameworks. It's actually quite complex in many common languages/frameworks. This is absolutely contradictory in my opinion, but I welcome disagreement :)
The section "Presenting like a professional", especially, is just gold, applicable to many more situations in life than communicating with institutions.
Nitpickery, but in the mathematical notation A = B is not an assignment (and is exactly the same as B = A).

Assignment is more clearly written as A := B, but I never saw this as a maths thing, but as a programming convention.
They haven't even come up with such practices, let alone taught them to anyone.

The practices which they did come up with have been terrible, even harmful (e.g. changing passwords often and using special symbols).

Of course if you teach the wrong thing, you will get the wrong results.
Yes, the fee admin cost is the killer. The volume is so huge, even a fractional penny mounts up
Focus, start, share: how companies can win at innovation for sustainability
Yes. I didn't mean to disprove that point.
They aren't. This is why pattern matching and typeclasses (to use the Haskell words, though I know other words are in use as well) have become increasingly popular features in languages.
Sorry, how are banks connected to this and what policy? They are stealing out of a pool of money (taxation), you would still have that pool with cryptocurrency somehow. How do you prevent this from happening?
Think you meant to say "extinction of deaf culture."

Speaking for my family, my normal-hearing brother connected just fine with our very deaf parents. He learned sign language and what he had to do to communicate well.
Hmm...polymorphism is almost invariably simpler than if/else or switch/case, so not seeing the contradiction.
Flutter isn't built on top of the DOM. And anyway that's not why they're not immediate mode. Take a look at some egui code and you'll see huge differences, e.g. in how button clicks are handled, when code runs, etc.
> some writing is clearly better and some writing is clearly worse
This is a presumption, and one that I don't share

Like music and other forms of art, different styles appeal differently to different audiences. Many people find the language that 8 year olds write in to be terrible, and some people find it endearing and honest and meaningful. Software is no different in my opinion

Audience always matters
Past:

https://news.ycombinator.com/item?id=18800172 3 years ago, 30 comments

https://news.ycombinator.com/item?id=15206926 4 years ago, 276 comments
He definitely has an anti-crypto bias but I am the opposite so I don’t let it prevent me from enjoying the content. It’s pretty evenhanded so far, about halfway in. The production is well done if simple.
This is vaguely okay but makes the common mistake of overemphasizing that codecs use an IDCT. That's just a component of intra-prediction, it isn't necessarily important or used, and in H.264+ it isn't even a real IDCT when it is used. It's a simpler transform that isn't mathematically accurate but is bit-exact, which is more important.
Apple charges what the market will bear (and their guessing, mostly accurately, that people who want an extra 16 GB of memory would rather pay an extra $400 than switch to another laptop manufacturer). Claiming that they are selling their entry levels models at a discount is just silly, Apple has considerably higher margins than other manufacturers. I'm not sure what are their exact margins on laptops, but the 2500€ is more close to being an 1300€ machine than a 5000€ one (since their margins on storage and memory upgrades are almost definitely above 100% this gets worse the more upgrades you get).

Not that I'm trying to blame Apple, they've done a great job and it would be irrational for a company to not take the free money (I'd do the same and it's not that their competitors are better, high end PC laptops have similar margins it's just that less people want them so Dell, Lenovo etc. tend to sell them at massive ~50% discounts eventually (same with Android phones) which Apple never does, since their prefer to sell at relatively low volumes but with huge margins). However their prices for ram/storage are objectively predatory and the only reason they can get away with it is because there is no viable competition, it has nothing to do with "subsidizing" entry levels Macs. If they wanted to they could easily cut their prices by 500-1500 across the entire 14/16" mbp range and still remain more profitable than all the other laptop manufacturers.
We will be providing these, yes - we want to minimise the amount of work embedding applications have to do in setting themselves up to render blocks, as well as making it easier for block authors to write them.
Microsoft also was forced by the EU to offer a browser choice in a fresh install of Windows. At least in Europe this probably offered a lot of visibility to alternative web browsers.

Also IE felt years behind the competition and the situation isn't even remotely comparable to Safari. It seems like the Safari team made some efforts to catch up. While they aren't at the same point as Firefox or Chromium they did catch up a little bit over the last year.

The situation with IE was completely different. Microsoft used IE to push proprietary standards like ActiveX and it felt like there wasn't really a active development team for Internet Explorer or that Microsoft IE wasn't a priority. The first thing isn't true for Safari and while it feels like Safari wasn't a priority for Apple they announced making more of an effort if I remember correctly and if they don't Safari will probably go down the same road as IE.
Why does this get so many upvotes? There is no value in the linked post other than saying: Buy my masterclass!
Yeah, I thought the whole point of malls was that it's actually walkable between the stores, without getting mauled by a car or dying of thirst the long trek between two parking lots.
Play store have competition, btw: https://www.amazon.com/gp/mas/get-appstore/android.

And the big argument against Apple is that you can't have the same for iPhones.
Well I think its more that consumers shift behaviour.

For some people clothes shopping is best experienced in person. For others its nicer to do online.

I like almost everybody else used to go shopping for clothes but now I mostly shop online. I get vastly expanded selections and with easy returns it is for me more convenient.

I do know percentages but just to pull a number out of thin air if just 20% of shoppers moved a majority of their clothing purchases online a lot of retail shops could not afford that drop in sales.

Some malls can change into your example 1, but others in other locations won't have the overhead to do it.
I read the intro page and skimmed the rest of the tutorial, and am left this this: What does this provide over HTML/JS?
How to work around Monterey’s Finder memory leak
It's sad that Unicode doesn't include flags for dissolved countries. If it did, reversing an US flag would make a Soviet Union flag (code SU). This would make the text much more fun
Sadly there seems to be nothing so attractive to a new(ish) programmer than a shiny silver bullet wrapped neatly into some popular or fashionable term, or better yet a three letter acronym.

Our industry features codebases that approach “big balls of mud” as complexity increases. Last week it was called “agile”, this week “clean code”. Perhaps “agile microserviced functionally hexagonal clean code” (AMFHCC™) next?
This one reads a little clickbait-y .. all this build up for him to just demonstrate he understands cloud IAM policies? Blend it with a little Linux, Windows, etc. Kind of a let down, thought this article was gonna be super meta :(
...and there are also sprayers that cost over $7K.

Was that money spent on a sprayer? Almost certainly yes. Who could check this?

For that, I'm just going to repeat your own words back to you:

> CPA's verify that the funds were indeed spent as reported

And then ask again what possible incentive the accounting firm could have to lie.