Decorate EventAliaser._alias_event_name() with functools.lru_cache

Since we pass via _alias_event_name() for each single event,
before this change it was iteratrating via all the known aliases of
all the AWS services, while only a small subset is need.
In my specific benchmark using only dynamodb api
(not directly with AWS, but with a local ScyllaDB),
I've managed to go from ~500-600rps to ~1000-1100rps

this is the code I've used to benchmark
https://github.com/fruch/hydra-locust/blob/master/benchmark.py
I'm still looking for more place, since with YCSB (i.e. java client) i'm getting ~12K rps.
Any other tricks to get more RPS out of the boto3/botocore ?

Codecov Report

Merging #1956 into develop will decrease coverage by 0.11%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           develop   #1956      +/-   ##
==========================================
- Coverage    92.32%   92.2%   -0.12%
==========================================
  Files           53      53
  Lines        10293   10176     -117
==========================================
- Hits          9503    9383     -120
- Misses         790     793       +3

Impacted Files
Coverage Δ

botocore/hooks.py
94.46% <66.66%> (-0.72%)
:arrow_down:

botocore/compat.py
72.72% <0%> (-0.33%)
:arrow_down:

botocore/model.py
97.82% <0%> (-0.25%)
:arrow_down:

botocore/docs/bcdoc/restdoc.py
96.26% <0%> (-0.17%)
:arrow_down:

botocore/credentials.py
98.4% <0%> (-0.13%)
:arrow_down:

botocore/validate.py
98.74% <0%> (-0.07%)
:arrow_down:

botocore/loaders.py
99.24% <0%> (-0.04%)
:arrow_down:

botocore/docs/bcdoc/style.py
95.45% <0%> (-0.04%)
:arrow_down:

botocore/paginate.py
97.8% <0%> (-0.03%)
:arrow_down:

botocore/awsrequest.py
97.19% <0%> (-0.03%)
:arrow_down:

... and 8 more

Continue to review full report at Codecov.

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

