skysight-inc/HackerNews huggingface dataset:
I think a part of the problem with Swift is Swift's community apparent devotion to the "look, ma, advanced Swift!" mentality. The shorter, the more compressed and the more arcane the code, the better programmer one is perceived to be. For example, I've been criticized by code reviewers for using simple, short if/else block runs, while convoluted, multiply-composed higher-order function chains with platform API mixed in were recommended instead, yielding entire micro-features that no part of a problem statement even asked for.

Moreover, if you also consider that Swift heavily uses type inference (if a compiler is allowed to infer something, your brain will have to as well, when you look at the code) and includes lots of edge-case syntactic variation (say, multiple trailing closures) or special-purpose features (say, SwiftUI builders), it is no wonder that even an advanced programmer can look at a piece of Swift and go: "WTF does this thing even do??". On top of all that, add a complicated generics system (i.e., Protocol-Oriented Programming) with conditional interface adoption and default implementation inclusion and you get a Frankenstein that only Apple fanatics can love.

Swift seems to be great for only two kinds of programmers: the small snippet "Hello World" crowd and absolute Swift experts. Intermediate programmers probably just get lost in the language with a sinking feeling.

Regardless of the fact that I have over 10 years of C++ under my belt, I experienced so much unexpected, recurring frustration with Swift over the course of a couple of years that I started migrating away toward Python. The devotion to simplicity, predictability and elegance expressed by the Python community feels, by comparison, revitalizing to me.

Not a rant, just my $0.02.
Sounds reasonable.

I wonder whether Apple would comply to a USB-based standard or move directly to only supporting wireless charging.

Thinner iPhones anyone?
This could've all been avoided if all manufacturers just followed the previous EU guideline (explicitly not a law) and agreed on a connector. It more or less said "we don't care what you choose, just choose one".

But Apple didn't want to listen and now the EU commission is sick of it and introduces a law. It's the industry's own damn fault that it didn't take the hand that reached out to it.
This concern does not translate well to anybody wanting to switch platforms. This level of sunk cost fallacy would not fly as an excuse for any other technology, let alone on HN.
Cyber Security Trends of 2021
The linked series of tweets makes a comment on the state of things in Ethereum, there’s no ”how do I fix this problem” asked. The poster even calls it beautiful.
If you include external costs, how much should suffering of mammals cost?
Microsoft’s Surface Duo 2 gets better specs, an even bigger $1,499 price tag
English is not my first language, with taste I meant to include flavor, texture, mouthfeel etc.
What we need are stable standards. Eventually. I can understand why internet protocols, (some) file formats, scripting languages, and wifi protocols etc are still in a flux and why everything is a chaotic mess right now. It is difficult to get everything right. Time is needed. But I think there is a lack of discussion about how important standards are as a long-term goal. We need to be able to deploy code that can operate in a stable environment, just like physical objects we design can operate in a world made of natural laws that will not suddenly change around them for no reason (well, rarely change).
20 years ago, when I was in college, I remember being super relieved that our Comp Sci course tutor wanted us to use Delphi/Pascal instead of VB.

At the beginning of the course, the tutor asked us all what other languages the class had experience with already. Being smug, I said I had used C++ and he then sarcastically announced to the rest of the class how they were all unworthy to be in my presence.

I really enjoyed Delphi. Those T prefixes still evoke nostalgia for Delphi 6 and 7, just before Borland went all-in on .NET and ruined the IDE.

Now that Qt is becoming more and more hostile, perhaps Delphi shouldn't be overlooked so easily for writing cross-platform desktop software... although it seems there's still no Linux support in the free edition.
Except it's not true - all sources say that the primary reason for deforestation in brazil is cattle grazing. Wikipedia [0] has numerous sources that say the exact opposite of what OP has said.

