parsing a pocket json download jsondecodeerror "extra data"

I am not the best with python so I have not been able to find out what JSON line is causing it to fail.
I think line 95 may be the   "tags": "ifttt,reddit", tag
Thank you,
File contains invalid JSON: {
    "updated": "1518974038.00784",
    "sources": [
        "ril_export.html"
    ],
    "timestamp": "1495763887",
    "type": null,
    "base_url": "www.reddit.com/r/selfhosted/comments/6d9grx/looking_for_an_rss_homepage/",
    "latest": {
        "wget": "www.reddit.com/r/selfhosted/comments/6d9grx/looking_for_an_rss_homepage/index.html",
        "screenshot": "screenshot.png",
        "pdf": "output.pdf",
        "archive_org": "https://web.archive.org/web/20171226180936/https://www.reddit.com/r/selfhosted/comments/6d9grx/looking_for_an_rss_homepage/",
        "favicon": "favicon.ico"
    },
    "url": "https://www.reddit.com/r/selfhosted/comments/6d9grx/looking_for_an_rss_homepage/",
    "history": {
        "wget": [
            {
                "status": "succeded",
                "output": "www.reddit.com/r/selfhosted/comments/6d9grx/looking_for_an_rss_homepage/index.html",
                "timestamp": "1514311770",
                "duration": "427",
                "cmd": [
                    "wget",
                    "--timestamping",
                    "--adjust-extension",
                    "--no-parent",
                    "--page-requisites",
                    "--convert-links",
                    "https://www.reddit.com/r/selfhosted/comments/6d9grx/looking_for_an_rss_homepage/"
                ]
            }
        ],
        "screenshot": [
            {
                "status": "succeded",
                "output": "screenshot.png",
                "timestamp": "1514311773",
                "duration": "2222",
                "cmd": [
                "duration": "2222",                                                                                [120/1885]
                "cmd": [
                    "chromium-browser",
                    "--headless",
                    "--disable-gpu",
                    "--screenshot",
                    "--window-size=1440,900",
                    "https://www.reddit.com/r/selfhosted/comments/6d9grx/looking_for_an_rss_homepage/"
                ]
            }
        ],
        "pdf": [
            {
                "status": "succeded",
                "output": "output.pdf",
                "timestamp": "1514311771",
                "duration": "2213",
                "cmd": [
                    "chromium-browser",
                    "--headless",
                    "--disable-gpu",
                    "--print-to-pdf",
                    "https://www.reddit.com/r/selfhosted/comments/6d9grx/looking_for_an_rss_homepage/"
                ]
            }
        ],
        "archive_org": [
            {
                "status": "succeded",
                "output": "https://web.archive.org/web/20171226180936/https://www.reddit.com/r/selfhosted/comments/6d9grx/looking_for_an_rss_homepage/",
                "timestamp": "1514311775",
                "duration": "835",
                "cmd": [
                    "curl",
                    "-I",
                    "https://web.archive.org/save/https://www.reddit.com/r/selfhosted/comments/6d9grx/looking_for_an_rss_homepage/"
                ]
            }
        ],
        "favicon": [
            {
                "status": "succeded",
                "output": "favicon.ico",
                "timestamp": "1514311776",
                "duration": "270",
                "cmd": [
                    "curl",
                    "https://www.google.com/s2/favicons?domain=www.reddit.com"
                ]
            }
        ]
    },
    "domain": "www.reddit.com",
    "tags": "ifttt,reddit",
    "title": "Looking for an RSS Homepage : selfhosted"
}}!
Traceback (most recent call last):
  File "/home/vargwolf/bookmark-archiver/archive.py", line 124, in <module>
    update_archive(archive_path, links, source=source, resume=resume, append=True)
  File "/home/vargwolf/bookmark-archiver/archive.py", line 70, in update_archive
    archive_links(archive_path, links, source=source, resume=resume)
  File "/home/vargwolf/bookmark-archiver/archive_methods.py", line 60, in archive_links
    raise e
  File "/home/vargwolf/bookmark-archiver/archive_methods.py", line 46, in archive_links
    archive_link(link_dir, link)
  File "/home/vargwolf/bookmark-archiver/archive_methods.py", line 70, in archive_link
    **parse_json_link_index(link_dir),
  File "/home/vargwolf/bookmark-archiver/index.py", line 122, in parse_json_link_index
    return json.load(f)
  File "/usr/lib/python3.5/json/__init__.py", line 268, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.5/json/decoder.py", line 342, in decode
    raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 95 column 2 (char 3608)

It looks like your<PHONE_NUMBER>/index.json file got corrupted somehow.  Can you copy paste the contents of the file into a comment here instead of copying the output from terminal so I can make sure the JSON is valid.
If you just want a quick solution: delete<PHONE_NUMBER> in your archive folder and run it again, it should get re-added correctly.


how much is the update_freq for finetuning roberta on glue tasks with 1 gpu?

the update freq or num gpus are missing in the readme_glue

sorry, i got it, only 1 32 g  v100


[Task] Git mod - Components - Quick action bar

The task entails the following subtasks -
[] Create/Migrate component for Git Quick Action Bar
[] Create/Migrate components for Git Connect Btn
[] Create/Migrate components for Git Action Icons
[] Create/Migrate components for Git Autocommit Progress
Instructions:

Components must not be passing props to each other (not dependent on each other)
Components should assume external data from props (not dependent on store or context)
Please add jest test cases too

Component hierarchy reference - https://miro.com/app/board/uXjVL-Nij1k=/?share_link_id=399571906178


⚠ Bofrost.fr has degraded performance

In 3b1c0b0, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1075 ms

Resolved: Bofrost.fr performance has improved in 68a7620 after 1 minute.


unbound variable

