az login fails

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az login
Errors:
local variable 'token_entry' referenced before assignment
Traceback (most recent call last):
lib\site-packages\knack\cli.py, ln 216, in invoke
    cmd_result = self.invocation.execute(args)
cli\core\commands\__init__.py, ln 654, in execute
    raise ex
cli\core\commands\__init__.py, ln 717, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli\core\commands\__init__.py, ln 710, in _run_job
    six.reraise(*sys.exc_info())
env\lib\site-packages\six.py, ln 703, in reraise
    raise value
...
azure\cli\core\__init__.py, ln 784, in default_command_handler
    return op(**command_args)
cli\command_modules\profile\custom.py, ln 158, in login
    use_cert_sn_issuer=use_cert_sn_issuer)
azure\cli\core\_profile.py, ln 195, in find_subscriptions_on_login
    tenant, self._ad_resource_uri, authority_url)
azure\cli\core\_profile.py, ln 875, in find_through_authorization_code_flow
    self.user_id = token_entry[_TOKEN_ENTRY_USER_ID]
UnboundLocalError: local variable 'token_entry' referenced before assignment

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 login

Expected Behavior
Environment Summary
Windows-10-10.0.18362-SP0
Python 3.6.4
Installer: PIP

azure-cli 2.15.0

Additional Context

This is a known issue #15961  and we are working on a fix. To get over it, please use a valid user account.

Duplicate of #15961


Corrigindo problema e comentários

Erro citado
Severity: Notice
Message: Undefined variable: count
Filename: controllers/Mypet.php
Line Number: 98
Backtrace:
File: /home/u363333504/public_html/application/controllers/Mypet.php
Line: 98
Function: _error_handler
File: /home/u363333504/public_html/index.php
Line: 315
Function: require_once

Erros corrigidos no servidor.
Funções disponíveis em www.onlinnk.com.br
Obrigado,
Att
Agnaldo
Em qui, 28 de fev de 2019 às 18:32, José Henrique Honjoya <
<EMAIL_ADDRESS>escreveu:

Erro citado
Severity: Notice
Message: Undefined variable: count
Filename: controllers/Mypet.php
Line Number: 98
Backtrace:
File: /home/u363333504/public_html/application/controllers/Mypet.php
Line: 98
Function: _error_handler
File: /home/u363333504/public_html/index.php
Line: 315
Function: require_once
You can view, comment on, or merge this pull request online at:
https://github.com/AgnaldoBJr/mypet/pull/1
Commit Summary

Corrigindo problema e comentários

File Changes

M application/controllers/Mypet.php
https://github.com/AgnaldoBJr/mypet/pull/1/files#diff-0 (13)

Patch Links:

https://github.com/AgnaldoBJr/mypet/pull/1.patch
https://github.com/AgnaldoBJr/mypet/pull/1.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/AgnaldoBJr/mypet/pull/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AMBBFwA3NaXV5wRaVUTimpnyuaEzkQCEks5vSErUgaJpZM4bXx53
.


Versioning Path Refrence

If the updated project is using proper semantic versioning, you should only need to list the Major version in the path.
I'm referencing the note in the README.md##new-dns-structure

We would like to setup a new DNS new path for the CDTS JS files.
Looking at maybe one of these:
sgdc-cdts.canada.ca/v1.0.1/cdts/js/gcweb-en.js

Instead you should be able to use something like sgdc-cdts.canada.ca/v1/cdts/js.gcweb-en.js; note the v1 doesn't include the minor and patch.
It does mean you will update on-top of the old version, but once again, as long as you follow proper semantic versioning this won't be an issue.
This will benefit you by not needing to support as many versions at the same time (as long as you're not making breaking changes regularly 😉) and also the users as they will aromatically get the updates without having to update their link all the time.

Closing this issue due to inactivity. Will be revisited in the future.

I think closing this suggests this idea won't be considered, now or ever; is that the case?


Change name of Github Actions file test_and_build.yaml

#22
Changed the name of the GitHub Actions file test_and_build.yaml to test.yaml
I also updated the name in the README section of the project
 ![CI/CD Pipeline](https://github.com/Veinar/envcloak/actions/workflows/test.yaml/badge.svg)

@JohnnieJnr thanks for contribution 🙏  All good - merging.

@Veinar you're most welcome


chor: remove license file

Description
Remove license file from the root
Issue
https://github.com/eclipse-tractusx/eclipse-tractusx.github.io.largefiles/issues/16
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

Add a new file LICENSE_non-code in your repository root with the contents of the CC-BY-4.0 license - already available
Remove the /LICENSES directory in case you previously stored the CC-BY-4.0 license there. Make sure there is no other CC-BY-4.0 License left, other than on root as LICENSE_non-code - removed
Add the "Project Licenses" and "Terms of Use" sections to your CONTRIBUTING.md file. See Update legal docs (TRG7) sig-infra#476 for an example - already added
Adapt "Declared Project License" section in NOTICE.md.  - already present
Please verify, your CONTRIBUTION.md does not have encoding issues. - not sure what is encoding issue? I do not see any issue in the editor

Hi @manojava-gk thanks for preparing the PR, but this is the wrong repo. Please create the PR for the following repo:
https://github.com/eclipse-tractusx/eclipse-tractusx.github.io.largefiles

My bad. Got it. Will create it from another repo.
Btw, deleting the license file is also part of the task. I hope this PR is relevant to that point. Let me know otherwise, will close this PR @danielmiehle


Browser requirements ?

I have successfully installed the software and updated my ESP32. Connected it to my SSID, and is getting this screen:

But when I run the code there is no output to the console
I have tried the Enable options, and also the load, but nothing happens in the browser.
I get the following output if I monitor the UART

So it seems the code is executed, just not returned to the browser

Hello my friend and MANY thanks for dropping by.  Here is the story.  When I started on the ESP32 Duktape project, I wanted a full IDE that was served up from the ESP32 into which I could enter and save/load JS code and run it.  I also wanted a live console shown in the attached browser console area.  I'm delighted to say this all worked ... everything was perfect.  Under the covers, a large portion of ESP32 Duktape is itself written in JavaScript.  This includes the IDE, WebServer, WebSockets and much more.
Since the applications run on the ESP32 and we want the console output to appear on the browser, we need a mechanism to "push" new message from the ESP32 to the browser so that the browser can visualize them.  The technology known as "WebSockets" is GREAT for that.  Full support was added.  All was good.
And then I started writing some JS applications ... actually USING ESP32 Duktape ... and I noticed something VERY disturbing.
The ESP32 has 512K of RAM.  Great.  However, only 200K of that is available to the application.  Where did the rest go?  Well it is needed by the ESP32 itself ... it is into this RAM that code is loaded from flash and then executed.  Ok ... so that leaves us 200K ... thats a bunch.   By the time we then load up the TCP/IP stack and Free RTOS, we are down to about 80K.  Ouch ... getting tighter.  Now let us look at the IDE .. that needs TWO concurrent TCP/IP sockets.  One for the browser requests/responses using HTTP and a second socket for Web Socket connections to show console output.  And now we are in trouble.  When we create a socket, the ESP-IDF needs between 10-25K for message buffers (in and out) and the like.  Creating two sockets and subtracting that from 80K ... we ran out of room.  Everything would just about work ... but as soon as we ran any apps we wanted to load, we would fail.   I looked into ways of stripping out and optimizing RAM usage as possible ... but it was getting tight and we were starting to sacrifice.  For example, I could buy back 20K of RAM if I gave up on JavaScript stack trace for user code exceptions ... I didn't like where this was going.
I worked with the author of Duktape and he said that he was working on a solution where the JavaScript code could be "compiled" and run from flash which would reduce our RAM footprint at the expense of performance.  He hasn't gotten there yet ... however something NEW and WONDERFUL has happened.  It is the ESP32 module called WROVER.  While this still has limited availability, I have a few instances.  It is an ESP32 module with 4.5MBytes of RAM.  This is 9x the size of the base 500K.  Last weekend I built ESP32 Duktape with everything enabled and all was a joy.  Full IDE, Full WebSockets full everything.  I think I am going to be recommending Duktape for the WROVER only.
Now back to your original question ... I deliberately "disabled" WebSocket from ESP32 Duktape so that only one socket would be used ... and this means that even though there is space for it in the Web IDE editor, it is explicitly disabled.   Its been re-enabled in the latest source code on Github ... so that the WROVER users can take full advantage of it.

Is the esp32 duktape IDE successfully functioning with regular ESP32s? I am experiencing these same issues described by ThorvaldAagaard above with the esp32 M5stack.


Add connection error and timeout exceptions for Postgres configuration file.

I'm also trying to use the intercepted connection with the DAO and I don't know how to do it because there isn't an example in the repository.


Cannot assign skill Divine Disaster

Sets skill slot to "None".  Unrelated Pal edits removed this ability.

In Pal Edit please send issues to https://github.com/EternalWraith/PalEdit


Copying a message on Android always includes the timestamp

Just sent a password to my Android device, copied it in the app and pasted in some dialog, not realizing that ntfy had copied the timestamp with it. This seems a bit "too much"?

Interestingly this happened to me today and i felt the same. Agree that it should be removed.


feat: Istanbul Coverage only for changed Files

Signed-off-by: GurkiranSingh<EMAIL_ADDRESS>I have added watchAll coverage config option, which by defaults provides coverage for all files but if it is false, then it only show coverage for changed file.
I have also added an example react-istanbul-coverage folder to test out these changes. Please, let me  know if you see any issues :)
Resolves: #2316

What's the difference between "all" and why do we need a separate option?
@AriPerkkio can you take a look, when you have time?

The only reason, I have added coverage.watchAll option so that if a user wants to see all files coverages even when a single file has changed

@g4rry420 let's see if simply enabling coverage.cleanOnRerun is enough: https://github.com/vitest-dev/vitest/issues/2316#issuecomment-1329358821
That option could be enabled by default when CoverageReporter (c8, istanbul) is created, and watch mode is enabled. Also I think coverage.all could be disabled when watch mode is enabled.

Alright, based on the 👍's on https://github.com/vitest-dev/vitest/issues/2316#issuecomment-1329358821 from both of the issue reporters, I guess we can proceed with the fixes.
All that is needed is to set a few defaults:

default value for coverage.cleanOnRerun should be true, when watch mode is enabled
default value for coverage.all should be false, when watch mode is enabled

If watch mode is disabled, default values should be as before. I think these changes can be considered as a regular bug fix.

@AriPerkkio By default, the watch=true mode, so I have also set the clearOnReRun=true and all is already false.
Do we need to set clearOnReRun=false when user set watch=false ?

Not sure about, but when I merge the latest changes from main branch and run pnpm install, these changes come up and I committed them.

Not sure about, but when I merge the latest changes from main branch and run pnpm install, these changes come up and I committed them.

Please, don't commit lockfile.


pip package installs on Python 3.6 but depends on Python 3.5

Hi! I am simply trying to send telemetry data into IoT Hub for a blog post :smile:
This time I installed the Python SDK via pip and fixed the initial boost dependency issue (#145) by renaming the library accordingly, but the iothub_client.so expects a dynamic library python3.5m.so ...

OS and version used: Fedora 28

Python runtime used: 3.6.6

SDK version used: device client sdk 1.4.2 (installed via pip)

Description of the issue:
Installing via pip into a Python 3.6 environment works and the site also says 3.6 is supported. However, when running the "simple sample" of the device client sdk, import fails (see below).
In order to get around issue #145 both a ubuntu built libboost-python3.so and the native libboost-python3.so was used with the same result.
Code sample exhibiting the issue:
The simple sample client
Console log of the issue:
$ ls
client.py  libboost_python-py35.so.1.58.0*
$ python client.py
Traceback (most recent call last):
  File "client.py", line 6, in <module>
    from iothub_client import IoTHubClient, IoTHubTransportProvider, IoTHubMessage
  File "/home/cm/.local/lib/python3.6/site-packages/iothub_client/__init__.py", line 1, in <module>
    from .iothub_client import *
ImportError: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory
$  python --version
Python 3.6.6

Digging deeper: the iothub_client.so seems to have been dynamically linked to libpython3.5m.so.1.0 - even though it was distributed for Python 3.6? Nevermind the other lib dependencies that are not found.
$ ldd iothub_client.so
./iothub_client.so: /lib64/libcurl.so.4: no version information available (required by ./iothub_client.so)
	linux-vdso.so.1 (0x00007ffcb2b89000)
	libboost_python-py35.so.1.58.0 => not found
	libpython3.5m.so.1.0 => not found
	libcurl.so.4 => /lib64/libcurl.so.4 (0x00007f7c81264000)
	libssl.so.1.0.0 => not found
	libcrypto.so.1.0.0 => not found
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7c81045000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f7c80e3d000)
	libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f7c80c36000)
	libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f7c808a4000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f7c80510000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f7c802f8000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f7c7ff39000)
	libnghttp2.so.14 => /lib64/libnghttp2.so.14 (0x00007f7c7fd13000)
	libidn2.so.0 => /lib64/libidn2.so.0 (0x00007f7c7faf6000)
	libssh.so.4 => /lib64/libssh.so.4 (0x00007f7c7f87d000)
	libpsl.so.5 => /lib64/libpsl.so.5 (0x00007f7c7f66c000)
	libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007f7c7f3ff000)
	libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007f7c7ef73000)
	libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f7c7ed24000)
	libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f7c7ea37000)
	libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f7c7e81b000)
	libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f7c7e617000)
	libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007f7c7e3c3000)
	liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007f7c7e1b4000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f7c7df9d000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f7c81a39000)
	libunistring.so.2 => /lib64/libunistring.so.2 (0x00007f7c7dc1c000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f7c7da18000)
	libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f7c7d809000)
	libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f7c7d605000)
	libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f7c7d3ee000)
	libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007f7c7d1d1000)
	libssl3.so => /lib64/libssl3.so (0x00007f7c7cf7e000)
	libsmime3.so => /lib64/libsmime3.so (0x00007f7c7cd56000)
	libnss3.so => /lib64/libnss3.so (0x00007f7c7ca2b000)
	libnssutil3.so => /lib64/libnssutil3.so (0x00007f7c7c7fb000)
	libplds4.so => /lib64/libplds4.so (0x00007f7c7c5f7000)
	libplc4.so => /lib64/libplc4.so (0x00007f7c7c3f2000)
	libnspr4.so => /lib64/libnspr4.so (0x00007f7c7c1b2000)
	libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f7c7bf89000)
	libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f7c7bd60000)
	libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007f7c7bae0000)

