Fix support for folders in python.pythonPath setting

Environment data

VS Code version: 1.54.3
Extension version (available under the Extensions sidebar): v2021.3.680753044
OS and version: Windows 10.0.19041
Python version (& distribution if applicable, e.g. Anaconda): 3.8.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv (via poetry)
Value of the python.languageServer setting: Pylance

Expected behaviour
For "python.pythonPath": "${workspaceFolder}/.venv" workspace setting, extension is expected to find the virtualenv in the given directory.
Actual behaviour
The extension is unable to find the virtual env with the latest update (rolling back to the previous version works fine).
Steps to reproduce:

Create a virtualenv in the workspace possibly using poetry, and point to the workspace with ${workspaceFolder}/{workspace_name}

IMPORTANT NOTE: ".venv\\Scripts\\python.exe" works fine, but  "${workspaceFolder}\\.venv", "${workspaceFolder}/.venv" does not. All of them works in the previous version.
Possibly related to #15781 but I do not have the error described in that issue in the output below.
Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

User belongs to experiment group 'pythonaa'
User belongs to experiment group 'pythonJoinMailingListVar2'
User belongs to experiment group 'pythonJediLSP'
User belongs to experiment group 'pythonSendEntireLineToREPL'
User belongs to experiment group 'pythonNotDisplayLinterPrompt'
User belongs to experiment group 'pythonDiscoveryModuleWithoutWatcher'
User belongs to experiment group 'pythonFindInterpreter'
User belongs to experiment group 'ShowExtensionSurveyPrompt - enabled'
User belongs to experiment group 'CollectLSRequestTiming - control'
> c:\Users\erena\OneDrive\Desktop\SNLab\soccerbars/.venv c:\Users\erena\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> c:\Users\erena\OneDrive\Desktop\SNLab\soccerbars/.venv c:\Users\erena\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> c:\Users\erena\OneDrive\Desktop\SNLab\soccerbars/.venv c:\Users\erena\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> c:\Users\erena\OneDrive\Desktop\SNLab\soccerbars/.venv c:\Users\erena\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
Starting Pylance language server.
> c:\Users\erena\OneDrive\Desktop\SNLab\soccerbars/.venv c:\Users\erena\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> c:\Users\erena\OneDrive\Desktop\SNLab\soccerbars/.venv c:\Users\erena\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> c:\Users\erena\OneDrive\Desktop\SNLab\soccerbars/.venv c:\Users\erena\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> c:\Users\erena\OneDrive\Desktop\SNLab\soccerbars/.venv c:\Users\erena\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> c:\Users\erena\OneDrive\Desktop\SNLab\soccerbars/.venv c:\Users\erena\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> c:\Users\erena\OneDrive\Desktop\SNLab\soccerbars/.venv c:\Users\erena\.vscode\extensions\ms-python.python-2021.3.680753044\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
Error 2021-03-25 12:24:27: Diagnostic Code: InvalidPythonInterpreterDiagnostic, Message: No Python interpreter is selected. You need to select a Python interpreter to enable features such as IntelliSense, linting, and debugging.
Diagnostic Code: InvalidPythonInterpreterDiagnostic, Message: No Python interpreter is selected. You need to select a Python interpreter to enable features such as IntelliSense, linting, and debugging.

On MacOS downgrading from 1.54.3 to 1.54.2 did not work for me. When I select the interpreter path through vscode to be in my venv path pythonPath is instead changed to an Xcode path. This is very unexpected to me.

From #15781
it seems the detection of interpreter happen in a different shell and not using my venv.
weird thing is I can run unittest without the python interpreter detected since my pythonPath is set. So that means the unittest runs on my venv
Workaround:
the detection seems to work only if I populate my {$workspaceFolder}/.env file with the required LD_LIBRARY_PATH

Thanks for the bug report! We just wanted to quickly acknowledge we received it and we will triage this as soon as we can.

@meakbiyik The bug which was introduced with https://github.com/microsoft/vscode-python/pull/15726, but we plan to move away from supporting interpreter paths that way now, python.pythonPath can now only point to the binary itself (python.exe/python). We have multiple reasons for that:

Inferring the actual python path using just the environment folder name required us to search for python executables within the directory itself by guessing which of https://github.com/microsoft/vscode-python/blob/c91b4142b6efe220aca932d7f27fd6ec178dadc2/src/client/common/configSettings.ts#L732-L741
could be, and then verify whether it's a valid executable, which is observed to cause high CPU loads.
We're likely deprecating the setting itself due to reasons mentioned in https://github.com/microsoft/vscode-python/issues/12313. So sharing settings that way won't be possible.

You can try to workaround this using https://github.com/microsoft/vscode-python/issues/12313#issuecomment-651348335.

I have temporarily fixed this with https://github.com/microsoft/vscode-python/pull/15806

@karrtikr thanks a lot! Just to note my use case: I use poetry in all my projects with with the poetry.toml:
[virtualenvs]
create = true
in-project = true

looking like this, and "python.pythonPath": "${workspaceFolder}/.venv". So, when someone clones the repository and just runs poetry install, vscode uses the created environment and everything runs perfectly, with zero OS dependence. If vscode decides that we have to explicitly write the binary, though, then the OS independence would be lost since what vscode is automatically doing right now would have to be done manually by the user (and less meta-shenanigans the better especially for people who are not familiar with vscode and/or python). If you can take this use case into consideration that would be really amazing (this might be the single most important setting that has to be shared between the developers/users of a python package for consistency).

Yes.. thanks for bringing this up and we're well aware of this. This has been thoroughly discussed with https://github.com/microsoft/vscode-python/issues/12313, but unfortunately for now the decision is made. You can follow the thread for updates we make. We try our best to keep everyone happy but sometimes it's not possible.
I think the workaround mentioned in https://github.com/microsoft/vscode-python/issues/12313#issuecomment-651348335 should work for your case.

That's unfortunately not the case, as the assumption of not having any settings is just extreme. I take it that there won't be any solutions to this. Eh, we'll pass that bridge then, if we can. Thanks anyways 👍

the assumption of not having any settings is just extreme

Actually the assumption is to not have any python.pythonPath setting, not that you shouldn't have "any" settings. I have updated the comment.

Oh that makes much more sense. Thanks, I will try that out!

@karrtikr I think the folder support is still broken.
I installed from https://github.com/microsoft/vscode-python/wiki/Contributing. Don't know if it contains your commits.

The fix has not been released yet. You can use the Insiders build of the extension by using Switch to Insiders weekly command which has the fix.

I think I already have the newest build. As I said I installed this extension from wiki page. The version number is v2021.4.690665134-dev. But I still has this issue.

@imba-tjd Due to bug introduced with https://github.com/microsoft/vscode-python/pull/15776#discussion_r606847446, development build is no longer up to date, hence it doesn't have the fix yet. We'll fix this first thing next week, thanks for bringing this to our attention.

I just installed the build from GitHub Actions artifacts and I can confirm "python.pythonPath": "${workspaceFolder}/.venv" works. The version is v2021.4.709858994-dev
Though it still can't detect venv. If I don't set python.pythonPath, it will use system-wide python.

Interesting, can you please open up a separate issue for this? Also please upload the logs as mentioned in the isse template.

FYI Insiders build should now have the fix.


[BUG] Unable to create subaccount within a directory

Is there an existing issue for this?

[X] I have searched the existing issues

What version of Terraform are you using?
0.1.0-beta1
What type of issue are you facing
bug report
Describe the bug
Unable to create a subaccount within a parent directory. Filling in the parent_id attribute with a directory id results in the following error.

-Not sure if the image upload worked- the error I am receiving is below
btp_subaccount.subaccount: Creating...
╷
│ Error: API Error Creating Resource Subaccount
│
│   with btp_subaccount.subaccount,
│   on main.tf line 47, in resource "btp_subaccount" "subaccount":
│   47: resource "btp_subaccount" "subaccount" {
│
│ Received response with unexpected status [Status: 400; Correlation ID:
│ xxxxxxxx-xxxx-xxx-xxxx-xxxxxxxxxxxx]
where xxxxxxxx-xxxx-xxx-xxxx-xxxxxxxxxxxx is not the directory id of the parent.  I believe it is the ID of the subaccount which failed to create.
Leaving the parent_id blank allows creation of subaccount under the global account and the error to go away.
Expected Behavior
Expected behavior is the subaccount being created under the parent directory supplied in the parent_id attribute.
Steps To Reproduce

using trial acc
configure main.tf and provider appropriately
use the below resource block AND supply a directory guid

resource "btp_subaccount" "subaccount" {
name      = "lak"
subdomain = "lak"
region    = "us10"
parent_id = var.parentGUID
}

terraform apply

Add screenshots to help explain your problem
No response
Additional context
No response

Thanks for reporting this issue. We can reproduce it and are working on a fix

Same issue here.
 Received response with unexpected status [Status: 400; Correlation ID: bd8ad0c1-2d8a-ea00-6fa9-af63b2a60f95]

Fixed with PR #259


When the video file is normal, what are the possible reasons for many gaps?

Have you read the FAQ and checked for duplicate open issues?
Yes.
What version of Shaka Player are you using?
v3.0.0
Can you reproduce the issue with our latest release version?
Yes,I can.
Can you reproduce the issue with the latest code from master?
Yes,I can.
Are you using the demo app or your own custom app?
My own custom app.
If custom app, can you reproduce the issue using our demo app?
It's troublesome, because I need to play multiple (like 4-20) videos on one page at the same time
What browser and OS are you using?
Google, foxes and edge can all reproduce, and safari has fewer gaps.My OS version is 10.14.6, and windows system also has this problem, which seems to have nothing to do with the system.
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
I use web playback.
What did you do?

In a page, create 10 players, play,
and printing 'player.getBufferedInfo().video',as shown in the figure below:

However, at the same time point, when only the video with multiple gaps is played, there is no gap.
That means the video file is normal, no problem.
I would like to ask, what are the possible reasons for many gaps?   Or DASH or HLS manifests?
In DASH, there is a feature called periods.  Content in different periods is unrelated, and the player places multiple periods next to each other in the timeline.  If the manifest is inaccurate, this can result in gaps between periods.
In HLS, there is a feature called discontinuities.  Segments on either side of a discontinuity can have discontinuous timestamps.  The player must place them next to one another in the timeline, similar to how DASH periods are done.  But if our information about timestamps is inaccurate, we can once again end up with gaps.
When playing individual mp4s, there is no reason for gaps other than issues with the file itself.  We do not manipulate single mp4s, and instead ask the browser to play them directly with video.src = mp4Url.
Does this answer your question?


Update run-workloads.md

Need to delete this page as it is no longer a feature we offer
This is the default pull request template. You can customize it by adding a pull_request_template.md at the root of your repo or inside the .github folder.
Jira Ticket
Include a link to your Jira Ticket
Example: JIRAISS-1234
Demo
Please add a recording of the feature/bug fix in work. if you added new routes, the recording should show the request and response for each new/changed route
Checklist:

[ ] I have filled relevant self assessment (NodeJS, Frontend, Backend)
[ ] I have run ESlint on my changes and fixed all warnings and errors (NodeJS & Frontend Services)
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have validated all the requirements in the Jira task were answered
[ ] I have all neccessary approvals for the design/mini design of this task
[ ] I have approved the API changes and granular permission patterns (documentation subtask) (For public services only)

Done manually and redirected to general Ocean page


Add stroke and fill

It would be nice if for example bars and points were not just svg lines. I would like to be able to set both stroke and fill. Or is it possible but I'm just missing something?

Hi there. We should include a similar feature like we will with #330 for donut charts. The solid option in the bar chart will cause them to be rendered as rectangle shapes.

:+1:
I would love to see the solid option for bar charts so that I can give the bar a little border. Makes it look just a bit more sexier. You know how managers love sexy charts :)

