[deps] Upgrade protobuf version to v25.0

This commit upgrades gRPC to protobuf v25.0 and makes some fixes to account for upb changes. One major change is that upb has been merged into the protobuf repo, so we can now drop the separate @upb dependency. Another is that .upb.c files no longer exist and there are new .upb_minitable.h and .upb_minitable.c files. The longer filenames exceeded a Windows restriction, so to work around that I renamed the upb-generated directory to just upb-gen, and likewise for upbdefs-generated.

@veblush What are the next steps to get the full suite of tests to run against this change?

Distribution Tests Python Windows failed because this file is too long (sigh)
T:\altsrc\github\grpc\workspace_python_windows_x86_Python38_32bit\python_build\\temp.win-amd64-cpython-312\\Release\\src\core\ext\upb-gen\envoy\extensions\load_balancing_policies\client_side_weighted_round_robin\v3\client_side_weighted_round_robin.upb_minitable.obj
This needs another cut back.


Corrected timestamp parser to obey packet timestamp layout config

This PR is to support ulogd2 logs

obeying log time layout config with spaces when parsing log entries. I.e Jan _2 15:04:05
when no year/offset is present in log - use current year and local offset

 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.


How do I customise the AdminDeployment file?

There is nothing in the documentation that specifies how to do this, and looking at all of the recipes and the resources I can't work out if this is even possible. How do I specify what VS components I want to install?!

@petewilcock This isn't currently supported, but a PR would be welcomed.

OK great, I think I can do this. The installer just needs /InstallSelectableItems passed (I think) which can be built from an attribute with default values. Not sure if that would get overridden by the AdminDeployment.xml? But if all of the install arguments can be passed on the command line, would that render it redundant?

Here's a possibility. To provide a custom AdminDeployment.xml you would likely create a wrapper cookbook. We could modify the visualstudio cookbook to take a template_cookbook parameter to pass to the cookbook_file resource.
def create_vs_admin_deployment_file
  config_source = "#{new_resource.version}/AdminDeployment-#{new_resource.edition}.xml"
  config_path = win_friendly_path(::File.join(extracted_iso_dir, 'AdminDeployment.xml'))

  # Create installation config file
  cookbook_file config_path do
    source config_source
    cookbook new_resource.template_cookbook if new_resource.template_cookbook
    action :create
  end

  config_path
end

The wrapper cookbook would just put the new template in the same directory structure as the visualstudio cookbook.

I'm almost with you but not quite. If we're using the cookbook_file resource to pull in a pre-customised AdminDeployment.xml, why do we need to modify the existing visualstudio cookbook at all? Can we not just place the cookbook_file in the vs cookbook template directory structure during the run?

You could place a new template in the vs cookbook template directory, but typically you'd want to avoid customizing the vs cookbook because of upgrades. Anytime you upgrade the vs cookbook from SuperMarket (or from here) you'll need to remember to re-add in your customization. Its also a cleaner pattern to have a wrapper cookbook.

Sorry -  I get what you're saying about the function of the wrapper. In my example it's the wrapper that's placing the custom AdminDeployment.xml into the VS-cookbook (which is what you were suggesting?)
Or are you suggesting the wrapper cookbook have it's own (but structurally identical) /files/ path with AdminDeployment.xml therein which is referenced as a parameter?
If that's the case, I understand, although it somehow feels a bit clunky to achieve the result.

I was suggesting option 2, but I get what you're saying about the lack of inflexibility. I'm not sure what you mean by "placing the custom AdminDeployment.xml into the VS-cookbook". Perhaps you can put together a quick PR (even if it doesn't work/pass tests) of what you're thinking, it'll probably make the discussion easier.

I literally mean doing a:
 file 'C:\chef\cache\cookbooks\visualstudio\files\default\2015\AdminDeployment-enterprise.xml' do
    source '/path/or/url/to/my/config.xml'
end

Assuming, of course, such a ninja insertion would even work. Now I think about it your suggestion is the more elegant ;)
I will put together a PR along your lines.

Now supported via attributes https://github.com/windowschefcookbooks/visualstudio/commit/b97ed50db19684a91c48a6f29f95c1e43fce9c4b


Fix char offset calculation when processing RichTextLabel line caches

Fixes #67435
When processing line caches for the RichTextLabel node, the default value of total_chars should not contain the invalidated line's char count, we only need to get the current char offset of this line.

Thanks!


Enable zoom support on cobalt fragments

Enable the web to use meta viewport tag to allow zoom on webview and weblayer

pushed on branch weblayer-experiments


Switch from using Resolver.sonatypeRepo to sonatypeOssRepos in .sbt files

This has to be done after updating sbt to 1.7.x version
Since sbt 1.7.0 Resolver.sonatypeRepo is deprecated. We should use sonatypeOssRepos instead

@LukaszKontowski I think I can fix this. I have faced this warning.

Okay! pls proceed


fix errors statements to refer to the correct calling function name.

only changes error message strings - no need to wait for CI to finish.


test: add failing test for check-pipe in ngFor with external template

Adds a failing test to reproduce #346 with an external template.

Closed via #401


[Retrieval Docs] Update retrieval docs

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (f04d8a8) 70.70% compared to head (4f81e90) 70.68%.
 Consider uploading reports for the commit e8f01f2 to get more accurate results

Files
Patch %
Lines

...nt/src/erniebot_agent/retrieval/baizhong_search.py
66.66%
2 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #250      +/-   ##
===========================================
- Coverage    70.70%   70.68%   -0.02%
===========================================
  Files           62       62
  Lines         3106     3111       +5
===========================================
+ Hits          2196     2199       +3
- Misses         910      912       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Fix #1646 - Separate TxBuilder in its own module

Fairly simple

Will self merge since this is non-controversial and will update Faucet


Checklist for new release of origin.js

Creating checklist of tasks to be completed for each new release, ideally at the end of each sprint.
A lot of these steps could be automated someday, but for now probably good to do it by hand a few times.
Confirm readiness

[X] Check version number in package.json
[X] demo dapp: Confirm all tests passing
[X] origin-js: Confirm js tests passing

npm run setup
npm start

[X] platform: Confirm smart contracts (.sol) tests passing

cd contracts && truffle test

Publish

[ ] demo-dapp: Merge develop into master and push
[ ] platform: Merge develop into master and push
[ ] (If contracts are changed)

[X] Deploy new smart contracts to Rinkeby. Be sure addresses are listed in ABI files.

export ROPSTEN_MNEMONIC="<mnemonic>"
truffle migrate --network ropsten

[ ] Deploy new smart contracts to Ropsten. Be sure addresses are listed in ABI files.

export RINKEBY_MNEMONIC="<mnemonic>"
truffle migrate --network rinkeby

[ ] Migrate data from old contracts to new. (Once we get around to writing migrations!)

[ ] Build origin.js (in dist/origin.js)
[ ] platform: Create new GitHub release with origin.js code,

[ ] Version in form v0.1.2 (This will add git tag on master)
[ ] Include addresses of smart contracts in description

[ ] demo-dapp: Add git tag to master to match platform.
[ ] Publish to npm. (npm publish)
[ ] Deploy new version of dapp to heroku (url to be determined)

Special case

[ ] Deprecate @originprotocol/origin - https://stackoverflow.com/a/28841779/59913
[X] Re-publish as origin

Follow-up

[ ] Confirm published origin.js file is accessible via code.originprotocol.com redirect
[ ] platform + demo-dapp: Increment version number on develop to for next release
[ ] Review docs for needed updates. Confirm example code on playground site (jsfiddle?) still work.
[ ] demo-dapp: Confirm that "one-line setup & run" command works on master branch shown by default
[ ] Copy this to-do list into new issue for next sprint.

Copied this into latest sprint. We'll see how it goes!

Rinkeby result:
~/Origin/platform/contracts$ truffle migrate --network rinkeby
Using network 'rinkeby'.

Running migration: 1_initial_migration.js
  Deploying Migrations...
  ... 0xfceacb3782f52faa590f19a2bc377baad31aeb2630742b4a4dc472ea2fcbf9cf
  Migrations: 0x46a1e3eafad0e54dbbdcc4ab1c447bcebc4bf842
Saving successful migration to network...
  ... 0x5b4bedc41f2c52775a5e0a0029ab6669ecd1d144fb1bcbe9c5e90ff362266bb1
Saving artifacts...
Running migration: 2_deploy_contracts.js
  Deploying PurchaseLibrary...
  ... 0x163416b5cc7113d6148d8203cc6804d63fdd008eee41f710029d4da79fcc866e
  PurchaseLibrary: 0xf06038afe9ed6daa8f9d2ba4b0dc3bd4fe6266e9
  Linking PurchaseLibrary to ListingsRegistry
  Linking PurchaseLibrary to Listing
  Deploying ListingsRegistry...
  ... 0xf719a2b523d14fdefb2af79a23866e23988b4bf2d6acbc6e832561852e0dd899
  ListingsRegistry: 0xbc16a0193de4cbbb39c188850df711340d151b3f
  Deploying UserRegistry...
  ... 0x9156609f8787fc345e32f80f667e3947caf42c7168480f06cedc21ea10082df2
  UserRegistry: 0x90d36e62f94fb2a59206d113b938671b758c1c97
Saving successful migration to network...
  ... 0xe27ccf31f1cc915b08fed870029d3f4095380b9ab09ac58e084d8ca148d08007
Saving artifacts...
Running migration: 3_create_sample_listings.js
network rinkeby
Saving successful migration to network...
  ... 0x71e68b5d8570ba37cc88e01f97411e2e59288b6089bf109b2a211a5fe1435505

Ropsten:
~/Origin/platform/contracts$ truffle migrate --network ropsten
Using network 'ropsten'.

Running migration: 1_initial_migration.js
  Deploying Migrations...
  ... 0xecd68f6e1d2005be54e066714337a2a06320edf609ee048b729eca6a06acf14d
  Migrations: 0x90d36e62f94fb2a59206d113b938671b758c1c97
Saving successful migration to network...
  ... 0xd8940638c12640d3f4224dbb0d8ae5086cb272ae7a5dcc194a49bcd6f9461e1e
Saving artifacts...
Running migration: 2_deploy_contracts.js
  Deploying PurchaseLibrary...
  ... 0xf310456ee2e1a0c30a1a40d9cda91f2b348e9c3c57651dd15c19709fbdaa42cd
  PurchaseLibrary: 0x70e8efa36452239f773218a70cf6710f5f8fd40e
  Linking PurchaseLibrary to ListingsRegistry
  Linking PurchaseLibrary to Listing
  Deploying ListingsRegistry...
  ... 0xbba2511c77143bb202e751c091378c991249099e0c12a2185d235e793379a5c7
  ListingsRegistry: 0xac824c89eab1b2e1b92f0e1675b49d5ddaee06fe
  Deploying UserRegistry...
  ... 0xae40e84971a6f557d854c9e7e7478dc26ac2dc16974c27d8a2b7c3fb06c0fbb4
  UserRegistry: 0xe6f31abe55f5d33b7acdf7b545ade50d95c7f3a3
Saving successful migration to network...
  ... 0x2514551419f1af0f277b04372a8545890c87c820f34100f85996dec3e4889acb
Saving artifacts...
Running migration: 3_create_sample_listings.js
network ropsten
Saving successful migration to network...
  ... 0x8581369c36bd5583727bf4c15a376fa0627c54c4dafeb3801842d5080dba104c
