Nodes randomly become unavailable and freezes the whole cluster

For some reason I sometimes experience that the cluster freezes even though I try to deploy everything with HA in mind. When investigating the issue I can see that multiple nodes or sometimes even a single one just got into a "Not ready" state , which causes the cluster to freeze up

(Ignore the full load visualization below. Its just due to the metrics server not being available and reporting infinity)

What's even more weird is that if I check the graphs for the not ready nodes on hetzner, then they look incredibly busy

Do you have any idea what could be causing this? I can't really find any pattern in this.
This is my config
---
hetzner_token: blablabla
cluster_name: blablalba
kubeconfig_path: "./kubeconfig"
k3s_version: v1.24.9+k3s1
public_ssh_key_path: "./id_ed25519.pub"
private_ssh_key_path: "./id_ed25519"
ssh_allowed_networks:
    - <IP_ADDRESS>/0
api_allowed_networks:
    - <IP_ADDRESS>/0
schedule_workloads_on_masters: false
masters_pool:
    instance_type: cpx21
    instance_count: 3
    location: nbg1
worker_node_pools:
    - name: small
      instance_type: cpx21
      instance_count: 4
      location: nbg1
      labels:
          - key: workertype
            value: general
    - name: big
      instance_type: cpx31
      instance_count: 2
      labels:
          - key: workertype
            value: general
      location: nbg1
      autoscaling:
          enabled: true
          min_instances: 0
          max_instances: 3

    - name: dbprimary
      instance_type: cpx21
      instance_count: 1
      labels:
          - key: workertype
            value: dbprimary
      location: nbg1
    - name: dbreplica
      instance_type: cx21
      instance_count: 2
      labels:
          - key: workertype
            value: dbreplica
      location: nbg1
enable_encryption: true

My version of your tool is 1.1.0

What's confusing me is why does ArgoCD need to wait for containers to be healthy if they are stuck because the node is not ready. Shouldn't it just be scheduled onto other nodes that sit ready?

Ah I think I found the culprit

You have probably deployed workloads without specifying memory requests. That's something you should always do in order to ensure stability in the cluster.

Yep, you're right! I have done that now and haven't seen any issues so far. Thank you!


Add user-data paramater to notification callback

This also closes Issue #8

Hello, thanks for the contribution!
Would you kindly move the additional parameter to the end of the existing parameter list to keep consistent, thanks!
Cheers

LGTM, thanks!


added support for OpenShift down

Fix #208
cc @kadel @surajssd @sebgoa @ngtuna

@surajssd I have updated the PR.

We need tests for this PR to go in.

@surajssd Working on tests.

@kadel Updated the PR

@kadel Updated the PR.
Please review :)

@kadel I think it will be a heavy job, to bring up the OpenShift cluster for unit testing of the code. What we can do is, open a separate issue for the testing part and not block this PR for unit tests.

@kadel added comments.

@procrypt gofmt :wink:

Coverage decreased (-0.03%) to 34.975% when pulling 27dc5dcd819d72dda34de34602fc37e3ed154e4f on procrypt:down into 04a3131834cddfb1af42b63b21641fbbf84a4a9d on kubernetes-incubator:master.

@surajssd Good catch. When you resolve those issues with @procrypt. Feel free to merge it.

Coverage decreased (-1.3%) to 33.656% when pulling 6ad54a36e2392b1c46dc853af53e017013c69d28 on procrypt:down into 65e19e31054f53aa6f5d7c2ad32dd5a6839fff38 on kubernetes-incubator:master.

Coverage decreased (-1.3%) to 33.656% when pulling 6ad54a36e2392b1c46dc853af53e017013c69d28 on procrypt:down into 65e19e31054f53aa6f5d7c2ad32dd5a6839fff38 on kubernetes-incubator:master.

Coverage decreased (-1.3%) to 33.656% when pulling 6ad54a36e2392b1c46dc853af53e017013c69d28 on procrypt:down into 65e19e31054f53aa6f5d7c2ad32dd5a6839fff38 on kubernetes-incubator:master.

@procrypt thanks merging!


Prepare release 0.8.0

New release includes:

New table data-structure
Transients for map, set and map
New update_if_exists method for map and set
Various bug-fixes and performance improvements

Codecov Report

Merging #239 (0110362) into master (459854d) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 0110362 differs from pull request most recent head a814bcd. Consider uploading reports for the commit a814bcd to get more accurate results

@@           Coverage Diff           @@
##           master     #239   +/-   ##
=======================================
  Coverage   90.50%   90.50%
=======================================
  Files         119      119
  Lines       12109    12109
=======================================
  Hits        10959    10959
  Misses       1150     1150

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Rust-cargo failed, error: no override and no default toolchain set

