no connection

i have enabled ports on my router and can access my kodi server from a ddns address
I have set up the .env file with my kodi server address, port number, user name and password, and have set the AWS_DEFAULT_REGION = eu-west-1
i deployed the code via cmd and my function was in the aws console under lambda i have my kodi-alexa function which has the role lambda and triggers set to the Alexa Skills Kit, the arn i got from this page was then copy and pasted into the AWS Lambda ARN (Amazon Resource Name) box under the endpoint field in the amazon development console
i filled out the Skill Information page with the name kodi and invocation name of the living room
Interaction Model i created the slots and copy and pasted the invocations and the intents in the configuration page is where i pasted the arn and selected the europe checkbox then put the Publishing Information and done the Privacy & Compliance page
i now see the kodi app under alexa skills > my skills and i can enable it but there is no interactions between alexa and the living room whenever i ask alexa to play/pause/stop navigate etc she replys with either "i could not fing the livingroom under my account" or "sorry something went wrong" is there any way to tell what iv done wrong or how to find out if alexa is communicating correctly and its my accent or invocation name or have i just bummed up somewhere? ichanged the invocation name to winchester alexa is picking up what im saying "ask winchester to navigate left" in the alexa app but nothing happens

It is hard to know where to start as I am guessing you don't either.
The best place for advice would be the thread on the Kodi forum
I know it is a faff but have a read through all the pages, it will start to make sense as you become more familiar with it :)

turned out the app was set to united states s as default i just copied all the code and created under u.k!
fantastic build 🥇  @m0ngr31 🥇  absolutely amazing work! and thanks for helping me get this set up @digiltd. cheers guys ill close this now


[FLINK-19587][table-planner-blink] Fix error result when casting binary as varchar

