error when build dlib on windows

I cloned the newest dlib from github and use CMake3.5.0 to biuld it on windows7 64bit.
And i want to use dlib in a Qt project.
And What i need is the face landmark detection function in Dlib.
Here is My local environment:
PS D:\dlib-master\dlib_build> gcc -v
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.9.3/lto-wrapper.exe
Target: mingw32
Configured with: ../src/gcc-4.9.3/configure --build=x86_64-pc-linux-gnu --host=mingw32
--prefix=/mingw --disable-win32-registry --target=mingw32 --with-arch=i586
--enable-languages=c,c++,objc,obj-c++,fortran,ada --enable-static --enable-shared
--enable-threads --with-dwarf2 --disable-sjlj-exceptions --enable-version-specific-runtime-libs
--enable-libstdcxx-d
And Then i use CMake-GUI to configure and generate the Makefile;
In CMake GUI, the generater is set to MinGW Makefiles, and use default native compilers.
The configure and generate step goes well EXCEPT not found CUDA.
Configure log info:
The C compiler identification is GNU 4.9.3
The CXX compiler identification is GNU 4.9.3
Check for working C compiler: C:/MinGW/bin/gcc.exe
Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detecting C compile features
Detecting C compile features - done
Check for working CXX compiler: C:/MinGW/bin/g++.exe
Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
C++11 activated.
CUDA_TOOLKIT_ROOT_DIR not found or specified
Could NOT find CUDA (missing:  CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "7.5")
*** cuDNN V5.0 OR GREATER NOT FOUND.  DLIB WILL NOT USE CUDA. ***
*** If you have cuDNN then set CMAKE_PREFIX_PATH to include cuDNN's folder.
Configuring done
Generate log info:
C++11 activated.
Configuring done
Generating done
And then in powerShell, i go to my build directory( D:/dlib/dlib_build_git ), and run command mingw32-make
Then i got errors and the build ends.
Here is a part of log:
......
[ 28%] Building CXX object CMakeFiles/dlib.dir/threads/multithreaded_object_extension.cpp.obj
[ 28%] Building CXX object CMakeFiles/dlib.dir/threads/threaded_object_extension.cpp.obj
[ 29%] Building CXX object CMakeFiles/dlib.dir/threads/threads_kernel_1.cpp.obj
[ 30%] Building CXX object CMakeFiles/dlib.dir/threads/threads_kernel_2.cpp.obj
[ 31%] Building CXX object CMakeFiles/dlib.dir/threads/threads_kernel_shared.cpp.obj
[ 32%] Building CXX object CMakeFiles/dlib.dir/threads/thread_pool_extension.cpp.obj
[ 33%] Building CXX object CMakeFiles/dlib.dir/threads/async.cpp.obj
D:\dlib-master\dlib\threads\async.cpp: In function 'long unsigned int dlib::impl::default_num_threads()':
D:\dlib-master\dlib\threads\async.cpp:28:25: error: 'std::thread' has not been declared
return std::thread::hardware_concurrency();
^
CMakeFiles\dlib.dir\build.make:1037: recipe for target 'CMakeFiles/dlib.dir/threads/async.cpp.obj' failed
mingw32-make[2]: *** [CMakeFiles/dlib.dir/threads/async.cpp.obj] Error 1
CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/dlib.dir/all' failed
mingw32-make[1]: *** [CMakeFiles/dlib.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
mingw32-make: *** [all] Error
I am new to CMake and i totally  have no idea how to solve this problem, i need someone to help me out, Thank you!

Just tested on latest dlib with MinGW6.2 - all fine.
But as I see in your logs - there is usage of std::thread in async.cpp. And there is no #include <thread> inside it. I think - this should be changed
As a quick solution - you can try adding this
#include <thread>

into D:\dlib-master\dlib\threads\async.cpp at line 12

I just tried to compile dlib with mingw and got the same error, even after adding #include <thread>.  It seems like the default mingw install is missing things from the standard library.  There is a lot of stuff about this issue on google, e.g. http://stackoverflow.com/questions/21211980/mingw-error-thread-is-not-a-member-of-std.

Yes, there are several MinGW distributions. To make it work on x86 - i am using posix/sjlj installation options for MinGW i686. Default is posix/dwarf

Yeah, I found that after googling.  Not sure there is much we can do here.


Error during installation

Getting following error
Could not find a version that satisfies the requirement decord>=0.6.0 (from lavis) (from versions: none)
Can you help please

This is due to decord library does not seem to support python>3.8 for its latest version.
Can you try either (i) downgrade python <=3.8; (ii) remove version specs of decord from the requirements?

Thanks. It worked after removing decord>=0.6.0 from requirements

Looks like it does not work even if I downgrade to 3.8.  Anyway I will wait till someone else confirms. Is there a way I can run this on google colab instead of local

@VishwasK I just tried on colab and it works normal

@minhrongcon2000 Thanks. I tried on Colab and it works fine.


Add support for iOS 10 HTTP/2 apns-collapse-id header

APNS now provides a new header apns-collapse-id to support notifications collapsing on iOS 10. Could you support this feature?

Hi, there will probably not be any support for this in the near future. The apns-collapse-id header is part of the newer HTTP/2.0 Provider API. This API is not available in Pusher, which uses the Binary Provider API. There are currently no plans to switch to HTTP/2.0.

That's a real bummer. The HTTP/2 API offers a ton of technical enhancements that improve reliability in high-volume situations, as well as the new Auth Key mechanism (which obviates the need for certificates!). I've removed NWPusher from my product because of this decision.

Is there any open source tools support HTTP/2 API ? @apelican

Sorry for the delay here -- yes, I found an MIT project that I was able to utilize HTTP/2 and JWT with:
https://github.com/matthijs2704/vapor-apns
This won't be a great solution for everyone, but for my requirements, this passed the test. No longer have to shake arrays of failed hardware :)

In case anyone needs it, here's a CURL script to send HTTP/2 pushes
https://gist.github.com/xuwei-k/2b0001964555bedf562e03b083b0e936
You will need your push cert+key in a PEM file, as well as a token and the bundle ID.


Fix typo in example README

The command as-given do not work

You're welcome! Is there anything more to do to get this PR merged?

Ah no sorry I just forgot to check the CI passed 😅


Unable to start standalone UI server at version 1.0.0-beta7

Issue Description
After upgrading the deeplearning library, I can't start the UI server.
Server is in the separated Spring Boot module configured as:
UIServer.getInstance().enableRemoteListener();
Project is using Spring Cloud.
Both Spring Boot initializations are identical except after Started Application the UI server is stopped.
1.0.0-beta6
build.gradle.kts
dependencies {
    implementation("org.deeplearning4j:deeplearning4j-ui:1.0.0-beta6")
}

Output
[ntloop-thread-0] org.deeplearning4j.ui.VertxUIServer      : Deeplearning4j UI server started at: http://localhost:9000
[  restartedMain] org.deeplearning4j.ui.VertxUIServer      : StatsStorage instance attached to UI: InMemoryStatsStorage(uid=f26e0290)
.
.
.
... : Started Application in ...

1.0.0-beta7
build.gradle.kts
dependencies {
    implementation("org.deeplearning4j:deeplearning4j-ui:1.0.0-beta7")
}

Output
[ntloop-thread-0] org.deeplearning4j.ui.VertxUIServer      : Deeplearning4j UI server started at: http://localhost:9000
[  restartedMain] org.deeplearning4j.ui.VertxUIServer      : StatsStorage instance attached to UI: InMemoryStatsStorage(uid=1dae6192)
.
.
.
... : Started Application in ...
[      Thread-11] org.deeplearning4j.ui.VertxUIServer      : Deeplearning4j UI server is auto-stopping after thread (name: restartedMain) died.
[ntloop-thread-0] org.deeplearning4j.ui.VertxUIServer      : Deeplearning4j UI server stopped.

In beta7 the UI server is automatically stopped when its starting thread is stopped, in order to not keep an application running when it is actually finished.
I guess the remote option hasn't been considered in this case.
@printomi you've implemented that feature, any ideas?

@printomi if you want to handle some operations at the shutdown point, please use a shutdown hook instead of a dirty thread joining.
Runtime.getRuntime().addShutdownHook(new Thread(() -> System.out.println("Termination.")));

@aeiplatform thank you for pointing out that using a shutdown hook would be better than a dirty Thread.join(). Please, check out my PR with this implementation: https://github.com/eclipse/deeplearning4j/pull/9005


User should not be able to enter a custom url if it's already in use by another account

I was working with someone today who had forgotten their account info and so they created a 2nd account. However, when editing her profile she put a profile url that happened to be used by her old account. When clicking on the Edit Profile link the site would take her to the opt in page. She would opt-in and then click to the Edit Profile button again, which would take her again to the opt-in page. This happened because her old account was never opted-in and due to them sharing the same profile url when she would try to edit her profile the opt-in code would kick in and redirect her.
We should look into validating the profile url when the account is saved and make sure that it's not already in use by someone else. If it is then we should display an error message to the user informing them it's already in use.

As part of our roadmap we are working on a new .NET and React site to replace the existing Ruby and Pakyow site. As part of this transition, this bug has been removed from our roadmap.


CivTrade Submission

App Logo (Required)

App Details (Required)
Type: Dapp
Name: CivTrade
Description: Limit Trades for the Ethereum Mainnet
Homepage Url: https://civfund.org
Chains supported: id = 1 (Mainnet)
Versions supported: 1
App Url (Required - at least one)
Browser Url: https://app.civfund.org
iOS Url:
Android Url:
Mac Url:
Windows Url:
Linux Url:
Mobile Linking (Optional)
Deep Link:
Universal Link:
Desktop Linking (Optional)
Deep Link:
Universal Link:
Metadata (Optional)
Short Name:
Primary Color:
Secondary Color:

Added to the cloud registry


karl sync

karl

everyone should have their cart sync to other peers, horror monster should also be synced


EBI submission is not working

This is the error that we receive:
Traceback (most recent call last):
  File "/home/qiita/qiita_main/scripts/qiita", line 431, in <module>
    qiita()
  File "/home/qiita/.virtualenvs/qiita/lib/python2.7/site-packages/click/core.py", line 664, in __call__
    return self.main(*args, **kwargs)
  File "/home/qiita/.virtualenvs/qiita/lib/python2.7/site-packages/click/core.py", line 644, in main
    rv = self.invoke(ctx)
  File "/home/qiita/.virtualenvs/qiita/lib/python2.7/site-packages/click/core.py", line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/qiita/.virtualenvs/qiita/lib/python2.7/site-packages/click/core.py", line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/qiita/.virtualenvs/qiita/lib/python2.7/site-packages/click/core.py", line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/qiita/.virtualenvs/qiita/lib/python2.7/site-packages/click/core.py", line 837, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/qiita/.virtualenvs/qiita/lib/python2.7/site-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/home/qiita/qiita_main/scripts/qiita", line 305, in submit
    _submit_EBI(preprocessed_data_id, action, send)
  File "/home/qiita/qiita_main/qiita_ware/commands.py", line 135, in submit_EBI
    ebi_submission.preprocessed_data.ebi_run_accessions = run_acc
AttributeError: 'EBISubmission' object has no attribute 'preprocessed_data'

@antgonza do you have a chance to take a look? I may be able to take a look tomorrow.

I have a fix ready, it's simple but I wanted to put together the full testing framework. How urgent is this? If not that urgent I can potentially have the new testing ready by Monday evening.


2.6 UX: Create getting started document

Should also use same approach for release notes.
Need these to be localisable.

On 2.6-head commit id: b43e4d9

Getting Started Document looks good


create-lit failing

I'm trying to install using pnpx create-lit lit-web-component and it fails with the following error:
<EMAIL_ADDRESS>Running postinstall script, done in 452ms
<EMAIL_ADDRESS>Running postinstall script, done in 509ms
<EMAIL_ADDRESS>Running postinstall script...
 ELIFECYCLE  Command failed.
Install for [ 'create-lit@latest' ] failed with code 1

Note I also tried npx create-lit lit-web-component I get a different error:
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package<EMAIL_ADDRESS>npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     npm: '\n\n🛑🛑 Debes de usar `pnpm` 🛑🛑\n\n',
npm WARN EBADENGINE     yarn: '\n\n🛑🛑 Debes de usar `pnpm` 🛑🛑\n\n',
npm WARN EBADENGINE     node: '>=16.4.0',
npm WARN EBADENGINE     pnpm: '>=6.19.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v16.14.2', npm: '8.5.0' }
npm WARN EBADENGINE }
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.