Hello - I recently reinstalled emacs and rustup on my machine, and I'm getting the above error whenever I open a .rs file.
I installed rust via rustup in the Arch repositories. I've also tried using the rustup script from the rustup.rs website, but I get the above error with both.
When running rustup default, I get...
stable-x86_64-unknown-linux-gnu (default)
This is the full error from emacs:
Debugger entered--Lisp error: (error "Process rust-cargo failed with 1 (error: no override and no default toolchain set\n)")
  signal(error ("Process rust-cargo failed with 1 (error: no override and no default toolchain set\n)"))
  error("Process %s failed with %S (%s)" rust-cargo 1 "error: no override and no default toolchain set\n")
  flycheck-call-checker-process-for-output(rust-cargo nil t "metadata" "--no-deps" "--format-version" "1")
  flycheck-rust-cargo-metadata()
  flycheck-rust-cargo-workspace-root()
  #f(compiled-function (errors) #<bytecode -0x13b4b8c1b6a1c6ee>)(nil)
  flycheck-filter-errors(nil rust-cargo)
  flycheck-finish-current-syntax-check(nil "~/Work/vtrace-rs/")
  flycheck-report-buffer-checker-status(#s(flycheck-syntax-check :buffer #<buffer render.rs> :checker rust-cargo :context #<process flycheck-rust-cargo> :working-directory "~/Work/vtrace-rs/") finished nil)
  apply(flycheck-report-buffer-checker-status #s(flycheck-syntax-check :buffer #<buffer render.rs> :checker rust-cargo :context #<process flycheck-rust-cargo> :working-directory "~/Work/vtrace-rs/") (finished nil))
  #f(compiled-function (&rest args) #<bytecode -0x70df25aef77d770>)(finished nil)
  flycheck-finish-checker-process(rust-cargo 1 nil "error: no override and no default toolchain set\n" #f(compiled-function (&rest args) #<bytecode -0x70df25aef77d770>) "~/Work/vtrace-rs/")
  flycheck-handle-signal(#<process flycheck-rust-cargo> "exited abnormally with code 1\n")

Tried searching around, but couldn't find anything about this. Any help would be appreciated.

I've never seens this but seems to be a flycheck issue. You don't want to use lsp with flycheck ?

Turned out that was the issue - for those wondering, I used exec-path-from-shell in order to fix this, as I set my RUSTUP_HOME and CARGO_HOME environment variables to non-default values.

It looked like it was related to flycheck. But good to know that you fixed it by using exec-path-from-shell.


Adding posh-git to extras bucket

posh-git is a PowerShell module which provides Git/PowerShell integration.
more info:  http://dahlbyk.github.io/posh-git/

Thanks @r15ch3 . Will update.


Disable CSRF Referrer Checking

Disable referrer checking for HTTPS requests till domain redirection issue is handled

we dont have to disable it just allow a list of origins to be configured in settings

Ok. Will tweak it to handle a list of domains from settings.

#497 CSRF referrer check is done against specific domains in settings.
Resolved

lgtm, did you manage to set up a test for this?

Manual test will need SSL setup and domain redirection. I guess we can do away with it for now as it only handles CSRF issue.

lgtm, resolve conflicts please

lgtm

lgtm


CICD - Pull Request Commit Message Breaks NPM Publish workflow

https://github.com/toddjudd/cra-template-toddjudd/actions/runs/1749119503

This has been resolved by cleaning up the reduce-commit.js file to make it more resilient and adding tests for use during development.


feat: update .terraform-version to .opentofu-version

Update the naming of the file containing the opentofu version used for the current project
Before commit:
.terraform-version
After the changes are applied:
.opentofu-version

LGTM!


Question: Is bot missing some messages?

Question

Good day, everyone!
I have bot that listens to messages of any kind and logs into console received message.
bot.on('message', (msg) => {     console.log(msg) })
In test chat i have another bot (not mine) which responds to specific messages with text or pictures.
For some reason when this (not mine) bot sends any message my bot doesnt receive any event
I wonder am i using anything wrong? Since every other event from every other person is processed normally
my code for ref:
`const TGBot = require('node-telegram-bot-api');
const token = process.env.TOKEN
const bot = new TGBot(token)
bot.on('message', (msg) => {
console.log(msg)
})
bot.startPolling()`
Chat pic for ref: https://postimg.cc/1VB7xhPm
messages 1-3 are captured, and message 4 from bot is not seen at all

Hi @ac1dloop , the messages send by your bot or others bots don't generate any event. The thing is, bot can read messages from another bots. Is a Telegram Bot API server side limitation.

It makes sense. With all bot events it would be a lot of processing for server side. Thank you


Update ReflectionCache.java

Proposal of correction for the issues #40 and #41.

You are missing the import of ClassUtils that's why the build is failing.

thanks, this helped a lot!


AttributeError: btchip instance has no attribute 'enableAlternate2fa'

I use ElectronCash 2.9.3 in Ubuntu 16.04 LTS together with a Ledger hardware wallet. I got everything installed, the USB drivers set up and I am able to connect and see the account.
But when I try to send a transaction the program aborts with:

File ".../Electron Cash-2.9.3/plugins/ledger/ledger.py", line 365, in sign_transaction
self.get_client().enableAlternate2fa(False)
AttributeError: btchip instance has no attribute 'enableAlternate2fa'

I use a basic transaction, no 2FA, no fancy things.
I'm not a Python programmer but it looks like there are some incompatible software modules. Any idea what is going wrong here and how to fix it?

Meanwhile I found the Github repository of btchip at Ledger. There exists a version of btchip.py which contains enableAlternate2fa. But due to my restricted knowledge of Python I just can not figure out how to replace the installed one with the new one. Every "solution" I find in the web results in endless error messages. It is a big mess ...

I finally just replaced the whole btchip folder manually. Now the error disappears. But I still am not able to generate a transaction. I get a Invalid status 6a80 when trying to generate a transaction message now. I'm not sure whether it is related to my change, but I don't think so. Will file this as a separate issue.
Nevertheless I would still be interested in a solution which allows a clean installation of 'electroncash' on Ubuntu.

@SteffenIvanhoe  lets check with others who might know better, i'm not sure Ledger can sign the BCH tx

Ledger can sign BCH tx, there is no doubt about that. They have a special firmware "app" to do that.

I expect the invalid status 6a80 error to be a minor incompatibility. But who can check and repair that?
It would be wonderful to have ElectronCash available for BCH on one of the most used hardware wallet platforms!

I found my hw.1 btchip device, but I have to update the firmware (the one I have is not supported any more) before I can help here.

Are you able to repair this issue on the software?
Or do you just want to check whether you get the same error?

Are you able to repair this issue on the software?

when trying to repair software, you need to first reproduce the problem. So the answer is: both.

If you can repair this and the only thing holding you back is the availability of an actual Ledger device, you might be able to get a new Nano S from Ledger for testing. They have expressed to me that they would sponsor a device for cases where someone adds a new UI and they see the advantages of ElectronCash because they know Electrum wallet.

thanks for the hint, @SteffenIvanhoe. after trying to help me (unsucessfully) to flash my hw.1, btchip offered to send some device to me and I took the offer. I'll be on vacation for a good week now and hopefully when I come back the device will have arrived and I can move this forward.

Good news!
I really appreciate your work on this client!

@molecular Have you got the Ledger wallet device? Any chance to look at the problems related to the use of ElectrumCash?

@SteffenIvanhoe thanks for installing a newer version of python-btchip, that clearly fixed the "btchip instance has no attribute 'enableAlternate2fa'" problem.
Ubuntu maintainers will have to update the package for a "clean ubuntu install" of electron-cash to work with btchip devices, unfortunately.
On archlinux, for example, the newest version for python2-btchip is 0.1.20-2.

Invalid status 6a80 when trying to generate a transaction

anything on the console (an exception) when you run electron-cash with the "-v" flag?
I found 6a80 in the ledger plugin code:
    def is_pin_validated(self, client):
        try:
            # Invalid SET OPERATION MODE to verify the PIN status
            client.dongle.exchange(bytearray([0xe0, 0x26, 0x00, 0x00, 0x01, 0xAB]))
        except BTChipException, e:
            if (e.sw == 0x6982):
                return False
            if (e.sw == 0x6A80):
                return True
            raise e

This looks to me like a strange, hacky way to verify the PIN status by trying to set an invalid operation mode on the device, thereby triggering a BTChipException. I doubt this is the code that generates your problem, though. I'm guessing 0x6a80 jus means "invalid operation". Now to find out where this happens, we'd need to look at the "-v" output. Likely there's a stacktrace that will tell us. @SteffenIvanhoe, do you think you can do that?
@SteffenIvanhoe, Oh, an please check if your device needs a firmware upgrade (old firmware is my best guess as to what's happening). There are different ways to do that. One is to use the "Ledger Wallet Bitcoin" chrome extension.

@molecular Firmware seems to be up-to-date. I have 2.0 on my Ledger Blue. Have also tried to sign a transaction with the Nano S. It makes no difference with respect to the error.
I have used

./electron-cash -v

option and tried to sign a send. As soon as I acknowledge the signing on the device the wallet software fails. This is the stack frame of the exception:

Traceback (most recent call last):
File "/home/steffen/Desktop/Electron Cash-2.9.3/plugins/ledger/ledger.py", line 411, in sign_transaction
inputSignature = self.get_client().untrustedHashSign(inputsPaths[inputIndex], pin, lockTime=tx.locktime)
File "/usr/lib/python2.7/dist-packages/btchip/btchip.py", line 387, in untrustedHashSign
result = self.dongle.exchange(bytearray(apdu))
File "/usr/lib/python2.7/dist-packages/btchip/btchipComm.py", line 119, in exchange
raise BTChipException("Invalid status %04x" % sw, sw)
BTChipException: Exception : Invalid status 6a80
Exception : Invalid status 6a80
Traceback (most recent call last):
File "/home/steffen/Desktop/Electron Cash-2.9.3/gui/qt/util.py", line 582, in run
result = task.task()
File "/home/steffen/Desktop/Electron Cash-2.9.3/lib/wallet.py", line 1104, in sign_transaction
k.sign_transaction(tx, password)
File "/home/steffen/Desktop/Electron Cash-2.9.3/plugins/ledger/ledger.py", line 422, in sign_transaction
self.give_error(e, True)
File "/home/steffen/Desktop/Electron Cash-2.9.3/plugins/ledger/ledger.py", line 201, in give_error
raise Exception(message)
Exception: Exception : Invalid status 6a80
[profiler] on_update 0.0207

Not sure whether that helps? Can you sign transactions with your Ledger device w/o getting an error?

Yes, I can sign without problems with my little usb-stick style btchip device.
that output is very helpful, thank you.
However I'm not familiar enough with the signing process to be able to figure out what's going wrong, so I escalated the issue to ledger guys: LedgerHQ/btchip-python#25

@SteffenIvanhoe you said earlier about the 6a80 problem: "Will file this as a separate issue." Did you do this? I can't find any such issue. If not: no problem, we'll just use this issue. Maybe you can change the title of this issue?

I did not because you had responded here. Have now chosen your title.

I would like to test the same thing on a Windows PC to make sure it is not an Ubuntu specific thing. But the downloaded wallet is not complete on Windows. It lacks some libraries and I cannot even connect to the Ledger device. Unfortunately I'm not a Python guy and I have no idea how to install the missing libraries, e.g. phyton-ledger on a Windows computer. Any idea where I can find out about it?

@SteffenIvanhoe regarding windows: see #149. btchip library is not included in the python environment embedded into the .exe (will probably be in next release, @fyookball ?), so you'll have to "run from source". As to how to do this, I don't know. Probably start with installing cygwin, then use cygwin installer to install python2.7, then the required python dependencies and then get the sources from github (here) and try to run.

Ok, sounds like it is not doable. For non-Python people it is almost impossible to deal with the extremely messy Python software installation system. Having all parts build into the .exe would be great!

so btcchip says: "if the signature has already been patched then I have no idea".
I retried signing with my hw.1 device and it didn't work, but with a different problem (signing worked, but node rejecte the tx with "invalid SIGHASH_FORK_ID", which would mean we don't sign correctly using BIP 143.
@SteffenIvanhoe I may have given false info when I said I can successfully sign using my ledger device ;-(. Sorry 'bout that. So I guess we'll have to dig in to find out if we "patched" the signing process for cash or not. It seems this wasn't done...

@SteffenIvanhoe: It'd be interesting to know, can you sign a message using your ledger devices?

I tried to sign a message. The result was an immediate crash of the wallet software just after the acknowledgement on the hardware device. All of this is in urgent need of being debugged by someone who owns a Ledger Nano S or Ledger Blue.

@SteffenIvanhoe

All of this is in urgent need of being debugged

we're all volunteers here. If you want to help, please send the output of the crash. The more info that is here, the more likely it is someone will solve the problem.

we will include the btchip python module in the next exe.  What else do I need to do here?

@fyookball In Ubuntu I did install it separately and got this 6a80 error. Not sure it will work out in Windows when btchip python gets included. Probably needs an adaption to the new BCH signing procedure as well. See https://github.com/LedgerHQ/btchip-python/issues/25.

@fyookball looks like we need to implement bitcoin cash signing scheme in ledger plugin (part of electron-cash code)

I can confirm the exact behavior that @SteffenIvanhoe reported on ubuntu.
I have the same setup and also get the Invalid Status 6a80 error when I enter my PIN on my nano s.
Is there any workaround available? I need to send some BCH from my nano but because of this bug I cannot. Any ideas?
Cheers

There's no workaround. We need to implement cash signing in the ledger plugin.

Gotcha. Thanks

Signing a message works just fine on Electron Cash 3.0 (Ubuntu 16.04). Creating a transaction does not work. As btchip has said "the library itself works fine with Electrum and should also work fine with Electrum Cash once called with the right flow".
The btchip-python library needs to be called the right way due to the differences in transaction signing in BCH vs BTC.


Fix sample/step counting in the case of uneven epochs.

This fixes #65 - step counting during training was implicitly assuming that all epochs had the same number of steps, which might not hold when using --no-skip-tokens and --accurate-total-tokens.

Keeping samples_seen in the checkpoint for now, and will make a second PR to change this, since #67 will also need to be addressed.

Merging this since the token count seems correct.


Webpack version issue

Hey Fredrick,
Super cool library and very easy to use - well done!
Issue Summary
This library has a dependency on your other library, react-util-kit. In that library, the package.json has the webpack version hardcoded to version 4.23.1 and the devDependency webpack version you have in the react-chatbot-kit is at 4.42.0.
These different webpack versions are causing some build issues for our team as this dependency tree check causes the preflight check to fail.
Can you update your react-util-kit webpack version to be equal to this library, please?

Hi, and thank you!
I'm deprecating react-util-kit in favor of https://github.com/FredrikOseberg/react-conditionally-render. This fix should be included in an impending 2.0 release of this library. How urgent is this fix for your side?

Thanks for the quick update. We have gotten our builds to pass with SKIP_PREFLIGHT_CHECK=true. Although not ideal, it's a fine short-term solution until version 2.0 release is ready.
Just so we can keep an eye out, is there a time frame you're aiming at for this new release?

Thanks for the quick update. We have gotten our builds to pass with SKIP_PREFLIGHT_CHECK=true. Although not ideal, it's a fine short-term solution until version 2.0 release is ready.
Just so we can keep an eye out, is there a time frame you're aiming at for this new release?

No worries. I haven't put it on a strict time schedule but I aim to have it done by end of May.

Great, thanks! Can you follow up on this ticket once the new release is available?


Package JSON and LICENSE.md disagree

Thanks for your SPDX packages! They are very useful!
I noticed that your LICENSE.md file indicates MIT, whereas your package.json says CC-BY-3.0.
Can you please clarify?

Wow, that's fast, thanks! :+1:

@poelstra Mind me asking how you're using the package?

Sure: we're building a tool to verify all licenses of all used projects. For this, I'm using spdx-whitelisted, which uses this package.
And our license checker is a part of the projects themselves, which means it was checking the licenses of its own dependencies as well :)


HBASE-25146 Add extra logging at info level to HFileCorruptionChecker in order to report progress

Added some extra logs + missing mob files summary.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 28s
Docker mode activated.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
6m 13s
the patch passed

+1 :green_heart:
compile
1m 43s
the patch passed

+1 :green_heart:
javac
1m 43s
the patch passed

+1 :green_heart:
shadedjars
8m 58s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 57s
hbase-server in the patch failed.


More deployment options

While I love what y'all have done for deploying to S3, it'd be great to have more options for deployment. These could be set via the config.

+1 for Github pages

dibs on Github pages. I'll be gladly looking into this and propose a pull request.

What do you think about ading a simple ftp deployment? With just host, username, password and destination directory

@w4nderlust ,
This should be rather easy to write as a deployment engine. If you're interested in working on this, just let me know, and I'll provide some tips to get you started.
Cheers,

Yes, give me some pointers and I'll try :)

Basically, there are three things you need. I suggest you use the Rackspace examples here, they're probably the simplest:
https://github.com/koenbok/Cactus/blob/master/cactus/deployment/cloudfiles/
You need to:
Create a credentials manager. This basically is just an object that tells Cactus where and how to store Credentials. This is really trivial, yours should probably look like this:
class FTPCredentialsManager(BaseKeyringCredentialsManager):
    _username_config_entry = "ftp-username"
    _password_display_name = "FTP Password"
    _keyring_service = "cactus/ftp"

Next, create the deployment engine. This class should take care of all preparation work in the configure() method. In your case, this may be... nothing.
This should inherit from the BaseEngine defined here: https://github.com/koenbok/Cactus/blob/master/cactus/deployment/engine.py
The actual entrypoint called by Cactus is deploy(). This calls into the last thing you need to create, which is the file class. The file class is basically a class that should know how to deploy a given file. It should inherit from BaseFile.
There, you'll want to define do_upload and remote_changed (though the former can just return True unconditionally, but that wouldn't be ideal). Like the name implies, do_upload should upload your file.
You can pull in additional dependencies if needed. Just make sure you make them optional (look at the existing setup.py).
Let me know if you need further help,
Cheers,

@w4nderlust are you still working on a ftp deployment engine?

I haven't started yet actually, I was thinking of doing it this week.

Il giorno 17/mag/2015, alle ore 21:27, pani-c<EMAIL_ADDRESS>ha scritto:
@w4nderlust https://github.com/w4nderlust are you still working on a ftp deployment engine?
—
Reply to this email directly or view it on GitHub https://github.com/koenbok/Cactus/issues/80#issuecomment-102838211.

Please leave a note if you're up to something ;-)

Hi everybody! Any news about a standard FTP deployment engine?

I was looking into pysftp but had trouble with its dependencies :(

@krallin like this? https://github.com/syllog1sm/Cactus/commit/6e458b5f7ac838eadc5684cf0d8d6653a63f17a0
Doesn't complete any of the actual work yet. But the skeleton should be right, right?

For a straight local file system deployment, I have raise PR #171.

How about Netlify? How would I deploy using that?


create_blob_from_* functions do not exist for append blobs

Which service(blob, file, queue) does this issue concern?
blob
Which version of the SDK was used? Please provide the output of pip freeze.
2.1.0
pip freeze:
asn1crypto==0.24.0
azure-common==1.1.23
azure-functions==1.0.0b5
azure-storage-blob==2.1.0
azure-storage-common==2.1.0
certifi==2019.6.16
cffi==1.12.3
chardet==3.0.4
cryptography==2.7
idna==2.8
pycparser==2.19
python-dateutil==2.8.0
requests==2.22.0
six==1.12.0
urllib3==1.25.3

What problem was encountered?
The documentation of AppendBlobService refers to create_blob_from_* functions in the documentation of create_blob. These do not exist.
This, together with #633, makes it impossible to atomically construct a new append blob with specified content.
Have you found a mitigation/solution?
No.
Note: for table service, please post the issue here instead: https://github.com/Azure/azure-cosmosdb-python.

@Botje,
Thanks for reaching out. Sorry that the doc is misleading. There is no create_blob_from* for AppendBlobService. We will update the doc ASAP


Show One or More Invalid Routes

When a user supplies invalid routes, we don't display rich error messages which we supply in our API.
This is the only message users see:
> Error! One or more invalid routes were found

We could even do validation client side after this gets merged: https://github.com/zeit/now-builders/pull/860

Looks like this has been fixed:


panic: could not locate box "./frontend/dist"

When I try to build from source for caddy I get the following error.
panic: could not locate box "./frontend/dist"

Stack trace is:
github.com/GeertJohan/go%2erice.MustFindBox(0xb38c2e, 0xf, 0x86fc74)
        /home/hud/programs/gowork/src/github.com/GeertJohan/go.rice/box.go:110 +
0x7c
github.com/filebrowser/filebrowser.(*FileBrowser).Setup(0x11d995e0, 0x11d1fe00,
0x12100a40)
        /home/hud/programs/gowork/src/github.com/filebrowser/filebrowser/filebrowser.go:132 +0x24
github.com/filebrowser/caddy/parser.Parse(0x11eaa410, 0xb012df, 0x4, 0x11d44520,
 0xb012df, 0x4, 0x11e76f8c, 0x1)
        /home/hud/programs/gowork/src/github.com/filebrowser/caddy/parser/parser
.go:263 +0x2fec
github.com/filebrowser/caddy/hugo.setup(0x11eaa410, 0x4, 0xb012df)
        /home/hud/programs/gowork/src/github.com/filebrowser/caddy/hugo/hugo.go:
42 +0x2c
github.com/mholt/caddy.executeDirectives(0x11db6380, 0xb14b59, 0x9, 0x191b3c0, 0
x42, 0x42, 0x1211be20, 0x1, 0x1, 0x0, ...)
        /home/hud/programs/gowork/src/github.com/mholt/caddy/caddy.go:666 +0x290
github.com/mholt/caddy.ValidateAndExecuteDirectives(0x1430d98, 0x11d1efc0, 0x11d
b6380, 0x11db6300, 0x1, 0x11d225c0)
        /home/hud/programs/gowork/src/github.com/mholt/caddy/caddy.go:622 +0x34c
github.com/mholt/caddy.startWithListenerFds(0x1430d98, 0x11d1efc0, 0x11db6380, 0
x0, 0x0, 0x0)
        /home/hud/programs/gowork/src/github.com/mholt/caddy/caddy.go:523 +0xe8
github.com/mholt/caddy.Start(0x1430d98, 0x11d1efc0, 0x1430d98, 0x11d1efc0, 0x0)
        /home/hud/programs/gowork/src/github.com/mholt/caddy/caddy.go:484 +0xc0
github.com/mholt/caddy/caddy/caddymain.Run()
        /home/hud/programs/gowork/src/github.com/mholt/caddy/caddy/caddymain/run
.go:162 +0x3e0
main.main()
        src/github.com/mholt/caddy/caddy/main.go:27 +0x20

Any ideas would be greatly appreciated. Thanks.

Hi @dijiwiz! Thanks for pointing this out. I suppose that you get the error when you execute/use the built caddy. You don't get any error at compile time, isn't it?
I think I know the source of this bug and I'll push a fix in a few minutes. I just want to make sure that our CI system didn't 'lie' when it told us that everything was ok: https://travis-ci.com/filebrowser/caddy/builds (note that the two most recent builds have nothing to do with this issue).

Correct. No errors when it compiles but only when executing the complied
binary.
I just finished doing a go get -u github.com/filebrowser/caddy/hugo and
recompiled. I still get the same panic. Let me know how I might help.
Thanks for your quick reply.
On Sat, Aug 11, 2018 at 6:42 PM 1138-4EB<EMAIL_ADDRESS>wrote:

Hi @dijiwiz https://github.com/dijiwiz! Thanks for pointing this out. I
suppose that you get the error when you execute/use the built caddy. You
don't get any error at compile time, isn't it?
I think I know the source of this bug and I'll push a fix in a few
minutes. I just want to make sure that our CI system didn't 'lie' when it
told us that everything was ok:
https://travis-ci.com/filebrowser/caddy/builds (note that the two most
recent builds have nothing to do with this issue).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/filebrowser/caddy/issues/8#issuecomment-412308548,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALERbf5SQhFFx3obmv6Iesi0YAhpANOJks5uP2vvgaJpZM4V5U74
.

You can either:

Checkout branch fix/rice-box-path in $GOPATH/src/github.com/filebrowser/caddy.
Download https://github.com/filebrowser/caddy/raw/fix/rice-box-path/assets/rice-box.go to $GOPATH/src/github.com/filebrowser/caddy/assets/ (overwritting the existing one).
Execute sed -i 's#filebrowser/dist#frontend/dist#g' $GOPATH/src/github.com/filebrowser/caddy/rice-box.go.
Manually edit rice-box.go.

Then, just move to caddy's dir and try to build again.

@dijiwiz the fix is pushed to master now. Please, let us know if it works for you.

It works. Thank you.
On Sun, Aug 12, 2018, 9:34 AM 1138-4EB<EMAIL_ADDRESS>wrote:

@dijiwiz https://github.com/dijiwiz the fix is pushed to master now.
Please, let us know if it works for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/filebrowser/caddy/issues/8#issuecomment-412346955,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALERbaXe8XqsxEvvXIi_n9v-7dEAuDdRks5uQD0BgaJpZM4V5U74
.

Hi @asialiugf! From your comment, it seems that your are not executing rice embed-go from ./lib, but front ./frontend. If so, you should add cd ../lib after yarn build. See https://github.com/filebrowser/filebrowser/blob/master/build/build_assets.sh.
Also, see filebrowser/filebrowser#520.
Last, if you are running filebrowser with a custom baseurl, you might need to checkout the latest version in ./frontend. See filebrowser/filebrowser#522.

thank you for your response .
sure I do "rice embed-go"  in the ./lib dir.   that is the result ::
drwxrwxr-x. 2 charmi charmi      52 9月  15 17:23 bolt
-rw-rw-r--. 1 charmi charmi    2404 9月  15 17:23 doc.go
-rw-rw-r--. 1 charmi charmi   14866 9月  15 17:23 filebrowser.go
-rw-rw-r--. 1 charmi charmi   10500 9月  15 17:23 file.go
drwxrwxr-x. 2 charmi charmi    4096 9月  15 17:23 http
-rw-rw-r--. 1 charmi charmi 7276226 9月  16 16:37 rice-box.go
drwxrwxr-x. 2 charmi charmi      55 9月  15 17:23 staticgen
rice-box.go has being created  in ./lib dir.
and I am sure  the ./frontend  is state of the art.   downloaded from github.com/ like this
"  git clone --recurse-submodules https://github.com/filebrowser/filebrowser  "
unfortunately ,  the problem  is still  .
help me ! please.

recurse-submodules will not get the latest, but the commit which is tagged. In order to ensure you are using the latest, cd frontend, git fetch and git pull.
Also, you can open rice-box.go and check the path there.
Last, you can try the default procedure which is to execute ./build/build_all.sh from filebrowser.

recurse-submodules will not get the latest, but the commit which is tagged. In order to ensure you are using the latest, cd frontend, git fetch and git pull.
Also, you can open rice-box.go and check the path there.
Last, you can try the default procedure which is to execute ./build/build_all.sh from filebrowser.

I tried all the methods and still failed to get it running. Could you please double check it? Thanks.

I just triggered all the builds in the CI environment, and all of them passed successfully: https://travis-ci.com/filebrowser
Please, try to reproduce your issue in a clean environment (either a docker container, a node in play-with-docker, a VM...) and provide the exact sequence of commands you are executing. That will help us reproduce it.

I just triggered all the builds in the CI environment, and all of them passed successfully: https://travis-ci.com/filebrowser
Please, try to reproduce your issue in a clean environment (either a docker container, a node in play-with-docker, a VM...) and provide the exact sequence of commands you are executing. That will help us reproduce it.

@1138-4EB @asialiugf  I can get it compiled by running "./build/build_all.sh", but it can't run as expected with the same error: "panic: could not locate box "../frontend/dist", any thoughts?


The remove button does not work when the include and exclude has the same artifact

This is not related to the remove button, but related to the glob implementation of java language server:
if (Files.isRegularFile(base)) {
	if (isBinary(base))	{
		binaries.add(base);
	}
	continue; // base is a regular file path
}

If the include is a regular file, then the exclude won't come into effect.
This code is written by my mistake, do you think this mistaken behavior (should not exclude when include is an absolute simple path) should be fixed?

@Vigilans We can make some changes at the dependency viewer side to make sure there is no duplicated cases in include and exclude
Please take a look at https://github.com/microsoft/vscode-java-dependency/pull/223 and let me know if you have any concern.


Data Job image security updates

What is the feature request? What problem does it solve?
Currently, the only way for applying security system/os updates to the data job image is to redeploy the particular job. However, if there is no need for a source code change to this data job it won't be redeployed for a while. Which will result in the use of vulnerable data job images.
Current workflow:

Job builder creates one job-specific-image per every data job (using job-base-image as the base) which includes:

Directory with the job’s code
Python installed to run the job (and use the std libs)
3rd party libraries installed in site-packages

VDK image (single one for all jobs) which includes:

VDK and its dependencies installed
Python (which is largely ignored during the run)

During the start of a job init container starts the VDK image and copies the VDK into the main container so it can be used to run the job. The job is run in the job-specific image.
Suggested solution
Suggested workflow:

Job builder creates one job-specific-image per every data job which includes:

Directory with job code
Python (which is largely ignored during the run)
3th party libraries installed in site-packages

VDK image (single one for all jobs) (using job-base-image as the base)

VDK and its dependencies installed
Python installed to run the job (and use the std libs)
3rd party libraries installed in site-packages

During the start of a job init container starts the job image and copies the job's code and Python libraries installed through the 'pip install -r requirements' into the main container. The job is run in the VDK image.
In this way, we can apply security system/os updates to the VDK image on regular bases and they will be applied immediately to all data jobs.
As an alternative solution, we can rebuild all data job images on regular bases. However, this will be very inefficient.

@tozka, @ivakoleva, @gageorgiev, @doks5, @mrMoZ1, @murphp15, @duyguHsnHsn, @dakodakov  Please provide your concerns and thoughts.

Will follow up on this.

Triaged. We will keep it, as being an Idea.


how to run inference in a single image or video with the pretrained models

Same question

You can refer to “https://github.com/facebookresearch/VideoPose3D” to run inference in a video with the pretrained models.

Hi~ @puppet101 @Bobby-youngking
We have released the demo and in-the-wild inference code. Plaese download the latest repo and refer to demo.


Not seeing any files on the android device

Hello,
I trying to read android folder and show the user a list of files but I am NOT seeing any files that I have uploaded in any folders.
  var localURLs = [
                cordova.file.applicationDirectory,
                cordova.file.applicationStorageDirectory,
                cordova.file.cacheDirectory,
                cordova.file.dataDirectory,
                cordova.file.externalRootDirectory ,
                cordova.file.externalApplicationStorageDirectory,
                cordova.file.externalCacheDirectory,
                cordova.file.externalDataDirectory

            ];
            var index = 0;
            var i;
            var errorStr = '';
            var fileList = [];
            var addFileEntry = function (entry) {
                var dirReader = entry.createReader();
                dirReader.readEntries(
                    function (entries) {

                        var i;
                        for (i = 0; i < entries.length; i++) {
                            if (entries[i].isDirectory === true) {
                                // Recursive -- call back into this subdirectory
                                addFileEntry(entries[i]);
                            } else {
                                var ext = entries[i].name.split('.').pop();
                                if (ext === 'doc' || ext === 'docx' ||
                                    ext === 'rdf' || ext === 'pdf' || ext === 'txt' ||
                                    ext === 'odt') {

                                    fileList.push(entries[i]); // << replace with something useful
                                }
                                index++;
                            }
                        }
                    },
                    function (error) {
                        console.log('readEntries error: ' + error.code);
                        errorStr += '
readEntries error: ' + error.code + '
';
                    }
                );
            };
            var addError = function (error) {
                console.log('getDirectory error: ' + error.code);
                errorStr += '
getDirectory error: ' + error.code + ', ' + error.message + '
';
            };
            for (i = 0; i < localURLs.length; i++) {
                if (localURLs[i] === null || localURLs[i].length === 0) {
                    continue; // skip blank / non-existent paths for this platform
                }
                window.resolveLocalFileSystemURL(localURLs[i], addFileEntry, addError);
            }
            $scope.fileList = fileList;
            $scope.localFileError = errorStr;

The following is on the cordova config.xml file..
<preference name="AndroidPersistentFileLocation" value="Internal" />
<preference name="AndroidPersistentFileLocation" value="Compatibility" />
<preference name="AndroidExtraFilesystems" value="files,files-external,documents,sdcard,cache,cache-external,assets,root" />

Can you please let me know how to fix this issue.  I can see files in the download and sdcard folders in android for API <=22 but not >=26
I have to deploy a release to production  and this main functionality is broken. Also, I cannot use API 22 in the store,, It has to be >=26.
Is it possible to provide a quick work-a-round/patch or a timeline of a fix  for this issue. please
Thanks

Can you please let me know if there is patch for this issue...

Did you fix the problem @premtemp1 before your release? If so, could you update us how?

I have fixed this downgrading Android minAPI=22 and targetAPI=27 (before was minAPI=23 targetAPI=29 and not working)

stale
Note that modern SDK targets can no longer read the directories of some external directories. Additionally files that you have permission to view will be shown in external storage.


WRP-4076:Button: add mising @mixes tag for TooltipDecorator

Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] Documentation was verified or is not changed
[ ] UI test was passed or is not needed
[ ] Screenshot test was verified or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
Currently, TooltipDecorator is missing from includes for ButtonDecorator description on enactjs.com.
ButtonDecorator is composed of TooltipDecorator, but @mixes tag for TooltipDecorator is missing in the documentation.
Resolution
Add @mixes tag for TooptipDecorator.
Additional Considerations
Links
WRP-4076
Comments
Eanct-DCO-1.0-Signed-off-by: Hoeun Ryu<EMAIL_ADDRESS>

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Tests: List

What kind of change does this PR introduce?
Adds tests for List component
Does this PR introduce a breaking change?
It doesn't.

@rafael-vitor you'll need to rebase master and update snapshots:
git rebase master && yarn test -u

Codecov Report

Merging #309 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #309      +/-   ##
=========================================
+ Coverage   88.28%   88.3%   +0.01%
=========================================
  Files          85      85
  Lines         649     650       +1
  Branches      149     149
=========================================
+ Hits          573     574       +1
  Misses         76      76

Impacted Files
Coverage Δ

packages/reakit/src/Popover/Popover.tsx
89.47% <100%> (+0.18%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f33a4da...f0e7fa6. Read the comment docs.

@rafael-vitor @diegohaz I cherry-picked the changes here in #315 👍🏻

Closed in favor of #315


UpsertItem causes PartitionKey extracted from document doesn't match the one specified in the header

Hi Team,
I have a container in cosmos db with /id as partition key.  I am trying to update that item using UpsertItem by providing these options but this below error is thrown.  Can you please help me as I have spent so many hours trying to resolve this issue.
I have these options set in my code.
options = {'enableCrossPartitionQuery': True, 'partitionKey': pik.get_ptag() }
self.client.UpsertItem(self.container_link, pik.dict, options )
raise errors.HTTPFailure(response.status_code, data, headers)
E           azure.cosmos.errors.HTTPFailure: Status code: 400 Sub-status: 1001
E           {"code":"BadRequest","message":"Message: {"Errors":["PartitionKey extracted from document doesn't match the one specified in the header"]}\r\nActivityId: e5cd1818-f294-40aa-98c1-9a86730bac25, Request URI: /apps/2ff847a3-49fb-4a79-bc7e-bf5f02342cd7/services/059f6dd2-68cb-42b1-adeb-21e890f8149b/partitions/fdc05ff2-536f-4573-a366-84565d04a6f5/replicas/132185910104380272p/, RequestStats: \r\nRequestStartTime: 2019-11-18T23:17:51.0481426Z, RequestEndTime: 2019-11-18T23:17:51.0481426Z,  Number of regions attempted:1\r\nResponseTime: 2019-11-18T23:17:51.0481426Z, StoreResult: StorePhysicalAddress: rntbd://cdb-ms-prod-westus2-fd23.documents.azure.com:14314/apps/2ff847a3-49fb-4a79-bc7e-bf5f02342cd7/services/059f6dd2-68cb-42b1-adeb-21e890f8149b/partitions/fdc05ff2-536f-4573-a366-84565d04a6f5/replicas/132185910104380272p/, LSN: 2, GlobalCommittedLsn: 2, PartitionKeyRangeId: 0, IsValid: True, StatusCode: 400, SubStatusCode: 1001, RequestCharge: 1.24, ItemLSN: -1, SessionToken: -1#2, UsingLocalLSN: False, TransportException: null, ResourceType: Document, OperationType: Upsert\r\n, SDK: Microsoft.Azure.Documents.Common/2.7.0"}
Here is the URL that was shown in the error.
Upsert SDK: Microsoft.Azure.Documents.Common/2.7.

Issue Resolved.  My object had different field than what I was trying to update in dictionary. for example,
My container had "id" as the partition key.  But my dictionary was having it as "myid", hence it could not match.  Once I fixed it, the upsert worked fine.
def init(self, pid):
self.myid = pid
self.pw_ks = None

@mvhbharath I'm glad to hear that you resolved the issue.


AVI production in POST PROCESSING

Incorporate Ori's stuff to post processing
Tiling from folder

Need AVI production from a Windows folder with images in sequence

Need movie making

Highlighting this as a Level 1 High Priority.

Added in https://github.com/EtalumaSupport/LumaViewPro/pull/275


The Shippable service will no longer be available as of May 3rd, 2021

The Shippable service will no longer be available as of May 3rd, 2021
https://blog.shippable.com/the-next-step-in-the-evolution-of-shippable-jfrog-pipelines

JFrog Pipelines is included as part of a JFrog Cloud subscription. Each tier includes a quota for build minutes with overage charges for additional build minutes. As an example, the free tier includes 2000 CI/CD build minutes every month. Parallel capacity for each tier is preset and can be changed by moving to a higher tier.

[ ] AppVeyor
[ ] Azure Pipelines
[ ] Bitrise
[ ] Buddy
[ ] Circle CI
[ ] Cirrus CI
[ ] Codefresh
[ ] Codeship
[ ] Drone
[ ] GitHub Actions
[ ] GitLab CI
[ ] Peakflow
[ ] Razorops
[ ] Scrutinizer
[ ] Semaphore
[ ] Shippable
[ ] TeamCity Cloud
[ ] Travis CI
[ ] Wercker

migrate to JFrog Pipelines


How to make this compatible with ARM H7 cpu

I adapted the library to work for my use cases and it compiles fine against Nano 33 BLE, Rp2040 Connect and Raspberry Pi Pico. Now I'm trying to compile against Portenta H7 and I get this error log.
/Users/simone/Documents/Arduino/libraries/EloquentTinyML/src/eloquent_tinyml/tensorflow/arm/tensorflow/2e6646ad56239e656afb49c8b37a0adb_micro_allocator.cpp: In static member function 'static tflite::MicroAllocator* tflite::MicroAllocator::Create(uint8_t*, size_t)':
/Users/simone/Documents/Arduino/libraries/EloquentTinyML/src/eloquent_tinyml/tensorflow/arm/tensorflow/2e6646ad56239e656afb49c8b37a0adb_micro_allocator.cpp:402:55: error: 'static void tflite::GreedyMemoryPlanner::operator delete(void*)' is private within this context
       new (memory_planner_buffer) GreedyMemoryPlanner();
                                                       ^
In file included from /Users/simone/Documents/Arduino/libraries/EloquentTinyML/src/eloquent_tinyml/tensorflow/arm/tensorflow/././f891d31184f18c0439c47453274bf7d9_single_arena_buffer_allocator.h:25:0,
                 from /Users/simone/Documents/Arduino/libraries/EloquentTinyML/src/eloquent_tinyml/tensorflow/arm/tensorflow/./2e6646ad56239e656afb49c8b37a0adb_micro_allocator.h:23,
                 from /Users/simone/Documents/Arduino/libraries/EloquentTinyML/src/eloquent_tinyml/tensorflow/arm/tensorflow/2e6646ad56239e656afb49c8b37a0adb_micro_allocator.cpp:16:
/Users/simone/Documents/Arduino/libraries/EloquentTinyML/src/eloquent_tinyml/tensorflow/arm/tensorflow/./././2e6646ad56239e656afb49c8b37a0adb_compatibility.h:27:8: note: declared private here
   void operator delete(void* p) {}
        ^
/Users/simone/Documents/Arduino/libraries/EloquentTinyML/src/eloquent_tinyml/tensorflow/arm/tensorflow/./f170df8b992bad9d4d09230f1c07a389_greedy_memory_planner.h:160:3: note: in expansion of macro 'TF_LITE_REMOVE_VIRTUAL_DELETE'
   TF_LITE_REMOVE_VIRTUAL_DELETE
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/simone/Documents/Arduino/libraries/EloquentTinyML/src/eloquent_tinyml/tensorflow/arm/tensorflow/2e6646ad56239e656afb49c8b37a0adb_micro_allocator.cpp: In static member function 'static tflite::MicroAllocator* tflite::MicroAllocator::Create(uint8_t*, size_t, uint8_t*, size_t)':
/Users/simone/Documents/Arduino/libraries/EloquentTinyML/src/eloquent_tinyml/tensorflow/arm/tensorflow/2e6646ad56239e656afb49c8b37a0adb_micro_allocator.cpp:440:55: error: 'static void tflite::GreedyMemoryPlanner::operator delete(void*)' is private within this context
       new (memory_planner_buffer) GreedyMemoryPlanner();
                                                       ^
In file included from /Users/simone/Documents/Arduino/libraries/EloquentTinyML/src/eloquent_tinyml/tensorflow/arm/tensorflow/././f891d31184f18c0439c47453274bf7d9_single_arena_buffer_allocator.h:25:0,
                 from /Users/simone/Documents/Arduino/libraries/EloquentTinyML/src/eloquent_tinyml/tensorflow/arm/tensorflow/./2e6646ad56239e656afb49c8b37a0adb_micro_allocator.h:23,
                 from /Users/simone/Documents/Arduino/libraries/EloquentTinyML/src/eloquent_tinyml/tensorflow/arm/tensorflow/2e6646ad56239e656afb49c8b37a0adb_micro_allocator.cpp:16:
/Users/simone/Documents/Arduino/libraries/EloquentTinyML/src/eloquent_tinyml/tensorflow/arm/tensorflow/./././2e6646ad56239e656afb49c8b37a0adb_compatibility.h:27:8: note: declared private here
   void operator delete(void* p) {}
        ^
/Users/simone/Documents/Arduino/libraries/EloquentTinyML/src/eloquent_tinyml/tensorflow/arm/tensorflow/./f170df8b992bad9d4d09230f1c07a389_greedy_memory_planner.h:160:3: note: in expansion of macro 'TF_LITE_REMOVE_VIRTUAL_DELETE'
   TF_LITE_REMOVE_VIRTUAL_DELETE

Don't mind the hash values in the filename.
How to solve?

@eloquentarduino
Thank you for your interest in TFLM.  The issue you are reporting is not specific to the arduino-examples repository, but is a general issue seen by people getting TFLM to work on other platforms.  This issue should be reported in the  tflite-micro repository.
An issue with comments in the tflite-micro repository similar to your issue, with a workaround, can be found here: https://github.com/tensorflow/tflite-micro/issues/1720#issue-1575723521


Add new apps

Please resolve the conflicts, thanks for contributing!

Thanks for contributing.
Please resolve the conflicts and I will merge it.

Ready

@KannaAny now the markdown table isn't rendering.


Should now allow multiple accounts to use the same email

#940
Users are now allowed to have multiple accounts with the same email address (As long as their BCEID and IDIR are unique)
Changelog:

Changed keycloak_email in user_creation_request to be non-unique
Added external_username to user_creation_request
New unique constraint is exernal_username + keycloak_email

I forgot to update the actual user_creation_request portion. I'll close this for now


How to use basic_webserver example

Hi, I wanted to run the example number 14_basic_webserver, but I don't know if I'm doing it correctly, because I can't get it to connect to a web browser. So I wanted to ask if I am doing something wrong.
The steps that I follow are the following.

The example I am running inside a docker container. Inside this container install and configure the following:
•	ESP-IDF SDK version 4.2
•	The Qemu tool from git: //github.com/Ebiroll/qemu-xtensa-esp32
•	download and configure the git repository: //github.com/Ebiroll/qemu_esp32

Then I went to the example directory, and did the following
•	I copied the files rom.bin and rom1.bin in the directory of the example
•	Then I did menuconfig
•	make
•	Then execute gcc toflash.c -o qemu_flash
•	After ./qemu_flash build / 14_basic_webserver.elf

Once the esp32flash.bin binary is generated, I run qemu as follows.

qemu-system-xtensa -d guest_errors,unimp -cpu esp32 -M esp32 -m 4M -net nic,model=vlan0 -net user,id=simnet,ipver4=on,net=<IP_ADDRESS>/24,host=<IP_ADDRESS>,hostfwd=tcp::10800-<IP_ADDRESS>:80 -net dump,file=/tmp/vm0.pcap -s  > io.txt
So the Docker's console shows me the following:
(92) esp_image: segment 5: paddr=0x000b7104 vaddr=0x4008b2b0 size=0x08dfc ( 36348) load
HOST RER TBD
I (101) boot: Loaded app from partition at offset 0x10000
I (101) boot: Disabling RNG early entropy source...
I (101) cpu_start: Pro cpu up.
I (102) cpu_start: Application information:
I (102) cpu_start: Project name:     14_basic_webserver
I (102) cpu_start: App version:      2aaea3b-dirty
I (102) cpu_start: Compile time:     May 14 2021 22:50:32
I (102) cpu_start: ELF file SHA256:  bbb22de069bde0d7...
I (102) cpu_start: ESP-IDF:          v3.3.2-dirty
I (102) cpu_start: Starting app cpu, entry point is 0x4008128c
I (0) cpu_start: App cpu up.
I (1782) heap_init: Initializing. RAM available for dynamic allocation:
I (1782) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (1783) heap_init: At 3FFBA910 len 000256F0 (149 KiB): DRAM
I (1783) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1783) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1784) heap_init: At 400940AC len 0000BF54 (47 KiB): IRAM
I (1784) cpu_start: Pro cpu start user code
esp32_i2c_interruptSet: new IRQ val 0x601e82b0
TBD(pc = 400940a7): /root/qemu-xtensa-esp32/target-xtensa/translate.c:1409
I (590) cpu_start: Starting scheduler on PRO CPU.
I (990) cpu_start: Starting scheduler on APP CPU.
NV_INIT_CALLED

Then I open another console within Docker and try to connect to the web server with netcat, as follows
nc <IP_ADDRESS> 10800

But what I see is that it does not connect to the server, since nothing is shown. On the other hand, the qemu console always shows the same thing. Does not advance from NV_INIT_CALLED. I also tried to connect using Putty from outside the container, but the same thing happens to me.
For that reasonn I wanted to ask if I am doing something wrong.
From already thank you very much.

Hello, You seem to bedoing it correctly, but try compiling for only one core,
When configuring, choose
Component config  --->
FreeRTOS  --->
[*] Run FreeRTOS only on first core

Thanks for the quick reply. I Enable the compilation option to run Freertos only on the first core and i can advance the execution of the example. But I still can't connect from netcat or putty. The qemu console shows me the following.
I (99) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
I (99) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
I (99) heap_init: At 4009355C len 0000CAA4 (50 KiB): IRAM
I (99) cpu_start: Pro cpu start user code
esp32_i2c_interruptSet: new IRQ val 0x8dd832b0
TBD(pc = 40093557): /root/qemu-xtensa-esp32/target-xtensa/translate.c:1409
I (263) cpu_start: Starting scheduler on PRO CPU.
NV_INIT_CALLED
nvs_flash_init
Running in qemu
Running in qemu
ethoc: num_tx: 8 num_rx: 8
TCP/IP initializing...
TCP/IP initialized.
Applications started.
Waiting for connection to the wifi network...
Connected
IP Address:  <IP_ADDRESS>
Subnet mask: <IP_ADDRESS>
Gateway:     <IP_ADDRESS>
Running in qemu
HTTP Server listening...
Seems not detecting IP of docker container. So I wanted to ask what the problem could be.
From already thank you very much.


Some modules have a mistake.

Always installation is not successful.

This seems to be a problem with the lwip installation on window. You can either use another image processor like sprity-gm or open a issue at the lwip github page.


Fixed libusb version for librealsense2

Fixed version for libusb
Related to https://github.com/PersonifyInc/UserExtraction/pull/1747

cc: @zelonght
Verified on https://github.com/PersonifyInc/UserExtraction/pull/1747

👍


[Feature] Save installed Javascript packages per application

Summary
Save installed Javascript packages per application.
This is in the context of custom JS lib epic.

Closing this in favour of the new ongoing project.


/var/run/docker.sock fails with fig/docker-compose

I had huge problems turning your (working) example docker command into a fig|docker-compse.yml. After some hours of trial and error I found that using the volume "/run/docker.sock" instead of "/var/run/docker.sock" dnsdock can be fired up via docker-compose.
The background is that at least on debian and coreos /var/run is just a symlink to /run.

Actually the problem/issue of accessing /var/run vs. /run has been reported on the (L)FHS project in
https://bugs.linuxfoundation.org/show_bug.cgi?id=718


fix proxy setting when ratelimit is 0

Fix #403
Changes I make:

defaultTransport should be used when ratelimit is 0.
Add info about notify socks5 proxy support. net.http.Transport supports both http and socks5 proxy. Tested. Really works.

Thanks for your contribution @AaronChen0 !
We also have a Discord server, which you’re more than welcome to join. It's a great place to connect with fellow contributors and stay updated with the latest developments!

Could you please create the issue first, @AaronChen0?

Changes made. @dwisiswant0

The failed check is irrelevant to this pull request.
Switching branch from main to dev introduced a commit not by me. Is this a concern when later dev branch merges back to main branch?

@AaronChen0 - you should rebase your branch.

@dwisiswant0.  Rebase done.


Simplify ParquetTpchTest test validations

It is sufficient to validate TPC-H query plan results of Velox plans vs DuckDB in ParquetTpchTest.
This PR improves readability by removing the un-needed pipeline count and finished splits validations.

Hi Deepak,
I know you authored the original test. Was there any specific purpose for these validations

@aditi-pandit My motivation was to catch regressions in Velox plan compilation (by tracking pipeline count) for these TPC-H queries. But now I do see that this and the finished split count are less useful.


RAT-317: Maven plugin is too chatty

Use DEBUG instead of INFO for some logging events

Thanks for the PR - I'm going to add the changelog entry after merging the PR. Cheers


has_permission doesn't count temp perms

%luckperms_has_permission_essentials.tpa% == ''
even the player has essentials.tpa 2d left

Try with %luckperms_check_permission_essentials.tpa%


Setup clang-tidy run in CI

Setup a clang-tidy run in CI. Use most common rule sets. Run in GNUmake on Ubuntu native.

Cycling in #105


looping playback

Maybe I've missed something obvious, but is there a way to loop playback until stopped with the current API?
If not, would this functionality be a good fit for oto?
Either implement looping natively (require manual Reset to stop), let the caller know when playback has finished with a channel or callback so they can restart it, or allow the player to play from an infinite source eg an io.Reader that implements a circular buffer.

or allow the player to play from an infinite source eg an io.Reader that implements a circular buffer.

You can play an infinite stream of io.Reader.

Excellent.
I was confused because it looked like the player did it's own buffering, so I was worried about OOM by supplying infinite io.Reader.
I must have misread the code, thanks!

The buffer size is finite whatever the source is, so you don't have to worry about OOM.

Hi hajimehoshi,
Can you help me with infinite stream? In my program I periodically receive byte packages of size 320 byte from UDP. I made io.Reader from buffer 1280 byte, started oto.Play but how to trace the end of the buffer? I use io.Seek when oto.Play reads buffer completely but it happenes after some time and the sound is noisy becose of this.

how to trace the end of the buffer?

I don't fully understand your question but is the stream infinite or not? What does 'tracing' mean here?

Sorry, maybe I sad it the wrong, my English is poor. I create usual buffer of size 1280 byte and make io.Reader from it. Buffer isn't infinite of cource. Next I create NewPlayer from oto context with this new io.Reader. Next I cyclicly add new data from UDP to 1280 byte buffer. As I understand I must move pointer of io.Reader when oto.Player reads all the data from io.Reader? How can I make "infinite" io.Reader from not infinited byte buffer?

How can I make "infinite" io.Reader from not infinited byte buffer?

You can make an infinite stream from NewInfiniteLoop.

Or you can create your own infinite io.Reader. See examples/sinewave for example.

Thank you very much! I will have learned, it is very useful information.


pony-stable: init at 2016-10-10

Motivation for this change
Add pony-stable for managing pony project dependencies
Depends on updated ponyc from #19457
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] OS X
[x] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

@peti thanks for merging this but it will not compile until the updated ponyc from PR #19457 is also merged.

I'm sure that PR will be merged, too, once the reviewer comments have been addressed.


*: add TLS client, server unit tests

For https://github.com/coreos/etcd/issues/4177.

This is only for v2.
/cc @xiang90 @heyitsanthony  Please take a look. Thanks

I am closing this. Guess this was unnecessary.
@heyitsanthony seems to have bash script for job control, which I think
we can use for this kind of test running binaries? I have go code that runs
etcd binaries but if bash script sounds simpler.
Thanks for comments!


Lsp_name

Please pay attention to the link I am sending.
https://github.com/Pakrohk-DotFiles/NvPak/issues/45
We have been trying to solve this problem for some time.
But the problem is not from lsp, even if the lsp server is disabled manually, there is still a problem, and this can be caused by the method of calling servers in staline.

I know its a little late but, has the issue been resolved? 😅

I know its a little late but, has the issue been resolved? sweat_smile

nah, unfortunately I had to migrate to lualine.

nah, unfortunately I had to migrate to lualine.

cool, Im closing the issue for now.
Feel free to open whenever necessary.


[Feature]: Developers should not be able to delete spaces

Background
As an admin
I want to be the only one able to delete spaces
So that I can keep my org structure under control
Acceptance Criteria
GIVEN I am not an Admin
AND the space1 space exists
WHEN I try to DELETE /v3/spaces/<guid-of-space1>
THEN I should get the following response:
HTTP/1.1 403 Forbidden
Content-Type: application/json

{
  "errors": [
    {
      "code": 10003,
      "title": "CF-NotAuthorized",
      "detail": "You are not authorized to perform the requested action"
    }
  ]
}

GIVEN I am an Admin
WHEN I try to DELETE /v3/spaces/<guid-of-space1>
THEN I should get a successful response
Dev Notes

This could trigger the creation of an Admin ClusterRole, to be bound in the root namespace so that it propagates to all orgs and spaces.

This is already done in #432, closing!


Fix: handle undefined instance object

Some DisplaySets don't have an instance property, thus throwing an error at this location.
This change fixes this issue.
@sedghi Do you think this can be merged? :)
PR Checklist

[x] Brief description of changes
[ ] Links to any relevant issues
[ ] Required status checks are passing
[ ] User cases if changes impact the user's experience
[x] @mention a maintainer to request a review

Hello @sedghi, could you please have a look at this PR please?
This is a small fix.
Thanks!


[Bug] Go Pulsar functions recieves message from only one topic even when provided multiple input  topics

Search before asking

[X] I searched in the issues and found nothing similar.

Version
OS: Ubuntu 20.04(LTS)
Pulsar: 2.10.1
Minimal reproduce step
Create a pulsar function in golang:
package main

import (
	"context"
	"fmt"

	"github.com/apache/pulsar/pulsar-function-go/pf"
)

func HandleResponse(ctx context.Context, in []byte) error {
	fmt.Printf("Processed: %s", string(in))
	return nil
}

func main() {
	pf.Start(HandleResponse)
}

Build and pass the file to pulsar-admin:
./pulsar-admin functions localrun \
     --go /pulsar/bin/pulsarFuncGolang \
     --inputs persistent://public/default/sourcetopic1,persistent://public/default/sourcetopic2 \
     --tenant public \
     --namespace default \
     --name flogoPulsarFunction

Publish message on both the topics, we could only see the function logs of recieved messages on the last topic mentioned (which is sourcetopic2 in the example above)
What did you expect to see?
Pulsar function should listen to all the topics mentioned
What did you see instead?
Pulsar function listens to only the last topic mentioned
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

As far as I know, the GO runtime hasn't yet supported multiple topics, below is the code:
        if (instanceConfig.getFunctionDetails().getSource().getInputSpecsMap() != null) {
            for (String inputTopic : instanceConfig.getFunctionDetails().getSource().getInputSpecsMap().keySet()) {
                goInstanceConfig.setSourceSpecsTopic(inputTopic);
            }
        }

We can see that when multiple topics are specified, the last one will overwrite the previous topics.
https://github.com/apache/pulsar/blob/master/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/RuntimeUtils.java#L206-L210
It may take some time to support such a feature, but I will take a look


Make new MutationContext<T> injectable.

Since the MutationContext<T> is not injectible into my code because of the ctor, I cant Moq it or test it.
IE:
.AddSingleton<MutationContext<Customer>>()
Later:
public class CustomerRepository
{
    public MutationContext<Customer> customerMutationContext { get; set; }

    public CustomerRepository(MutationContext<Customer> customerMutationContext)
    {
        this.customerMutationContext = customerMutationContext;
    }

    public void SaveCustomer(Customer cust)
    {
        this.customerMutationContext.Init(cust).Mutate();
    }
}

Please forgive me. Dependency injection has come around since I've had any major dotnet projects, so I'm not very familiar with the concept. May ask why this isn't acceptable?
public class CustomerRepository
{
	// public MutationContext<Customer> customerMutationContext { get; set; } // line 3

	// public CustomerRepository(MutationContext<Customer> customerMutationContext) // line 5
	// {
	// 	this.customerMutationContext = customerMutationContext;
	// }

	public void SaveCustomer(Customer cust)
	{
		(new MutationContext(cust)).Mutate();
	}
}

Since line 3 and 5 explicitly define a MutationContext of Customer, why not have the constructor implicitly form that context from the parameter?

Because "new is glue" and it should be the job of the IoC container to new up the dependencies of a class. Since MutationContext takes an instance of the customer, its not possible for the IoC container to provide it.
In my example, I could mock MutationContext and provide one that did anything I wanted in order to test my project. In your example new MutationContext is forever baked into the code even though its an outside dependency.
Ideally id inject IMutationContext and not MutationContext.

Okay. I see what you're going after. You're welcome to submit a pull request.


API should implement SPARQL 1.1 Protocol specification

HTTP API should follow SPARQL 1.1 Protocol specification.
So HTTP GET should allow the following query parameters:

query (exactly 1)
default-graph-uri (0 or more)
named-graph-uri (0 or more)

Furthermore it should use the Accept header instead of a output query parameter (content negotiation):
Accept: text/turtle, application/rdf+xml

Updated to support POST and GET requests as well as content negotiation.


fix: disk driver persistence

What this PR does / why we need it:
fix: 1. use driver of exising disk to attach new disk. 2. allocate virtio-ssci-pci device when necessary

Does this PR need to be backport to the previous release branch?:

release/3.8

/cc @zexi

/hold

/hold cancel


Question about bulk update using mongoTemplate#bulkOps#updateMulti#execute

Using this kind of implementation, will spring data care about OptmistickLock versioning?

Unfortunately, we can only help with questions that are specifically and directly related to the article - not with your own, custom application.
StackOverflow is a great place to ask more general questions.
That's primarily because we get a large number of questions and - while we do try to go through as much as everything and help wherever we can, we can't really get back to all of them.
Hope that makes sense.


Github action for pre/post submit

I'll change that to make manager
On Mon, 19 Apr 2021 at 17:31, Nir @.***> wrote:

@.**** commented on this pull request.
In .github/workflows/pre-submit.yaml
https://github.com/medik8s/node-healthcheck-operator/pull/23#discussion_r615900695
:

name: Build

 run: make fmt vet

@rgolangh https://github.com/rgolangh
The name is Build but this only runs fmt and vet? where's the actual
build?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/medik8s/node-healthcheck-operator/pull/23#pullrequestreview-638940370,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGBYHH7N6BBFJVCW7VU7XLTJQ5EFANCNFSM423KIV3A
.


Installation fails because of vcversioner

I have only been able to reproduce this error under the following circumstances.

Red Hat Enterprise Linux Server release 7.1 (Maipo)
pip 1.4.1 and 7.1.2
Behind a proxy, which is configured in environment variables.

[user@machine virtualenvdir]$ bin/pip install -e git+https://github.com/gomezgoiri/pt-instances-management.git#egg=ptinstancemanager
Obtaining ptinstancemanager from git+https://github.com/gomezgoiri/pt-instances-management.git#egg=ptinstancemanager
  Updating ./src/ptinstancemanager clone
  Running setup.py egg_info for package ptinstancemanager

(...)

Downloading/unpacking jsonschema>=2.5.1 (from flasgger->ptinstancemanager)
  Downloading jsonschema-2.5.1.tar.gz (50kB): 50kB downloaded
  Running setup.py egg_info for package jsonschema
    Download error on https://pypi.python.org/simple/vcversioner/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found!
    Couldn't find index page for 'vcversioner' (maybe misspelled?)
    Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found!
    No local packages or download links found for vcversioner
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/data/user-data/agg96/sss/build/jsonschema/setup.py", line 44, in <module>
        vcversioner={"version_module_paths" : ["jsonschema/_version.py"]},
      File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
        _setup_distribution = dist = klass(attrs)
      File "/data/user-data/agg96/sss/lib/python2.7/site-packages/setuptools/dist.py", line 265, in __init__
        self.fetch_build_eggs(attrs.pop('setup_requires'))
      File "/data/user-data/agg96/sss/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs
        parse_requirements(requires), installer=self.fetch_build_egg
      File "/data/user-data/agg96/sss/lib/python2.7/site-packages/pkg_resources.py", line 618, in resolve
        dist = best[req.key] = env.best_match(req, self, installer)
      File "/data/user-data/agg96/sss/lib/python2.7/site-packages/pkg_resources.py", line 862, in best_match
        return self.obtain(req, installer) # try and download/install
      File "/data/user-data/agg96/sss/lib/python2.7/site-packages/pkg_resources.py", line 874, in obtain
        return installer(requirement)
      File "/data/user-data/agg96/sss/lib/python2.7/site-packages/setuptools/dist.py", line 339, in fetch_build_egg
        return cmd.easy_install(req)
      File "/data/user-data/agg96/sss/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 617, in easy_install
        raise DistutilsError(msg)
    distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('vcversioner')
    Complete output from command python setup.py egg_info:
    Download error on https://pypi.python.org/simple/vcversioner/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found!

Couldn't find index page for 'vcversioner' (maybe misspelled?)

Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found!

No local packages or download links found for vcversioner

Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/data/user-data/agg96/sss/build/jsonschema/setup.py", line 44, in <module>

    vcversioner={"version_module_paths" : ["jsonschema/_version.py"]},

  File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup

    _setup_distribution = dist = klass(attrs)

  File "/data/user-data/agg96/sss/lib/python2.7/site-packages/setuptools/dist.py", line 265, in __init__

    self.fetch_build_eggs(attrs.pop('setup_requires'))

  File "/data/user-data/agg96/sss/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs

    parse_requirements(requires), installer=self.fetch_build_egg

  File "/data/user-data/agg96/sss/lib/python2.7/site-packages/pkg_resources.py", line 618, in resolve

    dist = best[req.key] = env.best_match(req, self, installer)

  File "/data/user-data/agg96/sss/lib/python2.7/site-packages/pkg_resources.py", line 862, in best_match

    return self.obtain(req, installer) # try and download/install

  File "/data/user-data/agg96/sss/lib/python2.7/site-packages/pkg_resources.py", line 874, in obtain

    return installer(requirement)

  File "/data/user-data/agg96/sss/lib/python2.7/site-packages/setuptools/dist.py", line 339, in fetch_build_egg

    return cmd.easy_install(req)

  File "/data/user-data/agg96/sss/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 617, in easy_install

    raise DistutilsError(msg)

distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('vcversioner')

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /data/user-data/agg96/sss/build/jsonschema

Temporary solution:

Install vcversioner first:  $ bin/pip install vcversioner
Execute command again:  $ $ bin/pip install -e git+https://github.com/gomezgoiri/pt-instances-management.git#egg=ptinstancemanager

Moved to https://github.com/PTAnywhere/pt-instances-management/issues/3


tf silently rounding to integer when converting to PIL format

System information

Have I written custom code: not really, no.
OS Platform and Distribution: Linux Ubuntu 18.04.2 LTS (Bionic Beaver)
TensorFlow installed from (source or binary): pip install (binary?)
TensorFlow version (use command below): 1.14.0
Python version: 3.5.2
Bazel version (if compiling from source): -
GCC/Compiler version (if compiling from source): -
CUDA/cuDNN version: - (running on cpu only)
GPU model and memory: - (running on cpu only)

Describe the current behavior
When converting to PIL format from array and back, tf silently rounds values to integers. (see https://www.tensorflow.org/api_docs/python/tf/keras/preprocessing/image/array_to_img, https://www.tensorflow.org/api_docs/python/tf/keras/preprocessing/image/img_to_array)
Describe the expected behavior
Throw a warning when silently rounding. maybe convert to float instead of integer if input is a float dtype?
Code to reproduce the issue
please see the short example test case here: https://github.com/WildTangles/tf-issues/blob/master/tensorflow_bug_conversions/bug_demo.ipynb
In particular, see:
cell 4 (random noise image, 4800 unique values) vs.
cell 6 (image after conversion to PIL and back, 256 unique values)
Other info / logs
Happy to provide if necessary.

@WildTangles,
The Notebook in the link, https://github.com/WildTangles/tf-issues/blob/master/tensorflow_bug_conversions/bug_demo.ipynb couldn't be opened.  It is resulting in an error as shown below. Can you please share the attachment. Thanks!

@rmothukuru
please see: https://nbviewer.jupyter.org/github/WildTangles/tf-issues/blob/master/tensorflow_bug_conversions/bug_demo.ipynb
It's the same notebook, just hosted on nbbiewer.jupyter.org.

@WildTangles I agree that there are only 256 unique values after conversion. However, there is not much information lost during conversion. Here is a gist for y/our reference. Thanks!

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.


Minor typo

There's a sentence in this document that reads "Mocking libraries do exist libraries that provide this functionality."
I'm assuming this should be updated to be more like "Mocking libraries do exist that provide this functionality." But maybe even better would be simply remove the sentence and start the next one with "One such library is..."

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f143da0e-8c37-c3c1-2e4e-661916a6f674
Version Independent ID: 526bba9d-92e9-7f12-97ad-83439845b20a
Content: Unit testing stateful services in Azure Service Fabric
Content Source: articles/service-fabric/service-fabric-concepts-unit-testing.md
Service: service-fabric
GitHub Login: @athinanthny
Microsoft Alias: atsenthi

Thanks for the feedback! We are currently investigating and will update you shortly.

@samiam236 thanks for this find! I removed that sentence as it was confusing and didn't add much value. Once the PR merges the changes will go live after a few hours.
Thanks again!


Add possibility to set MinReliableKeepPercent

Originally reported on Google Code with ID 36
What steps will reproduce the problem?
1. try to detect the language of attached input file
2. see the output is "unknown"

What is the expected output? What do you see instead?
I would expect either 'perssian' or 'arabic'

What version of the product are you using? On what operating system?
rev195 on centos 7

Please provide any additional information below.

CLD2 returns "unknown" because the reliability is lower than kMinReliableKeepPercent
(in compact_lang_det_impl.cc) :
static const int kMinReliableKeepPercent = 41;  // Remove lang if reli < this

Would adding an additional parameter to the DetectLanguageXXX(...) in order to set
this threshold be acceptable ?

Regards

Reported by William.Tambellini on 2015-06-11 17:07:38

 * *Attachment: [input_ara_only.txt](https://storage.googleapis.com/google-code-attachments/cld2/issue-36/comment-0/input_ara_only.txt)*

We are revising CLD2 internally to have a single entry point that takes an options proto. I see no reason why kMinReliableKeepPercent cannot be included as a configurable option. Once that is done and tested thoroughly, we will migrate those changes to the open source version of CLD2 here.


add adjustment methods to to_csv

In https://github.com/kufu/kirico/pull/60 , I added adjustment methods.
However, I forgot adding them to to_csv methods...
I'm sorry to trouble you.

Thank you!!


[EPIC] FlowKit Staging Bugs

FlowKit Refactor Bugs On Staging

[x] https://github.com/onflow/flow-playground-api/issues/300
Invalid signers error occurring on executions

[x] https://github.com/onflow/flow-playground-api/issues/304
Error causing authenticating cookies coming from the front end.
Sometimes CORs issues are shown as well.

[x] https://github.com/onflow/flow-playground-api/issues/306
Logs are missing when executing tx/ scripts from UI

All fixed and released on Production in v2.1.0.


Twilio API Keys Expired And API Out Of Date

In order to get the Twilio API example to work I had to change
  twilio.sendMessage(message, (err, responseData) => {
    if (err) { return next(err.message); }
    req.flash('success', { msg: `Text sent to ${responseData.to}.` });
    res.redirect('/api/twilio');
  });

to
  twilio.messages.create(message).then((sentMessage) => {
    req.flash('success', { msg: `Text send to ${sentMessage.to}` });
    res.redirect('/api/twilio');
  }).catch(next);

I also kept getting 401s with the Twilio account creds provided in the env file. I had to change the creds to my own for the text to successfully send. I will open a PR to update the API but you will need to update the credentials for the app yourself because I do not want to supply my personal Twilio trial keys.

https://github.com/sahat/hackathon-starter/pull/865

Thanks, the credentials in the env example file in this repo are somewhat dummpy/placeholder credentials.  It is expected that the developers would get their own credentials as stated in the readme:

Go to https://www.twilio.com/try-twilio
Sign up for an account.
Once logged into the dashboard, expand the link 'show api credentials'
Copy your Account Sid and Auth Token

Thanks for the PR.  Will merge it shortly.


static files not loading when using verdaccio with nginx reverse proxy on docker

Hi,
I have an issue when trying to run nginx reverse proxy on docker with verdaccio set as one of the apps.
Every static content like js scripts, css files, favicon, etc is not loading properly because of paths probably - error from error log below. It is all causing verdaccio loading as blank page.
*2 open() "/etc/nginx/html/-/static/main.80161fe0b6bd47fb69c4.js" failed (2: No such file or directory)
What I see when I enter https://server_name/verdaccio is blank page with 404 errors(from GET https://server_name/-/static/...) in network and console:

I have verdaccio set at /verdaccio location. default.conf nginx file you can find below:
server {
    listen 80;
    return 302 https://$host$request_uri;
}

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;
    server_name xxxxxxxx;

    ssl_certificate /etc/nginx/ssl/docker-nginx.crt;
    ssl_certificate_key /etc/nginx/ssl/docker-nginx.key;

    ssl_session_cache  builtin:1000  shared:SSL:10m;
    ssl_protocols  TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;
    ssl_prefer_server_ciphers on;

    access_log off;
    error_log /var/log/nginx/error.log error;

    location /verdaccio {
        proxy_pass              http://verdaccio:4873/;
        proxy_set_header Host            $host:$server_port;
        proxy_set_header X-Forwarded-For $remote_addr;
        proxy_set_header X-Forwarded-Proto $scheme;

    }

}

Here is verdaccio's config.yaml :
#
# This is the config file used for the docker images.
# It allows all users to do anything, so don't use it on production systems.
#
# Do not configure host and port under `listen` in this file
# as it will be ignored when using docker.
# see https://verdaccio.org/docs/en/docker#docker-and-custom-port-configuration
#
# Look here for more config file examples:
# https://github.com/verdaccio/verdaccio/tree/master/conf
#

# path to a directory with all packages
storage: /verdaccio/storage/data
# path to a directory with plugins to include
plugins: /verdaccio/plugins

web:
  # WebUI is enabled as default, if you want disable it, just uncomment this line
  #enable: false
  title: Verdaccio
  # comment out to disable gravatar support
  # gravatar: false
  # by default packages are ordercer ascendant (asc|desc)
  # sort_packages: asc
  darkMode: true

# translate your registry, api i18n not available yet
# i18n:
# list of the available translations https://github.com/verdaccio/ui/tree/master/i18n/translations
#   web: en-US

auth:
  htpasswd:
    file: /verdaccio/storage/htpasswd
    # Maximum amount of users allowed to register, defaults to "+infinity".
    # You can set this to -1 to disable registration.
    # max_users: 1000
    max_users: -1

# a list of other known repositories we can talk to
uplinks:
  npmjs:
    url: https://registry.npmjs.org/

packages:
  '@*/*':
    # scoped packages
    access: $all
    publish: $authenticated
    unpublish: $authenticated

  '**':
    # allow all users (including non-authenticated users) to read and
    # publish all packages
    #
    # you can specify usernames/groupnames (depending on your auth plugin)
    # and three keywords: "$all", "$anonymous", "$authenticated"
    access: $all
    # allow all known users to publish/publish packages
    # (anyone can register by default, remember?)
    publish: $authenticated
    unpublish: $authenticated

    # if package is not available locally, proxy requests to 'npmjs' registry
    proxy: npmjs

middlewares:
  audit:
    enabled: true

# log settings
logs:
  # - { type: stdout, format: pretty, level: http }
  - { type: stdout, format: pretty, level: trace }
  #- {type: file, path: verdaccio.log, level: info}
#experiments:
#  # support for npm token command
#  token: false
#  # support for the new v1 search endpoint, functional by incomplete read more on ticket 1732
#  search: false

# This affect the web and api (not developed yet)
#i18n:
#web: en-

and docker-compose.yaml:
version: '3.5'

services:
  verdaccio:
    build:
      context: './docker/verdaccio'
    container_name: verdaccio
    environment:
      - VERDACCIO_PORT=${VERDACCIO_PORT}
    ports:
      - $VERDACCIO_PORT:$VERDACCIO_PORT
    volumes:
      - verdaccio-storage:/verdaccio/storage

  nginx:
    restart: always
    image: nginx
    build:
      context: './docker/nginx'
    container_name: nginx
    environment:
      - NGINX_PORT:${NGINX_PORT}
    ports:
      - $NGINX_PORT:$NGINX_PORT
      - "443:443"

volumes:
  verdaccio-storage:

In my opinion changing paths doesnt work properly as described in the instruction here:
https://verdaccio.org/docs/en/reverse-proxy
Please do some fix to make paths work correctly.

update : on 4.2.1 it works fine.

+1

+1

I'll take of this #2122 please follow up there.


Questions about reproducibility

Dear Author, Thank you for your outstanding work. During the reproducibility process, even when using the provided checkpoint, I am unable to achieve the accuracy reported in the paper. Specifically, the MRR on the NELL dataset is 0.416.

Thanks for your interest in our work. Due to the randomness of sampling, it cannot get a fixed performance every time. Based on the current random seeds, it can usually get the report performance within 5 consecutive runs.

Performance was inconsistent across runs, but results were typically achieved within five consecutive attempts. We assume this is due to the random number generation under the given seeds.


Correctness tests on each data source nulls and 0s

In my mind's eye, the first of each pair can be a series of unit tests, but the second must be manual because of the front end work.

[ ]  Confirm nulls are preserved throughout until the score is generated
[ ] Confirm nulls are nulls on the map as well
[ ] Confirm 0s are preserved throughout until the score is generated
[ ] Confirm 0s are 0s on the map as well

If there are certain tracts that we know should have nulls and/or 0s, then the FE could use this as a test to make sure it's working

That's awesome! Can we check in early next week (maybe Monday?) to discuss how to have some tests that persist into the front end as well?

@vim-usds we can convert this to a front-end QA ticket.
I'm not sure how front end testing works, but maybe I can provide a list of tracts that are 0s / nulls for each column and we can verify? or do you think this isn't necessary?

Cool yes! @emma-nechamkin
First off, I think having a test in place is the safest way to go. Let's call the "list of tracts that are 0s/nulls for each column" the zero_null_tracts. Just to be concrete, this will be a list of tracts and their column(s) that have 0 or null values.
For a given tract from the zero_null_tracts list, It would be great to figure out which PBF file this tract is in. The folder location usually provides that for example ...5/6/11.pbf would give me the info I need to

download the PBF for a given tract under test
check if a certain indicator is either 0 or null
validate that the UI also shows 0 or null

What do you think?

The tests for
[ ] Confirm nulls are nulls on the map as well
[ ]  Confirm 0s are 0s on the map as well
Ended up in #1848 with tests for tlies.csv


elasticache.cacheparametergroup: Add resource

Description of your changes
Add elasticache.cacheparametergroup using code gen
Code gen is not perfect for parameter groups at the moment, so I skipped tags:

https://github.com/aws-controllers-k8s/community/issues/869
https://github.com/crossplane/provider-aws/issues/816

I have:

[ ] Read and followed Crossplane's contribution process.
[ ] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

add test for isUpToDate

@chlunde any progress here ? We also need this feature ;)

@haarchri I think it has the same quality as dbparametergroup, I don't remember why it was a draft. I think it works, I'm using it :-) Rebased, removed debug log statement and reran codegen.