Saving artifacts...

All was done according to the holy checklist. Release 0.5.8 is hereby released, and this issue thereby, and in good conscious, closed.


feat/upgrade-controller-runtime

Upgrade operator-utils which was blocking us to upgrade controller-runtime to v0.9.2
/kind feature
/priority important-soon
/assign

/approve


can the plugin select the time-shifted group automatically when I select the normal group

Like this:

if I select the group "httpCode: 500" , then the group "httpCode: 500_1d" was selected automatically

I'm sorry this feature may not be available.
This plugin is just a datasource plugin，I think the feature is triggered in the panel plugin and need the datasource plugin to provide the necessary data


Could not load service recipe

Franz 5.0.0-beta.11: When adding any service I get a red error message "Could not load service recipe."
I am behind a proxy which might be causing the issue. Franz 4.0.4 works fine.
Screenshots (if appropriate):

Possible Solution
Allow user to edit proxy settings.
Your Environment

Franz Version used: 5.0.0-beta.11
Operating System and version: Win 10

Thanks for reporting this. While Franz should be working with most of the proxy servers, we have seen some windows/proxy setups where this wasn't the case.
I need to do more research and hope that I will be able to fix this issue soon.

Cool. Here is some more detail if it helps:
Proxy settings are applied via AD group policy, here is the settings in IE:

As mentioned, Franz 4 worked without issue and I never did any manual proxy config.

Thanks for the additional info.
We have decoupled services in Franz 5 from the app itself to avoid a lot of issues. However, it brings new ones – but nothing we can't fix :)

I'can report the same error. My laptop is also behind a proxy or VPN. If I can supply any info to help please let me know!

same problem on xubuntu 16.04

same problem on mac os sierra 10.12.6

Same problem on Manjaro 17.1-pre3

Same problem on Arch KDE. Only Github service is loading

Same problem with Arch, no proxy. Some services like Github or Trello load, but most do not.
5.0.0-beta.14

Same problem with Manjaro Linux 17.1-pre3, no proxy nor VPN using version 5.0.0-beta.14

Ditto here.. Arch, no proxy/vpn, compiled 5.0.0-beta.14
version 4.x however does work

Same here. Arch, no proxy/vpn, compiled 5.0.0-beta.14

Same here. Manjaro Linux 17.0.6. No vpn, no proxy.
Can I help to debug this anyhow? This renders Franz unfortunately completely unusable

Confirming the bug

version 5.0.0-beta.14
no proxy
no VPN
Arch linux

Very odd.. after running app image, the beta works fine now (unless you've made any changes since).

@adlk the AppImage works for me as well! :+1:

@falsified the AppImage was created from the beta 14 tag. So it is exactly the same source as it should be in the Arch repo.
@all when you run into this issue, please open the dev tools and take a look in the console and network tab, maybe there is something useful in there.

@adlk actualli I download again the deb package, installed again with gdebi and the app is working now. Quite weird

@adlk I'm getting this error in the console:
Error: /home/tomas/.config/Franz/recipes/temp/whatsapp/package.json: ENOENT: no such file or directory, open '/home/tomas/.config/Franz/recipes/temp/whatsapp/package.json'
    at Object.fs.openSync (fs.js:584:18)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:173:20)
    at Object.fs.readFileSync (fs.js:491:33)
    at Object.fs.readFileSync (ELECTRON_ASAR.js:505:29)
    at Object.readFileSync (/usr/share/franz/resources/app.asar/node_modules/fs-extra/node_modules/jsonfile/index.js:67:22)
    at ServerApi.getRecipePackage (/usr/share/franz/resources/app.asar/api/server/ServerApi.js:326:40)
    at <anonymous>

The folder is present, but the package.json file is missing. I'll try to add an empty file now

@adlk I can confirm what @tsusanka is reporting.
I can reproduce the behavior on my Arch/Manjaro Deepin (17.0.6) System. The package is downloaded into /home/peter/.config/Franz/recipes/temp/[recipe_name]/recipe.tar.gz after beeing selected, but for some reason the automatic extraction of the package fails.
When I extract/unpack that package manually in the /home/peter/.config/Franz/recipes/[recipe_name]/ folder everything works just fine.

I just ran into issues with this myself. I have created a local build and I wasn't able to install recipes (tar.gz extraction). When I use the provided built from travis, everything is working again
My first thought was that the package is not downloaded completely but the checksum checks out.
So atm, I have absolutely no clue what's happening but I'll keep investigating this issue.

We did quite some debugging and testing and I believe we have found a solution.
If you are using custom builds, please try building from here: https://github.com/meetfranz/franz/tree/feature/harden-recipe-extraction
you can test the official travis build here: http://franz-travis.s3-website.eu-central-1.amazonaws.com/?prefix=484/

After testing with @adlk it seems the error has to do with synchronizing the recipe to the file system.
Recipes are downloaded to the ~/.config/Franz/recipes/temp/ on Linux in .tar.gz format
Those recipes are then extracted and after that moved to the ~/.config/Franz/recipes/ folder.
The extract command (https://github.com/meetfranz/franz/blob/v5.0.0-beta.14/src/api/server/ServerApi.js line 296) does not seem to sync to the file system.
A work around would be to extract the files by hand (cd to the folder and tar -xf recipe.tar.gz) and then try to add the service again. Same goes if after a login not all your services get loaded.
We might have a solution and it should be fixed in beta 15.

you can test the official travis build here: http://franz-travis.s3-website.eu-central-1.amazonaws.com/?prefix=484/

I can confirm that this works. I've used the tar.gz archive and tried to add a service which I haven't used -> no error.

@adlk it's not exactly the same as in Arch, at least installation wise. Arch's package pulls the latest  "tar" package; v4.1.1, while the one in the AppImage is 4.0.2. I found that the 4.1.1 version fails to extract the tar.gz file, and just swapping the tar package with the older one fixes it.

@adlk @tgalal I can confirm the package bump.
When I cloned the repository this morning, it was version 4.0.2.
Updated a lot of dependencies in just a few hours.
Still, the feature branch feature/harden-recipe-extraction works for me.

@tgalal thanks for the info. It's difficult to say where the actual issue happens but as long as there is the yarn.lock present, yarn should install 4.0.2. But as you've commented on the Arch AUR repo, pinning the version is definitely a good idea until we know the source of the issue.

Hi, OP here, running 5.0.0-beta.14 on Windows
I looked in dev tools console, I'm seeing the following error:

Looks to be related to downloading of the recipes. There are folders in C:\Users\xxx\AppData\Roaming\Franz\recipes\temp like slack and gmail but they're empty.

+1 Manjaro with no proxy or vpn. Installed from AUR.

@An3skmbi you ran into the actual proxy issue. I'm going to test a small API change that there isn't a recipe package redirect but direct fetch. I'll let you know as soon as the test build is ready.

After arch's latest update, Franz V4.0.4 works. no more error message "Could not load service recipe"

@gaoqi7  That's the franz-bin AUR... which maintains the legacy version only. This is about the franz AUR which pulls the latest versions including beta.

+1 AntergOS with no proxy.
Only Trello recipe works

+1 on Manjaro Arch via AUR
Version: 5.0.0-beta.18
Release: 1.8.4 / linux / x64
No proxy or VPN. I tried Whatsapp, Messenger,
The app also froze while I had the settings window open. After closing and trying to open again, it didn't load.
I will try an earlier version e.g. 4.0.4 as mentioned above.

Next error. I have 82 of these, presumably the error occurs for each service request.

ServerApi.js:380 TypeError: fetch is not a function
at ServerApi.getRecipePackage (ServerApi.js:354)
at ServicesApi.install (RecipesApi.js:11)
at _promise.Promise (Request.js:44)
at Promise ()
at Request.execute (Request.js:43)
at RecipesStore._install (RecipesStore.js:59)
at executeAction (/usr/share/franz/resources/app.asar/node_modules/mobx/lib/mobx.js:915)
at RecipesStore.res (/usr/share/franz/resources/app.asar/node_modules/mobx/lib/mobx.js:906)
at ServicesStore._showAddServiceInterface (ServicesStore.js:138)
at action.listeners.forEach.listener (actions.js:14)

Same for me. Installed from .rpm on Fedora 28. rpm built in a fedora 28 docker container from source cloned from  github according to instructions from README.md.

Happens on windows10 as well. Interesting that published version seems to work just fine.  Where was that 5.0.0 beta.18 build ?

A pretty basic trouble shooting, but you might want to check if you are running an anti virus program on your Mac such as Kaspersky...


[DVSim] Add support for Verilator within DVSim

This change set adds support for running Verilator based simulations within DVSim. This arose from the discussion in #4326, with an aim to bring DVSim closer to being an overarching build system used for launching all ASIC tool flows for OpenTitan.
The first 5 commits make some fixes and enhancements to various components that are common to DV and Verilator, in preparation for supporting Verilator within DVSim.
The 6th commit adds the required DVSim HJSon cfg files used by DVSim to launch the tests. Aside from very minor fixes, no invasive updates were needed in the DVSim python codebase. Verilator tests can now be launched by running the following:
$ ./util/dvsim/dvsim.py hw/top_earlgrey/dv/verilator_sim_cfg.hjson -i aes_test --max-parallel 1 [--waves] [--run-only]

This integrates all the steps required to run a Verilator simulation, in two phases. In the build phase, it builds the Verilated model of the design by invoking FuseSoC. In the run phase, tests are launched in parallel (only one at a time though for Verilator). Before launching the simulation in the run phase, it builds the boot_rom and the supplied SW test images by invoking meson. The root build dir is shared across all tests in the run phase, so each subsequent invocation of ninja only requires new dependencies to be build. Finally, the same DV test status reporting method used by UVM simulations is invoked in top_earlgrey_verilator which is used by DVSim to determine whether the test passed or failed.
Once the verilated model of the design is built, the build phase can be skipped by passing --run-only for subsequent itertions, if no SV sources are being modified. This is useful during a SW test development sprint where the design sources are not touched.
Fst waves can be generated for each test by passing the --waves switch.
The --max-parallel 1 ensures that only one test is launched at a time. This is because all tests connect to the same virtual UART port. Running multiple tests at the same time in parallel ends up clobbering it.
The --list tests switch provides a way to lookup all available tests to run, which can be cherrypicked as needed and supplied to the -i switch. The --list regressions provides a list of regressions to run. For Verilator, the -i all is sufficient to run all tests.
A full Verilator regression can be launched like this:
$ ./util/dvsim/dvsim.py hw/top_earlgrey/dv/verilator_sim_cfg.hjson -i all --max-parallel 1

This is an alternative to launching pytest test/systemtest/earlgrey/test_sim_verilator.py.
Here's the result of the above command:
INFO: [Deploy] [00:04:12]: [run]: [Q: 00, D: 01, P: 12, F: 00, K: 00, T: 13]
INFO: [Deploy] [00:04:20]: [run]: [Q: 00, D: 01, P: 12, F: 00, K: 00, T: 13]
INFO: [Deploy] [00:04:30]: [run]: [Q: 00, D: 01, P: 12, F: 00, K: 00, T: 13]
INFO: [Deploy] [00:04:39]: [run]: [Q: 00, D: 00, P: 13, F: 00, K: 00, T: 13]
INFO: [SimCfg] [results page]: [top_earlgrey_verilator] [/edascratch/sriyer-opentitan/scratch/top_earlgrey_verilator.sim.verilator/dvsim-verilator/results_Tue.12.01.20__10.09.33PM.md]
INFO: [FlowCfg] [results]: [top_earlgrey_verilator]:
## TOP_EARLGREY_VERILATOR Simulation Results
### Tuesday December 01 2020 10:09:33PM UTC
### Revision: [`24ab6ca6`](https://github.com/lowrisc/opentitan/tree/24ab6ca6e1d06d071213f4b1efa3d2653a060aa6) on `dvsim-verilator`
### Simulator: VERILATOR

|  Milestone  |      Name      | Tests                  |  Passing  |  Total  |  Pass Rate  |
|:-----------:|:--------------:|:-----------------------|:---------:|:-------:|:-----------:|
|             | Unmapped tests | aes_test               |     1     |    1    |  100.00 %   |
|             |                | crt_test               |     1     |    1    |  100.00 %   |
|             |                | dif_otbn_smoketest_rtl |     1     |    1    |  100.00 %   |
|             |                | dif_otp_ctrl_smoketest |     1     |    1    |  100.00 %   |
|             |                | dif_plic_smoketest     |     1     |    1    |  100.00 %   |
|             |                | dif_rstmgr_smoketest   |     1     |    1    |  100.00 %   |
|             |                | dif_rv_timer_smoketest |     1     |    1    |  100.00 %   |
|             |                | dif_uart_smoketest     |     1     |    1    |  100.00 %   |
|             |                | flash_ctrl_test        |     1     |    1    |  100.00 %   |
|             |                | pmp_smoketest_napot    |     1     |    1    |  100.00 %   |
|             |                | pmp_smoketest_tor      |     1     |    1    |  100.00 %   |
|             |                | sha256_test            |     1     |    1    |  100.00 %   |
|             |                | usbdev_test            |     1     |    1    |  100.00 %   |
|             |                | **TOTAL**              |    13     |   13    |  100.00 %   |

Note that this still does not entirely solve the problem outlined in #4326. The scratch path area needs to be re-organized a bit. That will be addressed in a future PR.

Merging this in now. I ah happy to make any amends if needed in subsequent PRs.


[all products] Windows Support Documentation

This issue is to document the process of adding Windows support to FlutterFire plugins and to discuss the possibility.

It would be great to know even some rough timeline on when Windows development will begin, and whether it's considered fairly feasible / low effort.

It's considered, however priority right now is Android, iOS & Web.

So by changing the title to documentation, do you mean that the implementation is there but needs docs, or am I getting it wrong?

any updates?

alguma atualização?

I want saber too

alguma atualização?

I also want to know

I am waiting for it ~! :)

