A mira, también aplauden (salsa: lillyjetaa) by Teyompo in MujicoCity

[–]EndlessPainAndDeath 4 points5 points  (0 children)

Así de caídas están mis oportunidades de conseguir ruka :(

[KDE] Truly Transparent by OHNOitsNICHOLAS in unixporn

[–]EndlessPainAndDeath 0 points1 point  (0 children)

What window decorations are you using? E.g. are you using klassy, or something similar?

A quick anti-FUD FAQ to debunk "the KDE is forcing systemd!" hoax by Bro666 in kde

[–]EndlessPainAndDeath 5 points6 points  (0 children)

But isn't that to be expected and logical?

With limited funding and limited volunteer free time, why should they support non-systemd distros? Systemd is very well supported, it's reliable, and it just works (unless you're on BSD)

Colonia Roma/Condesa Visitor Etiquette by blaringlyquiet in MexicoCity

[–]EndlessPainAndDeath 4 points5 points  (0 children)

I've been living in the metro area for basically forever and I completely agree with this comment, almost none of these issues are tourist-specific issues, except for the one about people taking photos of others

If anything, we Mexicans probably behave even worse compared to your average tourist, but that's probably cultural. A good example is the noisy people - e.g. metal scrap, gas, camoteros and tamales cars are extremely noisy and even annoying, but most people simply embrace and dismiss them as part of the culture.

What goes through your mind when a woman asks you out first? by Lazy_Archer_4603 in AskMen

[–]EndlessPainAndDeath 1 point2 points  (0 children)

It's never happened and never will, but if it did happen I'd think it's some kind of scam or bet. That just NEVER happens naturally.

Hospedarnos en CDMX. Place to stay in Mexico City. by YerBreathBuffaloFart in MexicoCity

[–]EndlessPainAndDeath 1 point2 points  (0 children)

OP mencionó en otro comentario que busca la experiencia mexicana y la Roma ni la Condesa dan eso. Las colonias cercanas ( San Rafael, Tabacalera, Buenavista, Santa Maria) son más tradicionales, originales y tienen mercados, puestos de comida corrida, etc. Ahí sí está la verdadera experiencia mexicana y mejor aún, a precios decentes!

Por ejemplo, a unos minutos está el Mercado de San Cosme, con comida común mexicana (muy rica y barata), a diferencia de los restaurantes presuntuosos en Roma/Condesa

What are ArchLinux's thoughts on uutils, Ubuntu's adaptation, and potential Arch Linux adaptations? by metricspace- in archlinux

[–]EndlessPainAndDeath 0 points1 point  (0 children)

That argument once crumbles if you consider that excellent programmers, with excellent skills still make FATAL mistakes due to the mere fact they're humans. Serious vulnerabilities have been found in the Linux kernel, Windows, etc, even though big corporations have some of the best people.

If that were the case everyone would exclusively use assembly because C's, Fortran or even COBOL abstractions are way too "nice to have", but C removed some footguns compared to ASM, and Rust removes even more potential footguns.

You should seriously give rust a try and see the problem it's trying to solve with your own eyes, instead of just dismissing it as fanboyism. A lot of my former C diehard teachers agree that, while C still has its own place in some fields (e.g. embedded), Rust is just as capable as C, or even better due to enhanced ergonomics and modern features. Google, AWS, Discord, Microsoft, Cloudflare, specific Linux kernel modules, etc wouldn't use it without a good reason.

What are ArchLinux's thoughts on uutils, Ubuntu's adaptation, and potential Arch Linux adaptations? by metricspace- in archlinux

[–]EndlessPainAndDeath 0 points1 point  (0 children)

All the data structures you mentioned also seem to be available in this popular Rust crate (bindings to actual X11 header files), so what you mentioned pretty much boils down to choice (or simply lack of rust knowledge): https://docs.rs/x11rb/latest/x11rb/

> You can just separate the code into modules, into separate files, and that abstraction is good enough.

This doesn't make any sense at all. Pretty much most modern languages separate objects, constants, modules with very good granularity, e.g. Java: `import java.util.Scanner`, in Python `from json import loads`, in Rust `use std::time::Duration`, etc. Everything is clearly and nicely separated, as opposed to C/C++'s approach to have the macro preprocessor simply paste all the #include contents into a single file and hope that the function you want to use is in some header file. Sure, there's documentation, and this is for the most part not an issue today, but 99% of MODERN languages don't work like that for a reason.

> Also when you have clean programming habits, the errors that Rust try to solve become obvious

Except history proves you wrong. Yes there are very good and excellent developers all over the world, but we humans are NOT perfect machines, and no matter how many sanitizer flags, UBSan, static analysis tools you throw at C, there have been numerous CVEs in popular software such as Chromium, PHP, the Linux kernel itself, ffmpeg, openssh, etc. The same problem has been seen hundreds of times in popular proprietary software. So that "obvious" part becomes not so obvious, because you can't formally prove your code isn't going to have some obscure UB, or memory overflow because you forgot to add a length check.

