HNHacker News
TopNewBestAskShowJobs

joaonmatos

134 karma · joined April 20, 2021

submissionscomments
joaonmatos··on Password policies of most top websites fail to follow best practices
So it is the first option - having to pick a random username for a website with no social features.
joaonmatos··on Password policies of most top websites fail to follow best practices
Enlighten me: If I’m registering with my favourite store’s frequent costumer program and emails are “idiotic”, do I need to take the time to pick a username for a system with absolutely no social features, or do I just memorize the 12 digit long user ID (as opposed to my email, which I need to know regardless)?
joaonmatos··on Experts once predicted that Americans would face excess leisure time (2015)
I guess you can read “Imperialism, the Highest Stage of Capitalism” by V.I. Lenin to explore the topic more
joaonmatos··on Italy carries out its first assisted suicide
Or maybe they thought that a good use of the remainder of their life was to fight for other people to be able to make that choice regardless of whether they could get to Geneva or not.
joaonmatos··on What workers want: raises that beat inflation
Sanders is a social democrat - not a liberal as you described, nor a democratic socialist as he describes himself.
joaonmatos··on Sunsetting Atom
Atom was unbelievably slower than VSCode for any comparable set of capabilities. What do you mean bloated?
joaonmatos··on Sunsetting Atom
Maybe I just have horrendous taste, but I just get GitHub Theme Light and am done with it. Do you tend to be nitpicky around aesthetics?
joaonmatos··on Who owns Parliament?
As long as you keep the Head of Government away from the sovereign, presidents can be harmless enough to avoid this kind of polarisation.

Maybe look at Ireland or Portugal as examples of republics where the president keeps the constitutional safeguards (dissolving parliament, vetoing laws, and what not), and you'll see that they are not exactly polarizing figures. Instead, the prime ministers are, as they should (they head partisan politics).

joaonmatos··on Why does this code execute more slowly after strength-reducing multiplications?
LLVM is geared towards providing a single toolchain for frontends to target, but is essentially made to target von Neumann/serial-ish/homogenous machines. You can get an overview of its philosophy in Lattner’s original 2004 paper [1]. MLIR (Lattner 2021 [2]) aims to generalize the compiler toolchain to support different compute paradigms and heterogeneous targets (polyhedral compilation/parallel kernels/afine loops) and so on, by defining a declarative framework of IR _dialects_ and transforms between them. I’m writing my MSc thesis on using C/C++ as the IR, assuming it has enough compiler support for different targets to provide a suitable platform for optimisation transforms using a source-to-source compiler, but MLIR seems like a better first-principles approach, maybe suffering from the impracticality of using it _right now_.

[1] "LLVM: A Compilation Framework for Lifelong Program Analysis & Transformation", Lattner and Adve. https://llvm.org/pubs/2004-01-30-CGO-LLVM.pdf

[2] “MLIR: Scaling Compiler Infrastructure for Domain Specific Computation”, Lattner et al. https://ieeexplore.ieee.org/document/9370308

joaonmatos··on Expert: Monkeypox likely spread by sex at 2 raves in Europe
Yep. The main case cluster in Portugal has been traced back to a sauna in Lisbon, and already people are reverting to harmful 80s/hiv era jokes like ‘the homosexuals are f**ing monkeys’.
joaonmatos··on Big Reasons Not to Upgrade to Windows 11
Call me a simpleton but I upgraded simply because of wslg. I know that you could forward X11 before but seamless integration of graphical Linux apps is too big of a boon.

The other stuff I don’t really care. I have 0 stuff on the desktop and use Super + typing the name of the app to open anything.

I would use a gnome distro if fractional scaling worked decently, but sadly it doesn’t, at least for VSCode and IntelliJ. So WSL it is.

joaonmatos··on Wry – Cross-platform webview library in rust for tauri
Probably some ease of embedding concerns, don’t quote me on it though.
joaonmatos··on Cities with Nice Weather
Weird standards for “nice weather”.

I would use: - temperatures around 15 degrees, so a place that went from lows of 5 in the winter to highs of 25 in the summer - rarely overcast. Growing up in Porto I don’t really have a problem with sunny days or days where it is actually raining. The bane of my existence are the misty, damp, sprinkly, overcast days - no snow

It’s a shame that I have to go to Berlin to get a good start on my career, otherwise I’d love to stay here

joaonmatos··on Who gives a sh*t about the tech, just write something: how I started my dev blog
This blog is about how in the tech industry we keep wanting to build all the tech for our blogs and end up not blogging at all. Comment, reply, message etc. with whatever you may want to say.
joaonmatos··on Fun DSLs in Kotlin – Builders and Receiver Types
OP here.

This is my first blog post ever. It's about using receivers in inline functions to simplify builder patterns. If you have any suggestions about improvements/general critiques, feel free to comment here, message me or open up an issue on GitHub!

joaonmatos··on Why Is It So Hard to Detect Keyup Event on Linux?
Global Hotkeys for something like Quake terminal, or voice chat push-to-talk. Obviously I don't see why you would encumber the core protocol for it, but a subscription model for it as a wlroots or FreeDesktop portal could be interesting.
joaonmatos··on Spotify is killing the open podcast ecosystem (2020)
To provide a counterpoint to comments here, I only started listening podcasts when Spotify added them and know they are the most important use of the app for me now. If tomorrow Spotify removed podcasts from the apps, I'd probably cancel my subscription and move on to YouTube video essays or something.
joaonmatos··on Discord ends deal talks with Microsoft
Discord is still way worse in text chat.

I (as a uni. student, so take it with a grain of salt) am involved in managing several large projects - overseeing 4 teams of around 10 people each. We decided to use Discord as the university did not want to pay Slack workspace licenses and it has been a frustrating experience to say the least.

Comparing to several experiences I have had with similar-sized teams and even a larger, albeit still small-ish, organization, there are many complaints to be had:

- No threads. This one is Discord's Achille's heel when compared to Slack. If you have even two or three simultaneous conversations around the same topic, you either a) are unable to understand what's going on past a certain point or b) need to take the conversation somewhere private, essentially losing one of the main components of the experience.

- No archiving channels. Seriously. I have categories in my Discord servers to archive stuff, and it just means that there is a dump of channels clobbering the interface for day-to-day operation. The Slack model where they are tucked away in a closet is much better.

- Integrations. Discord bots are cool for music but everything productive, from /gcal to Doodle/GitHub/Trello/Google Drive integration is better on Slack.

One thing I think is overrated is the search. Discord's sucks, and while Slack search works reasonably well, I do find it hard to remember relevant information to put in the search prompt. Essentially I think that you still need an external place to store persistent documentation and more durable information, be it VCS issues, wikis (Notion has been a product I started using recently and seems pretty cool), but even there threads help write the docs.

Where Slack falters is not-text. As ludicrous as this sounds, I have seen cases of teams using Slack for written communication and falling into Discord for voice channels and transient chat. I think this can be made better with good integration with some communication suite: Zoom? Google Meet? Anyhow, this is where MS Teams comes and eats their lunch. Worse at everything than everyone else, but at least it does it all.

← PreviousPage 3 of 3