News for hackers. Stuff that matters.

fredrikfornwall

The situation is actually not that bad - see https://www.reddit.com/r/termux/comments/1dbujal/information... for more follow-up information.

TL;DR: Termux is coming back to Google Play! While it's currently missing some features and have some rough edges due to more restrictive Google Play requirements and feedback from the review process, it will be fleshed out over time.

Ask HN: How dangerous is source code access?

For a small startup whose product requires source code access (think static analysis as a CI service), how dangerous is it having access to the (non-open) source code of commercial customers?How do we protect ourselves from the risk of a "IP troll" trying to earn money by claiming that we have used their source code, looking for similarities between their code and ours if it comes to a court?We...

( Read More... | 1 comment | 8 points | on HN )
Re:Are triggers really that slow in Postgres? on Wednesday May 23, 2018 @02:06AM (#17131749)
A properly written trigger shouldn't throw away data silently.

It should raise an exception, which indeed would cause the query to fail, and roll back the whole transaction (so no side effect is committed at all).

https://www.postgresql.org/docs/current/static/plpgsql-error...

Note that you can use mosh on Android using Termux (https://termux.com) - run 'apt update && apt install mosh' to install the mosh package.
Re:RemixOS – Android for the desktop on Friday January 08, 2016 @01:26PM (#10866990)
When you 'apt install coreutils' in Termux you get coreutils installed as a multi-call binary to save space. 1556 kB for the package in total (including man pages).
Great, thanks :). Let me know if you miss any font or colour theme from it!
Great! Yes, I've been experimenting with ARM64 packages, will look at it more when things settle down a bit.

Nice, let me know if there is a font or colour theme you miss from it!

Thanks - this is now fixed, if you do an 'apt update && apt upgrade' it should now work!
Correct, it won't work for secondary users! It's a trade-off for avoiding a fake chroot.
Thanks! Is it the make program itself which tries to run /bin/sh, or does it try to run a file from a project which has a #!/bin/sh start?

If it's GNU make itself which tries to call /bin/sh directly, that could be patched from my side. But if it is a script from a file, you have to make the shebang replacement #!/bin/sh -> #!${PREFIX}/bin/sh yourself on all script files to be executed - there is a simple termux-fix-shebang script installed by default for that!

Yes, the repository is an app-specific one, containing cross compiled (and sometimes patched) packages to run directly without chroot. Just tell me about desired packages (such as picolisp) and I will look into adding them!
I think TerminalIDE is rather similar, with Termux having more up-to-date packages and terminal emulation.

Since Termux requires Lollipop or later, and TerminalIDE only works on Android versions prior to lollipop, TerminalIDE could be an alternative for devices running older Android versions.

Thanks for trying it out - let me know if you have any suggestions for improving the app!

Thanks, KBOX have been one of the inspirations for the app!

The main technical difference between how Termux and KBOX runs packages is that is that KBOX uses libfakechroot for running binaries under a fake chroot environment, while Termux runs without a chroot, having instead patched the packages to live under the file system hierarchy enforced by Android.

Besides that, the ambition is that Termux should give a more "out of the box" user friendly experience directly after installation to encourage newcomers to the world of terminals :).

Thanks! I'll think about making the source more obvious in the store listing or the app interface.
Yes, Android 5.0 or later is required due to the libc changes made in lollipop. It also requires an arm(64) or x86(_64) cpu - no mips support at the moment!