What is the purpose of the change
Fix error result when casting binary as varchar
Brief change log
Add binary to varchar cast case
Verifying this change
This change added tests and can be verified as follows:
ScalarFunctionsTest#testCast
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): ( no)
The serializers: (no / don't know)
The runtime per-record code paths (performance sensitive): ( no )
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no )
The S3 file system connector: ( no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot run azure

Rebase the master for the build failed in pubsub connector e2e test whitch has be disabled in master.

@flinkbot run azure

Hi @wuchong , Thank you for reviewing again in your free time.

@flinkbot run azure

Build is passed: https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=8438&view=results
Merging...


inference

Can you provide a inferencr script? Thank you

@lfreee Hello, I have provided the script, please refer to [Local inference Demo]https://github.com/wanghao9610/OV-DINO?tab=readme-ov-file#computer-demo.

Thank you, I provided the wrong location.


[Feature Request] Azure SDK for Go Readme optimize

Feature Request

There are some issues we find when customer trying to use our new version SDK, please include below content in Golang SDK readme

An individual part/document of upgrading Golang to 1.18 version, and a link to this document in Golang SDK Readme
Add a link/Replace the SDK Reference link at the top of the Readme and navigate customer to actual Track 2 libraries list -> https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk
Try to remove retracted modules from pkg.go.dev

Issue to remove doc of retracted modules from pkg.go.dev: https://github.com/golang/go/issues/56121


regex-redux (and others) - Input file is not in repository

For some reason, the input file was added to gitignore at bench/algorithm/regex-redux. Not quite sure what the purpose of that decision was, but the benchmark is unexecutable without it. I would request to have that gitignore file removed/edited and the input file included in the repository.
EDIT: noticed afterwards, that other benchmarks also make use of similarly named files, so regex-redux is not the only benchmark affected by this (knucleotide seems to also require such absent files).

In knucleotide at least we fave in.zip with input files.
I think they are living on server - just to reduce the size of the repo were gitignored

Is it possible to have the link to these files? Or are they not public?

Nevermind, I misread your response, I can see the zip file you referred to is at bench/algorithm/knucleotide/in.zip
My bad... Thanks for the response!


publish npm package 🔥

Description

make modules
remove CRA Put demo page in this repo
publish npm package

Publishing test

Anyway, I distributed it.
have to make module for easy use

There's a refactoring left.

#44
be published
#45
add refactoring issue


Readium performance is very poor loading large ePub with hundreds of SMIL files.

Readium performance is very poor loading large ePub with hundreds of SMIL files. It is taking more than 18-20 seconds to show the first page which is not acceptable in the web-world.
After debugging, it has been noticed that Readium itself loads all the SMIL file at once and waits until all the SMIL file is loaded before showing up the first page.
Is there is any setting/way to deferred these calls and load SMIL data one by one after the page gets loaded? This way we can improve the performance.
I would appreciate if someone suggests improving the Readium performance?
Thanks in advance!
Below is the code snippet which loads all the SMIL data:
this.fillSmilData = function (callback) {
var that = this;
if (packageDocument.spineLength() <= 0) {
    callback();
    return;
}

var allFakeSmil = true;
var mo_map = [];
var parsingDeferreds = [];

for (var spineIdx = 0; spineIdx < packageDocument.spineLength(); spineIdx++) {
    var spineItem = packageDocument.getSpineItem(spineIdx);

    if (spineItem.media_overlay_id) {
        var manifestItemSMIL = packageDocument.manifest.getManifestItemByIdref(spineItem.media_overlay_id);

        if (!manifestItemSMIL) {
            console.error("Cannot find SMIL manifest item for spine/manifest item?! " + spineItem.media_overlay_id);
            continue;
        }
        //ASSERT manifestItemSMIL.media_type === "application/smil+xml"

        var parsingDeferred = $.Deferred();
        parsingDeferred.media_overlay_id = spineItem.media_overlay_id;
        parsingDeferreds.push(parsingDeferred);
        var smilJson = {};

        // Push the holder object onto the map early so that order isn't disturbed by asynchronicity:
        mo_map.push(smilJson);

        // The local parsingDeferred variable will have its value replaced on next loop iteration.
        // Must pass the parsingDeferred through async calls as an argument and it arrives back as myDeferred.
        that.parse(spineItem, manifestItemSMIL, smilJson, parsingDeferred, function (myDeferred, smilJson) {
            allFakeSmil = false;
            myDeferred.resolve();
        }, function (myDeferred, parseError) {
            //console.log('Error when parsing SMIL manifest item ' + manifestItemSMIL.href + ':');
            //console.log(parseError);
            myDeferred.resolve();
        });
    } else {
        mo_map.push(makeFakeSmilJson(spineItem));
    }
}

$.when.apply($, parsingDeferreds).done(function () {
    packageDocument.getMetadata().setMoMap(mo_map);
    if (allFakeSmil) {
        // console.log("No Media Overlays");
        packageDocument.getMetadata().setMoMap([]);
    }
    callback();
});

}

We are all facing this issue. Any help in this area will be helpful. Load time for large books with SMIL is very high.

There are no plans to implement SMIL lazy-loading (ReadiumJS and ReadiumSDK/C++). However, this would certainly improve initial-load performance (possibly at the detriment of playback-time performance, but this could be mitigated with some look-ahead techniques).
Things to consider:
There might be functions in the Media Overlays engine (in readium-shared-js) that depend on having access to the entire SMIL timing tree across multiple spine items (I'm not sure, from the top of my head). I think there are also calculations (for total durations, IIRC) performed during full-publication parsing. Again, to be verified, I'm not sure anymore.
Although the loaded EPUB publications are passed as a monolithic JSON dataset to readium-shared-js, the exception to this rule of thumb is the table of contents (EPUB2 NCX / EPUB3 Navigation Document), which is loaded separately by the viewer instance. In other words, there is a precedent with regards to fetching resources from the EPUB container after the main JSON is generated. This model could be followed for the SMIL files too.


Adding rigged and shape-keyed version of baby GNU.

Of course, if you don't think it is suitable to have these files in the same repo as the models for 3D-printing, feel free to disregard my request and simply do as you please with the rigged model :)
Thank you for providing us with these excellent models!
*Set

Thank you very much for this really nice addition !
If you have the shape-keyed version of baby Tux as well at some point in the future, that will be great.


[CAMEL-21451] Migrate to JKube generated resources for all runtimes

https://issues.apache.org/jira/browse/CAMEL-21451

please test this again


Allow to run TestCafe over HTTPS with self-signed certificates in Chrome Headless

What is your Test Scenario?

Download the provided test repo and execute the notification test in Chrome Headless with SSL (TestCafe HTTPS mode)
What is the Current behavior?

We have a push notification bar/prompt that works only in TestCafe HTTPS mode (see screenshot). Tests run fine in Chrome with SSL certs. But TestCafe fails to run in Chrome Headless with SSL certs.
What is the Expected behavior?

Tests should run fine in Chrome Headless with SSL certs. I tried passing '--allow-insecure-localhost --ignore-certificate-errors' flags. Didn't help. Any suggestions how to make the tests run in Chrome Headless with SSL?
What is your web application and your TestCafe test code?

Your website URL (or attach your complete example):
Download this repo - https://github.com/sijosyn/testcafe-syntests and run the notification test from test suite.

Execute this command...
See the error...

Your Environment details:

testcafe version:                    0.23.3
node.js version:                     v8.11.1
command-line arguments:    testcafe 'chrome:headless --allow-insecure-localhost --ignore-certificate-errors' desktop/notification.js --ssl 'key=./node_modules/openssl-self-signed-certificate/key.pem;cert=./node_modules/openssl-self-signed-certificate/cert.pem'
browser name and version:  Chrome 71
platform and version:           macOS 10.14
other:                                    Notification bar is Chrome only feature.

Greetings! Is there any movement or status on this issue, please?

@SteveSonoa
Hello,
I cannot give you any additional information about this issue. We will update this thread once we have any news regarding this.

We also run into this issue using a self-signed cert for testing. Hope to see this support in TestCafe soon!

Just wondering if this has progressed any further?

Still no update?

Hi @DonRichards,
In this case, it's a Google Chrome restriction. TestCafe will support this feature as soon as Google Chrome implements it.
So, there is no reason to keep this issue open. Please track the related Google Chrome channels.


longest common substring in java

Is your feature request related to a problem? Please describe.
add this question to java folder
Q. Longest common substring of two given string ? (Java)
Describe the solution you'd like
take two pointer and using recursion and for improving solution we can use  hashmap for not using repetative accuring cases
Describe alternatives you've considered
na
Additional context
na

@keshavsingh4522  if this is valid issue then assign it to me?

@keshavsingh4522 I can do it elegantly.


Algolia indexing govuk paas

Merging Algolia indexing commits to the GovUK PaaS branch for use on GovUK PaaS staging.
These commits are all cherry-picked from commits that have been merged to master.
I have tested the ability to run Vacancy.reindex.

The failing check is Your Ruby version is 2.6.6, but your Gemfile specified 2.6.5. Not sure where there is meant to be fixed.

Temporarily closing


✨(backend) add offer and price fields to courseRun

Add offer and price fields to courseRun displayed at admin view
related to #2445
1º task requested on issue #2451

@JoaoGarcao to fix the check-changelog CI check you have to add a line to the CHANGELOG.md file on the Unreleased Added section.

I'm closing this PR, because this will be finished by @Tiago-Salles, and it still needs more work!


Not able to identify IPAD os_version=13.0 , What should do to identify os_version > 13+

What iPad Model is it? I know the iPad Pro identifies as a Mac since suppose to have desktop class browsing. I think detecting touch is a workaround, but in the future if they ever make touch screen Macs that'd be a future problem.
Haven't looked at the code though to see how this works, just thinking of using this in my frontend React project and skimming the issues to see how others use it, so maybe my above message could explain your problem. iPad OS Version is useful but some the OS behave differently for some device models hardware.

The same issue is happening for me also for Safari and Firefox. For chromium browsers its able to detect iPad.

My user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15
isMobile.apple log:
{phone: false, ipod: false, tablet: false, universal: false, device: false}

This issue can be reproduced in Chrome Dev Tools:

Toggle device toolbar
Set device to iPad Air or iPad Pro
Reload the page

Result:
This user agents is not recognised as mobile:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15


German language definition

Also joining in adding languages! :purple_heart:

Also I just noticed that the language definitions could be constants as well, if we keep adding top-level functions. Should they?

Thanks for the contribution! Cool to see!

Also I just noticed that the language definitions could be constants as well, as long as we keep adding top-level functions. Should they?

Sounds like a good plan. I don't have much experience with constants in Gleam yet but I image it is a fairly trivial change. I can try to do it or I'd welcome a PR if you'd like to do one.

Released in 0.4.0!


Mob Timer - Neriak 3rd Gate

Nallar Q'Tentu
Needs updated respwan timer to 6m40s please.  thank you

custom spawn time added. will be available in about 5 minutes


Add UpdateUserStatus and DeleteUserSSOToken functionality

Added support for the following User APIs:

UpdateUserStatus() - https://marketplace.zoom.us/docs/api-reference/zoom-api/users/userstatus
DeleteUserSSOToken() - https://marketplace.zoom.us/docs/api-reference/zoom-api/users/userssotokendelete

Tests included and validated in vivo.

Possibly a silly question - I'm not sure how to get the Zoom-native tests to pass Travis CI, is that necessary to be merged?

@astockwell good question, they should pass 😅 It looks like I need to update the credentials, let me check into that and get back to you. Thanks for the PR!

Closing due to no update in over a year. Feel free to reopen if you are still actively working on this.


ISPN-1579 - TableManipulation class contains incorrect SELECT SQL statem...

...ent for MS SQL Server
I tested my fix with MS SQL Server 2008R2.
Martin

Thanks!


Upgrade Docker images for circleci

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


Unable to send BTC to another wallet address.

I am unable to send BTC from the Defi App to another BTC wallet address. The confirm buttton is greyed out.
app_config.log
app_log.log
binary_log.log

I am unable to send BTC from the Defi App to another BTC wallet address. The confirm buttton is greyed out.
app_config.log
app_log.log
binary_log.log

Hey bro,
technical there is no error. Let me explain this:
The BTC you hold on the DEFI wallet is stored in the DEFIchain. It's kind of wrapped BTC Token. This is a great advantage for the developers and the whole DEFI ecosystem. Therefore, currently you need to send the BTC from DEFI app wallet via DEFIchain protocol to Cake and from Cake you can send the wrapped BTC Token via normal BTCchain to any address.
Greetz

Thanks for the response. I'm still new this so I'm afraid I need more information on how exactly to go about doing that. What website, wallet or exchange do I need to transfer the wrapper BTC token to in the first instance? Are you referring to https://www.cakedefi.com/ or the Cake Wallete or something else? I think the product needs clearer instructions for those of us that are not defi blockchain experts.

Same for Ethereum?

Same for Ethereum?

Hi @jimmytscotia , it's likely that the the address you’re using is not a DeFiChain-friendly address. You can retrieve the DeFiChain address via <cakedefi.com>, try sending a small amount first to test. Same goes for ETH and other tokens.

Click on Balances in <cakedefi.com>
In the BTC row, click on Deposit button
You'll see the Transfer Network options BTC / DeFiChain
Under the QR Code states your DeFiChain address, copy it
Go to DeFi app > BTC wallet > Send
Paste your DeFiChain address into To address field

Attaching some links that may help you with these kind of enquiries:
DeFiChain Telegram (EN)
DeFiChain Telegram (DE)

DeFiChain Announcements (EN)
Hi @OtenMoten , thanks for the help!

Can this issue be placed into an open state again please? I have opened an account on cafedefi.con and I still get the same issue of the "Continue" button being greyed out. I am now worried about losing my investment in your project and not being able to transfer my funds out of the walltet.


Allow calculated metrics to be defined

This pull request adds support for calculated metric columns. Example of API below. Closes #9.
val df = spark.read
  .format("com.crealytics.google.analytics")
  // ... auth stuff ...
  .option("startDate", "2016-11-10")
  .option("endDate", "2016-11-14")
  .option("calculatedMetrics", "AverageEngagement, AnotherCoolMetric")
  .load()

display(df.select(
  col("pagePath"),
  col("calcMetric_AverageEngagement")
))

@nightscape: Have rebased this with your latest commit now.

Nice one! The Travis failure is on me, broke the Scalastyle.
Thanks for the contributions!
It's a lot more fun to go at double speed :smile:


update to Symfony 5.1

This PR bumps all packages to most recent versions. Unused Symfony components have been dropped (like Security). Doctrine has been dropped too as it seems unused.
@weaverryan please test it on your Github account when you have a while to check if it's working properly.

Thank you Ion!


Start on all ttys

I'm just wondering if this is possible, I can't figure it out and I don't wanna switch back to a different display manager

I second this

thank you lol

I think there might be a way if you setup every tty to auto login and launch ly-dm

@AnErrupTion do you mind if i work on this?

@mistermuki I don't mind at all, go ahead!


Update template for newest repo2docker

Context
I suspect the pins for the below are incorrect for latest repo2docker based images, this template should be updated - possibly as part of the image management work if it is going to continue to be the base for community images
  - jupyter_contrib_nbextensions==0.5.1
  # Required until https://github.com/jupyterhub/repo2docker/pull/1196 is merged
  - jupyterhub-singleuser>=3.0,<4.0

Proposal
No response
Updates and actions
No response

Found this issue via the link to https://github.com/jupyterhub/repo2docker/pull/1196 and was wondering what to do since that PR wasn't merged. Do we just keep using jupyterhub-singleuser on managed JupyterHubs? We're using jupyterhub-singleuser~=4.0.1 on CryoCloud, but I see a new version 5.1.0 already, so wondering if it's ok to just continue using jupyterhub-singleuser since it seems to be maintained and working ok?


cache volumes: volume leaks when node CreateVolumeResponse is lost

Suppose the following happens:

Controller CreateVolume calls CreateVolume on several nodes for a cache volume
all nodes create the volume, but one CreateVolumeResponse back to the controller is lost

I suspect we currently leak that volume here: https://github.com/intel/pmem-csi/blob/ff52c5af1607aaaf75e1f9a46a53db5b7d56ccfd/pkg/pmem-csi-driver/controllerserver-master.go#L212
It prints a warning (but who will read it?) and then proceeds, leading to an overall success for CreateVolume.
When DeleteVolume is called, it will not be called for the node where the response was lost -> volume leak.
@avalluri: does that sound right?

The current code treats error response from node controllers as a failure(not just this case, same for all calls to nod controller), and we continue as if no volume was created on that node, hence we do not decrease the cache volume count.
We might look into the error if its transport error. But I am not sure what are the options we have in this case.

We might look into the error if its transport error. But I am not sure what are the options we have in this case.

We would have to assume that a volume might have been created. It's not going to be pretty. One more reason to remove cache volume support.

Fixed by PR #838

Fixed by PR #838


add css variable for the additional page transitions (parallax)

transition-duration can be set by the user for the default transition (using --f7-page-transition-duration), but for the additional transitions (cover, parallax, etc) this is hard-coded.
This PR is done only for parallax because I want to know if there is interest in adding these new variables. If so, I'll update the PR for the remaining effects.

Merged, thanks! 👍


Constant CPU usage

OS version: Linux Manjaro 5.10.26-1
Editor: vscode
Editor version: 1.55.0
Programming language: any
TabNine extension version: 3.2.17

Issue Details:
I'm concerned, or curious is the right word, over Tabnine constantly using my machine's CPU, when I'm idle doing nothing. But if it's justified I guess its okay, I'm just checking to see if it's something that could be improved.
https://user-images.githubusercontent.com/9019120/114316106-c579bc80-9b0a-11eb-96b1-11416c422383.mp4
I'm curious over what's the loop here that is constantly going over this cycle. It's peaking at 1-20% CPU usage every 5 seconds and it goes back to low CPU usage.

@exapsy - are you getting any Tabnine suggestions?
can you please send your tabnine_config.json file to<EMAIL_ADDRESS>the file should be located at $XDG_CONFIG_HOME or $HOME/.config

@dimacodota FYI Just sent the config file at the email. Feel free to ask me for any additional information if needed.


OptionCategory is misspelled

https://github.com/KadeDev/Kade-Engine/blob/master/source/Options.hx#L11

well i made this after seeing the discussion but before seeing #628 pr :<


Wyze v3 + PoE to USB adapter not working

Hi,
I bought one of these:  https://a.co/d/9VitpCo
It works with wz mini hacks. I can't get it to work with thingino.
Wifi works. Ethernet does not work. There is no eth0 device.

you need to build your own config, and enable the driver, add these to your config:
BR2_PACKAGE_USBNET=y
BR2_PACKAGE_USBNET_CDC_ETHER=y```

any progress?

Yes!  It works beautifully.
One more thing though.  I have the uctronics ethernet adapter from amazon.  I noticed that the camera would run for a couple hours then the networking side would crash.  I had to use a realtek program to fix.  Just wanted to reference this link:
https://github.com/gtxaspec/wz_mini_hacks/discussions/495

great, thanks for referencing that!  Hopefully it will help others.
Marking as resolved!

Yes!  It works beautifully.
One more thing though.  I have the uctronics ethernet adapter from amazon.  I noticed that the camera would run for a couple hours then the networking side would crash.  I had to use a realtek program to fix.  Just wanted to reference this link:
https://github.com/gtxaspec/wz_mini_hacks/discussions/495

Could you please share your steps how you did this? I have the same adapter


remove filter label

Remove the "label=" label from the Plan Wizard VM table filter to be consistent with the Plan Detail filter labels.

satisfies  👉  June 14, 2018 6:49 AM


Probable BUG in message_users.py for option of direct private message (n° 3 Message Each Your Follower)

Please follow the guide below

Issues submitted without this template format will be ignored.
You will be asked some questions and requested to provide some information, please read them carefully and answer completely.
Put an x into all the boxes [ ] relevant to your issue (like so [x]).
Use the Preview tab to see how your issue will actually look like.

Before submitting an issue, make sure you have:

[x] Updated to the latest version
[x] Read the README and docs
[x ] Searched the bugtracker for similar issues including closed ones

Purpose of your issue?

[x] Bug report (encountered problems/errors)
[ ] Feature request (request for a new functionality)
[x] Question
[ ] Other

The following sections requests more details for particular types of issues, you can remove any section (the contents between the triple ---) not applicable to your issue.

For a bug report, you must include the Python version used, code that will reproduce the error, and the error log/traceback.
Paste the output of python -V here:
Code:
elif deliveryMethod == 3:
    followers = bot.get_user_followers(bot.user_id)
    for follower in tqdm(followers):
        bot.send_message(directMessage, follower)
    print('Sent An Individual Messages To Your Followers..')
else:
    print('Invalid Selection.')

Error/Debug Log:
Which type of delivery method? (Type number)
0: Messages From CSV File.
1: Group Message All Users From List.
2: Message Each User From List.
3: Message Each Your Follower.
3
2018-04-01 21:47:00,320 - INFO - Instabot Started
Which account do you want to use? (Type number)
1: fukingnerd2018
0: add another account.
-1: delete all accounts.
1
2018-04-01 21:47:03,367 - INFO - Login success as fukingnerd2018!
  0%|                                                                                | 0/5 [00:00<?, ?it/s]2018-04-01 21:47:03,898 - ERROR - Text must be an string, user_ids must be an list or string
2018-04-01 21:47:03,898 - ERROR - Text must be an string, user_ids must be an list or string
2018-04-01 21:47:03,898 - ERROR - Text must be an string, user_ids must be an list or string
2018-04-01 21:47:03,898 - ERROR - Text must be an string, user_ids must be an list or string
2018-04-01 21:47:03,898 - ERROR - Text must be an string, user_ids must be an list or string
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 5/5 [00:00<?, ?it/s]
Sent An Individual Messages To Your Followers..
2018-04-01 21:47:04,226 - INFO - Bot stopped. Worked: 0:30:51.408623
2018-04-01 21:47:04,226 - INFO - Total requests: 7

Describe your issue
Python version used: 3.6
Hello everyone, I wanted to report that by launching the functionality ... examples / message_users.py and choosing the last option (3: Message Each Your Follower), the bot does not send the message to my followers as it always responds with:
"ERROR - Text must be an string, user_ids must be an list or string"
If I use the 0 (0: Messages From CSV File) option, the bot correctly sends the message to the list of followers in the messages.csv file.
I wanted to ask this:

the function "No. 3 Message Each Your Follower" where it takes the list of my followers? Maybe from the file ... examples / followed.txt?

How can I correct this error "ERROR - Text must be an string, user_ids must be an list or string"?

It almost seems that if the script reads the file in .csv format then he sends the message. While with the function "No. 3 Message Each Your Follower" there is a file format / read error (ANSI instead of UTF-8)?

Does the function "No. 3 Message Each Your Follower" send direct messages ONLY to the new followers or to ALL the followers indistinctly when I launch the command?

This is for error "ERROR - Text must be an string, user_ids must be an list or string" and doesn't send private message at my followers.

@gbergna2009 its been fixed ,,close the thread

@virginsince1997 many thanks for fix this issue! I try this news version and now it works.  This way you really risk the ban! it seems that it does not follow the instructions in line 24 "banDelay = (86400 / messagesToSend)".
You could verify? I have tried and send messages all together right away.

@gbergna2009 @virginsince1997 What default delay I need to set for sending messages?
A delay between sending messages

10 private messages up to one hour if we talk about a newly created instagram account with at least 6 images. This is the only data I can tell you to avoid the ban. Then I do not know exactly. However, this could be a reliable starting time, then everyone should be able to set it as they prefer by doing some tests.

@sudoguy Hi boss! Did you check the operation of the delay parameter? at present the messages are sent correctly but are sent all together at once, as if they did not respect any timetable. This is important because otherwise send too many messages all at once, you risk the ban. Thanks so much.


Add files via upload

Let's add a contribution file so we can work better together

@ChoBitsZ7 First stage of verification passed, official domain is ccut.edu.tw as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@ChoBitsZ7 Pull request merged. Thank you.


Are mixins ancestors?

So we've started seeing about upgrading to BioLink 2.1 and came across this: when we ask for ancestors of biolink:SmallMolecule we also get mixins:
https://bl-lookup-sri.renci.org/bl/SmallMolecule/ancestors?version=2.1.0
1 | "biolink:ChemicalEntity"
2 | "biolink:NamedThing"
3 | "biolink:Entity"
4 | "biolink:PhysicalEssence"
5 | "biolink:PhysicalEssenceOrOccurrent"
6 | "biolink:ChemicalOrDrugOrTreatment"
7 | "biolink:ChemicalEntityOrGeneOrGeneProduct"
8 | "biolink:ChemicalEntityOrProteinOrPolypeptide"

Is this intended and/or desirable?
thanks!

I think this has been discussed elsewhere, with the answer being yes - we want mixins to show up as ancestors.  I'm going to close it, but please reopen if there is still necessary discussion to have.


Model cann't find

Sorry, I cannot get the model through your connection? Can you update the connection?

Sorry, It will be available soon, maybe in next few days.

Available now


Connection refused

Hi! Currently I ran around 400 bots and using local botapi server, but almost 50% of request got response of connection refused by local botapi server. What should I do?

Solved, by set big number for --max-connections param

Solved, by set big number for --max-connections param


Skills Display: ability to see all of the skills for a given tag across all of the subjects

dup to #1953


Chainer: Simplify slstm test

Thanks for the PR. Please take a look at my comments above. In general, it seems like the test coverage/variations are reduced quite a bit but it be good to keep it, at least on the same level as before unless there's a good reason not to do so.

I have made the changes. Let me know if any other changes are required.

Thanks for the quick fixed. What do you say about this one though https://github.com/chainer/chainer/pull/7805/files#r307117429 ?

Can you also fix the Travis failures?

I saw that the flat tests convert the arrays to 2d so I added separate tests for 2d arrays. Is that okay?

Isn't it easier to add a flat parameter to the test class and condition based on it in generate_inputs and generate_grad_outputs ?

I have added a flat parameter.

I have removed the print and corrected the indexes.

You've mixed up the indices of c and h.

Jenkins, test this please.

Jenkins CI test (for commit 37543bcc1e86072368312594390176db984cc3f1, target branch master) succeeded!

You should be able to generate None gradients without overriding private methods and also not have to skip the double backward test after https://github.com/chainer/chainer/pull/7831.

#7831 has been merged. Could you update this PR to not override the private method?

Jenkins, test this please.

Jenkins CI test (for commit 4e5d33788835a75ccb5045abfd459d7bcfb23cb1, target branch master) failed with status FAILURE.

Jenkins, test this please.

Jenkins CI test (for commit d2a59b8f6fec794bef12e23bd1ba7a394a90e4ec, target branch master) failed with status FAILURE.

Jenkins, test this please.

Jenkins CI test (for commit d2a59b8f6fec794bef12e23bd1ba7a394a90e4ec, target branch master) succeeded!


Fixes two control-flow typos in func convertToPCM()

Two fixes in func convertToPCM(){}
file here
Fix 1:
There is a defer{} which calls closeFiles(), but later it's called again further down the function - so executes twice.

Fix 2:
When there's an error (see below), the completionHandler is first called with the error, but then later executes the "no errors" path and calls completionHandler?(nil):

Thanks for this!


Constants.DataFolder is now a get property

that reads the path from config.json

Thanks for the great contribution!


Fix tip probe collision

Description:
[Tested on robot]
This PR addresses Z collisions that happen during tip-probe sequence, where either the tip collides with deck, or the pipette collides with tip-probe. A second parameter is used to ensure there is a clearance between the tip-probes top and the pipette's nozzle, in addition to the clearance between the deck on the attached tip.
The tip-probe test was commented out to avoid including it's refactoring within this PR. The test was overly brittle and reinforced development assumptions, while failing to help identify behavioral failures on the robot. A refactor of tip probe should break up that functionality into components that can be unit tested properly
Changelog:

(Bugfix) Fix clearance logic to ensure both tip clearance above deck and nozzle clearance above probe box
(Documentation) Added explanatory inline comments to calibration functions to aid future refactors
(Tests) Remove unhelpful test on tip probe--will add tests in follow-up refactor. Tested on robot in place of the commented-out test

@mcous added the TODO


Password reset - override devise passwords controller to verify reset token

We want to show an error if the password reset token is invalid before allowing user to see the password reset form (instead of waiting for them to submit)
Update this in the devise passwords_controller to support json payload for verifying password reset token (error about no template for html blocking frontend)

See https://github.com/heartcombo/devise/blob/a259ff3c28912a27329727f4a3c2623d3f5cb6f2/lib/devise/models/recoverable.rb#L129-L156 for the method devise uses for this.


fix sub_dims bug in _get_iq_data

Summary
Backends instantiated using DynamicsBackend.from_backend do not work with meas_level arg in DynamicsBackend.run
Details and comments
from qiskit import pulse
from qiskit import QuantumCircuit
from qiskit.qobj.utils import MeasLevel
from qiskit_ibm_provider import ibm_provider
from qiskit_dynamics import DynamicsBackend

provider = ibm_provider.IBMProvider()
kyoto = provider.get_backend('ibm_kyoto')
sim_backend = DynamicsBackend.from_backend(kyoto,subsystem_list=[0]) #single qubit backend

qc = QuantumCircuit(1,1)
qc.h(0)
qc.measure([0],[0])

with pulse.build() as h_q0:
    pulse.play(
        pulse.library.Gaussian(duration=256, amp=0.2, sigma=50, name="custom"),
        pulse.DriveChannel(0)
    )
qc.add_calibration("h", qubits=[0], schedule=h_q0)

result = sim_backend.run(qc, meas_level=MeasLevel.KERNELED)

# ValueError: maximum supported dimension for an ndarray is 32, found 127

which is raised by qiskit_dynamics/backend/backend_utils.py:239 --> probabilities_tensor = probabilities.reshape(list(reversed(subsystem_dims)))
This PR solves this error by removing all 1d (trivial) systems from the subsystem dims within the _get_iq_data function.
More generally, however, DynamicsBackend.from_backend must assign a Target object with the correct number of qubits to the backend and have the subsystem_dims of only the required length.

I just realized, the problem isn't just with meas_level=MeasLevel.KERNELED. Even doing result = sim_backend.run(qc) doesn't work as similar logic is evoked in Qiskit quantum-info. The 127 qubit open-access backends have made it infeasible to use DynamicsBackend.from_backend

Thanks @rupeshknn
If I remember correctly setting the dimension to 1 for the trivial subsystems was done as a hack to get around some other issue. The removal of this doesn't seem to make any other issues suddenly appear?

Yeah so the original change setting "trivial systems" to dimension 1 is here in PR #248. How does this PR handle the labelling of qubits once you've chosen some subset in from_backend?

Hey Dan, for this PR, the bug isn't from DynamicsBackend.from_backend. It has to do with how IQ data is computed. I've already added a test that ensures trivial systems are not measured for IQ data-related means options. This works irrespective of whether the trivial subsystems were provided by the user or via from_backend.
So, I don't see the need for another test. if you disagree, could you point out what exactly would this test be checking for?

Hey Dan, for this PR, the bug isn't from DynamicsBackend.from_backend. It has to do with how IQ data is computed. I've already added a test that ensures trivial sub-systems are not measured for IQ data-related means options. This works irrespective of whether the trivial subsystems were provided by the user or via from_backend.
So, I don't see the need for another test. if you disagree, could you point out what exactly would this test be checking for?

Ah I see - yes you're right. Apologies, I rushed through looking at this in a scramble to reply to a bunch of things after getting back from holidays.


Help Regarding dlp_mp4base

Hey Developers,

I have a question , Please tell me how to run this program/project on Alpine Linux.
I am really wanted to test this out.

Thanks In Advance…

You'll have to build it first.  Google will explain that.

You'll have to build it first. Google will explain that.

Oh,ok.Thanks mate.

Technically there is a linux binary in the repo (rather than as a release), but they don't specify whether it's x86 or x64 and this program isn't especially friendly on memory use.    I found it was generally better to just build things like this on linux and optimize for my processor than try to hunt down whatever glibc / glibc++ etc version something was linked against.  Same for Windows really since this project isn't artificially restricted to building only under Cygwin or similar trash.

I only use this project if I need to force-override the dolby vision profile / level on a file to test device support.  MP4Box is infinitely more powerful in terms of MP4 standard support of audio types  (adding a thumbnail for NAS, naming streams, auto-converting .srt to .vtt subs) and auto-detects Dolby Vision profile / level info from the video stream passed in now.  It's also an order of magnitude faster and can do in-place updates to file metadata and such.   TSMuxer GUI is the better option for remuxing profile 7 (UHD BD) if you need to do so for some reason.


Function to plot model's coefficient table

In the book it is a combination of coeftab function (which returns DF with coefficients) and plot which plots them with confidence intervals. I combined the logic into one function.
You can check the example here (Code 5.11): https://shmuma.github.io/rethinking-2ed-julia/07-Chapter 5. The Many Variables and The Spirious Waffles.html

Looks great Max! Also love your Dagitty.jl!

Ah, yes. This is my very first step towards porting Dagitty to Julia :)


[CMake] Fix macro install rpath

This updates the macro library's rpath to reference the correct locations for the host and stldib libraries that it depends upon. This matches the rpath values for the existing macro libraries:
# readelf -d /usr/lib/swift/host/plugins/libSwiftMacros.so | grep RUNPATH
 0x000000000000001d (RUNPATH)            Library runpath: [$ORIGIN/../../../swift/linux:$ORIGIN/..]

I confirmed that using a locally built libFoundationMacros.so with this change successfully finds the required libraries rather than erroring out with compiler plugin '/usr/lib/swift/host/plugins/libFoundationMacros.so' could not be loaded;  libswift_StringProcessing.so: cannot open shared object file: No such file or directory like before

@swift-ci please test

@swift-ci please test

Full swift toolchain build passed with this change (and passed the rpath packaging tests too)


Wrong tenant with "x-saltcorn-client: mobile-app" requests

There are already big problem with API POST requests - #1433.
I've found workaround to use API requests - add "x-saltcorn-client: mobile-app" to headers.
Now I've found that this header always uses tenant "public" in all api calls (I've checked /scapi/sc_tables/, /api/:table and /api/action/:trigger).

Hi, when 'mobile-app' is set, then the tenant comes from a JSON web token. I believe normally without the header, the tenant is extracted from the URL where the request came from (for example: https://the_tenant.saltcorn.com/). But the mobile-app isn't initialized like that from a web server, it starts from an offline HTML file and uses JWTs for the authentication.
You could try to get a token from the server, just like the mobile-app would do it. I could describe the request format when you are interested in doing that.

Sorry, I've missed that I'm using it with Bearer token. I'm using it not from mobile app, but as a workaround for 1433 bug.

As POST is fixed, this is no longer important.


Localhost should using port 8080 instead of 8000 from the docker run command

Thanks!

@squeaky-pl How can we implement the docker command via a docker.yaml file?
This is how i'm calling the service.
jpronto:
    image: japronto/japronto
    ports:
      - "8080:8080"
    volumes:
      - ./jpronto.py:/jpronto.py
    command: ["python","jpronto.py"]

and it's returning an error message of japronto: error: unrecognized arguments: jpronto.py


Add multiple bundle options for Kubeflow

Adds the ability to set KUBEFLOW_BUNDLE to one of full, lite, or edge. This will let people kick the tires on Kubeflow on their laptops, without having to have a beast of a laptop.

Very happy with this work. It means we can now turn on the kubeflow test we have disabled.
We will also need to update the docs.


Fix dataset naming issue (typo?) in unit test

Description
I ran unit tests locally with
make check-ci
Nearly all passed, but two failed
==================================================================================== short test summary info =====================================================================================
FAILED tests/unit/training/test_activations_store.py::test_activations_store__shapes_look_correct_with_real_models_and_datasets[gpt2-tokenized] - datasets.exceptions.DatasetNotFoundError: Dataset 'apollo-research/sae-monology-pile-uncopyrighted-tokenizer-gpt2' doesn't exist on the Hub or cannot be accessed.
FAILED tests/unit/training/test_activations_store.py::test_activations_store_estimate_norm_scaling_factor[gpt2-tokenized] - datasets.exceptions.DatasetNotFoundError: Dataset 'apollo-research/sae-monology-pile-uncopyrighted-tokenizer-gpt2' doesn't exist on the Hub or cannot be accessed.
================================================================ 2 failed, 209 passed, 8 skipped, 7 warnings in 782.32s (0:13:02) ================================================================
make[1]: *** [unit-test] Error 1
make: *** [check-ci] Error 2

On closer inspection both are caused by a parameter set in tests/unit/training/test_activations_store.py pointing its dataset_path to the huggingface dataset apollo-research/sae-monology-pile-uncopyrighted-tokenizer-gpt2 which does not exist (I confirmed this was not merely a huggingface access/credentials issue, it ain't there).
Luckily the similarly named huggingface dataset apollo-research/monology-pile-uncopyrighted-tokenizer-gpt2 (no "sae-") does very much exist though, and seems to contain tokenized text, similar to Skylion007/openwebtext which is the other dataset associated in these tests with the gpt2 model. The intention of these tests seems to be merely to check that the training script processes standard sorts of input correctly, and apollo-research/monology-pile-uncopyrighted-tokenizer-gpt2  seems an appropriate dataset to achieve this.
Having changed the name of the dataset to  apollo-research/monology-pile-uncopyrighted-tokenizer-gpt2 all 211 tests now pass.
Marvelous repo by the way, thank you all very much
Type of change
Please delete options that are not relevant.

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

Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have not rewritten tests relating to key interfaces which would affect backward compatibility

You have tested formatting, typing and unit tests (acceptance tests not currently in use)

[x] I have run make check-ci to check format and linting. (you can run make format to format code if needed.)

They recently deleted the dataset or changed it or something. Thanks for this fix. If the tests pass I'll accept it.


APPS/pkeyutl doc and error reporting fixups

This handles part of the loose ends regarding documentation mentioned in PRs #25831 and #25913 and in issue #25892.
It also fixes a couple of further issues with the pkeyutl command and its doc.
There are surprisingly many, and even after this PR, further ones are left over.
On this occasion, add some missing app-level checks,
which so far lead to just low-level lib errors or even assertion failures.
For instance,
apps/openssl pkeyutl -derive -inkey test/certs/ec_privkey_with_chain.pem -peerkey test/certs/dhk2048.pem

depending on the OpenSSL version leads to
crypto/evp/keymgmt_lib.c:149: OpenSSL internal error: Assertion failed: match_type(pk->keymgmt, keymgmt)
Abort trap: 6

or
Could not read peer key from test/certs/dhk2048.pem
408F940602000000:error:1608010C:STORE routines:ossl_store_handle_load_result:unsupported:crypto/store/store_result.c:151:
Error reading peer key test/certs/dhk2048.pem

With the proposed fix, it will output
Type of peer public key: DH does not match type of private key: EC
pkeyutl: Error setting up peer key

CI failure out-of-readonly-source-and-install-ubuntu is unrelated.

PIng @openssl/committers for 2nd review


unverified commit so files are showing empty

Hi @hackingthemarkets I noticed many of the files you committed are empty.  I can see that you committed all of the code, but only the filenames of many of the files came through. Most of the files show 0 bytes. See the following image of /backtests/strategy.py

Here is the commit and the code.

This may have been intentional, but I wanted to check first prior to trying to build the container.  Screenshots are below.

Nevermind.  I think you intentionally uploaded the empty files in the 'basic structure." commit

Nevermind.  I think you intentionally uploaded the empty files in the 'basic structure." commit


Changes for jenkins-prod macs in tarball.groovy

Changing S3PushDocker to S3PushConda - create conda env to run aws cli and make tarballs for the macs. Also commented out one block of code (211) that was causing failures.

Could you check the last of these changes before I merge to main?


Weird mixin SCSS causes massive memory leak

Let's start by saying this is a difficult issue to report on. I filed it with the foundation-sites folks and they're pretty confident it's a bug in sassc. I'm no ruby expert but I think that there's no situation under which this library should take more than 50Gb of memory so hopefully I can find a home for this issue without too much back and forth.

What should happen?
When I use jekyll to build the scss for foundation-sites the the memory consumption swells to 50+Gb unless I comment out a chunk of the @mixin foundation-button-group
When I comment out these lines it works. I'm not really a SASS expert so I don't know what to suggest. I only found this by commenting out everything and bringing things back until it compiled.
My Environment:
OSX 10.15.4
Ruby:  ruby 2.6.4p104 (2019-08-28 revision 67798) [x86_64-darwin18]
Foundation installed with NPM, copied over to Jekyll's _sass folder.
<EMAIL_ADDRESS>  version "6.6.3"
  resolved "https://registry.yarnpkg.com/foundation-sites/-/foundation-sites-6.6.3.tgz#8ca5f246357db69e6a0e73351ce06aa8acce6540"
  integrity sha512-8X93wUAmUg1HhVv8uWMWnwoBLSQWSmFImJencneIZDctswn724Bq/MV1cbPZN/GFWGOB/9ngoQHztfzd4+ovCg==

Compiling SCSS using jekyll 4.0 and sassc
From my Gemfile.lock
    jekyll (4.0.0)
      addressable (~> 2.4)
      colorator (~> 1.0)
      em-websocket (~> 0.5)
      i18n (>= 0.9.5, < 2)
      jekyll-sass-converter (~> 2.0)
      jekyll-watch (~> 2.0)
      kramdown (~> 2.1)
      kramdown-parser-gfm (~> 1.0)
      liquid (~> 4.0)
      mercenary (~> 0.3.3)
      pathutil (~> 0.9)
      rouge (~> 3.0)
      safe_yaml (~> 1.0)
      terminal-table (~> 1.8)
    jekyll-sass-converter (2.1.0)
      sassc (> 2.0.1, < 3.0)
    sassc (2.3.0)
      ffi (~> 1.9)

Reproducing
I've got a repo that shows the problem here (dev branch):
https://github.com/Riverscapes/riverscapes-jekyll-theme/tree/dev
Repro steps:

clone the repo
Uncomment the following lines: https://github.com/Riverscapes/riverscapes-jekyll-theme/blob/dev/_sass/foundation-sites/scss/components/_button-group.scss#L236-L252
Run bundle install
Run bundle exec jekyll server --verbose

Watch memory consumption go BOOM!

I can confirm that https://github.com/sass/sassc-ruby/pull/199 fixes the issue

This looks good to me too. Thanks for:
https://github.com/Riverscapes/riverscapes-jekyll-theme/pull/15


find nearby first commit

@khawkins I fixed everything.
About the yarn install && yarn format:fix at the top of the repo - I already did it before, and I see all my quotes changed to double-quotes etc.
Now I ran it again to make sure, but it didn't change any file.
What do you think I should do?

@khawkins I fixed everything. About the yarn install && yarn format:fix at the top of the repo - I already did it before, and I see all my quotes changed to double-quotes etc. Now I ran it again to make sure, but it didn't change any file. What do you think I should do?

If I check out your PR, and do a yarn install && yarn format:fix at the top of the repo, I then see the following output from git status:
$ git status
HEAD detached at refs/pull/upstream/19
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   FindNearby/force-app/main/default/lwc/jsconfig.json
	modified:   FindNearby/force-app/main/default/lwc/locationsList/__tests__/data/oneLocation.json
	modified:   FindNearby/force-app/main/default/lwc/locationsList/__tests__/data/threeLocations.json
	modified:   FindNearby/force-app/main/default/lwc/locationsList/__tests__/locationsList.test.js
	modified:   FindNearby/force-app/main/default/lwc/locationsList/locationsList.js
	modified:   FindNearby/force-app/main/default/lwc/mapFilters/__tests__/mapFilters.test.js
	modified:   FindNearby/force-app/main/default/lwc/mapFilters/mapFilters.js
	modified:   FindNearby/force-app/main/default/lwc/mobileMap/__tests__/mobileMap.test.js
	modified:   FindNearby/force-app/main/default/lwc/mobileMap/mobileMap.js
	modified:   FindNearby/force-app/main/default/lwc/mobileMapLayersMain/__tests__/mobileMapLayersMain.test.js
	modified:   FindNearby/force-app/main/default/lwc/mobileMapLayersMain/config.js
	modified:   FindNearby/force-app/main/default/lwc/mobileMapLayersMain/mobileMapLayersMain.js
	modified:   FindNearby/force-app/main/default/lwc/objectIcon/__tests__/objectIcon.test.js
	modified:   FindNearby/force-app/main/default/lwc/objectIcon/objectIcon.js
	modified:   FindNearby/jest.config.js
	modified:   FindNearby/package-lock.json
	modified:   FindNearby/package.json
	modified:   FindNearby/sfdx-project.json

no changes added to commit (use "git add" and/or "git commit -a")

Are you not seeing these changes when you do the same? They basically need to be git added and git commited, as part of this PR.


SockAuthRequest constructor occasionally throws IllegalStateException on CharsetEncoder#canEncode(CharSequence) call

Expected behavior
The SockAuthRequest constructor call always completes successfully.
Actual behavior
Occasionally the SocksAuthRequest constructor will throw IllegalStateException when checking whether the given username and password can be encoded as US_ASCII.  The following stack trace is observed:
java.lang.IllegalStateException: Current state = RESET, new state = FLUSHED
	at java.base/java.nio.charset.CharsetEncoder.throwIllegalStateException(CharsetEncoder.java:989)
	at java.base/java.nio.charset.CharsetEncoder.flush(CharsetEncoder.java:672)
	at java.base/java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:801)
	at java.base/java.nio.charset.CharsetEncoder.canEncode(CharsetEncoder.java:907)
	at java.base/java.nio.charset.CharsetEncoder.canEncode(CharsetEncoder.java:982)
	at io.netty.handler.codec.socks.SocksAuthRequest.<init>(SocksAuthRequest.java:43)

SocksAuthRequest declares the following static member:
private static final CharsetEncoder asciiEncoder = CharsetUtil.encoder(CharsetUtil.US_ASCII);

It it then used in the constructor like this:
        if (!asciiEncoder.canEncode(username) || !asciiEncoder.canEncode(password)) {
            throw new IllegalArgumentException(
                    "username: " + username + " or password: **** values should be in pure ascii");
        }

One of these calls to canEncode occasionally throws the IllegalStateException.  It should be noted that multiple threads may be invoking this constructor concurrently.  However, nothing about SocksAuthRequest implies that it has any restrictions regarding multi-threaded use. Looking at CharsetUtil, it appears that it is caching a thread-local encoder instance.  I wonder if some other use of CharsetUtil#encoder is putting the cached encoder into a bad state where it later blows up.  My code never calls CharsetUtil, so if cache poisoning is indeed happening, it must be somewhere else in the Netty SOCKS code.
Steps to reproduce
Unfortunately I don't have a simple reproducer for this issue.  It happens only very occasionally in code I've written that utilizes the SOCKS classes included with Netty.
Minimal yet complete reproducer code (or URL to code)
None at this time.
Netty version
4.1.27.Final
JVM version (e.g. java -version)
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.3+7)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.3+7, mixed mode)

OS version (e.g. uname -a)
$ uname -a
Linux t560 4.20.17-gentoo #2 SMP Wed May 29 13:35:58 EDT 2019 x86_64 Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz GenuineIntel GNU/Linux

I think the issue may actually be the fact that this encoder is being declared as a static member.  When it is used this way, there is no guarantee that the thread that initialized the class is the same thread that is performing the canEncode check (and actually it's very unlikely).  I think that instead of using a single static encoder, the constructor should be calling CharsetUtil.encoder(CharsetUtil.US_ASCII) every time to ensure that it gets the correct thread-local encoder instance for its thread.  I'll create a PR.

@jbaldassari good catch... this sounds like it may be the case.

PR posted: https://github.com/netty/netty/pull/9558
I think this is my first netty PR, so please let me know if I'm missing something.  Based on the other open PRs I found, it looks like this should go against the 4.1 branch rather than master, but let me know if I'm supposed to open a PR against master as well.  Thanks!


Documentation for new webhook log clearing cron job

This PR seems to be missing the necessary documentation PR for the new cron job / explanation of the feature. Adding to the education team's backlog!
Originally posted by @RCheesley in https://github.com/mautic/mautic/issues/10405#issuecomment-1054317386

@vickywane great - the PR with the information about the new cron job is at https://github.com/mautic/mautic/pull/10405#issuecomment-1054317386.
We should probably work on the new docs repo at https://github.com/mautic/user-documentation though, I think!
Will align regarding this on Slack.

Nice.
I'll reach out on Slack.

@RCheesley @vickywane I have submitted a PR on cron jobs. Currently working on the setup section. You can work on any other section @vickywane


Icon size not saving

The Icon size for my tool-bar is not saving, everytime I restart atom I need to set it to the value I like.
Maybe its an issue with my editor since it also doesn't save disabled packages but everything besides that works fine

Saving icon size is done through Atom's Settings package, this package doesn't handle that.  Your config.cson file should contain "tool-bar": iconSize: "16px" (or any value).
You mentioned something else being broken with the Settings package. Maybe it's related. Have you tried updating/resetting Atom?

Thanks this solved it... I didn't know that this package doesn't handle saving the settings, I thought It was just my editor not saving...
SOLVED


Created a much more sophisticated check for whether storage has really been moved off the root volume

been moved off the root volume
Signed-off-by: Scott McCarty<EMAIL_ADDRESS>

Fixes issue #20

Thanks for the PR but there is some issues with it.
Running on Ubuntu:
stat: cannot stat ‘/etc/sysconfig/docker-storage’: No such file or directory ./docker-bench-security.sh: 297: [: Illegal number:
Also please run shellcheck tests/1_1_check.sh or similar testing tools.
Last but not least, I think THINPOOLDEV=ps -ef | grep docker |could be replaced byget_command_line_args()`.

@konstruktoid, that first error isn't from my code. I grepped the directory and  it looks like it is coming from section 1.17 of 1_host_configuration.sh
Also, I have never seen a way to get command line args from an already running process? I googled a little and found this which is similarly as nasty as my solution:
/bin/cat /proc/$PRID/cmdline | /bin/gawk -F[[:cntrl:]] '{ for ( i = 1; i <
NF+1; i++ ) printf( "%s ", $i ) } { print "n" }'
I ran through ShellCheck and made some minor changes, tested with bash -x on RHEL6/RHEL7/RHEL7 Atomic....

