[Feature Request] Add Plot -> JSON output

Thank you for making this crate - I've greatly enjoyed using it.
I have been using the .to_json() methods exposed from the Plot trait to build a JSON API payload for a web application using the Plot layout + traces - I noticed this is now inaccessible in the latest version of the crate - looks like a change from #26 .
Could you add a .to_json() method that can be called off of .build() for each plot & output a serialized JSON payload of the plot?
I have been doing it similarly to this:
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
pub struct PlotlyPlot {
    pub(crate) layout: String,
    pub(crate) traces: Vec<String>
}

// Example Plot Type
let plots = BarPlot::builder()/**/.build();

// Layout
let layout = plots.get_layout().to_json();

// Traces
let traces: Vec<String> = plots.get_traces().into_iter().map(|x| x.as_ref().to_json()).collect();

// Serialize
let response = PlotlyGraph { layout, traces };
let json = serde_json::to_string(&response);

i.e.
let response = BarPlot::builder()
             /** */
             .build()
             .to_json();

That can be plugged into the PlotlyJS component in custom web applications:
<plotly-plot [layout]="plot.layout" [data]="plot.traces"></plotly-plot>

Thank you for using this crate and for contribute with an idea to improve it. I've published the version 0.7.1. The plots have the to_json method.


Feat cpdid

FIX CpdId
Connection point id. Fill in both id and cpdId. Same value is OK.

[ ] Run unit tests
[ ] Update OpenAPI to v3.4 on swaggerhub
[ ] Rename OpenAPI file in repo to not include version

Creating a new pull request for this.


pollo.eth

Add
logo.png
spac.png
Hi! What is your PR about?

[x] Add images for your space
[ ] Add custom domain for your space
[ ] Add alias for migrate your space
[ ] Add or edit a skin
~Edit your space with GitHub?~ (deprecated) Please migrate your space to ENS https://docs.snapshot.page/spaces/migrate
~Create your space with GitHub~ (deprecated) Create your space with ENS instead https://docs.snapshot.page/spaces/create

I can't find your new space. Please make sure that you have filled in all required fields and added a strategy. https://snapshot.org/#/pollo.eth

I can't find your new space. Please make sure that you have filled in all required fields and added a strategy. https://snapshot.org/#/pollo.eth