Hi @gionkunz, was this enhancement ever completed?
I'm trying to style bar charts that have a white fill, with a coloured border (or stroke). However, I'm having trouble accomplishing that right now since the entire bar is a line.
Thanks!


How can i set a format?

Hello,
How can i set a format to the datepicker to pick the data like yyyy-mm-dd.
Example
2017-08-14

Hello @lXSPandora, this is more a Javascript related question then a react-native-modal-datetime-picker one.
You should handle the date formatting on your own component.
The date returned by react-native-modal-datetime-picker is a plain JS Date object so you can format it using the plain JS Date API, date-fns, Moment.js or any other library you want.


Make chokidar non-optional.

The hot code reload server needs this module, and dynamic imports don't seem to work when a module isn't actually installed (fails on TypeScript static build step).

Scratch this; I'll make chokidar being optional work in the hot code server instead.


Make PR references in changelog into links

Just a small convenience since bare #num issues don't get auto linked in markdown files

Thanks @Alexendoo!


Can this be used with Angular?

This uses js-beautify so if that supports angular then it should work here.

As @doowb said, this just passes everything through to js-beautify. They might answer this in their documentation, or you can open an issue on that repository if you have more questions.


uses_measurement_unit

The relation uses_measurement_unit has domain Information Bearing Entity, should not it be Information Content Entity?

yes it should. Expected to be part of the IBA/IBE refactor coming in, I believe, 2.0

On a related matter, most of the CCO Data Properties have Information Bearing Entity as their domain.
Why should has text value or has URI value not have Information Content Entit(ies) as their domains?

@mark-jensen - labeling for 2.1 @ahasanzadeh13 please create a separate issue labeled for 2.1 with your concern above. Thanks!


Design out class structure

Design project class diagram with general flow and separation of concerns

[x] UML Design for class structure available on the wiki
[x] Highlights some basic data flow and classes to get started on other issues
Optional: notate issues that have a specific place in the project class diagram

Design added under resources/wiki/design.jpg


CVE-2015-4042 in /usr/local/go/pkg/tool/linux_amd64/link

golang:1.18.4-bullseye image

That's a C/coreutils issue.
Also the golang:1.18.4-bullseye image isn't maintained by the go team.

@seankhliao where can i get the link tool that doesn't use coreutils 1.8?


[Feature card] Arrow should be Blue

This change is the result of design changes.  The designs have been updated with these changes.
The arrow in feature card should be $link-01. See below

@RaphaelAmadeu I assigned this request to you as well.  (Sorry, but your worked on this pattern.)  This issue has been assigned to the June release.  The code freeze is June 12.
cc:  @jeffchew

Looks like its correct now:
https://ibmdotcom-react-canary.mybluemix.net/?path=/story/patterns-sub-patterns-featurecard--default

@peter-garvin
In this case, can we close this issue?


Possible bug: how are multiple translations for same key handled?

I'm confused by this feature. I toggled the FUZZY (yield sign) icon in the UI and I ended up with this in my es.json file.  Notice, the same 'keyId' appears twice.  Code inspection seems to indicate "last one wins", but since this is a JSON object, not an array, I think the sort order is dubious.  And actually, when I look in my 'es.out.json' the FUZZY takes priority over the hand edited one.
 "7560a2b6-2d85-4021-a0e3-0fd04e927dd6": {
    "id": "7560a2b6-2d85-4021-a0e3-0fd04e927dd6",
    "isDeleted": false,
    "lang": "es",
    "translation": "los lagartos están calientes",
    "fuzzy": false,
    "keyId": "bGl6YXJkcyBhcmUgaG90"
  },
  "943d7b7b-9ad4-4567-8a55-032525504f47": {
    "id": "943d7b7b-9ad4-4567-8a55-032525504f47",
    "isDeleted": false,
    "lang": "es",
    "translation": "los lagartos están calientes",
    "fuzzy": true,
    "keyId": "bGl6YXJkcyBhcmUgaG90"
  }

I'm not sure what's supposed to happen here. Once I understand the intent I'd like to try to make a fix. Thanks.
(Actually, looking closer I don't think this is supposed to happen. I'm guessing it is a race condition).

I couldn't reproduce the issue. Activating the fuzzy icon resulted in just the affected translation being modified:
     "lang": "es",
     "translation": "No se pudo guardar la configuración",
-    "keyId": "ZXJyb3JfQ29uZmlndXJhdGlvbiBjb3VsZCBub3QgYmUgc2F2ZWQ="
+    "keyId": "ZXJyb3JfQ29uZmlndXJhdGlvbiBjb3VsZCBub3QgYmUgc2F2ZWQ=",
+    "fuzzy": true
   },

It would be useful if you could prepare a small repo reproducing the case.

Los lagartos están calientes OMG! 👍

Hmmm, I'm getting duplicate keyId pretty consistently; maybe it's another Win10 issue.  I'll dust of my Mac in the next few days, and let you know if the behavior is different for me.

Great! I’ll reopen the issue for the time being, to keep track

Great!

I'm not recreating this on anymore. Might have had to do with the fact that my watcher was including mady's output folder at the time.


NYU Dataset with 4 channel depth images.

Hi,
I downloaded your preprocessed dataset from google drive and found that the depth image is of 4 channels? May I know what exact channel(s) you pass to the model for training and testing?
Also I noted that in the config file https://github.com/zifuwan/Sigma/blob/fcacbd92d0f2c3f8c09d79c1e12631d577134a30/configs/config_nyu.py#L32, the model takes only one channel for training if it is correct, I was wondering which channel you referring to?
Thanks,

Hi, we read the depth image with grey mode (1 channel) and copy it to 3 channels before passing to the model.
Please refer to this code: link
Hope this can be useful.


Broken syntax highlighting when editor.semanticHighlighting.enabled is True

Environment data
Version: 1.48.2
Commit: a0479759d6e9ea56afa657e454193f72aef85bd0
Date: 2020-08-25T10:56:10.074Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.3.0-51-generic snap
Python version: 3.7.7
Type of virtual environment used: None, using only python's std libraries
Language Server: Pylance
Expected behaviour

Actual behaviour

@HMaker, could you specify which syntax highlight is broken?

Related: https://github.com/Binaryify/OneDark-Pro/issues/439

i think the self. part should be colored differently. I encountered the same problem yesterday

I use Dark++ https://marketplace.visualstudio.com/items?itemName=DryWolf.dark-plus-plus-theme .

I believe this is a dupe of #323.


Add space after full stop in error message.

Linkifiers interpret the ".If" at the end of the URL as part of the URL.

Could you please update the commit message according to the guideline:
https://github.com/angular/protractor/blob/master/CONTRIBUTING.md
Thanks!


Indexing existing song directory hangs

Platform
macOS 14.4.1 (Darwin)
Python 3.11.9
External SSD (USB 3.2), exFAT formatted
usdb_syncer version: 0.5.0 version from GitHub as well as the latest dev version (locally started in venv, commit: 5053d29
Steps to reproduce

Download the entire Database to an external SSD with usdb_syncer
Reset usdb_syncer (Settings, ...)
Open usdb_syncer again and select song directory on external drive
Watch usdb_syncer starting to index the song directory, after approx. 15 seconds no more console  output, the process is stuck (I let it run for 12 hours to ensure that this is not a display bug)

Additional information
I did the same on my Linux machine, there everything works fine.

Interesting. I have a pretty similar setup (SDXC in card slot, exFAT formatted), but while I don't have the problem you mentioned, I see other problems, e.g. redownloading a song that leads to a renaming of the song folder (e.g. artist or title changed slightly) will show "failed" although everything worked, same for songs that contain special characters (without change in artist/title).


Missing context type in import statement of generated typescript resolver

Describe the bug
Context type is missing in import statement of generated resolver with module#type syntax in configuration of contextType
To Reproduce
Steps to reproduce the behavior:

Use any schema
Add a a context type in configuration file

# ...
generates:
  path/to/file.ts:
    config:
      contextType: ./context#MyContext
    plugins:
      - typescript-resolvers

Run the following command: graphql-codegen with configuration file

Expected behavior
Generated resolver should have an import statement like
import { MyContext} from './context';

and getting the following (missing the type)
import { } from './context';

Hi @mdaouas , thank you for reporting it.
I created a fix for it: https://github.com/dotansimha/graphql-code-generator/pull/1522
I'll merge and release a new version (1.0.2) once CI passes.

Awesome @dotansimha - thanks for the super quick turnaround. I was just coming to report the same thing. :)

Fix available in 1.0.2.


Update doc for config file and known issue

What this PR does / why we need it:
This PR update the step for installation using config file. It also updates fix for Mistral services not running.

Codecov Report

Merging #82 into development will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           development      #82   +/-   ##
============================================
  Coverage        38.15%   38.15%
============================================
  Files               13       13
  Lines              912      912
  Branches            94       94
============================================
  Hits               348      348
  Misses             541      541
  Partials            23       23


add coveralls

A new inspection was created.

A new inspection was created.

The inspection completed: No new issues

A new inspection was created.

The inspection completed: No new issues


Allow for sub domain offsite forms settings in BB

http://www.elkarte.net/community/index.php?topic=180

Wrong topic, correct one is:
http://www.elkarte.net/community/index.php?topic=1809.0

I guess that one could go to the 2.0 list unless someone fixes it. :angel:

Fixed it by removing BB in 2.0


Question about Turbonomic

