Added support for Unix sockets.

Added method RestClient::Connection::SetUnixSocketPath(), which triggers call to curl_easy_setopt(foo, CURLOPT_UNIX_SOCKET_PATH, bar)
Tested with my own project which uses restclient-cpp to connect to Docker over its unix socket ("/var/run/docker.sock") and pull a list of images.
I did not add a unit test because the existing unit tests are not hermetic, and it is a bit complex to stand up an HTTP server on a unix socket (I supposed form/exec nginx would do).

oh that's awesome. Thanks for the contribution!

hey @dennisjenkins75, can you resubmit this as a new PR? Sorry for the hassle, I got really excited about the change and merged it without noticing that CI didn't pass. I reverted it in master for now but would like to include it again as soon as CI passes

It took a while to find your CI instance, there is no obvious link to it.
CI failed because the libcurl in your CI container does not define the symbol "CURLOPT_UNIX_SOCKET_PATH":
https://travis-ci.org/mrtazz/restclient-cpp/jobs/532757288
This was added to libcurl in version 7.40.0, which appears to have been added on 2017-10-17:
https://curl.haxx.se/libcurl/c/CURLOPT_UNIX_SOCKET_PATH.html
Your travis.yaml declares to build from trusty, (14.04), which was released ages ago.
Can you update your CI environment to Ubuntu 18.04?  If not, I'll need to figure out the autoconf magic to conditionally include support for CURLOPT_UNIX_SOCKET_PATH.

CI is updated to xenial via #123.


Develop

Deployment file for github actions "main.yml".

Kindly update your create.jsx file.
Change "Listitems" to "ListItems" except your frontend can build with the current create.jsx file.


Display the liste of candidates as a table on admin side

The current layout takes up quite some space, a table with thick rows would be handy.
For now, the filters help to reduce the number of candidates, so not urgent.
We also may apply this idea to the public list? No? Why not? :)
I may be able to do it, since it's mainly HTML/CSS.

Je travaille sur une branche "feature".
Pour la récupérer proprement sur ton PC :
git checkout --track origin/feature/iss22-validation-table

Je ferme mais il y aura des améliorations mineures à apporter.


Update: EclipseAdoptium.Temurin.8.JRE version 8.0.322.9

- [X] Have you signed the Contributor License Agreement?

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.1 schema?

Microsoft Reviewers: Open in CodeFlow

@wingetbot run


bug: only bid price returned for dukascopy

Issue: Fields in request are ignored #6
https://github.com/cuemacro/findatapy/issues/6
Shouldn't have raised an issue#6 and just provided the explanation here.

