bzah

joined 2 years ago
[–] bzah@discuss.tchncs.de 21 points 3 days ago (3 children)

I know there is a programming language called windev, all in French, just in case you want to suffer. I would except a good exception handling mechanism in a French base language.

An example from their website: ` TotalCA est un monétaire = CalculCAMoisEnCours()

SI TotalCA >= 1 250 000 ALORS LIB_Objectif= "Objectif dépassé !" LIB_Objectif.Couleur= VertFoncé

SINON SI TotalCA <= 200 000 ALORS LIB_Objectif= "Objectif non atteint" LIB_Objectif.Couleur= RougeClair FIN

FIN `

[–] bzah@discuss.tchncs.de 1 points 2 weeks ago (1 children)

Thanks, I was not aware of that.

[–] bzah@discuss.tchncs.de 9 points 2 weeks ago* (last edited 2 weeks ago) (6 children)

You may want to read the text before commenting nonsense, the French are not pleased either.

| Sales are crashing in France, Germany, and the UK [...] In France, sales of new Teslas fell by 63 percent

I don't see what justify your attack, it seems unnecessary to attack people based on their nationality. Yes, we do have a far-right issue in France, but it's pretty much the same as everywhere else in Europe and there is still a resisting left here, not all hope is lost. Also, regarding your comment below, the white flag stereotype for France comes from 2003, when the US and allies invaded and destroyed Irak, but for once France stood against the US imperialism.___

[–] bzah@discuss.tchncs.de 1 points 2 months ago

Not 100% sure but it looks like a Kona sutra SE

[–] bzah@discuss.tchncs.de 4 points 3 months ago

That's why we also need to reduce our use of pretty much everything. We can never reach zero fossil fuel used, unless we start by reducing the amount of stuff we buy/use, starting with things that currently use fossil fuels: cars, shipping, flights, plastics and so on.

Then we could use renewable energies only or nuclear only or a mix of both to power what is truly necessary for our lives.

[–] bzah@discuss.tchncs.de 1 points 7 months ago (1 children)

Nice, I will be attending if the DB is okay with that. I don't have any practical knowledge in neither Nix nor Rust but I'm interested in both so that's a great meetup. Do you know if the speakers will talk in German or in English ?

[–] bzah@discuss.tchncs.de 5 points 7 months ago

Where I was working Excel was used for the specification of scientific data. You get stuff like thousands of rows in several sheets themselves in multiple files that inherit from one another and everything is edited by hand... And I maintained a tool that combined them to create binary files from this mess. Lot of fun.

[–] bzah@discuss.tchncs.de 18 points 8 months ago

As a French living in Germany, I often take the train to visit some friends/family. I would say it's working well from Frankfurt to Lyon or Frankfurt to Paris and not too expensive if you have a Bahncard and you can plan your trip in advance. But IMO, it the least we should expect from 2 neighboring countries.

I'm very excited to see the resurgence of night trains though, I love this mean of transport in particular!

[–] bzah@discuss.tchncs.de 4 points 11 months ago

It depend on your morphology I guess: for me below 15km rides, I can wear jeans and it's fine, but above that it starts to be painful. When I'm touring I really enjoy having my cycling pant, even a cheap one does the job perfectly for me. But again, I have a quite large distance between my ischium bones, so the same may not apply to everyone.

[–] bzah@discuss.tchncs.de 3 points 11 months ago

I think that's unfair, in a city for example every equipment made for bikes, like a bridge above a road with lots of traffic or smooth road crossings, make the life of disabled easier too. I'm thinking about wheelchairs, but I guess it's true even for people who struggle with walking too. And to me, the "fuck cars" Utopia is certainly way more inclusive for the disabled than the current situation.

[–] bzah@discuss.tchncs.de 12 points 11 months ago (1 children)

It's the same for us in France. We barely get any news from Germany, apart from who is the current chancellor and the big headlines. I now live in Germany and it feels very strange to have so few knowledge of the politics of where I live (my german is way too weak for now to properly understand it)

[–] bzah@discuss.tchncs.de 3 points 1 year ago* (last edited 1 year ago) (1 children)

I found out there is actually a builtin function in telescope to fuzzy search in registers. In case someone is interested, I made this binding to access it (lua):

vim.keymap.set('n', '<leader>se', require('telescope.builtin').registers, { desc = '[S]earch r[E]gister' })

I'm not yet sure how to keep the history of deletion though.

11
submitted 1 year ago* (last edited 1 year ago) by bzah@discuss.tchncs.de to c/neovim@programming.dev
 

Fairly new neovim user here, so bear with me if I don't get everything.

I'm using neovim with Telescope and I often struggle with the following process: I want to be able to easily save my past yanks and deletions and fuzzily find the one that interest me now. Is there a way to configure Telescope to look into registers for that ?

Also, is there a way to keep the history of deletion as well ? Sometimes I'm deleting A, deleting B, deleting C and want to past A which is no longer accessible (unless I remember to put it in a named register in the first place, which I rarely do).

view more: next ›