@ihabunek@mastodon.social avatar

ihabunek

@ihabunek@mastodon.social

A developer.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

heiglandreas, to random
@heiglandreas@phpc.social avatar

😂 I just found that outlook allows one to set the language to "English (Germany)" and now I am looking forward to Deutsche Bahn English (senk ju for träwelling)... 🙈

ihabunek,
@ihabunek@mastodon.social avatar
heiglandreas, to random
@heiglandreas@phpc.social avatar

When you learn that a band you missed three years ago in Montreal (my flight left an hour before they hit the stage... and I learned it literally the day before) is now playing in Brussels.

On your birthday....

ihabunek,
@ihabunek@mastodon.social avatar

@heiglandreas What's the band?

ihabunek, to random
@ihabunek@mastodon.social avatar

Obviously detailed commit messages are useful, especially when reviewing code. But I'm wondering if some bit of code requires an explanation wouldn't it be better to provide it as a comment in the code so it's easily visible without having to git blame in the future.

maritzac, to random
@maritzac@mastodon.social avatar

Finished installing an additional HD. The hardest thing was to get in there. And my hands are -tiny-. How do normal people manage???

ihabunek,
@ihabunek@mastodon.social avatar

@maritzac as a large handed person I usually ask my partner to help

ihabunek, to random
@ihabunek@mastodon.social avatar

Bruxelles wall philosophy

ihabunek, to random
@ihabunek@mastodon.social avatar

I need a photo to use on my dors/cluc talk submission. The one I have on my profile is pushing 10 years and I risk people not recognizing me from the photo. Maybe I should just scare people off with a selfie.

ihabunek,
@ihabunek@mastodon.social avatar

Unrelated, elkarrde@ohai.social wanna grab a coffee? :D

ihabunek,
@ihabunek@mastodon.social avatar

@elkarrde You did! But for the conference I'd like one that looks a little more happy. X)

ihabunek, to random
@ihabunek@mastodon.social avatar

Morning temptation.

ihabunek, to random
@ihabunek@mastodon.social avatar

Two best tracks next to each other. How to choose?

ihabunek, to random
@ihabunek@mastodon.social avatar

I love camping in smaller tracks on but the air quality is probably the worst I have ever experienced. ^^;

ihabunek, to random
@ihabunek@mastodon.social avatar

I think I might have aphantasia, to a degree. Not something I've really thought about until now.
https://www.rifters.com/crawl/?p=10964

ihabunek, to random
@ihabunek@mastodon.social avatar

Pet peeve: When desinging your system, make a glossary and stick to it so you don't end up inventing multiple terms for the same thing.

Case in point: Croatia airlines sent me a check-in email with a "booking reference" but the website requires me to enter a "reservation number". And it's not even a number, it's alphanumerical.

heiglandreas, to random
@heiglandreas@phpc.social avatar

I am continuouslyreading that the best way to represent Money would be to use the smallest denominator of a currency. Like use cents for Euros.

Is it just me that feels like its oversimplifying things? That that is like "use UTC-timestamps for datetimes"?

https://gist.github.com/rgs/6509585 is for sure a good read.

To me any system that isn't capable to handle the british pre-1970s currency is not up to the job. Not because we should go back there, but because it is based on too many implicit assumptions

ihabunek,
@ihabunek@mastodon.social avatar

@heiglandreas What's your solution? Implementing a system which can handle all possible ways of denoting currencies seems like overkill. Yagni and all that. I usually just end up with decimal in the db and do the rounding logic in code.

ihabunek, to random
@ihabunek@mastodon.social avatar

Purrito

oblomov, to random
@oblomov@sociale.network avatar

Did I tell you about when my sister was studying in the USA and on one of her trips back there from home se brought 3kg of Parmigiano Reggiano DOP (the “real” parmesan) and they gave her trouble at customs because they thought she was smuggling it for resale and she had to explain that it was just her personal consumption reserve for her first month there?

ihabunek,
@ihabunek@mastodon.social avatar

@oblomov very reasonable. I would do the same with olive oil if I lived abroad.