And if I try pnpm init lit or npm init lit I get the following error which mentions husky so maybe it's a husky thing?
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package<EMAIL_ADDRESS>npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     npm: '\n\n🛑🛑 Debes de usar `pnpm` 🛑🛑\n\n',
npm WARN EBADENGINE     yarn: '\n\n🛑🛑 Debes de usar `pnpm` 🛑🛑\n\n',
npm WARN EBADENGINE     node: '>=16.4.0',
npm WARN EBADENGINE     pnpm: '>=6.19.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v16.14.2', npm: '8.5.0' }
npm WARN EBADENGINE }
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code 127
npm ERR! path /Users/[username-redacted]/.npm/_npx/13a41d424a4a3e80/node_modules/create-lit
npm ERR! command failed
npm ERR! command sh -c husky install
npm ERR! sh: husky: command not found

npm ERR!      /Users/[username-redacted]/.npm/_logs/2022-04-01T21_51_12_395Z-debug-0.log

NOTE: my pnpm is version 6.32.3

Thank you! I'm going to work on this over the weekend ✅

Fixed in latest version ✅ https://github.com/litelement-dev/create-lit/tree/v1.4.0

Fast work! Thanks!!


[Feature Request] More intel Mapping options

Hi, I posted this on the exodus 4D board but had not realized he had abandoned it.
We want to use Pathfinder for small gang fleet intel. Here are some features that would help us.

Custom right click connections, Currently there is is only 'bubbled' as an option, would be nice to be able add more options with custom colours (i.e, gate camp)
Draggable fleet icons - being able to drag an item on the map, like an icon with a custom title (e.g to track an enemy fleet), this could snap to a system, maybe it code change colour as time passes (hot to cold intel)
Faction warfare information, being able to toggle information like FW control and militia advantages
Set custom tags on a system ( Home system, trade hub, enemy activity, focus efforts here)
Channel intel, SMT has a feature to import intel from a in game chat channel, is that possible here?

Cheers, I'm not a coder so I'm not sure how possible any of this is.
FluK

Custom right click connections, Currently there is is only 'bubbled' as an option, would be nice to be able add more options with custom colours (i.e, gate camp)

This might be a feature we could implement somewhat easily.

Draggable fleet icons - being able to drag an item on the map, like an icon with a custom title (e.g to track an enemy fleet), this could snap to a system, maybe it code change colour as time passes (hot to cold intel)

There is the "Rally" and "Set Status" functions, which does something similar to this. Both which changes the colors of said system. Setting status to "Hostile" could be a good way to do it as well.

Faction warfare information, being able to toggle information like FW control and militia advantages

Not sure if this information is available through ESI (yet?). But some form of information related to Faction Warfare would be cool. The majority user base of Pathfinder doesn't use k-space maps though (apart from exit holes).

Set custom tags on a system ( Home system, trade hub, enemy activity, focus efforts here)

This is kind of already implemented by setting a custom name by double-clicking it, in addition to the "Set Status" options (unknown, friendly, occupied, hostile, empty, unscanned) and is color-coded.

Channel intel, SMT has a feature to import intel from a in game chat channel, is that possible here?

Everything is technically possible, but that would require a client program on a computer running EVE that communicates with an API to "feed intel", by parsing the logs.
Pathfinder and SMT has widely different goals though and I can't really see this being added unless someone codes and delivers it on a silver platter.

Cheers, I'm not a coder so I'm not sure how possible any of this is.

Never to late to start... :)


New version: GXBeam v0.2.0

Registering package: GXBeam
Repository: https://github.com/byuflowlab/GXBeam.jl
Created by: @taylormcd
Version: v0.2.0
Commit: 39256d1e5e7c550f08e9109af3779e990ff41385
Reviewed by: @taylormcd
Reference: https://github.com/byuflowlab/GXBeam.jl/commit/39256d1e5e7c550f08e9109af3779e990ff41385#commitcomment-42420249
Release notes:

Switch from Arpack for eigenvalue computations to ArnoldiMethod

can be closed


any alert on PrismaCloud should have flows to SNOW regardless integration time

Problem
Do not when the design was changed.  As per current design , Prisma Cloud will send notifications to SNOW only when an alert status changes or a new alert is generated after turning on the integration.
Previously, we can enable the alerts in Prisma to flows to SNOW at anytime regardless status and integration time.
but now, any OPEN alert need to flow to SNOW after the integration time, will require status change else will not flow in SNOW.
example, integration with SNOW happened in Dec, 2019. on June, 2022, i wanted to have specify policy flows to SNOW and those alert status is OPEN. it will not flows to SNOW and those alert had pass integration time in Dec 2019.
this doesn't make sense as:

integration only happened once
we can choose with alerts/policy need to flow to SNOW time by time
If I have 12k alerts need to send to SNOW now, do you expect me to change the their status from OPEN to something else 12k times?

Suggested solution
We shld able to send any alerts to SNOW at anytime we want without changing the alert status.
Alternatives
No alternative
Additional context

Closing this issue, as it's not associated with this repository and organization.


Title bar on Linux does not use a system font

This can be fixed by using font: caption as per https://css-tricks.com/font-caption/ over current
https://github.com/jupyterlab/jupyterlab-desktop/blob/86119463346d155414ed37ec552286918b31f664/src/main/titlebarview/titlebar.html#L19C23-L21
which appears to attempt to normalise to system font but is missing system-ui which causes problems on some systems as per https://github.com/necolas/normalize.css/issues/665.
Let's try to use font: caption instead.

The font size bit is tricky but even more important accessibility-wise. There is an unasnwered question on SO: https://stackoverflow.com/q/65216210


[Serialization] Collapse indirection in DeclContextID

...by making it a tagged union of either a DeclID or a LocalDeclContextID. This should lead to smaller module files and be slightly more efficient to deserialize, and also means that every AST entity kind is serialized in exactly one way, which allows factoring out a common loop in writing AST block entities.
I suggest reviewing each commit separately. I'm not entirely convinced the second one is worth it.

@swift-ci Please test

@swift-ci Please test source compatibility

For code size
@swift-ci Please smoke benchmark

…oh wait, that is code size rather than swiftmodule size. Oh well.

Shaves 0.6% off of the stdlib compiled module for macOS, and 1% off the one for Foundation.

Performance: -O
Code size: -O
Performance: -Osize
Code size: -Osize
Performance: -Onone
Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 12-Core Intel Xeon E5
  Processor Speed: 2.7 GHz
  Number of Processors: 1
  Total Number of Cores: 12
  L2 Cache (per Core): 256 KB
  L3 Cache: 30 MB
  Memory: 64 GB

What's the downside? That it replaces proven code with new code?

Mainly that there's not a good common name for the un-templated function. writeDecl is obvious; writeASTBlockEntity looks funny to me.


[CSL-218] Decide where to put aeson instances and put them there

@gromak

@gromak
I suppose they should be in Pos.Aeson. Just like Pos.Binary.

@gromak

I didn't move JsonLog instances to Pos.Aeson . I don't thing they should be moved to Pos.Aeson , because they are utility. To move them I would have to break JsonLog into two modules so that I can avoid cyclic imports so in this spirit I don't think its worth it.
I agree.
should I close this issue?
@akegalj can you also move ToJSON instances from Pos.Crypto to Pos.Aeson? After that this issue can be closed.

@akegalj
This is partly solved. I didn't move JsonLog instances to Pos.Aeson. I don't thing they should be moved to Pos.Aeson, because they are utility. To move them I would have to break JsonLog into two modules so that I can avoid cyclic imports so in this spirit I don't think its worth it.
@grgromak should I close this issue?

@akegalj
On it. Will export Hash from Hasning. I guess that's not a problem.

@gromak
I suppose it should be Pos.Aeson.Crypto.

@gromak
Hash is already exported.

@gromak
https://github.com/input-output-hk/pos-haskell-prototype/blob/master/src/Pos/Crypto/Hashing.hs#L27

@akegalj
Missed it.


Do not git track the db and log files

Warning when you will pull this change, it will delete these files locally


static arrays (db, has_one, has_many, etc...) should be protected not private

I think static arrays such as $db, $has_one, $has_many, etc... should be protected not private, since inheritance is supposed to work this way.

@tony13tv thanks for the feedback.
The private statics have a special purpose in SilverStripe and so their visibility is really not subject of a conventional argument about inheritance. They are practically reserved for use of the Config system to parse out because you're right that typically statics shouldn't be private in this way.
By choosing private static we are allowing people to define protected statics without polluting the Config system.
In all honesty, you should be using YAML to define these vars if you want to be purist about it.
In summary, there's basically no way I can see the Config statics being made anything other than private - it's more likely they'll just be removed and defined in YAML instead


Menu Not Showing

Menu Not Showing ingame

Hi,
This isn't meant to have a menu. I could add some sort of graphics library to it later though, so it can support having a "menu".

Oahh okay 👍


[WIP] ruby: update 2.3 series to 2.3.1

Did some preliminary local testing with 2.3.1, and I'm currently going through the enormous nox-review build to try to identify any newly broken revdeps.
Pinging @zimbatm and @cstrahan in case you are interested.
Things done

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

[x] NixOS
[ ] OS X
[ ] Linux

[x] 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/)
[x] Fits CONTRIBUTING.md.

Nicely done. Let us know when your nox-review has finished.