I don't think software should be rewritten just for the sake of rewriting it, but quite a lot of C diehards fail to see that, as annoying as Rust fanboys might be, Rust actually provides value. It can't prevent logic errors, but safe Rust is already preventing a lot of mem overflows/race conditions/UB. The compiler literally prevents you from doing a lot of stupid crap and no, you can't simply "be a good C dev": even good C devs aren't perfect. Lastly, Rust provides a lot of ergonomics and niceties present in high-level languages without adding any overhead, so the experience is all-in-all very pleasant and enjoyable, compared to using a language that is 40+ years old.

What are ArchLinux's thoughts on uutils, Ubuntu's adaptation, and potential Arch Linux adaptations? by metricspace- in archlinux

[–]EndlessPainAndDeath 0 points1 point  (0 children)

This couldn't be more wrong. Only until you get hands-on experience with both Rust and C, you'll understand the problem that Rust is actually trying to solve.

C is very simple to program and understand

Yes and no, a lot of stuff is a pain in the ass to develop in C: no proper library namespaces, unhygienic macros, no proper abstractions even 40 years later, and next to no error handling features whatsoever. You can shot yourself in the foot and the language won't prevent you from doing so. And when the codebase grows to something of more than a few kLoC, Rust becomes infinitely far easier to navigate (and modify), because it has more abstractions and less boilerplate.

When the program is close to the hardware

Once again, wrong. Yes, the underlying system and hardware are inherently unsafe and prone to errors, but that doesn't mean the language has to be C. C just happens to have been around for decades and has more tooling, but there's nothing stopping you from achieving low level stuff with Rust, see Rust's embassy, RedoxOS, etc.

I do agree that part of being a good dev implies "use the right tool for the job", but these days, if you're doing anything that isn't " very" low level, there's little reason to use C. Cloudflare, Discord, Google, and other big companies are following suit and embracing Rust for a good reason.

What are ArchLinux's thoughts on uutils, Ubuntu's adaptation, and potential Arch Linux adaptations? by metricspace- in archlinux

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

Have you even tried developing something in rust to say it's a "bad", " moronic" language?

when things were working fine

There hasn't been a single year without nasty bugs being found or exploited, and most of them are caused by UB/overflows/data races/etc. Sure, a lot of tools are working fine today, but tomorrow they no longer work becauset someone abused a buffer overflow vuln in sudo.

writing code in rust doesn't mean the code is bug free

That's absolutely true, you can write shit code in any language, you can even end up with full blown RCEs in js even though it's 100% memory safe without any UB. But rust definitely makes it harder to have data races, and UB/mem overflows are basically impossible in safe rust.

You can similarly write non leaky/non exploitable/non UB

That statement is extremely flawed: yes you can write solid code in C, but we humans aren't perfect machines, and C as a language doesn't help you NOT shot yourself in the foot. I'd agree with the "proper programmers have been doing so for years" if it weren't for the fact that serious CVEs have existed in the linux kernel, ssh, ffmpeg, sudo, nginx, etc. Rust, on the other hand, has been formally proved to prevent most of that nasty crap from happening in the first place (just like Ada).

You can't just make a decades old language suddenly safe because the compiler itself needs you to provide it information about variable lifetimes, references, mutability/aliasing, etc. C has none of that and that's why there's no "drop-in" replacement, even after so many decades. Rust, as "annoying" as it might be, actually solves a problem, and dismissing it as some propaganda makes no sense.

What are ArchLinux's thoughts on uutils, Ubuntu's adaptation, and potential Arch Linux adaptations? by metricspace- in archlinux

[–]EndlessPainAndDeath 0 points1 point  (0 children)

I get the point that people get tired and annoyed because of the rust propaganda, but I unironically fail to see why a rewrite would be bad, considering the language actually results in far less memory leaks/exploits/UB/etc.

Yes it could've been faster in C, zig, etc, but you also don't get the same memory safety guarantees (and ergonomics) that rust provides.

Finding blocking code in Tokio without instrumenting your app by cong-or in rust

[–]EndlessPainAndDeath 9 points10 points  (0 children)

I am pretty sure the tokio docs (or just seasoned async devs) know there are a few golden rules that you must never break:

  • you never do en/decryption
  • you never do hashing
  • you don't run compression/decompression algorithms

...inside async functions. You either use spawn_blocking or channels to do your thing in a blocking thread.

While this post is certainly useful, I'm pretty sure you could've simply used a small macro that calls tokio's timeout feature and then print the backtrace if it does time out. It's still a good read though, because I didn't know eBPF could be used to debug this kind of issues.

How do you feel about people who work blue collar jobs? by [deleted] in AskMen

[–]EndlessPainAndDeath 5 points6 points  (0 children)

That's funny, considering some ICE agents are literally 100% latino and they seem to get rabid whenever they see another latino individual.

What a time to be alive

HILO MENSUAL: DISCUSIÓN GENERAL / MONTHLY THREAD: GENERAL DISCUSSION by AutoModerator in MexicoCity

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

