HNHacker News
TopNewBestAskShowJobs

keraf

880 karma · joined September 17, 2017

https://rafael.keramid.as/

Opinions are my own.

submissionscomments
keraf··on Valve bars Steam developer who posted anti-trans rant in patch notes
I feel like news like this shouldn't even be reported on, it gives unnecessary exposure to the developer and game. They breached the ToS of Valve, they rightfully got a ban, let them sink into oblivion and not make a big story out of it. This will probably get them some extra sales on a different platform by people who support this type of messages.
keraf··on Ranking the 25 Most Painful Lego to Step On
Having stepped on many Legos in my childhood, I would clearly put the classic 2x2 brick, number 6 and 5 from the article in my top 3 most painful ones. Number 4 is soft and deforms when stepping on it, not sure why it made it that high in the ranking...
keraf··on Xcode Cloud overview
If only. Apple's licensing terms require you to keep the instance for at least 24 hours[0].

[0] On the Scaleway checkout for the Mac Mini M1, at the bottom: "As required by Apple License, you must keep this Instance for at least 24 hours. You will be able to delete it only after 24 hours.".

keraf··on Tauri vs. Electron – Real world application
The 5th point in this article is what makes me end up using Electron most of the time.

As much as I love Tauri (and Wails), WebView requires to make sure the application renders exactly the same across all platforms. Sure, Electron comes with its downsides like the article rightfully points out. But having a UI that renders and behaves exactly the same on all platforms (thanks to the version locked Chromium bundled in the app) is really nice to have.

I wish there would be the possibility to bundle a renderer (maybe a more lightweight one?) with Tauri or Wails instead of using WebView.

keraf··on Ask HN: What do you use to build auth?
For small JS projects, I use Passport[0] as it is quite simple to implement and has ton of examples (including how to use it with Next).

For bigger projects where I need a full-fledged and reliable solution out of the box, I use Ory[1].

[0] http://www.passportjs.org/ [1] https://www.ory.sh/

keraf··on Copilot sells code other people wrote
The point of this Tweet is about licensing. When using an MIT licensed library for example, you would have to give attribution. But you can easily rewrite portion of that library yourself using Copilot, which could potentially use code from the initial lib, without any attribution or whatsoever. It's even more problematic with licenses such as the GPL.

I guess Copilot could address this by checking the licenses of the projects it uses. Even when combining code, it could pull in the required attribution or avoid GPL licensed code (unless enabled) for example.

keraf··on A conflict with a manager ended with me being disallowed to work at Spotify
I've been in the same boat, twice. It's unfair and frustrating, especially when you feel you contributed a lot to the company and everyone else except these few managers showed appreciation towards you and your work.

I also felt the urge to denounce their unprofessional behavior online, hoping that someone else would not end up in the same position as me, or make their customers aware of how bad their behavior is towards employees. But the truth is, it would not change anything and just paint me in a bad light.

After reflecting on my experiences, I found that we were just not a fit. Their way of working was not aligned with mine. Instead of changing myself to fit in or them to accommodate me, we clashed and it ended badly. Both are at fault, I take the loss and move on to the next gig.

Found my happy workplace now and I'm using these experiences to spot potential red flags early.

keraf··on I cheated on my Microsoft interview (2019)
I actually cheated on an online assessment for one of my first programming jobs. It was my dream job and really wanted to get into that company. Under the pressure, I just couldn't figure out the solution to the last challenge which was a recursive algorithm. Normally, I would be able to do this but I just got stuck and in a moment of panic, I StackOverflow'd the question on a secondary device which provided me the exact answer. I typed it in with my own style and submitted the assessment.

I got the job, stayed at the company for 4 years with great performance reviews and it shaped my experience as the programmer I am today. I couldn't imagine where I would be without the experience I gained there.

keraf··on I disabled WiFi on the new Samsung fridge
I heard about a known electronic cigarette brand that plans to do this with their devices. The future where all our habits will end up being tracked is close.
keraf··on Ghost 5.0
Off-Topic but Ghost's recruitment process was an instant turn off for me. As much as I love the project and would have liked to work on it, I couldn't commit to spend 5 to 10 hours on a coding task without even talking to a human first [0]. I understand resources might be tight in small companies, but the prospect of having someone tell me "oh sorry, we already filled the role" after 10 hours of code was not something I wanted to get into.