@celaus sorry you're running into all these issues. the boost dependency is something we're looking at removing because it's the source of so many issues. Because of it, the version of python installed on the system has to match the version that boost & the SDK was compiled with, which creates a crazy compatibility matrix where only a few combinations are supported.
I'm curious to see exactly which version of the package you're downloading - would you mind pasting the log of the pip install command to see exactly which wheel file was downloaded?

Hehe, yeah the boost dependency seems to be the cause quite a few issues. In this case I could provide the boost dependency by simply copying the binary into the directory - but it's really not wise to do the same for a Python3.5 memory lib when it should be using Python3.6 :sweat_smile: , and this looks to come from the iothub_client.so.
I attached the
log.txt, I hope it helps
$ pip3 show azure-iothub-device-client
Name: azure-iothub-device-client
Version: 1.4.2
Summary: IoT Hub Device Client Library
Home-page: https://github.com/Azure/azure-iot-sdk-python/tree/master/device
Author: aziotclb
Author-email<EMAIL_ADDRESS>License: Apache Software License
Location: /home/cm/.local/lib/python3.6/site-packages
Requires:

@celaus what is extra confusing is that Python 3.6 is the version supported on Windows and Python 3.5 is the version supported on Linux.
we're working on a new version of the SDK that should be free of those issues but it's going to be a few weeks. in the meantime your best option is to use python 3.5 or rebuild the SDK for python 3.6 instead of using pip packages.