[0] https://en.wikipedia.org/wiki/Deforestation_of_the_Amazon_ra...
I don't know if it's what the author of this comment meant, but iphone chargers have an USB plug and the charging cable is a USB - Lightning cable.
But it's the case everywhere no?
Gitlab 14.3 Releases Project Security Policies and Next Gen SAST
You mean that Aprils fools joke USB-D?
Owning a moto Z phone, I was looking forward for this. Unfortunately, they never came with a real product.

I love typing on a hardware keyboard, I once owned an HTC Desire Z phone, which had a hardware keyboard and it was pretty great. Too bad nothing viable with a keyboard appeared since that time.
But is it substantially lower percent wise in single payer systems like the NHS? Assuming the 7% figure is correct that does not seem like an excessive amount and event cutting it by half would only result in a marginal decrease in prices.
I agree with your point as a whole but the Apple CSAM wouldn't really have this issue as it compares the images hashes against hashes of a specific list of CSAM.
I don’t think Apple provided an adapter, they merely “offered” one.
If only USB-C PD was less of a mess......

Somehow my 25W USB-PD original genuine Samsung charger doesn't charge my 2021 iPad Pro which normally uses a 20W USB-C charger...it just makes no sense.
When CDs Launched in America (2016)
How to Create a macOS Big Sur Virtual Machine with VMware Fusion
I think it’s more likely that Apple will drop the port completely and move to a wireless-charger only approach.
Swimming pool and landscaping companies in dubai
Futurescapes are committed to meeting expectations through innovative designs, quality construction, and consistent communication.
It can both be true that deforestation isn't important to Brazils meat industry but that people mostly burn down forests to create meat. Just means that we could stop the deforestation without much consequences, which is a good thing.
Japan is an counterexample because they're fairly unique in that they've been wearing facemasks for decades when they have a cold, they don't have a lot of anti-vaccers, and things work because people are considerate. If that was true elsewhere we wouldn't have needed many mandates anywhere.

It's a nice thought, but obviously not the case in pretty much any other country.
Google shifting to “upstream first” Linux kernel approach for Android features
I wonder if we would have heard similar analysis decades ago in regards to solar panels or other technologies that have surprised us as they’ve scaled up.
you can buy USB hdmi capture dongle for $10, its 1080@30 mjpeg, but nothing beats that price
Probably they think they can make the jump to a completely wireless phone before any USB-C mandates come in.

Apple's timing with the lighting port wasn't great, with it arriving just before USB-C, and I imagine they're very reluctant to change the port on their phones because people already have lightning cables everywhere.

Personally I would love to see USB-C on my iPhone, but I look at my parents, and having the port change for them would be a pain in the arse. All their cables are lightning cables, they don't have any USB-C devices, and ofcourse, all of their cables are the ones that came in the box. I suspect a significant portion of Apple's customers fall into that category.
It does contain a bit of Russia though.
From 0 to $3M+ revenue without spending $$ on paid ads
I've gone over the numbers the BBC keeps pushing a while back when another article was posted on HN so I'm not going to repeat myself, but in summary the problem is that these numbers are given as "deaths per population" without taking the number of infections into account. There's also no evidence that children are at a lower risk of developing Long Covid.

Note that these same sources also espouse that children are safe because of their lower infection risk but then go and compare the mortality rate to the entire population to come up with grandiose claims. When looking at the actual official UK numbers (i.e. comparing deaths after a confirmed infection to confirmed infections) child mortality is indeed significantly lower but only by a factor of 10 compared to adults. This paints a far grimmer picture than all this talk about there being a multiple orders of magnitude difference.

It's also worth pointing out that the vaccine supply is limited, so the question of whether children should be vaccinated is one of prioritization. If children already have a low likelihood of infection and have better outcomes than the average adult, it makes more sense to use that vaccine on an adult than a child.

German media also suggests the decision for the German vaccination authority to not recommend a third round of vaccinations at the moment is similarly driven by the idea that it's more important to make sure everyone has some level of immunization than that some people have a very high level of immunization: the goal is to control spread, not to protect individuals. Note that the German authority has greenlit vaccinations for 12+ year olds, so their risk evaluation seems to consider the likelihood of children spreading the virus or potentially developing chronic conditions in the future to be significant enough. Of course you can't compare these risks directly due to differences e.g. in the school systems and pandemic-related accommodations.
The problem with the lightning connector is that the springs are inside the device, while the springs are located in the cable in case of USB-C.

