skysight-inc/HackerNews huggingface dataset:
It's important but like, it generally boils down to "do you have nested loops" and "are you using a binary tree". A lot of system behavior isn't defined by these kinds of decisions because your N is small. Rather, it's defined by say TCP backoffs or queue sizes, or the broad architecture of the system (must you wait for consensus, do you use Salesforce SObjects as a cache before dumping into Postgres--a real life example--what is your "needs rerendering" trigger). I think it's useful for a programmer to have this kind of basic knowledge of code, but the amount of play it gets in interviews is pretty disproportionate to its importance.
Uber Eats, too. Missing items ruin the meal and you still get charged the delivery fee, tax, and tip. This happened to me a few days ago. For a missing item, they offered a $5 credit. No refund. It left me not wanting to use them again.
> Unpacking doesn't let you specify default values if cardinality doesn't match, nor can you extract dictionaries by keys.

I'm a bit confused by this one, but maybe I'm misunderstanding. Does this not accomplish what you're defining?

def parse_record(first=0, second=1, **all_the_others) -> dict:
return dict(first=first, second=second, **all_the_others)

dictionary = dict(first=99, third=2)
parse_record(**dictionary)

> {"first": 99, "second": 1, "third": 2}
Cashing a check takes 6 weeks in the UK. Not many people can wait that long for their salaries to show up.
Why would the vine mimic the leaves of the host plant? Is it tasty enough for animals to seek out the specific leaves or what?
This is not fair. Most parents really care about their children but just caring isn't always enough. They don't always know how to fix it. Teen years is when kids start becoming their own people, they do more without parents, keep secrets, and those are not problems, they need that to become adults. But it is not fair to tell parents both "give your kid space to grow" and qt the same time "you must know everything about your kid, if they are self harming and you do not know then you're a bad parent".
Is this viable? As in, is there a reasonable pathway for renouncing US citizenship and then getting citizenship somewhere else?

I wonder if this opens up pathways to citizenship that aren't available otherwise. The "passports for sale" are mostly either extremely expensive or for tiny island nations like St. Kitts. But maybe there are additional countries that offer citizenship to stateless people out of compassion?
I'd say there are many more advantages to working for a small rather than large organization.

Those would be most likely to take a tailored approach to hiring even for juniors.

Though of course you should do a bit of large ones as well to see what it's like and put it on your CV.
Very interesting! I didn’t know about the redwoods in Scotland. I wonder if you’d be allowed to plant non-native trees now.

There’s a dawn redwood in Brooklyn:

https://greatesttreesofnyc.tumblr.com/post/125394832885/dawn...
I get excited every time I see the word Homelab. I am hopping to see people running research analytical lab experiments. Like dashboards of all their esp8266 IOT sensors. Live 48x64 pixel streams of spectroscopy machines. Flow rates on the micro-dosers. Looping time lapses of the past 24 hours of reactions. Tabs with KVM screens of old lab live equipment that where saved from the scrapers like electron microscopes running on 386's. Links to their fellow live HomeLabers. Gosh, I think am I just going to start my own genre of LabPunk fiction.
For my own curiosity.

> If you have financial assets worth over $2 million, you may have to pay a one-off exit tax calculated as a capital gains tax as if you sold all of your assets on the day you renounced.

Do you have to pay capital gains taxes on anything over $2 million or wholesale all capital gain?

> You have to attend an exit interview at your nearest U.S. consulate or embassy.

Can they reject your exit?
Australia made it borderline impossible and also restricted citizens from leaving (I think they were the only country to do so?)
“class of people so eager to take wealth/future prosperity from their children”

Agreed. Very Ugolino.
> Blaming him [..] comes across as naive

Calling this naive is itself naive. It's not naive - it's malicious. The author dislikes what Snowden has done in the US, so he is trying to demonize him by holding him to some saintly standard of self-sacrifice that almost no-one could live up to.
A friend once told me that in Buenos Aires you have a nice phone you leave at home and a shitty Samsung with a cracked screen you carry around with you for when you inevitably get mugged.
There is upside to being financially "self sovereign," where you do not rely on a 3rd party to have custody of your money.

