Python 3.5+ non-admin installation leaves traces in registry

Hi,
i got this error:
DISPLAY: 'GetPython3.5.2-amd64.exe' TYPE: DOWNLOAD STATE: TRANSFERRED
PRIORITY: NORMAL FILES: 1 / 1 BYTES: 30177896 / 30177896 (100%)
Transfer complete.
Installing...
Python is installed
Installing pip...
Der Befehl "python" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Preparing Python for Kivy...
Der Befehl "python" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "python" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "python" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "python" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
E:\Python\whls\Kivy-1.9.2.dev0-cp35-none-win_amd64.whl konnte nicht gefunden werden
Running touchtracer demo...

---------- E:\PYTHON\ERROR.TXT: 1
Drücken Sie eine beliebige Taste . . .

System is Win10
which log i have to post?
the "msi_000-007 _JustForMe.log???

Maybe you have a little bit older version of installer. 3.5.2 is quite new, so it needs polishing, but still it works on win8.1 out of box. Try to get the latest kivy.bat.
Then try to look if you already have Python installed on your system (Win+X, Programs and features, look for "Python"). If it is, this might be the issue, because of the new installer since 3.5. I still didn't manage to push it to a state where it works only as unpacking, therefore it still uses registry. If Python is installed, remove it with these steps:

repair python installation (to get files back, otherwise uninstall fails)
uninstall python

If you have both Python 3.5 removed and the latest kivy.bat, run the installation again, it should work as expected. If not, then send the msi_000_core_JustForMe.log and msi_002_exe_JustForMe.log files.

Ok, thanks.
It works.
Greetings

What was the problem? Old version or installed Python?

Well,
i did bouth at the same time.
So i dont know.
I downloaded the .bat from this github
https://github.com/KeyWeeUsr/KivyInstaller
so it should be the installed Python.
Greetings

Thanks for further info. Greetings :)

I am frustrated,
after a reinstall of the complete System i want to install Kivy again and got the same error.
There was no Python installed and i used the newest bat.
msi_000_core_JustForMe.txt
msi_002_exe_JustForMe.txt

I'm not really sure what's going on now, but it might be worth looking into this folder:
C:\Users\Bene\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.5\

if there isn't some .lnk file. If there is, right-click on it → Properties. What's the path in Target? Also, what happens if you try to install it to C:\ drive instead of E:?

Hi,
i will test ist next week and give u a feedback.

@Ch3fk0ch88 Now it should be fixed for both admin and non-admin installation. Download the latest bat version (2.4) and it should work fine.


service: Handle backend with initial state set to Terminating

Backends were previously set by default with BackendStateActive as
initial state. Even though it seems strange you can have endpointslices
starting in a terminating state.
When the EnableK8sTerminatingEndpoint knob is activated in
pkg/k8s/endpoints.go:ParseEndpointSlice, endpoints in terminating state
aren't skipped. Now moving forward in the logic, in UpsertService
we construct the backends list without considering its initial state.
With these two conditions, a new backend even in BackendTerminatingState
was considered active b/c of the default BackendStateActive and thus
mechanically added to the bpf backends map.
This was resulting in packets sent to a remote not accepting any
connections.
This patch fixes this situation by not setting a default state to the
backend.

Here the proof that endpointslice in terminating mode (as initial state) was considered active
Below the output of a homemade tool subscribed to a specific endpointslice's events.

A new endpoint chazam-78bcf8785c-769zv added with ready, serving & terminating set to false.
Without waiting its readiness I deleted it right after which resulted in an endpoint with ready, serving set to false but terminating set to true

action, ip, pod_name, node_name, ready, serving, terminating
newEndpoint,<IP_ADDRESS>,chazam-78bcf8785c-769zv,i-0e9b6f012192efa19,false,false,false
updateCondition,<IP_ADDRESS>,chazam-78bcf8785c-769zv,i-0e9b6f012192efa19,false,false,true

Now below the output of cilium service list, before kubectl delete pod chazam-78bcf8785c-769zv
36    <IP_ADDRESS>:80      ClusterIP      1 => <IP_ADDRESS>:80 (active)
                                            2 => <IP_ADDRESS>:80 (active)
                                            3 => <IP_ADDRESS>:80 (active)
                                            4 => <IP_ADDRESS>:80 (active)
                                            5 => <IP_ADDRESS>:80 (active)
                                            6 => <IP_ADDRESS>:80 (active)
                                            7 => <IP_ADDRESS>:80 (active)
                                            8 => <IP_ADDRESS>:80 (active)
                                            9 => <IP_ADDRESS>:80 (active)
                                            10 => <IP_ADDRESS>:80 (active)

Now, after executing kubectl delete pod chazam-78bcf8785c-769zv we can see that the <IP_ADDRESS> ip was added as an active backend.
36    <IP_ADDRESS>:80      ClusterIP      1 => <IP_ADDRESS>:80 (active)
                                            2 => <IP_ADDRESS>:80 (active)
                                            3 => <IP_ADDRESS>:80 (active)
                                            4 => <IP_ADDRESS>:80 (active)
                                            5 => <IP_ADDRESS>:80 (active)
                                            6 => <IP_ADDRESS>:80 (active)
                                            7 => <IP_ADDRESS>:80 (active)
                                            8 => <IP_ADDRESS>:80 (active)
                                            9 => <IP_ADDRESS>:80 (active)
                                            10 => <IP_ADDRESS>:80 (active)
                        --->              11 => <IP_ADDRESS>:80 (active)

This issue is gone in v1.13 b/c of this specific commit https://github.com/cilium/cilium/commit/ed118b430a70d50bd5cd3fbfeb2f7f472e77e3f9#diff-2b655ba613ca8386fd9f4c383200480492ee25711e24a575f3fc8b33531b4672L1468 where basically no more default state is set to backends.

@borkmann I'm assigning you as a reviewer given it touches the LB handling area, but feel free to reassign as needed.

@sterchelen could you elaborate on the behavior when the agent gets restarted? Would this cause temporary drop or would they remain in active if they were considered active before?
Cc @aditighag / @oblazek for reviews

Could you elaborate on the behavior when the agent gets restarted?

@borkmann Didn't test it as this scenario wasn't part of the observed behavior. If it's needed, I could make a try.

hey guys, we would like to deploy this patch in our clusters, possible to have a review 🙏🏼?

Can you explain when you can have endpoint slices starting in a terminating state?

Sure @aditighag, I guess I need to rephrase a bit.
From the endpointslice pov (k8s state), the endpoint isn't starting in a terminating state you are right and thus, at this moment, it is not added to the cilium's internal state.
Though when the endpoint is marked as terminating (in k8s state) right after being created and with the conjunction of EnableK8sTerminatingEndpoint knob, the endpoint starts being handled by cilium and is marked as BackendStateActive b/c we don't consider its k8s state while being translated to cilium struct.

Now in our context, we have karpenter installed in our cluster, we are experiencing this transition from created > terminating state when karpenter consolidates too quickly our instances:

vm created, configured
cilium scheduled & running
business pod A scheduled > business pod A evicted --> this transition, when a pod isn't transitioning to a ready state, generates the issue

I hope to have answered your question 🙏🏼.

The unit test added in the PR passed, marking it as ready for merge.

/test

/test-1.12

/test

The fix was against 1.12, hence why e.g. ci-l4lb failed with Error: unknown flag: --backend-weights.

Can you rebase on latest master? Then the failing tests should pass.

/test

Kicked a failed to-external test.

/ci-l4lb-1.12


[BUG] Playing A roblox Game Status On Discord Is not showing, i did all steps but nothing works yet.

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[ ] My answer given in the checkbox above is a lie.

What problem did you encounter?
The games i play using roblox dont show on discord, i use play roblox tab which is linked to bloxstrap. ive did all steps but nothing working

Thanks for reporting, can you send the latest log file from %localappdata%\Bloxstrap\Logs please?

Issue solved
On Wed, 16 Oct 2024 at 1:20 PM pizzaboxer @.***> wrote:

Issue has stale for over a month, and will be reopened if further
information is given.
—
Reply to this email directly, view it on GitHub
https://github.com/bloxstraplabs/bloxstrap/issues/2646#issuecomment-2416369965,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKQQMMPC57WEAD4GTQJHGIDZ3Y4VDAVCNFSM6AAAAABMO25GJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJWGM3DSOJWGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Extension pinning: UI should make it clear that an extension is pinned

Testing #172034

Install a specific version of an extension:
code-insiders --install-extension<EMAIL_ADDRESS>

Open the extensions viewlet and look at the WSL extension.

I can't easily tell that this extension is pinned unless there's an update button.

If there's an update button I have to open the button drop down to see that update is disabled

E.g. playing around with multiple VS Code instances. The second one has not yet discovered that there's an update

Some ideas:

In both in the extensions viewlet / view, have a blue button Enable update if an extension is installed and pinned. Even if there's currently no update
in the extensions viewlet context menu on the gear, have a check box 'Ignore Updates`
in the extensions view add a label after This extension is enabled globally.,: Pinned to version 0.75.1, update is disabled

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Scrolling in list view

I think we should follow the same patterns react native core uses for simplicity and consistency. I don't think using a RN ListView automatically earns you a scrollable list. So I believe @dabit3's implementation right now is correct and the developer should be aware of difference between View and ScrollView.


Add contributor

- Summary
Add myself as contributor 🙂

- Test plan
None required

- Description for the changelog
Add growdigital as contributor

- A picture of a cute animal (not mandatory but encouraged)

Glow worm, at night, stretching the definition of cute

Deploy preview for netlify-cms-www ready!
Built with commit 35c47a38ca6c733c7a6f0424c68adfd682ee4a8c
https://deploy-preview-1595--netlify-cms-www.netlify.com

I think I've bundled some commits in that shouldn't be there, will resubmit!


Add Foodstand to RN showcase

Foodstand is a community built around eating good food. We've rewritten our iOS app in React Native and are would love to submit it to the showcase!
Thanks!

Thanks!

@rreusser - FYI this app crashes when I try to progress past the "Choose some interests below" screen, signing in via Facebook. Seems to work with Instagram.

Thanks Brent.  Are you by chance on an iPhone 6+?
On Mon, Oct 19, 2015 at 7:00 PM, Brent Vatne<EMAIL_ADDRESS>wrote:

@rreusser https://github.com/rreusser - FYI this app crashes when I try
to progress past the "Choose some interests below" screen, signing in via
Facebook. Seems to work with Instagram.
—
Reply to this email directly or view it on GitHub
https://github.com/facebook/react-native/pull/3520#issuecomment-149370997
.

iPhone 6S (normal)

Thanks again Brent.  We're investigating this issue.

@brentvatne If you update the app to 3.0.1 this issue has been fixed and you should be able to sign in via FB.  Thanks!

Nice one @udfalkso :)


Move LMStudio.LMStudio 0.2.25 to ElementLabs.LMStudio 0.2.25

Microsoft Reviewers: Open in CodeFlow

@wingetbot run

Possible duplicate package entry.
Similar installer SHA256 hash found in manifest:

InstallerSha256: 049a309ba19935864e6db0eb7f0ca75da44150cc3057c65e2d9eed3a67cf4c8b

manifests\l\LMStudio\LMStudio\0.2.25

Verify by hash.


Efficiency CSS on Requirement Checker

Ok, Yes I understand that the requirement is rarely used and it is only for development, not for production.
But if it must be with the current method, using the 6807 lines only for css ? like in css.php
Only using the container, alerts are also table css class ?
I do not know this is important or not, but when I do online requirement checker on a network connection is not good that this is really felt.
What's your opinion ? :)

It's OK to remove unused stuff.

:+1:

At the present state Checker CSS is just a full copy of Twitter Bootsrtap CSS.
It is put there in such way for simpicity and to be easy to update.
Custom CSS could be composed for the checker, but the core team does not have spare resources for its composition and suport.

Yes current css code just a full copy of bootstrap 3
But i think this is no need a 6807 lines only for css style, 'same' css code, not all useful code inside core framework. like @samdark say, I think will be better to remove unused stuff.

Absolutely. Do you want to handle it?

Okay, but I want to take a break tonight
Maybe tomorrow, and please to be checked later :)

https://github.com/yiisoft/yii2/issues/10791


suggest some features

Thank you for your great job,
I have a question, Is it possible to add some feature in remote data mode that directive could returns a key field value instead of the root object? (for example one of the search fields such as id or ...). In this situation I think if directive could accept a key field value as default value, then for a 2-way binding, directive could search by id in remote data and can initial the result record as selected item or default value.
Thanks.

This seems to be for a specific use case, at this point I would just fork the repo and implement my own version.


Add Identity Digital-hosted ccTLDs to overrides

I noticed these today, which aren't listed in the IANA bootstrap file, but nonetheless got successful responses from the Identity Digital RDAP server.

Excellent, thanks!


Merge gd4 branch to master

@Geequlim
What do you think about?

Branch master to be godot3
Merging gd4 to master?

@fire Some things to note:

The project isn't what we could call "stable", setting it as master might not be the better choice
The guys from the main repo move fast, master is now Godot 4.1 (dev) and could lead to confusion

But overall, at some point it would be great to have Godot 4.0rc Javascript module as master indeed

I'll check back later when Godot Engine 4.0 / Javascript module is considered more stable.


Maintainers Wanted

Hi,
Mi name is Joan Barros. I'm currently trying to use this module in a project of mine and If no one else can do it then I guess I could maintain it.
Other candidates please comment on this issue with your proposal.
Regards.

I want to give it a go too, or help at least :)

I've made you both committers although you'll need to create npm accounts before I add you on there too

Question:  Why wouldn't this info be added to React Native's Platform object?  Seems like it's mature and stable enough.
As of right now, RN has the stub for Platform detection, and even version on Android.  It seems like if this project is needing maintainers, it would be idea to try to get it into React Native core as properties we could expect from this, and all future devices.
Platform ios -> https://github.com/facebook/react-native/blob/235b16d93287061a09c4624e612b5dc4f960ce47/Libraries/Utilities/Platform.ios.js
Platform android -> https://github.com/facebook/react-native/blob/235b16d93287061a09c4624e612b5dc4f960ce47/Libraries/Utilities/Platform.android.js

I actually have a PR that does just that but the RN team wanted it in a separate module
Question:  Why wouldn't this info be added to React Native's Platform object?  Seems like it's mature and stable enough.
As of right now, RN has the stub for Platform detection, and even version on Android.  It seems like if this project is needing maintainers, it would be idea to try to get it into React Native core as properties we could expect from this, and all future devices.
Platform ios -> https://github.com/facebook/react-native/blob/235b16d93287061a09c4624e612b5dc4f960ce47/Libraries/Utilities/Platform.ios.js
Platform android -> https://github.com/facebook/react-native/blob/235b16d93287061a09c4624e612b5dc4f960ce47/Libraries/Utilities/Platform.android.js

You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/rebeccahughes/react-native-device-info/issues/37#issuecomment-215750082

That's really interesting @rebeccahughes - Thanks!

I would like to maintain (or at least help with maintaining) this module too :)

Hi,
I am Gaurav and have been using this package in my production app. If you are looking for more maintainers, I would love to be a part.
My npm id is same as github.
Thanks,
Gaurav

I'd like to be a maintainer as well.   Then I think it might be time to remove the maintainers wanted from github README. :)
I'll consider it my first task.

Hi Rebecca,
Thank you for making me a collaborator on this repository. Please also add me as one to npm: @lilach


github bellsoft-jre17.0.5+8-linux-amd64.tar.gz x509: certificate signed by unknown authority

i learning docker,
java 17.0.5 2022-10-18 LTS
Java(TM) SE Runtime Environment (build 17.0.5+9-LTS-191)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.5+9-LTS-191, mixed mode, sharing)
when i generate docker images, it send me  this problem.What is problem. i try it a lot of solution at this page and anohter page. Add cert ...
Can you help me please?
Running creator
[INFO]     [creator]     ===> ANALYZING
[INFO]     [creator]     Previous image with name "docker.io/eazybytes/configserver:latest" not found
[INFO]     [creator]     ===> DETECTING
[INFO]     [creator]     6 of 24 buildpacks participating
[INFO]     [creator]     paketo-buildpacks/ca-certificates   3.5.1
[INFO]     [creator]     paketo-buildpacks/bellsoft-liberica 9.10.1
[INFO]     [creator]     paketo-buildpacks/syft              1.23.0
[INFO]     [creator]     paketo-buildpacks/executable-jar    6.5.0
[INFO]     [creator]     paketo-buildpacks/dist-zip          5.4.0
[INFO]     [creator]     paketo-buildpacks/spring-boot       5.22.0
[INFO]     [creator]     ===> RESTORING
[INFO]     [creator]     ===> BUILDING
[INFO]     [creator]
[INFO]     [creator]     Paketo Buildpack for CA Certificates 3.5.1
[INFO]     [creator]       https://github.com/paketo-buildpacks/ca-certificates
[INFO]     [creator]       Launch Helper: Contributing to layer
[INFO]     [creator]         Creating /layers/paketo-buildpacks_ca-certificates/helper/exec.d/ca-certificates-helper
[INFO]     [creator]
[INFO]     [creator]     Paketo Buildpack for BellSoft Liberica 9.10.1
[INFO]     [creator]       https://github.com/paketo-buildpacks/bellsoft-liberica
[INFO]     [creator]       Build Configuration:
[INFO]     [creator]         $BP_JVM_JLINK_ARGS           --no-man-pages --no-header-files --strip-debug --compress=1  configure custom link arguments (--output must be omitted)
[INFO]     [creator]         $BP_JVM_JLINK_ENABLED        false                                                        enables running jlink tool to generate custom JRE
[INFO]     [creator]         $BP_JVM_TYPE                 JRE                                                          the JVM type - JDK or JRE
[INFO]     [creator]         $BP_JVM_VERSION              17.*                                                         the Java version
[INFO]     [creator]       Launch Configuration:
[INFO]     [creator]         $BPL_DEBUG_ENABLED           false                                                        enables Java remote debugging support
[INFO]     [creator]         $BPL_DEBUG_PORT              8000                                                         configure the remote debugging port
[INFO]     [creator]         $BPL_DEBUG_SUSPEND           false                                                        configure whether to suspend execution until a debugger has attached
[INFO]     [creator]         $BPL_HEAP_DUMP_PATH                                                                       write heap dumps on error to this path
[INFO]     [creator]         $BPL_JAVA_NMT_ENABLED        true                                                         enables Java Native Memory Tracking (NMT)
[INFO]     [creator]         $BPL_JAVA_NMT_LEVEL          summary                                                      configure level of NMT, summary or detail
[INFO]     [creator]         $BPL_JFR_ARGS                                                                             configure custom Java Flight Recording (JFR) arguments
[INFO]     [creator]         $BPL_JFR_ENABLED             false                                                        enables Java Flight Recording (JFR)
[INFO]     [creator]         $BPL_JMX_ENABLED             false                                                        enables Java Management Extensions (JMX)
[INFO]     [creator]         $BPL_JMX_PORT                5000                                                         configure the JMX port
[INFO]     [creator]         $BPL_JVM_HEAD_ROOM           0                                                            the headroom in memory calculation
[INFO]     [creator]         $BPL_JVM_LOADED_CLASS_COUNT  35% of classes                                               the number of loaded classes in memory calculation
[INFO]     [creator]         $BPL_JVM_THREAD_COUNT        250                                                          the number of threads in memory calculation
[INFO]     [creator]         $JAVA_TOOL_OPTIONS                                                                        the JVM launch flags
[INFO]     [creator]         Using Java version 17.* from BP_JVM_VERSION
[INFO]     [creator]       BellSoft Liberica JRE 17.0.5: Contributing to layer
[INFO]     [creator]         Downloading from https://github.com/bell-sw/Liberica/releases/download/17.0.5+8/bellsoft-jre17.0.5+8-linux-amd64.tar.gz
[INFO]     [creator]     unable to invoke layer creator
[INFO]     [creator]     unable to get dependency jre
[INFO]     [creator]     unable to download https://github.com/bell-sw/Liberica/releases/download/17.0.5+8/bellsoft-jre17.0.5+8-linux-amd64.tar.gz
[INFO]     [creator]     unable to request https://github.com/bell-sw/Liberica/releases/download/17.0.5+8/bellsoft-jre17.0.5+8-linux-amd64.tar.gz
[INFO]     [creator]     Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/115621629/4522d780-0a4c-40ae-a3d1-d70a38bda0b9?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221222%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221222T133020Z&X-Amz-Expires=300&X-Amz-Signature=43da7e88ed229441a0bf4e8eb6dcf912aa60ca1c44bed3d8832b26382c49e091&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=115621629&response-content-disposition=attachment%3B filename%3Dbellsoft-jre17.0.5%2B8-linux-amd64.tar.gz&response-content-type=application%2Foctet-stream": x509: certificate signed by unknown authority
[INFO]     [creator]     ERROR: failed to build: exit status 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  26.736 s
[INFO] Finished at: 2022-12-22T16:30:09+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.7.4:build-image (default-cli) on project configserver: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:2.7.4:build-image failed: Builder lifecycle 'creator' failed with status code 51 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

