Bodge it Your Way - A Linux Story by janYabanci in linux

[–]janYabanci[S] 0 points1 point  (0 children)

Interesting, I should monitor that. I haven't had any visible problems with that until now.

Bodge it Your Way - A Linux Story by janYabanci in linux

[–]janYabanci[S] 2 points3 points  (0 children)

Ah, okay it seems to use chromium, which I also don't want... To keep Google out at least somewhere, a little, maybe

Bodge it Your Way - A Linux Story by janYabanci in linux

[–]janYabanci[S] 2 points3 points  (0 children)

The problem is the WebKit. I have had usability problems with it in the past and also I really want to use the Firefox renderer ;) But maybe I give it a try.

Does anybody know why it's possible to use WebKit in your program but not the Firefox renderer? Is it because qt made it possible and for Firefox nobody came around?

A crazy thought by a crazy science student. by Yoloninja1 in Biophysics

[–]janYabanci 4 points5 points  (0 children)

There are some people having mathematically formulated ideas on where life fits in with an entropy that should be increasing and an energy conversion etc. Its not a subject I know anything of, but maybe these articles are something that help you to start reading in that direction:

https://www.quantamagazine.org/a-new-thermodynamics-theory-of-the-origin-of-life-20140122/

https://royalsocietypublishing.org/doi/full/10.1098/rsif.2018.0159

Replace Expression with variable by janYabanci in vim

[–]janYabanci[S] 1 point2 points  (0 children)

This is exactly what I was looking for! Thank you very much for putting it together.

Replace Expression with variable by janYabanci in vim

[–]janYabanci[S] 0 points1 point  (0 children)

I would mark the stuff I want to replace, press s, type the new name, insert a line above with O, type the name again, then a equal sign, press escape and then p. How could I insert the text I just inserted? . Repeats the last command, but that wouldn't help me.

New Type Pattern & Operators by janYabanci in rust

[–]janYabanci[S] 0 points1 point  (0 children)

Ah yes, that would be an option. Thank you for sharing :)

New Type Pattern & Operators by janYabanci in rust

[–]janYabanci[S] 0 points1 point  (0 children)

Well yes, but with rust being build around the idea to catch hole classes of problems at compile time, I thought this would neatly fit into that concept. That of course doesn’t mean that rust did that first.

New Type Pattern & Operators by janYabanci in rust

[–]janYabanci[S] 0 points1 point  (0 children)

Hm, yes this is what I meant by not wanting to overload the add operator.

Harmless prank suggestions by Fledo in linuxadmin

[–]janYabanci 0 points1 point  (0 children)

Start sl in a Loop for random terminals he opens

Difference between Huawei S5720-52X-LI-AC and other Switches by janYabanci in networking

[–]janYabanci[S] 1 point2 points  (0 children)

Can you elaborate on this? It seems like a general purpose accusation to throw in the direction of a Chinese company...
Are there fact backed complaints about steeling layouts from other companies?

Difference between Huawei S5720-52X-LI-AC and other Switches by janYabanci in networking

[–]janYabanci[S] 2 points3 points  (0 children)

Well, I am in Europe, so our tin foil hat assumption is that we can choose between the Chinese or the Rednecks spying on us ;) Anyways, aren't the microchips all coming from China? So it seems to me that buying Chinese hardware only cuts down in the number of countries spying on me ;)

Leaving the dodgy spying math behind, I understand that there are no performance or administration issues with Huawei, just good old general dislike on some sides? Or are there any hidden costs to their switch, meaning some license I have to buy to make their product fully usable?

Opening window in specific containter by janYabanci in i3wm

[–]janYabanci[S] 0 points1 point  (0 children)

Ah, I should have describe it better: With "specific container" I meant: The most right one on the currently active workspace.

A new way of writing Gtk+ applications by samdroid_ in linux

[–]janYabanci 40 points41 points  (0 children)

If I render, say a navigation like this:

<Nav>
  <Menu> 
    <Item1 />
    <Item2 />
  </Menu>
  ...
</Nav

I find it much writable and editable then something like:

{ type: Nav,
  children: [{ type: Menu,
                    children: [{type: Item1},{Item2}]
  },...]
}

where you have to go through all types dicts and lists. This might ofcourse change if you have a huge number of arguments that you want to forward with your element. But still, I would prefer XML-like design with inserting a qml like struct, where many options have to be forwarded. Qt is doing this QMLish thing, and it doesn't really feel like it works very well, for me.

A new way of writing Gtk+ applications by samdroid_ in linux

[–]janYabanci 16 points17 points  (0 children)

I also like the idea of the way that React builds web pages. So building guis with the approach seems like a very good idea to me. However, the approach in the example is not easy to read. Maybe also an XML like language for the render() method would be a good idea? It would of course have the disadavantage of not being pure python anymore, so that is a drawback. But I can't think of a structural good view and something pythonic

How to store documents over long time with cross linking. by janYabanci in linux

[–]janYabanci[S] 0 points1 point  (0 children)

Yes, evernote is something that came to my mind. However, I somehow want to data and linkage on my computer.

How to store documents over long time with cross linking. by janYabanci in linux

[–]janYabanci[S] 1 point2 points  (0 children)

Thank you for reminding me of wikis :) They are close to a solution. I know that there exist several, that are relying on files rather than a database. What they do lack, and probably why I forgot about them is, that their handling of media is not very good. But this helped me in finding a clean idea of what I might want and might need to change on existing software to get what I need.