Yeah, it seems I have to go through the permission stuff again...
Anyway, I started to think that the partition checks in general seems a bit too complicated, so I went back to the books.
CIS: 1.1 Create a separate partition for containers (Scored) says that the only audit that's required is grep /var/lib/docker /etc/fstab. This is an easy one to check.
But wouldn't it also be easier to check when Storage Driver: devicemapper the Data and Metadata files are stored on a non-/ partition and when Storage Driver: aufs the Root Dir is located on a separate partition.
Another issue is that on Fedora 22 the ps returns /usr/bin/docker -d --selinux-enabled --icc=false even if Docker uses the devicemapper.
Compare
[tsj@fed ~]$ sudo docker info
Containers: 9
Images: 17
Storage Driver: devicemapper
 Pool Name: docker-253:1-100663443-pool
 Pool Blocksize: 65.54 kB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 427.1 MB
 Data Space Total: 107.4 GB
 Data Space Available: 16.89 GB
 Metadata Space Used: 1.585 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.146 GB
 Udev Sync Supported: true
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.93 (2015-01-30)
Execution Driver: native-0.2
Kernel Version: 4.0.6-300.fc22.x86_64
Operating System: Fedora 22 (Twenty Two)
CPUs: 1
Total Memory: 1.955 GiB
Name: fed
ID: IZOV:2OUN:4WTY:IDCS:E36L:DD6C:N35F:RFAQ:YD6G:PQ4T:ZUKN:PBJC
[tsj@fed ~]$

