HNHacker News
TopNewBestAskShowJobs

arximboldi

1,199 karma · joined December 1, 2014

https://sinusoid.es https://sinusoid.al
submissionscomments
arximboldi··on I Beat the Berlin Rental Market with a Python Script
Yes, that's quite expensive.
arximboldi··on Ask HN: Should I learn C++ in 2021?
Yes, I agree! However, I think move semantics and standardization of RVO/Copy Elission have been crucial to make value-semantics work at scale.
arximboldi··on Ask HN: Should I learn C++ in 2021?
C++ is vast and diverse, but if you have interest in functional programming you may actually end up enjoying C++, since thanks to it's value types and it's imperfect albeit powerful type system (it's a bit like a compile-time dynamic typing, allowing interesting translation of Lispy patterns). I'm actually on a mission to build a solid ecosystem of functional and value-oriented tools for C++ and interactive software, some of which are used by big companies like Google:

https://github.com/arximboldi/immer

https://github.com/arximboldi/lager

https://github.com/arximboldi/zug

Also, I very agree with what @jasode has said. C++ will be interesting for you if you can do interesting things in C++. That is the main reason I use it: there are certain domains where I work: professional music software, graphics, film, robotics, etc. where there are no solid alternatives (maybe Rust/Nim/Zig if you are very adventurous). This kind of software is actually really cool, it's creative and enhances artists's lives and does not live in magical "clouds" but runs on your machine. The language is imperfect and complicated but working in these domains is really cool and it makes the experience of taming the beast of C++ enjoyable :)

arximboldi··on Build Your Own Text Editor
For another approach: I built a didactic text editor to teach "value oriented design" and immutable data-structures in C++:

https://github.com/arximboldi/ewig

It's design is covered in these talks:

- Postmodern immutable data structures: https://www.youtube.com/watch?v=sPhpelUfu8Q

- The most valuable values: https://www.youtube.com/watch?v=_oBx_NbLghY

arximboldi··on How WhatsApp works with other Facebook products
Yes, I really like nebenan.de, and I have a monthly donation subscription :)
arximboldi··on How WhatsApp works with other Facebook products
They could allow you to login without a smartphone using a SMS confirmation code, as many other services do. But I guess they consider dumbphone users with computers too much of a niche.
arximboldi··on How WhatsApp works with other Facebook products
Yes, same (also in Germany). I survive, can't complain too much, I prefer the advantages of not having a smartphone. But for example my neighbours have organized a WhatsApp group, which is nice, for stuff that goes on in the building and helping eachother out. There are lots of examples like that (parents groups at school, etc.) Another thing I'm noticing is that SMS is becoming less and less reliable, sometimes the messages not reaching the other part, particularly when changing country codes...
arximboldi··on How WhatsApp works with other Facebook products
As someone that does not have a smartphone, WhatsApp and Signal are really annoying because they are the two apps that can not be used without one (even though they have desktop apps). Telegram and FB Messenger and Hangouts at least can, but here in Europe WhatsApp is the default for everything and there are things for which it is becoming almost completely necessary.

But I simply find the whole chat ecosystem so depressing. A few years ago at least I could chat with Google Talk people via Jabber. It is really absurd that instant messaging is not federated like email. Of course there is one explanation: while Email was invented in the 70s at research institutions with goals beyond profit, IM already started in the 90s with companies trying to capitalize their user-base with vendor lock-in... (ICQ, MSN, etc.). Sad, sad, sad.

arximboldi··on The new pricing model for Travis CI
Travis "free drugs" mode worked for a while. I got used to it via my open-source projects and ended up having a couple of clients pay for it for some of my commercial work.

Since their acquisition they have just been going downhill. I've been planning to move all my projects to Github Actions for a while. This is the "drop that overlfows the glass" as we say in Spanish, I'm putting everything aside tomorrow to migrate all my public and private projects to Github Actions.

arximboldi··on Ask HN: Good C++ code bases to read?
That's a tricky question. Large C++ codebases often have a lot of "legacy" that does not necessarily reflect the best practices.

A couple of years ago I wrote a text-editor to have a realistic example of what I consider a nice modern architecture using immutable data-structures. In the README there is also a link to a talk where I cover some of the design and structure:

