Skip Navigation
Posts
1
Comments
50
Joined
9 mo. ago
  • From where are you downloading the app? I've read that either F-Droid reject Android-Auto because of binary blobs, or Google have some way of blocking non-approved builds (not from the playstore) in the car.

    Edit: there is another Android-Auto thread.

  • Nextcloud.

    And a subsonic app. There is also another protocol available so you have quite the choice for which you prefer. Currently using Tempo.

  • At least the internet crowd went :

    Silksooooooooooong ! New images and half revealed date of "you will be able to play it on day one". So either same launch day or a bit before. 2nd time (after the switch 2 trailer) that they mention silksong for this year. So maaaaybe ?

    Oh by the way, why are the image shown at an angle? Is it really only to showcase the console? Whatever.

  • Yeah, I also read that they stopped the project of building an official Xbox handheld to focus on 3rd party hardware. Because otherwise the delay would make them not launch at the same time than the home console.

  • I mean Ukraine 2022, just after the war began. 439 points from the public, 192 jury, 631 in total. By comparison Israel this year got "only" 297 points from the public, 60 jury, 357 in total. Last 2 years Israel was also 2nd and 5ft on the public votes. Last year it even had more public points than this year with 323.

    This show can be very political on contemporary events.

    Note: country residents cannot vote for their own country. I think this is to prevent more populated countries from winning each time. Maybe Israel have some advantage in this system since we cannot vote against. If Palestine had a candidate, the Ukraine scenario was possible. But since it has no representation, vote "against" Israel are just dilutes all over.

  • Au secours c'est trop bizarre à lire "moimoi".

  • Me, my memes and I

  • I would recommand to never copy paste but retype so you have the commands on your finger memory.

    Also don't be afraid to --help everything. It give more option for commands you know quicker than the man.

  • Yes. I talked about screenshots because the first message said:

    I can't see any screenshots from the article, all require a bluesky account. At least on twitter you could see images without login before the takeover.

    For "text source only" I'm with you quotes are enough.

    And if images are post anywhere, always provide an alt text, plz everyone !

  • I don't say "remove the source", I say "the source can disappear, the way back machine have already been attacked, just do your own copy of the source and make it available".

    I know screenshots can be faked, but if your news source does it it is not reliable. Drop it immediately.

  • Source can be destroyed. An alternative screenshoot backup/proof is good measure. Especially in web its better to not depend on an outside server.

    Like if they close (or some billionaire buy them and requires an account for everything), your content becomes worthless.

  • I'm with the others: fd default syntax is easier to remember.

    And for the interactive search I'm using skim. With it I cd to the dir I want and Alt t to trigger fuzzy finding. There are also bindings to search for dir or in the history. The neat part is that results are inserted as is in the command line, no need to xargs or copy them. It also make the history look like I always know where the files I want are when in reality they are just fuzzy-found

  • First time I hear about checked exceptions. How do you use them ? Are you forced to handle them explicitly ? Is the handling checked at compile time ?

    1. Is a modern language with a good build system (It's like night and day compared to CMake)

    Meson exists ... as do others.

    But they are not the default option. And your new job may not use them.

    1. And I just like how the language works (errors as values etc.)

    Fair enough; though why? What's wrong with exceptions?

    Exceptions is a non standard exit point. And by "non standard" I'm not talking about the language but about its surprise appearance not specified in the prototype. Calling double foo(); you don't know if you should try/catch it, against which exceptions, is it an internal function that may throw 10 level deep ?

    By contrast fn foo() -> Result<f64, Error> in rRst tell you the function may fail. You can inspect the error type if you want to handle it. But the true power of Result in Rust (and Option) is that you have a lot of ergonomic ways to handle the bad case and you are forced to plan for it so you cannot use a bad value thinking it's good:

    • foo().unwrap() panic in case of error (see also expect)
    • foo().unwrap_or_default() to ignore the error and continue the happy path with 0.0
    • foo().unwrap_or(13.37) to use your default
    • foo()? to return with the error and let the parent handle it, maybe
  • I'm using helix with arrows. On a standard layout its not so great, but on my main keyboard I have a layer with arrow keys near hjkl. So I can use that on all software even on my BÉPO (DVORAC like) layout.

  • From the article's own summary.

    False Load Output Prediction and Speculative Load Address Prediction allow for data leaks without malware infection

    But I guess "IA summary" did its best ¯(ツ)/¯

  • -g is not documented, what does it do?

    Note: this made me discover topless (SFW) and its Caveat section.

  • Godot @programming.dev
    Zykino @programming.dev

    Difference between navigation options

    I have been looking for a way to move non player entities on the map. For example I want cars to move around road, a parking lot, … I found way too many options without comparaison to see pro/cons. Is there a ressource telling which option is privileged?

    I saw (in 2D, but I suspect all/most have their 3D equivalent):

    Option My understanding
    Path2D Very rigid path to follow (only saw used with tween). Can be nice to follow tracks, insert cubes in slot, … But when trying to have a more natural movement, with a bit of variety thanks to physic I don’t see how to do it.
    AStar2D (and the AStar2DGrid variant) Robust algo known everywhere. Can add weight to connections. I suspect to make it work we have to give points to reach so we should "cover" the maps with points and link them together
    NavigationServer2D Same as AStar2D but experimental, more automatic. Instead of specifying all the point we specify accessible zones. But adding weight to the connection i