@zimbatm, I have completed my nox-review. The good news is I didn't find any obvious Ruby-related breakage. The bad news is I don't know the Nixpkgs infrastructure as well as I need to.
The following failures I had locally were also failing at Hydra as of my base 014d853f8cfe34a51ec5641691fcb97bf7c6d9a9 (eval 1265798), so I'm ignoring them:

antimony
firestr
io
musescore
qgroundcontrol
qt55.openbr
qtbitcointrader
sonic-visualiser
synfigstudio

And I don't really know my way around Hydra, but I was not able to find any of these packages, which failed locally, in Hydra's nixpkgs/trunk jobset:

cb2bib
eclipses.eclipse-sdk-44
fritzing
sigil
signon
texlive.combined.scheme-full
webkitgtk212x

I couldn't find any obvious reason in Nixpkgs that they would be excluded from the build. Can someone more knowledgeable enlighten me?

And, to be clear, those were my only failures (stuff that was already broken upstream and stuff that I can't even find upstream). Everything else built cleanly.

Thanks for the comprehensive testing !
Some of the stuff is not building on hydra because either no meta.platforms has been set, or it's not targeting linux, or it's marked as broken or it's and unfree package that has restrictions on the download. nox-review unfortunately is not as sophisticated yet and also tries to build them.

@zimbatm Thanks for the clarification! I did check the unfree / broken status but didn't think about the platform issue. That helps me understand better. Much appreciated.


I FIXED THE TESTS AND EVERYTHING SHOULD WORK NOW ONLY TOOK ME 2 MONTHS BUT I DID IT ASFP[ASFOPJASFOPOPAFSOPASFPO

Few points before I will review it:

Please solve the spacing issues
Please state what actually fixed in the PR title.

unless you're mentioning a different spacing issue, I shiouldve pushed a fix already after  I made this PR
fixed

It's hard for me to see what changed here:

i believe i might have changed the spacing issue, if it still is there, there is nothing I can really do as it's codemaid's fault that the spacing is weird.

Overall, this PR is rather massive for what it does, I would recommend not to mix a full-project reformat with 5 property changes as 90% of the PR review was me looking at code that was the same.


dist file minifier errors in YUI compressor

This seems to stem from an invalid use (according to YUI) of the "id" keyword. I get the below list of errors on the latest dist file. I am not sure if the line numbers are correct or not.
[ERROR] 301:86:invalid property id
[ERROR] 331:39:missing name after . operator
[ERROR] 332:46:missing name after . operator
[ERROR] 333:45:missing name after . operator
[ERROR] 334:70:missing name after . operator
[ERROR] 345:50:missing name after . operator
[ERROR] 360:29:missing name after . operator
[ERROR] 363:49:missing name after . operator
[ERROR] 374:37:missing name after . operator
[ERROR] 395:48:missing name after . operator
[ERROR] 423:36:missing name after . operator
[ERROR] 425:34:missing name after . operator
[ERROR] 430:34:missing name after . operator
[ERROR] 438:30:missing name after . operator
[ERROR] 446:48:missing name after . operator
[ERROR] 450:38:missing name after . operator
[ERROR] 451:19:syntax error
[ERROR] 452:18:syntax error
[ERROR] 453:18:syntax error
[ERROR] 454:20:syntax error
[ERROR] 455:10:syntax error
[ERROR] 463:30:missing name after . operator
[ERROR] 486:24:missing name after . operator
[ERROR] 487:14:syntax error
[ERROR] 488:18:syntax error
[ERROR] 489:30:missing ; before statement
[ERROR] 491:74:missing ; before statement
[ERROR] 494:19:missing } after property list
[ERROR] 501:24:missing ) in parenthetical
[ERROR] 502:8:syntax error
[ERROR] 503:14:syntax error
[ERROR] 504:18:syntax error
[ERROR] 505:30:missing ; before statement
[ERROR] 506:15:syntax error
[ERROR] 510:9:missing ) after argument list
[ERROR] 511:7:syntax error
[ERROR] 512:14:syntax error
[ERROR] 513:18:syntax error
[ERROR] 514:30:missing ; before statement
[ERROR] 515:15:syntax error
[ERROR] 517:11:syntax error
[ERROR] 519:7:syntax error
[ERROR] 520:14:syntax error
[ERROR] 521:18:syntax error
[ERROR] 522:44:missing ; before statement
[ERROR] 523:20:syntax error
[ERROR] 524:11:syntax error
[ERROR] 526:7:syntax error
[ERROR] 531:24:missing name after . operator
[ERROR] 535:17:invalid return
[ERROR] 551:32:missing name after . operator
[ERROR] 552:7:syntax error
[ERROR] 553:5:syntax error
[ERROR] 554:4:syntax error
[ERROR] 555:9:syntax error
[ERROR] 556:11:syntax error
[ERROR] 557:12:syntax error
[ERROR] 559:7:syntax error
[ERROR] 565:13:invalid return
[ERROR] 566:5:syntax error
[ERROR] 567:4:syntax error
[ERROR] 568:9:syntax error
[ERROR] 569:11:syntax error
[ERROR] 574:125:missing name after . operator
[ERROR] 585:13:invalid return
[ERROR] 586:5:syntax error
[ERROR] 587:4:syntax error
[ERROR] 588:9:syntax error
[ERROR] 589:11:syntax error
[ERROR] 596:13:invalid return
[ERROR] 597:5:syntax error
[ERROR] 598:4:syntax error
[ERROR] 599:9:syntax error
[ERROR] 600:11:syntax error
[ERROR] 609:77:missing name after . operator
[ERROR] 613:13:invalid return
[ERROR] 614:5:syntax error
[ERROR] 615:4:syntax error
[ERROR] 616:9:syntax error
[ERROR] 617:11:syntax error
[ERROR] 618:12:syntax error
[ERROR] 623:7:syntax error
[ERROR] 624:13:invalid return
[ERROR] 625:5:syntax error
[ERROR] 626:4:syntax error
[ERROR] 627:9:syntax error
[ERROR] 628:11:syntax error
[ERROR] 633:15:invalid return
[ERROR] 638:32:missing name after . operator
[ERROR] 681:13:invalid return
[ERROR] 682:5:syntax error
[ERROR] 683:4:syntax error
[ERROR] 684:9:syntax error
[ERROR] 685:11:syntax error
[ERROR] 696:32:missing name after . operator
[ERROR] 697:32:missing name after . operator
[ERROR] 700:13:invalid return
[ERROR] 701:5:syntax error
[ERROR] 702:4:syntax error
[ERROR] 703:9:syntax error
[ERROR] 704:11:syntax error
[ERROR] 710:15:invalid return
[ERROR] 721:15:invalid return
[ERROR] 723:50:missing name after . operator
[ERROR] 734:97:missing name after . operator
[ERROR] 735:40:missing name after . operator
[ERROR] 737:7:missing ) after argument list
[ERROR] 737:8:syntax error
[ERROR] 739:13:invalid return
[ERROR] 740:5:syntax error
[ERROR] 741:4:syntax error
[ERROR] 742:9:syntax error
[ERROR] 743:11:syntax error
[ERROR] 751:32:missing name after . operator
[ERROR] 757:34:missing name after . operator
[ERROR] 761:39:missing name after . operator
[ERROR] 769:13:invalid return
[ERROR] 770:5:syntax error
[ERROR] 771:4:syntax error
[ERROR] 773:9:invalid return
[ERROR] 774:1:syntax error
[ERROR] 785:7:syntax error
[ERROR] 797:8:syntax error
[ERROR] 817:8:syntax error
[ERROR] 986:8:syntax error
[ERROR] 1066:8:syntax error
[ERROR] 1070:552:missing name after . operator
[ERROR] 1070:597:missing : in conditional expression
[ERROR] 1070:760:invalid property id
[ERROR] 1070:843:missing ; before statement
[ERROR] 1070:892:missing ; before statement
[ERROR] 1070:1007:missing name after . operator
[ERROR] 1070:1136:missing name after . operator
[ERROR] 1070:1437:missing name after . operator
[ERROR] 1070:1605:missing name after . operator
[ERROR] 1070:1808:missing name after . operator
[ERROR] 1070:1940:missing name after . operator
[ERROR] 1070:2031:invalid property id
[ERROR] 1070:2058:missing name after . operator
[ERROR] 1070:2922:missing variable name
[ERROR] 1070:3487:missing name after . operator
[ERROR] 1070:7564:missing ; before statement
[ERROR] 1141:86:invalid property id
[ERROR] 1146:33:missing name after . operator
[ERROR] 1151:33:missing name after . operator
[ERROR] 1156:33:missing name after . operator
[ERROR] 1183:86:invalid property id
[ERROR] 1199:35:missing name after . operator
[ERROR] 1288:86:invalid property id
[ERROR] 1293:34:missing name after . operator
[ERROR] 1341:86:invalid property id
[ERROR] 1348:28:missing name after . operator
[ERROR] 1367:86:invalid property id
[ERROR] 1373:43:missing name after . operator
[ERROR] 1383:43:missing name after . operator
[ERROR] 1398:86:invalid property id
[ERROR] 1404:30:missing name after . operator
[ERROR] 1706:34:missing ) after argument list
[ERROR] 1710:34:missing ) after argument list
[ERROR] 3239:30:syntax error
[ERROR] 3241:8:syntax error
[ERROR] 3362:8:syntax error
[ERROR] 3452:8:syntax error
[ERROR] 3463:8:syntax error
[ERROR] 3940:14:missing name after . operator
[ERROR] 3942:2:missing ) in parenthetical
[ERROR] 3959:30:syntax error
[ERROR] 3961:8:syntax error
[ERROR] 4292:64:missing ; before statement
[ERROR] 4292:66:unterminated string literal
[ERROR] 4293:47:syntax error
[ERROR] 4293:65:unterminated string literal
[ERROR] 4294:47:syntax error
[ERROR] 4294:57:illegal character
[ERROR] 4294:69:missing ; before statement
[ERROR] 4396:60:unterminated regular expression literal
[ERROR] 4397:4:syntax error
[ERROR] 4414:9:missing ) after argument list
[ERROR] 4414:22:missing ; before statement
[ERROR] 4554:8:syntax error
[ERROR] 4744:8:syntax error
[ERROR] 4755:8:syntax error
[ERROR] 4784:8:syntax error
[ERROR] 4815:8:syntax error
[ERROR] 4826:86:invalid property id
[ERROR] 4872:30:missing name after . operator
[ERROR] 4874:30:missing name after . operator
[ERROR] 4880:8:syntax error
[ERROR] 4920:8:syntax error
[ERROR] 4940:8:syntax error
[ERROR] 4970:8:syntax error
[ERROR] 4971:11:syntax error
[ERROR] 4972:2:syntax error
[ERROR] 4972:3:missing } after function body
[ERROR] 4972:3:missing } after function body
[ERROR] 4972:3:missing } after function body
[ERROR] 1:0:Compilation produced 196 syntax errors.
org.mozilla.javascript.EvaluatorException: Compilation produced 196 syntax errors.
at com.yahoo.platform.yui.compressor.YUICompressor$1.runtimeError(YUICompressor.java:154)
at org.mozilla.javascript.Parser.parse(Parser.java:392)
at org.mozilla.javascript.Parser.parse(Parser.java:337)
at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:312)
at com.yahoo.platform.yui.compressor.JavaScriptCompressor.(JavaScriptCompressor.java:533)
at com.yahoo.platform.yui.compressor.YUICompressor.main(YUICompressor.java:131)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.yahoo.platform.yui.compressor.Bootstrap.main(Bootstrap.java:21)

