I’m the administrator of kbin.life, a general purpose/tech orientated kbin instance.

  • 1 Post
  • 351 Comments
Joined 1 year ago
cake
Cake day: June 29th, 2023

help-circle



  • There’s a certbot addon which uses nginx directly to renew the certificate (so you don’t need to stop the web server to renew). If you install the addon you just use the same certbot commands but with --nginx instead and it will perform the actions without interfering with web server operation.

    You just then make sure the cron job to renew also includes --nginx and you’re done.




  • I think this overall is a better idea. I’m going to say this because, I thought I’d look into rust today. So I installed it, setup vscode to work with it etc. And it’s all up and running. I thought I would port over a “fairly simple” C# project I wrote recently as a bit of a test.

    While I’ve generally had success (albeit with 30+ tabs open to solve questions I had about how to do certain things, and only making it about 20% into the task) I’m going to say that it’s different enough from C, C++ and C# (all of which I can work with) that I really don’t think it is fair to expect C developers that have day jobs and work on the kernel in their spare time to learn this. It’s fundamentally different in my opinion.

    Now, I don’t condone any bad attitude and pushing away of rust developers from the project. But there’s no way they’re going to want to do anything to help which involves learning a new language. It’s just not going to happen.

    Likewise, C is not a language most new developers are learning. So, I feel like over time there won’t be so much of an influx of new kernel developers and any Rust based kernel could find itself with more contributors over time and taking over as the de-facto kernel.

    In terms of Redox (not looked into it yet). So long as there’s a different team working on the userspace tools. I would say the main task should be getting a solid kernel with drivers for most popular hardware etc in place. The existing GNU tools will do until there’s a kernel that is able to compete with the C one. But that’s just my opinion.


  • Here’s what I think. Both opinions are correct.

    Rust is sufficiently different that you cannot expect C developers to learn rust to the level they have mastered C in order to be working at the kernel level. It’s not going to happen.

    I don’t really know too much about rust. Maybe one day I’ll actually mess around with it. But the one time I looked at a rust git repo I couldn’t even find where the code to do a thing was. It’s just different enough to be problematic that way.

    So I think probably, the best way IS to go the way linus did. Just go ahead and write a very basic working kernel in rust. If the project is popular it will gain momentum.

    Trying to slowly adapt parts of the kernel to rust and then complain when long term C developers don’t want to learn a new language in order to help isn’t going to make many friends on that team.



  • Nah my local expensive hipster craft beer place usually has 6 on tap. One will usually be a UK style ipa, 2-3 others will be a mix of USA/oceana style pale ales. One local brewery and one non pale ale (blonde, Porter, stout etc)

    But you really can’t tell until you try them.





  • It should be protected against. But, you know if a business changes to dynamic pricing and their next quarterly numbers shows that the vast majority of people didn’t swallow it, and revenue is hugely down, they would undo it in a second.

    The fact is, though. They know enough people WILL let them them get away with it. From their point of view, why would they turn down free money?


  • I mean, while they can block most things, to give people a usable experience they’re going to allow http and https traffic through, and they can’t really proxy https because of the TLS layer.

    So for universal chance of success, running openvpn tcp over port 443 is the most likely to get past this level of bad. I guess they could block suspicious traffic in the session before TLS is established (in order to block certain domains). OpenVPN does support traversing a proxy, but it might only work if you specify it. If their network sets a proxy via DHCP, maybe you could see that and work around it.

    I did have fun working around an ex gf’s university network many years ago to get a VPN running over it. They were very, very serious about blocking non-standard services. A similar “through” the proxy method was the last resort they didn’t seem to bother trying to stop.



  • we’re in an age when nuclear deterrent is actually less effective because the West is very unlikely to use anything like a nuclear bomb, whereas our adversaries might,” he added. “Where you have technological parity but moral disparity, the actual disparity is much greater than people think.”

    See. I don’t think the deterrent was ever meant to be a response to tactical nuclear weapons. They were meant to be a way to make sure that if World ending strategic nuclear weapons were fired against cities, that the response would be absolute.

    I wholesale believe that western countries with strategic nuclear weapons would return fire against an attack in our direction. Just as it looked in wargames.

    No we’re not going to destroy the world if Russia or any other adversary uses tactical nuclear weapons. We have much more proportionate responses.

    Or, maybe I’m just misreading it?