Work, life and other detours [II]

To be fair, LSP is a moving target. Typical for Microsoft, the standard is underspecified and full of quirks and unclear corner cases. I follow some issues on Github and see the devs tearing their hair out. I don’t use LSP in vim but I am under the impression that things are about the same.

I am one of those developers tearing their hair out :slight_smile:

Ironically, LSP is not a moving target anymore because Microsoft has stopped working on anything that isn’t AI in 2023. Everything non-AI (including LSP and many of the non-AI parts of VS Code) has been mostly dormant since then.

While LSP is horribly under-specified, since LSP is essentially just a UI-independent subset of the VS Code extension API, there’s a heuristic that both clients and servers implement to decide what to do: just do what works for VS Code.

Regarding NeoVim, I think that the issue tracker is a bit misleading. I’ve found that it works really well in practice and is also pretty robust when servers deviate from the spec a little, whereas lsp-mode is still struggling with some very fundamental issues like character encodings. Sure, LSP should have never standardized on UTF-16 in the first place, but this is the world we live in now and both servers and clients need to make things work nicely for users in this reality.

1 Like

That’s a benefit of AI I haven’t considered yet :wink:

I am using eglot, and have not noticed this, AFAIK it works there. My only gripe is occasional blocking waits, so one of these days I will set up lsp-bridge.

1 Like

It unfortunately also causes a dual problem when you have to convince the VS Code developers to make a change :rofl:

Yup, IIRC eglot does not have this issue. I hadn’t noticed that it now also finally added support for semantic tokens in November (which will be released in the next version), which is great to see. It’s definitely getting there now.

1 Like

Nerd cred to you all. :nerd_face:

5 Likes

Notepad++ on Windows and Linux Mint (via Wine, works fine :blush:)

So I have been busy, and struggling with chronic, severe pain. Here are some updates.

The Lenovo is working well, the only issue being that it buzzes when attached to the charger, which only happens to my 14 year old laptop. I should check with Lenovo support at some point in the near future.

Have not decided what to do on the Linux front. In the meantime, I am using a reinstalled Windows, one that does not force me to use a Windows account, with simplewall to block all unwanted calls home.

On the processing front, no working camera yet, only cameras that come with the phone. With all the resurgence of dev happening, I could not help but do some reading (currently, Oklab and related; hence, my reminder for people to update to its slightly more precise matrix), write some pseudo notes and install gmic for future play.

7 Likes

I found OKLab/OKLCH fascinating, it is so well designed. I have been wondering about using OKLCH as the internal color space of a whole pipeline. It has such a wide gamut, which would then be compressed as desired at the end. Most operations affect either L (tone mapping, scene-referred local contrast, etc) or C/H (color grading, color equalizer, …), so it could leave the other bits alone. Or even compress a pixel to an Int32 for quick processing (14 bits L + 9 C + 9 H) while in preview.

Sorry to hear this … pain can completely take over everything sometimes. I do note that yours is chronic, so hope that in my tardiness at noticing, it has been partially eased or resolved?

Severity comes, goes and can last for weeks. The workplace does not like me taking sick days, even though it has strong commitments to those with disabilities. I do not take any breaks even when things are bad, work longer and harder than most, so if I take any, it is for good and documented reasons. It is stressful to be challenged every time I need the rest.

4 Likes

Well, life certainly took a very unexpected detour. Portugal was hit by a massive storm(stingjet 220km/h + winds), and while most of the country is fine, my district and two others were extremely damaged. Me and my relatives are fine and deaths were low(5 people directly) since it happened at night, but the damage is something else.

Some speculate higher wind speeds than registered because most metering stations were literally blown off and couldn’t register the actual speeds. The official max wind speed keeps increasing.

The grid is heavily damaged since very high voltage towers were literally bent in half, that lead to loss of water since our water stations have no standby generators. Many low voltage lines were broken or fell. This was the strongest storm to hit Portugal on record.

We were without running water and network for 3 days and power for 5. We have power but I believe someone is powering the street with a generator, the rest of the town is still in the dark. Network is still pretty weak.

Lots of old trees fell, roofs and tiles got blown off, entire pine plantations were devastated almost as if a bomb exploded in it.

I have a lot to rant about but will do it another time. Weak government response and readiness. Our district capital had no satellite communication and the government emergency communication system requires power… So the whole district was in the dark communication wise for two days and that slowed response, along with most roads being closed off by fallen trees. Don’t even get me started on the uselessness of the radio stations. After the blackout last year I purchased a radio, flashlights, and some other items for situations like these but the radio was completely useless.