When is 1.2.4 going to replace broken 1.2.3?

https://github.com/osixia/docker-openldap/issues/283

In the meantime, there's a workaround: set
LDAP_BASE_DN='dc=example,dc=com' for LDAP_DOMAIN='example.com'

done :)
sorry guys i was a bit busy on other projects

Everything is fine, don't get stressed by people. You still do it for free :)
Thanks for the quick release!

@jayb1122 I suspect you can close this issue now.

@jayb1122 please close this issue


The value assigned to a variable must be used.

Title
The value assigned to a variable must be used.
Description
The value assigned to a variable must be used. Else the variable is not necessary.
Reason for the rule
Unused variable can be confusing for the reader and can cost performance to the system.
Bad code sample
procedure AddEntities@1(FilterStr@1000 : Text[250])
var
    Vendor@1001 : Record Vendor;
    Count@1002 : Integer;
begin
    Count := 0;
    Vendor.SETFILTER("No.",FilterStr);
    if Vendor.FINDSET() then
    repeat
        "User ID" := USERID();
        "Vendor No." := Vendor."No.";
        if INSERT() then
            Count += 1;
    until Vendor.NEXT() = 0;
end;

Good code sample
procedure AddEntities@1(FilterStr@1000 : Text[250])
var
    Vendor@1001 : Record Vendor;