Hi All
I'm Eric Giguere, a CSM based in Quebec / Canada.
I'm currently contributing with the Asset and Architecture team in the GitOps project (Production guides). I've just found your project last week.
I was planning to start a GitOps with ArgoCD recipe to install Turbonomic on an OCP cluster. I've seen in your documentation that your project does or will support this.
Is there any work done yet on the subject?
Thanks!

The Turbo operator is installed as part of the project, but it's been a good 6 months since that code was updated. We'd welcome any contributions on Turbonomics :)


Introduce TestTaskPropertiesService

This commit introduces a stable API for querying task input/output file
properties for Gradle Enterprise Gradle plugins. I will add tests and
API docs once we've agreed on the API.

@lptr I changed the service to be test task specific and added all information needed for TD. PTAL!

OK, I've already triggered ReadyForMerge build for you.

Returning Stream<File> could be another option, but it's up to you.

Done in 95d94c807dda29a5d96d1af81d31313e1be9e208.

@bot-gradle test and merge

OK, I've already triggered a build for you.

Your PR is queued. See the queue page for details.

@blindpirate Thanks! 👍


Left Sidebar Fixed to Left and Top?

My propeller-styled sidebar is working properly except that it continues to scroll with the main content rather than fixing to the left as it should with the '.pmd-sidebar-left-fixed`  class.
Scrolling down the page scrolls the sidebar, I mean.
My current markup.
// Sidebar
section#pmd-main
	// Left sidebar
	aside.pmd-sidebar.sidebar-custom.sidebar-default.pmd-sidebar-slide-push.pmd-sidebar-left.pmd-z-depth.sidebar-hide-custom(role='navigation', style='position: absolute;')
		ul.nav.pmd-sidebar-nav
			// My Account
			li.dropdown.pmd-dropdown.pmd-user-info
				a.btn-user.dropdown-toggle.media(aria-expanded='false', data-sidebar='true', data-toggle='dropdown', href='javascript:void(0);')
					.media-left
						// img(width='40', height='40', alt='avatar', src='http://propeller.in/assets/images/avatar-icon-40x40.png')
					.media-body.media-middle
						i.fa.fa-wifi.fa-lg
						|   The Superuser Blues
					.media-right.media-middle
						i.material-icons.pmd-sm more_vert
				ul.dropdown-menu
					li
						a.pmd-ripple-effect(href='javascript:void(0);', tabindex='-1')
							i.material-icons.media-left.media-middle person
							span.media-body Who Am I?

... and so on.  Thanks for your kind attention to what may prove to be my idiocy again.

Hello,
We apologize for replying late.
What we observed from your code snippet is that you have explicitly added position: absolute in the inline style:
aside.pmd-sidebar.sidebar-custom.sidebar-default.pmd-sidebar-slide-push.pmd-sidebar-left.pmd-z-depth.sidebar-hide-custom(role='navigation', style='position: absolute;')
Please remove the same and your sidebar will start working properly.
Hope this may solve your purpose.

That summarily did the trick and I thank you very much for your kind attention.


Keep getting "invalid JSON response" on private GitHub repo

In the docs it says that private repos automatically sets the URL environment variable. It doesn't properly return it though and autoUpdater throws an error:
Here is original code: https://github.com/vercel/hazel/blob/a06e6c5e4acdab0339c14361f086c3f6ff8a10fc/lib/routes.js#L162-L169
Here is the solution that worked for me. Curious if there is a more elegant way to solve this:
 send(res, 200, {
    name: latest.version,
    notes,
    pub_date,
    url: shouldProxyPrivateDownload
      ? `https://${url}/download/${platformName}?update=true`
      : latest.platforms[platform].url
  })

@ryandunnewold Thanks for sharing this! I'm quite new here, not really sure how I can use your fix with my own private repo?

@ryandunnewold Thanks for sharing this! I'm quite new here, not really sure how I can use your fix with my own private repo?

You can edit the files directly in your Vercel hazel fork.

This is a showstopper bug on macOS that should really be handled immediately. Also the documentation for configuring the server address is missing the https:// prefix.

@ryandunnewold Thanks for sharing this! I'm quite new here, not really sure how I can use your fix with my own private repo?

You can edit the files directly in your Vercel hazel fork.

I changed it in my fork, but it still returns the old url, is there any other step that needs to be done? like clearing the a cache?

Same issue here, I will update it in my fork as well.

I have same issue.
Request
https://my-hazel-server.vercel.app/update/darwin/0.1.8

Response
{"name":"v0.1.9","notes":null,"pub_date":"2022-06-14T05:50:23Z","url":"my-hazel-server.vercel.app.vercel.app/download/darwin?update=true"}

this response contains "url":"my-hazel-server.vercel.app.vercel.app/download/darwin?update=true". this is wrong url.


using Newtonsoft

@zapadi
Is there a reason why you wrote the JSON Deserializing by hand and don't use the automatic way of Newtonsoft?
This would also allow to support .NET 2.0?

I didn't want to have external dependencies(control freak, probably :) ).
The .net core version https://github.com/zapadi/redmine-netcore-api is using Newtonsoft.

okay, just for your info, I try also to get the "core" build into the common nuget compile process.
Otherwise you get crazy to take care of the project.


Check if bot has permission

When executing certain commands like kicking or banning users, the bot needs the associated permissions just like the users who execute those commands. So add a check to see if the bot has permission to execute said command. Eg: The bot should check if it has the permission kick_members before being able to kick. Administrator permission takes precedence on this. However, not all guild owners may want to give a bot administrator permissions.

Silk does actually check for permissions, if you see perms. The administrative requirement has been changed to the needed permissions, which can be individually toggled when adding the bot.


Uncaught ReferenceError: iconAndAliases

Package

[X] lucide
[ ] lucide-angular
[ ] lucide-flutter
[ ] lucide-preact
[ ] lucide-react
[ ] lucide-react-native
[ ] lucide-solid
[ ] lucide-svelte
[ ] lucide-vue
[ ] lucide-vue-next
[ ] Figma plugin
[ ] source/main
[ ] other/not relevant

Version
0.376.0
Can you reproduce this in the latest version?

[X] Yes
[ ] No

Browser

[X] Chrome/Chromium
[ ] Firefox
[ ] Safari
[ ] Edge
[ ] iOS Safari
[ ] Opera
[ ] Other/not relevant

Operating system

[X] Windows
[ ] Linux
[ ] macOS
[ ] ChromeOS
[ ] iOS
[ ] Android
[ ] Other/not relevant

Description
Hi,
I am currently developing a web page using lucide icons trough the CDN, earlier today the pages was working fine, but a few minutes ago, when i started working again the icons ware not showing, I checked the console and i was getting this error:
Uncaught ReferenceError: iconAndAliases is not defined
    at Object.createIcons (createIcons.ts:7:24)
    at users:133:16

Steps to reproduce

Import the js script trough the CDN
Try to execute the createIcons method

Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)

The error is appearing due to a missing import, that was caused when @ericfennis, separated the createIcons function from the packages/lucide/src/lucide.ts file to packages/lucide/src/createIcons.ts but didn't copied the folowing line:
import * as iconAndAliases from './iconsAndAliases';

@Nerexbcd Thanks I will make a fix!

I've reverted the change, it's available on<EMAIL_ADDRESS>

Woo! Thanks for reporting this - noticed the same error and was about to report it. Thanks for getting to it so quickly @ericfennis ! 😄


Remove kcas tests

This PR removes the old kcas tests.
If we ever find ourselves in a situation where we want to revive them, they are available on a dedicated add-kcas-tests branch: https://github.com/jmid/multicoretests/tree/add-kcas-tests

Merging this. CI logs show

known 5.0.0~beta1 bytecode crashes on Ephemeron and Effect
a likely deadlock on threadomain


Support maps of enum keys

@leizha @kriskowal
Fixes https://github.com/uber/thriftify/issues/30
This allows the use of I32 keys (and therefore enums) for maps.

Will this work over the wire ?
Aren't you trying to parse an i32 from say python as a string ?

Please extend the existing tests to also verify that values round trip through uglify/reify and reify/uglify.

it won't read if python sends a map<int, X>
if we do want to support map<int, X>, I would suggest using a real Map implementation rather than a js object. there is no quick fix here.

int->X works fine with js object.
We can use a real map for arbitrary maps but that's a "later" concern.
However making the user experience of Map<Enum, X> work is nuanced.

Hmm yeah, I think for this to work over the wire we'd need to reify I32 within a map as a String. Let me quickly add an implementation for that and some tests, and then let's take another look. It might be that this is such a weird implementation that it would be better to hold off for a real map solution.
Unfortunately, we're developing thrift definitions right now around map<Enum, X> structures.


Fix compile error using Chef::Application.fatal

I'm not sure if the API changed, but the current code uses the syntax fatal!(  ).
See https://github.com/chef/chef/blob/master/lib/chef/application.rb

https://github.com/agileorbit-cookbooks/java/blob/master/spec/oracle_rpm_spec.rb#L146-L151
Covers this codepath and passes in chef 12. Does this actually cause an issue? I'd like to keep it compatible with chef 11 for the time being.

The proposed patch is the only way I could get this to pass the compile stage. According to http://www.rubydoc.info/gems/chef/11.0.0/Chef/Application the correct syntax on Chef 11 is the same as the proposed.


vendor: Update golang.org/x/net repo

