Connect to Azure Subscriptions

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az account get-access-token
Errors:
HTTPSConnectionPool(host='login.microsoftonline.com', port=443): Max retries exceeded with url: /db05faca-c82a-4b9d-b9c5-0f64b6755421/oauth2/token (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
Traceback (most recent call last):
urllib3\urllib3\contrib\pyopenssl.py, ln 456, in wrap_socket
pip-install-68v0_w99\pyOpenSSL\OpenSSL\SSL.py, ln 1915, in do_handshake
...

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az account get-access-token --resource {} --subscription {} -o={}

Expected Behavior
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.6.6
Shell: cmd.exe

azure-cli 2.0.63

Extensions:
resource-graph 1.0.0

Additional Context

@jiasli for awareness

Duplicate of https://github.com/Azure/azure-cli/issues/11356


Fix overwriting of dynamic import() CallExpression

Closes #1035
Closes #1166
So turns out, dynamic imports were already supported in moduleVisitor but they were being overwritten if commonjs or amd options were set.

Fixed by saving the current CallExpression and including it in the function that's overwriting it.
Added test cases for import() in rules using the moduleVisitor. Not sure why, but I couldn't get the no-cycle rule to throw errors with import().
Fixes issues with parser babel-eslint not working with no-cycle, due to the "flow workaround" for eslint@<5

This might be breaking for some users, though.
Also since import() can work with URLs, maybe we should use something like isURL from validator to ignore URL imports?

Coverage increased (+0.09%) to 97.349% when pulling 19f74423c4fbb69eb8cce80c921228dd96982748 on vikr01:fix/dynamic-import into b4a2f11fcacc6b2f048da4b29cfc896e682f17d1 on benmosher:master.

Coverage increased (+0.09%) to 97.349% when pulling 19f74423c4fbb69eb8cce80c921228dd96982748 on vikr01:fix/dynamic-import into b4a2f11fcacc6b2f048da4b29cfc896e682f17d1 on benmosher:master.

Here's a passing appveyor on the branch of my fork.

any updates here? Would be great to have this merged


Add logout button in 2FA

Add logout button in 2FA and delete all the sessions and cookies related to that user.

fa97ef9685199f14bf920b2b0aa26a05e32798db


seems every line of body needs to start with tab??

when I enter text from quickadd i get errors.  It seems if the text of the body doesn't have a tab at the start of each line there is an error.  is this observation correct?  makes adding content very awkward.  can this be changed?

Hey @pcause, thank you for raising this. The problem is that the format is yaml, and thus if you need multiple lines, you need to add a tab and maybe if you need a linebreak in the mail itself, you need two lines:
```email
to<EMAIL_ADDRESS>body: "Hi there,

  this is the second line"
```

However, what you can do: (1) write the body in a separate note and (2) add a reference to this file.
The new file mybody.md:
Hi there,
this is the second line

The email block code:
```email
to<EMAIL_ADDRESS>body: [[mybody]]
```

thanks.  saw that in the readme and used that format.  what is for incline you used:

---
to:xxx
from:xxx
---
body here

so the yaml is delineated by the --- before and after like the obsidian document head material.  you could have a [[body]] element in the header in which case it behaves like above.

Hey @pcause ,
just pushed a new version: You can now add a custom body after the yaml part, separated with a "---":
```email
to<EMAIL_ADDRESS>subject: Hello World
---
Hi there,
this is my new body
Best!
JB
```


https error

Hello,
I'm trying use the app through https with a openssl self-certification. I have generated a new server.crt and server.key file but I keep getting SSL errors.
the url on my react component:
https://IP:443/stream/test1/channel/0/hls/live/index.m3u8
on browser I get:
GET https://IP:443/stream/test1/channel/0/hls/live/index.m3u8 net::ERR_SSL_PROTOCOL_ERROR
and on terminal I get:
2023/11/06 14:15:45 http: TLS handshake error from IP:56409: acme/autocert: missing server name
this is my current config file:
{
"server": {
"debug": true,
"http_debug": false,
"http_demo": true,
"http_dir": "web",
"http_login": "demo",
"http_password": "demo",
"http_port": ":8083",
"https": true,
"https_auto_tls": true,
"https_auto_tls_name": "",
"https_cert": "server.crt",
"https_key": "server.key",
"https_port": ":443",
"ice_servers": ["stun:stun.l.google.com:19302"],
"log_level": "debug",
"rtsp_port": ":5541",
"token": {
"backend": "http://<IP_ADDRESS>/test.php"
},
"defaults": {
"audio": true
}
},
"streams": {
"test1": {
"channels": {
"0": {
"url": rtsp address,
"debug": false,
"audio": true
},
"1": {
"url": rtsp address,
"debug": false,
"audio": true
}
},
"name": "test1"
}
}
}
note: I have also tried "https_auto_tls_name": "nametest" and updating acme.

Hi, I've tried this using Let's Encrypt and Docker volume to make it work fine. First, edit your config.json like this:
{   "channel_defaults": {     "on_demand": true   },   "server": {     "debug": false,     "http_debug": false,     "http_demo": false,     "http_dir": "",     "http_login": "",     "http_password": "",     "http_port": ":8083",     "https": true,     "https_auto_tls": false,     "https_auto_tls_name": "",     "https_cert": "/config/server.crt",     "https_key": "/config/server.key",     "https_port": ":8084",     "ice_credential": "",     "ice_servers": [],     "ice_username": "",     "log_level": "info",     "rtsp_port": "",     "token": {       "backend": "",       "enable": false     },     "webrtc_port_max": 0,     "webrtc_port_min": 0   },   "streams": {     // your rtsp urls here   } }
Then, when you run Docker, execute it like this:
docker run --name rtsp-to-web /      -v /path/to/config.json:/config/config.json /      -v /etc/letsencrypt/live/your_url/fullchain.pem:/config/server.crt /      -v /etc/letsencrypt/live/your_url/privkey.pem:/config/server.key /      --network host /      ghcr.io/deepch/rtsptoweb:latest
Remember to update the path to the certificates. I hope it works for you.

I don't have a domain for the rtspToWeb app, does it only work if i get a domain? Can't I use a self-certified certificate?

Yes, it will work with a self-signed certificate.
Try following this tutorial from Let's Encrypt to create a self-signed certificate.
I hope it will work.


Remove blank search page

The XML sitemap links to this blank page: https://opensource.guide/search Not a huge deal, but not great for SEO, either.
@bkeepers I can just remove this file, right? Since we don't have a search functionality right now?

Yep, that's right.


Improved handling of bash arguments and vesioning

As I started working on the versions the Nextflow modules report ( https://jira.sanger.ac.uk/browse/TOLIT-650 ), I've made a few changes to address issues that were raised in the GitHub discussion on the handling of the bash arguments.
 There's still something I'd like to explain.
Following up on what we discussed this morning, I checked how the arguments made it from Nextflow to bash. I haven't tried $task.ext.args yet, but the existing $proj and $tolid arguments are by default passed unquoted, and would be split if they include a whitespace. For instance, if $proj is darwin with space, the bash script will receive darwin as $2, with as $3, etc. Even though we're not planning to have whitespace in paths, and many other things would likely break, I'm still suggesting here to properly quote the arguments as much as we can, and ensure the variables are what they're meant to be.

Added a few commits to report versions the way we've decided yesterday


Minimize generated code

The specs for 7.1-preview and 7.2-preview are divided into feature areas. In these versions we have certificates.json, keys.json, and secrets.json instead of the monolithic keyvault.json. We could generate only the code each library needs. For example, the generated client in azure-keyvault-keys could have only the methods described by keys.json.

This is done.


Windows install instructions

There are no instructions for people with windows to both install ruby on rails and how to use the git hub clone.

This is what I have so far, but there are still issues.

GitHub

Sign-up for GitHub and log-in
b.	Go to https://github.com/girldevelopit/gdi-new-site
c.	Fork the site (button on top right corner), This with create a copy on your github site
d.	Clone your new copy by clicking the “Clone in Desktop” button.  A window will pop up asking where you want to save it (save it wherever you want, I saved it into the Sites folder, which is the default folder, just remember the path to the folder.)
e.	Go to the command window and change the command line path to the folder where you have the gdi-new-site
i. You do this by typing first typing “cd” then the path to your file (i.e. > cd \Sites\gdi-new-site)
f.	Type bundle install
i.	If you get the error “An error occurred while installing CFPropertyList –v blah, blah, blah” don’t worry we can fix it

Open windows explorer and open the gdi-new-site folder (it should be in the Sites folder, or wherever you saved the clone in step 1d)

Open the GemFile in a code editor(if you don’t have a code editor, go to step 2. Optional for instructions on how to install Atom.

Change “source ‘https://rubygems.org’ “ to “source ‘http://rubygems.org” and SAVE the file

Go back to the command window and type bundle install

Optional: if you don’t have it already download a code editor that works with Ruby
a. Atom ( https://atom.io/ ) is a free code editor that works with Ruby and GitHub.
b.	Click to download windows installer
c.	If the installer does not automatically start than click on the downloaded AtomSetup.exe
d.	Follow the setup wizard
e.	Open Atom C:\Sites\gdi-new-site, change .ruby-version to 2.1.2  and Gemfile #ruby  ”2.1.2”
f.

Download Ruby on Rails
a.	Go to http://railsinstaller.org/en
b.	Scroll down and click on the download button that is appropriate for your machine
c.	If the installer does not automatically start than click on the downloaded .exe file (it should look like railsinstaller-3.1.0.exe)
d.	Follow the setup wizard (make sure the “Configure git and ssh when installation has completed” box is checked
e.	A command line box will pop up
i.Change the command line path to the folder where you have the Gem file (this is the same place where you saved the clone)

You do this by typing first typing “cd” then the path to your file

i.e. > cd \Sites

i.e. > cd \Sites\app
ii. type install bundle

If the install bundle works, a bunch of text should pop up and the last line should say “nothing to do! Yay!”

If the install bundle doesn’t work and you  have an error message saying it can’t get the information from <https://rubygems.org/gems/rake... blah blah blah , then you need to hack the Gem file

Hack the Gem file
a. Go to the folder where you saved (i.e. C:\Sites\Gemfile) and open it in your code editor (like Atom)
b.	Change source 'https://rubygems.org' to source 'http://rubygems.org'
c.	Save the file
d.	Go back to the command line and type install bundle

You should now have all the dependencies for your project done

Going to try a Windows install tonight, so I'll see about some docs as well.

@kstack7 No idea! I'll find out tonight. I suspect it is the part highlighted in red.

Taking Kristi's lead in Slack by downloading Vagrant to try out the Windows route.

General note: Native Windows install currently appears to be impossible due to Unix-only gems. See #174 for more. Windows users may be able to use a virtual machine with Linux.

@Roenok were you able to check out these docs and test? Wanting to see if we can add platform specific instructions + Windows would be awesome sauce.

@juliaelman Windows install is currently impossible, pending resolution of https://github.com/girldevelopit/gdi-new-site/issues/174

Pending latest build changes to support Windows. Please checkout http://girl-develop-it-staging.herokuapp.com/ and #371 for details & keep an eye out for bugs!

We can close this one, as Windows users can use Vagrant


Please add send_event_batch method in ServiceBusService

According to MSDN document https://docs.microsoft.com/en-us/rest/api/eventhub/send-batch-events there is a special header needs to be added if we want to send eventhub message in batch mode.
Set the Content-Type header to "application/vnd.microsoft.servicebus.json".
But in current version, there is no such method for event hub.
This function is important to improve batch messages send performance.
Thanks a ton if you can take time to add it into this SDK.

Hi @VaanPan
Will do my best to do it asap. Thanks for the report :)

@VaanPan - this is a feature of the new in-preview Event Hub python SDK build on AMQP.
It would be great if you could try it out. Expect GA is end of June.
https://pypi.org/project/azure-eventhub/#description
https://github.com/Azure/azure-event-hubs-python/tree/develop


Create Posts “20221007-understanding-hashing”

Automatically generated by Netlify CMS

👷 Deploy Preview for monetaboot processing.

Name
Link

🔨 Latest commit
60e92141dfb3a048ce4f743d9fcf047c44af2848

🔍 Latest deploy log
https://app.netlify.com/sites/monetaboot/deploys/633f990a5b52df0009d34593


Remove dependancy on input directory tree structure

Currently the code base has assumptions about the directory tree. Either:
    xml_in_dir
    |-- publication
    |   |-- year
    |   |   |-- issue
    |   |   |   |-- xml_content
    |   |-- year
    |-- publication

Or
    xml_in_dir
    |-- year
    |   |-- issue
    |   |   |-- xml_content
    |-- year

Adding capability to create the output directory tree using the mets file (which contains the publication, year, issue) or simply the filename (which contains the year and issue) or allowing a flat directory output.
This will be useful for people testing the tool with just a single example. It also makes the directory tests more robust.
This will help the working example documentation. https://github.com/Living-with-machines/alto2txt/issues/28

Tests to add
xml_to_text_entry.py

[ ] Does the directory tree look as expected with root, publication, year, issue?
[ ] Continue, don't automatically fail if not

xml_to_text.py

[ ] Does the filename have metadata in it?
[ ] Do the filename and directory metadata match?
[ ] If no directory tree, does the filename have metadata in it?
[ ] If no directory tree, no filename metadata, can the info come from the mets.xml file?
[ ] If flat directory input, should output be flat or directory tree invented?

Small bugs or quirks to check:
xml_to_text.py

[ ] Path to input and output files are created redundantly and unclear

I would like to raise this as important as I had been thinking of a great blog post with a case study of our alto2txt tool + BL's publicly released newspapers. The problem, as I have also written on Slack, is that the XML files uploaded to the BL repository of the newspapers that have been digitised by the project, have been packaged up in a different folder format than that expected by the alto2txt tool currently.
An alternative for us would be restructuring the files on the repository, but they have already been uploaded so I guess it's a bit late for that, and (b) it would be a possibility to write a go-between script that unzips the files and then renames/restructures files to follow the alto2txt standard.
But - for reusability etc. I’d imagine that it’d be good for alto2txt to have a more agnostic approach to the file structure anyway. I.e.: Not all ALTO files will come in the shape of a folder with the collection name in the top level, then NLP, then year, finally month/day and then the XML files in there...


[New Port Request]

Library name:
"clipper" aka "Angus' C++ Polygon Clipping Library" aka "libpolyclipping"
Library description:
"An open source freeware library for clipping and offsetting lines and polygons."
Source repository URL:
http://sourceforge.net/projects/polyclipping/files/
https://github.com/brandon-kohn/clipper-lib (mirror)
Project homepage (if different from the source repository):
http://www.angusj.com/delphi/clipper.php
Anything else that is useful to know when adding (such as optional features the library may have that should be included):
I will make a PR of this port myself

This library is available under its other popular name, polyclipping.

Oh cool, thank you


DO NOT MERGE - Test keyserver

You will need to update the test files too for example: /spec/acceptance/apt_spec.rb


Update README.md

Mentions resolution scaling for chest hunts to work correctly.

Think this should be added so that the user knows the requirements before opening the application.

I will remake the read me with all issue a user can encounter


create Sculpin::EVENT_AFTER_GENERATE

It is useful to process the SourceSet before Converter.
For example, if we can add data to the Source based on information in other articles, we can process it more flexibly in the Converter.
In this PR, eventDispatch of Sculpin::EVENT_AFTER_GENERATE is added to achieve the above.

@beryllium Does it make sense to also have a before generation event?

@beryllium

When running in "generate --server --watch" mode, does this event get dispatched whenever a file change is detected

Yes.

does the SourceSet contain information about the full site, or only the parts that were regenerated?

Both information.
We can  get information about the full site by $sourceSet->allSources(), or get only the updated parts by  $sourceSet->updatedSources(). An example is as follows.
class ExampleSubscriber implements EventSubscriberInterface
{

    protected $postData = [];

    public static function getSubscribedEvents(): array
    {
        return [
            Sculpin::EVENT_AFTER_GENERATE => array('beforeRun', 100),
            Sculpin::EVENT_BEFORE_CONVERT => array('beforeConvert', 100),
        ];
    }

    public function beforeRun(SourceSetEvent $sourceSetEvent)
    {
        $sourceSet = $sourceSetEvent->sourceSet();
        $allSources = $sourceSet->allSources();
        $updateSources = $sourceSet->updatedSources();

        foreach ($allSources as $source) {
            $this->postData[$source->url()] = $source;
        }

        // code
    }

    public function beforeConvert(ConvertEvent $convertEvent): void
    {
        // use $this->postData
    }

Thank you so much for this improvement, @sunadarake!


Super Exploding Zoo [PCSB000362]

Game summary

Game name: Super Exploding Zoo
Game serial: PCSB00362

Vita3K summary

Version: v0.1
Build number: 311-e4d7a67
Commit hash: https://github.com/vita3k/vita3k/commit/e4d7a67

Test environment summary

Tested by: HorrorTroll
OS: Windows 8.1
CPU: Intel Core i5-4200H
GPU: Nvidia Geforce GTX 950M
RAM: 6 GB DDR3

Issues

Softlock
Screenshots

Log
vita3k.log
Patch vita3k.log
Recommended labels

Softlock

Game summary

Game version: 1.02

Vita3K summary

Version: v0.1
Build number: 1076
Commit hash: https://github.com/vita3k/vita3k/commit/bc03af6

Test environment summary

Tested by: Zangetsu38
OS: Windows 10
CPU: AMD Ryzen 2700X
GPU: NVIDIA GTX 1080 Ti
RAM: 16 GB DDR4 3600 mhz

Issues

stop boot on open psarc archive file with mutex error

sceKernelSignalLwCondAll returned SCE_KERNEL_ERROR_LW_MUTEX_RECURSIVE (0x80028182)

Log
vita3k.log

Vita3K v0.1.5 2585-c167144f
goes ingame
has graphic glitches
vita3k.log


H3 / LongConvKernel - l_max=None isn't working

In H3 model here noted that
https://github.com/HazyResearch/safari/blob/1ff064eb43a455e217449314dfbbd83dcac7871c/src/models/sequence/h3_conv.py#L36
But it isn't working, because of https://github.com/HazyResearch/safari/blob/1ff064eb43a455e217449314dfbbd83dcac7871c/src/models/sequence/long_conv_kernel.py#L56
Which is leading to torch.randn(int, int, None) error:
TypeError: randn(): argument 'size' must be tuple of ints, but found element of type NoneType at pos 3

So, are global kernels supported now? Or, to make it more global, should I use large l_max value?

The H3Conv replaces the SSM with a fixed-length long convolution the size
of the input, so you need to set the l_max.
The SSM version of H3 has no fixed context length, so that’s why it’s not
necessary for that case.
On Thu, Mar 9, 2023 at 9:08 AM Alexey Korepanov @.***>
wrote:

In H3 model here noted that
https://github.com/HazyResearch/safari/blob/1ff064eb43a455e217449314dfbbd83dcac7871c/src/models/sequence/h3_conv.py#L36
But it isn't working, because of
https://github.com/HazyResearch/safari/blob/1ff064eb43a455e217449314dfbbd83dcac7871c/src/models/sequence/long_conv_kernel.py#L56
Which is leading to torch.randn(int, int, None) error:
TypeError: randn(): argument 'size' must be tuple of ints, but found element of type NoneType at pos 3
So, are global kernels supported now? Or, to make it more global, should I
use the large l_max value?
—
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/safari/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDDIISS53RDBV3INEJGOATW3HI3HANCNFSM6AAAAAAVVDARFQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

ok, it would be clearer if there was an assert or something like that.
this would be helpful for users like me who use just the model implementation without any other framework things

Thanks, this feedback makes sense! Will add some more notes and
documentation next week (currently traveling).
On Thu, Mar 9, 2023 at 4:04 PM Alexey Korepanov @.***>
wrote:

ok, it would be clearer if there was an assert or something like that.
this would be helpful for users like me who use just the model
implementation without any other framework things
—
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/safari/issues/2#issuecomment-1462697255,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDDIITA4YQFTXTWTM2FXKTW3IZWJANCNFSM6AAAAAAVVDARFQ
.
You are receiving this because you commented.Message ID:
@.***>


Feature: Grid-based World System

Description
The grid-based World system is used to create a path for the enemies to follow and to place towers on.

The level designer will create a path for the enemies to follow

Functional Requirements

[x] It should be able to create path pieces in a grid layout
[x] It should be able to place towers on open grid spaces directly surrounding the path pieces

Acceptance Criteria

[x] There should be a grid-based path system prefab

Dependencies
None
Definition of Done

[ ] Follows the naming conventions
[ ] Follows the coding conventions
[ ] Meets the acceptance criteria
[ ] Pull request has been opened

Waiting for other dependencies from earlier commits in my branch before I can merge this.


Disable logging for static content requests by loading the logger middleware after the static middleware

As you can see from the below screenshot, express is logging all static file requests. This seems to be outside of the scope of json-server, particularly if you're already using something like BrowserSync. This PR disables logging for static content requests by loading the logger middleware after the static middleware.

From the express docs:
Disable logging for static content requests by loading the logger middleware after the static middleware:
app.use(express.static(__dirname + '/public'));
app.use(logger());

By doing this, it now only logs the json-server API requests, instead of ALL requests.

Any chance this can get merged in?

@typicode

Thank you for your patience. Good point 👍

Thanks!


Link component's onClick attribute takes over

The default intro whisper and my own loop both exhibit the same behavior. When a link component is given an href, it opens it just fine. When it's given an onClick callback, it executes it just fine. When it's given both, it only executes the callback. Can it be updated so both actions launch?

Hello @dannyAtOlive, thank you for reporting this behavior. It looks like this is a known problem and fix for this feature is already in the works. It will be released with the next version release (for the reference here is the LDK story card associated with the fix: HELPS-1352).


python36Packages.django_nose: 1.4.5 -> 1.4.6

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.6-django-nose/versions.
meta.description for python36Packages.django_nose is: '"Provides all the goodness of nose in your Django tests"'.

Checks done (click to expand)

built on NixOS

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

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

found 1.4.6 with grep in /nix/store/k8bkgp36zbin80yg17k2g670ciphhncb-python3.6-django-nose-1.4.6

directory tree listing: https://gist.github.com/c4514284ff14a887641e66fefdb5a9bc

du listing: https://gist.github.com/72bbec5e2b96cd83ca9a4287e11a0fef

Rebuild report (click to expand)

32 total rebuild path(s)
8 package rebuild(s)
8 x86_64-linux rebuild(s)
8 i686-linux rebuild(s)
8 x86_64-darwin rebuild(s)
8 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
python27Packages.django_compat
python27Packages.django_hijack
python27Packages.django_hijack_admin
python27Packages.django_nose
python36Packages.django_compat
python36Packages.django_hijack
python36Packages.django_hijack_admin
python36Packages.django_nose

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/k8bkgp36zbin80yg17k2g670ciphhncb-python3.6-django-nose-1.4.6 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/k8bkgp36zbin80yg17k2g670ciphhncb-python3.6-django-nose-1.4.6
ls -la /nix/store/k8bkgp36zbin80yg17k2g670ciphhncb-python3.6-django-nose-1.4.6/bin

Success on aarch64-linux (full log)
Attempted: python36Packages.django_nose
Partial log (click to expand)
Installing collected packages: django-nose
Successfully installed django-nose-1.4.6
/build/django-nose-1.4.6
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/ha2jqsrlhw6csnj9a7q3lqz0x0vpykxl-python3.6-django-nose-1.4.6
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ha2jqsrlhw6csnj9a7q3lqz0x0vpykxl-python3.6-django-nose-1.4.6/lib
patching script interpreter paths in /nix/store/ha2jqsrlhw6csnj9a7q3lqz0x0vpykxl-python3.6-django-nose-1.4.6
checking for references to /build in /nix/store/ha2jqsrlhw6csnj9a7q3lqz0x0vpykxl-python3.6-django-nose-1.4.6...
/nix/store/ha2jqsrlhw6csnj9a7q3lqz0x0vpykxl-python3.6-django-nose-1.4.6

Success on x86_64-darwin (full log)
Attempted: python36Packages.django_nose
Partial log (click to expand)
Processing ./django_nose-1.4.6-py2.py3-none-any.whl
Requirement already satisfied: nose>=1.2.1 in /nix/store/zx08zp64vl52jnvwgy485wx6l4q842zh-python3.6-nose-1.3.7/lib/python3.6/site-packages (from django-nose==1.4.6) (1.3.7)
Installing collected packages: django-nose
Successfully installed django-nose-1.4.6
/private/tmp/nix-build-python3.6-django-nose-1.4.6.drv-0/django-nose-1.4.6
post-installation fixup
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/1adpwdbzy6744bph3q83kqmfj4d4h56v-python3.6-django-nose-1.4.6/lib
patching script interpreter paths in /nix/store/1adpwdbzy6744bph3q83kqmfj4d4h56v-python3.6-django-nose-1.4.6
/nix/store/1adpwdbzy6744bph3q83kqmfj4d4h56v-python3.6-django-nose-1.4.6

Success on x86_64-linux (full log)
Attempted: python36Packages.django_nose
Partial log (click to expand)
Installing collected packages: django-nose
Successfully installed django-nose-1.4.6
/build/django-nose-1.4.6
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/k8bkgp36zbin80yg17k2g670ciphhncb-python3.6-django-nose-1.4.6
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/k8bkgp36zbin80yg17k2g670ciphhncb-python3.6-django-nose-1.4.6/lib
patching script interpreter paths in /nix/store/k8bkgp36zbin80yg17k2g670ciphhncb-python3.6-django-nose-1.4.6
checking for references to /build in /nix/store/k8bkgp36zbin80yg17k2g670ciphhncb-python3.6-django-nose-1.4.6...
/nix/store/k8bkgp36zbin80yg17k2g670ciphhncb-python3.6-django-nose-1.4.6

@GrahamcOfBorg build python2Packages.django_hijack python3Packages.django_hijack

Success on aarch64-linux (full log)
Attempted: python2Packages.django_hijack, python3Packages.django_hijack
Partial log (click to expand)

----------------------------------------------------------------------
Ran 34 tests in 3.317s

OK (SKIP=2)
 OK
Destroying test database for alias 'default' (':memory:')...
/build/source
/nix/store/rkzifnf6jiy4ivpwi1030dhiyzk8r06a-python2.7-django-hijack-2.1.9
/nix/store/gn57s6bagrmql412vzbi7l0gpqkk9dr3-python3.6-django-hijack-2.1.9

Success on x86_64-linux (full log)
Attempted: python2Packages.django_hijack, python3Packages.django_hijack
Partial log (click to expand)
----------------------------------------------------------------------
Ran 34 tests in 3.957s

OK (SKIP=2)
 OK
Destroying test database for alias 'default' (':memory:')...
/build/source
cannot link '/nix/store/.links/17gqfhsdrz94mlq9zxg3daf2v4q0dpnccsr280nhn84zjr0xxlna' to '/nix/store/20awa6wmsdhnjcqla803ba7r4k0rhpga-python2.7-django-hijack-2.1.9/lib/python2.7/site-packages/hijack/tests/urls.pyc': No space left on device
/nix/store/20awa6wmsdhnjcqla803ba7r4k0rhpga-python2.7-django-hijack-2.1.9
/nix/store/9ix5fbd3lq7xqmm66cbr3cv9c1zam1dz-python3.6-django-hijack-2.1.9


set mount pod default resource

support https://github.com/juicedata/juicefs-csi-driver/issues/383

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@e52983b). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #387   +/-   ##
=========================================
  Coverage          ?   47.07%
=========================================
  Files             ?       26
  Lines             ?     2993
  Branches          ?        0
=========================================
  Hits              ?     1409
  Misses            ?     1486
  Partials          ?       98

Help us with your feedback. Take ten seconds to tell us how you rate us.


Make the Login and Logout Prompt More Nicer

Currently when the user Logs in there's nothing to say he/she logged in. When the user logs out he is redirected to a different page. We should make these login and logout flows more user friendly. One idea is to show the user a toast when he/she logs in or out. Just as we do in https://pythonsinhala.com/.

Can you assign this to me?

@DeepanshuGOYAL05 : Thanks for taking the issue. Feel free to submit a PR.


Outbound block bittorrent does not work. Torrents are still able to download.

你正在使用哪个版本的 V2Ray？V2Ray 4.38.3

你的使用场景是什么？

Using Qbittorent to download torrents while connected to v2ray. Would expect the torrent to not be downloadable, yet it downloads no problem.
你看到的异常现象是什么？See previous question's answer

你期待看到的正常表现是怎样的？I expect that I should not be able to use torrents while using v2ray. Sniffing has been enabled in inbounds and outbounds does have a bittorent protocol block as per instructions in https://guide.v2fly.org/en_US/routing/bittorrent.html#server-side-configuration
请附上你的配置

服务端配置：
// 在这里附上服务器端配置文件

{
"inbounds": [{
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
},
"port": 8388,
"listen": "<IP_ADDRESS>",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "e371bdbd-f3b9-4f8c-acf8-4639cb4c0df1",
"level": 1,
"alterId": 0,
"security": "auto"
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/websocket/"
}
}
}],
"outbounds": [{
"protocol": "freedom",
"settings": {}
},{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}],
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"ip": ["geoip:private"],
"outboundTag": "block",
"protocol": ["bittorrent"]
}
]
}
}
客户端配置：
// 在这里附上客户端配置