hmm. Seems like its not "There is an invlid propery named "id"", but more "there is an invalid property identifier".
Something like this? https://github.com/yui/yuicompressor/issues/300 Not sure if this is actually the problem though.

ahh, looks like yui is choking on the usage of the keyword "default", at least for the first error here:
this.config = (0, _config2.default)(config);

yea sorry about this. This relates to #17 . I just need to tag a release which I will do this evening
see: https://github.com/schne324/combobo/blob/master/package.json#L5

for now, you should be able to require('combobo/dist/combobo.js') or if you're just dropping a script into a page use<EMAIL_ADDRESS>

ah, actually we are already running the older script, and it still has errors. I tried the newer one hoping that it had fixed things, and that was the source of the errors I reported.

this shouldn't be a problem anymore - just tagged version 2.0.0.
Let me know if you still have problems

this will still have problems. The Dist file has not bee modified. I do not have the environment set up to compile this.

There is absolutely no need to compile this.  That's the point of the dist bundle.  This is likely something funky with your setup as I've just setup a codepen with a working combobo in about 2 minutes without any problems: https://codepen.io/schne324/pen/Yepdpd

The problem I am having is that when I try to minify the file you supply in the dist folder, my minifier reports errors. As far as I can tell the dist file has not changed, thus I will still get errors when my minifier tries to minify it.

I just tagged a patch release (2.0.1) in which the dist bundle is already minified. In addition, I just confirmed that a minifyer doesn't choke up on this (I used uglifyjs).


Merge Fixed ALSA Issues

From developing the program to use the new ADC discussed in Issue #50 and #51, we have resolved various issues in the process. These include:

Issue #49 (we no longer need these test files as they were there to figure out the desired digital format for the ADC we were using)
Issue #46 (it can drain now that we have increased the frames per buffer received.
Issue #42 (this only occurred once. Upon rebooting the RPI, it disappeared)

These, however, still have branches associated with this. We must clean these branches up.

Realised I did not have make this branch. Instead, I can just close all of these open branches that have been resolved separately.

Deleting this branch now.


Replace z from z_naive to z_dv_corr

What does the code in this PR do / what does it improve?
It replaces z to z_dv_corr, alt_s1_z to alt_s1_z_dv_corr and alt_s2_z to alt_s2_z_dv_corr. Because z_dv_corr already played a good correction for z.
Reference: https://xe1t-wiki.lngs.infn.it/doku.php?id=xenon:xenonnt:terliuk:drift_field_z_bias_correction
Can you briefly describe how it works?
Can you give a minimal working example (or illustrate with a figure)?
Please include the following if applicable:

[x] Update the docstring(s)
[ ] Update the documentation
[ ] Tests to check the (new) code is working as desired.
[ ] Does it solve one of the open issues on github?

Notes on testing

Until the automated tests pass, please mark the PR as a draft.
On the XENONnT fork we test with database access, on private forks there is no database access for security considerations.

All italic comments can be removed from this template.

coverage: 93.556% (+0.02%) from 93.534% when pulling 82c096fd9d10d5fb3df6f98247ade98bd8a0d650 on z_dv_corr_to_z into d10fa1286fc76306398b6bd11ad31f3334b0c681 on master.

Thanks Dacheng, I will try and process some event_info on a run just to make sure z = z_dv_corr then accept!

Thanks Dacheng, I will try and process some event_info on a run just to make sure z = z_dv_corr then accept!

Another thing to check is the change of hash. If a PR changes fields or values of fields, the hash must be changed.
The easiest way to change the hash is to change the version of the plugin. I am sure that the version is changed so will merge it. : )


Performance issue connecting to MSSQL

Thanks for the nice library.  It's great to have access to SQL Server on Go!
I wrote a very simple client which connects to my local SQL Server 2012 instance and does a very simple select statement.  I then wrote a similar ASP.Net Web API service and compared the performance of each using JMeter just doing a whole bunch of simultaneous get requests.  Both saturate the CPU, but they look very different in how they use resources which is weird.  I was very surprised to see that the Go process uses up 340% of the CPU resources on SQL Server that the ASP.Net Web API server does.  Thinking that Web API must be doing some optimization, I added a trace in SQL Server and found that both are running the same number of queries.  And, the queries are the same between the two servers.  I was also very confused about the "Local Security Authority Process" which is using 12.7% of the Go server and nothing with Web API.  If I remove the SQL query, LSASS disappears from the list.  Having never heard of this process before, I looked it up on Wikipedia and found that: "(LSASS), is a process in Microsoft Windows operating systems that is responsible for enforcing the security policy on the system. It verifies users logging on to a Windows computer or server, handles password changes, and creates access tokens."  Are you doing some policy enforcement on every query or something like that?  Thinking it had something to do with encryption, I tried to change the settings for encryption in the connection string, and then it failed every time.  I'll log a separate bug for that issue.
In summary:

Why would the go driver which is doing the same thing as .Net Web API consume 340% of the SQL Server CPU resources?
Why is the Local Security Authority Process using so much CPU with the Go REST server and nothing with ASP.Net Web API?

Here's a snapshot of it running the Go REST server:

Here's a snapshot of it running the IIS Web API server:

Are you using the same authentication method and encryption settings in go and .Net?

Yes, I was using the same mechanism for both.  Since opening this issue, I've now left the company where I was using this, so I don't have any further insight on this.  I'm going to go ahead and close.


[FEATURE] Local server

Is the code for the online version of grayskull available? I'd like to use the online version in some of our open source tools - is it OK if we just use your hosted version directly? I'd be happy to host a version ourselves if that's preferred.

Hey! Not yet, but I have plans to make it available :)
But it is basically an API that runs grayskull and sends the output
Next month I will have more time to dedicate to Grayskull and I will try to add those things to my todo list


Perform a refactoring to change multiple condition syntax to one line

Multiple lines of condition syntax have been changed to one line. You can expect to improve the readability of your code.
Thank you DeepMind and the contributors for creating this great project.

In addition, a test was added to the TODO list to check if the sum was a floating point.

Thanks!


typo test new pipeline

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.94 seconds
load time: 454 seconds
storage size:<PHONE_NUMBER>9 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221104063105_clickbench_pr_39888.html


How to fix the focal length of camera

Thanks for sharing this work! I can fix the focal length in the phone camera setting, but this app will call the phone camera itself. How can I fix the focal length of the camera?

Hi, thank you for the feedback! If I got you right, you are talking about that  property of the camera. For now, we haven't included support setting fixed focus distance from UI, however, this can be modified in the code. By the way, the recording synchronization feature is getting transferred from this app to our other project, OpenCamera Sensors. This should solve the problem of setting many manual camera controls in UI, so if you are interested, stay tuned for the updates.

Thanks for your apply. I will try that


Ensure the correct function is called by appending std:: to the std math functions

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves #NNNNN, fix apple/llvm-project#MMMMM.

Could you please elaborate why it makes any difference?

Truncating doubles to floats loses precision, and promoting floats to doubles is more expensive.

@compnerd Thoughts?

@swift-ci please test


samples: mesh: nrf52: make all transition timer dependent

This commit will take back changes made by previous commit
i.e. fad8ff39c3b92883bb64aa4f373a7fc78e7c9ca7.
This is beacause k_sleep() based delay is not behaving as
expected while testing & take more time than expected.
Plus while testing with actual products do not get any performance wise
advantage.
Signed-off-by: Vikrant More<EMAIL_ADDRESS>

Codecov Report

Merging #11557 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #11557   +/-   ##
=======================================
  Coverage   48.42%   48.42%
=======================================
  Files         270      270
  Lines       42126    42126
  Branches    10139    10139
=======================================
  Hits        20400    20400
  Misses      17645    17645
  Partials     4081     4081

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 ccb57d7...a506b8d. Read the comment docs.


Feature request: Narrow LogLevel type to not allow arbitrary strings

Use case
Raising this ticket after the discussion in #1198.
Currently the LogLevel type allows for any string to be used, but at runtime it validates the value and if it doesn't match one of the valid log levels (as per isValidLogLevel()) it silently ignores the log level passed in and uses the default.
This has two problems:

The issue isn't caught at compile time
The passed in log level is silently ignored which may not be detected.

Regarding 1. above, the following typo currently compiles. It would be better for the typo to be detected at compile time:
const logger = new Logger({ logLevel: 'DEBG' });

Solution/User Experience
Narrow the LogLevel type definition, removing  the | string part.
Alternative solutions
No response
Acknowledgment

[X] This feature request meets Lambda Powertools Tenets
[ ] Should this be considered in other Lambda Powertools languages? i.e. Python, Java

Hi Dan, thank you for opening the issue.
I think this is a valuable addition to the logger, I'll be working on this.


Uncaught Exception: Cannot read property '1' of null

An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.3.0
Time: Mon Jul 18 2016 12:42:05 GMT 0200 (Romance Daylight Time)
Error:
Cannot read property '1' of null
TypeError: Cannot read property '1' of null
    at Request._callback (C:\Users\artur.coelho\AppData\Local\GPMDP_3\app-3.3.0\resources\app\build\main\features\core\lyrics\source_lyricsFreak.js:9:1201)
    at Request.self.callback (C:\Users\artur.coelho\AppData\Local\GPMDP_3\app-3.3.0\resources\app\node_modules\request\request.js:200:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (C:\Users\artur.coelho\AppData\Local\GPMDP_3\app-3.3.0\resources\app\node_modules\request\request.js:1067:10)
    at emitOne (events.js:101:20)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (C:\Users\artur.coelho\AppData\Local\GPMDP_3\app-3.3.0\resources\app\node_modules\request\request.js:988:12)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)

This issue was created automatically inside the uncaughtException handler

Closing this automatically reported issue as a duplicate of #1281


create script to assemble simple version of the BTE metaKG

I would like a file with four columns -- api_name, subject_type, predicate, and object_type, with one row/record for every relation that is queried by BTE.  I think that should be based on the<EMAIL_ADDRESS>file, but reality checking on that would be useful too.  My guess is that a script to generate this file would be generically useful, so perhaps we should add it to packages/@biothings-explorer/bte-trapi/scripts/ (or similar)?