This updates golang.org/x/net to c427ad7 to match the version that will soon be vendored in docker/docker (https://github.com/docker/docker/pull/30146).
These updated versions of the context and ctxhttp packages make better use of Go 1.7 features.

Current coverage is 54.79% (diff: 100%)

Merging #1870 into master will decrease coverage by 0.42%

@@             master      #1870   diff @@
==========================================
  Files           105        105
  Lines         17516      17516
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           9673       9598    -75
- Misses         6683       6755    +72
- Partials       1160       1163     +3

Powered by Codecov. Last update d4e6e19...8991343

LGTM


Format code with Prettier?

Any interest in setting up a format npm script? I've been using it recently for my projects and ❤ it.
React just recently switched over to it as have a number of other projects.
Helps standardize your code formatting far more than ESlint does. Also really fun with editor integration as you don't have to fiddle with spacing and other formatting concerns with your code. You just bang out something ugly, save, and it'll be prettified.
https://github.com/prettier/prettier

Makes sense. Interested to see how things would come out on first run.

Closing in favor of #363, prettier being included in the PR.


Missing Dex Deployment in docs

Where can this issue be corrected? https://raw.githubusercontent.com/litmuschaos/litmus/8d025a2f3101990a1acc002612fbe7281dcbfb4d/litmus-portal/dex-server/dex-deployment.yaml
How to reproduce it (as minimally and precisely as possible): While following documentation [here] (https://docs.litmuschaos.io/docs/user-guides/chaoscenter-oauth-dex-installation/), pod will not come up as the dex-deployment.yaml file doesn't include deployment config yaml
I see dex deployment in main/ release-2.6.0 branch: https://github.com/litmuschaos/litmus/blob/release-2.6.0/litmus-portal/dex-server/dex-deployment.yaml#L87-L122

@DarthBenro008 @SarthakJain26 @Saranya-jena

A PR has already been raised for this issue and will be fixed by https://github.com/litmuschaos/litmus-docs/pull/169 !

PR has been merged


Ripple effect inconsistency when switching tabs with keyboard

If you open a tab and switch back and forth to it using the keyboard, the ripple effect doesn't happen. However, if you click on the tab at least once to cause the ripple, switching with the keyboard will then cause the ripple to happen. This eventually causes some tabs to ripple and others not to when keyboard switching, depending on which ones were clicked on.
Also, I saw that in #114 you mentioned that the ripple isn't supposed to ever happen with keyboard switching... but personally, I'd still like if it did. :P

@halgorithm yes, this is because a span element is appended on click. The span element is the ink. So, if you never clicked the tab before, you won't see the ripple.
It's a known issue :smile:

Fixed on 1.0.0 (ripple only happens on click, not while changing tabs with keyboard shortcuts)

This is still happening for me with atom-material-ui 1.0.5. Seems like switching tabs with the keyboard now always triggers the ripple effect on the first tab. When switching to the second tab, a faint ripple is also slightly visible on the left side of the second tab (I assume since the animation is overflowing from the first tab).

I reverted to 0.8.0 … 1.0.x is no longer in the Atom package repository. Releases and tags are also gone. The only remaining of 1.0.x are upset users and a bunch of issues :grin: haha
I still need testers. If you're willing to help, clone this repo and link it using apm. There are instructions in #131.


Error while installing

`NOTE: Configuring authentication for SERVER mode.
Traceback (most recent call last):
File "run_pgadmin.py", line 4, in
from pgAdmin4 import app
File "/pgadmin4/pgAdmin4.py", line 98, in
app = create_app()
File "/pgadmin4/pgadmin/init.py", line 380, in create_app
paths.init_app(app)
File "/pgadmin4/pgadmin/utils/paths.py", line 103, in init_app
raise InternalServerError(
werkzeug.exceptions.InternalServerError: 500 Internal Server Error: The user does not have permission to read and write to the specified storage directory.
[2021-03-09 06:51:14 +0000] [1] [INFO] Starting gunicorn 20.0.4
[2021-03-09 06:51:14 +0000] [1] [INFO] Listening at: http://[::]:80 (1)
[2021-03-09 06:51:14 +0000] [1] [INFO] Using worker: threads
[2021-03-09 06:51:14 +0000] [89] [INFO] Booting worker with pid: 89
[2021-03-09 06:51:16 +0000] [89] [ERROR] Exception in worker process
Traceback (most recent call last):
File "/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
worker.init_process()
File "/venv/lib/python3.8/site-packages/gunicorn/workers/gthread.py", line 92, in init_process
super().init_process()
File "/venv/lib/python3.8/site-packages/gunicorn/workers/base.py", line 119, in init_process
self.load_wsgi()
File "/venv/lib/python3.8/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
self.wsgi = self.app.wsgi()
File "/venv/lib/python3.8/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/venv/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
return self.load_wsgiapp()
File "/venv/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
return util.import_app(self.app_uri)
File "/venv/lib/python3.8/site-packages/gunicorn/util.py", line 358, in import_app
mod = importlib.import_module(module)
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/pgadmin4/run_pgadmin.py", line 4, in
from pgAdmin4 import app
File "/pgadmin4/pgAdmin4.py", line 98, in
app = create_app()
File "/pgadmin4/pgadmin/init.py", line 380, in create_app
paths.init_app(app)
File "/pgadmin4/pgadmin/utils/paths.py", line 103, in init_app
raise InternalServerError(
werkzeug.exceptions.InternalServerError: 500 Internal Server Error: The user does not have permission to read and write to the specified storage directory.
[2021-03-09 06:51:16 +0000] [89] [INFO] Worker exiting (pid: 89)
[2021-03-09 06:51:17 +0000] [1] [INFO] Shutting down: Master
[2021-03-09 06:51:17 +0000] [1] [INFO] Reason: Worker failed to boot.
[2021-03-09 06:51:21 +0000] [1] [INFO] Starting gunicorn 20.0.4
[2021-03-09 06:51:21 +0000] [1] [INFO] Listening at: http://[::]:80 (1)
[2021-03-09 06:51:21 +0000] [1] [INFO] Using worker: threads
[2021-03-09 06:51:21 +0000] [82] [INFO] Booting worker with pid: 82
[2021-03-09 06:51:23 +0000] [82] [ERROR] Exception in worker process
Traceback (most recent call last):
File "/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
worker.init_process()
File "/venv/lib/python3.8/site-packages/gunicorn/workers/gthread.py", line 92, in init_process
super().init_process()
File "/venv/lib/python3.8/site-packages/gunicorn/workers/base.py", line 119, in init_process
self.load_wsgi()
File "/venv/lib/python3.8/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
self.wsgi = self.app.wsgi()
File "/venv/lib/python3.8/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/venv/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
return self.load_wsgiapp()
File "/venv/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
return util.import_app(self.app_uri)
File "/venv/lib/python3.8/site-packages/gunicorn/util.py", line 358, in import_app
mod = importlib.import_module(module)
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/pgadmin4/run_pgadmin.py", line 4, in
from pgAdmin4 import app
File "/pgadmin4/pgAdmin4.py", line 98, in
app = create_app()
File "/pgadmin4/pgadmin/init.py", line 380, in create_app
paths.init_app(app)
File "/pgadmin4/pgadmin/utils/paths.py", line 103, in init_app
raise InternalServerError(
werkzeug.exceptions.InternalServerError: 500 Internal Server Error: The user does not have permission to read and write to the specified storage directory.
[2021-03-09 06:51:23 +0000] [82] [INFO] Worker exiting (pid: 82)
[2021-03-09 06:51:23 +0000] [1] [INFO] Shutting down: Master
[2021-03-09 06:51:23 +0000] [1] [INFO] Reason: Worker failed to boot.`

From pgAdmin4 docs:
/var/lib/pgadmin - This is the working directory in which pgAdmin stores session data, user files, configuration files, and it’s configuration database. Mapping this directory onto the host machine gives you an easy way to maintain configuration between invocations of the container.
/pgadmin4/servers.json - If this file is mapped, server definitions found in it will be loaded at launch time. This allows connection information to be pre-loaded into the instance of pgAdmin in the container. Note that server definitions are only loaded on first launch, i.e. when the configuration database is created, and not on subsequent launches using the same configuration database.
pgAdmin runs as the pgadmin user (UID: 5050) in the pgadmin group (GID: 5050) in the container. You must ensure that all files are readable, and where necessary (e.g. the working/session directory) for this user on the host machine.
Fix: sudo chown -R 5050:5050 pg_storage


disable no-trailing-whitespace for blank lines

Could the no-trailing-whitespace lint be disabled for blank lines? Mabe with an additional option?
Some code editors auto indent on new lines and its a bit annoying to have ts-lint erros for that.

Duplicate of #481. I'll re-open that one since there seems to be interest in this option.


feat: adding settings file prefix option

Related to: https://github.com/rochacbruno/dynaconf/issues/621
This adds a settings_file_prefix option which works similarly to envvar_prefix, however it defaults to None and does not filter out any keys if it is not set

Hello @zzZIMAWAKE! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file example/toml_example/app.py:

Line 85:80: E501 line too long (85 > 79 characters)

Closing until I sort this out, made a mistake with not testing examples and need to figure something out prior to opening this, sorry.


thread '' panicked at 'assertion failed: offset + len <= self.len()'

It has been a whole week for me wrestling with ord, and never have I been able to index ord fully. It always crashes at some point.
ord version 0.5.2
bitcoin-core 24.0.1 - fully synced and txindex=1
macOS 11.7.6 (Big Sur) on MacBook Air M1
I start with the index downloaded from https://<IP_ADDRESS>/torrent/index.redb-without-sats-788000-0.5.2.gz.torrent
It crashed with the following error at 788061/790146
Upon restart, the index.redb is already corrupt beyond repair and I have to start all over again.
Isn't redb supposed to be crash-safe and has savepoints and rollbacks?
thread '' panicked at 'assertion failed: offset + len <= self.len()', /Users/username/.cargo/registry/src/github.com-1ecc6299db9ec823/redb-0.13.0/src/tree_store/page_store/mmap.rs:212:9
stack backtrace:
0: rust_begin_unwind
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/panicking.rs:579:5
1: core::panicking::panic_fmt
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/panicking.rs:64:14
2: core::panicking::panic
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/panicking.rs:114:5
3: <redb::tree_store::page_store::mmap::Mmap as redb::tree_store::page_store::base::PhysicalStorage>::write
4: redb::tree_store::page_store::page_manager::TransactionalMemory::allocate
5: redb::tree_store::btree_base::LeafBuilder::build
6: redb::tree_store::btree_mutator::MutateHelper<K,V>::delete_helper
7: redb::tree_store::btree_mutator::MutateHelper<K,V>::delete_helper
8: redb::tree_store::btree_mutator::MutateHelper<K,V>::delete_helper
9: redb::tree_store::btree_mutator::MutateHelper<K,V>::delete_helper
10: redb::tree_store::btree_mutator::MutateHelper<K,V>::delete_helper
11: redb::tree_store::btree_mutator::MutateHelper<K,V>::delete
12: redb::tree_store::btree::BtreeMut<K,V>::remove
13: ord::index::updater::inscription_updater::InscriptionUpdater::index_transaction_inscriptions
14: ord::index::updater::Updater::update_index
15: ord::index::updater::Updater::update
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

Hello same issue at indexing block 790165/790315.
Need to find a solution :)

Hello same issue at indexing block 790165/790315.
Need to find a solution :)

exactly my error is thread 'main' panicked at 'range end index 4116 out of range for slice of length 4096'
With MacOS Venture 13.x
Last ord version 0.5.2

Can't you create a DB from scratch?

Can't you create a DB from scratch?

Yeah, that's what I'm doing. I'm letting ord index from scratch.
It's been 24 hours and I'm only at 768186/790290.
The rate is about 28 blocks per hour.
It will take me another 32 days to fully index....