On-Topic: Congrats for the new major release, always exciting to see what the team delivers!

[0] https://careers.ghost.org/product-engineer-node-js/en#block-...

keraf··on Outhorse Your Email
Horse as a Service (HaaS), sign me up!
keraf··on How to make video calls almost as good as face-to-face (2020)
I have a laptop with an Nvidia GPU and gave Broadcast a try but ended up going for Krisp. It was overheating my machine and I was often working in places where other people are talking, which Nvidia's noise cancellation wasn't really useful for. Krisp has this handy "voice cancellation" feature that you can train to recognize your own voice and it cancels out other people's voices.
keraf··on Sunset of libspotify
Plugging my ex-colleague's Spotify client called Psst[0] and built with Rust. Not as feature-full than the official client (yet) but way lighter and gets the job done.

[0] https://github.com/jpochyla/psst

keraf··on The Mitto AG surveillanve case – or why we must never backdoor encryption
The Russian shell company as a proof of involvement of Russian intelligence services puzzles me quite a bit. I thought this could be done remotely without the need of a local branch. It sounds more like it has been established there to sell these backdoored encryption products on their market. Or am I missing something?
keraf··on Ask HN: Companies hiring for a 4-day workweek?
Same here. I just laid my 3 conditions (4 days week, 100% remote, X€ per month) right away in the introduction interview and made it clear that I wouldn't be interested to move forward if these were not met. Most companies I interviewed with were OK with this. The job market for SE (depending on experience) nowadays allows these types of requests with good compensation.
keraf··on Ask HN: Share your personal site
Nothing special for mine[0], serves more as an online business card with some links. The domain contains my full name and I also have a very similar e-mail address (replace the first dot with @). It's just plain HTML with some JS to switch the hello message. Source is available and I have a job that gets triggered for every commit, deploying it to Gitlab Pages. I just update it directly on Gitlab[1] every time I need to and it's up.

[0] https://rafael.keramid.as/

[1] https://gitlab.com/keraf/personal-site

keraf··on OwnTracks – keep track of your own location
Similarly to OwnTracks, there's a NextCloud app called PhoneTrack (together with an Android app that has the same name) that provides location tracking. Been using it for some weeks and the NC integration is pretty neat. It allows separate and simultaneous logging of tracks, useful when you want to keep a full one for yourself and send a specific one (when driving long distances for example) to relatives.
keraf··on Refusing to apologize can have psychological benefits (2012)
Acknowledging mistakes and sincerely apologizing for them is a social quality that I strive to achieve and that I appreciate in people I interact with. Everyone makes mistakes, some might have higher consequences, but ignoring them or refusing to own up (recognize, apologize, make up for it) is the worst imo. For non-serious things I gladly give it a pass the first times. But when done repeatedly, I find it hard to maintain an acceptable relationship.

I learned my lesson through a romantic relationship where my ex-partner would never apologize, regardless of how small or big the issue was. Even when bringing it up, she would straight up refuse to simply say "sorry", justifying herself that it's not worth dwelling on this and to move on. I tried to understand her point of view and adapt but ultimately after years, it made me feel terrible and I just couldn't get over this. It ended up not working out for various reasons, but this is definitely red flag I'm looking out for now in any type of relationship.

As said above, I tolerate it when it is not repeated, as people might genuinely not realize it or just forget to do so.

keraf··on Ask HN: Who wants to be hired? (April 2022)
Full stack dev with +10 years experience.

- Location: Europe

- Remote: Yes

- Willing to relocate: No

- Technologies: NodeJS, C#/.NET, TypeScript, React, Electron, NextJS, AWS

- Résumé/CV: https://rafael.keramid.as/ - Full CV upon request

- Email: job[at]ker.af

