@wgs@lemmy.sdf.org

This profile is from a federated server and may be incomplete. Browse more on the original instance.

wgs,
@wgs@lemmy.sdf.org avatar

Thanks for your message on the guestbook ! I hope you have some fun, good luck !!

wgs,
@wgs@lemmy.sdf.org avatar

Thanks for taking on the challenge ! This whole thing is meaningless if there’s no one scratching their head at it !

wgs,
@wgs@lemmy.sdf.org avatar

Can you edit your message to add a spoiler tag ?

answerIt’s up and running ! The error you get is probably related to the fact you’re trying to trace it over ipv4.

wgs,
@wgs@lemmy.sdf.org avatar

There are online service that can do it for you. Check “IPv6” in the glossary.

wgs,
@wgs@lemmy.sdf.org avatar

Keep in mind that using your own VPS as a VPN doesn’t bring anonymity. You’re simply replacing one IP tied to your name (your ISP) with another one (your VPS).

You hide your traffic from your ISP, and delegate it to your VPS provider.

This will be the same for your DNS. If you want true anonymity regarding DNS, you should use someone else’s service, preferably over encrypted channels, eg. cyberia.is DoT.

I personally use it as a forwarder from a box inside my home (along with others), and use this box as the local DNS when I’m home. This way I know that all DNS traffic is encrypted, and doesn’t leak anything to my ISP or VPS or whatever.

wgs,
@wgs@lemmy.sdf.org avatar

Looks like you shouldn’t ask for anything at all, given that you cannot take a single answer without being a condescending jerk. I’m not affiliated to cyberia.is in any mean by the way just proposing a service that you could use to solve your problem if you were not too busy being a douchebag.

wgs,
@wgs@lemmy.sdf.org avatar

One could argue that people who say PHP is fine only suffer Stockholm syndrome !

wgs,
@wgs@lemmy.sdf.org avatar

Le meilleur moyen de pas se faire voler son vélo, c’est d’en avoir un tout pourri et de le garer à côté d’un moins pourri 👍