Hello.
Pull new version and get error when tried generate certs:
/opt/dehydrated/dehydrated: line 408: CA_NEW_ACCOUNT: unbound variable
It`s fresh update in change log.

Change acme api to v2 from v1 and its work now.  Tried on another fresh server with v1 and it works too. Its strange

Yea, seems I've broken v1 compatibility with the critical patch yesterday. Damn... I just pushed a new version, can you test if that works fine?

Yeah, sure. Few min and i give response.

I've already tested fix and  all work fine. Template generate certs from ansible and puppet works too.
Thanks you. You do  great things.


go generate ./... && cd cmd/conduit && go build -ldflags='-X

palash@Palash-pc:~/conduit$ make conduit
make: go: No such file or directory
/bin/sh: 1: go: not found
go generate ./... && cd cmd/conduit && go build -ldflags='-X github.com/algorand/conduit/version.Hash=9364f216b8986b0f96e74dffd57c73b66903e90f -X github.com/algorand/conduit/version.ShortHash=9364f21 -X github.com/algorand/conduit/version.CompileTime=2024-04-26T11:52:28+0000 -X "github.com/algorand/conduit/version.ReleaseVersion=Dev Build"'
/bin/sh: 1: go: not found
/bin/sh: 1: go: not found
make: *** [Makefile:22: conduit] Error 127

Building conduit requires golang version 1.20. You must install that and make sure the go command is on your path in order for make conduit to work.
Closing because I don't believe this is a problem with our repo. Feel free to respond and I will reopen if necessary


Add .gitignore

Ran into a few build-related things while getting CI up and running.  Figured I might was well add this here too!

I like your changes. BTW. Is it a good idea to add *.mt and *.ht to the .gitignore? The Luigi pipeline creates these folders in my local environment.


Add EmptyDeserializer and corresponding extensions methods

Description
Recently I used Request.download() and Request.awaitString() functions to download a large file. However awaitString() function threw an exception about memory allocation too large.
Existing functions like Request.responseString(), Request.response(), Request.await(Deserializable) which used either ByteArrayDeserializer or StringDeserializer will deserialize result then may cause the same problem.
Then I noticed the  document metioned an EmptyDeserializer can be used to both download the file and avoid getting result. But EmptyDeserializer was not found in library.
This PR added a EmptyDeserializer and some extension functions(in core, coroutine, reactor, rx modules) named ***Ignored(). They can be used with download() or somewhere users don't want to retrieve the response result.
Type of change
Check all that apply

[ ] Bug fix (a non-breaking change which fixes an issue)
[x] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactoring (a change which changes the current internal or external interface)
[ ] This change requires a documentation update

How Has This Been Tested?
Added corresponding unit tests and had them passed.
Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation, if necessary
[x] My changes generate no new compiler warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Inspect the bytecode viewer, including reasoning why

Thank you so much for this! I think this is a good addition to the library!
I wonder whether we should stick with the naming Unit instead of Ignore a self-document for the return type? Like awaitUnit, rxUnit instead

I think **Unit is better as well, in fact, I used this naming before commit. 😋 I'll make another commit to change naming to Unit suffix later.

I think this looks good now, and I am happy to merge this!! 👍 Can you please fix the import?

Ah.. IntelliJ auto optimized imports with wildcard when I commit. I restored them from older commits.
Thanks for accepting my PR, very glad that I can help to make such excellent library better. 🥰

Lovely, 💖💖💖 thanks so much for your contribution!


Add check for None

On line 246 of client.py, the result of retrieving a value from a key from JSON is not being verified. There are instances where file_info = response_from_related["data"][0]["attributes"]["fileFormats"] results in None.
If None, raise KeyError, catch, log, return {}

Looks great !


Port Config model to postgres

I rule and have completed some work on Case Manager that's ready for review!
This rigs up the Config model to be in postgres rather than mongodb. It also adds a migration script as a rake task.
To acid test:

check out main and run rails db:drop db:create db:migrate db:seed to start over
start the rails server, go to the Config page, and add cats rule to one of the options, so we have an arbitrary out of nowhere value to check for
switch to the new branch, migrate rails db:migrate, and reload the Config page. See all the values disappear
run echo "Config.destroy_all" | rails c to delete the values that the last step autosetup
run rails migrate_to_pg:config to run the rake task that migrates over mongo things (which are still intact). You should get a notice that 13 configs were ported
reload the Config page. See all the values reappear, including your feelings about cats

Deploy plan here is to get this situated and then ship by deploying, then running the rake tasks on each server.
This pull request makes the following changes:

Port Config model to PG
Add a rake task to copy over Config objects

no view changes
It relates to the following issue #s:

Bumps #2072

For reviewer:

Adjust the title to explain what it does for the notification email to the listserv.
Tag this PR:

feature if it contains a feature, fix, or similar. This is anything that contains a user-facing fix in some way, such as frontend changes, alterations to backend behavior, or bug fixes.
dependencies if it contains library upgrades or similar. This is anything that upgrades any dependency, such as a Gemfile update or npm package upgrade.

If it contains neither, no need to tag this PR.

Codecov Report

Merging #2089 (9fcd3af) into main (e67538f) will decrease coverage by 3.90%.
The diff coverage is 20.38%.

@@            Coverage Diff             @@
##             main    #2089      +/-   ##
==========================================
- Coverage   96.15%   92.24%   -3.91%
==========================================
  Files          79       82       +3
  Lines        1846     1934      +88
==========================================
+ Hits         1775     1784       +9
- Misses         71      150      +79

Impacted Files
Coverage Δ

app/models/mongo_config.rb
0.00% <0.00%> (ø)

app/lib/paper_trail_version.rb
33.33% <33.33%> (ø)

app/models/concerns/paper_trailable.rb
77.77% <77.77%> (ø)

app/models/config.rb
100.00% <100.00%> (ø)

app/models/application_record.rb
100.00% <0.00%> (+100.00%)
:arrow_up:

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 e67538f...9fcd3af. Read the comment docs.

Unlike last time codecov kinda has a point this time - there's some code we should comment out in a few places as it isn't really being used yet. MongoConfig will be dead weight though and isn't worth writing tests for.

I think I'd be most comfortable if, before we merge this in and run it, we:

write up the follow on PR that fully removes the Mongo config (base off of this branch instead of main)
run an acid test like above, but also including checking out that next PR and confirming all runs clean

especially since this is our first model we're migrating.
Thoughts?

I think the additional nuke the Config model is perfectly reasonable. I'll spin that up tmw.

Ran through the tests! I added the step to run the normal migrations after checking out the new branch. I then checked out #2097 and confirmed the configs were still behaving even with the fully nuke'd mongo config. So this is GTG by me!

@colinxfleming I'm hitting approved. Happy for you to either add the test coverage for PaperTrailable here or file an issue for our hacknight crew to pick up!

I'm gonna put this in the holding pen until we get the YH instance square. Will still continue pushing on the far edge of it, but major db paradigm shift + our planned YH work is quite a bit, so going to slow this down until we have that square.


Scan <subdir>/index files for composables, plugins, middleware, etc.

Describe the feature
This PR will align scanning behavior for plugins with existing behavior for e.g. composables or middleware by only scanning top-level folders by default.
https://github.com/nuxt/nuxt/blob/648ef069931336b8ee0c0e48fef3ee700ebc3dbe/packages/kit/src/plugin.ts#L23-L27
Related: https://github.com/nuxt/nuxt/pull/18418/files
Additional information

[X] Would you be willing to help implement this feature?
[ ] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide.
[X] Check existing discussions and issues.

@manniL What is the problem of scanning index files within subdirectories?
This is very convenient when you can logically divide the functionality of the plugin between files and keep in this directory.

I agree with @enkot. I have multiple composable files prefixed with "account-" and it would be extremely useful to be able to separate them into different subdirectories.
Is there a functional/performance reason for this decision?


Missing release for Alpine: Alpine319-8.1.tar is no longer available at https://github.com/microsoft/msphpsql/releases/download/

The new Linux tar package does not load properly in Alpine for the PHP 8.1 libraries:
(Error relocating /usr/lib/php81/modules/PDO_SQLSRV_8.1_NTS.so: __snprintf_chk: symbol not found)) in Unknown on line 0
(Error relocating /usr/lib/php81/modules/SQLSRV_8.1_NTS.so: __snprintf_chk: symbol not found)) in Unknown on line 0
Please provide a working link for Alpine.

Can you try using pecl to install instead? That should have Alpine packages

I am building an Alpine Docker container images, and having previously spent numerous hours to include the PECL installer in the building process, I can say for certain this is not a workable solution, totally defeating the purpose of using Alpine in the first place. It is an extreme overkill to have to install the prerequisites for PECL, then PECL, just in order to be able to get a couple of library files and copy them in order to be referenced in the PHP settings. I can't see any reason as to why this release tar was discontinued, and am worried not so much about the current version, but any next versions as well, and their compatibility with Alpine docker setups.

Also looking for the same thing for Rocky 8 aka CentOS 8. We are not allowed to install pecl in our environments.


[ERROR] Undefined variable: output

Laravel Version: 5.4.*
Voyager Version: 1.0
PHP Version: 5.6.4
Database Driver: MySQL

So did a clean install of laravel with voyager and when trying to create a admin I get the following error when trying to fill in a password

Any idea why?

I don't think we have a variable named output in that command... seems really odd, but might be an issue with laravel. If anyone else has time to dig into this, I'd appreciate it

do a clean install of laravel 5.5 and install voyager after a composer update. if you facing error still.try to load dummy data instead

Did another clean install and loaded it in with dummy data which worked fine, but running php artisan voyager:admin .... --create still causes the same undefined variable error at password.
I also tried it on a different windows PC, mac machine and different CLI's but no luck.

@FlorisBoom im using the latest of laravel and voyager and i just tried it out.. i get no error like that. i have no idea about that output variable.. could be some issue on your end.

@SamSolomon0611 Laravel 5.5 need php 7.0.0 .
https://laravel.com/docs/5.5
Can you try it with newer php version?
Also check if you are meeting all the requirements.

@vaggelis2018
So I just tried doing it locally using laravel 5,4 instead of doing it on the shared hosting server and everything went fine. So the problem has to be related with the shared hosting I guess.

@FlorisBoom Ask your host provider if all requirements are referenced in the link i sent you in the previous commemt are met

@vaggelis2018  All of the requirements for laravel 5.4 are met, since I'm using the shared hosting provided by my school I can't change the php version so using laravel 5.5 wont work. So it's basically out of my reach. Ill just have to work around it by exporting and importing databases from my localhost to the shared hosting.
Thx for the help anyways, and uhmm I don't know how to close issues yet so if someone would be so kind to... :D


TF-223: When a type does not conform, explain why

The LLDB diagnostic logic hides diagnostics pointing to things that the user did not enter. For example, if you do struct Foo : Sequence {}, then you should get this:
error: repl.swift:1:8: error: type 'Foo' does not conform to protocol 'Sequence'
struct Foo : Sequence {}
       ^

Swift.Sequence:3:20: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
    associatedtype Iterator : IteratorProtocol
                   ^

Swift.Sequence:2:40: note: candidate would match and infer 'Iterator' = 'Foo' if 'Foo' conformed to 'IteratorProtocol'
    @inlinable public __consuming func makeIterator() -> Self

but LLDB hides the two notes because they don't point at the user's expression.
This PR fixes that.
I'm not sure if there are any situations where this fix breaks some desired behavior. I'll create a PR into master soon, and I'll ask in that PR whether there are such situations.
Fixes https://bugs.swift.org/browse/TF-223

The problem is, for instance, every time an expression fails to parse we get a bunch of warnings that have nothing to do with the compile failure (e.g. that we didn't use the variable we use to capture errors.  Those are just confusing, so we suppress them.

I think that this change handles that case, because I have made it still exclude errors from the expression's buffer that fall outside of [first_line, last_line]. So if those confusing warnings all appear in the same buffer as the expression, they should still be excluded.

That should be fine, then.  Avoiding printing errors/warnings for the implementation details of the expression parser was the whole point of this exercise.


Not image shared or facebook, whatsapp or tweeter [iOS 11]

iOS 11
Social Sharing plugin 5.2.0
Before iOS 11 everything worked fine. Now I can only share the message, no image. Any idea?
This is how I do it:
 var options = {
      message: "This is my picture!"
      subject: Take a look at my picture
      files: [this.imageData],
      url: "https://www.test.com"
    }

    this.socialSharing.shareWithOptions(options).then(
      result => {
        console.log('Success')
      }
    );

Fixed just sending the image, no other parameters.

I am also facing issue. How can I send both image and message.


Ie11 mobile matches

Hope this time I get this correctly...

Ok.. didn't get it correctly on the first try... now it should be ok.

@CheloXL This will also serve the polyfill to Edge mobile, is that the intention? If not, the range should be 10 - 11.

@JakeChampion Mmm... I don't have Edge mobile to test. I guess since Edge supports matches, it should not be needed. But again, I don't have a way to test. Will change as you suggested and let others test on Edge mobile

Fixes #1065


File comparison example code

I have learned from the false collision reports is that people may make mistakes when testing for collisions :)  So I think what probably needs to happen to reduce this problem is that the Meow hash distribution should come with a Windows / Linux example program that tests all the files in a directory structure of your choice, and reports the collisions.  That way people don't have to write it themselves, and won't make mistakes and think they have collisions when they don't.
- Casey

Meow v0.2 is now available and includes a collision search utility called "meow_search".  It should build on both Windows/MSVC and Linux/CLANG, so you can search Windows machines or Linux machines for files that produce hash collisions.
- Casey


App is crashing on "send" of contact of F&F list.

-App is crashing while clicking the "send" button of contact of F&F list.

-Verified this issue on dev app v1.75(300)


Can't compile with Angular 9 (next7)

'agm-map' is not a valid HTML element.
Also, even though I serve my application in AOT mode, I get this error message in the console when I have the AgmCoreModule imported. (Nothing else, just the Module import)
main.ts:12 Error: Angular JIT compilation failed: '@angular/compiler' not loaded!
  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.
  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?
  - Alternatively provide the compiler with 'import "@angular/compiler";' before bootstrapping.
    at getCompilerFacade (core.js:542)
    at convertDependencies (core.js:16371)
    at reflectDependencies (core.js:16363)
    at Function.get (core.js:16484)
    at getInjectableDef (core.js:361)
    at injectableDefOrInjectorDefFactory (core.js:17198)
    at providerToFactory (core.js:17318)
    at providerToRecord (core.js:17263)
    at R3Injector.processProvider (core.js:17084)
    at core.js:17049

I was able to reproduce the issue, and some other users are reporting similar issues for other libraries. I am hoping that it's an angular glitch

We probably shouldn't put an urgent tag on a beta version of Angular.

if it was a production version, we would put P0: Critical

There're some breaking changes in Angular 9 (next7), can these be the reason?
https://github.com/angular/angular/blob/master/CHANGELOG.md#breaking-changes

I was able to reproduce the issue, and some other users are reporting similar issues for other libraries. I am hoping that it's an angular glitch

The issue still exists with 9.0.0-next.8, may be its not some angular glitch, but requires something to be fixed in the library?
@doom777 did you can a chance to investigate it further?

Tried with<EMAIL_ADDRESS>but no success

Got same issue here https://github.com/scttcper/ngx-toastr/issues/721 on Angular 9.0.0next6
And it's very critical for me.

it only work if I add import '@angular/compiler'; to main.ts. What's wrong?

Ok, it seems to work with rc.1. If anyone is still having problems, message here and I'll reopen


[Flink-1934] Add approximative k-nearest-neighbours (kNN) algorithm to machine learning library

I added approximate knn algorithms.  In another PR, there are two exact methods, one basic algorithms using a prirority queue and another using a quadtree (see: https://github.com/apache/flink/pull/1220 ).
For this PR, I added z-value based knn and LSH (Locality Sensitive Hashing) based knn.  Z-values are good for low-to-moderate dimension.  For details, see the paper [2] someone put on the exact JIRA issue:
https://issues.apache.org/jira/browse/FLINK-1745
https://www.cs.utah.edu/~lifeifei/papers/mrknnj.pdf
The z-value approach isn't applicable for larger dimensions, so I used -- as the paper suggests -- a more standard LSH approach.
The paper describes a fairly sophisticated MapReduce (MR) design, which I did not use.  Using the same MR design pattern as the exact method, I found really good performance improvement!  In JIRA, I ran this by @tillrohrmann, and he was OK with a less optimized version for now. Here is a link for a talk I recently gave on this, which includes links for the video and slides:
http://www.meetup.com/ny-scala/events/231163636/
Because both the LSH and z-value use the same MR design pattern as the exact versions, I reformatted the codebase from the PR for exact version a bit to make it more modular.

btw, not sure what the standards are, should I squash all this into one commit before doing a PR?  Or do you occasionally like to see many commits of a PR?

Hi @danielblazevski, thanks for opening pull request. I would like to split approximative knn and exact knn. If the approximative method needs exact knn implementation, could you wait until merging #1220? I'll merge it in few days (maybe today or tomorrow at latest).

@chiwanpark happy to wait. Should I close and re-open a PR when that's done or just leave this open knowing that it will not begin being reviewed until the other is merged?

I think that closing this and re-opening after #1220 is merged is better because reviewing is easier.

Sounds good, about to close

Closing this and making a new PR to avoid conflicts.  My guess is that the conflicts are there since I opened the PR initially before the exact KNN PR was merged


bitsandbytes was compiled without GPU support

I have installed cudatoolkit12.2 in Windows 11.
I followed the instructions to install "pip install 'ms-swift[all]' -U" in the conda environment.
The installation was successful and I can start the webui normally. However, when I start it, it prompts "The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable." After entering the webui, I found that there is only cpu.
Can you tell me which version of cudatoolkit I need to install?

Seems your torch version is not compatible with CUDA driver
check
python -c 'import torch; torch.cuda.is_available()'


SubDyn and MKL

I compiled openfast using intel compiler with MKL math library. For Test21, I found that when I set OMP_NUM_THREADS parameter to a larger number, the MKL can run in parallel, which can speed-up the calculation. However, when OMP_NUM_THREADS is set to different values, the generated Test21.SD.sum files are different, and then obviously the final calculation results are different. Any reason for this to happen?
Thanks!
Hai

@sinolonghai, is the only parallelization embodied in the MKL library? (and no where else in FAST)?

I would expect differences with threaded MKL. It just depends on how different. https://software.intel.com/en-us/articles/getting-reproducible-results-with-intel-mkl/

Also you can try turning on CNR and see if that gives you the same answer.
https://software.intel.com/en-us/node/528730

Yes Mike and Jon. This is an MKL problem. By setting both OMP_NUM_THREADS and MKL_NUM_THREADS, if MKL_NUM_THREADS uses the same value, no matter what OMP_NUM_THREADS value will be, the final result will remain identical.


Drum sounds sampled and added to sound_files

Kick, snare, and hi-hat sampled from FL Studio Kits

I have closed thee


Information about user flows listed above is inaccurate

The text above reads "User flows in Azure AD B2C follow the three-file pattern depicted above".
Using the getAsXml API used by the Azure Portal Download User Flow button to retrieve user flows and flipping the bit (getBasePolicies=false) to fetch all files, it is evident that this is not the case. In fact some User Flows currently leverage a 5-file deep hierarchy:
RP --> Base-v1 --> B2CTrustFrameworkV2 --> BCTrustFrameworkGlobalContent-{} --> B2CTrustFrameworkBaseV2-{}
It is a common misconception amongst people new to Custom Policies that a 3-deep hierarchy is strictly required, and the language here seems to perpetuate that mistake. It would be beneficial to correct the inaccurate language about User Flows and to indicate that although a 3-deep file might be useful, it is not strictly required. (Fore example, change the text that reads "These three types of policy files are used" to "These three types of policy files are suggested | recommended"

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

ID: 33489541-1210-69d0-4a45-5ba306d254fc
Version Independent ID: 4dd79b67-4004-f7d0-d59d-d3c94677b36e
Content: Azure Active Directory B2C custom policies
Content Source: articles/active-directory-b2c/custom-policy-overview.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@dotnetgator Thank you for your feedback . We will have content authors look into this and update as needed after review

@dotnetgator I have added below text under Policy files section:

Although there are three types of policy files, you are not restricted to have only three files. You may have multiple files of each file type. For example, if you do not want to make changes to your Extensions file, you can create Extension2 file to further extend the Extensions file.

Thank you @amanmcse . I think that is a good start to include and to help dispel the confusion, though I am a little hung up on the "each type" language - there is no need in policy files that each file be of a "base", "extensions", "RP" type. In fact User Flows do not follow this approach. They have what could be considered an RP file, a Base file, and then 3 "other" things in the middle (one of them is a HUGE localization file - is that a Base, or is it an Extension?) I have seen companies that define their own common-artifacts policy file (some use starter-pack base, others do not) to be shared across their enterprise, and then individual teams have their own intermediate files that provide common functionality for specific to their specific app(s), and then end up with a final RP file.
When writing code in C#, C++, or most other languages with a concept of inheritance, are there specific names for the intermediate/base files in an inheritance chain?  Seems awkward.

One more note @amanmcse . Please do not forget/omit the fact that the text about the User Flows currently in there is simply incorrect. User flows do not use a 3-file hierarchy, and although you do have to jump through some hoops to do so, it is something that can be checked.

@dotnetgator Since we are referencing to Base/Extension/RP files in almost all B2C documents, examples and samples, it is going to be a massive change in the documentation. I am assigning it to the author to see how we can accommodate this suggestion in the documentation.


Fix s3 force path style

What changes are proposed in this pull request?
Fix the path style
Why are the changes needed?
Path style was not respected for aws s3 async client previously
Does this PR introduce any user facing changes?
N/A

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.10 please


Optimize reduce_polys_base

Make reduce_polys_base parallel.
Unfortunately I had to use two collect(), not sure if there's a better way to do this.
In all practical cases I analyzed, collect() wasn't an issue as the number of polynomials is relatively small (256, 500, up to 800ish). But parallelization improves significantly the perf.

Mmm... I noticed that collecting self.base.powers() oom many tests. I don't have an easy solution here, prob best to close this, unless anyone has an idea?

Disregard the comment above, it turns out that I was doing par_iter().zip(x.par_iter()), while instead doing zip().collect().par_iter() seems to work fine.

Hey @0x0ece, apologies for never getting back to you!
I think we would still be interested in merging this, if performances are indeed improved significantly. Could you rebase with latest main, so that we can do some performance benchmarks between both branches?


Merge unified into main

Anyone know how to fix the CI for this? It's giving some weird npm error.

Anyone know how to fix the CI for this? It's giving some weird npm error.

Version conflicts maybe? Are these using the 0.3.0 utils/azureutils?

Anyone know how to fix the CI for this? It's giving some weird npm error.

Version conflicts maybe? Are these using the 0.3.0 utils/azureutils?

The error is npm ERR! @azure/arm-subscriptions not accessible from @microsoft/vscode-azext-dev
Others have fixed it by regenerating their package-lock. I tried and it didn't work. Someone also mentioned upgrading/downgrading npm could solve it.
https://stackoverflow.com/questions/55014020/running-npm-ci-returns-pkg-dir-not-accessible-from-find-cache-dir

How did you end up fixing this?

How did you end up fixing this?

Deleted package-lock and node_modules.


cleaner implementation of failedUrl error handling

@bpoplauschi what do you think? is it ok to merge?

@cristi1900 does this work for you?

Looks good.


Holding down right click when placing a block such as a door removes more than one item

Should be fixed in a3c71c8aecdd602764e5f433ba9df41e141c4e88.


Crest URP - Xbox one - compute shader support

One of our Crest URP users seems to be getting errors on Xbox one.
First they got the error Crest requires a graphics device that support compute shaders which does not make sense as Xbox One uses DX12 and most certainly supports compute.
I asked them to remove the check to see what would happen. It gets further but the crest update is not running properly and they get this error:
rendertexture.create failed format unsupported for random writes R16 SFloat
I'm not actually sure which render texture we are randomly writing to (clipping data?). I'll suggest that they try turn on and off the ocean features to narrow it down.

Clipping is only R8. Shadow data is RG16 and has NeedToReadWriteTextureData set to true. Depth uses an R16, but NeedToReadWriteTextureData is set to false.

Shadows are not enabled. Deactivating foam removed the R16 SFloat message.
Now I get:
rendertexture.create failed format unsupported for random writes RGBA16 SFloat (48)
I tried to removing all Simulation parameters with no success.
Settings for ocean and render pipeline etc. are attached.
The issue only occurs on XBox one universal windows. On UWP windows 10 machines  using the exact same configuration I could not reproduce this issues. Testing on windows was done with AMD RX590, NVidia gtx 1060 and Intel UHD 620 integated graphics.

Thanks for this.
I think the problem seems to be below the level Crest operates at - this platform definitely should definitely support compute and we're not doing random writes to those textures.
I googled and the link below came up - does your project set to use DX12 as the first graphics API in the list in the platform settings?
https://issuetracker.unity3d.com/issues/xbox-one-uwp-blendshapes-are-not-rendered-when-dx11-is-used
I think Xbox One would be heavily targeted to DX12 so this would need to be the first API in the list.

Issue is solved! You can close it.
I created a new sample application with crest only and sure DX12 and had the same issues. Adding some debug output and your hint to DX12 made me solve this issue as follow:
The missing thing was, that UWP is not treated as Game by default on XBox. It must be changed from app to game first. Apps are treaded as DX11 only.
Infos on how to configure xbox can be found: https://walbourn.github.io/directx-and-uwp-on-xbox-one/

Great, glad to hear and thanks for the link

I've added this information to Platform Support


Service stop working after some minutes iddle.

Hi, I have download docker container Version: 7.7.1
After running it, it works fine, I did like 20 ou 30 conversions to PDF  (always same file) with success, but if I stop using the service, lets say for 15 min, it doesn't work any more. I get a Internal Server Error.
The logs have this information:
2022-12-30 09:11:33 {"level":"error","ts":1672391493.3013377,"logger":"api","msg":"convert to PDF: unoconv PDF: unix process error: wait for unix process: exit status 6","trace":"c7315c8f-9d68-4df7-a4c6-92c355d381f2","remote_ip":"<IP_ADDRESS>","host":"bentley:3000","uri":"/forms/libreoffice/convert","method":"POST","path":"/forms/libreoffice/convert","referer":"","user_agent":"PostmanRuntime/7.30.0","status":500,"latency":262561800,"latency_human":"262.5618ms","bytes_in":47103,"bytes_out":21}
I'm running the container with this command:
docker run --rm -p 3000:3000 thecodingmachine/gotenberg:7

Tried in other server with docker, same issue.

Could you try with version 7.4.3?

Hi, it did the trick! it seems to be working. What is the issue? Libre office version used? I also have issues when converting tiff files to PDF, I guess it's also a libreoffice problem.
Thank you very much.

What is the issue? Libre office version used?

That's my best guess for now 😅

Hi,
See this example if you don't mind. In the ZIP file we have the original TIF and the output PDF file.
Decreto-Lei-n.384-B-99(4).zip
Thanks in advance!

@mdsantos1979 could you open a new issue or a discussion for the TIFF files?

@mdsantos1979 could you try the image gulnap/gotenberg:libreofficefix? It's using a downgraded version of LibreOffice (7.0.4) but with the  Gontenberg 7.7.1 codebase.

@gulien I was just working with this as you fixed and closed it. 😆
I was going to tell you that I am using the arm64 build and was having the same issue with libreOffice except that it only seemed to work once, and then require a restart before working again.
I tried the gulnap branch and it seems to fix the libreOffice issue but since it is an amd64 build, it isn't rendering any of my chromium pages. 😢
Hopefully your fix will be released soon (and for arm64) and it will solve the problem!

Hello @craigh, the release is underway, ETA ~1 hour 😄

Release 7.7.2 is now available with the fix. Please open a new issue if the problem still persist 😄


Handle State changes in the Bid View Controller

Probably better off going through this inline:

Lookin' sharp!

1 Error

:no_entry_sign:
No CHANGELOG changes made

1 Warning

:warning:
Needs testing on a Phone if change is non-trivial

  Generated by :no_entry_sign: danger

This is now green


Clustering

Graph clustering is the task of grouping the vertices of the graph into clusters taking into consideration the edge structure of the graph in such a way that there should be many edges within each cluster and relatively few between the clusters.
It can also generalize to graphs with weighted edges.

https://www.sciencedirect.com/science/article/abs/pii/S1574013707000020


Support for the latest version of NodeBB

Thanks! I'll merge it in tonight.

@Schamper maybe also create a release for us to update?

I did, it's on npm.


Publish latest commit included in the nightly build

Expected Behavior
I'd expect a link to the latest commit on github somewhere on the nightly information page https://gradle.org/nightly/
Current Behavior (optional)
There is only a timestamp which is non-trivial to map back into the merged PR.
Context
As a user I want to make sure certain PR is in the nightly release I'm trying to install, so I can verify the fix early. As a build author I had few instances of users picking up an outdated build and complaining about issue not being fixed.
The CI promotion builds are not available to guests.

This feature request is in the backlog of the relevant team and is prioritized by them.


Add  Round function

Closes #61

Hey, @GadQ I have made the suggested changes.
cc: @rayepps

Hi @shan-shaji, would you like to continue work on this PR over at radashi-org/radashi, a new actively maintained fork of Radash? Please let me know! 😄

Yeah sure @aleclarson i can work on it.


Incompatible shape in inference

ValueError: Layer #810 (named "box_net/box-predict"), weight <tf.Variable 'box_net/box-predict/pointwise_kernel:0' shape=(1, 1, 224, 36) dtype=float32,numpy=
array([[[[-0.04699235, -0.02564223,  0.00853208, ..., -0.0246127 ,
0.08096791, -0.02760192],
[ 0.03991835,  0.06335132, -0.06923918, ...,  0.07520743,
0.09410413, -0.00520394],
[ 0.12037021,  0.03845677, -0.00221151, ..., -0.01830149,
0.07997871, -0.0675458 ],
...,
[ 0.07699301, -0.00094294, -0.00162442, ...,  0.05020301,
-0.08706699, -0.12831083],
[ 0.11896881,  0.05107141, -0.08757737, ..., -0.05650857,
0.02637086, -0.0718085 ],
[ 0.01957712, -0.10257559,  0.04454782, ...,  0.05055531,
-0.05182468, -0.02485939]]]], dtype=float32)> has shape (1, 1, 224, 36), but the saved weight has shape (1, 1, 224, 81).
Anyone know how to solve this? I change the number of classes from 90 to 1 in inference

phi must match model, if phi is 3,you must use pretrained model efficientnet-b3


Add pre-production preview for 23.2.0-rc.2 to docs

This PR has been superseded by the GA for v23.2.0-cloud only


Miscellaneous formatting issues

discussed here https://trustmachines.slack.com/archives/C0520G8J33M/p1724946861354399
Pete will take a look tomorrow.

I solved these issues in https://github.com/leather-io/extension/pull/5823

Released in https://github.com/leather-io/extension/pull/5838


Add gui and cli methods for identifying keys

It sounded like the deployment has some issues on a previous deployment so once the deployment succeeds I will make the merge.


A bit more testing

This PR is a follow up to https://github.com/inventree/InvenTree/pull/8048 and adds more coverage

@SchrodingersGat this is ready for review; stock is still not 100% but there is a lot of surface to cover and small PRs are less likely to break stuff

Thanks for the additional tests :)


Log exceptions directly instead of using scope (failure) assert(0);

The scope (failure) trick that we use right now is swallowing information about the origin of the exception. For example:
void test()
{
    scope (failure) assert(0, "-- Second exception");
    test2();
}

void test2()
{
    throw new Exception("-- First exception");
}

void main()
{
    test();
}

$ rdmd test.d

core.exception.AssertError@test.d(3): -- Second exception
----------------
??:? _d_assert_msg [0x10218a236]
??:? void test.test() [0x10217cc23]
??:? _Dmain [0x10217cba8]

The information about the first exception is lost.
Also if I do this:
void main()
{
    try
    {
        test();
    }
    catch (Throwable ex)
    {
        writeln(ex);
        writeln(ex.next);
    }
}

I get:
core.exception.AssertError@test.d(5): -- Second exception
----------------
??:? _d_assert_msg [0x10eb5030a]
??:? void test.test() [0x10eb37d1b]
??:? _Dmain [0x10eb37c5c]
null
[Finished in 0.7s]

What happened to the chained-exceptions feature? Is it not implemented on OSX? :/

Well, those asserts are never supposed to be triggered. If they are, it should be a proper catch.

Right. But why is the first exception thrown away?

Yeah that's a quirk. But is this issue valid ?

I think we're done with this. We mostly use scope (failure) in network unittests to print the network logs.
We also have a couple instances here and there as "last chance" when a critical error happens and we log a message, but since Exception.toString() is not nothrow, we use the scope (failure) hack.


Installs Cassandra UDT keyspace only when allowed

Tested this locally to make sure we're all good. also re-pushed the docker test image to make sure it always installs the UDT keyspace
cc @mvallebr @llinder @michaelsembwever

This LGTM, from user's point of view. Please let me know as soon as you release a version with this, I am looking forward to it

Just out of curiosity, when ensureSchema is enabled, aren't you creating 2
keyspaces here?

yes. one is a template for the UDTs (due to them being defined on
annotations I think) I tried to remove it by
https://github.com/openzipkin/zipkin/pull/1891, but seems like a different
topic.
Maybe @michaelsembwever @llinder can help us write a better comment or note
in the readme. Even if replying here, I don't mind copy/pasting


Transfer 1 HNT with 0 HNT in wallet to another can be completed successfully

Hi all, I am curious why with the following code, I can execute the transaction of transferring 1 HNT to another with a transaction hash returned successfully even the wallet has 0 HNT, also is there a way to check the status of the transaction from an exchange or from Helium network?
async function make_transaction(){
  const client = new Client();

  console.log("make_transaction the client: ", client);

  // the transactions library needs to be configured
  // with the latest chain vars in order to calculate fees
  const vars = await client.vars.get();
  console.log("make_transaction the vars: ", vars);

  Transaction.config(vars);
  const entropy = await crypto.randomBytes(32);
console.log("make_transaction entropy is: ", entropy);
let entropyStr = entropy.toString("hex");
console.log("make_transaction entropyStr: ", entropyStr);
let bob = await Keypair.fromEntropy(entropy);

  console.log("make_transaction bob is: ", bob);
  console.log("make_transaction the bob.address: ", bob.address);
  // initialize an address from a b58 string
  const alice = Address.fromB58('148d8KTRcKA5JKPekBcKFd4KfvprvFRpjGtivhtmRmnZ8MFYnP3');
  console.log("make_transaction the alice: ", alice);
  //let mnemonic = alice.mnemonic;
  //console.log("make_transaction the mnemonic: ", mnemonic);
  // get the speculative nonce for the keypair
  console.log("make_transaction the bob.address.b58: ", bob.address.b58);
 // let publicKey = bob.publicKey;
  //console.log("make_transaction the publicKey: ", publicKey);
  //let publicKeyString = Base64.fromUint8Array(publicKey);
  //console.log("make_transaction publicKeyString: ", publicKeyString);
 // let publicKeyBack = Base64.toUint8Array(publicKeyString);
  //console.log("make_transaction publicKeyBack: ", publicKeyBack);
  //const account = await client.accounts.get(bob.address.b58);

  //console.log("make_transaction the balance.floatBalance: ", account.balance.floatBalance);

  //console.log("make_transaction the account: ", account);
  // construct a payment txn
  const paymentTxn = new PaymentV1({
      payer: bob.address,
      payee: alice,
      amount: 1,
      nonce: alice.speculativeNonce + 1,
  });

  console.log("nonce is: ", paymentTxn);
  console.log('transaction fee is:', paymentTxn.fee);

  const signedPaymentTxn = await paymentTxn.sign({ payer: bob });

  console.log("make_transaction the serialized transaction: ", signedPaymentTxn.toString());
  let txHash = await client.transactions.submit(signedPaymentTxn.toString())
  console.log("make_transaction the transaction hash: ", txHash);

}
Thanks in advance!

If you get the HASH that it returns and pull this url https://api.helium.io/v1/pending_transactions/ it'll tell you the status.  For all the previous pending transactions, you can do https://api.helium.io/v1/accounts/148d8KTRcKA5JKPekBcKFd4KfvprvFRpjGtivhtmRmnZ8MFYnP3/pending_transactions and you'll notice that the 1 HNT payment failed.


Scripts from angular-cli.json aren't being included in project

Bug Report or Feature Request (mark with an x)
- [ x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

Windows 10
node: 4.5.0
angular-cli: 1.1.1
Repro steps.

include something like
"scripts": [
                "../node_modules/chart.js/dist/Chart.js"
            ],

In angular-cli.json, and try to take advantage of functionality that that script would provide
Desired functionality.

I would like scripts to be bundled in a way that would allow me to access their functionality without manually adding them in a script tag in my index.html
Mention any other details that might be useful.

I've noticed this issue when trying to include Chart.js with primeNG. I don't know if I'm thinking about the scripts directive wrong or if it isn't doing what I think it should be doing but people seem to have said that they've been able to gain access to the functionality of Chart.js by including the script here rather than manually adding the script in a tag in their index.html
If this is how this is supposed to work, this functionality would be extremely helpful to have, but if not perhaps someone can better explain what the scripts directive is actually for so that I may be more informed.

Can you please provide some more detailed information to help us help you?
What errors are you seeing?
How are you trying to use it?

My angular isn't actually loaded like it conventionally would be. I have it hacked into a base HTML page.
It turns out I actually needed to include scripts.bundle.js which is a file that isn't actually created until you add scripts to angular-cli.json


It's should return ErrListNotFound when calling tx.LRemByIndex with a non-existent bucket name

Describe the bug
In unit test cases, there's a case is calling tx.LRemByIndex with a non-existent bucket name. And it returns nil.
I think it should be consistent with tx.LRem which returning  ErrListNotFound when called with a non-existent bucket name.
To Reproduce
Run test case txLRemByIndex
please complete the following information :

OS: Ubuntu 22.04
NutsDB Version: the newest of master

Can you open a PR to help fix it? Thanks!

Can you open a PR to help fix it? Thanks!

OK 👌


skipFiles not working for the latest nightly build

VSCode Version: 1.48.0-insider
OS Version: MAC Catalina 10.15.6

Debugger is stepping into <node_internals>/domain.js, <node_internals>/internal/_stream_writable.js
Steps to Reproduce:

Create new launch.config with following value.

{
    "name": "Launch & Attach to App",
    "type": "pwa-node",
    "request": "launch",
    "runtimeExecutable": "sam",
    "runtimeArgs": [
        "local",
        "invoke",
        "-e",
        "${workspaceFolder}/event.json",
        "-n",
        "${workspaceFolder}/env-vars/local.json",
        "-d",
        "5858",
        "-t",
        "${workspaceFolder}/template.yaml",
        "HelloWorld",
        "--region",
        "us-west-2"
    ],
    "attachSimplePort": 5858,
    "localRoot": "${workspaceFolder}/",
    "remoteRoot": "/var/task",
    "stopOnEntry": false,
    "skipFiles": [
        "${workspaceFolder}/node_modules/**/*.js",
        "<node_internals>/**"
    ]
}

Run the debugger

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

If you use "<node_internals>/**/*.js" does it make a difference?

Nope. Tried that as well.

Thanks for the issue, I applied what I believe to be a fix for the scenario you were hitting in the linked commit. If this doesn't fix it for you, please capture a trace log and send it over 🙂

Connor thanks for the fix. Should i take the latest nightly build now or tomorrow to test the fix?

Tomorrow -- nightly publishes slightly after 5 PM PST each day

@queston02 did this end up fixing the problem for you?

Nope. I just debugged my project and got the issue. I got the screen shot also but cannot attach it here. In screen shot you could see it going into domain.js file of node_internals. Below is my launch.config
{
    "type": "node",
    "request": "attach",
    "name": "Attach by Process ID",
    "processId": "${command:PickProcess}",
    "skipFiles": [
        "${workspaceFolder}/node_modules/**/*.js",
        "<node_internals>/**/*.js"
    ]
}

Below is VS Code Insider details:-
Version: 1.49.0-insider
Commit: b6d4fec3714ff897f72c1dab8cc02b7421a8f131
Date: 2020-09-01T05:48:29.841Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 19.6.0

Can you grab a fresh set of logs using the recent debug adapter?

If you're able to, add "trace": true to your launch.json and reproduce the issue. The location of the log file on your disk will be written to the Debug Console. Share that with us.
⚠ This log file will not contain source code, but will contain file paths. You can drop it into https://microsoft.github.io/vscode-pwa-analyzer/index.html to see what it contains. If you'd rather not share the log publicly, you can email it to<EMAIL_ADDRESS>

Emailed you the trace file. Also what is the difference between type="node" and type="pwa-node"? Are they the same debugger or different debugger?

debug express with es6,
skipfile not work
Version: 1.48.2 (user setup)
Commit: a0479759d6e9ea56afa657e454193f72aef85bd0
Date: 2020-08-25T10:13:11.295Z (1 wk ago)
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.17763

@queston02 in the log file you sent, it seems that you are not using the nightly build. You'll need to do so in order to get the fix.
@hellorayza please try the nightly build that contains this fix. If it doesn't work for you, collect a log file using the instructions above.

I can confirm now that the latest nightly build is skipping the files in node_modules while debugging i.e. when I do F11 it doesn’t step into the method that is defined in node_modules but issue remains with <node_internals>. I can consistently reproduce it. Emailed you the latest trace file.

Thanks for the logs. I cannot repro on my machine but I found a race condition that I think you are hitting.
Please try the next nightly build of the debugger itself and let me know if it works better for you (you're on VS Code Insiders, but the debugger has its own nightly 🙂). Directions: https://github.com/microsoft/vscode-js-debug#nightly-extension

\closedWith 12c36762037937a25decc05d8113390408983630

hi connor -
i'm experiencing this issue now (skipfiles not respecting node_internals exception).
i just tried enabling skipfiles for the first time, and noticed the problem.
if you have a potential fix available i'd like to try it (caveats understood).
thank you...

/jsDebugLogs

i just tried the insiders build and i can confirm that for the it resolves the problem that i am also having with v1.49.2 (skipfiles ignores exception for node_internals when entered per the documentation). thank you...

Ok, thanks for confirming. I haven't heard back from the original poster, so I will mark this as verified for this release.

ok, i did find a problem. using the insiders edition does resolve the problem above, as reported, when debugging remotely.
but i am now having a problem using the insiders edition when debugging the same code locally. i am syncing settings between my ms code versions, and i am using the same launch.json file in both cases.
i have two local debugging scenarios... with "runtimeExecutable": "nodemon" and without.
in the insiders edition, when i try debug locally without nodemon ms code does launch node successfully and i can debug, but when i stop the debugger node exits with code 1.
in the insiders edition when i try to debug locally with nodemon ms code fails to launch node successfully.
launch command from v1.49.2 of ms code (which works):
PS C:\work\antibsmachine>  cd 'c:\work\antibsmachine'; ${env:NODE_OPTIONS}='--require "c:/Program Files/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/bootloader.bundle.js" --inspect-publish-uid=http'; ${env:VSCODE_INSPECTOR_OPTIONS}='{"inspectorIpc":"\\.\pipe\node-cdp.1924-2.sock","deferredMode":false,"waitForDebugger":"","execPath":"C:\Program Files\nodejs\node.exe","onlyEntrypoint":false,"autoAttachMode":"always","fileCallback":"C:\Users\jotha\AppData\Local\Temp\node-debug-callback-a6c5abf2e86c1fb1"}'; & 'C:\Users\jotha\AppData\Roaming\npm\nodemon.cmd' '.\start.js'
launch command from insiders edition (which fails):
PS C:\work\antibsmachine> /Microsoft VS Code Insiders/resources/app/extensions/ms-vscode.js-debug/src/bootloader.bundle.js" --inspect-publish-uid=http'; ${env:VSCODE_INSPECTOR_OPTIONS}='{"inspectorIpc":"\\.\pipe\node-cdp.31152-5.sock","deferredMode":false,"waitForDebugger":"","execPath":"C:\Program Files\nodejs\node.exe","onlyEntrypoint":false,"autoAttachMode":"always","fileCallback":"C:\Users\jotha\AppData\Local\Temp\node-debug-callback-19b3ff13082ce317"}'; & 'C:\Users\jotha\AppData\Roaming\npm\nodemon.cmd' '.\start.js'
the second one is missing:
cd 'c:\work\antibsmachine'; ${env:NODE_OPTIONS}='--require "c:/Program Files
relevant part of my launch.json
  {
      "name": "local debug",
      "type": "node",
      "request": "launch",
      "program": "${workspaceFolder}\\start.js",
      "skipFiles": [
        "${workspaceFolder}/node_modules/**/*.js",
        "<node_internals>/**/*.js"
      ]
    },

  {
      "name": "local debug w/nodemon",
      "type": "node",
      "request": "launch",
      "runtimeExecutable": "nodemon",
      "program": "${workspaceFolder}\\start.js",
      "restart": true,
      "console": "integratedTerminal",
      "internalConsoleOptions": "neverOpen",
      "skipFiles": [
        "${workspaceFolder}/node_modules/**/*.js",
        "<node_internals>/**/*.js"
      ]
    },

i'm happy to provide more details if you need please just let me know. thank you...

@nodorious can you create a new issue for that?


lib2geom: init at 1.0

Motivation for this change
https://inkscape.org/news/2018/11/11/graphics-math-library-2geoms-first-release-availab/
Things done

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

[x] NixOS
[ ] 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 nox --run "nox-review wip"
[x] 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] Fits CONTRIBUTING.md.

Failure on aarch64-linux (full log)
Attempted: lib2geom
Partial log (click to expand)
         17 - sbasis-test (Failed)
         18 - sbasis-text-test (Failed)
         19 - root-find-test (Failed)
         20 - implicitization-test (Failed)
Errors while running CTest
FAILED: CMakeFiles/test.util
cd /build/lib2geom-1.0.0/build && /nix/store/spayd3dagxy3xml2psswm25bv19b3avg-cmake-3.12.1/bin/ctest --force-new-ctest-process
ninja: build stopped: subcommand failed.
builder for '/nix/store/qdfii1ffx9jdvlq9388f0l15jc38xs10-lib2geom-1.0.0.drv' failed with exit code 1
error: build of '/nix/store/qdfii1ffx9jdvlq9388f0l15jc38xs10-lib2geom-1.0.0.drv' failed

Failure on x86_64-linux (full log)
Attempted: lib2geom
Partial log (click to expand)
         17 - sbasis-test (Failed)
         18 - sbasis-text-test (Failed)
         19 - root-find-test (Failed)
         20 - implicitization-test (Failed)
Errors while running CTest
FAILED: CMakeFiles/test.util
cd /build/lib2geom-1.0.0/build && /nix/store/sxxy01wn82n7wjl5a384344m2i4xszx6-cmake-3.12.1/bin/ctest --force-new-ctest-process
ninja: build stopped: subcommand failed.
builder for '/nix/store/qpakh2q8zp9a8yxrkrp7q78nnvmy1z3d-lib2geom-1.0.0.drv' failed with exit code 1
error: build of '/nix/store/qpakh2q8zp9a8yxrkrp7q78nnvmy1z3d-lib2geom-1.0.0.drv' failed

Failure on x86_64-darwin (full log)
Attempted: lib2geom
Partial log (click to expand)
         17 - sbasis-test (Child aborted)
         18 - sbasis-text-test (Child aborted)
         19 - root-find-test (Child aborted)
         20 - implicitization-test (Child aborted)
Errors while running CTest
FAILED: CMakeFiles/test.util
cd /tmp/nix-build-lib2geom-1.0.0.drv-0/lib2geom-1.0.0/build && /nix/store/q3njfqg1nicir8gy5s5pqy9rqyyznxfg-cmake-3.12.1/bin/ctest --force-new-ctest-process
ninja: build stopped: subcommand failed.
builder for '/nix/store/bqghm7jahd5d44v2bz73q6cl9pj8pqi4-lib2geom-1.0.0.drv' failed with exit code 1
error: build of '/nix/store/bqghm7jahd5d44v2bz73q6cl9pj8pqi4-lib2geom-1.0.0.drv' failed

20: Test command: /home/jtojnar/projects/nixpkgs/lib2geom-1.0.0/build/src/tests/implicitization-test
20: Test timeout computed to be: 10000000
20: /home/jtojnar/projects/nixpkgs/lib2geom-1.0.0/build/src/tests/implicitization-test: error while loading shared libraries: libgtest.so: cannot open shared object file: No such file or directory
20/20 Test #20: implicitization-test .............***Failed    0.00 sec

$ ldd lib2geom-1.0.0/build/src/tests/implicitization-test
	linux-vdso.so.1 (0x00007ffcd334b000)
	[…]
	libgtest.so => not found

Hmm, it does not use system gtest at all: https://bugs.launchpad.net/lib2geom/+bug/1803860

The tests failing are just CMake not using RPATH for build by default. After fixing that, I encountered some test failure.

Main issue with this is that the icons are not loaded correctly for some reason. Maybe because they have been moved but I would expect that to cause issues on other platforms as well.

Opened an upstream issue about the icons: https://gitlab.com/inkscape/inkscape/issues/135

I updated to alpha2 but since Inkscape recently improved their CMake files, the RPATH is broken.
It contains $ORIGIN/..//nix/store/7gifw2g1qkjvqf7bdkhxxhxzy49980zs-inkscape-1.0-alpha2/lib/inkscape instead of the previous $ORIGIN/../lib/inkscape, or our expected /nix/store/7gifw2g1qkjvqf7bdkhxxhxzy49980zs-inkscape-1.0-alpha2/lib/inkscape.
I am trying to figure out if CMake supports something as trivial as Meson’s join_path function. At the moment, I am drawing blanks:
https://stackoverflow.com/questions/57382992/joining-paths-in-cmake?

@jtojnar Thanks for your PR :)
I just tried to install<PHONE_NUMBER>5cc77345bc0d94ce5d53a8a0369528 on NixOS 19.03 (cd nixpkgs/ && nix-env -iA inkscape1 -f .) with the following result:
inkscape --version
/home/mk/.nix-profile/bin/inkscape: error while loading shared libraries: libinkscape_base.so: cannot open shared object file: No such file or directory

Hmm, RPATH contains $ORIGIN/..//nix/store/jm7jm40j116jvn7gvrv4as930was154q-inkscape-1.0-beta1/lib/inkscape.

Yeah, see above https://github.com/NixOS/nixpkgs/pull/50286#issuecomment-518845346

beta2 fixed the issue in https://gitlab.com/inkscape/inkscape/commit/c77532d0acf37d0e1d9ebc46f1bc0a05ffca01e8

I haven't noticed this PR when creating mine, but I think https://github.com/NixOS/nixpkgs/pull/85169 supersedes this one. Let me tell you why:

extensions are now included as a submodule (share/extensions), no need to fetch them separately
same for lib2geom which is now kept as an in-tree copy (src/2geom)

The only thing I am unsure about is glib-networking which is present in your changeset, but I am unsure why you've added it. Can you please elaborate?

The only thing I am unsure about is glib-networking which is present in your changeset, but I am unsure why you've added it. Can you please elaborate?

It's probably for the glib-networking gio module to be added to the wrapper, which is needed for https stuff I believe.

OK, I will amend the other PR to include glib-networking.

lib2geom has always been part of the source tree. The main change of inkscape 1.0 is that we can finally use lib2geom from Nixpkgs and we should do so as vendored dependencies are :vomiting_face:

The reason I am fetching the extensions separately is that fetchFromGitLab does not support submodules :crying_cat_face:

Hmm, apparently they still do not allow non-vendored lib2geom:
https://gitlab.com/inkscape/inkscape/-/merge_requests/1410

Let's just use this PR for lib2geom introduction as I originally intended.

oh, there's a darwin problem
[11/95] Building CXX object tests/CMakeFiles/rotated-rect-test.dir/rotated-rect-test.cpp.o
FAILED: tests/CMakeFiles/rotated-rect-test.dir/rotated-rect-test.cpp.o
/nix/store/1ngwf6wvh9hf1vz3h2h5znqi90fa86q1-clang-wrapper-7.1.0/bin/clang++   -I/nix/store/m3j6p2gzazmh3fx39kz1l01xmifaqbqn-glib-2.64.1-dev/include/glib-2.0 -I/nix/store/vhp0hj6r62cj7y1wbwy885xxr1f2m42a-glib-2.64.1/lib/glib-2.0/include -I../include -I../include/2geom -arch x86_64   -std=c++11 -MD -MT tests/CMakeFiles/rotated-rect-test.dir/rotated-rect-test.cpp.o -MF tests/CMakeFiles/rotated-rect-test.dir/rotated-rect-test.cpp.o.d -o tests/CMakeFiles/rotated-rect-test.dir/rotated-rect-test.cpp.o -c ../tests/rotated-rect-test.cpp
In file included from ../tests/rotated-rect-test.cpp:35:
../include/2geom/rotated-rect.h:79:32: error: implicit instantiation of undefined template 'std::__1::array<Geom::Point, 4>'
    const std::array<Point, 4> m_corners;
                               ^
/nix/store/47m4h1bb5df8k6031qbljfr4w3m63f68-libc++-7.1.0/include/c++/v1/__tuple:223:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
                                                               ^
../tests/rotated-rect-test.cpp:117:1: warning: 'InstantiateTestCase_P_IsDeprecated' is deprecated: INSTANTIATE_TEST_CASE_P is deprecated, please use INSTANTIATE_TEST_SUITE_P [-Wdeprecated-declarations]
INSTANTIATE_TEST_CASE_P(intesect_non_aligned, RotatedRectTest, testing::Values(
^
/nix/store/hjysj1qari3harv79iv4qn777hwvx54n-gtest-1.10.0-dev/include/gtest/gtest-param-test.h:496:38: note: expanded from macro 'INSTANTIATE_TEST_CASE_P'
  static_assert(::testing::internal::InstantiateTestCase_P_IsDeprecated(), \
                                     ^
/nix/store/hjysj1qari3harv79iv4qn777hwvx54n-gtest-1.10.0-dev/include/gtest/internal/gtest-internal.h:1207:1: note: 'InstantiateTestCase_P_IsDeprecated' has been explicitly marked deprecated here
GTEST_INTERNAL_DEPRECATED(
^
/nix/store/hjysj1qari3harv79iv4qn777hwvx54n-gtest-1.10.0-dev/include/gtest/internal/gtest-port.h:2224:59: note: expanded from macro 'GTEST_INTERNAL_DEPRECATED'
#define GTEST_INTERNAL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                          ^
1 warning and 1 error generated.

Out of curiosity, Jan, are there any other projects (other than Inkscape which uses it as an in-tree copy) that use this library?

I am not aware of any but it is still good idea to unvendor it. We do not have as strong anti-vendoring policies as Fedora or Debian but using dependencies from Nix is still good here, if just for making the builds more parallelizable.

Though of course it does not make much sense to merge it without any consumers.

Added in https://github.com/NixOS/nixpkgs/pull/124333


New gradle task to help translators

The new gradle task "checkTranslations" creates reports on
missing/extra lang file entries for all language files
It is not included in the normal build process and must be run by hand
The reports are gitgnore'ed

Yes, there are tools for working with .lang files. But this is about as low on skill requirements as possible. ;)


python312Packages.plugwise: 1.2.0 -> 1.3.1

Diff: https://github.com/plugwise/python-plugwise/compare/refs/tags/v1.2.0...v1.3.1
Changelog: https://github.com/plugwise/python-plugwise/releases/tag/v1.3.1
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 341320 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.plugwise
python311Packages.plugwise
python311Packages.plugwise.dist
python312Packages.plugwise
python312Packages.plugwise.dist


⚠ Bofrost.de has degraded performance

In e449ba0, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1979 ms

Resolved: Bofrost.de performance has improved in c37ac4f after 29 minutes.


First character in IRC not coloured

Colouring users is enabled. YChat turns the whole line red if you get highlighted, unless custom colours are sent in the message. Apparently, the first character (the >) isn't send with a colour code.
Obviously a minor issue.

Also, I would personally prefer that only the username is coloured, and the rest is set to neutral.

The rest of the message is presently set to neutral, by resetting formatting (which as far as I know is the only thing we can do to reset formatting) – we're not explicitly coloring it white, so it's probably down to your IRC client how it doesn't recolor it.
I could look into manually coloring the angle brackets white (or the same color as the username?) and then resetting the color after them, which should ensure they have the same color as each other and then however the IRC client handles the reset it should display reasonably?

I have not noticed color issues, but I am having issue with first letter in nicks being replaced with "?" in IRC for some reason.
< discordb> ?ickspdx Test (maybe last one)
Any Ideas?


fix: limit scikit-build-core to see if that fixes anything

Testing things to see if we can narrow down why this is failing.
Starting by ensuring it's not scikit-build-core's fault by forcing a version it build successfully with before. :)

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Validating outputs would have been the next block (comparing with awkward-cpp-feedstock). That's suspicious, since when I run it locally, it does not run this block. Though if I manually run it:
$ mamba install -c conda-forge conda-forge-ci-setup
$ validate_recipe_outputs iminuit
validation results:
{
  "osx-64/iminuit-2.24.0-py39hf8dc8b4_0.tar.bz2": true
}
NOTE: Any outputs marked as False are not allowed for this feedstock.

It's fine.

I've asked on Gitter, and the consensus is that this either is a bug in Conda-build 3.26 or an issue with a bad render. It's been seen on other feedstocks, such as the Go feedstock. I'll try the workaround there.


no 5 minute data

Describe the bug
When there is no 5 minute data, then pvnet fails over.
To Reproduce
https://www.notion.so/openclimatefix/2024-02-07-Missing-file-5b8fed94aec74fa8838500e53f4c8d39?pvs=4
Expected behavior
moves on to the 15 minute satellite data automatically

Need to check if the file exsits here - https://github.com/openclimatefix/pvnet_app/blob/main/pvnet_app/data.py#L27
and adjust logic here - https://github.com/openclimatefix/pvnet_app/blob/main/pvnet_app/data.py#L43

No, at the minute we don't train with dropout, but we do have the support for it

Now working on 0.0.32


Mixpanel error

Hi
I hope you will be fine.  It's a nice extension and very helpful for developer.
I am here to report an issue with this extension version 2.1.1 being used in Chrome Version 64.0.3282.140 (Official Build) (64-bit).
I am getting error in console window since 6th Feb, 2018 as under:
"mixpanel-2-latest.min.js:9 Mixpanel error: "mixpanel" object not initialized. Ensure you are using the latest version of the Mixpanel JS Library along with the snippet we provide."
Could you please fix this issue as soon as possible?
Thanks.

Hi @shafqatali please read:
#101 #104 and #103


TerminalShellIntegrationChangeEvent has a terminal and a shellIntegration property

Testing #226655
Reading through the documentation I am under the impression that when the TerminalShellIntegrationChangeEvent event fires that terminal has a shell integration (e.g. its property shellIntegration is !== undefined).
Why does the event carry the additional shellIntegration property. Aren't they the same?

Same for TerminalShellExecutionStartEvent and TerminalShellExecutionEndEvent event

It does that to avoid the need for a shellIntegration? check or ! assertion. We could also do some TS magic like Required<Pick<Terminal, 'shellIntegration'>> & Terminal but we tend to avoid composing complex types like that to simplify the API.
Closing as designed as this did come up in the API syncs. cc @jrieken


projects: Add matrigram project

Signed-off-by: Gal Pressman<EMAIL_ADDRESS>

oops - sorry, looks like this was missed :( thanks! project looks great :)


Rastreador Modelo MXT 150 do fabricante MAXTRACK...como programar no Traccar ??

Srs,
Tenho alguns equipamentos do modelo MXT 150 - fabricante Maxtrack, que não encontrei na lista de rastreadores suportados pelo Traccar.
Vocês poderiam me informar se esse tipo de dispositivo funciona no Traccar ??
Att
Marcello
<EMAIL_ADDRESS>

@MarcelloCaires  I have the protocol, but I do not believe its a good idea since the protocol is protected by a NDA and should not be published as opensource. Ive an private gateway with this protocol if your interested. Regards.

@drecchia Pode me enviar o protocolo? Estou precisando.

hi @drecchia send me please

Hi, traccar has already implemented Mxt Protocol to decode tracking: https://github.com/tananaev/traccar/blob/master/src/org/traccar/protocol/MtxProtocolDecoder.java

Hi @drecchia.
I saw that MtxProtocolDecoder.java and also tried to decode in nodejs. Looks difficult but maybe there is some trick that i did not get on java code. Should you share some advice or like a name of this kind of buffer encode?
Thank you very much.

@claytonmarinho The packet starts with 0x01 and ends with 0x04, so any occurrence of 0x01, 0x04, 0x10 hex in the body of the msg will be preceded by 0x10 and incremented by 32 ( decimal ). The values always have the same size, but they are not always present. There is a bitmap on the header that determine which data are in the packet.
Regards.

@drecchia I believe Traccar has only partially implemented MXT protocol. I have an MXT-140 pointing to a Traccar server, configured to report every minute, but Traccar only receives messages every 7 minutes, also, every message is doubled.
I believe the ACK response to the tracker is yet to be implemented.
Regarding the "disclosure" of the protocol, the most important part -- the decoding -- is already disclosed and open source. Would it be real trouble to disclose the rest?

Yes, probably there is something wrong with server ack. Wasnt me who implemented this protocol in traccar, If you have the docs, please send to tananav so it can be fixed.


improve support load data with udf functions

What problem does this PR solve?

Issue Number: close #xxx

support load data with udf functions, eg stream load or routine load use function convert input data
Check List (For Committer)

Test

[x] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No colde files have been changed.
[ ] Other reason

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[x] No.
[ ] Yes.

Release note

None

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall

run buildall

run buildall

run buildall


Overwatch Lighting going crazy (G910)

Expected Behaviour
The color of my keyboard lighting should change based on the selected hero and actions done in the game
Actual Behaviour
The whole keyboard is just flickering like crazy as shown here:

Reproduction steps
The problem starts as soon as I get to the hero selection and continues while controling a hero.
Frequency
So far it happened every time.
Aurora Version:
v0.7.2
Previously an Issue?
No

Duplicate of #1960


Can you lint to ensure Java package name to be "com.google" for new Google services?

Can you lint to ensure java package name to be "com.google" for new Google services?
Without java_package, there's a risk that the proto writer creates a service that translates to "google." package rather than the appropriate "com.google". It happened in b/270579866. Can you detect such case?
Reference: http://linter.aip.dev/191

The immediate need is implemented in google-cloud-java https://github.com/googleapis/google-cloud-java/pull/9172. It would be nice to catch the mistake at api-linter.


Fix IPv6 shortening

A simple fix that solves the IPv6 shortening issue.
Fixing the toString method is useful when printing CIDR addresses.

Before fix :

console.log(IPv6.parseCIDR('0:0:0:ff:ff:0:0:0/64').toString()); // prints ::ff:ff:0:0:0

const ipv6: [IPv6, number] = IPv6.parseCIDR(ip);
console.log(`${ipv6[0].toRFC5952String()}/${ipv6[1]}`); // prints ::ff:ff:0:0:0/64

After fix :

console.log(IPv6.parseCIDR('0:0:0:ff:ff:0:0:0/64').toString()); // prints ::ff:ff:0:0:0/64

fixes #155

Thanks!


Need help

Hello Bro I need some help,
Can you please help?

Hey, we can try to help! Can you elaborate what are you struggling with?

Can you please provide me with your email address so I can message you?
Thanks very much indeed.

I'm sorry, I'd prefer to talk on the issue tracker. Can you please describe your issue?

Oh okay sorry I had already sent you an email. But I needed to complete a task on deploying wordpress on on aws and was wonderiing if you could help

Sorry mate, I can't help you out. Also, this isn't the best place for such a conversation, this issue tracker is meant solely for issues related to the markdown-editor project.
I'll be closing this issue now. Hope you get the job you're applying for with your own efforts. Best of luck!


Random questions regarding splitting mgfs, specifying charge states, multiple possible precursors....

I've been playing with Sage recently, and love it! A few random questions all over the board:

If I wanted to split my giant mgf file into lots of little mgf files and have Sage run on each of those little mgf files, should one expect the final results to be the same, since I presume Sage's calculation for any individual spectra result is independent of the results for any other spectra? If not, how does it differ? As well, is the overhead to read/parse the FASTA file significant? (If it's significant, is there maybe a way to preparse the FASTA file so that each Sage process (which may be on different VMs) does not need to re-spend the time processing the FASTA files?)
Is there a way to specify the charges that should be considered, e.g., 1 through 5 inclusive, for all the spectra? (My mgf files are not "real" mgf files -- they're essentially pseudo mgf files similar to how DIA-Umpire works, so I don't know the charge state of any spectra.)
(Simple?) feature request: If question 2 is possible, could the precursor tolerance be expressed in Thomson, so that if say the tolerance is 5Th (for essentially a 10Th wide DIA windows), the Sage software would be smart enough to know that the final resulting tolerance is +- 5 Da for charge state 1, but +- 10Da for charge state 2 and so on... (i.e,. for charge state "z", the tolerance in Da is TOLERANCE(IN Th) * z)
Conversely, is it possible that instead of having a single precursor associated with a spectra (in say a MGF or mzML file), we could associate multiple precursors to a spectra? (Again, these are pseudo mgf files, so I may have a list of possible MS1 precursors, but I don't know precisely which one is the correct precursor, nor do I know the charge, but the tolerance, if expressed in PPM, is known.) (I could "fake" this by creating multiple spectra in a mgf file, each with a different precursor value, but then my fear is that since Sage does not know that it's really a single spectra with different possible precursor values that it won't know to make the results "compete" with each other when determining a) ranking and b) other stats possibly, such as q value and p values etc. (I can elaborate more if this last point was not super clear etc.)

Thanks in advance!

The assignment of peptides -> spectra should be identical, since that's an independent process. Actual scores of those PSMs will vary slightly, since the aligned_rt value will be different (since aligned RT = actual RT in the case of 1 file, and aligned RT ~ mean RT for that peptide across files in the case of > 1 file), and that will impact some of the features that feed into LDA. Reading a FASTA file should be nearly instant, but generation of modified peptides & the fragment index will be a bottleneck for large search spaces (lots of peptides, lots of variable mods, etc). There isn't really a huge benefit to splitting the MGF, except that each MGF file will be parsed in parallel. Spectra are always searched in parallel, regardless of how many files they were parsed from.
Will add support for this, see related: https://github.com/lazear/sage/issues/137 - but for now, if you simply remove the annotated charge states (since it seems like you are comfortable modifying your MGF files), Sage will consider all of the charge states you specify in the config file.
This is actually how the current DIA search mode (wide_window = True) mode works in Sage. The isolation window is multiplied by the charge states specified (by default, 2, 3, 4) and the spectrum is searched multiple times with different tolerances
You can kind of approximate this now (report_psms = 5) with an open search. There is also a PR you could test out: https://github.com/lazear/sage/pull/120


[BUG]: RANK ERROR with os.system

🐛 Describe the bug
Without using the command line, when I start the command in the python file through os.system, it will report that the RANK environment variable cannot be found. Can I start it in a similar way as spawn?
(This issue is collected from user feedback)
Environment
No response

You can try setting the environment variable with os.environ['RANK']=value and fill in the actual rank value directly, depending on where to start the script.


Noun.conjugate() error with the example from the API documentation

From the API documentation:
nlp.noun('mayors of toronto').conjugate()
//{ plural: 'mayors of toronto', singular: 'mayor of toronto' }

My results:
// NodeJS v5.7.1 REPL
// Babel v6.5.2 w/presets: "es2015", "stage-0"
// nlp_compromise v4.10.5

const nlp = require('nlp_compromise');
nlp.noun('mayors of toronto').conjugate();

TypeError: nlp.noun(...).conjugate is not a function

Conjugation is a term applicable exclusively to verbs. From Wikipedia:
In linguistics, conjugation is the creation of derived forms of a verb from its principal parts by inflection (alteration of form according to rules of grammar). Conjugation may be affected by person, number, gender, tense, aspect, mood, voice, or other grammatical categories.
...
The term conjugation is applied only to the inflection of verbs, and not of other parts of speech (inflection of nouns and adjectives is known as declension).
We should add declension() to Nouns doing the same thing as conjugate() in the API documentation.

hey thanks Shawn, yeah just some old documentation.
that was an attempt to wrap noun.singularize() and noun.pluralize() into one method, but I agree it's not the right label for it. Right now you can just call each one individually.
@ilyankou how would you feel about a more generic term.forms() method? (or something similar)
That way, no matter what the class, you could blast-out all the different transformations we can think of.

Remove noun.conjugate from typings?


cannot convert from 'CoreVideo.CVPixelBufferLock' to 'CoreVideo.CVOptionFlags'

I downloaded the latest version and attempted to build in Visual Studio and it's giving me the following error:
Argument 1: cannot convert from 'CoreVideo.CVPixelBufferLock' to 'CoreVideo.CVOptionFlags'
At file:  C:\ZXing.Net.Mobile-master\Source\ZXing.Net.Mobile.iOS\ZXingScannerView.cs
Line numbers: 555 and 568
Can someone tell me how to resolve this?
Thanks,
Sean

Make sure you have the latest version of Xamarin installed.

That was the issue, thanks Redth.


Measurements that disappear when the joulescope is disconnected

Joulescope model
No response
UI version
1.0.31
Your idea
Hi Matt,
This has been written by my coworker. We absolutely did not discuss together about this before but it bothered me exactly the same. Just not enough to open an issue on my side.
https://forum.joulescope.com/t/measurements-that-disappear-when-the-joulescope-is-disconnected/659

How often does this behavior occur that you accidentally unplug your Joulescope?
 If so, can you provide more detail about your USB topology including the use of hubs, docks, & adapters?
What type of environment are you working in where this seems to occur: your desk, while traveling, in a lab?
Are you frequently unplugging other devices (like your device under test, debug adapters, etc)? Simply labeling the Joulescope USB connector may significantly help in this case.

For me about 1 to 5 times a day. It's not about unplugging the Joulescope but rather touching the USB  with my mouse that disconnects the Joulescope for some milliseconds.
No related to other devices
Not happening on desk where we have space, second screen and additional mouse/keyboard. It happens on smaller desk when we need to be near an oven or other specific instrument on a smaller desk.
Unrelated

A popup "connection lost" would be annoying but could be a solution. Then either save data or drop them as you already do. Reconnection could happen only after user made his choice.
Does your idea concern a specific OS?
No response

For me it was just bumping on the USB cable (on computer side of JS110) for him it was bumping on JS220 USB-C side.
We just did some additional tests by playing with USB cables on both sides of both JS110 and JS220 and got no disconnection. Very strange.
Let's put this into standby for now. We will try to reproduce and add information if it happens again. If you don't hear from us within 1 month, consider closing the issue.

Hi @atsju - Is this still a problem that we should address?


[Bug] @reach/router's location state isn't passed to new route

Hey !
Bug
First I've got this navigation function :
import { navigate } from '@reach/router'
// ............
export const toServices = state => {
    navigate('/services', { state: { state }})
}

Then I use it from my home page, and land on the services page with the following relevant parts :
import { Location, globalHistory } from '@reach/router'

const Services = props => (
   console.log(props.location.state)         // not ok
   console.log(globalHistory.location.state) // ok
   return (
      // whatever...
   )
)

export default props => (
  <Location>
    {({ location }) => (
      <Services location={location} {...props}/>
    )}
  </Location>
)

Whatever I pass as state to the navigate function, it's nowhere to be found in props.location.state.
However it's always in globalHistory.location.state.
I don't know if that's a bug from @reach/router, I hope not (because they don't seem that active on the project). Has anyone using react-static had the same issue ?
Expected Behavior
The state being passed even to props.location.state.
Thank you.

Can you provide a more complete example of where and how you are using it? Maybe a demo repository? I tried to reproduce it from what you show here and props.location.state always contains the data passed from navigate as expected, so I'm not seeing the problem you describe.

I completely switched back to 5.9.12 because of another issue : https://github.com/nozzle/react-static/issues/1022
I don't have that code anymore.
I'll try and update again as soon as I get help for that other issue, and if I still have a location state problem, I'll post a more complete example here.
Thank you for your answer.

Yeah, we'll need a way to reproduce this. In my initial experiments, all is well.


Add skel parser helper functions

Workaround until https://github.com/personalrobotics/chimera/issues/168 is resolved.
TODO:

[x] Revert chimera.yml updates because it causes build failure.

Close in favor of #64


TTS.google_say wont play on SONOS (SSL)

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version): 0.35.0
Python release (python3 --version): Python 3.5.2+
Component/platform: tts.google_say
Description of problem:
I'm using Let's Encrypt for my SSL. When I try to play TTS on a sonos speaker I get an error in the sonos app saying the Connection was lost. In the HASS logs everything appears OK and no error is thrown. I can manually browse to the generated URL (obtained from the logs) and the TTS file plays without issue in my browser.
When I reproduce the play media call i get the same behaviour. However when I replace the local IP with my external host name (which the SSL cert is set up as) it works perfect!
Expected:
TTS should play audio on SONOS

Will fix in 0.35.1 today


Database request for testing

Good evening, can you share the database to test the system?

zakatwps.zip


[FEAT] Insert element

Ability for a user to insert a div or a text box onto the page.
Requirements

[ ] The user should be able to draw the rough size of the element on the canvas using their cursor
[ ] The width and height of the element should match the size that the user manually draws.
[ ] The user should be able to apply styles to their drawn element
[ ] The element should be writeable to the codebase with
[ ] The element should not conflict with inline elements as it is drawn onto the page and/or written to code

Reopening for 1 more edge case detailed in https://github.com/onlook-dev/onlook/pull/168


Create a docker image using alpine linux with git/java

The docker image should be able to receive commits.
Should be able to deploy on git hook using launcher.json configuration.
Management image should contain elasticsearch and kibana.
Support for start and stop using empty commits with commit messages "start" and "stop".

The deploytool should generate launcher config and secrets  for each host and then push to configured hosts. The images should be based on alpine linux from iron.io for minimal sizes.
Example use case: Deploy containers preloaded with java/git in the cloud. Create deploy.json configuration to specify containers and run. The deploytool generates configs for each host specified in launcher.json, each set of configs are then pushed to the servers which deploys them.
Hot reloading is not a part of this activity and may be introduced later using write through. Note that containers should not be preloaded with configurations as they are unique.

https://jpetazzo.github.io/2014/06/23/docker-ssh-considered-evil/
http://container-solutions.com/understanding-volumes-docker/

super low priority right now - reopen later when the need arises.


Crash on data upload

Hi! I am trying to upload vectors as fast as possible into fresh weaviate instance.
 However, the second one does, so I assume both are the same:
2022/07/31 03:20:39 http: panic serving <IP_ADDRESS>:38286: write tcp <IP_ADDRESS>:8090-><IP_ADDRESS>:38286: write: broken pipe

The broken pipe indicates that the client has already closed the connection (most likely due to a client-side timeout), and Weaviate tries to write the response for the batch creation onto the closed (or reset) connection. The default behavior of the Go HTTP server is to catch these TCP-level panics, and then print them to stdout with the stack trace attached. Admittedly, this is super confusing, which is why we have addressed this in this PR which will be part of the next release.
Without knowing too much about your setup, I would guess that sending parallel batches of 10,000 occasionally leads to individual batches taking longer than the client-side configured timeout.
Potential Remedies
Smaller Batch Size
The main motivation of a large batch size is to make sure that Weaviate can parallelize the contents of the batch and that individual threads don't run out of work. Assuming you're not running with 1000s of CPU cores, that should also be achievable with a smaller batch size, e.g. 1000. The more parallel feeders you have the more parallelization happens anyway, so the benefit of a large batch becomes less and less. E.g. 10 feeders with batch size 500 will probably be faster than 1 feeder with batch size 5000. But the shorter batches lead to shorter-running requests which generally make life easier.
Larger Timeouts
Client-side
You can of course also address this from the other side, you can increase the timeouts. The python client defaults to 20s, which can be adjusted like so (e.g. setting it to 60s):
client = Client(
    url = 'http://localhost:8080',
    timeout_config = (60)
)

Server-Side
Note that there is also a default server-side timeout of 60s, which can be adjusted using command line arguments. For example, assuming a docker-compose config, like so:
services:
  weaviate:
    command:
    - --host
    - <IP_ADDRESS>
    - --port
    - '8080'
    - --scheme
    - http
    - --read-timeout
    - 10s
    - --write-timeout
    - 120s

Hope that helps address those panics and their stacktraces. As mentioned above, the next release will have considerably more helpful error messages for this case.

Hm, I am already using quite large value for the timeout. Will try smaller batches then, thanks


Add a position animation.

We had animations for rotation and scale, but not position.  This
eliminates that oversight.  I'll check-in an example when I do my LOD
check-in later in the week.
GearVRf-DCO-1.0-Signed-off-by: Tom Flynn
<EMAIL_ADDRESS>

Code looks fine, will test later.

codes look good to me too


Error on the comparison table

I found some statement on the table https://docs.gitea.io/en-us/comparison/ for
BitBucket which must be corrected I think.

Only the cloud version has in integrated wiki,
Repository tokens with write rights are available. Also tokens with admin rights, for example for using with the api
Reject unsigned commits are possible
The Issue tracker are only working in the cloud version or with an extra jira set up

Would you be open to creating a PR to update this page?

Yes of course, exits an repo for the site?

Yes, here it is: https://github.com/go-gitea/gitea/blob/master/docs/content/doc/features/comparison.en-us.md