cu
for https://github.com/espressif/esp-idf?tab=readme-ov-file#viewing-serial-output
@adi@twtxt.net Not bad! That reminds me, my sed and awk skills could be improved. :-)
@mckinley@twtxt.net I see. Once more fields are of interest, this is definitely the way to go.
@mckinley@twtxt.net Woah, how cool is that!? :-D Thank you! Iām sure gron
will come in very handy some day, now that I have it in my tool bag. My jq
skills are pretty much non-existent, though. I donāt use it often enough.
cu
for https://github.com/espressif/esp-idf?tab=readme-ov-file#viewing-serial-output
@adi@twtxt.net Ah! What are you currently building?
@movq@www.uninformativ.de @bender@twtxt.net I agree 100% and refuse to TOFU. Even at work.
@movq@www.uninformativ.de Haha, nice. :-D
@xuu Cool! I particularly like the idea of converting it into a grep
-able version, thatās very neat. Interesting choice of aligning the colons at the values and not the keys, I think I never came across this.
[foo] [foo.bar] [foo.baz]
) and it just feels confusing to me, even with indentation. Simple INI files are okay.
@mckinley@twtxt.net Same here. Reading the spec I came across some confusing or not inherently logical things. Maybe they turn out not so bad in practice.
Being also a Python programmer, I wish there would be more indentation-based stuff. I do like that part with YAML.
Oh no! :-( Thatās bad to hear. I configured ejabberd years ago and it just is Erlang if I remember correctly. Quite a cool choice for that software.
-
for list items constantly when reading YAML files. I'll get confused because I think I'm not in a list or I'm in the previous list item, then I have to go back. List items are all on the same indentation column and one tiny character is the only thing defining a new one. I don't know if others have this problem.
@mckinley@twtxt.net I hear you, thatās why I prefer *
as the bullet point wherever possible, e.g. markdown and RST. Not sure if YAML has it, too. I just know at work we use -
for lists as well. But then use blank lines to separate list items that are spanning multiple lines. That helps a bit.
Yeah, the lack of comments makes regular JSON not a good configuration format in my view. Also, putting all keys in quotes and the use of commas is annoying. The big upside is thatās in lots of standard libraries.
I think the appeal with YAML is that is has comments, is kind of easy to write and read and also provides unlimited nesting levels. But it has all its drawbacks, no question. Forbidding tabs, thousands of different string flavors, having so many boolean options (poor Norwegians) etc. I use it, but I donāt particularly enjoy it.
Among simple key value pairs, I like INI files, but with #
for comments, not ;
. I never used TOML, read up on it yesteray before writing this question, but it looks a bit weird and has some strange rules. I guess I have to give it a try one day.
And yes, as mentioned by several of you, it always depends on the complexity of the configuration at hand.
Iām developing something for the scouts at the moment with rather simple requirements on the config. Currently, there are just four settings. Even INI would be overkill with its section. I selected JSON for now, because thatās readily available with Goās std lib. But I do not like it.
Btw. whatās your own config format, @xuu?
Question of the day: What configuration file formats do you all like and use?
@movq@www.uninformativ.de Exactly. But I fear you just donāt learn these kind of skills for real life in school. I think overall I was pretty lucky with mine, but I donāt have the feeling that school particularly prepared me all that well for reality out there. I would give my social environment much more credit. But itās very hard to say, maybe subconsciously school had a larger effect than I think. :-?
Anyway, they definitely should teach that, I fully agree! :-)
@stigatle@yarn.stigatle.no I just feel like Nanook after our 10-11km hike. Looks like vandals grilled their thermite schnitzel on the public barbie. :-(
@stigatle@yarn.stigatle.no Ah! Yeah, itās raining here all day long, too. 10Ā°C at the moment, but it should reach 12Ā°C later evening with the small storm. The severe weather map is quite colorful, but weāre lucky down south:
Looking out the window I saw a buzzard sitting in a tree, so I wanted to take a photo. But then its two bodyguard ravens attac^Wsaved it from me and it took off. :-(
Delphi at school, later Java and an own teaching assembler. Uni started out with Ada and then added Java as well. Here and there a few other languages, like Prolog (that I knew from school, though), I think C, the hardware guys brought us VHDL and some assembler that I donāt recall anymore.
Cody delivers again, I love it! Making pop can thermite: https://www.youtube.com/watch?v=N9rGAA6eF10 I donāt want to spoil, this is so cool, crazy, interesting, educational and entertaining. Highly recommended.
When dealing with unsigned integer, I always write e.g. unit8
instead of uint8
. Every. Single Time. And this is usually only noticed by the compiler. I would blame the auto-correction, but I ā luckily ā donāt have any.
@xuu These are indeed iterators. Very weird syntax, though.
@xuu Oh, I wasnāt aware of this! Thanks for bringing it to my attention.
I do like that they move away from one shared variable per loop to an own one per iteration. That makes sooo much more sense. I donāt hit that often, but it happened a few times in the past and getting this figured out is not the easiest thing in the world.
I have to read up on the yield functions. From your examples I fear iterators would have been more useful. Letās see.
@movq@www.uninformativ.de I just listened ten (lol) times very carefully, but itās much closer to ātenā than ātinā I think. Hahahaha, the dickheads video is fantastic! :-D Canāt tell if I would have understood that correctly if I werenāt reading the subtitles.
@movq@www.uninformativ.de @prologic@twtxt.net Haha, this is nice! I have to admit, my ears cannot differentiate between Aussie and Kiwi, both sound the same to me. But then, for New Zealandish I also just watch Project Brupeg. Two Kiwis rebuilding a sunken boat in Down Under, so they might already have been Straya-lized, no clue.
@mckinley@twtxt.net My goodness, 99 specifications!? Iām out.
Maybe some people want to periodically change their keys or if your private key is lost or leaked, you also need a new one. But yeah, youāre right. You have to draw a line somewhere.
@movq@www.uninformativ.de Oh dear, you should probably switch shops. At least the Verbraucherzentrale backs us up here.
ARGH! All tests passed, but once I ran the exact same scenario in the real application, numbers didnāt line up anymore. What the heck, how in the world is this even possible!? Turns out I havenāt committed the changes to the database, thatās why I still could see them perfectly fine in my debug session, but the applicationās session of course didnāt. Took me four (!) hours to figure this out. Yeah, I really have to go to bed now. Good night.
@stigatle@yarn.stigatle.no Cool. I was coding today all day long.
@prologic@twtxt.net Are you already sick of your fast internet? :-D Enjoy your holidays!
@movq@www.uninformativ.de Wow, when entering or leaving?
@movq@www.uninformativ.de Just 13Ā°C with cold wind. But the sun shining through the window was nice.
@mckinley@twtxt.net Brings up a few interesting points. But I fear itās a rather complicated protocol. I read through a few pages on that site, but I havenāt seen a real specification for it. I immediately thought that you canāt really change your keys without losing your identity. Basically the same as with changing feed URLs over here. Maybe slightly better, but not much.
Something is wrong with me. My eyes fell on the onions and I thought, mmmmm, those apples look delicious. But Iām now eating a real apple.
@movq@www.uninformativ.de Yeah, the visual emoji thing is silly. Picking letters or words only would have been way too easyā¦ So oldschool! But thatās what you get with todayās kids, theyāre all emoji power users.
Luckily, my terminal font shows all the same seven squares in the correct order. :-D
I think I see a water pistol in Firefox.
@movq@www.uninformativ.de Bwahahahahaahaaahaaaahaaaaa, thatās a really good one! :ā-D I love it!
When I was tying my shoelaces on the landing, the birds in the neighborhood gave a real concert. Sounded great.
I never tried it, @prologic@twtxt.net. And I probably never will after this catastrophic report. @eapl.me@eapl.me @bender@twtxt.net E-mail, IRC and Jabber, thatās it for me.
16Ā°C, almost bathers weather! Sun was hiding behind the clouds, though. The walk in the forest was very beautiful. Birds were singing, the first bees gathered nectar, all sorts of flowers brought some more color into nature. We enjoyed it.
Who spots the bee?
@prologic@twtxt.net It escaped its guard rails! :-D I hope youāre alright.
If you like to suffer, you can read a report about trying out Matrix: https://blog.koehntopp.info/2024/02/13/the-matrix-trashfire.html Iām surprised that he didnāt abort.
Thank you! Sure, go on, @mckinley@twtxt.net, please help yourself! :-) It took me some time to simplify the magic spell to a single sed invocation.
Actually, @movq@www.uninformativ.de, I couldnāt live without a bell in my prompt either. Itās so neat in combination with URxvt.urgentOnBell: true
in my ~/.Xdefaults. Comes in handy every single day.
My self-winding watch just shows me the time.
I noticed this afternoon that we currently have Carnival vacations this week. So many people outdoors.
Iāve seen three great spotted woodpeckers and heard dozens more hammering the trees. But the photos turned out to be rubbish.
It was very windy at the summit, but I sat on the castle wall and enjoyed the sun beating on me. I would have loved to just relax there half an hour longer, but I had to be back in time. :-(
09 looks like itās straight from an AI, but the moss was actually on top of a smaller tree. I fell down from a giant moss-covered tree next to it.
Quite cool how much reach the liftās outriggers have to level it on that steep street.
29-32 show the reason for closing the forest road for one and a half months. A tree fell over and got hung up in the telephone cable in a 45Ā° angle. Only the wire prevented it from crashing down on the road. I find it astonishing that the cable did not rip apart. After all, the tree was quite substantial. No idea why it took them so long to get it removed, though.
The entire meadow in 36 was totally covered with mouse holes. Sick!
https://lyse.isobeef.org/waldspaziergang-2024-02-13/
Haha, @bender@twtxt.net! :-D
@mckinley@twtxt.net Usually, I get away with sleep 5m; echo -e "\aSomething, something"
. For longer waiting periods (checking on laundry, cake, etc.) I often want to know how much time is left, so I built this lengthy shell script: https://git.isobeef.org/lyse/gelbariab/-/blob/master/srem/srem?ref_type=heads
Unfortunately, I donāt remember where I got ringring.ogg from. Maybe it was shipped with KAlarm in KDE 3.5. I think it had the option to ring an alarm clock. Thatās useful when watching a video in fullscreen.
@mckinley@mckinley.cc I just keep the tea bag in my cup until the cup is empty.
@stigatle@yarn.stigatle.no The whole week has been a gray soup over here, too.
@bender@twtxt.net Letās hope itās not ~2 minutes. ;-)
Congrats, @prologic@twtxt.net, two meters latency, heck yeah! :-)
I went to the dairy farm and back in 50Ā minutes. It was suprisingly dark. Luckily, I walked the forest paths a hundred times, otherwise it would have been very hard to find my bearings a few times. On the way home I wanted to shortcut over the meadow, but then realized that there were grazing sheep. I took a detour to not wake them up. This quick walk was very well needed to blow the cobwebs away.
@prologic@twtxt.net Whoop, whoop!
One last thing, @movq@www.uninformativ.de. I really do like that interesting stuff is hosted at uninformativ.de. Not only is this great irony, but it suggests that you donāt take yourself too seriously. I love that. When I first encountered your domain I thought ā and still do ā that it is a funny name. Anyway, donāt wanna push you.
The first ladder is glued up. The second one only needs its eight mortises cut and itās ready for assembly, too. Six more to go then.