Oh man, talk about Python version issues.
I am happy to help, but I ended up using the Node SDK for my blogpost (https://blog.x5ff.xyz/blog/cratedb-iothub-timeseries-prediction/), happy to help out fixing the Python SDK though, so if you need more information on the issues, let me know.
Thank you for taking care of this, btw!

got it, thanks for the update! yeah the python version situation is bad. we're working on it. I'll close the issue then.

@celaus, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey

The issue  still persists. Why @pierreca closed the issue?
Windows 3.6
Linux 3.5
Mac 3.7
Brutal...

This is still an issue with Ubuntu 20.04. We've now moved on to python 3.7 but still have the deps on python3.5.


First name not working

First name, last name and company parameters not working

This issue has been resolved in version 1.0.2. Thanks for the note.


updated contributing guide

Updated Contributing Guide in README.md

If we update the contribution guide on this project, we have to update the guide on all our projects. The limited value it would add isn't worth the effort.


Minikore refactoring

WIP. Do not merge yet.

@msaxena2 could you close this PR and delete the branch, if not needed any more?


Change md snippets

The code snippet in md file can be misleading, because of the name. Could you please update path to nextjs 14 app router version style?

Hey!
You mean the MyApp naming? 🤔
As that's what is used in Next Pages docs as well

Hey, I'm going to close this since there was no answer.
Feel free to reopen if there are still any questions!


Headless Installs

Hey, cool tool but zap install --silent etcher fails. It looks like it cannot do headless installs right now. I would love to handle all my appimages with a tool like this. I think this is the best one out so far but the headless installs are the main reason why I'm using something like this anyway.
I tried yes | zap install --silent etcher but that didn't work either

This would be a good feature, but I wasn't sure how we could figure out the right version to install. Right now, zap install --silent libresprite would fail with an error message
[FATAL] 2022/12/08 11:45:53 main.main:main.go:163 prompt is disabled because user has requested silence

This is because it found a few bunch of releases and it doesn't know which one of the release you would be interested it. zap tries it best to do a semantic version sort, but at times, the app developers do not use a fixed sem ver in their release names, and that messes up the installation algorithm. This is why I did not automate this, since that would have brought some unexpected surprises. Let me know if you have any ideas. I think I could add a --select-first flag, or something like that which will always select the first item, but know that, the first item on the list may or may not be the latest release.

Thanks @srevinsaju -- --select-first would be great. I personally think it should be assumed that --silent will make assumptions but I can see why you didn't do that.

I also did not have any success getting headless interaction to work with zap.
I tried the "yes" command
using a << pipe to write "Enter + y + y" to the stdinof the process
and writing an "expect" script trying to automatically answer the printed questions.
Having native headless support for zap would be pretty nice, for my purposes i frequently do collect my applications in lists to automatically install them on a new system.
Another option would be to go the npm route and embed the version in the package name separated by an "@" like this:
zap install firefox@firefox-nightly
zap install firefox@firefox-beta`
zap install<EMAIL_ADDRESS>
Once zap can figure out the latest version or the latest stable version, something like
zap install cpu-x@latest
zap install cpu-x@beta
zap install cpu-x@stable

would be an additional option for targeting different types of releases or branches.


Theme Classes

@KevinKrueger Have a look at the latest devV2 Commit. I've added interfaces for the theme classes.. In the Theme folder. Next is concrete implementations of those interfaces. There's lot of new interfaces....


Tip UX could be improved

Issue Type: Bug
When you hover over any element in your code, a tip pops up:

Due to the way it is placed in the UI, it can easily capture clicks, when you actually want to place your cursor in your code, above the line it activated on. Why not allow me to click through it? Instead, the tip captures focus.
For some extra fun, double click it. Then you can drag it around as if it was a document tab...
 I imagined it like, when you click on the hover, the click position is remembered, the hover is closed, the click position on the hover is translated to the offset the mouse cursor has relative to the editor and a click event is generated at that position instead.
For the time being, I increased the delay before the hover is shown, but now I'm often waiting for it to appear and it feels slow.
What I definitely never want, is to interact with content in the hover. Although I can see that as a use case as well. Maybe some users regularly select text from the hover for further actions.
What definitely feels like a bug, is the drag & drop behavior of the hover after double-clicking it. That's really weird.

Have you tried "editor.hover.sticky": false?

@alexandrudima That actually works remarkably well. Thanks!
I'll give this a go for a couple of days and see how it performs.


Add a custom message for cockatiel

Replace the existing message with something better for this pet
https://github.com/tonybaloney/vscode-pets/blob/58a4b6d61a5373babeb4a1b750dfa9b26645375f/src/panel/pets.ts#L862-L865

Can you assign me this one?


make conftest.py for data integrity testing

Addresses #53.

To demonstrate this PR works, you should remove the duplicate definition of the database in test_schema.py If all the tests pass, then conftest.py is being picked up and used correctly.

I took the liberty of pushing some updates to this branch, namely:

Moving database tests to their own test file, test_database.py, for clarity
Updating the sample database contents (and a few of the tests) so they actually pass now
Minor updates to gitignore/coverage

One good thing about these changes is that they actually test the sample data in this repo, which was actually not valid. With this change we should be able to catch any cases were we modify the sample data (or schema) and it breaks validation.


Added readme.md badge for Landscape

Codecov Report

Merging #21 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #21   +/-   ##
=======================================
  Coverage   58.16%   58.16%
=======================================
  Files          33       33
  Lines         851      851
  Branches      124      124
=======================================
  Hits          495      495
  Misses        319      319
  Partials       37       37

Continue to review full report at Codecov.

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


CPUPROFILE_FREQUENCY not working

PROFILE: interrupts/evictions/bytes = 0/0/64
After I set CPUPROFILE_FREQUENCY=1000000， the interrupts also are 0. I don,t know environment variable not working?

Most likely your program run time is too small. But also such ridiculously high profiling frequency has no chance of working too.

Yes, you are right. Thanks for your answer.


python311Packages.pyatag: <IP_ADDRESS> -> 3.5.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.pyatag is: Python module to talk to Atag One
meta.homepage for python311Packages.pyatag is: https://github.com/MatsNl/pyatag
meta.changelog for python311Packages.pyatag is: https://github.com/MatsNl/pyatag/releases/tag/3.5.1
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.5.1 with grep in /nix/store/bd9g8br1qqxqr4y7wwssvm5v0qjchml4-python3.11-pyatag-3.5.1
found 3.5.1 in filename of file in /nix/store/bd9g8br1qqxqr4y7wwssvm5v0qjchml4-python3.11-pyatag-3.5.1

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
python311Packages.pyatag

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bd9g8br1qqxqr4y7wwssvm5v0qjchml4-python3.11-pyatag-3.5.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 python311Packages.pyatag https://github.com/r-ryantm/nixpkgs/archive/fa373581c312b5f083aa3a8174c391493d859a49.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/fa373581c312b5f083aa3a8174c391493d859a49#python311Packages.pyatag

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/bd9g8br1qqxqr4y7wwssvm5v0qjchml4-python3.11-pyatag-3.5.1
ls -la /nix/store/bd9g8br1qqxqr4y7wwssvm5v0qjchml4-python3.11-pyatag-3.5.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:

python311Packages.pyatag

Maintainer pings
cc @dotlambda for testing.

passthru.skipBulkUpdate doesn't work for bots.


Add cancellation for force pushed commits

What does this PR do?
Improve a bit the cancellation mechanism to, if some conditions are met, cancel pipelines related to force pushed commits

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

/merge


Add lang search param to all api calls

:tada: This PR is included in version 1.16.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


hello vs code The language server needs at least PHP 7 installed. Version found: 5.6.26

settings.json
"php.validate.executablePath": "C:\\AppServ\\php7\\php.exe",
// "php.validate.executablePath": "C://AppServ//php7//php.exe",
"php.suggest.basic": false
The language server needs at least PHP 7 installed. Version found: 5.6.26
Why? Please help

"C:\AppServ\php7\php.exe" is not valid JSON and VS Code should show you an error for that. You need to escape backslashes.

hello !! felixfbecker
Thanks for the reply
Error!! install Results
"php.validate.executablePath": "C:\AppServ\php7\php.exe",
// "php.validate.executablePath": "C://AppServ//php7//php.exe",
Which part of the problem??

You need to escape them, not change them to double forward slashes.
"C:\\AppServ\\php7\\php.exe"

php.validate.executablePath is the wrong setting. It's php.executablePath.
https://github.com/felixfbecker/vscode-php-intellisense#installation

Thanks for the help


Add ability to ctrl/cmd click and open new tab to post

Fixes:

Ability to control + click  (windows) or command + click (mac) to open new tab for post

Changes:

add event check for keys pressed while clicking on post title / post preview

@espoem Can you check if this work for you? https://busy-master-pr-1536.herokuapp.com/

@bonustrack Yes, working again. The post will open in new tab. 👍


Add B lasagna Dorami by PewDiePie2

Song Name
B lasagna Dorami
Artist Name
PewDiePie2
Source
Youtube
Youtube Link
YPPMUXKc-Ns
Direct File Link
No response
Song ID
525424
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 55106853
Downloaded: Yes

Pls Accept
On Thu, Oct 10, 2024, 12:54 PM auto-nong[bot] @.***>
wrote:

Thanks for contributing!
Someone will soon review your request.
Here is the JSON result for the reviewer:
{
"name": "B lasagna Dorami",
"artist": "PewDiePie2",
"source": "youtube",
"startOffset": 0,
"yt-id": "YPPMUXKc-Ns",
"songs": [
525424
]
}
To accept the request, a reviewer needs to write "accept".
—
Reply to this email directly, view it on GitHub
https://github.com/FlafyDev/auto-nong-indexes/issues/4890#issuecomment-2404630014,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BL3YRY3JUNHXJKUXKL3DB6DZ2ZFEVAVCNFSM6AAAAABPWMOHHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBUGYZTAMBRGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


VSCode Unable to Find Step Def When Step Def Variable Set to Type String

Current behavior
I've noticed some odd behavior in my IDE when defining a step definition variable with {string}.  VSCode shows the yellow underline, and won't take me to the step definition.  However, when I run the test in the Cypress runner, it executes without an issue.
If I change string to screenName, then VSCode finds the step def and navigates to it no problem.

Desired behavior
The IDE should recognize the step has a definition, and navigate to it.
Test code to reproduce
Feature file scenario step * the user is taken to the 'create' screen
Step def code And('the user is taken to the {string} screen', (screenName) => {...
Versions

CYPRESS: 6.1.0
CYPRESS-CUCUMBER-PREPROCESSOR: 4.0.0
NODE: 12.18.3

You need to post this in the issue tracker of your IDE extension. This is merely a text preprocessor.

vscode is blaming the plugin(shocker).  Was hoping someone would take a look, but seems like both sides want to blame the other.

Hmmm, but I'm wondering, how this issue could be related to the plugin, in general, I imagine, the resolution between feature file and the spec defitinion should work exactly the same even before running npm install/yarn to install the dependencies, no? :)
If I'm misunderstanding something here I'd be happy to help

In other words - visual studio code should not care whether we run the feature files with pure cucumber, or this plugin, or something like webdriverio.. as Badeball said - we only "process text" runtime.

vscode is blaming the plugin

Can you point us to this? I'm curious as to what they think we should we doing differently.

Looks like this is the one: https://github.com/microsoft/vscode/issues/112678 , and it seems like an automated reply, they assumed it's a problem with a vscode extension, and that kinda makes sense. Cucumber functionality is probably not built in. And by "extension" they meant that vscode cucumber extension, not our repository. Sorry

Ahh, they did say extension.  Sorry, completely missed that.  It does look like someone categorized it though before he auto-response was generated.  Ok, gonna try this again, hopefully with the right team this time.
BTW, loving the plugin, and sorry, I try never to complain about anything free.

Found it:
https://github.com/alexkrechik/VSCucumberAutoComplete/issues/299

Great to know, and thanks for linking back, a lot of lost googlers might stumble upon this thread :)


scroll indicator...

since the beginning of the story was a click to begin, i assumed that you still needed to click once the audio faded in and you had the first bit of story text. I'd say there's more by indicating scroll OR show the next round of text creeping out from under so it's obvious you scroll

make the whole thing scroll to begin, also addresses #134


CRAM file support

Are there any plans to support CRAM files with bamtools?

I just planned to raise the same issue :)
CRAM is wanted.

Yes, same desire here for CRAM support. I guess that would require a name change to cramtools!


Remove "new" status from exported data

Describe the story
The status values need an overhaul. We currently have several statuses: new, private, returned, withdrawn, public, deleted. This causes issues e.g. the current data dump on /vol/share/nsteenla contains records with status values new and returned. These cause erratic results when imported in the application. The status  values need to be adjusted:
Expected behavior
We want to land on these four statuses:

draft = new record which has never been published before. Freshly made.
public = record has is currently publicly available / visible publicly.
withdrawn = record has been withdrawn from the public's eye because it needs re-work.
deleted = record was deleted. This status indicates that the record shouldn't be visible in the interface. This is a "soft delete" where we keep the deleted record as a "tombstone" but never show in the user interfaces.

Proposed solution

private should be renamed to draft since we're introducing a separate withdrawn status
new doesn't exist anymore and needs to be mapped to draft.
returned should be renamed to withdrawn.

Tangential to this issue: do we validate field input against closed vocabularies?  The status field is an example of this. It's a (a) required field which has a (b) value from the publication_statuses vocabulary in map.go. If not, the record should be rejected.
This requires changing the statuses in biblio-backend as well as in the librecat export.
Additional information
Renaming returned to withdrawn is related to #575, #625, #580

there's probably no need to even migrate 'new' records to the new backend

Will we migrate private records / drafts as well?

@mietcls We just discussed in-person: we still are considering keeping "private" around. e.g. the "draft" status could be used in a version-based context: a new draft = "a new version which hasn't been published yet". Whereas "private" could be used as "I don't want to make this version publicly visible"
We need to hash out the semantics a bit more before wrangling existing data.

@mietcls yes private's need to be migrated, but 'new' (=librecat drafts) records not

new is now excluded from librecat export: https://github.ugent.be/Universiteitsbibliotheek/librecat/commit/ce8be7cb5840fef614502dcb88ddbfa57bbdfeac


Fix the dependency handling logic (now it's async graph instead of layers)

This also fixes the code in the example and enhances it :)

Fixes #4. The new 1.1.0 release is published.
As more and more people using this package, I can't keep #4 opened :)


HTTP ERROR 500

I am sure I followed the steps exactly. I can see the xxxx.azurewebsites.net url in the Azure dashboard when looking at the app. But I am getting this error:
This page isn’t working
xxxxxx.azurewebsites.net is currently unable to handle this request.
HTTP ERROR 500
I am seeking to use the nodejsv10 repo.
There configuration for the app references the .NET framework v 4.7, but I don't see an option for node so I just left it.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f1026434-050e-b1d5-7cac-47cf5d5d2cad
Version Independent ID: bfb4d3c9-af35-f08b-710a-afc3281e3d87
Content: Upload image data in the cloud with Azure Storage
Content Source: articles/storage/blobs/storage-upload-process-images.md
Service: storage
GitHub Login: @normesta
Microsoft Alias: normesta

@jakedurell  Thanks for the question! We are investigating and will update you shortly.

@jakedurell Firstly apologies for the delay!
As you know 500 is something an unknown error and hence processing any actions which keep throwing 500 even after the retry. Can you retry and let me know the status

@jakedurell Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.


Add Ritu as a receiver in auto_nag emails

Coverage increased (+0.4%) to 25.517% when pulling e7f99fa412ac6e3b3dd4e6bcf49d7e5cee643ff5 on calixteman:add_ritu into 6f82718bfd28430b92a722d7623193044b7d4f85 on mozilla:master.


chore: update code format.

as title.

changed by any tool or manually? :P

@kevwan https://github.com/mvdan/gofumpt maybe add to check list?

@kevwan https://github.com/mvdan/gofumpt maybe add to check list and add _mock.go to ignore list?

thank you! I'll check if can I add it to CI.


Switch Crash from CLI

OS : Debian 12((bookworm))
Freeswitch version: 1.10.1
Issue:  When I execute the bellow command from the CLI
freeswitch@ind-switch-mumbai> uuid_audio_stream cd72e54f-feca-4933-8960-5e6504feab9e start ws://telecmi.ngrok.io mono
Socket interrupted, bye!
Error Result: Segmentation fault (core dumped)

Oh, I see.. thanks for reporting this. It is a bug indeed and it occurs only when the sampling rate parameter is omitted from the command line (8k or 16k). It is now fixed, and if omitted, default value will be 8k. It didn't affect functionality in any way.
(Make sure to provide port number to WS URI when calling the API, unless you are hitting default 80|443).

don't you think, if the URL is not valid freeswitch crash is a big issue

hope it was fixed in the last commit.

Yes, it is fixed.
BR.

Yes it's working, Thanks for the wonderful FreeSWITCH module

@murugancmi You're welcome mate! All the best!


'placeholderTextColor' is not a valid style property.

(Reopening #16761 because I'm having the same issue as he did)

[x ] Review the documentation: https://facebook.github.io/react-native
[ x] Search for existing issues: https://github.com/facebook/react-native/issues
[  x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
Environment:
OS: macOS High Sierra 10.13.6
Node: 10.8.0
Yarn: 1.9.4
npm: 6.2.0
Watchman: 4.9.0
Xcode: Xcode 10.0 Build version 10A255
Android Studio: 3.1 AI-173.4907809
Packages: (wanted => installed)
react: ^16.5.2 => 16.5.2
react-native: ~0.55.4 => 0.55.4
Description
I'm trying to change placeholder text color in TextInput component of react-native. But getting following error:
'placeholderTextColor' is not a valid style property.
My stylesheet code is:
Input: {
paddingTop: 5,
paddingBottom: 5,
paddingLeft: 4,
paddingRight: 4,
fontSize: 14,
    color: black,
    placeholderTextColor: hintColor
}

placeholderTextColor is given in react-native documentation but its not working at my end surprisingly.
Reproducible Demo
StyleSheet.create({
  a: { placeholderTextColor: '#fff' },
});

I have this same issue on react-native 0.57.1


CUBLAS_STATUS_EXECUTION_FAILED and Blas GEMM launch failed

I have followed the required tensorflow 1.12 and python 2.7, but the following errors still raised. I wonder if you could help me. By the way, it is suggested by the internet that the CUBLAS_STATUS_EXECUTION_FAILED raises when tensorflow version does not match the cuda version. Could you please tell me the gpu type and cuda version you used to train? Looking forward to your reply.
`2021-09-08 23:23:08.258752: E tensorflow/stream_executor/cuda/cuda_blas.cc:652] failed to run cuBLAS routine cublasSgemm_v2: CUBLAS_STATUS_EXECUTION_FAILED
Traceback (most recent call last):
File "train_gpu.py", line 475, in
tf.app.run()
File "/home/caoyq/anaconda3/envs/tensorflow_cp27/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 125, in run
_sys.exit(main(argv))
File "train_gpu.py", line 471, in main
evaluate(n_token, cutoffs, "/gpu:0")
File "train_gpu.py", line 446, in evaluate
fetched = sess.run(fetches, feed_dict=feed_dict)
File "/home/caoyq/anaconda3/envs/tensorflow_cp27/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 929, in run
run_metadata_ptr)
File "/home/caoyq/anaconda3/envs/tensorflow_cp27/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1152, in _run
feed_dict_tensor, options, run_metadata)
File "/home/caoyq/anaconda3/envs/tensorflow_cp27/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1328, in _do_run
run_metadata)
File "/home/caoyq/anaconda3/envs/tensorflow_cp27/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1348, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InternalError: Blas GEMM launch failed : a.shape=(31424, 1024), b.shape=(1024, 3072), m=31424, n=3072, k=1024
[[node transformer/layer_0/rel_attn/qkv/Tensordot/MatMul (defined at /home/caoyq/transformer-xl-master/tf/model.py:54)  = MatMul[T=DT_FLOAT, transpose_a=false, transpose_b=false, _device="/job:localhost/replica:0/task:0/device:GPU:0"](transformer/layer_0/rel_attn/qkv/Tensordot/Reshape, transformer/layer_0/rel_attn/qkv/kernel/read)]]
Caused by op u'transformer/layer_0/rel_attn/qkv/Tensordot/MatMul', defined at:
File "train_gpu.py", line 475, in
tf.app.run()
File "/home/caoyq/anaconda3/envs/tensorflow_cp27/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 125, in run
_sys.exit(main(argv))
File "train_gpu.py", line 471, in main
evaluate(n_token, cutoffs, "/gpu:0")
File "train_gpu.py", line 400, in evaluate
mems=mems_i)
File "train_gpu.py", line 218, in single_core_graph
is_training=is_training)
File "train_gpu.py", line 186, in model_fn
proj_same_dim=FLAGS.proj_same_dim)
return self.__call__(inputs, *args, **kwargs)