I think it's worth dropping this issue as relevant: https://github.com/firebase/firebase-cpp-sdk/issues/42#issuecomment-591073497
The C++/Windows SDK is designed for mobile games, thus a lot of the implementations are stubs - we'd end up with a fragmented experience.


Sort photos

Tested it on LitterTagger, with some limited testdata but looking good as far as i can see.
proof will be delivered in production with real data ;-)


docs: add token doc

Types of changes

[ ] New feature
[ ] Bug fix
[ ] Enhancement
[ ] Component style change
[ ] Typescript definition change
[ ] Documentation change
[ ] Coding style change
[ ] Refactoring
[ ] Test cases
[ ] Continuous integration
[ ] Breaking change
[ ] Others

Background and context

Solution

How is the change tested?

Changelog

Component
Changelog(CN)
Changelog(EN)
Related issues

Checklist:

[ ] Test suite passes (npm run test)
[ ] Provide changelog for relevant changes (e.g. bug fixes and new features) if applicable.
[ ] Changes are submitted to the appropriate branch (e.g. features should be submitted to feature branch and others
should be submitted to main branch)

Other information

@flsion tokens.ts 或许直接用 json 存好点，想着第三方读 tokens 的时候，可以直接读 raw json，方便使用点，也不影响什么🤔

两种都可以，没什么太大区别。后面还会扩充一下，到时再改一下吧


Form Recognizer Client Library for .NET - June Milestone

All issues have been closed or moved to another epic. Closing this.


Add failbot logging

should make it easier to debug nugget failures in the future

/cc @joewilliams @technicalpickles who were involved in the nugget storm the other day

Thanks @tmm1!

Trying to figure out how to simulate an exception so I can verify it shows up on https://haystack.githubapp.com/nugget

What about adding an option like --boom that raises an error?

Was able to verify this via the exit_hook.


Unexpected error when using download cbgs check point file for test

Hi, there are some error occur when I try to use cbgs check point for test by
./tools/scripts/test.sh examples/cbgs/configs/nusc_all_vfev3_spmiddleresnetfhd_rpn2_mghead_syncbn.py test/ /root/weijun.liu/nusc/model_epoch_025_step_100100.pth

The error log is
Traceback (most recent call last):
  File "./tools/dist_test.py", line 187, in <module>
    main()
  File "./tools/dist_test.py", line 106, in main
    checkpoint = load_checkpoint(model, args.checkpoint, map_location="cpu")
  File "/mnt/truenas/scratch/weijun.liu/workspace/Det3D/det3d/torchie/trainer/checkpoint.py", line 163, in load_checkpoint
    raise RuntimeError("No state_dict found in checkpoint file {}".format(filename))
RuntimeError: No state_dict found in checkpoint file /root/weijun.liu/nusc/model_epoch_025_step_100100.pth
Traceback (most recent call last):
Traceback (most recent call last):
  File "./tools/dist_test.py", line 187, in <module>
  File "./tools/dist_test.py", line 187, in <module>
    main()
  File "./tools/dist_test.py", line 106, in main
    main()
  File "./tools/dist_test.py", line 106, in main
    checkpoint = load_checkpoint(model, args.checkpoint, map_location="cpu")
  File "/mnt/truenas/scratch/weijun.liu/workspace/Det3D/det3d/torchie/trainer/checkpoint.py", line 163, in load_checkpoint
    checkpoint = load_checkpoint(model, args.checkpoint, map_location="cpu")
  File "/mnt/truenas/scratch/weijun.liu/workspace/Det3D/det3d/torchie/trainer/checkpoint.py", line 163, in load_checkpoint
    raise RuntimeError("No state_dict found in checkpoint file {}".format(filename))
RuntimeError: No state_dict found in checkpoint file /root/weijun.liu/nusc/model_epoch_025_step_100100.pth
    raise RuntimeError("No state_dict found in checkpoint file {}".format(filename))
RuntimeError: No state_dict found in checkpoint file /root/weijun.liu/nusc/model_epoch_025_step_100100.pth
Traceback (most recent call last):
  File "./tools/dist_test.py", line 187, in <module>
    main()
  File "./tools/dist_test.py", line 106, in main
    checkpoint = load_checkpoint(model, args.checkpoint, map_location="cpu")
  File "/mnt/truenas/scratch/weijun.liu/workspace/Det3D/det3d/torchie/trainer/checkpoint.py", line 163, in load_checkpoint
    raise RuntimeError("No state_dict found in checkpoint file {}".format(filename))
RuntimeError: No state_dict found in checkpoint file /root/weijun.liu/nusc/model_epoch_025_step_100100.pth
Traceback (most recent call last):
  File "./tools/dist_test.py", line 187, in <module>
    main()
  File "./tools/dist_test.py", line 106, in main
    checkpoint = load_checkpoint(model, args.checkpoint, map_location="cpu")
  File "/mnt/truenas/scratch/weijun.liu/workspace/Det3D/det3d/torchie/trainer/checkpoint.py", line 163, in load_checkpoint
    raise RuntimeError("No state_dict found in checkpoint file {}".format(filename))
RuntimeError: No state_dict found in checkpoint file /root/weijun.liu/nusc/model_epoch_025_step_100100.pth
2020-07-23 14:29:02,568 - INFO - Distributed testing: True
2020-07-23 14:29:02,568 - INFO - torch.backends.cudnn.benchmark: False
2020-07-23 14:29:02,659 - INFO - Finish RPN Initialization
2020-07-23 14:29:02,659 - INFO - num_classes: [1, 2, 2, 1, 2, 2], num_preds: [20, 40, 40, 20, 40, 40], num_dirs: []
2020-07-23 14:29:02,662 - INFO - Finish MultiGroupHead Initialization
Traceback (most recent call last):
  File "./tools/dist_test.py", line 187, in <module>
    main()
  File "./tools/dist_test.py", line 106, in main
    checkpoint = load_checkpoint(model, args.checkpoint, map_location="cpu")
  File "/mnt/truenas/scratch/weijun.liu/workspace/Det3D/det3d/torchie/trainer/checkpoint.py", line 163, in load_checkpoint
    raise RuntimeError("No state_dict found in checkpoint file {}".format(filename))
RuntimeError: No state_dict found in checkpoint file /root/weijun.liu/nusc/model_epoch_025_step_100100.pth
Traceback (most recent call last):
  File "./tools/dist_test.py", line 187, in <module>
    main()
  File "./tools/dist_test.py", line 106, in main
    checkpoint = load_checkpoint(model, args.checkpoint, map_location="cpu")
  File "/mnt/truenas/scratch/weijun.liu/workspace/Det3D/det3d/torchie/trainer/checkpoint.py", line 163, in load_checkpoint
    raise RuntimeError("No state_dict found in checkpoint file {}".format(filename))
RuntimeError: No state_dict found in checkpoint file /root/weijun.liu/nusc/model_epoch_025_step_100100.pth
Traceback (most recent call last):
  File "./tools/dist_test.py", line 187, in <module>
    main()
  File "./tools/dist_test.py", line 106, in main
    checkpoint = load_checkpoint(model, args.checkpoint, map_location="cpu")
  File "/mnt/truenas/scratch/weijun.liu/workspace/Det3D/det3d/torchie/trainer/checkpoint.py", line 163, in load_checkpoint
    raise RuntimeError("No state_dict found in checkpoint file {}".format(filename))
RuntimeError: No state_dict found in checkpoint file /root/weijun.liu/nusc/model_epoch_025_step_100100.pth
Traceback (most recent call last):
  File "/opt/conda/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/opt/conda/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/opt/conda/lib/python3.6/site-packages/torch/distributed/launch.py", line 235, in <module>
    main()
  File "/opt/conda/lib/python3.6/site-packages/torch/distributed/launch.py", line 231, in main
    cmd=process.args)
subprocess.CalledProcessError: Command '['/opt/conda/bin/python', '-u', './tools/dist_test.py', '--local_rank=0', 'examples/cbgs/configs/nusc_all_vfev3_spmiddleresnetfhd_rpn2_mghead_syncbn.py', '--work_dir=test/', '--checkpoint=/root/weijun.liu/nusc/model_epoch_025_step_100100.pth']' returned non-zero exit status 1.

Please use this. Your checkpoint is the old one which is not supported in current version of Det3D


Decide on a deleted triple

We are currently marking resources as "deleted" (as a result of DELETE requests; and leading to Gone responses) by adding a triple <> rdf:type owl:Nothing to the resource's #metagraph. This is probably a bit ontologically heavy.
Perhaps a better approach is <> ns:deleted true, where ns is some internal namespace?  An initial search (and asking around) didn't turn up a general solution for this.

Ping: @gkellogg. Any obvious solutions for this? Is the internal predicate with boolean value the best approach?

