topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday April 19, 2024, 8:18 am
  • Proudly celebrating 15+ 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: prev1 2 [3] 4 5 6 7 8 ... 98next
51
Living Room / Re: ChatGPT Adventures
« on: December 14, 2022, 06:45 PM »
I'm surprised no one seems to have mentioned ChatGPT here yet.

ChatGPT requires an OpenAI account which, in turn, requires my phone number for no good reason at all. Pass.

52
Found Deals and Discounts / Re: WordPerfect Office 2021: 60% off
« on: November 29, 2022, 11:09 AM »
It does, and Corel slowly starts to care about it again, or at least they actively ask for feedback now. :)

53
Found Deals and Discounts / WordPerfect Office 2021: 60% off
« on: November 27, 2022, 07:01 PM »

54
Coding Snacks / Celsius <-> Fahrenheit in PowerShell
« on: November 22, 2022, 05:15 PM »
I had a request to myself: I want to convert Fahrenheit <-> Celsius on Windows without having to install a whole bunch of GNU utilities (which would have been the easiest way, I presume). So I wrote a converter for Powershell which I use anyway. :)

Code: PowerShell [Select]
  1. function FtoC([double]$fahrenheit) {
  2.         $celsius = ($fahrenheit - 32) * (5/9)
  3.         "{0} °F = {1} °C" -f $fahrenheit,[math]::Round($celsius,3)
  4. }
  5.  
  6. function CtoF([double]$celsius) {
  7.         $fahrenheit = ($celsius * (9/5)) + 32
  8.         "{0} °C = {1} °F" -f $celsius,[math]::Round($fahrenheit,3)
  9. }

Usage:

> FtoC(32)
32 °F = 0 °C
> CtoF(0)
0 °C = 32 °F

55
Mini-Reviews by Members / Re: Nushell, "a new type of shell".
« on: November 04, 2022, 10:23 PM »
The UNC problems mentioned in the "needs improvement" section are probably gone with the next version (0.71):
https://github.com/n...ll/nushell/pull/6824

Needs to be verified yet.

56
Good news, everyone:

Today, we’ve filed a class-action law­suit in US fed­eral court in San Fran­cisco, CA on behalf of a pro­posed class of pos­si­bly mil­lions of GitHub users. (...) By train­ing their AI sys­tems on pub­lic GitHub repos­i­to­ries (though based on their pub­lic state­ments, pos­si­bly much more) we con­tend that the defen­dants have vio­lated the legal rights of a vast num­ber of cre­ators who posted code or other work under cer­tain open-source licenses on GitHub.

Yeah!

57
General Software Discussion / Re: Listary 6 released
« on: October 17, 2022, 07:29 PM »
I am curious to see how this release looks in that regard.

I guess that a bug report would do.

58
General Software Discussion / Re: Listary 6 released
« on: October 17, 2022, 07:28 PM »
In case nobody else has noticed, Listary 6 has been released, after a four-year gap.

According to the developer, he has stopped using Windows, so I wonder how he'll manage to not leave Listary again.

59
Mini-Reviews by Members / Nushell, "a new type of shell".
« on: September 11, 2022, 06:54 PM »
*Basic Info

App NameNushell
App URLhttps://www.nushell.sh
App Version Reviewed0.67.0
Test System SpecsWindows 11 with the Windows Terminal
Supported OSesLinux, macOS, and Windows (officially).
Support MethodsDiscord and GitHub (no account-free support, it seems).
Pricing SchemeFree software.
Reviewer Donation LinkGive me money!
Relationship btwn. Reviewer and Product None at all.

Intro:

Unlike other operating systems, Windows has a quite limited number of available command shells (minus the WSL). I have also said in the past that, three decades after the Plan 9 operating system was first released, I think that virtual teletypes ("terminals") are not really the way to control a computer in the 21st century anymore.

Nushell - one of those "look, we develop code in Rust!" projects, as if the language was sufficiently relevant - aims to be a "modern" shell which tries to go new ways: Instead of the classical Unix philosophy "everything is text", everything is a sortable, filterable object in Nushell, even results from remote APIs. That makes a lot of things easier if it's done right. Now is it?

WindowsTerminal_NRzCI5Vb16.png

Who is this app designed for:

