Citizens too? I’ve not heard of that. Scary
anytimesoon
- 6 Posts
- 51 Comments
anytimesoon@feddit.ukto Golang@programming.dev•Are code reviews allowed? I wrote a pretty basic RBAC module while working on a separate learning project and was hoping to get the opinion of more experienced Gophers4·3 months agoI haven’t written go in a little while, so things may have a changed since. I’ll give this a go regardless.
First thing I notice is there’s no explanation of what this is supposed to do. A little blurb in the readme would help. I have no idea what rbac is, so it would give me some context.
Then, there’s no main function. Where’s the entry point? This is a bit where I’m doubting myself now. Maybe go has changed, but when I was writing it, it requires a main function to even run.
I also notice that many of your functions and types start with a capital letter, making them public, but everything is in the same package. This is maybe nitpicky, but I would start with everything as private. As the project grows, and things get organised in packages, you open up the things you need.
With all that said, if it runs and does what you expect it to, I’d say that looks good!
SSH is the answer.
Another approach would be to use WSL (windows subsystem for linux) and basically just communicate from one Linus box to another
anytimesoon@feddit.ukto Selfhosted@lemmy.world•What is a service you host you never knew you needed?English4·4 months agoHow do you get around the requirement to run the official app somewhere?
I run a WhatsApp and signal bridge, but not recommend running the official app on a phone
Off topic, but what is the original source of the meme?
Same. Hasnt let me down. Super thorough, and makes adding/removing anything a breeze
anytimesoon@feddit.ukOPto Linux@lemmy.ml•Can't access internet after wireguard uninstall1·6 months agoNo worries. Thanks for your help! I’ll post here if/when I find a solution
anytimesoon@feddit.ukOPto Linux@lemmy.ml•Can't access internet after wireguard uninstall3·6 months agoUnlikely to be something wrong with that, tbh. Everything else on that network has internet access. The issue is limited to the laptop
anytimesoon@feddit.ukOPto Linux@lemmy.ml•Can't access internet after wireguard uninstall2·6 months agoI did, but no responseI changed to a different router and can at least ping that now, but still no internet
anytimesoon@feddit.ukOPto Linux@lemmy.ml•Can't access internet after wireguard uninstall1·6 months agoSo that looks similar to what I have. Wonder why it’s not working
anytimesoon@feddit.ukOPto Linux@lemmy.ml•Can't access internet after wireguard uninstall1·6 months agoNope. Destination host is unreachable when pingingI changed to a different router and can at least ping that now, but still no internet
anytimesoon@feddit.ukOPto Linux@lemmy.ml•Can't access internet after wireguard uninstall1·6 months agoI’m not entirely sure which of the list is the default route is, but absolutely see my WiFi router on the list. Took a picture as recommended by @CameronDev
anytimesoon@feddit.ukOPto Linux@lemmy.ml•Can't access internet after wireguard uninstall2·6 months agoThe output was pretty much the same from this as from netstat -nr
I would share it here, but I can’t access the internet from that machine
anytimesoon@feddit.ukOPto Linux@lemmy.ml•Can't access internet after wireguard uninstall2·6 months agoAll I got was wget, so this is clean
anytimesoon@feddit.ukOPto Linux@lemmy.ml•Can't access internet after wireguard uninstall1·6 months agoIP tables have no rules, but netstat is showing traces of WG. Two of the interface names are the same as WG config name I used
Is there an uncensored version floating around?
anytimesoon@feddit.ukto politics @lemmy.world•Project 2025's unpopularity continues to grow: New poll shows 57% with unfavorable views of it compared to only 4% favorable3·8 months agoFalls in line with the lizardman constant https://en.m.wikipedia.org/wiki/Slate_Star_Codex#Lizardman’s_Constant
anytimesoon@feddit.ukto Food and Cooking@beehaw.org•Do you have a good app recommendations to store recipes?6·9 months agoI use tandoor. It’s Foss and self hostable.
For me, the killer feature is the ability to create meal plans that auto generate a shopping list
anytimesoon@feddit.ukto politics @lemmy.world•Donald Trump should be very worried going up against Kamala Harris in a debate3·9 months agoThat was a very long article, so for anyone too lazy to click, here is the bit you’re probably interested in:
But enough of all that vomit-inducing background on the Proud Boys. I’ll leave you with this. For all their hatred of marginalized groups and especially in consideration of all the vicious transphobic and homophobic attacks by its founder, Gavin McInnes, I’m still trying to figure out how he so readily, and more importantly – easily slid a big black dildo up his own a**, live on his internet talk show? McInnes deemed the moment as “owning the libs.”
I can’t tell if this is true or a “yo mama” style joke