with
tsj@lab01:~$ sudo docker info
Containers: 2
Images: 30
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 34
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.19.0-20-generic
Operating System: Ubuntu 15.04
CPUs: 1
Total Memory: 1.954 GiB
Name: lab01
ID: 6AEH:63II:LVVM:TZPI:LSSA:U5LL:U27O:XJ22:TBY6:6BKS:MTEX:PVEG
WARNING: No swap limit support
Experimental: true
tsj@lab01:~$

Thoughts?

So, ACTUALLY, I agree. I was half way through doing it the HARD way, and I checked the spec and thought to myself, I think we can do it with the other fields you mentioned. They are empty on RHEL and RHEL atomic, but as long as they are not equal to: ROOTVOLUME=$(df -P | grep " /$" | awk '{print $1}') I think we are good...
I will poke with it...

Thanks!

Closing due to inactivity.


BASHSESSION not pulling all sessions

Testing in macOS 10.14.4 - only .bash_history and 2 sessions parsed on image with 4 sessions.

Is this on one of the images you've shared with me? If yes, can you tell me which one, so I can take a look.

Image #3 dated 2019-05-09
Do you have that one? I can send a link if not.
Mike Godfrey
Sent from my iPhone

On May 15, 2019, at 13:38, Yogesh Khatri (@swiftforensics) <EMAIL_ADDRESS>wrote:
Is this on one of the images you've shared with me? If yes, can you tell me which one, so I can take a look.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Fixed now in py3 branch.