People who actively work on the command line and would like to have a shell that has more modern constructs than just text, e.g. JSON from an API.

The Good

In theory, the shell works rather well: Right after its installation (I used Windows's package manager: winget install nu), it will add itself to the Windows Terminal (so you can make it your default shell if you like), display a startup screen (which contains information on how to remove it - basically, you'll need to edit the shell's configuration file which is documented quite well) and not get in your way. Even basic commands (like "ls", as seen on the screenshot) can make use of the object-based processing, but also the output of arbitrary external applications like Rust's Cargo can be parsed without a problem.

Windows-native shell built-ins like "dir" and "del" won't work though - "dir" and "del" are not valid applications. This should be less of a problem if you already use(d) PowerShell and/or a Unix-like operating system which also knows the "ls" and "rm" commands. (Note that Nushell's built-ins behave differently from their POSIX counterparts, but the help system is pretty good.)

As we're talking about the help system, this is also a quite good feature of the Nushell: While conservative shells usually have the verbosity of the ed text editor when you make a mistake, Nushell will guide you towards fixing your input.

WindowsTerminal_qBGeCEzgu9.png

The needs improvement section

A few things are still broken on the Windows version of Nushell; for example, you can't use it with a non-mapped network drive because of a quirky dependency, and a few other commands which work just fine in a PowerShell window lead to unforeseen errors as well. Windows is not a primary target for Nushell yet, but they're slowly getting there.

All we can do is report all problems which occur on our systems. :)

Why I think you should use this product

Try something new, finally work with long lists efficiently, maybe even help the developers make Nushell a good alternative. :)

How does it compare to similar apps

I think that the number of "similar" applications is roughly 0 - most shells, even "modern" ones like Elvish, stick to the classical approach of having (relatively) unstructured text as the only input and output format. While that approach has its advantages, Nushell is different; also, the fact that it works natively on contemporary Windows systems makes it stand out.

Conclusions

Nushell is a solid alternative command shell for Windows (and other operating systems) which needs a few more weeks to mature. I can imagine using it as my primary shell once its most obvious itches have been scratched.

60
N.A.N.Y. 2023 / NANY 2023: zb, a zip blog
« on: August 29, 2022, 06:04 PM »
NANY 2023 Entry Information

oh look, it's "that weird console guy writes a blog software again" day! but this time it's in lowercase. in fact, it is so much lowercase that i even post this in lowercase!

Application Name zb
Version n/a
Short description a self-contained blog software
Supported OSes all that run rust
Web page https://code.rosaelefanten.org/zb
Download link attached
Author hi.

description

this is my approach at creating a self-contained website. the whole site will be embedded as a zip archive right in the server binary file, so it is probably the most portable website you'll ever have.

one of zb's unique features it that it will render html, markdown and org-mode files, so if you prefer to write .org files instead of html, zb has you covered.

motivation

i first saw the concept of single binary websites in ted unangst's blog where he complained that go couldn't do this just as easily, because of its broken support for embedded zip files. as i play with both go and rust every now and then, i thought "how hard could it be to do it in rust?".

quite surprisingly (for me), it wasn't really hard at all.

how do i use this?

you'll need a zip file, containing your website. for the default start page, zb will search for one of the following files in the root path:

1. index.htm
2. index.html
3. index.md
4. index.org

if you prefer to use a different file name, you can pass --defaultpage name.ext when starting the application.