Don't think I really have the background to say. Is the idea that when you delete a resource in the default (target) graph,  you record the resource as being deleted in a metagraph? Do you also remember the statements previously involving that resource?
The PROV model probably has more to say about this, but I think as Dydra implemented, it involves keeping every previous state of the container read-only, and using a prov graph to thread them together; any change creates a new graph in the container with deltas from the previous graph. @lisp or @bendiken could say more about this.
Short of that, then using some statement involving the resource in a metagraph is certainly reasonable.

a marking approach sounds treacherous:

what happens when one wants to re-create a  resource?
what happens with the containment assertions?

@gkellogg said:

Is the idea that when you delete a resource in the default (target) graph, you record the resource as being deleted in a metagraph?

Exactly. This allows us to prevent unintended URI reuse (per good practice & LDP), and mark resources Gone, rather that 404.

Do you also remember the statements previously involving that resource?

Optionally. This allows for inspection of the "tombstone" and/or recovery mechanisms.
@lisp said:

what happens when one wants to re-create a resource?

HTTP Conflict. Unless a server has specified some other behavior for resource recovery. LDP is opinionated about this (correctly, I think).

what happens with the containment assertions?

They are cleaned up according to LDP's DELETE specs. I believe the current code base handles this fine. Any previous containment would be cleared out on DELETE, and recovery handling is up to a specific implementation.
I don't really plan that Lamprey will handle 'undeletion', so the marking is really just a way to avoid forgetting that the resource existed to begin with.
To be clear: #graph may be empty (often, it will be) and still have the resource exist. All internal server properties (there aren't many) are handled within #metagraph.

@gkellogg Good call on PROV. prov:invalidatedAtTime seems to work, here.
@lisp Can you say more about your concerns about marking? I would love to be warned off a mistake while it's still easy to change directions.

Now destroying by setting an invalidateAtTime. Closed by 415d4c667c4.

i will try.
the ways to manage data of temporal nature - which this is, as soon as you want to make something "disappear", all involve distinguishing (at least) two aspects: "valid" and "transaction" state.
a valid dimension concerns the interval(s) during which the "truth" of some assertion contributes to a reasoning process v/s when its contribution is that of not being true - whether that being "false" of being "unknown", depending on the modes permitted by the logic.
in this dimension there are unknowns, uncertainty, modalities and whatever
a transaction dimension, on the other hand, concerns intervals when something is known in a model and reflects this state with a fairly definitive degree of certainty
at least, i do not recall any literature which introduces uncertainty into that dimension.
if you start here, https://en.wikipedia.org/wiki/Temporal_database, you can enjoy the benefits of thirty years of research literature.
the principle distinction in the results of that research in the form of databases is, which dimensions are "first class". the tquel -> tsql -> sql3 v/s sql -> sql-2011 evolution manifests this distinction and demonstrated a preference for date's exposition over snodgrass', in that they decided to expose both dimensions as table columns. yet, even then, they made transaction time columns not quite first-class in that an application can set their values as a side-effect of a transaction only.
in addition, they establish special forms for which the semantics is to effect an operation with implicit constraints on the columns which reflect valid and transaction time and they modify other operation semantics - for example referential integrity constraints to automatically incorporate the values present  in these columns.
if nothing else, the thirty years of effort indicates that this bit of asymmetry in the relational model is well tolerated as it contributes to correct applications.
with this in mind, consider the nature of temporal rdf data.
rdf decimates everything and, at least in principle, represents assertions in a four-dimensionsal space. graph semantics make the space anisotropic, but  that is artifactual.
on the basis of this quad-space, rdf models introduce additional dimensionality (analogous to relational columns) in the way they handle predicates: each is its own dimension.
given which, the issue can be expressed as, does a mechanism enforce orthogonality among properties which are to serve respective time dimensions and between them and other property dimensions?
the orthogonality which sql-2011 enforces with respect to time dimensions - different referential integrity and modification semantics, contributes to application correctness.
if you implement deletion by marking, you subvert this quite useful distinction and handle transaction time as a parallel dimension to any other dimension . including valid-time dimensions.
that is why i earlier asked, what happens to the containment assertions.
the approach which marks the entity, but deletes the containment assertions inflicts (at least from some perspectives) as much of an integrity violation as were it to do the opposite.
i have worked with an application which effected the marking by defining a shadow class hierarchy and changing the class of respective to-be-deleted entities.
as the access operators were all class driven, that was cool, but the cognitive and processing load of dealing with content which was, from a duck-typing perspective, just an increasing amount of debris, was not productivity-enhancing.
if a store permits to represent transaction time only through the presence - or absence, of an assertion, that is, it can represent just one point in that dimension through insertion and deletion, then that is the method to employ rather than to emulate that dimension in valid-time space.
yes, it is a computer and layers recurse indefinitely, but each will either contribute to or encumber the quality, which makes it difficult to recommend a method which treats a transaction time dimension as if it concerned matters of truth rather than existence.

I think I understand all of what you're saying here, at least superficially, but I'm not seeing the practical implications respecting the recommendation against the deletion approach employed here. I think you may be interpreting "marking" with some jargon meaning which is not intended or manifest in the implementation.
Here is the lifecycle of an ldp:Resource as implemented:

Prior to creation, the resource is 404 Not Found.
The resource is created by a POST to a container or a PUT directly to the target URI. At this time:

In the backend some triples are added to a named graph (#metagraph) tracking server-internal properties. At this point, this includes an rdf:type triple giving the LDP interaction model for the resource and a dcterms:modified triple with a Last-Modified date.
If the Resource is an RDFSource, a second named graph is populated from the POST/PUT body. This graph is understood as representing the current state of the RDFSource itself, in the sense described in LDP.
If the Resource is a NonRDFSource, a file derived from the POST/PUT body is written to disk.
If the Resource was posted to a Container, containment and membership triples appropriate to the Container type are added to other Resources as required by LDP.
Barring an error state, the Resource responds 201 Created

The Resource is retrieved with GET requests:

The Resource responds 200 OK, giving the current state (graph or file) in the body.

The Resource is updated by PUT or PATCH requests:

The graph or file is updated as requested.
The dcterms:modified triple is updated.
The Resource responds 200 OK.

The Resource is destroyed by a DELETE request:

The graph or file representing the current external state is emptied/deleted.
Containment/membership triples are removed from other Resources as required by LDP.
A prov:invalidatedAtTime triple is added to #metagraph giving the time of the deletion.
The Resource responds 204 No Content.

The Resource is retrieved with GET requests, and gives 410 Gone.

In my understanding, all of the above interactions are oriented squarely in transaction time. Depending on the behavior and capabilities of the backend, you may or may not be able to retrieve prior states of the Graph, allowing for (transaction) rollback.
In practical terms, it's not clear to me: (a) where you see the valid-time dimension entering the picture; (b) at what point the above approach goes wrong re: bitemporality; or (c) what an alternative proposal might be.
There's a need, derived from HTTP and LDP, to be able to understand a resource as existing (and having a specific LDP interaction model), or as having existed but now being gone, independent of the presence of any content in its representation. That's the role that the statements in #metagraph fill.

i had misinterpreted your reply of six days ago

We are currently marking resources as "deleted" (as a result of DELETE requests; and leading to Gone responses) by adding a triple <> rdf:type owl:Nothing to the resource's #metagraph. This is probably a bit ontologically heavy.

to have implied that the mark was the only indication of deletion.

In practical terms, it's not clear to me: (a) where you see the valid-time dimension entering the picture; (b) at what point the above approach goes wrong re: bitemporality; or (c) what an alternative proposal might be.

your meta-graph content is a meta-level model of the state of your ldp-model in which the temporal intervals emulate transaction time. absent native support for transactional time, there is no choice. still:

it is not clear, what happens, if some request reloads the known-but-deleted resource. if the ldp protocol eventually proscribed that, the problem does not arise, but, in general an existence determination is not directly indicated.
if i understand the ldp interaction model correctly, the asserted prov:invalidatedAtTime is as much a prov:generatedAtTime assertion for the tombstone. the emulation would be improved if it more complete. to this end, it would be better to always assert the start time for the created resources as well, just as (effectively) for the tombstone.


mqtt switches working on optimistic mode

Home Assistant release with the issue:

0.87.0
Last working Home Assistant release (if known):
cant remember, I think it was 0.82
Operating environment (Hass.io/Docker/Windows/etc.):

traditional install in virtual enironment (Raspberry PI)
Component/platform:

MQTT switch
https://www.home-assistant.io/components/switch.mqtt/
Description of problem:
none of my switches are set to Optimistic mode = True, they all are either not set (default is false because state_topic is defined) or set to False. The normal previous behavior (which I consider normal) has been that the switches only stay on when the hardware responds to the comand, confirming the comand was successful. Now, with the hardware disconnected from power the switch stays on (previously it was going back to off possition). I've seen this in both Lovelace and States UI.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:
the icon to the left that indicates with yellow color if the switch is on and gray if its off is working correctly, so this bug is only affecting the possition of the switch.

Are you using the same topic for updates and commands? (can you share the relevant config?)

Here is the configuration for one of my switches:
#Lamps

platform: mqtt
name: "SONOFF 1"
state_topic: "stat/sonoff1/POWER"
command_topic: "cmnd/sonoff1/POWER"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: false
optimistic: false

On Sun, Feb 24, 2019, 12:04 PM Andrew Sayre<EMAIL_ADDRESS>wrote:

Are you using the same topic for updates and commands? (can you share the
relevant config?)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/21386#issuecomment-466800368,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ahh9uYoAdhGLLKG0BccrA-cjxdWF_Z1Pks5vQtQkgaJpZM4bOU8j
.

Optimistic mode is working fine in the MQTT switch platform.
Also, after refreshing the frontend in a browser, correct (non optimistic) state is shown.
This seems to be a frontend issue.

/move to home-assistant-polymer


not working

Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\darqe\Downloads\Blank-Grabber-main (1)\Blank-Grabber-main\Blank Grabber\env\Scripts\pyinstaller.exe_main.py", line 4, in
File "c:\users\darqe\downloads\blank-grabber-main (1)\blank-grabber-main\blank grabber\env\lib\site-packages\PyInstaller_init.py", line 17, in
from PyInstaller import compat
File "c:\users\darqe\downloads\blank-grabber-main (1)\blank-grabber-main\blank grabber\env\lib\site-packages\PyInstaller\compat.py", line 165, in
is_ms_app_store = is_win and os.path.getsize(python_executable) == 0
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\genericpath.py", line 50, in getsize
return os.stat(filename).st_size
OSError: [WinError 1920] The file cannot be accessed by the system: 'C:\Users\darqe\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\python.exe'
Building failed!
Press any key to continue . . .

when trying to build

Please check #152 and see if it works for you.


website: Fix blog list view & images overflow

List: https://thanos.io/blog/
Blog: https://thanos.io/blog/2022-09-08-thanos-at-medallia/

Acceptance Criteria:

List should print only first few lines or content.
We should have menu on left with all blog posts.

Hello @bwplotka I am new to thanos and I would like to work on this issue

can i contribute to this one !

@Vaani-pathariya go for it!

Can you provide a bit more elaborate description of the changes you want ??

@Vaani-pathariya are you working on this??

As there is no response from vaani, can I start working on this? @matej-g

im working on it

May I participate in working on this?


1.0 tooltip remains after toggle while shown

Calling the method dispose of CompositeDisposable again after it has already been called does nothing, therefore the tooltips do not get disposed. #204

thanks @mariyan-borisov. merged in #204 and published v1.2.2


Autorecon segfault - MRInormalize(): No such file or directory

DS000221 / sub-010251
(multisession, includes T2w)
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/plugins/multiproc.py", line 51, in run_node
    result['result'] = node.run(updatehash=updatehash)
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 407, in run
    self._run_interface()
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 517, in _run_interface
    self._result = self._run_command(execute)
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 650, in _run_command
    result = self._interface.run()
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/interfaces/base.py", line 1088, in run
    runtime = self._run_interface(runtime)
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/interfaces/base.py", line 1654, in _run_interface
    self.raise_exception(runtime)
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/interfaces/base.py", line 1600, in raise_exception
    **runtime.dictcopy()))