But there is also a big downside - you bear accountability for your actions with your money. There is no "customer service" or "fraud department" in crypto. Some people only learn the hard way.

Lesson here is - use a cold wallet, and maybe a "watch only" wallet[1] on your phone.

[1] Watch only wallet is a wallet that is connected to your offline cold wallet, where you can deposit and view your funds on the watch only wallet, but you cannot withdraw.
This would itself be an ingenious phishing attempt, trying to hook a Google employee
You shouldn't have set up email recovery using a prepaid phone number ;-). Although, to be fair, Google should have only used your backup recovery email (or whatever else you have set up and prefer to use).
There is no Tesla robot, only a man in spandex: https://youtu.be/xD0r34nEiWA?t=1347
Yes but do they use AI and machine learning? Do they hover in place and look cool? They don’t even have a cool name like “drone.” I guess you probably also can’t mass produce and automate experienced tree planters too. While they’re swilling coffee they could be launching hundreds or even thousands of AI powered drones shooting fancy seed pods everywhere. You can’t stop progress John Henry.
What conclusion can reasonably be made here? If it’s “The number of wealthy people moving abroad to avoid taxes is skyrocketing”, you’d have to show that:

1.) The change in requests is statistically significant when put in the context of the total number of such individuals

2.) Tax avoidance is the primary driver of this activity

3.) The individuals do not just acquire the passport, but actually move
I’ve been trying to find a place to buy this plant (Texas, USA) for 3 years. Every place online I have found is always out of stock. Right now is actually the season to plant it, so I’ve been looking for it again. Has anyone found a place to buy it that is not out of stock and ships to the US?
Bizarre HN content l, I feel like this is the beginning of a Franz Kafka novel. But I’m intrigued, post Imgur pics
There are moral and practical arguments for renouncing US citizenship. It's not just about saving on taxes.
Asking here for these things is probably not the best place. Cosmetic surgery is a thing that lots of people do and have lots of very good success with. A better place to probably get general information and experiences is likely Reddit but ultimately it would be talking to a doctor who specializes in cosmetic surgery but also speaking to a doctor to see if there is some other kind of genetic or hormonal imbalance in the body that could be causing things.
You can exchange your drivers licence and a tenancy agreement and those take care of the proof of address.
Quite a lot are probably services you don't use anymore, and that don't have up-to-date payment methods. In which case you can just write them off.
You made me think, I started wondering about the beekeeping outfit, which is typically thick, loose, baggy.

But I bet a latex catsuit would prevent stingers, show all the curves, and fall right inline with this concept.

If anyone wants to seriously pursue this, I have the perfect Quebec actress for this role.

Bam, take it up a notch! Sexy french, latex clad, beekeeping.

"Zee bees, zey are my passion mon cheri"

This could seriously work.

The only downside, societially speaking, would be those which fetishize the bees + sex. That's just not going to end well.
Do a few each day.
Compensation for an interview for a job that even poorly compensated would put you in the top 5%? Talk about privilege. I'll happily do the interview on my own time for that potential payout. Push back? I'll be taking your job.
The two are orthogonal. Amazon’s culture of building and intercommunicating with service interfaces doesn’t mean there aren’t secret projects in the works. For example, new AWS services are often introduced at re:Invent to the surprise and delight of both customers and employees.
Generally, the more you have (above the mean), the more you worry about losing it.
Well heeled people already do pretty much as they please. Own a house in one state, travel as you see fit in your RV or whatever.

It's only a serious hardship for poor people.
"I am curious how many folks are fleeing states or looking into it, also."

