You can't cURL a Border

4 days ago (drobinin.com)

I had no idea travel was this difficult for people who aren't EU citizens.

Wow, I'm almost annoyed on the authors behalf of how much hoops there are to jump through.

>To apply for British citizenship, you need to prove you were physically in the UK on your application date but five years ago. Not approximately five years, not that week—that exact day when you press "submit" on the form minus five years. Miss it by 24 hours and your application is reject after months of waiting, and you have to pay a hefty fee to re-apply.

That's a hilarious requirement. I wonder how that ended up in there.

  • First, the author is actually wrong. The date is not 5 years before you submit, but is 5 years before the form is received by the home office! So there are a few days of uncertainty, depending on how fast Royal Mail was with the physical documents.

    Additionally, I did a request for my information from the home office prior to filling in my form. After all, you have the right to request the information they have on you that will be used to verify your form. Kafka would be proud.

    Let me tell you, Home Office doesn't have a clue where you were 5 years ago. It had approximately 50% of my trips, and frequently only had only one leg of the journey. Plane, ferry, train, sailboat, ... it didn't matter. It seems like they have not been keeping the information very well.

    • > It had approximately 50% of my trips, and frequently only had only one leg of the journey

      Relevant current news: Home Office denying child benefits to 1000s of people because they had incomplete data of people vacation trips, so people were thought to have emigrated and never returned [0]. Some people who never even left (due to cancelled flights, denied boardings etc.) were also affected.

      [0] https://www.theguardian.com/politics/2025/nov/01/hmrc-likely...

      40 replies →

    • As someone who's been through that dance twice, it's 5 years from the time (well, day) you press "Submit" if you're applying online, or $RANDOM days of Royal Mail nonsense if you choose to apply by post.

      I agree though, the Home Office doesn't have a way of knowing where you were fore sure 5 years ago unless they got someone to go through your "days in and out of the UK" list and vetted/cross-referenced it. And even then it'd likely be incomplete and they'd have to guess.

      My surmise is that they look at the level of effort you've put in to filling out that detail, and if the total days in/out isn't particularly a borderline case, then they just wave that bit through.

    • I would have thought that the point is that you're supposed to be there continuously for some considerable duration (and having worked through other processes of legal immigration) before applying for citizenship.

      So the idea of trying to figure out exactly which day five years in the past you have to mention seems odd to me. If there's really no care being paid to the intervening time... well if you're trying to exploit a loophole like that I think I'd prefer that it's difficult... ?

  • As someone that is about 50, we also had it this way in Europe.

    Newer generations don't get how lucky they are to have been born into EU, appreciate it while it lasts.

    • Schengen is NOT a EU achievement.

      Nations can sign Schengen, but are never forced to join the EU, nations can be EU members but are allowed to refuse the Schengen treaties.

      3 replies →

    • As a 29 year old that experienced EU citizenship then had it cruelly taken away by some stupidly thin margin of voters… feckin Brexit.

      I get how lucky I was for 25% of my life expectancy.

  • >I had no idea travel was this difficult for people who aren't EU citizens.

    Most people can't afford to travel to the Schengen Area for more than the visa-free limit of 90 days within a 180 day period.

    Those that can are "digital nomads" and are almost certainly working illegally while travelling.

    • Most of those work restrictions are put in place to protect local labor. They just don't want tourists taking jobs from locals in tourist places without a permit, and without paying taxes. They really don't care much you're doing remote work for a corporation in California or writing a book.

      13 replies →

    • Last time I looked was a few years ago, but I was surprised how hard it was going to be to legally live in France while keeping my US tech job. My employer was happy to do what they had to to make it happen, but there just didn't seem to be a route in the French immigration system.

      The options seemed to be:

      - Get a job in France and get a work visa. This is very difficult due to economic protectionism.

      - Come on a tourist visa and not work.

      - Be provably independently wealthy and get some variety of golden visa. This meant proving that you had enough assets to live (lavishly I might add) long term without working.

      No easy option for "I want to come to your country, get paid USD by a US company, but pay taxes to you!"

      I think there have been some new developments regarding digital nomad visas since then. Still, seemed crazy given what a good arrangement it would have been for France.

      1 reply →

    • Indeed, the author describes a lifestyle I can hardly imagine, and then markets a product motivated by the resulting use cases.

    • > Most people can't afford to travel to the Schengen Area for more than the visa-free limit of 90 days within a 180 day period.

      > Those that can are "digital nomads" and are almost certainly working illegally while travelling.

      WTF are you talking about? The Schengen Area is right here and you don't need a visa to work anywhere else in it. That's the whole point.

      3 replies →

  • > I called the app Residency and you can get it here. No subscriptions, costs less than an airport martini, and you'll likely regret it less a few hours later.

    The article is content marketing, so I wouldn't be surprised if the pain points are being talked up somewhat (but who knows?)

    • Anecdotal evidence: timezone-aware precision might be only necessary for those pushing it to very edge of the allowances, but travel log spreadsheet was very very real for me, and everyone else in my own immigrant bubble. I still have it somewhere.

      UK officials seem to operate on vibes though, not obsessive precision - I witnessed missed presence days being successfully propped up with a good sob story, but I can imagine it still being useful if you need to appeal a case where vibe turned against you.

      Then was a short rest between making oath and Brexit, and here we are at that shit again - spreadsheet is back, and there's a script for Schengen rolling days.

      1 reply →

  • Guessing it stems from "we need something dead-simple to evaluate that yields a definite yes-or-no answer, with no annoying variables."

    I'm trying to think of some other reason they might want a specific moment rather than "pick your own instant within this span", but I can't think of anything. Even if it was to "make sure you aren't claiming the same time on two applications to different places", the person could have simply staggered the applications.

    • The other reason is more mundane. There's been a lot of political incentive to reduce immigration for a long time, which means adding arbitrary friction to increase the effort of applying and decrease the number of successful applicants.

      Whether this is _effective_ is a different question, but certainly it's gotten a lot harder in recent decades, even pre-Brexit.

      4 replies →

  • My guess is that if you need to have been there for 5y, you need to have a way to tell when that 5y starts. I presume it only matters if you apply the day after 5y. When I applied I had been in the UK for over 10y, provided 10y worth of proof of address, and the issue never came up.

  • It's not even hard really, I did it lastyear. I book a visit to the city hall, they look into the address db and see when I registered the first time. I see exactlt the same thing myself when I login into the thing.

    The official agrees with me on the appointment date to actually submit the application, that is after cutoff date.

    I put a signature on one sheet of paper, pay a thousand and go my way. The thing takes 15 min tops.

    But it's continental Europe, not UK

  • The point is not to produce a system where a software engineer can loophole the system. The point is to try to prevent people who aren't committed to the UK apply for citizenship.

    • Yes, but…

      Convoluted rules like that smack of the ridiculous literacy tests for voting in the US during the Jim Crow era (if you don't know why the terms “grandfathering” and “grandfather clause” have fallen out of fashion in recent years, go have a poke around that bit of history which is where those terms originate).

      Either that or it looks like a dysfunctional overly-complicated system like the mechanisms draw by Heath Robinson, which while better still isn't good. How many good (morally) and useful (i.e. to the economy) people are being rejected because of unnecessary complications like this?

  • It depends on where you're going and what you're doing.

    A lot of this faff isn't relevant if you're not applying for any visas or citizenship. Which is most people, most of the time.

    The obvious solution to most of these problems for most people is "don't cut it close to any of the limits". If you enjoy traveling a lot, that's definitely a problem, but most people don't cross borders often enough to run into this many corner cases.

    This is only a small peek into the awful bureaucracy that will hit Europe if extreme right wing parties keep gaining popularity across the EU. The extra calculations Brexit imposes, but not for every country you travel through!

    • > A lot of this faff isn't relevant if you're not applying for any visas or citizenship. Which is most people, most of the time.

      That’s true for many, but my passport isn’t very strong, so I still have to deal with a lot of paperwork for most transits.

      1 reply →

  • > To apply for British citizenship, you need to prove you were physically in the UK on your application date but five years ago.

    I am confused whats British citizenship application to do with his, or any travel at all? That's not what you do regularly, I mean most people do not apply for citizenship in other countries ever in their lives? Or am I missing something?

    • He needs to plan travel very carefully in order to not accidentally undermine his citizenship application.

  • > I had no idea travel was this difficult for people who aren't EU citizens.

    I traveled before and I traveled after Schengen and the only thing that changed was not having to wait a bit at border control. What the article describe concerns a very small number of people, and exist only because of cheap air travel and internet

  • Right now the biggest problem in life is the country of my passport.

    I have enough in savings and enough passive income to be able to live comfortably almost anywhere, but whenever I talk to travel agents, or people who can help set up companies etc in the countries I want to go to, first they're like "Sure, we can do it, when do you want it" etc and then they ask where I'm from, and when I tell them, they either stop replying or say sorry, they can't help me.

    sigh...Racism is a funny thing. They haven't even seen me, or seen my history of travel, or anything, they just stop cooperating when they see that one word, the name of my country.

    And I can't blame them either, I know many people from here go and overstay there visas and generally make problems in other countries.

    I just wish I could put down a deposit of a few thousand dollars as a guarantee that I'll behave and get a visa.

    • Germany lets you get a Chancenkarte with a deposit of 1000EUR/month to look for a job upto a year.

  • This is actually standard for other countries too

    • But it is a ridculous requirement. Like having a millsecond-hand one a pendulum clock it appears to be to precise for the timeframe involved

      Why not just make it a before-date if you care for someone having been here for a time? So just proof that you have been here X years ago or longer. Totally sufficient and much easier to have at hand.

      But this is of course the point. It isn't policy where the state requires a certain thing and all people who fulfill the requirement have a shot. Instead the state makes the process of demonstrating the requirement hard on purpose as a means of reducing the people who get the benefit.

      And this idea isn't just unique to the described process. It is everywhere. A bit of friction in certain places is placed there on purpose and it can also be a net positive for that friction to exist. But beyond a certain level it can turn people with rights into beggars.

      1 reply →

It's a great article... but a strange title?

This is about all the country-specific requirements for tax residency, visas, citizenship, etc.

But I don't know what downloading a border means. The title makes it sound like this is going to be about downloading national mapping data... If the author was looking for an evocative metaphor, I don't think this one works. Maybe it's supposed to refer to:

> It would be alright with a single source of truth, but all these facts are scattered across (semi)official websites and PDFs, and you're supposed to figure it out yourself.

But they got those all through... downloading. I.e. cURL.

Few of my relatives just went to Europe as tourists, threw away their back home tickets and went illegal. After few years they legalised and now citizens. And I'm still here, because I don't want to break the law and I don't have valid legal grounds to get the working visa. It sucks to obey the law.

  • This is such a common thing and tolerated you have to wonder whether it's actually immoral. I've met many people on my travels who went to Europe on tourist visas, got work and then got to stay legally later. No one was deported.

    All of these were people in low-paying services industries, jobs Europeans don't usually want (waiters, cleaners, etc).

    The only ones that had issues with immigration were my qualified worker friends who got a work visa and then the company had layoffs while they were there, losing their sponsorship. People with masters degrees who had to scramble to find new work in 30 days or face deportation.

    It's hard not to think that's intentional.

    I have a nuanced opinion because it's a rather complex subject but it's just a weird thing to have seen happen. As a tourist I had to prove up and down I wasn't going to stay there only to see no one else cares outside the airports. There's obvious wage suppression going on with these policies but these waiters and cleaners also had college degrees from good institutions, probably more qualified than some citizens.

    • > I've met many people on my travels who went to Europe on tourist visas, got work and then got to stay legally later.

      That's completely legal for some nationalities, at least in Germany. §41 AufenthV allows people from certain countries to come to Germany and apply for a visa there.

      A separate paragraph allows people to convert a tourist visa to a residence permit if the reason for the residence permit appeared while they were visiting. For example, going through rounds of interviews, and being offered the job while you're visiting Germany as a tourist.

      There are so many other paths, but navigating those options can be confusing.

      2 replies →

    • Borders of countries are fundamentally human constructs. There is no morality associated with crossing them legally or illegally. This is the difference between a law declaring something illegal because they think it is better for society (a parking ticket, say) and a law created that require moral turpitude (murder, say).

      7 replies →

  • What do you mean by valid legal grounds? For many countries all you need is to get a local job paying above a threshold, that’s enough to get a work permit.

    • You need a work permit to get a job, not the other way around. If you meant a "job offer", yes you can get a work permit with a job offer, but not everybody is that lucky.

      If you are on a tourist visa you can't legally get a job then worm your way to a valid work/residency visa. I mean you can, just not legally.

      7 replies →

  • How does this happen? Is there a law which just gives you a citizenship if you stayed for N years?

    • The exact country isn't clear, it depends from country to country. Spain for example have "arraigo social", where I think if you've stayed for 3 years (illegally/legally) and can demonstrate you've ended up in some sort of "link" with Spanish society (like having a permanent job) you can apply for a "temporary residence and work permit". Once you have that, you're legal and you could apply for permanent residence and eventually citizenship, granted you fulfill those requirements.

      I have a bunch of friends, with jobs ranging from bartenders to software developers, who've successfully were allowed to stay in the country after doing things that way, initially staying illegally and later regularized their situation.

Huge respect to the author for the details that have gone into this. I'd spent a week hammering at a Claude max 20x plan to try and build schengen 90/180 rolling window + tax residency in a couple of countries tracker... and that was hard work. I can only imagine how much effort has gone into this, to get all the details right.

It's unclear whether the author wrote all of this themselves, or if they outsourced a bunch of it to Claude. My experience with Claude was that it was terrible at writing code to do the math, even when I explained what the calculation needed to be, what the input was, and what the expected result was. It ultimately took starting a whole new project just to do the rolling window calculation, and then have that fed back in.

My biggest question for the author, if they happen to see this, is: how much manual testing validation did you do of the outputs the app produces? IE: Did you do the inputs + transformations = output calculations yourself as well, counting days on calendars, etc, to validate that the app is actually accurate? (That was the only way I developed any faith in solution I made for myself, which is way less impressive than your app). Regardless of whether you wrote the code yourself or not, a thorough test harness feels vitally important for an app like this.

  • I tend to find that for things like this that are really math heavy, it's usually better to create a DSL (or create easily readable function calls, etc) that you can easily write yourself instead of relying on AI to understand math heavy rules. Bonus points, if the rules are in an easily editable format, you can change them easily when they need to. It seems that was the path the author took...

    And yes this kind of use-case is exactly where unit tests shine...

  • When I’ve worked on complex scheduling problems like that I use copious unit tests, they’re perfect for this kind of input->algo->output problem where algo has tons of edge cases.

    Indeed, not using unit tests and instead trying to manually test all the cases sounds crazy to me!

  • I'm not sure I’m reading this right but are you saying that an AI made you dumber and then you complain that the AI is too dumb? That sounds like a lose-lose deal tbh.

  • > that was hard work

    I'm sorry. I don't want to fight here, but you have literally just said you paid Claude to do the thinking for you (except for some math), yet you're talking about this like you're some kind of scientist; or that you've done this extensive, in-depth work.

    You made an AI vibe-code an app in a week and now you're impressed someone else was able to do it better?

    Am I missing something? Is it maybe just your writing style that makes it come across so "from your high horse"?

    • This task seems like something a competent Excel user could create. I think the hard part is knowing the rules and the corner cases than any of the "math" (just addition and subtraction, surely) required.

      3 replies →

    • I understand the sentiment, but I come to HN largely to avoid that tone in Internet commentary.

I just realized this was the same author who made the apple watch integration for their gym entry system, I loved their writing then, and I loved it here!

https://news.ycombinator.com/item?id=44910865

  • Regarding the writing, I'm the opposite.. but I can't point out why I don't like it.

    Maybe because the author is trying to sound sleek and sexy, "look at me, jetset international traveller", although the topic is so nerdy and dull, and the bragging feels off-putting to me.

    (My opinion. Did I need to share it? probably not. Flag away if you think so)

  • I'm a PureGym member. I just memorised the 8 digit number that never changes and I input it manually. It takes seconds. I agree that the official app is garbage. I just don't want or need to get my phone out at all.

Ah, the classic programmer's mistake of treating complicated human interaction systems as a computer programs.

There is no State Almighty judging you to the last dot of absurdly complicated rules (well, in 99.99% cases when you don't actively look for trouble). Like, if you overstayed Schengen visa for one day because you messed up with counting entry and exit days, but used it otherwise for its intended purpose, the border officer likely won't even notice. Or for tax residence, a lot of countries I know just take what you say about your trips at face value - especially when there is no way to check it.

Just relax. If you don't know how to count your days in Morocco because they changed the time zone in an inconvenient moment, the officer evaluating your documents doesn't know that too. It's truth and best effort that counts.

  • It's absolutely not best effort that counts.

    I've heard many stories of people overstaying their visa in the US by e.g. one day, by way of a mishap or honest mistake, and subsequentially being denied visas or turned away at border control. The effects of this can go on for years and years... it's basically zero tolerance

    • I overstayed my visa by a week in Thailand couple of decades ago because the task I was sent out to perform took longer than expected. I just had to pay a reasonable fine on exit that I then claimed back on my expenses. There was certainly not even a suggestion that I would be unwelcome in Thailand in the future.

      Why is the US so awkward?

  • Overstaying a visa is a big deal. You should not be counting days or nights because you should not let yourself be in the country anywhere near the expiry of a visa.

    • Yes, this feels like calculating to the second when you need to arrive at the airport so you'll spend zero time at the airport.

      Instead, arrive a bit early to the airport, and analogously, don't run visas down to the last hour based on the minutiae of Moroccan timezones etc.

    • > You should not be counting days or nights because you should not let yourself be in the country anywhere near the expiry of a visa.

      You're privileged if you're able to do so. In many occasions people have single-entry visas with one day leeway from tickets submitted to the consulate.

    • For USA, A Visa is a right to request entry into the country. The I-94 defines the duration you are authorized to stay. You can have an expired Visa and time left on you I-94 and remain in the country.

  • >Like, if you overstayed Schengen visa for one day because you messed up with counting entry and exit days, but used it otherwise for its intended purpose, the border officer likely won't even notice.

    When that wasn't automated that might have been the case (not that its a good thing).

    It's certainly not the case now that there is literally an API that tracks that.

  • Enforcement is arbitrary and vibes based, but only if you broke a rule. If you didn't break a rule they find it much harder to punish you, no matter what the vibes are. But also if you have good vibes you might not get punished no matter what rules you broke.

  • That's all true until there's a dispute. Being relaxed about these things is a very bad idea if the consequences are potentially severe.

This made me appriciate the amount of visa-free travel my passport allows me on a whole new level. Figuiring these things out seems possible, but so inefficient and time consuming.

  • It’s not just that. I’m about 1/3 in one country, 1/3 in another one, and 1/3 in others, with income from multiple countries… I pay all my taxes (even more than I should), but hell, I won’t make the paper trail completely clean, because there is pain there. A lot. Tax authorities are utterly incompatible with each other.

There's some similarity between nationality and copyright: arcane, obscure, complex and mean rules that only benefit incumbents and punish everyone else.

I hope we will eventually get rid of both.

  • At the rate things are going, even EU and Schengen, areas in which their citizens are blissfully unaware how nice they have it compared to outsiders, are going to come to an end. Far-right nationalists are on the rise over Europe.

    • The European far right are not exactly fans of the EU, but on the whole they are much more concerned about immigrants from low-trust Muslim societies than from EU countries (high-trust "Christian" societies)

      1 reply →

    • It doesn't even take the far right winning to unravel the EU. Both France and Germany, the economic pillars of the EU are facing massive budget challenges due to aging populations, high energy costs and trade

      1 reply →

  • Do you dislike copyright also when it protects your intellectual property, and makes things like software licenses possible?

    • Yes, I do. I think the world would be a better place if there were no Microsoft, Adobe or Oracle. We would still have OSes and databases, we would be fine.

    • If I couldn't use the AGPL to force Amazon to release Elasticsearch, but they couldn't use normal copyright to force me not to reverse engineer Alexa and Widevine, would it be that bad?

      2 replies →

  • There's hundreds of millions of starving people ready to move to the first country that does it.

    • Let them!

      I often wonder what the world would look like if humans could fly like birds. There would be cages everywhere.

This is an impressive article, & is incidentally why every sane set of rules has administrative discretion in its enforcement

Why is it that when I travel to certain places I need to ensure my passport has at least n months before it expires? So what if it's due to expire next week if I'm only staying until next week. Even if I'm staying 2 weeks and it expires tomorrow, why does that matter? I guess I might not be allowed back into my home country, but that should be my concern, not the worry of the immigration of the country I am going to.

What kind of illegal immigration / criminal activity does a country prevent, or economic benefit / any other advantage does a country get by enforcing this kind of rule?

  • My guess is that it's because of emergencies. If you get injured and can't or shouldn't fly home then you need more time on your passport. It is also much easier to send you home if you over stay your visa if your passport is still valid. Also the system is setup to give you a visa of a specific length (eg 30 days), they can't just give you a 2 day visa.

    Also if your passport lasts for 10 years you've known when it's going to expire for quite a while, they're just expecting you to be responsible.

  • It's a risk mitigation measure. The three or six month requirement usually comes from how long you could stay, not how long you do stay.

    You are also assuming a point-to-point trip. While a citizen of a country usually cannot be denied entry to their own country, any countries you transit are under no obligation to allow you through on an expired passport.

    tl;dr filters out people who may be problematic to deport.

Once you've lived in a few countries you start to see how silly their little rules are. Once you are asking cross jurisdictional questions there is nobody who can give you a correct answer, its all guesswork.

If you're trying to engineer loopholes out of citizenship laws, you're going to get yourself pulled aside.

The whole point of these arbitrary rules is entirely to make this sort of shenanigans impossible but to let in people who are using the system for the purpose it was designed.

That's why the rule about 'relevant to your travel' is vague. So that you can't weasel your way through it.

People who write this sort of app think border entry is two doors, allowed and denied. But there's also the guard who stabs people who ask awkward questions and their name is 'National Security'.

  • No, it sounds like the author is well aware of that, and is instead just trying to get a read on what the gov's various systems are saying about him, so he can stay well within buffers of that.

    He explicitly says that none of his data on the app would convince an official.

    • The point is - while all of these systems are fuzzy at the edges, that is not a bug. Letting people reside in a few countries at the same time, and to pick a tax residency like a new winter jacket is a non-objective for the border, tax and residency systems.

      It's actually relatively simple to follow the rules that lead you down the well estabilished residency paths if you do the opposite of what the article suggests and leave enough of a buffer for every required number, so you don't need to think about it and the precise count can be handwaved by the officials.

      Conversly, if you try to minmax the rules, you might find that most important systems still have an arbitrary human decision maker, who simply decides whether to apply a complex ruleset to the letter, or to be lenient.

    • > No, it sounds like the author is well aware of that, and is instead just trying to get a read on what the gov's various systems are saying about him, so he can stay well within buffers of that.

      You don't need an app for that. You just behave like a normal person.

      2 replies →

  • He's not trying to engineer loopholes. He's trying to comply precisely. You are right that there are some genuinely squishy things, but not all of them are. Tax residency is not a judgement call. Overstaying visas or visa waivers is not a judgement call. Residency requirements for immigration applications. etc

    • > He's trying to comply precisely.

      Which is entirely what the laws are trying to stop you doing.

      Governments don't want you to be 'just inside', they want you to be well inside.

      The number is, for example 159 days in a tax year not because they are happy if you're there 160 days but because they had to draw a line somewhere because text is necessarily precise.

> ten years of travel history, down to the day

FWIW I have been asked for this a couple of times and I always just included the transits that were stamped in my current passport. Maybe I got lucky but I got away with it...

  • You've been lucky in that the countries you've travelled to all stamped your passport.

    This gets much murkier in the EU, or being a non-citizen with Global Entry traveling to the US, etc.

    To get a driving license in Japan without having to retake the exam, I had to prove that I lived in the country that issued my license for at least 90 days after I got it (presumably because they had some issues with people getting licenses in jurisdictions that are... easier to get the licenses in.).

    This was a _very_ non-trivial thing to do for a document I first got over ten years ago, in a country that is part of the Schengen zone.

    • No that's what I meant - I just didn't report the countries that didn't stamp my passport. To report dates of entry and exit of every country I've visited would be impossible, I don't think I have that information at all. Quite likely in many cases nobody does.

      But yeah I think the place where I got lucky is that nobody ever checked.

> I couldn't find any legit reasons for keeping the "six-month rule" around but it seems like it's still occasionally checked, sometimes even during boarding.

Airlines sometimes check for things during boarding. Those things are never rules outside the context of the airline.

I had an airline require once that I complete a form before boarding that, by the terms printed on the form, expired before the plane landed. That didn't matter to them.

Airlines are clueless. I don't know why they do their imaginary checks.

  • > Airlines sometimes check for things during boarding. Those things are never rules outside the context of the airline.

    Nope. Plenty of countries still require 6 months' passport validity to enter.

    > I had an airline require once that I complete a form before boarding that, by the terms printed on the form, expired before the plane landed. That didn't matter to them.

    > Airlines are clueless. I don't know why they do their imaginary checks.

    The airline doesn't give a shit about whether you can legally or practically enter the country they're flying you to. They care about whether they're going to be held liable to repatriate you at their own expense, and their processes are set up to ensure they avoid that. If the requirement on them is that they check your document before you board, they'll check your document before you board.

I don't travel internationally. This all sounds like a nightmare, and I'm glad it doesn't affect me.

  • I travel internationally. These arcane rules also do not affect me.

    Me: Lifelong, native-born citizen of a western nation. 1 or 2 international trips of less than 2 weeks each year.

    Author: Immigrant to his country of residence. Applying or soon to apply for citizenship or permanent residency. Has taken multiple, lengthy international trips and also appears to have had immigration status in different countries .

    Conclusion: If you are more like me than the author then international travel will not require navigation of arcane and contradictory rules.

My favourite is the Norway visa application. It says you have to bring along a confirmed flight ticket. But it also tells you that you shouldn’t pay for your tickets till you have the visa. Oh sure, dude. I’ll just tell the airline to hold it for me while I wait 60 days for you to make a decision.

>The app is local by default. [...] Being local also means no liability. Personal immigration history is exactly the kind of data governments might want.

That doesn't seem to be a great argument in favour of crossing borders with this information stored locally on your device.

>Keeping it off my servers means nobody can demand I hand it over.

I'm not a lawyer, but I believe that this is completely false.

[Edit] On second reading, I realise that he's just talking about him not being able to hand over the data. This is true. But the user can be forced to hand it over. So I retract that it's completely false, but it's still a very bad idea.

If I was concerned about this sort of thing when travelling, the only sensitive thing I would carry is a password in my head that grants me access to end-to-end encrypted data on some server.

This is the kind of app I wouldn't believe could actually exist. Human rules are just so painfully complex and unwilling to agree with the concept of consistency.

Insanely impressive that it works even just well enough that more than just the developer finds use in it.

It seems that it has become quite popular that images don't expand anymore, when clicking on them. One needs to use the context menu "open in new tab" to get a properly readable image. Why?

  • I’d say that’s pretty good behavior. It used to be common that images would expand in ways that would not allow you to zoom in mobile devices but also not allow you to open the image directly

In the US you can just book the error fare immediately and then sort out whether you can take it. You have 24 hours by law to get a refund for any airline ticket.

I wonder if this is something that could be built on top of Google location tracking. Presumably there's not enough info there by itself, but basic time/position data should be sufficient.

> This time, I tried to learn from that: facts are stored as instants, reasoning happens in local days of the jurisdiction that cares.

I think that's how the JavaScript Temporal proposal works. Convert your instant to the timezone, make the comparisons/calculations, hope you didn't jump an hour due to summertime, convert back.

that was fascinating; I didn’t realize border requirements were that complicated.

  • Working at a company in Norway hiring lots of internationals, I've heard so many stories. I'm myself born here, but to foreign (EU) parents. Getting a citizenship for me was quite "easy" (in the sense that I didn't have to do anything or be at someone's mercy, just had to apply), but still lots of bureaucracy. For instance, I had to order a transcript from the police saying that I hadn't committed certain crimes. This document I would have to bring to my appointment for citizenship at the police station. But the document had a short expiration date, and didn't know how long it would take to obtain or not when my appointment would be. So it's a gamble if you hit the timing, shrugs. I think however they now just pull up the records themselves instead of doing this weird dance.

    One coworker had lived her for many years on a string of temporary working visas. He was then eligible for a permanent one, and applied. However, while that was processing, he kinda was in limbo. Still legal to live and work here, but somehow wasn't guaranteed entry if he were to leave for a vacation / visit his home country/family. I don't know the exact details, but so weird how he suddenly was stuck here for months, with many delays. In the end he needed to travel for work, and our company sent a letter and his application got fast tracked.

    • My country just had a minister appointed who's sole mission is to spearhead a system that no government agency can demand from you a document that belongs to any other government agency, so long as you authorize both agencies to talk to each other for the purpose.

  • Now try international taxation rules (particularly if you come from one of the handful of countries with world-wide taxation, like the USA!)

  • It grows exponentially the more countries are involved. I am a citizen of country A but live and work in country B, and I have to satisfy country B's visa requirements, which involves quite a bit of paperwork. I also have to pay taxes to country A, which involves more paperwork. It gets complicated.

    But I'm only dealing with the requirements of two countries. The author mentioned five or six countries; I'm glad I'm only dealing with two.

    • > I am a citizen of country A but live and work in country B [...] I also have to pay taxes to country A, which involves more paperwork.

      Isn't that the case only when country A is the USA? AFAIK, nearly all countries in the world tax only residents, not citizens, so in most cases you'd only have to fill tax paperwork (and pay taxes) for country B.

      2 replies →

Am I correct in understanding that this App does not include any built in understanding of the rules that you must comply with? It looks like you have to "create a goal" in which you encode your own understanding of the rules you must comply with and the app then checks that against your travel log

ive had to deal with a fair share of this messy time logic, and ive found this library really useful

https://juxt.github.io/tick/

if you cant express it with the tools it gives you, it generally means youre making unsafe assumptions

It's a cool app, and makes me wish that Australian tax residency rules were actually computable.

The problem with those rules is that they "all make sense" somewhat (and where details might have been influenced by local idiosyncrasies) locally but if you mix and match them then it gets weird

But the trick here is: if you're relying on the details for your benefit then make 100% sure it's provable (though tbh legal proof is less - and different - than what your HN commenter might understand). Or just make it easy on yourself and don't rely on them

nice app ! definitely is needed for many in this brave new world we are living in, so many things to keep track of..

I live in the country I was born in and whilst I do travel it's mostly holidays and then if abroad at most once a year for less than 2 weeks. I have no idea what half of the stuff the article is talking about and less about what the app solves. I can only assume it's something so far out of my frame of reference I'm completely ignorant... I don't get it.

[flagged]

  • Are you always this cynical? The article is interesting on its own merits, that the author is also selling the app (outright, I might add, not subscription-based!) is neither here nor there

    • You'd think so, but there's always people complainers that something is an ad. It just happened to be my turn. Mostly because the type of person who would complain that something is an ad and raise a fuss wouldn't complain about this one, and was feeling like pointing out that hypocrisy. Unfortunately I didn't strike the exact right tone for the peanut gallery. Maybe I'll have better luck next time!

      2 replies →

  • What late stage capitalism? This is literally some guy hacking some stuff together.

    • Having to rely on "some guy hacking some stuff together", in 2025 to avoid accidentally violating visa or tax or some other bureaucratic minutia when there's many governmental bodies/organizations that should have be doing that work since before the Internet even existed seems just totally fine to you? How is this not a free app from some department of the UN? Probably more complicated than "because free apps don't make money", but that is something that late stage capitalism abhors.

      I'm not trying to tear down this guy's work, it's a great bit of writing, both English and code, and I'm okay with that pricing model.

      What happens when he gets something wrong, simply gets tired of it, or retires, or there's a bus incident?