RuntimeError: Command:
recon-all -autorecon1 -T2 /work/03843/crn_plab/stampede2/fmriprep-phase2/data/openfmri/ds000221/sub-010251/ses-01/anat/sub-010251_ses-01_T2w.nii.gz -noskullstrip -openmp 8 -subjid sub-010251 -sd /work/03843/cr
n_plab/stampede2/fmriprep-phase2/derivatives/ds000221/freesurfer -nomotioncor -notalairach -nonuintensitycor
Standard output:
Subject Stamp: freesurfer-Linux-centos6_x86_64-stable-pub-v6.0.0-2beb96c
Current Stamp: freesurfer-Linux-centos6_x86_64-stable-pub-v6.0.0-2beb96c
INFO: SUBJECTS_DIR is /work/03843/crn_plab/stampede2/fmriprep-phase2/derivatives/ds000221/freesurfer
Actual FREESURFER_HOME /opt/freesurfer
-rw-rw----+ 1 oesteban G-802037 94522 Oct 20 17:42 /work/03843/crn_plab/stampede2/fmriprep-phase2/derivatives/ds000221/freesurfer/sub-010251/scripts/recon-all.log
Linux nid00091 3.0.101-0.46.1_1.0502.8871-cray_ari_c #1 SMP Sat Oct 22 15:27:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
'/opt/freesurfer/bin/recon-all' -> '/work/03843/crn_plab/stampede2/fmriprep-phase2/derivatives/ds000221/freesurfer/sub-010251/scripts/recon-all.local-copy'
#--------------------------------------------
#@# T2/FLAIR Input Wed Oct 25 17:24:32 UTC 2017
/work/03843/crn_plab/stampede2/fmriprep-phase2/derivatives/ds000221/freesurfer/sub-010251

 mri_convert --no_scale 1 /work/03843/crn_plab/stampede2/fmriprep-phase2/data/openfmri/ds000221/sub-010251/ses-01/anat/sub-010251_ses-01_T2w.nii.gz /work/03843/crn_plab/stampede2/fmriprep-phase2/derivatives/ds
000221/freesurfer/sub-010251/mri/orig/T2raw.mgz

mri_convert.bin --no_scale 1 /work/03843/crn_plab/stampede2/fmriprep-phase2/data/openfmri/ds000221/sub-010251/ses-01/anat/sub-010251_ses-01_T2w.nii.gz /work/03843/crn_plab/stampede2/fmriprep-phase2/derivatives
/ds000221/freesurfer/sub-010251/mri/orig/T2raw.mgz
$Id: mri_convert.c,v 1.226 2016/02/26 16:15:24 mreuter Exp $
reading from /work/03843/crn_plab/stampede2/fmriprep-phase2/data/openfmri/ds000221/sub-010251/ses-01/anat/sub-010251_ses-01_T2w.nii.gz...
TR=3200.00, TE=0.00, TI=0.00, flip angle=0.00
i_ras = (0.997129, -0.0593039, -0.0470769)
j_ras = (0.0593698, 0.998236, -1.77311e-09)
k_ras = (0.0469938, -0.00279494, 0.998891)
writing to /work/03843/crn_plab/stampede2/fmriprep-phase2/derivatives/ds000221/freesurfer/sub-010251/mri/orig/T2raw.mgz...
#--------------------------------------------
#@# Intensity Normalization Wed Oct 25 17:24:34 UTC 2017
/work/03843/crn_plab/stampede2/fmriprep-phase2/derivatives/ds000221/freesurfer/sub-010251/mri

 mri_normalize -g 1 -mprage nu.mgz T1.mgz

using max gradient = 1.000
assuming input volume is MGH (Van der Kouwe) MP-RAGE
reading from nu.mgz...
normalizing image...
talairach transform
 0.39721   0.42635  -0.25834  -5.05436;
-0.49783   0.32203  -0.23398  -59.85409;
-0.02598   0.34758   0.53366   185.32791;
 0.00000   0.00000   0.00000   1.00000;
processing without aseg, no1d=0
MRInormInit():
INFO: Modifying talairach volume c_(r,a,s) based on average_305
MRInormalize: could not find any valid peaks.

Make sure the Talairach alignment is correct!

MRInormalize():
No such file or directory
1d normalization failed - trying no1d...
Segmentation fault
Linux nid00091 3.0.101-0.46.1_1.0502.8871-cray_ari_c #1 SMP Sat Oct 22 15:27:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

recon-all -s sub-010251 exited with ERRORS at Wed Oct 25 17:25:01 UTC 2017

For more details, see the log file /work/03843/crn_plab/stampede2/fmriprep-phase2/derivatives/ds000221/freesurfer/sub-010251/scripts/recon-all.log

To report a problem, see http://surfer.nmr.mgh.harvard.edu/fswiki/BugReporting

Standard error:

Return code: 1

recon-all.log.gz

This error has been replaced with the one above my comment for DS000221 / sub-010251, after cleaning up both work/ and out/ directories. I will close this one and keep discussion under that issue.


HD map generated conditioned on traj or the other way around?

Hi, thanks for the great work! I have one question regarding the BEV trajectory and hdmap generation. In the paper, the BEV trajectories are generated first, and hdmap is then generated using conditional diffusion model. I wonder whether there are any reasons behind this choice. Why not generate hdmap first and then generate agents adhering to road constraints? Thank you very much!

Thank you very much for your interest in our project!
Theoretically, this approach is available since our goal is to decouple the HDMap from the agent trajectories. However, generating agent trajectories based on road structures presents several challenges, primarily related to our motivation and implementation difficulties:

Regarding our motivation, we are more focused on trajectories in corner cases, with less emphasis on the road structure itself; it is sufficient for the road structure to meet basic requirements.
Decoding the vehicle's position at each moment from the BEV trajectory map is quite challenging. In contrast, the road structure is static in three-dimensional space, making it easier to process.
Determining the endpoints of the generated agent trajectories can be problematic, as it is difficult to ascertain which point is the starting point and which is the endpoint. While gradient colors could be used to indicate motion direction, this adds complexity to both model training and decoding.
If two agents' trajectories intersect, it becomes challenging to accurately extract results during processing.

Thank you very much for your reply!
I wonder whether the implementation difficulties mean that doing conditional diffusion p(x|y) is hard when the condition y is complicated. Or, in other words, diffusion models may not generalize well when the conditional information is too complex (I assume the trajectories are simpler conditional information compared to the hd-map).

Yes, in addition to this issue, another challenge is that decoding the agent trajectory sequences from the BEV trajectory map is difficult.

Thanks!


Make variantID and secret required for AeroGearGCMPushConfiguration

See: AGDROID-343

@matzew @secondsun Could you review that?

Builds and green bars, yay!.
Do we need to make any updates to the quickstart and hello world apps?

:+1: tested the branch on my machine, works fine

@danielpassos can you rebase ?

@secondsun Nopz, nothing needs be updated

@matzew Rebased!

thanks, merged it


Mapproxy MVT support

Support for proxying and caching of MVT protocol buffer responses from external data sources.

You know, everything in mapproxy (tiling, splitting, clipping, reprojection) is made for rasters. Vector layers needs completely different approach.
You can setup vector tile cache with any popular reverse proxy server like nginx or varnish.


Add new Entity types

Hi, I have been loving your program for about a year now. I just switched all of my scene based automation over to the new ""input_buton" helper that Home assistant introduced. I wanted to know if it would be possible to add these and all of the new similar entities to the white list as I cannot see them on the list anymore and they don't work with the current revision. Thanks again

Added in <IP_ADDRESS>


Bugfix, adding src/dfcx_scrapi/core_async/init.py

This adds a missing file which will allow Python to treat the core_async directory as a package.

LGTM


fpga webhook: rework deployment to use kustomize

Contributes to #318

Codecov Report

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

@@           Coverage Diff           @@
##           master     #405   +/-   ##
=======================================
  Coverage   58.89%   58.89%
=======================================
  Files          26       26
  Lines        2428     2428
=======================================
  Hits         1430     1430
  Misses        940      940
  Partials       58       58

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 8fde4ac...f486f49. Read the comment docs.


Update for frankenstein -> prism rename

Vendors https://github.com/weaveworks/prism/pull/30
Updates code to use prism instead of frank as an import name
Depends on #77

Once this is merged, the non-upstreamed vendor changes in weaveworks/prism#30 won't be needed.
Part of weaveworks/prism#28

:+1:

From Slack:

julius [5:24 PM]
jml: ship it


Document how to use with GCP

Would be great to have a docs section for how to get started with the Google Cloud Platform plugin similar to the Azure section of the docs.

agreed, we need a getting started with gcp section.


rna-transcription: don't transcribe both ways

I can't remember the history of this, but we ended up with a weird non-biological thing in the RNA transcription exercise, where some test suites also have tests for transcribing from RNA back to DNA. This makes no sense.
If this track does have tests for the reverse transcription, we should remove them, and also simplify the reference solution to match.
If this track doesn't have any tests for RNA->DNA transcription, then this issue can be closed.
See https://github.com/exercism/x-common/issues/148

C++ is only doing the DNA->RNA transcription.


Search Error

I have the "no index" radio button selected in the ACP search method form.  When I visit that form a new entry in the error log appears:

Type of error: Critical
The selected search API the forum is using is out of date - falling back to standard search. Please check the file \ElkArte\Search\API\Custom.

Looks like two things here ... first is https://github.com/Spuds/Elkarte/commit/2f6bfb16ba0dc0e2a0fe5cb98a9f78a8ce1b3ea3
and then
https://github.com/Spuds/Elkarte/commit/35f442ae58ef0c8b804af3098dc37195304317c3


𝐂𝐨𝐧𝐟𝐢𝐠𝐮𝐫𝐞 𝐃𝐨𝐜𝐤𝐞𝐫 𝐚𝐧𝐝 𝐃𝐞𝐩𝐥𝐨𝐲 𝐚𝐧 𝐇𝐓𝐓𝐏 𝐒𝐞𝐫𝐯𝐞𝐫 𝐰𝐢𝐭𝐡 𝐀𝐧𝐬𝐢𝐛𝐥𝐞 𝐏𝐥𝐚𝐲𝐛𝐨𝐨𝐤

Overview
✅ Configuring Docker for efficient container management.
✅ Pulling the latest HTTP Server image from Docker Hub.
✅ Deploying and exposing your web server to the world.
✅ Automating HTML code deployment for seamless updates.
Key Features
NA
Additional Information
NA
Record