Every connector pair has a side on which there are just flat pads, and one which uses some spring-like mechanism to build up pressure in order to make a secure contact to the side with the flat pads. These springs wear out over time and lose their "springiness", it's just a result of material fatigue, and having them on the easier-replaceable side (the cable) makes sense.

Thus, USB-C just made a different trade-off: they chose the design that would not mandate very tight quality control with regard to the material used for the springs, while Apple chose an overall mechanically more robust design, but with this particular weakness that it requires more quality control for the connector parts going into devices. They probably did that because they're the only ones manufacturing that part, hence they are able to ensure quality, which is of course nothing you can expect with an open standard like USB-C.
> Good, though in practice it's not the charger the problem, I use the same USB plug everywhere

This isn't the first time the EU mentioned those plans, the current situation is basically the phone manufacturers regulating themselves to avoid an explicit regulation by the EU.

> it's Apple and their cable.

Of course there is always that one greedy asshole ruining it for everyone else.

> What's Apple reasoning for not abandoning Lightning for USB-C on their phones?

They probably considered Lightning to be superior but couldn't make it the industry standard without loosing their ability to charge absurd amounts of licensing fees for it.
Although primarily intended for games, Irrlicht is a relatively simple library (compared to a full game engine).

https://irrlicht.sourceforge.io/
They make the world a better place by making fancy toys for the top 10%.
I remember vividly how sometime ago (probably even today, for any value of `today`) it was clear to everyone how smart contracts where revolutionising everything, especially in communities with poor access to banking, with issues with corruption etc.

Just for $436 per contract...
It might differ per country. In NL it has been the case. The latest comes with an USB-C -> lightning cable [1]. I think the micro-USB might have been around iPhone 7 era.

[1] https://www.apple.com/nl/iphone-13-pro/specs/
Thank you. No need to be sorry. Not everyone needs to spin a narrative to justify their actions to make themselves feel good.

Looks like you do agree that at real scale it would have an impact. But whether you're an individual or a G20 leader, none of what we do matters?

I do agree we're locked into a web of incentives that discourages us from making sustainable choices. It's not any single person's fault. A few individuals giving up meat won't slow down climate change. At the same time, consuming more and more meat like we do now certainly helps accelerate it. Not to mention what we eat is only a small part of the equation. Now we're looking at changing our behaviours in many other areas too.

It's a predicament indeed. What can people actually do? They can continue business as usual, or worse, double down and consume even more, or they can change their behaviour. Each action is a vote. Just like in elections, one vote doesn't matter, a lot of votes do.

Yes it may not matter. Yes they might be hypocrites and just doing it to make their egos feel good. Or maybe they just want to be more compassionate and do what they can to contribute no matter how small. And in a violent world like ours, if there are people wanting to make compassionate choices, we should encourage them.
> Probably they think they can make the jump to a completely wireless phone before any USB-C mandates come in.

What is the efficiency of wireless charging?
That doesn’t really solve the problem, though. In fact it makes it worse if you have to curry around a wireless charger that is more bulky than the cable it replaces!
> I also think vegetables are very energy inefficient compared to for example potatoes. Not sure how we can defend growing anything with such a minuscule calorie count given the impact of pesticides and herbicides on the environment.

Cattle are herbivores, so we're feeding _them_ plant matter for them to convert to meat for us to eat. We're also growing massive amounts of soy and corn just to feed those cattle already, when we could be growing substantially less than that to feed ourselves.

> Not sure how we can defend growing anything with such a minuscule calorie count given the impact of pesticides and herbicides on the environment.

