HNHacker News
TopNewBestAskShowJobs

marcodiego

27,351 karma · joined January 17, 2014

Using your last breath of life to fix a bug or why I love free software: https://bugzilla.gnome.org/show_bug.cgi?id=78514#c19

Although I really like open source ideas, the humane, social and altruistic principles of free software are very beautiful. Reading this bug report a long time ago certainly influenced me on the software I choose to use.

I love the simplicity of the C programming language although I admit it is far from the most adequate tool for most of what I do.

https://hnbadges.netlify.app/?user=marcodiego

submissionscomments
marcodiego··on Cyber Scarecrow
https://xkcd.com/272/
marcodiego··on Cyber Scarecrow
> everyone who loves to play online games or watch DRM-encumbered content, so the majority of the population...

It is sad to hear that. In my view DRM = malware.

marcodiego··on Cyber Scarecrow
I call BS. How it works says: "When hackers install malicious software on a compromised victim, they first check to make sure its safe for them to run."; Download asks e-mail and name; Does not seems multiplatform and would never install anything like that on my computer in a dream unless it were open source.
marcodiego··on Show HN: Create a portrait painting from one photo
Seems nice. I'd use if it was a GIMP plugin.
marcodiego··on My thoughts on Python in Excel
Didn't read it but, couldn't this be a "battlefield" where LibreOffice could have unbeatable advantage?
marcodiego··on Chang'e-6: Moon dark side samples collected and launched into lunar orbit
"Both spacecraft will be traveling at around 1.6 kilometers per second during the maneuvers."

This means absolutely nothing if it doesn't say with relation to what.

marcodiego··on If you’re seeing this, I’m in jail [video]
"Sharing classified documents...". That's a very complicated issue. If those documents put (innocent) people and national safety in risk he is in a very hard to defend position.
marcodiego··on How to get 7th graders to smoke
In Brazil, in the 90's there was a campaign called "Drogas nem morto" (drugs not even dead). I heard about a guy who used a t-shirt of the campaign to sell drugs.
marcodiego··on The Age of Rage: Why Are People Are So Angry?
The reason people are so angry: algorithmic radicalisation aided by short shallow comments like this one.
marcodiego··on Zimtohrli: A New Psychoacoustic Perceptual Metric for Audio Compression
Can it be used to make LAME even better? I mean, I'm still fond of mp3, specially now that it is patent/royalty free and there are literary billions of compatible devices.
marcodiego··on Windows 11 now comes with its own adware
Now?
marcodiego··on Doomscroller.xyz
I'd love if my cellphone had a lateral button like old portable radios had to adjust the volume but with the sole purpose of scrolling. Scrolling on the screen is annoying, my finger covers the content and I must be careful not to click something. I really can't believe I'm the only one desiring such a thing.
marcodiego··on Adobe is buying videos for $3 per minute to build AI model
Would they be interested in buying a video of paint drying[1]?

[1] https://en.wikipedia.org/wiki/Paint_Drying?useskin=vector

marcodiego··on Logik: Open-source FPGA toolchain by Zero ASIC
I use to say this whenever I see anything related to FPGA: the FPGA world needs it's equivalent to Arduino. Before the Arduino, the world of microcontrollers was dominated by bad proprietary tools; the FPGA world suffers of the same illness today.

We really need to fix this before FPGA's falls in the hands and hearts of any willing hobbyist.