[X] I agree to follow this project's Code of Conduct
[ ] I'm a GSSOC'24 contributor
[X] I want to work on this project proposal

@mayaworld13 You are assigned ✔


Not able to send emails

According to this article:
https://docs.authorizer.dev/core/email
I have these env variables in my railways deployed instance.
I am using SMTP using Google's APP password. It even says "Password reset link has been sent.

But in reality - when i check the inbox i haven't received any emails. Where am i doing it wrong? Help me out.

Thanks.

@tusharmctrl there would be some error logs in the railway logs section, can you check the logs and see what is failing there?
Also which version of authorizer you are using?

Hi Lakhan. Thanks for your respose.
Just checked railway logs and everything seems to be right upto the mark. (Every request returned 200 status code)
I am using - 1.1.69 version.

Okay I will try to debug this and let you know

For your context (;

Hi @tusharmctrl, how did you solve this issue? I'm using gmail smtp server, and APP password, but could not send out any email. Really appreciate if there is any help. Thanks.

@yangzhaox try LOG_LEVEL=debug env and you might see the failure reason

Hi @yangzhaox, were you able to figure this out sir?

@yangzhaox Please make sure to add "SMTP Local Name" as "en".
This might be throwing an error "unexpected paremeter" I suppose.

@tusharmctrl I leave SMTP local name as "" then it works.

JFYI:
// LocalName is the hostname sent to the SMTP server with the HELO command.
// By default, "localhost" is sent.
LocalName string


How to use  ?

Hello,
Would it be possible to help giving a little guide on how I can use the  ?
Are all icons listed at http://www.carbondesignsystem.com/style/iconography/library supported ?
I'm only able to successfully use  <ibm-static-icon> so far, but it seems the icons are limited ?
Thanks.

In order to use ibm-icons you need to include proper icon sprites into your DOM. Right now icon service doesn't use the latest icon repository out of the box.
@cal-smith is currently working on resolving it and I'm sure he'll want to provide more details when he has them available :)

ibm-static-icon (primarily an internal use only component) and ibm-icon don't provide the correct icons at this point, and I'd argue they're going to be obsolete - we'll be shipping a really cool icon component at some point! so stay tuned for that!
In the interim I'd take a look at the developer section of http://www.carbondesignsystem.com/style/iconography/usage

Sounds like this can be closed for now.

for reference, this is how to use carbon-icon in angular now: https://github.com/IBM/carbon-elements/tree/master/packages/icons-angular


Tutorial notebook for performing POVMs on a quantum computer

Summary
I add a tutorial jupyter notebook, which explains how to perform general single-qubit POVMs on a quantum computer. The notebook contains a brief theoretical introduction to POVMs and Neumark's theorem, and an step-by-step construction of a quantum circuit for a  POVM with 3 measurement operators/outcomes.
Details and comments
The notebook requires the numpy and qiskit packages only.

 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.

 All committers have signed the CLA.

I think this should be moved here: https://github.com/Qiskit/qiskit-community-tutorials


Multiple parents only with leaf nodes possible?

Hi, i want to use this library in my Master's thesis.
In an existing project it is possible for a node to have multiple parents (Summarization has the same ID).

I now want to use the same implementation with a bigger database where also inner nodes can have multiple parents. However when trying to load in the data (in the same way) i get the Unhandled Runtime Error "Error: ambiguous: {NodeId}".
Is this library only able to process multiple parents for leaf nodes?

This library can only process strict hierarchy (one parent, multiple children), multiple parents aren't possible

Ok thanks for the info.
Do you then understand how my colleague was able to use it with mutliple parents (as shown in the screenshot)?

This is not multiple parents, every node in here only has a single parent

Summarization at the bottom has both the parents Information Extraction and Text Generation tough

@PatK19 , do you got to know how your colleague has formed this chart? like placing same node under different parent nodes?

@kanth609 in this case there is no issue as the parentNodeID - childNodeID combination is unique.
The data for this graph came from the Database (Neo4j) where multiple connections are allowed.
I was also able to use it for multiple parents by multiplying the parent nodes and adding a unique identifier (like _001) to the id. This surely is not optimal, but was sufficient for my usecase.


case of colorization error with inline string template

VSCode Version: 1.2.1
OS Version: Windows 7

The following code is not colorized properly in VSCODE (.ts file)
const funcText0 = true ? `` : `${funcName}`;

Screenshot:

(but is correct in Visual Studio 2015).

duplicate of https://github.com/Microsoft/TypeScript-TmLanguage/issues/81


vscode-languageclient 3.4.2 can't be compiled against vscode 1.1.5

vscode-languageclient 3.4.2
vscode 1.1.5
I get the following compilation error in the node_modules\vscode-languageclient\lib\client.d.ts file, in the following import statement:
import { ........, WorkspaceFolder as VWorkspaceFolder } from 'vscode';
error TS2305: Module ''vscode'' has no exported member 'WorkspaceFolder'.
I checked the imported node_modules\vscode\vscode.d.ts file and found that the WorkspaceFolder symbol is not really exported from this module.

This is correct and on purpose. That is why the client list vscode 1.16 as a prerequisite. If you need to compile against 1.15 you need to stick with 3.3.x. The thing is that the new npm modules provide support for new API in VS Code (e.g. workspace folders and configuration) and therefore prereq 1.16.
1.16 got release yesterday :-)

Thanks for the clarification!
Just want to pay your attention to the fact that package.json of vscode-languageclient 3.4.2 proclaims dependency on vscode 1.1.5 :
"devDependencies": {
"vscode": "^1.1.5"
},
And vscode 1.1.5 is the maximal available version on npm.

@alexi2014 If I understand correctly, here it is the engines section of your package.json that would need to change:
  "engines": {
    "vscode": "^1.16.0"
  },

@dbaeumer This also broke my CI build.  I'm not sure that there was any better way to handle this within the npm ecosystem so maybe this was the best possible experience.  However, I am reporting that is an undesirable developer experience for semver compatible package update to break a build.

@alexi2014 "vscode": "^1.1.5" is the dependency for the VS Code extension developer pack. It is not the runtime version of VS Code. This is the one pointed out by @alexi2014.
@adamvoss I see your point and we discussed this. The underlying problem is that the runtime dependency changed and this can't be expressed nicely (e.g. the runtime is no 'dependency' which gets installed via npm install). From an semver API perspective LSP 3.4.0 is still backwards compatible but not from a runtime perspective. I we move the major version number every time the VS Code runtime changes it would be very confusing as well.


Does Swashbuckle support .Net 4.5?

I created a WebAPI with .Net 4.5, then installed Swashbuckle. I attempt to run the application, but got the following error:
Could not load file or assembly 'System.Web.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Does that mean Swashbuckle doesn't support .Net 4.5?
If I use .Net 4.0, it works.

Hi Peter,
I know it's a pretty old thread now, but I just create a Pull Request for Swashbuckle to add support for .NET 4.5 - 4.5.2.
See: https://github.com/mattlangis/Swashbuckle/tree/MultiTarget_Net45-452
Note: It's stable, but I did it a way that all the targeted project are built at the same time. It requires Caitlyn extensions to use all the features.
Cheers,
Matt

I'm running into this issue now as well on the current 5.1.5 version.  I already have those two lines in my web.config (with the current assembly versions I'm using):
  <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
    <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
    <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
  </dependentAssembly>

However, I still get the file not found exception:
A first chance exception of type 'System.IO.FileNotFoundException' occurred in Swashbuckle.Core.dll
Additional information: Could not load file or assembly 'System.Net.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Do I need an entry to match this PublicKeyToken=b03f5f7f11d50a3a version?


✨ Date arithmetic is slow

DATE + INTERVAL

initial attempt at rewriting DATE + INTERVAL code,
before anything - "time_evaluating": 20.698973 (3,641,918 rows)
after rewrite - "time_evaluating": 8.037892
progress, but not brilliant

SELECT l_shipdate, l_receiptdate
FROM testdata.tpch.lineitem
WHERE l_shipdate - INTERVAL '10' DAY < l_receiptdate
LIMIT 100000

Interval - 0.8 seconds
l_shipdate - 0.00 seconds
l_receiptdate - 0.00 seconds
minus - 1.2 seconds
less than - 1 second

I'm not sure I have many more options to get it below "time_evaluating": 7.340969
I think the bulk of this time is converting the value back to a datetime.

5 seconds achieved
"rows_read": 3641918,
"time_evaluating": 4.9064,

different approach taken, can now do in the region of 10 million rows per second, so 3.6m in 0.33 seconds which is much faster than the 2 second goal and a lot better than the 20 seconds we started at.


Incorrect error message from edit command and add command with overlapping appointment inputs

Reproduce by following these steps:

Input the command edit 1 ap/10:00-12:00 SUN ap/11:00-13:00 SUN with overlapping appointments

We get the error message: "This person's appointments clash with an existing appointment"

This is incorrect. The correct error message should be "These appointments clash with each other."

Fixed in #216.


cudnn-convolution performance tests on cnn-lstm-ctc

Environment info
Operating System: ubuntu 14.04
Compiler: gcc 4.8
Package used (Python/R/Scala/Julia): python
MXNet version: 0.9.1 (0.7.1 nightly 32cb6bc)
Or if installed from source:
MXNet commit hash (git rev-parse HEAD): 32cb6bc
If you are using python package, please provide
Python version and distribution: anaconda 2.7.11
Error Message:
I used cnn-lstm-ctc to do ocr tasks, and it can work well with mxnet 0.7 version, but when I use the latest mxnet version 0.9.1 it will block here forever :
src/operator/./cudnn_convolution-inl.h:55: Running performance tests to find the best convolution algorithm, this can take a while...

Minimum reproducible example
Steps to reproduce

What have you tried to solve it?

@xinghedyc ,can you release your predict code, i don't know how to predict
here is my issue ,can you help me4650

export MXNET_CUDNN_AUTOTUNE_DEFAULT=0 to disable this

@poorfriend I haven't write predict code yet, I will try the following days, if I make it , I'll inform you for sure.
@piiswrong Thanks a lot ,I'll try it and send you feedback later.

@piiswrong when I try to run example in warp-ctc/toy-ctc.py, it also block here :
~/mxnet/example/warpctc$ python toy_ctc.py
WARNING:root:[Deprecation Warning] mxnet.model.FeedForward has been deprecated. Please use mxnet.mod.Module instead.
begin fit

when I crtl + c to stop the job here is the log :
File "toy_ctc.py", line 162, in <module>
    batch_end_callback=mx.callback.Speedometer(BATCH_SIZE, 50),)
  File "../../python/mxnet/model.py", line 814, in fit
    sym_gen=self.sym_gen)
  File "../../python/mxnet/model.py", line 259, in _train_multi_device
    executor_manager.update_metric(eval_metric, data_batch.label)
  File "../../python/mxnet/executor_manager.py", line 425, in update_metric
    self.curr_execgrp.update_metric(metric, labels)
  File "../../python/mxnet/executor_manager.py", line 277, in update_metric
    metric.update(labels_slice, texec.outputs)
  File "../../python/mxnet/metric.py", line 348, in update
    pred = pred.asnumpy()
  File "../../python/mxnet/ndarray.py", line 500, in asnumpy
    ctypes.c_size_t(data.size)))

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


Acme's r2d2 fails due to reverb error