https://github.com/arximboldi/ewig

Libraries that it uses:

https://github.com/arximboldi/immer

https://github.com/arximboldi/lager

arximboldi··on Cargo-style dependency management for C, C++ and other languages with Meson
This is so true. It is always Windows people trying to bend libraries to make them easy to "install" for them. On Unix installing libraries system-wide was never too much of a hassle, and now with Nix you can have reproducible distinct development environments for each project. I hate that sadly a lot of the projects I work on must also work on Windows, but I'd just hire a Windows person simply to deal with their build system stuff.
arximboldi··on Cargo-style dependency management for C, C++ and other languages with Meson
Yes, I love Nix. The only caveat is that it does not work on Windows...
arximboldi··on Principles of Data Oriented Programming
Yes! Also the book Elements of Programming by Stepanov has a lot of "value orientation" in it.
arximboldi··on Principles of Data Oriented Programming
Very interesting!

In the context of C++ some of us have been calling these programming/design principles "Value Oriented Design". Some talks on the topic:

- Most Valuable Values (Juan Pedro Bolívar) https://www.youtube.com/watch?v=_oBx_NbLghY

- Squaring the circle, value oriented design in an object oriented system (Juanpe) https://www.youtube.com/watch?v=e2-FRFEx8CA

- Objects vs Values: Value Oriented Programming in an Object Oriented World (Tony van Eerd) https://www.youtube.com/watch?v=2JGH_SWURrI

arximboldi··on Git commit accepts several message flags (-m) to allow multiline commits
Yes!

Do you know the tool "git blame"? (You can also use it with "git gui blame", from Github, or from many text editors). It tells you which commit last changed each line of code. Then you can click and see the surrounding history and context.

If the git history is "well written" this is an invaluable tool for understanding the code and how it came to be the way it is! Super useful when working on large code-bases where lots of different people collaborate.

arximboldi··on I Just Hit $100k/year On GitHub Sponsors
That's how my sponsorship tiers are set up actually :) https://github.com/sponsors/arximboldi

It doesn't seem to be working great though, at least on the page. I end up making a living through ad-hoc client work, which sometimes supports the open-source side as well.

arximboldi··on Web Based Qt Design Viewer
This looks pretty cool! I am actually shopping for a GUI framework for a new project and WebAssembly support is a potential critical feature.

Does someone know if WebAssembly support is available on the open-source Qt?

Also: is it one of those features that is a pain in the ass to set up from CMake instead of QMake?

arximboldi··on Why Isn't Functional Programming the Norm? [video]
There is some truth to that. I write a lot of performance intensive interactive software (music software, graphics software), and use C++ for that. However, you can bring a lot of the FP into C++ world, use it when appropriate, and reason about performance all the way through. I spend a lot of time building tools to make it easier, like for example: https://github.com/arximboldi/immer https://github.com/arximboldi/lager
arximboldi··on Bulk Data Structures C++
AFAIK std::vector does use memcpy (std::copy as well) when objects are trivially copyable.
arximboldi··on Lager: Unidirectional data-flow for C++ inspired by Redux and Elm
Thanks all for taking a look. I would like to thank Prenav for sponsoring the documentation effort and some of the latest developments (https://www.prenav.com). Good supporters of open source <3
arximboldi··on Lager: Unidirectional data-flow for C++ inspired by Redux and Elm
Time to look into xi-rope again :)
arximboldi··on Gitless: A simple version control system built on top of Git
Can you elaborate on the deep problems? I personally find it relatively conceptually elegant.
arximboldi··on Trip report: Fall ISO C++ standards meeting
https://www.youtube.com/watch?v=y2___qaG_9Q

https://www.youtube.com/watch?v=QTLn3goa3A8

arximboldi··on Clojure at Netflix (2013) [slides]
Interesting to hear about C++ in this context, since of my goals is to make C++ more like Clojure:

  https://www.youtube.com/watch?v=sPhpelUfu8Q
  https://www.youtube.com/watch?v=vohGJjGxtJQ