Awesome. I’ll run it against my images and report back.
Mike Godfrey
Sent from my iPhone

On Jul 4, 2019, at 07:24, Yogesh Khatri (@swiftforensics) <EMAIL_ADDRESS>wrote:
Fixed now in py3 branch.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Generate kafka-zookeeper-openshift.yaml

Issue Ref: Ref #678
Description:
Autogenerate zafka-zookeeper-openshift.yaml and publish it next releases.
TODOs:

[X] Ready to review
- [ ] Automated Tests
[X] Docs

LGTM

/lgtm


Option to "Continue loading from failure point" when restarting a previous failed run

Describe the feature
1st, this request is a sort if inverse of 2142
When a model run fails, all dependent, downstream model runs are skipped.
Now, when you fix your error and you restart a run, it would be great that you could continue it / retry from the point of failure with a flag like  continue_from_last_failure or skip_already_processed. This will save a lot of processing time / costs when the job runs for a long time and makes restarting inherently simple.
As an example, when scheduling a daily run that takes 2 hours and the job failing at 1,5 hour: it would be great when you do not have to restart it completely OR have go though the laborious work of using the models clause to start running from the point of failure
I realize that this is complex to add as it requires to log / track state of every model that has been run. But I do know this is possible, as I have build something like this a decade ago when developing an ETL automation tool for SQL server, written in procedural SQL...
Describe alternatives you've considered
The alternative is going though the laborious work of using the models clause to start everything from the point of failure or pay the price for a total re-run
Who will this benefit?
Basically everyone that has a run failing having significant costs (in processing and / or time), wanting to restart it as efficient as possible.