Hi, I am trying to run r2d2 agent from Acme, and it throws an error just after first episode is run: [reverb/cc/client.cc:159] Sampler and server are owned by the same process (21400) so Table priority_table is accessed directly without gRPC.
and the program is later killed.
Any idea why this is occurring and how can I get it to work?
Thanks!

Hi @apoorvabanubakode, the logging message you mention:
[reverb/cc/client.cc:159] Sampler and server are owned by the same process (21400) so Table priority_table is accessed directly without gRPC.

Is actually an info message to let users know that the table is being accessed without gRPC. If you can find the original error we may be able to help.

Please provide the versions of TF, acme, and reverb you're using and a simple repro example.  Try to also provide a full paste of the error and the process dying.
Finally if you have time to do this yourself, run the subprocess that dies in gdb and when it dies, provide a stacktrace.  If you can't do that, the repro instructions may be sufficient for us to debug.


Use es2015-loose instead of es2015

This drops both the unminified and the minified UMD builds by 1 kB or so, and probably makes code run marginally faster.

And the v2 build pipeline was doing --loose all anyway.

Excellent, thank you. I was just thinking the other day I should probably be using es2015-loose everywhere.

I think es2015-loose is generally the right preset to use.
es2015 did help me catch a bug once where I was using the new spread operator on a null value, though. Loose mode is okay with it (treats it as an empty iterable), but it's supposed to throw an exception.

(array spread, not object spread)


Preview drop location when dragging

Might be helpful to know where the drop is going to happen while dragging
https://user-images.githubusercontent.com/9929523/146660599-9cc426e6-e8a1-478a-9472-5996515fc48c.mp4

I think the new dropCursor extension in 0.19.32 already does this.

Didn't notice it exists! Nice


CSRF tokens become outdated when page has not been reloaded a long time

Some links that use htmx to send updates to the server depend on an event handler
in csrf.js to automatically
add a CSRF token to the request header. Unfortunately that token is part of the document,
and if the page has not been reloaded in a long time, that token becomes outdated, i.e. invalid,
and the user gets a page like "invalid csrf token".
Of course that may happen also to forms that open in a modal, but it is probably less expected
behaviour as the page is not in "edit mode".

We use gorilla/csrf to generate the tokens.  So looking at https://github.com/gorilla/csrf/blob/master/csrf.go, I notice two things.
gorilla/csrf uses it's own cookiestore internally, independent of the cookiestore we use to manage session data. You can pass a MaxAge option to csrf.Protect which allows you to set when a cookie expires. The defaultAge is set at 12 hours. Since we don't explictly configure MaxAge, that's how long a csrf cookie will last.
12 hours should be plenty enough, but I can see a scenario where someone starts editing a record late during the day, keeps the browser tab open while suspending their machine (laptop/desktop) and tries to continue the next morning, moving beyond MaxAge. Then again, I think that would be an exceptional scenario.

@netsensei indeed, I remember that the page was indeed open for a day, and then I clicked one of the links.
In the long run maybe show some page like "page outdated, please reload" or something.
Of course a bit vague.

@nics @nicolasfranck What's the status on this issue? Can this be closed?

Probably not a problem in a real situation


Crash after pasting text from another program

Please provide a brief summary of the bug
Crash after pasting text from another program or doing some simultaneous tasks in other programs
Please provide steps to reproduce where possible
No response
Expected Results
no crash
Actual Results
crash
What Java Version are you using?
openjdk 17.0.6 2023-01-17 OpenJDK Runtime Environment (build 17.0.6+10-Ubuntu-0ubuntu122.04) OpenJDK 64-Bit Server VM (build 17.0.6+10-Ubuntu-0ubuntu122.04, mixed mode, sharing)
What is your operating system and platform?
No response
How did you install Java?
dnf install
Did it work before?
No response
Did you test with the latest update version?
No response
Did you test with other Java versions?
No response
Relevant log output
No response

hs_err_pid618629.log

@IZWO The log file says you're using our 19.0.1+10 build which is no longer supported.  Please use 17.0.7 and also upgrade your Eclipse IDE to the latest 2023 version.

hs_err_pid359892.log
same behaviour

@IZWO I assume your Eclipse IDE and O/S are at the latest patched levels?  I suspect it's an SWT native lib crash

@IZWO I assume your Eclipse IDE and O/S are at the latest patched levels? I suspect it's an SWT native lib crash

yes, the crash is very often (after mutliple OS/IDE updates remaining), not clear when it will happen, somtimes also "Refresh Gradle Project" crashes.

@IZWO Eclipse IDE has recently updated to their June 2023 release (containing a number of bug fixes for Linux desktop).  Can you upgrade and see if that resolves your issue?


When changing a date programmatically, datepicker throws an error!

Describe the bug
For DateInput when value is changed programmatically (may be based on some other inputs),
specifically when new value(date) is in other than current value's month. And then when trying to open a calendar, It will throw an error as show in screenshot.
Uncaught TypeError: Cannot read property 'position' of undefined

Screenshots

Dependencies versions

semantic-ui-calendar-react 0.14.3

Thanks for report.
Could you provide more details on how exactly programmatically you trying to change value? I've tried this:
<Form.Input onChange={(e, { value }) => this.setState({ date: value })} />
<DateInput onChange={(e, { value }) => this.setState({ date: value })} />

Then I click on date input and see that value in calendar didn't change (even though value inside input field changed). But I don't see errors.

@arfedulov Thanks for reply.
After spending sometime with this I found that this happens only when I've set minDate option!
Basically, what I'm trying to do is, I need second date always to be equal or greater than first one. (I know dateRange can help here but that's not fitting in my UI)
Here is the li'll demo to reproduce this.
import React from 'react';
import { DateInput } from 'semantic-ui-calendar-react';
import moment from 'moment';
import { Form  } from 'semantic-ui-react';

export default class DateDemo extends React.Component {

  state = {
    startDate: moment().format("MMM DD, YYYY"),
    endDate: moment().add(1, 'day').format("MMM DD, YYYY")
  }

  handleChange = (event, {name, value}) => {
    this.setState({
      [name]: value
    })
    if (name === "startDate") { //&& endDate > startDate
      this.setState({
        endDate: value
      })
    }
  }

  render() {
    const {startDate, endDate} = this.state;
    return (
      <Form>
        <Form.Field>
        <DateInput
           closable
           inlineLabel
           closeOnMouseLeave={false}
           initialDate={startDate}
           pickerWidth={"250px"}
           name="startDate"
           dateFormat={"MMM DD, YYYY"}
           placeholder="Start Date"
           value={startDate}
           onChange={this.handleChange}
        />
        </Form.Field>
        <Form.Field>
        <DateInput
          closable
          inlineLabel
          closeOnMouseLeave={false}
          minDate={startDate}
          initialDate={endDate}
          pickerWidth={"250px"}
          name="endDate"
          dateFormat={"MMM DD, YYYY"}
          placeholder="End Date"
          value={endDate}
          onChange={this.handleChange}
        />
        </Form.Field>
      </Form>
    )
  }
}

Yeah, I got an error. When you select any date from any month other than initial month on first DateInput,
the second DateInput doesn't reflect this change in it's internal current date. So when the second DateInput is trying to parse its input value, the error  occurs.
This is a bug. DateInput should handle this case when parsing input value.
As a quick fix you can set key={endDate} on the second DateInput. So it will always be reinstantiated when endDate changes.

Cool! Thanks for quick turn-around and providing a quick fix.

For me setting the initialDate of the second Input to the minDate solved the problem for now

Fixed in #142


STAT-158 ⁃ The node crashes when run the test script

When executes the script eosd_run_test.sh, the eosd crashes.
The script is attached herewith
[^eosd_run_test.sh]
ATC:

Run attached script. eosd does not crash.

┆Attachments: config.ini | eosd_run_test.sh | stderr.txt.gz | test_walletd_output.log

➤ Kevin Heifner commented:
Integrated the attached script with the one it was based on in tests.
Now tests/eosd_run_test.sh takes arguments. If given localhost for --host then it will use the launcher to launch an eosd for the test, otherwise it will skip that step.
usage: eosd_run_test.sh --host=host_name --port=port --output=test_output_0.txt
If --host==localhost then this script also launches an eosd for the test.
Example: eosd_run_test_sh --host=localhost --port=8888 --output=test_output_0.txt

Does it have defaults, so I can just call  tests/eosd_run_test.sh and it
still run?
On Mon, Nov 13, 2017 at 1:51 PM, blockone-syncclient <
<EMAIL_ADDRESS>wrote:

➤ Kevin Heifner commented:
Integrated the attached script with the one it was based on in tests.
Now tests/eosd_run_test.sh takes arguments. If given localhost for --host
then it will use the launcher to launch an eosd for the test, otherwise it
will skip that step.
usage: eosd_run_test.sh --host=host_name --port=port
--output=test_output_0.txt
If --host==localhost then this script also launches an eosd for the test.
Example: eosd_run_test_sh --host=localhost --port=8888
--output=test_output_0.txt
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/EOSIO/eos/issues/686#issuecomment-344037061, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJy1WwLIQktQmEb1GVFb5lVlryDKVEl1ks5s2J27gaJpZM4QcTwy
.

➤ Kevin Heifner commented:
The script echos usage if no arguments are specified.

➤ Bezwada Satyapravin commented:
Pravin Bezwada, [Nov 15, 2017 at 9:28:28 AM]:
./tests/eosd_run_test.sh --host=<IP_ADDRESS> --port=8889 --output /tmp/test1.log
throws following error:
658346ms thread-0   main.cpp:1117                 main                 ] Failed with error: 10 assert_exception: Assert Exception
status_code == 200: Error code 500
: {"code":500,"message":"Internal Service Error","details":"unknown key"}
{"c":500,"msg":"{"code":500,"message":"Internal Service Error","details":"unknown key"}"}
thread-0  httpc.cpp:113 call
{"server":"<IP_ADDRESS>","port":8889,"path":"/v1/chain/get_required_keys","postdata":{"transaction":{"ref_block_num":11228,"ref_block_prefix":627052842,"expiration":"2017-11-15T14:28:06","scope":["currency","testera"],"read_scope":[],"messages":[{"code":"eos","type":"transfer","authorization":[{"account":"testera","permission":"active"}],"data":"000000c05c95b1ca0000001e4d75af46cfe10e00000000001274657374207472616e7366657220612d3e62"}],"signatures":[]},"available_keys":["EOS59C8WeGcyVep3YD5HNbtLs2pD6wkYSLvd1jRwLQRBtVvsUg1B2","EOS6LVvnuGn36BjUK7YM1WSm4Mi4mAY5mpURnYwCkVMXW83QUUhFe","EOS79GhUyhLzNDEf3KteRAJBbfKKtMndZsY3pBuRuG3sTQowKdQMs"]}}
thread-0  httpc.cpp:117 call
FAILURE - eosc transfer returned error code 1
I am on:
MacBook01:build pravin$ git branch

(HEAD detached at STAT-2017-11-14)
blk_ts
block_timestamp
build_script
master