You have a network problem.
[INFO] [creator] unable to download https://github.com/bell-sw/Liberica/releases/download/17.0.5+8/bellsoft-jre17.0.5+8-linux-amd64.tar.gz
[INFO] [creator] unable to request https://github.com/bell-sw/Liberica/releases/download/17.0.5+8/bellsoft-jre17.0.5+8-linux-amd64.tar.gz
[INFO] [creator] Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/115621629/4522d780-0a4c-40ae-a3d1-d70a38bda0b9?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221222%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221222T133020Z&X-Amz-Expires=300&X-Amz-Signature=43da7e88ed229441a0bf4e8eb6dcf912aa60ca1c44bed3d8832b26382c49e091&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=115621629&response-content-disposition=attachment%3B%20filename%3Dbellsoft-jre17.0.5%2B8-linux-amd64.tar.gz&response-content-type=application%2Foctet-stream": x509: certificate signed by unknown authority

The buildpack is trying to download the binaries it needs, but there is likely a device on your network that is intercepting traffic and rewriting the TLS certificates. That is usually why one would see these certificate errors, especially on a corporate network, but it could also mean someone is unexpectedly trying to intercept your TLS traffic.
At any rate, you either need to obtain the TLS certificate from the network device that is rewriting your TLS traffic and make it be trusted by the buildpacks (all of the certificates it generates will be signed by its certificate, so if you trust its certificate then the connection can be trusted again), or you can download the binaries in advance and provide them to the buildpack through a different means, dependency mappings are the way to do that.
In either case you need to add bindings. Bindings can be a little tricky to get right, which is why I created a tool to manage them, binding-tool.

To create bindings for a CA cert, run bt ca-certs -c <ca-cert-file>
To download dependencies and create bindings for them, bt dm -b <buildpack>, i.e. bt dm -b paketo-buildpacks/bellsoft-liberica.

This will create a bindings/ directory in the current working directory, just volume map that into your build with --volume $PWD/bindings:/platform/bindings, or follow the instructions in the README.
Hope that helps!

