profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/tbodt/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Theodore Dubois tbodt @google https://tbodt.com I write lines of code that sometimes work and sometimes fail spectacularly. It's more fun when they fail spectacularly.

ish-app/ish 9904

Linux shell for iOS

tbodt/deoplete-tabnine 221

Deoplete source for TabNine

tbodt/crocodile 105

Discord client for TempleOS

ish-app/ish.app 51

The iSH website

ish-app/libapps 14

Fork of https://chromium.googlesource.com/apps/libapps/

katattakd/KatOS 8

A lightweight 64-bit GNU/Linux distro for servers.

jD91mZM2/chess-minimax 6

A chess bot written in Rust using the minimax algorithm

tbodt/AltStore 4

AltStore is an alternative app store for non-jailbroken iOS devices.

tbodt/crossover-wine 3

The source code for the version of Wine used in Crossover.

Pull request review commentish-app/ish

Add Ability to Toggle Status Bar

 extern NSString *const kThemeBackgroundColor; @property BOOL backtickMapEscape; @property BOOL hideExtraKeysWithExternalKeyboard; @property BOOL overrideControlSpace;+@property BOOL showStatusBar;
@property BOOL hideStatusBar;
c0dine

comment created time in 3 hours

Pull request review commentish-app/ish

Add Ability to Toggle Status Bar

 - (instancetype)init {             kPreferenceDisableDimmingKey: @(NO),             kPreferenceLaunchCommandKey: @[@"/bin/login", @"-f", @"root"],             kPreferenceBootCommandKey: @[@"/sbin/init"],+            kPreferenceShowStatusBar: @(YES),
            kPreferenceHideStatusBar: @(NO),
c0dine

comment created time in 3 hours

Pull request review commentish-app/ish

Add Ability to Toggle Status Bar

 - (instancetype)init {             kPreferenceDisableDimmingKey: @(NO),             kPreferenceLaunchCommandKey: @[@"/bin/login", @"-f", @"root"],             kPreferenceBootCommandKey: @[@"/sbin/init"],+            kPreferenceShowStatusBar: @(YES),         }];         _theme = [[Theme alloc] initWithProperties:[_defaults objectForKey:kPreferenceThemeKey]];+        // [[NSNotificationCenter defaultCenter] postNotificationName:@"updateStatusBar" object:nil];     }     return self; } +- (BOOL)showStatusBar {+    return [_defaults boolForKey:kPreferenceShowStatusBar];+}++- (void)setShowStatusBar:(BOOL)showStatusBar {+    [_defaults setBool:showStatusBar forKey:kPreferenceShowStatusBar];+}+
- (BOOL)hideStatusBar {
    return [_defaults boolForKey:kPreferenceHideStatusBar];
}

- (void)setHideStatusBar:(BOOL)hideStatusBar {
    [_defaults setBool:hideStatusBar forKey:kPreferenceHideStatusBar];
}

c0dine

comment created time in 3 hours

Pull request review commentish-app/ish

Add Ability to Toggle Status Bar

 - (instancetype)init {             kPreferenceDisableDimmingKey: @(NO),             kPreferenceLaunchCommandKey: @[@"/bin/login", @"-f", @"root"],             kPreferenceBootCommandKey: @[@"/sbin/init"],+            kPreferenceShowStatusBar: @(YES),         }];         _theme = [[Theme alloc] initWithProperties:[_defaults objectForKey:kPreferenceThemeKey]];+        // [[NSNotificationCenter defaultCenter] postNotificationName:@"updateStatusBar" object:nil];
c0dine

comment created time in 4 days

Pull request review commentish-app/ish

Add Ability to Toggle Status Bar

 - (void)viewDidAppear:(BOOL)animated {     [super viewDidAppear:animated]; } +

This one is extra

c0dine

comment created time in 3 hours

Pull request review commentish-app/ish