marcodiego··on Flatpak builds are not reproducible and why that's a practical problem (2022)
Interesting bottleneck. Considering that flatpaks are basically small filesystems themselves, there's probably some redundancy to remove. I wonder if a simple de-duplication strategy at file level may be enough to fix that.
marcodiego··on Space Shuttle teleprinter reverse engineering
X (twitter) is useless for threads unless you're logged in. How can I read this thread?
marcodiego··on Research shows that people who BS are more likely to fall for BS (2021)
I call BS.
marcodiego··on Hackintosh is almost dead
It was just posted today: https://blogs.gnome.org/uraeus/2024/03/15/pipewire-camera-ha...
marcodiego··on A peculiarity of the X Window System: Windows all the way down
But it wasn't for a long time. I think it was broken until at least windows 7.
marcodiego··on How to generate uniformly random points on n-spheres and in n-balls
A friend of mine made this mistake a long time ago when sampling points in a circle. He was baffled and couldn't understand why there was concentration of points around some areas of the circle. My explanation: draw a square around this circle; trace a horizontal line passing along its center; now, draw a diagonal line; can you see it is more likely that a randomly sampled point is closer to the diagonal than to horizontal line? He said "sure!" and I asked "why?" to what he promptly answered "because its longer.". He then asked what he should do about it, I simply said: "just ignore the points that are too far". He immediately understood that points inside the square but outside the disk were the reason for the concentration of the points.
marcodiego··on Linux Touchpad Like MacBook Update: 2023 Progress on Smooth Scrolling
We all know the "Year of the Linux Desktop" meme, but this deserves an answer.

I don't think linux will overtake apple on the desktop (which actually includes notebook and laptops) but the current state has been good enough for a few years. And I'm not saying it is good enough only in terms of it being ready or well rounded, I mean in terms of marketshare. Linux has surpassed the 4% mark in globalstats last month and combined with chromeOS (with which it share many drivers) had peaks above 7% last year; it is very likely that the record will be broken this year. Of course, globalstats may be inaccurate, but I guess it is a good picture of the trends.

This has had an interesting consequence: it is no longer a good idea to ignore linux on the desktop; at least not for hardware vendors. It's been a long time since I last saw a consolidated laptop with anything not working out of the box. In the software side, linux is still ignored by some big name vendors, namely adobe, microsoft and game studios. That point is still sad.

Now, considering most developers software are multiplatform and, besides games, most entertainment runs on the browser, the last obstacle is still software. As linux' usage grows (and although very slow, it grows increasingly faster), vendors will eventually have to change their minds about linux on the desktop. Nevertherless I don't think that will happen before the end of this decade, also I don't think will see linux beating windows or even mac on the desktop. But, since I'm not dependent on any non-multiplatform software, I really don't care: the current situation (even in terms of marketshare and the way it has been continually improving) is good enough for me and has been for some years already.

marcodiego··on Linux Touchpad Like MacBook Update: 2023 Progress on Smooth Scrolling
I think windows touchpads have also been improved after windows 10. Just a few years ago you could easily recognize windows user using notebook because they always brought a mouse with them, such bad was the touchpad on windows; actually it was way way worse than on linux.

That habit seems to be fading out, so I guess the touchpads have also been improving for windows users recently.

marcodiego··on It's 29—Delphi, I mean
https://www.lazarus-ide.org/
marcodiego··on What is going on in Argentina?
Yes it is true. And before the new bills came, we a value unit which was called URV: "unidade real de valor" which is portuguese for "Unity of real value".

Source:

"Por que o 'real' ganhou esse nome? Por que ele matava dois coelhos também. Tem fundo histórico, já que é o nome da moeda anterior ao cruzeiro, e remete à ideia de uma moeda com 'valor real'."[1]

Translation: How 'real' got its name? Two birds in one stone. There's also a historic background, since it is the name of the currency befrore cruzeiro and brings the idea of a currency with 'real value'".

[1] https://super.abril.com.br/coluna/oraculo/por-que-a-moeda-br...

marcodiego··on What is going on in Argentina?
I've been there in 2011. Wonderful place. At the time Brazil was recovering from the 2008 crises, which was very light for us, and our economy was probably at its top. I had my first job as a programmer and was very well payed compared to locals. I saved all the money to travel there and pay all expenses for me and my girlfriend in about just 4 months; that's how strongly we were economically. At the time 1 Brazilian real was worth 2 Argentinian pesos and 1 USD was worth less than 2 BRL.