I'm curious about this too. Are there any past examples or studies about similar situations and migration (segregation, interracial marriage, "legal" pot, gun laws, etc)? I couldn't find anything in a quick search. Just in my personal experience it seems very few people actually move and just talk about it, especially if they talk about leaving the country, like with a specific president winning an election.
TCB is just a standard to provide a Trusted Computing Base for zero trust environments from the hardware up. Basically, the UEFI BIOS is signed, and cannot be tampered with. If it is, the machine won’t boot
Make Neovim look pretty [video]
Here is a short guide on how to make Neovim look pretty. We're gonna find the right font, enable Tree-sitter and pick the right colorscheme.
Cowardice implies (to me at least) an unjustified fear. Snowden fearing Putin is entirely rationale and justified.
JavaScript has it too; it's called "object destructuring":

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
> I know HN loves Peter Thiel like fat kids love cake

This just made my morning… lol.
yes but you're taxed at some 'emergency tax' rate which is really high.
yep. If google artificial idiot has decided "guuuh even with your password, your token, and access to your recovery mail I cannot be 140% sure its you, better to lock anyone out of your account forever", your account is toast.
> If you have financial assets worth over $2 million, you may have to pay a one-off exit tax calculated as a capital gains tax as if you sold all of your assets on the day you renounced.

Enforcement on that appears to be about zero.

A fair amount of the increase this article is discussing is likely cryptobros inspired by Roger Ver's success-- he renounced US citizenship while owning >40k bitcoin (potentially much more than 40k, that is just what was in his publicly identified wallet) at a near zero cost basis worth over $20 million at the time while paying only about $200k in exit taxes (he tweeted a picture of the exit taxes check), presumably for his non-bitcoin properties.

He even setup a company to help other people get st. kitts passports that promoted evading US taxes as a top level feature.
It's clear that the easy proverbial cream on the top of electronics has been scooped and extracting it more has lead us to skim it down to 5nm but there are many problems that are clearly required for the modern world that we currently solve with electronics despite an inherant inefficiency.
Considering that some of the original AI research was done using similar methods it's suprising that it has taken us this long to end up back at analog computing, though the novel approach of photonics is exciting.

The slightly distant world of the future will probably contain large A.I. processing systems that are almost entirely analog and photonic...but even your phone, desktop, and laptop will more quickly have a co-processor on board to quickly handle A.I operations that will be the R&D component of those future systems which even in their infancy will process complex transforms and analog data orders of magnitude faster than their metallic coworkers at equivalent or hopefully fractional power draw.
Why renounce the US citizenship, if you’re retiring?

There’s only one benefit from renouncing the US citizenship. You’re no longer a tax resident.

There’s also a $112k+inflation/year exemption for foreign earned income for non-residents.
https://www.irs.gov/individuals/international-taxpayers/fore...

So if you’re renouncing your citizenship for tax reasons, it’s very unlikely that it’s going to be worth it, if you’ve got under $2m in assets.

Not to mention that if you decide to return to the US, not only have to go through the US immigation system, but you also won’t clear a background check, because people who renounce their US citizenship are entered into the NICS system.
>Firstly, I'm really glad to say that the interviews I did were not the stereotypical tech interviews. As an industry, it's great to see we're getting better, and moving away from whiteboard coding, dealing with super abstract problems like inverting a binary tree, or doing things that we'd generally just use a Search Engine for in our real jobs.

I would expect a junior developer out of college knows data structures and algorithms. That includes knowing what a binary tree is. And if you know what a binary tree is, it isn't terribly difficult to invert it.

Why shouldn't a "senior" developer know what a binary tree is?

While I don't have much regard for leetcode and hackerrank, I wouldn't want to hire someone who doesn't know about algorithms and data structures and thinks he can solve anything with Google.

Sure, many thinks are solvable using Google, but many require knowledge, experience and practice.

>Unfortunately one company - who outsourced the first part of their interview process - had something similar to this, which I wasn't impressed with. There were some arbitrary questions around several topics, and then in the coding exercises you were asked what the O(n) complexity of time/space were.

The author is even outraged he was asked about time complexity, something even junior programmers shouldn't have a with.
You said EU? Uber (my team) is hiring in Vilnius, if you are into Eastern Europe. I have been there for 6 years, can recommend.

