I excited to announce Notepad.exe 1.0! It's a fantastic notepad that empowers you to execute your code seamlessly. #Swift #iOSDev

https://notepadexe.com

@krzyzanowskim 1 star, doesn’t run on Windows.
@helge ★★★★★ have mercy
@krzyzanowskim It’s actually great, good job!
But bringing this to Windoze would indeed be next level!
@helge I don't think I'm that bored human haha
@krzyzanowskim The website looks so fricking like someone is trying to prank me that I had to check the calendar if it wasn’t April 1st by chance.
@johankool this is Prince Allmud II speaking, send money!!
@krzyzanowskim Feature request: swift-sh style package references, like say:
```
import MacroExpress // @Macro-swift
import WebView // @kylehickinson
```
https://github.com/mxcl/swift-sh
Commits · mxcl/swift-sh

Easily script with third-party Swift dependencies. - Commits · mxcl/swift-sh

GitHub
@helge until then File/Project Settings and you can add packages there
@krzyzanowskim Yes, the feature request is for adding the swift-sh variant, which is great.
@krzyzanowskim super excited to try it out! I’m not seeing a way to try the “free ride with serious annoyances”: it immediately asks for a license at launch and otherwise quits.
@pretz there is a puzzle to solve. are you being curious enough?
@pretz @krzyzanowskim Yeah I failed this test too
@mackuba @krzyzanowskim just think about how much annoyance are you willing to put up with
@pretz @mackuba I was thinking of a moving button that could not be pressed to close the window, but I did not find enough time to realise this vision.
@krzyzanowskim Congrats! Nice to see it in the wild!
@krzyzanowskim the website say I can try it out but when I run it it immediately want me to buy a license with a blocking modal.

@krzyzanowskim I think it's angry that I don't use bash or zsh…

Unknown option: `-lc'
Usage: tcsh [ -bcdefilmnqstvVxX ] [ argument ... ].

@siracusa what do you use? Let me fix that.
@siracusa ah, tcsh. these rebels. Wait I need to test that first.
@krzyzanowskim I've been using tcsh since 1993! I'll probably change someday…
@siracusa no worries, I'll figure out something. that one does not allow -l and -c together. give me 30 min.

@siracusa you made it to the codebase. also, this is the first time in my short life I encountered tcsh

if you download again, the build 1.0.749 has it ;) sorry for the inconveniences.

@siracusa if that archievement won't make it to the atp, nothing would. enjoy 🙂

@siracusa @krzyzanowskim What are the benefits of tcsh over bash or other ancient shells? I mean: they all seems the same for me: zsh, csh, bash, tcsh...

Today we have few more modern shells, like fish or nushell that at try new things and have much more sane scripting - but using one of those "sh compatible" shells always seemed pointless to me 🤔

@kkolakowski I’m using tcsh because it’s what I’m used to, not because it’s better.

@siracusa Yeah yeah, I get it - but I'm curious to what exactly you're used to 😅 I mean - for me, all of those „old" shells are basically the same - "original" sh with some extensions.

Does tcsh have some extra features that for example bash or zsh doesn't have and it would make your scripts incompatible? 🤔

@kkolakowski No scripts, just setting: dot files with aliases, key bindings, etc.

@siracusa I get it 👍

BTW: I just read & experiment a bit more - and apparently tcsh (and csh before it) have completely different scripts syntax than bash (a bit more like C, which is a bit more readable for mot people probably?) 😅

So my mistake... also indeed it might be quite incompatible with bash, even for some command line one liners.

@siracusa @krzyzanowskim I am still stuck on bash, despite Apple’s repeated attempts to move me over to zsh

@Migueldeicaza @siracusa @krzyzanowskim

I use zsh on my Mac!

The zsh on my Mac:

% ssh linux-vm
bash$

@Migueldeicaza @siracusa you install it separately, or depends on the old one that comes with macOS?
@Migueldeicaza @siracusa @krzyzanowskim Even though I do use zsh, I have too many old bash scripts, some dating all the way back to mklinux. Hence, bash is one of the first things I install after every macOS update. My FreeBSD servers default to bash anyway. Nothing to be done there!
@Migueldeicaza @siracusa @krzyzanowskim I don’t fight it but zsh is such an annoyance.

@Migueldeicaza @siracusa @krzyzanowskim Guys - give some more modern shell a try: fish for example 🐟 https://fishshell.com

You can keep your old scripts and simply run it via „bash" command line or via shebangs - that's not a problem 🤷‍♂️

fish shell

A smart and user-friendly command line shell

@siracusa How difficult is it to change the shell in macOS and what are the advantages compared to zsh?
@_holger It’s easy to change shells. I’m using tcsh because it’s what I’m used to, not because it’s better.
@siracusa @_holger fwiw, I use zsh in Terminal and keep iTerm around set to bash. so... I never fight these things. Learned from Ubuntu /bin/sh being "dash", not "bash"
@krzyzanowskim Congratulations! This looks amazing and I love the website
@codecaffeine appreciated, did you try it already?
@krzyzanowskim Congratulations! Real artists ship! 👨‍🎨

@krzyzanowskim Looks awesome, but curious if it does or will supports tests?

A very common use of my current 'Test' project, that this would replace, is pasting in tests from various Swift Slacks to help people debug issues.

@brzz only if you can setup test in a single self contained executable. that's not a tool to run test suits from other places

@krzyzanowskim it's usually just a one off Swift Testing @\Test or sometimes two contained in a @\Suite.

This is my current simple 'Playground' structure that I could imagine your tools replacing, but maybe I'm trying to fit a square peg in a round hole?

@brzz no xctest support. I can imagine swift-testing work, as a SwiftPM dependency. Not a scenario I checked so far. There may be today something missing along the way.