I created a script to parse both the predicates.json file (which I think has the TRAPI APIs), and to parse the smartapi_specs.json file cross referenced with /src/routes/v1/config.js (which is mostly non-TRAPI APIs). The paths are written from the perspective of /bte-trapi-workspace/packages/@biothings-explorer/bte-trapi/scripts, but in thinking about this now, I don't think it's appropriate to check it in there.  So for the moment, just storing it here as a gist:
https://gist.github.com/andrewsu/aa40d8c6ae133eb5dade8cc343f24eb5
A summary of the output files shows that BTE is querying 58 unique APIs that collectively claim 83441 operations (where an operation is defined by a unique API, a subject type, a predicate, and a node type).
cat predicates.csv smartapi.csv | sort -u | gawks '{print $2}' | sort | uniq -c | sort -k1nr

Above, it sounds like the config.js list was used to parse the file....but the screenshot includes APIs that aren't on the config list...
for example, I think we aren't ingesting the top 5 items in the screenshot list...

Ahh, I was under the assumption that the APIs in predicates.json were called regardless of whether they were specified in config.js, but now that I think about it, that doesn't make sense.  Both sets of APIs (TRAPI and non-TRAPI) need to be cross referenced with the config.js.  With that change, @colleenXu does this look like a more realistic list of what BTE queries?

yes, this looks correct

great, I updated the gist with the latest code and output files.
For future reference, my current understanding is this. config.js drives everything in terms of what is consulted by BTE.  All entries in config.js can be found in smartapi_specs.json, but only the non-TRAPI APIs will actually have information on the relations that comprise the meta-kg (under the components key).  For TRAPI APIs, information on relations will come from the predicates.json file (under the predicates key).


Update docs requirements

Update doc requirements to add ctc-segmentation package.
Remove numba from autodoc mock imports.
Fixes #1119.

Thanks, LGTM.


Studio shows no data after installing preview 10

Today I installed the latest Prisma preview, opened Studio and even through I have data in the database and queries return them, Studio is empty:

Might be related to https://github.com/prisma/prisma2/issues/495

Do you see any logs? If you check the inspector (I think that the shortcut is cmd + shift + i)

Hi @divyenduz, yes I see:

Ah yes, please clear your index DB.

Crearing DB helped

@divyenduz Thanks! It solved the issue

I still have a problem but my console is showing up this error.
Project load failed:  TypeError: Cannot read property 'id' of undefined
    at oi.switch (studioBundle.js:108)
    at $ (studioBundle.js:16)
    at oi.i (studioBundle.js:16)
    at li.init (studioBundle.js:108)

You should open a separate about this @shoaibsharif

@janpio All right I am opening a new issue.


Upgrade version.pitest-git 1.0.3 -> 1.0.4

This PR contains the following updates:

Package
Type
Update
Change

com.groupcdg:pitest-git-plugin
build
patch
1.0.3 -> 1.0.4

com.groupcdg:pitest-github-maven-plugin
build
patch
1.0.3 -> 1.0.4

com.groupcdg:pitest-git-maven-plugin
build
patch
1.0.3 -> 1.0.4

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade Pitest Git plugins 1.0.3 -> 1.0.4

No difference in output. Assumed you checked it but still wanted to verify :). Will rebase and merge.


metal: 2.1.1 -> 2.1.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/brunocodutra/metal/releases.
meta.description for metal is: "Single-header C++11 library designed to make you love template metaprogramming"
meta.homepage for metal is: "https://github.com/brunocodutra/metal"
meta.changelog for metal is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.1.2 with grep in /nix/store/ahdz41mgncgp7pk6skdypglrkx90cn07-metal-2.1.2

directory tree listing: https://gist.github.com/a023f9267b3f62e56702febfc7ffa4e6

du listing: https://gist.github.com/9cb9a9a5e52d402c9bd3fb4d8f82e2f2

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
fcppt
metal

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ahdz41mgncgp7pk6skdypglrkx90cn07-metal-2.1.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A metal https://github.com/r-ryantm/nixpkgs/archive/9bfdb4b17ff893bfaaca576f2b3131f8339bcbac.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ahdz41mgncgp7pk6skdypglrkx90cn07-metal-2.1.2
ls -la /nix/store/ahdz41mgncgp7pk6skdypglrkx90cn07-metal-2.1.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

fcppt
metal

Maintainer pings
cc @pmiddend for testing.

Result of nixpkgs-review pr 112512 at 9bfdb4b1 run on aarch64-linux 1

2 packages built:

fcppt
metal


feat: Added an option to output a JSON file containing the URL and filename

Hello! Thanks so much for you hard work, this project was exactly what I needed. I was missing one feature which was the ability to later reference what files came from what exact url. I did my best to add it and it works for me. I added some tests but I can't guarantee that they are proper.
After setting the --output-file-name-url-map a file called urlToFileNameMap.json will appear in the web2pdf_output folder. Example:
{
  "http://localhost:1313/Current%20Page%20URL": "Current%20Page%20URL.pdf",
  "https://www.kellogg.northwestern.edu/programs/full-time-mba/academics/majors-pathways/operations-major": "programs/full-time-mba/academics/majors-pathways/operations-major.pdf",
  "https://www.kellogg.northwestern.edu/programs/full-time-mba/academics/majors-pathways/real-estate-pathway": "programs/full-time-mba/academics/majors-pathways/real-estate-pathway.pdf",
  "https://www.kellogg.northwestern.edu/programs/full-time-mba/academics/majors-pathways/social-impact-pathway": "programs/full-time-mba/academics/majors-pathways/social-impact-pathway.pdf",
  "https://www.kellogg.northwestern.edu/programs/full-time-mba/academics/majors-pathways/technology-management-pathway": "programs/full-time-mba/academics/majors-pathways/technology-management-pathway.pdf",
  "https://www.kellogg.northwestern.edu/programs/full-time-mba/academics/majors-pathways/marketing-major": "programs/full-time-mba/academics/majors-pathways/marketing-major.pdf",
  "https://www.kellogg.northwestern.edu/programs/full-time-mba/academics/majors-pathways/strategy-major": "programs/full-time-mba/academics/majors-pathways/strategy-major.pdf"
}

Thanks!

Hi @chip-davis , glad you like it 😃
Thanks a lot for your PR, I've just made a few changes in the code to make it more consistent, but that was perfect.
I'll make a release right after.

Wooohoo! Glad you liked it. I've never used TS before so I am not surprised I probably broke a couple of conventions 🙂. Thanks again!

@chip-davis , FYI I've change the file content as it was not containing the whole path of the generated files. I'll create in a few minutes a release that will contain this change 😉


Why isn't the Charger working

What am I doing wrong?

do you have a power source? if you have the Immersive Engineering mod, you can place the creative capacitor next to that block and charge yourself through the charging station.

I do have Immersive Engineering, I did not know that I could do that, thanks!

IT DOESN'T WORK HELP


Update mixins.scss

The $handset-landscape value was not defined anymore in the variable file.

Thank you


GET /records/{field-name}/{field-value} doesn't handle blanks

Context

RFC code:

There is an endpoint to find all records that share a field-value for a particular field.
Explanation
The endpoint doesn't support filtering for records that don't have a value in a field.  Compare:

https://country.register.gov.uk/records/end-date/1991-12-25.json
https://country.register.gov.uk/records/end-date/.json.  This link should return all countries with blank end-dates.

This behaviour isn't documented.

@michaelabenyohai @gidsg  interesting one that highlights even more the collision between RFC0002 and faceted records.
Side-note: We are treating /record/GB.json and /record/GB/.json the same I presume because we ignore trailing slashes /record/GB == /record/GB/. Am I right in thinking that?

#39 Proposes changing facets to use a querystring. If accepted, it is thinkable to use something like /records?name=end-date&value= to filter by empty values. Given that now the blob normalisation ensures an empty string is a nullable value, this value= expression should work well.


First attempt at filter labels

I'm for this personally - I avoid using filter in any of my projects largely because of this issue, always using try_map instead so I can mark my errors.


Update to NixOS 22.11

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/why-does-nix-flake-show-try-to-write-a-lock-file/24123/2


WIP allow svg render in canvas

@hecrj for #880 i have made simple PR to see how svg can render to canvas. It works for my purpose!
For example, i can do:
self.cache.draw(bounds.size(), |frame| {
  frame.fill_svg(self.svg, bounds);
});

and this works!!!
however, some things:

I am not sure if it is good how i pass svg primitive in the fill_svg method
private handle exposed in PR, but not sure best way to expose
there appears to be some kind of gpu memory leak, as it is very slow and render time goes up and up (i do not invalidate cache in my example, and show that fill svg only called once, so i'm not sure what is going on, hopefully you can advise)

thank you!!
I would very like to see svg rendering in canvas, very cool, hope we can fix this and get it in iced sometime

While the changes are straightforward, the main concern here is whether we should make the promise that the Canvas API will support SVG rendering or not.
SVG support is a huge promise to make! For instance, iced_glow supports Canvas but does not support Svg yet!
Furthermore, I'd like to eventually port the Canvas widget completely to the iced_web runtime and other renderers as well.
Because of these reasons, I don't think we should make this promise at this point!

ok good points to make.
some alternative: can we allow behind feature "svg-canvas" or something?
And the changes I made are how to do this, or is there some extra? I felt it was too simple, but maybe it means library is good :)


BUG: Opening local folder doesn't include .svg files

name: Bug report
about: Create a report to help us improve

Describe the bug
When I open a local folder from my Mac, it doesn't include the .svg files.
Link to the blitz that caused the error
https://stackblitz.com/edit/node-uwf9jt?file=components%2Fsocial-icons%2Findex.js
Version of webcontainer
Hash: 7286dbe8d47d3473cde7be488b7d048fb59b05f2
Screenshots

Desktop (please complete the following information):
Browser name  = Chrome
Full version  = 90.0.4430.212
Major version = 90
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
performance.memory = {
totalJSHeapSize: 142216057,
usedJSHeapSize: 121063469,
jsHeapSizeLimit:<PHONE_NUMBER>
}

This is currently by design. The upload from local scenario is very alpha. We need to do some changes internally when it comes to how binary files are handled in order for you to allow uploading binary files.
It is in our roadmap and should be added in the future!


Budget App

Budget App
Changes made in this milestone:

Created models according to the ERD diagram.
Implemented the authentication and authorization.
Created login and signup page.
Created the page to add a category.
Created the home page.
Created the page to add a transaction.
Created the transactions page.
Add Test.
Deployed the project.
Record a video for the project.

Live Demo

https://budgetapp-75e5.onrender.com

Video presentation

https://www.loom.com/share/4af4460c62b1424ebb11cbf81458ed3f?sid=26b8963a-3edb-44c8-8ab0-96729fc5aac4

@Olamarx I forgot to update the readme live demo link but I have updated in PR correctly. Now it is updated


Output duration mismatch

Version information

fluent-ffmpeg version: 2.1.2
ffmpeg version: N-82966-g6993bb4
OS: Windows 10