everything else in that zip file can be any file of your choice. relative references between them will work. (if they don't, please file a bug.)

first steps...

- use the attached zb.exe binary or

- install rust, then build zb with cargo:

fossil clone https://code.rosaelefanten.org/zb
cd zb
cargo build --release

now, concatenate your zb.exe with your zip file. assuming your zip file is named index.zip:

# powershell
cmd /c copy /b .\zb.exe+.\index.zip .\final-site.exe

# cmd
copy /b .\zb.exe+.\index.zip .\final-site.exe

once done ...

run the concatenated binary (in this example, final-site.exe) and your website will be delivered from port 8000. (you can change that: final-site --port 8081 would make it run on port 8081 instead.) from now on, every time you want to update your website, just create a new zip file and repeat the concatenation. (it should be easy to automatize that task.)

automatic converted html routing

it is important to note that the file extensions for .org, .md and html files are optional, so the file stuff/demofile.md can be reached over localhost:8000/stuff/demofile as well.

the search order for all files is:

1. /[path]
2. /[path].md
3. /[path].org
4. /[path].htm
5. /[path].html

planned features

none, but i accept patches.

tips

don't try this at home.

61
N.A.N.Y. 2023 / Re: NANY 2023 Section is up
« on: August 29, 2022, 05:44 PM »
The preset still says 2021.

62
I pushed an update that adds support for eBay's amdata and _trkparams parameters.
Prebuilt binaries: https://cdn.tuxproje...ects/clipurlcleaner/

63
N.A.N.Y. 2018 / Re: NANY 2018 Release: Dualcopy
« on: July 26, 2022, 09:31 PM »
Does Dualcopy support command-line scripting (e.g. "to move, open dualcopy.exe FileIn FileOut")? I wonder how well it integrates with file managers which do not rely on Windows shell extensions. (Background: After 10 years or so, I installed TeraCopy Pro on one machine again, FastCopy on another, and I can't decide...  ;D)

64
After having considered to just use text files for over a decade, I finally migrated my OneNote notes (not really more than project ideas and blog drafts, but they can be quite long these days) to plain text; Markdown, not org-mode, because Markdown just has better support, despite the inferior syntax.

I currently use a combination of Nextcloud (which I don't like much, but I use too many of its features already) for storage, Nextcloud Notes for managing my notes in a web browser, QOwnNotes for using these notes on Windows and, well, a selection of text editors for everything else. I gave Notable a spin before I settled with QOwnNotes, but Notable seems to expect me to store a note's "categories" right in the Markdown file which is annoying when editing them outside Notable.

QOwnNotes seems to be able to do much more than I need, but it plays well with Nextcloud and it won't clash with other tools, which is nice.
It'll take weeks before I finally am happy with my configuration. Ah, so many new knobs... :)

65
N.A.N.Y. 2021 / Re: NANY 2021: yaydl
« on: July 26, 2022, 09:21 PM »
There will be a major refactoring, killing all unsafe code, some time later. I finally got a contributor! :)

66
IIRC ShareX always had ZScreen’s features. But I might be wrong here.

67
Trying Screenshot Captor for the first time in quite a while  ;D - just wondering:
What's the point of supporting ShareX as an uploader? As far as I can see, ShareX (which I've been using since its ZScreen days) does quite the same thing as Screenshot Captor, including most (or even: all?) of its features. What would be the advantage of having both tools installed and running?

68
General Software Discussion / Re: The End of the Atom Editor
« on: June 21, 2022, 11:04 AM »
Finally, everyone can wholeheartedly migrate to Acme.

69
Oh, this is surprising.

70
remv 2.0.0 comes with a new (internal) API - parameters are now passed in a struct - and the new "f" flag to only replace the first match in a name. :)

71
N.A.N.Y. 2021 / Re: NANY 2021: yaydl
« on: May 25, 2022, 04:56 PM »
0.10.0 is released and published:

yaydl 0.10.0, on the road to 1.0.0:
* New feature: Playlist support for handlers! Might fix issues like #1.
* New site: xHamster. (Uses the new playlist support. Yay!)
* The WebDriver port can be set as an environment variable now to save some typing.
* The progress bar is now cleared after a download is finished.
* cargo will now strip the resulting binary when compiling in release mode.

 8)

For those following the development: This does mean that yaydl can now handle sites that use .m3u8 playlists with .ts segments! :)

72
N.A.N.Y. 2021 / Re: NANY 2021: yaydl
« on: May 23, 2022, 04:00 PM »
Glad you like it! :)

73
N.A.N.Y. 2021 / Re: NANY 2021: yaydl
« on: May 23, 2022, 03:35 PM »
I prepared new features, by the way: yaydl 0.8.0 can use Chrome or Firefox to parse websites. Good for some porn sites.  :P

74
General Software Discussion / Re: Contra Chrome
« on: April 17, 2022, 04:40 PM »
No shortage of good, privacy oriented Chromium browsers.

True, I recommend Vivaldi.

75
General Software Discussion / Re: Contra Chrome
« on: April 17, 2022, 10:08 AM »
Well, your loss.

Pages: prev1 2 [3] 4 5 6 7 8 ... 98next