Executing commands on sessions without attaching

Is it possible to run a command on a project from a shell outside tmux and capture its output? Something similar to tmux -send-keys, but retrieving the output of the commands.
Context: I often need to run commands on some remote servers, thus I created some scripts to run those commands through ssh. The problem is that some commands requires (the same) long setup to be issued. It would be far better to run the setup once.
Using tmuxinator projects is great because mux remoteProject will run the setup on the first execution, and just attach to the existing tmux session on subsequent calls. I have been playing with passing arguments to the project (containing the command to be executed) and post: (to execute the project argument, capture the output and exit tmux) but without success.

I'm far from a definitive source, but IMO this functionality would be getting away from the Unix philosophy of do one thing and do it well.
It's a little fuzzy to me without a concrete example of what you're trying to do, but on the surface it sounds like some custom scripts (perhaps co-located next to your project file, so they can easily find it) might be a better solution.

I'm an adept of DOTADIW as well, and I thought that this feature would fall in the "one thing":

Create and manage tmux sessions easily.

The idea was to use tmuxinator to create sessions e access existing sessions instead of creating duplicates, and them sending commands/receiving output non-interactive (this might be the part that doesn't follow the DOTADIW...).
The actual use case is to perform development on legacy systems. One example is issuing ClearCase commands on a remote server through ssh; currently I used something like this:
ssh <remote_host> "cleartool setview -login -exec '%s' <cc_view>"

The %s contains the actual command. This approach works fine, but as I increased the complexity I started noticing a delay when issuing several commands. After some analysis it became clear that setting the view is the bottleneck. As I already use tmuxinator on a daily basis (and I'm very happy with it :)) I thought it would be nice to use it through scripts, to have something beyond reuse of ssh connections, i.e., reuse the entire enviroment.

After putting more thought on this I believe you are right, that this is not a task for this plugin. The tmux session it uses is different from the project concept used by the plugin.
Thanks for your patience.


Add Yakuza/Like A Dragon bar ambience

https://www.youtube.com/watch?v=Q0GtyZbHJDM
Reasoning: I think this collection of songs just "fit the mood" of your plugin. These songs were made as background ambience for the bars in the Yakuza/Like A Dragon (in Japanese Ryū ga Gotoku) video game series.

@ThomasEricB thank you for the PR! Small changes requested but otherwise looks good. :)

@andrewmcgivery Thanks. Just committed the small changes


Objective-C files missing

Is it my imagination, or have the Objective-C files disappeared from this repo? I'm guessing this was a mistake when adding Swift?

I updated the repo to be Swift now.
Tag 1.1.3 got the Objective-C last code: https://github.com/GabrielMassana/ButtonBackgroundColor-iOS/releases/tag/1.1.3
Since 2.0.0 is Swift.
Sorry for any inconvenience.

Any reason not to either leave the Objective-C in there or make Swift a separate repo? It seems odd to break the existing repo and essentially kill off a useful tool.

Hi,
The tool was not killed, I just adapted the code to the new language.
You can still install the Objective-C files with:
pod 'ButtonBackgroundColor', '~> 1.0'
Cheers


'Sign in with GitHub' not working

A server error occurred: Unexpected exception[SQLTransientConnectionException: postgre.db - Connection is not available, request timed out after 1000ms.]

Password was wrong, now fixed!


Make it possible to set another title for the newest job on the main page

When using your hugo theme for my website, I wanted to change the title for the newest job. With this change, it is possible :slightly_smiling_face:
I tried to find a better name for latestPublishHeader, but the best I could think of was latestJobTitle, and I don't know if that is any better. Additionally, I created a new subcategory main for this, because I didn't want to put it directly inside of params

Hi @jannisfink
Thanks very much for the PR! The name works for me.
Would you mind adding the param in exampleSite/config.toml? I'll then update the post defining the config file.
That'll help future developers.
Thanks and have a safe weekend

Done. Sorry for the delay :sweat_smile:


Intelligent scaling for Cloudbreak

This is not an issue but just brainstorming some ideas. Feel free to move this conversation somewhere else deemed more appropriate.
Cloudbreak currently doesn't support a predictive/intelligent scaling strategy for clusters. AWS recently introduced a service call AWS Predictive Scaling for Auto Scaling see https://aws.amazon.com/blogs/aws/new-predictive-scaling-for-ec2-powered-by-machine-learning/. What if Cloudbreak API supports an intelligent scaling options that we could implement using this feature from AWS?
I understand that this will be vendor-specific, but I believe other vendors will eventually provide such an options (it just makes sense). Cloudbreak still could make it vendor-neutral by providing an SPI for predictive autoscaling, then we will implement this SPI only for AWS.
We are at Bazaarvoice is exploring this option but before we do anything, just wanted to open a dialogue with you guys first, and also wanted to know how your roadmad could aline/not aline with this new feature.
Thanks,
Thai Bui @ Bazaarvoice

Hi Thai Bui,
We don't have this feature support on our roadmap but we are open for contribution. If you have a solution we would be happy to see it.
Thanks,
Mihaly


Revert "haskellPackages.heystone: fix darwin dylibs"

This reverts commit 32eecc6cc96ba426cda9a8e7ab66d931eb141cee.
Reason for revert: This fix doesn't alleviate the problem in two ways:

It is in the aarch64-darwin section of configuration-darwin.nix, the problem appears on x86_64-darwin (bytepatch doesn't support aarch64).

When moving the override into the general *-darwin section, the problem with bytepatch is also unaffected, see my attempt in https://github.com/NixOS/nixpkgs/pull/217201.

cc @raehik
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

@sternenseemann Sorry about that.  Thanks for putting together this revert.


Const with non-widening type as dynamic object literal key

TypeScript Version:  master (c76a3a6feff5bc0bdf10b304373453fd295aa1ca)
Code
const x: 'x' = 'x';
const y: 'y' = 'y';

const z = {
  [x]: y
};

Expected behavior:
z has type { x: "y" }
Actual behavior:
z has type { [x: string]: 'y' }. It's inconsistency.

Did you mean "z has type"?;)

@NN--- thank you

This is a duplicate of https://github.com/Microsoft/TypeScript/issues/5579.
The issue here is that the compiler does things in phases. the first phase, binding, it setts the names of properties on a type/symbol. the second is type resolution, that is when it knows about types of symbols. this change requires these two phases to be interleaved in a way, which is not a small change.


cuda memory keep increasing while training imaget dataset?

when trainning coco and pascal voc dataset, it is going well, BUT when i train imagenet dataset. (K80 * 3, batch_size == 3) , cuda memory keep going on, after 4-5 hours, it breaks down.
I just reimplemented roidb_reader for imagenet dataset by myself, I am sure the roidb, ratio, ratio_list datatype is same as coco. And except for that, any single line of code is not changed, but now, i can't figure out what is going on? any one can help me?

well, i knew it, i didn't crop some of imagenet pictures whose ratio doesn't lie in [0.5 , 2]


Program closing after check for new updates

Nice program! Thank you.
When i check for updates, it is closing after -checking for updates- appears.
w11 22h2

Thanks for catching this and creating an issue.


Qualify the terms forwards and backwards

The direction of movement seems to be opposite to what you would expect.
If I read a document I start at the beginning and move forwards through the document until I reach the end.  In the description you use the term backwards to mean moving towards the end of the document.
I'd suggest removing the ambiguity of forwards and backwards and use 'towards the end of the document' and 'towards the beginning of the document' respectively.
The number of units by which the specified range is to be moved. If Count is a positive number, the object is collapsed to its end position and moved backward in the document by the specified number of units. If Count is a negative number, the object is collapsed to its start position and moved forward by the specified number of units. The default value is 1. You can also control the collapse direction by using the Collapse method before using the Move method. If the range is in the middle of a unit or isn't collapsed, moving it to the beginning or end of the unit counts as moving it one full unit.

Hey Steve, could you point me to the topic you're discussing? Thanks!

It was the range.move method
https://msdn.microsoft.com/en-us/library/office/ff194352(v=office.15).aspx

A similar confusion exists for range move methods
https://msdn.microsoft.com/en-us/library/office/ff192403(v=office.15).aspx

and in the moveend methos the constants wdForward and wdBackward move in the way you would expect but have opposite sense of forwards and backwards. the the last paragraph uses forwards and backwards in the opposite sense to elsewherethe descriptions in other move methods.
The maximum number of characters by which the specified range is to be moved. Can be a number or either the wdForward or wdBackward constant. If Count is a positive number, the range is moved forward in the document. If it is a negative number, the range is moved backward. The default value is wdForward.

We are trying to convert PPT file to PDF using Powerpoint Office Interop. We are using ExportAsFixedFormat() to do the conversion as shown in the below code snippet:
      public static void ConvertPowerPointToPdf(string inputFile)
       {
           string outputFileName = @"C:\All format files\PPT2PDF.pdf";

           Microsoft.Office.Interop.PowerPoint.Application powerPointApp =
           new Microsoft.Office.Interop.PowerPoint.Application();
           Presentation presentation = null;
           Presentations presentations = null;
           try
           {
               presentations = powerPointApp.Presentations;
               presentation = presentations.Open(inputFile, MsoTriState.msoFalse, MsoTriState.msoFalse,
               MsoTriState.msoFalse);

               presentation.PageSetup.SlideSize = PpSlideSizeType.ppSlideSizeA4Paper; //It throws the exception here

               presentation.ExportAsFixedFormat(outputFileName, PpFixedFormatType.ppFixedFormatTypePDF,
               PpFixedFormatIntent.ppFixedFormatIntentPrint);
           }
           catch (Exception)
           {
               throw;
           }
       }

```The above code works fine if we don't set the SlideSize property. The moment we try to set SlideSize property, the exception is thrown as "PageSetup (unknown member) : Failed."

The version of Microsoft.Office.Interop.PowerPoint is <IP_ADDRESS> and Microsoft Office 15.0 Object Library is used as the Office core library. My PC in Windows 8.1 and I am using Microsoft Office 2013. Since we need custom output format, we need to setup SlideSize property which is currently throwing exception.

Hi, these topics have been updated. If you still find the documentation lacking clarity, please open a new issue. Otherwise, you can check Stack Overflow to ask the developer community questions about your PowerPoint code.


Read corrupted tint value from cell with gray color from standard MS Office pallete

This is two ways to color cell on gray color:
1 Edit format settings and set gray standard color. Technically, MS Office set color on white and set negative scientific number to tint param. Npoi can't handle this kind of number in tint so, color is just white (in memory sheet), and also after write to file this cell is white too.
2 Edit format settings, set black background, then click "more colors", go to "custom colors" and make black color lighter by slider. This operation save cell with black color and proper for NPOI tint value. After read and save sheet by NPOI cell is still gray.
I want, have this same bahavior of gray cell, with both scenarios. One chosen gray color when we edit template should be still gray after save sheet by NPOI .
I using   Microsoft Excel 2022 Build 14931.20132 to edit template file.
I prepared two test sheets (cell 1A is gray but from other reasons) - please read them by NPOI and save and you will see diference. [](url
brightening_black_cell.xlsx
brightening_black_cell_out_npoi.xlsx
darkening_white_cell.xlsx
darkening_white_cell_out_npoi.xlsx
)

I believe this is related bug https://github.com/nissl-lab/npoi/issues/695


Hang my laptop during installation

Hi sir,
My laptop hang when I was installing lesymap. Is this because I am using a laptop of low ram?
Thanks and regards
Gunjan

I have not seen this before. The installation includes antsr, antsrcore,
and itkr, which also require the installation of other packages. Many of
these require compiling, which takes time and CPU. You can look at the
command line if the installation is proceeding. Fyi, on a recent laptop the
installation may take even 2 hours, and 1 hour on a desktop. Maybe give it
some time before proceeding. The ram in my opinion is needed later when you
analyze data, not much when you install the software.
On Sun, May 17, 2020, 12:55 PM gunjan2210<EMAIL_ADDRESS>wrote:

Hi sir,
My laptop hang when I was installing lesymap. Is this because I am using a
laptop of low ram?
Thanks and regards
Gunjan
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dorianps/LESYMAP/issues/22, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFJU7JELWJ6CILXKE4TLHTRSAJHFANCNFSM4NDOZLKA
.

The itkr package is installed but after that during antsrcore installation, the pc hanged and the command line is also not proceeding.

Maybe give it another try if it doesn't proceed in a couple of hours. Then
open an issue on the antsr GitHub. One way to circumvent the problem is to
install binaries for those three packages, check the antsr GitHub for how
to do that. How old/small is your computer anyway?
On Sun, May 17, 2020, 1:32 PM gunjan2210<EMAIL_ADDRESS>wrote:

The itkr package is installed but after that during antsrcore
installation, the pc hanged and the command line is also not proceeding.
[image: IMG_20200517_230036]
https://user-images.githubusercontent.com/65503397/82155392-43e5c400-9892-11ea-880c-9b7c07b982da.jpg
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dorianps/LESYMAP/issues/22#issuecomment-629833125,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFJU7O2WQTQU7M4YRN7VGLRSANT3ANCNFSM4NDOZLKA
.

Btw, there are docker containers ready to go. Check
GitHub.com/dorianps/docker
On Sun, May 17, 2020, 1:46 PM Dorian Pustina<EMAIL_ADDRESS>wrote:

Maybe give it another try if it doesn't proceed in a couple of hours. Then
open an issue on the antsr GitHub. One way to circumvent the problem is to
install binaries for those three packages, check the antsr GitHub for how
to do that. How old/small is your computer anyway?
On Sun, May 17, 2020, 1:32 PM gunjan2210<EMAIL_ADDRESS>wrote:

The itkr package is installed but after that during antsrcore
installation, the pc hanged and the command line is also not proceeding.
[image: IMG_20200517_230036]
https://user-images.githubusercontent.com/65503397/82155392-43e5c400-9892-11ea-880c-9b7c07b982da.jpg
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dorianps/LESYMAP/issues/22#issuecomment-629833125,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFJU7O2WQTQU7M4YRN7VGLRSANT3ANCNFSM4NDOZLKA
.

My computer is 4 years old.
Okay I will try to do what you suggest.
Thanks for your response

Is this resolved now? Please close the issue if so (maybe explain how you made it work to help others that will have your same problem).

Hi,
Sorry for late response. I installed docker containers and that resolved my problem.
Thanks and regards
Gunjan


Update linux-install-manually.md

Since this is Linux page we should not have a reference for MacOS. I believe to be a typo

Thank you @bmrodrigues


Engine -> Framework roller failing

example failure: https://ci.chromium.org/ui/p/flutter/builders/try/Windows framework_tests_misc/13412/overview
06:32 +53 ~1 -13: test\run_test.dart: run.dart script runs A/B test [E]
  Expected: contains 'A/B results so far\n'
              '\n'
              'Score\tAverage A (noise)\tAverage B (noise)\tSpeed-up\n'
              'metric1\t42.00 (0.00%)\t42.00 (0.00%)\t1.00x\t\n'
              'metric2\t123.00 (0.00%)\t123.00 (0.00%)\t1.00x\t\n'
              ''
    Actual: 'smoke_test_success A/B test. Will run 2 times.\r\n'
              '\r\n'
              '\r\n'
              'Run #1\r\n'
              '\r\n'
              'Running with the default engine (A)\r\n'
              'Executing "C:\\b\\s\\w\\ir\\x\\w\\flutter\\bin\\cache\\dart-sdk\\bin\\dart --disable-dart-dev --enable-vm-service=0 --no-pause-isolates-on-exit bin/tasks/smoke_test_success.dart" in "C:\\b\\s\\w\\ir\\x\\w\\flutter\\dev\\devicelab" with environment {BOT: true, LANG: en_US.UTF-8}\r\n'
              '[smoke_test_success] [STDOUT] The Dart VM service is listening on [http://<IP_ADDRESS>:54741/gSwWaQhujIs=/\n](http://<IP_ADDRESS>:54741/gSwWaQhujIs=/%5cn)'
              '[smoke_test_success] [STDOUT] SEVERE: 2022-02-19 12:52:58.863067: Task did not start in 0:01:00.000000.\n'
              ''

failure started on roll attempt: https://github.com/flutter/flutter/pull/98792, which only has a dart roll.
One commit that seems potentially related is: https://dart.googlesource.com/sdk.git/+/f9147d933ef019c7e304c19ac039f57226ce1e37
cc: @a-siva , @bkonyi
also cc: @chinmaygarde as this week's engine sheriff.

thanks for narrowing it down to this Cl @iskakaushik

Looks like I missed updating a regexp for the device lab infra. https://github.com/flutter/flutter/pull/98935 should fix the issue.

Nope, the change was meant to be backwards compatible to avoid breakages while the new message rolled through into google3. This is safe to land before the roll.


Life pass

FreeCodeCamp Issue template
To Use this Template:

Fill out what you can
Delete what you do not fill out

NOTE: ISSUES ARE NOT FOR CODE HELP - Ask for Help at https://gitter.im/FreeCodeCamp/Help
Issue Description

When Issue Happens
Steps To Reproduce

Browser Information

Browser Name, Version
Operating System

Your Code
If relevant, paste all of your challenge code in here

Screenshot

Closing as no issue is described.

I signed on to a free code pen account. I did not intend to create an
administrator editor account, so please inform me on what measures to take.
I deeply apologize. I also want to add, I think the IT support team that
has been with me from when I first became aware of them spending every
moment with me, is doing a phenomenal job. You all have made leaps and
bounds, despite the difficulty which I have been creating. I know you've
all seen me go through positive and extremely negative emotions, but you
constantly gave me positive reinforcement at all times. I want you all to
know that at times where I thought my closest family were out to harm me
due to confusion, and panic. I never felt this when viewing any messages
from the coders at github. You are the main reason why I could change my
thought process from you showing me how eager were to learn from me. Hats
off to your amazing instructors and students. You are the ones teaching me.
I'm going to try to constantly remind myself how difficult your courses and
progress can be when I don't ask questions and focus on the task at hand
and this being a learning process which will ultimately provide a better
future for everyone. I do want to help those who are willing to work with
me or any employer. I know that I am losing money for unknown reasons.   I am embarrassed at the useless methods I
used to address the different problems I attempted to fix. I highly respect
the Men and Women that enforce this Countries laws. I said hurtful things
about our Nation's Law Enforcement the other day, and even used me losing
my leg as an example. I at no time was even angry at the Man who hit me or
the Officer on the scene. I have family who I hold dearly to me that I  am
sure we're shocked at my behavior that serve on both Law Enforcement and
Our Nation's Firefighter/Paramedics. I left the part out where they saved
my life. I left the part out where I had such a quick recovery, and could
only focus on running and not walking. I did not have time to mourn over my
injury. I was too motivated to slow down physically. I hope I can be that
role model again for whoever needs me. I have to make time for my affairs
without getting constantly distracted. I will overcome this issue. Only I
can decide how to progress. I'm tired of taking short cuts that bypass
gaining proper knowledge an experience. I am extremely grateful and amazed
at the technologies you have allowed me to see and use. Please accept my
gratitude. I am honestly looking out for the best interests of those that
want to earn it by committing themselves to hard work. I am sure that
everyone is highly aware when I am unsure of the words I speak. I have
worried about the people around me more than myself since I first became
aware of my connection with you all. I have not deviated from that since.
It will take effort on both parts. I thank you all for helping me be more
accepting of myself. I would willingly never have saw myself make this step
into being so exposed. I know it has always been like that, but I was
clueless of my surroundings. I am so overjoyed and feel so blessed to have
this amazing support of great magnitude working in the background to
constantly keep myself safe and secure. I can not do this without all of
you who are helping me or working together. I want to thank you from my
heart, and look forward to working with me, and for you almost limitless
patients with me. I will work smarter not harder.
On Feb 18, 2016 10:23 PM, "garbark"<EMAIL_ADDRESS>wrote:

FreeCodeCamp Issue template
To Use this Template:

Fill out what you can
Delete what you do not fill out

NOTE: ISSUES ARE NOT FOR CODE HELP - Ask for Help at
https://gitter.im/FreeCodeCamp/Help
Issue Description

When Issue Happens
Steps To Reproduce

Browser Information

Browser Name, Version
Operating System

Your Code
If relevant, paste all of your challenge code in here
Screenshot
—
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/7126.