At the time, Cristina Kirchner had just won elections and BsAs was full of her posters. Being there at the time felt like being in Europe HDI with south american prices; it was that good and cheap. Cities were beautiful, clean, organized, I spent some time in La Plata which seemed designed in simcity, felt much safer than Brazil and although there were already some signs of decadence like some poor people around, it still looked much better than Brazil.

Around 2014 Argentina had already entered in crises, and so did Brazil. At my job, a new colleague was from Argentina. I think he was a level-headed liberal, he sometimes talked about something like how the situation there was. By that time, 1 BRL was worth around 4 pesos and 1 USD was worth 2.35 BRL.

Two years ago (2022) I talked with a friend. I explained him how in 2011 I could save all the money to travel Argetina in just 4 months, I couldn't do the same now even if I get twice the salary I had at the time: our prices increased a lot and even though at the time 1 BRL was worth more than 30 pesos!

Now, here we are in 2024: 1 BRL is worth around 170 pesos, 1 USD is close to 5 BRL. The article says: "We were mostly left with the impression that it wouldn’t be so bad to turn into Argentina after all.", " I felt safer in most places than I do anywhere in Brazil", "I had an incredible time in Argentina. The country is absolutely stunning, and the people are also fantastic.". Actually it is not Brazil who may turn into Argentina, but Argentina which is turning into Brazil after a long effort to keep social indexes high... artificially or not.

We in Brazil also had our own hyper-inflation period. It happened during the 80's. Prices were so volatile that my father bought things and wrote in boxes what the price was in liters of gasoline, so he could have an idea of how much it had really cost. We took a long time to reach stability, from the 90's to early 2000's, but we got there and I hope Argentina will be able to do the same.

Although Brazil and Argentina are seen as rivals, I really love that country and people and wish them the best.

marcodiego··on Conformant OpenGL 4.6 on the M1
Quake is just (a probably small (not wanting to dimish it, of course)) part of the history. SGI and the enormous effort to get compliant implementations on many different systems and architectures are what made OpenGL what it eventually became.
marcodiego··on Conformant OpenGL 4.6 on the M1
"Unlike the vendor’s non-conformant 4.1 drivers, our open source Linux drivers are conformant to the latest OpenGL versions, finally promising broad compatibility with modern OpenGL workloads, like Blender, Ryujinx, and Citra."

Looks like apple silicon are currently the best hardware for running linux and linux is the best OS for apple silicon machines.

marcodiego··on Memorizing a programming language using spaced repetition software (2013)
In C++, how do I declare a class? Should I put a ; after declaring it? And when creating a closure, what exactly &, = mean? When should I use std::cout and when not, and why? What exactly is the syntax for inheritance?

Ok, you can learn all that while using the language, but a card deck allows me to review it 5 minutes before sleeping.

marcodiego··on Remote access giant AnyDesk resets passwords and revokes certificates after hack
Suppose I have a computer at home I want to be able to access from anywhere in the world. I can pay a host, a vpn, something like aws or resort to proprietary solutions like teamviwer or similar options. I don't want to resort to any of these alternatives. I want something that is both open source and that I don't have to pay for. The only solution I could find was tor (or maybe i2p) which has its own downsides: high latency, low bandwidth and requires special tools. Is there any possibility I'm not considering?
marcodiego··on Memory leak proof every C program
Actually that is not too far from reality. Data that will be allocated only once does not need be freed. You really only need to free memory that may increase iteratively. If the memory is not used frequently it will end up on swap without major implications. If it is used during the whole execution, it will only be freed when the program ends; there's difference if it's by a 'free' or by the OS; there's just no difference.

As an example, constant data that is allocated by GNU Nano is never freed. AFAIK, the same happens when you use GTK or QT; there were even tips on how to suppress valgrind warnings when using such libs.

← PreviousPage 7 of 34Next →