I only can get bid using latest master branch.
This is my code:
import sys
try:
sys.path.append('C:/Python/findatapy')
except:
pass
from findatapy.market import Market, MarketDataRequest, MarketDataGenerator
# download and return requested data
# returns: pandas series with ticks
def download_data(start_date, finish_date, ticker):
md_request = MarketDataRequest(start_date=start_date, finish_date=finish_date,
category='fx', fields=['bid', 'ask'], freq='tick',
data_source='dukascopy', tickers=[ticker])
market = Market(market_data_generator=MarketDataGenerator())
return market.fetch_market(md_request)
ticks = download_data('1 Jan 2016', '2 Jan 2016', 'EURCHF')
#Let's see what we have
ticks.head(3)`
Out[4]:
Date
2016-01-01 00:00:01.265    1.109120
2016-01-01 00:00:01.572    1.109100
2016-01-01 00:00:01.881    1.109085
dtype: float32

Excellent.
7c1de6af83d6a and 4ca6a372fa4802 fixed it.
It works.
Thanks!
                     EURCHF.bid  EURCHF.ask

Date
2016-01-01 00:00:01.265     1.10895     1.10929
2016-01-01 00:00:01.572     1.10893     1.10927
2016-01-01 00:00:01.881     1.10892     1.10925
2016-01-01 00:00:05.857     1.10897     1.10928
2016-01-01 00:00:06.061     1.10897     1.10928


how to get json string, directly instead of having to serializing into a stream first?

  auto pr = toml::parse_file(toml_file);
  if (pr) {
    stringstream ss;
    ss << toml::json_formatter(pr.table());
    auto json_str = ss.str();
  }

The above does work, but an API like to_string() would be much more useful. Does it exist?

Doesn't currently exist, but could be added.

would be much more useful

It would be more useful for you specifically.

It would be more useful for you specifically.
sure and faster!

How would it be any faster? The formatters are all stream-based, so any implementation of this just do what you've done above, hidden in a function. It would be exactly the same speed
Unless you're implying I should re-write formatters, in which case, no.

Doesn't currently exist, but could be added.

and still closed?

Yes, I decided this feature would be far too niche to bother putting in the library itself.


ffs/manager: configurable persisted default CidConfig & better integrationtest setup

In this PR three things are addressed:

Closes #426
Fixes a bug regarding Replace on HotStorage not updating the cached pinset.
Reestructure integrationtest helpers better.

Looks good. Any thoughts or plan about how to expose those apis to grpc and the client/cli? Will be easy to add, but more a question of do we want to secure it with an admin auth token?

Yes, I created #386 some weeks ago to have that on the radar.


[Event Request] Application “Tests-Report”, Codeunit 134982 "ERM Financial Reports"

[Event Request] Application “Tests-Report”, Codeunit 134982 "ERM Financial Reports"

Could you please insert the OnTestInitialize Event at the beginning of the procedure Initialize?

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Compiling console lacking module

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request

Current behavior

When packaging EarlGrey with the "-P console" flag, compiler throws a "cannot find module" error for "./logs/logs.component".
Expected behavior

EarlGrey would compile with console support.
Minimal reproduction of the problem with instructions

1.- Run the command "mvn clean package -P console"
What is the motivation / use case for changing the behavior?

Trying to build EarlGrey with console support.
Please tell us about your environment:

Debian 9,
no IDE,
Apache Maven 3.3.9,
GNU Make 4.1,
gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1).

It's done. See the update at master branch.


vim solarized color looks wrong in xshell

same with u, I have tried everything I could, but still not display the correct  background color .

I just made it worked by change solarized.vim file.
I have set the correct darkblue as the background color of my XShell. So, when I let s:base03 and s:base02 equals to "NONE", I got my background of the XShell.   Here is the screenshot displayed where I changed. Hope it helps.

@jas0ns can you post XShell and VIM color scheme that you used to simulate solarized scheme?

@ddemyanov Of course，this is the color scheme of my XShell.
[Names]
count=1
name0=Solarized Dark
[Solarized Dark]
text(bold)=839496
magenta(bold)=6c71c4
text=00ff40
white(bold)=fdf6e3
green=859900
red(bold)=cb4b16
green(bold)=586e75
black(bold)=073642
red=dc322f
blue=268bd2
black=002b36
blue(bold)=839496
yellow(bold)=657b83
cyan(bold)=93a1a1
yellow=b58900
magenta=dd3682
background=042028
white=eee8d5
cyan=2aa198

Check line 29 of my .vimrc out for VIM color scheme.

@jas0ns thx


operators yaks (0.9.0)

Signed-off-by: Christoph Deppisch<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.
Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[x] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

@J0zi  @mvalarh  FYI I noticed all the ocp deploy tests failed due to the VPC limit being reached.
level=error msg=Error: Error creating VPC: VpcLimitExceeded: The maximum number of VPCs has been reached.
level=error msg=	status code: 400, request id: 4b16845e-205e-4e89-a192-f72c71c5[49](https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/redhat-openshift-ecosystem_community-operators-prod/990/pull-ci-redhat-openshift-ecosystem-community-operators-prod-main-4.10-deploy-operator-on-openshift/1506715138525237248#1:build-log.txt%3A49)6d

/retest

/test all

/test all

/merge possible


Add an Announcement block to the default home page

Describe the feature you'd like
Hoping to add an Announcement block to the default home page
Describe the benefits this feature would bring to BookStack users

It can be used to describe what the website is for.
It can be used to post some important notices.
It can be used to guide people how to use this website.

Additional context
I don't want to customize a new page to replace the default home pace  because the Activity Block and the Latest Page Block is also useful for me.

I need it such a function as well√


Where is Fit plot to window? (Spyder 6.0.0)

It was a fix to #13900, was it removed? (The new Fit plot to the panel size must be re-applied to every new image)

It was a fix to https://github.com/spyder-ide/spyder/issues/13900, was it removed?

Yes, it was removed.

(The new Fit plot to the panel size must be re-applied to every new image)

What do you mean by that? Every new image should be automatically fit to the Plots pane size after it's created. If that's not the case for you, please post a video of what you're seeing to better understand your problem.

Every new image should be automatically fit to the Plots pane after it's created

That's the problem explored in #13900, the resampling causes blur. See e.g. the OP https://github.com/spyder-ide/spyder/issues/13900#issue-712656206

only when high DPI is enabled

I'm still using normal scaling

I'll try to solve it in 6.0.2.

Glad to hear. Well, as that's in months and this and #22461 are high priority for me, I'll be using Spyder 5 for now.


Allow lens 4.12

snaplet-postgresql-simple seems to build and run with lens 4.12.3 (the latest), and presumably then 4.12.*.

Thanks.  This is up on hackage now.

Awesome; thanks for the quick turnaround.


added symbolic sum to valexpr

Copied + modified from 1897 branch in subversion
To do: also copy all tests

Two hlint warnings are not removed.

To cover Eq (in deriving cause) /= must be covered.
Test must return true, easiest case is thus not (s /= s)
Extension of tests -> with return it is clearer how to extend.
One TODO
Must still be investigated!

linked to #133


A confuse with how to use createRepository in SnapshotNamespace

Hi there!
I knew that ES can create snapshot and restore indices in the terminal ,as this:
curl -XPUT 'http://localhost:6800/_snapshot/respository' -d '{
    "type": "fs",
    "settings": {
        "location": "/mount/backups/udoo",
        "compress": true
    }
}'

But I just can't guess how to pass parameters to the createRepository in SnapshotNamespace, It has
two parameters:repository and body.
When I got this :
$indexParams = array();
$indexParams['repository']    = 'repository';
$indexParams['body']['index']  = 'udo_index';
$indexParams['body']['type']  = 'udo_item';
return ES_IndexService::instance()->snapshot()->createRepository($indexParams);
It says: repository missing ,after that,I manually create a repository,it got another error
thanks for your answer!

Not quite sure I follow... you need to recreate the JSON syntax in the PHP request.  Like this:
$indexParams = [
    'repository' => 'repository',
    'body' => [
        'type' => 'fs',
        'settings' => [
            'location' => '/mount/backups/udoo',
            'compress' => true
        ]
    ]
];

return ES_IndexService::instance()->snapshot()->createRepository($indexParams);

Or are you trying to do something else (e.g. like create a snapshot, not a repository) ?

It works ! thanks a lot !


One less variable assignment in comments_helper.rb

Tiny patch to this ✨ awesome project 👍
Also my editor cleans up some trailing spaces in CHANGELOG.md.

          1 Warning

  :warning:
  Tests were not updated

          1 Message

  :book:
  @JuanitoFatas is not a contributor yet, would you like to join the Danger org?

  Generated by :no_entry_sign: danger

Hah - thanks!
I try to keep the CHANGELOG user facing ( I'll update the PR template to mention that ) but I'm happy to have this one in there 👯
Would you like to join the org? as a part of Moya Community Continuity - you're welcome to participate in PRs or help out at a level that works for you

I try to keep the CHANGELOG user facing ( I'll update the PR template to mention that ) but I'm happy to have this one in there 👯

I'll remember it, thanks! 📔

Would you like to join the org? as a part of Moya Community Continuity - you're welcome to participate in PRs or help out at a level that works for you

Yes I would like to join, thank you! ❤


Any plans for supporting JSX?

Are there any plans for supporting JSX. And if not do you have any suggestions how I could combine esprima and JSX?

I used esprima-fb. Thanks.


[BUG] Only Bloxstrap Running As Background Processor

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[ ] My answer given in the checkbox above is a lie.

What problem did you encounter?
So whenever I open bloxstrap it says “Starting Roblox” but then it just disappears and runs in the background, and also I made sure that it is just a bloxstrap issue as I was able to launch the regular roblox client. If anyone would be able to help me that would be appreciated.

i fixed it by reinstalling bloxstrap


Rolls with Advantage/Disadvantage

In GitLab by @1augustbebel3 on Mar 15, 2021, 21:27
Add an option to roll with advantage/disadvantage either when rolling an ability score or when making a move.

Advantage: roll 3d6, automatically drop the lowest dice result.
Disadvantage: roll 3d6, automatically drop the highest dice result.

All three dice rolls are shown in the chat after rolling, with the dropped dice grayed out.
Damage rolls:

Advantage: roll two dice, pick higher dice result.
Disadvantage: roll two dice, pick lower dice result.

In GitLab by @Asacolips on Jun 11, 2021, 16:19
Implemented in 1.0.0


Feature/kube runtime

Describe what this PR does / why we need it
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

Why does your pull request not trigger all the github actions? Quite strange? @VinceCui Is it because you are handsome enough to grant you immunity.


Configurable promise

reintroducing the option to configure a custom Promise

Coverage increased (+0.2%) to 73.014% when pulling 203b873316e5bfa959ffa399193e366f9c4823b3 on configurable-promise into 05515983dc7f91d151ab58ffc43256cfe5e722dc on master.


OAuth token is not created (or is invalid) for strong authentication

Hello,
Sometimes i got this error while using mangopay php sdk :
OAuth token is not created (or is invalid) for strong authentication
Do you have any open issue on this message error ?
It works without problem 90% of the time and sometime, without any modification, i got this error message...
Thanks

Hello @Name-less,
Do you have this error when you are using a specific function? If you redo the call, do you still have the error?

This error is random so I can't reproduce it sorry...
Last time I get this error was 30/10/2023 at 18:51.
The error occurs on two specifics functions : cardregistration_create and users_allcards
reateObject [class] => MangoPay\Libraries\ApiBase [type] => -> [args] => Array ( [0] => cardregistration_create [1] => MangoPay\CardRegistration Object
and
rray ( [filter] => MangoPay\FilterCards Object ( [Active] => true ) ) ) ) [5] => Array ( [file] => /var/www/html/sites/bad-asso/vendor/mangopay/php-sdk-v2/MangoPay/ApiUsers.php [line] => 206 [function] => GetList [class] => MangoPay\Libraries\ApiBase [type] => -> [args] => Array ( [0] => users_allcards [1] => MangoPay\Pagination Object ( [Page] => 1 [ItemsPerPage]
Thanks for your answer.

@Name-less Thanks. We will investigate.

Same issue also on trying to request a PayIn (Hook callback).
Uncaught PHP Exception MangoPay\Libraries\Exception: "OAuth token is not created (or is invalid) for strong authentication" at /.../vendor/mangopay/php-sdk-v2/MangoPay/Libraries/AuthenticationHelper.php line 87

Any news on this ? When the error happens, our customers can't finalyse their paiement which is really embarrasing...

Any news on this ? When the error happens, our customers can't finalyse their paiement which is really embarrasing...


Does not work on FairphoneOS

Hi,
NLP doesn't work on my Fairphone 2 using the open source version of FairphoneOS (derived from AOSP 5.1; Sources here: http://code.fairphone.com/gerrit/). I tried the normal and the legacy version both as a user and a system app. It installs fine, but I don't get a location (tried different providers and same configuration works on an other phone using Omnirom). Is there some special patch I need to apply to the OS? Any way to debug?
Thanks!

I just checked the source code and it seems fp2-osos does not have third-party location provider support yet (which means that the GAPPS version is likely not working properly as well).
You can either use the Xposed module, sign UnifiedNlp releases using your platform key (= the key the AOSP build system uses to sign the operating system) or adjust the source code.
To adjust the source code you need to add com.google.android.gms to the config_locationProviderPackageNames resource array, either by modifying platform/frameworks/base/core/res/res/values/config.xml directly or by using an overlay (example)

Thanks for the answer, I've modified the config.xml but the behavior, but it still does not work. Do you have any other hint?

Just to clarify details: You did use modified config.xml with NetworkLocation.apk (or non legacy version from F-Droid) as a user app?
Can you try this version with the new Self-check to see what it reports?

I tried the non legacy version from F-Droid as user and system app.
The new version looks awesome :). I only get a checkmark for "Android version supported", nothing else.

This certainly means that the change did not apply correctly. Can you upload your /system/framework/framework-res.apk somewhere so I can check what went wrong?

http://jochens.sprickerhof.de/exchange/framework-res.apk

It seems like qualcomm is adding some fixed link to their proprietary location service through device/qcom/common/product/overlay/frameworks/base/core/res/res/values/config.xml. Remove this file completely or at least change config_enableNetworkLocationOverlay to true.
I don't understand how this fixed binding to a proprietary service can be published as "open"... Even more interesting is, that according to their license, you are not allowed to remove the now unused qualcomm location blob from the system (because qualcomm wants your tracking data) without removing all other proprietary blobs (various audio/video codes, libraries for gps, hardware crypto and camera)...
Summary: As with the first Fairphone, fair ends when it comes to the software part of the device...

That was it, thanks a lot! I will try to look into the other blobs as well.

Regarding the config_locationProviderPackageNames, I would propose to add the information to the readme. Should I send a pull request?

Thanks for figuring this out.
Would there be any way to modify the existing FP2 OS to support this?

@wvengen see my post in the forum: https://forum.fairphone.com/t/unified-nlp-on-fairphone-2/13156

@jspricke: I want to support also FairphoneOS in my patcher but I don't have it.
Can you please help me?
I need the original unpatched version of these files:
/system/framework/framework.apk
platform/frameworks/base/core/res/res/values/config.xml
device/qcom/common/product/overlay/frameworks/base/core/res/res/values/config.xml

Hi ale5000,

ale5000<EMAIL_ADDRESS>[2016-08-14 18:10]:

@jspricke: I want to support also FairphoneOS in my patcher but I don't have it.

I guess you want to support the closed source version (not
Fairphone Open OS).

I need the original unpatched version of these files:

You can get the current image here:
https://fairphone.zendesk.com/hc/en-us/articles/201189497-Fairphone-OS-downloads-for-Fairphone-1-Fairphone-2
Use https://github.com/xpirt/sdat2img to convert it to a filesystem
image.

/system/framework/framework.apk

That one doesn't exists, but there is a framework-res.apk in there.

platform/frameworks/base/core/res/res/values/config.xml

There are no sources for FairphoneOS, but it should be similar to the
one in Fairphone Open OS. You can clone the repo here:
git clone https://code.fairphone.com/gerrit/fp2-dev/platform/frameworks/base
git checkout 01e9b64~

device/qcom/common/product/overlay/frameworks/base/core/res/res/values/config.xml

same here:
git clone https://code.fairphone.com/gerrit/fp2-dev/device/qcom/common
git checkout 3ec3b72~
Cheers Jochen

There isn't an estimated time for this but I will see what I can do.
I want also support old versions of Fairphone Open OS that aren't fixed (but it is low priority).


Added translation & less file cleanup

I added lots of translation keys and cleaned up the less file.

Amazing job @Arany! Keep contributing :)


settings: Move custom input div inside the main setting div.

This PR moves "dependent-block" div inside the main
setting "input-group" div as the custom input is part of
that setting only. Also this will help in further refactoring
of settings code which will be done in next couple of PRs.
There are no changes visually, the space between settings
and inputs remain same.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

@timabbott this is ready for review.

Merged, thanks @sahil839!


Menu items are hard to expand

When you want to expand a hierarchical item in the menu without visiting the "dummy" index page, it is extremely tricky to hit the tiny arrow to only expand the menu (5px height)

It would be great if the space would be larger.
Even better approach might be to allow getting rid of the dummy index pages and let the items be expanded when clicking on the whole menu item (including the text). Expanding the items is desirable because you avoid the roundtrip to the server to fetch the extra index page. Also the "dummy" index pages usually have the same content as the menu index but often get out of sync (or they are not pretty), so some page is missing or they are reordered (like in the screenshot). To cover the case when you want to have in intro to a section, we can always add an item called Overview or something like that as the first one in the list.

Closed by https://github.com/scylladb/sphinx-scylladb-theme/pull/1314


Livestreamer libs not working with py2exe

Making a simple script and trying to create an executable out of it.
test.py
import livestreamer

stream = livestreamer.streams("http://www.twitch.tv/nl_kripp")
print stream

setup.py
from distutils.core import setup
import py2exe

setup(console=[{"script":"test.py"}],options={"py2exe":{"includes":["livestreamer"]}})

From cmdline:
python setup.py py2exe

No errors occur, executable is generated, but the following error happens when running test.exe
Traceback (most recent call last):
  File "test.py", line 3, in <module>
  File "livestreamer\api.pyc", line 12, in streams
  File "livestreamer\session.pyc", line 354, in streams
  File "livestreamer\session.pyc", line 344, in resolve_url
livestreamer.exceptions.NoPluginError

With a bit of further digging, it seems that py2exe isn't compiling the plugins inside of livestreamer/plugins/* which would most likely be why this error is occuring.
With that in mind, how would i force py2exe to compile all of the plugins available to livestreamer?

[Nightly builds] (http://livestreamer-builds.s3.amazonaws.com/livestreamer-latest-win32.zip) are available too. Or is there any other reason, why you are trying to compile it from source?

I'm actually creating a separate project that lists a bunch of streams which are live using the livestreamer.streams call across various streaming websites. My test.py script was just a way to pinpoint the py2exe problem that I was having.
I did figure out a way to force py2exe to compile the various plugins by using the following inside my setup.py
setup(console=[{"script":"test.py"}],options={"py2exe":{"includes":["livestreamer.plugins.*"]}})

After running py2exe and running the executable, I'm getting this error:
Traceback (most recent call last):
  File "test.py", line 3, in <module>
  File "livestreamer\api.pyc", line 11, in streams
  File "livestreamer\session.pyc", line 65, in __init__
  File "livestreamer\session.pyc", line 363, in load_builtin_plugins
  File "livestreamer\session.pyc", line 373, in load_plugins
ImportError: No module named afreeca

Same ImportError using cx_Freeze with python3.

I've managed to find a workaround/possible fix.
The reason livestreamer runs into livestreamer.exceptions.NoPluginError is because py2exe bundles all packages in a zip file, Library.zip, thus livestreamer cannot access its modules correctly.
The reason it can't find afreeca is because it is the very first module/site plug-in aka can't load any of the site plug-ins.
Here's my setup.py.
setup(script_args` = ['py2exe'], console = [{   'script': 'script.py' }], options = {   'py2exe': {     "compressed": 0,     "skip_archive": True,     'optimize': 0,     "packages": ["livestreamer", "livestreamer_cli"],     "includes": ["livestreamer", "livestreamer.plugin", "livestreamer.plugins.*"]   } })
("packages" and "includes" might not be needed)
"compressed": 0 forces py2exe to not compress the zip file.
"skip_archive" skips creation of the zip file altogether.
This allowed livestreamer to work. However, I now have second issue, I cannot get a window/GUI generated by opencv (cv2) to work by launching a py2exe-generated exe. Might just be a bug in my own code or with opencv, although it might be worth mentioning.

