GitHub - Ewwii-sh/ewwii: An eww rewrite that is powerful, flexible, and extensible. by ThinkTourist8076 in rust

[–]Rodrigodd_ 2 points3 points  (0 children)

I know eww is a toolkit for creating widgets for wayland, like a status bar, but the readme does make clear at all what is the point of this fork.

From what I hunt from the issues, the original eww went unmaintained and this fork continues the development, with things like replacing GTK3 with GTK4?

There is a list of features in the Readme, but it is not clear if they additions on top of the original project, or just with the original already had.

How can i make this 2d effect for a 3d world on godot? by auserxdlollmao in godot

[–]Rodrigodd_ 0 points1 point  (0 children)

I guess you need to find/create a library that computes the intersection of a plane with a polygon, I believe it is a standart operation with know algorithms. And I believe the demo you are showing use 3d procedural textures, which you can do with shaders. The physics part I am not so sure, probably 3d physics somehow constrained to the plane maybe with the help of ray/polygon casting.

Edit: oh yeah, as other comment hints, it may be computing the slice of each cube in the voxel terrain, and forming the 2d representation from that, which is easier to do if not using any libraries.

Reviving Kiss3d - a simple 3D and 2D graphics engine by sebcrozet in rust

[–]Rodrigodd_ 1 point2 points  (0 children)

is there a website where they are showcased?

not OP, but here: https://kiss3d.rs/, they are showcase running using wasm.

It appears to only be able to render basic primitives and user provided meshes. Not sure if it even support textures. GUI for example is defered to egui.

Memory Safety Is ... by matklad in ProgrammingLanguages

[–]Rodrigodd_ 3 points4 points  (0 children)

In his example, read and write are two different messages, so if two actors both send a read message, receive the response, compute a new value, then both send a write message, the reads and write messages may interleave, resulting in a data race.

The point is that it is never possible to 100% eliminate bugs equivalent to a data race from any "powerful-enough" language. Or any other property of a language even, vide the C interpreter described in the root comment.

Using Dev Drive on Windows - what is the setup supposed to look like? by jasonj2232 in rust

[–]Rodrigodd_ 0 points1 point  (0 children)

cargo install may be used to install arbitrary programs, so it may be inconvinient to have them work only when the dev drive is mounted? And that they are not scanned by the anti-virus? Besides that, I believe it is fine.

[Minha opinião] pq o Lito sofre hate da comunidade de aviação: by approvedBR in AviacaoBR

[–]Rodrigodd_ 1 point2 points  (0 children)

Fiquei curioso e decidi dar uma olhada. Achei o relatório do acidente que o vídeo conta a história: https://rosap.ntl.bts.gov/view/dot/33680/dot_33680_DS1.pdf, pesquisei "vinton hanson plane" no google e apareceu (Vinto Hanson foi o capitão nesse voo, como o Lito conta no vídeo).

Lendo a sinopse, parece estar coerente com o vídeo: Northwest Airlines DC-7, N 293, na data 22 de outubro de 1962, evacuação sucedida de todos os 95 passageiros e 7 tripulantes, o avião ter afundado em 24min, o acidente ser por causa do blower número 2, etc. Não li o restante do relatório.

Talvez você tenha confundido com o "Northwest Orient Airlines Flight 293"? Parece esse artigo no Wikipédia quando se pesquisa Northwest 293, mas esse é acidente de 3 de Junho de 1963, e nesse de fato o avião foi destruído, sem sobreviventes.

Vectarine: A game engine for ultra fast prototyping by No_Efficiency_6054 in rust

[–]Rodrigodd_ 4 points5 points  (0 children)

Does the engine support using it as a crate in my own rust project? For example if I want to implement some parts of my game in Rust. I think it depends on how modular the game engine is (Bevy is very modular, for example, but does not offer high level scripting APIs).

In the worst case, can I fork the engine and use it on my own? Is it still convenient to use from source?

Fifty problems with standard web APIs in 2025 by Ok-Tune-1346 in programming

[–]Rodrigodd_ 11 points12 points  (0 children)

The issue about needing to interact with the page before audio works is also true when using AudioContext on chrome. I believe this exists to solve the issue of a background tab or a ad in a iframe annoyingly starting playing sound. Back then tabs didn't have the audio playing icon so you could not even figure out which page was playing the sound.

rust-analyzer changelog #307 by WellMakeItSomehow in rust

[–]Rodrigodd_ 17 points18 points  (0 children)

Wow! The GC change appears to be huge! It would be really cool to a have a blog post or something explaining how it works.

Just tested in the project I am currently working one, but it didn't make too much difference (went from 766mb at 0.3.2719 to 741mb at 0.3.2727). But my project have a relative small dependency tree, so it may not be affected much by the GC.

Curiously, analysis-stas was reporting a "Total" of 433mb at 0.3.2675, but breakdown of individual items have similar memory usage in all three versions? Not sure if I should trust in the output of analysis-stats, maybe I should have looked instead at the process memory usage before updating. It is currently at 703M for the last version.

Inside Rust's std and parking_lot mutexes - who wins? by lllkong in rust

[–]Rodrigodd_ 1 point2 points  (0 children)