ihabunek, to random
@ihabunek@mastodon.social avatar

Developing for android is a double edged sword. On one side Kotlin is lovely, and on the other there's the whole Android shitshow.

Here's android emulator using so much CPU that i can't even stream music in the background.

jwz, to random
@jwz@mastodon.social avatar

uBlacklist.

This seems promising.

It lets you block sites from showing up in your search results so you can shitcan Pinterest, w3schools, etc. The first time you do a search, you have to bonk the extension icon and give it permissions. There are also...
https://jwz.org/b/ykIC

ihabunek,
@ihabunek@mastodon.social avatar

@jwz I switched to Kagi search. It's paid but I find it much better than DDG. You can rank domains so the ones you want to show on top and hide the ones you dislike.

ihabunek, to random
@ihabunek@mastodon.social avatar

toot 0.40.0 is released and it's a big one

is a CLI interface to Mastodon, Pleroma and cousins

The big change is using the Click library for crafting the commandline interface which enables some nice new features without too much work on my part.

There are some breaking changes so check out the changelog, and see replies for some highlights.

https://github.com/ihabunek/toot/releases/tag/0.40.0

ihabunek,
@ihabunek@mastodon.social avatar

Formatted toot output such as timeline and notifications will adjust itself to your screen width if it's smaller than 80 chars. Also it's possible to set the max content width to your desired value by passing toot --max-width <n>, or by setting the value in your settings file.

Before/after pics:

Toot timeline with nice wrapping on a narrow terminal

ihabunek,
@ihabunek@mastodon.social avatar

Toot now supports shell completion on bash, zsh and fish.

Check out the docs to see how to enable it:
https://toot.bezdomni.net/shell_completion.html

And here's a demo:
https://asciinema.org/a/QjkoZlxfLYoNRGejFL5LB2gcs

ihabunek, to random
@ihabunek@mastodon.social avatar

Note to future self: ALL write actions made by the user should be logged. Inevitably someone will ask you "who did this?" and it would be better if you can answer that question.

drewdevault, to random
@drewdevault@fosstodon.org avatar

I'm gonna eat this entire bag of pastries, see if I don't

ihabunek,
@ihabunek@mastodon.social avatar

@drewdevault The pastry shops in NL are irresistible. The smell of spices envelops me and I'm off to become fat. At least the bikes offset the calories somewhat.

nikitonsky, to random
@nikitonsky@mastodon.online avatar

New post — all things Unicode!

One of the most interesting researches I had to do. Enjoy!

https://tonsky.me/blog/unicode/

ihabunek,
@ihabunek@mastodon.social avatar

@nikitonsky Just had a look, and it just calls erlang.

Erlang implementation is here:
https://github.com/erlang/otp/blob/0164d3db05739fc1fad67ac1f5bf3e2aea15cd45/lib/stdlib/src/string.erl#L147

Erlang has a script which generates the unicode util code from the unicode spec. Macros would have been nice for that. :)
https://github.com/erlang/otp/blob/master/lib/stdlib/uc_spec/gen_unicode_mod.escript

dianshuo, to random

@vertigo random thing. Before VSCode came along I used to use Sublime. It was a little rougher around the edges in some areas of the experience but it was practically the same. Including the command palette keybindings. Only difference was that it wasn’t built on electron and was a tiny (relative) C++ app from memory. Maybe need to go back to that…

ihabunek,
@ihabunek@mastodon.social avatar

@dianshuo @vertigo Sublime is alive and well. Never going to be open source but at least they never pretended anything else. LSP works pretty well these days.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • tacticalgear
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • Youngstown
  • everett
  • cisconetworking
  • slotface
  • GTA5RPClips
  • rosin
  • thenastyranch
  • kavyap
  • mdbf
  • Leos
  • modclub
  • osvaldo12
  • Durango
  • khanakhh
  • anitta
  • provamag3
  • ngwrru68w68
  • cubers
  • tester
  • ethstaker
  • megavids
  • normalnudes
  • lostlight
  • All magazines