Code to reproduce
new ffmpeg({
	source: this.url
})
.duration(1800)
.videoBitrate(200)
.fps(this.dataRate)
.on('error', function (err, stdout, stderr) {
	console.log(stderr);
})
.on('start', function (evt) {
	console.log(evt);
})
.on('stderr', function (stderrLine) {
	console.log(stderrLine);
})
.on('end', function (stdout, stderr) {
	console.log(stderr, stdout);
}).format('mp4').save(filePath);

As I mentioned, in a sample code.
I have use this plugin for recording video from IP camera using RTSP URI with duration 30 Mins (1800 Sec).
and calling the recording function again after recording complete in my original code.
Example: If it is call 4-5 times after current record complete, so that.
Expected results

Video_1 with 30:00 Mins Duration
Video_2 with 30:00 Mins Duration
Video_3 with 30:00 Mins Duration
Video_4 with 30:00 Mins Duration
Video_5 with 30:00 Mins Duration

Observed results

Video_1 with 30:00 Mins Duration
Video_2 with 29:57 Mins Duration
Video_3 with 29:54 Mins Duration
Video_4 with 30:00 Mins Duration
Video_5 with 29:58 Mins Duration

Have you tried directly with ffmpeg? Do you get reliable duration with it?

Have you tried directly with ffmpeg? Do you get reliable duration with it?

Yes but, there is some difficulty to maintain different-different command for different-different IP camera's and mobile camera.
That's why I use this plugin, please provide me a suitable solution for that.
Thanks,
Devesh


Implement Routing Cache

Needs to support:

Seeders List (routes in this list never expire)
Blacklist (routes here never are cached)
Whitelist (routes here priority never expire but may be purged from cache in extreme conditions)
Cache persistence (at least for routes in Seeders/White Lists)

Hard Questions:

How to abstract routes, and peer promotion, to support any protocol?
How to expose the cache to the NodeSink?

Some basics for a memory-based implementation, already in the repo, but: no expiration, no persistence, no reversible connections, yet

Some work already done on this, but without persistence or LRU purging.


Win64 changes from GDC

This pull request isn't ready for merging.
I don't understand the align(1) for struct _iobuf.  With GDC it's not required for Win32 or Win64.  It actually produces erroneous data with Win64.  I'll correct it based on the advice given and update.

align(1) is interpreted as the struct has no alignment, as in packed.  Also, there is some noise in your pull request from merging with branch 'upstream/master'. Please consider making a new pull without this.

For Win32 align(1) has no effect.  Since the structure consists of only 32-bit members.  However it is detrimental to Win64 and causes the structure to be misaligned.
I'll see what I can do.  I'm not familiar with git.

Closing in order to filter noise.


Add JonathanCrd as a code owner for Tables

Adding myself as a code owner for the Tables SDK.

Looks like the linter errors are due to the bad formatting previously.   Would you please add the following to the end of the exceptions list since these folks are already grandfathered in with bad data?
sakash279 is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
sivethe is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
ThomasWeiss is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.

Looks like the linter errors are due to the bad formatting previously. Would you please add the following to the end of the exceptions list since these folks are already grandfathered in with bad data?
sakash279 is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
sivethe is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
ThomasWeiss is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.

I see, sure thing 👌


Custom icon doesn't show up

Describe the bug
I tried to use the new feature and wanted to set a different icon. But it doesn't work.
How to reproduce

Expected behavior
The icon should change
YAML configuration
type: entities
entities:
  - entity: sensor.canon_tr8500_series
  - entity: input_number.tinte_schwarz_gross
    icon: 'mdi:water'
    type: 'custom:battery-state-card'
  - entity: input_number.tinte_schwarz
    type: 'custom:battery-state-card'
  - entity: input_number.tinte_cyan
    type: 'custom:battery-state-card'
  - entity: input_number.tinte_gelb
    type: 'custom:battery-state-card'
  - entity: input_number.tinte_magenta
    type: 'custom:battery-state-card'
title: Drucker Status
show_header_toggle: false

Screenshots

Version
Card version 1.6.0
HA version 0.116.4

Hey thanks for letting me know. It turned out that by accident I have released the previous version of the card code (you can even see in the browser console that the card version is still v1.5.2). Please update to v1.6.1, sorry for inconvenience :)

Thanks for your quick reply. It works now ;-)


how to communicate real time?

I have a question, I've trained a model in TensorFlow.Keras and now my python editor in the Unreal Engined 4.18.3, have all modules I need (i.e TensorFlow and Keras) but in the case of the driving simulator I need communication between python scripts and the Unreal Environment, how can I do that?

You can check out the old qlearning branch examples for in the loop communication: https://github.com/getnamo/tensorflow-ue4-examples/blob/qlearn/Content/Scripts/PongAI.py
The basics of it is call a json input with your ai input e.g. wheel location, images as float arrays, etc, then run your python code inside the function https://github.com/getnamo/tensorflow-ue4-examples/blob/qlearn/Content/Scripts/PongAI.py#L63 and return a result. On unreal side use the updated outputs to update your simulation (e.g. steering).

thanks for sharing, but you know, using the pip command in the same directory I could update the TensorFlow, ((pip install TensorFlow == 2.6.1)) and now the python editor in the Unreal Engine 4.18.3 recognize (Tensorflow. Keras) but another question has arisen is, how can I use the Unreal output as an Input for python script? for example, I want a way of communication between python and the Unreal engine.
for example, my NN model takes a bunch of inputs and outputs desired steering degree. I require that the car in the Unreal give me its steering degree and compare it with my model output to produce an error.


WIP source location

@royaljust - thoughts on this PR adding "source url" info to the curation guidelines?

@capfei - For the first sentence, thoughts on "When curating the source code location for a package component, consider where the source code was at the time the component was published."

@ariel1 Sounds much better!

Thanks for the add @royaljust.
One of the challenges with source location (especially when going to the level of the source associated with a particular package version) is that it's difficult, and in some cases impossible, for a curator or consumer to verify the accuracy of that information. For packages that contain direct copies of the files from a repository you could compare those files to verify they are the same, for packages that contain compiled or transpiled outputs you can't do that and would need more sophisticated ways of verifying. Even package managers that provide more structured ways of communicating what version of the source code they come from don't verify that information and it could be spoofed as a result. The event-stream vulnerability is a notable example of this, the content that was put in the published package differed from what was in the repository.
As provenance and pedigree information becomes more available (such as through SBOMs or transparency ledgers) it may be possible to provide more confidence that the package's contents were produced by a specific commit in a specific source location. In the meantime, there's still value in collecting and basic validation of the source location (because it may provide a starting point for others to do deeper validation) but we should be transparent about the limitations in our ability to verify the accuracy of that information.

May want to add something about what @capfei raised here: https://github.com/clearlydefined/curated-data/issues/25

I looked a bit deeper into the format of GitLab project URLs and they appear somewhat similar to GitHub's.
Example 1
project: https://gitlab.com/gitlab-org/omnibus-gitlab
revision (commit): https://gitlab.com/gitlab-org/omnibus-gitlab/-/commit/f108fd9d49c75a20b5e603899e24742e4fec6bd4 (14.7.0+ce.0)
Example 2
(sub) project: https://gitlab.com/gitlab-org/frontend/playground/batch-issue-creator
It looks like there can be nested (sub) projects that can have multiple "/" encoded in the name. So, not sure how/if we already deal with that.
Perhaps someone more familiar with the technical aspects of GitLab topic can add on to what I have here.
@capfei on your point about re-packaged code... I think it would be a good idea to add such a comment, especially given the fact that we now plan to accept more than one source location type. The chances of selecting the wrong one may increase :)

@bduranc Definitely! I will also add, to @iamwillbar's point, that our ability to accurately verify sources is limited and that we may not always be able to provide confirmation.

Close by #186, thanks all!


use MemoryMarshal.GetReference to implement FromFixedSpan

Note:

makes the Span<byte> and ReadOnlySpan<byte> paths consistent
avoids fixed stack gynmastics overheads (minor but non-zero)
works correctly for zero-length spans (i.e. doesn't give IndexOutOfRangeException)

Need this in Tsavorite ...

Good news: no more allocations (this is on the "always turns out to be synchronous" path)
Can I check that I've interpreted your meaning correctly?
Old version:
// non-async context
var pending = session.WhateverAsync(...);
if (!pending.IsCompletedSuccessfully) return Awaited(pending, ...) // async helper method
var result = pending.GetAwaiter().GetResult(); // actually sync
if (result.Status.IsPending)
{
    (status, output) = result.Complete(); // don't expect to ever hit this
}

new version:
// non-async context
var status = session.Whatever(...); // note sync API
if (status.IsPending) return Awaited(...); // async helper method that uses

where the new async helper method does
var outputs = await session.CompletePendingWithOutputsAsync(token: token);
// iterate exactly one output, etc

Is that what you meant?
 Yes we world prefer to get these changes over to Garnet!


Webpack Started.... allocation failure scavenge might not succeed

Ionic version:
@ionic-native/core": "3.12.1"
I'm submitting a ...
[X ] bug report
Current behavior:
I am able to run ionic serve without any issues. However when attempt to build my progressive web app production files using npm run ionic:build --prod, the ionic-app-scripts 3.0.0 runs but then halts at 'webpack started...' After a minute or so I then get an 'allocation failure scavenge might not succeed'. The full error is provided below.
I am using a MacOS Sierra, 3.3 GHz Intel Core i5 w/ 16gb ram. In addition I am using Node v8.6.0 and NPM 5.3.0. My ionic info is also provided below. All are executed within terminal window.
Expected behavior:
Should compile and build minified production files.
Steps to reproduce:
Execute npm run ionic:build --prod within terminal.
Related code:
mgt-mobile core$ npm run ionic:build --prod

><EMAIL_ADDRESS>ionic:build /Users/core/www/mgt-mobile
> ionic-app-scripts build

[11:14:52]  ionic-app-scripts 3.0.0
[11:14:52]  build prod started ...
[11:14:52]  clean started ...
[11:14:52]  clean finished in 2 ms
[11:14:52]  copy started ...
[11:14:52]  deeplinks started ...
[11:14:53]  deeplinks finished in 416 ms
[11:14:53]  ngc started ...
[11:14:55]  copy finished in 2.54 s
[11:15:07]  ngc finished in 14.74 s
[11:15:07]  preprocess started ...
[11:15:08]  preprocess finished in 83 ms
[11:15:08]  webpack started ...

<--- Last few GCs --->

[3044:0x103001600]   114662 ms: Mark-sweep 1416.2 (1630.1) -> 1416.2 (1630.1) MB, 247.1 / 0.0 ms  allocation failure scavenge might not succeed
[3044:0x103001600]   114908 ms: Mark-sweep 1416.2 (1630.1) -> 1416.1 (1605.1) MB, 245.9 / 0.0 ms  last resort
[3044:0x103001600]   115166 ms: Mark-sweep 1416.1 (1605.1) -> 1416.1 (1599.1) MB, 257.0 / 0.0 ms  last resort

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x1bdb7c028799 <JSObject>
    1: DoJoin(aka DoJoin) [native array.js:~95] [pc=0x2c83ed554b64](this=0x11b6a7e82311 <undefined>,p=0x3394573f7381 <JSArray[303]>,q=303,E=0x11b6a7e823b1 <true>,A=0x11b6a7ed79a9 <String[1]:  >,z=0x11b6a7e82421 <false>)
    2: Join(aka Join) [native array.js:~120] [pc=0x2c83ed69aa69](this=0x11b6a7e82311 <undefined>,p=0x3394573f7381 <JSArray[303]>,q=303,A=0x11b6a7ed79a9 <String[1]:  >,z=0x11b6a7e...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/usr/local/bin/node]
 2: node::FatalException(v8::Isolate*, v8::Local<v8::Value>, v8::Local<v8::Message>) [/usr/local/bin/node]
 3: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/usr/local/bin/node]
 4: v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [/usr/local/bin/node]
 5: v8::internal::Runtime_StringBuilderJoin(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/bin/node]
 6: 0x2c83ed3846fd

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.13.1
    ionic (Ionic CLI) : 3.13.2