Feel free to send me your CV (contact details in my profile), I'll comment or put it to our system.
FYI here's the thread where tuple parameters were removed.

https://mail.python.org/archives/list/python-dev@python.org/...
Watch for a few minutes, figure out it looks cool, 5 bucks isn't much, donate before you leave. There's no particular motivation, just a "huh, that looks cool".
> half a million people don’t have something better to do than watch someone study

They’re not watching him study, he’s modeling studying behavior and his audience is leveraging that to trigger their own studying. (Mirror neurons are a thing.)
They're often owned by car companies (PayByPhone is VW, RingGo is BMW/Daimler).

So maybe Peugeot?
Ask HN: How do you “figure out” what to do in life?
I'm increasingly seeing people around me give serious thought to this question.
Figuring out what to do in life?
I thought I had figured things out, but now when I think again I feel doubtful.
So, how do you "figure" things out in a way that it's bulletproof.
That's packing. Unpacking would be something like this:

d = {'a' : 10, 'b' : 20, 'c' : 30}
{'a' : v1, 'b' : v2, **others} = d
print(v1, v2, others) # prints 10, 20, {'c' : 30}
I can't recommend any particular project that implements something in cuda, but I'd check out the StructArrays.jl[0] project.

One of julia's strengths is it's macro and type system. StructArrays.jl uses them to create a SoA struct out of a AoS. This is a killer feature that generally requires some form of code generation in C/C++.

Even if you're just doing something on the cpu, it should set you up to be both simd & gpu friendly. They have a guide on how to swap out the underlying array storage from cpu to gpu memory

fwiw, cuda is a "Tier 1" supported architecture[1], where "Tier 1" is defined as

> Tier 1: Julia is guaranteed to build from source and pass all tests on these platforms when built with the default options. Official binaries are always available and CI is run on every commit to ensure support is actively maintained.

[0] https://github.com/JuliaArrays/StructArrays.jl

[1] https://julialang.org/downloads/#supported_platforms
Pre-crack your screen. They cannot pawn/sell any device with any sort of crack. It is also a great security feature. As each crack is distinct, nobody will ever be able to swap out your phone without you noticing.

I read of one person a while back who dissuaded a mugger by saying that they worked for the NSA, that their phone would be tracked and therefore would be dangerous to take. It is something to think about. Put a "property of US government" sticker on your phone.
Microsoft is in the process of getting rid of tenting for the vast number of projects and making the bar very high to require it.

As the OP says, tenting / disclosure is often used as a weapon to avoid having to get feedback on projects etc.
If you invested only in the Nikkei on the way up and on the way down, you still came out fine. The only person who didn’t is the person who put all of their savings in at the very top and never bought again.
But what would the LTCG be on those assets? At most $2m * 15% = 300k (assuming you were able to realize it over several years and avoid the 20% LTCG bracket and 3.8% NIIT), cheaper to pay the taxes than buy a passport and you would preserve your ability to return to the US if you found it in your interest.
That is an excellent question.

I don't know if my current design is good, so it is subject to change.

The current design is to allow the user to give the interpreter a predicate (function that returns a Boolean) to run whenever something asks for access to a file. It would return true for allowing access, false otherwise, and its arguments would include what package (module, library, etc.) is asking for access, what kind of access, and exactly what file it's being asked for. The predicate can do all sorts of wild and wonderful things to figure out if the package should be allowed access. It could even pop up a dialog box for the user in the cases it can't figure out, which would also have the benefit of alerting the user that there's a package that might have gone rogue. In fact, in those cases where it denies access, it can still alert the user, who can then do something about it.

