topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • May 24, 2018, 04:06 PM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Tuxman [ switch to compact view ]

Pages: [1] 2 3 4 5 6 ... 80next
1
I remember having used ACDSee as my image viewer in the ... 90s? Looks like they killed their free version some time in the past two decades though.

2
Thank you!

3
Suggestion:
Add WriteMonkey.

http://writemonkey.com/

It may deserve its own category.

4
I always loved the idea of editors/word processors that just, or mainly, use the keyboard.

Which makes sense because they are used to write text.  :D
However, all editors and word processors have two modes, "modify" and "insert". Vim uses "modify" by default, Emacs and Microsoft Word use "insert" by default - the opposite mode is always available behind special keys. For Acme, those are on your mouse. Same same, but different.

But my work never involved working in an editor long enough to really learn that whole aspect.

I sometimes wish that mine wouldn't either.  ;D

5
Basic Info

App NameAcme
App URLhttp://acme.cat-v.org/
Supported OSesPlan 9, its forks (9atom, 9front, Harvey OS, JehanneOS et al.) and Inferno; UNIX, Linux and related operating systems are supported through plan9port. There is/was a Windows version called Acme-SAC but it does not seem to work on Windows 10 anymore.
Pricing SchemeThis is free software.
Reviewer Donation LinkGive me virtual money replacements.
Screencast Video URLhttps://www.youtube..../watch?v=dP1xVpMPn8M

Preface:

This is actually both a review and a tutorial. Please don't hurt me for partially ignoring the headline.

Intro:

After the UNIX 7th Edition which almost anything that claims to be "UNIX-like" is either based upon or inspired by had been released, the developers continued to work on it. However, the last three UNIX releases did not see much adoption: Between UNIX Version 7, released in 1979, and UNIX Version 8, released in 1985, the UCB's UNIX distribution BSD had been developed so far that it had more than twice of UNIX's system calls. In fact, the eighth UNIX was basically a reimported version of 4.1cBSD, modified to run on VAX computers.

Neither the 9th nor the 10th (and final) UNIX were ever released as a complete operating system, efforts to work on it were soon stopped in favor of what should have been UNIX's successor for operating systems research, named Plan 9 from Bell Labs, inspired by what was called "the worst movie of all times". (I will not link that.) The developers of Plan 9, mostly being recruited from the UNIX and C teams (among them, Rob Pike and Ken Thompson), continued from what they had: the graphical terminal Blit came in the 8th edition, Mk and the rc shell were there in the last UNIX version as well. Plan 9 tried to complete UNIX's approach of "everything is a file" by introducing the 9P protocol which acted as a replacement for regular APIs (including sockets and other device calls). Using the wikifs layer, even the Wikipedia could be edited as if it was a collection of files on the local machine. (Sadly, this layer does not seem to have been ported to other operating systems yet. edit: There is a FUSE version though.)

Of course, since the 70s were over, the usual computer had a real screen instead of a printer and Apple, Amiga and Atari had successfully taken Xerox's revolutionary input device, the "mouse", out of obscurity by the mid-80s, this was what was considered the best way to interact with a computer: The Plan 9 operating system, including its text editors sam and acme, was developed to be used with a three-button mouse. The designers decided that light blue and light yellow were the best colors to stare at all day, so there was not much to configure. Theming was not a thing.

This is how everything in Plan 9 - and its various distributions - looks like:

acme.png