global packages:

    cordova (Cordova CLI) : 7.0.1

local packages:

    @ionic/app-scripts : 3.0.0
    Cordova Platforms  : ios 4.4.0
    Ionic Framework    : ionic-angular 3.7.1

System:

    ios-deploy : 1.9.1
    Node       : v8.6.0
    npm        : 5.3.0
    OS         : macOS Sierra
    Xcode      : Xcode 9.0 Build version 9A235

Misc:

    backend : pro

Posted in Ionci Cli instead


Make posting comments work with "internal" or "private" repos.

Much like your screenname, this was tried and ended up being impossible because we need better docs from Github's REST API. If we were to support this, then you'd see multiple comments posted in the thread (👎🏼).
It is currently disabled for private repos because file-annotations can alternatively be used instead of thread-comments.
Not sure what you mean by "internal", but you can enable analysis for git submodules via the ignore option.
ignore: '!submodule/path'

internal is a type of repo for "Enterprise" customers. It's basically inside the org it's public, but external to the org it's private. For all practical purposes you treat them like private.

Oh. That's news to me. Thanks!


dart2js failure for external functions

The following test fails on dart2js
import '../../../Utils/expect.dart';

external f();
external g([var x]);
external h({var x});

main() {
  Expect.throws(() { f(); }, (e) => e is NoSuchMethodError);
  Expect.throws(() { g(); }, (e) => e is NoSuchMethodError);
  Expect.throws(() { h(); }, (e) => e is NoSuchMethodError);
}

Output is

--- Command "dart2js" (took 01.000059s):
DART_CONFIGURATION=ReleaseX64 sdk/bin/dart2js_developer --enable-experiment=non-nullable --enable-experiment=non-nullable --test-mode --packages=/b/s/w/ir/.packages /b/s/w/ir/tests/co19/src/Language/Functions/External_Functions/not_connected_to_a_body_t01.dart --no-sound-null-safety --libraries-spec=sdk/lib/libraries.json --platform-binaries=out/ReleaseX64/ --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js/tests_co19_src_Language_Functions_External_Functions_not_connected_to_a_body_t01/not_connected_to_a_body_t01.js

exit code:
1

stdout:
tests/co19/src/Language/Functions/External_Functions/not_connected_to_a_body_t01.dart:24:10:
Error: Only external js-interop functions are supported.
Try removing 'external' keyword or annotating the function as a js-interop function.
external f();
         ^
tests/co19/src/Language/Functions/External_Functions/not_connected_to_a_body_t01.dart:25:10:
Error: Only external js-interop functions are supported.
Try removing 'external' keyword or annotating the function as a js-interop function.
external g([var x]);
         ^
tests/co19/src/Language/Functions/External_Functions/not_connected_to_a_body_t01.dart:26:10:
Error: Only external js-interop functions are supported.
Try removing 'external' keyword or annotating the function as a js-interop function.
external h({var x});
         ^
Error: Compilation failed.

--- Re-run this test:
python tools/test.py -n dart2js-hostasserts-weak-linux-x64-chrome --dart2js-batch co19/Language/Functions/External_Functions/not_connected_to_a_body_t01

We are aware that the implementations may cause some external declarations to be compile-time errors.
We are currently discussing whether/how to specify this: https://github.com/dart-lang/language/issues/571

Target dart2js failed: Exception: /Applications/source/flutter/.pub-cache/hosted/pub.dartlang.org/steel_crypt-1.7.1+1/lib/PointyCastleN/stream/chacha20.dart:266:20:
Error: Only external js-interop functions are supported.
Try removing 'external' keyword or annotating the function as a js-interop function.
external dynamic noSuchMethod(Invocation invocation);
^
/Applications/source/flutter/.pub-cache/hosted/pub.dartlang.org/steel_crypt-1.7.1+1/lib/PointyCastleN/stream/chacha2012.dart:266:20:
Error: Only external js-interop functions are supported.
Try removing 'external' keyword or annotating the function as a js-interop function.
external dynamic noSuchMethod(Invocation invocation);
^
/Applications/source/flutter/.pub-cache/hosted/pub.dartlang.org/steel_crypt-1.7.1+1/lib/PointyCastleN/stream/chacha208.dart:266:20:
Error: Only external js-interop functions are supported.
Try removing 'external' keyword or annotating the function as a js-interop function.
external dynamic noSuchMethod(Invocation invocation);
^
Error: Compilation failed.
any answer for this would be helpful


Updating percent better than baseline computation

Pull Request Description
Fixes #1449

For objectives bounded strictly in the range [0, 1], the percent difference is the absolute difference (not normalized by the baseline)
For other objectives, division by 0 is now inf rather than nan

After creating the pull request: in order to pass the release_notes_updated check you will need to update the "Future Release" section of docs/source/release_notes.rst to include this pull request by adding :pr:123.

@angela97lin Correlation is just like MCC in the sense that it's bounded [-1, 1]. I think it's best to not treat like a percentage in that case. If baseline gets a negative score and our pipeline gets a positive score, then I'd want the percent better to be above 100% which isn't always the case if we treat it like a percentage.


CI: Upgrade Fedora to 39.

SSIA

Only reworded the commit message to include the "ci" prefix.

Merged. Thanks!

The latest, the greatest :D LGTM

Of course, always!


Adjustment crashes when all measures are ignored

Description
This is a very minor bug that I am noting here for posterity rather than urgency.
Segment and adjust calls crash (i.e. exit without error code) when attempting to adjust a set of measurements which are all set to ignore = *.
Steps to reproduce
Example XML files (in txt):
msr_20210602-143853.xml.txt
stn_20210602-143855.xml.txt
import -n <name> --export-dna-files --output-msr-to-stn --reference-frame GDA2020 --output-folder <dir> stn_20210602-143855.xml msr_20210602-143853.xml
segment <name> --input-folder <dir> --output-folder <dir> --min-inner-stns 75 --max-block-stns 75
adjust <name> --input-folder <dir> --output-folder <dir> --output-adj-msr --output-tstat-adj-msr --sort-adj-msr-field 7 --iteration-threshold 0.0005 --max-iterations 30 --dms-msr-format 2 --precision-msr-linear 4 --precision-msr-angular 4 --output-pos-uncertainty --stn-coord-types ENzXYZ --output-database-ids --output-corrections-file --hz-corr-threshold 0.05 --vt-corr-threshold 0.0 --phased-adjustment

Expected behaviour
Segment and adjust calls should exit gracefully with a message.
Operating system

Windows 10

Thanks for raising this @stratiform.
As we discussed offline, this seems to relate to segment only, since running adjust in simultaneous mode has a check for this problem already, and phased adjustments cannot be executed without a *.seg file (which, of course, won't be created if segment throws an exception).
A fix has been applied and will be merged soon. A good find and thanks again.


run-tests: Print a separator when the script fails

When the script fails without running any tests, it is hard to find the
actual failure. Print a marker before the teardown starts to make it
easier to locate the last line that triggered the error.
Signed-off-by: Till Maas<EMAIL_ADDRESS>

This change is

Coverage increased (+0.02%) to 66.456% when pulling b398065caca5cb0133dc4ba3c293851744a4eb0c on tyll:teardown_marker into 5d383493f6c713cd251afa6d0b294df72ea55825 on nmstate:master.

Coverage increased (+0.02%) to 66.456% when pulling b398065caca5cb0133dc4ba3c293851744a4eb0c on tyll:teardown_marker into 5d383493f6c713cd251afa6d0b294df72ea55825 on nmstate:master.

Changed it, hope it is better now. :-)


DaynaPort and bridge devices should not inherit from Disk

In order to improve code quality and maintainability SCSIDaynaPort and Bridge should not inherit from Disk, because they are not disk-like devices. The correct base clases are PrimaryDevice or ModePageDevice.

@uweseimet - I agree. It should probably be a new "Controller" class.

@akuker Rather a Devices class, which contains all Disk attributes that are not specific to disks but to devices in general. I created https://github.com/akuker/RASCSI/issues/186 for this and https://github.com/akuker/RASCSI/tree/feature_device_base_class is addressing this.

Replaced by https://github.com/akuker/RASCSI/issues/663.


add --read-args-from-stdin option of wkhtmltopdf

same update for PDF file.
the framework is limited by the number of characters in the command line:
https://support.microsoft.com/en-us/help/830473/command-prompt-cmd-exe-command-line-string-limitation
https://wkhtmltopdf.org/usage/wkhtmltopdf.txt

I'm sorry, but I don't think we will ever support this feature. Can you give a use case why you need this?
I'm also not happy with the way it's implemented.

After a closer look at --read-args-from-stdin I must say that we definitely will not support this. It's a complete break in how our library here works.
If you need something like this, you should simply call wkhtmltopdf with proc_open() yourself from PHP.

no problem, I added this for a project that had a command with more than 8000 characters, I reached the maximum number with the header + body + footer, the Windows prompt does not do not take all the arguments


added view controller show extension

Linked issue: #5
Btw thanks for creating this! These menu's were always my favorite part of Things 3

This is perfect!


Dhvsu pull request

@Stuffhappens858 Thank you for your patience while waiting for a review and processing your request. Pull request merged.
Please start requesting the licenses in about an hour, to let the changes to propagate through our system.


Schedule Run support

Description
Now it is not possible to have Command to be scheduled in the Kernel.
Why this should be added
Or am I wrong and is this already working? Still my  php artisan schedule:run insn't Tenant-aware

This shouldn't be solved by the package.
How would it know what tenants to run for? How would it know what jobs are central and what jobs are tenant?
If you need to do something in the tenant context, loop through the tenants and run() in the handle method of the job.

@stancl
But I tried this:
protected function schedule(Schedule $schedule)
   {
       foreach (Tenant::all() as $tenant) {
           $schedule->command('tenants:run foobar --tenants=' . $tenant->id)->everyFourHours();
       }
}

And this is not running my foobar-command Tenant aware.