dear dmikusa firstly thanks for help,
i am new learning docker and cloud tech. and dont know make it be trusted by the buildpacks. can you help me please. i read your written. but i dont understand :(

You have a network problem.
[INFO] [creator] unable to download https://github.com/bell-sw/Liberica/releases/download/17.0.5+8/bellsoft-jre17.0.5+8-linux-amd64.tar.gz
[INFO] [creator] unable to request https://github.com/bell-sw/Liberica/releases/download/17.0.5+8/bellsoft-jre17.0.5+8-linux-amd64.tar.gz
[INFO] [creator] Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/115621629/4522d780-0a4c-40ae-a3d1-d70a38bda0b9?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221222%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221222T133020Z&X-Amz-Expires=300&X-Amz-Signature=43da7e88ed229441a0bf4e8eb6dcf912aa60ca1c44bed3d8832b26382c49e091&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=115621629&response-content-disposition=attachment%3B%20filename%3Dbellsoft-jre17.0.5%2B8-linux-amd64.tar.gz&response-content-type=application%2Foctet-stream": x509: certificate signed by unknown authority

The buildpack is trying to download the binaries it needs, but there is likely a device on your network that is intercepting traffic and rewriting the TLS certificates. That is usually why one would see these certificate errors, especially on a corporate network, but it could also mean someone is unexpectedly trying to intercept your TLS traffic.
At any rate, you either need to obtain the TLS certificate from the network device that is rewriting your TLS traffic and make it be trusted by the buildpacks (all of the certificates it generates will be signed by its certificate, so if you trust its certificate then the connection can be trusted again), or you can download the binaries in advance and provide them to the buildpack through a different means, dependency mappings are the way to do that.
In either case you need to add bindings. Bindings can be a little tricky to get right, which is why I created a tool to manage them, binding-tool.

To create bindings for a CA cert, run bt ca-certs -c <ca-cert-file>
To download dependencies and create bindings for them, bt dm -b <buildpack>, i.e. bt dm -b paketo-buildpacks/bellsoft-liberica.

This will create a bindings/ directory in the current working directory, just volume map that into your build with --volume $PWD/bindings:/platform/bindings, or follow the instructions in the README.
Hope that helps!

dear dmikusa firstly thanks for help,
i am new learning docker and cloud tech. and dont know make it be trusted by the buildpacks. can you help me please. i read your written. but i dont understand :(

I'm not sure how much I can add. Something is intercepting your TLS traffic. TLS protects you from this which is why you are seeing an error instead of the connection being established, it prevents you from connecting to the wrong party. That could mean someone is maliciously trying to intercept your traffic or more likely, it means your employer/corporate network is intercepting TLS traffic so that they can view your traffic. If you need more help there, I would suggest talking to your IT/network team. In either case, they should be able to point you in the right direction.
What is commonly the outcome of the situation you're in is that you'll get a TLS CA certificate that you need to trust. Once you get that file, follow the instructions I linked. This will allow the buildpacks to trust that certificate, likely generated by your IT team, and in turn trust the connections it makes to download the resources to be installed.
HTH

güvenmeniz gereken bir TLS CA sertifikası almanızdır. Bu dosyayı aldıktan sonra, bağlantısını verdiğim talimatları izleyin

thanks dmikusa. i try it.


It appears as normal drawer menu

wrote the code exactly as the example, except i use getx to manage the state

yes, it looks like a regular drawer. do you have a better example that matches your demo images?

anyone got this to work?

This package not working as expected use flutter_zoom_drawer


DO NOT MERGE - run tests against staging

This is to help debug performance issues in the API, as these tests should reliably fail with timeouts, and we can enable profiling on staging to help us investigate that. See https://www.flowdock.com/app/rulemotion/resin-devops/threads/swpV-lO77T3GqUFRzDfowpeQGGY for details.

For some reason this isn't working properly with appveyor - I'm just going to ignore it, as the two travis builds should be enough for a repro


Adjust Qwen2-7B test case

What does this PR do?
Since the accuracy patch for Qwen2 family (PR Link) was merged, the test case should be also adjusted for the batch size and output.
GAUDI2_CI=1  RUN_SLOW=1 python3.10 -m pytest tests/test_text_generation_example.py -s -v -k generation_bf16_1x[token0-Qwen/Qwen2-7B-256

Result:
Stats:
----------------------------------------------------------------------------------
Input tokens
Throughput (including tokenization) = 8871.747465242199 tokens/second
Memory allocated                    = 62.52 GB
Max memory allocated                = 65.15 GB
Total memory available              = 94.62 GB
Graph compilation duration          = 10.456412034000095 seconds
----------------------------------------------------------------------------------

PASSED

========================================================================================================== warnings summary ===========================================================================================================
tests/test_text_generation_example.py::test_text_generation_bf16_1x[token0-Qwen/Qwen2-7B-256-False-8870.945160540245-True]
  /usr/lib/python3.10/inspect.py:288: FutureWarning: `torch.distributed.reduce_op` is deprecated, please use `torch.distributed.ReduceOp` instead
    return isinstance(object, types.FunctionType)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============================================================================================ 1 passed, 65 deselected, 1 warning in 45.94s =============================================================================================

Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

@jiminha  Please help to review it. Thanks.

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


Updated the provisioning urls to default to ssl

Change the default urls for the chef install to https

I'm on board with this completely, but not merging just yet--we need to do some testing.  I'm a little worried about its interaction with the recent Chef ssl https certificate verification stuff.

Tested and committed as 414ee53 .  I tweaked the patch to add www back in since it was redirecting (and failing) without it.


WIP: General Documentation

depends on #128
this adds all files required to build the µTeX documentation using Doxygen. It also ships a custom theme, heavily inspired by the theme gi-docgen uses by default (the docs for the GTK widget introduced in my other PR) and somewhat based upon doxygen-awesome. Mobile support is currently very broken tho.
the CI publishes documentation as artifacts, if you want to take a look at the current design.

So, I've implemented support for viewing pages on mobile and I've added a (WIP) page about CLM Fonts.
whats missing now is:

QT5 Documentation (@PikachuHy I think you are responsible for most of the QT stuff, could you look into that?)
Win32 Documentation
Flutter/Skia Documentation?
Guide to implement new platforms
Fully specify the CLM file format.

@NanoMichael could you maybe look into writing documentation for Flutter/Skia and the CLM file format (see the table in doc/fontdoc.h), as I don't have much experience with either of them
I don't quite know why, but the version of doxygen that the ubuntu CI ships with is too old and results in a broken search bar / broken nav on mobile. But that issue doesn't occur when building on my machine (doygen 1.9.4).

could you maybe look into writing documentation for Flutter/Skia and the CLM file format (see the table in doc/fontdoc.h), as I don't have much experience with either of them

Sure, I'll fill out the CLM doc.


Setup the agent through a configuration file instead of lots of args

Add a --c or -c argument to pass a yml file.

Hello @gfronza.
I've submitted a PR for that, but with a ConfigParser compatible config file.
I thought this might be better because this module is installed by default.
If you think this is acceptable, please merge.
Thanks.


Confused about ProbabilisticLoss

In the mile.losses.ProbabilisticLoss, I know the first posterior distribution should close to the N(0,I), but the code may be confusing for me. Like the screenshotthe posterior_log_sigma has been cut off the first element, why is the first element still selected in the line of first_kl ?

Hello! Empirically, we found that putting no constraint on the first distribution (e.g. making it match a standard normal distribution) slightly improves results. That's why there is no loss on the first posterior distribution.


chore(appveyor): Explicitly set base image

As Visual Studio 2013 is lacking some features that are
finding use in newer Node / V8 versions, this explicitly
specifies to use the VS2015 base image
Change-Type: patch
Connects To: #222

Presumably this doesn't introduce any backwards-incompatibility problems?

No, this is purely on the C++ language feature side, not the binaries themselves or anything

Rebased against master


Unable to connect to radarr or sonarr

Describe the bug
I have maintainerr set up in my kubernetes cluster.  When trying to configure maintainerr to connect to sonarr or radarr, I get an error "Connection failed! Please check and save your settings"
To Reproduce
Steps to reproduce the behavior:

Set up maintainerr in kubernetes
Configure traefik as reverse proxy to maintainerr
Log in to maintainerr, set up plex.  No issues here.
Go to Settings for Radarr or Sonarr
Setup hostname, port and API key
Click Test

Expected behavior
I expected maintainerr to connect to radarr or sonarr
Screenshots

Device (please complete the following information):

Kubernetes cluster - k3s version v1.26.4+k3s1 (8d0255af)

Additional context
Is there a way for me to enable additional debugging to try to determine what the problem is here?

If it helps any, here's the kubernetes manifest that I'm using
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: maintainerr
  namespace: default
  labels:
    app: maintainerr

spec:
  replicas: 1
  selector:
    matchLabels:
      app: maintainerr
  template:
    metadata:
      labels:
        app: maintainerr
    spec:
      securityContext:
        runAsUser: 1024
        runAsGroup: 100
      containers:
        - name: maintainerr
          image: ghcr.io/jorenn92/maintainerr:latest
          imagePullPolicy: Always
          env:
            - name: TZ
              value: 'America/New_York'
            - name: UID
              value: '1024'
            - name: GID
              value: '100'
            - name: UMASK
              value: '002'
          ports:
            - name: web
              containerPort: 6246
          volumeMounts:
            - mountPath: /opt/data
              name: config
      dnsConfig:
        options:
          - name: ndots
            value: "1"
      volumes:
        - name: config
          nfs:
            server: <IP_ADDRESS>
            path: /volume1/docker/maintainerr
---
kind: Service
apiVersion: v1
metadata:
  name: maintainerr
  namespace: default
spec:
  ports:
    - name: web
      port: 6246
      targetPort: web
  selector:
    app: maintainerr
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: maintainerr
  namespace: default
spec:
  entryPoints:
    - websecure
  routes:
    - kind: Rule
      match: Host(`maintainerr.home.local`)
      services:
        - name: maintainerr
          port: 6246

OK, so I put this in a little too quickly.  I did some digging in the discussion and solved my own problem.  I had to save the settings first before testing them.  It would be nice if there was some notification that settings need to be saved first before testing.


bug npx capacitor-set-version for apple silicon

Hello,
I have a macstudio with the new Apple Silicon M1max
I have a bug in my ionic project with this command line =>
npx capacitor-set-version -a -v 1.0.0 -b 10003 ./
I have this error =>
›   Error: Unexpected argument: ./
›   See more help with --help
This command line is working in my other computer => macbookpro => intel

Hi @Manubg89,
The -a flag was deprecated in V2. If you need to set android only, replace the -a with set:android, like bellow:
npx capacitor-set-version set:android -v 1.0.0 -b 10003 ./

Thank you :). It's working


Push Notifications?

Thanks for sharing your work!
I would like to if there is any way to prompt user for allowing push notifications?

We usually use the third party remote push services, use theirs SDK to prompt user.
I will add a new case if you need to do it yourself.

That will be great! Thank you!

Version 1.1.0 has been released.


npm pkg --fix package.json

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Writing one's own script to spawn humans at user-defined poses

Hi, thanks for the great project!
I'm wondering what's the best entry point to writing one's own script to generate images with self-defined human models/poses, and potentially with self-defined objects in the scenes.
The existing randomization code is really cool. Just wonder whether one can do more control in there.
Thanks!

Hi @hzyjerry. Thanks for your interest in this project.
Adding your own human assets and animations is fairly straightforward in Unity. There are multiple formats you can use. Just need to ensure that they have the same attributes as the example assets provided. You may need some input from a Technical Artist to prepare your assets. I can recommend the Human Pose Labeling and the Unity Perception tutorials as they explain these more in depth.
Hope that helps.

Closing this for now. Please feel free to reopen if you had additional questions.


Empty cards need two runs to render correctly

Having a card that only has the YAML-header won't render the header info on first invocation of preview_demos.
They do appear after running the command again.

I can't reproduce this:
# ---
# title: empty file
# ---

julia> preview_demos("empty.jl"; theme="grid")
┌ Info: Detect themes in both page config file and keyword `theme`, use "grid"
│   config = "nothing"
└   keyword = "grid"
[ Info: SetupDemoCardsDirectory: setting up "preview_page" directory.
[ Info: SetupBuildDirectory: setting up build directory.
[ Info: Doctest: running doctests.
[ Info: ExpandTemplates: expanding markdown templates.
[ Info: CrossReferences: building cross-references.
[ Info: CheckDocument: running document checks.
[ Info: Populate: populating indices.
[ Info: RenderDocument: rendering document.
[ Info: HTMLWriter: rendering HTML pages.
[ Info: Redirect page URL: redirect docs-edit-link for demos in "preview_page" directory.
[ Info: Clean up DemoCards build dir: "preview_page"
"/private/var/folders/34/km3mmt5930gc4pzq1d08jvjw0000gn/T/jl_TYDYhy/build/index.html"

and I get


Update installation command in contributing

The stable version of nox doesn't work with the current nox.py file.
Also, the commands nox --session "interpreters(version='3.6')" don't work, or I misunderstood something

Thank you, @stsewd!


Enhancements for gce-setup.sh and error in dind-cluster.sh

To allow DinD to be easily used by developers at different locations, it would be nice to be able to specify the "zone" or have it read it in via config settings (like project is set).
May also want to allow the VM name to be overridden, so that the same script could be used from multiple machines.
In dind_cluster.sh, when E2E command is performed, it ends up running e2e.go and passing -check_version_skew, which appears to have been renamed to -check-version-skew.
If wanted, I could do a pull request with these changes.

Did a PR for some changes. Two tests failed. How do I retest, without pushing a new patch?
Do the tests setup GCE prior to the run, such that "zone" is defined, or do we need to handle the case where zone may not be configured in gcloud config?
Who should be assigned to this issue to review?

@pmichali you can't recheck using our CI without pushing new patchset. Or you're trying to do it on your local machine?
Travis needs to fetch your code. To fetch it you need to push code :)

@pigmej thanks. I did PR #31 to address the issue. It failed on one test, and I'm not sure why (so wanted to recheck).  Any thoughts about the zone question? I'm wondering if I need to check to see if config is empty and then hard code a zone as a last resort.

@pigmej Can you help with test issues? I created PR #35, which has just one simple change from this PR that doesn't affect DinD operation (the original patch for this commit too, did not affect the tests), and it is failing src-1.7 and src-master tests. Looks like there is an issue with the baseline tests for these two.
I've got several commits (this one enhancing GCE, and fixing arg for dind-cluster.sh script; PR #35 that fixes a test setup step, when running locally; and an upcoming patch that will provide IPv6 support).

@pmichali did you fix all issues here?

Yes, AFAIK.


Dramatically improve performance without impacting functionality

At a glance, most of these changes look sensible. I cannot vouch for its correctness (as in "being without bugs") without proper automated tests, though.


Corporate proxy not well supported

Environment:

Jib version: last maven plugin
Build tool: maven
OS: redhat 8

Description of the issue:
The corporate proxy (http://user:password@host:port) is not well supported.
Expected behavior:
docker.io images can be pulled thanks the proxy.
Notes

https://github.com/GoogleContainerTools/jib/blob/5e9a65f48a1631f32afbbe1bf5b574f38bb52d9c/jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MavenSettingsProxyProvider.java#L90 references proxyUser/proxyPassword but it is not a JVM configuration whcih is supported so it does pretty much nothing.
I didn't find how to force to use the proxy over http for https protocol in jib
using maven proxies should be sufficient and is likely desired for maven integration (note that maven wagon - dependencies/plugins download - falls back on http proxy when the url is in https protocol properly which enables the previous use case to work transparently)

@rmannibucau Jib supports proxy settings through both jvm system properties and the maven settings.xml. However the jvm configurations will take precedence over the maven settings. If you are still having issues after the links attached, could you provide a small example? We're also happy to accept any documentation contributions if the suggested docs are not clear.

Hi @mpeddada1 , the jvm settings partly work - only in non concurrent builds since it sets/reset system props which is more a workaround cause it can break other parts of the build in a concurrent setup. The maven settings does not work properly.
This issue is about ensure proxy setting is either properly read from settings.xml or the registry (like credentials which can be set next to from/to config.
As a workaround I disabled the concurrency in the build and split the proxy setup(s) but it is not consistent with maven config to have to not use maven build feature and to set the conf on the jvm.
I didnt check all details, just spotted a http client uses system config so can be the issue I hit.
If it helps the proxy I have is a http one with user/password and it is used for https connection (in http).
My proposal is to not use a http client with system setup but explicitly resolve it from the config programmatically - can use the system props but should never set any system props at runtime.
Hope it helps.

Hi @rmannibucau, could you create a PR for your proposal? We welcome external contribution for this issue.

I sadly don't have enough time to rewire it in FailoverHttpClient static factories of apache http clients (they use the default route planner which uses system props only) but form what I looked, it seems a custom (backend by actual maven proxies) java.net.ProxySelector can be implemented and passed from Mojos to FailoverHttpClient constructor (some tests to fix but nothing critical on main codebase) instead of setting any system properties, and similarly both http clients can get a custom CredentialsProvider backed by the maven configuration.
I assume defaults would reuse the JVM setup and if set just delegate to it but if not set it will use the maven config.
This way system properties will not be needed anywhere anymore but if set it still works and there is no more any issues.
Hope it helps a bit even if I would have preferred write some more code.

Just FYI for the team:

references proxyUser/proxyPassword but it is not a JVM configuration whcih is supported so it does pretty much nothing.

This is working proplery. It is true that http(s).proxyUser and http(s).proxyPassword are not one of the standard JVM system properties for proxies, but initially we manually wired these custom properties for our usage so that users can provide and set up proxy credentials. (Later, we removed the manual wiring after upgrading to Apache Http Client v2 which natively supports these custom properties.)

I didn't find how to force to use the proxy over http for https protocol in jib

If it helps the proxy I have is a http one with user/password and it is used for https connection (in http).

AFAIK, this (i.e., proxying HTTPS connection over HTTP-to-proxy that is password-protected) is a typical proxy setup. This should be working properly in Jib.

Reading proxy configurations from Maven settings.xml is also working as said in https://github.com/GoogleContainerTools/jib/issues/3796#issuecomment-1265737730, but I believe the problem is that you cannot configure proxies per registry. However, looks like I made a conclusion back then that even in Maven, it's not possible to specify per-host proxies (although my memory is hazy):

It doesn't seem possible to specify per-host proxies in Maven settings (or through http.proxyHost and https.proxyHost, so I think it doesn't really make much sense to add support for such advanced proxy configuration in Jib for now, if ever.

But I think this should be good enough in most cases. Normally, your will have a single proxy set up in your corporate, which will proxy all connections from your machine. I would think that having multiple proxies for different target hosts would be pretty rare.

@chanseokoh i have a single proxy in maven settings and it does not work until i set all jvm properties which is not compliant to maven proxy config (which works well for downloads) so there are two bugs there (one being to use system props and breaking other mojo running conccurently and the main one being to not be aligned on maven behavior).
Agree having proxies per target is an enhancement which can be out of scope for this ticket which has  a more important blocker (mvn alignment).
The comment https://github.com/GoogleContainerTools/jib/issues/3796#issuecomment-1265737730 is not accurate in my case, not sure why but i suspect it is because proxies are set for their protocol only (http) instead of http+https (keep in mind a http proxy is geberally used by http and https connections).

Came here from #1403, and can confirm this issue. Same situation, our proxy is using http:// also for https target URLs. I have a single entry with <protocol>http</protocol> in my settings.xml, but jib has problems connecting to registries.
Setting an additional <protocol>https</protocol> entry in settings.xml fixes jib, but creates problems with other tooling making connections https:// connections. And according to https://maven.apache.org/settings.html#proxies the protocol is the protocol for connecting to the proxy, it's not the protocol of the target URL.
A workaround which worked for me was setting MAVEN_ARGS with the -Dhttp.* and -Dhttps.* properties. But that should not be necessary. Other connections to https:// URLs initiated by Maven are working without it, just with the one http proxy entry in the settings.xml.

Take a look at this: https://github.com/GoogleContainerTools/jib/pull/1337#issuecomment-447052026
It could be that other tools are misinterpreting the settings.


erros when compiling on Linux/X86 (Ubuntu)

What is version of Linux required to build? Saying "Clone this repository from github into a local machine (Linux/X86):" in README [1] is (almost) not working for Ubuntu - lot of errors not sure if they are important or not ...
make build
basename: missing operand
Try 'basename --help' for more information.
basename: missing operand
Try 'basename --help' for more information.
/bin/sh: 3: [[: not found
/Users/aslom/Documents/awsm/go/src/github.ibm.com/z-cloud-integration/flowlogs-pipeline/bin/golangci-lint-v1.53.3 run --enable goimports --enable gofmt --enable ineffassign --timeout 5m
GOARCH=amd64 go build -ldflags "-X 'main.BuildVersion=0.1.10-rc1-914d470-dirty' -X 'main.BuildDate=2023-08-24 18:36'" "./cmd/flowlogs-pipeline"
GOARCH=amd64 go build -ldflags "-X 'main.BuildVersion=0.1.10-rc1-914d470-dirty' -X 'main.BuildDate=2023-08-24 18:36'" "./cmd/confgenerator"
basename: missing operand
Try 'basename --help' for more information.
basename: missing operand
Try 'basename --help' for more information.
./hack/update-docs.sh: line 24: docker: command not found
make: *** [Makefile:122: docs] Error 127

I am using lima-vm and Ubuntu is default
uname -a
Linux lima-lima-x86 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Ubuntu version
cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

[1] https://github.com/netobserv/flowlogs-pipeline/blob/main/README.md#build

@eranra


gulp.watch output to destination works only on first detected change, all changes detected properly

Hi! I use gulp 4 and gulp.watch to watch less files and run styles build task. Node version is 6.14.1. The problem is that build task runs properly at any changes (according to console output), but actual output file takes new changes only on first change fires.
The situation
My gulpfile is
var gulp = require('gulp');
var less = require('gulp-less');

var paths = {
    styles: {
        src: './bundles/*.less',
        watch: [
            './bundles/*.less',
            './less/**/*.less'
        ],
        dest: './dist/'
    }
};

var styles = function() {
    return gulp.src(paths.styles.src)
        .pipe(less())
        .pipe(gulp.dest(paths.styles.dest));
};

var stylesWatch = function() {
    gulp.watch(paths.styles.watch, styles);
};

gulp.task('styles', styles);
gulp.task('styles:watch', stylesWatch);
gulp.task('default', gulp.series(styles));

it contains styles taks, which has been run by gulp.watch every time, when any less changes. The basic idea is less folder contains all the less components, and the bundles less files use them by @import, so styles task source is only bundles dir.
Here is the fs tree. Output file is dev.css, in dist dir.

The problem
So, then i run watch task
`--> gulp styles:watch
[13:47:47] Using gulpfile gulpfile.js
[13:47:47] Starting 'styles:watch'...

...and have made some changes to less/grids/alpha/grid.less, i got this:
[13:49:44] Starting 'styles'...
[13:49:44] Finished 'styles' after 87 ms

styles task has worked properly, dev.css updated with new changes. But on the next changes i have the same console output, but actual output file is not updated. If i stop watch task and re-run it, it will act the same way. It'll updates the output file once but console output will show styles build task runs on every change proper.

There's a workaround here https://github.com/stevelacy/gulp-less/issues/283#issuecomment-371123935

@CavemanNinja thanks!  @ru-web-designer if the console is logging for your logger, that's not a gulp core issue.  Not building is a problem with less/gulp-less

I have same problem.
var gulp = require('gulp'),
settings = require('./settings'),
webpack = require('webpack'),
browserSync = require('browser-sync').create(),
postcss = require('gulp-postcss'),
rgba = require('postcss-hexrgba'),
autoprefixer = require('autoprefixer'),
cssvars = require('postcss-simple-vars'),
nested = require('postcss-nested'),
cssImport = require('postcss-import'),
mixins = require('postcss-mixins'),
colorFunctions = require('postcss-color-function');
gulp.task('styles', function() {
return gulp.src(settings.themeLocation + 'css/style.css')
.pipe(postcss([cssImport, mixins, cssvars, nested, rgba, colorFunctions, autoprefixer]))
.on('error', (error) => console.log(error.toString()))
.pipe(gulp.dest(settings.themeLocation));
});
gulp.task('scripts', function(callback) {
webpack(require('./webpack.config.js'), function(err, stats) {
if (err) {
console.log(err.toString());
}
console.log(stats.toString());
callback();

});
});
gulp.task('watch', function() {
browserSync.init({
notify: false,
proxy: settings.urlToPreview,
ghostMode: false
});
gulp.watch('.//*.php', function() {
browserSync.reload();
});
gulp.watch(settings.themeLocation + 'css//.css', gulp.parallel('waitForStyles'));
gulp.watch([settings.themeLocation + 'js/modules/.js', settings.themeLocation + 'js/scripts.js'], gulp.parallel('waitForScripts'));
});
gulp.task('waitForStyles', gulp.series('styles', function() {
return gulp.src(settings.themeLocation + 'style.css')
.pipe(browserSync.stream());
}))
gulp.task('waitForScripts', gulp.series('scripts', function(cb) {
browserSync.reload();
cb()
}))
Why i deceting the first changes only?


Media host

Could anyone please clarify how am I supposed to use Media-host. I'm running a container an I tunneled a ngrok tcp connection and the ngrok forwards to the 443 port. However in the Whatsapp applcation I can only use the external port from the Ngrok and I don't understand how am I supposed to use the media port (if there is any)

Hi @dephea! In the application, you can customize the media port. You can see instructions at https://faq.whatsapp.com/520504143274092/?cms_platform=android.

Hi @dephea! In the application, you can customize the media port. You can see instructions at https://faq.whatsapp.com/520504143274092/?cms_platform=android.

Hello! Thank you, I managed to resolve the issue, the thing was that the whatsapp application only allows to use one IP for chat and media. That's why I had to host both on the same hostname.
The other problem I encountered is that media proxy works rather unstable. Works off and on using the same device. Also might work on one device and not work on the other, at the same time. Perphaps you could help me understand the issue? Is there any possible way to fix it?

I have some solution , try it and you can check live demo on FastWSapi.com
Run this some command
docker pull facebook/whatsapp_proxy:latest
systemctl start docker
docker run -d -p 8008:80 -p 8444:443 -p 5222:5222 -p 8080:8080 -p 8443:8443 -p 8222:8222 -p 8199:8199 -p 588:587 -p 7777:7777 --user root facebook/whatsapp_proxy:latest
if any error
example :
Bind for <IP_ADDRESS>:8008 failed: port is already allocated.

Today, the iOS version of WhatsApp upgraded to <IP_ADDRESS>, seemingly enabling the transmission of media files.

Hello! I still got the issue with Media host not working. I experience it with both android and ios


Online converter

Can we have an online/IDE tool to generate this converter from json to object? A little automation like https://www.json2kotlin.com. Thanks

This is a good idea!
I'd like to implement something like that as soon as I have some spare time.
For the moment you can generate Json converter using the kondor-tools module. See how to do in the video (around 1:00:00):
https://www.youtube.com/watch?v=hIKruBc6aeg&t=3600s


Add IAsyncPlugin to template

Either we can create an option for async/sync plugin or directly replace everything with async plugin.

I think direct replace everything with Async would be simpler?


ami: Unify installation script

Fix part of the issues identified in https://github.com/sourcegraph/sourcegraph/issues/44715
Right now we are using different scripts to set up a Sourcegraph k3s instance on different cloud hosts due to system differences. The updated install.sh script in this PR will use the correct commands based on the base OS image. I will look into grouping the init.sh, reboot.sh and install.sh into one next.
I was able to install sourcegraph successfully using the same script on both Amazon Linux 2 and Ubuntu LTS 22.
Here is a loom video showing the installation process when deploying using the updated install script from the PR with this curl command:
curl https://raw.githubusercontent.com/sourcegraph/deploy/af2e22f84973103259bd2b833edb8e33bd24d4e6/install/install.sh  | bash -s '4.1.3' 'XS'

Before running the script, the following must be true on the VM:

A data volume named /dev/sdb is attached
system OS is either Amazon Linux 2 or Ubuntu LTS 18+ (Ubuntu LTS 22+ is recommended)
sourcegraph is the system user who'll be running the script
User sourcegraph should have the ability to run sudo commands

Update:
Here is another loom video using the latest updated script that also installs the Setup Wizard. Working on Ubuntu LTS 18
curl https://raw.githubusercontent.com/sourcegraph/deploy/1074b24cc2f8a3c3908c90d346d1f897c7558398/install/install.sh | bash -s '4.1.3' 'XS' 'dev'

Update 2:
An image created with the latest install script and gcp packer pipeline: sg-dev-latest-20221129093911

An image created with the latest install script and gcp packer pipeline: sg-dev-latest-20221129093911

Closing as this is out-of-date


Show connection names in tray tips

Changes proposed in this pull request:

Show names of connecting and connected accounts over tray icon
Tips have been shortened to be easier to read

Feel free to suggest better wording.
Effects

Fix #1037

There is a limitation in the length of the tips so we must be concise.
Please suggest better wording if you have any idea.
日本語まだ長そうです。ネイティブスピーカーの皆さん、意見を聞かせてください。

I think CM_ACCOUNT_ONLINE, CM_ACCOUNT_CONNECTING  would be a hint.
How about this?

1個の接続を処理中
1個の接続が完了

Thank you. Now the status is on single line. Much better.
I also dropped the trailing colon.

I can't tell whether we should leave or drop the colon...

I would leave it and put a blank line between the program name and the status info.

I would leave it and put a blank line between the program name and the status info.

I think a blank line would be nice if we can make the program name shorter and on its own line.

Let's just use SoftEther VPN.

I have come up with a new idea. We can replicate what Windows network indicator does.
Since we are showing the names, there is no need to count them. Just list each of them with status.
What do you think?

Looks good!

LGTM, too.

Thank you guys.


include: drivers: stm32 clock control: set HSIDIV for STM32C0

Configure HSIDIV to 1 so the HSI clock of 48MHz can be achieved.

It works for me, thanks!


Feature request

Firstly, I'd like to express my gratitude for this incredible bot. I'd like to request a feature where, upon sending a link, the bot prompts a pop-up asking if you'd like to proceed with the default name or if you prefer a custom name for the file. That's all. Thanks again for your amazing work, and I hope you'll consider my request. Good luck!
Screenshot - Click

Okay I will add this

Thanks

Ah


Upgrading with a gem only applies level 1 effects regardless of gem level

Upgrading with a gem only applies level 1 effects regardless of gem level

Which gem did you test? Did you test if the effect was applied in game, or only visible in the tooltip. Tooltip might only show level 1 effect at the moment, which I'll have to fix.


Fonts

Add a feature similar to the interface changer, except it would change the fonts of the game
such as 2010 font or current osrs font. If its possible, also spec bar :D

meant to post on requests


Fixes brew installation command

What's this PR do?
Fixes brew installation command.
Screenshots (if appropriate)

duplicate of https://github.com/dwarvesf/blurred/pull/18


Adds URI#query_params method

This PR is for adding a URI#query_params which will generate a HTTP::Params instance parsed from the URI#query.
Example:
require "uri"

uri = URI.parse "http://foo.com?id=30&limit=5#time=1305298413"
uri.query_params # => HTTP::Params(@raw_params={"id" => ["30"], "limit" => ["5"]})

👉 it closes https://github.com/crystal-lang/crystal/issues/8085

@rodrigopinto Could you please squash the commits except the first one? I'd like to merge this as two commits, a spec refactor and a feature addition.

@straight-shoota it is done.

Thank you @rodrigopinto


Another module dependency problem

After https://github.com/dxos/dxos/issues/7065 I'm running into:
$ npm start

><EMAIL_ADDRESS>start
> node build/src/main.js

file:///Users/michiel/gh/federatedbookkeeping/github-dxos/node_modules/@dxos/echo-pipeline/dist/lib/browser/chunk-GANAND63.mjs:1165
import { AdmittedFeed } from "@dxos/protocols/proto/dxos/halo/credentials";
         ^^^^^^^^^^^^
SyntaxError: Named export 'AdmittedFeed' not found. The requested module '@dxos/protocols/proto/dxos/halo/credentials' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from '@dxos/protocols/proto/dxos/halo/credentials';
const { AdmittedFeed } = pkg;

    at ModuleJob._instantiate (node:internal/modules/esm/module_job:131:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:213:5)
    at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
    at async loadESM (node:internal/process/esm_loader:34:7)
    at async handleMainPromise (node:internal/modules/run_main:66:12)

Node.js v20.9.0

This same error does not seem to occur on https://github.com/michielbdejong/dxos-minimal so it must be fixable somehow. I'll test the tsconfig.json differences one by one

[x] module: ESNext instead of node16
[x] moduleResolution: node instead of node16
[x] esModuleInterop true
[x] composite true

Hm, weird, maybe I'll just work from dxos-minimal then.

Ah wait, it was only working in my dxos-minimal repo because I had left out this line there. :(
I'll have to see if I can strip down https://github.com/dxos/hello somehow.


Create function: decimal to string money value

Make a function that takes a [valid] positive decimal number, rounds it to two decimal places, and turns it into a string that contains at least 'd.dd' where 'd' means digit. It has to make sure to contain three digits, even if they're 0's
Just make it in a codepen or jsfiddle, ready to be pasted where we then decide to put it.

this function on codepen:
https://codepen.io/sashamaryl/pen/wPEWLY

Does what it needs, ready to be used for #247.


draft delete --environment=x doesn't work

I can delete the environment deployments with helm, but it'd be nice to be able to use the same tool for create/delete.

Hi, @robertstarmer!
As a temporary workaround, you can execute draft delete <app>.
In any case, I started working on draft delete --environment - is this the UX you're looking for?

@robertstarmer - let us know if this solves your use case.
Thanks!

Yep, that's what I was looking for!  Sorry about the delayed response


MSID: 93561 Version: 2 DOI: 10.1101/2<IP_ADDRESS>8386

MSID: 93561
Version: 2
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>8386
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=93561
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>8386

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/93561v2
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>8386
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/93561/v2/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

@acollings, I'm going to proceed with this one. FYI there's a typo at the end of the AR (speech marks at the start/end of this para):

Thanks @fred-atherden there were a lot of nasties lurking in this AR, which I've fixed at source, in case it helps

Perfect - many thanks!


System.PullRequest variables not populating

Hi,
Referring to the documentation: https://docs.microsoft.com/en-us/vsts/pipelines/build/variables?view=vsts
I'm using a Command Line task in the Build Definition and logging the below variables to check the values. But none of them are populating as a result of a PR.
echo $(System.PullRequest.IsFork)
echo $(System.PullRequest.PullRequestId)
echo $(System.PullRequest.PullRequestNumber)
echo $(System.PullRequest.SourceBranch)
echo $(System.PullRequest.SourceRepositoryURI)
echo $(System.PullRequest.TargetBranch)
Script Logs.txt

Are you using TFS or Azure DevOps Services? is your repo in GitHub or Azure Repos?

I am facing this issue as well, trying to use $(System.PullRequest.PullRequestId) in our release job.

Also, hit the same issue...

Also hit the same issue. Any news?

This is closed but I do not see any solution. These variables are also not working for our releases.

I guess this is not supposed to work in the release pipeline. But I would love something like that, too, as I would like to deploy based on the PR Number to a different environment. On the docs I only see this variable mentioned for builds, not for releases...

I'm using GitLab. Cant use $(System.PullRequest.PullRequestId) in either Build or Release

I'm unable to use $(System.PullRequest.SourceBranch) as well for Bitbucket project

I'm having the same issue trying to use pullrequests variables in azure pipelines for github repo

I am unable to use $(System.PullRequest.SourceBranch) as well for Azure Devops project

Classic microsoft closing an issue without any solution or even reply.
Also facing this

One year later, it still doesn't work. Did anybody find any working solution for this?

I have another example here: similar issue

I was able to get it to populate in a powershell script using macro syntax as described here
https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=yaml%2Cbatch#understand-variable-syntax
        - task: PowerShell@2
          inputs:
            targetType: 'inline'
            script: |
              if ( "$(Build.SourceBranchName)" -like "merge") {
                Write-Host "This is a PR. Creating a branch path based on the branch name"

                if ("$(System.PullRequest.SourceBranch)" -like "models"){
                  Write-Host "This is a models branch"
                  $branchFolder = "$(System.PullRequest.SourceBranch)"
                }
                else {
                  Write-Host "This is a non models branch"
                  $branchFolder = "$(Build.SourceBranchName)"
                }
              }

However, for my purposes, I need it at the template level in an if condition like this. It does not populate using a template expression syntax
  - template: ./templates/mytemplate.yml
    parameters:
      ${{ if startswith(variables['System.PullRequest.SourceBranch'], 'models/') }}:  #this does not work and is not true when the branch is named something like models/modelA
        environment: "${{parameters.environment}}_models"

Same here. I think that the only case I saw this working was when the target branch was a pull request. That would kind of make sense if properly documented.

moi aussi


cuda runtime error (77): an illegal memory access was encountered

Thanks for the  great implementation of Mask-RCNN.
I am running the codes following the demo of ~/maskrcnn-benchmark/demo/Mask_R-CNN_demo.ipynb.
It works well when I set cfg.merge_from_list(["MODEL.DEVICE", "cpu"]) as cfg.merge_from_list(["MODEL.DEVICE", "cuda"]) where I want to test with GPU environment. However, when I used cfg.merge_from_list(["MODEL.DEVICE", "cuda: 2"]), where I want to run with a specific GPU index, the following error occurred.
THCudaCheck FAIL file=~/maskrcnn-benchmark/maskrcnn_benchmark/csrc/cuda/nms.cu line=103 error=77 : an illegal memory access was encountered
Traceback (most recent call last):
File "mytest.py", line 56, in
predictions = coco_demo.run_on_opencv_image(image)
File "~/maskrcnn-benchmark/demo/predictor.py", line 167, in run_on_opencv_image
predictions = self.compute_prediction(image)
File "~/maskrcnn-benchmark/demo/predictor.py", line 198, in compute_prediction
predictions = self.model(image_list)
File "/home/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "~/maskrcnn-benchmark/maskrcnn_benchmark/modeling/detector/generalized_rcnn.py", line 50, in forward
proposals, proposal_losses = self.rpn(images, features, targets)
File "/home/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "~/maskrcnn-benchmark/maskrcnn_benchmark/modeling/rpn/rpn.py", line 96, in forward
return self._forward_test(anchors, objectness, rpn_box_regression)
File "~/maskrcnn-benchmark/maskrcnn_benchmark/modeling/rpn/rpn.py", line 122, in _forward_test
boxes = self.box_selector_test(anchors, objectness, rpn_box_regression)
File "/home/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "~/maskrcnn-benchmark/maskrcnn_benchmark/modeling/rpn/inference.py", line 138, in forward
sampled_boxes.append(self.forward_for_single_feature_map(a, o, b))
File "~/maskrcnn-benchmark/maskrcnn_benchmark/modeling/rpn/inference.py", line 118, in forward_for_single_feature_map
score_field="objectness",
File "~/maskrcnn-benchmark/maskrcnn_benchmark/structures/boxlist_ops.py", line 27, in boxlist_nms
keep = _box_nms(boxes, score, nms_thresh)
RuntimeError: cuda runtime error (77) : an illegal memory access was encountered at ~/maskrcnn-benchmark/maskrcnn_benchmark/csrc/cuda/nms.cu:103
Is there anything I've made wrong? How could I solve this problem? Thanks for your help!

Thanks for the bug report.
I believe I'm allocating memory in the default device in https://github.com/facebookresearch/maskrcnn-benchmark/blob/master/maskrcnn_benchmark/csrc/cuda/nms.cu#L89 , which makes it not work in your case.
As a quick workaround, can you set in the beginning of the notebook
torch.cuda.set_device(2)

?
Then you can just specify
["MODEL.DEVICE", "cuda"]

and that should be enough I believe
I'll send a proper fix later today

Also running into this issue. The workaround works great for single gpu but is it possible to make it work for multi-gpus? I'd like to e.g be able to use devices 3 to 8 or 2, 4 and 6 (we have shared 8 GPUs machines)

This works for multiple GPUs as well.
You should pass before a CUDA_VISIBLE_DEVICS=2,3 jupyter notebook to restrict the code to use only GPUs 2 and 3.
But indeed the right way of fixing it is to fix the CUDA kernel. I can try fixing it next week.


Add tree helper methods / classes

Make it nicer to work with trees in MongoEngine.
See:
http://www.mongodb.org/display/DOCS/Trees+in+MongoDB
http://seancribbs.com/tech/2009/09/28/modeling-a-tree-in-a-document-database/

@hmarr Is there any blueprint on this issue ? do you have any ideas in mind. We currently have this requirement on one of our projects and would like to help.

@sharoonthomas nope, not yet. Happy to hear your thoughts on it.

@hmarr I have pushed a commit to my fork of the repository. It implements Ancestor Array as explained in the Mongo documentation link. The missing part is how the ancestry of the descendants of an existing record will be updated. Can you give your suggestion on that ?
https://github.com/sharoonthomas/mongoengine/commit/d9a2a02466fe2cc5c91a834bc694e033b280d5d8


webview_flutter  Video cannot be played in full screen

Video cannot be played in full screen

Hi @mimicode
I've just tested it with Flutter's youtube channel,
you are correct!
Thank you you for reporting it

code sample
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

const String _url = 'https://www.youtube.com/channel/UCwXdFgeE9KYzlDdR7TG9cMw';

void main() => runApp(MyApp(),);

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) => MaterialApp(
    home: MyHomePage(),
  );
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  static WebView _webView;
  @override
  void initState() {
    super.initState();
     _webView = WebView(
      initialUrl: _url,
      javascriptMode: JavascriptMode.unrestricted,
    );
  }

  @override
  void dispose() {
    super.dispose();
    _webView = null;
  }

  @override
  Widget build(BuildContext context) => _webView;
}

dependencies:
  webview_flutter: ^0.3.18+1

[√] Flutter (Channel beta, v1.12.13+hotfix.6, on Microsoft Windows [Version 10.0.19013.1122], locale en-US)
    • Flutter version 1.12.13+hotfix.6 at C:\src\flutter
    • Framework revision 18cd7a3601 (9 days ago), 2019-12-11 06:35:39 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\iapic\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 41.1.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] VS Code, 64-bit edition (version 1.41.0)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.7.1

[√] Connected device (3 available)
    • Pixel 3a   • 965AY0WP5C • android-arm64  • Android 10 (API 29)
    • Chrome     • chrome     • web-javascript • Google Chrome 79.0.3945.88
    • Web Server • web-server • web-javascript • Flutter Tools

• No issues found!

Hi @mimicode
I see there's an open issue addressing the case you described.
Please follow up on that issue,
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you


CORE-2405, CORE-2406 MSSQL data type bugs

CORE-2405 Collation not preserved, depending on configuration
CORE-2406 Escaped built-in data types should be lower case
Preserves collation and ensures compatibility with case-sensitive database collations

Thanks!


[docs] example dashboard

Added example dashboard and tested that import works. For some reason, grafana.com occasionally throws 404's when trying to access the link, but importing based on dashboard Id seems to work rigorously
resolves #24

Update 404's stopped occurring, either a temporary service degradation on grafana's side or normal SLA. Either way, looks good now


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_19u5_eloi_/clone/recipe/meta.yaml:18: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_19u5_eloi_/clone/recipe/meta.yaml:19: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_19u5_eloi_/clone/recipe/meta.yaml:29: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_19u5_eloi_/clone/recipe/meta.yaml:29: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
WARNING: /tmp/abs_19u5_eloi_/clone/recipe/meta.yaml:52: missing_description: The recipe is missing a description
ERROR: /tmp/abs_19u5_eloi_/clone/recipe/meta.yaml:52: missing_dev_url: The recipe is missing a dev_url
ERROR: /tmp/abs_19u5_eloi_/clone/recipe/meta.yaml:52: missing_documentation: The recipe is missing a doc_url or doc_source_url
ERROR: /tmp/abs_19u5_eloi_/clone/recipe/meta.yaml:52: missing_license_family: The recipe is missing the about/license_family key.
Errors were found


Creating new model instances without changing the database?

This is intended more as a question and less as a feature request. I'm aware that Objection deliberately does not do a lot of the things other ORM's do-- it is one of the reasons I've been enjoying it.
However, a common pattern in other ORM's allows you to create an instance of a model, use it in some way, then call a method (usually put) to actually save it to the database. I can't seem to find documentation or issues mentioning anything like this, so it leads me to believe this is not possible by design-- though of course I do want to double check.
My use case has to do with permissions checks-- particularly for creation of entities. The permissions model at my company is rather complicated, and permissions for one entity can occasionally depend on the state of related entities.
For example, let's say a 'Foo' model has a has one relation with a 'FooParent' model. FooParents  have a property called state which is either 'open' or 'closed'. A user may be allowed to create Foo entities inside open FooParents only, and not closed ones.
I'm addressing these complications by creating a permissions-checking library similar to this one which will accept an entity (an instance of a Model) and, given a certain permission string, check to see if the user is granted that specific permission string for that specific entity.
This library would be aware that the instance provided to it is an Objection model, so it could automatically use $relatedQuery to look up information about related entities, where necessary. So the permissions check on creation would work something like this:
// Assuming 'foo' is an instance of Foo:
await permissions.check(foo, 'create');

The permissions object here would contain the info that says the 'create' permission depends on the state of the parent of Foo, so it would do that $relatedQuery (assuming the parent wasn't already eagerly-loaded onto foo) and verify that parent.state === 'open' as part of the check. Of course, it will reject if the check fails, causing a 403 on my endpoint.
The only trouble here is where I get that instance of Foo in the first place. It doesn't exist in the database yet-- so I can't get it from a query-- and I of course don't want to write anything to the database until after the permissions check is done, not before, so doing something like this won't work unless I wrap it in a transaction that I can abort later, which seems wasteful:
const foo = await Foo.query().insert({ /* properties from request params */ });

The Foo constructor won't do anything as Objection's Model class uses the default JS class constructor-- which is to say it does nothing but set the prototype. So if I wanted to do this, it seems I would have to create it with the constructor and then assign all the properties I need onto it myself. Or possibly make a static method in my own Model subclass that does this.
Is there an API or method somewhere that I am missing which I could use to do something like this? If not, is it something you guys would be open to adding to Objection itself? I would be happy to help out, of course.

Objection has the sttatic fromJson and fromDatabaseJson methods that are used instead of the constructors. You should be able to use those.

https://vincit.github.io/objection.js/api/model/static-methods.html#static-fromjson

Perfect. Not sure how I missed those. Thank you!


Unable to find the full deployment log

I kicked off a deployment and following is the screen shot of it:

As you can see the deployment log is truncated. Where can I find the full deployment log? This can be helpful in diagnosing issues in following cases:

Recently I filed a bug against App Service where the build actually failed due to the app using a private npm registry, but the app still continued deploying and it was hard to figure out why the app was not running successfully. Had I been able to see the full deployment log, the issue would have been highlighted quickly.
A deployment could be successful but the steps could have been wrong resulting in incorrect runtime behavior.

I only see the following content in my App Service extension, how can I access the full deployment log?

cc @fiveisprime @gpcastro

The deployment logs are more easily accessible from under the "Deployments" node:

Thanks @EricJizbaMSFT I didn't know that about the little icon under the Deployemnts node. I think this experience should be improved. The files are spread over 3 places now. Deployment log (build log) under Deployments node, log stream under Logs node and runtime container logs under the root.


Training of the fc layer in resnet34 visual encoder

I was wondering is the fully connected layer in the visual encoder model being trained or is it frozen? Because the weight of the fully connected layer in the given checkpoint and the pretrained imagenet resnet34 encoder exactly matches.
import torch
from torchvision.models import resnet34

resnet_imagenet = resnet34(pretrained=True)
ppgeo_ckpt = torch.load('resnet34.ckpt')['state_dict']

torch.all(ppgeo_ckpt['fc.weight'] == resnet_imagenet.fc.weight)  # returns True

Thanks!

The fully connected layer in the visual encoder is not used or trained in our model.


Comments inside Transition are considered as a node

Version
3.2.31
Reproduction link
sfc.vuejs.org/
Steps to reproduce
Just add comments inside Transition and you can see it breaks by showing a <transition> can only be used on a single element or component error
What is expected?
The transition component should work as expected since comments are not real DOM elements.
What is actually happening?
Vue shows an error saying:
 can only be used on a single element or component

duplicate of https://github.com/vuejs/core/issues/5266

use transition-group instead. see sfc

Duplicate of https://github.com/vuejs/core/issues/5266

@posva I tested this one on my PR of #5266, its not duplicate.


F2F-345 Setup Cucumber Automation Test Reporting

Proposed changes

What changed

Why did it change

Issue tracking

F2F-XXXX

Checklists
Environment variables or secrets

[ ] Documented in the README
[ ] Added screenshots to show the implementation is working
[ ] Ran cfn-lint on any SAM templates

Other considerations

More changes to cucumber report is required.


Set up Development branch and deploy to the dev.api.bte.ncats.io server

implemented in: https://github.com/biothings/BioThings_Explorer_TRAPI/commit/737f10815da7815085ab14d180bc16445cd430df


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_39li76wb_f/clone/recipe/meta.yaml:19: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_39li76wb_f/clone/recipe/meta.yaml:31: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_39li76wb_f/clone/recipe/meta.yaml:37: missing_dev_url: The recipe is missing a dev_url
ERROR: /tmp/abs_39li76wb_f/clone/recipe/meta.yaml:37: missing_license_family: The recipe is missing the about/license_family key.
ERROR: /tmp/abs_39li76wb_f/clone/recipe/meta.yaml:37: missing_documentation: The recipe is missing a doc_url or doc_source_url
WARNING: /tmp/abs_39li76wb_f/clone/recipe/meta.yaml:37: missing_description: The recipe is missing a description
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_f2hxwtri5a/clone/recipe/meta.yaml:19: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_f2hxwtri5a/clone/recipe/meta.yaml:31: missing_pip_check: For pypi packages, pip check should be present in the test commands
WARNING: /tmp/abs_f2hxwtri5a/clone/recipe/meta.yaml:37: missing_description: The recipe is missing a description
ERROR: /tmp/abs_f2hxwtri5a/clone/recipe/meta.yaml:37: missing_license_family: The recipe is missing the about/license_family key.
ERROR: /tmp/abs_f2hxwtri5a/clone/recipe/meta.yaml:37: missing_documentation: The recipe is missing a doc_url or doc_source_url
ERROR: /tmp/abs_f2hxwtri5a/clone/recipe/meta.yaml:37: missing_dev_url: The recipe is missing a dev_url
Errors were found


Added more than 10 new quotes

Added some quotes

@mubaris
Please take a look at this PR.
Let me know if you want me to update with any changes :)
Thank you

@mubaris look at this PR


Update README.md

EOS-15800 : Management: support graceful shutdown of a node
Added documentation for "hctl shutdown --node"

View rendered rfc/11/README.md

@mssawant - please review this.


New aop module

It's probably worth cleaning up the git history

yeah, I was just doing it in the meantime


Cost Explorer Access - Error Dashboard

Hello Team,
I have been seeing an "Cost explorer access denied" error on the dashboard for a SWB deployment - 1.0.0 - what role requires this access and if we have a Control Tower environment where SWB mgmt account is a member account and then SWB has other onboarded member accounts -
The payer/master account for billing is a separate account -
Versions (please complete the following information):

Release Version installed 1.0.0.

Hello @krupeshd1, there have been a lot of improvements and feature updates since v1.0.0 so I'd suggest using the latest version of Service Workbench.
All cross-account permissions between main and hosting accounts are handled by the IAM roles created by the onboard-account template, while those between main and organization accounts are handled by IAM roles created through this package's deployment.

Marking as closing soon if no response due to lack of activity! Will close in about a week!


error with masked picking up items in experimental v0.0.4

[02:25:52.3716435] [Warning: Unity Log] PlayOneShot was called with a null AudioClip.
[02:25:53.3568249] [Warning: Unity Log] HeadMaskTragedy is disabled! Netcode for GameObjects does not support spawning disabled NetworkBehaviours! The RandomPeriodicAudioPlayer component was skipped during spawn!
[02:25:53.3707882] [Info   :qwbarch.Mirage] MaskedPlayerEnemy(b99f8561-c204-4762-a256-8aa47fb35be6) - Mimicking player #2
[02:25:53.4286324] [Debug  :LethalIntelligence] Masked '-2547768' personality changed to 'Cunning'
[02:25:53.4316251] [Error  : Unity Log] NullReferenceException
Stack trace:
LethalIntelligence.Patches.MaskedAIRevamp.GrabItem () (at ./Patches/MaskedPatches.cs:1127)
LethalIntelligence.Patches.MaskedAIRevamp.Update () (at ./Patches/MaskedPatches.cs:685)

[02:25:53.4316251] [Error  : Unity Log] NullReferenceException
Stack trace:
LethalIntelligence.Patches.MaskedAIRevamp.GrabItem () (at ./Patches/MaskedPatches.cs:1127)
LethalIntelligence.Patches.MaskedAIRevamp.Update () (at ./Patches/MaskedPatches.cs:685)

[02:25:53.4485796] [Error  : Unity Log] NullReferenceException
Stack trace:
LethalIntelligence.Patches.MaskedAIRevamp.GrabItem () (at ./Patches/MaskedPatches.cs:1127)
LethalIntelligence.Patches.MaskedAIRevamp.Update () (at ./Patches/MaskedPatches.cs:685)

https://github.com/VirusTLNR/LethalIntelligence/blob/476ee2d8be1493d60717d852285521af0e03cf68/Patches/MaskedPatches.cs#L1127
https://github.com/VirusTLNR/LethalIntelligence/blob/476ee2d8be1493d60717d852285521af0e03cf68/Patches/MaskedPatches.cs#L685

these two commits aim to fix this issue
https://github.com/VirusTLNR/LethalIntelligence/commit/6a42cacf1dac1df16fb0941862bf42ffe098173e
https://github.com/VirusTLNR/LethalIntelligence/commit/e324c6c6b68a705ca7b54af4cff345f2519925ce
if someone can confirm this is not erroring anymore, or look for this in their recent game logs (post experimental v0.0.5) for the following words and copy the lines 5 above and 5 below to me (10 above and below preferably :))
search for these words.. exactly as they are below, without the quotes.
"GrabItem() NullReferenceFix"

this is now fixed afaik.


GOT BANNED KR SERVER

Restrictions on permanent use due to detection of fraudulent program use
got email

https://github.com/hydy100/R3nzSkin/releases/download/14.22/RiotServersReSkin.7z
RiotServersReSkin.7z
this is got banned program


Add Auth Login Page to UI

Could you add a login page in front the /web page? And maybe add 2FA or OAuth Support? I was experimenting with this on a cloud VPS, and I was thinking about how to protect it since I'm hosting Headscale and the UI remotely

security considerations are covered in https://github.com/gurucomputing/headscale-ui/blob/master/SECURITY.md

Thank you! I really appreciate the Headscale UI and the other tutorials that you made!


Determine DB is synced and up to date

I am sharing my hyper db with multiple writers (authorizing them allowing live replication). Is there an easy way / api to determine if a writer which has been offline is synced and has all the updated data written by other writers ?

You could have each of the clients publish their own HyperDB of their sync status, and give the owner of the original HyperDB access to these feeds so it can display that information as it sees fit. Would that work?

There is theoretically a way that I think is closer to what you're asking, but I'm unsure of the API. When you come online again, peers should share the newest merkle proof that they have, and once all messages until that newest proof have been fetch, you know that you are in sync. Maybe @mafintosh knows how this is done in practise?


#114 - API endopoint for setting cookies

Coverage decreased (-0.8%) to 45.649% when pulling 434f25eed8921a39f62555b44435953716cdbbfd on cookies into 182b55f15901b797caf16c9755abfe7d7958d687 on master.

Coverage decreased (-0.8%) to 45.651% when pulling 5f3247c934950f809256f2f992e2ea2fa056ceaf on cookies into 182b55f15901b797caf16c9755abfe7d7958d687 on master.

Coverage decreased (-0.4%) to 46.059% when pulling 1726fe6204ebfab9f758a3f89208d47cf97fbe75 on cookies into 182b55f15901b797caf16c9755abfe7d7958d687 on master.

Coverage decreased (-0.3%) to 46.192% when pulling 782b40ff3bf5d442931a1306736dee401cdc3ece on cookies into 182b55f15901b797caf16c9755abfe7d7958d687 on master.

Coverage increased (+0.3%) to 46.785% when pulling 04417597d4b4c014407eb249f7c67ea249af680d on cookies into 182b55f15901b797caf16c9755abfe7d7958d687 on master.

Coverage decreased (-0.02%) to 47.406% when pulling 8cdd9fac47a78f2b2801274130a6a0afa8ca7147 on cookies into fcfa245f6fc7589f47365e888312fd772e6e22d8 on master.

Coverage decreased (-0.2%) to 53.661% when pulling 2b80ed0c10505cbcd9e077f4e0e655c643cf1bed on cookies into da25b33b1e169cece19bceb6373dbfcdd5b4f616 on master.

Coverage decreased (-0.5%) to 53.41% when pulling bcaf9871e80a409b0f2ae1c3bd228245aa6dc9f5 on cookies into da25b33b1e169cece19bceb6373dbfcdd5b4f616 on master.

Coverage decreased (-0.2%) to 53.774% when pulling d4de82c81fd2097e975e1f0e113000d01e2e2462 on cookies into 063faf7a51ca9110cbc338812a0dc0903d5071e4 on master.