• 0 Posts
  • 89 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle
  • Yes, absolutely. Constantly, in fact.

    Rust the language is great.

    Rust the community makes me hate rust, never want anything to do with it, and actively advise people not to use Rust. Your community is so, so important to a programming language, because that’s who makes your documentation, your libraries, fills out the discords, IRC, and mailing lists. As a developer, any time you’re doing anything but rote boilerplate zombie work, you’re interacting with the community. And Rust has a small, but extremely vocal, section of their community that are just absolute shitheads.

    Maybe in 5-10 years when the techbros stop riding its’ dick and go do something else will Rust recover its reputation, but for now? Absolutely no.




  • Except for the fact that it’s now invasive as hell and trying to monitor/sell everything on your computer after the rewrite. We had to ditch teams after the rework because it wanted to phone home to dozens of IPs with information about our computers and actions.

    The high score was blocking 112 outgoing requests with personal data in a single 1 hour call. (We have network connections locked down on our computers using Little Snitch).

    Absolute madness and frankly every single person involved in Microsoft Teams should be thrown in jail for espionage and stalking.








  • Not sure where you drive, but those cars aren’t spaced at all- they’re very close to bumper-to-bumper, which you can only do at extremely low speeds that unrealistic for travel. Meanwhile, the people that are bundled together ARE actually capable of moving like that, though the average american (who has a larger ‘personal bubble’ that other cultures) would probably not like it.

    Moreover, the car example could actually be worse than it appears- because they’re taking up all lanes of a road, so you’re assuming they’re coming AND going, which none of the other examples are assuming. If you did it properly, the line of cars would be two wide and twice as deep!


  • Honestly, these days it’s pretty simple. The thing you need to remember is that you do not need to know EVERYTHING all at once. Learn a little bit, use it, keep what you use, discard what you don’t, get it in muscle memory, and learn a bit more. Very quickly you’ll be zooming through vim.

    You can learn the basics, and go from there- the basics of vim (which imo everyone should know- vi is often the fallback editor), and then you can just casually learn stuff as you go.

    Here’s the basics for modern default/standard vim: Arrow keys move you around like you expect in all ‘modes’ (there’s some arguments about if you should be using arrow keys in the vim community- for now, consider them a crutch that lets you learn other things). There’s two ‘modes’- command mode, and edit mode.

    Edit mode acts like a standard, traditional text editor, though a lot of your keybinds (e.g. ctrl-c/ctrl-v) don’t work.

    Press escape to go back into command mode (in command mode, esc does nothing- esc is always safe to use. If you get lost/trapped/are confused, just keep hitting escape and you’ll drop into command mode). You start vim in command mode. Press i to go into edit mode at your current cursor position.

    To exit vim entirely, go to command mode (esc), and type :wq<enter>.

    ‘:’ is ‘issue command string’,

    ‘w’ is ‘write’, aka save,

    ‘q’ is quit.

    In other words, ‘:wq’ is ‘save and quit’

    ‘:q’ is quit without saving, ‘:w’ is save and don’t quit. Logical.

    Depending on your terminal, you can probably select text with your mouse and have it be copied and then pasted with shift-ins in edit mode, which is a terminal thing and not a vim thing, because vim ties into it natively.

    That gets you started with basically all the same features as nano, except they work in a minimal environment and you can build them up to start taking advantage of command mode, which is where the power and speed of vim start coming into play.

    For example ‘i’ puts you in edit mode on the spot- capital i puts you in command mode at the beginning of the line. a is edit mode after your spot- capital A is edit mode at the end of the current line.

    Do you need these to use vim? Nope. Once you learn them, start using them, and have them as muscle memory, is it vastly faster to use? Yes. And there’s hundreds of keybinds like that, all of which are fairly logical once you know the logic behind them- ‘insert’ and ‘after’ for i/a, for example.

    Fair warning, vim is old enough that the logic may seem arcane sometimes- e.g. instead of ‘copy and paste’ vim has ‘yank and put,’ because copy/paste didn’t exist yet, so the keybinds for copy/paste are y and p.




  • ysjet@lemmy.worldtoPeople Twitter@sh.itjust.worksWe are peers
    link
    fedilink
    English
    arrow-up
    38
    arrow-down
    1
    ·
    2 months ago

    I can guarantee you, they do not feel any sort of respect for you, they just immediately think you are a liar and now they have to waste time convincing you to do the restart, because 99% of the time, they’re talking to a liar that didn’t restart.

    Just restart the computer for them, don’t make them waste time, metrics, and social battery trying to convince you to follow the process you both know you need to go through together.





  • That’s kind of a bold claim, as it always seemed to me that the ‘smart people aren’t having kids while dumb people are’ wasn’t about eugenics, but about cultural norms- dumb parents aren’t going to encourage critical thinking, going to school, valuing intelligence, or any number of things to their kids. Moreover, dumb parents aren’t going to want, or be able, to provide their kids the sort of resources needed for that kid to shine even if the kid DID want to go against the local grain and focus on those things, because dumber people generally tend to make less money.

    More to the point, lack of intelligence is, generally, more based in environment and means, not personal ability- people usually aren’t dumb because they’re inherently dumb, it’s because they lack teaching and resources, or are in an environment that discourages intelligence. The most common indicator of this is the local economy- a brutal catch 22 of being poor meaning there’s worse resources for people, who cannot get ahead and thus end up poor themselves.

    There’s an old joke in the US that you can easily divide people up by their earning potential with a single simple number- their zip code. The same thing applies to test scores.


  • ysjet@lemmy.worldtoLinux@lemmy.mlSwitch from Ubuntu to something immutable?
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    3 months ago

    I’d you want immutability and things that just works, snaps are the exact opposite of what he needs. I’m gearing up to swap away from Ubuntu for the same reasons as him, and the snap ecosystem is utterly fucked and accelerating my timetable daily.

    I’ve never seen something so damn broken, and it gets more so every update. It’s gotten to the point of where snap store will just straight up log me out of my session out of the blue when it finds an update so it can install it, losing all of my work.