deleted_by_author

  • Loading...
  • wgs,
    @wgs@lemmy.sdf.org avatar

    For it to always work, you should put it in /bin. Every other solution may fail in some corner case.

    Don’t do this though.

    The correct way to install a command is to package it for your distro, and put it in a place that’s suitable for its usage.

    wgs,
    @wgs@lemmy.sdf.org avatar

    I’ve made something that’s both fun and challenging: cyb.farm

    It’s a tech adventure featuring many challenges about computer science stuff (crypto, stegano, protocols, development, …). It starts on the 31^st^ of October, and will probably can keep you busy for a few weeks ^^

    wgs,
    @wgs@lemmy.sdf.org avatar

    Do you set the wallpaper from your profile ? I’ve only tried 9 on a remote system but image handling was painfully slow so I gave up on setting the wallpaper from the Rio theme. Maybe that’s faster locally on bare metal ?

    wgs,
    @wgs@lemmy.sdf.org avatar

    Okay, good to know. I guess using a shared system remotely overseas doesn’t help with fast loading times ^^

    wgs,
    @wgs@lemmy.sdf.org avatar
    
    <span style="color:#323232;">$ man up
    </span><span style="color:#323232;">man: No entry for up in the manual.
    </span>
    

    Another idea ?

    wgs,
    @wgs@lemmy.sdf.org avatar

    Why so ? It ticks all the boxes from the Rules section ;)

    wgs,
    @wgs@lemmy.sdf.org avatar

    Is auto-promotion forbidden ? Also, this game is very unix-y, which is IMO on topic

    wgs,
    @wgs@lemmy.sdf.org avatar

    Talking for myself and not OP: What’s complex about apt and yum is the package format per se. The cli is very straightforward and “just works”, but whenever you want something that’s not packaged and need to package it yourself, you gotta fasten your seatbelt and prepare for the complex task of creating an RPM or a DEB package.

    I know there are tools to help with that, but I’ve created packages for many distros (Debian, CentOS, Alpine, Arch, Void and Crux), and rpm/deb are just way more complex to create than the alternatives.

    wgs,
    @wgs@lemmy.sdf.org avatar
    
    <span style="color:#323232;">% pm -i | wc -l
    </span><span style="color:#323232;">55
    </span>
    

    That’s how many software I packaged myself. They are installed to /usr/local using an alternative package manager because I couldn’t be bothered with making an appropriate .deb.

    And as to explain how this alternate workflow is less complex, here’s how I go about installing a program:

    
    <span style="color:#323232;">% git clone git://git.z3bra.org/human ~/code/human
    </span><span style="color:#323232;">Cloning into '/home/z3bra/code/human'...
    </span><span style="color:#323232;">remote: Enumerating objects: 53, done.
    </span><span style="color:#323232;">remote: Counting objects: 100% (53/53), done.
    </span><span style="color:#323232;">remote: Compressing objects: 100% (53/53), done.
    </span><span style="color:#323232;">remote: Total 53 (delta 28), reused 0 (delta 0), pack-reused 0
    </span><span style="color:#323232;">Receiving objects: 100% (53/53), 9.35 KiB | 195.00 KiB/s, done.
    </span><span style="color:#323232;">Resolving deltas: 100% (28/28), done.
    </span><span style="color:#323232;">% cd $_
    </span><span style="color:#323232;">% pack
    </span><span style="color:#323232;">CC human.c
    </span><span style="color:#323232;">LD human
    </span><span style="color:#323232;">install -D -m 0755 human /tmp/tmp.rfnbLyIQOz/usr/local/bin/human
    </span><span style="color:#323232;">install -D -m 0644 human.1 /tmp/tmp.rfnbLyIQOz/usr/local/man/man1/human.1
    </span><span style="color:#323232;">
    </span><span style="color:#323232;">        > /tmp/[email protected]
    </span><span style="color:#323232;">
    </span><span style="color:#323232;">installed human (0.3)
    </span><span style="color:#323232;">% pm -i human
    </span><span style="color:#323232;">usr/
    </span><span style="color:#323232;">usr/local/
    </span><span style="color:#323232;">usr/local/bin/
    </span><span style="color:#323232;">usr/local/bin/human
    </span><span style="color:#323232;">usr/local/man/
    </span><span style="color:#323232;">usr/local/man/man1/
    </span><span style="color:#323232;">usr/local/man/man1/human.1
    </span>
    

    [Question] Which shell prompt do you use and why?

    Hi. I’ve been using powerlevel10k for a long time, but a few days ago, I decided I wanted to customize it a bit. I opened the .p10k.zsh file, and I was shocked. It’s really massive, with TONS of options. I’ve been digging through for a few hours already, and it’s absolutely amazing how much you can customize it without...

    wgs,
    @wgs@lemmy.sdf.org avatar

    I’m on the boring side…

    https://lemmy.sdf.org/pictrs/image/8c7134f6-39df-43d2-a6d4-9b4fb8a4ba5c.png

    
    <span style="color:#323232;">PS1="% "
    </span>
    

    I like it though, it gives me more room for commands !

    wgs,
    @wgs@lemmy.sdf.org avatar

    But I have more vertical space too ;)

    wgs, (edited )
    @wgs@lemmy.sdf.org avatar

    I use glazier, a WM I wrote myself. But given your description, it won’t fit you at all ^^ It’s very bare bones, and requires that you script everything not mouse driven using wmutils.

    wgs, (edited )
    @wgs@lemmy.sdf.org avatar

    La règle de 3.

    
    <span style="color:#323232;">3 = 3
    </span><span style="color:#323232;">3x3 = 9
    </span><span style="color:#323232;">9+3 = 12
    </span><span style="color:#323232;">12^3 = 1728
    </span><span style="color:#323232;">1728x3 = 5184
    </span><span style="color:#323232;">5184 - 333 = 4851
    </span>
    

    Après la géométrie n’est pas une science exacte, d’où le léger décalage obtenu par les géomètres.

    wgs,
    @wgs@lemmy.sdf.org avatar

    Tout fout l’camp, ya plus d’saison !

    wgs,
    @wgs@lemmy.sdf.org avatar

    Pourquoi “s’aggraver” ? C’est forcément mauvais une baisse du nombre de naissance ? (Je me pose réellement la question)

    wgs,
    @wgs@lemmy.sdf.org avatar

    I’m a huge fan of cwm, but I must say you’re not advocating for it in this shot ^^

    wgs,
    @wgs@lemmy.sdf.org avatar

    T’as raisons, fais des farfalles maison à la place 🫣

    wgs,
    @wgs@lemmy.sdf.org avatar

    It’s a tmux wrapper IIRC.

    wgs,
    @wgs@lemmy.sdf.org avatar

    For the past year, I’ve been working on an online scavenger hunt. It features many tech related challenges on various topics (web, protocols, crypto, stegano, …).

    This is the project as a whole, but I had to work on many sub-project to bring it to life, out of which:

    • a Pokemon game (assembly)
    • an online scoreboard (go)
    • an encryption tool (go)
    • a crypto hashing tool (go)
    • a cli interface ©
    • many deployment shell scripts
    • … much more

    What I love about this project is that it touches many different topics. I had to setup reverse proxies, complex firewall rules, VPNs, abuse the TCP/IP stack, … I could also work on very useless but fun topics, like creating a tool that answers to ICMPv6 traceroute packets to insert fake hops between the requester and the destination. I’m now close to releasing it, and I wonder what I’ll do when this is over…

    wgs,
    @wgs@lemmy.sdf.org avatar

    SOCKS is just a generic proxy protocol. It lets you tunnel TCP traffic between two hosts transparently. SSH can be use to setup this kind of tunnel using -D.

    wgs,
    @wgs@lemmy.sdf.org avatar

    My account has not seen a single commit in years now, and yet I can let it go… I still “need” it for support on an old project of mine that I share with other people, and to submit changes for projects I care about which are only on GitHub.

    I also keep my account for name squatting purposes, and so people can find the link to my actual repo.

    I don’t think I’ll go all the way to delete my account, but my projects are definitely not reliant on it anymore.

    wgs,
    @wgs@lemmy.sdf.org avatar

    I started using Linux because I was curious. I installed the “Ubuntu distribution” (a Linux “flavor” with preinstalled software to make your life easier), and started goofing around: first navigating the web using the web browser, which isn’t a much difference experience than windows, then did my programming courses in there for university, installed a few games, and broke the system many, many times because I had no idea how to install stuff ! (Protip: it uses a “store-like” approach, like on Android, rather than running .exe installers ;))

    The best way to learn it, is to try it ! I’d suggest Ubuntu, because it worked for me 15 years ago, and it’s the simplest approach you have to discover it, as the system will be ready to do the most basic tasks (browse the web, edit document, watch videos, etc…). You won’t have to struggle with searching and installing software, and can just discover it.

    Now about your question, it’s not about how Linux is “better” than windows. It isn’t, and doesn’t try to be. The most important trait is that it’s “different”, and you gotta find what it means for you.

    I won’t lie, using Linux as a daily driver is harder than using windows (much less than it was 15 years ago!), because of hardware/software compatibility, user support, etc… But it is also so much refreshing! You get to change every tiny bit of your system, you can swap components easily, eg replace the default web browser, change the windowing system for another “desktop environment”, and take back control of your privacy while doing computer stuff.

    So here’s my best advice to you: Try it out! Break stuff, restart from scratch, and keep learning that way. This was the most fun I had regarding computers for my whole life, and now I simply cannot switch back :)

    wgs,
    @wgs@lemmy.sdf.org avatar

    Or just set tabsize to 9, that’s the point :)

    wgs,
    @wgs@lemmy.sdf.org avatar
    
    <span style="color:#323232;">struct Ident arr = [
    </span><span style="color:#323232;">{
    </span><span style="color:#323232;">.id
    </span><span style="color:#323232;">= 0,
    </span><span style="color:#323232;">.name
    </span><span style="color:#323232;">= "Bob",
    </span><span style="color:#323232;">.pubkey
    </span><span style="color:#323232;">= "",
    </span><span style="color:#323232;">.privkey
    </span><span style="color:#323232;">= ""
    </span><span style="color:#323232;">},
    </span><span style="color:#323232;">{
    </span><span style="color:#323232;">.id
    </span><span style="color:#323232;">= 1,
    </span><span style="color:#323232;">.name
    </span><span style="color:#323232;">= "Alice",
    </span><span style="color:#323232;">.pubkey
    </span><span style="color:#323232;">= "",
    </span><span style="color:#323232;">.privkey
    </span><span style="color:#323232;">= ""
    </span><span style="color:#323232;">}
    </span><span style="color:#323232;">];
    </span>
    
    wgs, (edited )
    @wgs@lemmy.sdf.org avatar

    When I talk about alignment it’s not about function arguments, but values, “=” signs and such. You simply cannot use tabs for that because alignment must be fixed and indentation independent:

    
    <span style="color:#323232;">CreateOrderRequest(
    </span><span style="color:#323232;">    user,
    </span><span style="color:#323232;">    productDetails     => order.detail,
    </span><span style="color:#323232;">    pricingCalculator  => DEFAULT_CALCULATOR,
    </span><span style="color:#323232;">    order              => order.internalNumber)
    </span>
    
    wgs,
    @wgs@lemmy.sdf.org avatar

    To each their own indeed. But my rule of thumb is: only use tabs when there’s no other character before it (aka, start of line).

    wgs,
    @wgs@lemmy.sdf.org avatar

    Try it and you’ll see

    wgs,
    @wgs@lemmy.sdf.org avatar

    You might not understand how to do it properly so here’s the idea:

    Tabs will let you reach the indentation level of the current block, then from here, you’ll use spaces to align stuff property. Here’s an example, where >••• are tabs (I’m exaggerating alignment for the sake of the example) :

    
    <span style="color:#323232;">>•••if (condition1 == true
    </span><span style="color:#323232;">>••• || condition2 != false)
    </span><span style="color:#323232;">>•••{
    </span><span style="color:#323232;">>•••>•••struct ident people[] = [
    </span><span style="color:#323232;">>•••>•••>•••{
    </span><span style="color:#323232;">>•••>•••>•••>•••.name   = "bob",
    </span><span style="color:#323232;">>•••>•••>•••>•••.pubkey = "value1",
    </span><span style="color:#323232;">>•••>•••>•••},
    </span><span style="color:#323232;">>•••>•••>•••{
    </span><span style="color:#323232;">>•••>•••>•••>•••.name   = "alice",
    </span><span style="color:#323232;">>•••>•••>•••>•••.pubkey = "value2",
    </span><span style="color:#323232;">>•••>•••>•••}
    </span><span style="color:#323232;">>•••>•••];
    </span><span style="color:#323232;">>•••>•••secureConnection(people[0].name, people[0].pubkey,
    </span><span style="color:#323232;">>•••>•••                 people[1].name, people[1].pubkey,
    </span><span style="color:#323232;">>•••>•••                 CRYPTO_ALGO_DEFAULT);
    </span><span style="color:#323232;">>•••}
    </span>
    

    As you can see, everything will stay correctly aligned as long as it’s within the same block.

    wgs,
    @wgs@lemmy.sdf.org avatar

    I understand your point of view. Personally I either copy the previous line and replace the arguments there, or insert X number of space using the repetition feature of my editor. It also has a feature that will align multiple cursors together with the “farthest” one using space, which is a killer feature for me! (See this presentation video @1:40).

    wgs,
    @wgs@lemmy.sdf.org avatar

    I agree that it’s hard, but not impossible. This usually boils down to how Nazi people are when merging code. In a corporate environment, nobody gives a damn so yeah you gotta use whatever you want because there are already different indentation systems within the same file anyway :)

    But hey, you gotta live by the changes you want to see happen, so I personally put a lot of effort in formatting my code regardless.

    wgs,
    @wgs@lemmy.sdf.org avatar

    What’s your point ? You can use vim on termux and set the tabsize to whatever you want for example.

    wgs,
    @wgs@lemmy.sdf.org avatar

    Straight on point!

    wgs,
    @wgs@lemmy.sdf.org avatar

    I personally favor code readability over patch readability. But I reckon this is a matter of preference so I can understand how you might not like that.

    wgs,
    @wgs@lemmy.sdf.org avatar

    You can set the tabstop with less -x*n*. But ok I see what you mean. I still stand by my point though. If termux doesn’t support setting tabstops and it’s an issue, then it’s a bug in termux, not a reason to level down your formatting standard.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines