Provide alternative to rcon and attach for sending commands

From discussion https://discord.com/channels/660567679458869252/660569755320844308/895439654017445898

Uses --named-pipe added to https://github.com/itzg/mc-server-runner/releases/tag/1.8.0

Added description of mc-send-to-console in middle of
https://github.com/itzg/docker-minecraft-server#interacting-with-the-server


Not  Able to see panel and fields in 'Twenty Thirteen'

The fields and panel are disappear after the 1 second

found the reason by default the display of new add fields and panels are 'None'

Do you have that theme on github perhaps so that I may take a look?

https://github.com/burhandodhy/Twenty-Thirteen-Error-344/

I have exactly the same issue when using the Underscores theme (https://github.com/automattic/_s)

@burhandodhy I'm still unable to replicate your issue... It all seems to be working fine for me!
As soon as I add some fields to a section, it appears. So does its parent panel.
Did you by any chance not add any fields?

the issue is still there, every time i try to implement in underscores theme the bug will occur ...

@burhandodhy can you please send me the exact theme you have with the issue so that I may try to debug this?

@burhandodhy I've been trying to replicate this issue for some time now without any success.
It looks to me like this has been resolved so I'll go ahead and close the ticket due to inactivity.
If you're still having an issue with this then please don't hesitate to post an update here and reopen the ticket so that we may take another look at it.


[CI:DOCS] Add get_ci_vm script-interface documentation

For too long, most of this has had a single source: My Skull.  Attempt to spell it out for others benefit (maybe).

@lsm5 and @edsantiago PTAL if you have time (low-priority).  This is not critical, and I have proof-read it a few times as best as I could.  I don't think it will be a problem to simply merge as-is, un-reviewed.  I doubt anybody will ever actually read it, but will hopefully be somewhat valuable if it is needed.

/lgtm
Thanks!


Cannot delete old token in iOS App

Hi, I want to delete several unused tokens in my iOS app. I haven’t found any way to do this. E.g. swiping left or right doesn’t do anything.
My Device:
iPhone 16 Pro
OS: 18.0.1

I just encounter the same problem, I would like to remove one I added twice by mistake, there is also no way to rename a token.


Use regular URL to generated documentation for monitoring/go_metrics.py

Use regular URL (written in Markdown) to generated documentation for monitoring/go_metrics.py

Fixed in https://github.com/RedHatInsights/insights-results-aggregator-utils/pull/253


Update examples

@vtnate here's where I'm at with this currently.
@Myoldmopar how should we stage the changes here? There are a handful of changes we could make here.

Get example files cleaned up and running locally and on CI (that's been the focus of this PR to this point).
Clean up installers so a "core" version without Matplotlib can be installed, plus maybe an "extras" version. Feel free to massage the language on the terms. Getting Matplotlib to not be installed by default is the main objective.
Develop an API for computing g-functions and borehole resistance.

Anything else?

@Myoldmopar how should we stage the changes here? There are a handful of changes we could make here.

Get example files cleaned up and running locally and on CI (that's been the focus of this PR to this point).
Clean up installers so a "core" version without Matplotlib can be installed, plus maybe an "extras" version. Feel free to massage the language on the terms. Getting Matplotlib to not be installed by default is the main objective.
Develop an API for computing g-functions and borehole resistance.

Anything else?

Is # 1 is done now with the current state of this PR?  Or are there still examples not running?
I'm happy to edit the setup to use optional dependencies.  I think the typical way to do this would be to break the setup.py into pygfunction-core and pygfunction or something like that.  Where the "full" version depends on core and also adds matplotlib and maybe other future stuff.  This could be done as a minimal change in setup.py, but it would be a more substantial change to pypi deployment.  So if that's too intrusive, we could also just offer a nice error message to a user if they are trying to generate plots but haven't installed matplotlib (plotting is not available on the default install; to get plotting capability, pip install matplotlib) or something nice like that.
We can certainly talk about cleaning up the API here.  It shouldn't be too drastic of a change, as we won't break any existing code along the way.  I think just building a nice interface on top of it.

Thanks, @Myoldmopar !

1 is not complete. There are probably 10-ish more examples that need to be edited. I was just waiting on feedback on the approach before pushing it through.
Sure, if you don't mind, go ahead and break into pygfunction-core and pygfunction. FWIW, I prefer to have pygfunction be the version without Matplotlib, and have an extras version, but whatever. I guess we can try it one way, and then discuss it with Massimo when we submit the PR.
Sounds good, we'll just develop the API here and Massimo can tell us if he wants it in a separate PR.

FWIW, I prefer to have pygfunction be the version without Matplotlib, and have an extras version,

I do agree.  The only reason I mentioned it is so that people who currently pip install pygfunction will have zero loss of functionality, and we'll simply need to depend on pygfunction-core instead.

The only reason I mentioned it is so that people who currently pip install pygfunction will have zero loss of functionality, and we'll simply need to depend on pygfunction-core instead.

Make sense. Thanks.

@Myoldmopar is this python 3.8 failure worth fixing given that it is on the verge of obsolescence?

Definitely not, time to pull that from the github workflow matrix.

Cool. I'll remove it.

@Myoldmopar is this python 3.8 failure worth fixing given that it is on the verge of obsolescence?

Speaking of which @mitchute, I want ThermalNetwork to require Python 3.10. It currently requires at least 3.9, but Jing found something in the way I've coded relative imports are handled on Windows computers that doesn't work in 3.9, but does with 3.10. Urbanopt already requires Python 3.10 (because of the opendss module) so I don't see a big problem with us doing the same.


PICC_IsCardPresent instead of PICC_IsNewCardPresent?

Details:

OS version: Windows 10
Arduino IDE version: Latest
MFRC522 Library version: Latest Master
Arduino device: ESP8266

Problem:
I call my Read function constantly in my loop, this is it:
bool ReadRFID(void) {

  if (!mfrc522.PICC_IsNewCardPresent())
    return false;

  if (!mfrc522.PICC_ReadCardSerial())
    return false;

  Serial.print("Card serial: ");
  for (uint8_t i = 0; i < 4; i++)
    Serial.print(mfrc522.uid.uidByte[i], HEX);
  Serial.println();
  Beep(150, 2); // Beep beep
  return true;
}

I have a busy loop, it blocks for about 2-3 seconds almost constantly to check sensors and reply JSON values from server, every few seconds. If a tag is read in those "blocked" seconds, it simply won't read, so it must be taken out and retry (some times a lot) to get the proper reading.
It seems the reader will only read for a second, and then goes off like if the card was removed. The PICC_IsNewCardPresent and PICC_ReadCardSerial functions always return false.
I tried this as well:
static bool CardFound = false;

bool ReadRFID(void) {

  if(!CardFound) {
    if (!mfrc522.PICC_IsNewCardPresent()) {
      return false;
    } else {
      CardFound = true;
    }
  }

  if (!mfrc522.PICC_ReadCardSerial()) {
    CardFound = false;
    return false;
  }

  Serial.print("Card serial: ");
  for (uint8_t i = 0; i < 4; i++)
      Serial.print(mfrc522.uid.uidByte[i], HEX);
  Serial.println();
  Beep(150, 2); // Beep beep
  return true;
}

But still no luck, ReadCardSerial returns false even after reading the tag properly in the previous loop, I didn't expect that.
So is it possible to have a PICC_IsCardPresent function somehow? I mean, a function that returns true if a card is in the field of the reader (so it can be read anytime) and false if no card is found?
I know this has been asked before, as I found some related issues, and even a promising MP3 player that plays while a tag is in the field and stops when it is removed, but the code did not make any difference to me, I got the same behaviour. Can it be a bad reader?
P.S.: Right before clicking Submit, I got an idea... Could it be the RFM69 radio module I am using, that is sharing the SPI bus with the reader (and constantly receiving data) making some kind of conflict?
It indeed is. I disabled its function and lo a behold, the reader started to work as expected!!
So now the question turned on how to solve the conflict, if at all possible :)

@ElVasquito Hint: If I remember correctly, there was a similar question in the past. Maybe you find it and can link it here.

About constant reading, do you refer to #279? Or to #437? That part is already solved anyway.
Now about the SPI conflict that seems to be the issue, I only found a related reference to conflicts with the Ethernet shield (#21), which was of no help in my case.
I checked the RFM69 library I am using (from Felix Rusu) and the mode it is using for SPI is the same (MODE0), SPI_CLOCK_DIV is also 4, and bit order is also MSBFIRST, so all matches your library. I am out of clues.
Side note: I am not connecting the Reset pin of the reader, so it is making a soft reset at setup only, but I don't think that matters in this case either.

Does anyone have an explanation of the alternating behavior? This quick test looks really rather odd.
void readCard() { // IRQ
  irqs += 1;
}

void loop() {

  bool gotNewCard = mfrc522.PICC_IsNewCardPresent();
  bool gotSerial = mfrc522.PICC_ReadCardSerial();

  Serial.print(irqs);
  Serial.print(gotNewCard ? " new " : " - ");
  Serial.print(gotSerial ? " serial " : " - ");
  for (uint8_t i = 0; i < 4; i++) {
      Serial.print(mfrc522.uid.uidByte[i], HEX);
  }
  Serial.println();
  irqs = 0;

  delay(1000);
}

  0 -  - E94ABAB1
  0 -  - E94ABAB1
  0 -  - E94ABAB1
  0 -  - E94ABAB1
  0 -  - E94ABAB1
| 3 new  serial E94ABAB1
| 0 -  - E94ABAB1
| 3 new  serial E94ABAB1
| 0 -  - E94ABAB1
| 3 -  serial E94ABAB1
| 0 -  - E94ABAB1
| 3 new  serial E94ABAB1
| 0 -  - E94ABAB1
| 3 new  serial E94ABAB1
| 0 -  - E94ABAB1
| 3 new  serial E94ABAB1
  0 -  - E94ABAB1
  2 -  - E94ABAB1
  0 -  - E94ABAB1
  0 -  - E94ABAB1
  0 -  - E94ABAB1
  0 -  - E94ABAB1
  0 -  - E94ABAB1
  0 -  - E94ABAB1
| 3 new  serial E94ABAB1
| 0 -  - E94ABAB1
| 3 new  serial E94ABAB1
| 0 -  - E94ABAB1
| 3 new  serial E94ABAB1
| 0 -  - E94ABAB1
| 3 new  serial E94ABAB1
| 0 -  - E94ABAB1
| 3 new  serial E94ABAB1
| 0 -  - E94ABAB1

And if PICC_IsNewCardPresent is not called neither does the IRQ get triggered or does PICC_ReadCardSerial work.


Events are reported as Not fired even though they are been fire in Testing.

using $this->expectsEvents(MemberWasRegistered::class); in test  Results in No Event was fired.
Here are the snippets:
    /** @test */
    public function a_user_can_signup_for_listing()
    {
        $this->makeUser();

        $this->withoutEvents();

        $this->visit('/register');

        $this->select('1', 'package_id')
             ->type($this->member->first_name, 'first_name')
             ->type($this->member->last_name, 'last_name')
             ->type($this->user->username, 'username')
             ->type($this->user->email, 'email')
             ->type($this->user->mobile, 'mobile')
             ->type('foobar', 'password')
             ->type('foobar', 'password_confirmation')
             ->check('terms')
             ->press('Sign Up');

        $this->expectsEvents(MemberWasRegistered::class);

        $this->seePageIs("/@{$this->user->username}/dashboard");

        $this->seeInDatabase('members', $this->member->toArray());
    }

// Controller
 public function store(
        RegisterMemberRequest $request,
        MembersService $membersService
    ) {
        $user = $membersService->register($request);

        // Fire the MemberWasRegistered Event.
        Event::fire(new MemberWasRegistered($user));

        Auth::login($user);

        return redirect(members_dashboard_link());
    }

Incorrect. It WAS fired. Its handlers were just disabled.

withoutEvents can't stop the event being fired, it just stops it being handled.

@GrahamCampbell Oh My bad. it happening without $this->withoutEvents() method. I added that for Disabling because it was working. I will correct the Question.

@GrahamCampbell The current snippet is giving No Event was Fired .


Ordered Routing

Based off feedback from #13, this sets the exact ordered we'll process routes. I'll squash before merging.

Basically rewrote our own routing in ngx_mruby by passing nginx's longest matching location logic for both when using a custom route and when not. The ordering is now:

Root Files
Clean URLs
Proxies
Redirects
Custom Routes
404

/cc @ojacobson

merging since it's @ojacobson approved.

Should the following work:
  "routes": {
    "/**": "index.html",
    "/storybook/*": "storybook/index.html"
  },

where http://app/storybook -> storybook/index.html? It seems like the wildcard is always taking precedence. The same seems to be the case when I do "/storybook": "storybook/index.html".


helm upgrade is not updating the charts in the cluster

Hi,
I'm working with helm v2.14.2, we currently have a pipeline that runs this command:
helm tiller run tiller - helm upgrade my-release. --set global.cpVersionTag =v1  --set global.baseRepository = private-repository.example

The command finishes without errors, the problem is that he doesn't make an update.
I executed this command :
helm tiller run tiller - helm get  my-release

I can see my change here, but the deployment and pod running in the cluster aren't update.
I'm not allowed me to paste the YAML but my change is this  (as an example):
# A new env var to a container:

            - name: MY_NEW_ENV_VAR
              value: "https://example/addAsset"

# A new argument to container command:
          command: ["/opt/keycloak-gatekeeper"]
          args: [ "--listen", ":13001", "--upstream-url", "http://<IP_ADDRESS>:3001", "--discovery-url",  "https://keycloack.example/auth/realms/example", "--add-claims", "MY-NEW-CHANGE"   ]

And as said, I can see the change in output helm tiller run tiller - helm get  my-release  but not into the cluster, in the pod and deployment.
Output of helm version:
helm tiller run tiller -- helm version
Installed Helm version v2.14.2
Installed Tiller version v2.14.2
Helm and Tiller are the same version!
Starting Tiller...
Tiller namespace: tiller
Running: helm version

Client: &version.Version{SemVer:"v2.14.2", GitCommit:"a8b13cc5ab6a7dbef0a58f5061bcc7c0c61598e7", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.2", GitCommit:"a8b13cc5ab6a7dbef0a58f5061bcc7c0c61598e7", GitTreeState:"clean"}
Stopping Tiller.

Output of kubectl version:
kubectl version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.3", GitCommit:"2e7996e3e2712684bc73f0dec0200d64eec7fe40", GitTreeState:"clean", BuildDate:"2020-05-20T12:52:00Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.10", GitCommit:"059c666b8d0cce7219d2958e6ecc3198072de9bc", GitTreeState:"clean", BuildDate:"2020-04-03T15:17:29Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):

If someone had this problem before, how did you solve it? I know that using helm upgrade is not the best maybe but right now I can't change that quickly. I will try to move to  Helm 3 and use a template or kubectl apply but I can't migrate now.
Thanks so much!

it looks the Tillerless plugin communicates with your cluster fine.
Can you add --debug flag and try to run:
helm tiller run tiller - helm upgrade my-release. --set global.cpVersionTag=v1  --set global.baseRepository=private-repository.example --debug

Hello! After all, the cluster was reinstalled just like helm and triller, at the moment everything seems to be working fine, we couldn't wait to find the problem with helm, so the environment rebooted. I will be watching if this happens again, I will try to find a pattern.
@rimusz I put the debug flag and no problem appears to me, everything seemed to be going well, however, in this new implementation I have left it to have more information about the deployments.
Thanks!

Closing for now as there's no action item on our end here. Please re-open if the issue persists. Thanks.


Loading script only works for macos

Partition naming scheme is different to linux: sX vs pX
diskutil is not available onlinux. But since we are writing to raw block devices there is nothing to unmount anyway. To be sure all buffers are flushed we could just call dd with conv=fdatasync.

Right...
I'm pretty sure all partition naming conventions will append a digit at the end to indicate the partition number. So we could take the device "stem" and then append 1 or 2 to it. Something like:
make load SD_DISK_STEM=/dev/mmcblk0p which would load to mmcblk0p1 and mmcblk0p2.
The reason for unmounting is to speed up the build-flash-test cycle, since it's impossible to test some aspects of a bootloader using a debugger. But I want to keep this simple, so we can just have the dev make load SD_DISK_STEM=/dev/XXXp && os-specific-unmount-cmd /dev/XXX.

There's a FATFS partition (not required, but the format script creates it), so the OS typically will automatically mount this when the card is inserted.


cln: 1.3.4 -> 1.3.5

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/cln/versions.
meta.description for cln is: '"C/C++ library for numbers, a part of GiNaC"'.
meta.homepage for cln is: '"http://www.ginac.de/CLN/"

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.3.5 with grep in /nix/store/cnz1zaqp8fkmm7p7xzsa454f6571yw4m-cln-1.3.5

directory tree listing: https://gist.github.com/84cfa74d5edf991344121162604a60e6

du listing: https://gist.github.com/34f8f7d5b5f80f84ae38325911accc86

Rebuild report (if merged into master) (click to expand)

42 total rebuild path(s)
11 package rebuild(s)
11 x86_64-linux rebuild(s)
11 i686-linux rebuild(s)
9 x86_64-darwin rebuild(s)
11 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
cln
cvc4
ginac
i-score
maude
nasc
python37Packages.slither-analyzer
python38Packages.slither-analyzer
slither-analyzer
solc
tamarin-prover

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/cnz1zaqp8fkmm7p7xzsa454f6571yw4m-cln-1.3.5 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A cln https://github.com/r-ryantm/nixpkgs/archive/c76e620bf5274ef8dac4b9516d74f6433efd87ea.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/cnz1zaqp8fkmm7p7xzsa454f6571yw4m-cln-1.3.5
ls -la /nix/store/cnz1zaqp8fkmm7p7xzsa454f6571yw4m-cln-1.3.5/bin

@GrahamcOfBorg build cln


My 2 Nebra hotspots are not working

Can somebody help me please, i wrote to support, open a ticket but there is still no reply, i have 2 nebra miners which were working before, but now there is no activity from them, on one yellow and green light are on all the time, on second yelow is on and green is blinking. Not sure what i need to do please someone help me.
model nebhnt -hhrk4 -868
device s/n bfd0b29825cc83b7

Sent you the instructions for miner with s/n bfd0b29825cc83b7, please send the other one in on that ticket, Bobcats, you can only use the 1gig version with Nebra at the moment. (also sent you details on that ticket)

@WayneNebra where are you, please check the tickets

Flash df9d79bb9a40b4cc the same way :)
I'll look at the Bobcat ticket tomorrow.

already did the nebra, please look at the bobcat now, and tell me what to do, i dissasembly both of them, and waiting on you to tell me what to do, can i also flash it with sd card, and which file to use?

@WayneNebra can you look at the bobcat ticket, tell me what do i need to do? can i also flash it with sd card, and which file to use? do i have to leave SD card in bobcat or do i do same like Nebra flash and than remove it.

I sent you a message on the Bobcat ticket on how you find out which version you have, and yes, if they are the 1 gig version then you would leave the SD card installed in the machine.
Are you a member of the Bobcat Discord Channel? Full of great information.
This is what they look like, the 1gig versions, https://fccid.io/2AZCK-MINER300/Internal-Photos/Internal-photo-5373615

1G 2AZCKMINER300  https://fccid.io/2AZCK
Bobcat Discord https://discord.gg/XX7beg64nR

I can see any picture on this link that you sent??

@WayneNebra  i managed to install nebra software on bobcat and they are working but only via lan cable, when i disconnect the lan and try to connect to wifi via bluetooth it founds miner but when i click pair it just gives me an error device is disconnected...
sending you picture here plese help??

Can you send me the JSON file on the ticket from local diagnostics if you like, also try connecting to the miner when you 1st power it on as BT runs for the 1st five minutes. (I'd just leave the LAN connected it won't do any harm) in fact after HIP83 you'd be better on LAN anyway.
HIP83 changed which miners are selected to receive rewards. Valid witnesses are no longer selected at random. With HIP83, the 14 "quickest" witnesses get the rewards. Miners on low-latency internet have an advantage.

The problem is i cant use lan on this location.
I have to use wifi and when i try pair miner with bluetooth it gives me
error.
On Wed, Dec 20, 2023, 13:02 WayneNebra @.***> wrote:

Can you send me the JSON file on the ticket from local diagnostics if you
like, also try connecting to the miner when you 1st power it on as BT runs
for the 1st five minutes. (I'd just leave the LAN connected it won't do any
harm) in fact after HIP83 you'd be better on LAN anyway.
HIP83 changed which miners are selected to receive rewards. Valid
witnesses are no longer selected at random. With HIP83, the 14 "quickest"
witnesses get the rewards. Miners on low-latency internet have an
advantage.
—
Reply to this email directly, view it on GitHub
https://github.com/NebraLtd/helium-nebra-indoor1/issues/4#issuecomment-1864357610,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASX3N3ZWEI3V5GPK3CBV7BDYKLHTPAVCNFSM6AAAAABALSPALKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRUGM2TONRRGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Hotfix save response in redis.

Fix when saving response in redis.
Before there was no saving with this the return was null of the Response data.

Hi @SawCunha,
Good catch. thanks for that but I did not see any test case, could you please add test scenario

Hi @memojja
I added the test scenarios for this fix.

Hi @SawCunha ,
Thanks again.
Can you upgrade the version in Jdempotent-core, Jdempotent-spring-boot-redis-starter and  Jdempotent-spring-boot-couchbase-starter project version 1.0.11 to 1.0.12? Then we can merge that pr 👨💻

Hi @memojja
I upgraded the version to 1.0.12. Thanks.


Combine

Description

Do you have any ideas on how the Makefile would build Neofetch? This includes
in-lining the configuration file and in-lining all 150 ASCII art files. The
Makefile would need to also dynamically in-line the ASCII art as we add new
distributions to Neofetch at least once per week.

Implements this idea, code is generated from the ASCII data and get_distro_colors.in as each image has its own colours.
Issues
I whipped this up in 30 minutes as a proof of concept, it appears to work but I have not done to much testing. make install seems to fail but I think that's because of the current state of the one branch, not something I did.

Thanks for working on this.
The PR seems to be missing the Makefile and the referenced get_distro_colors.in.

My bad missed the add.

So.. How would one run neofetch if the binary doesn't even exist?

make neofetch

This PR also seems to be missing the actual Neofetch source. :)

And where's the Makefile? Also, ugh. .in files. I really don't like it in a program like Neofetch.

I'm a bit too used to git commit -a sorry.

If you don't like the .in and all that it's fine, I just have a dislike of too much code lumped in one file.
Just wanted to give some actual code, not just spout ideas, was quick to do, accept it or not I don't mind.
Either way thanks for creating this program in the first place :)

I'm still set on the other PR but it's good to know that the Makefile method is possible. I agree with the too much code in a single file but it can't really be helped with bash. Had Neofetch been written in Python, C or another language it'd be split into separate files from the start.
Bash just doesn't have first class support for this. I know there's source but it can't be used in this context. :woman_shrugging:

Alrighty glad you got to consider both sides.


How to make the controller stop drawing?

Platforms
dart, Android, iOS, macOS, Web, Windows, Linux
Description
I want to be able to stop the drawing permanently
My code
No response
Try do it
No response

You mean like prevent the user from using the canvas?
Maybe just put a transparent container over the canvas area using stack and probably have a Boolean to toggle it on and off.


git 2.3.0

New git update just came out today.  https://github.com/blog/1957-git-2-3-has-been-released

I merge Homebrew once per week into Linuxbrew, usually on Monday.

PRs for new versions of software should be opened at Homebrew/homebrew, rather than Homebrew/linuxbrew.

I've merged just now. Enjoy.

Oh, I wasn't aware everything came from Homebrew.


Jest cannot load<EMAIL_ADDRESS>while its is definitely functioning

Link to demo repo
Jest cannot load<EMAIL_ADDRESS>while Firebase itself is definitely functioning in normal runtime.
import firebase from 'firebase'
//const firebase = require('firebase').default  // both of these are giving me the same error

describe('jest with firebase', () => {
  it('is at least loadable', () => {
    expect(firebase).not.toBeUndefined()
  })
})

node -v
v4.3.2
npm -v
3.10.9
npm install
npm test

><EMAIL_ADDRESS>test /firebase-jest
> jest --no-cache

 FAIL  ./index.spec.js
  ● Test suite failed to run

    TypeError: Cannot read property 'defineProperties' of undefined

      at node_modules/firebase/app-node.js:18:234
      at Object.<anonymous> (index.spec.js:1:171)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        1.72s
Ran all test suites.
npm ERR! Test failed.  See above for more details.

Problem is fixed after I change Jest config:
   "jest": {
-    "testEnvironment": "node"
   },

I think it is a bug in Jest. I am running NodeJs in server side, it should not require JsDOM etc.

#2021 should fix this in the next release.


multisig exec to upgrade system contract failed

we have test in CryptoKylin Testnet to upgrade the system contract which increase RAM 1kb/block. The steps:

compile the eosio.contracts v1.1 to get the eosio.system.abi & eosio.system.wasm with eos v1.0.8

get set contract transatcion json

cleos set contract eosio eosio.system eosio.system/eosio.system.wasm eosio.system/eosio.system.abi -j -d -s

change the json file

"ref_block_num": 0,
  "ref_block_prefix": 0,
......
{
      "account": "eosio",
      "name": "setramrate",
      "authorization": [
        {
          "actor": "eosio",
          "permission": "active"
        }
      ],
      "data": "0004"
    }

the file can be get: http://osshkbk01.oss-cn-hongkong.aliyuncs.com/tools/bb.json

create propose_tx

cleos multisig propose_trx increaseram3 perms.json bb.json eosbixincool

perms.json just like:
[
   {"actor": "eoslaomaocom", "permission": "active"},
   {"actor": "eosbixincool", "permission": "active"},
   {"actor": "eosbixingogo", "permission": "active"},
   {"actor": "eoshuobipool", "permission": "active"}
]

review & approved by others bps

cleos multisig review eosbixincool increaseram3
cleos multisig approve eosbixincool increaseram3 '{"actor": "YOUR_BP_NAME", "permission": "active"}' -p YOU_BP_NAME@active

exec propose

cleos multisig exec eosbixincool increaseram3 eosbixincool

but we got the error:
{"log":"569640ms thread-0   http_plugin.cpp:406           handle_exception     ] Exception Details: 3090003 unsatisfied_authorization: provided keys, permissions, and delays do not satisfy declared authorizations\n","stream":"stderr","time":"2018-08-01T10:09:29.650328826Z"}
{"log":"transaction declares authority '{\"actor\":\"eosio\",\"permission\":\"active\"}', but does not have signatures for it under a provided delay of 0 ms, provided permissions [{\"actor\":\"eosio.msig\",\"permission\":\"eosio.code\"}], and provided keys []\n","stream":"stderr","time":"2018-08-01T10:09:29.650352399Z"}
{"log":"    {\"auth\":{\"actor\":\"eosio\",\"permission\":\"active\"},\"provided_delay\":0,\"provided_permissions\":[{\"actor\":\"eosio.msig\",\"permission\":\"eosio.code\"}],\"provided_keys\":[],\"delay_max_limit_ms\":3888000000}\n","stream":"stderr","time":"2018-08-01T10:09:29.65035838Z"}

Same problem here using msig:
# Multisig
cleos multisig propose payme1 '[{"actor": "partner22222", "permission": "active"},{"actor": "partner33333", "permission": "active"}]' '[{"actor": "mymultisig11", "permission": "active"}]' eosio.token transfer '{"from":"mymultisig11", "to":"partner11111", "quantity":"25.0000 EOS", "memo":"Pay partner11111 some money"}' -p partner11111@active
cleos multisig review partner11111 payme1 -p partner22222@active
cleos multisig review partner11111 payme1 -p partner33333@active

cleos multisig approve partner11111 payme1 '{"actor": "partner22222", "permission": "active"}' -p partner22222@active
cleos multisig approve partner11111 payme1 '{"actor": "partner33333", "permission": "active"}' -p partner33333@active

cleos multisig exec partner11111 payme1 -p partner11111@active

Proposal can be found here:
https://www.cryptokylin.io/#/msig?proposer=partner11111&proposal=payme1
Got the same error as mentioned above:

@winlin , your eosio.msig account is not privileged
Compare cleos output for eosio:
$ cleos -u http://kylin.fn.eosbixin.com/ get account eosio
privileged: true
permissions:

and for eosio.msig:
$ cleos -u http://kylin.fn.eosbixin.com/ get account eosio.msig
permissions:

To make account privileged you should execute action setpriv in system contract. The transaction should be signed by at least 2/3 of block producers + 1 .

yes, thanks moskvanaft. we have fixed this


Secure distribution of secrets (KeyDrop)

Getting distribution right is apparently hard. I've started a branch for a new module called KeyDrop that will handle that. It will supply all of the guts for a client/server model for secret distribution, with an offline master keyring.

You designate a server to store the master keys and vaults and write a trivial wrapper to get HTTP queries into and out of the KeyDrop class for it. This is the KeyDrop server.
The KeyDrop server has all the master keys and all the vaults for all the clients, however the master keys are encrypted, and the KeyDrop server is never given the information needed to decrypt them. Compromising the KeyDrop server gains an attacker nothing at all.
Each KeyDrop client is assigned an ID and a client key. The client key is stored locally on the client, and its only purpose is to decrypt the master key. The master key is never stored on the client.
When the client is running, if it doesn't have a copy of the master key in RAM, it asks the KeyDrop server for the master key. The KeyDrop server returns an encrypted master key, which the client must decode. For efficiency, the master key should then be tucked away somewhere (NOT on the filesystem).
The client can also ask the KeyDrop server for a list of updates to that client's vault.
A mechanism is provided to push updates to client vaults out to the KeyDrop server. You should provide your own mechanism to force your client to request an update.
Another mechanism is provided to organize all the client, vault and shared keys in an encrypted master keyring. This obviously should be kept offline.

I think this actually solves the entire question of how to securely configure a server; each KeyDrop client only needs a couple of items - the client ID and client key - to automatically and securely pull, store and update when needed all the other secrets assigned to that client.

I think this is a great idea to implement. I will keep my eye on the branch and follow the progress :)


User/chrila/enable graph compile

Update DmlDispatchable to be able to compile a graph.

will rev the version


[CCXDEV-4859] Fix some types in openapi.json

Description
Fixed discrepancy in data types for total_risk and risk_of_change in openapi.json.
Fixes # (issue)
Type of change

Bug fix (non-breaking change which fixes an issue)

Testing steps
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

@matysek thank you, could you also please change the "enum" section so that it reflects the new type?

@matysek thank you, could you also please change the "enum" section so that it reflects the new type?

Actually I was about to say the same thing :)


Outdated recommendation?

Is the recommendation to use python >= 3.6.7 still relevant? It dates from Nov 7, 2018 but the changes introduced in https://bugs.python.org/issue34172 were reverted on Dec 6, 2018.

Meh...
Let's remove the recommendation and just keep the url.


Analyse also dependencies bundle

The current analyze script only analises the /src code. This change leverages new version of source-map-explorer that is able to analyse multiple bundles at once, including the  3rd party dependencies bundle which is in my opinion even more important to analyze.

Can we make this change to https://github.com/facebook/create-react-app/blob/0febe269b555d922f7726f30d505ed5cca2598ec/docusaurus/docs/analyzing-the-bundle-size.md as well?

Sorry I misread, this is changing the same file.  LGTM.


qovery-cli: 0.60.0 -> 0.61.0

Diff: https://github.com/Qovery/qovery-cli/compare/v0.60.0...v0.61.0
Changelog: https://github.com/Qovery/qovery-cli/releases/tag/v0.61.0
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.11 Release Notes (or backporting 23.05 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.

Result of nixpkgs-review pr 244295 run on x86_64-linux 1

1 package built:

qovery-cli


Use SQLite as default database

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

14 of 14 (100.0%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
844

Relevant Lines:
844

💛  - Coveralls


Milestone 4: controllers

🚩I have made the following changes to complete Milestone 4
Here is a summary of what has been done
Type of files changed/added

In this new Branch, I have ➕ADDED➕ the succeeding *📂 folders and/or **📄 files to complete this milestone requirements
*📂 root/

*📂 app/

*📂 controllers/

**📄 users_controller.rb ➕

I added the index and show actions.

**📄 posts_controller.rb ➕

I added the index and show actions.

*📂 views/

*📂 posts/

**📄 index.html.erb ➕

I added the index view.

**📄 show.html.erb ➕

I added the show view.

*📂 users/

**📄 index.html.erb ➕

I added the index view.

**📄 show.html.erb ➕

I added the show view.

I have ✏MODIFIED✏ the succeeding *📂 folders and/or 📄** files
*📂 root/

**📄 README.md ✏

I checked as completed the controllers task.

*📂 config/

**📄 routes.rb ✏

I added the resources :users and resources :posts routes.

Existing Routes

Thank you for taking the time to review this PR ⭐

If you need additional information or have any questions, please don't hesitate to contact me on Slack as Arturo (Arthur) Emanuel Guerra Iturres. I'll be happy to help you out. 🎯

Hi @Omar-Muhamad Omar! thank you for having taken the time to review my PR 🎯, wish you a great day and happy programming! 🤠 🥂

Hi @Omar-Muhamad Omar! thank you for having taken the time to review my PR 🎯, wish you a great day and happy programming! 🤠 🥂

Thanks @ITurres,
I always love reviewing your projects because you write such clean and optimized code with such care for small details.
Just keep rocking 💪.


Searchable contents

Added TextField on top of expansion list with categorized stories for both types of panels (left side and popup).
I decided to add feature to existed ContentsPlugin with no possibility to disable functionality.
Resolve:
https://github.com/ookami-kb/storybook_flutter/issues/71

Hey @Filiponesco,
Thanks for your PR. I took it as an inspiration but decided to go with a slightly different approach in #101


Update menu.md

jQuery context menu switched organisation

Duplicate of #377

Sorry about that, was doing rounds and appearantly got here twice.


Bindings and modules

I find the behavior of modules a bit surprising. It looks like all bindings disappear, although imports are still around. Is this the expected behavior, and if so, what's the idea behind it?
import qualified Data.ByteString.Char8 as BS8

foo :: Int
foo = 2

module Bar where

bar :: IO ()
bar = putStrLn "Hello"

foo

<interactive>:1:1: error: Variable not in scope: foo
BS8.pack "foo"

"foo"

I'm using the following nixpkgs commit:
{
  "owner": "NixOS",
  "repo": "nixpkgs-channels",
  "branch": "nixos-18.03",
  "rev": "aec217852f228fd6f923c0d32b94d78dee4ae5dc",
  "sha256": "1nj6wdg9yi27bmlg2xqa3mlm0zncw0v62b8a13ydrw6vg1a2h5dl"
}

Untitled.ipynb.txt

I can't speak to the motivation behind this behaviour, but it is documented at IHaskell.ipynb (cells 27-30).

Closing as this behaviour is documented.


Script to generate custom jacocorunner

Description
This is a script that can be used manually to generate custom jacocorunner, that then can be used to
e.g. fix Scala 2.12 code coverage for lambdas.
Takes Jacoco, builds and and then use it to build jacocorunner in Bazel repo.
Motivation
Motivated by the idea to add the generated jacocorunner to rules_scala.
More info at: https://github.com/bazelbuild/bazel/issues/11674#issuecomment-748422907.

thanks! @liucijus can you take lead here? The basic idea I had was that we want to fix coverage and instead of @gergelyfabian fixing it for themselves (and anyone else who's interested) we should consider checking in the patched jacoco runner and using that as the default so rules_scala users can have a good experience out of the box

I have limited access to Internet until next year, and I won't be able to thoroughly go over the changes.
A few notes (sorry if I missed the point of the change):

I think documenting such change is very important. For users, and for the future maintainers it is important to understand why, how and until when is this valid.
I'm not sold on adding binaries to git - it's a bad practice in git and mono repos in general. We already have an unbearable experience with Travis, will it slow it even more?

 We can add it as a
release of rules_scala and consume it as an http_file or something like
that. The point is that the vanilla offering of rules_scala will be wired
to a better jacoco and that jar will be “approved” by us
On Tue, 22 Dec 2020 at 9:44 Vaidas Pilkauskas<EMAIL_ADDRESS>wrote:

I have limited access to Internet until next year, and I won't be able to
thoroughly go over the changes.
A few notes (sorry if I missed the point of the change):

I think documenting such change is very important. For users, and
for the future maintainers it is important to understand why, how and until
when is this valid.
I'm not sold on adding binaries to git - it's a bad practice in git
and mono repos in general. We already have an unbearable experience with
Travis, will it slow it even more?

—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/pull/1173#issuecomment-749398242,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKQQF5PE64MACUCODN6KHDSWBE65ANCNFSM4VCETW5Q
.

--
Ittai Zeidman
40 Hanamal street, Tel Aviv, Israel
http://www.wix.com

* I think documenting such change is very important. For users, and for the future maintainers it is important to understand why, how and until when is this valid.

@liucijus I agree. I missed the doc part in the first try. I've added a documentation header to the script to make the points you highlighted more clear.
In general the point of this PR is first and foremost documenting the process of building a jacocorunner (by way of scripting it), that is usable by current Bazel versions.
Later, this can be used also to upload such a built jar as a rules_scala "release" or any other appropriate artifact, but even if this later step won't be done I'd claim the script itself would still be usable.

 We can add it as a release of rules_scala and consume it as an http_file or something like that. The point is that the vanilla offering of rules_scala will be wired to a better jacoco and that jar will be “approved” by us

@ittaiz I'd do the same way, with http_file, anyone interested in this workaround could either use the jacocorunner uploaded by rules_scala (as a release), with http_file, or build their own (with any Jacoco/Bazel changes they wish), upload it to an (internal) artifactory and use that with http_file.

Thanks!
I’m a bit swamped at the moment but I’m +1 in general.
Will look at the code towards the end of the week  and update here
On Mon, 28 Dec 2020 at 7:39 Gergely Fábián<EMAIL_ADDRESS>wrote:

I think documenting such change is very important. For users, and for the future maintainers it is important to understand why, how and until when is this valid.

@liucijus https://github.com/liucijus I agree. I missed the doc part in
the first try. I've added a documentation header to the script to make the
points you highlighted more clear.
In general the point of this PR is first and foremost documenting the
process of building a jacocorunner (by way of scripting it), that is usable
by current Bazel versions.
Later, this can be used also to upload such a built jar as a
rules_scala "release" or any other appropriate artifact, but even if this
later step won't be done I'd claim the script itself would still be usable.
 We can add it as a
release of rules_scala and consume it as an http_file or something like
that. The point is that the vanilla offering of rules_scala will be wired
to a better jacoco and that jar will be “approved” by us
@ittaiz https://github.com/ittaiz I'd do the same way, with http_file,
anyone interested in this workaround could either use the jacocorunner
uploaded by rules_scala (as a release), with http_file, or build their own
(with any Jacoco/Bazel changes they wish), upload it to an (internal)
artifactory and use that with http_file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/pull/1173#issuecomment-751584200,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKQQF3OSLHR3XOC2X2E5DLSXAK2HANCNFSM4VCETW5Q
.

--
Ittai Zeidman
40 Hanamal street, Tel Aviv, Israel
http://www.wix.com

$ du -sh /tmp/bazel_jacocorunner_build/*
907M	/tmp/bazel_jacocorunner_build/bazel
104M	/tmp/bazel_jacocorunner_build/jacoco
8,2M	/tmp/bazel_jacocorunner_build/JacocoCoverage_jarjar_deploy.jar

$ du -sh /tmp/bazel_jacocorunner_build/*
907M	/tmp/bazel_jacocorunner_build/bazel
104M	/tmp/bazel_jacocorunner_build/jacoco
8,2M	/tmp/bazel_jacocorunner_build/JacocoCoverage_jarjar_deploy.jar

Pushed fixes.

Pushed fixes.

LGTM
One thing which is optional (this is why I'm approving) but I think can bring value is some kind of test that the person running the script can run. Maybe something that shows coverage of 2.12 lambdas? Wdyt?

Done :)

LGTM
One thing which is optional (this is why I'm approving) but I think can bring value is some kind of test that the person running the script can run. Maybe something that shows coverage of 2.12 lambdas? Wdyt?

Done :)

LGTM, @gergelyfabian could you also add howto info for users in https://github.com/bazelbuild/rules_scala/blob/master/docs/coverage.md

LGTM, @gergelyfabian could you also add howto info for users in https://github.com/bazelbuild/rules_scala/blob/master/docs/coverage.md

LGTM, @gergelyfabian could you also add howto info for users in https://github.com/bazelbuild/rules_scala/blob/master/docs/coverage.md

Done :)

LGTM, @gergelyfabian could you also add howto info for users in https://github.com/bazelbuild/rules_scala/blob/master/docs/coverage.md

Done :)

Thanks, @gergelyfabian!

Thanks, @gergelyfabian!


Netbird windows/amd64 running in userspace instead of kernel

Describe the problem
Netbird windows/amd64 running in userspace instead of kernel
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Are you using NetBird Cloud?

NetBird version
0.29.4
NetBird status -dA output:
https://pastebin.com/KemkwuqM
Do you face any (non-mobile) client issues?
Please provide the file created by netbird debug for 1m -AS.
We advise reviewing the anonymized files for any remaining PII.
netbird.debug.3086207003.zip

We currently don't support wireguard in the windows kernel


Over resource limits on Streamlit Cloud

Hey there :wave: Just wanted to let you know that your app on Streamlit Cloud deployed from this repo has gone over its resource limits. Access to the app is temporarily limited. Visit the app to see more details and possible solutions.

The app has been rebooted and thus the issue must be resovled.


Add support for parsing CSS variables

Adds support for parsing CSS Variables Level 1.
This PR is a prerequisite for resvg#821.

Right, so uhm. @linebender, should I actually add anything besides just bare VariableFunction parsing?
It feels like adding support for var() to all parsers is a mistake.

Sorry, but I would not have time reviewing your PR anytime soon.
But I would suggest starting with simplecss. svgtypes isn't designed to parse CSS. It has to be done beforehand.

Sorry, but I would not have time reviewing your PR anytime soon.

That's alright, it can wait, not sure I'll finish it anytime soon either. :smile:
Finishing doesn't block the review though as I asked most questions already so if I forget, a review bump will be a good encouragement to implement variables for other types.

svgtypes isn't designed to parse CSS. It has to be done beforehand.

Took another look at the specification and you're right, CSS variables are only supported by browser implementation of SVG DOM because it's treated as HTML. However, having a way to modify values like Paint after they've been parsed (what would be compute time in browsers) is really useful for external programs.


Dataset Food price of Srilanka

This dataset contains Food Prices data for Srilanka.
🛠 Fixes Issue

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
Merge it under hacktoberfest

Hey @iamrahul8, you made separate PR for different datasets at once. Doesn't it look spammy? Please make another PR, adding all the datasets.

Hey @iamrahul8, you made separate PR for different datasets at once. Doesn't it look spammy? Please make another PR, adding all the datasets.

@nikhil25803 , I don't think so. These all datasets have no relation among them. These all are of different field. Just because i have opened these all at same time not make it spammy. If i need then i can open one after one also.
Please have a look , i have opened these all with separate branches.
waiting for you reply

@iamrahul8 | If you do want to add multiple Dataset at a time,. You need to add them in a single PR not seperately.

@iamrahul8 | If you do want to add multiple Dataset at a time,. You need to add them in a single PR not seperately.

Well i need to wait for merge of my previous PR for opening another one ; correct me if i am wrong ?

Yes @iamrahul8


Add CPU Manager for pod cpuset assignment

Feature Description

One-line feature description (can be used as a release note): add CPU Manager for pod cpuset assignment based on resource/QoS attributes
Primary contact (assignee): @sjenning, @ConnorDoyle
Responsible SIGs: sig-node
Design proposal link (community repo): https://github.com/kubernetes/community/pull/654
Reviewer(s) - (for LGTM) @derekwaynecarr @vishh
Approver (likely from SIG/area to which feature belongs):
Feature target (which target equals to which milestone): alpha 1.8

Add UpdateContainerResources method to CRI:
https://github.com/kubernetes/kubernetes/pull/46105
Primary feature PR:
https://github.com/kubernetes/kubernetes/pull/49186

/sig node

@dchen1107 or @vishh -- could one of you add the v1.8 milestone?

Also the stage/alpha label please.

/assign @sjenning
/assign @ConnorDoyle

@sjenning @kubernetes/sig-cluster-lifecycle-feature-requests any updates for 1.8? Is this feature still on track for the release?

Yes, the alpha version of the feature merged over the weekend, examples and node e2e are in review.

/stage alpha

We are targeting v1.9 to graduate this feature from alpha to beta.

@ConnorDoyle as what we talk on Slack, is there anything I can help?

@ConnorDoyle @sjenning
Any plans for this in 1.11?
If so, can you please ensure the feature is up-to-date with the appropriate:

Description
Milestone
Assignee(s)
Labels:

stage/{alpha,beta,stable}
sig/*
kind/feature

cc @idvoretskyi

This feature current has no milestone, so we'd like to check in and see if there are any plans for this in Kubernetes 1.12.
If so, please ensure that this issue is up-to-date with ALL of the following information:

One-line feature description (can be used as a release note):
Primary contact (assignee):
Responsible SIGs:
Design proposal link (community repo):
Link to e2e and/or unit tests:
Reviewer(s) - (for LGTM) recommend having 2+ reviewers (at least one from code-area OWNERS file) agreed to review. Reviewers from multiple companies preferred:
Approver (likely from SIG/area to which feature belongs):
Feature target (which target equals to which milestone):

Alpha release target (x.y)
Beta release target (x.y)
Stable release target (x.y)

Set the following:

Description
Assignee(s)
Labels:

stage/{alpha,beta,stable}
sig/*
kind/feature

Once this feature is appropriately updated, please explicitly ping @justaugustus, @kacole2, @robertsandoval, @rajendar38 to note that it is ready to be included in the Features Tracking Spreadsheet for Kubernetes 1.12.

Please note that Features Freeze is tomorrow, July 31st, after which any incomplete Feature issues will require an Exception request to be accepted into the milestone.
In addition, please be aware of the following relevant deadlines:

Docs deadline (open placeholder PRs): 8/21
Test case freeze: 8/28

Please make sure all PRs for features have relevant release notes included as well.
Happy shipping!
P.S. This was sent via automation

Hi
This enhancement has been tracked before, so we'd like to check in and see if there are any plans for this to graduate stages in Kubernetes 1.13. This release is targeted to be more ‘stable’ and will have an aggressive timeline. Please only include this enhancement if there is a high level of confidence it will meet the following deadlines:

Docs (open placeholder PRs): 11/8
Code Slush: 11/9
Code Freeze Begins: 11/15
Docs Complete and Reviewed: 11/27

Please take a moment to update the milestones on your original post for future tracking and ping @kacole2 if it needs to be included in the 1.13 Enhancements Tracking Sheet
Thanks!


Workaround for nodeunit

Using nodeunit on a project which use browserify, return an error like
/home/bud/my_secret_project/node_modules/raven-js/dist/raven.js:1871
 })((function() { if (window) { return window; } else { return this;} })());
                      ^
 ReferenceError: window is not defined

Obviously in a node context the window is not defined, passing this arguments is fine to run the tests.
I have tested (with internal tests) this patch and the result was:
./node_modules/.bin/grunt test dist
Running "jshint:all" (jshint) task
>> 9 files lint free.

Running "mocha:all" (mocha) task
Testing: test/index.html

  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․Error: Raven has not been configured.
․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․

  124 passing (8s)

>> 124 passed! (8.31s)

Running "clean:0" (clean) task
Cleaning "build"...OK

Running "gitinfo" task

Running "version" task

Running "concat:core" (concat) task
File "build/raven.js" created.

Running "uglify:dist" (uglify) task
Source Map "build/raven.min.map" created.
File "build/raven.min.js" created.

Running "fixSourceMaps:all" (fixSourceMaps) task
File "build/raven.min.map" fixed.

Running "copy:dist" (copy) task
Created 1 directories, copied 3 files

Done, without errors.

I'm not gonna lie, I'm hesitant to pull this change solely because I think all of this _footer.js stuff is wrong. It has become unwieldy and unmaintainable.
This is the proposed new version:
// Expose Raven to the world
if (typeof define === 'function' && define.amd) {
    // AMD
    window.Raven = Raven;
    define('raven', [], function() {
      return Raven;
    });
} else if (typeof module === 'object') {
    // browserify
    module.exports = Raven;
} else if (typeof exports === 'object') {
    // CommonJS
    exports = Raven;
} else {
    // Everything else
    window.Raven = Raven;
}

})(
  (function() {
    if (typeof window !== 'undefined') {
      return window;
    } else {
      return this;
    }
  })()
);

Is this really how every other project works? I'm finding this hard to believe. Why is this not a solved problem that can just be copy/pasted as a whole from some other more, well established project?

So jQuery has four pieces that are used for it's build from what I can tell at a quick glance:
https://github.com/jquery/jquery/blob/master/src/intro.js
https://github.com/jquery/jquery/blob/master/src/exports/amd.js
https://github.com/jquery/jquery/blob/master/src/exports/global.js
https://github.com/jquery/jquery/blob/master/src/outro.js
This compiles together to generate:
(function( global, factory ) {

	if ( typeof module === "object" && typeof module.exports === "object" ) {
		// For CommonJS and CommonJS-like environments where a proper `window`
		// is present, execute the factory and get jQuery.
		// For environments that do not have a `window` with a `document`
		// (such as Node.js), expose a factory as module.exports.
		// This accentuates the need for the creation of a real `window`.
		// e.g. var jQuery = require("jquery")(window);
		// See ticket #14549 for more info.
		module.exports = global.document ?
			factory( global, true ) :
			function( w ) {
				if ( !w.document ) {
					throw new Error( "jQuery requires a window with a document" );
				}
				return factory( w );
			};
	} else {
		factory( global );
	}

// Pass this if window is not defined yet
}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) {

/*
 * [ Insert all of jQuery here ]
 */

// Register as a named AMD module, since jQuery can be concatenated with other
// files that may use define, but not via a proper concatenation script that
// understands anonymous AMD modules. A named AMD is safest and most robust
// way to register. Lowercase jquery is used because AMD module names are
// derived from file names, and jQuery is normally delivered in a lowercase
// file name. Do this after creating the global so that if an AMD module wants
// to call noConflict to hide this version of jQuery, it will work.

// Note that for maximum portability, libraries that are not jQuery should
// declare themselves as anonymous modules, and avoid setting a global if an
// AMD loader is present. jQuery is a special case. For more information, see
// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon

if ( typeof define === "function" && define.amd ) {
	define( "jquery", [], function() {
		return jQuery;
	});
}

var
	// Map over jQuery in case of overwrite
	_jQuery = window.jQuery,

	// Map over the $ in case of overwrite
	_$ = window.$;

jQuery.noConflict = function( deep ) {
	if ( window.$ === jQuery ) {
		window.$ = _$;
	}

	if ( deep && window.jQuery === jQuery ) {
		window.jQuery = _jQuery;
	}

	return jQuery;
};

// Expose jQuery and $ identifiers, even in AMD
// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
// and CommonJS for browser emulators (#13566)
if ( typeof noGlobal === strundefined ) {
	window.jQuery = window.$ = jQuery;
}

return jQuery;

}));

I don't know much about this stuff, but can't we just adapt what jQuery does and be done with all of this?


[UI] PackageReference instructions should handle dev dependency

The display package page now had a tab for PackageReference installation instructions. These instructions should include PrivateAssets for dev dependencies.
See https://twitter.com/MagickNET/status/1121369830056169472
/cc @rrelyea @khellang @xavierdecoster

This is already tracked by https://github.com/NuGet/NuGetGallery/issues/5666, no? 🤔

Ah yup you're right!


Edit the telegram notification message template

⚠ Please verify that this question has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
How can I remove extra text when sending a message to telegram? What are some ways? Thank you.
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.23.3
💻 Operating System and Arch
Uuntu 20.04 x86
🌐 Browser
Google Chrome
🖥 Deployment Environment

Runtime:
Database:
Filesystem used to store the database on:
number of monitors:

How can I remove extra text when sending a message to telegram?

That is currently not possible as https://github.com/louislam/uptime-kuma/issues/646 is not implemented.
I know that this is not what you want to hear, but CURRENTLY the only way is to fork the project, customise the telegram notification provider and run that version.

[ ]


Add NetworkAttachmentDefinition reporter

Signed-off-by: Or Mergi<EMAIL_ADDRESS>
What this PR does / why we need it:
This PR extends test suite kubernetes custom reporter to log NetworkAttachmentDefinition
object as well as other k8s entities, making debug of NAD objects possible.
This will also help with solving AfterSuite errors related to namespaces deletion in sriov-lane jobs.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

@ormergi if you feel like you don't need a release note (agreed, not needed), consider writing NONE in the body.

/release-note-none

/hold
@ormergi Can we have a failing test that show the result at artifacts ?

@ormergi if you feel like you don't need a release note (agreed, not needed), consider writing NONE in the body.

Thanks for quick response, I added NONE to release note PR description

/hold
@ormergi Can we have a failing test that show the result at artifacts ?

We should see it at this job
/test pull-kubevirt-e2e-kins-1.17-sriov

/test pull-kubevirt-e2e-kind-1.17-sriov

/test pull-kubevirt-e2e-kind-1.17-sriov

/test pull-kubevirt-e2e-kind-1.17-sriov

@qinqon @danielBelenky
Now we got the logs
https://storage.googleapis.com/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/3794/pull-kubevirt-e2e-kind-1.17-sriov/1281231104992350208/artifacts/k8s-reporter/1_networkAttachmentDefinitions.log

/lgtm
/approve
/hold
You saw them corrected once, right? Just unhold if that is the case.

/lgtm
/approve
/hold
You saw them corrected once, right? Just unhold if that is the case.

Yes, thank you :)

/unhold
/retest

/unhold

/test pull-kubevirt-e2e-kind-k8s-1.17.0-ipv6


Steps to setup apprtc not working

I"m running Ubuntu 14.04 LTS and trying to make that machine as server by executing the commands that are present in the homepage of AppRTC. The server is starting at the port 8080 but am not able to connect to that port using my Windows machine.
Please suggest whether it is a port issue or any prerequisites to be taken care other than the ones specified in the main page.

Are you going test it locally or start in production server?
The best way to test it is simply run server and see the results in the browser in one machine.

I'm trying to simulate it in a local area network.

To simulate in network i suggest two solutions:

http://askubuntu.com/questions/112177/how-do-i-tunnel-and-browse-the-server-webpage-on-my-laptop
2.http://askubuntu.com/questions/295962/how-to-access-localhost8080-running-on-ubuntu-from-windows-running-into-virtual

I'm not making use of features like remote desktop / tunneling.
My approach is simple: I have 2 systems, am making the ubuntu one as AppRTC server and am trying to connect to a appRTC server using <ip_address>:<port_number> in the browser from a windows machine.

Yes it will be more simple not use port tunneling - it is good if from some reason you have only 22 port opened.
Solution with Virtualbox is also in this situation (camera sharing) not the best.
So run server in ubuntu, open ports 8080 in iptables (INPUT and OUTPUT), in window's browser go to page  http://ip_ubuntu or  http://pc_name. And don't work. So maby check firewall/antyvirus in Windows.

Hi, I considered what you have said and just tried to execute a loopback from a single machine. I tried for localhost:8080 on the ubuntu machine's web browser.. but still the connection is getting timed out. what could be the reason??

Something wrong with your loopback interface?

I think it is firewall of your system. Show your iptables rules.

apprtc@Intel-PC:~$ sudo iptables --list
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
This is how my iptable rules look like.. Can you tell me what can be inferred about it?

Sorry for late answer.
iptables are standard, and all should work (all is ACCEPTED).
Try start app on other port  using --port <some_number>
For example:
my_name@laptop:~/WEBRTC/apprtc-master/out/app_engine$ ../../../google_appengine/dev_appserver.py ./../../out/app_engine --port 8009
INFO     2015-06-18 05:36:08,538 api_server.py:190] Starting API server at: http://localhost:41356
INFO     2015-06-18 05:36:08,550 dispatcher.py:192] Starting module "default" running at: http://localhost:8009
INFO     2015-06-18 05:36:08,552 admin_server.py:118] Starting admin server at: http://localhost:8000

Closing due to inactivity.


bootstrap hooks

This will give very basic support for hooks during bootstrap.
I went with something as simple as possible since I have basically no data revolving around use cases.  There's a lot that's missing here, hooks based on user, having hooks load from dependent ruby/puppet modules, only running under certain conditions if we really want to create a "puppet-like" experience.  But this will get the job done.
I went with a directory over a naming convention because I thought it'd be harder to get wrong and puppet already has semantic directory structures.  Although I suppose it also has semantic names as well since boxen loads files with specific names by default.

actually wait a bit for this.  In a fit of delirium I forgot to test to this to make sure it works.

Thanks for this @akalman! Let me know when you're ready for a review and I'll take a look.

ok consider this haphazardly tested!

@jacobbednarz any update on this?

I've been going back and forth with myself on this for the last week trying to weigh up the pros and cons because this has the potential to slow down Boxen runs if we're not careful about it.

@akalman is this still something you're interested in landing?


*** abort because of serious configure-time warning from Cabal

Issue description
Simmilar to #2527, #3822 but no activity since 2014.
When trying to install multiple specific haskell packages that require different versions of the same package I get this:
...
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package universum-0.8.0 requires containers-<IP_ADDRESS>
package binary-<IP_ADDRESS> requires containers-<IP_ADDRESS>
...
*** abort because of serious configure-time warning from Cabal

Steps to reproduce
nix-build this expression:
{nixpkgs ? <nixpkgs>}:
let pkgs = import <nixpkgs> {};
in
with pkgs.haskell.lib;
with pkgs.haskellPackages;
let

# uncompress and cd into first directory
fetchurlUntar = name: payload: pkgs.runCommand name {src = pkgs.fetchurl payload;} ''
  tar xzf "$src"
  export FIRST_DIR=$(ls -d */ | head -n 1)
  cp -r "$FIRST_DIR" $out
'';

# use fetchgit then callCabal2nix
gitCabalPkg = name: payload: context:
  dontHaddock (dontCheck (callCabal2nix name (pkgs.fetchgit payload) context));

# use fetchurl and uncompress then callCabal2nix
tarCabalPkg = name: payload: context:
  dontHaddock (dontCheck (callCabal2nix name (fetchurlUntar name payload) context));

# use callHackage
hackagePkg = name: version: context:
  dontHaddock (dontCheck (callHackage name version context));

# recursive reference overrides
packages = rec {
  fmt = hackagePkg "fmt" "<IP_ADDRESS>" {};
  containers = hackagePkg "containers" "<IP_ADDRESS>" {};

  universum = gitCabalPkg "universum" {
    url = "https://github.com/serokell/universum.git";
    rev = "1390ed2f708c73b96dc88108579d769c809332d1"; # 0.8.0
  } {
    inherit containers;
  };

  log-warper = tarCabalPkg "log-warper" {
    url = "https://github.com/serokell/log-warper/archive/v1.7.2.tar.gz";
    sha256 = "3ef1b77f1d5087d95fc300d8625e157f007a2bbe4388a5154f2afb05ca17681a";
  } {
    inherit containers;
    inherit fmt;
    inherit universum;
  };

};

in
packages