Not sure how we can defend the current status quo when we're growing many times the amount of crops to feed the animals using those pesticides and herbicides, _and_ pumping said cattle full of antibiotics, but yet here we are.
What you are saying is that an certificate of authenticity is useless because you can burn the artwork with a torch. Those two things are mostly unrelated.
We're stuck with USB A on desktops since the late 90s. It hasn't harmed us. The connector is non-reversible, but it's robust with many, many disconnect-connect cycles and can support higher speeds with USB 3.2. I still use USB chargers made 10 years ago. They work fine.

I think it's fine to be stuck on a "good enough" standard, if this results in less e-waste and less need to upgrade all accessories simply because the dominant connection port changed.

If we wanted to have the standard update itself every 15 years or so, we can have a body dedicated to selecting, or creating, such a standard. We don't write automotive standards directly into our laws, so we don't have to the same with charging port technology either. As the maxim goes, "every problem of computer science can be solved with another layer of indirection, except for having too many layers of indirection".
Vaccines have 71% effectiveness against transmission of COVID:

> The researchers looked at 113,582 adult index cases and 253,168 close contacts of all ages; 5,394 fell under both categories. (A close contact was also classified as an index case when they tested positive.) Less than 1% (0.5%) of index cases were fully vaccinated, while 1.8% were partially vaccinated. For close contacts, 2.1% of were fully vaccinated and 1.7% were partially vaccinated.

> Overall, the researchers say adjusted vaccine effectiveness (aVE) for fully vaccinated household contacts after confirmed exposure was 75% and 79% for other close contacts (95% CIs, 72% to 78% and 74% to 83%, respectively).

https://www.cidrap.umn.edu/news-perspective/2021/08/study-ti...
Not sure, whether legislating a particular standard might backfire in the long-term?

I imagine that there was a time when it made sense to force everybody to have a VGA port..
> It doesn't really matter what you run.

What are you talking about? You have nothing to hide?
You are so addicted to Apples "solution" that as a tech savvy professional you cannot "countermeasure" against.

Practical? What is practical in knowing that your trusted computing device is easy target? Did you not understand that "power of association" with high-profile target by false positive will ruin your life forever? And this "automated" processes will be "included" in all commercially viable OS's.

IDK but sticking with FOSS and practical knowledge looks like better solution than trusting "whatever magical <Big Corporation> tech.
But who am I to question the Apple fetishists of current day. After all in the past I was in this camp. So be happy with whatever "rationalization" you come up with. Everything is fine and dandy, the Big Apple is taking care of you.
Hoskinson has announced doing this for a while now. Good to see he’s delivered.
Vaccines reduce the likelihood of getting infected in the first place, and hence also the likelihood of passing it on after exposure. It doesn’t eliminate the possibility, but on a societal level it has a significant effect.

I certainly agree that vaccination should be voluntary, but you haven’t shown that the extreme level of coercion you’re implying actually happens, or that what is policy is disproportional.
Is that the exact one you've ordered from them before? Is it reliable, can fast charge, etc? I've found usb cables such a huge hit and miss, even buying from "reputable" places, as they just re-sell cheap chinese knockoffs that don't work.
Of course not. Have you not seen how often public figures change their tune? They don't have to answer questions; they can just turn around and walk out of the room and everyone will forget.
I don't care about lab-grown meat or other "realistic" substitutes.

Just give me no-soya plant-based alternatives, at a price that is grounded in the cost of ingredients which current ones are definitely not - [1][2] vs [3]

[1] https://www.lidl.pl/p/grilluj-tak-jak-lubisz/dobra-kaloria-b...

[2] https://blix.pl/produkt/kotlety-jaglane-z-burakiem-well-well...

[3] https://www.lidl.pl/p/grilluj-tak-jak-lubisz/grill-fun-burge...
Some of the examples use grammar I don't quite recognize:
"メッセージを送なさい。"
"書類を読むの為に開ける"

I think I would have said "送りなさい" and "読む為に".
Hopefully, Haku is or can be made flexible enough to handle that.
I think the iPad pro etc lives in a different category. They're all high end devices that are bought by people who either like tech, or use it for work. People who want the latest everything, and are happy to change things like cables to make it happen.

