Regression: CSS attribute selector

Using this selector: tr[id~=linhaSel_\\d+][onclick^=redirect(']
It matches the following HTML tag in 1.10.2:
<tr id="linhaSel_0" onclick="redirect('/internet_base/processoman.do?evento=Editar&chPlc=AAAS6DABaAAJrIpAAE')" class="linhapar" onmouseover="marcaSelecao(this, event)" onmouseout="marcaSelecao(this, event)" style="cursor:hand;cursor:pointer;" title="">
...
</tr>

But for 1.10.3 Jsoup throws:
org.jsoup.select.Selector$SelectorParseException: Did not find balanced maker at onclick^=redirect(

Probably something related to commit https://github.com/jhy/jsoup/commit/8fecf72da0c9d1d6da7ec1aab0214ff68588da88

Hi, @fmatoss !
You should not use apostrophe in last part of selector.
Apostrophe means that you try to define some value.
Try to use selector
tr[id~=linhaSel_\d+][onclick^="redirect("]
I'm sure this will work =)


not working

hi
i would like to run Reinfocement learning on openDSS model, but could not find how to manage it. Could you please help me out?. I tried to run your gym-openDSS code but did not work.

Hello!
You will need to use this in conjunction with the the accompanying repository: https://github.com/kmoy14-stanford/smart-rl-mg

Could a more detailed example of how to run these two packages( gym-opendss and smart-rl-mg) be put together or a main example of running these together?


Sharing plan issue 106

Fixes #106 (again)
Changelog

Adds Dataset Sharing Plan and attributes
Adds controlled vocab for new attribute Dataset Level
Moved some shared vocab terms from module/dataset --> module/shared
Update build-jsonld to schematic 24.5.1 and address dependency issue with ipython==8.18.1
Update a few erroneous entries

Since some of the module files have been moved and the template files have been updated from XLSX to CSV, we will also need to update the doc markdowns in order to reflect their new filepaths/filenames.

Thank you for pointing this out! Since I'm the one breaking things, I will make those updates 😁

@Bankso thank you!! I don't mind doing it either, so if you have other pressing things to do, just lmk!

@aditigopalan could you please take a quick look at the current DataDSP model implementation? I just want to make sure things look reasonable before we merge

@aditigopalan could you please take a quick look at the current DataDSP model implementation? I just want to make sure things look reasonable before we merge

Looks good to me!


bugfix: monitoring causing OOM during kyma upgrade

Description
fix the bug that central monitoring causing OOM during kyma upgrade
Changes proposed in this pull request:
change the way to detect rma component installation status
Related issue(s)

/lgtm
You should also bump the KEB image in the chart

KEB image bumped


Portable path manipulation

The trivial changes allow for a more portable handling of paths, so the script may work in Windows environments (not tested in Windows, it might need other changes)

This is great, thanks! I'll rebase and merge this in.

Pushed: 80cf8adfeb4c565e6e8652ca37be2124d263c0ba


fix(types): fix ThisType of component options with no props option

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[ ] New/updated tests are included

Other information:
Previously, if the user does not include props option in component options, ThisType has Record<string, any> in the members of intersection types. Then this.notExistingProperty is already passed if props options is missed.
export default Vue.extend({
  data() {
    this.notExistingProperty // <- this should be an error but currently isn't.
  }
})

I added a default type parameter of Vue.component and Vue.extend to avoid to allow any properties in ThisType when there is no props option.
I did not add a test for this because we need to check a compilation error to confirm that 😛

Thanks! IIRC the default never is removed by me because some usages cannot be compiled.
But it might be caused by other typing and I've mistaken it with never. I need some more experiment to confirm it.

I have investigated this issue; a lot of compiling error in TS2.6.1, :(
It turns out that never bound isn't the culprit but Component.
Component is declared as the union of two ThisTyped options. This makes ComponentOptions not assignable to Component.
So this is a good fix! Thanks!
And I will make a pull request to fix Component issue.

@HerringtonDarkholme Thanks for investigation!
I'm closing this PR in favor of #7135 🙂


"++opt" in ":[range]r[ead] [++opt] !{cmd}" prevents "!{cmd}" completion

Run gvim.exe --clean
Start typing :r ++enc=cp866 !edi, then press Tab. gVim doesn't complete edi to edit.com (or probably something else, depending on the $PATH value) as it would, were there no ++enc=cp866 in the command.

Vim 8.2.981 (https://github.com/vim/vim-win32-installer/releases/download/v8.2.0981/gvim_8.2.0981_x86.zip)
OS: Windows 10 Home 1803
Terminal: GUI.

@chrisbra Somehow the issue isn't fixed for me in gVim  8.2.1042, reproducible with the same steps as in post 1. Please let me know if any additional info's required.

Hm, interesting, using :r! ++arg cmd works, but :r ++arg !cmd doesn't. I suppose the code only handles the former and not the latter. Will have a look.

@chrisbra Thanks, it's fixed now for me in 8.2.1145. I may not understand something, but shouldn't the issue have been auto-closed by now?

Thanks for checking.


Change StepPagerStrip to draw Text

Is it possible to change StepPagerStrip to draw fragment title instead of the rectangle?

Hi there, please ask on Stack Overflow, I'm no longer supporting this project


Take another stab at connecting our Adjust tracking of URLs

@anipetrov mentioned that the anon sessions weren't hooking up to the same ids.
What this PR does is ensure that the session has anon user stored before making any adjust calls, rather than waiting until a user has completed creating a user.

Sure, I guess that’s the best way to unsure we never regress again 👍


Initial load after installation show error dialog

Describe the bug
When opening lens for the first time after upgrade from 5.1.x the following error dialog shows up:
static://splash.html seems to be missing according to the error.

To Reproduce
Steps to reproduce the behavior:

Open lens after installation

Expected behavior
No error dialog
Screenshots
See above
Environment (please complete the following information):
Lens: 5.2.4-latest.20210923.1
Electron: 12.0.17
Chrome: 89.0.4389.128
Node: 14.16.0

OS: [e.g. OSX] : Windows 10
Installation method (e.g. snap or AppImage in Linux): exe file

Additional context
This doesn't happen on second launch, it happened to me only the first time I opened the app.
I haven't tried to reproduce it by uninstalling and installing again though, might be a single time glitch

I just installed on Mac OS X and I'm seeing this every time I try to run the app. I get a dialog with that same error message and then lens fails.
Error: ERR_FAILED (-2) loading 'static://splash.html'

Was that the first time you installed lens? @jeremy-degroot

@Nokel81 no, I'd had it before. I upgraded to the latest to try and stop the error, but it didn't work.

Can you try any of the attempts here https://github.com/lensapp/lens/issues/3870?

@Nokel81

Could you try renaming your /Library/Application Support/Lens folder and then trying to launch lens again?

I don't seem to have this folder. Should I?
I did manually uninstall, and then try the Brew installation. Same result.
Lens is not currently showing up in Activity Monitor

You will only have that folder visible I'd you turn on seeing it in finder.
If you run ps -A l grep lens does anything show up?

jeremy.degroot@MBP-174173.local:~$ ps -A | grep lens
 7529 ttys000    0:00.00 grep lens

When I do  ls -al /Library/Application\ Support/ Lens is not there, I wasn't looking in Finder

Yes, here's the output
error:   ┏ Loading main window failed +47ms
error:   ┃ [ 1] {
error:   ┃ [ 2]   error: Error: ERR_FAILED (-2) loading 'static://splash.html'
error:   ┃ [ 3]       at rejectAndCleanup (electron/js2c/browser_init.js:217:1457)
error:   ┃ [ 4]       at Object.stopLoadingListener (electron/js2c/browser_init.js:217:1832)
error:   ┃ [ 5]       at Object.emit (events.js:315:20)
error:   ┃ [ 6]       at Object.EventEmitter.emit (domain.js:467:12)
error:   ┃ [ 7]       at Object.emitter.emit (/Applications/Lens.app/Contents/Resources/app.asar/node_modules/@sentry/electron/dist/main/integrations/electron.js:63:25) {
error:   ┃ [ 8]     errno: -2,
error:   ┃ [ 9]     code: 'ERR_FAILED',
error:   ┃ [10]     url: 'static://splash.html'
error:   ┃ [11]   }
error:   ┗ [12] }

So the folder should actually be /Users/<user>/Library/Application Support/Lens. If that doesn't exist, can you try creating it and running lens again?

Yep, I found it now that I looked in the right place.
I renamed it to Lens.bak to see what would happen, and when I ran Lens it recreated the folder (I now have Lens and Lens.bak), per the instructions in the issue you linked.
It still gave the same error though.

Does the folder /Application/Lens.app/Contents/Resources exist and is readable?

Yes, it exists and it's readable.
I just noticed another error occuring in the output from the previous comamnd line run:
info:    ▪ [LENS-PROXY]: Proxy server has started at <IP_ADDRESS>:50344 +3ms
info:    ▪ 🔎 Testing LensProxy connection ... +1ms
error:   ▪ 🛑 LensProxy: failed connection test: RequestError: Error: getaddrinfo ENOTFOUND localhost +130ms

That probably is the source of the problem then. Have you modified /etc/hosts? That error should only occur if localhost is not defined in that file.

Well, I hadn't modified it but somehow a bunch of binary garbage wound up at the top of my /etc/hosts file. I was also unable to ping localhost.
Once I removed the garbage, Lens starts again.

Ya! you are very welcome. Maybe we should just use <IP_ADDRESS> directly though...

Yes, I do have, and still does not work. I start from the command line and it tries to connect through the proxy. I tried to unset all of my shell variables but does not help.

That is in deed a fair question, I know that request by default uses those proxy env vars which is why it looks for them. Also we do a shell sync so that might be bringing those env vars back... Can you just try NO_PROXY=<IP_ADDRESS>,localhost /Applications/Lens.app/Contents/MacOS/Lens?

Sounds good, I think we should just make sure that we have that always set for ourselves probably would be best.

Probably a better solution

I upgrade Lens to latest version via the installer (Lens Setup 5.2.5-latest.20211001.2.exe) download directly from official website today ,and bump into the same problem here. Install the old installer(Lens Setup 5.2.3-latest.20210921.1.exe) didn't solve the problem. But its works again as soon as I uninstall the Lens then reinstall the Lens again with the latest installer .
OS: windows 10


update library code

Implement optimus work with g12a/g12b/sm1 SoC, rewrite some code:

add GPL-2.0 license file for compliance with files that use GPL-2.0 or MIT licenses.
move SocId class to its own file

pyamlboot.py:

add support to save current device bus/address/port for reinitialization
add reinit device logic for handling multiple devices (works with libusb1)
reformat code for clarity

optimus.py:

mov class definitions and usb_backend.py into lib
switch to _dev.reinit() in _wait_device()
fix platform-specific issues for g12a/g12b/sm1 (e.g., _write_para, AMLC commands)
improved U-Boot handling by copying UbootLoad/UbootRun values from DDRLoad/DDRRun if missing in image config.
minor code beautification.

aml_image_packer.py:

separate class definitions into individual files in lib
create a shared parent class for AmlImgItemInfoV1 and AmlImgItemInfoV2
add _opendir() method for handling directories with extracted images

Looks fine, but can you split the reformat & the changes in separate commits ? And also rebase on current master, there's a conflict now

split
remove reinit call
rebase over latest master


Add warning about concurrent use of CommentForest.replace_more

Fixes #1716
Feature Summary and Justification
I added a warning about making concurrent requests to the morechildren endpoint. Now that https://github.com/praw-dev/prawcore/pull/112 has been merged, the documentation can mention the new TooManyRequests exception that can be triggered when this happens.
I also updated the documentation about the maximum number of comments returned in each request. The number is now 100, and that number refers to the number of comments returned, not comments and morechildren instances (and not the maximum number of comments you can include in a request). In the test I ran, the number of comments returned was indeed capped at 100. but the total of comments + more instances returned in each request reached as high as 140.
References

https://github.com/praw-dev/prawcore/pull/112
https://www.reddit.com/dev/api#GET_api_morechildren

The number is now 100, and that number refers to the number of comments returned, not comments and morechildren instances (and not the maximum number of comments you can include in a request)

Oh wow! I didn't know that change has been made. That's awesome. Just to clarify is this on a non-gilded account? In the past limits have been different for such accounts.

Thank you for the pull request! 🎆


Implement online multiplayer

Add UI for setting up an online game

[x] There is a UI for setting up an online game at the bottom of the player list
[x] In the lobby, you can host a game, and you can join a game by specifying an IP address
[x] During a game, you can host a game, but you cannot join a game
[x] When connected, hide the host/join buttons and show a disconnect button
[x] The disconnect button disconnects you
[x] When pressing the disconnect button, the host/join buttons reappear

Add players when connecting

[ ] When someone else connects in the lobby, their player is added to the player list
[ ] When someone tries to join a lobby where the maximum number of players was reached, the player is not allowed to join
[ ] When someone else connects during a game, a random AI player is turned into a human
[ ] When someone tries to join a game where there are no AI players available, the player is not allowed to join
[ ] When a player is not allowed to join, they receive a specific error message like "The room is full!"

Show which players are remote players

[ ] Create an icon to represent remote players
[ ] Remote players have this icon displayed in the player list at all times

Remove players when disconnecting

[ ] When disconnecting in the lobby, the remote players are removed from the player list
[ ] When disconnecting during a game, the remote players are turned into AI
[ ] When someone else disconnects in the lobby, their player is removed from the player list
[ ] When someone else disconnects during a game, their player is turned into an AI

Load data when joining

[ ] When you connect, your player list is loaded and matches the host's
[ ] When you connect in the lobby, the rules are loaded and match the host's
[ ] When you connect and the game is already playing, you receive the host's game data and the game immediately loads
[ ] When in the lobby and the host starts the game, the game starts for you too
[ ] When in a game and the host returns to the lobby, you return to the lobby too

Add a chat interface to the lobby when connected

[ ] When connected, a chat interface becomes visible in the bottom-left corner
[ ] When a game begins, the chat's contents are brought over to the game scene's chat box
[ ] When going back to the lobby, the chat's contents are brought over to the lobby's chat box
[ ] When you connect, the chat contents are loaded and match the host's

Synchronize data

[ ] When connected in the lobby, unless you are the host, you cannot change any of the rules
[ ] When connected in the lobby, whenever the host changes a rule, you immediately receive and see the change
[ ] Whenever the player list changes, you immediately receive and see the change
[ ] Whenever a new public chat message is sent, you immediately receive and see the message
[ ] When the host loads a game, that game immediately loads for you too

Prevent being able to make any actions when it's a remote player's turn

[ ] You cannot move any army; the visuals reflect this
[ ] You cannot buy a fortress; the visuals reflect this
[ ] You cannot recruit; the visuals reflect this
[ ] The end turn button is hidden, and even if you somehow pressed it, the end_turn function does not allow you to end a remote player's turn
[ ] When it's a local player's turn again, you can make actions again

Synchronize game actions

[ ] When a player performs an action, the action immediately happens in everyone's game
[ ] Make it so that internally, ending your turn is considered an action

Turns out that to use RPC commands, you need the object to extend Node. So now there's a choice to be made between using MultiplayerSynchronizer, synchronizing things manually in the code of each object, or some other way that I don't know about.
Either way, this requires some thinking as well as some code refactors.

I just pushed major work on synchronizing the player list. I chose to sync things manually through code to have as much control as possible. We'll see if this approach pays off.

The newest commit, 7ea5c19, introduces error messages. The code works and does exactly what it's supposed to, but for some reason, error messages appear in the debugger. It's annoying, but I want to move on. See #137.
I also had to put on hold the feature of informing the player who got kicked that they were kicked. See #138.

The newest commit f013986 has even more error messages. I'm pretty sure they're harmless, because everything works as intended. But it's worth mentioning.


The best way to operate and record synchronized  left, right streams without ZED sdk

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
[X] This issue is not a question, bug report, or anything other than a feature request directly related to this project.

Proposal
My machine does not have the GPU. I want to just record synchronized  left, right streams with my customized control in Python.
As https://www.stereolabs.com/docs/installation/specifications noted, "The ZED camera is UVC (Universal Video Class) compliant so you can capture the left and right video streams of the ZED on any Windows and Linux platforms." Is it implied that we can record video streams with Opencv directly, similar to how we access a common camera?
How can we guarantee the synchronization?
Use-Case
No response
Anything else?
No response

The output of the ZED camera without the ZED SDK is already a Side by Side image that contains left and right images synchronized.
Direct capture with opencv will give you this image. You just have to crop the SBS into Left and Right to get both image in separated Mat.


Can I use github models with openai compatible?

Which API Provider are you using?
OpenAI Compatible
Which Model are you using?
gpt-4o-mini
What happened?

Steps to reproduce
1.base url = https://models.inference.ai.azure.com
2.model id =gpt-4o-mini
3.
Relevant API REQUEST output
API Request failed:
404 Resource not found

Additional context
No response

New Cline user here. I get the same error as @comxroy  (different base URL of course). In my case I tried "azure/gpt-4o" and "gpt-4o" as Model ID. Base URL, API Key, Model ID = "azure/gpt-4o" and Azure API Version = "2024-02-01" are working with Aider.

Reading through other threads and found an answer that worked for me. I updated the Base URL to "https://{{ressource_id}}.openai.azure.com/openai/deployments/gpt-4o" worked for me.

Reading through other threads and found an answer that worked for me. I updated the Base URL to "https://{{ressource_id}}.openai.azure.com/openai/deployments/gpt-4o" worked for me.

about ressource_id, where can i get it?

I have the same problem, and hope someone can answer this question. Thanks!!!

I encountered the same issue, and adding '/openai' after the "Base URL" solved it for me.

I encountered the same issue, and adding '/openai' after the "Base URL" solved it for me.

Thanks, it is useful! But when I create a file, cline got "413 Request body too large for gpt-4o model. Max size: 8000 tokens".

I encountered the same issue, and adding '/openai' after the "Base URL" solved it for me.

Thanks, it is useful! But when I create a file, cline got "413 Request body too large for gpt-4o model. Max size: 8000 tokens".

Me too.

just proposing a possible solution here. Try the solution offered in this video:
https://www.youtube.com/watch?v=Y4UuCmZFJZo
go to 4:40, that's is the part which should interest you.


FileNotFoundError: [Errno 2] No such file or directory: 'MiDaS/model.pt'

Hi, everyone!
I like to see this great product. But I have faced with that issue.
It happens on start after python main.py --config argument.yml
This files really doesn`t exist. So next question, where I can find this file or how I can create it ?
The full console message
(3DP) D:\Projects\Python\3d_photo>python main.py --config argument.yml
  0%|                                                                                | 0/1 [00:00<?, ?it/s]Current Source ==>  moon
initialize
device: cpu
  0%|                                                                                | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "main.py", line 47, in <module>
    config['MiDaS_model_ckpt'], MonoDepthNet, MiDaS_utils, target_w=640)
  File "D:\Projects\Python\3d_photo\MiDaS\run.py", line 29, in run_depth
    model = Net(model_path)
  File "D:\Projects\Python\3d_photo\MiDaS\monodepth_net.py", line 52, in __init__
    self.load(path)
  File "D:\Projects\Python\3d_photo\MiDaS\monodepth_net.py", line 88, in load
    parameters = torch.load(path)
  File "D:\Programs\miniconda3\envs\3DP\lib\site-packages\torch\serialization.py", line 525, in load
    with _open_file_like(f, 'rb') as opened_file:
  File "D:\Programs\miniconda3\envs\3DP\lib\site-packages\torch\serialization.py", line 212, in _open_file_like
    return _open_file(name_or_buffer, mode)
  File "D:\Programs\miniconda3\envs\3DP\lib\site-packages\torch\serialization.py", line 193, in __init__
    super(_open_file, self).__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'MiDaS/model.pt'

Here is the link: https://drive.google.com/file/d/1nqW_Hwj86kslfsXR7EnXpEWdO2csz1cC


Nullable property

Hi,
Dim trackable = xT1.ToolModulesL(0).CastToIChangeTrackable
Dim xOriginal As cTool_Module = trackable.GetOriginal

Error:

I want that the variable be empty, can this be solved?
Thanks.

Can you please clearify your issue.
This seems to work fine.
Sub Main

    Dim b = New Foo
    Dim t = b.AsTrackable
    t.NewProperty = Guid.NewGuid
    Dim u = t.CastToIChangeTrackable.GetOriginal

    't.Dump
    'u.Dump

End Sub

Class Foo
    Private fieldName As Guid?
    Public Overridable Property NewProperty() As Guid?


Why this test is not getting accepted

Challenge Change the Font Size of an Element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
 Please visit the Help Room if you need assistance on this.

@Manish-Giri is correct.


Does not work with the latest version of Token Action HUD Core

Describe the bug
Does not work  with the latest release of Token Action HUD Core

Steps to reproduce
Start the server with it enabled.
Versions:

Token Action HUD Core: 1.5.0
Token Action HUD SWADE: 0.7.8
Swade System: 3.2.2
Foundry VTT: 11.313
Browser: Chrome

Additional context
Any additional context.

Just to confirm, I'm getting same error  :-(

Wow. That's is a high priority issue to fix.
I'll work on this later today.

Awesome! Thanks!

A heads up that it's taking longer than I've expected. if you need to use the hud, please downgrade the core module to 1.4

Thanks for the heads up,  and for a great module

v0.7.9 should address this issue. please feel free to reopen if it doesn't.

I’ve got updated to v0.7.9testing. Can’t get to 0.7.9. Is that ok or is there a problem with the update rule?

those have the same code, but it's odd since i didn't add the testing to foundy.
today i've released the v0.8.0 that should contains the changes you need to work on v1.5+

Thanks, I've just updated to  v0.8.0.

Thanks also ... updated to v0.8.0 and core 1.5.2 and all working again


primitive_visible pipeline

pipelines/specpipes.py
primitive_visible not included in beta release

It wont work with pip install cana-asteroids or git clone -> setup.py
but works git clone -> pip install .

This issue will be fixed when we generate a new release.


bug: ion-textarea cursor is moved to first position in UWP windows apps

Bug Report
Ionic version:
[x] 4.12.0
Current behavior:

When using ion-textareawith ionic Platform windows and ionic cordova run windows -- --arch="x84" the cursor stays at position 0. So by just writing or tipping the newest Key is always placed at the start of the ion-textarea.
E.g. if you type the numbers 1 to 0 on your keyboard instead of
1234567890
the textarea holds the string
0987654321
When you hit backspace or reenter the textarea the textarea behavior is correct. So its just placing key by key on the correct position without moving the cursor to its start.
Expected behavior:

The cursor should stay at the end like in every other platform.
Steps to reproduce:

ionic start blank
ionic serve
ionic platform add windows
replace index.html base href with:   <base href="./" />
replace home.page.html ion-content with:

<ion-content>
  <ion-item>
    <ion-label position="floating">Notice</ion-label>
    <ion-textarea type="text"></ion-textarea>
  </ion-item>
</ion-content>

ionic cordova run windows -- --arch="x86"
Type something into the textarea

Ionic info:

Ionic:
   ionic (Ionic CLI)             : 4.12.0 (C:\pathTo\npm\node_modules\ionic)
   Ionic Framework               : @ionic/angular 4.6.2
   @angular-devkit/build-angular : 0.13.9
   @angular-devkit/schematics    : 7.3.9
   @angular/cli                  : 7.3.9
   @ionic/angular-toolkit        : 1.5.1

Cordova:
   cordova (Cordova CLI) : 8.1.2<EMAIL_ADDRESS>   Cordova Platforms     : windows 6.0.1
   Cordova Plugins       : not available

System:
   NodeJS : v10.10.0 (C:\Program Files\nodejs\node.exe)
   npm    : 6.4.1
   OS     : Windows 10

Thanks for the issue. I am going to close this as we do not currently support UWP Apps. The engine that powers UWP apps is an older version of Microsoft Edge that we do not support as of Ionic Framework v5.
There are plans to bring the new Chromium Edge engine to UWP apps at which point this issue should be resolved: https://blogs.windows.com/msedgedev/2019/06/18/building-hybrid-applications-with-the-webview2-developer-preview/.
Thanks!


SFTTrainer for non-packed dataset

Hi,
I am using the SFTTrainer to fine tune LLaMa 2 on this dataset .
When I set packing=False  in the SFTTrainer, I get an error which says [Unable to create tensor, you should probably activate truncation and/or padding with ‘padding=True’ ‘truncation=True’](https://discuss.huggingface.co/t/unable-to-create-tensor-you-should-probably-activate-truncation-and-or-padding-with-padding-true-truncation-true/98833).
I inspected the dataloader creation process in the SFTTrainer when we set packing=True and packing=False and noticed:

When packing is set to True, the dataloader or the training dataset created by the trainer consists of only two columns: input_ids and labels.
However, when packing is set to False, the training dataset created by the trainer consists of the columns from the huggingface dataset as well as two new fields: input_ids and attention_mask .

Even if dataset_text_field is provided when packing is set to False, the error still persists. I have tried using various combinations of formatting functions, still no difference.
I have replicated the issue here on Google Colab: https://colab.research.google.com/drive/1gG6Y0x_YLnTjNETBavpmPhfs-QA3DsCw#scrollTo=IcSN3QWxtQCn
Can someone help me out? If this issue persists, I am also interested in working on it, and come up with a PR.

Try set remove_unused_columns to True. I think the data collator can't do the padding for the string data of the huggingface dataset.

Actually, the error comes from the fact that your dataset is not properly formatted. I'd recommend using the chat format instead (see examples)


Major update

This is a pretty major update. I have changed the following things:

Seperate ftdi_context from Device instance, as it is also needed for listing devices, etc
Update libftdi1-sys to version 1.0.0
Added commands for:

ftdi_set_interface
ftdi_usb_open_desc
ftdi_usb_open_desc_index
ftdi_usb_open_bus_addr
ftdi_usb_open_string
ftdi_set_event_char
ftdi_set_error_char
ftdi_set_latency_timer
ftdi_setflowctrl
ftdi_setflowctrl_xonxoff
ftdi_read_data_set_chunksize
ftdi_write_data_set_chunksize
ftdi_read_data_submit
ftdi_transfer_data_done
ftdi_transfer_data_cancel
ftdi_read_eeprom/ftdi_eeprom_decode
ftdi_eeprom_get_strings
ftdi_usb_close

Documented all functions
Added enums for:

ftdi_interface
flow control constants

Switched ftdi_mpsse_mode enum to proper rust enum
Switched buffer flushing to use non-deprecated functions
Bumped version to 0.3.0 due to breaking changes
Updated mercpcl example

Still TODO:

Update readme

This crate is technically deprecated- I would much rather ppl use ftdi-rs because I've no plans to update this crate further (I'm not even sure I'm going to use it myself).
However, this is my fault for not putting a deprecation notice before your changes/fork, so I'll accept whatever you have when ready. Please bump the crate version to 0.3 instead of 1.0.0 however.

This crate is technically deprecated- I would much rather ppl use ftdi-rs because I've no plans to update this crate further (I'm not even sure I'm going to use it myself).
However, this is my fault for not putting a deprecation notice before your changes/fork, so I'll accept whatever you have when ready. Please bump the crate version to 0.3 instead of 1.0.0 however.

Oh dear. That's a bit of a shame.
Well I'm happy to help push these changes into ftdi-rs at a later date, although I think it would take far longer than it took to make these changes, as they seem to be doing proper RFCs and the like for that project.


Fixes transport InvalidArgumentException

This PR will fix https://github.com/laravel/framework/issues/33247  by throwing the InvalidArgumentException.
Behavior before this fix:
Undefined index: transport
Behavior after this fix:
Unsupported mail transport [mandrill].

You need to update your mail.php file when upgrading.

@driesvints Independent of the issue, the code is broken if the user is still using the legacy mail.php file. Take a look at the function:
    public function createTransport(array $config)
    {
        // Here we will check if the "transport" key exists and if it doesn't we will
        // assume an application is still using the legacy mail configuration file
        // format and use the "mail.driver" configuration option instead for BC.
        $transport = $config['transport'] ?? $this->app['config']['mail.driver'];

        if (isset($this->customCreators[$transport])) {
            return call_user_func($this->customCreators[$transport], $config);
        }

        if (trim($transport) === '' || ! method_exists($this, $method = 'create'.ucfirst($transport).'Transport')) {
            throw new InvalidArgumentException("Unsupported mail transport [{$config['transport']}].");
        }

        return $this->{$method}($config);
    }

The $config['transport'] may not exists and that's why $transport is used. In this PR, I just changed the $config['transport'] to $transport in InvalidArgumentException to avoid and undefined index exception


Bug import

https://colab.research.google.com/drive/1CmWY3mKhhlnLEy7G9yGAoIMORwrj3T9R?usp=sharing
import databricks.koalas as ks
ImportError                               Traceback (most recent call last)
 in ()
----> 1 import databricks.koalas as ks
6 frames
/content/spark-3.0.0-preview2-bin-hadoop3.2/python/pyspark/sql/utils.py in require_minimum_pyarrow_version()
175     if LooseVersion(pyarrow.version) < LooseVersion(minimum_pyarrow_version):
176         raise ImportError("PyArrow >= %s must be installed; however, "
--> 177                           "your version was %s." % (minimum_pyarrow_version, pyarrow.version))
178     if os.environ.get("ARROW_PRE_0_15_IPC_FORMAT", "0") == "1":
179         raise RuntimeError("Arrow legacy IPC format is not supported in PySpark, "
ImportError: PyArrow >= 0.15.1 must be installed; however, your version was 0.14.1.

NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.

Thanks, @GCPBigData. The error is actually from PySpark side so Koalas can't control it.


Fix minor spelling mistake, add packer_compiled.lua to .gitignore

Fixes a minor spelling mistake, adds packer_compiled.lua to .gitignore .

Closing this PR! Please re-open If you think this is a mistake.


bugs reported from extract_submodel step

[ ] error 1: buffer too large (>10000ft) for clipping river to concave hull of cross sections. Check data for NWM Reach: 1465546.
Affected reach id's: 1465986, 1465546
Example Traceback:
Traceback (most recent call last):\n File "C:\venvs\ripple1d_0_4_2\Lib\site-packages\ripple1d\api\utils.py", line 31, in wrapper\n return_value = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File "C:\venvs\ripple1d_0_4_2\Lib\site-packages\ripple1d\api\tasks.py", line 208, in _process\n return func(**kwargs)\n ^^^^^^^^^^^^^^\n File "C:\venvs\ripple1d_0_4_2\Lib\site-packages\ripple1d\ops\subset_gpkg.py", line 471, in extract_submodel\n rgs.write_ripple_gpkg()\n File "C:\venvs\ripple1d_0_4_2\Lib\site-packages\ripple1d\ops\subset_gpkg.py", line 150, in write_ripple_gpkg\n for layer, gdf in self.subset_gdfs.items():\n ^^^^^^^^^^^^^^^^\n File "C:\venvs\ripple1d_0_4_2\Lib\site-packages\ripple1d\ops\subset_gpkg.py", line 127, in subset_gdfs\n ripple_river = self.clip_river(ripple_xs, ripple_river)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "C:\venvs\ripple1d_0_4_2\Lib\site-packages\ripple1d\ops\subset_gpkg.py", line 428, in clip_river\n raise ValueError(\nValueError: buffer too large (>10000ft) for clipping river to concave hull of cross sections. Check data for NWM Reach: 1465546.\n

[ ] error 2: 'NoneType' object has no attribute 'items'
Affected reach id's: 1465716, 1465774, 1466116, 1466196,1466364,1467758,1467774, 1467802, 1467872, 1467982,1468024, 1468026, 1468054, 1468314, 1468444.
Example Traceback:
Traceback (most recent call last):\n File "C:\venvs\ripple1d_0_4_2\Lib\site-packages\ripple1d\api\utils.py", line 31, in wrapper\n return_value = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File "C:\venvs\ripple1d_0_4_2\Lib\site-packages\ripple1d\api\tasks.py", line 208, in _process\n return func(**kwargs)\n ^^^^^^^^^^^^^^\n File "C:\venvs\ripple1d_0_4_2\Lib\site-packages\ripple1d\ops\subset_gpkg.py", line 471, in extract_submodel\n rgs.write_ripple_gpkg()\n File "C:\venvs\ripple1d_0_4_2\Lib\site-packages\ripple1d\ops\subset_gpkg.py", line 150, in write_ripple_gpkg\n for layer, gdf in self.subset_gdfs.items():\n ^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: 'NoneType' object has no attribute 'items'\n

What data is this being ran on?

Source models and a sample reach are:
For the first error:
https://radiantearth.github.io/stac-browser/#/external/stac2.dewberryanalytics.com/collections/ebfe-12040101_WestForkSanJacinto/items/b71cfa42-d1f0-4088-b817-2fa9275d7d40
1465546
For second error:
https://radiantearth.github.io/stac-browser/#/external/stac2.dewberryanalytics.com/collections/ebfe-12040101_WestForkSanJacinto/items/a035d9cb-6baa-40db-8b86-922d21f084f5
1465716
There is nothing in the submodels folders as this is the first step

@slawler in which release we can target to have these bug fixes?

@mdeshotel can you take a look at these today?

The first bug was being caused by bad geometry in the source model:
.
An intersection is now performed to determine if a cross section should be used.
The second bug was being caused by having an upstream and downstream cross section that are the same. This is now checked during conflation and considered an eclipsed reach (we don't need to model it because it will be covered by the upstream/downstream reach).


[FIX] pos_longpolling: fix domain to check closed session

[IMP] add logs
[REF] _get_full_channel_name in python
[IMP] add_channel -- allow to pass thisArg

@GabbasovDinar merged


v3.8.14

Sorry, forgot to increment version number for my Clinepi text update!

Thanks, you too @moontrip!! :)


OutboundLink with target _blank Redirects in Current Window

https://github.com/flpvsk/gatsby-plugin-gtag/blob/57653fd6cd65612a84712bf0e2127e04cc2b3e53/src/index.js#L37-L39
The issue seems to be with the above line, when using OutboundLink with a target="_blank" prop, there are redirect checks in other parts of the code, but not here. If you would wrap line 38 in the same if statement as on line 42 it should fix the issue.

I just opened a MR fixing this issue

Published as v1.0.11
Thanks for the patch, @vitormv!


Leaderboard: final touches

In this PR I have:

Improved the look and feel of the application.
Kept the general layout of the wireframe.

Hello,
This is not a requirements at all, However, I'll change it no problem
On Fri, Jan 6, 2023 at 6:01 PM Victor Ebube Okoroji <
@.***> wrote:

@.**** requested changes on this pull request.
Hi @bill7pearl https://github.com/bill7pearl
While you made a great effort in this project, unfortunately, I cannot
proceed to review your code.
❌ Invalid Code Review Request
You have submitted a project, that does not have a descriptive branch
name. Your branch name seems not to correlate with the feature you worked
on. I recommend you use something like final-touches or
leaderboard-styling which is more descriptive 👍🏽 .
Your Code Review Request will be marked as invalid in your Dashboard, so
please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something
is not 100% clear.
Please, remember to tag me in your question so I can receive the
notification.
Please, do not open a new Pull Request for re-reviews. You should use the
same Pull Request submitted for the first review, either valid or invalid
unless it is requested otherwise.
Invalid Code Review Request does not count into the code reviews limit.
—
Reply to this email directly, view it on GitHub
https://github.com/bill7pearl/Leaderboard-JS/pull/3#pullrequestreview-1239116713,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASNWVPARLRA6HLA6SU24C7DWRBFVNANCNFSM6AAAAAATTIKE3M
.
You are receiving this because you were mentioned.Message ID:
@.***>


Blog should throw error when publishing not chosen

Like with events, you must chose whether a blog post should be published immediately or at a set time. However, if you don't select one of them, the post doesn't get published at all. Because we want to have users consciously decide when the post is to be published, we should not allow them to accidentally finish the form without having filled in all the required fields.
A solution might be to toast the users when they forget the publishing option and try to submit?

Not sure if this is still an issue, must be verified.

You are not able to create a Blog without setting the publish_at attribute (since we validate it in the model), so this is not an issue anymore.


Restore R utils

I restored the old version of objectEnumerationUtility.ts.
But I do not understand why this is necessary if you can use parseSettings method to get full settings object

@MrMeison,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Where do I submit questions like "How do I..."?

I have the following question but can't find any other place to submit it..
I am trying to dynamically create a Schema...
e.g.
var dynamicPathName = "author";
var dynamicPathType = "String";
var mySchema = new Schema();
var o = new Object();
o[dynamicPathName] = dynamicPathType;
mySchema.add(o);

Unfortunately this does not work....
So I guess two questions...

Where do I submit the previous question about dynamically created Schema's
Is there an answer to the previous question about dynamically created Schema's

heres the google group: http://groups.google.com/group/mongoose-orm
irc: #mongoosejs
Github issues should be for reporting bugs, submitting fixes etc.

dynamicPathType should probably be set to String instead of "String".


Replace specials helpers arguments by dedicated functions

fixes https://github.com/jolicode/castor/pull/108
TODO:

[x] Update code
[x] update example / tests
[x] Update doc

Important

this is not possible to name a function var() (reserved keyword)
it's a bad idea to name function application, command, context, because it will conflict with associated types!

I think I forgot the readme.

Should we add documentation for all the new functions for better discoverability?

Good idea! I reviewed all the doc BTW! I hope you'll like the new version

@pyrech Thanks for the review 👍🏼


Actual Issue

how to create multiple users on docker container which created by using repo2docker. how to install packages and give sudo access to the users on repo2docker.

Hi All,
I'm trying to build docker image by using repo2docker tool.
repo2docker --user-name antony --user-id 1000 https://github.com/sunworshipper/wavedock
     It's working fine with this command and I'm able to get docker image.

docker -dit --name
To build docker container .

docker exec -it  /bin/bash.
     By using this i can access docker container with bash prompt.I'm trying to create new users in side the container but i'm getting error " only ROOT user can create users" .

Can we create root account inside a docker container while using with repo2docker? if yes please provide me the necessary steps ,if no can you please provide how to get sudo access inside the container which is built by using repo2docker?
2.How to install packages or libraries inside a container without sudo access?

Thanks in advance! quick response should be more grateful.

Hi there 👋!
Can we move this discussion to http://discourse.jupyter.org/ (where most of the people who hang out here also hang out, as well as more people). We are trying to streamline the different discussion places and want to use the issues on GitHub repos for technical discussions on how to change the contents of the repo. More general discussions should go to discourse so that they are easier to find, better indexed by google and generally more accessible than being hidden in the bowls of a GitHub repository ;)
Thanks!


Remove containerService.json from new release

Related removal of .Net SDK tests for ContainerService: https://github.com/Azure/azure-sdk-for-net/pull/17845
Original PR, signoff from breaking change team: https://github.com/Azure/azure-rest-api-specs/pull/12324
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of “no breaking changes
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

Adding Jeffrey for visibility with the breaking change team. He already signed off on this in the original PR. No further ask from you needed.

Adding Jeffrey for visibility with the breaking change team. He already signed off on this in the original PR. No further ask from you needed.

/azp run

/azp run

/azp run

/azp run


C syntax highlighting is wrong when a #define contains the beginning of a switch block

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.70.2 (user setup)
Commit: e4503b30fc78200f846c62cf8091b76ff5547662
Date: 2022-08-16T05:35:13.448Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS Version: Windows 10 21H2 (Windows_NT x64 10.0.19044)
Theme: Dark+ (default dark)

Steps to Reproduce:

Create a new file
Set the language to C
Use a #define containing the beginning of a switch block, like in the following example code:

#include <stdio.h>

#define DISPATCH() switch (command) {
#define INSTRUCTION(i) case (i):
#define DISPATCH_END() }

int main(int argc, char* argv[]) {
    int command, a, b, r;
    scanf("%d %d %d", &command, &a, &b);

    DISPATCH()
    INSTRUCTION(0)
        r = a + b;
        break;
    INSTRUCTION(1)
        r = a - b;
        break;
    INSTRUCTION(2)
        r = a * b;
        break;
    INSTRUCTION(3)
        r = a / b;
        break;
    default:
        r = a;
    DISPATCH_END()

    printf("%d\n", r);
    return 0;
}

The highlighting will be wrong. Most of the code in main should be white, but will instead be blue. The difference can be seen easily by removing the line containing #define DISPATCH() ....

The code itself is completely valid and has thus far not failed to compile in any C compiler I have tried. As far as I can tell, it is completely standards-compliant ANSI C code.
Removing the left/opening brace from that line fixes the issue only partially. Removing switch fixes it completely.
Correct(ish) syntax highlighting (without the #define DISPATCH()...)

Incorrect syntax highlighting (with the #define DISPATCH()...)

Belongs in https://github.com/microsoft/vscode-cpptools? I can move the issue there

Thank you for all the details! I've moved the issue over to https://github.com/jeff-hykin/better-cpp-syntax/issues/603, which is the repo that we get our C syntax highlighting grammar from.


Simple version of the iOS back gesture.

Doesn't do any of the fancy effects. Just lets the user control the
back transition by sliding from the left, like a drawer. Hero
transitions are disabled during the gesture.
BUG=https://github.com/flutter/flutter/issues/4817

There's a bit of a delay (at least in Slow Mode) when first sliding the previous page from the left, likely due to rebuilding it. We might need to cache a snapshot of the routes to speed up the transition.

The overall approach here is good but I think the API itself should be tweaked a bit.
I think rather than just exposing the controller directly, and having start/stop methods for the user gesture, I would hand the navigator (or maybe the route) the pointer directly, and have the navigator (or route) then do the gesture recognition. This would remove the method pair on the API, and would mean the owner of the animation controller could directly control the animation, instead of handing it out to another object and just trusting that that other object doesn't do bad things with it.

What are the fancy effects that this doesn't do?

I would hand the navigator (or maybe the route) the pointer directly

Which pointer?

What are the fancy effects that this doesn't do?

Probably among other things, the native ios gesture keeps the app bar and back button in tact, while slowly animating and fading in the previous route's title.

I would hand the navigator (or maybe the route) the pointer directly
Which pointer?

Basically, I'd replace the GestureDetector with a PointerListener and pass any pointer down events it sees to the route, which would then pass them to its own local drag gesture recognizer.

Probably among other things, the native ios gesture keeps the app bar and back button in tact, while slowly animating and fading in the previous route's title.

Ah, interesting. For us, those are hero animations. So that might be incompatible with preventing heroes.
Maybe we should reach out to the material UX people and see what they want us to do when we're doing the back gesture on iOS between two pages whose transition normally includes heroes. @sethladd?

Filed https://github.com/flutter/flutter/issues/5535 to track this last issue.

OK, I've addressed all of your comments except for the one about removing MaterialPageRoute.canTransitionFrom. I'm not sure what to do there yet.

Crap. I just noticed that using forwardAnimation in the transition breaks Hero animations when pop()ing. Investigating.

OK, I pushed a new version addressing the Hero ugliness. We now only use iOS-style transitions when doing the user gesture. The BackGestureController also lives until the transition is complete, so we can disable Heroes for the full transition.


JDBC driver doesn't support CTEs

Driver version
Driver version : latest (9.4.0). It is actually the driver that is natively included with Synapse Spark pool
SQL Server version
Microsoft SQL Azure (RTM) - 12.0.2000.8
Client Operating System
Azure Synapse Apache Spark pool (Spark v2 and v3 are impacted)
JAVA/JVM version
the JVM natively included with Azure Synapse Apache Spark pool (Spark v2 and v3 are impacted)
Problem description

Expected behaviour: queries with CTEs should execute normally and provide the same results as when they are being run from SSMS

Actual behaviour: Any SQL query containing one or more CTEs do not run, on Synapse Apache Spark we get the following error when trying to run a query with "WITH Cte_Name AS (SELECT Something FROM AnyTable) SELECT * FROM Cte_Name"

Error message/stack trace:

Py4JJavaError: An error occurred while calling o217.load.
: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near the keyword 'WITH'.
	at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:262)
	at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1632)
	at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:602)
	at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:524)
	at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7375)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:3206)
	at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:247)
	at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:222)
	at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:446)
	at org.apache.spark.sql.execution.datasources.jdbc.JDBCRDD$.resolveTable(JDBCRDD.scala:61)
	at org.apache.spark.sql.execution.datasources.jdbc.JDBCRelation$.getSchema(JDBCRelation.scala:226)
	at org.apache.spark.sql.execution.datasources.jdbc.JdbcRelationProvider.createRelation(JdbcRelationProvider.scala:35)
	at org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:355)
	at org.apache.spark.sql.DataFrameReader.loadV1Source(DataFrameReader.scala:325)
	at org.apache.spark.sql.DataFrameReader.$anonfun$load$3(DataFrameReader.scala:308)
	at scala.Option.getOrElse(Option.scala:189)
	at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:308)
	at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:226)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
	at py4j.Gateway.invoke(Gateway.java:282)
	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
	at py4j.commands.CallCommand.execute(CallCommand.java:79)
	at py4j.GatewayConnection.run(GatewayConnection.java:238)
	at java.lang.Thread.run(Thread.java:748)

Traceback (most recent call last):

  File "/opt/spark/python/lib/pyspark.zip/pyspark/sql/readwriter.py", line 210, in load
    return self._df(self._jreader.load())

  File "/home/trusted-service-user/cluster-env/env/lib/python3.8/site-packages/py4j/java_gateway.py", line 1304, in __call__
    return_value = get_return_value(

  File "/opt/spark/python/lib/pyspark.zip/pyspark/sql/utils.py", line 111, in deco
    return f(*a, **kw)

  File "/home/trusted-service-user/cluster-env/env/lib/python3.8/site-packages/py4j/protocol.py", line 326, in get_return_value
    raise Py4JJavaError(

py4j.protocol.Py4JJavaError: An error occurred while calling o217.load.
: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near the keyword 'WITH'.
	at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:262)
	at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1632)
	at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:602)
	at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:524)
	at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7375)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:3206)
	at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:247)
	at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:222)
	at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:446)
	at org.apache.spark.sql.execution.datasources.jdbc.JDBCRDD$.resolveTable(JDBCRDD.scala:61)
	at org.apache.spark.sql.execution.datasources.jdbc.JDBCRelation$.getSchema(JDBCRelation.scala:226)
	at org.apache.spark.sql.execution.datasources.jdbc.JdbcRelationProvider.createRelation(JdbcRelationProvider.scala:35)
	at org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:355)
	at org.apache.spark.sql.DataFrameReader.loadV1Source(DataFrameReader.scala:325)
	at org.apache.spark.sql.DataFrameReader.$anonfun$load$3(DataFrameReader.scala:308)
	at scala.Option.getOrElse(Option.scala:189)
	at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:308)
	at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:226)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
	at py4j.Gateway.invoke(Gateway.java:282)
	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
	at py4j.commands.CallCommand.execute(CallCommand.java:79)
	at py4j.GatewayConnection.run(GatewayConnection.java:238)
	at java.lang.Thread.run(Thread.java:748)

Any other details that can be helpful:
The query doesn't even get run the SQL Server instance, when trying to capture the query using the Profiler, we can't see any query being executed.

A wrongfully Closed github issue was also declared here, with several commentators :
https://github.com/microsoft/mssql-jdbc/issues/1340
Reproduction code
Try running ANY sql query with a CTE, for example the one in my previous example

hi @Yasston
I looked at issue #1340 that was closed due to the the fact that the query generated by Spark contain syntax that is not valid in SQL Server.  I see that an issue was opened in Spark about that.
In this case, you mentioned you did not see a query being executed in Profiler so sounds like the driver is catching a SQL syntax error before sending to the server. Can you pls tell us what that exact query is and verify that the query runs using SSMS?
One thing that comes to mind, is please make sure the names containing special characters are escaped properly.
We do have tests using CTEs in our test lab that all run fine we are not aware of any issues with executing CTE queries. Could you please provide a simple java program and a schema which repro this issue here.
Thanks

Hello @lilgreenbird ,
Sure I can give you an example, you can actually run ANY query with a CTE, even a dummy one as I'm going to show in my example. One thing I want to stress is that I am seeing the problem in the jdbc connector that appaearently was specifically made by MS for Spark, but since many people have commented on issue #1340 , I'm thinking the issue applies for this jdbc connector as well.
With that being said :
Perfectly working example in SSMS :

Same query in Synapse Spark pool using the SQL Server jdbc driver (cf. issue I declared here : https://github.com/microsoft/sql-spark-connector/issues/147) :

Same query but without CTE, running fine in Synapse Spark pool using the SQL Server jdbc driver :

As you can see, it's pretty easy to reproduce the issue.
Hope this helps. Thank you

hi @Yasston
I ran your query in a simple java app with no problems. I'm not familiar and not sure what's happening with your application in Synapse Spark and why it's giving you errors? I would suggest that you try your queries using the driver directly in a simple standalone java app.
fyi if you look at our junit tests there are many examples of queries containing CTEs.

@Yasston, @lilgreenbird
I opened up a new Spark issue hopefully there is some help to get this feature added, otherwise you can patch the code yourself to get these to run. After doing this patches then both the jdbc, in addition to the CTE query the temp table queries also work
https://issues.apache.org/jira/browse/SPARK-37259

@Yasston, @siggemannen, @supunt, @ankitbko, @ypv0rfh, @lilgreenbird
Did you find any solution to this error? I am finding the same error.
I have checked with the latests build:
<dependency>
    <groupId>com.microsoft.sqlserver</groupId>
    <artifactId>mssql-jdbc</artifactId>
    <version>10.2.0.jre8</version>
</dependency>

I had created an issue with the Spark and there was two people that had submitted PR with possible solution however they were not pushed to the end, i had tested them both, then it looks like they were closed for the timeout.
I have been using the custom code I did initially to work and that has been working out great for us

And how can I use your solution from Databricks Cluster 9.1 using pyspark? @KevinAppelBofa

I have contacted Databricks Support Teams and they have told me that they will push this PRs to get them integrated on Spark Core.


added HolstCh profile name and link to CONTRIBUTORS.md

Hey there,
Thanks for your PR & contribution :wave:!
Don't forget to join follow me, join our organization, & follow our organization to stay updated with the latest developments 💻
Thank you, and have a good day ahead 😊


Extension causes high cpu load

Issue Type: Performance
Extension Name: psi-header
Extension Version: 1.15.2
OS Version: Windows_NT x64 6.1.7601
VS Code version: 1.57.1

:warning: Make sure to attach this file from your home-directory:
:warning:c:\Users\pc\AppData\Local\Temp\psioniq.psi-header-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

So, any clues? What were you doing when this happened?  Were you adding a heading? Were you saving changes to a file that already had a header? What other extensions are you using? Did you read the warning message in what you posted and if so where is the file that it told you to attach?

I am closing this because I can't do anything with the information provided. Feel free to re-open and provide some more detail.


Remove value field from Merkle proofs

Closes #145
The verify method for Merkle proofs now takes in the value to be proved as an argument, and the value field no longer exists. The verify method for the MerkleTree struct was removed, as it was redundant with the Proof one.
Because of this change, the FriDecommit struct now has an extra field with the evaluations on each layer, so the verifier can check the provided merkle proofs against them.

[x] New feature
[x] Bug fix

Checklist

[x] Linked to Github Issue

Codecov Report

Merging #150 (2d8ed7e) into main (f9ef87e) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #150      +/-   ##
==========================================
- Coverage   95.02%   95.01%   -0.01%
==========================================
  Files          49       49
  Lines        5382     5374       -8
==========================================
- Hits         5114     5106       -8
  Misses        268      268

Impacted Files
Coverage Δ

crypto/src/merkle_tree/mod.rs
100.00% <ø> (ø)

crypto/src/merkle_tree/merkle.rs
94.93% <100.00%> (-1.65%)
:arrow_down:

crypto/src/merkle_tree/proof.rs
99.25% <100.00%> (+0.21%)
:arrow_up:

proving-system/stark/src/fri/fri_decommit.rs
98.03% <100.00%> (+0.12%)
:arrow_up:

proving-system/stark/src/lib.rs
97.15% <100.00%> (+0.15%)
:arrow_up:

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


wait for other afterBuild finished

Hi I just noticed that if there is some other plugin that creates files in the output dir via api.afterBuild it happens that the brotoli plugin fails to compress all the files.
Is there some way to wait for all other plugins to finish?
For testing I added in the plugin on line 10 in the function api.afterBuild(async ({ config }) => {
await new Promise(resolve => setTimeout(resolve, 1));
and this was on my system enough to wait for the finish of the @microflash/gridsome-plugin-feed plugin that generates rss and atom feeds that then are compressed by the brotoli plugin.
Regards
Alex

Hi, I'm seeing very much the same as @agaengel. I'm using brotli plugin and also gridsome-plugin-feed. Brotli plugin is failing on writeFileAsync here on line 24.
Usually happens for just a few files, e.g. in this run, only 2 out of 53 files failed. Here's the output:

Output

Compressing build with Brotli...
{
  destFileName: '/Users/presenter/repos/jurooravec-site/new/jurooravec-site/dist/public/assets/data/contact/index.json.br',
  destFilePath: '/Users/presenter/repos/jurooravec-site/new/jurooravec-site/dist/public',
  srcFileName: '/Users/presenter/repos/jurooravec-site/new/jurooravec-site/dist/public/assets/data/contact/index.json',
  err: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received null
      at writeFile (node:fs:2106:5)
      at node:internal/util:360:7
      at new Promise ()
      at writeFile (node:internal/util:346:12)
      at compressFile (/Users/presenter/repos/jurooravec-site/new/jurooravec-site/node_modules/gridsome-plugin-brotli/worker.js:25:11) {
    code: 'ERR_INVALID_ARG_TYPE'
  }
}
{
  destFileName: '/Users/presenter/repos/jurooravec-site/new/jurooravec-site/dist/public/assets/data/about/index.json.br',
  destFilePath: '/Users/presenter/repos/jurooravec-site/new/jurooravec-site/dist/public',
  srcFileName: '/Users/presenter/repos/jurooravec-site/new/jurooravec-site/dist/public/assets/data/about/index.json',
  err: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received null
      at writeFile (node:fs:2106:5)
      at node:internal/util:360:7
      at new Promise ()
      at writeFile (node:internal/util:346:12)
      at compressFile (/Users/presenter/repos/jurooravec-site/new/jurooravec-site/node_modules/gridsome-plugin-brotli/worker.js:25:11) {
    code: 'ERR_INVALID_ARG_TYPE'
  }
}
Brotli compressed 53 files in 40.545 s

When I try / catch the writeFileAsync call, the brotli files are not created for the failed files, but at least it doesn't crash the build.

@thetre97 I made an MR here https://github.com/thetre97/gridsome-plugin-brotli/pull/10. It doesn't fix the issue per se, but it does allow the build to complete even if some files fail to be compressed.

@agaengel @thetre97 Thanks a lot, I've just used @agaengel's plugin and it works well!


Search doesn't do anything on ja.quarkus.io

I'm not sure why, but the changes to https://github.com/quarkusio/quarkusio.github.io/pull/1825 seem to have been taken into account only partially on localized websites. Search on this page doesn't do anything: https://ja.quarkus.io/guides/
I thought localized sites were using the same HTML, just with text content replaced with translations, but it would seem that assumption was wrong; some of the HTML gets overridden, too?
In particular I have this structure on Quarkus.io (and we've had that structure since early last week, so before the last sync):

But on ja.quarkus.io we have this:

See also https://github.com/quarkusio/quarkusio.github.io/blob/317cacbcd097a4f51c7ac4f895c3b9a3759f7cac/guides/index.html#L135-L153 vs. https://github.com/quarkusio/ja.quarkus.io/blob/98dc257bb29ecaeb855542bb7650eca903ceb2ec/docs/guides/index.html#L136-L148
Do you have any idea what's going on, @ynojima?

Interestingly:

It also doesn't work on https://pt.quarkus.io/guides/
It does work on https://es.quarkus.io/guides/ and http://cn.quarkus.io/guides/

Thank you for pointing this out.
Addressed in https://github.com/quarkusio/ja.quarkus.io/pull/1106 for ja.quarkus.io

I thought localized sites were using the same HTML, just with text content replaced with translations, but it would seem that assumption was wrong; some of the HTML gets overridden, too?

For most parts, files are parsed and sentences are replaced automatically, but in some HTML template files, templates contain template directives and they prevent the HTML parser to process the template files.
For these template files, we prepare manually translated files(https://github.com/quarkusio/ja.quarkus.io/tree/main/l10n/override/ja_JP) and override the original files to translate them.
Some localized sites that already translated HTML templates are affected, and other localized sites that haven't translated HTML templates are not affected.

Now the search starts working on ja.quarkus.io. Thank you for adding this awesome feature!

Thanks for fixing this!


Is it possible to speed up the processing?

Hi @zhicwu
I've made simple comparison between different ways of creating table from remote PostgreSQL source:
create or replace table postgresql_jdbc_source engine = MergeTree order by tuple() as
select * from jdbc('jdbc:postgresql://ip:5432/microsoft_contoso_integration_100k?user=postgres&password=', 'select * from factofflinesalesdenormalized');
-- 0 rows in set. Elapsed: 8.700 sec.

create or replace table postgresql_native_source engine = MergeTree order by tuple() as
select * from postgresql('ip:5432','microsoft_contoso_integration_100k','factofflinesalesdenormalized','postgres','');
-- 0 rows in set. Elapsed: 3.144 sec.

create or replace table postgresql_jdbcx_source engine = MergeTree order by tuple() as
select *
from url('http://ip:8080/query?q=%7B%7Bdb%28url%3Djdbc%3Apostgresql%3A%2F%2Fip%3A5432%2Fmicrosoft_contoso_integration_100k%3Fuser%3Dpostgres%26password%%29%3Aselect%20%2A%20from%20factofflinesalesdenormalized%7D%7D', CSV)
0 rows in set. Elapsed: 12.784 sec.

Table contains ~170 cols, 100K rows, ~180 Mb data.
jdbcx slower than others.
It it possible to tune jdbcx? Maybe changing parsing format from CSV to other or something else.
And another question: what will be with clickhouse-jdbc-bridge? It is out of support. Will jdbcx replace it?
Thank you!

Hi @ruslanen, thanks for sharing the test results.
Just tested against a live table with 20 columns and over 500K rows. The resulting table in ClickHouse occupies approximately 125MB of disk space.
-- 1. CSV with column definitions
-- 19s, 578,735 rows
-- 18s, 578,736 rows
-- 18s, 578,736 rows
CREATE OR REPLACE TABLE ttt_pr engine=MergeTree ORDER BY tuple() AS
SELECT *
FROM url('http://<bridge server>/query?f=csv&q=%7B%7B+db.my-postgres%3A+SELECT+%2A+FROM+my_table+%7D%7D', CSVWithNames, '<column definitions>')

-- 2. CSV without column definitions - ClickHouse will send the same query twice to bridge server
-- 24s, 578,738 rows
-- 26s, 578,739 rows
-- 25s, 578,743 rows
CREATE OR REPLACE TABLE ttt_pr engine=MergeTree ORDER BY tuple() AS
SELECT *
FROM url('http://<bridge server>/query?f=csv&q=%7B%7B+db.my-postgres%3A+SELECT+%2A+FROM+my_table+%7D%7D', CSVWithNames)

-- 3. ArrowStream with column definitions
-- 16s, 578,744 rows
-- 16s, 578,747 rows
-- 14s, 578,749 rows
CREATE OR REPLACE TABLE ttt_pr engine=MergeTree ORDER BY tuple() AS
SELECT *
FROM url('http://<bridge server>/query?f=arrows&q=%7B%7B+db.my-postgres%3A+SELECT+%2A+FROM+my_table+%7D%7D', ArrowStream, '<column definitions>')

-- 4. RowBinary
-- 16s, 578,766 rows
-- 16s, 578,766 rows
-- 17s, 578,766 rows
CREATE OR REPLACE TABLE ttt_pr engine=MergeTree ORDER BY tuple() AS
SELECT *
FROM jdbc('my-postgres', 'SELECT * FROM my_table')

-- 5. ArrowStream (similar to Q3)
-- 14s, 578,769 rows
-- 15s, 578,770 rows
-- 14s, 578,772 rows
CREATE OR REPLACE TABLE ttt_pr engine=MergeTree ORDER BY tuple() AS
SELECT *
FROM {{ bridge(mode=a,format=arrows): {{ db.my-postgres: SELECT * FROM my_table \}} }}

-- 6. ArrowStream(compressed using zstd)
-- 15s, 578,775 rows
-- 15s, 578,778 rows
-- 15s, 578,780 rows
CREATE OR REPLACE TABLE ttt_pr engine=MergeTree ORDER BY tuple() AS
SELECT *
FROM {{ bridge(mode=a,format=arrows,compression=zstd): {{ db.my-postgres: SELECT * FROM my_table \}} }}

-- 7. CSV (similar to Q1)
-- 18s, 578,780 rows
-- 19s, 578,780 rows
-- 18s, 578,780 rows
CREATE OR REPLACE TABLE ttt_pr engine=MergeTree ORDER BY tuple() AS
SELECT *
FROM {{ table.db.my-postgres: SELECT * FROM my_table }}

Basically, to achieve better performance:

it's recommended to specify column definition when using url table function, or ClickHouse may trigger the same query multiple times, which is why Q2 is slower than Q1
consider binary data format especially ArrowStream, if you don't have complex data types like array etc.
consider compression for cross-datacenter queries

I'm not aware of the current status of clickhouse-jdbc-bridge support, as it ultimately depends on the company and community. I've switched to JDBCX a while ago for several reasons:

Using table functions with nested query can be cumbersome due to quote escaping issues.
The url table function in ClickHouse offers better support than jdbc, with minimal performance differences.
JDBCX enables dynamic queries, such as those demonstrated in https://github.com/jdbcx/jdbcx/pull/52#issue-2190648645.
As I occasionally use DuckDB for processing small datasets, I require a database-agnostic solution for query federation.

Regarding your specific question, when it comes to dumping a table from PostgreSQL to ClickHouse, it's generally more efficient to utilize the native postgresql function for optimal performance. However, if you need to access multiple data sources, perform data slicing, or require more runtime flexibility, JDBCX, Trino, or JDBC-Bridge may be necessary.

Big thanks for your research!


DT: accept standard syntax for phandle in chosen node

Is your enhancement proposal related to a problem? Please describe.
I am using a modified edtlib to preprocess the DT for code generation. The modified variant can attach a binding to the chosen node. This is mostly for error detection but also to create some chosen properties for OOT usage.
The edtlib normal node handling, which is enforced by using the binding for chosen,  expects standard syntax for a phandle.
	chosen {
		zephyr,console = <&uart1>;
	};

Zephyr edtlib/dtlib expects a special syntax in the chosen node (which IMO is not in line with the device tree specification):
	chosen {
		zephyr,console = &uart1;
	};

The Zephyr build process uses the unmodified edtlib and bails out while in kconfig:
dtlib.DTError: expected property 'zephyr,console' on /chosen in ..._build/zephyr/refboard.dts.pre.tmp to be assigned with either 'zephyr,console = &foo' or 'zephyr,console = "/path/to/node"', not 'zephyr,console = < &uart1 >;'

Describe the solution you'd like
Make the DT chosen node accept standard syntax for phandle.
Ideally treat the chosen node as a normal node with an (automagically) attached binding. Change the device tree to use standard syntax in chosen nodes.  This allows all types of values in the chosen node; not only phandles as it is the case currently.
Additional context
Modifications to edtlib that allows the /chosen node to be handled as a normal node with a compatible 'chosen' binding:
In Node class:
def _init_binding(self):
    ...

    if "compatible" in self._node.props:
        self.compats = self._node.props["compatible"].to_strings()
    elif self._node.name == "chosen":
        # use default compatible for chosen node
        self.compats = ["chosen"]
    else:
        self.compats = []

    if self.compats:
        on_bus = self.on_bus

        for compat in self.compats:
            if (compat, on_bus) in self.edt._compat2binding:
                # Binding found
                self.matching_compat = compat
                self._binding, self.binding_path = \
                    self.edt._compat2binding[compat, on_bus]
                return
    else:
        # No 'compatible' property. See if the parent binding has a
        # 'child-binding:' key that gives the binding (or a legacy
        # 'sub-node:' key).
        binding_from_parent = self._binding_from_parent()
        if binding_from_parent:
            self._binding = binding_from_parent
            self.binding_path = self.parent.binding_path
            self.matching_compat = self.parent.matching_compat
            print(self.matching_compat, self.binding_path)
            return

    # No binding found
    self._binding = self.binding_path = self.matching_compat = None

In edtlib.py on global scope:
def _dt_compats(dt):
    # Returns a set() with all 'compatible' strings in the devicetree
    # represented by dt (a dtlib.DT instance)

    compats = [compat
                for node in dt.node_iter()
                    if "compatible" in node.props
                        for compat in node.props["compatible"].to_strings()]
    compats.append('chosen')
    return {*compats}

The 'chosen' binding:
description: Chosen properties

compatible: "chosen"

properties:
    stdout-path:
        type: string
        required: false
        description: >
          Device to be used for boot console output
          If the character ":" is present in the value, this terminates the path.
          The meaning of any characters following the ":" is device-specific, and
          must be specified in the relevant binding documentation.
          For UART devices, the preferred binding is a string in the form:
            path:<baud>{<parity>{<bits>{<flow>}}}
          where
            path    - path of uart device
            baud	- baud rate in decimal
            parity	- 'n' (none), 'o', (odd) or 'e' (even)
            bits	- number of data bits
            flow	- 'r' (rts)
          For example: 115200n8r

    zephyr,flash:
        type: phandle
        required: false
        description: TBD

    zephyr,sram:
        type: phandle
        required: false
        description: TBD

    zephyr,ccm:
        type: phandle
        required: false
        description: TBD

    zephyr,console:
        type: phandle
        required: false
        description: TBD

    zephyr,shell-uart:
        type: phandle
        required: false
        description: TBD

    zephyr,bt-uart:
        type: phandle
        required: false
        description: TBD

    zephyr,uart-pipe:
        type: phandle
        required: false
        description: TBD

    zephyr,bt-mon-uart:
        type: phandle
        required: false
        description: TBD

    zephyr,uart-mcumgr:
        type: phandle
        required: false
        description: TBD

x = &foo is a path reference, and expands to x = "/path/to/node/with/label/foo", while x = <&foo> is a phandle reference, and expands to e.g. x = <5>.
There's no special handling for chosen. It's just that chosen normally contains path references instead of phandle references.
Seems to be used with path references in Linux too. See e.g. arch/arm/boot/dts/am335x-guardian.dts:
chosen {
	stdout-path = &uart0;
	tick-timer = &timer2;
};

There's no type: for path references at the moment though, like type: path. Maybe that could be added.
On the dtlib end, there's Property.to_path(), but the only thing that uses it at the moment is the EDT.chosen_node() helper.

Added support for a path type that might be useful: https://github.com/zephyrproject-rtos/zephyr/pull/21625

@ulfalizer, thank you for the fast response.
I applied #21625 to Zephyr and also use the changed edtlib.py for code generation. It works, thanks!
I now use the path type in the 'chosen' binding:
description: Chosen properties

compatible: "chosen"

properties:
    stdout-path:
        type: string
        required: false
        description: ...

    zephyr,flash:
        type: path
        required: false
        description: TBD

    ...

Out of curiosity I tested the following chosen node:
	chosen {
		stdout-path = "/soc/uart1:115200n8r";
		zephyr,console = &uart1;
	};

I works too. I assume it only works because the EDT.chosen_node() helper is never called for "stdout-path", which is okay for me because the non Zephyr properties in the chosen node are only used in code generation.

Out of curiosity I tested the following chosen node:
	chosen {
		stdout-path = "/soc/uart1:115200n8r";
		zephyr,console = &uart1;
	};

I works too. I assume it only works because the EDT.chosen_node() helper is never called for "stdout-path", which is okay for me because the non Zephyr properties in the chosen node are only used in code generation.

Yup, the type is only checked if Property.to_path() in dtlib gets called (e.g. by EDT.chosen_node()).

#21625 works for me. Will go on with the idea to attach a default binding to the chosen node.


iPad style

I want to use side menu as master view for iPad. Is it possible?

UISplitViewController support this natively similar to what SideMenu offers. Beyond that, you can continue to use SideMenu normally. You'll have to be more specific about what you need SideMenu to do that it doesn't already do.


Fix streaming xnli

This code was failing

In [1]: from datasets import load_dataset

In [2]:
   ...:         ds = load_dataset("xnli", "all_languages", split="test", streaming=True)
   ...:
   ...:         sample_data = next(iter(ds))["premise"]  # pick up one data
   ...:         input_text = list(sample_data.values())

File ~/hf/datasets/src/datasets/features/translation.py:104, in TranslationVariableLanguages.encode_example(self, translation_dict)
    102     return translation_dict
    103 elif self.languages and set(translation_dict) - lang_set:
--> 104     raise ValueError(
    105         f'Some languages in example ({", ".join(sorted(set(translation_dict) - lang_set))}) are not in valid set ({", ".join(lang_set)}).'
    106     )
    108 # Convert dictionary into tuples, splitting out cases where there are
    109 # multiple translations for a single language.
    110 translation_tuples = []

ValueError: Some languages in example (language, translation) are not in valid set (ur, fr, hi, sw, vi, el, de, th, en, tr, zh, ar, bg, ru, es).

because in streaming mode we expect features encode methods to be no-ops if the example is already encoded.
I fixed TranslationVariableLanguages to account for that

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Can the asWorkspaceEdit in protocolConverter exposed as a utility method?

Here is the background for the question.
In Java extensions, sometimes the extension may need to resolve some LSP-formatted workspace edit in their Java OSGI bundle, for example:

Resolving a quickfix for a Checkstyle violation
Generating a test class for a focal class

and when the LSP-formatted workspace edit return to the typescript side, they need to be converted to the VS Code's format before calling workspace.applyEdit().
The method asWorkspaceEdit() is an instance method inside the language client, it's not easy for the Java extensions (Test Runner, Checkstyle, etc...) to do such converts since they do not have a language client instance. Is it possible to make it as a utility method?
@dbaeumer Do you have any suggestion on this? Or do I miss any background context here?
Thanks in advance!

The protocol converter depends on the URI converter which is set by the client. You can always import the protocol converter directly and instantiate your own if you need to.
import * as codeConverter from 'vscode-languageclient/lib/common/codeConverter';
import * as protocolConverter from 'vscode-languageclient/lib/common/protocolConverter';

I don't have any plans to make the official API sine it will not allow me to restructure the code if needed.
Will this work for you?

Thank you @dbaeumer, I think this is a good idea!
I'm also thinking about export an API from the Java Language extension side, which converts the protocol edit to code edit. The benefit of this is that the implementation will always be align with the real language client. On the other hand, this is also a little bit wired since the convert thing is not a Java specific functionality, but we put it as an API.
Do you have any preference for this?

If you expose such an API I would always only forward to the above converters. Then you can catch up with changes.

Thank you for the help. I think I can first use the above import statement. If in the future there are more use scenarios, we can consider make it as an extension API for the Java Language Server extension. :)


Why this plug-in isn't using a more recent PDF.js version than 2.3.200?

Why in you plug-in you are using more than a year-old version of PDF.js? Compatibility issues or some other reason?

Because that's what the plugin was using when I took it over. I tried an upgrade once and users ran into a lot of issues, so I reverted. I have plans to update it again, but haven't gotten to it yet.

The PDFjs source code was updated a month or so ago to use  v 2.6.347.


💖 looking for lxd maintainers

I've ported the old LXD driver to the new driver plugin structure (aka like the others):
https://github.com/DeliBooth/molecule-lxd
It works for my roles but is not tested even further. I got it to work with:
molecule>=3.0.2
git+ssh://github.com/DeliBooth/molecule-lxd.git@master#egg=molecule-lxd

At the moment there are no tests and CI/CD implemented. If you can help me with CI/CD (Compute Resources + Configuration) I would maintain the driver implementation and tests.
Can we run some kind of integration test?

@baloo42 Please make PR and check the "allow maintainers to update this PR", I will takeover from there and add the missing CI bits.

The repository is not initialized, so I can't create a fork/PR.
Can you clone and push my repo to make it a base for further PRs? or something else?

I managed to bootstrap the driver but this does not mean it is usable. Still, from this moment you can start proposing pull request to bring it to the desired state.
CI jobs are running and likely you will want to update the bindep.txt or tools/test-setup.sh files in order to pre-configure LXD on the test hosts. If you need any help, feel free to mention me.

Started with PR https://github.com/ansible-community/molecule-lxd/pull/3

I invited @snesbittsea to take care of the project maintenance but the invitation for others to join remains open.

@ssbarnea could you add me also?

I've had problems getting responses to emails or comments made in github. You might contact zbr (aka @ssbarnea) on IRC at #ansible-molecule.
zbr has indicated that multiple maintainers are desired. If you become a maintainer, let me know what you want to work on. We need (I believe) to:
I'm going to add/update some issues. Let me know which ones you want to take on.
Thx!!
-steve

@bonddim done! I will elevate your privileges once I see few pull-requests.

I gave @bonddim @snesbittsea @baloo42  write access and required at least one review before merging to master branch.
Use me as fallback if you need help merging.

As this plugin was not updated for a long time as of today I am removing it from official list of molecule plugins.
For example one expectation that we have is that maintainers are present in our devtools channel and that they ensure that plugins to get updates needed in order to make them work with newer versions of ansible, molecule and other dependencies.
I will be happy to add it back if the situation improves.


Figures of merit using bilinear fit and bootstrap calibration curves

This pull request takes just the calibration curve part of PR #2572 (optimize transitions dialog)
On the "Quantification" tab of Peptide Settings, there is a new option in the "Calculate LOD By" dropdown which available if the "Regression Fit" is "Bilinear":

The option is currently called "Bilinear turning point standard error" but definitely needs a better name.
When that option is chosen, the "Max LOQ bias" textbox becomes disabled but you can still put a number in the "Max LOQ CV" box:

When those options are chosen, the Limit of Detection is one standard deviation above the mean of the baseline points:

The Lower Limit of Quantification is calculated by generating one hundred other calibration curves ("bootstrap curves) with random subsets of points and choosing the concentration level where the standard deviation of the curves is below the "Max LOQ CV".
The user can choose to display the bootstrap curves:

There is also a new "Calibration Curve Display Options" form which lets you set the line width and font size:

It would be interesting to see what this does with the data from the Absolute Quantification tutorial. The curve you are showing has multiple points per concentration. This is unusual for quantitative experiments that are not entirely focused on figures of merit.

I think we should have a Zoom meeting with Will Thompson and Monika from Genentech to understand their intended use of our existing calibration features so that in adding bilinear fit we do not make that use case worse, and ideally we make that use case work better also, as it is clearly quite cumbersome for Monika.

I was not able to see the new option when I tried it with the Absolute Quantification tutorial. Though, I could see other changes you made in this PR like moving "Qualitative ion ration threshold" outside the "Figures of merit" group box, and the new "More Options..." menu item and resulting form.

I was not able to see the new option when I tried it with the Absolute Quantification tutorial.

The "Bilinear turning point standard error" and "Bilinear turning point (obsolete)" options only show up if you have chosen "Bilinear" in the Regression Fit dropdown.
Updating the Absolute Quantification tutorial sounds like a great test of this functionality as well as Eduardo's converting tutorials to HTML work.

I think you could call them "Bilinear fit (legacy)"
and
"Bilinear fit"
I think that gets across the one being replaced by the other as the best option, and that the "(legacy)" one is no longer recommended but there because it may have been used in the past.

I mean "Bilinear turning point" of course


Mock out gateway <-> federation network layer

We should be able to test the interaction use just a rust channel or something which is independent any networking details. This might make tests run a little faster, too!
Notes:

https://github.com/fedimint/fedimint/pull/427#issuecomment-1225381751
@elsirion any other notes about this?

Feels related to the module interconnect too, might be worth taking a look at that when building the API mock. https://github.com/fedimint/fedimint/blob/3c60fb65e58e11f2f7bf94c2920f9acace0e9d8c/fedimint-api/src/module/interconnect.rs#L5-L16

Currently looking at this as part of #742


Subtract out gc time?

Would it help to subtract out the gc time, at least optionally? E.g. instead of just using getCPUTime, use mutator_cpu_ns and mutator_elapsed_ns:
import GHC.Stats (RTSStats, getRTSStats, getRTSStatsEnabled, mutator_cpu_ns, mutator_elapsed_ns)
import System.CPUTime (getCPUTime)

I'm open to extend TimeMode with more options.

Let me transfer the issue to tasty-bench repo, because extending TimeMode is a prerequisite for tasty-bench-fit to get other flavours.


please elaborate

This page leaves everything to be desired.
Please explain what this actually does, link back to relevant parents and give good examples of use.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2a36698f-b732-c524-a131-fd487dcb67af
Version Independent ID: aa9eec60-29f5-b1cb-87cd-ecf449786333
Content: GridLayout Property - Business Central
Content Source: dev-itpro/developer/properties/devenv-gridlayout-property.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Hello, thanks for the feedback! We have updated the article with a bit more information about its use and links to relevant articles that provide more info and examples. The updated article will be published soon. Thanks.


Fix https://github.com/DiUS/java-faker/issues/379

add a function to generate name with a gender

We have implemented the function in issue: https://github.com/DiUS/java-faker/issues/379
Please check it! Thanks!
--SE_SUSTech, group: Lanrand

Ok, I understand. Sorry for trouble you. Thanks a lot.


docs: add flamingo schedule

What was wrong?
Added guideline for flamingo schedule to docs.
How was it fixed?
To-Do

[ ] Add entry to the release notes (may forgo for trivial changes)
[ ] Clean up commit history

@KolbyML I sent you an invite, can you check and see if you 1. got the invite 2. the link works if you accept the invite

@KolbyML confirmed the link works offline


Sorting reports by user and date range in UI.

This is an ideal feature when trying to find a specific report for a user or date range.

I agree having sorting (and searching) on the report page would be helpful. Search for findings was added just using JS, I think we could do something similar for searching.

Updating this to default sort by newest report first

Merged


How to use  monk find  to access nested items .

Below Im trying to select all checked items in all items in my collection.
I can filter on the top level easily but when i try to step into an the tracks array I run into problems.
See code below

{
"_id" : ObjectId("596bd60c8dbf00c0cc562cc8"),
"artist" : "Ryan Blyth",
"artistLower" : "ryan blyth",
"album" : "Trust Me",
"tracks" : [
{
"artist" : "Ryan Blyth",
"checked" : true
}
]
}

clearChecked: function (callback) {
contentItems
.find({'tracks':{checked:true}}).then(function (doc) {
console.log("check doc ", doc);
});
}

so it would be
contentItems
.find({'tracks.checked': true}).then(function (doc) {
console.log("check doc ", doc);
});

I thought as much but doc comes back empty.
I think monk has an issue with the  "."
On 17 July 2017 at 14:09, Mathieu Dutour<EMAIL_ADDRESS>wrote:

so it would be
contentItems
.find({'tracks.checked': true}).then(function (doc) {
console.log("check doc ", doc);
});
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Automattic/monk/issues/217#issuecomment-315750684,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACbuigD3K1a_mRSd9WDS5ufcX-GsQXTMks5sO10SgaJpZM4OZ16Q
.

definitely working, this test pass:
test('find > should find with nested query', (t) => {
  return users.insert([{ nested: { a: 1 } }, { nested: { a: 2 } }]).then(() => {
    return users.find({ 'nested.a': 1 })
  }).then((docs) => {
    t.is(docs.length, 1)
    t.is(docs[0].nested.a, 1)
  })
})

So it's probably coming from your code

Hmm, thanks for taking a look. I'll retry it
On 17 Jul 2017 19:03, "Mathieu Dutour"<EMAIL_ADDRESS>wrote:

definitely working, this test pass:
test('find > should find with nested query', (t) => {
return users.insert([{ nested: { a: 1 } }, { nested: { a: 2 } }]).then(() => {
return users.find({ 'nested.a': 1 })
}).then((docs) => {
t.is(docs.length, 1)
t.is(docs[0].nested.a, 1)
})
})
So it's probably coming from your code
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Automattic/monk/issues/217#issuecomment-315833438,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACbuipg5JODE2NzRy0-etBMJUyeFS5Ooks5sO6HsgaJpZM4OZ16Q
.

Hey Mathieu,
I was only able to solve this issue by using a match element
see below
contentItems
.find({"tracks":{"$elemMatch":{"checked": true}}}).then(function (doc) {
console.log("check doc ", doc);
})
The . operator isnt letting me step into nested arrays. Not sure why.
Thought you might like to know incase you see it again.
Thanks to your  all your help on this.
On 17 July 2017 at 14:09, Mathieu Dutour<EMAIL_ADDRESS>wrote:

so it would be
contentItems
.find({'tracks.checked': true}).then(function (doc) {
console.log("check doc ", doc);
});
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Automattic/monk/issues/217#issuecomment-315750684,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACbuigD3K1a_mRSd9WDS5ufcX-GsQXTMks5sO10SgaJpZM4OZ16Q
.

Cool thanks