Add Ability to Toggle Status Bar

 - (UIStatusBarStyle)preferredStatusBarStyle { }  - (BOOL)prefersStatusBarHidden {-    BOOL isIPhoneX = self.view.window.safeAreaInsets.top > 20;-    return !isIPhoneX;+    return ![UserPreferences.shared showStatusBar];
    return UserPreferences.shared.hideStatusBar;
c0dine

comment created time in 3 hours

Pull request review commentish-app/ish

Add Ability to Toggle Status Bar

 - (IBAction)showAbout:(id)sender {         UIGestureRecognizer *recognizer = sender;         if (recognizer.state == UIGestureRecognizerStateBegan) {             AboutViewController *aboutViewController = (AboutViewController *) navigationController.topViewController;+            

this can go

c0dine

comment created time in 3 hours

Pull request review commentish-app/ish

Add Ability to Toggle Status Bar

 - (void)viewDidLoad {         [self.escapeKey setTitle:nil forState:UIControlStateNormal];         [self.escapeKey setImage:[UIImage systemImageNamed:@"escape"] forState:UIControlStateNormal];     }-+    [UserPreferences.shared observe:@[@"showStatusBar"] options:0 owner:self usingBlock:^(typeof(self) self) {

This newline is fine


    [UserPreferences.shared observe:@[@"showStatusBar"] options:0 owner:self usingBlock:^(typeof(self) self) {
c0dine

comment created time in 3 hours

Pull request review commentish-app/ish

Add Ability to Toggle Status Bar

                                     </subviews>                                 </tableViewCellContentView>                             </tableViewCell>+                            <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="Status Bar" textLabel="RGb-hU-8nK" style="IBUITableViewCellStyleDefault" id="n5A-k0-80S" userLabel="Status Bar">+                                <rect key="frame" x="0.0" y="93" width="320" height="43.5"/>+                                <autoresizingMask key="autoresizingMask"/>+                                <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="n5A-k0-80S" id="QY8-dK-WOj">+                                    <rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>+                                    <autoresizingMask key="autoresizingMask"/>+                                    <subviews>+                                        <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Show Status Bar" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="RGb-hU-8nK">
                                        <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Always Hide Status Bar" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="RGb-hU-8nK">
c0dine

comment created time in 3 hours

Pull request review commentish-app/ish

Add Ability to Toggle Status Bar

 static NSString *const kPreferenceDisableDimmingKey = @"Disable Dimming"; NSString *const kPreferenceLaunchCommandKey = @"Init Command"; NSString *const kPreferenceBootCommandKey = @"Boot Command";-+NSString *const kPreferenceShowStatusBar = @"Status Bar";
NSString *const kPreferenceHideStatusBar = @"Status Bar";

c0dine

comment created time in 4 days

Pull request review commentish-app/ish

Add Ability to Toggle Status Bar

 - (IBAction)fontSizeChanged:(UIStepper *)sender {     UserPreferences.shared.fontSize = @((int) sender.value); } +- (void) setStatusBar:(id)sender {+    [[UserPreferences shared] setShowStatusBar:((UISwitch *)sender).on];
- (void)shouldHideStatusBarHiddenChanged:(UISwitch *)sender {
    UserPreferences.shared.hideStatusBar = sender.on;
c0dine

comment created time in 3 hours

Pull request review commentish-app/ish

Add Ability to Toggle Status Bar

 - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N             cell.textLabel.text = [NSString stringWithFormat:@"%@:~# ps aux", [UIDevice currentDevice].name];             cell.selectionStyle = UITableViewCellSelectionStyleNone;             break;+        +        case StatusBarSection:+            cell.selectionStyle = UITableViewCellSelectionStyleNone;+            UISwitch *statusBarToggle = [[UISwitch alloc] initWithFrame:CGRectZero];+            cell.accessoryView = statusBarToggle;+            statusBarToggle.on = prefs.showStatusBar;+            [statusBarToggle addTarget:self action:@selector(setStatusBar:) forControlEvents:UIControlEventValueChanged];
            [statusBarToggle addTarget:self action:@selector(shouldHideStatusBarChanged:) forControlEvents:UIControlEventValueChanged];
c0dine

comment created time in 3 hours

issue commentish-app/ish

apk add foo cannot mkdir

imageWouldn't go in frontways, go figure.

62f

comment created time in 9 hours

issue closedish-app/ish

apk add foo cannot mkdir

<details>Duplicate of 1402?</details>

Steps to repro:apk add foo NON-REPRO

Originally posted by @62f in https://github.com/ish-app/ish/issues/1451#issuecomment-864465891

apk fix --force

closed time in 9 hours

62f

issue commentish-app/ish

apk add foo cannot mkdir

![Uploading 122656087...]![Uploading 122656108...]

IO ERROR

62f

comment created time in 12 hours

issue openedish-app/ish

apk add foo cannot mkdir

<details>Duplicate of 1402?</details>

Steps to repro:apk add foo NON-REPRO

Originally posted by @62f in https://github.com/ish-app/ish/issues/1451#issuecomment-864465891

apk fix --force

created time in 12 hours

issue commentish-app/ish

illegal instruction on iOS ish app for xmrig

Duplicate of #1402? dmesg output? Steps to repro? Otherwise, NON-REPRO

kalelanony

comment created time in 12 hours

issue commentish-app/ish

How to config to run xmrig on iSH alpine Linux

@HVRyan the version of clang which is supplied with Alpine is really, ReAlLy old.<details>

Just found this, will try myself later today when not at work:

https://github.com/xmrig/xmrig/issues/666</details>

@deancastill kindly post the dmesg output for that Illegal Instruction

deancastill

comment created time in 13 hours

Pull request review commentish-app/ish

Add Ability to Toggle Status Bar

 - (IBAction)fontSizeChanged:(UIStepper *)sender {     UserPreferences.shared.fontSize = @((int) sender.value); } +- (void) setStatusBar:(id)sender {+    UISwitch *switchy = sender;+    [switchy setOn:switchy.on animated:YES];

I thought that this actually set the switch to another value on tap, could be wrong though... I don't understand how I can properly make one thing and then mess up on one of the more simpler concepts. I'll see whether it works without the code because I am a smooth brain some days, then if it does I will remove that code in my last commit and pray for forgiveness.

c0dine

comment created time in 15 hours

issue commentish-app/ish

illegal instruction on iOS ish app for xmrig

iSH.cpu_resource-2021-06-15-213115.zip<details>

<!--

If you're reporting a crash, please include a crash dump. You can find them in Settings -> Privacy -> Analytics -> Analytics Data on iOS 12, or Settings -> Privacy -> Diagnostics and Usage on iOS 11.

If this is a "Bad system call", "Illegal instruction", or "Segmentation fault", run dmesg to get a dump of the log messages and include the relevant output.

-->

</details>

kalelanony

comment created time in 20 hours

issue commentish-app/ish

Python3 is really slow on ish

.

awesomelewis2007

comment created time in 20 hours

issue commentish-app/ish

support Colorful display on terminal?

.

baoyachi

comment created time in 21 hours

issue commentish-app/ish

32 bit architecture is obsolete

@saagarjha may see the problem as solvable from another angle besides making real attempts but I do not. Sorry OP, I guess any effort at conjuring up an IDE from alien software libraries (requires glibc not musl) which since 2016 fails its own build tests (check their site) and has been deprecated (rts library) has placed the 64-bit cart before the 32-bit horse, which belies the title of this issue. eg, NON-REPRO!

dullbananas

comment created time in a day

issue commentish-app/ish

32 bit architecture is obsolete

Please keep discussion on topic and focused on only one issue. If you encounter a different bug that you would like to share, file a new issue with any relevant information you can provide so that we can track it effectively.

dullbananas

comment created time in a day

issue commentish-app/ish

32 bit architecture is obsolete

While investigating the bug, curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh could not be halted by ^C as indicated at any point in the download process.

dullbananas

comment created time in a day

issue commentish-app/ish

32 bit architecture is obsolete

development*

dullbananas

comment created time in a day

pull request commentish-app/ish

Add Ability to Toggle Status Bar

After thinking about this a bunch, I think that we should just simplify this to not messing with the status bar by default, and having a switch that will hide it on all devices for the people that want it. It's not going to save any vertical space on some devices, but if you've gone into settings to hide it anyways presumably you like the clean look or whatever so I don't see any point in stopping people from doing that. So, TL;DR: switch in settings titled something like "Always hide status bar", defaults to off which means do nothing. If turned on then hide the status bar. Show this on all devices (remove the safe area code) and no extra explanation needed.

c0dine

comment created time in a day

push eventish-app/ish

github-actions[bot]

commit sha 336fb72e4a820b4862ec34a98955308f389f0855

Bump version to 172

view details

push time in a day

created tagish-app/ish

tagbuilds/172

Linux shell for iOS

created time in a day

issue openedish-app/ish

shit

This is how I feel when trying to use many programs in iSH. Just a few examples:

  • Elm compiler (only works with x86_64)
  • rustup-init (32 bit version is dynamically linked to some libraries that Alpine Linux doesn't have)

The 32 bit architecture used by iSH is already too obsolete. x86_64 and/or aarch64 need to be implemented. I don't know if I will be able to use 32 bit Alpine Linux for software develompent.

I spent a while trying to make Elm compiler work in iSH. I even tried building Haskel compiler from source so that I can build Elm from source.

created time in a day