The iPhone at this point is just a phone. I suspect most people own them because their good tools for everyday life. Based on an observation of my parents, their friends, and parents of my partner, I would say that most of them don't give a rat-arse about the port on the bottom. They just want the phone to work with the cables they already have. For many of these people an iPhone and iPad Air will be the only computers they own.

I appreciate that my point is a little undermined by the new iPad Air, but I suspect that iPhone will go to wireless only charging, something the iPad can't do, and Apple don't want to go through two transitions in less than 5 years.
That's marginally useful, but if the aim is indeed to reduce waste then the key measure would be to stop bundling chargers with phones, as also suggested by the article.

What creates waste is that every time people buy a new phone they get a new charger, which they don't need in 99% of cases because they already have a box full of them.
As the party guilty of trotting that quote forth, I have to say I couldn't agree more.

Nevertheless, the time lag to improving enough to debug your own very clever code may for some be recalled as a period of floundering dismay, self-doubt, and potentially crippling imposter syndrome.

At these times it is important to be willing to ask for help.

Corollary: at any given time, write code that is only slightly beyond your ability to debug, so that the competence delta is small.
What's labor intensive about it? Mass producing and assembling PCBs is very cheap. A Chinese manufacturer will make you an injection mold for $2000 and then you can produce thousands of plastic parts for almost nothing.

I think the mistake you are making is that the processes that make 1000 units are completely different to making one unit ten times. The design gets streamlined for manufacturing. Nobody is going to hand solder wires to fix a botched PCB layout 1000 times. You'll just redesign the PCB layout and try again.
> Lab grown meat probably can't compete until they re-invent "animals" in the lab.

Yes, but this also means it's going to be huge improvement over "regular" meat - they don't have to reinvent whole animals, just the parts that matter.

I find it weird to postulate deal-breaking fundamental limits for a process that's a strict subset of a process we've been using and improving for thousands of years.
An average consumer probably gets a new phone every 1-2 years. That means 50-100g of junk plastic every year per person.

This seems very small compared to the amount of non-recyclable plastic I get every time I go to the supermarket (Fruit and veg in plastic wrapping).

Are USB cables very resource heavy to make? Is there something that makes them especially bad when compared to other waste?
When things like this happen, always remember that you can file a chargeback.
Depends on the legislation, so lets wait on that.
We also have pigs and poultry, which have much smaller footprint than ruminants.
I still miss Delphi from time to time. I started with 5 and used both 6 and 7 before leaving for greener pastures. I've never used anything as productive for creating Windows applications, it was just a joy to use (in 2001-2004).
If this was done years ago we’d be stuck using micro or even mini usb. I shudder at the thought. Lightning was superior to those two. Under this regulation, Lightning and USB-C couldn’t have happened.
Haha, maybe we just read each other people's comments to serve as summarized context but in different perspectives. Works for me.
Reminder that it's perceptual hashes, not cryptographic hashes. So it's enough that images have enough visual resemblance, according to the model. Natural collisions have been observed and generating collisions for planting on someone elses device is trivial.

Apple also only recieves a DB of hashes and so have no way to verify that they're only scanning for CSAM and not other "undesirable" content.

https://github.com/roboflow-ai/neuralhash-collisions

https://github.com/anishathalye/neural-hash-collider
Yet you keep visiting his website despite how gross it is for you? Wow. That's some sacrifice you're making only to learn more about Ruby. I suggest the community gives you the Ruby Hero award wdyt? I'm not being totally sarcastic (only a bit) this shows some true grit on your part.
And how does that work when you're researching tanks and other military vehicles? Perhaps the researchers should photoshop someone wearing shorts and drinking a pina colada into their catalog of armored fighting vehicles from the Middle East.
> I think it's fine to be stuck on a "good enough" standard, if this results in less e-waste and less need to upgrade all accessories simply because the dominant connection port changed.

That’s your opinion. I disagree and I certainly don’t want to see it written into law.