In 32 days, we'll have 4000 new blocks that your indexer will have to process, so another 30 days.
I'm working on chainhook, powering https://ordinals.hiro.so. Depending on your use case, you could use it as a replacement of ord.

We've made some improvements since May, but you still need an SSD or better. If you still have problems please reopen this issue. Just trying to get an overview of things so closing much.


Infinite recursion in TypeFormatterForModule::emit_type

It looks like we get some new customer pdb files that exhibit some infinite / mutual recursion that looks like this:

13  symbolicator                    0x555cbf11f67d      [inlined] pdb_addr2line::type_formatter::TypeFormatterForModule::emit_type_inner (type_formatter.rs:1130)
14  symbolicator                    0x555cbf11f67d      pdb_addr2line::type_formatter::TypeFormatterForModule::emit_type (type_formatter.rs:1105)
15  symbolicator                    0x555cbf11ee5a      pdb_addr2line::type_formatter::TypeFormatterForModule::emit_type_index (type_formatter.rs:1091)
16  symbolicator                    0x555cbf11e61d      pdb_addr2line::type_formatter::TypeFormatterForModule::emit_arg_list (type_formatter.rs:996)
17  symbolicator                    0x555cbf11f67d      [inlined] pdb_addr2line::type_formatter::TypeFormatterForModule::emit_type_inner (type_formatter.rs:1130)
18  symbolicator                    0x555cbf11f67d      pdb_addr2line::type_formatter::TypeFormatterForModule::emit_type (type_formatter.rs:1105)
19  symbolicator                    0x555cbf11ee5a      pdb_addr2line::type_formatter::TypeFormatterForModule::emit_type_index (type_formatter.rs:1091)
20  symbolicator                    0x555cbf11e61d      pdb_addr2line::type_formatter::TypeFormatterForModule::emit_arg_list (type_formatter.rs:996)

This then repeats for a long time and eventually crashes in alloc::vec::Vec<T>::with_capacity (mod.rs:483) and finally in jemalloc. Its a bit weird that we get a SIGSEGV / SEGV_ACCERR instead of an allocation panic, but here we are 🤷🏻♂
I wasn’t able yet to figure out what symbol is causing this however.
Though I remember I was suggesting a general recursion / memory usage limit that is being checked for so that we do not run into things like this.

I'd be happy to accept a PR which adds a recursion limit.


Fixed a StackOverflowError in ModelInspector that occurs when using a recursive aggregate model

Hi, thanks for the PR. Could you target this one for the 3.0.x branch, instead of master? Thanks.

https://github.com/AxonFramework/AxonFramework/pull/233


[MAJOR] Remove .ajax, add .fetchChoices

Removes .ajax method and introduces similar .fetchChoices
Description

Remove .ajax method due to bad name (it's not immediately clear what it does, and soon probably nobody will understand acronym, as I didn't remembered that AJAX stands for Asynchronous Javascript And XML 😳)
Introduces new .fetchChoices to provide similar functionality for Promise world.
Motivation and Context

Almost all modern day fetching APIs are Promises based (all your examples except one are), while we are providing callback way to do that.
This also removes fetchFromObject helper function and delegates to consumer to do complete data transformation (fetchFromObject handles just one use case, without arrays, etc, and complete solution will require to introduce a huge dependency - so, it's better let a consumer do whole transformation).
NOTE: This PR is not adding direct dependency on Promise implementation in Browser, so, not adding Promise to required polyfills.
How Has This Been Tested?

Refactored existing test and introduced new one.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.

Just waiting for #700 to merge and rebase to remove that's code from here.

This also closes #604

Also closes  #626

This is much cleaner - thanks!


Data as a Promise / Fetching from server

EDIT: originally i was going to ask if this was possible / if you would be open to the functionality being added but Looking at the source it looks like it may already be possible.
/////
First off Great work here.
Rather than passing in an array of data id like to be able to pass in a function
looking at the source it seems this might be possible by doing
<Mention data= {(query, callback) => request.get(query).then(callback))} />

am i off or is this an undocumented feature?

Yep, you can totally do that. Indeed, the possibility to use the callback passed to the filtering function is not properly documented yet.

README has been updated


Fix normalization

📝 Description
Fixes: https://github.com/openvinotoolkit/anomalib/discussions/2122#discussioncomment-9740488 and https://github.com/openvinotoolkit/anomalib/issues/2027 and https://github.com/openvinotoolkit/anomalib/issues/2139#issue-2352819822
The normalization metrics are resetted before every validation. Is there any flaw in this logic or does it makes sense, so that models that have very different anomaly map and pred score magnitudes during training epochs are optimally normalized.
✨ Changes
Select what type of change your PR is:

[x] 🐞 Bug fix (non-breaking change which fixes an issue)
[ ] 🔨 Refactor (non-breaking change which refactors the code base)
[ ] 🚀 New feature (non-breaking change which adds functionality)
[ ] 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] 📚 Documentation update
[ ] 🔒 Security update

✅ Checklist
Before you submit your pull request, please make sure you have completed the following steps:

[ ] 📋 I have summarized my changes in the CHANGELOG and followed the guidelines for my type of change (skip for minor changes, documentation updates, and test enhancements).
[ ] 📚 I have made the necessary updates to the documentation (if applicable).
[ ] 🧪 I have written tests that support my changes and prove that my fix is effective or my feature works (if applicable).

For more information about code review checklists, see the Code Review Checklist.

Ah I missed some things when saving the model. However I can already tell you it works much better if you rely on pred_scores for downstream tasks!

Hello guys,
With this commit, people that used to load a state dict with a model trained prior to this and has only the "normalization_metric" in state dict get the error bellow (in this case, using EfficientAd):

Hello guys,
With this commit, people that used to load a state dict with a model trained prior to this and has only the "normalization_metric" in state dict get the error bellow (in this case, using EfficientAd):
AttributeError: 'EfficientAd' object has no attribute 'anomaly_maps_normalization_metrics'
This is due to the fact that there was no difference in metrics normalization before and with the new fix, the attribute is not defined:
(AnomalyModule -> load_state_dict: line 171) if "anomaly_maps_normalization_class" in state_dict: self.anomaly_maps_normalization_metrics = self._get_instance(state_dict, "anomaly_maps_normalization_class")
So, my question is: what should I do to fix this without retraining the model?

The easiest would be to install the anomalib version you were using at the time of model training.


theme and sql edit text color is not match , hard to see

The default color of sql edit is very hard to see.
Dark theme, Light theme, and High Contrast theme, the colors of theme and text in the edit are very not match
version: <IP_ADDRESS>305071722
system: Ubuntu 23.04
system theme: black

Dbeaver Light theme, on my pc:

Classic theme

Dark theme is better color match than others

High contrast theme

You may adjust the colors of your font and background the way you want them.
To change the font color please follow Window (main toolbar) -> Preferences -> User Interface -> Appearance -> Colors and Fonts -> SQL Editor -> highlight the SQL text foreground -> Edit. Here you may pick a suitable color and apply it.
To change the background color please follow  Window (main toolbar) -> Preferences -> Editors -> Text Editors -> highlight Background color in the Appearance color options list, choose a comfortable color and apply it.

thanks
---Original---
From: @.>
Date: Tue, May 23, 2023 16:03 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [dbeaver/dbeaver] theme and sql edit text color is not match ,hard to see (Issue #20000)
You may adjust the colors of your font and background the way you want them.
To change the font color please follow Window (main toolbar) -> Preferences -> User Interface -> Appearance -> Colors and Fonts -> SQL Editor -> highlight the SQL text foreground -> Edit. Here you may pick a suitable color and apply it.
To change the background color please follow  Window (main toolbar) -> Preferences -> Editors -> Text Editors -> highlight Background color in the Appearance color options list, choose a comfortable color and apply it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

@youngqqcn does proposed solution solved your issue?

There has been no update for a long time. If the issue is still actual for you - feel free to reopen it.


Additional fix for replace on null

Additional fix for replace on null

Pull Request Test Coverage Report for Build 44

6 of 6 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.8%) to 70.192%

Totals

Change from base Build 38:
0.8%

Covered Lines:
44

Relevant Lines:
65

💛  - Coveralls

@alexurquhart can you apply this pr ?

I wanted to bring back this repo, but ended up having to fork: https://github.com/mattzollinhofer/vue-typeahead-bootstrap.
I've merged in functionality that I think meets this need, but I'm not exactly sure based on this PR. Give the new version a try and let me know if this isn't resolved.
You can find the new version on npm here: https://www.npmjs.com/package/vue-typeahead-bootstrap.


'disabled' attribute for file-upload

Closes #35.
This PR adds a new file-upload attribute, disabled, that if set, does two things:

Prevents files from being added to the queue*
Disables the input control (the upload button/link/whatnot).