What is the problem behind having two versions of the same package for different packages?
Technical details
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 4.9.66, NixOS, 17.09.2281.b4a0c011e81 (Hummingbird)`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 1.11.15`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`

@Radivarig you're using the overrides wrong. You need to override whole scope. Which package are you trying to build?

@domenkozar I'm trying to build log-warper which is part of another package. It builds when its containers dependency is set to <IP_ADDRESS> so the issue is bypassed when there is no above Cabal warning.
I've found strictConfigurePhase that could be set to false so that Cabal warning gets ignored but seems it's no longer in nixpkgs.
If for full scope you mean this, it still gives the same output.
{ nixpkgs ? <nixpkgs> }:
let
config = {
  packageOverrides = pkgs: {
    haskellPackages = pkgs.haskellPackages.override {
      overrides = new: old: {
      # ...
        log-warper = # ...
        # still requires these to be passed
        {
          fmt = new.fmt;
          universum = new.universum;
        };
      };
    };
  };
};
pkgs = import nixpkgs {inherit config;};
in {
  #...
}

Unless I'm missing something?
Ideally, I'd like to understand the need to throw error on multiple different versions. Nix seems like a perfect tool for having just that possible.

containers is a core package that is part of the GHC compiler. Building a non-trivial package with any version other than the one your compiler offers is very hard and may, in fact, be flat-out impossible. Therefore, Nix makes no attempt to provide an infrastructure that allows replacing core libraries.

cabal-install and stack are totally happy with multiple versions. I could not figure which version they choose, though.

Building a non-trivial package with any version other than the one your compiler offers is very hard and may, in fact, be flat-out impossible.

I'm trying to understand this statement. What do you mean by the "compiler offering" a version of a package? Can a library that is not a dependency of ghc, still run into this issue?

What do you mean by the "compiler offering" a version of a package?

ghc comes with a set of libraries, like containers-<IP_ADDRESS> in ghc-8.10.3, for example. Linking non-trivial applications with a different version of containers than the one provided by ghc is problematic and should best be avoided if possible.

What do you mean by the "compiler offering" a version of a package?

ghc comes with a set of libraries, like containers-<IP_ADDRESS> in ghc-8.10.3, for example. Linking non-trivial applications with a different version of containers than the one provided by ghc is problematic and should best be avoided if possible.

I think @cdepillabout's gist here does exactly that?
https://gist.github.com/cdepillabout/a1b7226063f7aa57878059f9a3c638b4
Though something may have changed to make this possible since your last comment.


Switch to dashes instead of plus for revbumps

"+" is for metadata and not numeric versioning, in fact it cannot be
compared and for e.g. 1.0+1 and 1.0+2 are at the same version when comparing
in semver notation.
By using dashes we refer to internal numbering, and instead can be
ordered
Fixes #679
Signed-off-by: Ettore Di Giacinto<EMAIL_ADDRESS>

Looks good, have you checkd the github CI naming and aws/azure/etc naming?
IIRC in packer we change the last + into a dash because it was not compatible, that may be broken now? Or probably not and we can drop it.

I've checked and we just replace + with -, so we should be fine.. let's see if anything breaks


Update existing container to newer Docker Hub build (like issue #53)

Hi, I have managed to set up some Docker Containers with Container Station. But I cannot figure out how to update those existing, already installed applications to a new version from Docker Hub. As I am not an expert in Docker Containers, but some of the Containers are exposed to the WWW I need to keep them up to date without having to reconfigure the containers every time...

Similar complaint here.
Running a container on a TS-451+ for my UniFi controller (jacobalberty/unifi:latest) to great effect and one of the reasons I chose QNAP.  So I'm rather disappointed that I can't use a standard Docker feature (as I understand it) to pull an updated version of the image to stay up to date.
I have submitted a support request on this so who knows if this is in progress but issue 53 was created almost 18 months ago and closed without resolution.
When I go to Images and pull the image as "latest" it does nothing, I guess because it already has (an old version of) it against an existing container (albeit stopped) but it will pull 5.10.25 and "stable" if I specify that tag
Please enable this feature, container station is a great way to get the most from an always on QNAP NAS but if we can't keep the versions up to date without creating a new container then it's a bit of a fail

Same issue. Has anyone identified a work-around to upgrade an existing container? (e.g., stop the container, delete the image, re-pull the latest image, restart container?).

In order to upgrade app to the real latest version, one needs to ssh into the QNAP and:
cd /share/Container/container-station-data/application/your-app-name
docker-compose pull
docker-compose up --build -d

Still, waiting for "normal" way of doing this in QTS.

Same issue. Has anyone identified a work-around to upgrade an existing container? (e.g., stop the container, delete the image, re-pull the latest image, restart container?).

As a workaround you can just create a new container with the exact same settings.
The most important things: your data in volumes and backups.
The procedure itself just takes a couple of minutes (if you are "trained")

Pull the newer image of your container

Recommendation: always specify the exact version and not just "latest", so you will later know the version you used.

Stop the original container
Make a backup of your data
Create a new container with exact the same configuration as your original one (basically copy & paste from the configuration UI)
start the new container
Check -> if everything is fine -> delete your old container (and base image)

... still only a workaround

In order to upgrade app to the real latest version, one needs to ssh into the QNAP and:
cd /share/Container/container-station-data/application/your-app-name
docker-compose pull
docker-compose up --build -d

Still, waiting for "normal" way of doing this in QTS.

Odd, I'm looking for my Unifi controller to update it and does not appear here. Looks like there is a bunch of stuff found in /share/Contianer/container-station-data/lib/docker but I'm still unable to find the application space.
[/share/Container/container-station-data/lib/docker/containers] # ls /share/Container/container-station-data/application/ [/share/Container/container-station-data/lib/docker/containers] # pwd /share/Container/container-station-data/lib/docker/containers [/share/Container/container-station-data/lib/docker/containers] # ls 65ed5f4e03097e6001ea0d3c474cbd98ab8711162bc2cd06adb026374e2c7f43/ [/share/Container/container-station-data/lib/docker/containers] # cd 65ed5f4e03097e6001ea0d3c474cbd98ab8711162bc2cd06adb026374e2c7f43/ [/share/Container/container-station-data/lib/docker/containers/65ed5f4e03097e6001ea0d3c474cbd98ab8711162bc2cd06adb026374e2c7f43] # ls 65ed5f4e03097e6001ea0d3c474cbd98ab8711162bc2cd06adb026374e2c7f43-json.log  config.v2.json   hostname  qnap.json    resolv.conf.hash checkpoints/                                                               hostconfig.json  hosts     resolv.conf  shm/ [/share/Container/container-station-data/lib/docker/containers/65ed5f4e03097e6001ea0d3c474cbd98ab8711162bc2cd06adb026374e2c7f43] # cd shm [/share/Container/container-station-data/lib/docker/containers/65ed5f4e03097e6001ea0d3c474cbd98ab8711162bc2cd06adb026374e2c7f43/shm] # ls [/share/Container/container-station-data/lib/docker/containers/65ed5f4e03097e6001ea0d3c474cbd98ab8711162bc2cd06adb026374e2c7f43/shm] # cd .. [/share/Container/container-station-data/lib/docker/containers/65ed5f4e03097e6001ea0d3c474cbd98ab8711162bc2cd06adb026374e2c7f43] # cat hosts <IP_ADDRESS>       localhost ::1     localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters 10.xx.xx.xx     UniFiController [/share/Container/container-station-data/lib/docker/containers/65ed5f4e03097e6001ea0d3c474cbd98ab8711162bc2cd06adb026374e2c7f43] #

To complement @scrobbleme's solution you can also create a new container with the newest version. This will create new volumes and you just need copy the content of the old volumes (mainly config/) into the new ones which is safer as you don't touch your original environment.
Here is a detailed guide:

Open the "settings/shared folders" page of the old container and copy / paste the path:

Do the same for the new container:

Stop both containers
SSH to your NAS (using putty for instance)
First we'll clean the new config/ by using the rm command:

cd /share/CACHEDEV3_DATA/Container/container-station-data/lib/docker/volumes/b9859a80d28c304f0554d31bbb65164b4de30ce58da1f8ca3ce213f4aed0a317/
rm -rf *

Then we'll copy the old config/ folder to new config/ folder by using the cp command:

cp -r /share/CACHEDEV3_DATA/Container/container-station-data/lib/docker/volumes/20e15094b799847a54f01b163604f6ff981757ecdb9cfaf3d2df52b4879d95fd/_data  /share/CACHEDEV3_DATA/Container/container-station-data/lib/docker/volumes/b9859a80d28c304f0554d31bbb65164b4de30ce58da1f8ca3ce213f4aed0a317/

(please note that _data is not in the destination path)

Start only the new container, it should have the same config that the old one

NB: if you change the port configuration, it creates a new image and new volumes so you'll need to do that again

I use portainer to manage my containers on my qnap. It needs a little configuration (there was a guide on the internet) but everything is much easier after using portainer. On the other hand I have the same problem when I need/want to update portainer (it cannot update itself).

I'm in same case as most of people here. Using portainer is fine but honestly it's a bit overkill.
Can someone from QNAP give some insights on when this feature could arrive in container-station? or at least if this is something that QNAP is going to work on or not?
@tjandras to update portainer I create an App using a yaml file using UI; when I need to update I delete the app and recreate-it. Not automatic but I think this is fine for portainer as I don't expose it directly.

So still no way to upgrade an image of a container?
I have the same problem of upgrading unificontroller on qnap, and still nothing found in /share/Container/container-station-data/application/your-app-name
I don't want to mess up the current container, so I am glad to find a goog guide to how to.

@walkerlee @walkerlee-qnap   Can you guys get with it?  We want a way to update the images after creation from the container station.  This is not a hard thing to do.  Or opensource the code so we can do this.  Spend $2.5k on this NAS and it's great, however, this is just ridiculous.   Look @jairbubbles 's approach here.. Can you even imagine the tech support you guys are paying to deal with people screwing up a command to do something that should be super basic?

2 years on...
If it's too difficult for you or, more likely extremely low priority, then is there another Docker app that could be supported instead?
I've resorted to buying a couple of Raspberry Pis for the apps I use that support it but might look at a dedicated docker system on NUC running Linux
When I upgrade to a larger NAS I'm sorry to say it wont be a QNAP, I don't know if Synology are better but it'll be something designed as a NAS and not some wanna-be appliance server come NAS.

@ril3y I use portainer too now to update... and I don't backup my volumes before because I'm too lazy 🥱

How is this still not possible? Really QNAP? 2 years!! So disappointed. I tried Portainer but I prefer ContainerStation due to its ease of use. I'll be upgrading my NAS next year, guess I'd better start looking elsewhere.

I have the same problem of upgrading unificontroller on qnap, and still nothing found in /share/Container/container-station-data/application/your-app-name

Unifi Controller is manageable if you back up the config from the controller itself (backup data is optional), create a new container and import the config to the new container - assign the same MAC address to the container and you'll be upgraded in no time.  I'm looking at getting a Dream Machine Pro which will make this redundant but a Cloud Key could also be a way to go.  Also using Pi Hole, now switched to using an actual Pi but this is all extra power/network physical cables.
There's potential for an always-on device like a NAS that it can host these "light service" type apps that don't demand much of the CPU and come with a ton of "local" storage without any extra physical devices, saving on space and power.  And Docker is the most flexible way to do this!

I followed QNAP's tutorial for setting up a UniFi Controller. But I now think it's missing a crucial step.
When you create the container, it's important to create a named volume for the data you want to keep:

jacobalberty/unifi-docker's README mentions this:

This is a containerized version of Ubiqiti Network's Unifi Controller.
The following options may be of use:

Set the timezone with TZ
Bind mount the data and log volumes

That last bullet means you're expected to redirect at least the data and logs directories (I redirected their parent, unifi, directory) to somewhere outside of the container. If you don't do that, the data you want gets written into the container, which you don't want because the container is expected to be disposable.
With a named volume, you can upgrade by destroying and re-creating the container.

Can't believe this is 2 years on and still no word from QNAP, perhaps most users just slap in a few drives and never use these features.  I'll have a look around for an appliance server option I think, one that properly supports docker.
Don't get me wrong, I have no complaints about the performance and durability of this as a NAS product, but, the value adds don't seem to have much value and my product options would look different if I'd known this up front.

Totally agree. I started with Docker on QNAP, and couldn't believe what the hype was all about, considering how clunky it was - until I learned that QNAP hasn't really implemented Docker support for other than "testing" it.
It is SO annoying that you can't just pull a new image. There is a pull button, but you can't choose the existing images.

I also had to spin up a portainer-ce container, to be able to properly manage the rest of my container.
Mapping the docker.sock also couldn't be done via the gui, so i had to resort to the command line as Matthias Seifert figured out.
docker run -d --restart=unless-stopped -p 8000:8000 -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer:/data --name portainer-ce portainer/portainer-ce:latest
It would indeed be nice if QNAP builds the container update functionality into the Containerstation App!


history left in broken state

https://github.com/nushell/nushell/issues/1977
The library always overwrites the history which does not have practical value. Instead it must only append new lines to the existing file.

https://github.com/kkawakam/rustyline/blob/master/src/history.rs#L125
    // TODO append_history

not supported.

Could you please give a try to PR #419 ?

Version 7.0.0 released


Register

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/96809
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.1.0 -m "<description of version>" f699978406b2a468890588870e92455995233abe
git push origin v1.1.0

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/96866
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.1.1 -m "<description of version>" 82a90f53cab59af884201eb0c209d07dd029a575
git push origin v1.1.1

Registration pull request updated: JuliaRegistries/General/96866
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.1.1 -m "<description of version>" 54bbc0a6a4ee2522eb8681286a82071397fd6f3a
git push origin v1.1.1

@JuliaRegistrator register()

Error while trying to register: Version 1.1.1 already exists


Add rsync function to Image.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1502  👈 (View in Graphite)
#1501
#1491
#1480
#1475
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Merge activity

Dec 2, 8:41 PM EST: A user started a stack merge that includes this pull request via Graphite.


How to modify payload size from 2048 bytes to 4096 bytes?

I want to install uniqush from docker build and also want to change payload size from 2048 to 4096 bytes. I need payload size 4096 bytes inside docker container, can any one please guide me how can i change it ?

To increase the maximum APNS payload size from 2048 to 4096, you must use apple's APNS protocol instead of the binary protocol. By default, the binary protocol is used.

you must add bundleid=com.myapp to the query params in a call to /addpsp (Where your app build's bundleid for that environmentis com.myapp).
Every time you send a push with /push, pass uniqush.http2=1

More details are found in https://github.com/uniqush/uniqush-push/issues/157#issuecomment-354528873


Video Surface View

As a user I can use a Video surface view with compose and Android View.
Acceptance criteria

Display a video on a SurfaceView, we choose to not support TextureView.
Display subtitles view matching the size of the Video container view
Handle video aspect ratio, for audio use a default one or one set by the user. Default 1:1
Handle scale mode (Fit, Fill, zoom) like it is done with ExoplayerView

Room for improvement
On the poc, we can provide a crop scale mode. But we think the zoom mode should be enough to handle full screen.
Tasks

[ ] Create Android View
[ ] Create Compose view

Story demo show previous page surface on top of the current one. It was already the case with the Exoplayer variant. Still need some investigation to check if it is the demo implementation or a Composable SurfaceView implementation.


Repository abb_coretec_example.json not found

Link does not work: abb_coretec_example.json

fixed with PR #17


on Mac (Catalina) with latest @angular.cli and electron all references in electronService are null

Sorry, I fugured it out, in Electron 6+ you have to force nodeIntegration: true while creating BrowserWindow... it works now as expected
win = new BrowserWindow({
width: 800,
height: 600,
show: true,
webPreferences: {
nodeIntegration: true
}
});


Apache License/Maven.data/CI

Describe your changes :

I worked on the OpenMetaData Project  because #6302 #6295 #6298 @Github.com/MikeC90

Type of change :

[x] Bug fix
[x] Improvement
[x] New feature
[Read Build Code and Run Tests for how to setup your local development environment. Get started with our Good first issues.]\ [x] Documentation

Frontend Preview (Screenshots) :
For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.

Checklist:

[x] I have read the CONTRIBUTING document.
[c] I have commented on my code, particularly in hard-to-understand areas.
[x

text.txt
] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

hi @Mikec90 there are no changes coming through. You can follow the process here to open a PR https://docs.open-metadata.org/developer/how-to-contribute


Expose absolute coordinates of widgets on contentview

Currently laid out widget coordinates relative to its parent are exposed by the bounds property. Access to absolute position of a widget on the screen may be useful for advanced animations.
Use case example:
scroll view with complex layout. Goal: pop-up animation, scaling an arbitrary scroll view child widget to fit the screen (e.g. modal image details view with a fluid animation). Implementation suggestion:

get the absolute coordinates of the widget.
create a second twin widget and append it to the page using the absolute coordinates from (1).
set visible of the first widget to false.
animate the widget from (2).

Currently (1) is only possible by manually calculating the absolute coordinates of the widget (not easy with complex layouts) respecting the current scroll position.

Agreed on the usability... On Android you can get the absolute coordinates of a view on screen. How about iOS @patrykmol?

It is possible but has always been problematic on iOS (lots of calculations).

We plan on an absoluteBounds property that returns bounds relative to the contentView.

👍 We could also use this in some of our projects.

I think this could be implemented easily in JS only, if the existing bound property is precise enough and we limit it to descendants of contentView. I think it should be method though, relativeBounds(someOtherWidget).

Android has the methods https://developer.android.com/reference/android/view/View#getLocationOnScreen(int[]) and https://developer.android.com/reference/android/view/View#getLocationInWindow(int[]) which will be faster than doing it in js.

Any word on this? In my use case, since negative edge offsets are no longer supported, this would really make my life easier.

Negative bounds have never been supported on Android. We added clarified this in the documentation accordingly. The idea to get the view bounds is still valid though. For the moment you could traverse up the view hierarchy in a resize callback and add up the top/left coordinates.

Implemented in a9c2bb2d874a8ba52e92b4a3c2bfc0460af49eb0

@cookieguru Thanks for the heads up. Closing as resolved.


BioCantor 0.4.5 import error

In a fresh virtualenv
(bctest) % pip install biocantor
(bctest) % python3 -c 'from inscripta.biocantor.parent import Parent'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/cluster/home/markd/tmp/bctest/lib/python3.9/site-packages/inscripta/biocantor/parent/__init__.py", line 9, in <module>
    from inscripta.biocantor.parent.parent import Parent, SequenceType  # noqa: F401
  File "/cluster/home/markd/tmp/bctest/lib/python3.9/site-packages/inscripta/biocantor/parent/parent.py", line 13, in <module>
    from inscripta.biocantor.location.strand import Strand
  File "/cluster/home/markd/tmp/bctest/lib/python3.9/site-packages/inscripta/biocantor/location/__init__.py", line 8, in <module>
    from inscripta.biocantor.location.location import Location
  File "/cluster/home/markd/tmp/bctest/lib/python3.9/site-packages/inscripta/biocantor/location/location.py", line 9, in <module>
    from inscripta.biocantor.parent import Parent, SequenceType
ImportError: cannot import name 'Parent' from partially initialized module 'inscripta.biocantor.parent' (most likely due to a circular import) (/cluster/home/markd/tmp/bctest/lib/python3.9/site-packages/inscripta/biocantor/parent/__init__.py)
(bctest) [Exit 1] %

I have a fix for this in the Inscripta code base; I will try to push the code public ASAP

I was about to show you can fix this with the below idiom.  See also
https://stackoverflow.com/questions/22187279/python-circular-importing
--- .emacs.bak/location.py.~1~	2021-08-10 15:55:28.681585476 -0700
+++ location.py	2021-08-11 11:41:07.630260249 -0700
@@ -6,7 +6,7 @@
 from inscripta.biocantor.exc import NoSuchAncestorException, NullParentException
 from inscripta.biocantor.location.distance import DistanceType
 from inscripta.biocantor.location.strand import Strand
-from inscripta.biocantor.parent import Parent, SequenceType
+import inscripta.biocantor.parent as parent
 from inscripta.biocantor.sequence import Sequence
 from inscripta.biocantor.util.object_validation import ObjectValidation

@@ -45,7 +45,7 @@
     strand: Strand

     # The parent of this Location
-    parent: Parent
+    parent: parent.Parent

     # The length (number of positions) of this Location. For subclasses representing discontiguous locations,
     # regions between blocks are not considered
@@ -256,7 +256,7 @@
         """Returns a new Location corresponding to this Location with the given strand"""

     @abstractmethod
-    def reset_parent(self, new_parent: Parent) -> "Location":
+    def reset_parent(self, new_parent: parent.Parent) -> "Location":
         """Returns a new Location corresponding to this Location with positions unchanged and pointing
         to a new parent"""

@@ -286,7 +286,7 @@
         """Returns a BioPython interval type; since they do not have a shared base class, we need a union"""
         pass

-    def first_ancestor_of_type(self, sequence_type: Union[str, SequenceType]) -> Parent:
+    def first_ancestor_of_type(self, sequence_type: Union[str, parent.SequenceType]) -> parent.Parent:
         """Returns the Parent object representing the closest ancestor (parent, parent of parent, etc.)
         of this location which has the given sequence type. Raises NoSuchAncestorException if no ancestor with
         the given type exists."""
@@ -294,14 +294,14 @@
             raise NoSuchAncestorException("Location has no parent")
         return self.parent.first_ancestor_of_type(sequence_type, include_self=True)

-    def has_ancestor_of_type(self, sequence_type: Union[str, SequenceType]) -> bool:
+    def has_ancestor_of_type(self, sequence_type: Union[str, parent.SequenceType]) -> bool:
         """Returns True if some ancestor (parent, parent of parent, etc.) of of this location has the given sequence
         type, or False otherwise."""
         if not self.parent:
             return False
         return self.parent.has_ancestor_of_type(sequence_type, include_self=True)

-    def lift_over_to_first_ancestor_of_type(self, sequence_type: Union[str, SequenceType]) -> "Location":
+    def lift_over_to_first_ancestor_of_type(self, sequence_type: Union[str, parent.SequenceType]) -> "Location":
         """Returns a new Location representing the liftover of this Location to its closest ancestor sequence (parent,
         parent of parent, etc.) which has the given sequence type. If the immediate parent has the given type,
         returns this Location. Raises NoSuchAncestorException if no ancestor with the given type exists."""


containers: Add Containers.Container resource

Attributes

id (uuid primary key)
restart_policy (enum with possible values :nil, :no, :always, :unless_stopped and :on_failure)
hostname (string)
env (map)
privileged (boolean)

fields come from the io.edgehog.devicemanager.apps.CreateContainerRequest interface

closed by #645


Added extraVolumes and extraVolumesMounts.

Closes

Added extraVolumes and extraVolumesMounts values to be able to mount extra volumes.

We use the Secret Store CSI Driver (https://secrets-store-csi-driver.sigs.k8s.io/introduction.html) to mount the OIDC client secret from Azure Keyvault.
To be able to use this driver a volume needs to be added to the deployment with reference to the driver and the SecretProviderClass.

How was this change implemented?

Change has been tested locallly with specifying the extraVolumes and extraVolumesMounts values and verifying the resulting deployment definition and tested with no value for extraVolumes and extraVolumesMounts.

Release notes

Documentation Changes

lgtm but please squash the commits before we can merge.

Sorry accidently merged from main. Fixed it and squashed the commits.


ADD: amazon-ecr-credential-helper

#4613 awslabls/amazon-ecr-credential-helper: Automatically gets credentials for Amazon ECR on docker push/docker pull
$ aqua g -i awslabls/amazon-ecr-credential-helper

Added awslabls/amazon-ecr-credential-helper

Thank you for your contribution!

Released. https://github.com/aquaproj/aqua-registry/releases/tag/v3.9.0


Added a SecurityGroup for RemoteNode and RemotePod

An EKS Cluster supporting Hybrid Nodes requires a security group that allows port 443 from those cidrs. This commit adds a secondary security group for those cidrs.
This replaces the SecurityGroupId parameter with a required VpcId that the SecurityGroup will be created in.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

We need to update the docs with this change (this page)
In the docs, we need to say that the CloudFormation template creates the additional security group with the ingress for the remote node and pod CIDRs.

The current configuration matches the EKS Control plane ENI default security group outbound rules.

@finchd can we update the docs page linked below with the change required with this CloudFormation template change?