I agree this would be very compelling. It's already on our radar, as one of the intended use cases of #2465. Could you take a look at that issue, and comment here if it differs from what you had in mind?

#2465 indeed makes possible what I request @jtcohen6! So, this ticket is a duplicate of that one / can be closed.
The core indeed is that you need to start tracking state of everything that ran.
IMO that should be done in a database, that you then also can use for reporting on your runs, either directly in DBT cloud or (even better), by logging that data to the target analytical solution in a DBT specific logging database / schema

I see what you mean. While dbt has had a light touch historically in terms of the metadata it persists in the database—almost none, outside of snapshots and a (fairly slow) add-on logging package—there is good cause to start preserving past invocations and state to power longitudinal analysis.
Some datasets are conducive to that right from within an analytical SQL database. For other, less-tabular data, we may be able to provide more compelling analyses from within dbt Cloud.


Launch final mainnet

This may or may not require an alternative to the IBM Cloud resources. TBD

Launched on April 13, 2022.


Use req.params[] instead of req[], which was removed in rack 3.1.0

use req.params[] instead of req[], which was removed in rack 3.1.0
https://github.com/rack/rack/pull/2183
the omniauth-identity worked with the following warning in rack 3.0.x
warning: Request#[] is deprecated and will be removed in a future version of Rack

However, omniauth-identity no longer works with an error in rack 3.1.x and needs to be fixed.
See also #116

Thanks!  Please rebase on latest master branch.

Is this a diplicate of #116

Merging this because it passed the build on some Rubies.  Will fix the others at some point, or someone can send a PR.

Any idea when this will be pushed into the wild?  My bundle keeps pulling 3.0.9 which I think is 3 years old.

I'll work on getting a release out.

I don't think this is correct:
  option :locate_conditions, ->(req) { { model.auth_key => req.params['auth_key'] } }

I've have an error come back saying req does not have a params (Its seems to already be the params).

I also seem to be getting a rack error (something like response[2]=...   []= no method for nil.  I have tried to trace this down and I can't see what's generating it.  Just know that master causes it and my personally patched version of 3.0.9 does not.  This seems to occur most on Register new user.

Thanks for the report.  What version of rack are you on?

@scott8803 This fix is for compatibility with Rack v3.1+.  Please check your rack version!


KNOX-2395 - Make Gateway Services Pluggable

What changes were proposed in this pull request?
From now on end-users can select different implementation for certain Knox services (where there are more than one implementations) through a newly introduced gateway-site.xml configuration called gateway.service.$SERVICE.impl.
Where $SERVICE is the short name of the service you want to configure and the value is the fully qualified class name of the desired implementation.  This works as an override option for the default implementation (which is hard-coded now in the Java code).
Currently, the following service/implementation pairs are configurable:

alias

org.apache.knox.gateway.services.security.impl.DefaultAliasService
org.apache.knox.gateway.backend.hashicorp.vault.HashicorpVaultAliasService
org.apache.knox.gateway.services.security.impl.RemoteAliasService
org.apache.knox.gateway.services.security.impl.ZookeeperRemoteAliasService

master

org.apache.knox.gateway.services.security.impl.DefaultMasterService
org.apache.knox.gateway.services.security.impl.CLIMasterService

tokenstate

org.apache.knox.gateway.services.token.impl.DefaultTokenStateService
org.apache.knox.gateway.services.token.impl.AliasBasedTokenStateService
org.apache.knox.gateway.services.token.impl.JournalBasedTokenStateService

DefaultGatewayServices and CLIGatewayServices have been modified to use the new service factories. Different service factories are loaded into the memory once using Java's ServiceLoader feature.
How was this patch tested?
Edited existing JUnit tests, added a bunch of new tests to cover new classes, and executed them locally. As well as running some manual tests:
Ran the knoxcli tool:

created the master secret
added/listed some aliases

Started the Knox Gateway:

checked the home page
logged into the Admin UI

modified the 'sandbox' topology
modified a service definition (one that was listed in sandbox, confirmed that it got redeployed)

set different values for gateway.service.[alias|tokenstate].impl in gateway-site.xml and confirmed the factories created the proper instances based on configuration

It still seems that the possible implementations are constrained to some set already known by Knox. Why can't a developer "plug-in" an arbitrary implementation of any gateway service to suit their individual need?

Hm..this is a good idea. I haven't thought about it until now. It'd also mean that the developer will need to make sure the implementation is on the classpath.
Let me ad it to this PR.

It still seems that the possible implementations are constrained to some set already known by Knox. Why can't a developer "plug-in" an arbitrary implementation of any gateway service to suit their individual need?

Hm..this is a good idea. I haven't thought about it until now. It'd also mean that the developer will need to make sure the implementation is on the classpath.
Let me ad it to this PR.

Yes, the implementation being plugged-in would obviously have to be on the classpath. The ext dir in a Knox installation is intended for such a purpose.

It still seems that the possible implementations are constrained to some set already known by Knox. Why can't a developer "plug-in" an arbitrary implementation of any gateway service to suit their individual need?

Thanks for this very useful comment @pzampino. I've just submitted a new commit making it possible to plug-in an arbitrary gateway service implementation.


final stats for data that can be downloaded

Hi, thanks for this useful script. Could you share the number of videos that could download for eval/balanced_train/unbalanced_train since I realize some videos are no longer available? I just want to make sure I download them correctly. thank you.

Sorry for the late reply... This was also a serious issue for me. However, I could not solve it myself. Only remedy I could do was to try multiple times for the failure cases.
So I am sorry to inform you that right now I am also not entirely sure for the final statistics, since while I was trying it kept changing due to various issues. I only confirmed that this repo could harvest fair amount of data, which was sufficient for me.


fix: make sure all tls connections dump keys and other minor fixes

closes https://github.com/atsign-foundation/at_libraries/issues/189
- What I did

removed a redundant piece of code that obstructed some tls_connections from dumping keys [colin]
added a check to ensure that rootcerts exist at the provided location [srie]
minor refactoring/dart format

- How I did it

removed a snippet that defaults param decryptPackets to false

- How to verify it

the tls keys file at the save path now has multiple sets of tls key dumps belonging to multiple connections. previously only one connection dumped keys.

- Description for the changelog

@cconstab this is waiting for an approval from you I believe


is a slide required ? I thought temperature could be read without a slide ?

Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.8/dist-packages/pyseneye/sud.py", line 608, in action
raise TimeoutError("Operation timed out reading response.")
TimeoutError: Operation timed out reading response.

Slide is required as far as I can see, if not it will time out. It needs to be activated using the Seneye software. As of right now, I see no other way than to plug the seneye into a computer running Seneye SUD software once a month, when a slide is changed. There could ideally be some better errorhandling here.


add tosatur.com

https://tosatur.com
resubmitting, with a more complete site and contact info this time
webring link is on the sidebar.

Looks much more complete :) well done! Welcome to the webring.

