03-14-2018, 08:22 AM | #16 |
Addict
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
Enough to get JVM-based languages to work too -- had some success with getting a REPL for clojure via Leiningen to come up. (Now if the Clojure on Android project would awaken from slumber.)
Even apktool is available and seems to work. |
03-14-2018, 05:21 PM | #17 |
Wizard
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
|
Advert | |
|
03-15-2018, 09:33 AM | #18 |
Wizard
Posts: 1,138
Karma: 1577094
Join Date: Oct 2008
Device: Samsung EB60, Onyx M92, Onyx Max2
|
|
03-15-2018, 05:54 PM | #19 | |
Addict
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
I tested this lightly with:
Quote:
Code:
require 'parslet' class Mini < Parslet::Parser rule(:integer) { match('[0-9]').repeat(1) } root(:integer) end Mini.new.parse("132432") |
|
03-15-2018, 06:43 PM | #20 | |
Addict
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
Similarly:
Quote:
|
|
Advert | |
|
03-15-2018, 08:03 PM | #21 | |
Addict
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
This one the pure gem route was not smooth, but there was a .deb:
Quote:
|
|
03-15-2018, 08:12 PM | #22 | |
Addict
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
Tried the .deb:
Quote:
|
|
03-15-2018, 08:19 PM | #23 |
Addict
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
I didn't find an obvious choice for GUI, so I've punted on that one
|
03-16-2018, 05:57 AM | #24 |
Wizard
Posts: 1,138
Karma: 1577094
Join Date: Oct 2008
Device: Samsung EB60, Onyx M92, Onyx Max2
|
@Sogaiu :
Roughly, with a Max2 I can forget to take my netbook every time. Yes, it can't replace a computer, but when the aim is to study a book like Effective testing with Rspec-3, small power is enough. My old netbook is a ASUS EEE PC 1001px with only 2 cores and 2 GB of RAM. With an external keyboard, for occasional and small tests it will be sufficient. For the GUI, the package for Debian is 'ruby-tcltk', but the 'gem' exists too. A small example from A First (Real) Example : Code:
require 'tk' require 'tkextlib/tile' root = TkRoot.new {title "Feet to Meters"} content = Tk::Tile::Frame.new(root) {padding "3 3 12 12"}.grid( :sticky => 'nsew') TkGrid.columnconfigure root, 0, :weight => 1; TkGrid.rowconfigure root, 0, :weight => 1 $feet = TkVariable.new; $meters = TkVariable.new f = Tk::Tile::Entry.new(content) {width 7; textvariable $feet}.grid( :column => 2, :row => 1, :sticky => 'we' ) Tk::Tile::Label.new(content) {textvariable $meters}.grid( :column => 2, :row => 2, :sticky => 'we'); Tk::Tile::Button.new(content) {text 'Calculate'; command {calculate}}.grid( :column => 3, :row => 3, :sticky => 'w') Tk::Tile::Label.new(content) {text 'feet'}.grid( :column => 3, :row => 1, :sticky => 'w') Tk::Tile::Label.new(content) {text 'is equivalent to'}.grid( :column => 1, :row => 2, :sticky => 'e') Tk::Tile::Label.new(content) {text 'meters'}.grid( :column => 3, :row => 2, :sticky => 'w') TkWinfo.children(content).each {|w| TkGrid.configure w, :padx => 5, :pady => 5} f.focus root.bind("Return") {calculate} def calculate begin $meters.value = (0.3048*$feet*10000.0).round()/10000.0 rescue $meters.value = '' end end Tk.mainloop |
03-16-2018, 06:12 AM | #25 | |
Wizard
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
Quote:
(BTW: I was thinking about you while posting in the other thread about SD-cards: have you solved the process at work? To do the assessments on the RPi, I used a small and comfortable USB-to-SD dongle...) |
|
03-16-2018, 06:53 AM | #26 | ||
Wizard
Posts: 1,138
Karma: 1577094
Join Date: Oct 2008
Device: Samsung EB60, Onyx M92, Onyx Max2
|
Quote:
Quote:
|
||
03-16-2018, 09:33 PM | #27 | |
Addict
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
Quote:
Thanks go to mdp for starting the thread and alcedo for mentioning the debian-on-termux link |
|
03-16-2018, 09:36 PM | #28 | |
Addict
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
Quote:
|
|
03-17-2018, 07:34 AM | #29 | |
Wizard
Posts: 1,138
Karma: 1577094
Join Date: Oct 2008
Device: Samsung EB60, Onyx M92, Onyx Max2
|
Quote:
I hope it's the 'SD-Card'. |
|
03-17-2018, 07:39 AM | #30 | |
Wizard
Posts: 1,138
Karma: 1577094
Join Date: Oct 2008
Device: Samsung EB60, Onyx M92, Onyx Max2
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any interest in Kobo Desktop for Linux? | JCKobo | Kobo Reader | 356 | 05-16-2023 09:31 PM |
Difference between the Onyx Boox Max2 and Max2 Pro? | Nels17 | Onyx Boox | 23 | 06-01-2019 09:52 AM |
How to use Kobo Desktop under Linux using Virtualbox | Lucas Malor | Kobo Reader | 0 | 11-23-2013 08:46 AM |
Newer Kobo desktop than 2.1.7 for linux? | jusmee | Kobo Reader | 0 | 08-15-2012 01:42 AM |
Kobo Desktop for Linux: Update Available? | luqmaninbmore | Kobo Reader | 2 | 07-16-2010 11:00 AM |