Skip Navigation
.dev It's time to return to the roots, to the C programming language.
  • Yeah idk or maybe use the right tool for the job rather than joining cults

  • .dev It's time to return to the roots, to the C programming language.
  • Are you high?

    Why am I writing this post? Not because I hope for something or believe in change. These are just words. I could write this at the end, but then you would be looking for answers for me while reading, and I don’t need them. They won’t change anything.
    So here it is. I don’t claim to be a software development guru or a C language expert. I’m just a simple developer.

    What? People stopped using C because it takes forever to write. You're still stuck adding null terminators to string arrays and stressing about memory leaks and overflows. Even the Linux kernel / Linux Torvalds are moving towards Rust. That's evolution, and sometimes evolution is messy

    Then the rest of your thing seems to be about how people shouldn't make money from coding? That's one of the most valuable skills of the information age, and you can become a millionaire in a decade doing it

    Just contribute to open source if you want to do some "good deeds"

  • Music was better when ugly people were allowed to make it
  • Nah, ugly ppl still make the music, behind the scenes :p

  • How do I make my own internet?
  • Well, the Internet is connected together using routers/switches. Your own home network is a "private internet" until you pay to connect it to the big one. So if you want, nothing is stopping you from running cables to your neighbors and hooking together. But then you won't have access to anything useful except whatever servers you guys run

    Was that your question?

  • Square!
  • Idk seems very useful to me, like if I need a paperweight or doorstop

  • Not trying to clickbait but is this the end for kernel-level anti-cheat?
  • I think I need more info. It seems like userspace is very hackable, so thus kernel level anti-cheat was born to control stuff like synthetic inputs and manipulation of memory / frame analysis. This anti-cheat would be held together by the fact that the kernel/drivers are proprietary and not very easy to edit. Obviously still possible because it's on your own computer, but challenging and invasive. Do I have that right?

    In which case I don't see how going back to userspace would help. What is the solution? There probably isn't one outside of hardware (buying a hacking chip and soldering it in is annoying for most)

    When I was doing game dev we focussed on AI-style analytics of user behavior. Of course a good enough bot could always look human. A real cat and mouse game wasting lots of time

  • Building a browser using Servo as a web engine! - Servo, the embeddable, independent, memory-safe, modular, parallel web rendering engine
  • Huh wow this has been going for a decade, uses Rust, and is run by the Linux Foundation now? That's all very hype - seems like they need another couple years, but there is hope! I'm impressed

  • What's the difference between a proxy and a VPN
  • Functionally the same for most people. A VPN is a virtual LAN so you can access other computers on it. Ex. company's internal websites from a remote location

    Proxy just forwards traffic like a gateway. In both cases the source is hidden. LANs have gateways too

  • Is GitHub Copilot worth it to you?
  • I often felt that current ML speeds up newbie devs by effectively teaching them the language and libraries — but slows down experts that already know the stack well from memory. I started coding in a new language and system, and ML can be a bit faster to teach me things and provide simple snippets than stack overflow

    But over time I've learned that there are very specific things that ML can do really well, and I can save time when I apply those techniques. For example, it's excellent at converting from one language or style to another, ex migrating configs from json to yaml. It's also pretty good at writing configs or generating template code based on them. It's good at picking an emoji from a list. It can write small functions or provide a template html layout. So I humbled myself and started integrating it into my workflow where it actually works

  • Quantum Breakthrough: Scientists Discover First One-Dimensional Topological Insulator
  • That's the best kind of science article. No catchy headline & too complicated even in a summary

  • Facebook verified a sovcit, who has some advice.
  • It's actually a very sophisticated game of D&D where they are larping as lawyers in a world where they are not beholden to the spirit of the law

  • Linus Torvalds talks AI, Rust adoption, and why the Linux kernel is 'the only thing that matters'
  • Yeah tldr is "rust good", "ai overrated", "i only care about the kernel and won't answer your questions"

  • Linux Network Performance Ultimate Guide
  • Wow this is epic and although intimidating, quite good to read and know

  • In These Five Social Media Speech Cases, Supreme Court Set Foundational Rules for the Future | Electronic Frontier Foundation
  • Wow positive supreme court news, wild. Tldr might be that users have a right to post and do stuff on the site, site owners have right to moderate and promote as they see fit, governments aren't not allowed to stomp on free speech on these platforms or coerce the platforms?

  • This is my life now, until I finally understand Cmake.
  • That's like one thing ML can actually help with XD cute cat

  • What the fuck happened to YouTube!?
  • Yeah I'm with you on this, I actually only got it for YouTube music — which really is like "here you can play any song from the history of humanity and also yt video audios." Well actually what happened is I was using Google Music and then the assholes shut it down and merged it into YT Music which is now roughly on par. I was pissed, but user retained

    But I have been enjoying the fact that my subscription goes towards paying the ppl I watch, and I like that I'm unaffected by YT's server side ads concept (which I've always wondered why they don't do, I think it makes CDNs too hard to optimize while stitching ads directly into videos)

  • Liz Truss leaves stage over ‘I crashed the economy’ lettuce banner
  • I got disrupted!! They are taking away my free speech by disrupting me!! On my book tour!! It's a security threat!! I have to go!! Trump is the best!! Love you Elon, thanks for X!!

    -ex british pm of 45 days

  • Nope, nada, nothing in between...
  • I learned Adv and then got too lazy to ever upgrade my knowledge and books, so I still play that (with feats)

    I kinda like super slow leveling. Less fucking around with books and more RP, magic items more impactful, every step up feels more special. But then ofc you're still level three 8 games in

  • Showing off my new alien spaceship themed tabby.nvim setup :D (feat. neovide, fzf, airline, markview)
    streamable.com Watch tabbar | Streamable

    Watch "tabbar" on Streamable.

    Watch tabbar | Streamable

    My new design direction for neovim is "you just sat down in a homie's spaceship and have no idea what any of the buttons do" -- you can see how I did it here with tabby.nvim: https://github.com/Garoth/Configs/blob/da354cd98241dc7582718a9082226fab99403e4a/nvim/init.vim#L752

    I'm an oldschool vim guy, so a lot of my plugin tastes lean towards the ancient. Telescope?? Nah I had that figured out with fzf.vim many years ago, and it's stupid fast. Harpoon? Nah, I have marks, permanent undo and location memory, alternate files, fast search. Plus I love using fzf in my terminal so it all blends together so well. I still use vim-plug, it's pretty much perfect, and have no interest in lazy or whatever the new flavor-of-the-year package manager is

    Neovide continues to be what I believe is the future of neovim. The performance is best in class, probably theoretically better than even terminals can achieve (since rendering can be done much more selectively, understanding vim concepts like floating windows and such, which have compositing in neovide). The idea of "progressive improvements" in a GUI rather than trying to make something totally different is a great call. In the future, they are likely to implement a new age of image rendering too, which would be aware of z-index layering (so you could have a floating window on top of an image -- current image-in-terminal approaches just put the image on top)

    Airline -- well, this is in the category of "if it aint broke dont fix" -- Airline has been in development for like 11 years and has 2700+ commits, 17k+ stars on github. I mean, this is a ridiculous history, that's more work than most projects on github, just for a statusline. I don't tend to chase trends or replace vim code with lua - who cares - vimscript is stable and reliable

    Shoutout to the Maple Mono font -- with a lot of amazing ligatures that I didn't have before, super cozy. Demo recorded on an 7 year old samsung chromebook running Wayland/Pipewire Arch with a dualcore cpu, 4gb of ram, 14nm intel integrated graphics, and a 32gb harddrive. Linux is so cool, being able to do that. The ending was... not on purpose lmao

    2
    compiler.nvim: language aware compile menu

    Zenith said:

    URL: https://github.com/Zeioth/compiler.nvim

    This compiler detects the filetype you are using. From there it detects the entry point of your program and compiles it with the correct compiler so you don't need to setup anything.

    Currently it is on beta state and only works with c. More languages available in the coming days.

    I rather releasing it now in case someone wants to participate and leave comments before I solidify the architecture.

    I coded this for NormalNvim so take a look there if you want too.

    Cheers.

    0
    Applying to be a mod here too

    Hey guys I'm one of the most active mods of the Joplin reddit. I'd like to be modded here too and help build the community / roll people over

    0
    Applying to be a mod

    Hey guys, I'm currently one of the active members the neovim reddit (hugelung), and I'm in full support of migrating to lemmy. I was hoping to be modded here, and helping migrate content / roll people over

    1
    Applying to be a mod

    Hey guys, I'm currently one of the active members the neovim reddit (hugelung), and I'm in full support of migrating to lemmy. I was hoping to be modded here, and helping migrate content / roll people over

    1
    lung Lung @lemmy.world

    Expert developer, Buddhist

    Posts 6
    Comments 261
    Moderates