Java21 brings full pattern matching #roadto21
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLI
    lightsecond
    1y ago 100%

    I’m envious of people who can use modern Java. We’re still on the #roadto11 from Java 8. It’s good though that newer versions are incremental. The path to upgrades should be simpler.

    1
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFE
    Jump
    Lemmyloves.art has shut down
    Google’s Got Dad Jokes…
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLI
    lightsecond
    1y ago 46%

    Because it’s unintentionally funny even though not a dad joke and people might be seeing this on their all feeds without noticing the community name. It made me expel air out of both my nostrils at the same time.

    -1
  • The value of a prototype
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLI
    lightsecond
    1y ago 100%

    All writing is rewriting

    Typing code is easy. Selecting the trade-offs is hard. Prototypes are a tool to understand what you’re actually trading off.

    3
  • [Help] Why do app updates have download sizes almost as large as the apps themselves?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLI
    lightsecond
    1y ago 100%

    The Google Play Store uses a technique called delta patching to calculate the diff server side and avoid transferring parts of the app that haven’t changed since your original installation.

    This is understandably not perfect because they want to avoid load on their servers and also the extra processing on your device to “unpack” it. So what you have is a happy medium between sending the entire app again and sending strictly the diff.

    18
  • Thoughts on (semi-)automated tool to import content from /r/rust to this community?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLI
    lightsecond
    1y ago 100%

    Oh! I missed that. This sounds much nicer. Probably not for /c/rust though. Like someone else said, this community already has good engagement. I think you should target large non-technical subreddits like AITA. Those will take time to pick up on Lemmy.

    4
  • Thoughts on (semi-)automated tool to import content from /r/rust to this community?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLI
    lightsecond
    1y ago 100%

    Have you checked out https://lemmit.online?

    I don’t know how i feel about a bot posting content from Reddit. Your project legit looks cool, but I personally block lemmit because these posts give me the feeling of abandoned cities. I was on reddit for the discussions. Same for lemmy. Posts without comments are boring.

    8
  • Most and Least Verbose Programming Languages
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLI
    lightsecond
    1y ago 100%

    That’s true, and you can also combine multiple errors to have a single catch block or handle each error separately. The perfect dataset for this comparison will need to be written. Code golf data is good enough for a non-academic fun analysis like this one.

    1
  • Most and Least Verbose Programming Languages
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLI
    lightsecond
    1y ago 100%

    I think code golf is a great dataset for this kind of analysis specifically because they are artificial and people are paying attention to the number of characters used. Leetcode solutions might be a better option though.

    In real world projects there are too many confounding factors. People aren’t implementing servers in brainfuck or websites in C. Even rewrites of a project into another language have more/fewer features. So it’s an apples to oranges comparison.

    5
  • I have been reading the English translations and the characters and especially their dialogues feel very fake. I do appreciate the hard science aspect of the books but the long monologues, kids speaking like middle-aged philosophers, and army personnel being one-dimensional macho men breaks the immersion for me. It has the depth of a 1980s low-budget thriller. I don’t read a lot of hard science fiction or translations of Chinese books. I don’t know if this is genre-related.

    6
    14

    > Now I Am Become Death, the Destroyer of Worlds > — J. Robert Oppenheimer Oppenheimer famously quoted this from The Bhagavad Geeta in the context of the nuclear bomb. The way this sentence is structured feels weird to me. “Now I am Death” or “Now I have become Death” sound much more natural in English to me. Was he trying to simulate some formulation in Sanskrit that is not available in the English language?

    385
    49
    www.reuters.com

    This is disheartening. Not having local semiconductor production is a liability. I hope we get some capabilities soon.

    2
    2