• 2 Posts
  • 22 Comments
Joined 1 year ago
cake
Cake day: August 2nd, 2023

help-circle

  • Yeah that’s a common one. If you’re into mechanical keyboards, there are a lot of keycap sets that offer an alternative Control key for the CapsLock position.

    Personally I rebind it to Super (Winkey). I have a couple of keyboards without Windows keys, so I can still have a Super key and don’t miss out on some handy shortcuts.





  • Can someone explain how Biden is supposed to do this?

    He already has the authority to do this through the lend-lease act for Ukraine.

    Republicans are tilting further and further toward Russia and away from Ukraine

    So you’re saying that Biden should carry out the Republican agenda out of fear for … the Republicans?

    Independents don’t understand why we should be “spending” millions on another country.

    Nice attempt at concern trolling.

    You are “spending” the equivalent of 3% of your military budget to take out one of your two major adversaries without spilling a drop of American blood. That is a bargain any day of the week. I put spending between quotes by the way, because the bulk of the equipment being sent to Ukraine is not manufactured new nor does it not come from active inventory but from old stocks that would have to be disposed of soon anyway. If “independents” don’t understand that, perhaps we shouldn’t pay too much attention to what those “independents” think.

    But that’s all besides the point. The article is not even about the amount of money or equipment, but about certain critical equipment that he has been witholding or been indecisive on against the judgment of military advisors, out of some misplaced fear of provoking Russia. Things like: longer range missiles, cluster munitions for HIMARS, tanks, permission for European partners to send fighter jets, … We are asking Ukraine to fight in ways the US or NATO would never fight.

    This indecisiveness, which isn’t exclusive to Biden but to all Western politicians, has direct implications on the battlefield and is costing Ukrainian lives. Western politicians have this holy fear of making a wrong decision, so they tend to draw out the decision making process until they are confident about making the decision. This wait-and-see attitude may work well in peacetime, but in wartime not making a decision is also a decision and it is often the worst decision.

    Take for example the issue of Western tanks and IFVs to help Ukraine’s counteroffensive. There were already calls for this in late spring 2022. By autumn 2022 the Russian army was in ruins, but Ukraine lacked the means to push their advantage home. In the end, the decision was delayed until February 2023. This delay gave ample opportunity for the Russians to mobilize troops and build extensive fortified lines.

    The same thing with the fighter jets, we all knew it would be a difficult and long process and not an immediate fix, but if the pilot and crew training had started a year ago, we would be in a much better position today.









  • You can use the wildcard domain

    Yeah the problem was more that this machine is running on a network where I don’t really control the DNS. That is to say, there’s a shitty ISP router with DHCP and automatic dynamic DNS baked in, but no way to add additional manual entries for vhosts.

    I thought about screwing with the /etc/hosts file to get around it but what I ended up doing instead is installing a pihole docker for DNS (something I had been contemplating anyway), pointing it to the router’s DNS, so every local DNS name still resolves, and then added manual entries for the vhosts.

    Another issue I didn’t really want to deal with was regenerating the TLS certificate for the nginx server to make it valid for every vhost, but I just bit through that bullet.


  • I was afraid it was going to come down to that. I have been looking into configuration options for the apps, but they’re 3rd party nodejs apps and I know jack shit about nodejs so I’ve had no luck with it so far.

    Going with vhosts anyway (despite the pains it will create on this setup) seems to be the preferred way forward then.

    Thanks for the insight, and for confirming what I already suspected.



  • Hmm no, that’s not really it… that’s more so that you don’t pass URLs starting with /app1/ onwards to the application, which would not be aware of that subpath.

    I think I need something that intercepts the content being served to the client, and inserts /app1/ into all hardcoded absolute paths.

    For example, let’s say on app1’s root I have an index.html that contains:

    ...
    src="/static/image.jpg"
    ...
    

    It should be dynamically served as:

    ...
    src="/app1/static/image.jpg"
    ...