thank you!


Add tally support

Add support for Tally wallet. Tally is an open-source browser extension similar to Metamask.

LGTM! Thank you for the contribution @0xzoz


Allow dependency on tensorflow-macos instead of tensorflow

Right now, gpflow does not install correctly on Mac because it depends on tensorflow but the pip package has been changed to tensorflow-macos.
Seems to work perfectly fine once installed with --no-dependencies. This is with brew/pip - no Conda.

Done.


[API] Start deriving conformances for Differentiable.

Implement Differentiable derived conformances for struct types.
This improves the usability of Differentiable for user-defined types.
Differentiable conformances can be derived for a struct type when all
stored properties conform to Differentiable.
Currently, synthesis also requires that the struct conforms to VectorNumeric
and that all members have Self == TangentVector == CotangentVector.
This limitation will be removed in a follow-up patch.

Examples:
struct Simple : VectorNumeric, Differentiable {
  var w: Float
  var b: Float
}
var x = Simple(w: 1, b: 1)
assert(x.moved(along: x) == x + x)
assert(x.tangentVector(from: x) == x)

// Type with mixed members.
struct Mixed : VectorNumeric, Differentiable {
  var tensor: Tensor<Float>
  var float: Float
}

// Type with generic members that conform to `Differentiable`.
struct Generic<Member> : VectorNumeric, Differentiable
  where T : Differentiable, T == T.TangentVector, T == T.CotangentVector
{
  var w: T
  var b: T
}
var generic = Generic<Double>(w: 1, b: 1)
assert(generic.moved(along: generic) == generic + generic)
assert(generic.tangentVector(from: generic) == generic)

There are many todos:

Lift aforementioned limitation and synthesize member TangentVector
and CotangentVector structs. This is necessary when not all members
have Self == TangentVector == CotangentVector.

Mark synthesized structs with @_fieldwiseProductSpace.
I'm mostly done implementing this, need to fix some bugs.

Emit warning when deriving Diffentiable conformances for struct type
that doesn't conform to VectorNumeric but could.

Warning: 'TangentVector' and 'CotangentVector' could be '<Self>' if '<Self>' conforms to 'VectorNumeric'

Support Differentiable synthesis for enums.

@rxwei: What Differentiable derived requirements should I mark as @inlinable?

It'd be nice to move duplicated helper static functions to a shared header. These functions add up to tens of duped lines per file. In some cases (e.g. allStoredPropertiesConformToProtocol), the function logic is tricky and slight differences in manually duped code easily cause bugs.
Here are some of those functions:

ValueDecl *getProtocolRequirement(ProtocolDecl *proto, Identifier name)

Might make sense to define this on ProtocolDecl, but the function might not be sufficiently general/robust (what if there are two requirements with the same name? then using raw lookupDirect makes sense). At a minimum, remove assertion in body and return nullptr instead.

ConstructorDecl *getMemberwiseInitializer(NominalTypeDecl *nominal)

Probably makes sense to define this on NominalTypeDecl.

Type getProtocolAssociatedType(ValueDecl *decl, ProtocolDecl *proto, Identifier assocTypeName)

This would subsume specific versions of the function like getVectorSpaceType and getVectorNumericScalarAssocType.

bool allStoredPropertiesConformToProtocol(DeclContext *DC, StructDecl *theStruct, ProtocolDecl *protocol

Currently defined in DerivedConformanceEquatableHashable.cpp. Logic is duplicated for Differentiable and AdditiveArithmetic derived conformances, maybe elsewhere too.

Not sure if it's worth modifying existing classes though. These functions could just go under the swift namespace to avoid modifying classes.
@rxwei: do you have any suggestions?

I discussed things with @rxwei. Here are our conclusions:

The synthesis condition for canDeriveDifferentiable should be: true iff TangentVector and CotangentVector have not been customized.

This condition is because TangentVector and CotangentVector semantically require knowledge of each other (via the tangentVector(from:) method, which requires a memberwise initializer for TangentVector and a mapping from CotangentVector members to TangentVector members).
The protocol method requirements can be customized, however. This enables users to define custom methods (e.g. adding print statements) while making use of compiler-synthesized boilerplate TangentVector and CotangentVector structs.

All synthesized methods (i.e. moved(along:) and tangentVector(from:)) should be marked @inlinable.
Moving duplicated static helper functions to a common place is a good idea. We settled on CodeSynthesis.(h|cpp) as the destination because it's already used to store shared code and is directly related to derived conformances. It also allows us to keep all helper functions together (as opposed to defining the helpers on specific declaration types like ProtocolDecl).
I'll try to remove VectorSpaceStructStatus because it's a bad abstraction and will eventually go away. I'll also commit more cleanup and tests. Then, let's merge the PR!

@swift-ci Please test tensorflow

@swift-ci Please test tensorflow

Merging this PR to unblock things!  Let's tackle @_fieldwiseProductSpace next.


Use resources instead of data to load sample files in Java tests

See: https://groups.google.com/forum/#!topic/bazel-discuss/VUC8kTEXDYo
We also need to update the java_tests.bzl
example: https://github.com/bazelbuild/bazel/blob/master/examples/java-native/src/main/java/com/example/myproject/Greeter.java#L36

will be tackling this in https://github.com/twitter/heron/pull/1629

#1629 implemented an example, but we still needs to specify some extra paths to the resource. Google's Bazel example looks simpler. We need to investigate why, and change to use resource for all BUILD files.

seems we have done this before for java_library: https://github.com/twitter/heron/blob/master/heron/spi/src/java/com/twitter/heron/spi/common/Resource.java

com/twitter/heron/spi/common/Resource.java is unrelated. That's a heron object to model a container or instance resource (i.e., ram, cpu, disk).

Oh yes, sorry. I forgot about this class. We also have a Resources class, which I was talking about. Too much overloading...


Github gist proofs should fail if the gist is a fork

Gist proofs should fail if the supplied gist is a fork of another user's gist. Github users will frequently fork other users' gists without necessarily reading through the entire gist -- if it contains a verification string, that user can then list this gist as a proof that they are associated with a given Github account.
This can be dealt with using the github gist API -- which is probably a better way of fetching the gists in the first place (i.e., "https://api.github.com/gists/39eab0977b650e2ebbe6fbca409bd8fa").

Closing as Github gist proofs have been deprecated.


API plugin download type

For each plugin, perhaps there could be an api plugin type which fetches a url defined by the plugin and get's the download url from that.
For example:
{
  "downloads": [
    {
      "type": "api",
      "goto": {
         "api_url": "https://api.example.com/plugin/get/myplugin"
         "id": ".plugin.info.id" // Gets json data from the api_url
         "goto": {
           "api_url": "https://api.example.com/plugin/get/files/{id}"
           "url": ".files[0].download_url" // Whenever the url property is defined, pap will use it as the download url
         }
       },
      "filename": "plugin.jar"
    }
  ]
}

Any other ways to implement this are welcome, especially parsing the data from the api, I'm not sure about a format to use.

Doing this primarily to further reduce the plugins without the latest version.


Use standard competition ranking when there are ties

See Ranking types.

Hmm. I personally think it's quite odd that there's a gap at the 5th position now.

Why?

@timbrock I think if we make this the default it will surprise some users, like Daan - whereas people who are actively looking for competition ranking will be willing to look for it behind a settings toggle. Please could we make it a non-default option? (and, this is lower priority than republishing the template)

I think if we make this the default it will surprise some users, like Daan - whereas people who are actively looking for competition ranking will be willing to look for it behind a settings toggle.

I still don't see how this is surprising in any way. It is the standard way of doing things (as the name suggests).

Well, he said it looked odd. But I assumed that was more aesthetics.

In favour of merging this:

I think this what most people expect.
@micycle thought the same.
This is what happens in most competitions as far as I'm aware. It's definitely what happens in the Olympics.

Against merging this:

@daanlouter thinks it looks odd.

It would be better if it said "4=" but then that might screw up your alignment

You can now do competition or dense modes.


feat: e2e test suite against real go-ipfs

Parent: #1164
cc @hugomrdias @hacdias @autonome for visibility/early feedback

This PR adds E2E tests for WebUI that run against HTTP API from real IPFS node
Try with:
$ npm run test:e2e # headless against go-ipfs

Implementation details
The end-to-end tests (e2e) test the full app in a headless Chromium browser. They spawn real IPFS node for HTTP API and a static HTTP server to serve the app.
The purpose of those tests is not being comprehensible, but act as a quick regression and integration suite.

E2E_IPFSD_TYPE
Variable named E2E_IPFSD_TYPE defines which IPFS backend should be used for end-to-end tests.
CI setup of ipfs-webui repo runs tests against both JS and GO implementations:
$ E2E_IPFSD_TYPE=go npm run test:e2e # 'go' is the default (if missing)
$ E2E_IPFSD_TYPE=js npm run test:e2e

It is possible to test against arbitrary versions by tweaking ipfs (js-ipfs)
and go-ipfs-dep (go-ipfs) in devDependencies section of package.json and applying the change via npm i
E2E_API_URL
Instead of spawning a disposable node and repo for tests, one can point the E2E test suite at arbitrary HTTP API running on localhost:
$ E2E_API_URL=http://<IP_ADDRESS>:5001 npm run test:e2e

Caveat 1: HTTP API used in tests needs to run on the local machine for Peers screen to pass (they test manual swarm connect to ephemeral /ip4/<IP_ADDRESS>/.. multiaddr)
Caveat 2: CORS requests from http://localhost:3001 (static server hosting dev version of webui) need to be added to Access-Control-Allow-Origin whitelist array in node's config:
"API": {
  "HTTPHeaders": {
    "Access-Control-Allow-Origin": [
      "http://localhost:3001"
    ]
  }
}

Can be done ad-hoc via command line:
$ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["http://localhost:3001"]'
$ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]'