begin
    Vendor.SETFILTER("No.",FilterStr);
    if Vendor.FINDSET() then
    repeat
        "User ID" := USERID();
        "Vendor No." := Vendor."No.";
        if INSERT() then;
    until Vendor.NEXT() = 0;
end;

Good and bad practices for fixing the rule
Remove the variable or make use of it if not using it was a mistake.
Remarks

As long as its an info/warning message and not an error, I'm OK with this.
Because of the debugger limitations, I often have variables that exist only for that.

We currently ship every rule in CodeCop as info or warning.

How should a List be assigned before use?
The following sample shows a warning due to using Contains in the loop, I do not see a good way around it. Suggestions?
(My actual code is different, so the sample was just to make it easy to understand)
    procedure DoSomething()
    var
        GLEntry: Record "G/L Entry";
        GLAccountNoList: List of [Code[20]];
    begin
        // Set some filters on GLEntry
        if GLEntry.FindSet() then
            repeat
                DoSomethingWithEntry(GLEntry);
                if not GLAccountNoList.Contains(GLEntry."G/L Account No.") then
                    GLAccountNoList.Add(GLEntry."G/L Account No.");
            until GLEntry.Next() = 0;
        DoSomethingToEachGLAccount(GLAccountNoList);
    end;

    procedure DoSomethingWithEntry(GLEntry: Record "G/L Entry")
    begin
    end;

    procedure DoSomethingToEachGLAccount(GLAccountNoList: List of [Code[20]];)
    begin
    end;