*As a note, the queue can still be manually manipulated in code, e.g. queue.push(file); this only affects the built-in behavior (i.e. queue._addFile, which the dropzone uses).
No tests, unfortunately (because of #36), but I did yarn link it to my own Ember app and ensure it works as expected. Docs included, at least.
Additional stuff like applying CSS styles is left as an exercise for the user. This just takes care of the core bits that can't be handled in a higher-level custom component.

LGTM! I'll need to add a test to this later 👍


Extractors need training to avoid garbage data

I'm seeing junk being extracted from pages that are not remotely the entities the extractor thinks it is.  See screenshot

What extractor was this with?


Enable storeConfigInMeta only for FastBoot builds

Fixes #80

:+1:

See also:

https://github.com/ember-cli/ember-cli/pull/5246
https://github.com/ember-cli/rfcs/pull/30

Different future caching strategies mitigate this behavior differently.

@rwjblue Given our most recent conversation, should we close this PR and wait for your config changes to Ember CLI?

Yes, makes sense to me.


Non adaptable FeatureSpace features

If you open a GitHub issue, here is our policy:
It must be a bug, a feature request, or a significant problem with the documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
Here's why we have that policy:.
Keras developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.
System information.
TensorFlow version (you are using): 2.12
Are you willing to contribute it (Yes/No) : Yes
Describe the feature and the current behavior/state.
In the FeatureSpace, there is no way to add a feature that is non adaptable.
I was interested in adding a float_discretized feature giving it the bin_boundaries. 2 issues were faced:

num_bins is mandatory which contradicts the keras.layers.Discretization layer where neither num_bins nor bin_boundaries are mandatory
The other issue is that when bin_boundaries is set, it fails on adapt which is normal because when bin_boundaries is set, the layer must not be adapted.

Even for the float_normalization, we cannot pass a "mean" field in order to set the Normalization layer input_mean value so that when _list_adaptable_preprocessors is called, it can be skipped and not adapted.
What I propose
Describe the feature clearly here. Be sure to convey here why the requested feature is needed. Any brief description about the use-case would help.
I propose the following:

For float_normalization, to add mean and variance so that we can add them and the layer won't be adapted then
For float_discretization, make num_bins not mandatory defaulting to None and adjust _list_adaptable_preprocessors to skip processors whose instance is layer.Discretization if bin_boundaries is not None

Will this change the current api? How?
It will give flexibility to users who wish to add features that do not need to be adapted
Who will benefit from this feature?
As stated earlier, users who want to add features without adapting
Contributing

Do you want to contribute a PR? (yes/no): yes
If yes, please read this page for instructions
Briefly describe your candidate solution(if contributing):

As described earlier, my solution consists of editing the following:

in FeatureSpace._list_adaptable_preprocessors, add another if to check if the preprocessor is layer.Discretization and has bin_boundaries not None. If so, continue without adding the feature to the list of features to be adapted.
In FeatureSpace.float_normalized, add mean and variance to be passed to layer.Normalization
In FeatureSoace.float_discretization, make num_boundaries = None in order to be able not to pass it.

If it's approved as a viable solution, I can work on it.


Lock continue button until estimations are complete

Do you hear that your users are forcing through the setup too quickly, perhaps clicking wrong things, or not making informed decisions on how long the configurations are going to take? How often do you hear them say "this process takes too long" only to find out they picked your most complete configuration and have no idea what you're talking about when you ask how long did the estimations take? Do you wish your users would just wait the few seconds for the estimations to appear before clicking through your input requirements? Well now you can make that happen, with the all new "Lock Continue Button" option!
If you set the "lockContinueBeforeEstimations" variable to true, the "continue" button (button1 of the dialog window, it doesn't matter what text was given for it) will be disabled when the dialog window opens up by default, and will not become enabled until after the estimations are written to the screen. This effectively forces the users to have to wait until they are able to be informed on how long the process could take.
Changes to code:

Added variable to enable this setting at the top (true|false).
Added if statement to UserInput welcomeDialog opening code to see if setting is true, if so then opens dialog window with "button1disabled" parameter
Added if statement in checkNetworkQualityConfigurations function to see if setting is true, if so then enables button1

@Eltord:
I can't decide which I like more about this PR, its …

"marketing"
code

(Please note that lockContinueBeforeEstimations has been set to false to preserve previous behavior.)


Server side Prerendering and more!

Server side Prerendering
Finally page's meta tags can be prerendered server side. This means for example embed support in discord!

Looking something like this, Sorry no real preview image
Implementation
MapFallbackToPage is set to a new _Host.cshtml page. Which uses PrerenderedMetaTags to set it's metatags. The page also has an array of IPrerenderedPage which is initialized in it's constructor.
IPrerenderedPage has two methods:
bool IsPage(HttpRequest Request); returning true if the current page request is this prerendered page's page
Task<PrerenderedMetaTags> GetMetaTags(); returns a new PrerenderedMetaTags with the correct set meta tag values
When OnGet is called for _Host.cshtml it first checks if the request header has UsePrerender. If it does, find the relevant IPrerenderedPage from the array and set MetaTags to it's value. Finally return _Host.cshtml. Otherwise return index.html like normal.
The header value UsePrerender is set by PrerenderMiddleware. UsePrerender is only set for Crawlers and the prerendered result is cached.
Implementation taken from: https://github.com/MudBlazor/MudBlazor/pull/3812
Other Changes

Added Client Module Product Category (Products using this Category must be approved before they can be released same as paid products)

Added support for multiple Coupons using the same code across multiple Products
Bug fixing for Coupons

Everything in this update has been extensively tested. Server side Prerendering has first been tested by first setting it to always prerender and verifying that it returns the correct result. Crawler detection has been tested using Postman.

Tested. Looks good.


[macOS] Close VM window after it powers off

Currently, after a VM powers off on macOS, its window stays on screen with a huge Play button. In my opinion it would be better if the window would close automatically.

Re-opening due to #2466 introduced with this change.

Hello,
It seems that VM windows are not getting closed anymore when the VM powers off.
Cheers,
Julien

Actually I use this quite often. I initiate a shutdown from the guest. Wait until it powers off. Then I start the guest again.

The technical reason is that right now we don’t have a way for the UI to know if it’s shut down by the user or do to an error. (The error pop up is asynchronous). So previously, we close the window and also the error closed. This can be worked around but would require more work than just closing the window.


migration:rollback --step=2 does not work

Laravel-mongodb Version: #.#.#
lumen 8 and mongodb 5
PHP Version: #.#.#
8.0.8
Database Driver & Version:
MongoDB extension version | 1.10.0
-- | --

Description:
php artisan migrate:rollback --step=2 or step=1
does not work, it gives 'Nothing to rollback'.
But rollback without step works (php artisan migrate:rollback ).
Reason is that \Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray receives array:2 [ "batch" => -1 "migration" => -1 ] and its code treats that array as array of arrays. This is happening with mongodb (github.com/jenssegers/laravel-mongodb) and not with mysql.
Also this returns empty array:
\Illuminate\Database\Migrations\Migrator::getMigrationsForRollback
that is calling:
\Illuminate\Database\Migrations\DatabaseMigrationRepository::getMigrations:
    public function getMigrations($steps)
    {
        $query = $this->table()->where('batch', '>=', '1');

        return $query->orderBy('batch', 'desc')
                     ->orderBy('migration', 'desc')
                     ->take($steps)->get()->all();
    }

Steps to reproduce

create new table migrations
run php artisan migrate
run php artisan migrate:rollback --step=2

obs. make sure the user configured has drop permissions.
Expected behaviour
The migration should take place.
Actual behaviour
Nothing to rollback appears.
Logs:
Insert log.txt here (if necessary)

Any solution to this ?

Hi, I am having the same issue, the compileOrdersToArray is being used on multiple places, is there a way to replace this code with a custom function?


Undefined variables

I previously had Laravel-filemanager working with ckeditor. However now when I click on 'Browse Server' I get errors from the laravel-filemanager\index.blade.php file - basically all the variables are not defined, e.g. $working_dir, $file_type, $extension_not_found
I did follow the upgrade instructions, see the debug log below.
Thanks
OS System & Version: Windows NT XPS 10.0 build 15063 (Windows 10) AMD64
Laravel Version: v5.4.22
File Manager Version: v<IP_ADDRESS>
imagick Extension: Not Install
gd Extension: Install

@cbcto looks like you didn't publish the views after upgrading laravel-filemanager.
php artisan vendor:publish --tag=lfm_view --force

Please note that this will overwrite all the current laravel-filemanager view.


Coordinate backoff/retries between Client.PollRecords and "inner topic errors"

In our Client.PollRecords loop, we're trying to gracefully handle the case where the underlying topic is deleted.  At the moment we track errors generated during the loop and alert/stop the process above a certain threshold.  We originally used our own back off/retry logic until we realized most errors used the internal retry logic using the client RetryBackoffFn option, and we were actually doubling the time for retries by adding our own wait.
The issue we're having is after a certain point in time after the topic is deleted, there's no longer a retry wait and Client.PollRecords returns immediately, creating a tight loop that spams our logs and our alerting system.  Originally the RetryBackoffFn is invoked at a lower level with the message "fetch had inner topic errors", and waits as expected, but then this function stops be called on subsequent calls to Client.PollRecords.
The upshot is even though we get back an kerr.UnknownTopicOrPartitionError that is marked as "retriable", it isn't getting retried with a delay in the client.  I don't think this really qualifies as a bug, but we're looking for a way to essentially "reset" the number of retries in subsequent calls to PollRecords to avoid the tight loop.

Have you seen the UnknownTopicRetries option / does it help / provide a way to answer your question?
Also -- when you say tight loop, are you not checking the fetches.Errors(), or not backing off a little bit if it contains UnknownTopicOrPartition?
Also, what do debug logs look like? I'm curious why there's a tight loop.

Thanks for looking!  I hadn't noticed the UnknownTopicRetries option but the default of 4 does help explain why the initial delay before the error was reported (it takes approximately 6 minutes) was longer than we expected.
We are checking fetches.Errors(), but as I noted in the issue, we actually removed our backoff/retry logic since it was duplicative of the functionality internal to the kgo.Client.  From this behavior it seems like we have to treat the UnknownTopicOrPartitionError differently, which is not a problem, I just want to confirm that's the right thing to do.
Debug logs attached, the tight loop starts at 01:57:44.723, where PollRecords starts returning immediately.  The debug logs are very noisy until then.
franzretry.txt

The tight loop is because the connection to your broker is really fast, and you're doing nothing with the error that is being returned from PollFetches.
The UnknownTopicID error is stripped 5 times because Kafka has some metadata cluster broadcasting problems, see here:
https://github.com/twmb/franz-go/blob/ae169a1f35c2ee6b130c4e520632b33e6c491e0b/pkg/kgo/source.go#L925-L946
But, after 5x (per partition), the error is being bubbled up to you. Once that happens, you can see in your logs that you poll, print the error, and immediately poll again. The connection to your broker is fast enough such that this looks like a spin loop - the client is actually requesting the broker and returning the error very fast.
2161 2023-10-10 01:57:44.857 ERR kafka fetch failed after retries error="UNKNOWN_TOPIC_ID: This server does not host this topic ID." pipe_id=test_pipe_id retriable=true
2162 2023-10-10 01:57:44.857 DBG wrote Fetch v15 broker=42 bytes_written=62 err=null pipe_id=test_pipe_id time_to_write=0.03925 write_wait=0.051041
2163 2023-10-10 01:57:44.889 DBG read Fetch v15 broker=16 bytes_read=76 err=null pipe_id=test_pipe_id read_wait=0.054042 time_to_read=61.768375
2164 2023-10-10 01:57:44.889 DBG updated uncommitted group=geoff_mac_717 pipe_id=test_pipe_id to=large_trips[]
2165 2023-10-10 01:57:44.889 ERR kafka fetch failed after retries error="UNKNOWN_TOPIC_ID: This server does not host this topic ID." pipe_id=test_pipe_id retriable=true
2166 2023-10-10 01:57:44.889 DBG wrote Fetch v15 broker=16 bytes_written=62 err=null pipe_id=test_pipe_id time_to_write=0.079 write_wait=0.055333
2167 2023-10-10 01:57:44.908 DBG read Fetch v15 broker=54 bytes_read=76 err=null pipe_id=test_pipe_id read_wait=0.045041 time_to_read=72.789042
2168 2023-10-10 01:57:44.908 DBG updated uncommitted group=geoff_mac_717 pipe_id=test_pipe_id to=large_trips[]
2169 2023-10-10 01:57:44.908 ERR kafka fetch failed after retries error="UNKNOWN_TOPIC_ID: This server does not host this topic ID." pipe_id=test_pipe_id retriable=true
2170 2023-10-10 01:57:44.908 DBG wrote Fetch v15 broker=54 bytes_written=62 err=null pipe_id=test_pipe_id time_to_write=0.0865 write_wait=0.034917
2171 2023-10-10 01:57:44.921 DBG read Fetch v15 broker=42 bytes_read=76 err=null pipe_id=test_pipe_id read_wait=0.063667 time_to_read=63.454208
2172 2023-10-10 01:57:44.921 DBG updated uncommitted group=geoff_mac_717 pipe_id=test_pipe_id to=large_trips[]
2173 2023-10-10 01:57:44.921 ERR kafka fetch failed after retries error="UNKNOWN_TOPIC_ID: This server does not host

You can use PurgeTopicsFromConsuming if you actually expect the topic to not exist anymore.

Thanks for the explanation!  It seems clear that in this particular instance we'll need to add an additional backoff/retry loop rather than relying on the Client.  Do you know offhand any other types of errors we should look for that would cause similar behavior?

I don't know what you mean by retry -- this error is not recoverable, if you deleted the topic. You need to handle it otherwise you will always receive this error. Same thing for if you received UnknownTopicOrPartition.

Ah, I didn't realize that the error was not recoverable even if the topic was recreated.  Our application runs as a service and the coordination between the user who deleted the topic and the user who is responsible for monitoring the service for errors could take quite some time, so we were thinking that the user could "fix" the situation by recreating the topic.  I'm guessing we would have to create a new client/consumer group/etc. in that case.  Again thanks for the insight!

Topic IDs are globally unique forever, even if you recreate a topic with the same name. The client remembers the ID and forever uses it. You'll have to purge the topic and then re-add it to forget the old ID -- but you can do this without recreating the client.


RexRay on Ubuntu 16.04 using virtualbox does not list or mount volumes (RESOLVED)

When using a Ubuntu 16.04 host, running virtualbox, and using RexRay inside a VM hosted by virtual box, RexRay is unable to list, mount or unmount virtualbox managed volumes.
an error like this will appear in the vboxwebsrv output
00:08:27.094975 SQW01       error, raising SOAP exception
00:08:27.094980 SQW01    API method name:            IVirtualBox::FindMachine
00:08:27.094983 SQW01    API return code:            0x80bb0001 (VBOX_E_OBJECT_NOT_FOUND)
00:08:27.095005 SQW01    COM error info result code: 0x80bb0001 (VBOX_E_OBJECT_NOT_FOUND)
00:08:27.095011 SQW01    COM error info text:        Could not find a registered machine named ''

rexray volume list fails to return any volumes.
Resolution
On Ubuntu the vboxwebsrv web service has a couple limitations.

The service can only see and mount/unmount volumes with virtualbox VMs started by the same user account running the webservice. And if the webservice is run as root/sudo, it does NOT get access to all VMs
The service attempts to read the /etc/pam file by default. Permissions on this file vary by distro. On Ubuntu 16, non-root accounts are denied access

vboxwebsrv must be run as the same user account that will be used to start virtualbox VMs
how I made it work
good idea to capture webservice output in a log file in case you need it later
sudo mkdir -p /var/log/vbox
sudo chmod 777 /var/log/vbox
The following should NOT be as root or sudo'd
instead it must be run as the same account that will start any VMs using RexRay managed mounts
start a VM
VBoxManage startvm "myvmname" --type headless
start virtual box management web service
Ubuntu restricts access to /etc/pam and virtualbox must be told to avoid it
export VBOX_PAM_ALLOW_INACTIVE=true
VBoxManage setproperty websrvauthlibrary null
vboxwebsrv -H <IP_ADDRESS> -v --logfile /var/log/vbox/vbox.log
From another terminal session
login, install and configure rexray, test rexray
Using google I also discovered unverified anecdotal claims that running the webservice as root has issues, but once it was working using my personal account, I stopped experiments. Someone advised creating a "vbox" account for running both virtualbox, and the webservice, and starting VMs. Didn't do it myself because I got it working for my development use case, but passing it along in case somebody else has a broader goal.
If using vagrant to deploy virtualbox VMs, you may need to deduce the account used to start VMs.

Closing - Resolution has been added to issue description. This was created for the benefit of those scanning issues to resolve observed problems.

Thanks @cantbewong. The VBoxWebSrv typically isn't run as root which is why this likely has not been encountered until now. I know that the user running the web service must have write access to the configured path where new disks are created, but from your testing it appears that one user cannot see another user's VMs' disks via the VBoxWebSrv API. All good to know, thanks.


DirectLine object is not adding the bot to the conversation if request sent from the teams.

I am trying to chat with a bot through its direct line key from another bot which is configured on MS teams channel. Whereas same is working from the emulator.
Below is the code sample
DirectLineClient client = new DirectLineClient(directLineSecret);
conversation = await client.Conversations.StartConversationAsync();

I am getting conversationUpdate event only once in targeted bot.
{"type":"conversationUpdate","timestamp":"2019-09-11T10:15:05.4289157Z","membersAdded":[{"id":"zBot-development@31dmTQFIR-M","name":"zBot-development"}],"text":"","attachments":[],"entities":[],"address":{"id":"KegdNRjUXQT","channelId":"directline","user":{"id":"6wpjNfDy9aLFieMDDydhq5-d"},"conversation":{"id":"6wpjNfDy9aLFieMDDydhq5-d"},"bot":{"id":"zBot-development@31dmTQFIR-M","name":"zBot-development"},"serviceUrl":"https://directline.botframework.com/"},"source":"directline","agent":"botbuilder","user":{"id":"6wpjNfDy9aLFieMDDydhq5-d"}}

@EricDahlvang, could you take a look and chime in?  Thanks!

Hi @Basavarajsk1992
When using the secret to create a conversation with Direct Line, there is no way for the channel to know who what the user.id is until the user sends a message.  The Emulator knows the user.id, because it generates it... so when the Emulator creates the conversation it is able to send both bot.id and user.id ConversationUpdate.  In order to accomplish this with the Direct Line, it is necessary to embed the user.id in the token while exchanging the secret for a token.  More information can be found here: https://blog.botframework.com/2018/09/25/enhanced-direct-line-authentication-features/
note: exchanging a secret for a token should be server side.  The secret should not be embedded in distributed applications or web pages.
Here is an example of how to embed the user.id in the token, and use the token to connect with the DirectLineClient.
            HttpClient httpClient = new HttpClient();
            HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post,$"https://directline.botframework.com/v3/directline/tokens/generate");
            request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", directLineSecret);
            fromUser = $"dl_{Guid.NewGuid()}";
            request.Content = new StringContent(
                JsonConvert.SerializeObject(
                    new { User = new { Id = fromUser } }),
                    Encoding.UTF8,
                    "application/json");
            var response = await httpClient.SendAsync(request);
            DirectLineToken dlToken = null;
            if (response.IsSuccessStatusCode)
            {
                var body = await response.Content.ReadAsStringAsync();
                dlToken = JsonConvert.DeserializeObject<DirectLineToken>(body);
            }
            string token = dlToken.token;

            DirectLineClient client = new DirectLineClient(token);
            var conversation = await client.Conversations.StartConversationAsync();

After StartConversationAsync(), the bot will receive a ConversationUpdate for both bot.id and user.id members added.

Does this work for you @Basavarajsk1992 ?

Hi @Basavarajsk1992
I'm closing this issue and assuming the code provided works for you.


WIP: support mysql storage

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@7925c0a). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             master   #80   +/-   ##
======================================
  Coverage          ?   58%