请附上出错时软件输出的错误日志

服务器端错误日志：
// 在这里附上服务器端日志

No such file exists
客户端错误日志：
// 在这里附上客户端日志

请附上访问日志

File is empty
// 在这里附上服务器端日志

其它相关的配置文件（如 Nginx）和相关日志
Websocket runs through a reverse proxy on Nginx, but no issues there, connection through v2ray is normal and as expected.
如果 V2Ray 无法启动，请附上 --test 命令的输出
如果 V2Ray 服务运行异常，请附上 journal 日志

If v2ray is unable to block bittorrent, and I have tried various other methods such as host file blocking of trackers, IPTables rules with L7 filtering, and none of this works. How does one effectively block torrents on the VPS?

try to modify
{
    "type": "field",
    // "ip": ["geoip:private"],     <-- remark this line
    "outboundTag": "block",
    "protocol": ["bittorrent"]
}

@kingwilliam Thanks. I tried this but torrents are still able to get through. I decided to go with a decent script which I found here on GitHub that uses a combination of L7 IPTables filtering and hosts file blocking. This has stopped torrents on the servers that I don't wan't clients to use BT on.

@Heclalava Would you please share the script? Thank you in advance!

You can check it in my repository.
On Fri, 26 Nov 2021 at 05:49, Oxygen @.***> wrote:

@Heclalava https://github.com/Heclalava Would you please share the
script? Thank you in advance!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/v2fly/v2ray-core/issues/1042#issuecomment-979712493,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB7UO3YCWJI2ZTG23PIXVNDUN4NWNANCNFSM45YDBNWQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Unexpected ) in sample script

The sample script provided at page
https://docs.microsoft.com/en-us/azure/virtual-machines/scripts/virtual-machines-windows-powershell-sample-encrypt-vm
has unexpected ")" on line 9.
Original line 9:
$password = $([guid]::NewGuid()).Guid)
")" at the end shouldn't be there.
Corrected line 9:
$password = $([guid]::NewGuid()).Guid
Thanks

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

ID: 77fa3501-cc6a-1e0e-2c4a-6c182d1f8184
Version Independent ID: d87ab4af-dd7f-5c01-46cc-4928e481a3c4
Content: Azure PowerShell Script Sample - Encrypt a Windows VM
Content Source: articles/virtual-machines/scripts/virtual-machines-windows-powershell-sample-encrypt-vm.md
Service: virtual-machines-windows
GitHub Login: @cynthn
Microsoft Alias: cynthn

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

I have created a PR with the update, changes will be live in few days.
https://github.com/Azure/azure-docs-powershell-samples/pull/250
Thanks for bringing this to our attention. We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