(This is Acme running in Xming on Windows 10. I'll talk about that in a short while.)

Although Plan 9 did not convince the majority of people just yet, probably because there is no good web browser available for it (but NetSurf is said to be ported soon) and because generations of UNIX, BSD and Linux people, including me, have bragged about the efficiency of being able to use a keyboard for everything, some of its ideas (virtual filesystems, its text editors, ...) were made available to other operating systems. "Plan 9 from User Space", not a bad pun in my opinion, works on most systems - excluding Windows. But after some time spent with Acme on a different system, I want to try it on Windows as well.

The tutorial part begins.

Installing Acme on Windows 10:

Windows 10 has got support for being used as a host system for Linux applications as of today. I do not like Linux, but this is the least inconvenient way to use Acme on Windows. What we need is both an X server (Xming is still good enough, install and start it before continuing) and a Linux distribution running on the Windows NT subsystem. I chose to install the "nightly" version of plan9port via Debian. Here's how to install it. In theory, you could run any Debian desktop application with this combination now, but let's stick to the topic here.

When the Debian installation is completed, start the bash (while I prefer the csh, Windows itself only comes with a native bash.exe) and install the essential build tools:

$ sudo apt-get install build-essential xorg-dev git

If you happen to be stuck behind a proxy and the above command fails to connect to the servers, add the following text to your ~/.bashrc file (a number of editors are already installed, including nano and a version of Vim as vi):

export http_proxy=http://your.proxy:port
export https_proxy=http://your.proxy:port

Now grab and build the Plan 9 tools:

$ git clone https://github.com/9fans/plan9port.git
$ cd plan9port
$ ./INSTALL

This will take a while - not too long though. The relevant utilities will be inside /home/USERNAME/plan9port/bin then. You can reach the / folder from Windows as %localappdata%\Packages\TheDebianProject.DebianGNULinux_76v4gfsz19hv4\LocalState\rootfs\, but that will not help you much: Those are Linux binaries. (But it might or might not be a good idea to hardlink your ~ directory to where you can access it more easily.)

Prepare your bash to find both acme and your X server - add to your ~/.bashrc file:

PLAN9=/home/USERNAME/plan9port export PLAN9
PATH=$PATH:$PLAN9/bin export PATH
export DISPLAY=:0

Now you have two options in order to see the glory of Acme for the first time:

1. Restart your bash and type acme &.
2. Make a desktop shortcut for Acme which you could also pin to the taskbar and/or the start menu if you want to.

I find the second option to be notably more convenient. The command for the shortcut is:

powershell -windowstyle hidden -command "&{ bash -ic acme }"

The -i flag is important since you'll definitely want to read your .bashrc file before trying to start Acme. - As far as I could see, there is no easier way to do that without having a terminal window open all the time. Maybe Microsoft will improve this in the future.

How to use (the basics of) Acme?

The blue part on top of your Acme window contains commands ("tags") like your usual toolbar does. It is editable (I'll explain why - just read on). Middle-clicking "New" opens a new text window, "Newcol" adds a new column where you could open even more text windows. The square in the top left corner allows you to change the size of each window. By default, the text you are writing is not assigned to a file name. If you want to save it to a file, move your mouse cursor to the top left corner of your text window and write down the path. A new item named "Put" will appear in your tagline. Middle-click it to save the file. If you want to open any file instead, write down its path anywhere and right-click it. (Obvious, isn't it?) The "Putall" command will save all modified buffers which have assigned paths, by the way.

Note: Since we are in an emulated environment here, "C:\" is actually "/mnt/c". This might be important when dealing with your files.

You can either use the particular tags or - the recommended way - mouse chords for cutting, copying ("snarfing") and pasting text. Consult the documentation for a general overview. There are six keybindings, mostly inspired by Emacs's, but that's about it.

One more note: Your up/down cursor keys won't work. Use the mouse to move between lines. Scroll down to "The Good" for more surprising features.

Let us come back to the usual review now.

Who is this app designed for:

Freaks. ;D Also, Acme is an awesome developers' editor because of its near-perfect interaction with the operating system. No, it does not have syntax highlighting. Do you really need that though? Third, if you are one of those who think a mouse does not make you work any faster (or you want to convince someone of either the keyboard or the mouse), Acme could help you. Or disturb you. Or them.

The Good

Everything in Acme is text. Even the "toolbar" is text. You can not only remove existing commands (although they'll reappear), you can also add your own ones; in fact, Acme is its own command shell. You can see one example on my screenshot from above: Type a command, middle-click it and it will be executed. By default, the output appears in the "+Errors" window, but you can also inline the output by prefixing the command with a pipe.

|date

Middle-clicking that will print the current date at the cursor position. Since you probably don't want to have "|date" appear in your actual file, you can use the tag bar for that: Hover your mouse over the second bar (the one that ends with "Delcol") and enter "|date" there.

acme-bar.png

Middle-clicking it does exactly what you think it does. You can use any command there, including text manipulation commands and compilers.

Interestingly, that works in both directions. Do you remember that I have mentioned the 9P protocol in the Intro section which allows Plan 9 applications to talk to each other? Since we have installed the whole plan9port package (you did follow my instructions, right?), we can access our currently running Acme instance from Windows with the 9p command. To see what I mean, open a command prompt via cmd or something (or you could use the bash directly, but that needs no further explanation):

C:\> bash -ic "9p ls acme"

The most interesting part is behind the numbers. Each number is assigned to one text window inside your running Acme instance. You can read what is typed there by extracting the "body":

C:\> bash -ic "9p read acme/3/body"

This will print what you see on the screen in the window with the ID "3". Spooky? Not yet! You can also write into it, e.g.:

C:\> bash -ic "echo 'Hey DonationCoder!' | 9p write acme/3/data"

That will insert "Hey DonationCoder!" at the cursor position in the window with the ID "3". 8) Basically, you can control every aspect of Acme - including its tag bars, of course - using any programming language which is able to print text on the screen. This is both weird and amazing and there is no reason why no other IDE does that. Since you can control anything inside Acme from outside Acme, you could use that to write a shell script that formats your source code as well.

The needs improvement section

  • The look. I like the colors (I have set up my Emacs to use them), but I would like to have a better default font than what comes with plan9port.
  • I really want to have a native Windows version of Acme because using /mnt/c/... breaks my workflow. Mimicking 9p on Windows could be quite a huge task though... probably that's why nobody has done that yet.
  • Added: Acme does not support file/directory names which contain a space character yet. This is a known bug, it will probably be fixed.

Why I think you should use this product

Try something new? Dive into history? Show off your weirdness to your friends? Do nerdy things with nerdy software? Acme has it.

How does it compare to similar apps

Ha! Hahahaha! Haha!

Oh, well... there actually are some. A number of people have written Acme clones (usually with some Vim thrown in) for various operating systems, including "Acme for Vim":

https://github.com/driusan/de
https://c9x.me/edit/
https://github.com/p...e/plan9-for-vimspace

(Could be continued.)

I haven't spent much time with those yet, but none of those seems to have been developed with Windows in mind, so none of those is able to work around the "Needs improvement" part, at least not the standalone ones. Someone should really change that.

Added: There actually is a reimplementation of (some of) Acme minus the 9P part which might or might not be interesting for those who want to try new things:
https://github.com/as/a

Conclusions

I feel dizzy.

6
Too many customers?  ;D

7
Ah, the day on which I lose interest in writing code just to keep boredom off me will be a sad day for me.

8
That sounds like "P.S.: You're banned forever."  ;D

I thought this is a developer site where developers share their projects, so I do that. (Although this is more like an unrequested coding snack...)
Anyway, you're welcome.

9
DC Member Programs and Projects / GDPR Blocking (PHP Edition)
« on: May 04, 2018, 05:27 AM »
There is an expensive web service that makes your website GDPR-compliant by adding a JavaScript that redirects visitors from the EU to an error page.

This is my attempt to provide a simple and free PHP script for those who want to achieve the same result on server side.

Code: PHP [Select]
  1. <?php
  2. /*
  3.   Copyright © 2018 tux. <git@tuxproject.de>
  4.   This work is free. You can redistribute it and/or modify it under the
  5.   terms of the Do What The Fuck You Want To Public License, Version 2,
  6.   as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
  7.  
  8.   GDPR SHIELD [PHP draft v1]
  9.  
  10.   Prerequisites:
  11.   * PHP
  12.   * GeoIP as described here: http://php.net/manual/en/geoip.requirements.php
  13.  
  14.   Usage:
  15.   <?php require("gdprshield.php"); ?>
  16.   <!doctype html>
  17.   <html>
  18.     ...
  19.   </html>
  20. */
  21. $disallowed_countries = ["BE", "BG", "CZ", "DK", "DE", "EE", "IE", "EL", "ES", "FR", "HR", "IT", "CY", "LV", "LT", "LU", "HU", "MT", "NL", "AT", "PL", "PT", "RO", "SI", "SK", "FI", "SE", "UK"];
  22. $ip = $_SERVER["REMOTE_ADDR"];
  23. if (in_array(geoip_country_code_by_name($ip), $disallowed_countries)) {
  24.     die("Your country does not want you to be here.");
  25.  
  26.     /*
  27.       The above code displays a plain error text.
  28.       If you prefer to redirect to a full-featured HTML page,
  29.       you could delete it and use a Location header instead:
  30.     */
  31.     header("Location: GDPR_blocked.php", true, 451);
  32. }
  33. ?>

Enjoy. And feel free to extend/fix/implement it as you wish.

10
I had intended to use it before I used XenForo, then nothing, then started my own forum software (will probably not be released before 2020, given that it can't do anything just yet).  ;D So, no, I don't really use it. But I had some friendly encounters with the devs, I was one of the first German translators, and I like how well they respond to feature requests. ElkArte was the first forum software which crossed my ways and had built-in OpenID support. :) It rose from the ashes of SMF when they made it Free Software and it is the only one of the six or seven subsequent forks that still sees public releases every few months. SMF has moved on, sure, but ElkArte has some former SMF devs and much less bureaucracy. Yet.

Nevertheless, I regularly talk to one of Elkarte's core devs on the IRC. One of our recent encounters reminded me that one feature was missing from ElkArte, so I basically wrote a PHP port from my blog software. No real development work required, only programming. That was worth the time anyway, I guess.

11
I was bored.

Screenshot.png

Official support thingy.
(Does this still count as a viable NANY item for 2019?  :-[)

12
You should have asked an app!

13
When I was talking about an application which I prototyped as a web service, I was talking about this:
https://tuxproject.d...ects/decision-sieve/

From the FAQ:

Generally spoken, this is a web service that will help you filter your bucket list. If you have a limited budget or you need to limit your shopping to a certain number of things, the Decision Sieve can help you clean up your list to a reasonable amount. I actually wrote it to decide about which whisky to buy - and it helped me a lot.

Here's the ugly source code. I'll probably procrastinate doing it "right". Also, I suck at CSS.
Enjoy or something.

14
The use case is that I want an application which helps me throwing a dice to reduce my shopping list from 30 to 15 or so items. Basically, by randomizing the list. (With additional parameters like "low/high priority" and "price per item / total budget". But that's the smallest part of the code as of now.)

The major advantage of my prototype is that it's already finished. The disadvantage is that it requires Javascript. Or, more generally spoken, it works on almost every OS and device, but it could be more efficient in terms of general security (I'm not really a fan of Javascript, as you might see) and performance when written natively.

15
What would you rather use and why?

I prototyped a new project (basically, a decision helper) in Javascript and ugly CSS and I need an idea if it would be worth the additional effort to reimplement it as native applications. (Platform-independent, of course.)

16
Mini-Reviews by Members / Re: BazQux Reader - Mini-Review
« on: April 19, 2018, 02:02 PM »
When the Google Reader - the only Google product that was ever worth my attention - was shut down, I tried a lot. BazQux was among that lot. But I somehow had settled to NewsBlur, don't ask me why.

Maybe, when it shuts down one day...

17
General Software Discussion / Re: The Bat! advice needed
« on: April 18, 2018, 11:49 AM »
Ah.
I bought the Pro version a couple of years ago. Sorry.

18
General Software Discussion / Re: The Bat! advice needed
« on: April 18, 2018, 11:46 AM »
There's no (free) spam filter available either. Hmph.

There is AntiSpamSniper Free...

19
General Software Discussion / Re: The Bat! advice needed
« on: April 18, 2018, 11:26 AM »
Sounds like you want Claws Mail instead.
Frankly, The Bat! is awesome but a couple of things can't be configured.

20
Ew: OneNote (the non-UWP application) is discontinued.
https://techcommunit...-Windows/ba-p/183974

21
No, there is no UI for that. You can change it in the constants.h file if you wish. Or use hardlinks.

22
The RSS parser is still actively being maintained. I have just added an export functionality, so it can export the INSERT command for single feeds in case you want to migrate single feeds to a new database.

23
General Software Discussion / WINFILE is back
« on: April 09, 2018, 01:22 PM »
Finally, Microsoft came to the conclusion that people could want a multi-window file manager on Windows 10. :)
https://github.com/microsoft/winfile

24
Living Room / Re: Evernote new behavior
« on: April 05, 2018, 01:38 PM »
I left Evernote for OneNote which is not even remotely as spammy.

25
Ah, that explains the support request on Twitter.

edit:

A browser extension is only available for Google Chrome, but it may work in Firefox as well.

 :huh:

Well, they almost got it right.  ;D

Pages: [1] 2 3 4 5 6 ... 80next