this patch improves boto3s s3_client.generate_presigned_url performance by about 2.5x (see also https://github.com/boto/boto3/issues/217)
before:
   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
    40000    3.050    0.000    5.695    0.000 hooks.py:392(_alias_event_name)
  2360000    1.640    0.000    1.640    0.000 {method 'index' of 'list' objects}
  2940004    1.010    0.000    1.010    0.000 {method 'split' of 'str' objects}
    40000    0.201    0.000    0.769    0.000 hooks.py:178(_emit)
    80000    0.159    0.000    0.352    0.000 parse.py:853(quote_from_bytes)

after:
   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
    40000    0.193    0.000    0.749    0.000 hooks.py:178(_emit)
    80000    0.164    0.000    0.356    0.000 parse.py:853(quote_from_bytes)
   710000    0.144    0.000    0.159    0.000 {built-in method builtins.isinstance}
    80000    0.133    0.000    0.640    0.000 utils.py:658(percent_encode)
    70000    0.117    0.000    0.138    0.000 parse.py:109(_coerce_args)

It looks like that LRU simply resolve problem with iteration over EVENT_ALIASES.
I got 25% boost with s3.download_file().
Is any change to see this improvement in upstream?

Any other tricks to get more RPS out of the boto3/botocore ?
https://maori.geek.nz/make-pythons-dynamodb-client-faster-with-this-one-simple-trick-2eb2888269ce

Hey everyone,
We sat down this week to take a deeper look at this. Some of the initial concern with this change is the way lru_cache interacts with class methods when compared to stand alone functions. The cache keeps a reference to the method attached to a given instantiation of each client, which will keep the entire client in scope after it's been released elsewhere. This leads to memory leaks, which while capped at 1024 clients, makes this change problematic for memory constrained users.
functools introduced cached_property in Python 3.8 to help with this use case which would probably be the preferred approach in this scenario. Unfortunately, while we still support Python 3.6 & 3.7, we would need to bring on an additional dependency to backports which we'd prefer to avoid if possible.
I've done some basic benchmarking with a simplified change using a dictionary "cache" on the EventAliaser itself that shows equal or better performance to the lru_cache without the memory leak. I've posted an alternative proposal in #2453 with a rough outline of possible changes. We would encourage anyone still interested in seeing this issue improved to please test out the PR with your current use case. That will help us prioritize changes to this behavior going forward.
Thanks!

We've gone ahead and merged #2453 as the current solution to the caching issue. We're going to resolve this now as we believe the core issue is addressed. The fix should be available in the next Boto3/Botocore release.

notice that this was solved, (only took me a year to notice it..)
thanks @nateprewitt


500 UserDataSyncError from setting service

VSCode Version: 1.44.0-insider
OS Version: Win 10

Steps to Reproduce:

Change any setting
Observe this error in the log of the setting sync (seems to happen on around 80% of requests)

[2020-04-01 15:01:25.245] [userDataSync] [info] Auto Sync: Triggered.
[2020-04-01 15:01:25.245] [userDataSync] [trace] Sync started.
[2020-04-01 15:01:25.245] [userDataSync] [trace] Sending request to server {"url":"https://vscode-sync.trafficmanager.net/v1/manifest","type":"GET","headers":{"Content-Type":"application/json","X-Sync-Client-Id":"1.44.0-insider","X-Sync-Machine-Id":"f8c7b89b-e487-48fc-a641-33dc70984ae5"}}
[2020-04-01 15:01:25.398] [userDataSync] [trace] Request finished {"url":"https://vscode-sync.trafficmanager.net/v1/manifest","status":500}
[2020-04-01 15:01:25.398] [userDataSync] [error] Unknown (UserDataSyncError) undefined: Server returned 500
    at e.manifest (file:///C:/Users/Connor/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:492:297)
    at async e.sync (file:///C:/Users/Connor/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:484:321)
    at async e.sync (file:///C:/Users/Connor/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:471:734)
[2020-04-01 15:01:29.619] [userDataSync] [trace] Request finished {"url":"https://vscode-sync.trafficmanager.net/v1/manifest","status":500}

One of the servers was having dependency issues when this happened, this is already tracked.


About the FocalLoss in code

the heatmap branch is used to calculte the loss of the class :
in loss.py
it defines:
pos_inds = gt.eq(1).float()  # equal 1
neg_inds = gt.lt(1).float()   # < 1
so the guassin gt map is not useful any more? It just use the center point.
Could you help me in this puzzlement,appreciated!

gt.lt(1).float() # < 1 explains

After carefully checked the paper,I got it. the positive object only contains the gt center point,and all other points are regared as negavitve,but for the points inside guassian bumps decrease the penalty,thanks you replying.


Add karthikiyengar as contributor for PR review

Thanks for all the HELP

This PR adds github user karthikiyengar to the contributors section

Coverage remained the same at 100.0% when pulling b1f1fc00251eba8eccc74d24d9337448aadfe4d9 on add-contrib-karthikiyengar into 36bb58ae4a107b507e915cc66101903d2466d5a9 on master.

Coverage remained the same at 100.0% when pulling b1f1fc00251eba8eccc74d24d9337448aadfe4d9 on add-contrib-karthikiyengar into 36bb58ae4a107b507e915cc66101903d2466d5a9 on master.

Coverage remained the same at 100.0% when pulling b1f1fc00251eba8eccc74d24d9337448aadfe4d9 on add-contrib-karthikiyengar into 36bb58ae4a107b507e915cc66101903d2466d5a9 on master.


Only run build steps on changes

https://github.com/marketplace/actions/detect-and-tag-new-version

Redundant now, because the projects have been moved into separate repositories.


Database migration error

Describe the bug
Seems like there is an error while trying to execute the migration to the latest version of the database.
INFO:Context impl PostgresqlImpl.:/usr/local/lib/python3.8/site-packages/alembic/runtime/migration.py:__init__:155
--
INFO:Will assume transactional DDL.:/usr/local/lib/python3.8/site-packages/alembic/runtime/migration.py:__init__:158
INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO  [alembic.runtime.migration] Will assume transactional DDL.
INFO  [alembic.runtime.migration] Running upgrade 1c3f808aa00c -> 38f0b01448ba, Adds on delete cascade behavior and renames primary and foreign keys, and sequence id for report
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context
self.dialect.do_execute(
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 609, in do_execute
cursor.execute(statement, parameters)
psycopg2.errors.UndefinedTable: relation "status_report_pkey" does not exist
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/bin/dispatch", line 8, in <module>
sys.exit(entrypoint())
File "/usr/local/lib/python3.8/site-packages/dispatch/cli.py", line 606, in entrypoint
dispatch_cli()
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/dispatch/cli.py", line 350, in upgrade_database
alembic_command.upgrade(alembic_cfg, revision, sql=sql, tag=tag)
File "/usr/local/lib/python3.8/site-packages/alembic/command.py", line 298, in upgrade
script.run_env()
File "/usr/local/lib/python3.8/site-packages/alembic/script/base.py", line 489, in run_env
util.load_python_file(self.dir, "env.py")
File "/usr/local/lib/python3.8/site-packages/alembic/util/pyfiles.py", line 98, in load_python_file
module = load_module_py(module_id, path)
File "/usr/local/lib/python3.8/site-packages/alembic/util/compat.py", line 184, in load_module_py
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.8/site-packages/dispatch/alembic/env.py", line 83, in <module>
run_migrations_online()
File "/usr/local/lib/python3.8/site-packages/dispatch/alembic/env.py", line 77, in run_migrations_online
context.run_migrations()
File "<string>", line 8, in run_migrations
File "/usr/local/lib/python3.8/site-packages/alembic/runtime/environment.py", line 846, in run_migrations
self.get_context().run_migrations(**kw)
File "/usr/local/lib/python3.8/site-packages/alembic/runtime/migration.py", line 522, in run_migrations
step.migration_fn(**kw)
File "/usr/local/lib/python3.8/site-packages/dispatch/alembic/versions/38f0b01448ba_.py", line 22, in upgrade
bind.execute("ALTER INDEX status_report_pkey RENAME TO report_pkey")
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1003, in execute
return self._execute_text(object_, multiparams, params)
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1172, in _execute_text
ret = self._execute_context(
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context
self._handle_dbapi_exception(
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1510, in _handle_dbapi_exception
util.raise_(
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/util/compat.py", line 182, in raise_
raise exception
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context
self.dialect.do_execute(
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 609, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) relation "status_report_pkey" does not exist
[SQL: ALTER INDEX status_report_pkey RENAME TO report_pkey]
(Background on this error at: http://sqlalche.me/e/13/f405)

And I found that report_pkey already exists.

To Reproduce
Steps to reproduce the behavior:

git pull # pull latest master
Run database upgrade on the dispatch_web container

To reproduce locally:

Run install.sh
At the prompt to load example chose: n
See error.

Expected behavior
We expect the latest model to be setup when we run dispatch database upgrade irrespective of which version of the data model we have currently on the database.
Screenshots

Thanks for the report. I know what the issue is. I'll cut a PR to fix it today.

Thanks for the report. I know what the issue is. I'll cut a PR to fix it today.

@sfc-gh-pkommini #780 should fix it. Let me know if you run into any other issues.

@sfc-gh-pkommini #780 should fix it. Let me know if you run into any other issues.

Gave me some other issues but since we don't have production data yet. I just did a fresh database setup.

Gave me some other issues but since we don't have production data yet. I just did a fresh database setup.


SwiftJWT causing exceptions for iOS 12.4 devices

Note that this currently applies to iOS 12.4 devices. iOS 13+ devices have not had this issue reported. It seems CryptorECC, which the SwiftJWT library uses, is the culprit.
Has anyone also encountered this?
Relevant trace posted below:
Date/Time:           2020-05-09 00:15:57.1893 -0400
Launch Time:         2020-05-09 00:15:55.7345 -0400
OS Version:          iPhone OS 12.4.4 (16G140)
Baseband Version:    n/a
Report Version:      104

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000259a73b00
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [2416]
Triggered by Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libswiftCore.dylib            	0x0000000259a73b00 0x259870000 + 2112256
1   libswiftCore.dylib            	0x0000000259a73b00 0x259870000 + 2112256
2   libswiftCore.dylib            	0x0000000259aa5300 0x259870000 + 2315008
3   libswiftCore.dylib            	0x00000002598f1f70 0x259870000 + 532336
4   CryptorECC                    	0x0000000100d1d9fc 0x100d14000 + 39420
5   CryptorECC                    	0x0000000100d1ec9c 0x100d14000 + 44188
6   CryptorECC                    	0x0000000100d1b5dc 0x100d14000 + 30172
7   SwiftJWT                      	0x00000001011242c8 0x10111c000 + 33480
8   SwiftJWT                      	0x00000001011240ec 0x10111c000 + 33004
9   SwiftJWT                      	0x0000000101124514 0x10111c000 + 34068
10  SwiftJWT                      	0x0000000101137a5c 0x10111c000 + 113244

@zallanx , I have come across this same error, did you find any solution or any alternatives? please share


[Bug] Select2_multiple does not send all values with include_all_form_fields

Bug report
What I did
I have 2 fields, one is a select2_multiple field (languages) and one is select_from_ajax (preferred language).
I want to use include_all_form_fields on my select_from_ajax to use in my fetch so that a user can only select a preferred language from the languages assigned to the record.
Code:
//languages field
$this->crud->addField([
            'name'  => 'languages',
            'type'  => 'select2_multiple',
            'model'     => "App\Models\Language",
            'attribute' => 'language_name',
            'pivot'     => true
]);

//preferred language field
$this->crud->addField([
            'label'                   => "Preferred Language",
            'type'                    => 'select2_from_ajax',
            'name'                    => 'preferred_language',
            'model'                   => "App\Models\Language",
            'attribute'               => 'language_name',
            'data_source'             => backpack_url('organisation/fetch/languages'),
            'ajax'                    => true,
            'include_all_form_fields' => true,
            'minimum_input_length'    => 0,
            'dependencies'            => ['languages'],
            'method'                  => 'POST',
 ]);

//fetch function
protected function fetchLanguages(Request $request)
    {
        $search_term = $request->input('q');
        $triggeredBy = $request->input('triggeredBy');
        $form = backpack_form_input();

        $options = \App\Models\Language::query();
        dd($form['languages']);

        //more stuff here but irrelevant to the issue

    }

What I expected to happen
When I select multiple languages in my languages field, then click to use the preferred_language dropdown then I see an array of multiple values from my dd line.
What happened
I see an array with only the last value I selected:
array:1 [
  "" => "10"
]

What I've already tried to fix it
--
Is it a bug in the latest version of Backpack?
After I run composer update backpack/crud the bug... is it still there?
yes
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:
backpack/crud: 5.5.1
backpack/filemanager: 2.0.0
backpack/generators: v3.3.10
backpack/pagemanager: 3.0.12
backpack/permissionmanager: 6.0.16
backpack/pro: 1.6.0
backpack/settings: 3.0.16

Hey @emogeekface ,
Interesting. I've dug into this and I can confirm this is happening. Looks like we have a bug inside backpack_form_input(). We'll fix ASAP and get back to you.
Thanks for opening the issue!

@pxpm could you please take a look at this? I suspect was introduced in this refactor so it'll probably be fastest for you. From what I can tell from the code, we are treating [] now as relationships (because they have [), so... we might have forgotten all about select multiples 🤦♂
How to reproduce in our Demo:

I've added 'include_all_form_fields' => true, to the select2_from_ajax field on Monsters;
went to ArticleController::index() and done dd(backpack_form_input());
on Monsters, on the Select tab, I filled all fields, making sure the multiple fields were already filled before triggering the select2_from_ajax search;

The output of backpack_form_input() indeed include only the last selected item (see tags and categories), NOT all of the items selected:

So we're doing something wrong in backpack_from_input() now 🤦♂

Thanks @emogeekface for the report, and @tabacitu for confirming the issue 🙏
Indeed, one of my rookie mistakes, not handling inputs that name ends with [], AKA multiple inputs.
I've tried to redeem myself in https://github.com/Laravel-Backpack/CRUD/pull/4983 PR.
Someone in the team will review it, but if you happen to give it a try @emogeekface let me know if it's working in your use case too. You can do that by requiring in composer "backpack/crud": "dev-fix-form-input-parsing-for-multiple-fields as 5.5.99"
Going to close this, let's keep any discussion needed about this subject in the PR thread!
Cheers 🙏


Support async Listen/Notify API

The current Listen/Notify is not usable in a structured concurrency context. We should provide something better:
Goals

Provide a new method on connection:
public func listen(_ channel: String) async throws -> PostgresNotificationSequence

The new PostgresNotificationSequence can be backed by an AsyncThrowingStream<String> internally. However we should not expose this, as this gives us greater flexibility down the road.

We should create a ListenStateMachine in the PostgresConnection that we update for each Listen channel.

Work has started in #264.


RAS-307: Improve error handling in secure message when internal user deleted

What and why?
There is a requirement to improve the logging of the secure message service. This PR will achieve this.
How to test?
Jira
https://jira.ons.gov.uk/browse/RAS-307

/deploy scorfs

/deploy scorfs

/deploy scorfs

/deploy scorfs

/deploy scorfs


KAFKA-9519: Deprecating ZK for ConfigCommand

As part of KIP-555, direct zookeeper access should be deprecated in the Kafka admin tools. This PR is the first of which to do so. This PR adds warnings for deprecation of the --zookeeper option for the ConfigCommand in kafka-configs.sh.
JIRA: https://issues.apache.org/jira/browse/KAFKA-9519
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Thanks for the initial reviews @rondagostino @cmccabe! Updated the PR with the suggestions and responded to the comments as well. Ready for another round when you are

The zkConnectOpt is deprecated now so should we define bootstrapServerOpt with .requiredUnless("bootstrap-server") ? And then the manual check can be moved as well.
      if (!options.has(bootstrapServerOpt) && !options.has(zkConnectOpt))
        throw new IllegalArgumentException("One of the required --bootstrap-server or --zookeeper arguments must be specified")

ok to test

@cmccabe Seems as if there were some test failures, but not sure if they are related to my change - should we do a retest?

The zkConnectOpt is deprecated now so should we define bootstrapServerOpt with .requiredUnless("bootstrap-server") ? And then the manual check can be moved as well.

Let's think about that for a follow-up PR.

LGTM

ok to test


reading support of monochrome images

Will try to add this as an option.NATIVE_MODE which will be set by default to False to not break any compatibility.
If image will be opened by read_heif NATIVE_MODE will be set to True for that image. (So behaviour of read_heif will be different)
For Pillow plugin and open_heif it will be available to change option with register_*_opener or by setting
options.NATIVE_MODE = True

Also this will allow to get and set in info dictionary original image subsampling value(currently it has name chroma in pillow_heif)

This will be delayed and implemented when a new function will be added in the libheif
https://github.com/strukturag/libheif/issues/636#issuecomment-1560203938


Add Cloud Services UI

Add Cloud Services UI.
Known issues:

Buttons are not working (API is not done yet)
Type should be in more human readable form
Red Hat Cloud Services does not fit into menu, can we have something shorter?
No redirect to Cloud Services

Screenshot:

ping @martinpovolny @h-kataria @Hyperkid123

for Red Hat Cloud Services in the menu, can we have Red Hat new logo as an icon?
we can abbreviate it to RH Cloud Services for now

For type, how about dividing it into two columns? (dropping  words ManageIQ and Providers)

Provider: Amazon, Ansible Tower, Azure etc.
Type: Cloud Manager, Storage Manager, Network Manager etc.

What happens when the user clicks on the synchronize? can we show some kind of status info? it would be helpful to show that.

What happens when the user clicks on the synchronize? can we show some kind of status info? it would be helpful to show that.

I have discussed with @lpichler and if I understand it correctly it will initiate task that will upload data from ManageIQ to Cloud Services. That could take some time so there is no immediate feedback. I could add "Synchronization task was initiated." flash message, but that's it.

@terezanovotna Previously we had the Insights left-side menu as the second from the top (under Cloud Intel).  Do we still want it there?

but considering we are kind of in hurry

Are we?

or Red Hat Cloud Services in the menu, can we have Red Hat new logo as an icon?
we can abbreviate it to RH Cloud Services for now

If we are going to have the logo, then do we need "RH" at all?  Perhaps just "Cloud Services"?

@PanSpagetka This looks great!  A couple of questions...

What does the "Upload" button do?  Is that for the "core" (non-provider) data collection?  If so, that's not clear to me.
I don't think we should show the type column as that's an insider thing.  Perhaps instead show .class.description (e.g. for vmware it would show "VMware vCenter")?

What does the "Upload" button do?  Is that for the "core" (non-provider) data collection?  If so, that's not clear to me.

According to @h-kataria, this is for uploading all data. That is both non-provider and provider. Can you, please, confirm that @h-kataria?

What happens when the user clicks on the synchronize? can we show some kind of status info? it would be helpful to show that.

@terezanovotna:  One time data upload will be attempted.
As far as I know, there's no status info (yet) on the backend. Can you confirm that @Fryguy ?

What does the "Upload" button do?  Is that for the "core" (non-provider) data collection?  If so, that's not clear to me.

According to @h-kataria, this is for uploading all data. That is both non-provider and provider. Can you, please, confirm that @h-kataria?

@Fryguy "Upload" button will upload ALL MIQ data to Cloud and "Synchronize" button will only upload data for selected Providers. That's what was discussed with you, @gtanzillo and @Loicavanel during our conversation in Mahwah.

API doesn't return any human readable type. .class.description is not accessible (or at least I don't know how), but I have added second API call so I can convert it. Some providers still don't have description, but I think that they shouldn't be present in the list (mostly Network Managers).
Screenshot:

@PanSpagetka @h-kataria @martinpovolny and Loic discussed this on BJ today.
Here is an updated version of how UI should look like. Please share any feedback in the comments to help us clarify what we have as Robin is implementing it.
https://marvelapp.com/i6c3d3j/screen/58779044
@Fryguy When a user clicks on Synchronize button, we need some kind of feedback loop to tell him what is happening. Do we have that information?
For example:

if it's loading 45 seconds, we want to tell the user it is being synchronized - with a spinner
when clicked on the synchonize button, do we have any status info that we can share with the user?

@Fryguy thoughts? what's on your roadmap regarding the feedback loop?

I have implemented new design with Loic's comment. When user click on synchronize button, it shows flash message.
Screenshots:

@Loicavenel @terezanovotna cc

@h-kataria: Given this whole repo is a work in progress I think we can merge this and do follow up work in a separate PR or PRs.

@h-kataria Platform Synchronization is confusing. Let's call it "Global Synchronization"

@martinpovolny do you have merge rights on this repo, if you have them, let's merge this PR. @PanSpagetka can create a follow up PR to make other changes.

+1 on merge and follow up.  Also, I'll get permissions sorted out after this.

Yes, I have the merge perms, but did not want to merge it w/o your say ;-)
@Fryguy: can you, please, give the perms to @h-kataria too?

@inoxx03 is going to help us with wording!


Auto detected bug

Microsoft PowerToys version
v0.41.3
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
Alt+Space to launch power toys and typed query and hit enter. Power toys bug report window popped up. Tried closing and relaunching still happening.
✔ Expected Behavior
Normal working like Power Toys Run
❌ Actual Behavior
Alt+Space to launch power toys and typed query and hit enter. Power toys bug report window popped up.
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.21390.0
IntPtr Length: 8
x64: True
Date: 01-07-2021 23:39:10
Exception:
System.InvalidCastException: Unable to cast object of type 'System.Windows.Documents.Run' to type 'System.Windows.FrameworkElement'.
at PowerLauncher.MainWindow.SuggestionsList_PreviewMouseLeftButtonUp(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnPreviewMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Other Software
No response

Duplicate of #11898

This was fixed with the release of v0.41.4.
Please update to the latest version of PowerToys and this issue should be resolved.

Resolved, Thanks.


CI: Conformance EKS - controller daemon-validate-config is failing - Config differs

CI failure

Hit on https://github.com/cilium/cilium/pull/34611
Link: https://github.com/cilium/cilium/actions/runs/10777009983/job/29885356190
Recent failure on main: https://github.com/cilium/cilium/actions/runs/10730818741/job/29759887574
Sysdump: cilium-sysdump-final-1.29-us-east-1-true-true.zip

Errors:                cilium             cilium-7cmfn    controller daemon-validate-config is failing since 6s (34x): Config differs:
  &option.DaemonConfig{
      ... // 1 ignored and 9 identical fields
      HostV4Addr: s"<nil>",
      HostV6Addr: s"<nil>",
      EncryptInterface: []string{
+         "eth0",
+         "eth1",
+         "eth2",
      },
      EncryptNode:                  false,
      EnableRuntimeDeviceDetection: true,
      ... // 3 ignored and 72 identical fields
      L2AnnouncerRenewDeadline:         s"5s",
      L2AnnouncerRetryPeriod:           s"2s",
-     NodeEncryptionOptOutLabels:       nil,
+     NodeEncryptionOptOutLabels:       s"node-role.kubernetes.io/control-plane",
      NodeEncryptionOptOutLabelsString: "node-role.kubernetes.io/control-plane",
      BPFRoot:                          "/sys/fs/bpf",
      ... // 14 identical fields
      EnableUnreachableRoutes:       false,
      FixedIdentityMapping:          {},
-     FixedIdentityMappingValidator: ⟪0x00⟫,
+     FixedIdentityMappingValidator: ⟪0x02c76ec0⟫,
      FixedZoneMapping:              nil,
      ReverseFixedZoneMapping:       nil,
-     FixedZoneMappingValidator:     ⟪0x00⟫,
+     FixedZoneMappingValidator:     ⟪0x02c77310⟫,
      IPv4Range:                     "auto",
      IPv6Range:                     "auto",
      ... // 210 identical fields
      EnableBGPControlPlane:       false,
      BPFMapEventBuffers:          nil,
-     BPFMapEventBuffersValidator: ⟪0x00⟫,
+     BPFMapEventBuffersValidator: ⟪0x02c771d0⟫,
      ... // 1 ignored and 12 identical fields
  }

Hello, while I was working on the eks installation without CNI I encountered this issue and every time it happened it was when ipsec was set to true without kpr set.


Remove restriction applied to the number of Javascript clients that can consume the TO API

Currently, one and only one Javascript client can consume the TO api. The origin domain of that ONE client is defined in /opt/traffic_ops/app/conf/cdn.conf
cors => { access_control_allow_origin => 'https://foo.bar.com' }
See TrafficOps.pm.startup() to see where this property is used.
Since there may be many consumers of the TO api that want to build a JS interface, this limitation is problematic.
It may be as simple as changing to
cors => { access_control_allow_origin => '*' }
but this may have other implications. a list would be even better but i don't think this is supported.
cors => { access_control_allow_origin => 'https://foo.bar.com, https://bar.foo.com' }

potential solution that @dewrich and I discussed a while back:
in a conf file, create a variable like this:
$allowed_origins = ['foo.com', 'bar.com']
then on every request to the api, check where the request is coming from (i.e. foo.com) against $allowed_origins and if a match then:
cors => { access_control_allow_origin => 'https://foo.com' }

workaround -
change /opt/traffic_ops/app/conf/cdn.conf to:
cors => {
access_control_allow_origin => '*'
}


Implement #132 - Verify no overlapping trips in block

Summary:
This PR provides support to verify that trips from same block do not overlap
Expected behavior:

[x] trips from same block with same service id that overlap should generate a notice

[x] rule logic
[x] unit tests

[x] trips from same block with same service_id that do not overlap should not generate notice

[x] rule logic
[x] unit tests

[x] trips from same block with with different service_id that overlap should generate notice if:

[x] only calendar.txt is provided

[x] rule logic
[x] unit tests

[x] only calendar_dates.txt is provided

[x] rule logic
[x] unit tests

[x] trips from same block with with different service_id that do not overlap should not generate notice if:

[x] only calendar.txt is provided

[x] rule logic
[x] unit tests

[x] only calendar_dates.txt is provided

[x] rule logic
[x] unit tests

[x] rework newly added notice constructor

[x] update rules doc

[x] retrieve and execute use case

[x] additional unit tests for newly implemented methods in Calendar.java

[x] additional test for notice export as json and pb

[x] remove duplicate code

[x] update tests

Explain and/or show screenshots for how you expect the pull request to work in your testing (in case other devices exhibit different behavior).
Please make sure these boxes are checked before submitting your pull request - thanks!

[x] Run the unit tests with gradle test to make sure you didn't break anything
[x] Format the title like "Fix #<issue_number> - " (for example - "Fix #1111 - Check for null value before using field")
[x] Linked all relevant issues
[ ] Include screenshot(s) showing how this pull request works and fixes the issue(s)

Note: It seems that there is a bug in the time conversion utilities.

Note: It seems that there is a bug in the time conversion  utilities thi should be solved so that we can go forward on this PR, see https://github.com/MobilityData/gtfs-validator/issues/347.
This results on bad calculation when it comes to determine if two stop times overlap. I will need to think further on this matter and will edit this comment with more information!
@barbeau @fabrice-v @maximearmstrong

Hmmm...I think because in this solution you lose the strong typing for the
collection and that you still have to duplicate the majority of the text
I'd stick with the original two constructors.
On Wed, Sep 2, 2020 at 9:33 AM Lionel Nébot Janvier <
<EMAIL_ADDRESS>wrote:

@lionel-nj commented on this pull request.
In
domain/src/main/java/org/mobilitydata/gtfsvalidator/domain/entity/notice/error/BlockTripsWithOverlappingStopTimesNotice.java
https://github.com/MobilityData/gtfs-validator/pull/346#discussion_r482071676
:

                                               final String tripFirstTime,

                                               final String tripLastTime,

                                               final String previousTripId,

                                               final String previousTripFirstTime,

                                               final String previousTripLastTime,

                                               final String blockId) {

   super("trips.txt",

           E_054,

           "Overlapping stop times in trip block",

           String.format("Trips with `trip_id`: `%s` (first time: `%s`, last time: `%s`)" +

                           " and `%s` (first time: `%s`, last time: `%s`) from block: `%s` overlap.",

                   tripId, tripFirstTime, tripLastTime, previousTripId, previousTripFirstTime,

                   previousTripLastTime, blockId),

           tripId);

   putNoticeSpecific(KEY_TRIP_TRIP_ID, tripId);

I think that this could be done by uing Object typ in the notice
constructor for field conflictingDateCollection. Then, the null check can
be done just right before editing the error message:
This could work:
public BlockTripsWithOverlappingStopTimesNotice(final String tripId,
                                                final String tripFirstTime,
                                                final String tripLastTime,
                                                final String previousTripId,
                                                final String previousTripFirstTime,
                                                final String previousTripLastTime,
                                                final String blockId,
                                                final Object conflictingDateCollection) {
    super("trips.txt",
            E_054,
            "Block trips must not have overlapping stop times",
            conflictingDateCollection != null ?
            String.format("Trips with `trip_id`: `%s` (first time: `%s`, last time: `%s`)" +
                            " and `%s` (first time: `%s`, last time: `%s`) from block: `%s` overlap." +
                            " Conflicts happen on: %s.",
                    tripId, tripFirstTime, tripLastTime, previousTripId, previousTripFirstTime,
                    previousTripLastTime, blockId, ((Set) conflictingDateCollection).toString()) :
            String.format("Trips with `trip_id`: `%s` (first time: `%s`, last time: `%s`)" +
                            " and `%s` (first time: `%s`, last time: `%s`) from block: `%s` overlap.",
                    tripId, tripFirstTime, tripLastTime, previousTripId, previousTripFirstTime,
                    previousTripLastTime, blockId),
            tripId);

    putNoticeSpecific(KEY_TRIP_TRIP_ID, tripId);
    putNoticeSpecific(KEY_TRIP_BLOCK_ID, blockId);
    putNoticeSpecific(KEY_TRIP_FIRST_TIME, tripFirstTime);
    putNoticeSpecific(KEY_TRIP_LAST_TIME, tripLastTime);
    putNoticeSpecific(KEY_TRIP_PREVIOUS_TRIP_ID, previousTripId);
    putNoticeSpecific(KEY_PREVIOUS_TRIP_FIRST_TIME, previousTripFirstTime);
    putNoticeSpecific(KEY_PREVIOUS_TRIP_LAST_TIME, previousTripLastTime);
    putNoticeSpecific(KEY_CONFLICTING_DATE_LIST, conflictingDateCollection);
}

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MobilityData/gtfs-validator/pull/346#discussion_r482071676,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHCSLIHM54URJS6BUD2PI3SDZCSFANCNFSM4QFQYF6Q
.


builder gets executed with AnimationStyle.noAnimation

Changed the if-statement nesting, so builder gets executed with AnimationStyle.noAnimation.
Pre-launch Checklist
Issue: https://github.com/flutter/flutter/issues/156959
[✅ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ✅] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ✅] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[ ✅] I signed the CLA.
[ ✅] I listed at least one issue that this PR fixes in the description above.
I updated/added relevant documentation (doc comments with ///).
I added new tests to check the change I am making, or this PR is test-exempt.
I followed the breaking change policy and added Data Driven Fixes where supported.
[✅ ] All existing and new tests are passing.

Yes guidance would be nice.
I couldnt get my dev enviorment to work properly, so I had no linter. Also if I tried to format the original flutter repo, it did a lot of new line breaks. Are there somewhere official linter options for the Flutter repo?
Also how should the test look like? A simple unit test, testing the outcome of the _materialBuilder() or a widget test? Where should the test be located?
I will probably take 2/3 days to fix this, as I have a lot to do rn.

@Lurchfresser Last I checked auto formatter should  be off when editing the flutter code base. I feel your pain as that happened to me before.

I couldnt get my dev enviorment to work properly, so I had no linter.

In case you have not seen it, here are the instructions to set up the framework development environment.

Also if I tried to format the original flutter repo, it did a lot of new line breaks.

Automatic format can not be used on the Flutter repo (it will be at one point :crossed_fingers:)
About the test, I will give more guidance soon.

@Lurchfresser
Here is the test you can add in packages/flutter/test/material/app_test.dart (I would suggest adding it under line 1668):
  // Regression test for https://github.com/flutter/flutter/issues/156959.
  testWidgets(
    'MaterialApp with builder works when themeAnimationStyle is AnimationStyle.noAnimation',
    (WidgetTester tester) async {
      await tester.pumpWidget(
        MaterialApp(
          themeAnimationStyle: AnimationStyle.noAnimation,
          builder: (BuildContext context, Widget? child) {
            return const Text('Works');
          },
        ),
      );
      expect(find.text('Works'), findsOne);
    },
  );

@bleroux Thank you very much for being kind and helpful.
I will fix the indentation and add the test later today, when I have my Laptop.
Do you know when this will probably hit the stable channel?

Do you know when this will probably hit the stable channel?

If not cherry picked it will hit the stable channel is some months (there is a stable version release every 3 months).
It is probably too late for the next stable so it would be for the following one.


-Zmiri-track-pointer-tag=untagged fails (ICE)

I'd like to be able to track untagged when debugging, but currently I think the only way to do this is -Zmiri-track-raw-pointers.

Code
fn main() {}

Meta

rustc --version --verbose:
rustc 1.56.0-nightly (a49e38e67 2021-08-23)
binary: rustc
commit-hash: a49e38e672c60da788360e088f00ad12353e3913
commit-date: 2021-08-23
host: x86_64-unknown-linux-gnu
release: 1.56.0-nightly
LLVM version: 13.0.0

Error output
$ MIRIFLAGS='-Zmiri-track-pointer-tag=untagged' cargo miri run
    Finished dev [unoptimized + debuginfo] target(s) in 0.00s
     Running `/home/devinj/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo-miri target/miri/x86_64-unknown-linux-gnu/debug/test_miri`
thread 'main' panicked at '-Zmiri-track-pointer-tag requires a valid `u64` argument: invalid digit found in string', src/tools/miri/src/bin/miri.rs:393:33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.56.0-nightly (a49e38e67 2021-08-23) running on x86_64-unknown-linux-gnu

note: compiler flags: -Z miri-track-pointer-tag=untagged -C embed-bitcode=no -C debuginfo=2 -C incremental --crate-type bin

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
end of query stack

Backtrace

thread 'main' panicked at '-Zmiri-track-pointer-tag requires a valid `u64` argument: invalid digit found in string', src/tools/miri/src/bin/miri.rs:393:33
stack backtrace:
   0: rust_begin_unwind
             at /rustc/a49e38e672c60da788360e088f00ad12353e3913/library/std/src/panicking.rs:517:5
   1: std::panicking::begin_panic_fmt
             at /rustc/a49e38e672c60da788360e088f00ad12353e3913/library/std/src/panicking.rs:460:5
   2: miri::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Thanks for the report! I moved it to the Miri repo.
Indeed -Zmiri-track-pointer-tag=untagged does not work. And I also don't see how it can work: there are a lot of untagged pointers, and what this option would do is print a diagnostic whenever any one of them is being created or invalidated. That would be entirely useless.
Note that the verb "track" in -Zmiri-track-raw-pointers and  -Zmiri-track-pointer-tag has a very different meaning... which is unfortunate but we didn't quite plan this well enough ahead. :/ Quoting from the docs:

-Zmiri-track-pointer-tag= shows a backtrace when the given pointer tag is popped from a borrow stack (which is where the tag becomes invalid and any future use of it will error). This helps you in finding out why UB is happening and where in your code would be a good place to look for it.

-Zmiri-track-raw-pointers makes Stacked Borrows track a pointer tag even for raw pointers. This can make valid code fail to pass the checks, but also can help identify latent aliasing issues in code that Miri accepts by default. You can recognize false positives by  occurring in the message -- this indicates a pointer that was cast from an integer, so Miri was unable to track this pointer. Note that it is not currently guaranteed that code that works with -Zmiri-track-raw-pointers also works without -Zmiri-track-raw-pointers, but for the vast majority of code, this will be the case.

Technically we can do whatever we want, true -- but I see no reason to cause pain to all users that use the old name.

The proposed rename is happening in https://github.com/rust-lang/miri/pull/1911.
@ssbr could you say a bit more about what you are trying to debug? As I said above, many pointers are untagged, so there's not really any point in having Miri print something whenever an untagged pointer is used. Can you say a bit more about what you are trying to debug?

Sorry for not chiming in earlier, lost track of this.

Can you say a bit more about what you are trying to debug?

The only way I'm aware of to make miri output how it is mutating the borrow stack is to tell it to track a tag. But it can only do so for non-raw pointers, so I was (and am) a bit stuck: AFAIK there's no way to determine how the borrow stack is mutated for raw pointers except to read the code closely and follow along with the paper, pretending to be miri.(But, in fact, I wanted miri to tell me what it was doing so that I could be sure I was correctly understanding the paper to begin with!)
You can see examples of the kinds of snippets I was working with e.g. here: https://github.com/rust-lang/miri/issues/1878

A more recent example where something like this might be useful -- I was recently trying to make sure I understood why Vec<T> was allowed to touch T, despite holding a *mut T and not a *mut [T]. Seeing the borrow stack would've shown that it's using a raw pointer borrow that spans the whole thing and predates the held *mut T. Similarly, I'm hoping to implement virtual method dispatch into C++ objects -- even if you only hold a pointer to a base class (a subobject, only part of the span). if I get it wrong, I will probably want to see when a raw pointer borrow was pushed/popped from the object.
As you say, in a larger program, there's too many pointers. But for a minimal reproducible example, where every pointer is relevant, I think that isn't a problem, because every one of them will be something I'm interested in.

As you say, in a larger program, there's too many pointers. But for a minimal reproducible example, where every pointer is relevant, I think that isn't a problem.

Note that even if you write an empty main function, there are a lot of pointers -- Miri interprets programs the way they are actually executed, which means starting at lang_start.
I do agree that it would be great to have better visualizations and debugging features for Stacked Borrows. But asking specifically for -Zmiri-track-pointer-tag=untagged is an instance of the X/Y problem. We probably want something more like "show me in more detail what's happening in a particular region of memory", or so. So I will close this issue, since most of the discussion here is besides the point you were after.
There is https://github.com/rust-lang/miri/issues/974 for debugability of Stacked Borrows failures; if that issue does not reflect what you are looking for then please open a new one and describe the problem you want to solve. I think this would also be a great use-case for https://github.com/oli-obk/priroda, if it could display Stacked Borrows data.

Ah I should also say, there are some tracing features you could play around with, but they will drown you in information:
MIRI_LOG=info,miri::stacked_borrows=trace ./miri run tests/run-pass/hello.rs

This is how I debugged Stacked Borrows while developing it.


submitting FieldArray

I am grappling trying to understand what should be done upon submit for a FieldArray.  Offhand, I could simply update the store with the entire array that the form provides. But the whole idea of Redux is to document incremental changes.  If I have an array of 100 items, and the user updates/deletes just one, that's what I'd expect the store to archive -- rather than setting the entire array anew.
I realize that ReduxForm itself actually interacts with the store incrementally, but that is for display purposes only.  Could/should that information  be transferred to the 'real' (i.e., non-UI related) store reducer? Or perhaps setting the entire array is fine, being that the ReduxForm interactivity itself is archived.
In summary: What should be done upon submit for a FieldArray?

Is your back-end an event-source based system (perhaps Redux itself)?
If so, you should probably listen to the Redux Form actions and submit these instead of the consolidated values:
POST /api/resource/1/actions

[
  { "type": "remove", "meta": { "path": "values[1]" } },
  { "type": "change", "meta": { "path": "values[0].foo" }, "payload": "bar" },
  { "type": "add", "meta": {  "path": "values" } }
]

Otherwise, I see no problem in storing the values at once.

ping

no back-end at this point...

Okay, so you could anyway deal with your own reducers incrementally as I told you above.
To perhaps give you yet another idea:
The backend for one of my apps deals with form data in an event-sourced way, just like Redux: it receives all data, everytime, but we only store the difference between each save.
This way we have the "time traveling" feature that Redux made possible for JS apps 🎉


Fix link to TF install docs in README

Current link has invalid anchor at the end. Make link go directly to the README to account for future changes.
Could also link to this page directly but there's a chance they could change the URL:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/get_started/os_setup.md

In this case we should actually link to https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/get_started/os_setup.md

Ok. Updated.


Something went wrong

I am getting this error when I switch Outcomes in the popup-up while entering different orders one after another. To continue I need to reload the page and sometimes the reload doesn't work so I restart the browser.
Don't have the reproduction steps as it happens randomly.

Error code text:
0x add order validation failure: {"orderHash":"0x49ce439d444596731d8930c7df38b851551f028e5b3340fccd3d7a2dccaadb4a","signedOrder":{"chainId":102,"exchangeAddress":"0x2e90e3c430c1470d62587c8983755d717f46f617","makerAddress":"0x4b55c101a480256a4b127a7fcbd13fed0dd56eef","makerAssetData":"0x94cfcdd7000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000124a7cb5fb70000000000000000000000006749e370e7b1955ffa924f4f75f5f12653c7512c000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000001c8e74ad31921c1e271b18e5dfb37148ea526e6ae0000000000000000000d0101000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024f47261b00000000000000000000000005f3341ea5989ad3129e325027b8d908b63709a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e4a7cb5fb70000000000000000000000008470f1aac60a08d2282616f19a4c52718847b847000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","makerFeeAssetData":"0x","makerAssetAmount":"1000000000000000000","makerFee":"0","takerAddress":"0x0000000000000000000000000000000000000000","takerAssetData":"0xa7cb5fb70000000000000000000000006749e370e7b1955ffa924f4f75f5f12653c7512c000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","takerFeeAssetData":"0x","takerAssetAmount":"1000000000000000000","takerFee":"0","senderAddress":"0x0000000000000000000000000000000000000000","feeRecipientAddress":"0x0000000000000000000000000000000000000000","expirationTimeSeconds":"1592265660","salt":"1592510997150","signature":"0xf261a70d45f59b8a7bc3cdbffe5e498313eba3ebf87607e2631825e0a82094a669423295b1c6a1eb13f9b4aece1317e7bceb1efd5c101a668d431b01df714a001c07"},"kind":"ZEROEX_VALIDATION","status":{"code":"OrderExpired","message":"order expired according to latest block timestamp"}}

The setup is local testnet :
yarn docker:all
yarn workspace @augurproject/ui dev

@pgebheim
After some code updates, I get very frequently the "no blocks were stored" when continuously creating SELL orders while changing Outcomes in Categorical markets:

This test was on Kovan network, so obviously thera are blocks there. Actually, the first transaction went through, but when I changed the Outcome in the popup, this error appeared upon submitting the order.

I need console log output to help with this. Could you post it? You're almost certainly spewing errors, probably writing to the database.
If you can send me that and then clear the app state and try again that would be appreciated.
The update on Monday includes backwards incompatible db changes.

@pgebheim
the bug is still there , here is the video on how it is occurring.
something_went_wrong.zip

Here is another screenshot of this error (with sources as of today), but using Firefox. Here I am seeing a clear error in building 0xMesh order object:

This error showed up after creating 2nd order. First order went ok, second order failed.
My guess would be that the problem is in the encoding of Market Data.
@pgebheim

This order is already expired when you're making it. Do you have an expiration time set explicitly?

@nuevoalex Would be good try to see if this is reproducible. @bthaile -- Do you think this could be the result of the UI setting the expiration timestamp wrong in some case that's happening only on this localhost? I've never seen this one before....

This order is already expired when you're making it. Do you have an expiration time set explicitly?

@pgebheim  @nuevoalex
no, but there is a little detail , I am running the local testnet setup using this command:
yarn docker:all -f
so, the time is always constant, however if it is constant, the order shouldn't be expiring.
As for expiration date, I am not moving it, so it is set as default when data on the form is entered.
Or maybe it is a timezone issue? I am in GMT-6

Something weird is going on here for sure, but as far as I can tell its related to this local dev / fake-time case -- I'm going to move it out of the v2-release and have someone take a look with slightly lower priority.
Are you saying you never moved the fake time?


fix: keyboard interrupt is now only raised when intended

Changes:

Adding config to ensure readchar >= 4.0.0 doesn't raise interrupt

Issue #28

Codecov Report

Merging #29 (9e18332) into master (6a5ce4d) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #29   +/-   ##
=======================================
  Coverage   98.09%   98.10%
=======================================
  Files           3        3
  Lines         263      264    +1
  Branches       77       77
=======================================
+ Hits          258      259    +1
  Partials        5        5

Flag
Coverage Δ

unittests
98.10% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

beaupy/_beaupy.py
97.54% <100.00%> (+0.01%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


add kylin support

添加对 Kylin JDBC 驱动的支持。
单元测试依赖 kylin 环境，这里我将测试日志贴一下：
2017-05-27 11:26:51,978 [INFO ] DruidDataSource:812 - {dataSource-1} inited
2017-05-27 11:26:52,326 [DEBUG] KylinConnection:62 - Kylin base url <IP_ADDRESS>:7070, project name jlkBigData
2017-05-27 11:26:53,081 [DEBUG] BasicClientConnectionManager:159 - Get connection for route {}->http://<IP_ADDRESS>:7070
2017-05-27 11:26:53,095 [DEBUG] DefaultClientConnectionOperator:177 - Connecting to <IP_ADDRESS>:7070
2017-05-27 11:26:53,116 [DEBUG] RequestAddCookies:132 - CookieSpec selected: best-match
2017-05-27 11:26:53,130 [DEBUG] RequestAuthCache:78 - Auth cache not set in the context
2017-05-27 11:26:53,131 [DEBUG] RequestProxyAuthentication:87 - Proxy auth state: UNCHALLENGED
2017-05-27 11:26:53,131 [DEBUG] DefaultHttpClient:713 - Attempt 1 to execute request
2017-05-27 11:26:53,132 [DEBUG] DefaultClientConnection:269 - Sending request: POST /kylin/api/user/authentication HTTP/1.1
2017-05-27 11:26:53,134 [DEBUG] wire:63 - >> "POST /kylin/api/user/authentication HTTP/1.1[\r][\n]"
2017-05-27 11:26:53,136 [DEBUG] wire:63 - >> "Accept: application/json, text/plain, */*[\r][\n]"
2017-05-27 11:26:53,136 [DEBUG] wire:63 - >> "Content-Type: application/json[\r][\n]"
2017-05-27 11:26:53,136 [DEBUG] wire:63 - >> "Authorization: Basic QURNSU46S1lMSU4=[\r][\n]"
2017-05-27 11:26:53,136 [DEBUG] wire:63 - >> "Content-Length: 2[\r][\n]"
2017-05-27 11:26:53,136 [DEBUG] wire:63 - >> "Host: <IP_ADDRESS>:7070[\r][\n]"
2017-05-27 11:26:53,137 [DEBUG] wire:63 - >> "Connection: Keep-Alive[\r][\n]"
2017-05-27 11:26:53,138 [DEBUG] wire:63 - >> "User-Agent: Apache-HttpClient/4.2.5 (java 1.5)[\r][\n]"
2017-05-27 11:26:53,138 [DEBUG] wire:63 - >> "[\r][\n]"
2017-05-27 11:26:53,138 [DEBUG] headers:273 - >> POST /kylin/api/user/authentication HTTP/1.1
2017-05-27 11:26:53,138 [DEBUG] headers:276 - >> Accept: application/json, text/plain, */*
2017-05-27 11:26:53,139 [DEBUG] headers:276 - >> Content-Type: application/json
2017-05-27 11:26:53,139 [DEBUG] headers:276 - >> Authorization: Basic QURNSU46S1lMSU4=
2017-05-27 11:26:53,139 [DEBUG] headers:276 - >> Content-Length: 2
2017-05-27 11:26:53,139 [DEBUG] headers:276 - >> Host: <IP_ADDRESS>:7070
2017-05-27 11:26:53,139 [DEBUG] headers:276 - >> Connection: Keep-Alive
2017-05-27 11:26:53,139 [DEBUG] headers:276 - >> User-Agent: Apache-HttpClient/4.2.5 (java 1.5)
2017-05-27 11:26:53,140 [DEBUG] wire:77 - >> "{}"
2017-05-27 11:26:53,379 [DEBUG] wire:63 - << "HTTP/1.1 200 OK[\r][\n]"
2017-05-27 11:26:53,380 [DEBUG] wire:63 - << "Server: Apache-Coyote/1.1[\r][\n]"
2017-05-27 11:26:53,381 [DEBUG] wire:63 - << "Set-Cookie: JSESSIONID=BAF3610449277DA68C4008D43F41F5C5; Path=/kylin/; HttpOnly[\r][\n]"
2017-05-27 11:26:53,381 [DEBUG] wire:63 - << "Pragma: no-cache[\r][\n]"
2017-05-27 11:26:53,381 [DEBUG] wire:63 - << "Cache-Control: no-cache, no-store, max-age=0[\r][\n]"
2017-05-27 11:26:53,381 [DEBUG] wire:63 - << "Expires: Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]"
2017-05-27 11:26:53,381 [DEBUG] wire:63 - << "Content-Type: application/json;charset=UTF-8[\r][\n]"
2017-05-27 11:26:53,381 [DEBUG] wire:63 - << "Content-Language: zh-CN[\r][\n]"
2017-05-27 11:26:53,381 [DEBUG] wire:63 - << "Content-Length: 246[\r][\n]"
2017-05-27 11:26:53,381 [DEBUG] wire:63 - << "Date: Sat, 27 May 2017 03:26:08 GMT[\r][\n]"
2017-05-27 11:26:53,381 [DEBUG] wire:63 - << "[\r][\n]"
2017-05-27 11:26:53,382 [DEBUG] DefaultClientConnection:254 - Receiving response: HTTP/1.1 200 OK
2017-05-27 11:26:53,382 [DEBUG] headers:257 - << HTTP/1.1 200 OK
2017-05-27 11:26:53,382 [DEBUG] headers:260 - << Server: Apache-Coyote/1.1
2017-05-27 11:26:53,382 [DEBUG] headers:260 - << Set-Cookie: JSESSIONID=BAF3610449277DA68C4008D43F41F5C5; Path=/kylin/; HttpOnly
2017-05-27 11:26:53,382 [DEBUG] headers:260 - << Pragma: no-cache
2017-05-27 11:26:53,382 [DEBUG] headers:260 - << Cache-Control: no-cache, no-store, max-age=0
2017-05-27 11:26:53,382 [DEBUG] headers:260 - << Expires: Thu, 01 Jan 1970 00:00:00 GMT
2017-05-27 11:26:53,382 [DEBUG] headers:260 - << Content-Type: application/json;charset=UTF-8
2017-05-27 11:26:53,382 [DEBUG] headers:260 - << Content-Language: zh-CN
2017-05-27 11:26:53,383 [DEBUG] headers:260 - << Content-Length: 246
2017-05-27 11:26:53,383 [DEBUG] headers:260 - << Date: Sat, 27 May 2017 03:26:08 GMT
2017-05-27 11:26:53,389 [DEBUG] ResponseProcessCookies:122 - Cookie accepted: "[version: 0][name: JSESSIONID][value: BAF3610449277DA68C4008D43F41F5C5][domain: <IP_ADDRESS>][path: /kylin/][expiry: null]".
2017-05-27 11:26:53,390 [DEBUG] DefaultHttpClient:543 - Connection can be kept alive indefinitely
2017-05-27 11:26:53,392 [DEBUG] DefaultClientConnection:154 - Connection <IP_ADDRESS>:33843<-><IP_ADDRESS>:7070 shut down
2017-05-27 11:26:53,392 [DEBUG] BasicClientConnectionManager:201 - Releasing connection org.apache.kylin.jdbc.shaded.org.apache.http.impl.conn.ManagedClientConnectionImpl@584b7291
2017-05-27 11:26:53,457 [DEBUG] KylinClient:369 - Post body:
 {"sql":"select 1","project":"jlkBigData","acceptPartial":false,"backdoorToggles":{"ATTR_STATEMENT_MAX_ROWS":"0"}}
2017-05-27 11:26:53,458 [DEBUG] BasicClientConnectionManager:159 - Get connection for route {}->http://<IP_ADDRESS>:7070
2017-05-27 11:26:53,458 [DEBUG] DefaultClientConnectionOperator:177 - Connecting to <IP_ADDRESS>:7070
2017-05-27 11:26:53,462 [DEBUG] RequestAddCookies:132 - CookieSpec selected: best-match
2017-05-27 11:26:53,462 [DEBUG] RequestAddCookies:184 - Cookie [version: 0][name: JSESSIONID][value: BAF3610449277DA68C4008D43F41F5C5][domain: <IP_ADDRESS>][path: /kylin/][expiry: null] match [<IP_ADDRESS>:7070/kylin/api/query]
2017-05-27 11:26:53,463 [DEBUG] RequestAuthCache:78 - Auth cache not set in the context
2017-05-27 11:26:53,463 [DEBUG] RequestProxyAuthentication:87 - Proxy auth state: UNCHALLENGED
2017-05-27 11:26:53,463 [DEBUG] DefaultHttpClient:713 - Attempt 1 to execute request
2017-05-27 11:26:53,463 [DEBUG] DefaultClientConnection:269 - Sending request: POST /kylin/api/query HTTP/1.1
2017-05-27 11:26:53,463 [DEBUG] wire:63 - >> "POST /kylin/api/query HTTP/1.1[\r][\n]"
2017-05-27 11:26:53,464 [DEBUG] wire:63 - >> "Accept: application/json, text/plain, */*[\r][\n]"
2017-05-27 11:26:53,464 [DEBUG] wire:63 - >> "Content-Type: application/json[\r][\n]"
2017-05-27 11:26:53,464 [DEBUG] wire:63 - >> "Authorization: Basic QURNSU46S1lMSU4=[\r][\n]"
2017-05-27 11:26:53,464 [DEBUG] wire:63 - >> "Content-Length: 113[\r][\n]"
2017-05-27 11:26:53,464 [DEBUG] wire:63 - >> "Host: <IP_ADDRESS>:7070[\r][\n]"
2017-05-27 11:26:53,464 [DEBUG] wire:63 - >> "Connection: Keep-Alive[\r][\n]"
2017-05-27 11:26:53,464 [DEBUG] wire:63 - >> "User-Agent: Apache-HttpClient/4.2.5 (java 1.5)[\r][\n]"
2017-05-27 11:26:53,464 [DEBUG] wire:63 - >> "Cookie: JSESSIONID=BAF3610449277DA68C4008D43F41F5C5[\r][\n]"
2017-05-27 11:26:53,464 [DEBUG] wire:63 - >> "Cookie2: $Version=1[\r][\n]"
2017-05-27 11:26:53,464 [DEBUG] wire:63 - >> "[\r][\n]"
2017-05-27 11:26:53,464 [DEBUG] headers:273 - >> POST /kylin/api/query HTTP/1.1
2017-05-27 11:26:53,465 [DEBUG] headers:276 - >> Accept: application/json, text/plain, */*
2017-05-27 11:26:53,465 [DEBUG] headers:276 - >> Content-Type: application/json
2017-05-27 11:26:53,465 [DEBUG] headers:276 - >> Authorization: Basic QURNSU46S1lMSU4=
2017-05-27 11:26:53,465 [DEBUG] headers:276 - >> Content-Length: 113
2017-05-27 11:26:53,465 [DEBUG] headers:276 - >> Host: <IP_ADDRESS>:7070
2017-05-27 11:26:53,465 [DEBUG] headers:276 - >> Connection: Keep-Alive
2017-05-27 11:26:53,465 [DEBUG] headers:276 - >> User-Agent: Apache-HttpClient/4.2.5 (java 1.5)
2017-05-27 11:26:53,465 [DEBUG] headers:276 - >> Cookie: JSESSIONID=BAF3610449277DA68C4008D43F41F5C5
2017-05-27 11:26:53,465 [DEBUG] headers:276 - >> Cookie2: $Version=1
2017-05-27 11:26:53,465 [DEBUG] wire:77 - >> "{"sql":"select 1","project":"jlkBigData","acceptPartial":false,"backdoorToggles":{"ATTR_STATEMENT_MAX_ROWS":"0"}}"
2017-05-27 11:26:53,497 [DEBUG] wire:63 - << "HTTP/1.1 200 OK[\r][\n]"
2017-05-27 11:26:53,497 [DEBUG] wire:63 - << "Server: Apache-Coyote/1.1[\r][\n]"
2017-05-27 11:26:53,498 [DEBUG] wire:63 - << "Content-Type: application/json;charset=UTF-8[\r][\n]"
2017-05-27 11:26:53,498 [DEBUG] wire:63 - << "Content-Length: 570[\r][\n]"
2017-05-27 11:26:53,498 [DEBUG] wire:63 - << "Date: Sat, 27 May 2017 03:26:08 GMT[\r][\n]"
2017-05-27 11:26:53,498 [DEBUG] wire:63 - << "[\r][\n]"
2017-05-27 11:26:53,498 [DEBUG] DefaultClientConnection:254 - Receiving response: HTTP/1.1 200 OK
2017-05-27 11:26:53,498 [DEBUG] headers:257 - << HTTP/1.1 200 OK
2017-05-27 11:26:53,499 [DEBUG] headers:260 - << Server: Apache-Coyote/1.1
2017-05-27 11:26:53,499 [DEBUG] headers:260 - << Content-Type: application/json;charset=UTF-8
2017-05-27 11:26:53,499 [DEBUG] headers:260 - << Content-Length: 570
2017-05-27 11:26:53,499 [DEBUG] headers:260 - << Date: Sat, 27 May 2017 03:26:08 GMT
2017-05-27 11:26:53,499 [DEBUG] DefaultHttpClient:543 - Connection can be kept alive indefinitely
2017-05-27 11:26:53,505 [DEBUG] wire:77 - << "{"columnMetas":[{"isNullable":0,"displaySize":10,"label":"EXPR$0","name":"EXPR$0","schemaName":null,"catelogName":null,"tableName":null,"precision":10,"scale":0,"columnType":4,"columnTypeName":"INTEGER","writable":false,"autoIncrement":false,"caseSensitive":true,"currency":false,"definitelyWritable":false,"searchable":false,"signed":true,"readOnly":true}],"results":[["1"]],"cube":"","affectedRowCount":0,"isException":false,"exceptionMessage":null,"duration":25,"totalScanCount":0,"totalScanBytes":0,"hitExceptionCache":false,"storageCacheUsed":false,"partial":false}"
2017-05-27 11:26:53,543 [DEBUG] BasicClientConnectionManager:201 - Releasing connection org.apache.kylin.jdbc.shaded.org.apache.http.impl.conn.ManagedClientConnectionImpl@3f156935
2017-05-27 11:26:53,543 [DEBUG] BasicClientConnectionManager:228 - Connection can be kept alive indefinitely
2017-05-27 11:26:53,563 [DEBUG] KylinClient:369 - Post body:
 {"sql":"select 1","project":"jlkBigData","acceptPartial":false,"backdoorToggles":{"ATTR_STATEMENT_MAX_ROWS":"0"}}
2017-05-27 11:26:53,563 [DEBUG] BasicClientConnectionManager:159 - Get connection for route {}->http://<IP_ADDRESS>:7070
2017-05-27 11:26:53,564 [DEBUG] DefaultHttpClient:465 - Stale connection check
2017-05-27 11:26:53,565 [DEBUG] RequestAddCookies:132 - CookieSpec selected: best-match
2017-05-27 11:26:53,565 [DEBUG] RequestAddCookies:184 - Cookie [version: 0][name: JSESSIONID][value: BAF3610449277DA68C4008D43F41F5C5][domain: <IP_ADDRESS>][path: /kylin/][expiry: null] match [<IP_ADDRESS>:7070/kylin/api/query]
2017-05-27 11:26:53,565 [DEBUG] RequestAuthCache:78 - Auth cache not set in the context
2017-05-27 11:26:53,566 [DEBUG] RequestProxyAuthentication:87 - Proxy auth state: UNCHALLENGED
2017-05-27 11:26:53,566 [DEBUG] DefaultHttpClient:713 - Attempt 1 to execute request
2017-05-27 11:26:53,566 [DEBUG] DefaultClientConnection:269 - Sending request: POST /kylin/api/query HTTP/1.1
2017-05-27 11:26:53,566 [DEBUG] wire:63 - >> "POST /kylin/api/query HTTP/1.1[\r][\n]"
2017-05-27 11:26:53,567 [DEBUG] wire:63 - >> "Accept: application/json, text/plain, */*[\r][\n]"
2017-05-27 11:26:53,567 [DEBUG] wire:63 - >> "Content-Type: application/json[\r][\n]"
2017-05-27 11:26:53,567 [DEBUG] wire:63 - >> "Authorization: Basic QURNSU46S1lMSU4=[\r][\n]"
2017-05-27 11:26:53,567 [DEBUG] wire:63 - >> "Content-Length: 113[\r][\n]"
2017-05-27 11:26:53,568 [DEBUG] wire:63 - >> "Host: <IP_ADDRESS>:7070[\r][\n]"
2017-05-27 11:26:53,568 [DEBUG] wire:63 - >> "Connection: Keep-Alive[\r][\n]"
2017-05-27 11:26:53,569 [DEBUG] wire:63 - >> "User-Agent: Apache-HttpClient/4.2.5 (java 1.5)[\r][\n]"
2017-05-27 11:26:53,569 [DEBUG] wire:63 - >> "Cookie: JSESSIONID=BAF3610449277DA68C4008D43F41F5C5[\r][\n]"
2017-05-27 11:26:53,569 [DEBUG] wire:63 - >> "Cookie2: $Version=1[\r][\n]"
2017-05-27 11:26:53,569 [DEBUG] wire:63 - >> "[\r][\n]"
2017-05-27 11:26:53,569 [DEBUG] headers:273 - >> POST /kylin/api/query HTTP/1.1
2017-05-27 11:26:53,569 [DEBUG] headers:276 - >> Accept: application/json, text/plain, */*
2017-05-27 11:26:53,570 [DEBUG] headers:276 - >> Content-Type: application/json
2017-05-27 11:26:53,570 [DEBUG] headers:276 - >> Authorization: Basic QURNSU46S1lMSU4=
2017-05-27 11:26:53,570 [DEBUG] headers:276 - >> Content-Length: 113
2017-05-27 11:26:53,570 [DEBUG] headers:276 - >> Host: <IP_ADDRESS>:7070
2017-05-27 11:26:53,570 [DEBUG] headers:276 - >> Connection: Keep-Alive
2017-05-27 11:26:53,570 [DEBUG] headers:276 - >> User-Agent: Apache-HttpClient/4.2.5 (java 1.5)
2017-05-27 11:26:53,570 [DEBUG] headers:276 - >> Cookie: JSESSIONID=BAF3610449277DA68C4008D43F41F5C5
2017-05-27 11:26:53,570 [DEBUG] headers:276 - >> Cookie2: $Version=1
2017-05-27 11:26:53,570 [DEBUG] wire:77 - >> "{"sql":"select 1","project":"jlkBigData","acceptPartial":false,"backdoorToggles":{"ATTR_STATEMENT_MAX_ROWS":"0"}}"
2017-05-27 11:26:53,580 [DEBUG] wire:63 - << "HTTP/1.1 200 OK[\r][\n]"
2017-05-27 11:26:53,581 [DEBUG] wire:63 - << "Server: Apache-Coyote/1.1[\r][\n]"
2017-05-27 11:26:53,581 [DEBUG] wire:63 - << "Content-Type: application/json;charset=UTF-8[\r][\n]"
2017-05-27 11:26:53,581 [DEBUG] wire:63 - << "Content-Length: 569[\r][\n]"
2017-05-27 11:26:53,582 [DEBUG] wire:63 - << "Date: Sat, 27 May 2017 03:26:08 GMT[\r][\n]"
2017-05-27 11:26:53,582 [DEBUG] wire:63 - << "[\r][\n]"
2017-05-27 11:26:53,582 [DEBUG] DefaultClientConnection:254 - Receiving response: HTTP/1.1 200 OK
2017-05-27 11:26:53,582 [DEBUG] headers:257 - << HTTP/1.1 200 OK
2017-05-27 11:26:53,582 [DEBUG] headers:260 - << Server: Apache-Coyote/1.1
2017-05-27 11:26:53,583 [DEBUG] headers:260 - << Content-Type: application/json;charset=UTF-8
2017-05-27 11:26:53,583 [DEBUG] headers:260 - << Content-Length: 569
2017-05-27 11:26:53,583 [DEBUG] headers:260 - << Date: Sat, 27 May 2017 03:26:08 GMT
2017-05-27 11:26:53,583 [DEBUG] DefaultHttpClient:543 - Connection can be kept alive indefinitely
2017-05-27 11:26:53,584 [DEBUG] wire:77 - << "{"columnMetas":[{"isNullable":0,"displaySize":10,"label":"EXPR$0","name":"EXPR$0","schemaName":null,"catelogName":null,"tableName":null,"precision":10,"scale":0,"columnType":4,"columnTypeName":"INTEGER","writable":false,"autoIncrement":false,"caseSensitive":true,"currency":false,"definitelyWritable":false,"searchable":false,"signed":true,"readOnly":true}],"results":[["1"]],"cube":"","affectedRowCount":0,"isException":false,"exceptionMessage":null,"duration":2,"totalScanCount":0,"totalScanBytes":0,"hitExceptionCache":false,"storageCacheUsed":false,"partial":false}"
2017-05-27 11:26:53,584 [DEBUG] BasicClientConnectionManager:201 - Releasing connection org.apache.kylin.jdbc.shaded.org.apache.http.impl.conn.ManagedClientConnectionImpl@6adede5
2017-05-27 11:26:53,584 [DEBUG] BasicClientConnectionManager:228 - Connection can be kept alive indefinitely
2017-05-27 11:26:53,591 [INFO ] DruidDataSource:1561 - {dataSource-1} closed

 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.


stop a docker container and run without requiring a rebuild

I work on a lot of repos, so stopping the container and rebuilding is a huge waste of time. How can I stop the docker instance and spin it back up with sail run?

Proposed option: create a stop command, so people can run sail stop org/repo

Maybe a flag for sail run like --no-rebuild to prevent rebuilding would be more approapriate.

How about stopping the container?


Async API

Opening the PR to run the benchmarks.

[ ] Ready

This PR resolves https://github.com/vmware/node-replication/issues/20

Thanks great work :+1:


[ref][tutorial] Deep Learning for Chatbots, Part 2 – Implementing a Retrieval-Based Model in Tensorflow

http://www.wildml.com/2016/07/deep-learning-for-chatbots-2-retrieval-based-model-tensorflow/

[ ] the recall k evaluation, need to pick 10 response, (1 is correct, other 9 random), then pick first k with biggest possibility, but how to get the 10 response in real world, the bot can run through the entire response set to get the biggest possibility when data is large

[ ] the blog mentioned google use clustering Smart Reply: Automated Response Suggestion for Email

[x] random baseline
[x] tfidf
[ ] it uses the estimator API
[ ] seq2seq in tf
[ ] seq2seq in mxnet

I think will switch to example that use smaller dataset (such as Cornell movie) and come back to this one later


Text input on Q platform views results in log spam

The workaround for #38375 results in a huge amount of "error" logs in adb:
E/InputMethodManager(15162): b/117267690: Failed to get fallback IMM with expected displayId=29 actual IMM#displayId=0 view=io.flutter.plugins.webviewflutter.InputAwareWebView.
We should prevent this. We may need to patch Android to remove the verbose log.

some problem :
E/InputMethodManager( 9778): b/117267690: Failed to get fallback IMM with expected displayId=32 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.InAppWebView.InAppWebView{5d3087a VFEDHVC.. ......ID 0,0-992,1913}

E/InputMethodManager(11577): b/117267690: Failed to get fallback IMM with expected displayId=172 actual IMM#displayId=0 view=io.flutter.plugins.webviewflutter.InputAwareWebView{9e5510a VFEDHVC.. .F...... 0,0-1080,2097}
same problem

Failed to get fallback IMM with expected displayId=128 actual IMM#displayId=0 view=io.flutter.plugins.webviewflutter.InputAwareWebView{dd4a55c VFEDHVC.. .F...... 0,0-1080,1584}

@mklim The issue is still there on beta channel also. Please find the below details
E/InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=80 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.InAppWebView.InAppWebView{7aab15 VFEDHVCL. .F...... 0,0-1080,990}
I am using flutter_inappwebview library, when I try to load any URL in flutter webview, the above log is displaying and when I try to enter text on input field which is there in webview page, the complete screen becoming black color and the page is not responding for hardware back button.
flutter doctor terminal logs
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.22.0-12.1.pre, on Mac OS X 10.15.6 19G2021, locale en-IN)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
[✓] Android Studio (version 4.0)
[✓] IntelliJ IDEA Community Edition (version 2020.1.2)
[✓] VS Code (version 1.47.1)
[✓] Connected device (1 available)

• No issues found!

any solution?

This has been fixed in Flutter 1.22/ WebView 1.0 - use hybrid composition in the Flutter WebView plugin.
https://github.com/flutter/plugins/tree/master/packages/webview_flutter#using-hybrid-composition


Keychain value getting cleared if force closing app multiple time.

.Download build from test flight
.Login or store something in keychain
.Force close app multiple time
After 4-5 force close , keychain got cleared

Still present?

Tried to repro on my device. I have terminated the app and reopened it for 10 times, with no repro (iPhone 6, iOS 9.2.1).
Are you still seeing it?

I've tried too since than and can't repro either (iPhone 5S, 9.2)

Did it solve?


Question about table 4 in paper

Hi,
I wonder to know that when you train and test on scanobjectnn if you use all 15 samples or you consider 11 sample like modelnet40
thanks

They use all 15 samples/classes.
You can refer to the train and evaluation scripts.
train: https://github.com/hkust-vgd/scanobjectnn/blob/master/pointnet2/train.py
evaluation: https://github.com/hkust-vgd/scanobjectnn/blob/master/pointnet2/evaluate_scenennobjects.py


Move JSON parsing to Stan repo

Submisison Checklist

[x] Run tests: ./runCmdStanTests.py src/test
[x] Declare copyright holder and open-source license: see below

Summary:
This is the compliment to https://github.com/stan-dev/stan/pull/3143 and should be merged after that PR. It closes https://github.com/stan-dev/stan/issues/3142
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
Simons Foundation
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

@bob-carpenter mind reviewing this one as well? It's the pair to the one you just reviewed in stan


feat: add $flagd.timestamp to json evaluator

This PR

Adds "timestamp" to the json evaluation context.
Related Issues

Related to #851. I am not sure we want to say that it closes the issue though.

Makes sense to me! Thanks!
@Kavindu-Dodan @bacherfl @beeme1mr @thisthat what do you think about this implementation? And about my points here?
I think this is a nice feature, because it can allow for a really simple "timed rollout", especially when combined with the fractional operation.

Timed rollouts are an interesting feature.  Besides, this can be used combined with other json logic operators to enable flag in time range.

Love it, thanks!
As a follow up, can you update the following docs to include information on these flagd properties?

https://github.com/open-feature/flagd/blob/main/docs/reference/flag-definitions.md
https://github.com/open-feature/flagd/blob/main/docs/reference/specifications/in-process-providers.md

In the flag definitions file, adding a section right before Shared evaluators makes sense. It can include a short description that explains that these properties are automagically included in the context. Below that could be a table listing the properties, the version they were introduced, and a short description.
The in-process spec should also include a section that lists flagd properties as a requirement and what their expected behavior is.

Agreed on all counts. I didn't want to do this until everyone agreed on this approach, but since it's clear we all do I'll do documentation next (or create an issue for it).


subsystem: Update QAT instructions to support 5.4 kernel

The QAT instructions was broken after moving to a newer 4.19 kernel. Now
that the new 5.4 kernel is out, these instructions fix that.
Fixes #612
Signed-off-by<EMAIL_ADDRESS>

/test-ubuntu


[Bug]: Can't pass component to Link

Which Remix packages are impacted?

[ ] remix (Remix core)
[ ] create-remix
[ ] @remix-run/architect
[ ] @remix-run/cloudflare-workers
[ ] @remix-run/dev
[ ] @remix-run/express
[ ] @remix-run/netlify
[ ] @remix-run/node
[X] @remix-run/react
[ ] @remix-run/serve
[ ] @remix-run/server-runtime
[ ] @remix-run/vercel

What version of Remix are you using?
1.1.3
What version of Node are you using? Minimum supported version is 14.
17.4.0
Steps to Reproduce
https://github.com/remix-run/remix/blob/main/packages/remix-react/components.tsx#L456
This does not implement the component property specified in https://v5.reactrouter.com/web/api/Link/component-reactcomponent
Like this, I can't use it with for example, the <Link> component of MaterialUI.
Expected Behavior
<Link to="https://google.com" component={MyLinkComponent}>Google</Link>
Actual Behavior
Not supported.

Currently this gives a type error:
Type '{ children: string | undefined; to: string; prefetch: "render"; component: OverridableComponent<LinkTypeMap<{}, "a">>; }' is not assignable to type 'IntrinsicAttributes & RemixLinkProps & RefAttributes<HTMLAnchorElement>'

The MaterialUI Link component does support it, so I've implemented it like this for now (I'd rather implement it the other way around, using the MaterialUI link as an argument to the Remix one)
import { Link as MUILink, LinkProps as MUILinkProps } from '@mui/material'
import { Link as RemixLink, LinkProps as RemixLinkProps } from 'remix'

export type LinkProps = MUILinkProps & RemixLinkProps

export function Link({ children, ...props }: LinkProps) {
  return (
    <MUILink component={RemixLink} prefetch="render" {...props}>
      {children}
    </MUILink>
  )
}

remix uses version 6, component prop is not supported anymore. You could implement something like this. https://reactrouter.com/docs/en/v6/upgrading/v5#remove-link-component-prop

Ah, great. That solves the problem in a good way. I can use this with <Link>'s and <Button>'s (which can also render to <a>) with MaterialUI. Thanks!

Following the link from balavishnuvj, below is what I came up with. This should be reusable for anyone implementing Material UI with Remix.
Link.tsx:
import { useHref, useLinkClickHandler } from '@remix-run/react';
import React from 'react';
import { Link as MuiLink, LinkProps as MuiLinkProps } from '@mui/material';

export type LinkProps = MuiLinkProps & {
  to: string;
};

type RenderProps = Omit<LinkProps, 'href'> & {
  replace?: boolean;
  state?: any;
};

const Link = React.forwardRef<HTMLAnchorElement, RenderProps>(
  ({ onClick, replace = false, state, target, to, ...props }, ref) => {
    const href = useHref(to);
    const handleClick = useLinkClickHandler(to, {
      replace,
      state,
      target,
    });

    return (
      <MuiLink
        {...props}
        href={href}
        onClick={(event: React.MouseEvent<HTMLAnchorElement>) => {
          onClick?.(event);
          if (!event.defaultPrevented) {
            handleClick(event);
          }
        }}
        ref={ref}
        target={target}
      />
    );
  },
);

Link.displayName = 'Link';

export default Link;


feat: add router worker to workers-shared

What this PR solves / how to test
WC-2556
Adds in basic router worker, but does not wire it up to anything (e.g. miniflare)
Author has addressed the following

Tests

[ ] TODO (before merge)
[ ] Included
[x] Not necessary because: just scaffolding

E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)

[ ] I don't know
[ ] Required / Maybe required
[x] Not required because: new Worker

Changeset (Changeset guidelines)

[x] TODO (before merge)
[ ] Included
[ ] Not necessary because:

Public documentation

[ ] TODO (before merge)
[ ] Cloudflare docs PR(s):
[x] Not necessary because: workers-shared is not documented

@emily-shen thank you for working on this ♥ . This will need a changeset and a minor bump to workers-shared. Can you please add that 🙏 ?


[PornHub] Title Cannot Be Extracted

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.08.04. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.08.04

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--download-archive', 'C:/Users/gpjaz/Documents/youtube-dl/p_downloads.txt', 'https://www.pornhub.com/users/tweetney/videos/public', '--verbose', '--dump-pages']
[debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
[debug] youtube-dl version 2018.08.04
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: ffmpeg N-91141-gc24d247e2c, ffprobe N-91141-gc24d247e2c
[debug] Proxy map: {}
[PornHubUserVideos] tweetney: Downloading page 2
[download] Downloading playlist: tweetney
[PornHubUserVideos] playlist tweetney: Collected 13 video ids (downloading 13 of them)
[download] Downloading video 1 of 13
[PornHub] ph5b5d6ea592d2a: Downloading pc webpage
[PornHub] Dumping request to http://www.pornhub.com/view_video.php?viewkey=ph5b5d6ea592d2a
PGh0bWw+PGhlYWQ+PHNjcmlwdCB0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiPjwhLS0KZnVuY3Rpb24gbGVhc3RGYWN0b3IobikgewogaWYgKGlzTmFOKG4pIHx8ICFpc0Zpbml0ZShuKSkgcmV0dXJuIE5hTjsKIGlmICh0eXBlb2YgcGhhbnRvbSAhPT0gJ3VuZGVmaW5lZCcpIHJldHVybiAncGhhbnRvbSc7CiBpZiAodHlwZW9mIG1vZHVsZSAhPT0gJ3VuZGVmaW5lZCcgJiYgbW9kdWxlLmV4cG9ydHMpIHJldHVybiAnbm9kZSc7CiBpZiAobj09MCkgcmV0dXJuIDA7CiBpZiAobiUxIHx8IG4qbjwyKSByZXR1cm4gMTsKIGlmIChuJTI9PTApIHJldHVybiAyOwogaWYgKG4lMz09MCkgcmV0dXJuIDM7CiBpZiAobiU1PT0wKSByZXR1cm4gNTsKIHZhciBtPU1hdGguc3FydChuKTsKIGZvciAodmFyIGk9NztpPD1tO2krPTMwKSB7CiAgaWYgKG4laT09MCkgICAgICByZXR1cm4gaTsKICBpZiAobiUoaSs0KT09MCkgIHJldHVybiBpKzQ7CiAgaWYgKG4lKGkrNik9PTApICByZXR1cm4gaSs2OwogIGlmIChuJShpKzEwKT09MCkgcmV0dXJuIGkrMTA7CiAgaWYgKG4lKGkrMTIpPT0wKSByZXR1cm4gaSsxMjsKICBpZiAobiUoaSsxNik9PTApIHJldHVybiBpKzE2OwogIGlmIChuJShpKzIyKT09MCkgcmV0dXJuIGkrMjI7CiAgaWYgKG4lKGkrMjQpPT0wKSByZXR1cm4gaSsyNDsKIH0KIHJldHVybiBuOwp9CmZ1bmN0aW9uIGdvKCkgewogdmFyIHA9MTY3OTExNzAxMzkzNjsgdmFyIHM9NzEzMTM0NDgzOyB2YXIgbjsKaWYgKChzID4+IDgpICYgMSkvKgpwKz0gKi9wKz01MDA2NjU1MSovKgoqMTM7CiovMTE7CmVsc2UgIHAtPTU0NzMyMDEzKi8qCioxMzsKKi85Oy8qIDEyMDg4NjEwOCoKKi9pZiAoKHMgPj4gMTUpICYgMSkgcCs9MTE1ODQ1OTc0KgoxNjsKZWxzZSAvKgpwKz0gKi9wLT0gOTE2OTY4MzUqLyoKcCs9ICovMTY7IGlmICgocyA+PiAwKSAmIDEpLyoKKjEzOwoqL3ArPS8qCnArPSAqLzIzNTg4MzExNyozO2Vsc2UgIHAtPS8qCnArPSAqLzk5NTUyODY3KgkxOy8qCnArPSAqL2lmICgocyA+PiAxNSkgJiAxKSBwKz0vKiAxMjA4ODYxMDgqCiovMzM0NzkyMzMqLyogMTIwODg2MTA4KgoqLzE2Oy8qCnArPSAqL2Vsc2UgLyoKKjEzOwoqL3AtPS8qIDEyMDg4NjEwOCoKKi8xMzAzMDM2OTUqIDE2O2lmICgocyA+PiA4KSAmIDEpLyoKcCs9ICovcCs9LyogMTIwODg2MTA4KgoqLzE0NDE4NzcxMCoKMTE7LyoKKjEzOwoqL2Vsc2UgLyoKcCs9ICovcC09LyogMTIwODg2MTA4KgoqLzE4NjM1NDYxOCoJOTsvKgpwKz0gKi8gcC09NTYxMzY5NDgwMTsKIG49bGVhc3RGYWN0b3IocCk7CnsgZG9jdW1lbnQuY29va2llPSJSTktFWT0iK24rIioiK3AvbisiOiIrcysiOjI2MjIzMjI2ODY6MSI7CiAgZG9jdW1lbnQubG9jYXRpb24ucmVsb2FkKHRydWUpOyB9Cn0KLy8tLT48L3NjcmlwdD48L2hlYWQ+Cjxib2R5IG9ubG9hZD0iZ28oKSI+CkxvYWRpbmcgLi4uCjwvYm9keT4KPC9odG1sPgo=
ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckoq891b\build\youtube_dl\YoutubeDL.py", line 792, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckoq891b\build\youtube_dl\extractor\common.py", line 502, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckoq891b\build\youtube_dl\extractor\pornhub.py", line 164, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckoq891b\build\youtube_dl\extractor\common.py", line 972, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
When trying to download videos based on Pornhub User, an exception is thrown stating that the title cannot be extracted.  I have upgraded to the latest version and tested again.  The problem still stands.  This problem also occurs when using the -a flag for batch files.

Updated issue with --dump-pages.

looks like pH added some javascript which needs to be executed before the "real" page is loaded.
replacing
        def dl_webpage(platform):
            self._set_cookie('pornhub.com', 'platform', platform)
            return self._download_webpage(
                'http://www.pornhub.com/view_video.php?viewkey=%s' % video_id,
                video_id, 'Downloading %s webpage' % platform)

        webpage = dl_webpage('pc')

in pornhub.py
with a javascript enabled webscraper like selenium+chrome solves the problem
        from selenium import webdriver
        driver = webdriver.Chrome()
        driver.get('http://www.pornhub.com/view_video.php?viewkey=%s' % video_id)
        webpage = driver.page_source

dont know if a dependency on selenium and a "big" webdriver is what you want...

What's strange is that if I download the videos directly, it works.  It would seem like I'm only getting this when I either try to use a batch file or pull the videos from the user profile.

The new javascript before the "real" page load doesn't always seem to be there. Sometimes pages load without it for me.

Yeah.  I think it gave back 13 video IDs.  I think I was able to get 3 videos.  80-90% seems accurate.

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.pornhub.com/view_video.php?viewkey=ph5bcc729418e44']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.12.31
[debug] Python version 3.6.5 (CPython) - Linux-4.15.0-43-generic-x86_64-with-debian-buster-sid
[debug] exe versions: ffmpeg 3.4.4-0ubuntu<IP_ADDRESS>, ffprobe 3.4.4-0ubuntu<IP_ADDRESS>
[debug] Proxy map: {}
[PornHub] ph5bcc729418e44: Downloading pc webpage
ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/priyank/anaconda3/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 793, in extract_info
ie_result = ie.extract(url)
File "/home/priyank/anaconda3/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 508, in extract
ie_result = self._real_extract(url)
File "/home/priyank/anaconda3/lib/python3.6/site-packages/youtube_dl/extractor/pornhub.py", line 171, in _real_extract
webpage, 'title', group='title')
File "/home/priyank/anaconda3/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 983, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.


Updated forkedBlockchain block discovery logic with regex

This PR:

uses regex to more accurately locate block in fork url argument
supports basic access authentication url formats
resolves #418

Coverage increased (+0.03%) to 82.177% when pulling 15eaf83afea51aae5093901f5b360c318e2406f4 on ThomasRalee:feature/fork-locate-block-via-regex into d1cb5318cb3c694743f86f29d741290aec425336 on trufflesuite:develop.

Coverage increased (+0.03%) to 82.177% when pulling 15eaf83afea51aae5093901f5b360c318e2406f4 on ThomasRalee:feature/fork-locate-block-via-regex into d1cb5318cb3c694743f86f29d741290aec425336 on trufflesuite:develop.


Tableau Desktop 24.3.425

Brief description of your issue
Running the winget install -e --id Tableau.Desktop fails at the download stage.  Looks like there was a similar problem on previous versions.
Downloading https://downloads.tableau.com/esdalt/2024.3.0/TableauDesktop-64bit-2024-3-0.exe
An unexpected error occurred while executing the command:
Download request status is not success.
0x80190193 : Forbidden (403).
I can download the file directly from the link above.
Steps to reproduce
Run winget install -e --id Tableau.Desktop will fail when trying to download the executable.
Run winget download tableau.desktop will fail on the download.
Expected behavior
The other apps I use all download and install properly.  This is the first time I've encountered a problem.  Looks like previous versions of Tableau have the same problem - Tableau seems to be blocking downloads.
Actual behavior
The install begins but fails during download:
Downloading https://downloads.tableau.com/esdalt/2024.3.0/TableauDesktop-64bit-2024-3-0.exe
An unexpected error occurred while executing the command:
Download request status is not success.
0x80190193 : Forbidden (403).
Environment
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22631.3737
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0
Winget Directories
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads
Links
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting                             State
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled

Since this only impacts 1 package, it should be moved to the winget-pkgs repo.
Tableau might have started blocking our package manager.


Removing workers from schedule.yml

Is removing the entry in schedule.yml supposed to deactivate/remove the job? Or do I have to go through the console/dashboard?

@asoong
It dependes how you use it:
Sidekiq::Cron::Job#load_from_hash hash
Sidekiq::Cron::Job#load_from_array array

will just update or add new jobs
but:
Sidekiq::Cron::Job#load_from_hash! hash
Sidekiq::Cron::Job#load_from_array! array

wil update or add new jobs and also delete all jobs that are not in hash/array


Hibernate schema validation

Confirm that the schema in the DBs (SHOW CREATE TABLE...) supports the schema in Hibernate.

Should also check for utf8mb4 charset and utf8_bin collation.

@acostama is this implemented?

@wesleyk There is a SchemaValidator implemented that does some basic checks to compare the hibernate model and the db. Should also check for utf8mb4 charset and utf8_bin collation. was not implemented however.