I like this design (so far), and I think it's best because if you're going to enforce runtime permissions, you need runtime abilities to make judgments. It can't be a simple static list of files, as you rightly figured out, although it could use such static lists for the easy cases.
Really? US citizenship is a huge liability because of global taxation. If you have the opportunity to exchange it for another, and you don't want to live in the US, it seems like a no-brainer.
I wonder if this was some kind of corporate camouflage. EVERYONE LOOK, WE ARE DEMOTING JEFFREY, cool stuff you're doing, keep doing it.
> Abortion hasn't been (and won't be) made illegal.

Here are 13 states that have "trigger laws" that get enacted the instant upon Roe being overruled.

> Idaho’s trigger law, for example, would make performing an abortion a felony 30 days after the “issuance of the judgment in any decision of the United States supreme court that restores to the states their authority to prohibit abortion.” The law states that the offense would be punishable by a prison sentence of 2 to 5 years in prison.

https://www.nbcnews.com/data-graphics/map-trigger-law-states...
I thought the US prohibited this by law, which to me means you can only have citizenship in the US. To me that means these people should be stripped of their citizenship and deported.
same here. I was expecting a lot more re-selling of my email adress to be honest.
>I have similar logic, but reach an almost opposite conclusion. I genuinely believe many people who prefer working at home rather than an office have unfulfilling work lives and struggle to form meaningful friendships/relationships with colleagues.

People who fill a void through work are the unhappy ones. Even when I was in the office I made meaningful connections with Indian coworkers who I never met but spoke to almost daily for years.

Instead of talking to coworkers I get to see my 2 young kids grow up.
I wasn't suggesting that parents don't care enough about their kids (though obviously some don't, and even abuse their kids).

I was suggesting more of a society-wide caring, which I describe in more detail in another post in this thread:

https://news.ycombinator.com/item?id=31304590
>A senior dev role is an income stream of USD n 000 000 dollars a year

That's true for US. In most parts of the world developer salaries are much lower.
This is the frustrating thing about Google's security. You record the printed codes and expect to be able to use them and then you're let down when it comes to the crunch because there are bonus extra steps.

It's a similar story with the "recovery email address" they let you add to your account. You'd expect that if you have access to that recovery email you'd be able to gain access but no, there are cases where Google refuses to send any recovery email because "we can't verify this account belongs to you at this time" so no recovery email for you.

This would all be fine if they didn't enforce we have to have 2FA enabled and then refuse to provide support even when you're a paid up member. [1]

[1]: https://news.ycombinator.com/item?id=31073302
I think the best option is to have possibility to work in any company, and live in any place. You don't want to limit your job opportunities just because they are far away.
It could do a quick pulse at night, and a longer one during the day.
The best friendships I've made in adulthood are mostly ex-coworkers.
This is a somewhat confusing name considering Circle is the name of an established C++ metaprogramming compiler (https://www.circle-lang.org/).
A lack of individuality such that an action needs to be validated externally is definitely a weak will.
The U.K., every country that issues diplomatic passports, Panama and probably others would like a word.
Another note…based on what I know, most colleges are suffering from low enrollment too, and even though funding isn’t solely based on the the student count on census date anymore (which is usually about 1-2 weeks into a semester…and faculty is supposed to drop students that don’t come on the first day of class typically)…since now the formula is more complex with “success” related factors added (numbers of degrees / certificates awarded plus some other ones I don’t directly recall right now.

This leads to number of students still being a pretty big factor in the funding received for the year. From Administrators I would say if any are worth their salt, ignoring any sort of fraud would be a no-no so I’m hoping that’s not a common situation being observed. On the other hand, losing a substantial percentage of your current budget due to a loss of students can be pretty tragic for the staff working on the campus. Budget reserves can usually be dipped into for a period of time, but what most folks don’t know or realize is that compared to private businesses where the cost of employees may be only a fraction of what the business brings in profit, most CCCs are likely spending 80-90% of their budgets on salaries and benefits for their staff (in some cases the % may be more, in some cases it may be less). This makes it extremely difficult most of the time to weather a big loss in students because if budget reserves get expended, and student numbers don’t improve, that’ll mean some sort of layoff process…which also provides those employees with reinstatement rights too for a considerable period of time afterward).