Debugging E2E tests
Show the browser
By default, the test run headless, so you won't see the browser. To debug test errors, it can be helpful to see the robot clicking around the site.
To disable headless mode and see the browser, set the environment variable DEBUG=true:
$ DEBUG=true npm run test:e2e # e2e in slowed down mode in a browser window

Breakpoints
It is possible to set a "breakpoint" via await jestPuppeteer.debug() to stop tests at a specific line:
jest.setTimeout(600000) // increase test suite timeout
await jestPuppeteer.debug() // puppeteer will pause here

In a continuous integration environment we lint the code, run the unit tests, build the app, start an http server and run the unit e2e tests:
> npm run lint
> npm test
> npm run build
> npm run test:e2e

TODO

[x] npm run test:e2e should run headless e2e tests against real go-ipfs
[x] DEBUG=true npm run test:e2e should show browser window
[x] ipfs (API interface for real node) should be in scope of tests
[x] add mechanism and docs for swapping IPFS node used for tests (E2E_IPFSD_TYPE)
[x] tests

[x] Status page (Peer ID)
[x] Files page (multiple files at once)
[ ] Files page (directory)

I was unable to find a way for testing this, but previous test should be enough as it mostly uses the same code paths.

[x] Explore page
[x] Peers page
[x] Settings page

[x] switch to ipfsd-ctl v1
[x] ensure it runs js/go from node_modules
[x] enable linter for test/e2e
[x] add option to point at remote HTTP API (E2E_API_URL)

Ok, I've split tests into separate files but kept them small to test as much they can  while still easy to maintain.
When merged, I'll PR js-ipfs repo to run external webui E2E with js-ipfs backend.
@hugomrdias I used new ipfsd-ctl  in test/e2e/peers.test.js and test/e2e/setup/global-init.js  – would appreciate sanity check, thanks!

@hugomrdias applied your suggestions (details in https://github.com/ipfs-shipyard/ipfs-webui/pull/1353#discussion_r363278418). Should be good enough.
I'm going to merge this to unblock integration with js-ipfs and go-ipfs CI processes, we can improve things later in separate PRs.


Bug - Find dialog stays open after losing focus

After opening the find dialog (/ or ?), and then clicking somewhere in the UI, the dialog remains open, but key presses do not populate the dialog - it is also not possible to close it with esc.
To close the dialog after it loses it's focus, you must re-trigger it (/ or ?) and then close it using esc.

Hi @lougreenwood ,
Which version are you on? The version + commit will be visible on the welcome screen:

I believe this might be similar to #3031 , and also addressed with https://github.com/onivim/oni2/pull/3146 - but wanted to double-check - that fix is in nightly, but not yet in the stable (0.5.4) build

Yep, fixed in nightly, thanks 👍


Recursive call on is_high functions

If the feature esp is active there is actually a recursive call that should not be there.
This is the case for both trait implementations for the PinDriver.
#[cfg(feature = "esp")]
impl<'d, P: Pin> PinWrapper for PinDriver<'d, P, Input> {
    fn is_high(&mut self) -> bool {
        self.is_high() //calls itself
    }
}

I made a new PR for this: #15


Implement the Explore Page

https://github.com/xkaper001/learn/blob/6e3e3a9d4dfae54b32d0e1dc1740402044a00538/lib/pages/explore.dart#L5
Implement the Explore page by adding all the avalable modules for the user here.

Hey @sapatevaibhav, Please assingn me this issue.

Hey, I would like to work on this issue. Please assign me this issue.
Thank you.

Hey, Khushi Soni this side, I'm a GSSoC contributor and would love to handle this issue


Create a registry for feature subtypes

Modules often add new choices to an existing pool, such as a warlock's Eldritch Invocations, or a Battle Master's maneuvers. However, there is no way to present a user with these new additions when leveling up using an existing class.
A system, such as the one for spells, would be good to have here. In a relevant Item Choice advancement, it could then pull from a registry for the feature subtype rather than users having to edit the advancement - which would either involve storing a copy of the class, or editing the item inside the compendium directly, neither of which is ideal.
Since modules usually present these additions in a list form, a new 'feature subtype' page, registered in the manifest same as spell lists, would probably work well.
"flags": {
  "dnd5e": {
    "featureLists": [
      "<page uuid>"
    ]
  }
}

The page type would have a simple data model with system.type.value and system.type.subtype, mirroring the type property on Feature-type items.
An Item Choice advancement should of course be able to opt out of this; either being empty and a property 'Pull from List' being enabled, or having an explicit list defined, which would disregard a registry.

I'm thinking this will be better handled by the compendium browser, since we already have the method for filtering by specific types:

We should be able to have a button for opening the compendium browser pre-filtered based on the settings in the item choice advancement.

I'm thinking this will be better handled by the compendium browser,

Well I figured that would follow easily.
However, using Fighting Style as an example, they can also be split by class. The paladin class for example has 2 or 3 fighting styles, while Fighter has a million. Hence, I think it should be possible to opt out in the advancement of using the Browser to select a feature, or we should somehow we able to add class requirements to them.

Class & subclass seems like a pretty natural additional pair of requirements field to add; probably as string tags?


key_word problem

Description
I just ran the example code, and it displayed
_init__() got an unexpected keyword argument 'max_value'
Code
import time
import progressbar

with progressbar.ProgressBar(max_value=10) as bar:
    for i in range(10):
        time.sleep(0.1)
        bar.update(i)

Versions

Python version: import sys; print(sys.version)
Python distribution/environment: CPython/Anaconda/IPython/IDLE
Operating System: Windows 10, Ubuntu Linux, etc.
Package version: import progressbar; print(progressbar.__version__)

python version:2.7.6
python environment:anaconda
operating system: Ubuntu
package version:3.9.4

This is a very strange problem and the only way I can explain how this is happening if for some reason the code is importing a different progressbar class. To make debugging a bit easier can you show the output of this code (place it right before the with progressbar.ProgressBar... statement)
print 'progressbar', progressbar
print 'Progressbar', progressbar.ProgressBar

Hi,
Thanks for your reply.
I just write the codes and the output as follows
print 'progressbar', progressbar
progressbar <module 'progressbar' from '/usr/local/lib/python2.7/dist-packages/progressbar2-3.9.4-py2.7.egg/progressbar/init.pyc'>
print 'Progressbar', progressbar.ProgressBar
Progressbar <class 'progressbar.bar.ProgressBar'>

Ok, that was not the output I expected. Let's try it again with a repr():
print repr(progressbar)
print repr(progressbar.ProgressBar)

The output should be :
print repr(progressbar)
<module 'progressbar' from '/usr/local/lib/python2.7/dist-packages/progressbar2-3.9.4-py2.7.egg/progressbar/init.pyc'>
print repr(progressbar.ProgressBar)
<class 'progressbar.bar.ProgressBar'>

That output is all as expected, I have to say that I'm stumped... I can't think of a single reason why you would get these results so I would recommend removing the progressbar directory completely and reinstalling it.
First uninstall progressbar2 and after that remove the directory so you can reinstall it again:
pip uninstall progressbar2 -y
rm -rf /usr/local/lib/python2.7/dist-packages/progressbar2*
pip install -y progressbar2

Please let me know if you still have this problem. I'll close this issue for the time being.


[WIP] Refine worker

@jovany-wang @kairbon

What's the status of this PR?

Almost finished------------------ 原始邮件 ------------------
发件人: "Qing<EMAIL_ADDRESS>发送时间: 2020年2月7日(星期五) 晚上8:59
收件人<EMAIL_ADDRESS>抄送: "senyer"576085903<EMAIL_ADDRESS>主题: Re: [distkv-project/distkv] [WIP] Refine worker (#488)
What's the status of this PR?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Please add your PR description.


Kali up and running on VM

Issue: #2

Hey @Akash8451
Thanks for opening this PR 🚀. Mentor will review your pull request soon and till then, keep contributing and stay calm.
Thanks for contributing in OpenCode'24 ✨✨!

@Akash8451 It seems that you have made changes to OTHER's files in your branch. Please refrain from doing so. Make another PR with other's file restored (just update the project and redo your Task)


instancetype: Remove use of k8s.io/utils/ptr

/cc @0xFelix
What this PR does
Before this PR:
$subject, this removes the final use of this package and replaces it kubevirt.io/kubevirt/pkg/pointer.
After this PR:

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

NONE

/sig code-quality


Upgrade dependencies

Going to merge with broken build - have asked in #maintainers channel in single-spa to see if any maintainers can help migrate from circleci to github workflows.


Missing dependencies in generated application

When Grommet references dependencies in SCCS imports they need to be a top level dependency or the SCCS compiler cannot find them. The following need to be added to package.json  of the generated application..
"inuit-defaults": "0.2.3",
"inuit-responsive-settings": "0.1.5",
"inuit-functions": "0.2.0",
"inuit-responsive-tools": "0.1.3",
"inuit-reset": "0.1.1",
"inuit-shared": "0.1.5",
"inuit-normalize": "4.1.1",
"inuit-mixins": "0.2.3",

Is that right @alansouzati?