• 0 Posts
  • 18 Comments
Joined 1 year ago
cake
Cake day: June 23rd, 2023

help-circle

  • My experience with C++ was when C++ was a relatively new thing. Practically the only notable feature provided by the standard library, was that unholy abuse of bit shift operators for I/O. No standard collections or any other data types.

    And every compiler would consider something else a valid C++ code or interpret the same code differently.

    I am little bit prejudiced since then… and that is probably where the author is coming from too.

    Then things were just getting more complicated (templates and other new syntax quirks), to fill the holes in attempts to make C a ‘high level language’.



  • Have you ever worked with a computer with modern general-purpose OS like Linux and no RTC? It sucks. It is not strictly necessary, you can live without it, but you need workarounds for basic stuff timestamps in log files or in the file system. At least for a minute until NTP connection is established, but may be longer when internet connection is not available. And when routers are rebooted most often? When troubleshooting broken internet connection. This is also the time when properly timestamped logs could be useful.

    And battery backed RTC is cheap. It doesn’t fit on a Raspberry Pi board, but can easily fit into a router case. No excuse for omitting it.



  • Jajcus@kbin.socialtoSelfhosted@lemmy.worldIntroducing Raspberry Pi 5
    link
    fedilink
    arrow-up
    90
    arrow-down
    3
    ·
    10 months ago

    Doesn’t sound like the ‘cheap small computer you can run your hobby electronics project on’ that the original Pi used to be. It is not as cheap and a power hungry beast, still small, though. More and more like a PC and less and less a small cheap embedded platform. For some people it is a plus (I guess for most people here), for some not so much.

    I tend to build my projects on Raspberry Pi Pico now, but sometimes I would need something more powerful and Raspberry Pi 5 will be too much.








  • Raspberry Pi is based on smart phone chips, very specific chips from one manufacturer. Raspberry Pi Foundation is not the main customer for this manufacturer and chips used for Raspberry Pi are not their only product – and now, during the big ‘chip shortages’ and supply chain problems other customers and other chips are given priority. There are no (or not enough) new chips for Raspberry Pis so there are no new Raspberries, so availability is dropping and prices are soaring.

    I guess the same is true for most other SBCs.

    For my hobby projects I switched to Raspberry Pi Pico. It is not a SBC, you won’t run Linux on that, but it is a very capable microcontroller board which is enough for my needs. It is way cheaper much more available. And I won’t look back – it occurred to me that things are much simpler when there is no whole OS on my devices and everything the device does is in my own code.

    There are no problems with Pico availability, as it is based on a simpler, custom chip, designed by Raspberry Pi Foundation and manufactured for Raspberry Pi Foundation – they are no longer dependent on a single supplier.


  • I think Java ecosystem is more about ‘best practices’ (in the most enterprisey meaning) than common sense and good coding. That is why everything in Java gets so over-enigeered. Abstraction over abstraction. XML, SOAP, beans, factories of factories at every corner.

    At least that is my feeling, as an sysadmin (fluent in some other programming languages) who occasionally deploys those monstrosities.

    Compare that to PHP apps. They also tend to be a mess, but in a completely different way. No ‘best practices’ are common here. Just a pile of spaghetti code, that does the thing it is meant to (until it doesn’t).




  • And this is happening after SPF, DKIM and DMARC provided a solution to the spam problem.

    Any mail system can remove practically all spam by insisting messages conform to those three standards

    But that is not true at all. Spammers can easily send mail with all proper SPF, DKIM and DMARC records and signatures. A lot of spam is and will be sent like that. Those extensions do not make spam impossible, they just make it easier to track and block.

    But this does not change the point of the article – in this case it is a specific domain sending very specific non-spam messages. SPF/DKIM/DMARC prove it is not someone else – GMail has no ground for blocking these (unless were are not told something).

    And GMail has been breaking mail for years now. E.g. I hate them for breaking message threading by ignoring threading headers and forcing own view on how messages should be grouped.