RfbEncoder: QImageWriter doesn't release unused data from its buffer.

The size of m_encodedData increases when the encoded jpeg needs more space, but doesn't shrink when the following image needs less memory space.

The size of m_encodedData increases when the encoded jpeg needs more space, but doesn't shrink when the following image needs less memory space.

Clearing the buffer before every frame means running malloc/free for each frame ( might be 60 fps ) instead of reusing the already allocated memory. Of course you might have frames, that can be compressed more, but sooner or later you will also run into complex pages again. So clearing the buffer is only a temporary adjustment that does not reduce the memory footprint of the application in a general way.
Considering that this buffer contains the compressed version of the grabbed image we know that it will always be significantly smaller than the image itself. So I'm not 100% sure if releasing memory temporarily is worth the extra free/malloc calls. Memory vs. performance - like always.

I changed clear()' with resize(0)`. This way the capacity of the bytearray isn't changed.


Group Based Licensing Enhancement

My organization has multiple Enterprise Agreements so we have multiple pools of licensing for each type of Sku and users from one department are not permitted to consume licensing from another department.  It would be good to be able to assign a particular subscription ObjectID to a licensing group to impose a limit based on that particular pool license count.  Get-MsolSubscription is the cmdlet used to see all the pools available.

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

ID: d215ddd2-d71f-8b91-c5f7-314c6287cafc
Version Independent ID: ef317dea-e56a-e6db-3344-67aa028a0ca7
Content: What is group-based licensing - Azure Active Directory
Content Source: articles/active-directory/fundamentals/active-directory-licensing-whatis-azure-portal.md
Service: active-directory
GitHub Login: @eross-msft
Microsoft Alias: lizross

@jkovach82 Thank you for your feedback . Hope you are doing great. We will investigate and update the thread further.

