0101100101

joined 3 days ago
[–] 0101100101@programming.dev 2 points 1 day ago* (last edited 12 hours ago) (1 children)

Thanks for your response.

should never embed classes within other classes)

Why is this? I have to admit that coming from other languages, it feels dirty, but is there a pythonic good reason for this? The class 'belongs' to the FoldableDockWidget class, so I figure it's the best place to put it.

I got one for my wife and she loves it.

Sounds like decent grounds for a divoce

This looks awesome - thanks! What's the all-in price?

[–] 0101100101@programming.dev 2 points 1 day ago* (last edited 1 day ago)

Thanks. I wondered why I instinctively text-transformed the title of the widget to uppercase! I commented it out thinking perhaps it doesn't look grammatically correct! Reduced the font size a bit and I think it looks a heck of a lot better now!

[–] 0101100101@programming.dev 2 points 1 day ago* (last edited 1 day ago) (1 children)

Qt automatically handles the conversion of QDockWidgets into tabbed docked widgets when one is dragged over an existing one.

I have a little demo video, but I have no idea where to upload it to!

what's "large" and what's "cheap"?

 

I'm working on a project that needs lots of toolbars on screen at once, even though not all of them will be used at the same time. So, I'm modelling this 'foldable' dock widget after what I remember Photoshop panels used to be like.

It's a work in progress, but would like to hear constructive suggestions.

https://blocks.programming.dev/0101100101/42c5d67f86c049baa3500aa38e439f8a

If the internet is gone I have no need for a Linux box.

Linux isn't dependent on the internet FYI. It doesn't send telemetrics data to Microsoft for example.

[–] 0101100101@programming.dev 0 points 1 day ago* (last edited 1 day ago)

If you're going to print something, just buy a book. It's much cheaper and you don't have to deal with the carcinogenic effects from the printing.

Online guides are often poorly written.

[–] 0101100101@programming.dev 2 points 1 day ago* (last edited 1 day ago)

Also forgot to point out, you can buy keys with a transparent cover over the top on ali so you can shove a piece of paper underneath the transparent bit to use as labels.

https://ae-pic-a1.aliexpress-media.com/kf/Sa64d09e1337e4dbe8ab64b7194aa790cF.jpg_220x220q75.jpg_.avif

[–] 0101100101@programming.dev 3 points 1 day ago* (last edited 1 day ago)

Amateurs. I use butterflies.

https://xkcd.com/378/

[–] 0101100101@programming.dev 2 points 1 day ago (1 children)

I get this, but an IDE should be invisible and grow as you do and not require you to learn lots of janky things before it becomes a little bit useful for you.

Need the basics, great, here they are. Don't understand some advanced feature? Well the IDE has it here, but it isn't in your way, mess with it as and when you want. It'll still be there.

I don't think one IDE does everything for different languages and its ok to swap editors depending on your workflow, your project and your ever-changing skillset.

 

Might as well help get this channel off to a flying start!

What's your favourite switch (key type) and why? What would you like to try but haven't yet and what have you tried but wasn't for you?

I'm using Mate and it allows me to easily define custom shortcuts to open apps and so on. I suppose autoIt / the linux variants / custom script can add additional functionality to the keypad as well!

 

Working on a class that I'd like to use in a library (not for work) and think I'd appreciate external opinions!

If not, where else could I post code for critique? Thanks

 

They're noisy, clacky, impossible to use in an office, in your house without headphones, perhaps even annoying neighbours, need effort to make them work on USB, so why do people love them so much?

I've tested two. Didn't like them because sometimes if you don't hit the keys head on, they move a bit to the side with the spring and that's jarring on your fingers.

Where do you stand on the debate?

Also, first post, so what better a topic!

 

A great way to learn the basics. It'll be old, but that's ok. It's going to cover all the shell basics and then more. It's still going to be useful, it'll cost you pennies, you'll be able to dip into it when you want, and you'll be giving to a good cause.

 

Macro keyboards are mini programmable USB keyboards that can be pressed to trigger shortcuts, a sequence of keypresses etc. They can have several layers so switching to a different one will trigger different keypresses from the same key, so e.g. different IDEs can be represented.

I've just bought one with a view to setting up shortcuts for debugging. Each IDE has its own unique keys for navigating through the code, so I figure it'll be nice to just press one key to start debugging and one key to step into instead of a combination of ctrl+whatever etc

Do you use one? If so, what do you use it for and what size do you use? Is it too big / too small?

view more: next ›