Skip Navigation
Jump
Hundreds of code libraries posted to NPM try to install malware on dev machines
  • Absolutely this. It almost seems like a controversial opinion sometimes, but microdependencies is a code smell imo. This could largely be improved by providing a more extended standard lib, at the cost of innovation and velocity maybe. I found this interesting: https://blessed.rs/crates

    4
  • Jump
    Should I quit engineering?
  • People like you should be in leadership positions. The landscape rewards quick solutions, and quick solutions are rarely good solutions. "Whatever works" might still be a bad solution, just look at electron and that entire ecosystem.

    2
  • Im contemplating buying a printer on a tight budget. I heard Sovol makes good stuff, so im looking at their product line. I have heard that the SV07 uses V-rollers instead of linear rods, that the SV06 uses.

    Im comforting with flashing microprocessors and building custom code. My priority list is as follows:

    1. Open source, both hard and software
    2. Part availability and software interoperability/ecosystem
    3. Stability/quality of the build
    4. Print quality and speed

    What do you guys think? Any recommendations? Should i get myself a bone stock SV06 and upgrade it to klipper by flashing, or should i get a SV06 Plus with a klipper display already? Is there something else i should consider?

    Very thankful for any advice.

    5
    Jump
    Mathematicians and software
  • Interesting. Im curious, what are some key areas of math that you think is the most interesting/useful for software engineering (that you would personally recommend learning)?

    I will likely have some spare time in the following months and i currently plan to spend it on deepening my senses related to linear algebra and analysis.

    1
  • It is often echoed that mathematicians make excellent software engineers, and that their logic-adjacent work will translate efficiently into coding and designing.

    I have found this to be almost universally untrue. I might even say the inverse is true.

    While I and many of my peers have capacity to navigate the mathematical world, it certainly is not what sets us (at least me) apart when designing clever algorithms and software tricks.

    Point being: I dont think the property/trait that makes good programmers is mathematical literacy.

    I would love to hear what others experience is regarding this.

    29

    Both zig and go use the dot operator, but I find the '::' operator much more readable.

    rust Vec::new(); Makes it clear that were accessing a static method belonging to the Vec struct/namespace.

    Vec.new() Makes it seem like Vec is an object with a 'new' method.

    Am I alone in thinking this?

    17
    Jump
    Looking for kernel development/OS development/general programming tutoring (Zig & Rust)
  • I think you are misguided. Given your level of experience, you are not in a position to spew hot takes on software architecture.

    There is something else underneath this. Did you try to use linux or something?

    General advice when it comes to software is to just start. There are always different paths, depending on what type of programmer you are. My opiniom: choose simple, not easy.

    1
  • Jump
    Personal Project Review: AA Tester v3 (aka: Coulomb Counter Project)
  • Very cool! This is the kind of stuff i want to see. Is AVR still the best choice for this? Any Risc-V ICs that can fill this type of role yet?

    1
  • Jump
    X advertisers stay away as CEO defends Musk’s “go f*** yourself” interview
  • Can never seem to understand this reasoning. Musk seems to largely have solved the censorship problem on twitter, which could be regarded as a vital piece of modern dempcracy (along with the rest of the internet, which mostly suffer from said censorship).

    While at it he weeded out some traitors, who actively sabotaged during this period. Im well aware that corporate takeovers arent something "good", but this one actually seems to make free speech a first class value.

    This censorship is imposed by advertisers, which is somehow celebrated. Were talking disney, coca cola, whatever... These all want to control what you can or can not hear, and people are celebrating it?

    The proper response to advertisers trying to co trol democracy is absolutely "go fuck yourself", this should be the norm.

    -32
  • Jump
    XMPP Server?
  • We dont want a bunch of proprietary extensions to an open communications standard, do we? This is something positive.

    That said, I dont have much hope for matrix. Implemented in python with the initial goal of "bridging every chat platform in existence" is just bound to be a disaster.

    Maintaining anything beyond a couple of hundred lines in python becomes tedious imo.

    The rewrite in go has been spoken about since like 2018, and matrix.org still runs synapse iirc. Synapse should have been trashed immediately after MVP demonstration.

    Theres also conduit, but to be honest, i feel like the lesson here is to avoid feature creep. Safe, fast and distributed dm text chat should have been the target functionality, with a lean, mean codebase.

    Thanks for coming to my ted talk

    4
  • Jump
    What's the biggest change you would like to see in computing/tech?
  • Afaik, the way it currently works is by calling via javascript. Ironically, the way strings are handled in the browser is also a major performance block with rust at least.

    2
  • Jump
    i wanna have fun programming again
  • Here goes a rant:

    Never had a "dry period" yet, but i code all the time, mostly personal projects and a tiny bit for university.

    Been doing Rust for years. Currently dipping into Nu and Haskell, fully swimming in the functional cool aid. Strong recommend.

    Did some experimentation with most of the javascript frameworks (solid, react, svelte). Not recommended. Javascript is a mistake that should not escape the browser.

    Learned typescript while at it, as if javascript werent bad enough. Conclusion: ts certainly does not fix javascript.

    Thinking about diving deeper in tech like sycamore, yew and leptos. Seems nice, and none of the js headache.

    My background is in C/C++ and some php. Currently eyeing zig. Looks like a really well designed language.

    Did some lexing and interpreter stuff. Next up is os (which is why zig looks very appealing).

    AVR assembly is also very rewarding. Im planning to explore arm assembly next.

    Webserver stuff in rust is also a very pleasant experience. Sqlx is just a beautiful invention, originally from go, which is also a rather nice language is you can get over the error checking.

    I have enjoyed all of these things (even the js stuff).

    1
  • Throughout my life i have set up a multitude of different printers. None of them have been a pleasant experience. Why is this, and is there a printer that is actually good?

    Order of priorities:

    1. Free/open software and hardware
    2. Available ink/toner and spares
    3. No connectivity "dumb as a rock"

    Print quality really doesent matter unless it is really bad. Of course, im willing to make sacrifices on all of these points, but you get the gist.

    Any suggestions for models that comes even close to any of these requirements?

    37