• 3 Posts
  • 487 Comments
Joined 3 years ago
cake
Cake day: July 3rd, 2023

help-circle





  • TreeView is designed as an afterthought. Some manager at MICROS~1 was like ‘ah yes we need an expanding nested list widget by tomorrow’ and they mutilated text edit box to draw text lines that expand when you click them. It does not have keyboad focus. It can only be operated with a mouse. It does not have shadow or raised widget borders. It has black text on white background, while every other widget has Windows Gray background.

    The proper UI would be a separate button for each label, like multiple hierarchical combo boxes.









  • Huh, I actually forgot cat is used to join several files together. Last time I needed to concatenate two files, I did

    { cat file1 ; cat file2 ; } > output
    

    But the most valid case is when I want to unpack .gz or .xz archive but do not want to delete the original file, as xz -d will do by default. So I naturally do

    cat input.img.xz | xz -d > output.img
    

    I’ve heard rumours that xz has a special option to not delete the original file, but I know no one brave enough to search through the xz manpage.




  • I guess you just need to know the right people. The whiteboard interview process has been broken for many years, yet no one wants to fix it, because it favors companies and gives recruiters plausible deniability. For me it was either getting hired on the spot after submitting CV and meeting the project manager, or rounds of useless interviews with 100% rejection at the end.




  • The education can be very hit or miss. The best way to learn is to work on an actual embedded project, as a junior or whatever, but you need to have at least some skill, so - hobby projects.

    Universities with CS programs tend to teach generic programming and algorithms, but no skills how to assemble your own robot. If you choose some practical courses in a trade school it would be better, but again, many commercial courses stop being useful after first two months, because teaching people is less profitable than actually working, so the teachers do it by the book.