File "/home/caoyq/anaconda3/envs/tensorflow_cp27/lib/python2.7/site-packages/tensorflow/python/layers/base.py", line 374, in call
outputs = super(Layer, self).call(inputs, *args, **kwargs)
File "/home/caoyq/anaconda3/envs/tensorflow_cp27/lib/python2.7/site-packages/tensorflow/python/keras/engine/base_layer.py", line 757, in call
outputs = self.call(inputs, *args, **kwargs)
File "/home/caoyq/anaconda3/envs/tensorflow_cp27/lib/python2.7/site-packages/tensorflow/python/keras/layers/core.py", line 963, in call
outputs = standard_ops.tensordot(inputs, self.kernel, [[rank - 1], [0]])
File "/home/caoyq/anaconda3/envs/tensorflow_cp27/lib/python2.7/site-packages/tensorflow/python/ops/math_ops.py", line 2985, in tensordot
ab_matmul = matmul(a_reshape, b_reshape)
File "/home/caoyq/anaconda3/envs/tensorflow_cp27/lib/python2.7/site-packages/tensorflow/python/ops/math_ops.py", line 2057, in matmul
a, b, transpose_a=transpose_a, transpose_b=transpose_b, name=name)
File "/home/caoyq/anaconda3/envs/tensorflow_cp27/lib/python2.7/site-packages/tensorflow/python/ops/gen_math_ops.py", line 4560, in mat_mul
name=name)
File "/home/caoyq/anaconda3/envs/tensorflow_cp27/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/caoyq/anaconda3/envs/tensorflow_cp27/lib/python2.7/site-packages/tensorflow/python/util/deprecation.py", line 488, in new_func
return func(*args, **kwargs)
File "/home/caoyq/anaconda3/envs/tensorflow_cp27/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 3274, in create_op
op_def=op_def)
File "/home/caoyq/anaconda3/envs/tensorflow_cp27/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1770, in init
self._traceback = tf_stack.extract_stack()
InternalError (see above for traceback): Blas GEMM launch failed : a.shape=(31424, 1024), b.shape=(1024, 3072), m=31424, n=3072, k=1024
[[node transformer/layer_0/rel_attn/qkv/Tensordot/MatMul (defined at /home/caoyq/transformer-xl-master/tf/model.py:54)  = MatMul[T=DT_FLOAT, transpose_a=false, transpose_b=false, _device="/job:localhost/replica:0/task:0/device:GPU:0"](transformer/layer_0/rel_attn/qkv/Tensordot/Reshape, transformer/layer_0/rel_attn/qkv/kernel/read)]]
`

Hello，I have met the same issue，could you please tell me how to solve the problem? Thanks!


Can you provide the checkpoints

Great work! I would like to know if you will provide the checkpoints.

wget https://download.pytorch.org/models/resnet50-19c8e357.pth

Great work! I would like to know if you will provide the checkpoints.

wget https://download.pytorch.org/models/resnet50-19c8e357.pth

Great work! I would like to know if you will provide the checkpoints.
Thank you. What I meant was whether you can provide the weights for genAD.

wget https://download.pytorch.org/models/resnet50-19c8e357.pth

Great work! I would like to know if you will provide the checkpoints.

Thank you. What I meant was whether you can provide the weights for genAD.

The early version of the checkpoint has been added. Please check the readme.


Log request method

Tiny addition to add the method to the default request logger. I think it's super useful.
Before:
[REQUEST] /basicReq 200 OK (2 ms to finish, 38 ms total) (keepalive)
After:
[REQUEST] GET /basicReq 200 OK (2 ms to finish, 38 ms total) (keepalive)

Seems reasonable to me! Thanks!


RTS-254 Time Series uses the write once path

Add the "write_once":true property for bucket types with the table_def property since time series always uses write once.  An error is thrown if write_once is specifically set to false.
Key rewriting has been removed from the normal path in riak_kv_vnode and put into the riak_kv_w1c_worker.  If the riak_object has the <<"timeseries-local-key">> key in its meta data then this is the key that should be used to write the value and use the msgpack encoding.

+1


PyTorch sentiment analysis example

A sentiment analysis example which demonstrates:

Customizing NLP dataset processing with torchtext
Implementation of RNN model with simple attention mechanism
PyTorch train process, backpropagation and calculating accuracy

Please add a README.md first.
By the way, could you provide a script for inference as well?
In the README, a customer may know how to prepare his dataset, how to do inference with the trained model.

Inference code added.
Readme will be added later for all pytorch examples.


ci: basic validation

Add basic validation to CI via CLI

@bunfield, would you look over the CLI change? @ilzheev, would you look over the validate job, in case there's anything else you think I should add?


Link Preview too small 🐜

Discussed in https://github.com/Chatterino/chatterino2/discussions/3462

Originally posted by romeogiggletoes January  3, 2022
Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue
I find that the previews are very hard to read with it being so small. Sometimes the preview is slightly bigger than others, but for example the runescape screenshots caught by Scriptorex are way too small. No matter how close I get to my screen I cannot (LUL) make out what is suppose to be portrayed. My display might just be bugged though I can send a screen shot of it
It seems like the first link preview in #1664 was a little bit bigger, but still not big enough.
Screenshots

No response
OS and Chatterino Version
Chatterino Nightly + Dankerino patches 2.3.4 (commit 3044f4a5d, ) on Windows 10

Moving this comment from the earlier discussion
Possible fix: Modify the 'large' option for link previews to be bigger or alternatively make an extra large option. I have shown below how big I thing it should be.

Edit: With some help from Karar I learned that you can put in pixels how large you want the preview, however it's way too blurry to be useful. What I was more so referring to was to make the preview bigger while keeping the same image quality. As a side note, I do like that there can be custom values for this and not just the default presets, however as previously stated, anything larger than the 'Large' preset isn't really usable.

The braize API is this: https://github.com/chatterino/api. The maximum thumbnail size by default is 300 and I believe that instance uses the default config.

I see. Is there anything that could be done here then? I don't know if altering the thumbnail max size is feasible.

@pajlada What would be your opinion on upping the thumbnail size for the official Chatterino API instance?
We could also have an option to fetch the thumbnail directly from the client and not proxied through the API (needs to be an explicit opt-in due to the privacy risk), but I don't think it is the best thing to do.


What's the future here?

I would be interested in using strict yaml subset. Is there any chance this would ever be merged back into https://github.com/chyh1990/yaml-rust ? And somehow got serde support?

I concur. We can make pull requests, but we need something to happen. I guess the other option is to fork and develop separately...

Hello gentlemen. I'm sorry for having missed your comments, it seems notifications were somehow disabled, whihc I fixed. I intend to maintain this fork of yaml-rust but the chance of the changes making it back to yaml-rust are near zero since the original author no longer seems active on github.

@chyh1990 Hi! We hope you're OK. If you ever see it, can you please let us know?

@dpc I've forked serde-yaml to create serde-strict-yaml and should push it soon to it's own repository. Would you mind reviewing it before I publish it as a crate?
It turns out to be a good test application for strict-yaml-rust. It's much simpler than the original serde-yaml as it only deals with string scalars. Emitting strict-yaml is just turning everything to a string. Conversely, reading strict yaml does not attempt to parse the strings into other value types.

Did you complete the serde-strict-yaml stuff?


[BUG] tty_* observations not changing during rollout

🐛 Bug
For some reason the tty_* observations do not change during the episode, while the pixel does. Maybe I'm doing something wrong?
To Reproduce
import imageio
import minihack
import gym
from IPython.display import Video

env = gym.make("MiniHack-Room-Random-15x15-v0", observation_keys=["pixel_crop", "tty_chars"])

obs = env.reset()
done = False

images = [obs["pixel_crop"]]
first_tty = obs["tty_chars"]

while not done:
    action = env.action_space.sample()
    obs, reward, done, _ = env.step(action)
    images.append(obs["pixel_crop"])

(first_tty - obs["tty_chars"]).sum()  # this always 0 for me which is just impossible as actor is definitely moving and not standing still

imageio.mimsave("rollout.mp4", images, fps=16, format="mp4")
Video("rollout.mp4")

https://user-images.githubusercontent.com/25152289/232251121-cc9732c1-794f-459f-b913-8a497aa2fac2.mp4
Expected behavior
At least tty_chars should be changing as actor is moving ("@" char), as well as tty_cursor, as it should be on actor by default (probably).
Environment
MiniHack version: 0.1.4
NLE version: 0.9.0
Gym version: 0.23.0
PyTorch version: 2.0.0
Is debug build: No
CUDA used to build PyTorch: None
OS: Mac OSX 13.2.1
GCC version: Could not collect
CMake version: version 3.25.2
Python version: 3.9
Is CUDA available: No
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
Versions of relevant libraries:
[pip3] functorch==2.0.0
[pip3] numpy==1.23.4
[pip3] torch==2.0.0
[pip3] torch-ac==1.4.0
[pip3] torchvision==0.14.1
[conda] functorch                 2.0.0                    pypi_0    pypi
[conda] torch                     2.0.0                    pypi_0    pypi
[conda] torch-ac                  1.4.0                    pypi_0    pypi
[conda] torchvision               0.14.1                   pypi_0    pypi

I think I figured it out, all states are changed inplace inside the nle...


[5.8] Fix default theme for Markdown mails

As metioned in this comment on pr #29132,
the pull request breaks the config mail.markdown.theme because it will be overwrited on:
https://github.com/laravel/framework/blob/aed06b10f44b24928aeffa589f630bf5b5c19ed8/src/Illuminate/Notifications/Channels/MailChannel.php#L96-L98
This PR leave the MailMessage::$theme null so MailChannel will ignore it.
The feature added in PR #29132 still available.

cc @JackWH, @troccoli can you take a look on this?
I wonder if there need to add more test?


cannot open roadnet file

Background
I have two sets of copies of config files: config.json, 1x1_roadnet.json, and 1x1_flow.json. One in /home/isaac/gym_cityflow/gym_cityflow/envs/1x1_config and another in /DATA1/isaac/gym_cityflow/gym_cityflow/envs/1x1_config.
1x1_roadnet.json and 1x1_flow.json are exactly identical in both directories and config.json are almost identical except for "dir".
However, instantiating Engine from /home/isaac/gym_cityflow/gym_cityflow/envs/ works fine while doing the same under /DATA1/isaac/gym_cityflow/gym_cityflow/envs/ doesn't work.

config.json
the contents of config.json are:
/DATA1/isaac/gym_cityflow/gym_cityflow/envs/1x1_config/config.json
{
        "interval": 1.0,
        "seed": 1,
        "dir": "/DATA1/isaac/gym_cityflow/gym_cityflow/envs/1x1_config",
        "roadnetFile": "1x1_roadnet.json",
        "flowFile": "1x1_flow.json",
        "rlTrafficLight": true,
        "saveReplay": true,
        "roadnetLogFile": "roadnetlog.json",
        "replayLogFile": "replay.txt",
        "laneChange": false
}

and
/home/isaac/gym_cityflow/gym_cityflow/envs/1x1_config/config.json
{
        "interval": 1.0,
        "seed": 1,
        "dir": "/home/isaac/gym_cityflow/gym_cityflow/envs/1x1_config/",
        "roadnetFile": "1x1_roadnet.json",
        "flowFile": "1x1_flow.json",
        "rlTrafficLight": true,
        "saveReplay": true,
        "roadnetLogFile": "roadnetlog.json",
        "replayLogFile": "replay.txt",
        "laneChange": false
}

you can see that both config.json files are identical, except for "dir".

1x1_roadnet.json and 1x1_flow.json
both copies of 1x1_roadnet.json and 1x1_flow.json are exactly identical. They are created from: python generate_grid_scenario.py 1 1  --roadnetFile 1x1_roadnet.json --flowFile 1x1_flow.json --dir . --tlPlan --numLeftLanes 2 --numRightLanes 1 --numStraightLanes 5 --turn.

Error
When I start python interpreter under /home/isaac/gym_cityflow/gym_cityflow/envs and:
>>> import cityflow
>>> eng = cityflow.Engine("1x1_config/config.json")

I get no error and Engine is instantiated correctly.
However, when I do the same under /DATA1/isaac/gym_cityflow/gym_cityflow/envs, I get:
>>> import cityflow
>>> eng = cityflow.Engine("1x1_config/config.json")
cannot open roadnet file
loading roadnet file error!
load config failed!

In /DATA1/isaac/gym_cityflow/gym_cityflow/envs/1x1_config/config.json, add a slash to the end of dir, that is,

"dir": "/DATA1/isaac/gym_cityflow/gym_cityflow/envs/1x1_config/"

I hope this will help.

Wow, I can't believe I've missed that. Thanks so much!

hello, please i need help with this error and it would be kind of you if you guide me how to use this project and what should be the output
this is what i have done to have the loading error
maymouna@DAUBSUMOTST001:~$ docker run -it cityflowproject/cityflow:latest
root@c2b5881a626d:/# cd home
root@c2b5881a626d:/home# cd cityflow/
root@c2b5881a626d:/home/cityflow# cd examples/
root@c2b5881a626d:/home/cityflow/examples# ls
config.json  flow.json  roadnet.json
root@c2b5881a626d:/home/cityflow/examples# pythin
bash: pythin: command not found
root@c2b5881a626d:/home/cityflow/examples# python
Python 3.6.5 |Anaconda, Inc.| (default, Apr 29 2018, 16:14:56)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import cityflow
eng = cityflow.Engine("config.json")
cannot open roadnet file
loading roadnet file error!
load config failed!


Fix typo in definition

Trivial patch, but I noticed this while reading.
HTH, Luis

@luispedro Thank you.


docs(sprinkles): fix typo

Use "was" instead of "were"

Because this line describes an alternate way of thinking, rather than reality, it uses the subjunctive mood. "Were" is correct in this case.
https://www.grammarly.com/blog/was-vs-were/


Update nethsm dependency

This update pulls in multiple relevant changes, mainly:

The auto-generated client is only loaded if required.  This improves execution times significantly, especially for simple commands.
Key certificates are now always stored as raw bytes, not as strings, so the get-certificate and set-certificate commands had to be updated.
Changing the backup and unlock passphrases now requires passing the current passphrase.
Using enums instead of strings.
Using stronger types and dataclasses for some methods.
NetHSM API changes that are not visible in the public Python API.

On my machine, this reduces the execution time for simple commands like version or --help from 0.9 s to 0.3 s.

This also enables strict typing checks for the nethsm CLI module so that updates will hopefully be easier in the future.

The latest API Spec contains three warnings. Could these or similar warnings be shown when calling the appropriate commands?


Proposal of Cloud-Robotic AI Benchmarking for Edge-cloud Collaborative Lifelong Learning

What type of PR is this?
This PR is a proposal of Cloud-Robotic AI Benchmarking for Edge-cloud Collaborative Lifelong Learning.

What this PR does / why we need it:
Based on real-world datasets provided by industry members of KubeEdge SIG AI, this project aims to build a lifelong learning benchmarking on KubeEdge-Ianvs. Namely, it aims to help all Edge AI application developers to validate and select the best-matched algorithm of lifelong learning.

Good job. The overall proposal makes a great test environment for lifelong learning users on Autopilot.
As mentioned on the SIG AI meetings, the travel mode has been modified as city mode, which takes different vehicles of different cities as mobile nodes, which looks good to me.

/lgtm

/lgtm

/lgtm

/approve


new smiles in the HELM input have to be presented as a temporary monomer

Inline smiles are now added temporarily added to the monomer store. This function was also tested.


Remove experiments

Moved all the experiments to a different repository (here).

Closes #241
NOTE I made this PR merge directly into main, this is not a mistake. I think there is no point in merging to into dev first

maybe we could also leave a link to the experiments repo in academia's README.md


Large memory footprint for trained LSTM

Hi,
When saving out a trained seq-to-seq model, it's taking up over 4GB on disk. A quick estimate of the space needed for the parameters given our model architecture is closer to 10MB, so I'm assuming most of this is due to the batch size and sequence length.
Since at run-time we won't need most of this with the trained model, is there a way to shed most of these tensors that are only needed during training?
Thanks!

Try :clearState()

@FBMachine You could also try :
require 'dpnn'
model = nn.Serial(model)
model:mediumSerial()

model:mediumSerial() made a huge difference. Thanks!


tag filtering is broken in the latest version (v20230201)

Describe the bug
Tags filtering doesnt find any tags, though API returns the tag of interest.
To Reproduce
Steps to reproduce the behavior:

Go to Incidents
Click on New
Scroll down to Tags
Enter some tag name to search for
See empty dropdown

Expected behavior
I want to see the tag :)
Desktop (please complete the following information):

OS: linux, ubuntu
Browser firefox
Version 109.0.1

Additional context
The error in the console:
TypeError: a.item.project is undefined
    fn http://dispatch-dev.mnv:8000/assets/TagFilterAutoComplete.89e24ed2.js:1

And indeed, the tag in the response doesn't have "project" field:
{"items":[{"id":14,"name":"some_tag","source":"dispatch","uri":null,"discoverable":true,"description":"Generic tag","tag_type":{"id":3,"name":"some_type","exclusive":false,"description":"some desc"}}],"total":1}

This route:
https://github.com/Netflix/dispatch/blob/3485c7c1505a7976bbd6ff9b2696a1b2ffd5221f/src/dispatch/tag/views.py#L23
Queries Tags object:
https://github.com/Netflix/dispatch/blob/3485c7c1505a7976bbd6ff9b2696a1b2ffd5221f/src/dispatch/tag/models.py#L15
Which has the ProjectMixin:
https://github.com/Netflix/dispatch/blob/3485c7c1505a7976bbd6ff9b2696a1b2ffd5221f/src/dispatch/models.py#L24
And project is not loaded, as well as timestamp fields.
Timestamp and Project define fields through inheritance, maybe this is the reason? I checked, the version of Pydantic is latest, while sqlalchemy is 1.3, while latest minor stable is 1.4 and they issued 2.0. But this might not help..

Hi @vindex10 I believe this is already fixed on master, would you be able to pull it down and confirm? We had some bug fixes after the last release and probably need to tag another release with those fixes.

I've created a new release with those fixes (v20230213).

Thank you, @kevgliss . I tried on the current master: 3485c7c1505a7976bbd6ff9b2696a1b2ffd5221f
It worked!


-Wformat=2 vs -Wformat

In Clang, -Wformat (https://github.com/llvm/llvm-project/blob/c7b3ae5ab9c8ffc19db00bd6e995d225ac1013e9/clang/include/clang/Basic/DiagnosticGroups.td#L978) includes more useful diagnostics than -Wformat=2 (https://github.com/llvm/llvm-project/blob/c7b3ae5ab9c8ffc19db00bd6e995d225ac1013e9/clang/include/clang/Basic/DiagnosticGroups.td#L984). It might make sense to consider suggesting -Wformat because it includes the same diagnostics as -Wformat=2 as well as many other more problematic situations (like invalid specifiers, insufficient number of args, overflow, etc).

Clang Documentation https://clang.llvm.org/docs/DiagnosticsReference.html#wformat
See gcc: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
Unfortunately this appears to be an unintentional divergence between gcc and clang.
Possible solution: “-Wformat -Wformat=2”. Adding the second option would make the first option a no-op in gcc, but might add the options desired in clang. We need to test this.

Test case for the difference between -Wformat, -Wformat=2, and -Wformat -Wformat=2: https://godbolt.org/z/Mvze5boq7
The outcome is that -Wformat=2is redundant in Clang if -Wformat is already specified, whereas -Wformat is redundant in GCC if -Wformat=2 is already specified, but the combination -Wformat -Wformat=2 still works for both compilers.


Jekyll Collections not sorting by date

Describe the bug
In both the default and manually specified sortable_fields: ['fields.date'], the collection (events) is sorted by their file name and not their front matter date. This is the repository https://github.com/techworkersco/twc-site-berlin, and the admin-configs

In either situation, the files "sorted" by date, show collection of events 1.md, 10.md, 11.md, 2.md, 21.md etc..
Expected behavior
I'd expect that the date column is used to sort the files

Hi @shushugah I believe this is a duplicate of https://github.com/netlify/netlify-cms/issues/4637.
You should use ISO format for the dates in order for the sort to treat them as dates and not strings (until that issue is resolved).
See https://raw.githubusercontent.com/netlify/netlify-cms/master/website/content/blog/netlify-cms-2-4-0.md
Closing, please comment if you have additional questions


Add fullPage support please

fullPage  When true, takes a screenshot of the full scrollable page. Defaults to false.

Hi @akan,
This has already been implemented in #13. If you pass fullPage=1 in the query parameters it'll render the full page. Sorry the documentation/README hasn't been updated with info about this.


return value from jquery input

WHY
BEFORE - What was wrong? What was happening before this PR?
atleast all select multiples plus select_and_order that I tested was not return the correct value. It always returned the last value added and not an array of the current values.
AFTER - What is happening after this PR?
Returning the value from the jquery element seems to fix this.

Confirmed, merged! That's crazy, it's like jQuery was created to standardize JS quirks or smth 😅👀


Getting keypoints from video

Thank you for great work and sharing code!
Do you maybe know some framework which can be used to extract keypoints in format used in the code?

For RGB videos, https://github.com/vita-epfl/openpifpaf is easy to be used.


Add daily.dev site

daily.dev is a professional network for developers to learn, collaborate, and grow together.

@Saqlain-qark go ahead and add it

Thanks will work on it and let you know asap

I raised this issue. Why am I not getting assigned for this? @JasonDsouza212

sorry for taking your issue, btw i wanted to mention i have made changes and added it and created a pull request hope it gets approved


cmake: fix relative path calculate error

Fixes https://github.com/zephyrproject-rtos/zephyr/issues/74647

The build directory absolutely is local generated directory, not public for other.

No, the build directory is not "100% private": to make sure the build is reproducible you need to compare object files.
Reproducible builds are important for security, for instance they help with "JiaT75" issues. Comparing build directories also helps catching small but harmful differences between CI and developers and between developers.
For more context see #50205, #14593, https://www.cisa.gov/sbom, https://reproducible-builds.org/ etc.

@marc-hb @ithinuel I've reworked a version that will still use relative paths, but adds support for link paths.


Aerials 1.2 on macOS 10.13 High Sierra has some display flickering/scaling issues

Hello,
Thanks very much for making Aerials!  I was playing around with it on a macOS 10.13 High Sierra developer beta, and I noticed Aerials seems to have a flickering scaling issue (it rapidly switches between a narrow/wider scaling), and occasionally shows some other display issues like white bars flickering at the top and bottom of the display.
Let me know if there's any additional info or logging I may be able to gather to help.
Thanks!
H

Sorry, just noticed #374 already pointed out High Sierra issues, I'll close this one.

Duplicate of #365


Please explain what the launch.json file should contain for API debugging.

Unless you followed just the right recipe, out of many possibilities, for creating your project, the launch.json file might not be set up to just magically start the API in the VSCode debugger. It would be very helpful if this page explained, or provided a reference to, the required content of the launch.json file.

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

ID: e4071ee2-abad-4d21-7f38-346985c152ae
Version Independent ID: 4c6f16f1-b40f-0933-9305-de14ea7b9f59
Content: Set up local development for Azure Static Web Apps
Content Source: articles/static-web-apps/local-development.md
Service: static-web-apps
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@dwmuller, Thanks for taking time to share your valuable feedback! We are taking a look into this and will get back to you soon.
@craigshoemaker, Requesting your comments on this.

I have added a sample launch.json to the article. Thanks for your feedback, @dwmuller!
#please-close


Backport bitcoin#11818: I accidentally [deliberately] killed it [the ComparisonTestFramework]

This PR backports bitcoin#11818 to get rid of bip9-softforks.py and BitcoinComparisonFramework
~This is based on #3277 and #3278 (please ignore the squashed commit while reviewing).~

Rebased on develop to remove all unnecessary commits


Reword the pipeline deployment

Also add a non space character at the end of the doc to workaround  #322 temporarily

This change is

/assign @sarahmaddox


Include folders methods

Are there any plans to support this?

+1 would love folders support in this SDK


python-packages easydict: init at 1.7

Motivation for this change
https://pypi.python.org/pypi/easydict/ has no Nixpkgs package.
Things done

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

[X] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

pushed 4c623b3d92


Remove all dependencies for JCenter as it is being discontinued

Description of the issue:
https://github.com/GoogleContainerTools/jib/search?q=jcenter
JCenter is being removed, and all plugins and dependencies that have it listed as a dependency will fail fetching when they schedule their brown outs and eventually their blackouts
https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/
What happens after the sunset of Bintray and JCenter?

On May 1, 2021, the sunset will impact all existing Bintray users. Bintray users will be blocked and will no longer be able to use the Bintray service. This includes existing software distribution, account administrative access, UI access, and the REST API.

After this date JCenter repository will still resolve artifacts, but end users should migrate to the canonical repo (e.g. Java packages should be retrieved from Maven Central). On Feb 1st, 2022 JCenter will only resolve artifacts for Artifactory clients.

Gradle migration guide: https://blog.gradle.org/jcenter-shutdown
Expected behavior:
Dependency of jcenter is removed to avoid brown outs and a complete shutdown is planned for February 2022
Steps to reproduce:
Read articles and attempt to build a project that has Jib Gradle as a dependency during brown-out periods.

Interesting. Thanks for the heads-up!

Np. There was a brown out last week that caused our project to fail building :(

It's interesting to note it will remain as a reliable read-only repo indefinitely.
https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

UPDATE 4/27/2021: We listened to the community and will keep JCenter as a read-only repository indefinitely. Our customers and the community can continue to rely on JCenter as a reliable mirror for Java packages.


May I know if "yazi" supports automatic line wrapping in file preview？

Sometimes, for instance when viewing HTML files, there can be extremely long single lines in the file. In such cases, the automatic line wrapping feature can be helpful. Additionally, to aid this functionality, the preview feature may benefit from having line numbers.

I've thinking about this as well. HTML with extremely long lines is generally compressed or obfuscated and is not inherently readable, and it's not clear whether splitting it up and displaying it would make it readable.
Also, whether to add line breaks or horizontal scrolling support is another thing to consider. At the moment, line breaks only apply to textual content such as code, but horizontal scrolling applies to a much wider range of content, such as directories, archive files, etc.


[PR INTO CRUTKAS BR] Fix the localization pipeline

Fix localization
This commit makes a few changes:

It introduces a couple scripts for moving localization files
around based on Touchdown's output shape. They are well-documented.
It rewrites portions of the RESX->RC converter to avoid resgen and
handle the new touchdown language types.

this is ready to go in to my branch?


Missing "edition" in Cargo.toml

Can not compile with Arrow dependency (v23.0.0) if edition is not set in Cargo.toml, simply add the following line
edition = "2021"

below [package], or just somewhere above [dependencies].

Thanks !

This is resolved.


Copy button is not working

The copy button in the extension installation command is not working.
To Reproduce

Go to any extension and try to copy the installation command using the copy button
Try to paste it somewhere

OS: [ linux ]
Browser [ Chrome ]

Hi,
Thank you for opening the issue. Sorry to hear you are experiencing this issue. It appears to be specific to VS Code editor and tools. It is best to reach out VS Code team at  https://github.com/microsoft/vscode/issues.
-VS Marketplace Team


Switching from vim to terminal while split pane tmux within the fish shell doesn't work

Hello @JonahMoses, I've not seen this before. Are you on Windows by any chance? (it is mentioned in the help for E484).
My guess is the system call is failing and or can't find tmux. Can you test the following in Vim and share the output: :call system("tmux list-sessions")<cr> (type the command in Vim command prompt and hit enter).

I'm on Mac os 10.10.3, vim 7.3, fish 2.1.2.
when I put ":call system("tmux list-sessions")" into vim I get "E488: Trailing Characters"
p.s. I've thoroughly enjoyed your plugin and am incredibly astonished how quickly you responded and how helpful you're being! Thank you for being awesome and building awesome things!

My pleasure, and thanks for the kind words. Based on what you're describing I would guess that it has to do with Fish since that is the unknown element for me. Can you compare the following:

:echo system("ls")
:echo system("tmux -V")

Vim needs to be able to talk to tmux for this plugin to work. Have you had success with any Vim + tmux stuff in the past, or is this your first try? It might be that you need to set your shell in Vim to be fish, or that you need to add a PATH entry for tmux into your non-interactive startup file for whatever shell Vim is using.
Try the commands above and let me know what they produce.

I've used vim and tmux with zsh before and it worked well. I recently switched to fish.
":echo system("ls")" - lists out the directory I'm currently in.
":echo system("tmux -V")" - 'tmux 1.9a'
These are the responses I get while in vim not within tmux and vim within a tmux session.

Just upgraded to vim 7.4.712 and am getting new results:

when not inside tmux but within vim, I type "echo system('tmux -v')" and I get "open terminal failed: not a terminal"
when inside tmux and vim, I type "echo system('tmux -v')" and I get "sessions should be nested with care, unset $TMUX to force"

Hello @JonahMoses, not sure what the outside of tmux error is, but for testing within tmux, the -v needs to be -V. (-v is not supported and as such tmux seems to ignore it and try to run the bare tmux command which creates a session. tmux -V with the big V is for the version output).

@christoomey sorry strictly my fault for not capitalizing the -v, however in my tests I was utilizing -V


Update init.py

Removes the generator.
Self is already iterable so an additional generator is overhead.  I think this may have been useful at some point because other data types may have been allowed?  (Which would need to be converted to string before join.)
However, _iter_node_context() currently prevents this.  Unexpected data types result in a ValueError (which probably should be a TypeError, now that I think of it), everything else is ultimately converted to string.
I get around a 2% speedup from your benchmark script with the generator removed.  Not a huge difference but better than a poke in the eye.

Good catch, thanks for fixing this! It is probably a left over since before.


Filesystem S3 driver: read files that are inside a folder without a name

Laravel Version: 5.5.45
PHP Version: 7.2.17

Description:
Hello,
I can't read a file with a path that contains a folder without a name, like this: folder//sub_sub_folder/file.txt (note the double slash).
Neither the exists nor the get methods can retrieve files from this kind of path but in the S3 management console I can write and read from those paths.
I know the best thing to do is to avoid path like that but I can't because I don't have control over these auto-generated files (they weren't created by me).
The has and read methods of League\Flysystem\AwsS3v3\AwsS3Adapter work if I use them directly.
If I use exists and get methods from the laravel class Illuminate\Filesystem\FilesystemAdapter I get false and an Illuminate/Contracts/Filesystem/FileNotFoundException exception respectively
How can I read these files?
Thanks in advance
Steps To Reproduce:
Just create a file in the S3 console with a path like the previous example and use Storage::disk('s3')->get('path//to/file')

Which version of the adapter are you using?

league/flysystem-aws-s3-v3 version 1.0.22
aws/aws-sdk-php version 3.91.5

I don't have time right now to reproduce it but I'll take your word for it. Welcoming prs to look into this.

Is this also the same case in 5.8?

Thanks, I will try with Laravel 5.8 in these days to see what happens

A colleague of mine tested it and it fails even with Laravel 5.8

I wonder if this happens with other adapters or if it is just the S3 one.

I found the problem in League\Flysystem\Util::normalizeRelativePath, used in most of the methods of League\Flysystem\Filesystem. This function breaks these weird paths.

@ManuDoni so this problem actual exists in the Filesystem library of the league? Can you reproduce this with just the basic league library?

Yes, but feel free to close this issue because of this: https://github.com/thephpleague/flysystem-aws-s3-v3/issues/169#issuecomment-484842891.
I will use AWS SDK directly to solve this issue.


Add bulk response

We should have a BulkResponse that can be used to iterate over the outcome of operations.
I'm not totally sure what this should look like yet, since the response could look similar for non-success statuses. It's probably least surprising to return Ok for any non-exception response and have a convenience method for asserting all ops succeeded, or iterating over them manually.

I think BulkResponse is also a good candidate for serdes new zero-copy deserialisation, since it might be quite big.

I've been working on this and experimenting with the idea of splitting successful and failed bulk responses into separate Vecs. The reason being I think a caller would generally care more about any ops that failed, or at least treat them totally differently to ones that succeeded.
The way the deserialisation is done we could also support a struct that only keeps failed ops, and doesn't allocate space for the others. This could make use of serdes new non-allocating deserialisation to get a temp result and discard it if error = None.


camposforms

Not acceptable merge request. please add a valid changes and create a another merge request.
Thanks


Archive by id or _id fails in MongoDb

Sails version: 1.0.2
Node version: v8.10.0
NPM version: 3.5.2
DB adapter name: sails-mongo
DB adapter version: 1.0.1
Operating system: "Ubuntu 18.04"

Hello, I have detected that the "archive" method fails in MongoDb when you set the config property "schema" to true and try to do a "soft delete" for id or _id.
fn: async function (inputs, exits) {
    // That line fails
    await SharedDocument.archive({id: "5b0fae71d8785b29956bf65f"})

   // That line fails too
    await SharedDocument.archive({_id: "5b0fae71d8785b29956bf65f"})

    return exits.success({ status: "Ok" });
  }

With either of the two cases (id or _id) the following error occurs
Could not use the provided `where` clause.  Could not filter by `_id`: `_id` is not a recognized attribute for this model (`shareddocument`).  And since the model declares `schema: true`, this is not allowed.

Then, if you show the database, there are two copies of the record, one in SharedDocument, and other in archive, so I guess sails is failing to delete the original.
This only happens if the model config parameter "schema" is set to true
Thank you guys!

Hi @lcavero, thanks for providing info about this duplicate phenomenon when the model config parameter "schema" is set to true.

@lcavero Feel free to submit a PR for sails-mongo to patch this and we'll take a look.

Hi, has there been any patch for this error yet? I am trying to use Waterline with Mongo DB but this issue still pops up when trying to archive.

Just to make a note on my work around for anyone running into this error. I created a helper function that calls archive/archiveOne and catches the error where it checks if it was added to archive and if so call the destroy method.

@simplewilliam - Thanks for taking the time to provide a workaround - any example code or repo is further welcome.  Currently, we have several plans in store for sails-mongo, I'll bring this one up with the team.

@johnabrams7 - Thanks for looking into it, the following code can be placed within a helper function to act as an alternative for the archive function when trying to archive by id
    fn: async function(inputs, exits) {
        const { model, id } = inputs;
        let archivedDocument;
        try {
            archivedDocument = await model.archiveOne({ id });
        } catch (err) {
           var archived = await Archive.find({
           originalRecordId: id,});
           if (archived) {
               archivedDocument = await model.destroyOne({ id });
           }
        }
        return exits.success(archivedDocument);
  }

Same here, can not do:
Model.archiveOne({id: id})
Got the following error:
Could not use the provided whereclause.  Could not filter by_id: _id is not a recognized attribute for this model

@solovieff We tested with the latest version of the adapter and it worked for us.  Could you create a repo reproducing the error?


[R] Implement lubridate::with_tz and lubridate::force_tz

Reporter: SHIMA Tatsuya / @eitsupi
Assignee: SHIMA Tatsuya / @eitsupi
Watchers: Rok Mihevc / @rok
Related issues:

[R] Implement lubridate::with_tz and lubridate::force_tz (is duplicated by)
[R]: Lack of assume_timezone binding (is related to)

PRs and other links:

GitHub Pull Request #14093

Note: This issue was originally created as ARROW-17416. Please see the migration documentation for further details.

Issue resolved by pull request 14093
https://github.com/apache/arrow/pull/14093


Support for MetaDataType attribrutes

I don't expect this pull request to be approved but I'd like to suggest an idea.
Anyone who was worked with any code generation tools(many here have with Entity Framework) you know the importance of fast iteration and avoiding code overwriting. Entity Framework takes care of this with MetaDataTypeAttribute (Example)
I'd like to propose adding a config option to sergen to default classes to 'partial'(I'm working on this now) combined with MetaDataType support it will allow us to:
1.) Create a separate partial class in a different file than the generated files(Rows,Form,Repos,etc) which enables us to extend upon the generated code without worry over it being overwritten
2.) Apply MetaDataAttribute to the new partial class and decorate individual properties with custom attributes(such as Serene's Hidden, Default, Insertable, etc)
3.) Iterate very quickly and as soon as we make any new database changes we can run Sergen generator without fear of having tens to hundreds of merge conflicts. I have dozens of tables and this was crashing my computer.
I know the tool has been mentioned to be 'use once then update manually' but I think if we can solve this, or at least partially solve this, it will make coding much more efficient, reduce errors, and keep better sync with the source database schema.
As for this particular pull request, I'm sure there is a better way to accomplish this, but it is working for now. I'll come up with something better

@Athl33t
Good idea. I have test your modifications and I find a problem:
It seems the ModelMetadataProviders  can not be used in dotnet core or dotnet standard.
I wish I'm wrong.
Thanks for your share.

Hi Andrew,
sounds very useful as I have often to add some fields after I have initially designed the table (and already generated the neccessary files with sergen - and either doing it with sergen or add everything manually just does not make fun.
As I am no dev pro, I can't comment on your Code directly.
Thanks for sharing this. Hopefully this or something like this flows into sergen.
With Kind regards,
John

Hi @19317362 @JohnRanger
Thanks for the feedback. This approach has been working beautifully, however I'm still testing other options to remove this dependency.
Currently I've updated the code generator to make all classes partial which allows me to do something like this:
    public partial class BundleProductsRow     {         partial class RowFields : RowFieldsBase         {             protected override void AfterInitialize()             {                 this.SellerType.EnumType = typeof(SellerTypes);                 this.ProductName.MinSelectLevel = SelectLevel.List;                 this.ProductId.AddCustomAttributes(new List<Attribute> { new LookupEditorAttribute(typeof(CustomProductsLookupEditor)) });                 this.Price.AddCustomAttribute(new CurrencyFormatterAttribute());                 this.ShippingCost.AddCustomAttribute(new CurrencyFormatterAttribute());             }         }     }
'AddCustomAttribute(s)' being extension methods.
        public static void AddCustomAttributes(this Field value, List<Attribute> attributes)         {             value.CustomAttributes = value.CustomAttributes.Concat(attributes).ToArray();         }
It's working for rows, but columns and forms still need their own separate logic. I've made some other changes as well such as updating the code generator to create a base class to automatically apply the grid auto-size feature you mentioned in #447
I'm brand new to Serenity, after I've learned the system and fully tested these for side-effects/performance I'll make some pull requests.

Hi, thanks for idea. I can't accept this as is, as it adds lots of dependencies to Serenity.Data.Entity while it shouldn't. And the place it injects doesn't seem right to me.
Actually, sergen is not supposed to be used second time. If you want it to override your files, you could rename old folder, generate code, then merge if you like.
I'd like to solve this with some kind of update row from DB functionality, which could be possible with a VS extension possibly. Anyway let's keep this open for now.

I have some other plans for this, it would be useful for removing dependencies from rows when needed.


IMPROVING THE UI OF THE AGE CALCULATOR

Title and Issue number
I can improve the UI of the age calculator using CSS and Bootsrap(Issue #1319)
Close #<1319>

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README1.md

README1.md

Readme 1 is added which is not required

But in the guidelines it is written to add a Readme file thatswhy i attached it