@jkovach82 . Thank you for your feature request. As per your request it seems you would like a way to assign License pool limits based on Groups on particular type of SKUs . Generally department tagging can be used in your case with Group based licensing . But limiting a particular SKU to certain numbers of Licenses for a department is something which may not be possible at this point . There is a Azure Feedback Request similar to your requirement on the [feedback Site here] (https://feedback.azure.com/forums/169401-azure-active-directory/suggestions/35754364-licensing-assign-qty-of-sku-against-sku-group). I would request you to vote for the feature in order to get it prioritized. Product Engineering keeps a track of these requests as per the popularity and impact . Hence I would request you to vote for the same.


Relax scikit-learn constraint to support all of major version 1

I noticed you constrain scikit-learn to sub-major version. Is there a pressing reason for this? If not, would be good to relax as any environment with pathogen-embed (e.g. nextstrain's conda-base) is otherwise constrained by pathogen-embed.
scikit-learn latest version is 1.5.1, whereas you pin <1.5

@corneliusroemer I haven't tested pathogen-embed with sklearn 1.5.* yet, since it was just released in May and I've been focused on revisions for the associated paper. The main reason I pinned <1.5 is that the scikit-learn release policy allows breaking changes on "minor" versions, according to the v1.0.0 release highlights:

This release does not include any breaking changes apart from the usual two-release deprecation cycle. For the future, we do our best to keep this pattern.

For example, a t-SNE keyword has a planned deprecation in version 1.7.
Given that release policy, I would rather opt into new versions of scikit-learn than allow them by default.
When I added pathogen-embed to the Nextstrain environments, that was the first time scikit-learn had been added as a Nextstrain dependency. If we find the pathogen-embed pinning restricts other future work, we could revisit my thinking above. Do you have a specific need for v1.5.* now?


Minimal Go version should be >= 1.16?

Trying to install otel-cli on Debian Stable, which packages Go 1.15, I discovered that we use os.WriteFile, which was added in Go 1.16.
It's not altogether clear to me whether this is a bug in go.mod, which should list a higher minimum version of Go, or a bug in server_json.go, which shouldn't be using a function that doesn't exist in Go 1.14?

seems best to not use WriteFIle for now. https://github.com/equinix-labs/otel-cli/pull/115 will merge after reviews

The update to opentelemetry-go 1.11.2 in #138 forced go 1.18 anyways, so that's the minimum version now. Thanks for the report!


Unable to create thirdweb template using npx thirdweb create app

I'm new to thirdweb. And I'm trying to learn more about thirdweb by creating some projects. I was following this tutorial by thirdweb's official YT channel. At first, when I created a project using npx thirdweb create app , it worked for me. But again when I tried creating another project it gave me this issue.
➜  projects npx thirdweb create app
Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y)
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/thirdweb
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/react-native
npm ERR!     peerOptional<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/thirdweb
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!     peer react-native@"*" from<EMAIL_ADDRESS>npm ERR!     node_modules/@coinbase/wallet-mobile-sdk
npm ERR!       peerOptional @coinbase/wallet-mobile-sdk@"^1" from<EMAIL_ADDRESS>npm ERR!       node_modules/thirdweb
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!     2 more (@react-native-async-storage/async-storage, react-native-aes-gcm-crypto)
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /home/ark845612/.npm/_logs/2024-06-13T12_01_36_660Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /home/ark845612/.npm/_logs/2024-06-13T12_01_36_660Z-debug-0.log
➜  projects npx create-thirdweb-app
npm ERR! could not determine executable to run

npm ERR! A complete log of this run can be found in: /home/ark845612/.npm/_logs/2024-06-13T12_02_51_943Z-debug-0.log

I've also tried resolving this issue by putting legacy deps flag
➜  projects npx thirdweb create app --legacy-peer-deps

but it did not worked for me.

@Anonymous961 can you try this?
npm config -g set legacy-peer-deps true
then run npx thirdweb create again

it's working.


Albedo models

PULL REQUEST
Purpose and Content
Add in an albedo model which allows for albedo of soil to be a function of space. Add in an exported function which computes the surface albedo of the land.
Benefits and Risks
Allows for more realistic simulations, allows for the coupler to compute the albedo.

bors r+


fixing overlay in 4k

Hello,
got some issues with overlay display on my 4k screen.
Could you guide me on how to modify the addon so i can update it myself?
Will make you a PR once it's done :)

@Cosmicjedi send me an email at<EMAIL_ADDRESS>and i will send you my updated file.
Don't have the time to do a PR at the moment

Email sent
On Sun, Dec 9, 2018 at 1:04 PM Thibaut Noah<EMAIL_ADDRESS>wrote:

@Cosmicjedi https://github.com/Cosmicjedi send me an email at
<EMAIL_ADDRESS>and i will send you my updated file.
Don't have the time to do a PR at the moment
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Biggoron144/PoE-Leveling-Overlay/issues/4#issuecomment-445558389,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVA1xo92FVuDWlcMCozGcUxaAlZpsJWpks5u3VDGgaJpZM4ZFjU7
.

@tirrorex If you would like to do a pull request I will merge it in


Failed to start Spark 3.1 with error msg 'Cannot modify the value of a Spark config'

Describe the bug
Caused by: org.apache.spark.sql.AnalysisException: Cannot modify the value of a Spark config: spark.yarn.queue
	at org.apache.spark.sql.RuntimeConfig.requireNonStaticConf(RuntimeConfig.scala:156)
	at org.apache.spark.sql.RuntimeConfig.set(RuntimeConfig.scala:40)
	at org.apache.kyuubi.engine.spark.session.SparkSQLSessionManager.$anonfun$openSession$2(SparkSQLSessionManager.scala:68)
	at org.apache.kyuubi.engine.spark.session.SparkSQLSessionManager.$anonfun$openSession$2$adapted(SparkSQLSessionManager.scala:56)
	at scala.collection.immutable.Map$Map4.foreach(Map.scala:236)
	at org.apache.kyuubi.engine.spark.session.SparkSQLSessionManager.openSession(SparkSQLSessionManager.scala:56)
	... 12 more

Kyuubi should not pass the unused config to Spark.
For now the exception could be skipped by spark.sql.legacy.setCommandRejectsSparkCoreConfs=false.
To Reproduce

Use beeline to create connection with Kyuubi.
Get such exception

Expected behavior
Screenshots
Additional context

Add the trouble shooting firstly. https://github.com/yaooqinn/kyuubi/pull/409
Then we need to skip the unused config before pass to SparkConf.


set AuthenticationType of JwtBearer TokenValidationParameters

This PR fixes HttpContext.User.Identity.AuthenticationType not being set correctly when authenticating with JwtBearer.
Given the following endpoint and appsettings:
app.MapGet("api/me", (ClaimsPrincipal user) =>
{
    return new
    {
        user?.Identity?.AuthenticationType
    };
})

"Authentication": {
  "JwtBearer": {
      "SchemeName": "my_JwtBearer_scheme",
      ...
  },
  "ApiKey": {
      "SchemeName": "my_ApiKey_scheme",
      ...
  },
  "Basic": {
      "SchemeName": "my_Basic_scheme",
      ...
  }
}

Authenticating with Basic will return {   "authenticationType": "my_Basic_scheme" }
and authenticating with ApiKey will return {   "authenticationType": "my_ApiKey_scheme" }.
However authenticating with JwtBearer will currently return {   "authenticationType": "AuthenticationTypes.Federation" } instead the expected {   "authenticationType": "my_JwtBearer_scheme" }.

Thank you for your contribution @DanielEgbers. The fix has been merged and published on NuGet (v2.0.21).


Support adding the same app with different names

Short description
As an app developer, I want to deploy an app multiple times to a cluster using a different name for testing purposes
Acceptance criteria

[ ] add app foo with repo/path/branch set to a/b/c
[ ] add app foo2 with repo/path/branch set to a/b/c
[ ] if I remove foo2, all GitOps machinery is still present in the cluster

Notes
Currently, the code hashes applications and leaves the name out of the hash.  This is intentional due to how the GitOps automation was stored on the cluster. The new directory structure changes how this works and we can support the same app being deployed into a cluster with a new name.

@palemtnrider could you elaborate on the testing purposes which require you to deploy the exact same application?


[5.3] Mail broken after upgrade

Laravel Version: 5.3
PHP Version: 7.0.10

Description:
After upgrading to laravel 5.3 all outgoing mail stopped working. I couldn't see anything in the upgrade docs about this type of thing, so I'm guessing something else is going on.
I initially wanted to try out notifications, which is why I performed the upgrade in the first place.
After the upgrade I tried doing a simple test email notification with the default auto generated notification file.
My route code is as follows:
Route::get('mytest', function () {
        $user = \App\Models\User::all()->first();
        $website = \App\Models\Website::all()->first();
        $user->notify(new \App\Notifications\WebsitePublished($website));
        dd('should have worked, maybe...');
    });

I have also tried sending via Mail::raw, Mail::to and also I tried changing the mail configuration to use a different driver (SMTP and Mailgun). Nothing works but if I change drivers the error message changes but only slightly.
After playing around with it I realised that while the error stack looks different for both drivers, the underlying cause is from this bit of code(in the vendor file), which varies only slightly depending on the driver used:
1:        call_user_func_array(
2:            array($this, 'Swift_Mime_SimpleMessage::__construct'),
3:            Swift_DependencyContainer::getInstance()
4:                ->createDependenciesFor('mime.message')
5:            );

If I dump and die the 3rd and 4th line of this snippet inside the vendor file, I get an empty array.
This is obviously where the issue is coming from in both instances but I'm not quite familiar with the whole inner workings to figure out why it is returning empty.
Has anyone experienced this issue before or does anyone know why this may be happening?
FYI the actual error stack when trying to email via Mailgun is:
FatalThrowableError in SimpleMessage.php line 27:
Type error: Argument 1 passed to Swift_Mime_SimpleMessage::__construct() must be an instance of Swift_Mime_HeaderSet, none given, called in /home/centos/local_01/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php on line 50
in SimpleMessage.php line 27
at Swift_Mime_SimpleMessage->__construct() in Message.php line 50
at Swift_Message->__construct() in Mailer.php line 409
at Mailer->createMessage() in Mailer.php line 181
at Mailer->send('emails.reminder', array('connection' => null, 'queue' => null, 'delay' => null), object(Closure)) in Mailable.php line 116
at Mailable->send(object(Mailer)) in Mailer.php line 173
at Mailer->send(object(TestMail)) in MailableMailer.php line 99
at MailableMailer->send(object(TestMail)) in web.php line 73
at RouteServiceProvider->{closure}() in Route.php line 176
at Route->runCallable() in Route.php line 147
at Route->run(object(Request)) in Router.php line 642
at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Authenticate.php line 88
at Authenticate->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 64
at VerifyCsrfToken->handle(object(Request), object(Closure)) in VerifyCsrfToken.php line 33
at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Router.php line 644
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 618
at Router->dispatchToRoute(object(Request)) in Router.php line 596
at Router->dispatch(object(Request)) in Kernel.php line 267
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Debugbar.php line 49
at Debugbar->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartupCheck.php line 100
at StartupCheck->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in DuplicateSubmissionCheck.php line 27
at DuplicateSubmissionCheck->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 64
at VerifyCsrfToken->handle(object(Request), object(Closure)) in VerifyCsrfToken.php line 33
at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Kernel.php line 149
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 116
at Kernel->handle(object(Request)) in index.php line 52

Been sending emails using 5.3 for a while now on several drivers, I don't think the issue is related to laravel, maybe some package you're using is overriding the behaviour of Swift mailer?
Can you regenerate the issue on a fresh 5.3 installation? if not then it's something related to that specific App.

Resolved after hours of debugging :cry:
In my composer.json I had autoload: { "classmap": [ 'vendor'] }
Don't know why the issue didn't occur pre-laravel 5.3 but removing it fixed the problem


About how to use the dataset!

I found that each scene was separated into several rosbags, and I want to know  whether I have to combines these rosbags into a single one rosbag or take another way!Thank you very much!!!

noo, just do
rosbag play *.bag --clock
to run everything
you can also launch this from launch file


Test Time 4

Test Time 4

@amihaiemil this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2020-12-23T10:21:20.713345.
Estimation here is 60 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.

@MihaiDejeu please keep in mind that manual assignment of tickets is a bad practice and it is discouraged. Next time, please let me elect the assignee.

@amihaiemil thank you for resolving this ticket. I've just added it to your active invoice. You can always check all your invoices and more on the Contributor Dashboard.


[WIP]: Test of DIND ipv6 - DO NOT MERGE

@sdake: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

buildmodern_cni
451ee53a2d6e2d4c400eee0ad5d1fc7d60d1e56b
link
/test buildmodern

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

test failed, making dind-ipv6 non-voting here: https://github.com/istio/test-infra/pull/1838.


Delete answer (WIP)

What is the context of this PR?
This PR adds the ability to delete answers from the canvas.
How to review
All tests should pass.
Should be possible to remove answers by clicking on the X button next to the answer.

Closing this PR because Travis linking to the PR had become messed up, have created a new PR, with same changes, see #185 .


React.Children handlers shouldn't expect fragments

@calebmer looks like the added typings for Children doesn't handle some common cases well. Say I want to do something only with element children (filtering out strings, nulls etc.):
import * as React from 'react';

function handleChildren(children: React.Node) {
  React.Children.forEach(children, child => {
    if (child && typeof child === 'object') {
  	  (child: React.Element<*>);
    }
  });
}

Unfortunately this leads to an error because the infered type of child is React.Node, which includes Iterable<React.Node> (fragment). In fact, it never happens, because React.Children flattens all the nested arrays
Related: https://github.com/facebook/flow/pull/4340

Fixed in current version, tested in 0.132.0


Add mattnield.co.uk to the list running projects

FE rebuild of my personal blog in GatsbyJS, using the same KC project as my previous site which was created in .NET Core.
Motivation
Add another example to the project for the community to consume.
Checklist

[x] Code follows coding conventions held in this repo
[ ] Automated tests have been added
[ ] Tests are passing
[ ] Docs have been updated (if applicable)
[ ] Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

How to test
Preview the readme.md file.

Thanks for the pull request @mattnield!


Accept the mac values for these two unit tests

Ok. I've modified the two offending unit tests to accept both values as valid. Here is the related comment.

Thanks again!


Circle design update

NEW PR - Please ignore and delete my PR #31
Auto mergeable Design Update.
Some values have to be fixed so we display the percentage values for the circles which were removed in ay-p's latest commit. These percentages are needed to display the circle progress indicators.
Next step would be to add tooltips, i will work on this.
Also varius 'Success' indicators could be included to switch displays to give more accurate information about current status:
Currently we have:
.BlockVersionSuccess
.StakeVersionSuccess
We should add:
.LockedVersionSuccess
^^ which i had realized in the template by: {{if and .StakeVersionSuccess .BlockVersionSuccess}}
closes #29
closes #31
closes #32
closes #33
I have repacked the whole template into a npm/bower/grunt build chain and added build artefacts directorys to .gitignore
the grunt builds directly into the public/ directory and creates all needed subdirectorys and assets there. I suggest to seperate the views directory into the document root to have views seperated from the assets (like the dcrstakepool setup).
design_sketch.html should be renamed into index.html so we can just go on with the go templating system seperating this long html into sane chunks (header.html, footer.html, chartdetailspow.html, chartdetailspos.html etc. )
Whole site is build on jquery, bootstrap and chart.js
A new tplhardforkdemo/ directory was created with all needed files to build the public assets like js, fonts, images and css.
The circle indicators are driven by a dynamic.less document and javascript.
Also changes on the views/design_sketch.html had to be done. Based on the bootstrap recode and the positioning of various TVs.
You should be able to just merge your javascript changes from the bottom of the page code into my version and it should work. i have not touched the 'voting/quorum' area so you just have to set the canvas to activate your new bar.charts
My next plan is to integrate tooltips functionality so each value can be explained in depth if required.
Labels/state dependent informations for the circles are open for discussions. Multiple possibilities if we build state-depending versions of this circle display (e.g. hide the 'voting' circle if new version is not locked in, display other information instead explain the version lock and the ratify windows etc.)
Hope this helps. I like this approach very much and i am happy that the circle indicator opens various possibilities to display something that could even come close to this, if needed:

OK
Great works once again!


[feat] Is it possible to add a window rounded corner configuration option to the tuari:windows configuration of the tuari.conf.json file?

Describe the problem
Is it possible to add a window rounded corner configuration option to the tuari:windows configuration of the tuari.conf.json file?
Describe the solution you'd like
Is it possible to add a window rounded corner configuration option to the tuari:windows configuration of the tuari.conf.json file?
Alternatives considered
Is it possible to add a window rounded corner configuration option to the tuari:windows configuration of the tuari.conf.json file?
Additional context
No response

Closing this issue as you clearly didn't take the time to even consider making a proper issue and just copy/pasted. Please make a proper issue and include which OS are you targeting with this option.


Current plugin does not support Azure AD authentication

The current plugin has some incompatibilities with Azure AD authentication.

The audience value cannot be set to the format in the current plugin for AAD (Node1,Node2).  The reason is the audience value for the token from AAD using an application id uri scheme. (e.g. api://qrm) to uniquely identify the application (and token).

The scope format used the current plugin has 2 incompatibilities.
a) The application uri scheme will preface each custom scope (e.g. api://qrm/)
b) The token format for the scopes is space delimited, not a string array.

I have a fork, working on the changes and will PR them.

@caleteeter
Thanks for the suggestion. Few feedbacks as below:

One of the token verification steps is to verify aud in the token with the node identity. This enforces the access control of an application to authorized nodes. If aud represents application id, can you elaborate how it can be used to verify the token?

2.a. Can you elaborate this a bit more?
2.b. Indeed, scope value can be an array. Documentation needs to be updated to reflect this.
https://github.com/ConsenSys/quorum-security-plugin-enterprise/blob/e52db3c2f7a19ecce8eff6ba039c20e836212edc/internal/oauth2/jwt.go#L90-L10

@caleteeter
Thanks for the suggestion. Few feedbacks as below:

One of the token verification steps is to verify aud in the token with the node identity. This enforces the access control of an application to authorized nodes. If aud represents application id, can you elaborate how it can be used to verify the token?

2.a. Can you elaborate this a bit more?
2.b. Indeed, scope value can be an array. Documentation needs to be updated to reflect this.
https://github.com/ConsenSys/quorum-security-plugin-enterprise/blob/e52db3c2f7a19ecce8eff6ba039c20e836212edc/internal/oauth2/jwt.go#L90-L10

On the first item here about validating the aud with the node identity, it makes sense what is there today.  In the case of AAD, because its an full identity service, the audience value is the "application" that represents the actual application that is deployed. (details).  With AAD, the client should validate the application id based on application configuration with the token received.
On 2a, to elaborate.  The token generated by AAD will preface each scope with the application id uri (the id that represents this unique application registration (format: api://).
On 2b, good deal, I will test this.

On the first item here about validating the aud with the node identity, it makes sense what is there today.  In the case of AAD, because its an full identity service, the audience value is the "application" that represents the actual application that is deployed. (details).  With AAD, the client should validate the application id based on application configuration with the token received.
On 2a, to elaborate.  The token generated by AAD will preface each scope with the application id uri (the id that represents this unique application registration (format: api://).
On 2b, good deal, I will test this.

I see, so the responsibility is with the client to verify the aud value and not with the resource server. Maybe a flag in the config to opt out aud check would be enough.

2b) Got it. The current scope is also of URI format (e.g.: rpc://eth_sendTransaction). Maybe we need to have different parsers for different scope format

I see, so the responsibility is with the client to verify the aud value and not with the resource server. Maybe a flag in the config to opt out aud check would be enough.

2b) Got it. The current scope is also of URI format (e.g.: rpc://eth_sendTransaction). Maybe we need to have different parsers for different scope format

@trung unfortunately opting out of the aud check introduces a security vulnerability, as otherwise valid tokens that were issued for some other audience can be used to gain access.

aud can be application ID or resource URI. Per documentation, Azure AD v1.0 supports resource URI and v2.0 supports both.
The concern is with implicit grant flow. @caleteeter, with Azure AD, wondering how a resource server authenticates clients without checking aud? It doesn't seem right to me if a resource server needs to know about application IDs

@trung I'm not @caleteeter, but it seems logical that in cases when the resource server is a policy enforcement point (as quorum is in this case), it would need to know its own application id. Otherwise how does it know that the inputs for the policies that its enforcing are valid in the context of its own application sope?

Sorry for the lag here, got a few plates spinning. I did discuss this case with someone on the AAD team.  Here is what I was thinking.
The aud value will be a URI: api://.  I was thinking that this will be present in the access token presented to the plugin and the plugin is preconfigured with the check for the correct audience.  In this case Quorum is the client validating this audience.  This looks similar to the hydra setup, where the access token requested by the user, include the audience.  In our case this in the URI.
Would that not suffice?


BUILDSWIGPYTHON or BUILDSWIGNODE fails

Compiling with UP2 with ubuntu 16.04 using freshly pulled MRAA library (Feb 6th)
output.txt
I've got swig 3.08 installed:
olli@LAB-UP2:~/Downloads/mraa-master/build$ apt search swig | grep swig | grep installed WARNING: apt does not have a stable CLI interface. Use with caution in scripts. swig3.0/xenial,now 3.0.8-0ubuntu3 amd64 [installed]
Compile works fine if both of those options are OFF in cmake-gui.

That looks weird - can you share your full cmake conf line and what happens on cmake run as well as the full output of make -j1?
Your swig version should be absolutely fine for all bindings unless you have node v6/v7 but even then this gVersion failure is weird, I've never seen anything like it.

I was using cmake-gui actually. Well, after seeing some errors in cmake output, I determined I was missing two packages.
sudo apt install nodejs-legacy python3-dev
took care of that. The previous is a known problem with using /usr/bin/nodejs instead of /usr/bin/node
Unfortunately no go..
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DBUILDDOC=ON -DBUILD_SHARED_LIBS=OFF .. &> cmake.txt
cmake.txt
makelog.txt

Ah ok the issue is coming from build shared libs being disabled - turn that on and the bindings will work - any reason for wanting fully static bindings?

I can build it static with the options in title off.. I have a problem with
first SPI transaction  taking excessive time, I was hoping a static library
would help. This happens after the library has been initialized by setup
routines. The program goes into loop of "process about 15ms, update,
process about 15ms, update, ..". Slowdown happens after every process
routine. Data is 96 bytes stored in memory updated to two different
devices, each getting 48 bytes.
Excessive in this case being 20-40ms while the immediately following
subsequent call to the same library takes about 2ms for several
transactions. It may be a flat out bug which I'm trying to debug at the
moment.
On Tue, 6 Feb 2018, 12:40 Brendan Le Foll<EMAIL_ADDRESS>wrote:

Ah ok the issue is coming from build shared libs being disabled - turn
that on and the bindings will work - any reason for wanting fully static
bindings?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/intel-iot-devkit/mraa/issues/864#issuecomment-363410192,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAqUkIV2XlqenHHbB8rnxIttB9SR18TTks5tSEg7gaJpZM4R63fo
.

Ok - fair enough. So if you really want static binaries, you'd have to build a static python for example. You can build the python module statically but that's considered non portable see: https://cmake.org/pipermail/cmake/2007-May/014347.html. You can however force it to build by doing:
cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC ..

make _python3-mraa

brendan@schultz ~/git/mraa/build/src/python/python3 (git)-[master] % ldd _mraa.so
        linux-vdso.so.1 (0x00007ffdb7de5000)
        libpython3.6m.so.1.0 => /usr/lib/libpython3.6m.so.1.0 (0x00007f114ad17000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f114aaf9000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f114a8f1000)
        libjson-c.so.3 => /usr/lib/libjson-c.so.3 (0x00007f114a6e2000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f114a35b000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f114a00f000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f1149df8000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f1149a41000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f114983d000)
        libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f114963a000)
        /usr/lib64/ld-linux-x86-64.so.2 (0x00007f114b4e3000)

I have no need for python so that's not a problem! Maybe an idea to amend
the build docs about building static.
On Tue, 6 Feb 2018, 12:59 Brendan Le Foll<EMAIL_ADDRESS>wrote:

Ok - fair enough. So if you really want static binaries, you'd have to
build a static python for example. You can build the python module
statically but that's considered non portable see:
https://cmake.org/pipermail/cmake/2007-May/014347.html. You can however
force it to build by doing:
cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC ..
make _python3-mraa
brendan@schultz ~/git/mraa/build/src/python/python3 (git)-[master] % ldd _mraa.so
linux-vdso.so.1 (0x00007ffdb7de5000)
libpython3.6m.so.1.0 => /usr/lib/libpython3.6m.so.1.0 (0x00007f114ad17000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f114aaf9000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007f114a8f1000)
libjson-c.so.3 => /usr/lib/libjson-c.so.3 (0x00007f114a6e2000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f114a35b000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f114a00f000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f1149df8000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f1149a41000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f114983d000)
libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f114963a000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00007f114b4e3000)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/intel-iot-devkit/mraa/issues/864#issuecomment-363414585,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAqUkNM6AgKgItJFOI13Epv99XOaWhljks5tSEy9gaJpZM4R63fo
.

Well, still no go. When I try to use the compiled libmraa.a I get a bunch of JSON error messages from the linker:
foobar.txt

Including pthread.h and json_object.h to the program source does nothing. In fact gpio.h already has pthread.h which the compiler then complains about.

You need to link your binary against json-c and pthread since you're using a static libmraa... Add -ljson-c -lpthread.

Thank you, I wouldn't have thought of that. Now it compiles no problem and .. there's absolutely no difference on that first SPI transaction lag. I have to dig deeper.
To clarify, the state machine implements a simple protocol with the target microcontroller acting as a slave with a separate \SPI_READY signal indicating it's, well, ready.
After a bit of timing tests, I confirmed it's indeed the first byte going out after a short delay that's causing excessive delay. Any ideas about that? Perhaps some other forum?
This state machine snippet takes 20-30ms to execute, if I run it without the debug flags it doesn't do it every other time, with the debug flags and timestamping in place it's every other time like a clockwork. I know because I measure the total transaction time separately..
        if(arguments.debug){         	clock_gettime(CLOCK_MONOTONIC, &delay1);         }         /*Poll if idle*/         if(SPI_state.SPI_idle){             *txbyte=ENQ;             *rxbyte=POLL_SPI(SPI_packet.SPI_txbyte);             SPI_state.SPI_idle=0;             *delay=40;             if(arguments.debug){             	char chars;             	clock_gettime(CLOCK_MONOTONIC, &delay2);             	elapsed=(Time_To_Micros(&delay2)-Time_To_Micros(&delay1));                 chars=snprintf(loopstring, stringsize, "p%u,",elapsed);                 if (chars>stringsize) break;                 stringsize=stringsize-chars;                 loopstring=loopstring+chars;             }             continue;         }
Pushing out the byte, "side" is determined when parsing library arguments with an associated call to change parameters earlier:
UCHAR Poll_SPI_Mraa(UCHAR foo){     static UCHAR byte;     if(arguments.side){     	byte=mraa_spi_write(SPI_state.SPI1,foo);     }     else {     	byte=mraa_spi_write(SPI_state.SPI0,foo);     }     return byte; }

I also try to prevent swapping out and boost timings like so:
void LD_Set_Priority(){
    struct sched_param sp;
    struct rlimit rl;
    memset(&sp, 0, sizeof(sp));
    memset(&rl, 0, sizeof(rl));
    sp.sched_priority = sched_get_priority_max(SCHED_FIFO);
    sched_setscheduler(0, SCHED_FIFO, &sp);
    mlockall(MCL_CURRENT | MCL_FUTURE);
    getrlimit(RLIMIT_NICE, &rl);
    rl.rlim_cur=30;
    rl.rlim_max=30;
    setrlimit(RLIMIT_NICE, &rl);
}

You also need to include the json-c and pthread libraries to make it work. For what it's worth, since there's no benefit to compiling mraa as a static library performance-vice, I've gone back to "normal" way of doing it as a shared library.
By the way, the -fPIC flag not default for mraa? From what I gather the main difference is that PIC is somewhat slower to execute but not on the level where it would matter in this instance while "non-PIC" takes longer time to load but is faster after that.

Well that's normal - building a static libmraa doesn't include json-c & pthread statically. I wouldn't expect it to increase performance, -fPIC is not the default for static binaries since it's not needed if you do static builds - only reason we need it with bindings is because static + dynamic mixture. It's enabled in dynamic builds.


Memory leaks in library

Guys, are you aware that your library produces memory leaks and crach ASP.NET application on hight usage.  It generates a huge amount of strings in our case which then moved to Large Objects Head, the LOH becomes extremely large and eventually, we get the app tool crash.

Generating a lot of string instances and memory leaks are totally different things. Have you seen evidence of memory leaks for resources that should have been disposed of?


Reviwe all Models attributes

Review all DB models and remove fields not used and add required field if exists

@anasos20 will assist in this issue


not working in nokia 3310 !!

Works for me. :1st_place_medal:

Amazing!! Can you please share how you did this.

I did nothing, I just followed the documentation (which told explicitly  to do nothing).
It's been stable like this for weeks now, I didn't try to upgrade though.
Have you tried turning it off and off again ?


spicedb-zed: 0.15.2 -> 0.16.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/authzed/zed/releases.
meta.description for spicedb-zed is: Command line for managing SpiceDB
meta.homepage for spicedb-zed is: https://authzed.com/
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
zed result is not automatically checked because some binaries stick around

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
spicedb-zed

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/kprj1fpzfv9xbcnzhbcvw8bqy6dhkm1y-zed-0.16.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A spicedb-zed https://github.com/r-ryantm/nixpkgs/archive/4a58eb2d0479e231ccfb2d77c6f0b7c3364815ad.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/4a58eb2d0479e231ccfb2d77c6f0b7c3364815ad#spicedb-zed

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

spicedb-zed

Maintainer pings
cc @thoughtpolice for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/authzed/zed/releases.
meta.description for spicedb-zed is: Command line for managing SpiceDB
meta.homepage for spicedb-zed is: https://authzed.com/
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
zed result is not automatically checked because some binaries stick around

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
spicedb-zed

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vdybdnw3a2069da4pvhsjjlsy5x9cj6j-zed-0.16.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A spicedb-zed https://github.com/r-ryantm/nixpkgs/archive/7e04ff25cb00083f0b649d52c94e1b69bd4b0f09.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/7e04ff25cb00083f0b649d52c94e1b69bd4b0f09#spicedb-zed

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

spicedb-zed

Maintainer pings
cc @thoughtpolice for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/authzed/zed/releases.
meta.description for spicedb-zed is: Command line for managing SpiceDB
meta.homepage for spicedb-zed is: https://authzed.com/
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
zed result is not automatically checked because some binaries stick around

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
spicedb-zed

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nhr6gfncli5w25cgf2z9lfnvgcsmchyf-zed-0.16.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A spicedb-zed https://github.com/r-ryantm/nixpkgs/archive/3740662d2eefdeebc0dcca0f0da9a78496e09f1e.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/3740662d2eefdeebc0dcca0f0da9a78496e09f1e#spicedb-zed

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

spicedb-zed

Maintainer pings
cc @thoughtpolice for testing.


SQLGrammarException reproducer

Reproducer using PostgreSQL 9.4.
How to run it:
Start PostgreSQL, for example using Docker:
docker run --name postgres -e POSTGRES_PASSWORD=jbpm -e POSTGRES_USER=jbpm -e POSTGRES_DB=jbpm -p 5432:5432 -d postgres:9.4
Start tests using EAP6.4:
mvn clean install -Dcontainer.profile=eap64 -Deap64.download.url=....
There will be 6 test failures with same stacktrace.

@sutaakar have you see this: https://github.com/droolsjbpm/jbpm/pull/765 if you don't mind trying it out to see if that fixes the issue would be great?

@mswiderski Will try it

Looks good, if I apply that https://github.com/droolsjbpm/jbpm/pull/765 then all the tests pass

@sutaakar do you think we should still merge this one of #765 is enough?

@mswiderski No, this is just a reproducer - configuration for PostgreSQL, should be closed when we dn't need it any more.

ok, thanks, then I close it as I merged the #765 already

@mswiderski Just don't forget to cherrypick it to 6.5.x to have it in latest patch

so is this 6.5.x related to and not only master?

@mswiderski Yes, see RHBPMS-4638


[RFE] Automatic tests with lots of pods on a node (scaling)

Current situation
Kubernetes nodes typically support up to 110 pods per node but we don't have automatic tests checking whether Inspektor Gadget works fine with that amount of pods on a node.
Impact
We won't notice if IG does not work with that amount of pods on a node. Regression bugs could go unnoticed
Ideal future situation
We have integration tests that deploy 100 to 110 pods on a node and check the following:

[ ] IG's memory usage stay reasonable
[ ] IG's file descriptors don't reach a limit where it stops detecting new containers
[ ] Filtering events (by pod name, labels...) continue to work
[ ] Event enrichments continue to work
[ ] IG does not slow down the creation of new containers
[ ] Network gadgets such as dns (loading a new bpf module for each netns) continue to work

[ ] with reasonable performance (we get a new event fast without too much cpu consumption)
[ ] with reasonable memory consumption (e.g. ebpf maps)

Implementation options
Additional information
This issue is about scaling the number of pods but only on one node. There is another discussion about scaling with many nodes in https://github.com/inspektor-gadget/inspektor-gadget/issues/519.

It seem to be overlapping with #950, should we close #950 since this one has greater scope?

Hi @mqasimsarfraz, sorry I didn't see #950. Fine for me to close #950.

I tested the following manually with 100 pods on Minikube:
apiVersion: apps/v1
kind: Deployment
metadata:
  name: testdeploy
  labels:
    app: testdeploy
spec:
  replicas: 100
  selector:
    matchLabels:
      app: testdeploy
  template:
    metadata:
      labels:
        app: testdeploy
    spec:
      containers:
      - name: testdeploy
        image: busybox
        command:
          - sleep
          - "infinity"

I chose the dns gadget because it loads a ebpf program for each pod:
$ time ./kubectl-gadget trace dns -v

Initially, it was able to start correctly in 2.5s. And I can get good output when testing:
$ kubectl exec -ti testdeploy-776799bb58-vcjwn -- wget wikipedia.org

But sometimes, it fails:
$ time ./kubectl-gadget trace dns -v
NODE               NAMESPACE          POD                PID        TID        COMM       QR NAMESERVER      TYPE       QTYPE     NAME              RCODE
Error: failed to run gadget: timed out waiting for the condition

real	0m5.363s
user	0m0.189s
sys	0m0.054s

With bcc's profile.py, I can see that the cpu spends most of its time in the verifier when loading the program:
$ sudo /usr/share/bcc/tools/profile -p $(ps ax|grep '[/]bin/gadgettracermanager -serve'|awk '{print $1}')
...
    b'states_equal'
    b'states_equal'
    b'do_check_common'
    b'bpf_check'
    b'bpf_prog_load'
    b'__sys_bpf'
    b'__x64_sys_bpf'
    b'do_syscall_64'
    b'entry_SYSCALL_64_after_hwframe'
    runtime/internal/syscall.Syscall6
    local.syscall.Syscall
    local.syscall.Syscall.abi0
    github.com/cilium/ebpf/internal/sys.BPF
    local.github.com/cilium/ebpf/internal/sys.ProgLoad
    local.github.com/cilium/ebpf.newProgramWithOptions

This is because the ebpf program is loaded 100 times for each pod and the kernel does not know that it is the same program (so it needs to check it again and again); only the ebpf map for the global variable current_netns is different.
It is possible to load the ebpf program once and attach it 100 times, but we would not be able to have a variable current_netns with different values for each attachment. But we might be able to get current_netns in a different way in some cases by checking the IP address (if we trust the container not to change its IP, and if the traffic is not on the lo interface). We could also check struct __sk_buff->ifindex but I think this is namespaced.

We could also check struct __sk_buff->ifindex but I think this is namespaced.

ifindex is namespaced since Linux 3.7 (see https://github.com/torvalds/linux/commit/aa79e66eee5d525e2fcbd2a5fcb87ae3dd4aa9e9 and details about link-netnsid), so we cannot assume that struct __sk_buff->ifindex is globally uniquely identifying the network interface & network namespace. However, in the case of veth pairs, they are very likely to be unique because they are created by the CNI plugin on the host netns before being moved to the container netns. We could group network namespaces with non-colliding ifindexes to use the same ebpf program and in practice that would use only 1 ebpf program, but this seems quite complicated, so I wonder if there is an easier solution.


Accordion At the first click the animation is not smooth.

Bug report
Accordion (on the home page).
At the first click, on safari, the animation is not smooth.

A nearly imperceptible blink effect is visible... Only on safari.
Current Behavior
https://user-images.githubusercontent.com/197471/174584639-2dd23f72-a37b-48ec-bb61-2c559a5ea9c2.mov
The first time on safari, the animation is not smooth as it is at the second time.
Expected behavior
Smooth animation
Reproducible example
https://www.radix-ui.com
or
https://www.radix-ui.com/docs/primitives/components/accordion
Your environment
Safari Version 15.5 (176<IP_ADDRESS>.8) MacOS Monterey 12.4

Hi, this is a duplicate of #1265 so I'll close it now.


the context patterns highlight only works with javascript?

I have this set as my context_patterns:
g.indent_blankline_context_patterns = { 'class', 'return', 'function', 'method', '^if', '^while', 'jsx_element', '^for', '^object', '^table', 'block',
    'arguments', 'if_statement', 'else_clause', 'jsx_element', 'jsx_self_closing_element', 'try_statement',
    'catch_clause', 'import_statement', 'operation_type' }

And with js/ts it works okay highlighting the current context:

But it doesn't work with any other language?
I work with Ruby and Rust also, and in neither of them it works:

Is there something i'm missing? Shouldn't it work with all of them?

The same issue is with JSON/YAML. Maybe those formats can be added, since they are quite common ?

@lukas-reineke i clearly understand your point about pain of supporting dozens of programming languages.
But in case of JSON / YAML / XML - it makes a lot of sense to add support into the plugin, since it's very likely that most of vim/nvim users are editing configs more often then writing a code in programming language :)

Each treesitter grammar defines their own names for things. An if block in JavaScript for example is if_statement, but in ruby it is just if.
This is also why the default value for the pattern is so small, I don't want to have to maintain a massive list for every language.
You can use TSPlayground to see how each language you use calls things.
Also note, indent_blankline_context_patterns are lua patterns, you can do stuff like ^if and it will match both if and if_statement

I have '^if' on my config file and it still doesn't work with Ruby. Even if i remove it and put just 'if' it doesn't work. Why?

I have '^if' on my config file and it still doesn't work with Ruby. Even if i remove it and put just 'if' it doesn't work. Why?

This works fine for me. It is just called if in ruby.
Can you make a minimal init.vim or init.lua that reproduces this?

hrsh7th/nvim-cmp is a great example, how core "engine" is separated from extensions. Mby that could be done there as well? Some community repo similar to https://github.com/DefinitelyTyped/DefinitelyTyped where people can add and support languages?

I decided to just add better defaults now.
If there are still cases that are not covered, please open PRs


Use Machine Learning to Extract Information from Documents

Tutorial URL: https://developers.sap.com/tutorials/cp-aibus-dox-swagger-ui.html
I'am trying this in cloud foundry trial environment
Please specify the step you are referring
When I get to oauth token I got the following error
{
"error": "unsupported_grant_type",
"error_description": "Unsupported grant type"
}
Image attached

When I try
/document-information-extraction/v1 I got the following error

I look forward to hearing from you.
Ramesh

Hi Ramesh,
This tutorial (https://developers.sap.com/tutorials/cp-aibus-dox-swagger-ui.html) is part of the mission https://developers.sap.com/mission.cp-aibus-extract-document-service.html. Have you followed the previous tutorials (https://developers.sap.com/tutorials/cp-aibus-dox-service-instance-booster.html and https://developers.sap.com/tutorials/cp-aibus-dox-web-oauth-token.html)? Please follow the tutorials to get the service keys and the OAuth access token. Do not use Postman.
Best regards,
Juliana

Juliana
Thank you very much for your reply.  I had followed right from tutorial 1 and followed all the steps.  Can you kindly check
in the trial version if this is an issue with the trial version?.   Please let me know if you need additional information from me.
I must say that I used chrome as well as postman the result is the same (error).
Best regards
Ramesh

Hi Ramesh,
I've tested the tutorials with Google Chrome and everything worked fine. I got the service keys using the booster, then I got the token, authorized Swagger and I was finally able to create a client using the  Client API with Swagger UI.
As per your second screenshot, I think I know what went wrong with you. To get the token use the url value (from inside the uaa section of the service key) + /oauth/token?grant_type=client_credentials (for example: https://b123456atrial.authentication.eu10.hana.ondemand.com/oauth/token?grant_type=client_credentials), and then use the clientid value from your service key as Username. and the clientsecret value from your service key as Password (as described in https://developers.sap.com/tutorials/cp-aibus-dox-web-oauth-token.html).
To access the Swagger UI, use the url value (from outside the uaa section of the service key) + /document-information-extraction/v1 (https://aiservices-trial-dox.cfapps.eu10.hana.ondemand.com/document-information-extraction/v1), as described in https://developers.sap.com/tutorials/cp-aibus-dox-swagger-ui.html.
I think you were mixing the 2 tutorials and using the Swagger value ("swagger": "/document-information-extraction/v1/") instead of /oauth/token?grant_type=client_credentials to get the service keys.
Can you please try again? I'm sure if you follow the steps, you'll be able to try out the service.
Best regards,
Juliana

Juliana
Thank you very much for this information.  This works.  The url was
https://3a00e9e7trial.authentication.eu10.hana.ondemand.com/oauth/token?grant_type=client_credentials&cache-control=no-cache&content-type=application/x-www-form-urlencoded
The last part was in the screen shot for Cache and urlencoded.
Recently I had written a blog on CPI
https://blogs.sap.com/2020/07/16/integration-suite-process-integration-sap-odata-with-splitter-gather/
I was wondering if I can try out end to end ie use the document extraction from CPI to create a record in SAP.  Can you give me
any links which can help me to do this.  I feel that this will give a good idea of the benefit of this service.
Further in the trial version I dont see Data Attribute Recommendation trial in the trial entitlement - Is this going to be added any time soon.
I look forward to hearing from you.
Best regards
Ramesh

Hi Ramesh,
The screenshot needs to be updated, but it is supposed to work if you use only "/oauth/token?grant_type=client_credentials" or "/oauth/token?grant_type=client_credentials&cache-control=no-cache&content-type=application/x-www-form-urlencoded".
You should be able to find links with the service related documentation in https://discovery-center.cloud.sap/#/serviceCatalog/document-information-extraction.
Data Attribute Recommendation is only available in the Europe (Frankfurt) region. If your trial subaccount is in the US region, you need to create a new subaccount in the Europe (Frankfurt) region and then you should be able to find the service plan in your Europe subaccount entitlements.
Best regards,
Juliana

Juliana
Thank you very much this was very helpful.
Best regards
Ramesh


Hourly request quota Product Api

Hi, I've been looking into this a lot, but I do not understand. Please tell me how many products I can get the maximum minimum price per hour. How many products can I find in the maximum minimum price per minute.
http://docs.developer.amazonservices.com/en_US/products/Products_GetCompetitivePricingForSKU.html

If the "Hourly request quota" is 36000 requests per hour, and each request contains no more than 20 items, it would seem that the answer is 36000 × 20 = 720000 items per hour.
However, the answer is not really that straightforward. If the restore rate is 10 items per second, that would mean you could make no more than one request per second for only 10 items each after the initial quota is reached.
Assuming that you start the hour with a fresh slate, you get a total of (20 × 20) + (59 × 10) = 990 items per hour maximum. If you start the hour already throttled, you only get 60 × 10 = 600 items per hour.

there is a way to increase?

You would have to ask Amazon about that, because I have no idea. The documentation seems to imply that these are limits that apply to everyone equally, not on a per-account basis.

Thank you. Have a great day!


aaa without linked issue

Signed-off-by: Xiaoguang Sun<EMAIL_ADDRESS>

Sorry, I will create an issue and create another PR later on.


Fix schema_metadata_test regression for secondary indexes

It seems support to multiple secondary indexes per column on the most recent python driver release broke schema_metadata_test. This PR fixes the existing dtests to assume there might be more than one index per column.

+1