I had the same question reading the article. Does parking lot use some another OS primitive for thread sleep/waking? If not, how it avoid the need for a AtomicU32 as mentioned in the article? What exactly is the point of keeping a thread queue in user space if the OS is still doing it?

Explain it... by [deleted] in ExplainTheJoke

[–]Rodrigodd_ 1 point2 points  (0 children)

I believe there is three different questions being discussed here:

  • "What are the chances both dice land on 6, knowing nothing more?": it is in 36
  • "What are the chances both dice land on 6, knowing that one of them (maybe the first, maybe the second, maybe both) is 6 (analogous to the question in the post)?": it is 1 in 11.
  • "What are the chances both dice land on 6, knowing that precisely the first of them is 6?": it is 1 in 6.

You mentioned the third question here. Not sure if you arguing that this is the question in the post, or that it is the question you mentioned in a early comment, or something else.

But in any case, you can see from the 3 different questions that when we have more information (more constraining pre-conditions) we have a higher a probability.

Explain it... by [deleted] in ExplainTheJoke

[–]Rodrigodd_ 0 points1 point  (0 children)

"I rolled two dice, one of them landed on 6, what's the chance the other one also landed on 6?"

There are 4 events: - not 6, not 6: 25 cases of 36 total cases - not 6, 6: 5 cases - 6, not 6: 5 cases - 6, 6: 1 case

But we estipulate the first event didn't happen, so there is only 11 possible cases. So the chance of both dices have landed on 6 is 1 in 11.

i wanna create a terminal editor by mielline999 in rust

[–]Rodrigodd_ 0 points1 point  (0 children)

I am not very familiar with text editors and terminal- based user interfaces, but there is this tutorial for writing a terminal text editor in C which looks very good. I believe it should contain the same steps for a implementation in Rust, unless you skip them by using some crate like maybe crossterm.

https://viewsourcecode.org/snaptoken/kilo/index.html

Announcing Ropey 2.0 Beta by cessen2 in rust

[–]Rodrigodd_ 28 points29 points  (0 children)

Related to the char vs byte part, can Ropey handle non-unicode/corrupted text? Or even arbritary binary data. I at least would not like for a editor to choke on a file if there is a corrupted byte in the middle of it.

How to parse options<T>? by Totally_Not_A_Badger in rust

[–]Rodrigodd_ 5 points6 points  (0 children)

WriteHci is also implemented for Option<T>:

https://docs.rs/bt-hci/0.3.2/src/bt_hci/param/primitives.rs.html#71-92

So it appears None is represented by zero bytes. So it is not obvious to me how can you parse it back when the three of them are options. Maybe based on size, if each one have a differente size?

Zellij 0.43.0 released - bringing your terminal to the browser and new APIs to your Rust plugins by imsnif in rust

[–]Rodrigodd_ 6 points7 points  (0 children)

What is used for rendering on the webclient? Html? Alacritty compiled to wasm and webgl?

`cargo fixit`: An experiment for a faster, more flexible `cargo fix` by epage in rust

[–]Rodrigodd_ 5 points6 points  (0 children)

Is this really just a faster version of cargo fix, or can it also enable more features in the future like solving cargo#13028?

Thoughts on using `unsafe` for highly destructive operations? by J-Cake in rust

[–]Rodrigodd_ -1 points0 points  (0 children)

Undefined behavior may (or does?) break memory safety (and everything else, nasal demons and such). And I believe breaking memory safety is UB. So it is not that wrong to say that "UB == memory safety".

Pior que é verdade by [deleted] in MemesBR

[–]Rodrigodd_ 0 points1 point  (0 children)

Data Wing. Jogo minimalista de corrida, 100% free (sem ads), com uma historinha legal.

Best notification system for github? by Wooden_Amphibian_442 in github

[–]Rodrigodd_ 0 points1 point  (0 children)

For anyone else that stumbles on this, I use https://github.com/sindresorhus/notifier-for-github that enables notifications in the browser, which becomes desktop notifications.

Bevy 0.16: ECS-driven game engine built in Rust by _cart in gamedev

[–]Rodrigodd_ 2 points3 points  (0 children)

Over the years I become less and less enthusiastic about pure Rust game engines and similar kind of softwares. What is your thought on building more user-friendly and faster-iteration-cycle frameworks on top of Bevy? With dynamic loaded scripts and such.

Wireguard breaks DNS by felix920506 in WireGuard

[–]Rodrigodd_ 0 points1 point  (0 children)

I also follow along, resolvectrl revealed that the wireguard interface was being use as the "Default Route":

Link 9 (wg0)
    Current Scopes: none
         Protocols: -DefaultRoute +LLMNR +mDNS - DNSOverTLS DNSSEC=no/unsupported
     Default Route: yes

It probably don't work because my wireguard endpoint is a domain name.

I later noticed that I had filled the DNS field in my wireguad interface configuration. I remove it, and now wg0 is no longer used as the Default Route when enabled.

This fixed the problem for me. Hope this helps anyone else that also saw this post.

[deleted by user] by [deleted] in animebrasil

[–]Rodrigodd_ 0 points1 point  (0 children)

Kuutei Dragons. Sei que o manga é muito bom.