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

help-circle
  • The executable will search for .so files not inside predefined paths like /usr/lib but inside it’s current directory. You may theoretically put . as an argument to configure, but it converts that into an absolute path, snd libtool and linker fail when encountering relative paths inside shared library dependencies.


  • I am using this myself in Android app, where you can write files only inside /data/data/your.app.id/

    So naturally, if you want to publish a different app, your.app.id will be different, so you need to recompile all your Linux tools that you bundle inside your app.

    If you are not running your Linux tools on Android, you’d probably be better off using Docker or a chroot.








  • 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.










  • It’s perfectly possible on Linux to have several network adapters with the same IP address, or several default routes.

    Most server applications will listen to 0.0.0.0 address, which means all network interfaces. Any incoming TCP connection will remember it’s network interface, and the server will send responses to the same interface.

    This will not work for UDP connections, and for outgoing TCP connections - they will always choose the network interface with the lowest metric, which you can print with ip r command.

    This does not include advanced techniques like bridge or bonding or iptables routing - you need to run special commands in the terminal, which you cannot do just by clicking your mouse in system settings app.