I said use $tenant->run() inside handle(), not loop through tenants in the schedule() method. That can't possibly work.

@renege try
$schedule->command('tenants:run foobar' . $this->getTenants())->everyFourHours();

protected function getTenants()
{
    return Cache::remember('tenants-ids', now()->addHour(), function () {
        $str = '';
        foreach (Tenant::get()->pluck('id')->all() as $id) {
            $str .= " --tenants='{$id}'";
        }

        return $str;
    });
}

@renege try
$schedule->command('tenants:run foobar' . $this->getTenants())->everyFourHours();

protected function getTenants()
{
    return Cache::remember('tenants-ids', now()->addHour(), function () {
        $str = '';
        foreach (Tenant::get()->pluck('id')->all() as $id) {
            $str .= " --tenants='{$id}'";
        }

        return $str;
    });
}

Please don't abuse artisan commands when you can use $tenant->run().

Please don't abuse artisan commands when you can use $tenant->run().

this is mostly for the external packages cmnds

this is mostly for the external packages cmnds

Why would $tenant->run() not work there?

Why would $tenant->run() not work there?

Ah, you mean commands like artisan foobar.
Still, I don't think it's a good idea to run commands like that. I'd just loop through tenants, initialize tenancy using run(), and use Artisan::call().

Ah, you mean commands like artisan foobar.
Still, I don't think it's a good idea to run commands like that. I'd just loop through tenants, initialize tenancy using run(), and use Artisan::call().

am facing this with spatie/laravel-backup where am scheduling the cmnd to run daily, without the above i either

create a job and inside it run the db backup cmnd
or override the original cmnd

am facing this with spatie/laravel-backup where am scheduling the cmnd to run daily, without the above i either

create a job and inside it run the db backup cmnd
or override the original cmnd

@ctf0 this is my approach:
<?php

namespace App\Jobs;

use App\Models\Tenant;

abstract class TenantsJob extends BaseJob
{
    /**
     * Execute
     */
    public function handle()
    {
        $tenants = Tenant::where('active', 1)->get();
        tenancy()->runForMultiple($tenants, function ($tenant) {
            $this->execute($tenant);
        });
    }

    /**
     * Execute the job for the specific tenant.
     *
     * @param  Tenant  $tenant
     */
    abstract public function execute(Tenant $tenant);
}

Then you create your job:
<?php

namespace App\Jobs;

use App\Jobs\TenantsJob;
use App\Models\Tenant;

class DeleteTemporaryFiles extends TenantsJob
{

    public function execute(Tenant $tenant)
    {
      // do something with $tenant
    }
}

And your Kernel.php file you define the schedule job:
$schedule->job(new DeleteTemporaryFiles)->daily()->at('01:00');

@renege
@Fuhrmann
@ctf0
for those who want to run their custom artisan command tenant aware (for each tenant):


Regression of false positive with e251 and type statement type variable defaults

ruff version 0.8.4
python version 3.13
prior issue: https://github.com/astral-sh/ruff/issues/13699 prior PR: https://github.com/astral-sh/ruff/pull/13704
src\salamander\_type_stuff.py:37:20: E251 [*] Unexpected spaces around keyword / parameter equals
   |
37 | type Coro[T: object = Any] = Coroutine[None, None, T]
   |                    ^ E251
   |
   = help: Remove whitespace

src\salamander\_type_stuff.py:37:22: E251 [*] Unexpected spaces around keyword / parameter equals
   |
37 | type Coro[T: object = Any] = Coroutine[None, None, T]
   |                      ^ E251
   |
   = help: Remove whitespace

These are false positives.
Applying the fix leads to (correctly) identifying:
src\salamander\_type_stuff.py:37:20: E225 [*] Missing whitespace around operator
   |
37 | type Coro[T: object=Any] = Coroutine[None, None, T]
   |                    ^ E225
   |
   = help: Add missing whitespace

config is here if useful

Here's a minimal working example of the original bug: playground.


How can I use a button instead of the wheel to zoom?

I want to use the button / keyboard to control zooming, for example: when I click button A / key A, the graph enlarges; when I click button B / button B, the graph zooms out. Is there a way to do this?

Hi @mYcheng-95

when I click button A the graph enlarges

In your button's OnClicked handler add something like:
formsPlot1.Plot.AxisZoom(1.5, 1.5); // zoom in
formsPlot1.Refresh(); // redraw the plot

when I press key A the graph enlarges

Add a function to catch keypresses and if the key is A run the same code as above
I hope this helps!
An advanced answer is to create your own user control and copy/paste ScottPlot's control code into it and modify it as needed. FormsPlot.cs


Enable SVT-AV1 AVX512 capabilities

Hi,
Can you add -DENABLE_AVX512=ON on SVT-AV1 build script for enable AVX512 support ?
Actually AVX2 in max ASM level available.

Will that break the binaries on non-AVX512 capable systems?


Cherry pick disallow bare trait objects to active_release

Automatic cherry-pick of fa5c39b

Originally appeared in https://github.com/apache/arrow-rs/pull/615: disallow bare trait objects

Codecov Report

Merging #620 (0d26031) into active_release (d32533a) will not change coverage.
The diff coverage is 100.00%.

@@               Coverage Diff               @@
##           active_release     #620   +/-   ##
===============================================
  Coverage           82.41%   82.41%
===============================================
  Files                 167      167
  Lines               46255    46255
===============================================
  Hits                38122    38122
  Misses               8133     8133

Impacted Files
Coverage Δ

arrow/src/compute/kernels/cast.rs
94.53% <ø> (ø)

arrow/src/array/array_struct.rs
89.24% <100.00%> (ø)

arrow/src/array/array_union.rs
89.26% <100.00%> (ø)

arrow/src/array/builder.rs
86.26% <100.00%> (ø)

arrow/src/array/transform/boolean.rs
76.92% <0.00%> (-7.70%)
:arrow_down:

parquet/src/encodings/encoding.rs
95.04% <0.00%> (+0.19%)
: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 d32533a...0d26031. Read the comment docs.

This did not apply cleanly to active release -- I see no reason to spend time figuring it out (as it doesn't seem critical to 5.x.x maintenance). Thus closing this PR. FYI @Jimexist


dex: 0.7 -> 0.8.0

Motivation for this change
Upstream update
Things done

Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] 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/)

@GrahamcOfBorg build dex

Success on x86_64-linux (full log)
Attempted: dex
Partial log (click to expand)
post-installation fixup
moving /nix/store/qgfgcyabml89hzhq85xg1vr9fwizhfmj-dex-0.8.0/man to /nix/store/qgfgcyabml89hzhq85xg1vr9fwizhfmj-dex-0.8.0/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/qgfgcyabml89hzhq85xg1vr9fwizhfmj-dex-0.8.0
gzipping man pages under /nix/store/qgfgcyabml89hzhq85xg1vr9fwizhfmj-dex-0.8.0/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/qgfgcyabml89hzhq85xg1vr9fwizhfmj-dex-0.8.0/bin
patching script interpreter paths in /nix/store/qgfgcyabml89hzhq85xg1vr9fwizhfmj-dex-0.8.0
/nix/store/qgfgcyabml89hzhq85xg1vr9fwizhfmj-dex-0.8.0/bin/dex: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/5674cf2n5yy83s5ksg7y3wk006byc7y3-python3-3.6.6/bin/python3"
checking for references to /build in /nix/store/qgfgcyabml89hzhq85xg1vr9fwizhfmj-dex-0.8.0...
/nix/store/qgfgcyabml89hzhq85xg1vr9fwizhfmj-dex-0.8.0

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: dex
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: dex
Partial log (click to expand)
post-installation fixup
moving /nix/store/3jix4cz5kqdirhc67n5gjn9cfk4xhvls-dex-0.8.0/man to /nix/store/3jix4cz5kqdirhc67n5gjn9cfk4xhvls-dex-0.8.0/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/3jix4cz5kqdirhc67n5gjn9cfk4xhvls-dex-0.8.0
gzipping man pages under /nix/store/3jix4cz5kqdirhc67n5gjn9cfk4xhvls-dex-0.8.0/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/3jix4cz5kqdirhc67n5gjn9cfk4xhvls-dex-0.8.0/bin
patching script interpreter paths in /nix/store/3jix4cz5kqdirhc67n5gjn9cfk4xhvls-dex-0.8.0
/nix/store/3jix4cz5kqdirhc67n5gjn9cfk4xhvls-dex-0.8.0/bin/dex: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/dpv31nky5xrvcc3lahrdpid9y0m7cijq-python3-3.6.6/bin/python3"
checking for references to /build in /nix/store/3jix4cz5kqdirhc67n5gjn9cfk4xhvls-dex-0.8.0...
/nix/store/3jix4cz5kqdirhc67n5gjn9cfk4xhvls-dex-0.8.0

Thank you!


Slow performance of lamdas

@soulcutter Actually lambdas is very slow and can't be optimized by ruby VM.
What would you think if I'll  replace lambdas for normalization stuff with some abstract class?
==================================
  Mode: cpu(1000)
  Samples: 901 (0.00% miss rate)
  GC: 126 (13.98%)
==================================
     TOTAL    (pct)     SAMPLES    (pct)     FRAME
       107  (11.9%)         107  (11.9%)     Saxerator::Configuration#hash_key_normalizer

That's a good idea :+1:


style(amplify-category-auth): Standardizing tab spaces in templates

Description of changes
Some auto-generated files included extraneous whitespace, and in some cases tab width is different across files (typically 2 and 4 spaces), therefore standardized to tab width of 2
Issue #, if available
#7635
#391
Description of how you validated changes
yarn test
Checklist

[x] PR description included
[x] yarn test passes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #7664 (b6d8075) into master (00d6676) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #7664   +/-   ##
=======================================
  Coverage   51.79%   51.79%
=======================================
  Files         547      547
  Lines       27626    27626
  Branches     5342     5342
=======================================
  Hits        14308    14308
  Misses      12326    12326
  Partials      992      992

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 00d6676...b6d8075. Read the comment docs.

@studpeps would you mind creating a project and running amplify add auth to generate these files and take a look at the output. There are still some places where the formatting looks off. For example, in the generated Create Auth Challenge file, I'm seeing sections like this:
        }    },
    "Outputs": {

@studpeps would you mind creating a project and running amplify add auth to generate these files and take a look at the output. There are still some places where the formatting looks off. For example, in the generated Create Auth Challenge file, I'm seeing sections like this:
        }    },
    "Outputs": {

@cjihrig  sure, will rectify these

Hey @cjihrig, sorry my bad thanks for bringing it back to my attention.
I would be submitting the final commit, in the coming week :)


Feature Suggestion

may i ask if the offline mod can replace the default deck you use in solo mode for "Loaner Deck" duels thanks

There isn't a UI deck selector for the loaner deck so that isn't something I could add. It would be possible to write code to remove all tutorial / loaner deck duels so there are only regular duels.
If you'd like to modify the loaner decks then check Data/SoloDuels/ where all of the deck contents can be found.