@AskeHolst I think you're looking for issue #5614

Thank you @mjmatthiesen #5614 was the right one. And there was even a solution there: "List is initialized via .Add()" so problem solved.

So isn't this issue done, and can be closed?


Fixing Test Case Revision

Task name:  AzureTestPlanV0
Description: Making changes to populate TestCaseRevisionId Field
Documentation changes required: (Y/N) N
Added unit tests: (Y/N) N
Attached related issue: (Y/N) N
Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] Checked that applied changes work as expected

lgtm


OData support

I was searching for query builder component and Your component is ideal. Thank You for creating it.
I'd like to ask for support for OData.
Ideally, Your component should allow creating filters that could be used to query OData endpoint.

@zebzhao I've created a basic implementation that converts RuleSet into OData filter.
You can take a look here.
I'll try to add support for all operators and all datatypes.
I'm not an angular expert so this might not be the best way to implement this, but I hope this will help others facing the same issue.

Thank you for sharing this. I am not familiar with OData and have never worked with it, so thank you for taking the initiative on this issue.


Update akka-stream-testkit, akka-testkit to 2.6.15

Updates

com.typesafe.akka:akka-stream-testkit
com.typesafe.akka:akka-testkit

from 2.6.6 to 2.6.15.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe.akka" } ]

labels: library-update, semver-patch

Superseded by #107.