skysight-inc/HackerNews huggingface dataset:
I've had having plenty of problems with Apple devices not communicating with one another even on iOS 14 and before: from the Apple Watch not unlocking the phone when wearing a mask to macOS Safari no longer prompting for unlocking the Keychain or unlocking my Mac via the Watch, etc. I just assumed that it's because I have a Series 3 Watch and it's getting to that point where it's getting less functional with each update. Shame.

The worst problem I've had consistently across multiple iPhone models and OS versions is trying to answer phonecalls on the Mac/Homepod and the caller on the other end being completely unable to hear my microphone which basically made the feature completely useless to me because I cannot leave my phone upstairs or downstairs and just rely on being able to take calls on an Apple device near me because there's a major chance that it's just going to end up in me frustratingly looking for my phone around the house while the caller is confused and 'hello'-ing at me. It doesn't seem to be a networking issue.

I recently went through my keychain, updating re-used passwords, including on my Apple account. That was an interesting experience as well because re-enabling my iCloud account ended up in several lockouts due to it asking me for passwords or passcodes of random devices on my account and then refusing to accept any of them despite me entering the correct ones.

It's a crying shame because all of these issues seem like software bugs to me and I don't think there's going to be a real solution to most of them. But it's given me a motivation to peek outside the walled garden, at least.
Wow, this person's Github about says it all.

> Several years ago I switched careers from sales, marketing and consulting to learn how to program, with the goal of making the world a better place through code. Whether that means giving people access to information, the tools and technology to level the playing field with big corporations, or empowering people in impoverished regions to participate in the world economy.

> To date, I've created more than 1,000 open source projects in an effort to reach my goal.

They're good at marketing, I'll give 'em that.
> By the time the design was nearing production it was probably too late to cancel when they realised that some parts of this planet have the boneheaded idea that flashing the red stop light was a good idea

If only designing cars is what they did for a living..
They can ignore that as needed. Just like import checks.
Pack the far north with SMRs, use the electricity to power CO2 capture farms and make starch, and the waste heat can heat homes. Northern Alberta never looked so good.
I just bought a car that costs more than the highest optioned Tesla.

According to you, Tesla should be hiring me for FSD beta testing, according to "selection".

I don't even know how to respond to your assertion.
Anybody know if these support building and selling an API? I've been trying to find a good + cheap/free set of tools to build an APIaaS that includes payment (stripe), rate throttling, auth
Having contributed to the Danish Wikipedia, I was astounded by the arrogance and the accusations by the other contributors/mods.
That was what made me not contribute anymore.
Tesla definitely should have a camera watching the driver and detect if they're being an ass.

if user.is_an_ass == true: disable_autopilot(days=7)

That should teach them pretty quickly.
In 1994 the leading Swedish party the Social Democrats made it their policy to have women on every other electable position. This policy obviously increased the number of female candidates the party fielded but, according to research, also increased the average competence level of the candidates. Contrary to common(?) wisdom, the competence of female candidates that took positions from male candidates were generally equal to or higher than the men that they replaced. Thus the fear that gender quotas that favor women in politics will decrease competence seem unfounded as it is contradicted by research. Furthermore, the research may also indicate that men has some inherent trait unrelated to their competence that gives them an advantage over women. Parties generally select their candidates through competitions and, on the local level, they often amount to nothing more than popularity contests... This process may be inherently biased against women.

The research is here: https://www.aeaweb.org/articles?id=10.1257/aer.20160080 I'm sure anyone who frequents HN is able to find and read the full article online. Feel free to read it before criticizing. :) The authors define competence as a combination of educational attainment with income level compared to the mean. So it's a very crude metric, but similar metrics have been used to measure competence in other contexts.
One way to look at it is, are you optimizing for a local maximum of personal happiness, when you'd actually have a more happy and fulfilling lifetime by optimizing it for the both of you (a la Nash equilibrium)?