keraf··on Ask HN: How to move away from Google
It was quite a roller coaster to move to alternative services, and also giving up on all social media. But after a while you get used to things and find handy alternatives (like MagicEarth for maps, this app is great!). It feels liberating and I'm more at peace knowing I'm in control of my data. I keep reading these anxiety inducing Google account terminations for years, they also motivated my move (in addition to the privacy benefits). Sure, this could happen to me to with the service providers I use, but at least they have human point of contacts and all my data is backed up and ready to move to another services.

I'm definitely up to share my experience and write a full article about this. Hopefully in the coming month when I find some time :-)

keraf··on Ask HN: How to move away from Google
I've been looking at their other services but for now I'm happy using NextCloud, which provides more than just calendar and file storage. I also have phone tracking (so I can send my real time location to my relatives when driving and visualize the places I've been) and an RSS aggregator. Additionally, I'm not locking myself into another service provider. I'm still open to the idea of moving to another e-mail provider some day even though I'm happy with ProtonMail's service so far.
keraf··on Ask HN: How to move away from Google
MagicEarth is based on OSM and their navigation is great, both for driving and walking (haven't tried cycling). I even got better routes suggested when driving vs Google Maps (I compared with a friend using GMaps, he switched to MagicEarth after that :-) ). The only time it messed up was by suggesting a non-existent walking path down a hill in Kiev, which resulted in me rolling down and slicing my arm open, nothing to serious though. Overall I'm happy enough with it to not spend more time looking for other alternatives. If anyone has a better alternative, I'm always listening.
keraf··on Ask HN: How to move away from Google
I moved away from Google a few years ago. I'm using the following alternatives:

- Email: ProtonMail

- Contacts, Calendar, Online storage: NextCloud hosted by Hetzner (https://www.hetzner.com/storage/storage-share)

- Phone: LineageOS (Android)

-- App stores: F-Droid for most apps and Aurora store for the occasional non F-Droid apps (like the ProtonMail client)

-- Maps: MagicEarth (not open source but privacy friendly and very featureful)

-- Messaging: Telegram FOSS

-- Contact & Calendar sync: DAVx

- Notes: Joplin (syncs with NextCloud and available on F-Droid as well)

- Search: DuckDuckGo

ProntonMail (with own domain) and the hosted NextCloud instance aren't free, but privacy comes with a price and I'm happy to pay for it. So far I'm very happy with the transition.

keraf··on NPM package compromised by author: erases files on RU / BY computers on install
It's quite ironic how medias use Russian polls when it sticks to their narrative, and bashes them when it doesn't (i.e. Crimean referendum). We should take them all with the same level of skepticism.
keraf··on Use of Google Analytics declared illegal by French data protection authority
Articles mention GA, but is Metrica[0] similarly affected? I guess their data is also stored outside the EU.

[0] https://metrica.yandex.com

keraf··on Real-Time Tokyo Subway Map
Looks like there's a 2d version[0] but the map doesn't load (expired API key?) and it doesn't show as many lines. Can maybe be revived or adapted for your city by checking out the source [1].

[0] https://nagix.github.io/mini-tokyo/ [1] https://github.com/nagix/mini-tokyo

keraf··on Ask HN: Who wants to collaborate?
This sounds incredibly interesting and would love to know more about it. Where to read more or get in touch with you? (your profile doesn't mention any contacts or links)
keraf··on Happy New Year HN! What are your plans for the new year?
Happy New Year HN!

Never really had any new year resolutions, but I promised myself that 2022 is the year I'm going full digital nomad (for a year or two). I have little to no responsibilities that tie me to a certain place at this point of my life and an itch to discover new places in the world.

keraf··on Ask HN: Has remote work made you move to a new location or consider it?
Strongly considering Zanzibar (Tanzania) for a few months a year. The internet is not great but enough for pulling git repos and docker images as well as video calls, occasional electricity outages are a bit of an inconvenience, but the place has a lot to offer in terms of quality of life if you're looking for simplicity. Timezone is quite close to Europe (UTC+03:00) which is a plus.
keraf··on Ask HN: Has remote work made you move to a new location or consider it?
Cats are what's keeping me from going full nomad as well. Going away for a week or two works with having someone coming over to feed them, but leaving them alone for longer than that would make me feel bad for them. I'm considering moving them to my parents and going full nomad for a year or two.
← PreviousPage 4 of 6Next →