======================================
  Files             ?    10
  Lines             ?   781
  Branches          ?     0
======================================
  Hits              ?   453
  Misses            ?   237
  Partials          ?    91

Continue to review full report at Codecov.

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


[bazel] Check sha256s for all external repositories

Because of the potential for an engineered Sha1 collision, we should check the sha256 of external repos when they're downloaded.

We should prefer http_archives that have support for sha256 checks, and use git_repository rules for components that are underdevelopment and not yet reproducible.
A git_repository rule that uses http_archive to carry this out isn't a big list but would require some legwork to find all the expected checksums and lock down all the dependencies.

Require http_archive (with shas) rules over git_repository rules is also important/required to support air-gapped bazel builds.


pool: Decrement ._opened_conns when connect() raises exception

@methane Hi! May I ask why this doesn't get merged?

see https://github.com/PyMySQL/Tornado-MySQL#warning

I'll merge this this time, but please don't expect I fix more bugs anymore.
I strongly recommend you to Go asyncio.

Thanks, bro!
Our problems seem to be more complicated for the time being and Tornado-MySQL is a good choice.
Yeah, we will explore the asyncio, thanks for this merge!


[IO] Python based ImageIter and Augumenter

@tornadomeet @mli

@piiswrong  i just see it. i'll check it next week. (3 holiday days and i have no computer at home:) )

need rebase against master


Develop example femr refactor prototype

The goal is to experiment having the PatientCollection and PatientDatabase abstractions in Python and avoid writing to disc steps
Also have some ideas on using functional programming concepts to make the ETL step more transparent which I want to explore (e.g. keeping functions "pure" and focusing on the input/output of each step)

@ericpan64

The goal is to experiment having the PatientCollection and PatientDatabase abstractions in Python and avoid writing to disc steps

PatientCollection is already 100% Python.
Converting PatientDatabase to Python is an interesting question, but I think would be difficult. @Miking98 looked into this, did you come to any conclusions about this?

Also have some ideas on using functional programming concepts to make the ETL step more transparent which I want to explore (e.g. keeping functions "pure" and focusing on the input/output of each step)

What does this even mean? The patient transform system is already pure functional programming. The extraction steps are also very close.

What does this even mean? The patient transform system is already pure functional programming. The extraction steps are also very close.

Imo reading/writing to disk makes a function "unpure", and requires the programmer to think about their filesystem instead of focusing purely on the Python logic. I do agree there's a lot of good examples of functional programming in the repo already

Imo reading/writing to disk makes a function "unpure"

It's not possible to store all of our raw patient data in memory so they have to be shunted to disk ASAP

Update: shared example in FEMR group meeting yesterday, will re-iterate and make higher fidelity


$table->unique() does not work with SQLite driver