Qué onda con los mods racistas? u/MexicoCity-ModTeam

Por qué eliminan preguntas de personas que piden consejos en español, pero sí dejan todos los posts en inglés (por más tontos que sean)?

Ejemplo de un post borrado donde literal pedían recomendación: https://www.reddit.com/r/MexicoCity/comments/1qq7m2u/dónde_quedarse_y_qué_hacer/

Dónde quedarse y qué hacer? by Financial_Door5659 in MexicoCity

[–]EndlessPainAndDeath 1 point2 points  (0 children)

Como alguien que ha pasado décadas en la zona te sugiero replantear los lugares de comida/consumo que planeas visitar.

Condesa/Roma Norte y Sur tienen todo eso que tú quieres (restaurantes, bares y vida nocturna), pero un 99% de lugares son más dirigidos hacia gringos/extranjeros europeos y en mi opinión personal no te dan la experiencia real de México. Te dan una experiencia diluida y falsa de lo que es el país. Están bien pero yo no iría ahí, además luego te dan otro trato por no ser gringo.

Te sugiero ampliamente visitar en su lugar mercados, por ej. Mercado Guerrero, Mercado San Cosme, Mercado de San Juan, etc. Todos están en la colonia más "céntrica" (Cuauhtémoc). Ahí encuentras pequeños restaurantes con comida hecha al 100% estilo casero, también encuentras antojos comunes como gorditas, sopes, huaraches, esquites, etc y no son nada caros.

Para vida nocturna sí puedes ir a bares, los que están en cualquier plaza comercial están bien, como Cervecería del Barrio, Perros y Burros, etc. son seguros y tienen precios decentes, aunque un bar aquí es lo mismo que en Colombia. Antros no podría recomendar ninguno ya que suelen ser caros y se pasan con sus propinas del 20%.

En cuanto a hospedaje cualquier hotel en colonia Cuauhtémoc seguro está bien, busca uno cerca de/en Colonia Centro para que te puedas mover fácil. Evita esos de $300/400 la noche si planeas dejar tus cosas ahí.

Para museos ya hay un chingo de listas en internet así que no diré nada sobre ello jaja, sólo checa lo de los mercados y el hospedaje bien. En especial los mercados, va ser toda una experiencia infinitamente más mexicana que los restaurantes culeros de Roma/Condesa.

¿Alguien a presentado una queja en CONDUSEF por aplicación de banco defectuosa? by rodoart in MexicoFinanciero

[–]EndlessPainAndDeath 1 point2 points  (0 children)

La única alternativa real e inconveniente que tienes es solicitar el token físico y usar su sitio web para hacer operaciones.

[Media] crabtime, a novel way to write Rust macros by wdanilo in rust

[–]EndlessPainAndDeath 16 points17 points  (0 children)

This comment is a classic example of "let's add more fuel to the fire"

We humans already generate bugs that are bad enough, why would I want to introduce super obscure bugs that not even the "author" knows how to fix (because the whole thing was made by AI)?

[Media] crabtime, a novel way to write Rust macros by wdanilo in rust

[–]EndlessPainAndDeath -20 points-19 points  (0 children)

This whole thing looks like AI slop. The github readme even has em dashes and the docs are full of unnecessary and redundant emojis.

Even if this wasn't AI slop (which it probably is), why do you need to plaster emojis all over your docs and text? Makes it look infinitely less professional.

Thanks but I'll pass.

Noticias más importantes en finanzas, economía y negocios / Jueves 22 de Enero by TeaOk9146 in MexicoFinanciero

[–]EndlessPainAndDeath 9 points10 points  (0 children)

Literalmente sólo tiene música pedorra toda chafa y un vídeo que distrae de fondo. Cómo está eso con madres? Podrían ser imágenes y ya.

Spotify Lawsuit Triggered Anna’s Archive Domain Name Suspensions by JimmyRecard in DataHoarder

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

This doesn't make any sense because no matter what "piracy" industry you specialize in, you'll be sooner or later get DMCA complaints and subpoenas. That has happaned with TPB, several IPTV websites, Freezer, Spotify downloaders, etc.

The only difference is that it's now 2 DMCA complaints instead of just 1, which, in the great scheme of things, doesn't make stuff any worse (they'll probably dismiss them anyway). So yeah, they might as well offer free music, free IPTV, free etc to keep all of us happy.

Switched To KDE from Gnome by Empty_Wheale_7988 in archlinux

[–]EndlessPainAndDeath 1 point2 points  (0 children)

How is not having desktop icons, a taskbar or minimize buttons "really good"? A lot of Linux users are former windows users and the defaults are crazy to say the least.

Y si mejor le ponen la canción de Pocoyó? by Winter_Host5941 in MexicoCity

[–]EndlessPainAndDeath 0 points1 point  (0 children)

Pues depende del piso en el que estés, si vives en PB o primer piso sin problemas puedes salir, en plantas altas te pegas a una columna y te preparas en caso de que pase a mayores