Skip Navigation
This Week in Rust 555 · This Week in Rust
  • If the iPhone had been hyped like AI is today people would have claimed you could replace your hammer, saw, garden hose and cooking utensils with an iPhone.

    Meanwhile current AI is pretty much useless for any purpose where you actually need to rely on a decent chance to get quality results without human review.

  • This Week in Rust 555 · This Week in Rust
  • Is it really that hard to distinguish genuine revolutions (iPhone, Rust, AI, reusable rockets, etc.) from hyped nonsense (Blockchain/web3, Metaverse, etc.)?

    It is funny that you list AI under genuine revolutions while I would list it (or at least 90% of it) under hyped nonsense.

  • Should RustSec (Advisory Database and Cargo tools) be embraced at the foundational level and made a "mandatory best practice"?
  • I would say this very issue is at the core of the current CVE discussions that leads more and more projects to become their own CNAs.

    Security people and corporate downstream consumers of security feeds want to invest the minimum of effort while pushing as much of the evaluation what is and isn't a vulnerability on the authors of library authors as possible. However, this does not work. A vulnerability can only ever truly be evaluated by investing significant amounts of effort in the abstract way that is required to do it in an upstream project. On the other hand, at point of use it is often trivial to discard the possibility of an exploit because the potentially vulnerable code is not even used by the project using the library that contains the code.

  • Rust has a HUGE supply chain security problem | Sylvain Kerkour | July 2, 2024
  • Funnily enough the same is true for languages that have huge standard libraries. They put anything that is convenient to solve their immediate problem in there. That is how languages like Python end up with multiple of just about everything complicated in there.

  • Dioxus Labs + “High-level Rust
  • As a sysadmin I have sadly encountered too many situations where a programmer thought "oh, this will never happen" to agree with you that a code construct that provides no information to the user should be used in such cases.

  • Dioxus Labs + “High-level Rust
  • No, I actually meant it as in the traditional meaning of literally. As in

    [lints.clippy]
    unwrap_used = "warn"
    expect_used = "warn"
    

    along with a pre-commit hook that does

    cargo clippy -D warnings

    (deny warnings).

    There are always better ways to write an unwrap, usually via pattern matching and handling the error cases properly, at the very least logging them.

  • Dioxus Labs + “High-level Rust
  • There are a few very questionable things in there. Unwrap should literally never appear in production code so if your code base uses it so often that you want a short-hand syntax for it that calls into doubt everything else you wrote.

  • Announcing Rust 1.79.0
  • const expressions are evaluated at compile time and can be used in locations where you would have to otherwise specify a literal (or something that amounts to a named literal like a const value).

  • Was geht eigentlich auf Reddit mit den ganzen Atomkraft-Fans ab?
  • Der Ausstieg war in 2023, nicht in 2000. Die Kraftwerke die wir 20 Jahre vorher schon abgeschaltet haben hätten wir wohl kaum weiter betreiben können. Aber eigentlich lohnt es sich kaum euch Atomtrollen zu antworten wenn ihr mit solchen "Argumenten" kommt.

  • AstroTV stellt Sendebetrieb via Kabel und Satellit ein – gwup | die skeptiker
  • und da heutzutage alles eine App und Internet braucht kann man überhaupt nichts mehr ohne das Risiko einzugehen irgendwo abgezockt zu werden wenn man ein bisschen tüddelig ist aber irgendwie noch selbstständig sein Leben bestreiten möchte.

    Das ist so ein Unfug. Renter wurden auch früher schon abgezockt, da dann nur halt an Haustür oder Festnetztelefon oder auf Kaffeefahrten oder per Briefpost. Es ist wirklich kein Phänomen der Digitalisierung oder selbst der Technik allgemein sondern ein Phänomen dass darauf beruht dass ein Teil der Bevölkerung naiv und ein anderer skrupellos ist.

  • Was geht eigentlich auf Reddit mit den ganzen Atomkraft-Fans ab?
  • Am schlimmsten finde ich deren haarsträubende Standardbehauptung, jeder der gegen Atomkraft ist sei automatisch pro Kohle und andere Fossile.

    Das ist zwar auch schlimm aber noch schlimmer finde ich eigentlich dass komplett ignoriert wird dass Deutschland auch vor dem Atomausstieg nur einen einstelligen Prozentsatz des Stroms aus den Atomkraftwerken gedeckt hat. Es wird aber immer so dargestellt als ob es sich hier um eine massive Verschiebung des Energiemixes gehandelt hätte.

  • Cyberangriff auf CDU: Verfassungsschutz ermittelt
  • Da kommt ein Experte, schaut sich die Infrastruktur an, schlägt die Hände über dem Kopf zusammen und dann kommt die Firewall per Expresslieferung und die User kriegen dann doch einen Virenscanner installiert.

    Über dem Kopf ist eine komische Position um sich die Hände zu reiben weil man wieder viel Schlangenöl verkaufen kann.

  • Rechtsextremismus: Das heilige Traumschloss des Maximilian Krah
  • Selbst bei solchen eigentlich recht klaren Regeln scheinen Christen kein Problem zu haben die nur dann zu beachten wenn es ihnen sonst auch in den Kram passt. Und wie genau kommst du darauf dass eine Religion die buchstäblich ständigen absoluten Gehorsam gegenüber Gott, dem Papst, den Bischöfen, den Priestern,... fordert nicht autoritär ist?

  • Rechtsextremismus: Das heilige Traumschloss des Maximilian Krah
  • Ich denke, dass Christen Gott an erster Stelle sehen und keiner radikalen, autoritären Menge anheim gehen.

    Soweit ich das beurteilen kann ist es eher anders herum. Die meisten Christen (und anderen Religiösen was das angeht) scheinen Gott als Autorität zu betrachten wenn es um Aussagen geht die sie eh glauben wollten und zu ignorieren wenn es um Aussagen geht die sie nicht glauben wollten. Anders lässt sich auch die Vielfalt der Auslegungen ein und desselben religiösen Buches nicht wirklich erklären.

  • Rechtsextremismus: Das heilige Traumschloss des Maximilian Krah
  • Tatsächlich wählen Christen nur unterdurchschnittlich AfD. Eine Studie der Universitäten Bern und Leipzig beschrieb 2020 die "immunisierende" Wirkung des christlichen Glaubens. Nur gilt die nicht für Rechtskatholiken und -protestanten, etwa für rechte Pietisten. Dort wird das Kreuz, wie der Soziologe Jan-Philip Steinmann in der Kölner Zeitschrift für Soziologie und Sozialpsychologie schreibt "mit einer doppelt so hohen Wahrscheinlichkeit bei rechtspopulistischen Parteien" gemacht.

    Könnte das vielleicht daran liegen dass Christen überdurchschnittlich die Unionsparteien wählen und durch deren politische Ähnlichkeit zur AfD seltener dorthin wechseln als Leute aus anderen Teilen des politischen Spektrums die dann im Zweifelsfall bei Radikalisierung die Union direkt überspringen und zur AfD gehen?

  • Automatic checking of information in error logs/error return types?

    After adding some lines today to log some information I had missed that was vital for debugging I was wondering if there were any automated tools like linters or similar static analysis tools that help you identity the information to log and or return in error cases.

    I am specifically talking about the information that should be identifiable automatically because it contributes to the control flow arriving in the current scope such as values of variables in the condition for the scope or parameters of functions that calculate those values (e.g. the file name in a permission error, the value of a variable that failed an if let or let else pattern match,...

    2
    Lemmy Support @lemmy.ml taladar @sh.itjust.works
    Is there a spec somewhere on how Lemmy, Kbin and the rest of the threadiverse use ActivityPub?

    It seems to me the basic ActivityPub specification is written from the perspective of Mastodon and Twitter-like fediverse instances.

    I assume Lemmy and kbin did extend this with some more objects or at least agreed how to use the existing objects and activities there to model a link aggregator with comments on top of that.

    Is there some sort of specification or design document about this somewhere? All I found when googling were some old links that resulted in a 404 and the current Lemmy documentation seems more focussed on users, admins and developers and less on the protocol side of things.

    5
    Navigation in Second Life

    Since a lot of people here don't seem to know about Second Life I figure some introductory materials can't hurt in case anyone decides to try it.

    Second Life is made up of so called regions, each of them is a square 256m to a side and 4096m high as far as building is concerned. In theory the water level can be set to different values in each region but the most common is 20m, especially for the connected mainland regions where it has to match for the water to look connected between adjacent regions.

    Inside a region there are coordinates x (low=west, high=east), y (low=south, high=north) and z (low=down, high=up).

    Each region runs on a separate simulator (modern servers might host more than one simulator but it is separate processes) so crossing or teleporting into another region requires a handover. If regions are crossed in quick succession, especially with high latency connections, this can lead to crashes or falling off a vehicle.

    The regions themselves are placed on a grid with x (again, low=west, high=east) and y (low=south, high=north) coordinates. The first region Da Boom around which the mainland grew has coordinates 1000, 1000. The coordinates can be shown in the viewer but the regions are more commonly addressed by their region name.

    Spots on that coordinate grid that do not have a region show as an endless ocean (even if there are regions behind it you can not see them) and you can not enter them.

    This coordinate grid has lead to Second Life expressions like "on the grid" for things happening on SL.

    There are different types of regions with different performance characteristics, agent (avatar) limits and land impact (LI) limits for building and other objects. LI is often also referred to as prims by old time SL users since it used to be a limit in the primitives (cubes, spheres,...) that used to be the only way to build but since mesh objects were added the more general term land impact is used.

    The Second Life mainland has a number of continents, almost all of them are part of a continuous area of connected regions. The major exception is Zindra, the adult continent.

    Since this post is already quite long I will perhaps introduce the continents in a future post in detail. Hopefully this information will be helpful to some people.

    0
    Summer Sailstice in SL from Saturday the 24th of June to the 7th of July

    This year's Summer Sailstice event is coming up this Saturday with lots of events. This link contains an event calendar among other things.

    0
    Second Life Activities - Sailing Cruises

    Since some people here do not seem to be very familiar with the many activities we use to fill our time on SL I am going to start a new series of posts, introducing some of them.

    There are many different vehicles on SL, bicyles, motorbikes, cars, trucks, mechs and many other land vehicles of course, planes, helicopters, paramotors, blimps and others up in the air and of course sail- and motorboats of many different types.

    Of course it is possible to just take some friends and make your own fun with these but there are also some organized group activities. Some are races and others are cruises where people just sail together on a route provided by some cruise director in the group. For some groups it is the same person every time, for others the role is shared by a couple of people.

    These cruise groups are a great place to learn sailing since there are a lot of people to ask for help and there is always someone who has a moment to answer your questions.

    If you don't have a boat of your own you can also ask and usually there is someone who has a free spot on their boat.

    It is usually a good idea to take off any HUDs or attachments you don't need to make region crossings smoother. You also want to avoid crossing twice in quick succession since crashes or falling off your boat is quite common when you do (usually 3s is a good number to aim for). This is particularly important when crossing close to corners.

    It is also helpful to enable property lines on the minimap (not supported by all viewers) which helps seeing the sim corners and also the open waterways (or roads for land vehicles).

    There are many groups who have regular cruises during the week, this is just a small selection, feel free to mention more in the comments if you know any others.

    (links go to the SL groups, you need an SL viewer installed to open those)

    Leeward Cruising Club Phoenix Rising Yacht Club Rainbow Sails Yacht Club Tradewinds Yacht Club Topless Sailors Cruising Club Topless Cruisers

    This post is already quite long so I won't explain in detail how sailing or navigation work or the SL continents and waterways but maybe I will add some posts about that soon.

    0
    SL20B Lab Gab Live Events - Submit your Questions!
    community.secondlife.com SL20B Lab Gab Live Events - Submit your Questions!

    Are you ready to celebrate Second Life’s 20th birthday with us? The festivities begin on June 22nd and will run through July 11th. During the celebrations, there will be a series of Lab Gab events, held live at SL20B, where you can meet the founder of Second Life, Philip Linden, and Executive Cha...

    SL20B Lab Gab Live Events - Submit your Questions!

    If you have any questions for the Lindens at the SL20B (Second Life's 20th birthday) Lab Gab events you have two more days to submit those.

    0
    SL20B Music Fest Lineup & Calendar of Events
    community.secondlife.com SL20B Music Fest Lineup & Calendar of Events

    Photo by Semiiina Are you ready for this year’s SL20B Music Fest? From June 22nd to the 24th, go on an interstellar journey through sound and emotions, as the crème de la crème of Second Life's live musicians set the SL20B Mandala Stage ablaze with spellbinding performances! In the middle of Musi...

    SL20B Music Fest Lineup & Calendar of Events

    With Second Life's 20th birthday event coming up on the 22nd (next Thursday) the artists for the music fest might be something to have a look at

    0
    What are your favourite annual Second Life events?

    For me Fantasy Faire is definitely the one I am looking forward to most. They just have the best mix of stunning regions and avatars, great stories and music on the radio, amazing events for the whole faire and they somehow even manage to integrate the Relay for Life donations and remembrance of those we lost into the event without spoiling the mood of either the sad or the happy parts of the event.

    In the past I was also looking forward to Mario2 Helstein's seasonal light shows but sadly he stopped doing those.

    Since Linden Labs is notoriously bad about letting us know what is going on, what are your favourite events that others might not even know about?

    0
    What are your favourite Second Life activities?

    Personally, apart from spending time with friends I do enjoy sailing and motorboats, dancing, live concerts, flying my planes, blimp, paramotor/trike, Shergood Aviation helicopters.

    In the past I have also roleplayed in various medieval fantasy, urban fantasy and sci-fi regions but that activity, while fun, always took up a bit too much of my time to leave much for other things I enjoyed.

    For sailing and motorboat use, apart from doing so on my own, I like to go on cruises with groups that design routes in advance. It is a good way to get to know the grid better and see how it all fits together and it is a fun way to get to know people in the group over a shared activity.

    I don't like land vehicles as much because the roads often cross through sim corners or go close to banlines and security orbs I would like to avoid.

    0
    Which viewer do you use?

    Personally I have been using the Firestorm Viewer for about as long as it existed and it offers a nice set of additional features over the default viewer but I regularly hear that others use a different third party viewer. What do you use and why?

    0
    Which Second Life Blogs do you read?

    Personally I sometimes read the ones below.

    Second Life Community Blogs

    Inara Pey: Living in a Modemworld

    Through Owl's Eye

    Owl is a good friend on Second Life who is always busy organizing live concerts and music and art events.

    0
    Welcome to the SL community on the threadiverse

    In this post you can introduce yourself, mention your avatar name(s) and favourite activities in Second Life if you want to, remaining anonymous as far as your SL identity is concerned is perfectly fine too.

    0
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)TA
    taladar @sh.itjust.works
    Posts 13
    Comments 1.2K
    Moderates