Another way to look at it, constraints breed creativity. You sometimes come up with better solutions when you don't have total freedom.
I want to take the chance while Swift is on the front-page to talk about something mind-blowingly exciting (to me, at least) about it that people might not be aware of:

>> Swift has support for C++ interop, without writing manual bindings! <<

Yes, you read that right. Swift can interop with and import C++ members/values, without needing to write a corresponding Swift type mapping. It's currently the only language I'm aware of that can do this (Nim doesn't count). I think it's because Swift is so integrated into LLVM/clang, that it can do a sort of mixed-compilation of Swift/CXX sources. Such that from a compiler's perspective which language they come from doesn't matter -- but I have no real clue.

It's very early, but it can already do some impressive things. The "cxx-interop" tag on the Swift Forums will show you what is basically a timeline of it's development and current status:

https://forums.swift.org/tag/cxx-interop

And here is the "C++ Interopability Manifesto", the outline they have for the feature in the language:

https://github.com/apple/swift/blob/main/docs/CppInteroperabilityManifesto.md

For a real-world example of using this, here's a test repo from the core developers:

https://github.com/plotfi/cxx-interop-test
https://github.com/plotfi/cxx-interop-test/blob/main/Sources/CXX/include/CXX.h
https://github.com/plotfi/cxx-interop-test/blob/main/Sources/Swift/main.swift

You see here direct import and use of "std::" namespace, including "std::vector" and "std::string_view", as well as use of structs and arrays:

import CXX // <-- This is CXX.h, local C++ file
import std.string_view
import std.vector

"42".withCString { cstring in
let view = std.__1.string_view(cstring)
assert(is_str_42(view))
}

var MS = MyStruct()
var MS1 = MS[0]

var v = V()
let arr = v.getVec()[0].swift_array()
print("std::vector: \(arr)")

Fucking mindblowing! It requires a ".modulemap" for the C++ code, but that can be auto-generated with most build tools AFAIK.

This is one of the most exciting things happening in tech for me. With Swift supporting Windows now, you have a great language for consuming C/C++ libraries and publishing native binaries or shared libs. Really looking forward to the future developments here.

I have never even written Swift, but I've been following the developments here closely. After Swift 5.5 features, looking like a really solid language if you want to do systems programming but can sacrifice some binary size and performance for a higher level language. Particularly the new Actors stuff for safe concurrency.

(Also, there's a chance Kotlin Native may get C++ support in the future, which would also be sweet)
Tech firms have "adapted"(*) to capital gains taxes through using tax havens and they will surely adopt to declining green cards.

As I am applying to US software consultancy firms as a remote dev I see more or less 80% of them will explicitly mention that they have an office in Eastern Europe or in India. I have heard stories of managers on H1b asked to open and manage offices back in their home countries.

Industrial production has successfully left United States for bad policies and better opportunities. So will the tech scene.
This occurred in a game of mine.

I play(ed) international correspondence chess. The games can go on for years. In one of my games, my opponent sadly passed away. The game was adjuticated to a draw nine months after we had started.

I did not have much personal connection with my opponent or interaction beyond our moves and an initial greeting, but it was obviously an extremely sad way for the game to end.

Edit: the termination string in my game was actually that of a draw by adjudication, but I do want to make it clear that a death during a chess game is not as uncommon as one might expect.
How to Build a Winning Cybersecurity Resume
This is why I hate being a manager
I agree with this so much that I strongly feel that it should actually be an repos option as it clearly lays out the responsibilities of all parties should they choose to use the code.
H1b pulls in lots of people. The majority get "chewed up and spat out" and go back to their home country. A minority indeed can make it, going to consultant/entrepreneur etc.

There's no reason for a high tech American worker to view this situation as remotely in their particular interests. No only does it lower but it allows companies to maintain their grueling coding schedule, a system that burns out a whole lot of people.
Remember back when there were those posts about camera swap breaking face id all the apologists came out defending it, saying all the repair concerns about batteries/screens/... were slippery slope fear mongering?

Yeah... It is not slippery slope, it is slowly boiling the frog.
I think energy is going to get a lot cheaper in the coming years. Especially at times when renewables are overproducing.
Isn't an H1B only renewable once for a total of 6 years? Maybe it has changed but I think it was like that when I had one ~12 years ago.
Russian fighter jets escorted US Air Force bomber
that's been my impression as well. when I look at articles focused toward my field I struggle to figure out how I can contribute without needlessly adding complexity or excessive detail to--what amounts to--an encyclopedia entry. Wikipedia isn't done but a lot of the low hanging fruit has been plucked.
Thank you! Streaming output to aplay works pretty well for me.
It depends on what your business and value prop is. An MVP should demonstrate the ability to solve a problem that a customer would pay to have solved. I'm not sure uptime and security in depth are appropriate for an MVP.or initial discussions.

Can you expand on the problem and the user?
Point was that you having only king can't win against person with king+pawn ever. Even if such player was dead and thus played to lose.
Submitted by the same person too. Last commit was 3 days ago which was just adding the license.
Yeah, but the rate of that change makes all the difference.

Consider biological systems: they're constantly evolving, constantly in flux - and yet, all living things we can see with unarmed eyes are fixed in the scope of a human lifespan. Most of those don't show meaningful changes withing lifetime of a human society. Cooking recipes of our great grandparents are still valid today, because fruits and vegetables and meat didn't change that much[0] over the last century. Wood still works the same way it did 1000 years ago.

Being able to change much faster is good - as long as the changes tend to lead in useful direction. Software seems to be changing way faster than it's needed, because it's changing for the wrong reasons - instead of improving the value it provides, it's usually about one-upping competition, or forcing recurring payments, or forcing competitors to waste money (e.g. by introducing incompatibility on purpose). Software industry resembles a rain forest, in terms of both diversity and frequency of senseless murder (er, "survival of the fittest"). But as humans, we've dominated this planet by being smarter than that, by being more efficient than natural evolution.

--

[0] - Despite being optimized directly by our industrial processes.
then why did the Mini representative say "when you can see full rear of the car"?
Animal cells are very hard to keep alive since they are used to having blood and oxygen constantly pumping, that makes them expensive to farm. Plant cells on the other hand are very robust and survives harsh conditions, they are way cheaper to cultivate.

So if anything is worth artificial cultivation like this, it is plants like Coffee where the part we eat is a very small part of the whole plant. Then we can skip the rest of the coffee plant and just grow the beans.
Agile and Software Quality
CIA Reportedly Considered Kidnapping, Assassinating Julian Assange
At this point I just make a quick guess and try not to spend any more time thinking about estimation. In my experience, all time spent estimating is time wasted. If there is some hard date that needs to be met, I have the luxury of ditching features that we don't end up having time for. If you're in a situation without that luxury, you have to everything in your power to keep expectations in line with reality.
The abstract doesn't say what you're saying. It says that the competence of men increased on average because the worst men got kicked out. Which is obviously what's going to happen. If you take a class of people and remove the bottom half, the average of the remaining people will necessarily be improved.
My friend who is on H1B is being paid almost $1M/yr TC at FAANG. H1B is not driving the price of wages down.
That is really stupid. But it is probably confined to the US where stop lights are used as turn indicators.

It looks like a misguided attempt to remind people of the Union flag.

Edit: Oops, didn't read all the article; that is exactly what they were doing.
It can keep getting renewed indefinitely if a green card application has been filed and is in the backlog.
Tell HN: Weboob has renamed to Woob (Web outside of browsers)
Hi HN. Just wanted to let everyone know that Weboob has been renamed to Woob. It looks like they've taken the rebranding seriously as even the individual applications have been renamed to something more sensible. E.g. the finance application was called Boobank, it has now been renamed to Woob Bank.

I think this is great. I hope this gets more people to use it and it becomes bigger.

New link for Woob is: https://woob.tech/
Tesla drivers can now request Full Self Driving beta tests
My bad. I tend to assume most of what I read here is from the US.
Is that really the case? In the UK at least indicators have to be orange, so they are easy to distinguish from brake lights. I find it insane that there are cars with red indicators like this one. Definitely couldn't be sold in the UK.
I think L-1 visas are more employer bound. Changing jobs on an H1-B is possible, it's just more paperwork and annoyance. In tech although, most employers are willing to go through that paperwork, so for certain industries that isn't really a barrier in practice as you sit and wait for some lawyers to do some paperwork for you. Getting rid of leetcode would probably do more for people's job liquidity.
True, but this is preventing a kind of decay that software is, by its digital nature, immune to. Information doesn't weather or rot. There's no software equivalent to "missing tiles" or "rotting roof beams".
> while the US was far more evil than anyone cared to admit at the time, and the USSR far less than the US propaganda would have you believe,

Have you not heard of Stalin? Many more murders than the fascists / Nazis / holocaust.
I drive everyday in an area with lots of minis with these indicator lights and have never had a problem with them, I think they look great.
It would be interesting to see who will answer the call.

This is a few months visa, which means come to UK, supply us with goods, make some money and fuck off.

That kind of opportunities are very nice for the youth where you go to some foreign country in the summer work a bit party a lot and tell the experience to everyone for years.

For a grown up to come to UK for a few moths of a skilled job doesn't add up that easily. Truck driving licenses are expensive and are for mature people since they are trusted with very expensive and powerful machinery. Who does exactly goes to a foreign country to do that job? It must be someone who is retired and does it every now and then to make some extra buck or someone who is unhireable on a regular job.

What the people are supposed to do when the 3 months of visa expire? Go back and hunt for a job that they just left? It doesn't make sense unless the money is extremely good and in the UK the money is not good, it's not like the US.

Earlier today I stumbled upon a blog post of a EU truck driver on the reasons why the EU people left UK: https://orynski.eu/20-reasons-why-there-is-shortage-of-drive...

After the Brexit referandum in 2016, EU nationals had the privilege to keep their right indefinitely, with almost no paperwork and cost up until the beginning of 2021 and many did not take the opportunity.

If they recruit people from outside of Europe, how do they plan to make them leave the UK? EU is rich, even Easter Europe is a fine place and nobody will choose to work illegally in the UK(if they wanted that, they could have stayed legally).

People from poorer places will want to stay, that's why you have the Calais issue. People from richer places cannot be paid good enough to come to the UK.
Prince Andrew's attorneys acknowledge he has been served with US court papers
Faceid deserves an IgNobel prize anyway
Wouldn't all tampering with FaceID involve shutting the phone off to disconnect and re-connect cables anyway, thus disabling FaceID until the correct passcode is entered?
The requirement for H-1Bs are: 1) bachelor's degree or equivalent from any institution on the planet, 2) an employment offer.

While there are many brilliant people working on H-1B visas, H-1Bs are people with bachelor's degrees, not necessarily "the best minds".

The advantages provided by the H-1B system are:

- As a country, get the benefits of educated people without the economic cost of having to raise and educate them.

- As a company, more leverage over employees, and in many cases, you get employees with lower compensation expectations.

- The visa last 3 years and it can be renewed once, giving you 6 years before a green card is required. In this way, you get the most productive years of an educated adult.

The disadvantages are:

- Wage depression.

- More competition for local workers.

- The process of degree certification is done by attorneys not educational institutions. Most 4-year programs are eligible for H-1B, but not all foreign 4-year programs are equivalent to an American Bachelor's degree.
Just like anything else in life.
Ask around, pick up the phone, send an email requesting more info, ask for references.

And if you are in a position to share time or money, find and organization that provides these services and help them with outreach or mentorship. It's something within reach for a lot of folks already in tech.

In minority communities with first generation immigrants they may not know that services like these exist. Try to spread the word within those communities too through local community groups.
Perhaps we should invest some of these energies thinking about getting on our bicycles instead
We don't need more government in our lives. However instead of all that overbearing safety equipment, why not just have automatic driving?

> "when any driver is supposed to be in full control of the vehicle at any given time?"

Because this is not reality. Nobody is in full awareness and control of the vehicle at all times, that's just how humans work. Even if we were, we still don't have the same reaction speeds. If you actually watch the Tesla examples, you'll lots of aware drivers who just didn't notice or react in time to a collision.

Your entire premise is faulty. We can't work with what should be but rather what actually is.
I went to 4 petrol stations that were out of stock today and a 5th that had a tanker pull up and a queue of about 20 cars behind it. This wasn't an issue until the media instilled panic in the general population.
Tough. I have litte sympathy for companies that have been abusing the H1B system to import indentured servants at substandard wages for decades. The list of top H1B sponsors is a murderers row of the most awful bodyshops.

https://www.myvisajobs.com/Reports/2021-H1B-Visa-Sponsor.asp...
Exactly. Immigration grows the economy. Period.

The economy is made up of people. People make up the labor supply curve,and people make up the product and services demand curve.
Interesting is this what you are referring to

>In the Soviet Union, the first production of feed protein from hydrocarbons took place in the 1970s. In total, the country built 12 plants with a designed production performance of around 1 million tonnes per year. This was close to 70% of the world’s bioprotein production at that time. The importance of the bioprotein industry in the country was comparable with that of the nuclear industry, since it allowed the Soviet Union to be self-sufficient in feedstuffs.[1]

According to the article[1] the paprin caused health issues for the animals fed on it and health problems for the people who ate the the meat obtained from the animals.

>Paprin had a devastating impact on animal health. This product disturbed the hormonal and water balance, causing the formation of oedema all over the animals’ bodies, the Russian Business Consulting agency reported, citing research by the Bashkiria State University. Meat obtained from these animals was causing flare-ups of chronic diseases in consumers. “Meat obtained from animals fed with Paprin contained an accumulation of abnormal amino acids that were incorporated into the membranes of nerve cells, thus disrupting the process of conducting a normal nerve impulse,” said Raisa Bashirova, senior researcher at Bashkiria State University. She added that it was even dangerous for humans to work with Paprin: “The workers at the plants and local residents were developing diseases such as thrush and bronchial asthma.”

While the grapin was proved to be safe.

[1]https://www.allaboutfeed.net/all-about/new-proteins/bioprote...
I would use Occam's razor with this idea and posit that it is much more like that its a lack of overall mindshare with functional programming than with the nature of language abstractions.

Don't tell me that Lisp ever achieved cool-kid status that a thousand different libs wouldn't pop up basically overnight.
Source is this Yahoo News article: https://news.yahoo.com/kidnapping-assassination-and-a-london...
Got it - thanks for the clarification.
Growing Object Oriented Software, Guided by Tests by Steve Freeman and Natt Pryce. It taught me an awful lot of lessons about object oriented design and London-school TDD. It was published back in 2009 and things have moved on a bit since then but it's still worth reading if you want to understand that style of development. Reading this book changed the way that I write software, very much for the better.
Apple probably did not design it this way to make repairs difficult, but rather because it simply worked for them.

Why should they need to consider independent repair shops? I agree that it's not acceptable for Apple to deliberately sabotage such repairs, but I wouldn't assume that this is deliberate without evidence.

I think it's perfectly okay for Apple to make products which are too complicated for most independent repair shops to fix, just like I think it's okay for Ferrari and Lamborghini to do the same. Mandating otherwise would be anti-consumer.
Generally no. The US has relatively tight rules on when and why you can sue them.
If it's really more efficient than plants, then it would make sense to have solar panels combined with this process also in places where agriculture is feasible and there are no issues with transportation costs.