Thanks for replying after so much time, i am myself using pyinstaller and/or cx_freeze so i'll try your method in the following days/weeks and i'll let you know. =)


Fix: TokenAmount.fromNumber problems

Motivation
An issue was found when converting the number "0.3319" to an ICP amount. There was a rounding error.
Changes

TokenAmount.fromNumber uses fromString. Raises error if number has more than 8 decimals.

Tests

Changed tests to adapt to new raised error.
Add the test for the specific bug.

@peterpeterparker please review


Circular function - update google sheet

Where circular function with outmap and outdura were updated, check the google sheet includes both F40 and OF6 that matches functions

Checked this as part of QA and updated


Definition Based Extraction: Extract repeating order elements properly.

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #1520
Description
Issue:

If a group has repeating order elements, last answer overrides the pervious ones during definition based extraction instead of all answers being recorded.

Fix:

The code was using set<FieldName>( List<Type>) api which replaces the old list. Issue is resolved now by using add<FieldName>(Type) which appends answer to the list.

Alternative(s) considered
No
Type
Choose one: Bug fix
Screenshots (if applicable)
Checklist

[x] I have read and acknowledged the Code of conduct.
[x] I have read the Contributing page.
[x] I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA.
[x] I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach.
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project.
[x] I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally.
[x] I have built and run the demo app(s) to verify my change fixes the issue and/or does not break the demo app(s).

@jingtang10
Could you please review the pr?


Escape html special characters for embed code

Thanks ! :D

It's online, thanks for your contribution :)


I want to add two hooks.

What problem does this feature solve?
I want to add two hooks 'show' and 'hide',What happens when the current page is displayed (window. focus), when the window is not behind the current display window (window. blur) calls these two methods to the current component?
What does the proposed API look like?
export default {
    name: 'App',
    show() {
      console.log('show this window')
    },
    hide() {
      console.log('hide this window')
    },
    beforeCreate() {
      console.log('beforeCreate', this.$XY.test())
    }
}

This can easily be implemented in userland. We won't add an API for this.
We encourage you to ask for help on the forum  , Stack Overflow or on our Discord chat and are happy to help you out there.


Intro to what is animation

Blender intro to animation: https://docs.blender.org/manual/en/latest/animation/introduction.html
Godot: https://docs.godotengine.org/en/stable/tutorials/animation/index.html
The key concept is that constraints are defined in order to define the animation.
The constraints are often defined using keyframe which defines the value of a property at a certain point in time. This value could change in another point of time. And to achieve this transition between the values, the animation happens!
Different properties can have keyframes. But we can create additional elements just for the animation: rigs. Rigging is a general term used for adding controls to objects, typically for the purpose of animation.

In Blender we have different ways to add rigs (animation controls) to our scene:

Armatures (skeletons)
Constraints
Objects Modifiers
Shape Keys
Drivers: this rig can control several properties at the same time with programming logic if needed

The process of animating is:

First, you need the model
Then, you rig it (for example, with an skeleton)
Then you animate it using the rigging


Cannot start training

`[p3_trainer] - FOUND. Skipping installation.
fatal: destination path 'maskrcnn-benchmark' already exists and is not an empty directory.
mkdir: cannot create directory ‘weights’: File exists
key: module.roi_heads.box.predictor.cls_score.weight is removed
key: module.roi_heads.box.predictor.cls_score.bias is removed
key: module.roi_heads.box.predictor.bbox_pred.weight is removed
key: module.roi_heads.box.predictor.bbox_pred.bias is removed
key: module.roi_heads.mask.predictor.mask_fcn_logits.weight is removed
key: module.roi_heads.mask.predictor.mask_fcn_logits.bias is removed
Also deleting optimizer, scheduler, and iteration entries
saved to: e2e_mask_rcnn_R_50_FPN_1x_trimmed.pth
mkdir: cannot create directory ‘datasets’: File exists
TrainFarm created under /home/tan/epd_ros2_ws/src/easy_perception_deployment/easy_perception_deployment/gui/trainer/P3TrainFarm
2021-10-01 18:19:27,769 maskrcnn_benchmark INFO: Using 1 GPUs
2021-10-01 18:19:27,769 maskrcnn_benchmark INFO: Namespace(config_file='configs/custom/maskrcnn_training.yaml', distributed=False, local_rank=0, opts=[], skip_test=False)
2021-10-01 18:19:27,769 maskrcnn_benchmark INFO: Collecting env info (might take some time)
2021-10-01 18:19:28,996 maskrcnn_benchmark INFO:
PyTorch version: 1.2.0
Is debug build: No
CUDA used to build PyTorch: 10.0.130
OS: Ubuntu 20.04.3 LTS
GCC version: (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
CMake version: version 3.21.3
Python version: 3.6
Is CUDA available: Yes
CUDA runtime version: Could not collect
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3070
Nvidia driver version: 470.63.01
cuDNN version: Could not collect
Versions of relevant libraries:
[pip3] numpy==1.19.5
[pip3] torch==1.2.0
[pip3] torchvision==0.4.0a0
[conda] _pytorch_select           0.2                       gpu_0
[conda] blas                      1.0                         mkl
[conda] mkl                       2020.2                      256
[conda] mkl-service               2.3.0            py36he8ac12f_0
[conda] mkl_fft                   1.3.0            py36h54f3939_0
[conda] mkl_random                1.1.1            py36h0573a6f_0
[conda] pytorch                   1.2.0           cuda100py36h938c94c_0
[conda] torchvision               0.4.0           cuda100py36hecfc37a_0
Pillow (8.3.1)
2021-10-01 18:19:28,996 maskrcnn_benchmark INFO: Loaded configuration file configs/custom/maskrcnn_training.yaml
2021-10-01 18:19:28,996 maskrcnn_benchmark INFO:
MODEL:
META_ARCHITECTURE: "GeneralizedRCNN"
WEIGHT: "weights/e2e_mask_rcnn_R_50_FPN_1x_trimmed.pth"
BACKBONE:
CONV_BODY: "R-50-FPN"
FREEZE_CONV_BODY_AT: 2     #Freeze layers
RESNETS:
BACKBONE_OUT_CHANNELS: 256
RPN:
USE_FPN: True
ANCHOR_STRIDE: (4, 8, 16, 32, 64)
PRE_NMS_TOP_N_TRAIN: 2000
PRE_NMS_TOP_N_TEST: 1000
POST_NMS_TOP_N_TEST: 1000
FPN_POST_NMS_TOP_N_TEST: 1000
ROI_HEADS:
USE_FPN: True
ROI_BOX_HEAD:
POOLER_RESOLUTION: 7
POOLER_SCALES: (0.25, 0.125, 0.0625, 0.03125)
POOLER_SAMPLING_RATIO: 2
FEATURE_EXTRACTOR: "FPN2MLPFeatureExtractor"
PREDICTOR: "FPNPredictor"
NUM_CLASSES: 4 #Change to your number of objects +2
ROI_MASK_HEAD:
POOLER_SCALES: (0.25, 0.125, 0.0625, 0.03125)
FEATURE_EXTRACTOR: "MaskRCNNFPNFeatureExtractor"
PREDICTOR: "MaskRCNNC4Predictor"
POOLER_RESOLUTION: 14
POOLER_SAMPLING_RATIO: 2
RESOLUTION: 28
SHARE_BOX_FEATURE_EXTRACTOR: False
MASK_ON: True
DATASETS:
TEST: ("coco_custom_val",)
TRAIN: ("coco_custom_train",)
DATALOADER:
SIZE_DIVISIBILITY: 32
SOLVER:
BASE_LR: 0.001                 # learning rate after warmup
WEIGHT_DECAY: 0.0001
STEPS: (1000,1500,2000,2500)   # where you want your learning rate to decrease
MAX_ITER: 3000                  #number of iteration
WARMUP_ITERS: 500
IMS_PER_BATCH: 1
TEST_PERIOD: 200   #run validation every * steps
CHECKPOINT_PERIOD: 200   #save model every * steps
TEST:
IMS_PER_BATCH: 1
OUTPUT_DIR: "./weights/custom/"    # saved weight output directory
2021-10-01 18:19:28,996 maskrcnn_benchmark INFO: Running with config:
AMP_VERBOSE: False
DATALOADER:
ASPECT_RATIO_GROUPING: True
NUM_WORKERS: 4
SIZE_DIVISIBILITY: 32
DATASETS:
TEST: ('coco_custom_val',)
TRAIN: ('coco_custom_train',)
DTYPE: float32
INPUT:
BRIGHTNESS: 0.0
CONTRAST: 0.0
HORIZONTAL_FLIP_PROB_TRAIN: 0.5
HUE: 0.0
MAX_SIZE_TEST: 1333
MAX_SIZE_TRAIN: 1333
MIN_SIZE_TEST: 800
MIN_SIZE_TRAIN: (800,)
PIXEL_MEAN: [102.9801, 115.9465, 122.7717]
PIXEL_STD: [1.0, 1.0, 1.0]
SATURATION: 0.0
TO_BGR255: True
VERTICAL_FLIP_PROB_TRAIN: 0.0
MODEL:
BACKBONE:
CONV_BODY: R-50-FPN
FREEZE_CONV_BODY_AT: 2
CLS_AGNOSTIC_BBOX_REG: False
DEVICE: cuda
FBNET:
ARCH: default
ARCH_DEF:
BN_TYPE: bn
DET_HEAD_BLOCKS: []
DET_HEAD_LAST_SCALE: 1.0
DET_HEAD_STRIDE: 0
DW_CONV_SKIP_BN: True
DW_CONV_SKIP_RELU: True
KPTS_HEAD_BLOCKS: []
KPTS_HEAD_LAST_SCALE: 0.0
KPTS_HEAD_STRIDE: 0
MASK_HEAD_BLOCKS: []
MASK_HEAD_LAST_SCALE: 0.0
MASK_HEAD_STRIDE: 0
RPN_BN_TYPE:
RPN_HEAD_BLOCKS: 0
SCALE_FACTOR: 1.0
WIDTH_DIVISOR: 1
FPN:
USE_GN: False
USE_RELU: False
GROUP_NORM:
DIM_PER_GP: -1
EPSILON: 1e-05
NUM_GROUPS: 32
KEYPOINT_ON: False
MASK_ON: True
META_ARCHITECTURE: GeneralizedRCNN
RESNETS:
BACKBONE_OUT_CHANNELS: 256
DEFORMABLE_GROUPS: 1
NUM_GROUPS: 1
RES2_OUT_CHANNELS: 256
RES5_DILATION: 1
STAGE_WITH_DCN: (False, False, False, False)
STEM_FUNC: StemWithFixedBatchNorm
STEM_OUT_CHANNELS: 64
STRIDE_IN_1X1: True
TRANS_FUNC: BottleneckWithFixedBatchNorm
WIDTH_PER_GROUP: 64
WITH_MODULATED_DCN: False
RETINANET:
ANCHOR_SIZES: (32, 64, 128, 256, 512)
ANCHOR_STRIDES: (8, 16, 32, 64, 128)
ASPECT_RATIOS: (0.5, 1.0, 2.0)
BBOX_REG_BETA: 0.11
BBOX_REG_WEIGHT: 4.0
BG_IOU_THRESHOLD: 0.4
FG_IOU_THRESHOLD: 0.5
INFERENCE_TH: 0.05
LOSS_ALPHA: 0.25
LOSS_GAMMA: 2.0
NMS_TH: 0.4
NUM_CLASSES: 81
NUM_CONVS: 4
OCTAVE: 2.0
PRE_NMS_TOP_N: 1000
PRIOR_PROB: 0.01
SCALES_PER_OCTAVE: 3
STRADDLE_THRESH: 0
USE_C5: True
RETINANET_ON: False
ROI_BOX_HEAD:
CONV_HEAD_DIM: 256
DILATION: 1
FEATURE_EXTRACTOR: FPN2MLPFeatureExtractor
MLP_HEAD_DIM: 1024
NUM_CLASSES: 4
NUM_STACKED_CONVS: 4
POOLER_RESOLUTION: 7
POOLER_SAMPLING_RATIO: 2
POOLER_SCALES: (0.25, 0.125, 0.0625, 0.03125)
PREDICTOR: FPNPredictor
USE_GN: False
ROI_HEADS:
BATCH_SIZE_PER_IMAGE: 512
BBOX_REG_WEIGHTS: (10.0, 10.0, 5.0, 5.0)
BG_IOU_THRESHOLD: 0.5
DETECTIONS_PER_IMG: 100
FG_IOU_THRESHOLD: 0.5
NMS: 0.5
POSITIVE_FRACTION: 0.25
SCORE_THRESH: 0.05
USE_FPN: True
ROI_KEYPOINT_HEAD:
CONV_LAYERS: (512, 512, 512, 512, 512, 512, 512, 512)
FEATURE_EXTRACTOR: KeypointRCNNFeatureExtractor
MLP_HEAD_DIM: 1024
NUM_CLASSES: 17
POOLER_RESOLUTION: 14
POOLER_SAMPLING_RATIO: 0
POOLER_SCALES: (0.0625,)
PREDICTOR: KeypointRCNNPredictor
RESOLUTION: 14
SHARE_BOX_FEATURE_EXTRACTOR: True
ROI_MASK_HEAD:
CONV_LAYERS: (256, 256, 256, 256)
DILATION: 1
FEATURE_EXTRACTOR: MaskRCNNFPNFeatureExtractor
MLP_HEAD_DIM: 1024
POOLER_RESOLUTION: 14
POOLER_SAMPLING_RATIO: 2
POOLER_SCALES: (0.25, 0.125, 0.0625, 0.03125)
POSTPROCESS_MASKS: False
POSTPROCESS_MASKS_THRESHOLD: 0.5
PREDICTOR: MaskRCNNC4Predictor
RESOLUTION: 28
SHARE_BOX_FEATURE_EXTRACTOR: False
USE_GN: False
RPN:
ANCHOR_SIZES: (32, 64, 128, 256, 512)
ANCHOR_STRIDE: (4, 8, 16, 32, 64)
ASPECT_RATIOS: (0.5, 1.0, 2.0)
BATCH_SIZE_PER_IMAGE: 256
BG_IOU_THRESHOLD: 0.3
FG_IOU_THRESHOLD: 0.7
FPN_POST_NMS_PER_BATCH: True
FPN_POST_NMS_TOP_N_TEST: 1000
FPN_POST_NMS_TOP_N_TRAIN: 2000
MIN_SIZE: 0
NMS_THRESH: 0.7
POSITIVE_FRACTION: 0.5
POST_NMS_TOP_N_TEST: 1000
POST_NMS_TOP_N_TRAIN: 2000
PRE_NMS_TOP_N_TEST: 1000
PRE_NMS_TOP_N_TRAIN: 2000
RPN_HEAD: SingleConvRPNHead
STRADDLE_THRESH: 0
USE_FPN: True
RPN_ONLY: False
WEIGHT: weights/e2e_mask_rcnn_R_50_FPN_1x_trimmed.pth
OUTPUT_DIR: ./weights/custom/
PATHS_CATALOG: /home/tan/anaconda3/envs/p3_trainer/lib/python3.6/site-packages/maskrcnn_benchmark-0.1-py3.6-linux-x86_64.egg/maskrcnn_benchmark/config/paths_catalog.py
SOLVER:
BASE_LR: 0.001
BIAS_LR_FACTOR: 2
CHECKPOINT_PERIOD: 200
GAMMA: 0.1
IMS_PER_BATCH: 1
MAX_ITER: 3000
MOMENTUM: 0.9
STEPS: (1000, 1500, 2000, 2500)
TEST_PERIOD: 200
WARMUP_FACTOR: 0.3333333333333333
WARMUP_ITERS: 500
WARMUP_METHOD: linear
WEIGHT_DECAY: 0.0001
WEIGHT_DECAY_BIAS: 0
TEST:
BBOX_AUG:
ENABLED: False
H_FLIP: False
MAX_SIZE: 4000
SCALES: ()
SCALE_H_FLIP: False
DETECTIONS_PER_IMG: 100
EXPECTED_RESULTS: []
EXPECTED_RESULTS_SIGMA_TOL: 4
IMS_PER_BATCH: 1
2021-10-01 18:19:28,996 maskrcnn_benchmark INFO: Saving config into: ./weights/custom/config.yml`
The program stuck here for long time after pressing Train. Install for only CPU dep for ONNX.

Hi @Tangetb,
Please provide the terminal outputs after running the following command:
nvidia-smi

nvcc --version

This should provide the GPU Nvidia driver and CUDA installation information. The GPU is used for Training and could be the reason why it is stuck at where it is.

`+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.91.03    Driver Version: 460.91.03    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce RTX 3070    Off  | 00000000:01:00.0  On |                  N/A |
|  0%   39C    P2    46W / 220W |    622MiB /  7979MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1120      G   /usr/lib/xorg/Xorg                 35MiB |
|    0   N/A  N/A      1832      G   /usr/lib/xorg/Xorg                127MiB |
|    0   N/A  N/A      1961      G   /usr/bin/gnome-shell              110MiB |
|    0   N/A  N/A      2295      G   /usr/lib/firefox/firefox          155MiB |
|    0   N/A  N/A      2558      G   /usr/lib/firefox/firefox            3MiB |
|    0   N/A  N/A      2674      G   /usr/lib/firefox/firefox            3MiB |
|    0   N/A  N/A      2744      G   /usr/lib/firefox/firefox            3MiB |
|    0   N/A  N/A      2923      G   /usr/lib/firefox/firefox            3MiB |
|    0   N/A  N/A      3012      G   /usr/lib/firefox/firefox            3MiB |
|    0   N/A  N/A      3262      C   python3                           159MiB |
+-----------------------------------------------------------------------------+
 nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243
I tried using the following commands to install CUDNN, but it seems like it still could not detect CUDNN when running EPD.$ sudo cp cuda/include/cudnn*.h /usr/local/cuda/include
$ sudo cp -P cuda/lib64/libcudnn* /usr/local/cuda/lib64
$ sudo chmod a+r /usr/local/cuda/include/cudnn*.h /usr/local/cuda/lib64/libcudnn*`

Noted @Tangetb. Thanks for the info.
Note that EPD is not tested with CUDA 10.1 (There won't be plans to do so since it is an older version of CUDA).
:warning:
Would recommend to install CUDA 10.2 and CUDNN 7.6.5 which are verified. It should also work with the Nvidia Driver version you current have (460.91.03 ).
In the meantime, from the information you provided, there does not seem to be any issue with the Nvidia Driver, CUDA 10.1 and CUDNN you installed.
Can you provide the terminal output of the following command:
grep /usr/local/cuda/include/ | grep cudnn

Would like to check the CUDNN version you have. It could be possible that the CUDNN installed is a version incompatible with CUDA 10.1. Please refer to the CUDA-CUDNN Support Matrix for more details.

Closing due to inactivity.


Input command not working in MATLAB extension for Visual Studio Code

Describe the bug
The input command in the MATLAB extension for Visual Studio Code is not working, and as a result, all functions and scripts that require user input do not function as expected.
To Reproduce

Open a MATLAB script in Visual Studio Code.
Add the following code to the script:
Enter the following
withdrawal = input("Enter the amount you'd like to withdraw\n> "); fprintf("You want to withdraw %d", withdrawal)
Run the script using the MATLAB extension.

Expected behavior
The script should display the prompt message "Enter the amount you'd like to withdraw" and wait for the user to input a value. It should then print the entered value.
Screenshots
When running the script, the cursor blinks but nothing happens when the user enters a value and presses Enter. When the user presses Ctrl+C to terminate the program, the following error is displayed:

Useful Information

OS Version: Windows 11 Version 23H2 (OS Build 22631.3447
VS Code Version: April 2024 (version 1.89)

Additional context
Cursor blinks also when you enter input command directly into the command prompt:

Thank you for acknowledging the issue and confirming that it can be reproduced. I'm glad to hear that you're actively working on resolving the lack of support for interactive command window workflows in the extension. I look forward to the forthcoming release that addresses this limitation. If there are any workarounds or updates in the meantime, please keep me informed. Thank you for your attention to this matter.

On macOS Ctrl+C doesn't seem to be captured when it's waiting for pause/input. The only way I've found to interrupt it is to look up the process and issue an interrupt ("ps -ef | grep -i matlab" to find the pid, and "kill -2 pid" to send the interrupt signal).


Currently Supported Platform Limits?

Hi @lmbelo
I'm occassionally getting asked about platform support
What's the current state and limitations of all Platforms?
Last time I looked it was something like....
Windows - Full Support
Linux - ?
Mac - Problem with using embedded environments
IOS - ?
Android - Problem installling additional components
The not-so-recent changes to Pip may have changes some things as too may have the VENV enforcement in recent releases

The limits here are Python limits, they are not at our side. You need to check whether a component is available for your desired platform.
I don't know any issue regarding embedded environments on MacOs. Can you share the details, please?

The Mac issue was a long time ago so it's quite possible it no longer exists
I'll drag the Mac out and see how things work currently over the next day or two. As I only have a X64 can only test that but next time I rent a Apple Silicon box I'll check that too


EPG for Sky Showcase Germany is Missing

Source
https://www.sky.de/tvguide/sky-showcase-hd-c1019
Channels
Sky Showcase (DE/Germany) is missing from the sky.de source guide as well as the general DE country guide.
Notes
Thanks in advance!

Sky.de scraper is disabled as the server returns 403 errors. Do you have another source we can use?
Channel will need adding to the database

Alternative sources:
magenta.at
Or
TVToday.de
https://m.tvtoday.de/programm/standard/sender/skysh.html


roadmap: create ROADMAP.md

What have you changed? (mandatory)
I have copied the TiKV roadmap to this repo so that TiKV can have its own roadmap
What are the type of the changes? (mandatory)
Improvement
How has this PR been tested? (mandatory)
N/A
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
No.
Does this PR affect tidb-ansible update? (mandatory)
No.
Refer to a related PR or issue link (optional)
https://github.com/pingcap/docs/pull/525
Benchmark result if necessary (optional)
No.
Add a few positive/negative examples (optional)
N/A

@siddontang PTAL

maybe we should create a docs folder and move ROADMAP.md to it.

Close this PR because the content is added in https://github.com/pingcap/tikv/pull/3301/files


semop(1): encountered an error: Function not implemented

build-nixos_1   | building '/nix/store/i7vpm3lvvpkypfchblwlk7wsz7gwajjr-usermod.pam.drv'...
build-nixos_1   | building '/nix/store/i6mnqjs2nblbkj0qgcw4vbdi4djmwnpw-users-groups.json.drv'...
build-nixos_1   | building '/nix/store/48jy8i9nlhjbqr1pggm83b0a5jn4d1px-vconsole.conf.drv'...
build-nixos_1   | building '/nix/store/ipi6p6vm7lr7rx8i93jn9v85ghyysai1-vlock.pam.drv'...
build-nixos_1   | building '/nix/store/g8yl5wayhhv5fp0j7ai29y2r4xq8gd3i-unit-systemd-vconsole-setup.service.drv'...
build-nixos_1   | building '/nix/store/dmfx55bj4wvr0gah0cq2s0qs7abmcxq6-wpa_supplicant.conf.drv'...
build-nixos_1   | building '/nix/store/iam09k1agdk4difdmkknihnf68pi165l-xlock.pam.drv'...
build-nixos_1   | building '/nix/store/bpw05y2rmb50vaf4irn8y95pvnciqarx-unit-script-wpa_supplicant-start.drv'...
build-nixos_1   | building '/nix/store/jdl33155s6ygv979vzgvqww0vn4cpp6i-xscreensaver.pam.drv'...
build-nixos_1   | building '/nix/store/0bn430za959cy4awkpqyh4sbwsvmvcqq-unit-wpa_supplicant.service.drv'...
build-nixos_1   | building '/nix/store/yqp6zvnqf3vnbbwjkqyc2s6n70xxg9lw-system-units.drv'...
build-nixos_1   | building '/nix/store/n87qng3a046g25brc9r79xl1q05sfcpm-etc.drv'...
build-nixos_1   | building '/nix/store/g8ili1y337r7i4qkhci0zavq3dzxdj50-nixos-system-nixos-20.09pre-git.drv'...
build-nixos_1   | building '/nix/store/biz9bdjgjavw6rajaj3gcsc37d6agpgw-closure-info.drv'...
build-nixos_1   | building '/nix/store/qlris58agxm41cq1fiwk7f34djgjcbz6-ext4-fs.img.zst.drv'...
build-nixos_1   | Preparing store paths for image...
build-nixos_1   | Creating an EXT4 image of<PHONE_NUMBER> bytes (numInodes=94948, numDataBlocks=508916)
build-nixos_1   | semop(1): encountered an error: Function not implemented
build-nixos_1   | builder for '/nix/store/qlris58agxm41cq1fiwk7f34djgjcbz6-ext4-fs.img.zst.drv' failed with exit code 1
build-nixos_1   | cannot build derivation '/nix/store/9g1zxxr2djvrl37rb63fm5phs03ch13m-nixos-sd-image-20.09pre-git-aarch64-linux.img.drv': 1 dependencies couldn't be built
build-nixos_1   | error: build of '/nix/store/9g1zxxr2djvrl37rb63fm5phs03ch13m-nixos-sd-image-20.09pre-git-aarch64-linux.img.drv' failed
cleanup-qemu_1  | connect to [::ffff:<IP_ADDRESS>]:11111 from docker_build-nixos_1.docker_default:36325 ([::ffff:<IP_ADDRESS>]:36325)
cleanup-qemu_1  | build done
cleanup-qemu_1  | binfmt: detected x86 architecture, proceeding
cleanup-qemu_1  | binfmt: clearing existing entry for qemu-aarch64-docker-nixos
cleanup-qemu_1  | binfmt: cleanup done
docker_cleanup-qemu_1 exited with code 0
docker_build-nixos_1 exited with code 100

Target: RPi 4
NIXPKGS_BRANCH: "master" arg used.

You need to use qemu 5.1.0-rc2 although this isn't mentioned here.

Hey! Thanks for your report. This is interesting, and looks effectively like something changed.
After digging a bit, I found this bug report that seems to suggest that a new version of glibc started using this new syscall (and NixOS was probably updated to use that version), and QEMU only started to support it in this commit.
Great spot, thanks! And thanks @mohe2015 for the tip. I'll update the QEMU version bundled in this repo and it should sort the issues out.

@Quadronick would you mind to check out the use-latest-qemu-from-debian branch of this repository, and then running this?
./run.sh up --build

build-nixos_1   | Allocating group tables: done
build-nixos_1   | Writing inode tables: done
build-nixos_1   | Creating journal (16384 blocks): done
build-nixos_1   | Writing superblocks and filesystem accounting information: done
build-nixos_1   |
build-nixos_1   | copying store paths to image...
build-nixos_1   | copying files to image...
build-nixos_1   | e2fsck 1.45.5 (07-Jan-2020)
build-nixos_1   | Pass 1: Checking inodes, blocks, and sizes
build-nixos_1   | Pass 2: Checking directory structure
build-nixos_1   | Pass 3: Checking directory connectivity
build-nixos_1   | Pass 4: Checking reference counts
build-nixos_1   | Pass 5: Checking group summary information
build-nixos_1   | NIXOS_SD: 88234/158720 files (0.1% non-contiguous), 536395/634591 blocks
build-nixos_1   | Resizing to minimum allowed size
build-nixos_1   | resize2fs 1.45.5 (07-Jan-2020)
build-nixos_1   | Please run 'e2fsck -f temp.img' first.
build-nixos_1   |
build-nixos_1   | builder for '/nix/store/ki72ly7b6klnsjz7smw3hdavbklds9gl-ext4-fs.img.zst.drv' failed with exit code 1
build-nixos_1   | cannot build derivation '/nix/store/2kkzbxm9ygymmqzldg84im965p6rcpaz-nixos-sd-image-20.03post-git-aarch64-linux.img.drv': 1 dependencies couldn't be built
build-nixos_1   | error: build of '/nix/store/2kkzbxm9ygymmqzldg84im965p6rcpaz-nixos-sd-image-20.03post-git-aarch64-linux.img.drv' failed
cleanup-qemu_1  | build done
cleanup-qemu_1  | binfmt: detected x86 architecture, proceeding
cleanup-qemu_1  | binfmt: clearing existing entry for qemu-aarch64-docker-nixos
cleanup-qemu_1  | binfmt: cleanup done
cleanup-qemu_1  | connect to [::ffff:<IP_ADDRESS>]:11111 from docker_build-nixos_1.docker_default:46057 ([::ffff:<IP_ADDRESS>]:46057)
docker_cleanup-qemu_1 exited with code 0
docker_build-nixos_1 exited with code 100

Looks like your NIXPKGS_BRANCH was reset back to release-20.03! If you intend to proceed with that branch, then follow the instructions in the README to sort out the issue:

If the build fails with cptofs related errors or something like:
resize2fs 1.45.5 (07-Jan-2020)
Please run 'e2fsck -f temp.img' first.

This is a known issue [...]. Please edit docker-compose.yml, uncomment APPLY_CPTOFS_PATCH and rerun with ./run.sh up --build. [...]

Otherwise switching to master will fix it as well!

Ok. I'll try it. You didn't mention that I have to switch branch to the master.
I'll be back soon)

No worries at all!
Also it's definitely not necessary to use the master branch, except if you're building for the new RPi 4 with 8 GiB of RAM -- I assumed you wanted to use master as that was what you were using in your initial issue report!
Hope all issues are sorted out 👍

Don't forget to re-run with ./run.sh up --build if you're changing any variable in the docker-compose.yml files by the way!

Yeah, I know, ty. The building is ok with the master branch selected.
I flashed the image and I haven't seen any DHCP request from PRi since it's started up. I'll investigate this.

Happy that the build worked, thanks for confirming! I'll merge the fix into master very soon then. Unfortunately I don't have an RPi 4 to use for these kind of tests but let me know if I can help in some other way!

Yeah. Sure.


Is there any immutable wizard form examples?

No, there are isn't. As I never used nor researched ImmutableJS, I can't help you 😞
Can you try combining wizard form and immutable examples?
Let me know what you find.

ping @18601673727

Closing due to inactivity.


Compatibility with xray 2.6.0

Is your feature request related to a problem? Please describe.
We are currently using aws-xray-sdk-python 2.6.0 and I wanted to test the power tools but it seems that this project is not compatible with the latest release of  the X-Ray SDK.
Describe the solution you'd like
This project to stay up to date with the new SDK releases, 2.6.0 has been released more than a month ago.
Describe alternatives you've considered
Downgrading the SDK but we want to keep up with the latest versions of packages to reduce bugs/vulnerabilities and benefit from new features.
Additional context
Not sure if it has a compatibility reason or just done out of foresight:  ~= 2.5.0 see https://github.com/awslabs/aws-lambda-powertools-python/blob/0670e5efa09b60f0dd6d040a1a3b37225c94b516/pyproject.toml#L22

Hi Joris - Thanks for opening up the issue -- Its definitely an oversight, as we should be compatible with any 2.* version
If you could do a quick PR I'd gladly accept it, or I can do this next week :)
Thanks again!

@heitorlessa not sure if this is the only place where it needs to be updated but I created #89. Although you mentioned any 2.* version I used 2.5.0 as the first one since that was already set.

Just released 1.0.2 with this fix - Thanks a lot for the contribution :)
PS: I think I finally remember why your login looked familiar. @Nr18 .... it was back then with the cookiecutter for SAM Python, which I intend to update to use this library now ;)
Closing this now, and thank you again!

That is correct, I noticed that when you responded to this issue.
Happy to help out!


File basicauth.csv is overwritten during upgrade

Kismatic version: 1.6.1
Environment: bare metal
OS: Ubuntu 16.04.3
Kernel: 4.4.0-87-generic
During process of cluster upgrade file /etc/kubernetes/auth/basicauth.csv is overwritten. Because of this, users that was manually created and added to basicauth.csv will disappear.
Probably it's good to add some warning for this behaviour, or maybe stop overwriting this file if it contains more then one line.

Thanks @bacher09
We'll take a look shortly.


Patch 1

Why:
Closes:
The recepie to generate JWT using bash not working when using "Client id" as "iss" , because of "Client id" is string and reqire quotes.
Result of usage token usage cause error:
{   "message": "A JSON web token could not be decoded",   "documentation_url": "https://docs.github.com/rest",   "status": "401" }
Example decoded payload data for JWT token generated using "Clinet id" as "iss"
"{\n    \"iat\":1720435516,\n    \"exp\":1720436176,\n    \"iss\":Iv23liUdv*******\n}"
What's being changed (if available, include any code snippets, screenshots, or gifs):
Check off the following:

Tested locally

@jaceksocha Thanks so much for opening a PR! I'll get this triaged for review ✨

Hi @nguyenalex836
To make sure (if not stuck on missing action on my side), should I take some action or simply wait patiently for review ?
Greetings


Feature/raw post

Check it out here: https://tilex-staging-pr-148.herokuapp.com/
(idk if someone fixed the heroku pipeline but it works now and it's friggin awesomesauce!) ^^^

Thank you! 👍


Changed friendly name of kubernetes tasks

@shashankbarsin would this be going in release notes? as the users would have to start searching for new strings.


RC param tune

This enables changing parameters with RC potentiometer knobs. Tested in HIL. More documentation will follow.
Testers: note the new RC_MAP_PARAM1 (2, 3) parameters which tell the system which rc channels can be used.
Depends on https://github.com/mavlink/mavlink/pull/309 and will hence not pass travis. As soon as the mavlink PR is in I will update the submodule here.
Includes https://github.com/PX4/Firmware/pull/1542

@thomasgubler Good time to wrap this up, now that MAVLink is sorted? :)

@thomasgubler Good time to wrap this up, now that MAVLink is sorted? :)

@lorenzmeier done

@lorenzmeier done


Update the course with materials covering the MINID stream trimming strategy,

XADD and XTRIM got a new MINID trimming strategy in Redis 6.2.  Update the course for these.

This will require a new HTML segments in 5.7 and 10.7.
Also need to check any quiz, homework and exam questions that relate to this material.


A code problem

there is a code:from . import convex_ext in mmrotate/ops/convex/convex_wrapper.py ,but here is not have a diretory named convex_ext ,so i want to know how to solve this problem,
The message of problem is this:
ImportError: cannot import name 'convex_ext' from partially initialized module 'mmrotate.ops.convex'

It seems that the issue is caused by the lack of compiled operators for calculating rotated GIoU. Please carefully check whether you have followed the complete installation steps.


Fix to #6647 - Left Join (GroupJoin) always materializes elements resulting in unnecessary data pulling

Problem was that for GroupJoin we would always force materialization on participating query sources.
We were doing this because we are not always able to correctly divide outer elements of the GroupJoin into correct groups.
However, if the GroupJoin clause is wrapped around SelectMany clause then groups don't matter because they are getting flattened by SelectMany anyway.
Fix is to recognize those scenarios and only force materialization when the correct grouping actually matters.
We can avoid materialization if the GroupJoin is followed by SelectMany clause (that references the grouping) and that the grouping itself is not present anywhere else in the query.
This addresses optional navigations, which is the 80% case. Manually created GroupJoins that are not modeling LeftOuterJoins still require additional materialization, but this can be addressed later as the priority is not nearly as high.
This change also addresses #7722 - Query : error during compilation for queries with navigation properties and First/Single/client method operators inside a subquery.
Problem here was that for some queries we don't know how to properly bind to a value buffer (when the result of binding is subquery, and not qsre).
Fix/mitigation is to recognize those scenarios and force materialization on the subqueries. This can be properly addressed in later commit (i.e. by improving the binding logic)
Also fixed several minor issues that were uncovered since we no longer do extensive materialization.

@anpete @smitpatel

@tuespetre fyi, feel free to chime in as you have significant knowledge in this area

@maumar I had to confirm all of my suspicions before making comments, here are the results in case it's of any help to you: https://github.com/aspnet/EntityFramework/compare/fix7290...tuespetre:fix7290

new version up

@maumar, with a couple small changes, RequiresClientSingleColumnResultOperator can be removed. I also tried to see if the UnboundPropertyAccessCompensatingVisitor could be removed entirely. Here is the result of both: https://github.com/aspnet/EntityFramework/commit/84164647694f1699dfbc389773ce529899842766

@tuespetre the change is dangerously growing in complexity ;) I thinking to keep the hack for now as its very simple and localized and will leave #7722 open. Once this change is in, you could submit a new PR with the proper fix and remove the hack.

I thought so too, especially the UnboundPropertyAccessCompensatingVisitor. Good call to leave that for afterwards tied to #7722.
The RequiresClientSingleColumnResultOperator change is not complex in itself, though. (2 changed files, other than test SQL output)

@tuespetre agreed, especially that it's related to this change - we introduced this flag because it was messing with out groupjoins. Will incorporate this into the PR

@tuespetre after doing some more digging, simply removing RequiresClientSingleColumnResultOperator  regresses queries like this:
                var query = context.Gears.GroupJoin(
                    context.Tags,
                    g => new { k1 = g.Nickname, k2 = (int?)g.SquadId },
                    t => new { k1 = t.GearNickName, k2 = t.GearSquadId },
                    (g, t) => g.HasSoulPatch).Distinct();

For those we still materialize extra stuff, so distinct needs to happen on the client still.
RequiresClientSingleColumnResultOperator  can be dealt with when fixing #7497. I would imagine we will do something similar to the groupjoin compensating visitor - if the groupjoin is followed by appropriate SelectMany and is only present in the query model once, we allow result operators to be translated, otherwise force client eval.

Oh, ok. I suppose Distinct on a bool would mask some errors like that!

new version up (adding more tests)

new version up, rebased on the latest changes and fixed some more bugs found along the way

@maumar I have an idea that might eliminate the need for not only the PreProcessQuerySource stuff, but also the SnapshotQuerySourceMapping/PopulateQueryModelMapping etc. stuff.

new version up

@anpete new version up


GH-54 - Search & Replace

Creates new search tab in browse view
Ability to search in current folder
Ability to replace found search term

Resolves: GH-54
Motivation and Context

How Has This Been Tested?
https://search--da-live--adobe.hlx.live/#/adobecom/bacom
Screenshots (if appropriate):

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] I have signed the Adobe Open Source CLA.
[X] My code follows the code style of this project.
[X] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[X] All new and existing tests passed.

Agreed. We have a lot of room for improvement with tests. da-browse is due for a refactor (it's too big) and will write tests with that.


Failed to run httpExtension example

Please provide us with the following information:

This issue is for a: (mark with an x)
- [x] bug report
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

docker run -d -p 5001:5001 --name httpextension httpextension:latest -p 5001

Any log messages given by the failure

docker logs httpextension
Traceback (most recent call last):
File "main.py", line 61, in
app.run(host='<IP_ADDRESS>', port=httpServerPort)
File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 905, in run
port = int(port)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'

Expected/desired behavior

server should be running and listening on port 5001

OS and Version?

Linux (ubuntu 18.04)

Versions

ubuntu 18.04

Mention any other details that might be useful
It looks like the _arguments.p is a list, instead of an integer

Hi @wennycooper, thanks for bringing this to our attention.
Is this the sample you are trying to run?
https://github.com/Azure-Samples/video-analyzer-iot-edge-python/tree/main/src/edge/modules/httpExtension

Yes, that's the sample I'm trying to run.
And I think following code would fix this problem. FYR
parser.add_argument('-p', help='Port number to listen on.', type=int, default=8080)

Thank you for the suggestion, we will reproduce the error and make the appropriate changes as soon as possible.


Get rid of UNSUBSCRIBE_EXCEPTION

Use some programatic means of unsubscribing.

Pass subscription or subscription destructor as extra argument to listeners so that they can easily unsubscribe without throwing an Exception.  Will avoid the use of non-error Exceptions and will be faster because try/catch blocks disable V8 JIT.

Isn't it only finally that destroys optimizations? In any case, we should do this.

No, try/catch is sufficient: http://www.html5rocks.com/en/tutorials/speed/v8/


New term: medial clusters of C4 da second-ordern interneurons

FBrf0236440 describes a new cluster of neurons - medial clusters of C4 da second-order interneurons (mCSIs)
Term probably needed for C4 da neurons too.

C4 da is "class IV dendritic arborizing neuron" FBbt:00007275
Added mCSI and segment-specific subclasses


Inaly hints request failed

typescript-language-server --version 2.1.0
tsc --version 4.8.4
On every edit an alert is shown says the Inlay Hints request failed. Requires Typescript 4.4+.
Even though i have typescript 4.8.4.
I tried downloading the 4.4 version but the issue is still there

Same issue here :)
typescript-language-server --version 2.1.0
tsc --version 4.9.3

I'm also having the same issue on some problems, but looking at the code I believe the problem is in Lapce itself, so it would be good to open an issue there.


FullSubnetLaplace.sample() doesn't use generator

Hi
I was doing some reproducibility tests for pred_type="nn", so testing SomeLaplaceClass._nn_predictive_samples() -> SomeLaplaceClass.sample(), using the current main (508843dbc37498e02ef421a573e7c546a90a9443).
I found that FullSubnetLaplace.sample() doesn't use the passed generator (ruff check --select ARG laplace/subnetlaplace.py also catches this). The reason is probably that the used torch.distributions.MultivariateNormal doesn't offer an API to pass in a generator.
I guess it would not be too difficult to rewrite this in the way other sample methods do things -- generate and re-use a set of standard Normal samples (because of #91) and go from there.
Thanks.

Hi Steve, thanks for catching this.
I agree, the fix is super simple as you mentioned. Probably could also be as simple as reusing super().sample().
I have to admit that we don't pay too much attention to the SubnetLaplace implementation anymore since the same can be done more intuitively by switching off the unwanted subset's grads. The benefit of the latter is that the Jacobian for the linearized predictive will only be computed over the selected subset. Meanwhile, the former computes the full Jacobian first and then slices it using the subnet indices.
In any case, happy to accept your PR, as always!

Hi Steve, thanks for catching this.
I agree, the fix is super simple as you mentioned. Probably could also be as simple as reusing super().sample().

I put together a fix, please see #216.

I have to admit that we don't pay too much attention to the SubnetLaplace implementation anymore since the same can be done more intuitively by switching off the unwanted subset's grads. The benefit of the latter is that the Jacobian for the linearized predictive will only be computed over the selected subset. Meanwhile, the former computes the full Jacobian first and then slices it using the subnet indices.

I have some questions regarding this method but this is off-topic for this issue particular issue here, so I'll open a new one.


Fix typo & broken readme link

(Cosmetic) Noticed a typo and a broken link in the README

Thanks:)


remove legacy extended test jobs

@bparees you want sjb/remove-jobs.sh

Not to be confused with sjb/prune-jobs.sh or sjb/prune.sh :)

[INFO] Removing azure_build_node_image_rhel_39...
[INFO] Removing azure_build_node_image_centos_39...
[INFO] Removing test_pull_request_jenkins_images_310...
[INFO] Removing test_branch_origin_extended_builds...
[INFO] Removing test_pull_request_image_registry_extended...
[INFO] Removing test_pull_request_origin_extended_image_registry...
[INFO] Removing test_pull_request_origin_aggregated_logging_ansible_json_file_39...
[INFO] Removing test_branch_image_registry_extended...
[INFO] Removing test_branch_jenkins_images_310...
[INFO] Removing test_branch_origin_extended_conformance_azure_39...
[INFO] Removing test_pull_request_origin_aggregated_logging_ansible_json_file...
[INFO] Removing push_origin_aggregated_logging_release_310...
[INFO] Removing test_branch_origin_extended_networking_minimal...
[INFO] Removing test_pull_request_origin_extended_builds...
[INFO] Removing test_branch_origin_extended_image_registry...
[INFO] Removing test_pull_request_origin_extended_image_ecosystem...
[INFO] Removing push_jenkins_images_310...
[INFO] Removing test_pull_request_origin_extended_networking_minimal...
[INFO] Removing test_branch_origin_extended_image_ecosystem...

i'm pretty sure that just removed a bunch of stuff it should not have....

I think they're all valid to remove ...
deleted_configs=( $( git log --all --pretty=format: --name-only --diff-filter=DR -- sjb/generated/ | sort | uniq ) )
to_remove=()
for deleted_job_config in "${deleted_configs[@]}"; do
	if [[ ! -s "${deleted_job_config}" ]]; then
		to_remove+=( "${deleted_job_config}" )
	fi
done

So if someone deleted the file in a git commit and the file still doesn't exist, remove it from Jenkins


Suggestion to add functionality for border-color as gradient

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
Borders in CSS can only have one color but to add a gradient colored border, I had to use border-image property with pseudo selectors which was a round about way, but simply adding linear gradient for border-color property does not work.
Motivation and context
it reduce the size of file  and will be helpful

Is anyone working on this feature? I am willing to add some code for this

Prerequisites

[x]  I have searched for duplicate or closed feature requests
[x]  I have read the contributing guidelines

Proposal
Borders in CSS can only have one color but to add a gradient colored border, I had to use border-image property with pseudo selectors which was a round about way, but simply adding linear gradient for border-color property does not work.
Motivation and context
it reduce the size of file and will be helpful

