Q: duplicates to bigwig

Question
Are duplicates visible in the trackhub? I am guessing not from peak callers, since they are made from bedgraph and you specify to keep duplicates or not. Not sure with RNA-seq. Note to self to check this :smile:

Ok so no more issues with this right?
(Genrich doesn't check the ones diagnosed already by markdups, https://github.com/jsh58/Genrich/issues/48)

How about macs2 and hmmratac?

hmmratac is not supported, so I dont know. Macs2 has an option keep-dups, of which we use the default. That is not more than one duplicate per position (so no duplicates). The bigwig shouldn't have those then either


Re-enable recursive class attributes

Builds on #994 (it's actually the call to PyType_Modify through a shared reference which made me realize the problem!).
Last thing to do will be to replace value: GILOnceCell<*mut ffi::PyTypeObject> with UnsafeCell<ffi::PyTypeObject> + GILOnceCell<()> as suggested by @kngwyu.

@scalexm could you also please remove the CHANGELOG entry which I'd previously written about disabling class attributes (as that's now incorrect):

Disable #[classattr] where the class attribute is the same type as the class. (This may be re-enabled in the future; the previous implemenation was unsound.) #975

Thank you for the update.

Last thing to do will be to replace value: GILOnceCell<*mut ffi::PyTypeObject> with UnsafeCellffi::PyTypeObject + GILOnceCell<()>

Are you going to push the change to this branch?
Or can I merge this PR as is?

You can merge it, we can do that other change in another PR as it’s not a bug fix but rather a technical improvement.


No reproducible results when using Tensorflow backend

Hi everybody,
I have a windows laptop with the following configuration:
windows 7
Quadro M3000M video card
cuda 9.0 and its respective cuDNN library
conda 5 with Tensorflow-gpu 1.8.0 and Keras 2.1.6
I have a simple MLP to train using Hyperopt package to find the best hyperparameters configuration.
To get reproducible results, I fixed the seed with the command:
set_random_seed(1969)
Unfortunately, I get the different accuracy results and hyperparameters values at each run.
Any suggestions?
Many thanks,
Ivan
Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question on StackOverflow or join the Keras Slack channel and ask there instead of filing a GitHub issue.
Thank you!

[x ] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps

[x ] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

[ ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[ ] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

A copy of the script and input files can be found in the attached zip file
NoReproducible_Results_Tensorflow_backend.zip

May be you can have a look at #4875

Thanks for the suggestion.
In my case, I am not saving/reloading the neural network. I just display the results on a DOS console once the training face finishes.
Do you have other suggestions? I also reported this incident #10337 . It seems that there is something "weird" in Keras 2.1.6
Any other suggestion?


Is there a way to put staging behind cloudfront?

Our ip filtering breaks it and we can't use the baked in S3 mode because it doesn't respect the website hosting settings. Maybe there is something we can put in our policy?

Sadly, I'm backlogging this. There currently is no good solution. We're just going to have to be aware of the variation.


fix: ingress_class configuration invalid(#475)

Please answer these questions before submitting a pull request

Why submit this pull request?

[x] Bugfix

[ ] New feature provided

[ ] Improve performance

[ ] Backport patches

Related issues
#475

Bugfix

Description
ingress_class configuration is invalid
How to fix?
we should use controller.config.Kubernetes.IngressClass  instead config.ingressClass

@Donghui0 The unit test cases should be adjusted.


Simplified exception usage pattern

Using the ocaml sqlite library, I find I have to check result codes often.  In many cases, I have to chain lots of operations right after each other (e.g. binding ten values to a statement) and I don't really want to write lots of code to check each result.
This PR enables usage of an exception-based pattern, such as this:
Sqlite3.bind stmt 1 (Sqlite3.Data.INT (Int64.of_int nsid)) |> Rc.check;
Sqlite3.bind stmt 2 (Sqlite3.Data.INT file_hash) |> Rc.check;
Sqlite3.bind stmt 3 (Sqlite3.Data.TEXT symbol.sif_name) |> Rc.check;

It then throws an exception if any of the statements returns a problem.

Thanks a lot for the patch, I'll make a new release as soon as your other pull request have been handled.


Bump inmanta-dev-dependencies[async,extension,pytest] from 2.122.0 to 2.123.0 (#585)

Pull request opened by the merge tool on behalf of #585

Merged in 5abc453efefa7433a072868ec2d4b3dbf96b5183


Feature/sse kms

For Issue https://github.com/kahing/goofys/issues/102
This builds on the PR for SSE-S3.
Adds two more options: --use-kms and --kms-key-id with expanded options for server side encryption of objects in S3.

Requires that --use-sse is specified.
When only  the --use-kms is given, then uses the KMS server-side encryption mode (SSE-KMS) but with the default, customer master key (CMK).
When --kms-key-id is specified in addition to --use-kms it use use that specified KMS instead of the master key. Requires that the user that is connected to S3 via goofys has permission to access and use that KMS key.

All three cases tested in  basic fashion with small and large file sizes.

I squashed this and #106 and massaged it a little. Could you take a look and let me know what you think?

This makes sense given that the --sse-kms string can be left as empty.

merged via 55c235cf0dec33bd5c0542e5c0ed4fe2ced7628f


Auth::attempt not working

Laravel Version: 5.8
Adldap2-Laravel Version: 6.0
PHP Version: 7.2
LDAP Type: ActiveDirectory

I am facing trouble when I integrate my project with live LDAP server, Auth::attempt always returns false, and in logs i could see only $ Connection: default - Operation: Bound - Username:
2020-02-17 06:16:25] local.INFO: LDAP (ldap://houst.com:389) - Connection: default - Operation: Binding - Username:
[2020-02-17 06:16:25] local.INFO: LDAP (ldap://houst.com:389) - Connection: default - Operation: Bound - Username:
LDAP (ldap://houst.com:389) - Connection: default - Operation: Search - Base DN: dc=houst,dc=com - Filter: (&(objectclass=user)(objectcategory=person)

show your ldap.php and ldap_auth.php config file and your auth code.


when I am relaying emails from email sending app I am getting error : too many emails per connections. :postal

I have setup postal and everything is working fine. I am able to send send emails using postal interface but when I tried to send email using smtp relay on port 25 I got error: too many emails per connections. previously I consulted with my vps provider they said they allow sending 5 emails per minute, so I setup app to send emails in 20sec interval. so I should be good  but still facing problem on relaying the emails from app. I am using super email sender v3.1 and sendblaster. need help @yomiit @willpower232

Can't really offer any advice apart from increasing the interval to a minute to see if it actually helps or if there is another problem.

thanks for the reply @willpower232 , I am doing it now. But it would be very slow. Anything else can i do to improve rate of sending?

hello @willpower232 I set the interval to 60sec and timeout to 120sec but after sending about 9 emails i got error: too many emails per connection. Need your urgent help. plz

If your provider is limiting you, there is nothing really Postal can do about it. This limitation isn't very common and slowing down Postal as a whole would only increase your issues. If you aren't able to find another provider, you may have to find a different way of sending emails.


Add notebook for generating auxiliary input in s1flood competition

This PR adds a "competitions" folder to the examples for holding notebooks for specific competitions, and an "s1floods" folder for the upcoming DrivenData competition for extracting water pixels from Sentinel 1 data.
It adds a notebook to create auxiliary input chips from the training dataset from JRC and NASADEM elevation.

I fixed the linting issues. Planning to merge later today.

@TomAugspurger no worries, thanks for taking care of the linting issues - was waiting for additional materials before finishing but looks like we'll move ahead with just this notebook and add others after launch.


Publication/Peer Review?

Hi cool work!
Do you have any plans to publish it under peer-review? I was only able to find a preprint version.
Thanks!

Hi, thanks for your attention, this paper was submitted once in 2019 and got desk rejected by ACL 2020 because the time we posted it to ArXiv was a few hours later than the anonymous period.
We didn't attempt to submit it since then because there are a lot of papers working in this direction, and BP-Transformer is only one of the variants.
I'm glad that BP-Transformer inspires some of the influential works.


Oculus Quest Soft touch finger-tracking not working

Using experimental v9
I noticed that the finger tracking doesn't work on some games, especially Half-Life: Alyx, when their Oculus Link counterpart works otherwise.
I tested the controllers using SteamVR -> settings -> controllers -> test controllers
and they DO detect soft touch input anyway. so I'm not sure why Alyx is not picking it up.
EDIT: after further testing on SteamVR/HL:Alyx controller bindings it seems that the anything i put "Hand" section doesn't seem to work. Any of the Hand/Finger Curls doesn't to work even if i set them on Touch/Click/Pull

I am experiencing the same issue. I've been testing this out all morning. The finger tracking works with VRChat, I heard it's working for other SteamVR games as well.

after further testing on SteamVR/HL:Alyx controller bindings it seems that the anything i put "Hand" section doesn't seem work. Any of the Hand/Finger Curls doesn't to work even if i set them on Touch/Click/Pull

ALVR is missing the skeleton hand tracking ans mentioned here:
https://github.com/JackD83/ALVR/issues/135#issuecomment-602056209
Is Alyx working for you in general? Its freezing for me if I use ALVR

ALVR is missing the skeleton hand tracking as mentioned here:
#135 (comment)
Is Alyx working for you in general? Its freezing for me if I use ALVR

Hi, JackD83
We appreciate your quick response.
I can confirm that Alyx is working for me in ALVR in the 4hrs I've played it. Aside from the touch tracking issue, performance has been great.
If there's anything we can do to help please let me know.

ALVR is missing the skeleton hand tracking as mentioned here:
#135 (comment)
Is Alyx working for you in general? Its freezing for me if I use ALVR
Yes, for me HL: Alyx is working fine with ALVR(used v9). I even have 120% render resolution on Alyx and no problems. Great tracking (noticing little bit of delay in movement but still comfortably playable), very rare stutters, good picture quality. The non-finger tracking didn't even bother me until somebody mentioned that it should work (as with Oculus Link and VD). I really hope it gets fixed though.

for my ALVR settings: see attached pictures

btw thanks of the quick reply

Please try the attached driver dll. I added the hand skeleton and poses are the same as with link. Its missing the animation between the poses and analog trigger and joystick have no influence on the pose.
driver_alvr_server.zip

Wow, that was fast! I can confirm that the dll works!
Yes, missing the animation but the gestures seem to match as it is on Link. Awesome!!!

The DLL indeed works! Can confirm the missing animations however.
See here for comparison https://youtu.be/T54aGkkXfuc?t=935
If HL: Alyx doesn't work for you to test, you can also test Valve's "The Lab", free on SteamVR. It also uses the same poses i think, cause the DLL you sent also added finger-tracking to the hands.(it didn't have one like Alyx before)
One weird thing happening though, not sure if this is on Valve's part, or partly due to the missing animations, is when my fingers are rested on the buttons:

For the triggers and face buttons my index/thumb curls just fine when my hands are rested
but while my middle (to pinky) fingers are rested on the grip, they still stretch out fully. I have to push so they would curl.
so when all fingers are rested on their respective buttons, the hands form a weird "OK" gesture instead of curled hands.

but while my middle (to pinky) fingers are rested on the grip, they still stretch out fully. I have to push so they would curl.

Yes, I was wondering about that too, but there is no pose for the hand if the grip is only touched. As I mentioned, I got the input from the Quest using link and there is no such pose.
The only difference is the analog input from the grip, trigger and joystick. With those you could "see" how much you pressed the grip instead of full and "not touched at all"

@zarik5 added the hand animations. Please test the new dll
driver_alvr_server.zip

@zarik5 added the hand animations. Please test the new dll
driver_alvr_server.zip

can confirm it works(Half-Life Alyx), all have proper transition animations now
the quick update is much appreciated

Did this also fix the missing rumble in HL Alyx? Shooting guns, hitting buttons, tapping onto stuff?

Did this also fix the missing rumble in HL Alyx? Shooting guns, hitting buttons, tapping onto stuff?

I think I had the rumble even before using this fix

Thank you both, @JackD83 and @zarik5
The animations are present. Appreciate your work and attention to this. :)

@JackD83 fantastic work! though now the animations are binary/instant and like @JeramZz said, don't use button pressure.

What I noticed though is the animations are not yet based on button pressure.

I'll look into it.

Is there any game that uses the hand pose that accounts for the controller (that is when the ring and pinky fingers are always curled)?

Is there any game that uses the hand pose that accounts for the controller (that is when the ring and pinky fingers are always curled)?
Hmm.. Not really from my experience. Maybe with boxing games?
Also, I don't think the way the fingers curl with pressure sensitivity deters aspects with the way HL:Alyx is played. I think it's a QoL thing, and makes interacting with environmental objects seem more realistic.

I almost finished the animations based on trigger and grip pressure.
I noticed that in my latest build, compared to the last merged commit, the index finger curls only ~90% and the middle, ring and pinky ~50%, because I'm expecting the trigger and grip values to be between 0 and 1. @JackD83 do you know what are the trigger and grip values when they are completely pressed? I wanted to print them on the log but I'm unable to activate it (I checked DebugLog but to no avail).

but while my middle (to pinky) fingers are rested on the grip, they still stretch out fully. I have to push so they would curl.

I think the grip has no touch sensitvity because there is no grip touch mentioned on oculus mobile sdk.

I wanted to print them on the log but I'm unable to activate it (I checked DebugLog but to no avail).

Ok, I just needed to create the log file first.

I'm expecting the trigger and grip values to be between 0 and 1

They are in fact exactly in the range [0, 1]. The problem was my Slerp function. The animations in the last build by JackD83 with my changes are also bugged but it wasn't obvious because I set the animation duration pretty short.
A PR is coming right up.

Was included in ev10


CI: Slightly adjust GHA and Scrutinizer configuration settings

GHA: Submit code coverage reports only once
Scrutinizer CI: Allow more time for waiting on code coverage reports

Pull Request Test Coverage Report for Build 496751804

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.651%

Totals

Change from base Build 496733659:
0.0%

Covered Lines:
291

Relevant Lines:
332

💛  - Coveralls

Pull Request Test Coverage Report for Build 496751804

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.651%

Totals

Change from base Build 496733659:
0.0%

Covered Lines:
291

Relevant Lines:
332

💛  - Coveralls

A new inspection was created.

A new inspection was created.


main.ts typescript not working

On a fresh project:
Rename: .storybook/main.js to .storybook/main.ts
Change the content to:
let myVar: string = 'test'
console.log(myVar)

module.exports = {
  "stories": [
    "../src/**/*.stories.mdx",
    "../src/**/*.stories.@(js|jsx|ts|tsx)"
  ],
  "addons": [
    "@storybook/addon-links",
    "@storybook/addon-essentials"
  ],
  "core": {
    "builder": "storybook-builder-vite"
  }
}

Run
npm run storybook
Outputs:
ERR! SyntaxError: <repo path>\.storybook\main.ts: Missing semicolon. (1:9)
ERR!
ERR! > 1 | let myVar: string = 'test'
ERR!     |          ^
ERR!   2 | console.log(myVar)

Does that work with the webpack builder?  I guess I've always assumed that the config file needed to be plain commonjs.

Yes, there are typescript examples in the storybooks example folder: https://github.com/storybookjs/storybook/blob/next/examples/react-ts-webpack4/main.ts
My use case is that I have several custom vite plugins developed in typescript, it would make my life easier if I could include those plugins in the same way that I include them in vite.config.ts

I have a workaround for this:
npm install -D ts-node
npm install -D cross-env

create:
tsconfig.storybook.json
{
  "extends": "./tsconfig.json",
  "compilerOptions": {
    "module": "CommonJS",
  },
  "include": [".storybook/**/*.ts"],
}

Update package.json
"storybook": "cross-env TS_NODE_PROJECT=tsconfig.storybook.json start-storybook -p 6006",


Add More Stopword Lists

After the current round of PRs are worked out, we should build in more stop words. I vote adding all the ones here, along with any others asked for: http://www.ranks.nl/stopwords . Also @fabianvf one of these is what I used as a test file, think that'll cause a problem?

hmm, wonder if there's a good way we can pull those down and cache them if they're requested, rather than adding them all to the repository. Or just generally adding the ability to pull a stopwords list from a url...

I thought about that, but in some they'll just be a few kilobytes, so I
don't think it's worth adding that. Regarding adding URLs, we can, but it
doesn't seem worth it since it'd have to be in a txt styled format (which
is rare to find online in my experience) and they really should save it
locally anyways.
On Jul 31, 2017 11:55 AM, "Fabian von Feilitzsch"<EMAIL_ADDRESS>wrote:

hmm, wonder if there's a good way we can pull those down and cache them if
they're requested, rather than adding them all to the repository. Or just
generally adding the ability to pull a stopwords list from a url...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fabianvf/python-rake/issues/20#issuecomment-319113029,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AShd7LU-k1wYp4Hed3Yl6xu7S2nd8nTgks5sTfjigaJpZM4Okq9u
.

Well, if you went the URL route I'd thought you'd provide a URL and separation regex, so like
RAKE.load_stopwords('http://example.com/beststopwords', re.compile('super-cool-regex'))

so it wouldn't matter how they formatted it so long as it was a list of some kind. Just feel like it would be convenient, especially if you were just hacking/prototyping and wanted to experiment with different stoplists, without requiring you to download/format them manually.

Interesting. You may be right that that's a useful feature and I don't see it, but I've never seen someone who wanted to do that as a data scientist. Also it'd require more than just a regex for the vast majority of sites, it'd require playing around in beautiful soup. The way I've seen everyone do it because it's always been the fastest has been to copy and paste into a ipython.

It looks like this project has amassed a large group of stopwords lists from a variety of sources, do you think we could leverage this work?

For posterities sake:
Hi Justin,
Thanks for asking.
Yes you can use our stopword lists if you credit 'ranks.nl'
Does your script work with HTML documents or text without markup only ?
If HTML, I'm curious if you've had a chance to test the results from the Page Analyzer tool on ranks.nl ?
It is basically a tool for Automatic Keyword Extraction from Individual HTML Documents.
Kind regards,
Damian Doyle
Ranks NL
On Tue, Aug 1, 2017 at 10:02 PM, Justin Terry<EMAIL_ADDRESS>wrote:
Hello, I'm working on an MIT licensed open source natural language processing tool in python: https://github.com/fabianvf/python-rake
Can I include your stop word lists into the package by default if I credit you?
--
Thank you for your time,
Justin Terry

@fabianvf please close this, I fixed this in my last PR that you merged and forgot to mention it.

nevermind apparnetly i can now


Morph skip render some elements

Page with <meta name="turbo-refresh-method" content="morph">. Next we have page with content:
<%= turbo_stream_from @incoming_bill %>

Hello

If I change page by Turbo::StreamsChannel.broadcast_refresh_to incoming_bill, it render some svg and render back this view, it will skip to render all after
. But it still visible in network, that backend send whole content. After page refresh content show as expected.
Also no such issue with replace refresh mode, only with morph.
Here video:
https://youtu.be/O9w_W2Eydxw

After long days of debugging I find out, that https://github.com/airbnb/lottie-web was a reason of such issues


Delete binaryen test suite from package

Per https://github.com/brson/wasm-opt-rs/pull/90#issuecomment-1278207930, it's a huge amount of unused source code.

We can do this by deleting the directory in publish.sh


How to extract the UMI info in illumina read's name into a seperate tag

Hi,
Have beening working on UMI collapsing of illumina DNA seq data. The fastq header looks like this. I wonder is there a way to transfer all the UMI like "TATGTNC+NNGAGCA" to a seperate tag which could be used by duplicates markers?
@NS500211:808:HW27KAFXY:1:11101:12228:1057:TATGTNC+NNGAGCA 1:N:0:TCCGGAGA
Thanks.

Hello @TendoLiu - the name of your read looks a bit weird to me, as it contains a Casava barcode (1:N:0:TCCGGAGA) and the UMI appended to the read name (TATGTNC+NNGAGCA). Is this a FASTQ or a BAM file?
ReadTools is a bit "picky" with read names, as it only understands 2 formats that are common:

Casava: e.g. @NS500211:808:HW27KAFXY:1:11101:12228:1057 1:N:0:TCCGGAGA, where the identified barcode will be TCCGGAGA
Illumina: e.g., @NS500211:808:HW27KAFXY:1:11101:12228:1057#TATGTNC+NNGAGCA, where the identified barcode will be TATGTNC+NNGAGCA. Note that, contrary to your case, the barcodes are separated from the read name by # instead of :., and that only one barcode is detected as + is used for concatenation instead of the standard (in the specs), which is -.

ReadTools can handle only one of the problems that you are facing: the barcode separator could be overriden (although will still be used for all the output files) with the java property barcode_index_delimiter (so providing -Dbarcode_index_delimiter=+ in your case). Nevertheless, I am not sure if your use-case matches AssignReadGroupByBarcode, as it is designed for barcodes (like the one after the space) and not for UMIs (I am not familiar with them, but maybe appending them to the read name with : as separator is a standard there...)
Could you please clarify with this information? Thanks!


fix(core): added in timer and interval id checks before clearing

clearInterval and clearTimeout are expensive to run and should only be ran if there is for sure an id to be cleared. This PR adds the checks in as discussed in #3756

prettier is failing

@TkDodo should be fixed now

:tada: This PR is included in version 3.39.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


node.js cann't create a bash child process

when I spwan a new bash process using
1.require('child_process').spawn("C:\Windows\System32\bash.exe");
2.require('child_process').spawn("C:\Windows\System32\bash.exe",["-c","ls"]);
It will output a "Error: 0x80070057" via stdout.
My windows subsystem for linux however works perfect for standalone usage.I just need to connect nw.js and bash, any idea about this?

Thanks for reporting the issue, this looks like the same issue as https://github.com/Microsoft/BashOnWindows/issues/2:
For now we only support the console for stdin and stdout, but improvements are on the backlog. My suggestion at this point would be to add it to our User Voice page and go for the up votes to help raise the priority.

yeah.exactly the same problem.


Removed @memoize to get tests to pass

Tests were complaining that metaclass already existed and couldn't be defined again. Removing @memoize did the trick.

Were you trying this in 0.5. This is strange , I've not seen this before, and the tests have been passing on Travis...

Yes, I was trying it in 0.5. I first notice the issue when FTPClient.jl wasn't building on travis, as you can see here https://travis-ci.org/invenia/FTPClient.jl/jobs/108060468#L672
I know they did some changes to how functions work recently, so you may be a victim to that.
In case you don't want to miss a problem like that again, you can try this tool https://nightli.es/
That's how I found the problem in the first place :)

Ok, thanks. I haven't run this on 0.5 at all, primarily waiting for it to stabilise, and packages to catch up.
I suppose this should be fixed in the Memoize package. I'll take a look.

Thanks for investigating this. This has now been fixed in base julia, and the tests now pass with Version 0.5.0-dev+3660 (2016-04-20 14:02 UTC) or later.


saltine: fix build by disabling tests

Motivation for this change
The tests fail to compile because of a missing module but would otherwise be fine. I opened a PR in the repo but I'm not sure how long it will take for a new release, and whether it's expected that nixpkgs should just wait for upstream fixes.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[X] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Thanks.  This builds for me.


Triple Quasi Quotes ending with "

Hi, the following string, for example, is not highlighted correctly and messes up highlighting for the rest of the document.
s"""bar="foo""""

I'm using the latest on vim 7.4 and this issues appears to still occur.

It doesn't happen to me. Can you send a screenshot?


Switch openshift/api to go1.11

/assign @deads2k
Requires https://github.com/openshift/release/pull/3416

/lgtm

/retest


[Roblox LSP] Failed to connect: HttpError: ConnectFail

Ok so I'm trying to get Roblox LSP to work but it isn't for some reason. I have the latest VS Code plugin but every time I click the extension in Roblox studio I get this error.

Here is my output:
[2021-08-19 10:25:31.215] [exthost] [info] extension host started [2021-08-19 10:25:31.240] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication {"startup":false,"extensionId":{"value":"vscode.microsoft-authentication","_lower":"vscode.microsoft-authentication"},"activationEvent":"onAuthenticationRequest:microsoft"} [2021-08-19 10:25:31.240] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/microsoft-authentication/dist/extension.js [2021-08-19 10:25:31.248] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"extensionId":{"value":"vscode.debug-auto-launch","_lower":"vscode.debug-auto-launch"},"activationEvent":"*"} [2021-08-19 10:25:31.248] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/debug-auto-launch/dist/extension [2021-08-19 10:25:31.250] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"} [2021-08-19 10:25:31.250] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main [2021-08-19 10:25:31.263] [exthost] [info] ExtensionService#_doActivateExtension CoenraadS.bracket-pair-colorizer {"startup":true,"extensionId":{"value":"CoenraadS.bracket-pair-colorizer","_lower":"coenraads.bracket-pair-colorizer"},"activationEvent":"*"} [2021-08-19 10:25:31.264] [exthost] [info] ExtensionService#loadCommonJSModule file:///Users/dorson_home/.vscode/extensions/coenraads.bracket-pair-colorizer-1.0.61/out/src/extension [2021-08-19 10:25:31.276] [exthost] [info] ExtensionService#_doActivateExtension PKief.material-icon-theme {"startup":true,"extensionId":{"value":"PKief.material-icon-theme","_lower":"pkief.material-icon-theme"},"activationEvent":"*"} [2021-08-19 10:25:31.276] [exthost] [info] ExtensionService#loadCommonJSModule file:///Users/dorson_home/.vscode/extensions/pkief.material-icon-theme-4.9.0/dist/extension [2021-08-19 10:25:31.319] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug {"startup":false,"extensionId":{"value":"ms-vscode.js-debug","_lower":"ms-vscode.js-debug"},"activationEvent":"onCommand:extension.js-debug.clearAutoAttachVariables"} [2021-08-19 10:25:31.319] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/extension.js [2021-08-19 10:25:31.437] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication {"startup":false,"extensionId":{"value":"vscode.github-authentication","_lower":"vscode.github-authentication"},"activationEvent":"onAuthenticationRequest:github"} [2021-08-19 10:25:31.437] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js [2021-08-19 10:25:31.461] [exthost] [info] ExtensionService#_doActivateExtension vscode.github {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"} [2021-08-19 10:25:31.461] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/github/dist/extension.js [2021-08-19 10:25:31.471] [exthost] [info] eager extensions activated [2021-08-19 10:25:31.475] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet {"startup":false,"extensionId":{"value":"vscode.emmet","_lower":"vscode.emmet"},"activationEvent":"onStartupFinished"} [2021-08-19 10:25:31.476] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/emmet/dist/node/emmetNodeMain [2021-08-19 10:25:31.481] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict {"startup":false,"extensionId":{"value":"vscode.merge-conflict","_lower":"vscode.merge-conflict"},"activationEvent":"onStartupFinished"} [2021-08-19 10:25:31.481] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/merge-conflict/dist/mergeConflictMain [2021-08-19 10:25:31.484] [exthost] [info] ExtensionService#_doActivateExtension vscode.testing-editor-contributions {"startup":false,"extensionId":{"value":"vscode.testing-editor-contributions","_lower":"vscode.testing-editor-contributions"},"activationEvent":"onStartupFinished"} [2021-08-19 10:25:31.484] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/testing-editor-contributions/dist/extension.js [2021-08-19 10:26:02.524] [exthost] [info] extension host terminating: received terminate message from renderer [2021-08-19 10:26:03.529] [exthost] [info] exiting with code 0 [2021-08-19 10:26:05.914] [exthost] [info] extension host started [2021-08-19 10:26:05.944] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication {"startup":false,"extensionId":{"value":"vscode.microsoft-authentication","_lower":"vscode.microsoft-authentication"},"activationEvent":"onAuthenticationRequest:microsoft"} [2021-08-19 10:26:05.945] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/microsoft-authentication/dist/extension.js [2021-08-19 10:26:05.952] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"extensionId":{"value":"vscode.debug-auto-launch","_lower":"vscode.debug-auto-launch"},"activationEvent":"*"} [2021-08-19 10:26:05.952] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/debug-auto-launch/dist/extension [2021-08-19 10:26:05.955] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"} [2021-08-19 10:26:05.955] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main [2021-08-19 10:26:05.969] [exthost] [info] ExtensionService#_doActivateExtension CoenraadS.bracket-pair-colorizer {"startup":true,"extensionId":{"value":"CoenraadS.bracket-pair-colorizer","_lower":"coenraads.bracket-pair-colorizer"},"activationEvent":"*"} [2021-08-19 10:26:05.969] [exthost] [info] ExtensionService#loadCommonJSModule file:///Users/dorson_home/.vscode/extensions/coenraads.bracket-pair-colorizer-1.0.61/out/src/extension [2021-08-19 10:26:05.984] [exthost] [info] ExtensionService#_doActivateExtension PKief.material-icon-theme {"startup":true,"extensionId":{"value":"PKief.material-icon-theme","_lower":"pkief.material-icon-theme"},"activationEvent":"*"} [2021-08-19 10:26:05.984] [exthost] [info] ExtensionService#loadCommonJSModule file:///Users/dorson_home/.vscode/extensions/pkief.material-icon-theme-4.9.0/dist/extension [2021-08-19 10:26:06.714] [exthost] [info] ExtensionService#_doActivateExtension vscode.github {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"} [2021-08-19 10:26:06.714] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/github/dist/extension.js [2021-08-19 10:26:06.735] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug {"startup":false,"extensionId":{"value":"ms-vscode.js-debug","_lower":"ms-vscode.js-debug"},"activationEvent":"onCommand:extension.js-debug.clearAutoAttachVariables"} [2021-08-19 10:26:06.735] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/extension.js [2021-08-19 10:26:06.811] [exthost] [info] ExtensionService#_doActivateExtension evaera.vscode-rojo {"startup":true,"extensionId":{"value":"evaera.vscode-rojo","_lower":"evaera.vscode-rojo"},"activationEvent":"workspaceContains:*.project.json"} [2021-08-19 10:26:06.811] [exthost] [info] ExtensionService#loadCommonJSModule file:///Users/dorson_home/.vscode/extensions/evaera.vscode-rojo-1.12.7/out/extension [2021-08-19 10:26:07.182] [exthost] [info] eager extensions activated [2021-08-19 10:26:07.275] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication {"startup":false,"extensionId":{"value":"vscode.github-authentication","_lower":"vscode.github-authentication"},"activationEvent":"onAuthenticationRequest:github"} [2021-08-19 10:26:07.276] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js [2021-08-19 10:26:07.287] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet {"startup":false,"extensionId":{"value":"vscode.emmet","_lower":"vscode.emmet"},"activationEvent":"onStartupFinished"} [2021-08-19 10:26:07.288] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/emmet/dist/node/emmetNodeMain [2021-08-19 10:26:07.293] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict {"startup":false,"extensionId":{"value":"vscode.merge-conflict","_lower":"vscode.merge-conflict"},"activationEvent":"onStartupFinished"} [2021-08-19 10:26:07.293] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/merge-conflict/dist/mergeConflictMain [2021-08-19 10:26:07.299] [exthost] [info] ExtensionService#_doActivateExtension vscode.testing-editor-contributions {"startup":false,"extensionId":{"value":"vscode.testing-editor-contributions","_lower":"vscode.testing-editor-contributions"},"activationEvent":"onStartupFinished"} [2021-08-19 10:26:07.299] [exthost] [info] ExtensionService#loadCommonJSModule file:///private/var/folders/f9/8k0_nsfj0fg2vz8gq9kw0xx80000gn/T/AppTranslocation/2F126909-E54A-47C9-A3E1-79BFD830691A/d/Visual Studio Code.app/Contents/Resources/app/extensions/testing-editor-contributions/dist/extension.js [2021-08-19 10:27:43.025] [exthost] [info] ExtensionService#_doActivateExtension Kampfkarren.selene-vscode {"startup":false,"extensionId":{"value":"Kampfkarren.selene-vscode","_lower":"kampfkarren.selene-vscode"},"activationEvent":"onLanguage:lua"} [2021-08-19 10:27:43.025] [exthost] [info] ExtensionService#loadCommonJSModule file:///Users/dorson_home/.vscode/extensions/kampfkarren.selene-vscode-1.0.3/out/extension.js [2021-08-19 10:27:43.439] [exthost] [info] ExtensionService#_doActivateExtension Nightrains.robloxlsp {"startup":false,"extensionId":{"value":"Nightrains.robloxlsp","_lower":"nightrains.robloxlsp"},"activationEvent":"onLanguage:lua"} [2021-08-19 10:27:43.439] [exthost] [info] ExtensionService#loadCommonJSModule file:///Users/dorson_home/.vscode/extensions/nightrains.robloxlsp-0.15.11/client/out/extension

Follow these steps and try again:

Open a .lua file before connecting the plugin. (So the extension initializes).
Make sure you don't have Lua by sumneko enabled.
Make sure the port in the extension settings (Lua > Completion: Server Port) is the same as the port in the Roblox Studio plugin settings.
Open http://<IP_ADDRESS>:0/last (replace the last 0 with the port), and check if it's blank or if it can't load.

I followed all the steps

https://user-images.githubusercontent.com/62249119/130334187-b236c95f-bed9-48c4-8eff-5fc5cda8cfec.mov

Check your settings, and make sure

is set to Luau, check .vscode/settings.json too.

It seems it was set to Lua 5.1, now it works?

No, It's still not working

No, It's still not working

How is not working?

Ok. For some reason it just started working. Yeah setting that to Luau fixed it

Thanks ALOT


Can't support CDB user like C##test

When use the CDB user like C##test to connect the oracle, the connection str is
oracle://C##test:testpass@oracle19c:1521/?SID=orcl
conn, err := sql.Open("oracle", connStr)
log.Println(err)
defer conn.Close()
err = conn.Ping()
log.Println(err)
it failed, and the error is:
address C: missing port in address

would you try your code using function
go_ora.BuildUrl(server, port, service, user, password, nil)


Allow to use api in higher version.

I've been away on holiday. I think you can install packages from git with pip, though, @riklaunim. I'll merge and push a new version.


Object.fromEntries loses all types on the key

lib Update Request

Configuration Check

My compilation target is es2020 and my lib is ES2020.
Missing / Incorrect Definition
fromEntries<T = any>(entries: Iterable<readonly [PropertyKey, T]>): { [k: string]: T };

should be
fromEntries<K extends PropertyKey, T = any>(entries: Iterable<readonly [K, T]>): { [k in K]: T };

Sample Code
enum Period {
  M1 = '1m',
  M3 = '3m',
  M6 = '6m',
  Y1 = '1y',
  Y3 = '3y',
  Y5 = '5y',
  Y10 = '10y',
}

const list: [Period, moment.Moment][] = [
  [Period.M1, moment().subtract(1, 'month')],
  [Period.M3, moment().subtract(3, 'months')],
  [Period.M6, moment().subtract(6, 'months')],
  [Period.Y1, moment().subtract(1, 'year')],
  [Period.Y3, moment().subtract(3, 'years')],
  [Period.Y5, moment().subtract(5, 'years')],
  [Period.Y10, moment().subtract(10, 'years')],
];

const object: { [k in Period]: moment.Moment } = Object.fromEntries(list);

Returns error for object:
Type '{ [k: string]: Moment; }' is missing the following properties from type '{ "1m": Moment; "3m": Moment; "6m": Moment; "1y": Moment; "3y": Moment; "5y": Moment; "10y": Moment; }': "1m", "3m", "6m", "1y", and 3 more.ts(2740)

Documentation Link
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/fromEntries
Notes
I've read the soundness issues discussion on Object.keys(), but I'm not seeing how that should/would apply to Object.fromEntries().
Say if I am passing a [A, B][] into Object.fromEntries() where A is union of a class C and another enum D, I am going to get C.toString() | D. I am already hitting fromEntries(entries: Iterable<readonly any[]>): any; instead.

See also: https://github.com/microsoft/TypeScript/pull/37457#issuecomment-1106615558
I just noted that this doesn't work because it's possible to omit a particular row in list, but the resulting type for Object.fromEntries() would generate an object that has all possible Periods as keys.
Apparently
fromEntries<K extends PropertyKey, T = any>(entries: Iterable<readonly [K, T]>): { [k: K]: T };

doesn't work either

Duplicate of #35745.
This is intentional. Objects are not sealed. It's very possible that you get properties with names not compatible with PropertyKey.

Essentially a duplicate of #35745 but that issue has been closed without resolution.

It wouldn't be correct to do this, because the type of an array tells you want might be in it, not what is in it. For example, list could be entirely empty, which would make object's value be { }, despite the type of object saying that it had a M1 property.

Why not type it as fromEntries<K, V>(entries: [K, V][]): {[k: K]?: V}?


fix: fixed go root matching

Go root wasn't matched in the test file path in the normalize_id
function.
Added string replace that replaces plain strings and doesn't need the
magic characters to be escaped.

This fixes the problem with plugin not working. Im using unix system and I guess its a problem with the / matching/escaping in the normalize_id function.
Example:
local wow = "/Users/ales/my-project/code/go/crypto/crypto_test.go::TestDecrypt"

local match = "/Users/ales/my-project/code/go"

local replace = wow:gsub(match, "")
print(replace)

replace didn't match anything

This is connected to the https://github.com/nvim-neotest/neotest-go/pull/14#issuecomment-1234260369 🤔 If there is any other solution you can easily close this MR

@alesbrelih I just pushed 9761f98343d2516a8c320261dcfd379e01d6ea29 which should fix this issue in a simpler way by escaping special characters using a vim builtin function. Can you see if this works for you? if so we can close this out. I appreciate you raising a PR yourself, though 💪🏿

Actually, your example still doesn't work for me, pushed another change that uses vim's substitution which is less fiddly than a lua pattern there

I think it should now work, I tried your example names and this latest mechanism seems to work 👍🏿. Let me know if it doesn't for you

It works and it doesn't work :D
Basically the substitution part was fixed.. ty! that is much cleaner but could you also change the test file pattern from:
'/%w*_test.go'

to
'/[%w-_]*_test.go'

Meaning we should include possibility of - and _ in the file name.
Its quite common to have either underscore or minuses in the file names
Thanks for your help!

@alesbrelih if you raise a PR for that part I'll merge it so it's credited to you since it's your solution 👍🏾

I've opened a PR, thanks for everyhing btw!

Merged 👍🏾


Scaffolding does not Work - COMException when calling EntityFrameworkCore.Jet.Data.ComObject.TryGetMember

I've just started a simple project to test if i can read an access db with EF and the Jet Provider. But the scaffolding leads to a COM Exception 0x800A0CB3.
What i have done

Downloaded the latest northwind.accdb
Opened the DB in Access and VS 2022 Server Explorer to ensure that i can read the file
Setup a simple project and a corresponding test project

Project:
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <PlatformTarget>AnyCPU</PlatformTarget>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="EntityFrameworkCore.Jet" Version="8.0.0-alpha.2" />
    <PackageReference Include="EntityFrameworkCore.Jet.Data" Version="8.0.0-alpha.2" />
    <PackageReference Include="EntityFrameworkCore.Jet.Odbc" Version="8.0.0-alpha.2" />
    <PackageReference Include="EntityFrameworkCore.Jet.OleDb" Version="8.0.0-alpha.2" />
    <PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.1">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
    <PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.1">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
    <PackageReference Include="System.Data.OleDb" Version="8.0.0" />
  </ItemGroup>

</Project>

DBContext:
public class JetTestContext : DbContext
{
    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    {
        optionsBuilder.UseJet(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=<PATH>\northwind.accdb;");
    }
}

Test:
[Test]
public void JetConnection()
{
    using (JetTestContext context = new JetTestContext())
    {
        context.Database.OpenConnection();
        context.Database.CloseConnection();
        Assert.IsTrue(context.Database.CanConnect());
    }
}

The Unit Test is successful.
After that i tried to scaffold the DB Context:
Scaffold-DbContext -Connection "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=<PATH>\northwind.accdb;" -Provider EntityFrameworkCore.Jet -OutputDir Models

This results in the Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.Runtime.InteropServices.COMException (0x800A0CB3): Das Objekt oder der Provider kann den angeforderten Vorgang nicht ausführen.
   --- End of inner exception stack trace ---
   at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
   at EntityFrameworkCore.Jet.Data.ComObject.TryGetMember(GetMemberBinder binder, Object& result)
   at CallSite.Target(Closure, CallSite, Object)
   at EntityFrameworkCore.Jet.Data.AdoxSchema.GetColumns()
   at EntityFrameworkCore.Jet.Data.PreciseSchema.GetColumns()
   at EntityFrameworkCore.Jet.Data.JetStoreSchemaDefinition.JetInformationSchema.GetColumns(JetConnection connection)
   at EntityFrameworkCore.Jet.Data.JetStoreSchemaDefinition.JetInformationSchema.GetDbDataReaderFromSimpleStatement(JetCommand command)
   at EntityFrameworkCore.Jet.Data.JetStoreSchemaDefinition.JetInformationSchema.TryGetDataReaderFromInformationSchemaCommand(JetCommand command, DbDataReader& dataReader)
   at EntityFrameworkCore.Jet.Data.JetCommand.ExecuteDbDataReaderCore(CommandBehavior behavior)
   at EntityFrameworkCore.Jet.Data.JetCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at EntityFrameworkCore.Jet.Scaffolding.Internal.JetDatabaseModelFactory.GetColumns(DbConnection connection, IReadOnlyList`1 tables)
   at EntityFrameworkCore.Jet.Scaffolding.Internal.JetDatabaseModelFactory.GetTables(DbConnection connection, DatabaseModel databaseModel, Func`3 filter)
   at EntityFrameworkCore.Jet.Scaffolding.Internal.JetDatabaseModelFactory.Create(DbConnection connection, DatabaseModelFactoryOptions options)
   at EntityFrameworkCore.Jet.Scaffolding.Internal.JetDatabaseModelFactory.Create(String connectionString, DatabaseModelFactoryOptions options)
   at Microsoft.EntityFrameworkCore.Scaffolding.Internal.ReverseEngineerScaffolder.ScaffoldModel(String connectionString, DatabaseModelFactoryOptions databaseOptions, ModelReverseEngineerOptions modelOptions, ModelCodeGenerationOptions codeOptions)
   at Microsoft.EntityFrameworkCore.Design.Internal.DatabaseOperations.ScaffoldContext(String provider, String connectionString, String outputDir, String outputContextDir, String dbContextClassName, IEnumerable`1 schemas, IEnumerable`1 tables, String modelNamespace, String contextNamespace, Boolean useDataAnnotations, Boolean overwriteFiles, Boolean useDatabaseNames, Boolean suppressOnConfiguring, Boolean noPluralize)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScaffoldContextImpl(String provider, String connectionString, String outputDir, String outputDbContextDir, String dbContextClassName, IEnumerable`1 schemaFilters, IEnumerable`1 tableFilters, String modelNamespace, String contextNamespace, Boolean useDataAnnotations, Boolean overwriteFiles, Boolean useDatabaseNames, Boolean suppressOnConfiguring, Boolean noPluralize)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScaffoldContext.<>c__DisplayClass0_0.<.ctor>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.<Execute>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)

I also installed the latest Access Driver Engine but the result is the same.
What am i doing wrong?

It all looks like it should work. Almost all the time COM Exception tend to be when it can't find the COM class that it needs to create. Generally either because it is not installed or its looking for x86 when you have x64 installed or vice versa.
This is the links for the 2016 installer used with the testing system.
x64 https://download.microsoft.com/download/3/5/C/35C84C36-661A-44E6-9324-8786B8DBE231/AccessDatabaseEngine_X64.exe
x86 https://download.microsoft.com/download/3/5/C/35C84C36-661A-44E6-9324-8786B8DBE231/AccessDatabaseEngine.exe
Have a go at both. You will soon know which one installs as it doesn't like having different bit architecture installed at the same time
Just tried on my pc.

Created a new Empty Web Application
Added in the correct references and made sure it compiled
Without doing anything else, in the package manager console, executed Scaffold-DbContext -Connection "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\dev\northwind.accdb;" -Provider EntityFrameworkCore.Jet -OutputDir Models
It scaffolded without any errors

My project file is
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="EntityFrameworkCore.Jet" Version="8.0.0-alpha.2" />
    <PackageReference Include="EntityFrameworkCore.Jet.Data" Version="8.0.0-alpha.2" />
    <PackageReference Include="EntityFrameworkCore.Jet.Odbc" Version="8.0.0-alpha.2" />
    <PackageReference Include="EntityFrameworkCore.Jet.OleDb" Version="8.0.0-alpha.2" />
    <PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.1">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
    <PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.1">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
    <PackageReference Include="System.Data.OleDb" Version="8.0.0" />
  </ItemGroup>
</Project>

For the record, my environment has the 2010 x86 engine and Office 365 for x64. Doing the whole suite of tests is a bit more stable in x86

Yesterday i tried the following:

Installed a brand new Windows 11 Environment in Hyper-V (english)
Installed the x64 Access Database Driver 2016 (english)
Installed the .net 8.0 x64 SDK
Installed VS Code (english)
Copied the project and the database
Ensured the dotnet environment is x64 via "dotnet --info"
Scaffold

--> Same Exception
After that i created a new project in the Hyper-V Machine, compiled it and tried to scaffold
--> Same Exception
I thought, that maybe when using the default language (english) and a brand new machine it will work, but it does not. I'm afraid i have to build the models for the access db manually or try to get it work in a pure x86 environment. Hopefully this will work.

Odd. I'm going to try install a VM and give it a try.
I have an empty test project that I will link with a database. Are you willing to give it a test.
In your cli just run dotnet ef dbcontext scaffold "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=database3.accdb;" EntityFrameworkCore.Jet --output-dir db4
There is already a db4 folder from a test run. You can either delete it or change the output dir name

Another thing to try is in the project file to ensure the platform target is for x64
<PlatformTarget>AnyCPU</PlatformTarget> (this line)

Installed the Windows 11 dev environment from Hyper V. Came with .Net 8.0.1 x64.
Installed Access  Engine x64
Installed EF Core tools (dotnet tool install --global dotnet-ef)
Ran the scaffold script as mentioned in the previous comment.
It worked.
Attached is the test project you can try with.
WebApplication1.zip
I'm starting to wonder if there is a difference with the Northwind database you are testing on. Can you link that so I can look at it?

Is there a workaround?  I am having this issue with a database.
Thanks

In my case, It failed for an external/linked table.  I am no expert about that, I don't know if it would make sense to simply ignore them...

@yepeekai Interesting. Don't think we actually have code that knows how to deal with linked tables. May have to have a look and try replicate

Some context, I received a copy of that access database so the linked table are obviously not working since I do not have the other database.
I deleted all linked tables since I did not need them.  I compact/repair and then I get the same error at the same place for table : MSysACEs

@yepeekai @LuckyGeorge1975 Just added a commit to fix the main issue with the MSys tables.
You can now optionally ignore the MSys tables. Using dotnet ef scaffold or Scaffold-DbContext doesn't allow any extra custom options to be passed in so that left doing it through the connection string.
If you add IgnoreMSys=YES; to the connection string e.g. "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=northwind.accdb;IgnoreMsys=YES;" it will set the option to ignore the MSys tables when scaffolding.
You can try this out by referencing the daily builds
@yepeekai Regarding the linked tables, skipping/ignoring them would only work if they were stand alone. If there was any other foreign key/reference to them you would run into issues


[DashboardEditor] id can't be changed through JSON editor

What package is this for?

[x] React
[ ] Angular

Describe the bug
If editing a card in the JSON editor, the id can't be changed because the logic depends upon the id for updates and control
To Reproduce
Steps to reproduce the behavior:

Go to DashboardEditor story
Create any card
Select the card
Open the JSON editor
Change the id
Save
See that the id did not save

Expected behavior
The id should be editable OR the id should be disabled for editing
Environment/versions:

OS: MacOS
Browser: chrome
carbon-addons-iot-react version: ^2.141.0-next.3

Specific timeline issues / requests
Do you want this work within a specific time period? Is it related to an
upcoming release?
NB: The core contributors will try to work with your timeline, but it's not
guaranteed. The earlier you make a request in advance of a desired delivery
date, the better!
November release

honestly we can just hide the ID from the user


Handle type validation for string type hints

With from __future__ import annotations, all type hints become strings. The current type validator assumes that what is being checked is a type and not a string, so no types are being validated in these cases.
The fix is to use Python's typing.get_type_hints to evaluate the type hints at runtime

[x] Added tests, if you've added code that should be tested
[x] Ensured the test suite passes
[x] Made sure your code lints
[x] Completed the Contributor License Agreement ("CLA")

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 6 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 94.147%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
2638

Relevant Lines:
2802

💛  - Coveralls

LGTM :+1:

So this pull just needs to run isort?
Snippet from the failed Checks
Formatting errors found, try running 'make format'.
make: *** [Makefile:114: isort] Error 1
Error: Process completed with exit code 2.

just run make format


Don't italicize text if underscore is escaped

Pop!\_OS

Some more similar bugs. Same for bold.

Will try to highlight the errors as I did in #47

This version creates problems in texts like Sentence 1 @my_reference. Sentence 2..  In this example, all texts from _reference are highlighted as italic.  Below is my current temporary fix on my machine:
syntax region typstMarkupItalicRegion
    \ contained
    \ matchgroup=typstMarkupItalicDelimiter start=/\(^\|[^0-9a-zA-Z]\)\@<=_/ end=/_\($\|[^0-9a-zA-Z]\)\@=/
    \ concealends contains=typstMarkupLabel,typstMarkupBold,@Spell


Add flyway migrations to local development environment

In hopes of eventually adding automated migrations upstream, I want to add flyway migrations to the local development environment so that we can test changes to the DB without having to docker compose rm && docker compose up over and over again -- all that's doing right now is just wasting cycles.
The way I set this up is by taking a dump of the schema of the upstream database for our V1.3.7 migrations.
TODO

[ ] Test data that is burnt into the database on launch (steamgauges, anything with xx-data.*, etc.)
[x] .env option for db version (depends on #136)

Scary force push, but I just rebased it onto the .env file updates between #136 and the changes on develop. Nothing crazy.

Abandoning as significant upstream SQL changes have made merging this exceedingly tedious. Branch can always be restored down the line if folks would like to use it for inspiration.


Wrap trusted-types policy creation in a try/catch

In our use-case of the ms-rest-js library, we have a large existing application (complete with caching, service-workers, etc) that we dynamically load additional JavaScript code into. The additional JS is what brings in the ms-rest-js.
The application has Trusted Types enabled (e.g., CSP rule 'trusted-types LibraryA LibraryB etc). But, interestingly, its require-trusted-types-for 'script' is currently under "report only" (Content-Security-Policy-Report-Only). In those cases, a call to trustedTypes.createPolicy will fail because the policy isn't on the allowed-list, even though skipping the createPolicy would be OK. So in effect, https://github.com/Azure/ms-rest-js/commit/531aea9bfbbe6ef6c06984ab06f99775b90923ca introduced a regression.
We are working on extending the allow-list of our application to include @azure/ms-rest-js#xml.browser, but that change takes time. In the meantime, we'd like to wrap the policy-creation in a try/catch. There is no security risk to it, since for host applications that DO have strict enforcement of trusted-types, the code will simply fail when the dangerous sink is used (e.g., when doing parseFromString). And likewise, wrapping in try/catch and doing nothing on catch is OK, because the code already deals with the possibility of the trustedTypes API not being available on the browser.

But, interestingly, its require-trusted-types-for 'script' is currently under "report only" (Content-Security-Policy-Report-Only). In those cases, a call to trustedTypes.createPolicy will fail because the policy isn't on the allowed-list, even though skipping the createPolicy would be OK

If createPolicy is skipped, there would be issues reported for our usages of parseFromString?

If it's off (or report-only),

Does "report-only" mean Content-Security-Policy-Report-Only: require-trusted-types-for 'script';? Under this setting, createPolicy is bypassed, would usage of parseFromString be reported?

Does "report-only" mean Content-Security-Policy-Report-Only: require-trusted-types-for 'script';? Under this setting, createPolicy is bypassed, would usage of parseFromString be reported?

Yes. With the try/catch change proposed in the PR, the createPolicy would fail and thereby not create a policy. Then, if the host application has Content-Security-Policy-Report-Only: require-trusted-types-for 'script'; (which is exactly the setup we had), the browser would see that someone is trying to call parseFromString without having the string having been first sanitized by a policy, and hence would flag it with a warning in the console and a report to the CSP report URL.
Screenshot showing how it would look on the Console; only the second message is relevant for this case:

@jeremymeng , gentle ping.

@Zlatkovsky v2.6.4 is now on npmjs.


Fix Incorrect Module Paths

@mitchdenny @JimSuplizio @JonathanGiles
I don't think there is a pipeline associated to the client parent POM, nor any of the parent POMs, should we configure one?


A slight graphics truncation

Drew 2 bezier to form an ellipse shaped, when adding to sprite, there is a noticeable graphics bottom and right side are truncated.
var graphics = game.add.graphics(0,0);
graphics.lineStyle(0,0x000000,1);
graphics.beginFill(0xff0000);
graphics.bezierCurveTo(0,10, 22,6, 19.5,-6);
graphics.endFill();

sprite = game.add.sprite(0,0,graphics.generateTexture());  //Can't offiset x and y position, the bottom and right with 1px horizontal and vertical are cutoff.

.... another bezier shaped
var sprite2 = game.add.sprite(0,-4,graphics.generateTexture());
sprite.addChild(sprite2) //Sprite2 x and y can be offset and there is no cutoff issue.

Happen on 2.3.0 and 2.4.0.

This is now fixed in dev (thanks to the new padding parameter)


supporting collections?

Does this plugin also support collections?

Not for now, but the same logic could be applied to collections, especially now that Jekyll supports a collection_dir to store all collections in the same directory.

@DirtyF  can you elaborate a little more? you mean with small tweaks we can support collections too?

@hosnas it currently doesn't support collections, mostly because I never used any.
@DirtyF how is this new setting helping for this plugin?

@nhoizey I guess the plugin could copy files from the  _collections folder the same way it copies files from the   _posts folder?

Supporting collection is easy. I can submit a PR for it. However there is a conflict with the way Jekyll currently handles files inside collections, that needs to be addressed first.

@nhoizey @DirtyF  Is the plugin compatible anymore? specially with regard to this PR?
I think this plugin needs an update to support post and collections the same way.

should be working now, see #47


CUDA out of memory

when I run the script as python ge_data_all_vicuna.py --start=0 --end=17000 --index=0 --gpu_index 0 --outdir ./data_generated/sharegpt_0_67999_mufp16 , it will occur the "cuda out of memory", I use a single A100 gpu with 80G memory, and I use the model vicuna-13B,  I checked the data and it seems that the longest input_id is 20000+, it undoubtly exceed the memory limit,  so how do you generate the data?

Line 83 of ge_data_all_vicuna.py ensures that the sequence length does not exceed max_length=tokenizer.model_max_length. If you have correctly used vicuna, tokenizer.model_max_length should be 2048 (as seen in https://huggingface.co/lmsys/vicuna-13b-v1.3/blob/main/config.json). An alternative solution is to manually set max_length, but we recommend that you check if there is an issue with the vicuna weight folder.


Generate hive types from Protocol buffers

I was reading about the way the types are modelled here:
https://hivedb.github.io/hive/#/generate_adapter
The numbering of each field is the exact same approach as GRPC / Protobufs.
SO i was thinking of writing a converter so that on the Server side you can reuse your protobufs to generate the hive types that the hive generator will use.
What do you think ?

My Use case is for CDC Architecture.
It works like this.
On Server you have a DB, It can be any DB.
When the data for a "View" changes you stream a CUD Event ( Create, Update, Delete) from the server to the Client ( Flutter ). Of course its only streamed to clients that have subscribed.
The CUD Event has:
a. a Change tpye ( Create, Update or Delete)
b. The data row.
These CUD events are modelled in your Server application tier as protobuf and so can be generated using hive generator. The use of protobufs ensures that everything is strongly typed but also that clients that have an old version do not break.
On the Client, the main Subscription handler receives all changes and then pushes them to the appropriate box ( one for each view) . The Hive watch then updates the graphical view.
Hope this helps.

You are correct, Hive type adapters are inspired by protobuf and work almost exactly the same.
Your approach sounds very interesting and I'd love to see if it actually works.
This is not something I want to implement for Hive itself but you could create a package. If you need any help / support just contact me.

yes its not something i expected to be put into this project.
I was wanting feedback about my presumptions, and it seems i was on the right track.
I will close this and get back to you if i get stuck.

hii.... just would like to know is such an adapter have been made... i find the perfomance of GRPC and Hive too good to keep them seperate. Thanks

hii.... just would like to know is such an adapter have been made... i find the perfomance of GRPC and Hive too good to keep them seperate. Thanks


Drawing tablet no longer works

I remember implementing this sometime. Doesn't seem to work anymore as mouse in wlc.

The touch surface on tablet actually works, not just with pen.. Maybe not issue as wl_tablet never got merged to wayland.


Add script to correct SNR map with B1+ map

@dpapp86 From our discussions today, it sounds like this is no longer needed? If so, I will close this issue.

Why is that no longer needed? I suggest to document the reason directly in this issue, just for the records (and we will need to discuss this in the manuscript anyway, so better to all be on the same page)

To unify the discussion: https://github.com/spinal-cord-7t/coil-qc-code/issues/2#issuecomment-1839824442

Addressed in https://github.com/spinal-cord-7t/coil-qc-code/issues/88


@apply cannot be used with '.'

Hi i got a project that uses tailwind and when i try to compile the classes using laravel-mix i get the following error:

@apply cannot be used with . because . either cannot be found, or its actual definition includes a pseudo-selector like :hover, :active, etc. If you're sure that . exists, make sure that any @import statements are being properly processed before Tailwin d CSS sees your CSS, as @apply can only be used for classes in the same CSS tree.
--

Console error:

scss code:

What i've done is putting everything inline along with @apply
like this: (example of previous code)
@apply link text-xs font-sans font-semibold uppercase leading-none;
then i try to compile it, and i get the same error on another class or property,

So if go and do the same thing it's gonna show another error from another class or property, like a never ending story of errors, so maybe there's something wrong with the way webpack is mixing those classess
I'm using
yarn to download packages and 'yarn hot' to compile the js/scss files on the webpack.
This is my webpack
let mix = require('laravel-mix')

require('laravel-mix-purgecss');
require('laravel-mix-tailwind');
require('laravel-mix-critical');

mix.webpackConfig({
  resolve: {
    extensions: [".json"],
    modules: [
      path.resolve(__dirname, 'node_modules'),
    ]
  }
});

mix
  .setPublicPath('./public')

  // The App Build
  .js('resources/js/app.js', 'public/js')
  .sass('resources/scss/app.scss', 'public/css')
  .minify(['public/css/app.css', 'public/js/app.js'])
  .sourceMaps()
  .webpackConfig({ devtool: "inline-source-map" })
  .browserSync({
    proxy: 'apiabroad.test',
    files: [
      './templates/**/*.twig',
      './public/css/**/*.css',
      './public/js/**/*.js',    ]
  })
  .tailwind()
  .version()
  .purgeCss({
    enabled: true,
    globs: [
      path.join(__dirname, './templates/**/*.twig'),
      path.join(__dirname, './resources/js/**/*.js'),
      path.join(__dirname, './resources/js/**/*.vue'),
      path.join(__dirname, './resources/scss/**/*.scss')
    ],
    whitelistPatterns: [  /^h-/, /^choices/,
                          /^tns/, /^selectdrop/, /^is/,
                          /^filter-/, /^inner/, /^\-/,
                          /^duration/, /^timing/,
                          /^main/, /^show/, /^hide/,
                          /^form/, /^maps/, /^gm-/,
                          /^flag/, /^tag-/],
    extensions: ['html', 'js', 'vue', 'twig']
  });

This is my package.json
{
  "name": "----",
  "version": "1.0.0",
  "description": "----",
  "repository": "----",
  "author": "----",
  "license": "N/A",
  "private": true,
  "scripts": {
    "dev": "npm run development",
    "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "lint": "stylelint resources/scss/**.scss --fix",
    "watch": "npm run development -- --watch",
    "watch-poll": "npm run watch -- --watch-poll",
    "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
    "prod": "npm run production",
    "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
  },
  "devDependencies": {
    "axios": "^0.18.0",
    "babel-eslint": "^10.0.1",
    "browser-sync": "^2.24.6",
    "browser-sync-webpack-plugin": "2.0.1",
    "cross-env": "^5.1",
    "eslint": "^5.12.0",
    "eslint-plugin-prettier": "^3.0.1",
    "eslint-plugin-vue": "^5.1.0",
    "html-critical-webpack-plugin": "1.1.0",
    "laravel-mix": "^2.1",
    "laravel-mix-purgecss": "^2.2.0",
    "lodash": "^4.17.4",
    "popper.js": "^1.12",
    "purgecss-webpack-plugin": "^1.1.0",
    "tailwindcss": "^0.7.2",
    "vue": "^2.5.22"
  },
  "dependencies": {
    "add": "^2.0.6",
    "algoliasearch": "^3.32.0",
    "choices.js": "^4.1.3",
    "countup.js": "^1.9.3",
    "hamburgers": "^0.9.3",
    "in-view": "^0.6.1",
    "laravel-mix-critical": "^0.1.1",
    "laravel-mix-tailwind": "^0.1.0",
    "lodash.flatten": "^4.4.0",
    "lodash.forown": "^4.4.0",
    "lodash.get": "^4.4.2",
    "lodash.isarray": "^4.0.0",
    "lodash.kebabcase": "^4.1.1",
    "lodash.meanby": "^4.10.0",
    "lodash.sortby": "^4.7.0",
    "lodash.tonumber": "^4.0.3",
    "lodash.xor": "^4.5.0",
    "moment": "^2.22.2",
    "raven-js": "^3.27.0",
    "smoothscroll-polyfill": "^0.4.3",
    "stylelint": "^9.8.0",
    "stylelint-config-standard": "^18.2.0",
    "tiny-slider": "^2.8.8",
    "tippy.js": "^3.3.0",
    "urijs": "^1.19.1",
    "url-search-params": "^1.1.0",
    "vue-countup-v2": "^2.0.0",
    "vue-instantsearch": "^1.7.0",
    "vue-lazyload": "^1.2.6",
    "vue-slider-component": "^2.8.2",
    "vue-sticky": "^3.3.4",
    "vue2-google-maps": "^0.10.5",
    "vuex": "^3.0.1",
    "yarn": "^1.9.4"
  }
}

So if anyone could lend me a hand or point me in the right direction to solve this issue i would gladly buy you a coffee

I'm having a similar issue, did you ever figure out what was wrong with your project?

@willa75 No, at the end i made a Virtual Machine based on Ubuntu 18.04, installed all the stuff that i needed (Php, Apache, Mysql, Npm, Node, Yarn) and i got it running there.
Some coworkers told me that they had a similar issue on another project and they had to downgrade npm or node version, i'll ask tomorrow which version the used and post it here

@NoFootDancer  Thanks that would be greatly appreciated!


dropdown bug

When a dropdown menu is opened, and other is clicked, the first dropdown that was opened should be closed.
2 dropdown menus should not be opened at the same time.

Working on this issue


Dropdown suggestion menu

I cannot find this information in the docs so I'm asking it here. Is it possible to have a suggestion dropdown menu in EasyMDE, as we have in GitHub when we want to mention someone?

Related to https://github.com/Ionaru/easy-markdown-editor/issues/198


Underscore ("_") doesn't accept as a special char

Thanks for the PR!  Merged and released in v1.3.2.


output semver-number outputs "bundleVersion: someNumber" instead of just "someNumber"

I think it's much more intuitive to output just the new semantic version number instead of prefacing it with "bundleVersion: ".
I actually went ahead and already made the change on my end and can pull the request if you want me to :). The issue is it's building on the changes of the other to prs I have made (#3 #2).  Because of this it might make more sense to pull those in first before I pr granted you like my changes.
Cheers!
P.S. Here is the code reference of what I'm talking about
https://github.com/AlexHolderDeveloper/UnityAutomatedSemver/blob/4ae3f01af014984baf49ed49917f5c2cecb2948e/src/index.js#L80-L81

Sweet i'll send the pr through!

Ah man, I must have been tired when I wrote that as I guess I snuck this change in this commit & thus this pr.
So as it stands now it will output just the semantic version.
Example
1.0.0 instead of bundleVersion: 1.1.0


Fixed a bug in iOS 9

This patch fix  that deinit of PDFPageContentView fail in iOS 9 by wrong configuration of gesture recognizers.

Thanks to merged🙂


Create icons with different sizes

Create icons with sizes: 128 x 128, 32 x 32, 24 x 24, 16 x 16

Estimated Time: 0.5 hour

Done


Chunks of different kinds separation. HashChunk introduction.

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Delete HashChunk old iterator code


teslamate deletes mqtt retained geofence message if not in geofence

Describe the bug
When teslamate publishes a geofence when the car is not in a geofence, it publishes an empty string "" to mqtt.
But on my mqtt server (mosquitto), publishing an empty string results in the retained object being deleted (arrgh!). I believe this is part of the mqtt spec. Google search seems to confirm.
If a client connects, it will not get the message because it is no longer retained, and cannot determine if the car is outside the geofence or just hasn't received the message yet.
If this is not clear enough, I can provide more references, but getting a bit distracted by external events right now :-)
Expected behavior
The geofence position message should always be retained by the mqtt server.
How to reproduce it (as minimally and precisely as possible):
Move car from inside geofence to outside geofence. Note that message gets sent with "geofence" = "". Disconnect client and reconnect. Notice that client doesn't receive the message, because it is no longer retained.
Notes
I finally correctly diagnosed this issue because I had the exact same problem with another unrelated application I am responsible. Not sure what the best solution is though. I think we can't publish an empty string and expect it to be retained.
In my case I hard coded a magic value to indicate that there was a special condition. Although this solution makes me feel a bit dirty.
Another possibility is to send a json object for geofence. Not sure if I like this or not. It would be sufficient though.
Environment

TeslaMate version: v1.21.2

Good catch. I guess the same problem exists with some other topics, namely those for which values are always published, even if they are nil.
https://github.com/adriankumpf/teslamate/blob/188eb036725708b209940162ee02c697f0f09ac8/lib/teslamate/mqtt/pubsub/vehicle_subscriber.ex#L47-L49
I also can't think of any workaround other than publishing a magic value. Perhaps a space instead of an empty string?

I have been thinking about this some more.
The main problem I have with the magic value, is that it isn't possible to distinguish the magic string and, say if somebody really does have a location called NONE for example.
This isn't going to a problem if the magic string is an invalid value. For example, if the published data is normally an integer, and we publish NONE it is pretty obvious that there will be no conflict. Or if we add validation rules to to say that any string starting with a : character is now considered an invalid geolocation name.
Some options I have been playing around with:

Add quotes before/after location. e.g. "Home" or NONE. This should work even if user entered quotes for value (why?), e.g. ""Home"".

Add validation rules (if not already present) to make certain geofence names invalid. e.g. disallow entering space for a geofence. Or maybe disallow any geofence that starts with a space. Or maybe pick another special character, e.g. ':'. That way you could publish Home, :NONE, or even maybe :ERROR_42.

The advantage of 1 is that you don't have to add extra validation rules. But might make it harder to parse. Especially say from node-red, without writing JavaScript code.
The advantage of 2 is that the API remains mostly unchanged. Client code needs to be careful not to get confused/crash with the new magic values (e.g. if it blindly tries to interpret as an integer), but I think no way around this. Pick any character.. '%' might also be a good choice. I chose ':' because they look like atoms is the elixir world (but of course normally these are lowercase).
I tend to favor option 2 at present. You might have problems doing this if the data really is free form text that comes from Tesla, that could start with ':' but looking at the list you pointed to above, most of these values already are restricted in scope (at quick glance many look like numbers only), or (for the case of geofence) can be restricted.

@brianmay why is it important that you receive a retained message for geoFence why not just default to empty and let a received message overwrite?
For example...
https://github.com/gaussmeter/retractor/blob/ee0c31afc4ca4b25a50023cc2ca0e901bc36e7d6/main.go#L25
https://github.com/gaussmeter/retractor/blob/ee0c31afc4ca4b25a50023cc2ca0e901bc36e7d6/main.go#L59

@LelandSindt Like I said in the bug report, sending an empty string doesn't just mean "send this message". It tells the mqtt server "send this message and delete the retained message".
I believe this is the standard way for deleting retained messages on mqtt.
If a new client subscribes to that topic, it will not receive any messages, because the retained message was deleted, and can't tell what the state is. Until a new message is sent. Then when it does receive a message. My experience is that teslamate will not send any more messages after geofence: "" until the car enters a geofence again.
Make sense now?
If you want retained messages to work properly, then all state messages need to be retained, even if the state is "this variable doesn't have a valid value right now".

@brianmay I understand the behaviours. I could have been more clear with my question...
To me it seems reasonable to send a blank and remove the retained value for geoFence when the vehicle leaves a geoFence.
If you have an active subscription to geoFence when the car leaves a geoFence you will receive a blank message.
If you create a new subscription to geoFence when the car is outside a geoFence you will receive no message until the car enters a geoFence. It is your responsibility to initialize local variables to blank.
... or... is that your point in the latter case you have to assume geoFence is blank/unset rather receive a message for geoFence that confirms the car is outside a geoFence.

OK, so lets say you initialize the values to blank when your application starts. The you start the application. But you don't get any messages. Is this because the mqtt server was restarted and there is no retained messages? Or is it because the car was not in a geofence? It is not possible to tell. In this case when you initialize the value to blank you are not saying "not in any geofence", you are saying "unknown", and we can't determine a known state until we receive a message. Which could be some time. If the "not in any geolocation" message is retained then we can prevent this confusion from occurring for the most likely case of the car not being in any geofence.
Then when you receive another message, you can be sure that that car just entered the geofence. For example.

For what its worth, I am not arguing against an empty, null or none retained value...
However, I think that the difference between unknown and assumed blank is semantics in this case...

I see what you are saying, and I agree. I think my argument may have been getting too complicated. I realize we are all in agreement that this needs to be fixed, but regardless, will simplify my argument, so I can try to better make sense of it  :-) :
At the moment when I start my application, it gets no geofence. So this means that the state is unknown. If the application later gets a geofence message, there is no way of telling if it only just arrived in this geofence, or it if always was in that geofence.
If we changed it though so that it send a retained empty value, and assuming that the mqtt server has correctly retained this empty value, when I start my application it would immediately receive this retained empty value. Then if the application later receives a geofence message, we can be reasonably confident that the car only just entered the geofence.
I ended up rewriting my code multiple times to try to work around this and getting my logic confused every-time. So hopefully I have it right now :-)
At the moment, I am more interested in solving #1221. Although I have a growing suspicion that bug might be a related issue - if that case sending the wrong value when we don't actually have any data.

Thinking about some more, I think only geofence has the problem. For the other values "" means that the value is unknown, and it makes probably makes good sense that the retained value gets deleted if the value is unknown. For geofence, "" doesn't always mean unknown. It could mean no value. (see #1885 also).
Still not entirely sure I communicated the problem clearly.
Lets say you have an app. You start app. It receives a geofence value immediately. Now the app knows what the geofence is.
But lets say you start the app, and it doesn't receive a geofence. Is this because it hasn't received the geofence message yet? Should it wait longer? Or maybe the geofence retained value was deleted because the car isn't in a geofence? Or maybe it was never set in the first place, i.e. it really it unknown? We only get the benefit of using retained mqtt messages if the car is in a geofence, and we lose any benefit as soon as the car leaves the geofence.
Perhaps a more compelling argument, what happens if there are multiple overlapping geofence? mqtt will only publish one geofence. Perhaps we should keep geofence as is, and add another value - maybe geofences - that outputs in json format a list of all geofences (or [] for no geofences or "" for unknown geofences). This would solve both problems.


x/website: playground height not set correctly

on https://golang.org/pkg/html/template/#hdr-Security_Model the first and second example the playground not displayed correctly:

all(AFAIK) other playground tabs are shown 100% visible.
EDIT:
this happens randomly, its not specifically this playground but it happens on random occasions.
firefox {nightly/dev/stable} and chromium {75.0.3770.100}

/cc @andybons

closing as it seems to be fixed


Show - Name and role on the CMS part

Feature request

What is the expected behavior?
Show - Name and role on the CMS part
netlify identity
Turn on editorial workflow
What is motivation or use case for adding/changing the behavior?
Restrict access to Journalist and give full access on the Chief-Editor
How should this be implemented in your opinion?
Refer from -
https://www.netlifycms.org
https://www.netlify.com/docs/identity/
https://www.netlifycms.org/docs/deploy-preview-links/

Credentials for Dashboard:
http://unosoft-kiwi.netlify.com/admin/
Chief Editor - email address
<EMAIL_ADDRESS>Journalist - email address
<EMAIL_ADDRESS><EMAIL_ADDRESS>All passwords is "Password"


Sync main with stage

Sync main with stage
Test URLs:

Before: https://main--express--adobecom.hlx.page/express/?martech=off
After: https://stage--express--adobecom.hlx.page/express/?martech=off

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

Comparison is base (e0e2755) 32.03% compared to head (672b6a1) 31.70%.

Files
Patch %
Lines

express/scripts/utils.js
54.05%
17 Missing :warning:

...xpress/blocks/template-x/template-search-api-v3.js
0.00%
12 Missing :warning:

express/blocks/modal/modal.js
50.00%
1 Missing :warning:

express/blocks/shared/dropdown.js
50.00%
1 Missing :warning:

express/blocks/shared/paginated-carousel.js
50.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #504      +/-   ##
==========================================
- Coverage   32.03%   31.70%   -0.33%
==========================================
  Files         125      124       -1
  Lines       23994    23886     -108
==========================================
- Hits         7686     7574     -112
- Misses      16308    16312       +4

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

first release after code freeze 😇 let's go 🥳 🙏


LGTM.com - false positive

Description of the false positive
I'm already silencing the error with // @ts-ignore. I can see that this should be an error in JS but not in TS.
URL to the alert on the project page on LGTM.com
https://lgtm.com/projects/g/vega/vega-lite/snapshot/fe94869d222cfd303bf05649d13a60f32309e7ec/files/src/log/index.ts?sort=name&dir=ASC&mode=heatmap#xe173f7bd238b6be5:1

Thank you for your report, @domoritz! While LGTM supports suppression comments, we generally aim to improve our queries instead so they don't flag up the spurious alert in the first place.
To help us understand why this is a false positive, could you explain in a little more detail why you want to keep the return statement? Is it to force the inferred return type to be the this type?

You're absolutely right, the return value has to be this. My example may be a somewhat odd case but I wanted to flag it nontheless.
Typescript also already catches unreachable code so it may not be necessary to catch these kinds of errors at all in lgtm.

OK, thanks for confirming. I assume there is a reason you want to add the unreachable return instead of an explicit type annotation?
Good point about the unreachability analysis in the TypeScript compiler. However, we have seen cases where we can flag unreachable code that the TypeScript compiler does not detect, which is why we run it for TypeScript as well.

Good point. I should switch to an explicit type annotation. Fixed in https://github.com/vega/vega-lite/pull/5399.


Add cache for map tiles

closes #22
Adds caching for mapbox tiles using workbox's Cache-First strategy. This serves tiles from the cache first, falling back to network if no cached copy is found. This choice of strategy should reduce the amount of data the app needs to request at the expense of having the most up to date map tiles.
To limit the amount of storage needed on the device, the workbox-expiration plugin limits the number of cached tiles to 250, with the oldest entries removed first.

Great. Please check if the html2canvas continues to work as expected with cached tiles. In the previous prototype I remember that the html2canvas did not capture the tiles stored in IndexDB and had to implement a workaround.


[ENH]: Support for SecureChat with Cloude Models

Contact Details
No response
Feature Description
Objective:
Enhance the SecureChat functionality by integrating it with Cloude models to generate embeddings and facilitate question-answering capabilities. This integration will improve the security and efficiency of user interactions within the SecureChat environment.
Key Features:

Integration with Cloude Models:

Implement support for Cloude models to generate embeddings that can be utilized for processing and understanding user queries in SecureChat.

Embedding Generation:

Enable the generation of high-quality embeddings from user input, allowing for more contextually aware responses.

Enhanced Question-Answering:

Develop a robust mechanism for retrieving answers based on the embeddings generated by the Cloude models.

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@SiddheshwarKamble @amrakshay as the changes are merged, can we plan to test these with Cloude models.

changes are merged and tested against AWS Bedrock "anthropic.claude-3-5-sonnet-20240620-v1:0" model.


Add documentation for PVC in use protection

This PR adds doc to describe PVC in use protection
for PVC actively in use as a snapshot source.
PR was merged:  https://github.com/kubernetes-csi/external-snapshotter/pull/47

/lgtm
/approve


fix(curriculum): rework Project Euler 87

Reworks challenge to use argument in function call.
Adds more tests.
Adds solution.
Positions block with equations evenly between paragraphs.
Related to #40896.
Tested on local fork.

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

I added this solution to the forum guide article


Use versioned download for smoothmouse, change license to gratis

License message in pkg installer gives portion of MIT but decidedly not the whole thing

Thank you for the contribution. It was merged directly as 05f3afe2253ca2f597cec85abc30fa43d8adf7c8 to keep commit history cleaner. Your contribution is still credited to you.


fix indentation error

This caused elliott to exit on first Alert, rather than printing all alerts.
@vfreex @thegreyd

Codecov Report

Merging #213 (bf92c98) into master (471bb81) will increase coverage by 27.87%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           master     #213       +/-   ##
===========================================
+ Coverage        0   27.87%   +27.87%
===========================================
  Files           0       48       +48
  Lines           0     4473     +4473
  Branches        0      955      +955
===========================================
+ Hits            0     1247     +1247
- Misses          0     3155     +3155
- Partials        0       71       +71

Impacted Files
Coverage Δ

elliottlib/cli/validate_rhsa.py
0.00% <0.00%> (ø)

elliottlib/cli/create_cli.py
0.00% <0.00%> (ø)

elliottlib/exectools.py
89.39% <0.00%> (ø)

elliottlib/cli/advisory_images_cli.py
0.00% <0.00%> (ø)

elliottlib/cli/verify_cvp_cli.py
0.00% <0.00%> (ø)

elliottlib/resultsdb.py
0.00% <0.00%> (ø)

elliottlib/gitdata.py
19.88% <0.00%> (ø)

elliottlib/cli/find_builds_cli.py
24.07% <0.00%> (ø)

elliottlib/bzutil.py
54.92% <0.00%> (ø)

elliottlib/cli/advisory_impetus_cli.py
0.00% <0.00%> (ø)

... and 39 more

Continue to review full report at Codecov.

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


[IMPAC-275] Added legend to pie charts

Hi @an-pavlovych,
I've been testing this code: we're almost there! The legends are showing the correct data, but I cannot merge it as it is because you've modified the height of the different widgets, which is breaking the bootstrap grid we are using:

So here is what I propose:

For the "small" widgets (assets/liabilities summary, assets summary and expenses/revenue): please keep the height as it was before. I know the legend don't look awesome (like 1 line will be visible and you'll have to scroll to see the others), but it will change when we update our grid system to Gridster (soon)
For the "wide" widgets (top customers summary, sales summary/by location/by industry/by customer, sales cycle): use the less mixin .tall-widget() (https://github.com/maestrano/impac-angular/blob/master/src/stylesheets/mixins.less#L48) so that these widgets will have the same height as Profit and loss, balance sheet, etc. Eventually, you can also create a new "master style" (https://github.com/maestrano/impac-angular/blob/master/src/stylesheets/widget-master-styles.less#L27)

Let me know if you need more details.


Re-add diagonal movement

Collision still occurs when movement is in one direction, but when in two it does not occur.

All fixed now, just have to test this later


appstore.py:validate() fails on line 37 with sandbox receipts, throws KeyError exception

The KeyError exception is possibly because there is no key called "response" in the response from Apple servers.

def validate(self, receipt, password=None):
    receipt_json = {'receipt-data': receipt}
    if password:
        receipt_json['password'] = password
    api_response = requests.post(self.url, json=receipt_json).json()
    **status = api_response['response']['status']** ...
    if status != api_result_ok:
        error = AppValidationError(api_result_errors.get(status, 'Unknown API status'), api_response)
        raise error
    response = api_response['response']

Line 43 with similar access might also be problematic.

@Vidder
Which did you check with "non-consumption", "consumption" or "subscription"?

it was a non-consumable subscription.

You may have reviewed this already but just in case https://developer.apple.com/library/content/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateRemotely.html#//apple_ref/doc/uid/TP40010573-CH104-SW4

@Vidder
I'm sorry for the delay in correspondence. I released 1.0.3 .
Please update to new version django-ios-storekit with your using package manager.

Thank you. I will test this out.