Could you tell me this ?  "ou have filled in all required fields and added a strategy"
You mean that fill Settings form (https://snapshot.org/#/pollo.eth/settings)?
After I filled almost all fields,but "Save button"  is not change to clickable,is  there any reason?

Could you tell me this ? "ou have filled in all required fields and added a strategy"
You mean that fill Settings form (https://snapshot.org/#/pollo.eth/settings)?
After I filled almost all fields,but "Save button" is not change to clickable,is there any reason?

Yes, and did you add strategy here with a valid token? You can try with default DAI strategy to see if it's working.
https://docs.snapshot.org/spaces/create#strategies

I can't find your new space. Please make sure that you have filled in all required fields and added a strategy. https://snapshot.org/#/pollo.eth

Thank you for your advice, I was able to create a space. Please complete my pull request. We apologize for the inconvenience, but thank you.


Enhancement: Ability to customise label for TdFileUploadComponent

Currently the label for the TdFileUploadComponent is set to "Choose a file...".
It would be helpful to have an input parameter called label which can be used to override the default label.

Yep, this is def needed (also incase of i18n).

One other thing that would be interesting to have is to have an event saying that file has been selected. Currently this is what happens

User clicks on the "Choose a File..." button. You are allowed to select a file
Once the file is selected, the file name becomes the label of the button.
User has to click on the File name button again to actually start the uploading process

It would be good to have this determined by code while sticking with the same default behaviour
My Challenges

When using with mobile and I allow people to capture images from their cameras, some cameras create really long filenames with a datetime stamp whick breaks layout
People are confused when they have to click the same button twice.

Let me know what you think

I agree, a selected event would be a nice enhancement. ( There are times where ive needed this too haha)
I think a good idea would be to also create a td-file-browser so it can be used stand alone (acting mostly just like a glorified <input type="file">) AND used inside the td-file-upload component as an atom.

Im gonna create a separate issue for the selected event or stand alone td-file-browse


Any idea how to auto format css between stylesheet tags?

Hey there, thanks for the amazing library! I'd like to know how to format CSS between stylesheet tags using prettier or other tools? Thx :)

If you use VSCode, you can install prettier extension!
https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode
And if you want to format on save, please follow this:
https://scottsauber.com/2017/06/10/prettier-format-on-save-never-worry-about-formatting-javascript-again/

This is a bit out of our hands at the moment. Prettier hard codes template tags it considers inline CSS, and ATM there is no way to configure that. I believe the plan is to make this extension via plugins or options but that hasn't happened yet. In the meantime you may want to ask them to add stylesheet or you may want to just use css (or rename stylesheet to css) if you don't need both in the same file: import {stylesheet as css} from '...'

This is a bit out of our hands at the moment. Prettier hard codes template tags it considers inline CSS, and ATM there is no way to configure that. I believe the plan is to make this extension via plugins or options but that hasn't happened yet. In the meantime you may want to ask them to add stylesheet or you may want to just use css (or rename stylesheet to css) if you don't need both in the same file: import {stylesheet as css} from '...'

Aha! It works, thx :)


[Wave8] [Account Settings] Update Profile page

Coming from tracking issue for this initiative.
Using the Figma final mocks, please update the Account Settings Profile page in the new ideal navigation layout to look like this:

For help with anything unclear, please, post in wave8 room.
Please tag design team for a review on the PR before merging.
cc @trjExpensify @dannymcclain

Hi! I am Filip from Software Mansion and I will work on this issue!

Awesome, assigning you @filip-solecki!

$500 to @situchan

Can this be closed out?

Good question. I wanted to clarify that only @situchan should be compensated for this issue?

Payment seems to have been done here https://github.com/Expensify/App/issues/36016 so i will close this one


Can I work on some backlog tasks (Website) ?

I was just checking and i saw some good backlog task and wanted to be sure if i can work on any of them?

Ooh, that's awesome. I haven't updated those in a long while. Let me take a look today. I will make sure all those are relevant.

There is a lot...
How about we do this the other way round. Let me know what you want to work on and I will say if it is still relevant or needs further explanation/spec.

Thanks for the offer, btw ❤❤❤ Can't believe people want to contribute.


%Error: .../code_gen_ipgen_MatrixVectorActivation_1_vtapif2w/memblock_sim_0.dat:17: $readmem file ended before specified ending-address

Prerequisites
Please make sure to check off these prerequisites before submitting a bug report.

[x] Test that the bug appears on the current version of the dev-branch. Make sure to include the commit hash of the commit you checked out.
[x] Check that the issue hasn't already been reported, by checking the currently open issues.
[x] If there are steps to reproduce the problem, make sure to write them down below.
[x] If relevant, please include the ONNX files, which were created directly before and/or after the bug.

Quick summary
Running step: step_mobilenet_streamline [1/12]
Running step: step_mobilenet_lower_convs [2/12]
Running step: step_mobilenet_convert_to_hls_layers_separate_th [3/12]
Running step: step_create_dataflow_partition [4/12]
Running step: step_target_fps_parallelization [5/12]
Running step: step_generate_estimate_reports [6/12]
Running step: step_hls_codegen [7/12]
Running step: step_hls_ipgen [8/12]
Running step: step_set_fifo_depths [9/12]
Running step: step_create_stitched_ip [10/12]
Running step: step_measure_rtlsim_performance [11/12]
%Error: /scratch/tmp/finn/code_gen_ipgen_MatrixVectorActivation_1_5f_rpjp5/memblock_sim_0.dat:17: $readmem file ended before specified ending-address
Aborting...

Details
Please add to the following sections to describe the bug as accurately as possible.
Steps to Reproduce
Add what needs to be done to reproduce the bug. Add code examples where useful
and make sure to include the resulting ONNX files, and the commit hash you are working on.

Clone the FINN repository
Checkout the dev branch, with commit hash: 09bec2fe
Checkout finn-examples from https://github.com/mgehre-amd/finn-examples/tree/matthias.bug_ending-address
(This is mobilenet-v1, but using step_target_fps_parallelization instead of step_apply_folding_config and enabling step_measure_rtlsim_performance )
Start the docker container with the command: ./run-docker.sh build_custom ../finn-examples/build/mobilenet-v1

Expected behavior
No error
Actual behavior
Running step: step_measure_rtlsim_performance [11/12]
%Error: /scratch/tmp/finn/code_gen_ipgen_MatrixVectorActivation_1_5f_rpjp5/memblock_sim_0.dat:17: $readmem file ended before specified ending-address

Hi @mgehre-amd , Thank you for raising this issue!
The problem is coming from the setting you pass to the builder:
When USE_FIXED_FOLDING  is set to FALSE like it is is done in your code, you execute the automatic folding transformation with step_target_fps_parallelization. But when calling step_set_fifo_depths with auto_fifo_depths=False and passing a folding_config_file, the values get overwritten, see here. Since the config .json is written in a way that it uses node names, it can lead to buggy behavior.
To make your code work you need to set auto_fifo_depths=True when trying to use USE_FIXED_FOLDING=False.


Configure registry mirrors for thor, thunder, dev00, o11y

Task
Configure the GS Azure registry mirror for thor, thunder, dev00, o11y.
Background
The registry configuration in cluster-aws was changed (see commit).
The clusters were recreated last week with only docker.io configured and we dropped the Azure mirror.

I'd move the container registry credentials from userConfig.secret to extraConfigs in the App CR when doing this change.

Created PR for thor and thunder:

https://github.com/giantswarm/management-clusters-fleet/pull/394
https://github.com/giantswarm/management-clusters-fleet/pull/395

NOTE

thor and thunder have different dockerHub access token, and is not using shared giantswarmpull secret

TODO

Merge the thor PR and wait for flux to reconcile and rollout nodes.

⚠ MachinePool nodes will likely not get rolled, in this case, we manually perform ASG - Instance refresh from AWS ASG, with 180s of instance warmup time.
If all good, continue with thunder and rest.

Would this apply to WCs as well?

yeah , I think so

All of the clusters were updated.


FG-4471: Add podAnnotations to Edge Site Helm Chart

Public-Facing Changes
Enables adding pod annotations to the edge controller for edge site installations
Description
Adds podAnnotations and podLabels keys to values.yaml, enabling these keys to be added to the edge controller statefulset.

@foxglovenes we should bump the version of the chart so this creates a new release


hereDoc syntax tweak

What do you think about some utilizer of:
hereDoc = (f) ->
  f = f.toString!
  a = f.indexOf '/*'
  b = f.lastIndexOf '*/'
  return f.substring a + 2, b - 1 .trim!

sample = hereDoc !->
  /*
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
    <circle style="stroke:black; fill:none;" cx="50" cy="50" r="49"/>
    <circle style="stroke:none; fill:none;" cx="50" cy="50" r="46"/>
    <path style="stroke:none; fill:gray;" d="M64 17c0-1-1-2-2-2H38c-1 0-2 1-2 2v19H17c-1 0-2 1-2 2v24c0 1 1 2 2 2h19v19c0 1 1 2 2 2h24c1 0 2-1 2-2V64h19c1 0 2-1 2-2V38c0-1-1-2-2-2H64V17z"/>
    <path style="stroke:none; fill:none;" d="M81 60H62c-1 0-2 1-2 2v19H40V62c0-1-1-2-2-2H19V40h19c1 0 2-1 2-2V19h20v19c0 1 1 2 2 2h19v20z"/>
  </svg>
  */

imo, it's a better version of heredoc, because you dont need to refine/escape any special character combinations.

Well, that's clever, and if it works for you, great. But bear in mind that you're losing the ability to express the character combination */ at all, since escape sequences won't work. Triple-quoted strings also handle indented contents more gracefully than this approach will.


Configuration Error

Hi
i have a couple of ecoplugs and have the latest version of homeassistant OS. i am getting this error when i add this to the configuration.yaml & validate it
Platform error switch.ecoplug - Integration 'ecoplug' not found.
can you please help
PS: i have copied the folder ecoplug to /config/custom_components

I installed it directly from hass and got the same error as you. In the log here what i found
2023-01-28 12:33:09.647 ERROR (SyncWorker_2) [homeassistant.loader] The custom integration 'ecoplug' does not have a version key in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details
I changes in the version file with this
{
"domain": "ecoplug",
"name": "Ecoplug",
"documentation": "https://github.com/gbealmer/pyecoplug/",
"dependencies": [],
"codeowners": [],
"requirements": ["pyecoplug==0.0.5"],
"version": "1.0"
}


Fixed build issues with the shared libraries

This PR fixes many build issues related to the shared libraries.
CMake Fixes/Changes:

Updated platform detection code (x86 vs arm) to set specific variables (so as not to duplicate the checks).
POSITION_INDEPENDENT_CODE wasn't being checked on a per target basis.
Added a function that simplifies setting the right flags for a shared library (define_shared).
The specific instructions defines are now all set when building  a shared library (similar to the setup.py method). This makes the dynamic dispatch work correctly when building shared libs.
Fixed stringzillite still having libc dependencies (MSVC, Clang).

Code changes:

Fixed errors when building the shared libs in debug mode.

Disabled sz_assert, because it uses libc function calls, and breaks when using -fPIC.

Made MSVC override & export libc functions (memcpy, memset, memmove, memchr).
(MSVC only): Disabled optimisations on sz_fill_serial, due to it being optimised to memset, which causes recursive call when overriding libc.

TODO:

[ ] Fix python library not building with AVX2/AVX512 on MVSC.

Questions:

What is the minimum CPU support for the serial versions?

Currently we target sandybridge which gives use SSE4.1/POPCNT (no BMI), this means that serial is not actually serial. But changing it to an earlier CPU, would mean that we would lose POPCNT. So would these functions have to be dynamically dispatched as well?
Is there already an issue with tzcnt/lzcnt on processors without BMI, beacuse they will use bsf/bsr instead and they differ slightly?

Should we enable AVX/AVX512 instructions for 32-bit?
Should ARM also default to a lesser instruction set by default?

Thank you for patches, @ashbob999! You may find LibSee useful in tracking such things. I haven't properly released it yet, but it may still be handy 🤗

Currently we target sandybridge which gives use SSE4.1/POPCNT (no BMI), this means that serial is not actually serial. But changing it to an earlier CPU, would mean that we would lose POPCNT. So would these functions have to be dynamically dispatched as well?

Not sure. For 32-bit and 64-bit integers popcount SWAR variant is probably 4-6 cycles, right? If so, we can probably replace the intrinsic with SWAR on those.

Is there already an issue with tzcnt/lzcnt on processors without BMI, beacuse they will use bsf/bsr instead and they differ slightly?

Haven't seen such issues, but I probably lack the right kind of hardware. I am afraid of using hardware emulation for tests. Maybe wiser to use some old instance kinds on AWS? How do you catch those?

Should we enable AVX/AVX512 instructions for 32-bit?

Probably no need for that.

Should ARM also default to a lesser instruction set by default?

This is a big one. We may want to separate a few more levels of Arm, similar to how it's done for x86. What do you think a good set should look like?

Not sure. For 32-bit and 64-bit integers popcount SWAR variant is probably 4-6 cycles, right? If so, we can probably replace the intrinsic with SWAR on those.

Could do, just thinking about the different ways its built, we could use the SWAR versions only in the serial functions, then this way the AVX versions can use the supported native instructions. Obviously this might mean that on certain targets we might be under-utilizing them.
This would allow the dynamic libraries to hopefully run on any x86 hardware (unless there is other instructions that aren't supported).
Also if we were using them in the serial  functions only, we would have to make sure that it doesn't severely affect tits performance. Do you have examples of the 32/64 bit SWAR versions of popcount.
Another thing to note, it that clang/gcc already fallback to a non-native version when the arch is before sandybridge (although I don't know how efficient these are, and what MSVC does).

Haven't seen such issues, but I probably lack the right kind of hardware. I am afraid of using hardware emulation for tests. Maybe wiser to use some old instance kinds on AWS? How do you catch those?

I agree, I guess some testing with manually replacing the tzcnt/lzcnt with bsf/bsr instructions could highlight any problems (would also depend where they are used, as to whether the difference between them can be seen).

Should we enable AVX/AVX512 instructions for 32-bit?

Probably no need for that.

Okay, so should this be reflected in the CMake by adding checks for 32/64 bit?

This is a big one. We may want to separate a few more levels of Arm, similar to how it's done for x86. What do you think a good set should look like?

I don't know much about the different ARM targets, and what each one supports. Because when I run the ARM neon_serial test on my phone, it still reports neon support, so armv8-a might still enable smid.

Hey @ashbob999! Have you noticed that the Cross Compilation (arm64, aarch64-linux-gnu) fails, as well as the Build Python 310 for windows-latest for 64-bit Arm, but for a different reason. I was planning to work on the library on Saturday. Any chance you have a patch we can test and merge?

Epic! I think it's time to merge!


Change fingerprint hash from sha1 to sha256

With sha256 the menu width I needed to change from 74 to 100.
I will need to be editing the bonus.services files anyway to my Tor PR, should I change this too?

The question is what does the browser show so we can double check?

The browser shows both

Good, then the shorter is easier to verify.

Yes, but it is broken https://crypto.stackexchange.com/questions/3690/why-is-sha-1-considered-broken

from torproject.org

How about braking the hash in two lines? Would that make it difficult to copy?
Also check what happens in the default size terminal windows. If 100 character width fits in there there is no problem. If it is wrapped then needs more lines (height) or might be cut off together with the text underneath.

with 74 (default) It brakes to the second line, but now I cant copy and paste the certificate, as there is blank space between the first and second line.
100 width is the right width for sha256.

The problem is when the terminal window is not fullscreen, but small default.
part of the text will be cut off then.
We usually limit the text (even in git commits) to 80 characters for readability in these situations.
The 74 character + window borders just fit in.
I think dialog is already a 'just about acceptable UX' so shouldn't really grow all info windows like that to 100.
Copying only part of the hash should do it for the ones following this practice, what do you think?

Yes, copying part of that hash is a workaround, not perfect per se.
What could be done is echoing the sha256 fingerprint in the terminal, just like the tor address is when calling bonus.service.sh menu

Now you can just scan the QR code to connect to the service, this will show my apache2 debian default page.
Unfortunately, Tor Browser mobile does not work with Client Auth yet, so I need to warn about this https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/31672. But you can still scan the QR code on mobile and open in Tor Browser android as normal.

@rootzoll Even though you marked for v1.8, reading this I prefer to close, open at will.
Reason:

sha256 is larger than 80 for the msgbox, openoms recommended using just up to 80.
web ui solves this, the fingerprint can be presented there.

Now you can just scan the QR code to connect to the service, this will show my apache2 debian default page.
The fingerprint was hardcoded, as I dont use tls for that domain, but the function is ready in the script.
Unfortunately, Tor Browser mobile does not work with Client Auth yet, so I need to warn about this https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/31672. But you can still scan the QR code on mobile and open in Tor Browser android as normal.

Don't get me wrong, I do prefer the info shown on thsi screenshot over the 80 character insecure fingerprint in whiptail. Re-opening to be implemented non-urgently.


Allow configuring towards webpack

I think that instead of installing the webpack importer plugin manually and setting up the importer resolver (provided that starts working after #142), it would be more in the spirit of XO to simply define webpack: true or webpack: "config-file-name.js".

Wonder if we can just detect a webpack.config.js file and enable the webpack resolver automagically.

Not all projects will have one named like that, but indeed it's a nice
start, and then being able to override manually…
On Sun, Oct 23, 2016, 1:34 AM Sindre Sorhus<EMAIL_ADDRESS>wrote:

Wonder if we can just detect a webpack.config.js file and enable the
webpack resolver automagically.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sindresorhus/xo/issues/143#issuecomment-255560312,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADWlgTfiyVU3AtsB2wyoDItdN3Y8bfKks5q2p10gaJpZM4J8xX9
.


CTest-log triggers extension crash

Brief Issue Summary
I managed to perma-crash the extension in a given workspace, by having a CTest test that failed to properly terminate so it eventually segfaults itself. Running ctest in a terminal doesn't show the full log, but cmake-tools attempts to, and I can only restore functionality by deleting the Testing subdir of my build directory.
Expected:

Click "Run CTest" button on a bad project (fails test with very long output).
Wait for it to get a ways through the outputting of the log of the failed test.
Clicking build in the status bar should still let you re-build the project, etc (normal cmake-tools functionality)

Apparent Behavior:

Click "Run CTest" button on a bad project (fails test with very long output).
Wait for it to get a ways through the outputting of the log of the failed test.
Hit build again, or any other action related to the cmake extension. You'll get this crash indication (log follows)
You are now broken (no cmaketools features) until you delete the Testing subdirectory of your build directory. Clicking "Restart extension host" does not fix things:

CMake Tools Log
The developer tools log below is probably more interesting - this is just the leftovers of my test log for the failing test (A loop accidentally went infinite, and I used a check rather than a require so it keeps checking and failing a per-element bug).
[ctest] with expansion:
[ctest]   1660 (0x67c)
[ctest]   ==
[ctest]<PHONE_NUMBER>244632877 (0x736f627265762d2d)
[ctest]
[ctest] ../tests/Iterators.cpp:64: FAILED:
[ctest]   CHECK( get<0>(p) == get<1>(p) )
[ctest] with expansion:
[ctest]   1661 (0x67d) == 7959657 (0x797469)
[ctest]
[ctest] ../tests/Iterators.cpp:64: FAILED:
[ctest]   CHECK( get<0>(p) == get<1>(p) )
[ctest] with expansion:
[ctest]   1662 (0x67e) == 80
[ctest]

Developer Tools Log
First, this is the log after doing a "Restart Extension Host" - does suggest to me that it might be aggravated by an interaction with the cmake-clangd extension, though it's not entirely that extension since I can't use the normal cmake-tools features either.  I tried again with that extension disabled and it still crashed.
[Extension Host] vscode-icons is active!
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:34.662Z [debug] [rollbar] Updated Rollbar payload {"environment":"production","packageJSON":{"name":"cmake-tools","version":"1.1.2"},"client":{"code_version":"1.1.2"},"platform":"linux"}
console.ts:136 [Extension Host] Congratulations, your extension "code-gnu-global" is now active!
console.ts:136 [Extension Host] Clang Language Server is now active!
console.ts:136 [Extension Host] activating extension
console.ts:136 [Extension Host] starting language server
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:34.793Z [debug] [kit] Reading kits file /home/ryan/.local/share/CMakeTools/cmake-tools.json
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:34.794Z [debug] [kit] Not reading non-existent kits file: /home/ryan/src/graph/.vscode/cmake-kits.json
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:34.957Z [info] [kit] Successfully loaded 9 kits from /home/ryan/.local/share/CMakeTools/cmake-tools.json
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:34.958Z [debug] [main] Safe constructing new CMakeTools instance
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:34.959Z [debug] [variant] Constructing VariantManager
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:34.960Z [debug] [main] Constructing new CMakeTools instance
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:34.960Z [debug] [main] Starting CMakeTools second-phase init
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:34.961Z [debug] [rollbar] Checking Rollbar permissions
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:34.961Z [debug] [rollbar] Rollbar enabled?  true
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:34.997Z [info] [variant] Loaded new set of variants
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:34.999Z [debug] [main] CMakeTools instance initialization complete.
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:34.999Z [debug] [main] Injecting new Kit into CMake driver
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:35.001Z [debug] [kit] Reading kits file /home/ryan/.local/share/CMakeTools/cmake-tools.json
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:35.011Z [info] [kit] Successfully loaded 9 kits from /home/ryan/.local/share/CMakeTools/cmake-tools.json
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:35.011Z [debug] [kit] Not reading non-existent kits file: /home/ryan/src/graph/.vscode/cmake-kits.json
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:35.012Z [debug] [rollbar] Updated Rollbar payload {"kit":{"name":"Clang 7.0.0","compilers":{"C":"/usr/bin/clang-7","CXX":"/usr/bin/clang++-7"}}}
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:35.013Z [debug] [main] Injecting new Kit into CMake driver
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:35.019Z [debug] [extension] Configuring workspace on open  file:///home/ryan/src/graph
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:35.020Z [debug] [main] Run configure
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:35.020Z [debug] [main] Saving open files before configure/build
console.ts:136 [Extension Host] Congratulations, your extension "cmake-clangd-helper" is now active!
console.ts:136 [Extension Host] Activating extension 'Harikrishnan.cmake-clangd-helper' failed: Cannot read property 'reconfigured' of undefined.
t.log @ console.ts:136
t._logExtensionHostMessage @ extensionHost.ts:393
(anonymous) @ extensionHost.ts:210
emitTwo @ events.js:106
emit @ events.js:194
process.nextTick @ internal/child_process.js:766
_combinedTickCallback @ internal/process/next_tick.js:73
_tickCallback @ internal/process/next_tick.js:104
console.ts:136 [Extension Host] Activating extension `Harikrishnan.cmake-clangd-helper` failed:  Cannot read property 'reconfigured' of undefined
t.log @ console.ts:136
t._logExtensionHostMessage @ extensionHost.ts:393
(anonymous) @ extensionHost.ts:210
emitTwo @ events.js:106
emit @ events.js:194
process.nextTick @ internal/child_process.js:766
_combinedTickCallback @ internal/process/next_tick.js:73
_tickCallback @ internal/process/next_tick.js:104
console.ts:136 [Extension Host] Here is the error stack:  TypeError: Cannot read property 'reconfigured' of undefined
	at new clang_cpp_flags (/home/ryan/.vscode/extensions/harikrishnan.cmake-clangd-helper-0.4.0/out/clang_cpp_flags.js:23:32)
	at getClangCppFlagsUpdater (/home/ryan/.vscode/extensions/harikrishnan.cmake-clangd-helper-0.4.0/out/extension.js:27:12)
	at activate (/home/ryan/.vscode/extensions/harikrishnan.cmake-clangd-helper-0.4.0/out/extension.js:12:34)
	at Function.t._callActivateOptional (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:791:650)
	at Function.t._callActivate (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:791:329)
	at /usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:790:391
	at Object.g [as _notify] (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:77:729)
	at Object.enter (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:81:61)
	at n.Class.derive._oncancel._run (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:82:866)
	at n.Class.derive._oncancel._completed (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:82:307)
	at c (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:85:785)
	at $.then.o.(anonymous function) (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:85:999)
	at Object.g [as _notify] (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:77:729)
	at Object.enter (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:81:61)
	at n.Class.derive._oncancel._run (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:82:866)
	at n.Class.derive._oncancel._completed (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:82:307)
	at c (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:85:785)
	at $.then.o.(anonymous function) (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:85:999)
	at Object.g [as _notify] (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:77:729)
	at Object.enter (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:81:61)
	at n.Class.derive._oncancel._run (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:82:866)
	at n.Class.derive._oncancel._completed (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:82:307)
	at e.resolveOk (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:554:1000)
	at e._receiveReply (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:657:394)
	at e._receiveOneMessage (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:656:693)
	at /usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:655:544
	at /usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:658:673
	at /usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:96:599
	at e.fire (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:97:917)
	at u (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:159:721)
	at Socket.<anonymous> (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:159:898)
	at emitOne (events.js:96:13)
	at Socket.emit (events.js:191:7)
	at readableAddChunk (_stream_readable.js:178:18)
	at Socket.Readable.push (_stream_readable.js:136:10)
	at Pipe.onread (net.js:560:20)
extensionService.ts:892 Activating extension 'Harikrishnan.cmake-clangd-helper' failed: Cannot read property 'reconfigured' of undefined.
w._logMessageInConsole @ extensionService.ts:892
w._logOrShowMessage @ extensionService.ts:906
e.$localShowMessage @ mainThreadExtensionService.ts:32
e._doInvokeHandler @ rpcProtocol.ts:261
e._invokeHandler @ rpcProtocol.ts:246
e._receiveRequest @ rpcProtocol.ts:192
e._receiveOneMessage @ rpcProtocol.ts:174
(anonymous) @ rpcProtocol.ts:107
(anonymous) @ rpcProtocol.ts:303
e.fire @ event.ts:140
c @ ipc.net.ts:81
(anonymous) @ ipc.net.ts:108
emitOne @ events.js:96
emit @ events.js:191
readableAddChunk @ _stream_readable.js:178
Readable.push @ _stream_readable.js:136
onread @ net.js:560
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:36.855Z [debug] [main] Starting new CMake driver
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:36.856Z [debug] [main] Starting CMake driver
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:36.857Z [debug] [driver] CMakeDriver Kit set to Clang 7.0.0
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:36.858Z [debug] [driver] Run _refreshExpansions
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:36.859Z [debug] [cms-driver] Run doRefreshExpansions
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:36.859Z [debug] [driver] Run _refreshExpansions cb
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:36.875Z [debug] [cms-client] Started new CMake Server instance with PID 6476
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:37.879Z [debug] [cache] Reading CMake cache file /home/ryan/src/graph/build/CMakeCache.txt
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:37.880Z [debug] [cache] Parsing CMake cache string
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:37.911Z [debug] [driver] Setting new variant , Emit debug information without performing optimizations
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:37.912Z [debug] [driver] Run _refreshExpansions
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:37.912Z [debug] [cms-driver] Run doRefreshExpansions
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:37.912Z [debug] [driver] Run _refreshExpansions cb
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:37.924Z [debug] [cms-client] Started new CMake Server instance with PID 6480
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:38.925Z [debug] [cache] Reading CMake cache file /home/ryan/src/graph/build/CMakeCache.txt
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T18:49:38.926Z [debug] [cache] Parsing CMake cache string
index.js:41 [uncaught exception]: Error: read ECONNRESET
onError @ index.js:41
(anonymous) @ index.js:113
emitOne @ events.js:96
emit @ events.js:191
window.onerror @ /usr/share/code/resources/electron.asar/renderer/init.js:135
i.globals.onerror @ errorTelemetry.ts:79
index.js:44 Error: read ECONNRESET
    at exports._errnoException (util.js:1050)
    at Pipe.onread (net.js:581)
onError @ index.js:44
(anonymous) @ index.js:113
emitOne @ events.js:96
emit @ events.js:191
window.onerror @ /usr/share/code/resources/electron.asar/renderer/init.js:135
i.globals.onerror @ errorTelemetry.ts:79
events.js:163 Uncaught Error: read ECONNRESET
    at exports._errnoException (util.js:1050)
    at Pipe.onread (net.js:581)
exports._errnoException @ util.js:1050
onread @ net.js:581
extensionService.ts:369 Extension host terminated unexpectedly. Code:  null  Signal:  SIGILL
w._onExtensionHostCrashed @ extensionService.ts:369
(anonymous) @ extensionService.ts:364
e.fire @ event.ts:140
t._onExtHostProcessExit @ extensionHost.ts:432
(anonymous) @ extensionHost.ts:216
emitTwo @ events.js:106
emit @ events.js:194
__dirname.ChildProcess._handle.onexit @ internal/child_process.js:215
notificationsAlerts.ts:42 Extension host terminated unexpectedly.
e.onDidNotificationChange @ notificationsAlerts.ts:42
(anonymous) @ notificationsAlerts.ts:28
e.fire @ event.ts:140
e.notify @ notifications.ts:127
e.notify @ notificationService.ts:65
e.prompt @ notificationService.ts:97
w._onExtensionHostCrashed @ extensionService.ts:377
(anonymous) @ extensionService.ts:364
e.fire @ event.ts:140
t._onExtHostProcessExit @ extensionHost.ts:432
(anonymous) @ extensionHost.ts:216
emitTwo @ events.js:106
emit @ events.js:194
__dirname.ChildProcess._handle.onexit @ internal/child_process.js:215
extensionHost.ts:199 [Extension Host] debugger inspector at %c

#
# Fatal error in , line 0
# API fatal error handler returned after process out of memory
#
%c
==== C stack trace ===============================

%c

#
# Fatal error in , line 0
# API fatal error handler returned after process out of memory
#

==== C stack trace ===============================

%c

#
# Fatal error in , line 0
# API fatal error handler returned after process out of memory
#

==== C stack trace ===============================

    /usr/share/code/libnode.so(+0xb9f1be) [0x7f47b2b151be]
    /usr/share/code/libnode.so(V8_Fatal+0xdf) [0x7f47b2b1459f]
    /usr/share/code/libnode.so(+0x584ba3) [0x7f47b24faba3]
    /usr/share/code/libnode.so(+0x6d3adb) [0x7f47b2649adb]
    /usr/share/code/libnode.so(+0x6dd4c7) [0x7f47b26534c7]
    /usr/share/code/libnode.so(+0x6dcbd1) [0x7f47b2652bd1]
    /usr/share/code/libnode.so(+0x6dcad6) [0x7f47b2652ad6]
    /usr/share/code/code() [0x3a87068]
    /usr/share/code/code() [0x3a81313]
    /lib/x86_64-linux-gnu/libpthread.so.0(+0x7494) [0x7f47b1d60494]
    /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f47ab390acf]

Log after disabling cmake-clangd-helper and hitting reload:
[Extension Host] vscode-icons is active!
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.395Z [debug] [rollbar] Updated Rollbar payload {"environment":"production","packageJSON":{"name":"cmake-tools","version":"1.1.2"},"client":{"code_version":"1.1.2"},"platform":"linux"}
console.ts:136 [Extension Host] Congratulations, your extension "code-gnu-global" is now active!
console.ts:136 [Extension Host] Clang Language Server is now active!
console.ts:136 [Extension Host] activating extension
console.ts:136 [Extension Host] starting language server
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.518Z [debug] [kit] Reading kits file /home/ryan/.local/share/CMakeTools/cmake-tools.json
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.519Z [debug] [kit] Not reading non-existent kits file: /home/ryan/src/graph/.vscode/cmake-kits.json
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.659Z [info] [kit] Successfully loaded 9 kits from /home/ryan/.local/share/CMakeTools/cmake-tools.json
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.660Z [debug] [main] Safe constructing new CMakeTools instance
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.660Z [debug] [variant] Constructing VariantManager
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.662Z [debug] [main] Constructing new CMakeTools instance
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.662Z [debug] [main] Starting CMakeTools second-phase init
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.662Z [debug] [rollbar] Checking Rollbar permissions
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.663Z [debug] [rollbar] Rollbar enabled?  true
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.690Z [info] [variant] Loaded new set of variants
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.692Z [debug] [main] CMakeTools instance initialization complete.
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.692Z [debug] [main] Injecting new Kit into CMake driver
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.694Z [debug] [kit] Reading kits file /home/ryan/.local/share/CMakeTools/cmake-tools.json
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.705Z [info] [kit] Successfully loaded 9 kits from /home/ryan/.local/share/CMakeTools/cmake-tools.json
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.705Z [debug] [kit] Not reading non-existent kits file: /home/ryan/src/graph/.vscode/cmake-kits.json
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.706Z [debug] [rollbar] Updated Rollbar payload {"kit":{"name":"Clang 7.0.0","compilers":{"C":"/usr/bin/clang-7","CXX":"/usr/bin/clang++-7"}}}
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.707Z [debug] [main] Injecting new Kit into CMake driver
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.711Z [debug] [extension] Configuring workspace on open  file:///home/ryan/src/graph
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.712Z [debug] [main] Run configure
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.712Z [debug] [main] Saving open files before configure/build
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.786Z [debug] [main] Starting new CMake driver
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.786Z [debug] [main] Starting CMake driver
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.787Z [debug] [driver] CMakeDriver Kit set to Clang 7.0.0
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.788Z [debug] [driver] Run _refreshExpansions
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.788Z [debug] [cms-driver] Run doRefreshExpansions
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.789Z [debug] [driver] Run _refreshExpansions cb
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:22.800Z [debug] [cms-client] Started new CMake Server instance with PID 8292
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:24.508Z [debug] [cache] Reading CMake cache file /home/ryan/src/graph/build/CMakeCache.txt
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:24.508Z [debug] [cache] Parsing CMake cache string
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:24.551Z [debug] [driver] Setting new variant , Emit debug information without performing optimizations
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:24.551Z [debug] [driver] Run _refreshExpansions
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:24.552Z [debug] [cms-driver] Run doRefreshExpansions
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:24.552Z [debug] [driver] Run _refreshExpansions cb
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:24.563Z [debug] [cms-client] Started new CMake Server instance with PID 8299
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:25.564Z [debug] [cache] Reading CMake cache file /home/ryan/src/graph/build/CMakeCache.txt
console.ts:136 [Extension Host] [CMakeTools] 2018-09-25T19:04:25.565Z [debug] [cache] Parsing CMake cache string
index.js:41 [uncaught exception]: Error: read ECONNRESET
onError @ index.js:41
(anonymous) @ index.js:113
emitOne @ events.js:96
emit @ events.js:191
window.onerror @ /usr/share/code/resources/electron.asar/renderer/init.js:135
i.globals.onerror @ errorTelemetry.ts:79
index.js:44 Error: read ECONNRESET
    at exports._errnoException (util.js:1050)
    at Pipe.onread (net.js:581)
onError @ index.js:44
(anonymous) @ index.js:113
emitOne @ events.js:96
emit @ events.js:191
window.onerror @ /usr/share/code/resources/electron.asar/renderer/init.js:135
i.globals.onerror @ errorTelemetry.ts:79
events.js:163 Uncaught Error: read ECONNRESET
    at exports._errnoException (util.js:1050)
    at Pipe.onread (net.js:581)
exports._errnoException @ util.js:1050
onread @ net.js:581
extensionService.ts:369 Extension host terminated unexpectedly.

CMake Tools Extension Version: 1.1.2
Compiler/Toolchain: clang-7

Other notes
Here's the Testing subdir of my project's build directory when it's in a "crashing" state.
Testing.zip
I did zip up the build dir locally here and can provide it if it's needed, but it's a WIP state of a project that's both more complex than I think this bug needs, and not quite published yet.

Sorry to be slow on this one. Thanks for all the useful information! Should be enough to get this issue fixed for the next release.

Is there any evidence that this was actually fixed? There's enough info here to reproduce it.

Hmm. I suspect this may have been fixed or at least hacked around, I just got this popup:

after trying to run a test where I put in:
    for (int i = 0; i < 25000; ++i) {
        std::cout << "really long log" << std::endl;
    }
    return 1;

It was non-responsive at first so it queued up a bunch of "build project" actions, but eventually it started handling them and then showed this box.


Inverse lifetime draw order option for Particles/Particles2D

Godot version: 3
On Particles and Particles2D, Draw order "lifetime" draws older particles first and younger particles stay on top, an option to set the inverse order as "lifetime" could be useful for emission effects that face the screen (in fact, it may be more useful than lifetime and index draw orders for general use).

this is pretty much impossible to do, unfortunately, because draw order is
the same of the instances, which is the same of the particle array.
On Wed, Jun 21, 2017 at 9:39 PM, eon-s<EMAIL_ADDRESS>wrote:

Godot version: 3
On Particles and Particles2D, Draw order "lifetime" draws older particles
first and younger particles stay on top, an option to set the inverse order
as "lifetime" could be useful for emission effects that face the screen (in
fact, it may be more useful than lifetime and index draw orders for general
use).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/9309, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2x48B3Qag9qIcS7X8ZVqEn8Na7Miks5sGbezgaJpZM4OBrdz
.

@reduz I see, so can only be done by a custom emitter that draws in reverse.
Killing this then.


Implement Subscription and other missing things

Makes some tests pass in rpc/tendermint/test, not fully, but better than before. Small pieces :cake:

LGTM


Improve IMPORT 2.0 Docs

Replicated Matt J's PR so I could copy-edit it.
Closes #2115, #2445, #2055, #2172, #2115

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/d1b1e159a190f305373c9b430872cc04517aed3e/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/00e1f6e88078761ae39e6942bd0d9c43f9e97b75/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/00e1f6e88078761ae39e6942bd0d9c43f9e97b75/

Oh, @Amruta-Ranade, please search through all 2.0 docs for use of the word experimental in relation to IMPORT and update accordingly.

@Amruta-Ranade, you have a lot on your plate, so I'm just going to finish this up for you.

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/601d9c466384cc9c16a75952f13177bfd420c589/


CouchDB indexing blocking atlas loading

Could we experiment with the stale=update_after option when querying CouchDB to see if we can avoid waiting for it to reindex? This is affecting active atlases where data is being imported and changed in regular use.

I think it is worth exploring the stale option to handle situations where there is a lot of data being loaded or changed in an active atlas.
One other thing that causes this issue is when a design document change results in a rebuild of all the views associated with it. Because almost all our views that matter to an atlas are stored on the atlas document, along with the contents of htdocs, it can happen that what seems like an innocuous change in htdocs can cause the atlas to stall until all the views are re-indexed.
This later situation could potentially be resolved by creating separate design documents for views, and maybe splitting out expensive views like full text and geometry bounding box indexing into their own design docs. I believe that would then prevent them from being rebuilt unless the view code itself changed.


Appstudio update hacbs-test-project-yziq

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: hacbs-test-project-yziq-on-pull-request-
creating pipelinerun hacbs-test-project-yziq-on-pull-request- in namespace rhtap-demo-shyn-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request


Add migration guide for Key Vault secrets

Relates to #12108

SnippedGenerator change LGTM

A Service Bus test failed: https://dev.azure.com/azure-sdk/public/_build/results?buildId=534546&view=logs&j=9cfc3b0b-53b1-524f-85ed-0ef4880bef82&t=277ae693-9b68-5ef5-d666-bb5a558e8cc2&l=17304
I'll wait to rekick the pipeline until after I rebase this onto master after merging #15114 since it'll happen anyway.

I'll leave this PR open and use this MigrationGuide.md file for Secrets as a template for Certificates and Keys.


Ensure that resources stay in the run collection

with compat resource we're also chef 12 only, now.
@tas50

yet readme says chef 11+
https://github.com/chef-cookbooks/apt/tree/24a68c0dbf96df3be4348e8b22693abde56cbd88#chef


Color Problem

Hi,
I have problem with one SVG , this is my code :
 <ffimageloadingsvg:SvgCachedImage x:Name="bluetoothconnectioninfo" Aspect="Fill" Source="resource://Mu.Resources.Drawables.Bluetooth.bluetoothyellow.svg"/>
It's ok image was here but not with correctly color. He's black not yellow.
But when i go on this website for test :
[Svg previewer](When i go on http://petercollingridge.appspot.com/svg-editor/)
He works correctly.
this is my code of SVG :
`

`
Do u have an idea ?

Is that all the code for the SVG?
When setting fill you need the "#" when setting hex-values. I don't know how it interprets CSS so you could rather try putting it in the shape you want directly, as in:
<circle id="testircle" cx="128" cy="128" r="128" fill="A8990B" />

No sorry i have an error when i copy/paste my code of svg is that :
`

`

It could be that the style type has issues. Attempt this instead:
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 viewBox="0 0 57 57" style="enable-background:new 0 0 57 57;" xml:space="preserve">
<g>
	<polygon class="st0" points="29.5,43.4 35.1,37 29.5,31.1" fill="#A8990B" />
	<polygon class="st0" points="29.5,13.4 29.5,25.4 35.1,19" fill="#A8990B" />
	<path class="st0" d="M28.5,0c-9.9,0-18,8.1-18,18v21c0,9.9,8.1,18,18,18s18-8.1,18-18V18C46.5,8.1,38.4,0,28.5,0z M37.9,37
		L27.5,48.6l0-18.4l-8.4,7.5l-1.3-1.5l9.2-8.2l-9.2-8.3l1.3-1.5l8.3,7.5l0-17.2L37.9,19l-8.3,9.3L37.9,37z" fill="#A8990B"/>
</g>
</svg>

Ok it's works ! Thanks !

I strongly advice you to use this: https://jakearchibald.github.io/svgomg/  (it can really solve a lot of svg files loading issues).
It's even mentioned on our SVG Wiki page.


Fix image name for home page testimonials

Description
This change modifies the home page. It fixes the name of the testimonial image so that an image will render.
Type of change

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

How Has This Been Tested?
Not sure if a test is needed here 🤷♂
Screenshots

Before:

After:

Also modified the font for the Charles Dickens quote (can change back if preferred).
Before:

After:

Welcome back @marcelkooi!
We're deprecating the baby graphic, but there's a couple different SVGs you can pick from in the /public/img folder.
Could you replace it with one of those for now?

btw -- the font change is great, thank you!

I'm going to go ahead and merge it -- the extra JS files have been noted, thanks!


Order of named group delimiters

I'm trying out the named groups feature (because I wanted to add an example to the README ;)) but I got confused by the order in which the group delimiters are output:
$ echo ab | ./src/main.py '(?P<agroup>a*)(?P<bgroup>b*)'
0: ab[agroup⊣][bgroup⊣][⊢bgroup][⊢agroup]
1: a[agroup⊣][⊢bgroup][⊢agroup]b[bgroup⊣]
2: a[agroup⊣][bgroup⊣][⊢bgroup][⊢agroup]b
3: [⊢agroup]a[agroup⊣][⊢bgroup]b[bgroup⊣]
4: [⊢agroup]a[agroup⊣][bgroup⊣][⊢bgroup]b
5: [agroup⊣][bgroup⊣][⊢bgroup][⊢agroup]ab

In match 1 for instance, why are the delimiters in the order "close a", "open b", "open a"?
I guess this may just be a pretty-printing issue but ideally it should be displayed in a cleaner way to avoid confusion.

It should be fixed for this example and more advanced ones:
$ echo ab | ./src/main.py '(?P<agroup>a*)(?P<bgroup>b*)'
0: ab[⊢bgroup][bgroup⊣][⊢agroup][agroup⊣]
1: a[⊢bgroup][⊢agroup][agroup⊣]b[bgroup⊣]
2: a[⊢bgroup][bgroup⊣][⊢agroup][agroup⊣]b
3: [⊢agroup]a[agroup⊣][⊢bgroup]b[bgroup⊣]
4: [⊢agroup]a[agroup⊣][⊢bgroup][bgroup⊣]b
5: [⊢bgroup][bgroup⊣][⊢agroup][agroup⊣]ab

Hm arguably the order in output number 1 is still not very intuitive, because from the regexp you would expect the structure , and we get . I'm not completely sure that it can be formally defined but I'd expect the structure of the markers to always have the same structure as the capture groups in the regexp?


(vcredist140, vcredist2017) Changed to automatic packages

Description
Added a update script to automate the process of updating the vcredist140 and vcredist2017 packages.
Motivation and Context
Basically so it doesn't have to be manually updated every time.
How Has this Been Tested?
Since no changes is being done to the package itself (other than fixing the dependency reference on the next update), I only have tested the updating locally by using the test script file located in the scripts directory.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Migrated package (a package has been migrated from another repository)

Checklist:

[X] My code follows the code style of this repository.
[X] My change requires a change to documentation (this usually means the notes in the description of a package).
[X] I have updated the documentation accordingly (this usually means the notes in the description of a package).
[X] All files are up to date with the latest Contributing Guidelines
[ ] The added/modified package passed install/uninstall in the chocolatey test environment.
[X] The changes only affect a single package (not including meta package).

:x: Package verification failed, please review the Appveyor Logs and the provided Artifacts before requesting a human reviewer to take a look.

:x: Package verification failed, please review the Appveyor Logs and the provided Artifacts before requesting a human reviewer to take a look.

I honestly have no idea why the vcredist2017 is failing the uninstallation (somehow choco can't find the nupkg file)

hmm, I believe I found the reason it fails. But not found a solution yet though.
Seems to be a bug in my unit testing script that's causing this.
Anyhow, any chance that one of you would be able to review this PR?
/CC @gep13 @jberezanski

It sure looks like gallery doesn't receive required attention from prominent members, particularly for mega important packages such as this.... This doesn't inspire confidence now that MS supported the project.
/cc @ferventcoder

@majkinetor not following your train of thought here. Would you mind elaborating a bit?

:x: Package verification failed, please review the Appveyor Logs and the provided Artifacts before requesting a human reviewer to take a look.

:x: Package verification failed, please review the Appveyor Logs and the provided Artifacts before requesting a human reviewer to take a look.

:x: Package verification failed, please review the Appveyor Logs and the provided Artifacts before requesting a human reviewer to take a look.

@AdmiringWorm the issue here seems to be a legitimate one, where it can't uninstall a package due to it being a dependency of another package that is currently installed.  Is this something that we can handle within AU itself, or is it something that we will need to simply ignore in this case?  Other than the failing uninstallation, this PR would seem ready to merge to me.

@gep13 it's a known issue with the testing script I created. Which I tried to fix in the past, but haven't really been able to just yet.
I opt for it to be ignored.
There is one thing in the script that I have second thoughts about though, see the next comment for details.


fix(ui): correct select widget title position

Description:
Correct select widget title position
Motivation and Context:
fix #2709
How Has This Been Tested?
Storybook
Screenshots (if appropriate):
Before:

After:

Types of changes:
Bug fix
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage increased (+0.05%) to 20.151% when pulling fa0965cddd75bd303a54c5c40f610f09a325abe9 on mrfelton:fix/2709-select-widget-title into 67f2308da04ef72310f88f427f2ea7b9e7a55558 on LN-Zap:master.


Fix delete e2e workspaces (2)

What is being addressed
Following #1493 another fix had to be made to correct the way jq uses value from the environment.

/test-force-approve
This workflow/script isn't tested.


Custom element doesn't exist

Hi had todo list card work perfectly but after updating core I am now getting
Custom element doesn't exist: todoist-card. In lovelace.ui
I have tried reinstalling it and have checked config and nothing has changed. HA just can't seem to recognise it.

I have managed to solve this. I realised it still worked through browser on laptop but not on android app. I cleared cache and data on app and logged In again an fixed it. I had to do the clear data on chrome browser on android aswell and that fixed it in chrome


Running on with SGE

Hi,
Thank you for developing this pipeline!
This is not an actual issue, but more of a question. Our institution uses a SGE cluster computing system, with CentOS. Could you please let me know what might be the easiest way to modify and run run your pipeline on such system?
Thanks so much!!
Best Regards

Hi @ningb . Youre welcome 😃
I havent personally used SGE but I guess thats the beauty of Nextflow and the way these pipelines are written! You should just be able to create a separate custom.config file that has the details for your preferred execution. The docs for the Nextflow SGE scope are here:
https://www.nextflow.io/docs/latest/executor.html#sge
For example, I have created one for my Institute because we use Slurm.
https://github.com/nf-core/configs/blob/master/conf/crick.config
You can then just add -c custom.config to the command-line and it should work.
Let me know how you get on.

Hi @drpatelh Thanks for your fast response!
I added in the SGE related options to the config file and tried to run it as you suggested. However, one issue I encountered is that I can't run the --skip_trimming command (my reads were cleaned and trimmed by the sequencing facility). Nextlow would give me error
ERROR ~ No signature of method: java.util.ArrayList.ifEmpty() is applicable for argument types: (ArrayList) values: [[]] Possible solutions: isEmpty(), isEmpty(), first(), first()  -- Check script 'main.nf' at line: 1469 or see '.nextflow.log' file for more details
Have you ever experienced this before?
Thanks again!
Best,
Boting

Hi @ningb . Thats actually a bug in the pipeline 😅 Sorry.
It will be fixed in the next release. These two lines:
https://github.com/nf-core/chipseq/blob/21be3149542cdc84431e12d1e092359058aed32a/main.nf#L499-L500
Should be changed to:
    ch_trimgalore_results_mqc = Channel.empty()
    ch_trimgalore_fastqc_reports_mqc = Channel.empty()

You should be able to edit those lines in your local version of the pipeline ~/.nextflow/assets/nf-core/chipseq/main.nf.
Ive submitted a PR for the fix too #121.
Thanks!

@ningb This will now be fixed in the next release or you can run the dev version of the pipeline by adding -r dev to the pipeline command. You may have to delete your local version of the repo first though because it has since been updated.
rm -r ~/.nextflow/assets/nf-core/chipseq/
Closing for now but let me know if you have any further problems :+1:


Get access to cloud resource

Description
We need to get access for GCP and AWS cloud resources in order to switch from personal billing account to EF one. We need access to Firebase and GCP Cloud Functions + Compute Engine, AWS S3 (possibly AWS EC2).

Closing since GCP account has been created


Supplier refactor

Large refactor to move more functionality into suppliers module so that suppliers could be used in API more flexibly. Lots of bug fixes and other clean up.

Codecov Report

Merging #37 (891f264) into develop (0e543bb) will decrease coverage by 0.25%.
The diff coverage is 95.39%.

@@             Coverage Diff             @@
##           develop      #37      +/-   ##
===========================================
- Coverage    96.95%   96.69%   -0.26%
===========================================
  Files           33       34       +1
  Lines         2722     2816      +94
===========================================
+ Hits          2639     2723      +84
- Misses          83       93      +10

Impacted Files
Coverage Δ

datacraft/builder.py
94.67% <ø> (ø)

datacraft/registries.py
100.00% <ø> (ø)

datacraft/utils.py
89.36% <ø> (-4.09%)
:arrow_down:

datacraft/supplier/common.py
95.83% <80.95%> (-2.21%)
:arrow_down:

datacraft/loader.py
93.50% <90.90%> (-1.50%)
:arrow_down:

datacraft/supplier/date.py
92.68% <91.30%> (-1.77%)
:arrow_down:

datacraft/_registered_types.py
97.18% <94.64%> (-0.26%)
:arrow_down:

datacraft/supplier/ranges.py
95.00% <95.00%> (ø)

datacraft/suppliers.py
97.27% <96.98%> (+1.70%)
:arrow_up:

datacraft/__init__.py
100.00% <100.00%> (ø)

... and 6 more

Continue to review full report at Codecov.

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


docs: fix the link to the an other document.

The link used to be "https://github.com/acdlite/rfcs/blob/first-class-promises/text/0000-first-class-support-for-promises" but actually "https://github.com/acdlite/rfcs/blob/first-class-promises/text/0000-first-class-support-for-promises.md" is correct (needs ".md" at the end)

such an OSS beginner


fix republish failed

parallel negotiation would cause remote webrtc track consume pending republished track then failed.

@cnderrauber I am a bit confused. Sorry. Maybe the term queued is confusing me.
What does queued state mean? Is it the time between adding to head of pending and before sendTrackPublished. If yes, it is not getting set to false after the first time. It is getting set to false after doing sendTrackPublished for a re-publish case.
Would he helpful to write a sequence of events causing re-publish to handle the wrong pending item.

It means there was a pending AddTrackRequest has same track CID with a currently published mediatrack or a pending publishing track that means a user want to republish a track so it needs to wait for currently published closed or pending publishing get processed.

If yes, it is not getting set to false after the first time. It is getting set to false after doing sendTrackPublished for a re-publish case.

I don't understand your point, my intention is making only one published track for a single cid, so pending requests must wait for previous published track closed.


API JSON

Even with the "export const enableServerAPI = true;" it does not bring the result in json anymore

Can you explain more? what do you mean bring the result in json?

Before I took the download link by /api?url= and gave me the result, but now it is not even with the export const enableServerAPI = true;
I use it on my whatsapp bot:

The enableServerAPI means that the /api/instagram endpoint can be accessed from other websites/applications not that it will enable Instagram API, the Next.js app scrapes the post or reel page and if it doesn't find the "LD+JSON" it will return status code 401.
To use Instagram API you will have to implement their official API because i tried using the Auth cookie but the account just ends up being banned so i removed it.


Use latest swagger

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-search-documents


Jesse: Watch certpro.co

Jesse requests the watch of the watch_keyword certpro\.co. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

certpro\.co has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


Add result type to grammar

Adding result type and result type propagator definition to tree-sitter-v.

Also add spawn to keyword list.


[Suggestion] use model textures for getLocationSkin() (and getLocationCape() ?) (1.7.10)

If a mod uses AbstractClientPlayer.getLocationSkin() to, for example, render hands, it will use AbstractClientPlayer.locationSkin, which is the vanilla mc skin. A suggestion is to modify getLocationSkin() (and possibly getLocationCape()?) to use the texture that is currently in use for the model.
Examples:
I have the skin installed via the CPM model,

and if I take an item that uses getLocationSkin() to render hands, it will render the vanilla mc skin, instead of the CPM skin.

Or, in FTBUtilities, also uses getLocationSkin() for the head texture.

But, interestingly, the map in hand is rendered precisely with the model’s texture, although it also uses getLocationSkin(), there is probably a manual patch for this, but after looking through the cpm code I didn’t find it (maybe I was looking poorly)

Addition: сhanging getLocationCape() can fix the problem with the mod "Et Futurum Requiem" which ports elytras to 1.7.10, using getLocationCape() when render them

That'll just break the texture, in the gun example cpm has to replace both the texture and hand model, so patching these methods wouldn't work, and just break stuff. CPM models don't have to follow the same UV map as vanilla.
For the 'Et Futurum Requiem' issue, there will be an API to render custom parts in the future. Also cape and elytra textures are different in CPM.


Proper exit codes for all operations

Description
Proper exit codes for all operations
Fixes #121
Type of change

New feature (non-breaking change which adds functionality)
Documentation update

Testing steps
N/A
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report

Merging #126 (6aa69d2) into master (6ad291b) will decrease coverage by 0.12%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #126      +/-   ##
==========================================
- Coverage   18.57%   18.45%   -0.13%
==========================================
  Files           3        3
  Lines         436      439       +3
==========================================
  Hits           81       81
- Misses        344      347       +3
  Partials       11       11

Impacted Files
Coverage Δ

cleaner.go
0.00% <0.00%> (ø)

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 6ad291b...6aa69d2. Read the comment docs.


Willkommen, Bienvenue, Welcome!

Thank you for taking part in this open source project to empower the upcoming 360 creators!
In order to collaborate in an organized space, we decided to use github as its features (when you get confortable with it) are amazing!

LATEX/GITHUB. Watch this video to get setup on a Mac environment. Windows coming soon. Try not to use links in the book but reference the author/content title. Refer names like in other chapters (AVP instead of Autopano Video, GoPro instead of gopro, AE instead of After Effects, HERO4 instead of Hero 4,...). To insert new illustrations, check out the psd-ai folder, edit then copy the vectors to photoshop, save as png and use same code to insert images as other chapters (for example \imgA{1}{41/markers}).

ISSUES have labels and assignments. Most issues will either be related to a chapter under the Shooting or Stitching parts of making360. If an issue is left unassigned, you are welcome to assign it to yourself and others will be able to see you are working on it!

PULL REQUESTS.  This request will be sent to all the contributors with privileged access @making360/m360, and your changes may be discussed, integrated or declined.

MILESTONES will be used to group all the issues needed to be completed/fixed before the next release of the book. A release is like an approved version of the making360 guide, which anyone can self-print (Blurb, Lulu). 360 softwares and gear is evolving fast, we then hope to have a monthly release for everyone to stay up to date.

HIPCHAT ROOM. This chat room has been setup to ask specific questions related to the book as well as ongoing technical support between creators on-the-go or at home. If some of us are online and have the answer to someone's problem, we should help them solve it. If the problem is coming up multiple times, it will make sense to add it as a chapter to our open source book. We invite you to suggest new chapters using the ISSUES.

MAKING360.com Our site will soon be updated and turned into a more communal site including reviews on gear, resources for producers, checklists, spreadsheets, budget estimates, case studies... as well as gigs for everyone to list or pick!!! We would like to link your personal blogs and feed the making360 website with your posts.

Excited to see how well we will collaborate together, and for starters, would you be kind to introduce yourself here by commenting with your name, company, and what exciting project you are currently working on!

Hi. I'm Fabien Soudiere. I have been helping build the 360 video workflow of on the the major VR companies out there. And I decided to share my knowledge with other video creators to build a community and create more 360 content. I also make music on the side and I used to be a magician/dancer for 10 years. I'm still making magic with 360 now lol!

Hello! I am Alex Pearce. In 2014, I switched my small production company to focus 100% on 360 video production. I am developing a 360 travel show to Israel and we'll be going back in a few months to film season 2. I also do a lot of freelance work, some b2b shooting, stitching and consulting. Clients include The Ad Council, Jaunt, 360 Heros and Heart of Silicon Valley. I live on a sailboat with my wife and 4 month old baby in Sausalito, and we also have a boat in Marina Del Rey and I travel back and forth depending on what gigs are happening. Excited to be apart of this and I love what you guys and gal have already done!

Hi my name is Nilo Enrique Canales Bernales. I'm Drama Director and Scriptwriter. I Love filmmaking, love design, love programming, love photography and many other things related to the media. Here I'm to translate Making360's book to spanish and learn from everybody.
I have been working as filmmaker since 2010 and now I want to focus my work in the production of videos in 360º. I'm from Peru and sometimes I work between my country and Italy. Thanks to everybody for let me be part of your team.


Can't connect to a local, existing MySQL DB

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the SQLModel documentation, with the integrated search.
[X] I already searched in Google "How to X in SQLModel" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to SQLModel but to Pydantic.
[X] I already checked if it is not related to SQLModel but to SQLAlchemy.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from typing import Optional

from sqlmodel import Field, Session, SQLModel, create_engine, select

class RealWordEN(SQLModel, table=True):
    id: int = Field(primary_key=True)
    string: str
    type: Optional[str]
    number: Optional[str]
    tense: Optional[str]

    __tablename__ = "real_words_EN"

engine = create_engine("mysql+mysql://root:root@localhost:8889/words", echo=True)
# engine = create_engine("mysql://root:root@localhost:8889/words", echo=True)

with Session(engine) as session:
    statement = select(RealWordEN)
    words = session.exec(statement)

Description
I've been trying to interact with an existing MySQL DB.
When I try the run this code I get the following error message:
raise exc.NoSuchModuleError(
sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:mysql.mysql

I also tried with th DB URL format: engine = create_engine("mysql://root:root@localhost:8889/words", echo=True).
In that case, I get a different error message:
ModuleNotFoundError: No module named 'MySQLdb'

Is there some MySQL connection Python module that needs to be installed as well along sqlmodel?
I've been trying with installing pymysql, aiomysql, with similar errors.
Operating System
macOS
Operating System Details
No response
SQLModel Version
0.0.6
Python Version
3.9
Additional Context
No response

Hello,
I just tried to recreate your issue. It seems like mysqlclient is the only connector that I can get to work. Unfortunately, I couldn't find any recommended connector in the documentation.

Same, I don't know if a connector is needed and which. That'd be great if it could be talked about in the documentation.

Hello,
I just tried to recreate your issue. It seems like mysqlclient is the only connector that I can get to work using:
engine = create_engine("mysql://root:root@localhost:8889/words", echo=True)
Unfortunately, I couldn't find any recommended connector in the documentation.

dang really wish the documentation would mention this. no way of me knowing, I gave up on the original client because it did not support Python3

https://docs.sqlalchemy.org/en/14/dialects/mysql.html#dialect-mysql ? This library is pretty clear that it wraps SQLAlchemy

yeah but was not obvious to someone who is looking at the SQLModel page and easily overlooked. would appreciate for future developer friendliness to include notes to use pip3 install mysqlclient for me I had no idea a fork existed for python 3. just saw the original worked for python2 and not 3

I feel your frustration it is hard in a library such as this where do you draw the line. Obviously no point tiangolo redocumenting the whole of Sqlalchemy the maintenance burden would be insane. He doesn't really seem to maintain this library as it is. For future reference check if the error is a sql model or sql alchemy error. Your error actually says sql alchemy. Therefore you can guess its actually related to sql alchemy.

I feel your frustration it is hard in a library such as this where do you draw the line. Obviously no point tiangolo redocumenting the whole of Sqlalchemy the maintenance burden would be insane. He doesn't really seem to maintain this library as it is. For future reference check if the error is a sql model or sql alchemy error. Your error actually says sql alchemy. Therefore you can guess its actually related to sql alchemy.

appreciate the reply but that is concerning to hear it is not being actively maintained. seem like it Is in a good spot, I'm not sure whether I should just stick to SQLAlchemy or incorporate SQLModel bits but so far not exactly confidence inspiring to find gaps and obviously falls outside SQLModel.

For the record, I didn't mean it's not being actively maintained as such, but its only at ver 0.0.6, with 64 open pull requests. Some fix simple bugs and have been sat there for 6 months without anyone looking at them. And there hasn't been a release in 4 months. And you are right that it does seem to be in a pretty good spot.
For what its worth SQLModel does make the whole FastAPI + SQLAlchemy thing a lot nicer, but you can't side step really knowing SQLAlchemy. The alternative is to define separate Pydantic and SQLAlchemy models for basically the same thing. Also the type hinting in this library is really nice.
I'd say stick with it

I think I just stumbled over this issue on v0.0.20.
"""
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/concurrent/futures/process.py", line 246, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/opt/premiscale/src/premiscale/metrics/__init__.py", line 120, in __call__
    self._initialize_host()
  File "/opt/premiscale/src/premiscale/metrics/__init__.py", line 136, in _initialize_host
    stateConnection.open()
  File "/opt/premiscale/src/premiscale/metrics/state/mysql.py", line 62, in open
    connection = create_engine(self._connection_string)
  File "<string>", line 2, in create_engine
  File "/opt/premiscale/poetry-cache/virtualenvs/premiscale-s1FYViBm-py3.10/lib/python3.10/site-packages/sqlalchemy/util/deprecations.py", line 281, in warned
    return fn(*args, **kwargs)  # type: ignore[no-any-return]
  File "/opt/premiscale/poetry-cache/virtualenvs/premiscale-s1FYViBm-py3.10/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 599, in create_engine
    dbapi = dbapi_meth(**dbapi_args)
  File "/opt/premiscale/poetry-cache/virtualenvs/premiscale-s1FYViBm-py3.10/lib/python3.10/site-packages/sqlalchemy/dialects/mysql/mysqldb.py", line 147, in import_dbapi
    return __import__("MySQLdb")
ModuleNotFoundError: No module named 'MySQLdb'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/premiscale/src/premiscale/daemon.py", line 169, in start
    process.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 451, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
    raise self._exception
ModuleNotFoundError: No module named 'MySQLdb'

I think I just stumbled over this issue on v0.0.20.
"""
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/concurrent/futures/process.py", line 246, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/opt/premiscale/src/premiscale/metrics/__init__.py", line 120, in __call__
    self._initialize_host()
  File "/opt/premiscale/src/premiscale/metrics/__init__.py", line 136, in _initialize_host
    stateConnection.open()
  File "/opt/premiscale/src/premiscale/metrics/state/mysql.py", line 62, in open
    connection = create_engine(self._connection_string)
  File "<string>", line 2, in create_engine
  File "/opt/premiscale/poetry-cache/virtualenvs/premiscale-s1FYViBm-py3.10/lib/python3.10/site-packages/sqlalchemy/util/deprecations.py", line 281, in warned
    return fn(*args, **kwargs)  # type: ignore[no-any-return]
  File "/opt/premiscale/poetry-cache/virtualenvs/premiscale-s1FYViBm-py3.10/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 599, in create_engine
    dbapi = dbapi_meth(**dbapi_args)
  File "/opt/premiscale/poetry-cache/virtualenvs/premiscale-s1FYViBm-py3.10/lib/python3.10/site-packages/sqlalchemy/dialects/mysql/mysqldb.py", line 147, in import_dbapi
    return __import__("MySQLdb")
ModuleNotFoundError: No module named 'MySQLdb'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/premiscale/src/premiscale/daemon.py", line 169, in start
    process.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 451, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
    raise self._exception
ModuleNotFoundError: No module named 'MySQLdb'

Installing mysqlclient fixed this. Probably unrelated to this thread.

(kbe) ➜  knowledge-base-embedding git:(main) ✗ pip install mysqlclient
Collecting mysqlclient
  Using cached mysqlclient-2.2.6.tar.gz (91 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [29 lines of output]
      Trying pkg-config --exists mysqlclient
      Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.
      Trying pkg-config --exists mariadb
      Command 'pkg-config --exists mariadb' returned non-zero exit status 1.
      Trying pkg-config --exists libmariadb
      Command 'pkg-config --exists libmariadb' returned non-zero exit status 1.
      Trying pkg-config --exists perconaserverclient
      Command 'pkg-config --exists perconaserverclient' returned non-zero exit status 1.
      Traceback (most recent call last):
        File "/opt/anaconda3/envs/kbe/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/opt/anaconda3/envs/kbe/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/opt/anaconda3/envs/kbe/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/vf/gnd4xmld20s9gph6l1vx740w0000gn/T/pip-build-env-60w38cop/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/vf/gnd4xmld20s9gph6l1vx740w0000gn/T/pip-build-env-60w38cop/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
          self.run_setup()
        File "/private/var/folders/vf/gnd4xmld20s9gph6l1vx740w0000gn/T/pip-build-env-60w38cop/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 320, in run_setup
          exec(code, locals())
        File "<string>", line 155, in <module>
        File "<string>", line 49, in get_config_posix
        File "<string>", line 28, in find_package_name
      Exception: Can not find valid pkg-config name.
      Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
(kbe) ➜  knowledge-base-embedding git:(main) ✗

$ # Assume you are activating Python 3 venv
$ brew install mysql-client pkg-config
$ export PKG_CONFIG_PATH="$(brew --prefix)/opt/mysql-client/lib/pkgconfig"
$ pip install mysqlclient

use this fixed this bug!


Make cons and filter work for vectors

I'm just wondering what we should do about sequence polymorphism in general. Now we have cons and add-left which do the same thing except add-left is just for vectors. It seems a bit arbitrary.

Agreed - like Clojure's seq. I'd say String should also have cons and filter.

How do we proceed here? Should I make some change or should I close this PR?

We should have head, tail and cons functions that work on all sequences (as this PR implements). Not sure about the names though, we might want names more like Clojure (first, rest, cons) to imply that it works on all sequences, not just lists.
Another thing is that whatever happens, the patterns should match the functions, that is, /cons in prelude/patters.rad should be made to work on lists and vectors if that's what cons does.

How about this: I’ll make /cons work with Vectors, too and add first and rest to work with both vectors and lists.

Sounds good, and then close #196.

@jameshaydon: Can you have another look?

Shall we also get rid of add-left?

Shall we also get rid of add-left?

Done


[Question]- How to add skype bot in Bot directory?

Hi @nwhitmont,
Yesterday we have published our skype bot and it's been approved by Microsoft. I can see the status now as "Approved", but the option "Show in Directory" is not enabled. The default "Hide in Directory" option is selected and I am not able to change it. Please guide me so that I can add the Bot in public directory.

Hello @JasonSowers
I have this very same question.
Our client desires to have its bot published in Skype's Bot Directory but we are not sure as to what step follows after it has been "approved" by Microsoft.
As @nwhitmont  mentioned, "Hide in Directory" is selected and there is no way to change it.
What would be the right procedure?
Thanks a lot !!!!

Why can't I find my published bot in the Skype bot directory?
Skype bots are only searchable in the bot directory if they are "Featured" or otherwise highlighted by the Skype business team.
As you can see on the help page What Skype bots are available? - not all bots can be directly added via the directory. In the section What bots can be added directly that are not available in the Skype directory? you can see examples of non-directory bots which can only be added via web link.
For Bot Framework bots, the same scenario applies.  Your bot will only be searchable in the Skype bot directory if it is published and is a "Featured" bot.  Otherwise, the official way to add the bot is to share the "join" URL generated on the "Channels" page of the Bot Portal.
To view your bot's Skype "join" URL, go to the Channels page in the Bot Portal, right click on the "Skype" text and select "Copy Link Address".
Example Skype bot add-to-contacts "join" URL:
`https://join.skype.com/bot/257389ac-afdb-473a-9b98-1234567890`

can you both please include the following information, I will reach out to the skype team to get you an answer.

Bot handle:
App ID:

Hello @nwhitmont
cc: @JasonSowers
Thank you for your prompt answer.  My company has developed a bot for a large Colombian company that has a large intended audience in Colombia (millons of current customers) that can benefit from this Microsoft technology-enabled bot.
I wonder: how can be submit this bot to this Skype business team?  We can accompany this submission with business information about the number of people who could benefit from this bot (number of customers), as well as information about the business use cases that are already implemented and running via Facebook's Messenger and the company's web portal.
Thank you for your kind attention.

Hey @JasonSowers, Here are the details that you needed.
Bot Handle- feedback_chat_bot
App Id- f64f508b-b993-42cd-8add-bef12d2adc14
please check and let me know the outcomes.

Hi @juanestebanj ,
There was an email sent out September 28th regarding a change to Skype Bot Publishing as follows:

Dear Skype Bot Developer,
We are writing to you with regard to your Skype bot and some important changes that we are making next month to the Skype Developer Platform.
Next month, all certified bots will be able to be viewed upon search within Skype. This will allow users to find your bot if they search for your bot's name in the search tool within Skype.
You have at least one bot that is currently marked as certified but hidden from search.  These bots will continue to be hidden from search unless you make changes to your bot and republish it after October 15th, 2017. Any changes made to your bot that require republishing the bot after October 15th, 2017 will result in the bot being automatically searchable.
Sincere thanks,
Skype Bot Development Team

My understanding is this means that republishing your BOT should force it to be visible.  Can you please confirm that this is no longer an issue for you?  If it is, please reply to the certification email you have already received as the folks at that email address can also help you with this further.
Sincerely,
IoTGirl

Closing the issue assuming it as resolved. Feel free to reopen if you any questions or comments.


invalid_request @ authorize url

Hi,
The following url:
https://appleid.apple.com/auth/authorize?client_id=TOP&redirect_uri=SECRET&scope=name+email&response_type=code&state=ANONYMISED
Gives me this error:

invalid_request
response_mode must be form_post when name or email scope is requested.

Any ideas?
Thanks

Here's a fix:
https://github.com/seoda/socialite-apple/pull/3


Vignetting calibration with LCD instead of paper

Hi,
if I understand correctly, the critical assumption for vignetting calibration is that the white sheet of paper has uniform white color and is uniformly illuminated. While the first one might be sufficiently given for a normal sheet of paper, I think the second one is quite hard to achieve.
Here the following method is proposed:

One of the simplest ways to obtain a uniform subject is to photograph your computer monitor at a distance of 1-3 inches (2-8 cm)

I tried it with an Xtion Pro Live. The room was completely dark except for the monitor and I moved the camera in front of the screen to average out potential inhomogeneity in screen illumination.
The results looked reasonable (radial symmetric) but now I realized that the calibration is overcompensating in the outer parts of the image. But I've to perform more experiments...
I wanted to ask what you think about this way, if you've tried it, and how your results are.
Best,
Tim

Hi Tim, thanks for the interest.

I think the second one is quite hard to achieve.

For me it works well right at my working desk. But maybe we are just lucky with the lights in our office :) If yours are not so good, you can try to reduce the size of the paper to increase the chance that it is uniformly illuminated.

I wanted to ask what you think about this way, if you've tried it, and how your results are.

Thanks for the link, interesting reading. Yes, I had an idea of using the screen to get a "ground truth" vignetting response. I tried it, but (a) I did not take care of working in complete darkness (b) instead of a close-up view, I positioned the camera at the maximum distance such that the screen was still occupying the whole image. With this setup I got unsatisfactory results (IIRC the obtained image rather showed the imperfection of the display than vignetting effects of the camera) and I abandoned the idea.
Thinking about it again, focusing on a small section of the screen to increase the chance of uniformity, as well as working in complete darkness may do the job. I'll give it a try, compare with the paper method, and let you know.

Hi Sergey, thanks for your reply.

I'll give it a try, compare with the paper method, and let you know.

awesome!

So I gave it a try. Here is the setup that I used:

The screen is covered with a piece of sheet, leaving only a small hole. (Actually, two, I tried separately with both sizes.) The resulting vignetting image looks very nice, smooth, and generally reasonable. However, compared to the paper calibration, it indeed seems to be overcompensate the outer parts. Here is a short video where the camera observes a piece of paper. Top right is the original color stream, bottom right is the result of vignetting correction with the calibration from screen. Left column are the residuals computed by subtracting the mean values of a small central region of the corrected image from the complete image (in other words, it shows deviations from color uniformity in the corrected image). I think it's clear to see that the outer parts become too bright after correction.

I guess the screen is not Lambertian enough, so at very slanted observation angles the reflectance is lower.

Thanks for your efforts!
So we both made the same observation and I think the reason

I guess the screen is not Lambertian enough, so at very slanted observation angles the reflectance is lower.

is a very good explanation.
Again citing from here:

(We prefer the LCD monitor, but this approach may work in come cases.) Photograph an evenly-lit smooth matte sheet (white or gray). Be careful not to shade it. Outdoors illumination (shade) sometimes provides very even illumination. Getting uniform illumination can be a challenge with ultrawide lenses; it’s almost impossible to avoid shading part of the card. Opal diffusing glass is strongly recommended.

So I think I'll try the two options when I find the time:

try to put opal diffusing glass in front of the screen (or better camera?)
try with a sheet in outdoor shade

Okay, please drop a message if you get any interesting results!
I will close this for now.


Introducing documentSelector for Document Targeting

Description
In response to the challenges faced with the index-based selection of documents within multi-document YAML templates, we introduce the documentSelector feature. This provides a more robust mechanism to select specific documents without relying on a brittle index.
Context: Our tests often include template files which produce YAML files containing multiple documents. The ordering of these documents might often change, making the index-based selection a fragile method. Our community voiced concerns about this, suggesting a yaml-path based selection mechanism. The presented PR is a direct answer to this request.
Fixes #179
Type of change

[x] New feature (non-breaking change which adds functionality)

@quintush  Please let me know if there are any style guidelines, test, or anything else that needs to be done to complete this PR.

Hello @jonathon-mcnabb,
Thanks for the great addon.
The solution looks like the way I would go to.
Regarding code guidelines, it is sufficient to run gofmt to format the code and make sure naming convention is readable.
Will come back with some feedback pointers.
Greetings,
@quintush

As an invested party, can I help in any way getting this merged/released?

@jonathon-mcnabb  If you don't have the time can I add on your work my proposal to make the the documentSelector a list?

@raxod502-plaid No, the list functionality was not implemented, afaict.


list only products with "web" flag in wFirma.pl system

Using custom XML to filter products is working only if product has only label "web". If any other additional label appears the filter is not recognising product right.

Issue solved.


Refactor propHook to avoid using class + this (to support goal of thisless JavaScript)

Apologies for this pedantic nitpick. With that disclaimer, I found this repo after reading the Cycle.js homepage, where it says:

thisless JavaScript: The use of functions and RxJS Observables allow for a JavaScript programming style without the this keyword. Cycle.js encourages you to create apps with functional practices. Without this, you can write more reusable code and define logic without tightly coupling it to data. See it for yourself, this cannot be found in Cycle.js TodoMVC.

The current implementation of propHook uses this, so I thought I’d propose implementing that utility differently to validate the “thisless JavaScript” assertion.

@acusti Good catch.

This has been discussed before https://github.com/cyclejs/todomvc-cycle/pull/14.
propHook needs this because that's how hooks work in virtual-dom. TBH propHook is a util. Could have been a library, then you wouldn't see the this at all. It's a virtual-dom thing, not a Cycle.js thing. I know virtual-dom is part of Cycle DOM, but still, it's just one driver. Perhaps if we build a new Cycle DOM based on some other virtual DOM library that has a thisless API, then we can achieve that.
The point here is: as far as Cycle.js and RxJS is concerned, ignoring some corner cases in some drivers, there are no this.
I'll update the docs page to remove the sentence "See it for yourself, this cannot be found in Cycle.js TodoMVC.". But that doesn't mean much in my opinion. You still rarely or never see a this. What matters most, you don't need to think or reason about this.