border:solid 5px transparent;
border-radius: 20px;
background-image: linear-gradient(#524f57, #524f57),
linear-gradient(to bottom, rgba(108, 74, 182), rgba(74, 182, 78));
background-origin: border-box;
background-clip: content-box, border-box;
This is how I added Gradient to the border. I would like to contribute but I need some guidance

which file?

CSS does not directly support applying gradient colors to borders using the border-color property alone. However, you can achieve a gradient border effect using the border-image property along with pseudo-selectors or additional markup.
border: 4px solid transparent;
border-image: linear-gradient(to right, #ff00cc, #3333ff) 1;
border-image-slice: 1;


XML Parser error while retrieving all workbooks from tableau

XML parser error while retrieving all workbooks. This is only happening with workbooks. Projects and views are working fine. And also it is happening only on one tableau server.  able to get all workbooks with same code on dev tableau server.
with server.auth.sign_in(tableau_auth):
request_options = TSC.RequestOptions(pagesize=100)
all_workbooks = list(TSC.Pager(server.workbooks, request_options))
len(all_workbooks)
is throwing below error
Traceback (most recent call last):
File "", line 3, in
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tableauserverclient/server/pager.py", line 52, in iter
current_item_list, last_pagination_item = self._load_next_page(last_pagination_item)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tableauserverclient/server/pager.py", line 67, in _load_next_page
current_item_list, last_pagination_item = self._endpoint(opts)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tableauserverclient/server/endpoint/endpoint.py", line 127, in wrapper
return func(self, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tableauserverclient/server/endpoint/workbooks_endpoint.py", line 40, in get
pagination_item = PaginationItem.from_response(server_response.content, self.parent_srv.namespace)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tableauserverclient/models/pagination_item.py", line 24, in from_response
parsed_response = ET.fromstring(resp)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/xml/etree/ElementTree.py", line 1320, in XML
parser.feed(text)
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 5649

@jyothimandava to help troubleshoot this further, could you provide some more info:

The version of TSC library you're using (latest is 0.12.1)
The Tableau Server version for your production server that has the problem
Tableau Server version for the 'dev' server (if different)

I assume your collection of workbooks are probably different between prod and dev, and it may be an attribute of one specific workbook in production is causing the XML problem.

@bcantoni  Sorry for the delay in response, Please find the details below
TSC library version 0.12
Tableau server version of production : 2019.4.9
Tableau server version of dev : 2020.3.0
any pointers for identifying the problematic attribute that could cause the issue would be great.
Thanks

@jyothimandava thanks for that info. Here's something we could try to troubleshoot the issue by enabling the debug log.
Add the following to your script somewhere before you make any TSC calls:
import logging
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', filename="tsc.log", level="DEBUG")

After running your script, the tsc.log file file should show all API calls made and the XML responses (look for sections with string "Server response from..."). The last XML snippet in the file (get workbooks) will hopefully be the one that's causing the parsing error.
Rather than posting the XML snippets here, try loading them in https://xmllint.com/ to see if we can track down the culprit in the XML format.

@bcantoni Thanks a lot Brian. I was able to get the workbook name which is causing the failure XML Parser
chrome (windows)

There is a weird character in the workbook name which I can see on Tableau from chrome on Windows.  It appears to be a space in Chrome browser of Macbook and invisible in Safari browser of Macbook. That is causing the issue.
Safari

Chrome ( Macbook)

I will get the name fixed for now and will try to get more details on the character too since its causing the parser to fail

@jyothimandava ah that's great you found the culprit. Yes the workaround will be to replace that character with a normal space.
If you could post here the title string (by copying either from the browser or the debug log), that would be helpful for us to track this down further.

@bcantoni  . Please find it below.
Hourly TrafficSnapshot
Debug log xml print output just stopped "Hourly Traffic"
name="Hourly TrafficBad RequestPayload is either malformed or incomplete

It's hard to tell from the copy & paste but that looks like it might be the line tabulation character U+000B in between Traffic and Snapshot.
I've tried to reproduce that with Tableau Online (which is running 2020.3.0), but whatever I'm able to enter in the UI comes through fine through the API/library calls. I tried with a bunch of different space/tab unicode characters but it was all handled correctly.
We'll need to keep investigating to see how those characters might have appeared there and how to better handle that case.

@jyothimandava after an internal discussion we found that there was a bug fixed in Tableau Server 2020.3 which specifically dealt with proper encoding of different Unicode whitespace characters entered in the UI. This seems to match up with what you observed with 2019.4 server (prod) having the issue but 2020.3 (dev) working.
So I think the workaround for now would be to have that workbook name fixed (using normal spaces) and then at some point in the future when you upgrade to 2020.3+ the issue should be properly fixed.

@bcantoni That's good to know. Thanks a lot for the support Brain. Since it looks like it is fixed in 2020 version, shall I close the bug?

@jyothimandava yep I'll go ahead and close it. I'm glad we got to the bottom of this one.


Real time diarization

Hi, this work is really interesting. I would like to ask two informations...
Is it possible to realize a speaker diarization like this in real time? Hence, for example, while many people are speaking (having a microphone), each speaker is distinguished in real time (with a continuous audio stream). So you observe the final graph during its updates.
In order to improve the accuracy of the network, for example for Italian speakers recognition, should i train the network using a large dataset containing Italian conversations, after having generated the embeddings?
Thank you in advance,
Giorgio

1: About the 1st question:
Sure, the clustering method was designing to eval the label of each clip of a long audio, with consideration for new coming speakers.
In realtime view, you should reimplement the uisrnnModel.predict function, since it took a list of embeddings as input with fixed size and beam search method.
2: Had better use the same language between your training data and evaluating data, since different language has different tempo and feature, unless there is a more robust speaker recognition method.

Ok, thanks so much, i will try

hi @giorgionanfa have you tried the live diarization ,  i tried to do it but i always get the same speaker [0].

Hi @rohithkodali, i have not tried because i worked on other topics meanwhile. How have you modified the code?

@rohithkodali have you any update?

@taylorlu Could you please give more details about how to reimplement the function? What steps should I take to make it works for the realtime diarization? Thank you very much!


Clearing date doesn't actually clear date

Should this also clear the currDate ? Vuejs cannot observe changes on Date objects.

currDate is just used internally so changes shouldn't need to be observed.

Hmm ok. Well on my input field I have v-model and when using the clear-button functionality it doesn't actually remove the date from the bound model. Not sure if this is related to this or not

Fixed in https://github.com/charliekassel/vuejs-datepicker/commit/3d0b3f3aaa0ccdd59ff7a3692e7a766b76f4cff8
Available from v0.7.8

Woah, thanks!

@charliekassel thanks, you literally saved my life


fix admin matching for analysis results

This PR addresses https://github.com/WFP-VAM/prism-frontend/issues/388. @ericboucher implemented a fix to group by admin code rather than admin name.
This PR also includes RBD config updates which surfaced the group by issue.

@ericboucher - I tested this in multiple deployments and found no issues except for what I noted here https://github.com/WFP-VAM/prism-frontend/issues/397 but I think that is something to do with the admin boundaries and/or stats API rather than this fix

@ericboucher the issue is not because of the sort function, it's because there are multiple rows in the table have the same name (ie Ampil), and we were using location names as the row keys, hence the rows have non-unique keys. To fix this we can change the key to some autogenerated values/find another attribute that have unique values, or make the location names unique. Why are the names repeated in with 10-day rainfall + IDPoor?

@ericboucher the issue is not because of the sort function, it's because there are multiple rows in the table have the same name (ie Ampil), and we were using location names as the row keys, hence the rows have non-unique keys. To fix this we can change the key to some autogenerated values/find another attribute that have unique values, or make the location names unique. Why are the names repeated in with 10-day rainfall + IDPoor?

@tdlinh2712 - yeah, the problem is that non-unique names is possible if we're not concatenating all admin levels. We didn't have all levels included in the Cambodia boundary file so couldn't specify the names for the hierarchy. I went ahead and generated a file that now includes names at all levels and updated the Cambodia configuration in this branch. That fixes the problem.  I don't think we should have this issue if it's clearly documented that names must be unique either on their own or through concatenation of levels

@ericboucher - I tested the Mongolia issue (https://github.com/WFP-VAM/prism-frontend/issues/398) on this branch. Looks good now, thanks.

So does this seem good to you @wadhwamatic ? Good to merge?

Looks all good now @wadhwamatic ? Good to merge?

@ericboucher - yes good to go. thanks


Adding Ciphers section

Adding different types of Ciphers algorithms in Java-A-Z.

@dubesar I want to work on this issue.

@dubesar @kunal299 I want to work on this issue.

@iamrajiv Sure, you can start. Sorry for the late reply.


informer test: reduce flakyness by waiting for correct state

hopefully improving on https://github.com/ManageIQ/kubeclient/pull/586#issuecomment-1328202844
before we waited a set amount of time and now we wait until the watcher is ready
... which will stop and fail in that spot if it never got ready

just for the record, this still had a CI failure https://github.com/ManageIQ/kubeclient/actions/runs/3560257866/jobs/5980172236#step:6:224
RetryTest#test_timeout [/Users/runner/work/kubeclient/kubeclient/test/test_informer.rb:135]:
not all expectations were satisfied
unsatisfied expectations:
- expected exactly once, invoked never: #<AnyInstance:Kubeclient::Common::WatchStream>.finish(any_parameters)
satisfied expectations:
- expected never, invoked never: #<Logger:0x12188>.error()

@grosser whenever I "Re-run all jobs", I'm getting 1–2 failures...
Anyway this makes the test more deterministic, so I'm merging.

maybe this helps https://github.com/ManageIQ/kubeclient/pull/593


Regarding face identification

Hey,
Thanks for the awesome work!
I wanted to know how I can modify the repo to use for face identification task instead of verification.
Any help would be highly appreciated.

Take a look at the rank 1 notebook. Maybe this could help.
Besides, be a bit more specific and surely I will do my best to provide pointers!


[Wikipedia] Update PowerToys icon with the latest version

Wikipedia (https://en.wikipedia.org/wiki/Microsoft_PowerToys) still uses the old PowerToys icon.

Because it's on Wikipedia, it also shows up as the main image on Google:

I would love to do this! Which logo should I use?

@alannt777 What about this one: https://github.com/microsoft/PowerToys/blob/master/doc/images/overview/PT hero image.png
Would be inline with the header image of our repo.

@alannt777 actually, this one is better in terms of aspect ratio: https://github.com/microsoft/PowerToys/blob/master/doc/images/overview/PT_large.png

I can't upload the image directly without saying that it is my work

You could use the File Upload Wizard, which I'm pretty sure has support for this (since the old logo was uploaded using it)

Well I don't have proper access as my account is not old enough

I do have access to it, so I could upload the file if that's alright

Let's see what the PowerToys core team thinks about it

@Vukky123 please upload

Just uploaded it:

Showing up for me as well :)! Thanks @Vukky123 !


Chat format: Recognize specified language and offloaded lexguessing to every newline

https://github.com/turboderp/exllamav2/pull/71#issuecomment-1742043021

It also looks like calling guess_lexer on every token is a little slow, so maybe it makes more sense to call it at the end of every line instead?

https://github.com/turboderp/exllamav2/pull/71#issuecomment-1742051605

Sometimes the model specifies the language, use that (and/or incorporate a small prompt to ensure lang specification)

I found some time :) Now it's detecting the specified language (I like to finetune my models to always do that) and if not, it only lexguesses each newline.
The PR is nothing too big, but I thought this might help nonetheless.
Here is the prompt I found most effective for Llama2-7B-chat 4.0bpw to specify the language:
-sp "You are a helpful coding assistant. Always answer as helpfully as possible. Specify the language after starting a codeblock like: ```python\nprint('hello')\n"
https://github.com/turboderp/exllamav2/pull/71#issuecomment-1742107305

So that won't really work for code snippets. Also it supports a lot of obscure formats so maybe that could be narrowed down a bit for more accurate results. I'm looking into it.

You said you wanted to improve the lexguesser, but still, if I can somehow help or if you want to spend your time on other problems, please let me know and I'll try to take care of it.

I just tested Mistral 7B's coding skills and noticed that the current chat code only treats ``` when it's one chunk/token. Mistral outputs it as `` and ` or so. Fix commit ahead

@turboderp The Mistral 7B chunking has been fixed! If you find any bug with that please let me know


showInputBox overwrites input with initial value when validation fails

VSCode Version: 1.3.0, 1.4.0 commit 4d0b2f5
OS Version: Windows 8.1 64bit

Steps to Reproduce:
export function activate(activationContext: vscode.ExtensionContext) {
  vscode.window.showInputBox({
    value: 'initial-value',
    validateInput: (text: string) => text=='' ? '' : 'input must be empty'
  });
}

run the above extension
type a character into the input box
this will trigger validation failure
bug: the typed text will be replaced with the initial value
subsequent characters will not be replaced by the initial value
clear the text (satisfying validation and removing the error)
go to step 2 to repeat.

Thanks for the repo and the details steps


Fixed Commas

Description of the change: Fixed commas
Reason for the change: Reading experience
Link to original source: https://sendgrid.com/docs/for-developers/sending-email/zapier-sending-for-new-webhook-data/

Closes #

Hello @shinypenny31,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


.NetworkSettings.Networks differs depending on how a container is connected

To reproduce:

create a bridge network
create a container1
use docker connect to connect the container to the network
create another container but this type use docker run --net to connect it.

Result: An inspect of the first container returns [bridge isolated_nw] while inspecting the second container returns just  [isolated_nw]
ubuntu@ip-172-31-36-118:~$ docker inspect --format='{{.NetworkSettings.Networks}}' container3
[isolated_nw]
ubuntu@ip-172-31-36-118:~$ docker inspect --format='{{.NetworkSettings.Networks}}' container2
[bridge isolated_nw]
ubuntu@ip-172-31-36-118:~$ docker network inspect isolated_nw
[
    {
        "name": "isolated_nw",
        "id": "cfcc665b946cda94e2b6099a8a84d6f68ed89a8e0f3a746c4f5a259b0ab9cc47",
        "scope": "local",
        "driver": "bridge",
        "ipam": {
            "driver": "default",
            "config": [
                {}
            ]
        },
        "containers": {
            "6b78fea23cefac4ac977346bbd287d69696aaa57db9c226f77068c2e5c5f24be": {
                "endpoint": "cbb2f4c44633088042312dd18523922962238d9c2c27ac3540618655d278aa48",
                "mac_address": "02:42:ac:13:00:03",
                "ipv4_address": "<IP_ADDRESS>/16",
                "ipv6_address": ""
            },
            "8845961414ca452dbbff849f91203e5cc90f6b7d8cb1da58935bf87d72f59c29": {
                "endpoint": "ec7c6c247296e093e270c3d2b1fd4467a396996637e5a9ea2773e4545a33a87d",
                "mac_address": "02:42:ac:13:00:02",
                "ipv4_address": "<IP_ADDRESS>/16",
                "ipv6_address": ""
            }
        },
        "options": {}
    }
]

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Ohhh, I think I see what is going on.  There were two connected networks bridge because it was connected automatically at run and later attached.  (See this is why the name bridge is confusing for both the type and name.)  Umm, I'll explain it.


createNewBasicGroupChat and getBasicGroup vs getChat

I am confused how these 3 are connected.
createNewBasicGroupChat returns Chat reference (which id I guess could be used in getChat).
How getBasicGroup is used? It expected basic_group_id where does it come from?

This is described in https://core.telegram.org/tdlib/getting-started in the section https://core.telegram.org/tdlib/getting-started#tdlib-glossary.

As for particular questions createNewBasicGroupChat creates new basic group chat, but getBasicGroup and getChat returns information about existing entities by their ID.
getBasicGroup and getChat shouldn't be normally used, because all actual data is received through updates. But if they need to be used, then basic_group_id can be taken from chat.type if the chat is of type chatTypeBasicGroup.

I have read it, just got confused why 2 different types exist. I guess that's because basicGroup is some kind of metadata on top of chat?

@kanekv Because there are different types of chats and basic group is one of them.


A mechanism to allow returning custom collections and/or implementations from mapper functions

I tried using Guava's immutable collections, specifically ImmutableList as return type in mapper functions, but obviously MyBatis does not know how to construct them. Unfortunately, it looks like currently there is no way make it work (see my question on stackoverflow for more details).
It would be really nice to have a mechanism to allow mapping results to custom collections or custom implementations of JDK's collection interfaces.

seems you can just add a SPI mechenism here.


JSON viewer - Easier opening of resource in History

Description
During user test with a brand new user, it wasn't obvious how to navigate into the left/right history of the graph traversal.
The user was driven to click on the label of the resource or in the rectangle and did not realise that the expand icon was intended for that.
possible improvement: remove the icon and make the whole area clickable. As discussed with Bilal this might come at the cost of not being able to copy/paste the resource name from the history, which we agreed might be ok. The icon could also stay as long as the rest of the area is clickable.
This might require a UX discussion with @loris-olivier
Acceptance Criteria

[ ] Relevant area of the history item is clickable to navigate back to this resource

I agree with @bilalesi , but if it simplifies it we can have the whole collapsed panel clickable


docs: fix spelling in README

Description
Spelling Fix in README file.

Types of changes
becasue to be replaced with because in the About section.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Related Issue

https://github.com/gigsboat/cli/issues/33
Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Before:

After:

Checklist:

[ ] I have updated the documentation (if required).
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] I added a picture of a cute animal cause it's fun

Good catch @SagarPandita0, thank you! 👏


When is version 0.4 ready to leave beta?

According to my npm outdated the @latest of webpack-bundle-tracker is 0.4.2-beta.
I would like to upgrade because of issue #27 and #33, but I assume that the beta version is not ready for production, so I'm using version 0.3

Any updates on this please?

@owais Is there anything one could do to help getting 0.4 released?

Published 0.4.3


Tailscale bastion

Description

Adding a new package?
If this pull request adds a new package:

[x] The package's schema URL is correct.
[ ] The package metadata file, if present, contains:

[x] a supported category (one of Cloud, Infrastructure, Network, Database, Monitoring, or Utility).
[x] a description that explains what the package does.
[ ] a valid logo URL that points to a PNG whose dimensions conform to the others in this repo (e.g., 100x100).
[x] a version number prefixed with v that corresponds with a valid GitHub release.

[x] The package repo contains an Overview doc (/docs/_index.md) that includes:

[ ] a brief explanation of what the package is and what it does.
[x] at least one representative example in all supported languages.
[x] a front-matter property for the layout set to package.

[x] The package repo contains an Installation and Configuration doc (/docs/installation-configuration.md) that includes:

[x] links to SDKs in all supported languages.
[x] a copyable command for installing the resource plugin if necessary.
[x] an example of configuring the provider with pulumi config set.
[x] an example of configuring the provider with environment variables.

[ ] A CODEOWNER has reviewed the PR.
[ ] A member of the @pulumi/docs team has reviewed all documentation.

@jaxxstorm can you commit a logo in 100x100 PNG format and point to it using the logoURL property in the schema?
E.g:
"logoUrl": "https://raw.githubusercontent.com/lbrlabs/pulumi-tailscale-bastion/main/<optional-path>/logo.png",

Do we still want to add this provider to the registry?


VariantType::SetVariant(const VariantType& var) produces a memory leak.

The line 437 which sets type to TYPE_NONE prevents the further deallocation of any pointer held by VariantType. The ReleasePointer method relies on type member when doing deallocation which is now set to TYPE_NONE.
Example (pseudo-code):
VariantType a, b;
a.SetString(String("test"));
b.SetInt32(111);
a.SetVariant(b);   // memory allocated to hold "test" string is not freed

Branch with the fix is already in testing. Thanks.

Fixed


Remove quick launch wording from profiles

We don't want to introduce a new concept.
To see this open select default profiles and hover the icon on the right

Also the icon should align more with tasks, a gear with "Configure Terminal Profile" seems good