There is a lot of I could say about the relationship between C++ and Clojure, but I'll leave it at that for now :-)
arximboldi··on Book Review: A Philosophy of Software Design
I haven't finished the book and I am not sure I will. I was quite disappointed because from the title and description I was expecting something deep, that presented more questions than answers, navigated constraints, attempted to discuss the nuances of defining the problem of designing itself. On the contrary, it is a collection of superfluous recommendations for Object Oriented programmers presented without much justification.

The writer uses a very narrow perspective and just "assumes" all this can be generalized. One of the most recurring topics in the book is "complexity", but it is just introduced with a narrow one sentence tautological definition without offering any interesting discussion. All kinds of assumptions are taken for granted and not discussed.

So overall, the book reads so far like a bland collection of "do this, don't do that blog-posts". Papers like "Out of the tarpit", speakers like Rich Hickey, etc. offer much more interesting discussions on the topic of design and complexity, and are definitely more argumentative and "philosophical".

I even feel bad for writing something in such a negative vibe about a book. But really its pretentious title lead to such disappointment...

arximboldi··on Brain Drain Within the EU?
I am a Spaniard living in Germany... part of that very same problem. Anyways, "taxes and bureaucracy" is not the problem of the of the european south. In fact, taxes and bureaucracy are both way higher in Germany.

The problems are more complex and historical. The EU economic crisis have been abused by right-wingers to argue that we have a too heavy social system. In fact, the demolition of the social system in the south is precisely preventing it from really leaving the crisis. I want higher taxes if it comes, for example, with free university, like in Germany.

arximboldi··on Lobotomizing Gnome
I use XMonad but used to have lots of Gnome based services running in the background, in order to have sensible "modern" plug-and-play and easy configurability (e.g. printers, monitor layout, network, etc.) Sadly, as they move more and more things to the Shell, this is becoming a harder task. gnome-control-center which used to be very useful even in my custom setup, is now useless if you don't run a full gnome-session or gnome-shell. My setup has become a Frankenstein of pieces of, xmonad, taffybar, suckless, Xfce4 and Gnome.

But I don't blame them, since I understand that their goal is to provide a sensible and consistent user interface for general users and that I am a total exception :-)

arximboldi··on Pornography and the Butterfly Effect
I do not think that women have "the upper hand" or that they have "more power than men", in general nor in particular when it comes to relationships. In particular, what others say here: in spite of these examples, men also reject and of course appearance is also a preference (sometimes even more so than for women).

And while I also agree that the sample from Tinder is a very restricted view, and in general I also prefer meeting people directly in the real world. What I found interesting about Tinder is, precisely, that I allowed me to directly see how women outside of my social circles and spaces I frequent present themselves. While I still live in a hipster urban area, I found that so many of these examples of very traditional views about courtship---all this "I am a price" logic I mentioned in the parent post is not so much a sign of power, but I see it as more of a conservative view that puts women in a passive role. It can be frustrating for men, but probably it is also damaging for women, and to me showed, somewhat, that the road to better gender equality and fluid roles is a long one.

arximboldi··on Pornography and the Butterfly Effect
While I agree that the message sounds a bit like that, I think he is right about that point. For me an eye opener was Tinder. Where I live it seems like half of the women have something like "Don't even try if you are less than 1.80cm" or something like that in their profile. I am actually relatively tall and happy with my sex life, so I don't take the offense personally, yet I can't help but wonder what would happen if a guy wrote something like that about weight or boob size, for example? (I sometimes consider opening a fake female account to see if some men actually do that...) Also interestingly, a lot of women profiles are just a collection of attributes they don't want in guys, written in a very negative language... instead of, I would expect, just some positive things about themselves. I wonder where that delusional way of looking at themselves--as an inherent "price" to be "won" by the very best in men--comes from? Are men in online dating like that too? In our society we are reflecting a on what "masculinity" means, and scrutinizing and redefining male sexual behavior. This is a good thing. But I wonder if maybe it would also help young women get an understanding of femininity that is not based on these backwards ideas that could help everyone have healthier and more equal relationships.
arximboldi··on Docker is a dangerous gamble
I came to say the same. While they are not exactly competing solutions, for the most typical use-case (i.e. packaging, configuring and deploying software without dependency hells) Nix is simply so much better and less wasteful than docker. Pure bliss.
← PreviousPage 3 of 10Next →