Laravel Version
10.39.0
PHP Version
8.3.1
Database Driver & Version
SQLite 3.40.0 for Windows 10 x64
Description
When creating a table using Blueprint (migrations), $table->unique() is ineffective at specifying an unique index. This happens with the SQLite driver that we are using for _development.
Steps To Reproduce

Run php artisan make:migration create_products_table in a terminal
Write to ./database/migrations/*_create_products_table.php:

<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration {
  /**
   * Run the migrations.
   */
  public function up(): void
  {
    Schema::create('products', function (Blueprint $table) {
      $table->id();
      $table->string('code', 20);
      $table->string('name', 50);
      $table->timestamps();

      $table->unique('code');
    });

    // Get the raw SQL query for SQLite
    echo DB::select("SELECT sql FROM sqlite_master WHERE type='table' AND name='products'")[0]->sql;
  }

  /**
   * Reverse the migrations.
   */
  public function down(): void
  {
    Schema::dropIfExists('products');
  }
};

Run php artisan migrate

The creation query written to stdout does not include the specification of the unique index on the "code" column. Also, if you open the database using a SQLite client, the "code" column is not marked as unique. We expect the opposite.
Stdout: CREATE TABLE "products" ("id" integer primary key autoincrement not null, "code" varchar not null, "name" varchar not null, "created_at" datetime, "updated_at" datetime)

Heya, thanks for reporting.
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here? Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
laravel new bug-report --github="--public"

Please do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.
Thanks!

After investigating better, we have discovered that Blueprint creates a unique index in a separate table. In particular, you can list the indexes for the products table with the following statement: PRAGMA index_list('products');. Also, the driver enforces the unique constraint correctly.
We close the issue. Sorry for the false alarm and thanks for your time.


When loading a new category/ post remove the old data until the new one is obtained.

When you load a category/ post the old data is shown until the new data is loaded which makes it a bit confusing.

Fixed 6fe8ea1edebda03662f4c537c50946f0756906f8


how to hook the delegate which don't implements

when i hook - (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView, i must implement the method, even it's empty method!

Yes. Apple checks these methods at the time you set the delegate. Later changes are ignored. Re-set the delegate to work around this.

i mean why not support hook a method which not implement,  add a empty method in aspect.  apple checks these methods when it's called, it don't need to re-set the delegate.


GihtubActions: rust cache is sometimes not found.

Sometimes the node-template's and some of the examples' cache fail to be loaded.

The node-template might be because did not have the rust-version pinned there.

I haven't had this problem for quite some time. Going to close this for now - please reopen if you disagree.
probably also fixed by PR #293


Fix cmake soft errors due to failing creation of links on windows

Use cmd under windows to create links

Prevents errors when generating the documentation
on windows since cmake doesn't provide the
create_symlink there.

See the following screenshot:

Further reference of create_symlink <old> <new>: https://cmake.org/cmake/help/v3.2/manual/cmake.1.html#unix-specific-command-line-tools

@hkaiser sure, I adapted the PR so it conforms with the current cmake macro naming conventions

sure, I adapted the PR so it conforms with the current cmake macro naming conventions

Perfect, thanks!


UI handler for switching context between Event and Volunteer

Tests to be added.

Current implementation:

Coverage decreased (-1.8%) to 88.854% when pulling 9c9142dcacdd34d24ba393544718f22e3423c735 on Kratious:event-retrieval into 820573a47cf61e9ee06ff602fcacd1f8b6fa3d2b on CS2103-AY1819S1-W16-2:master.


DecoderException upon attempting to join server

Describe the bug
DecoderException preventing client from joining server
Steps to reproduce
Context:

This test is a follow up of a bug I am having on Automodpack:
This might be a follow up issue once I can replicate on FFAPI

https://github.com/Skidamek/AutoModpack/issues/166

Testing:
Modpack I am using on Server and Client for testing:
https://drive.google.com/file/d/1zInmQPAhP0iDzIJ2OJLPQZ6VABdVCUCc/view?usp=sharing

Running server on the same modpack, attempting to join results in

latest.log
debug.log
Do let me know if there is anything more I can provide or try
Logs
No response
Additional context
No response

my mod set has changed a bit but can confirm that is happens when joining server but not on singleplayer

The modpack you've provided contains a large amount of mods. Could you please track down the mod(s) causing the issue and see if it can be reproduced in a clean environment?

Sure thing, I’ll take a look and narrow it down tonight

removed creativecore mods and rubidium mods and receiving this error on launch - any idea what this log is saying
Exception caught from launcher
java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:58)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:88)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:126)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:71)
Caused by: java.lang.ClassCastException: class java.util.ArrayList cannot be cast to class java.lang.String (java.util.ArrayList and java.lang.String are in module java.base of loader 'bootstrap')
	at LAYER PLUGIN/net.fabricmc.loader@2.2.1+0.14.21+1.20.1/net.fabricmc.loader.impl.FMLModMetadata.lambda$new$1(FMLModMetadata.java:39)
	at java.base/java.util.Optional.map(Optional.java:260)
	at LAYER PLUGIN/net.fabricmc.loader@2.2.1+0.14.21+1.20.1/net.fabricmc.loader.impl.FMLModMetadata.<init>(FMLModMetadata.java:39)
	at LAYER PLUGIN/net.fabricmc.loader@2.2.1+0.14.21+1.20.1/net.fabricmc.loader.impl.ModContainerImpl.lambda$new$0(ModContainerImpl.java:39)
	at java.base/java.util.Optional.orElseGet(Optional.java:364)
	at LAYER PLUGIN/net.fabricmc.loader@2.2.1+0.14.21+1.20.1/net.fabricmc.loader.impl.ModContainerImpl.<init>(ModContainerImpl.java:39)
	at LAYER PLUGIN/net.fabricmc.loader@2.2.1+0.14.21+1.20.1/net.fabricmc.loader.impl.FabricLoaderImpl.addFmlMods(FabricLoaderImpl.java:169)
	at LAYER PLUGIN/net.fabricmc.loader@2.2.1+0.14.21+1.20.1/net.fabricmc.loader.impl.bootstrap.FabricLoaderBootstrap.initializeLaunch(FabricLoaderBootstrap.java:51)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.9/cpw.mods.modlauncher.LaunchPluginHandler.lambda$announceLaunch$11(LaunchPluginHandler.java:100)
	at java.base/java.util.HashMap.forEach(HashMap.java:1421)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.9/cpw.mods.modlauncher.LaunchPluginHandler.announceLaunch(LaunchPluginHandler.java:100)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.9/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:51)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.9/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.9/cpw.mods.modlauncher.Launcher.run(Launcher.java:108)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.9/cpw.mods.modlauncher.Launcher.main(Launcher.java:78)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.9/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.9/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
	at cpw.mods.bootstraplauncher@1.1.2/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141)
	... 8 more
Exiting with ERROR
Process exited with code 2.

seems the issue is with Controlling + Searchables (clientside) - removing it solves decoder
removing FFAPI also solves decoder
however a new instance with only FFAPI on server, and FFAPI+Controlling/Searchables on client does not decoder
so the issue may be an across interaction between FFAPI + Controlling/Searchable + additional mods?
I can look into it more when I have time - I found removing NoSeeNoTick and SmartCompletion also solved decoder but both had to be removed
TLDR these with FFAPI have been confirmed to conditionally cause decoder:

https://modrinth.com/mod/controlling (clientside)

https://modrinth.com/mod/searchables (dependency)

https://www.curseforge.com/minecraft/mc-mods/no-see-no-tick
https://www.curseforge.com/minecraft/mc-mods/smart-completion

@Su5eD seems the issue is with a few mods, findings are as follows
either:

removing just FFAPI solves decoder (so it is caused by an incompatibility)
removing just Controlling + Searchables (clientside) solves decoder
removing just NoSeeNoTick and SmartCompletion solves decoder

however a new instance with only FFAPI and the mods detailed does not decoder
so the issue may be an across interaction between FFAPI + the mods listed + additional mods?
I can look into it more when I have time but it's becoming harder to pinpoint
TLDR these with FFAPI have been confirmed to conditionally cause decoder:

https://modrinth.com/mod/controlling (clientside)

https://modrinth.com/mod/searchables (dependency)

https://www.curseforge.com/minecraft/mc-mods/no-see-no-tick
https://www.curseforge.com/minecraft/mc-mods/smart-completion

Are you using Prism Launcher, I can provide an instance and provide more info

Yes I am, that could help

I was unable to replicate this in a clean environment with the mods I've listed above
I did try this: not using mod sets (mod that supports subfolders for mods, for organization etc) and using all the mods and FFAPI
This fixed the issue!
So I suspect it also has to do with mod sets + FFAPI + the mods listed, but I cannot replicate from scratch with these
https://modrinth.com/mod/mod-sets
This means I am no longer hard-blocked I believe however, as I can simply stop using mod sets as it is not a functional mod just a qol mod for modpackers
If you are curious to look into this yourself and find out more I will be happy to help debug more
Here is the Prism Instance, for the server simply use the same mods folder but remove the subfolder "clientside" and leave everything else
https://drive.google.com/file/d/1uMPBrbgPa_hyuREpgS8jStFh6zqJtLw1/view?usp=sharing

After quite a while I was able to work it down, seems a handful of mods were for some reason causing this incompatibility/decoder exception between server and client that I simply have removed from both. Was not directly related to this mod, closing this issue


Support of flexWrap

I can't see flexWrap in the supported properties list.
Is this supported and if not why?
Related https://github.com/callemall/material-ui/pull/2248

@oliviertassinari Now that you mention it.. Seems like I missed that one.
You can see all props here with their referencing caniuse-data keyword as key.
I will add this and update the prefixer today.

Perfect, thanks.


[2.x] Update check for filtering column from include

if we try to use the filter method on a column based on an included properties like this :
{base_url}/users?filter[author.name]=Gentrit

the current implementation will crash because author.name won't be in the $whiteListFilter.
if we use this modification like this we can find a way to reuse properties :
class User extends Model
{
  use HasFactory;

  public function author()
  {
      return $this->belongsTo(Author::class);
  }

  public static $whiteListFilter = ['id', 'author'];
  public static $whiteListFilteType = [null, Author::class];
}

class Author extends Model
{
  use HasFactory;

  public static $whiteListFilter = ['id', 'name'];
}

The checkFilterColumn will check the first part of the $colum variables (author.name => author) and then check the next part (name => name) against the  Author::class
Like this we can filter all properties and sub-properties.

@gentritabazi01 normally everything there now. i hope that everything will work correctly.

Did you make tests locally for all cases ?

Yes of course, but because we don't have unit tests i would gladly prefere that you also test it 😅

This pull request has been close since there has not been any recent activity.
Please open a new pull request for related feature.