➤ Bezwada Satyapravin commented:
Pravin Bezwada, [Nov 15, 2017 at 9:28:28 AM]:
./tests/eosd_run_test.sh --host=<IP_ADDRESS> --port=8889 --output /tmp/test1.log
throws following error:
658346ms thread-0   main.cpp:1117                 main                 ] Failed with error: 10 assert_exception: Assert Exception
status_code == 200: Error code 500
: {"code":500,"message":"Internal Service Error","details":"unknown key"}
{"c":500,"msg":"{"code":500,"message":"Internal Service Error","details":"unknown key"}"}
thread-0  httpc.cpp:113 call
{"server":"<IP_ADDRESS>","port":8889,"path":"/v1/chain/get_required_keys","postdata":{"transaction":{"ref_block_num":11228,"ref_block_prefix":627052842,"expiration":"2017-11-15T14:28:06","scope":["currency","testera"],"read_scope":[],"messages":[{"code":"eos","type":"transfer","authorization":[{"account":"testera","permission":"active"}],"data":"000000c05c95b1ca0000001e4d75af46cfe10e00000000001274657374207472616e7366657220612d3e62"}],"signatures":[]},"available_keys":["EOS59C8WeGcyVep3YD5HNbtLs2pD6wkYSLvd1jRwLQRBtVvsUg1B2","EOS6LVvnuGn36BjUK7YM1WSm4Mi4mAY5mpURnYwCkVMXW83QUUhFe","EOS79GhUyhLzNDEf3KteRAJBbfKKtMndZsY3pBuRuG3sTQowKdQMs"]}}
thread-0  httpc.cpp:117 call
FAILURE - eosc transfer returned error code 1
I am on:
MacBook01:build pravin$ git branch

(HEAD detached at STAT-2017-11-14)
blk_ts
block_timestamp
build_script
master

➤ Bezwada Satyapravin commented:
This is a config issue. Things work when the configuration is in the right conditions.


Merge WASM Files

Summary
Is there any API to add a function from an other module?
Additional Details
I'm trying to merge two WASM files.
In the first step, I want to merge the functions, but I'm not able to add the function from the module_b to the module_a.
As use can see below, I'm using module.funcs.add_local but the method is expecting a LocalFunction but I didn't find a way to extract the function as a LocalFunction nor did I figure out a way to create it from the Function.
I'm using add_local because I didn't find any other method that allowed me to add a new function to a module.
Is there an API for my use case, or is this currently not supported? (Or am I missing something?.. )
Thanks in advance
use anyhow::Error;
use walrus::*;

fn main() -> Result<(), Error> {
    let module_a = Module::from_file("fancy.wasm")?;

    let module_b = Module::from_file("add.wasm")?;
    //  module_b constians only one func
    let my_fancy_func = module_b.funcs.iter().next().unwrap();

    // let module_a.funcs.add(my_fancy_func)
    // mismachted types exepected struct 'LocalFunction', found 'walrus::Function'
    module_a.funcs.add_local(*my_fancy_func);

    Ok(())
}

i know this is year late but you can match on function.kind and you get FunctionKind::Local(LocalFunction)
the hard part is making sure all the local and what not play nice in the combined wasm which i have not yet managed


drivers: flash: stm32wb return in case of control register locked

In case of control register lock, driver should return the error
immediately. Otherwise, error is later overwritten by
'rc = flash_stm32_wait_flash_idle(dev);'
Signed-off-by: Alexandre Bourdiol<EMAIL_ADDRESS>

Change is fine but rc declaration should be removed then

I propose rather to return rc at the end of the function


refactor: add tests-integration module

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
While cleanup residual code review suggestions in #474 , I just realized this http_test is no longer suitable to sit in datanode module:

it uses an integration test methodology that calls http api directly, which is not a unit test
the functionality is no longer full contained in datanode, it covers logic from servers, datanode to frontend
it prevents us from further decoupling datanode and frontend in terms of dependency

This PR creates a dedicated tests-integration module to hold tests like http_test. It will depend on datanode, frontend and meta in future. if this idea sounds good to you, I'm going to move forward:

[x] move test_util from datanode into tests-integration still in use for datanode's tests
[x] move grpc_test, which is similar to current http_test, into tests-integration. And note that datanode still needs its own grpc_test as unit test to test our internal datanode-frontend communication.
[ ] please add in comment if there are more tests to be moved into tests-integration
[x] tests for mysql handler in datanode is to be removed as in #556
[x] resolve residual test issues in #474

Checklist

[x]  I have written the necessary rustdoc comments.
[x]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)
N/A

I just found that tests inside src/datanode/src/tests/instance_test.rs should also be moved to integration module.

@v0y4g3r I checked that module and it seems for testing datanode only? Correct me if I'm wrong.

@v0y4g3r I checked that module and it seems for testing datanode only? Correct me if I'm wrong.

That's right.


Update handbrake to 1.0.7

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for the contribution. It was merged directly as 461af7672fa267ed42bd5572c20bf337cb4da87e. Your contribution is still credited to you.

Anyone who installed this should be aware that it included a trojan. There should probably be greater scrutiny of intra-version hash changes in the future.

There should probably be greater scrutiny of intra-version hash changes in the future.

@Noctem There will be.

Doesn't it seem a little strange to you that the hash of a release changed while the version didn't? Isn't the point of checking a hash to detect tampering, not agree with it?

Your comment is not helpful. Upstreams frequently reupload software versions and 99% of the time these hash changes are innocent. A mistake was made here and everyone involved has learned from it and are currently working on changing the process so it cannot happen again.
Piling on on issues will be responded to with comments like mine and then people who continue to do so may find themselves blocked.


fix the indexer and ensure it works

The landver indexer should be updated to index all emitted events.

@rajiabdul please comment so I can assign you!

Please assign this to me @fishonamos


tutorial？

Is there a blog post or tutorial for newbie to follow? Thanks.

Nope this was a one day hackathon project, there's just the readme and the (pretty small) source code.


Can the default theme adopt vitepress?

vitepress nextjs are the same theme, support dark mode, want to customize the theme of vite-pages, but found that it is not as easy as the documentation says, too much logic associated with the request can use the theme by default

Building a complex theme from scratch is difficult (but possible). Because it means building a fully extensible website framwork!
Currently I am focusing on making the official theme (and core use cases) better. Could you tell me what kind of feature do you want from vitepress? For example, dark mode? We can bring that to the official theme too :)


isatty() not defined error

Dear Mr Kazuhito00,
Few days ago colab updated jax library, that it is being used by Megvii Yolox Engine. Jax version in colab implements a new function _can_use_color() that checks stdout.isatrty(). Unfortunately lMegvii/yolox/utils/logger.py class StreamToLoguru, that replaces stdout, does not implement isatty() function. So your notebook fails.
I have reported that issue to Megvii (no reaction) and to jax team who actually fixed it. Unfortunately it would take some time since this version is uptaded in colab. Meanwhile you could add something like below to path class StreamLoguru
# In a cell
!awk '1;/def flush/{c=3}c&&!--c{print "    def isatty(self): return True"}' \
/content/YOLOX/yolox/utils/logger.py > /content/YOLOX/yolox/utils/logger.tmp \
&& mv /content/YOLOX/yolox/utils/logger.tmp /content/YOLOX/yolox/utils/logger.py

Dear bsense-rius.
Thank you for telling me about isatty ().
Until Megvii-BaseDetection officially supports it, i will take measures using awk of bsense-rius.
!awk '1;/def flush/{c=3}c&&!--c{print "    def isatty(self): return True"}' \
/content/YOLOX/yolox/utils/logger.py > /content/YOLOX/yolox/utils/logger.tmp \
&& mv /content/YOLOX/yolox/utils/logger.tmp /content/YOLOX/yolox/utils/logger.py

Hello @Kazuhito00 , we fixed this issue in our latest commit. You may check and update now.
Thanks for your great work.

Hello @FateScript , Thank you for quickly modifying the source code.
I've also modified the notebooks in this repository and confirmed that they work.


Fixes table display issues

Fixes #1335 related to problematic table formatting within a note when one column includes much more content than the other columns. Moved table content outside of the note and made other minor adjustments. @AndreaBarr

 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.:x: jamesrhea sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Rename some low quality vehicle names/descriptions

A couple of vehicle names/descriptions are of low quality or don't make sense. Most vehicles have “train” or “car” in their name, but some vehicle names and descriptions are weird or just outright wrong.
Here I present the problematic strings (in en-GB) and suggest changes. Please post what you think of my suggestions and if they are OK.
1:
Small flower shaped dinghies powered by a centrally-mounted motor controlled by the passengers
	→ Source: rct2.tt.flwrpowr.json
	→ I thought dinghies are boats and need water, but this ride doesn't look like it has any water.
	→ Suggestion: Small flower shaped dodgems powered by a centrally-mounted motor controlled by the passengers

2:
Roller coaster cars in the shape of lizard carnival floats
Roller coaster cars in the shape of butterfly carnival floats
Roller coaster cars in the shape of frog carnival floats
	→ Source: rct2.ww.crnv*.json
	→ These are cars for car rides, not for roller coasters!
	→ Suggestion: Cars in the shape of lizard/butterfly/frog carnival floats

3:
Carnival Float Ride - Butterfly Cars
Carnival Float Ride - Frog Cars
Carnival Float Ride - Lizard Cars
	→ Source: rct2.ww.crnv*.json
	→ These vehicle names are a mouthful, let's shorten them!
	→ Suggestion: Carnival Butterfly/Frog/Lizard Cars

4: These rollercoaster trains/cars should be renamed to become a proper vehicle name:
Bullet Coaster
	Source: rct2.ww.bullet.json
	Suggestion: Bullet Trains
Dragon Coaster
	Source: rct2.ww.dragon.json
	Suggestion: Dragon Trains
Limousine Rollercoaster
	Source: rct2.ww.cadillac.json
	Suggestion: Limousine Trains
Seals Coaster
	Source: rct2.ww.seals.json
	Suggestion: Seal Trains

5: Also consider renaming these:
Jaguar Ride
	Source: rct2.ww.jaguarrd.json
	Suggestion: Jaguar Cars
Sloth Ride
	Source: rct2.ww.sloth.json
	Suggestion: Sloth Trains
Chinese Dragonhead Ride
	Source: rct2.ww.sloth.json
	Suggestion: Chinese Dragonhead Dodgem Cars
Flower Power Ride
	Source: rct2.tt.flwrpowr.json
	Suggestion: Flower Power Dodgem Cars

6:
Raptor Racers Coaster
	Source: rct2.tt.raptorxx.json
	Suggestion: “Raptor Racers” or “Racing Raptors”

Also, the default boat for River Raipds is still called “River Rapids” and should be renamed as well. Any ideas.

Forget my suggestions about “Chinese Dragonhead Ride” and “Flower Power Ride”. Those would actually screw things up.


Can't use URI.js from require.js without the optional dependencies

Require.js does not load URI.js unless the IPv6, punycode, and SecondLevelDomains are available. Is there any way to use it without these extensions?

I think the "best" solution to this (from an AMD perspective) is to not think of these things as "optional dependencies" (which AMD doesn't really support, as noted above), but instead like "plugins" that work similar to URI.fragementQuery and URI.fragmentURI. The difference being that "plugins" add functionality to URI so the main URI.js doesn't need to know about them in advance.

One note to save some folks from wasting time: when installing false 0.1.1 per the above solution it took me a while to realize I had to add a double dash like this, otherwise nothing useful happened:
bower install --save -- 'false'

One note to save some folks from wasting time: when installing false 0.1.1 per the above solution it took me a while to realize I had to add a double dash like this, otherwise nothing useful happened:
bower install --save -- 'false'