Skip Navigation
Jump
Deutsche Post and DHL switch to OSM from Google Maps [DE]
  • since commercial usage is not free

    Commercial usage oft the osm data is free, see the OSM license. The article even speculates that they switched from Google maps due to licenses costs.

    Of course this doesn't apply to commercial services that provide e.g. map tiles.

    26
  • Jump
    Whats your thoughts on Ai in your terminal?
  • So compared to plain bash without autocomplete and Ctrl+R it may be useful. It is probably a step back for everyone else.

    I think it could be much worse than even a plain shell with ^R, as the llm will be slower than the normal history search and probably has less context than the $HISTFILE.

    5
  • Jump
    2024: announcing the year of the OpenStreetMap vector maps | OpenStreetMap Blog
  • I assume that nothing will change for contributors, as vector tiles only replace the existing renderer.

    For users this will allow better zooming and customization of the rendered map.

    6
  • Jump
    Fossify Music Player 1.0.0 released
  • I used VLC in the past but switched to the simple music player after having too many bugs and crashes with VLC on my phone.

    2
  • Jump
    Will rewrite history as we know it
  • Maybe, but nuclear cargo ships were tried before (e.g. NS Savannah, Otto Hahn) and failed because they were too expensive.)

    2
  • Jump
    What are some of the best optimizations you applied to your code?
  • I recently spent some time optimizing a small Julia program I wrote that generates a lookup table of brainfuck constants. Because it only needs to run once, I originally didn't care about performance when I originally wrote it (and the optimization was mostly for fun).

    I achieved an ~100x improvement by adding types, using static arrays and memoization. In the end, the performance was mostly limited by primitive math operations, I tried using multiple threads, but any synchronization destroyed the performance.

    However, the most impressive thing was the ability of Julia to scale from dynamically typed scripting language to almost a compiled language with minimal changes to the code.

    3
  • Jump
    Very clever...
  • Having the commands listed at the bottom by default is one thing i personally dislike about nano, because they take up space while being useless to someone knowing the commands (or at least knowing how to open the help in, which is what you can do in vim to achieve the cheat sheet). The alternative that vim uses, is to show the commands when starting the editor without opening a file.

    11
  • Jump
    The Absolute Minimum Every Software Developer Must Know About Unicode in 2023 (Still No Excuses!)
  • I agree that having some glyphs in color can be bad, for example when you are typesetting a formula in TeX that contains emoji, the color looks just unprofessional. As a solution, let me introduce you to the Noto Emoji font: https://fonts.google.com/noto/specimen/Noto+Emoji

    7
  • Jump
    *Permanently Deleted*
  • I don't really have a single favorite a language, if I am able to choose freely it depends on the task.

    • C++ for natively compiled programs and C interoperability, I like the types from the STL and templates.
    • Clojure is IMO great for data-oriented programs, I really like the immutability and it being a lisp. The java interop and the ability to compile to JavaScript with clojurescript can also be useful.
    • Julia for smaller (mostly numerical) programs that should be fast at runtime. The type system is great in being optional, but strong and significantly improving performance when types annotations are used.
    • Fennel (or Lua) is definitely my favorite Language for embedding into larger programs and scripting. Fennel has the advantage of being a lisp and cleanly compiling to lua.
    • brainf*ck is great as a simple language to have fun and enjoy programming
    5
  • Jump
    21 Useful Linux Terminal Shortcuts Pro Users Love
  • These shortcuts aren't provided by the terminal or the shell but the readline library (or zle if you use zsh), which can be configured using the ~/.inputrc file.

    33
  • Jump
    bcachefs is now in linux-next!
  • RAID 5/6 is somewhat broken, and some people might consider the lack of built in encryption or support for a cache disk as problems. For some reason it seems popular to blame it for data loss.

    That being said, it is my favorite file system and I never had problems with data loss, but I use ECC RAM on my desktop as is strongly recommended if you use btrfs or zfs (another potential downside).

    7
  • Jump
    Programming for kids
  • I genuinely don't know if scratch is the right choice or a simple text based language would be better, especially for the older kids. Just from my personal experience, I started programming in BASIC at 12 and don't think I would have had as much fun and continued programming if i had used scratch instead.

    3