Not all was bad though. Community came together and even private companies pulled their weight and allocated their resources to the task at hand.

I guess events like these expose the good and bad. Individuals of a certain group which I won’t mention, but any Portuguese or Spanish person will immediately know who I’m talking about, decided it was a good idea to steal the cables and fuel of a generator that was powering a water pumping station, depriving thousands of running water. Or fetch multiple bags of donated food and necessity items, instead of only what they needed.

Also exposed how unprepared I was for events like this. I will be making lots of purchases in the future including starlink mini as standby and setup a meshtastic node.

I guess I did rant a bit but something has to get out :smile:

9 Likes

Just wishing you all the best :pensive:

1 Like

Wow, that is double the hurricane threshold. Relieved that you were minimally impacted, but seeing the devastation and challenges in your community must be impacting you just as profoundly. Stay safe and well.

1 Like

I was thinking similarly when I was setting up my own emergency preparation package. In the end I did not buy a radio, as it is unlikely to report stuff in my locality. I settled on

  1. enough bottled water for everyone for 7 days,
  2. headlamps I already have, with extra batteries,
  3. a solar panel to charge phones and similar,
  4. hand disinfectant in sufficient quantities,
  5. fuel for my Trangia campstove (denatured alcohol).

We always have enough dried and canned food at home for about a week; taking a cue from hiking I am assuming the bottleneck is water and sanitation.

Let’s hope I will never have to use this. That weather damage in Portugal looks brutal, I hope things get back to normal for you soon.

2 Likes

I have a life straw for this purpose.

January 2024 I learned you also need to be prepared to leave quickly as well, and this is quite a different scenario than having supplies to stay and survive.

3 Likes

Thanks for mentioning it, I was not aware of the product and it will come handy for hiking. That said, in my area if we have electricity, the water would run from the tap just fine, and if we don’t, I don’t know where I would collect it unless it rains. So in my urban setting I see limited use for it, but for those who live near rivers or lakes it could come handy.

We have a small backpack dedicated for this purpose, with hardcopies of documents, water bottle, card games, powerbank, spare clothes for kids, toothbrushes, energy-dense snacks, chewing gum. This is where I keep the headlamps when I am not hiking, too. Grab and go.

2 Likes

Thank you @Macchiato17 @afre and @Tamas_Papp.

Yeah, we had some water on standby but not nearly enough food, and we also didn’t have a stove, which we managed to buy afterwards.
Will definitely start gathering some cans and dried food over the next months…

Why denatured alcohol instead of butane/propane if I may ask? Besides being more usable indoors when there’s not the possibility of open windows or good ventillation?

Indeed I also need to get some headlamps, working with a flashlight pointing at the ceiling, while it offers very good illumination, it’s bothersome for night settings or when we want to conserve battery.

Yeah, during the night when the storm was going on I was in bed waiting for it to pass and could only think of this. This and also backups, while less important of course, I was worried for my photos as I’ve yet backed up to Hetzner or other off site backup. Material stuff can be re-purchased or abandoned altogether of course.

1 Like

Yeah. The first few days were mostly okay, but as things settle it does start to take an effect on me. Mostly seeing all the fallen trees and property damage, and in places where there are people, they all have a sad, vacant look to them. Most places are still without power or reliable communications. It’s not so much seeing the damage, but seeing it everywhere, it’s oppressive and gives me new compassion for people in war zones or affected by disasters worse than this one.

Yeah, apparently it was a sting jet, a rare phenomenon and the most powerful sting jet in the 21st century. Worse than storm Éowyn that hit Ireland a year ago. We were very unprepared. Usually people know a hurricane is coming, but we were only warned of max 140km/h winds, which while bad by itself, is nowhere near the 238km/h that some stations are already reporting.

Because I had it already. For emergency preparedness where weight is not an issue, buy a gas canister solution. They are easier to regulate, have higher energy density, etc.

EDIT I would not even buy a mini stove that goes on the canister, because they are quite unstable and a fire hazard for the inexperienced, but a a flat one like this (not insisting on a particular brand, just an example, check what you have locally, especially canister availability).

1 Like

Yeah, we got one of those upright ones as a makeshift thing so we could eat warm food, but I will buy one of those flat ones eventually we almost spilled a pot with the upright one :smiley: . The one I bought uses these cartridges that are also used for blowtorches and so on, if I can find an adapter that fits in these ones it would be ideal, if not I will purchase the ones with the screw top. and a flat stove. Having two is better than one at the end of the day.

1 Like