Implement numeric blender-style transforms.

Implement numeric blender-style transforms.
This allows the user to input numbers during an "instant" (blender
style) transform operation to specify exactly how far to transform the
object. For example:

g2.5xx: Translate 2.5 units along the local x-axis
ry-45: Rotate -45 degrees around the y-axis
s.25Z: Scale by a factor of .25 on the xy plane

This removes any "{X,Y,Z}-Axis Transform" messages. These prevented the
"Transforming: (x,y,z)" messages from showing, and the latter are more
useful, as they tell you the actual units.
This also rearranges finish_transform to clear _edit before updating
the axis rendering, so an axis doesn't remain highlighted.
This is separated into two commits for ease of review, I'll squash before merging.
09bb986a38b2ffa3ace868f2cc4d2306229b47e2 refactors some common code for reuse.
017be8045469e4f1c68c1fe299caa4be1acbf10b implements numeric transforms leveraging that shared code.
EDIT: These have now been squashed.

@akien-mga @JFonS
Dunno if you've seen this one. Would be awesome to have this.

master had diverged quite far. I ended up re-implementing this rather than trying to make sense of the merge conflicts, so it might merit a re-review.
I switched to using keycode instead of physical_keycode, and played around a bit after running setxkbmap fr. I think it works properly, but I'm not too familiar with AZERTY. I had quite a fun time trying to find the keys to get it back to normal :laughing:. Numpad input should work now as well.
I noticed something odd about scaling. If you scale an object to half size (using either blender-style or normal gizmo operations), the Godot UI says you've scaled it by -0.5 (rather than 0.5, as I'd expect). I wasn't sure if that was intentional. I left the message as-is, but kept the input behavior the same as blender. That is, if you type s0.75, you'll scale the object to 0.75 of it's original scale, and the UI will say you've scaled it by -0.25.

Oops! I noticed some numbers not working but just figured my keyboard wasn't set up correctly.
I'm using unicode now, and as far as I can tell that works for all numbers on both us and fr layouts, and properly handles - and . both on and off the numpad.
I also noticed "-" wouldn't work if you pressed it before any numbers, so I fixed that.

Ah, conflicts again. I'll try to fix those tonight.

Thanks again! I've fixed the labeling and the lingering - state.

Thanks for all the careful review! I've applied all the comment suggestions.

When you type something and press Escape, the transform operation stops, but gizmos are no longer usable.
https://github.com/godotengine/godot/assets/2223172/1bdb9b60-9f10-4b7f-8ebc-c6e149090124

Thanks @KoBeWi, I've fixed both of the issues you mentioned.

Thanks!

For anyone confused on how to test those, the shortcuts Begin * Transformation need to be assigned in the editor.

Some issues (as of v4.2) and suggestions for this feature:

The Translating(...) message quickly disappears instead of staying the whole time the input is being entered. It's also not intuitive feedback like in Blender, where at least a | is shown where you're currently typing the number.
Can't use backspace to delete the number being input, nor <- and -> arrows to navigate the input; like in Blender.
Can't use tab (like in Blender) or , to input multiple axes (XYZ) in one operation.
It would be really useful if math calculations were evaluated like in the inspector. E.g. r(360/5) for rotating 1/5 of a turn without having to think how much that is, etc.

IMO it would be much more intuitive if some actual text input field was shown during the operation. E.g.:
Pressing the key to begin a translation would show a text field pre-filled with t(|) allowing you to freely edit the text (here, | represents the cursor); so you could just type (e.g. t(2.5,-3) with z=0 implied). Then a simple parsing would apply the operation, evaluating math expressions too. This would make this feature more powerful, a bit like CAD software (see AutoCAD Dynamic Input).
If a text field would cause incompatible behavior with current implementation (e.g. pressing - would just type - instead of negating the current value), then it could be either a separate feature, or separate mode setting for this feature. In any case, you need to have good feedback on what you're doing, otherwise it's not intuitive and not good usability. A text field is the best usability for inputting specific numeric values. It would be easier to understand too.


Sound not working on both monitors?

Before opening the issue, have you...?

[X] Searched for existing issues
[X] Read through the Monitor-Troubleshooting Wiki
[X] Updated MonitorControl to the latest version (if applicable)

Describe the issue
MBP 2021 M1 Max
I have volume and dimming controls registering on screen for both monitors.
Dimming works on both.
However only sound is coming out of one monitor....
I have the updated app and both screens are brand new LG HDR 4k 32"
Also noteworthy - I am running parallels on the right monitor so I can have windows.
The monitor on the left work perfectly but I am just trying to get sound to come out of the one on the right.
Thanks in advance!
Expected behavior
Need sound coming out of both monitors
Anything else?
Screen Shot 2022-07-24 at 4.21.03 PM.PDF
Screen Shot 2022-07-24 at 4.20.30 PM.PDF
Environment Information (please complete the following information)
- macOS version:
- Mac model:
- MonitorControl version:
- Monitor(s):
- Monitor Cable(s)/Connection(s):
- Apple Silicon/M1 (yes or no):

OK I FOUND OUT WHAT NEEDED TO HAPPEN....
So on mac I needed to open the app from apple installed on all macs. "Audio MIDI"
In there make a multi-output device and add both monitors to that.
Then right click on it and select use as output device.
BOOM audio in both monitors working perfectly.
Here is the video I used to fix the issue.
[https://www.youtube.com/watch?v=EgTx2xMTDNM]
thanks!

AND ONE LAST THING........
After setting in on the mac system side I had to go to the settings in parallels and select the same output setup.
When i was playing something on the mac side it would us both monitors then when i played something on the windows side it would only use that one monitor.
So I am good now everything is functioning perfectly!

Yes, macOS normally uses only one audio output but you can create multi-output devices. Great solution!
I'll move this over to discussion so others might be edified!


Multipackage issues with Yum

This is somewhat a stream of consciousness on what I think is a bug. The repro case should be doing a multi-package install with yum where the first package in the array is already up to date and the second is not, but the candidate version of the second package is the same as the first.
Walk through of what I think the problem is:
Take an example of package ['one', 'two'] where one is already installed and two is not. current_version_array is set to ['1.2.3', nil] reflecting that one is installed and two is not.
Chef::Provider::Package#action_install is what calls install_package for the specific implementation to override. It passes in package_names_for_targets and versions_for_targets. Both of these are already cleaned so packages that are up-to-date do not appear in them. So we call install_package(['two'], ['1.2.3']). 1.2.3 is the candidate version in this case.
This gets passed down to Chef::Provider::Package:Yum#install_remote_package. Inside there we build the command string to pass to yum. It does this by looping over the given names and versions. The problem is when it tries to skip packages that are already up to date. We already did this filtering in package_names_for_targets but it is using the array index from the filtered names/versions against the unfiltered current_version_array. So in this case names[0] == 'two' but current_version_array[0] == '1.2.3' which corresponds to one. In the case where one and two should be the same version (easy repro, any package and its -devel) this means that it skips two thinking it is already up to date.
The root issue is the frame shift, the index on the names (which comes from package_names_for_targets cannot be used with current_version_array. A probably fix is to just remove the check against the current version in the Yum provider as we already skipped packages that are up to date.

Ping @chef/client-core (if it will let me).

diagnosis and proposed fix sounds correct.

Indeed. I'm traveling and can't take this on, but it sounds right

this is most likely because the provider does not use use_multipackage_api


breakout colors to a template

Hi, thanks for the PR. The new template doesn't appear to be useable in tmux, is it added purely for checking config? Thanks

It's intended to separate data from structure. In other words, you should be sourcing this resulting file and then referring to the variables elsewhere in your configuration.


Add default light probe

Where does this sfb file come from? How can we regenerate it if we need to make changes to it?

Where does this sfb file come from? How can we regenerate it if we need to make changes to it?

I pulled it from the original sceneform repo:
https://github.com/google-ar/sceneform-android-sdk/blob/master/sceneformsrc/sceneform/src/main/res/raw/sceneform_default_light_probe.sfb


German transcription with plural is wrong

According to your description:

For example, German will map 'ä' to 'ae', while other languages will simply return e.g. 'a'.

this is wrong.
Example:
1 Apfel ( 1 Aple ) > nothing to convert
2 Äpfel (2 Apples) > you will convert Ä to A which is wrong because with an A only the 2 Apples become 1 Apple.
Maybe this sample is a bit hard to understand, but 1 Apfel = 1 Apple , 2 (or more) Äpfel are more Apples.
The only difference is the first letter, either an A or an Ä
Same will be with your sample Düsseldorf, converting it to en for example will translate Düsseldorf to Dusseldorf where it should be in all other languages than German Duesseldorf!
Dusseldorf may also exist as a town somewhere in Europe, if not Dussel means something very special in German (some stupid).
Translating German into other languages, especially for SEO-URLs is not that easy as it looks!
Please recheck and rework your framework, if it will handle such cases also correct, it could be useful.

If you don't pass the right language, the replacements will be that for English. Use \voku\helper\ASCII::to_ascii( '2 Äpfel', 'de' ) to get 2 Aepfel.
BTW: The package has the best implementation we've seen up to now for transliteration!

If you don't pass the right language, the replacements will be that for English. Use \voku\helper\ASCII::to_ascii( '2 Äpfel', 'de' ) to get 2 Aepfel.
BTW: The package has the best implementation we've seen up to now for transliteration! Great work :-)

Aepfel is NOT Äpfel.
Can't understand why this is so hard to understand!
And what do you mean by "If you don't pass the right language .."
What shall I pass?

If you don't pass the right language, the replacements will be that for English. Use \voku\helper\ASCII::to_ascii( '2 Äpfel', 'de' ) to get 2 Aepfel.
BTW: The package has the best implementation we've seen up to now for transliteration! Great work :-)

Aepfel is NOT Äpfel.
Can't understand why this is so hard to understand!
And what do you mean by "If you don't pass the right language .."
What shall I pass?

I am pretty sure that Ae is correct here, if you pass 'de' as language: https://de.wikipedia.org/wiki/Umlaut#Darstellung_von_Umlauten


Some debugger stepping integration tests

Some debugger tests; work in progress.
Requires this PR to be merged to work.
Though the tests then fail because they don't pause as expected - I believe that's down to https://github.com/flutter/flutter/issues/18877.

@DanTup What's the plan here? Is this ready for review?

I fixed the original issues blocking these tests in vm_service_client but hit another:
https://github.com/dart-lang/vm_service_client/issues/41
It's not clear to me how it should be fixed so I hoped for some input - I'll see if I can find someone to ping about it.

@DanTup Should we close this in the meantime?

Apologies - I made a little progress (update the VM spec with the missing info), but still need to update the vm_service_client package to reflect the spec changes.
I'll close this until it's in a better position to progress (I can easily re-open it).


Experimental/custom elements

Since it was not clear how to use the compiled JS version of the components, the purpose of this PR is to change it to use the easier Web Components API.
To do:

[ ] Figure out how to properly listen to events (related: https://github.com/sveltejs/svelte/issues/3119, https://v2.svelte.dev/guide#firing-events)
[ ] Investigate the usage of camelCase in prop name
[ ] Figure out how to pass more complicate data types (instead of just strings) as props. If not possible, document how to use $$set.

Damn, I should have read the PR description a little more carefully) oh well, let's keep those comments as discussion threads


Remove vendor/cookie.js

Cookie.js (assets/vendor/js/cookie.js) is using an incompatible GPLv3 license. Rewrite it from scratch under MIT ensuring that no code breaks in the front-end. The API may change (it may have to), but any JavaScript that calls it should reflect that change.
This is a good first issue for new contributors.

Might I suggest just using an alternative instead? https://github.com/ScottHamper/Cookies
Not that I think anyone in their right mind at Mozilla(?) would care, but might be safer to just swap libraries and avoid a whole nasty discussion about whether something is considered "derivative work."

Yeah, that's the right approach.

We probably don't have to change the license (Which should be LGPL if anything)...
Our source is freely available and if anyone takes our code tries to sell it, as long as they host the software on their own servers and sell the software itself then they're fine under the GPL. (That's why AGPL was created :stuck_out_tongue:)

I'd like to keep the licensing clean and clear: MIT. If that means a small refactor, no big deal.


feat: allow request with x509 cert

Support x509 client cert auth with -cert and -cert-key; while I realized there has been a similar work done at #172 after I made this change lol
I would like to see either PR get merged; thx!

Change LGTM, can you add unit tests for the change?

Cool, I will try to find some time next weekend to set up a (or two) unit test(s)~

Hi @rakyll , hope to get a review from you; thx!


add baidu analytics and

add functions:

add baidu analytics ability, users can add personal baidua nalytics url in the params.extend section of config file.
add user-defined date format in the params.extend section of config file. if user undefined , use the default date format.
add  highlight.js  template , user can defined highlight javascript url and css url in config file.

Thanks for contribution @steeeeps. Please make multiple PRs for these, 1 feature per PR.
Also I'm not interested in adding baidu analytics support. You can keep it in your own fork of you need it.
Cheers.

Thanks for contribution @steeeeps. Please make multiple PRs for these, 1 feature per PR.
Also I'm not interested in adding baidu analytics support. You can keep it in your own fork of you need it.
Cheers.

ok , thanks !


feat: yaml accept identity_files in local mode

The remote client does not use that field, wheter its set or not. Only the local client uses it. That said, it should be safe to allow it in the yaml config as well.
closes #60

Don't have much context on this one, but I tested with and without the identity files config and both worked.


Ability to define a switch as lux device

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
I've been using this amazing integration to control my covers but I want to go the next step to control them based on the lux value instead of weather predictions.
However, I have a light sensor that doesn't output the lux measurement as a value but I must configure the treshholds in the device itself which just outputs on/off based on that.
It would be nice to also have to possibility to configure switches next to sensors as lux device in the integration.
Describe the solution you'd like

Describe alternatives you've considered

Additional context

That seems like a very niche application. One approach is to use a template sensor to convert that on/off state into actual values.
template:
  - sensor:
      - name: Lux Value
        state: >
          {{ iif(is_state('switch.lux','on'),2000,150) }}
        device_class: illumination
        unit_of_measurement: "lx"

with the assumption that the high threshold is 2000lx and 150lx is considered as low


travis-after-all produces no more output after one of the jobs fail, but doesn't exit, failing the build

So, the travis-after-all-assigned ‘leader’ was waiting for the last jobs in the build to complete; but when they failed … it never exited:
https://travis-ci.org/ELLIOTTCABLE/Paws.js/jobs/96397639#L986
So that job ‘failed’ as well, due to lack of output, even though the test-scripts did succeed.

@ELLIOTTCABLE Thanks for opening this issue!
I'll look into it as soon as I have some free time.

Has been playing with this script and noticed the same issue.

I also have the same issue https://travis-ci.org/mdreizin/webpack-config/jobs/143517972

Note: I've deprecated this project as the functionality it provided is now supported natively by Travis CI via Build Stages.


[feat] should mention pyodide/synclink

https://github.com/GoogleChromeLabs/comlink/issues/642#issuecomment-1721060120
https://github.com/pyodide/synclink

PR welcome then, I don't know that library and don't know whether would it work on Node.js and TypeScript natively.


FR: Dialog: Actions & Keybindings

I think the dialogues can be improved a bit.
After working with other frameworks and component palettes I think we could have the following improvements.

Actions: Instead of having a wide-open "List <Widget>? actions" we could have some specific class like DialogAction that allows having a title, maybe an (optional) icon, an onTap / onClick callback and more importantly, attributes like isDefaultAction or isDestructiveAction. The presentation would be as is usually done now with Button elements but we would already have semantics and the ability to work better with the UI (the default action is highlighted in color, the destructive action is red, RTL support ...)

Related to the above, I miss some key combinations:

Esc to close the active dialog
Enter to "execute the isDefaultAction=true action callback"
Tab to rotate the focus between the available actions, always starting with the default action

What do you think?

Esc should already pop modal routes in flutter (showDialog, for example). I don't know why it sometimes doesn't work
Enter should execute the focused button when pressed but, for some reason, the buttons aren't getting focus when the dialog shows up. Same for Tab
I don't like the idea of DialogAction, since in flutter anything can be a widget. Maybe the dev wants custom buttons and it wouldn't be possible with it

But, in Windows, normal buttons are used as actions

But, in Windows, normal buttons are used as actions

I agree. I don't want to have something different in terms of UI and end-user visible results. As I said, we could implement the UI of DialogActions using plain Button elements but with some superpowers, like Cupertino Widgets does.
My proposal simply wants to improve the developer experience.

Keybindings
About ESC to close the dialog, see https://github.com/flutter/flutter/issues/97581. Native behavior is to not allow user to tap ouside, that's why barrierDismissible is false, but Flutter also isn't allowing us to close the dialog pressing ESC. For a current workaround, set barrierDismissible: true
I tested with the latest stable (2.8.1) and pressing Tab to navigate through the actions works, as well as pressing Enter to execute their action. For default action, you can use autofocus on a button

@bdlukaa On Esc this could be not obvious but, after thinking on it this behavior probably makes sense.
And the use of autofocus could make the trick.
So, with current widgets we could be able to replicate most of my requirements in this FR. Nevertheless it could be interesting consider the implementation of a specialized DialogAction widget.

Hello! Now, on the latest master, is possible to close the dialog opened by showDialog pressing Esc. I used CallbackShortcuts + FocusScope to detect the key events. This is a workaround while https://github.com/flutter/flutter/issues/97581 isn't fixed on the framework!

Hello! Now the dialog can be closed with Esc properly.
Also, for the buttons, I think we can stay with the current buttons. FilledButton for primary button and Button for other actions!


Running ML Algorithms

[ ] POST /recording/{id}/detect?user=userId

Creates a Celery task to generated annotations for the recording file
The annotations are associated with a specific user.  Although we may want it to be a null user so anyone can see these suggested annotations
It returns back a celeryId which can be used to track the progress of the system

[ ] Detecting Table

CeleryTaskId
User running the detection task (foreign key)
Recording (foreign key)
Date Created
Status (could be running, complete, failed)
Progress (possible progress indicating)
Logging Info( a text field to update the user about the current progress

GET /tasks

Get all tasks that are current running
Include information about the user, date and recording that is running detections on

DELETE /task/{id}

A way to cancel detection

[ ] Client Side

Some way to initiate the running of  the detecting
route of  /tasks  to visualize all currently running tasks
This has some visualization or text indicating the progress of the task.
Includes the ability to cancel tasks as well

resolved in #114


I want some extra help in Configuration

Hi
I'm new to Lua as well as Lite (perhaps I'm setting up Lite just because its awesome and I'm in to learning lua, so thought that "wait Lite, and editor made in Lua, is for me to learn Lua").
But It seems there's no tutorial on Configuring Lite.
All I want is to know some basic Configuration that, probably, most people do to setup their editors. Like changing fonts, fonts size, etc.
Thanks a Lot in advance
Rero 😃

Yea, I figured out myself, Sorry if this issue sent any message or email and disturbed you.


Web Application Config - connection question

I'm new here, but I have mysql set up and am not sure where I add the connection information on the application.conf file? If anyone has a mocked up example I would really appreciate it.
Start the web application server
Make sure your web/conf/application.conf file have the correct connection info for your mysql database. You can either edit it in your code or run with a specific configuration file location with '-Dconfig.file=$YOUR_CONFIG_FILE' option.

In the web/conf/application.conf,
you can see below code:
database.opensource.username = "wherehows"
database.opensource.password = "wherehows"
database.opensource.url = "jdbc:mysql://localhost/wherehows?charset=utf8&zeroDateTimeBehavior=convertToNull"
Replace the username, password and url with your mysql settings.
This file is default application configuration file.
If you have different configuration file, you can user -Dconfig.file=$YOUR_FILE command option when start your web server

Thanks, I was in the right place and had an issue with my url.


AP reconnect to hidden SSID failure

Hi together,
thanks for this amazing work! The Mesh is working absolutely accurate and stable for the first weeks. All SSIDs of the network are hidden (mesh and ap). Restarting of the ESPs is no problem, it will always connect to the hidden AP again.
After restarting the AP (AVM FritzBox), the ESP is no longer able to find the APs Wi-Fi. It says:

No AP with ssid smarthome found
scandone

Setting the SSID at the AP to visible helps. The ESP connects immediately to the AP.
I noticed that my ESP sensors, are connecting to the AP even after restarting it.
I do not want to broadcast the SSID of the network. Neither do I want to switch the SSID to visible after a restart of the AP. Especially as I normally do not recognize a restart of the AP. Any idea how to fix this?
Thanks a lot in advance!
Sven

Automesh relies on a "manual" scan for APs - this only works with non-hidden SSIDs, as it looks for the beacons, these beacons are not send, when an AP is hidden.
Connecting to a hidden SSID works different: it sends out a "Probe request" and receives a "Probe response" from the hidden AP (with this message it is actually no longer "hidden").
If you want to work with hidden SSIDs, disable automesh and configure the ESP manually - this should work.


Added parameter -OutputPath

Added the parameter -OutputPath.
Build-Bicep -Path .\vnet.bicep -OutputPath .\virtualNetork.json

Fixes #109

@emilguden Looks good overall. Can you add a check that verifies that the input provided to -Path is a single .bicep file? Right now it is possible to do this:
Build-Bicep -Path c:\allMyBicepFiles\ -OutputPath c:\armTemplates\template.json
And it will loop through all .bicep files in the folder and output only one template.json, because it will be overwritten for each iteration.  We should only support this for single .bicep files.

@emilguden Looks good overall. Can you add a check that verifies that the input provided to -Path is a single .bicep file? Right now it is possible to do this:
Build-Bicep -Path c:\allMyBicepFiles\ -OutputPath c:\armTemplates\template.json
And it will loop through all .bicep files in the folder and output only one template.json, because it will be overwritten for each iteration. We should only support this for single .bicep files.

Added ParameterSetName so only -OutputPath or -OutputDirectory can be used + your request for only supporting one file when -OutputPath is used.

@emilguden can you update the docs and help as well?


Crowdsec Openresty Bouncer Support

This adds support for Nginx Proxy Manager to be a firewall bouncer for Crowdsec
Blog post on what this does
https://crowdsec.net/blog/nginx-bouncer-v1/
This has been expanded to be a permanent addon to Nginx Proxy Manager,
There are three Configurations that would be needed to be configurable from Nginx Proxy Manager to configure the crowdsec-openresty-bouncer
File: /config/crowdsec/crowdsec-openresty-bouncer.conf
#Enables/Disables the Proxy (true|false)
ENABLED=false
#URL to the crowdsec api
API_URL=
#APIKEY to the crowdsec api, generated on crowdsec using `cscli bouncers add NPM`
API_KEY=

Idea being this will eventually be editable in Nginx Proxy Manager

Why not integrating this new feature into Nginx Proxy Manager instead ?  The whole point of NPM is to provide a nice UI to ease configuration.  Adding a new feature outside NPM is a quick way to implement it, but at the same time, it defeats the goal of the original project.

Think this fits more into an Nginx module that expands Nginx-proxy-manager than something Nginx-proxy-manager will handle and install by itself as it's a completely separate project and some people won't even want to enable it unless they have a crowdsec instance on their network.
I have a PR open on the main repo as well
https://github.com/NginxProxyManager/nginx-proxy-manager/pull/1875
Maybe we should wait for upstream and see what is said there.

Though thinking about this a little more, I think having them separate is better in the long run as updates can be done independently and bug fixes to crowdsec doesn't mean a new docker release for NPM.

Think this fits more into an Nginx module that expands Nginx-proxy-manager than something Nginx-proxy-manager will handle and install by itself as it's a completely separate project and some people won't even want to enable it unless they have a crowdsec instance on their network.

I think the software should come pre-installed into the container.  I agree that it's not the job of NPM to install it.  However, the NPM UI should offer an interface to enable and configure the feature.  It's similar to Let's Encrypt: this is a piece of software completely independent from Nginx, but it still well integrated into NPM.

Though thinking about this a little more, I think having them separate is better in the long run as updates can be done independently and bug fixes to crowdsec doesn't mean a new docker release for NPM.

I think this method is good for advanced people, but I prefer to have containers that have "fixed" softwares implemented.  This way, you provide containers with better predicability, meaning that a specific version "x.y.z" has more chance to behave the same way for everybody, as it does not depend on optional softwares that may or may not be installed.  This also has the benefit of allowing people to revert back to a specific version in case of problem with a particular image.  And as developer of the image, this provides a better guarantee that a published image will work for everybody.
From the updatability point of view, I prefer to publish a new Docker image every time a software is updated.  This eases life of people, since only the container image needs to be update.  People don't need to managing multiple different updates.  Again, this may not bother some people, but I think that the vast majority don't like to micro-manage their containers.

OK I see what you saying. Let me see what i can do.

Ok I think that fits the criteria, Waiting on any input in the main nginx proxy manager about how to go about adding the settings into NPM

Thanks for your work on this....would love for this to be available soon 👍

Ok this is pretty much done, it looks like its going to be added upstream like this as well
https://github.com/NginxProxyManager/docker-nginx-full/pull/8
Was added before but found a weird openresty, lua memory bug when loading the whole ca-certs file for the captcha ban scenario

i'll rebase this again to a single commit, seems to be getting out of hand.

Hello, @jlesage I use Your container on unraid jlesage/nginx-proxy-manager. Is there any guide how to setup crowdsec to that NPM?
Regards.


Rename repository

Now that this repository contains more than just the Maven plugin (it also contains a command-line tool) we should rename the repository to be more generic. For example we could just rename it to: aemanalyser.

Could you rename the repo and artifacts to aem-*, given that you haven't released anything yet?

the aemanalyser-maven-plugin has already been released multiple times: https://repo1.maven.org/maven2/com/adobe/aem/aemanalyser-maven-plugin/

Sorry, I didn't see the tags... :(

@bosschaert I think we should either rename to "aemanalyser" as you suggest or just close this issue. Either is fine with me.

I think this is not so important right now, so let's close the issue. We can always reopen it if the need arises.


Python3 compatibility

Subj, some of code isn't working.
json.loads parsing and os.chmod to be exact.

All errors are fixed now.


build: dereference variable as appropriate

Certain versions of CMake behave differently with variable expansion.  This may
be evaluated incorrectly in some versions.  Dereference the value explicitly.

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

Resolves SR-NNNN.

@swift-ci please smoke test

CC: @drodriguez


install Plastimatch

Hi everyone,
I'm currently trying to install Plastimatch on Colab, but I've encountered some issues. I hope someone can assist me with this problem.
Here are the commands I used:
!sudo apt update
!sudo apt install plastimatch

However, I received the following error message:
Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:2 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease
Hit:3 https://ppa.launchpadcontent.net/c2d4u.team/c2d4u4.0+/ubuntu jammy InRelease
Hit:4 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64  InRelease
Hit:5 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease
Hit:6 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:7 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease
Hit:8 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:9 https://ppa.launchpadcontent.net/ubuntugis/ppa/ubuntu jammy InRelease
Hit:10 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package plastimatch is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'plastimatch' has no installation candidate

Plastimatch HEAD compiles cleanly on 22.04.  So that is one solution.
But more convenient could be to request Ubuntu to add 1.9.4+dfsg.1-2 to backports.  I'll need to review their procedure.

Link to Launchpad bug report: https://bugs.launchpad.net/ubuntu/+source/plastimatch/+bug/2030675

@kiratben - @denbonte did very nice work on improving the process of installing plastimatch, as you can see in this update -  https://gitlab.com/plastimatch/plastimatch/-/issues/87#note_1582315932.
We will update the notebooks to use that, and I will let @denbonte close this issue when it is done!

@kiratben with #32 we fixed plastimatch installation in https://github.com/ImagingDataCommons/IDC-Tutorials/blob/master/notebooks/IDC_segmentation_primer.ipynb. Hope this helps, and please reopen if you still have questions.


chore(main): release 0.0.1

:robot: I have created a release beep boop
0.0.1 (2024-05-01)
Bug Fixes

add ReconcileFlaggedCVERule and update global manifest (c2b954c)
group version, namespace, vuln counter (62fbc75)
rename charts to chart (96a1825)
typo (eae9f24)
update v1 to v1alpha1 and CRD (9a50145)
v1 to v1alpha1 (7cf2316)

Other

add extra files (d4bfa93)
add github workflows (be53017)
deps: update actions/checkout digest to 0ad4b8f (#19) (9f389b8)
deps: update azure/setup-helm digest to fe7b79c (#20) (deee20d)
deps: update codecov/codecov-action digest to 5ecb98a (#21) (53760d4)
release 0.0.1 (5fa1a9b)
upgrade controller-gen (eb6ab5a)
upgrade github.com/docker/docker (7d6417c)
upgrade github.com/kubescape/storage (358cb4f)
upgrade golang.org/x/net (4488f72)
upgrade to go1.22 (c2c1bf8)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/spectrocloud-labs/validator-plugin-kubescape/releases/tag/v0.0.1 :sunflower:


Editing and archived bin unarchives it.

See conversation here: https://twitter.com/apipkin/status/553587140475777024
Need
I want to use JSBin for code previews and share with coworkers, but I do not want the bin to be publicly discoverable.
Attempt
I tried using "private", but that requires me to share my user/pass with team members. Using archive hides the list from public view, but if I edit the archived bin it unarchives it.
Bug
Noticeably, this is probably a desired effect, but going to File to select Archive again is not an option – you must refresh the page for the option to become available.
Thoughts
Bins could have a new state: published.
published sharable, available in User Bins, available in My Bins
unpublished shareable, not available to others in User Bins, available in My Bins
archived sharable, not listed in My Bins or User Bins, accessed via link in My Bins
private not sharable, not available to others in User Bins, available in My Bins
Unarchiving a bin, will place it as unarchived and unpublished unless the bin was previously listed at private

Definitely seems duff (the bug).
I suspect your states are similar to this suggestion: https://github.com/jsbin/jsbin/issues/1498
I do want to introduce the idea of sharable bins that are "unlisted" (ala youtube) - which I think is the same as your unpublished.


Simulator waits for processing a request using fetch until a click is made on the screen

Hi all,
In one of my action callers of my app, where I need to call an external API (using fetch api), I have something like this.
console.log('fetching...');

_pendingRequests[key] = fetch(url, metadata).then(r => r.json())
                                .then(data => { dispatch(key, data, params) })
                                .catch(apiError);

With all the other fetches everything works fine, but there is a fetch that happens when some coordinates are updated, the callback is called, and thus this action caller is called,

fetching...

is displayed in the console but until I don't CLICK on the simulator the promise is not resolved and so the response is not dispatched, in the device everything works as expected.
What can it be?
Thanks

Are you using the Chrome debugger? I could see that causing issues... Basically your click is causing React Native's event loop to run and I think another event loop (V8 maybe) is running without RN being aware of it.

humm.. yes, in fact when I disable Chrome debugger now it doesn't work (ie. the request arrives to the backend but the promise is not resolved)

I think we need more information about the context of this fetch call -- given that all others work fine, there is nothing specific about this that I see causing problems. Please try to post a reproducible example that we can run against! Otherwise there's not much more we can say here :smile:

Closing, ping me when you have a chance to reply and I can reopen!

I'm seeing this same behavior.  It only happens when using the chrome debugger.  I'm digging in and will report back when I know more.

Oh, I upgraded to 0.24.x to 0.26.x and the problem was resolved.

I also have this problem and it happen on 0.26.x , when i use code from  https://facebook.github.io/react-native/docs/sample-application-movies.html
when i disable Chrome debug "remote debug" model , the bug is gone.
so it seem like something wrong wiht remote debug

Hi, I'm having exactly the same issue in 0.33 after upgrade from 0.32. After disconnecting the debugger it works fine

Same problem as @martin-cech says... 😕

Turns out it might not be relevant to version of React, I reverted to 0.32 and the problem was still there. I tried deleting node_modules folder, even completely clean git checkout but nothing worked. I think after
rm -rf /usr/local/lib/node_modules/npm/node_modules

the issue went away. No guarantees whether that works or why, I was just trying to clean as much as possible.

I'm seeing the same problem now, with RN 0.45.1 and React 16.0.0-alpha.12.

I'm having the same issue. When I'm debugging with Chrome, for each request, I have to click on the app (simulator) to be able to make each request. Without debugging I works fine :(

Same problem.
RN 0.46.1

Same here, "react-native": "0.46.4".
redditActions.js:
import thunk from 'redux-thunk';

export const FETCH_POSTS = 'FETCH_POSTS';
export const FETCH_POSTS_COMPLETE = 'FETCH_POSTS_COMPLETE';

export function fetchPosts(dispatch) {
  return (dispatch) => {
    window.fetch('https://www.reddit.com/.json')
    .then( resp => resp.json() )
    .then( data => {
      dispatch(fetchPostsComplete(data.data.children))
    })
  }
}

export function fetchPostsComplete (posts) {
    return {
      type: FETCH_POSTS_COMPLETE,
      payload: posts
    }
}

reducers.js:
import {FETCH_POSTS, FETCH_POSTS_COMPLETE} from './redditActions';

const initialState = { posts: [] }
export const redditReducer = (state=initialState, action) => {
  switch (action.type) {
    case FETCH_POSTS_COMPLETE: {
      const newState = Object.assign({}, state, {posts: action.payload})
      return newState;
    }
    default: {
      return state;
    }
  }
}

Reddit.js:
class Reddit extends Component {
  constructor(props) {
    super(props)
    console.log(this.props)
  }
  componentWillMount() {
    this.props.actions.fetchPosts()
  }
  render() {
    return (
      <View>
        <Text>Reddit</Text>
        {
          this.props.posts.map( post => <Text key={post.data.id}>{post.data.title}</Text>)
        }
      </View>
    )
  }
}

function mapStateToProps(state) {
  return {
    posts: state.posts
  }
}

function mapDispatchToProps(dispatch) {
  return { actions: bindActionCreators(redditActions, dispatch) }
}

export default connect(mapStateToProps, mapDispatchToProps)(Reddit)

When I reload the application, the screen on the IOS simulator is blank until I click on it, then the state seems to get updated and a render happens. Not sure if I'm handling async actions wrong, or if it's react-native (new to react and redux).


Unable to launch new container from prebuilt Oracle Docker Image, if provide new name for ORACLE_SID/PDB and provoke error "ORA-01034"

Detailed Background:-
A) I am successfully able to create Oracle Docker Image for <IP_ADDRESS> version using github repository -https://github.com/oracle/docker-images
B) As soon as I created image, am able to launch/run Oracle DB by giving customize parameters like ORACLE_SID/PDB and container is running as expected.
C) However, afterwards if I stop and commit container and save that container with respective changes as image. Using below commands...
#docker ps -a - (Find the ID of the container that you would like to move using)
#docker commit   - (Commit the changes and save the container to a image using)
#docker save  > /tmp/.tar (Save the image to a tar file which can be used to load it in another host)
D) And then try to run the container on another machine by passing new customize parameters then it failing and getting mentioned error.
Additional Information:-
I followed the steps mentioned in this forum to resolve this issue but no luck..That is removing VOLUME from Dockerfile but still it does not work..
https://github.com/oracle/docker-images/issues/269
https://github.com/oracle/docker-images/tree/master/OracleDatabase/SingleInstance/samples/prebuiltdb
Hence, can you please look into this issue on high priority and unblock me.

Note:- I have comment out "VOLUME" dockerfile as well but still getting below error everytime..
oracle@ip-10-0-0-89:~$ docker run --name oracle12cimage -p 1521:1521 -p 5500:5500 -e ORACLE_SID=medssb01r1 -e ORACLE_PDB=MEDSSB01 -e ORACLE_CHARACTERSET=AL32UTF8 oracle12cimage
ORACLE PASSWORD FOR SYS, SYSTEM AND PDBADMIN: aqlIk46SQhU=1
LSNRCTL for Linux: Version <IP_ADDRESS>.0 - Production on 26-NOV-2018 15:35:52
Copyright (c) 1991, 2016, Oracle.  All rights reserved.
Starting /opt/oracle/product/<IP_ADDRESS>/dbhome_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
System parameter file is /opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/listener.ora
Log messages written to /opt/oracle/diag/tnslsnr/308b1b2a3643/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
Start Date                26-NOV-2018 15:35:52
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/listener.ora
Listener Log File         /opt/oracle/diag/tnslsnr/308b1b2a3643/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))
The listener supports no services
The command completed successfully
[WARNING] [DBT-10102] The listener configuration is not selected for the database. EM DB Express URL will not be accessible.
CAUSE: The database should be registered with a listener in order to access the EM DB Express URL.
ACTION: Select a listener to be registered or created with the database.

Look at the log file "/opt/oracle/cfgtoollogs/dbca/MEDSSB01R1/MEDSSB01.log" for further details.
SQL*Plus: Release <IP_ADDRESS>.0 Production on Mon Nov 26 15:41:56 2018
Copyright (c) 1982, 2016, Oracle.  All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release <IP_ADDRESS>.0 - 64bit Production
SQL>
System altered.
SQL>    ALTER PLUGGABLE DATABASE MEDSSB01 SAVE STATE
*
ERROR at line 1:
ORA-65011: Pluggable database MEDSSB01 does not exist.
SQL> Disconnected from Oracle Database 12c Enterprise Edition Release <IP_ADDRESS>.0 - 64bit Production
ls: cannot access MEDSSB01R1/*/: No such file or directory
ORACLE_HOME = [/home/oracle] ? ORACLE_BASE environment variable is not being set since this
information is not available for the current user ID .
You can set ORACLE_BASE manually if it is required.
Resetting ORACLE_BASE to its previous value or ORACLE_HOME
The Oracle base remains unchanged with value /opt/oracle
/opt/oracle/checkDBStatus.sh: line 27: sqlplus: command not found
#####################################
########### E R R O R ###############
DATABASE SETUP WAS NOT SUCCESSFUL!
Please check output for further info!
########### E R R O R ###############
#####################################
The following output is now a tail of the alert.log:
==> /opt/oracle/diag/rdbms/medssb01r1/MEDSSB01R1/trace/alert_MEDSSB01R1.log <==
Shared IO Pool defaulting to 64MB. Trying to get it from Buffer Cache for process 1981.
Dumping current patch information
No patches have been applied
2018-11-26T15:41:56.605629+00:00
ALTER SYSTEM SET control_files='/opt/oracle/oradata/MEDSSB01R1/control01.ctl' SCOPE=SPFILE;
ALTER PLUGGABLE DATABASE MEDSSB01 SAVE STATE
ORA-65011 signalled during:    ALTER PLUGGABLE DATABASE MEDSSB01 SAVE STATE...
==> /opt/oracle/diag/rdbms/oradocker/ORADOCKER/trace/alert_ORADOCKER.log <==
ALTER DATABASE DISMOUNT
Shutting down archive processes
Archiving is disabled
Completed: ALTER DATABASE DISMOUNT
2018-11-26T15:32:40.657779+00:00
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
2018-11-26T15:32:41.660171+00:00
JIT: pid 2833 requesting stop
==> /opt/oracle/diag/rdbms/medssb01r1/MEDSSB01R1/trace/alert_MEDSSB01R1.log <==
2018-11-26T15:41:57.255611+00:00
Resize operation completed for file# 4, old size 61440K, new size 66560K
2018-11-26T15:41:58.227665+00:00
Resize operation completed for file# 4, old size 66560K, new size 71680K

oracle@ip-10-0-0-89:~$ docker info
Containers: 2
Running: 1
Paused: 0
Stopped: 1
Images: 17
Server Version: 18.09.0
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: c4446665cb9c30056f4998ed953e6d4ff22c7c39
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: fec3683
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.15.0-1021-aws
Operating System: Ubuntu 18.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.66GiB
Name: ip-10-0-0-89
ID: XYZP:AXNG:B2AJ:OAPM:YHP3:EPML:4AL4:QPOE:M4RF:VRZ7:AP6P:LLF2
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
<IP_ADDRESS>/8
Live Restore Enabled: false
Product License: Community Engine
WARNING: No swap limit support

Can someone please help me on this issue.

@vtotare-mdsol, your database creation failed, you will have to look at the log file what went wrong:
Executing Post Configuration Actions
DBCA Operation failed.
Look at the log file "/opt/oracle/cfgtoollogs/dbca/MEDSSB01R1/MEDSSB01.log" for further details.

this is not something with DB, whenever i try to create new database using this SID=MEDSSB01R1 and PDB=MEDSSB01, it gets failed.
Can we have a quick session so can execute the exact issue

excuse me, there are no solution nowadays?

This is most likely an issue that the ORACLE_SID is too long, it can only be up to 8 characters. Ideally dbca should not create a database with a SID that is too long but alternatively, the createDB.sh script could check for the length of the SID and abort if it is too long.
@yunus-qureshi, @rishabh20, can you please take a look at this?

@vtotare-mdsol is your issue resolved?


Fix typos

Fix a couple of typos.

I'll work on add some spell-checking as part of the PR submission process :D


what is mean of num_cells_w_tcr: 19055

num_cells_w_tcr indicates the number of cells with paired TCR information mapped in the dataset.


How to adjust the distance between picture and font

The spacing between pictures and fonts is too close.

all those spaces are from dimens.xml. Any setting can be overridden from your project to change those.


How to solve the question that resource module is not useful in window ？

Hi Lisette,
I am using python 3.7 in windows environment, however the resource module is not working, I don't know how to solve it, the information I checked shows that resource can only be run in Unix.
Also, is the MRQAP result calculated by this code consistent with UCINET?
Best regards,
yuliangru

Hi @yuliangru,
The resource module is there only for the profiling (to log the memory usage).
So, you can comment it out all over since it is not used to run MRQAP.
You can either do this in libs/profiling.py
68. self.mem_resource[key] = None #resource.getrusage(resource.RUSAGE_SELF).ru_maxrss / rusage_denom
or this in libs/mrqap.py
17. #from libs.profiling import Profiling
56. self.memory = None #memory if memory is not None else Profiling()  # to track memory usage
77. return #self.memory.check_memory(key)
89. key = None #self.npermutations if self.memory.perm else self.n
As for the results, when I coded this, I followed some examples from a book.
Those examples were run in UCINET (using the graphs from data) and the results using my code matched.
Unfortunately, I don't remember what book it was :-/

Hi @lisette-espin ,
Thank you for your answer, and it works well!
Best regards,
yuliangru


cloudscraper.exceptions.CloudflareChallengeError

How to solve the problem?
Code:
search_result = Search.search_for('test')
Error:
cloudscraper.exceptions.CloudflareChallengeError: Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version.

Hi there, this is sadly a limitation of the free open source library's the package depends on, there is no "paid" version bc this is using another package to access you.com.
Hope this helps!


highways.footway doesn't work with generic weighting for roads

Routing through footways doesn't work with generic weighting. (i.e. adding the highways.footway=5 hint to the query doesn't do anything, and any time a route must go through two points that are only near footways, it says "connection between locations not found")

Should be because the DataFlagEncoder only allows Motorvehicle like access right now?

Right, is there any way I can change that? I'm trying to create an app that routes for wheelchair users and I want to avoid certain types of paths like steps, so I'd like to set the speed on those to very low.

Right, is there any way I can change that?

Sure, the DataFlagEncoder is quite new, so there are a lot of architectural decisions you can make. Right now it is designed for motor vehicles. So we would need a way to mark an edge as eiter motor_vehicle acessible, pedestrian accessible, or both (in your case you might also want to define wheelchar accessible, e.g. try to avoid steps).
Maybe this is possible with the highway value or maybe you need to extend the access value or even a new value?
Hope this helps? Keep us updated and feel free to create a PR for you changes :)

I'm a bit confused on how to do that -- so currently the DataFlagEncoder is set to encode only the car's maximum forward and backward speeds, right? So what I need to do is create a footFwdMaxspeedEncoder and footBwdMaxspeedEncoder and add it to the defineWayBits function, change some other places as necessary, and then call DataFlagEncoder with the accessType "foot" instead of car from GenericWeighting, right? I've changed the files, and but they don't seem to be working. I also don't know where the type of routing is set (car vs. foot except it seems that in the GraphHopper main file, there's a line that says "encodingManager.supports(vehicle);". Currently when I try to run it I can't seem to route on footways at all.
Can you take a look at this and see if I'm doing something wrong or if there are things I've left out? https://github.com/graphhopper/graphhopper/compare/master...dlu306090:master
Thanks!

@dlu306090 Took a brief look at your branch. The basic approach is correct, I think. You have to set foot  speeds for every edge that you want to allow, not just footways. For a more detailed approach on how to do this, see the FootEncoder. You also have to check for things like sidewalk, and so on. Then you have to setup access for vehicle and for foot, these are two different encoders, I think. We need a request parameter, that states something like transport_mode=foot|car, that does not exist yet. In the GenericWeighting you could then use the different encoded values. That would be probably be my approach.

Just had a second thought. Maybe it would be easiest for you to just assume the same speed for all edges that are accessible, for example make every edge 5km/h (might be a bit fast on average, especially with a wheelchair). For now just care about accessibility. So basically you need to find out if a way is accessible by pedestrians, if yes set it as acessible, don't set a speed for now. In the GenericWeighting, remove the sppeed for now and only return distance if accessible by pedestrians. I think that will be the fastest approach. Once that works, you can improve. By using all different kinds of speeds and other fancy stuff.

Thanks for the quick response! So I would write a separate FootFlagDataEncoder and a separate CarFlagDataEncoder? When you say "request parameter," where would that go? Why would we need one if we have two separate encoders and I could just create the respective encoder when I want to enable a specific transport mode? Also, I've currently enabled foot encoding in GenericWeighting but it doesn't work, and I can't seem to figure out why. I suspect it's because setting which encoding is used isn't done in these files? I will eventually add speeds for all the types of edges and sidewalks I want, but I'm currently only trying to make routing on footways work.
When you say "set it as accessible," is that the "ACCESSIBLE" macro you added 6 days ago? I thought that was something else, since it was in response to another problem, but I just wanted to make sure.

So I would write a separate FootFlagDataEncoder and a separate CarFlagDataEncoder?

No, we have that already ;). I think the DataFlagEncoder's purpose is to reflect the Data of for example the OsmWay. The weighting would then on the fly "decide" what the weight for the given transportation mode and situation would be.

When you say "request parameter," where would that go?

I'd put it in the URL.

Why would we need one if we have two separate encoders and I could just create the respective encoder when I want to enable a specific transport mode?

The idea of the DataFlagEncoder and GenericWeighting is to get rid of all the different Encoders and move more logic into the Weighting.

I suspect it's because setting which encoding is used isn't done in these files?

I believe the reason for this is that you have not correctly set and read the access and speed properties in the encoder, as described above.

I will eventually add speeds for all the types of edges and sidewalks I want, but I'm currently only trying to make routing on footways work.

Not sure if there are enough footways available to navigate from A to B, I personally doubt that, for OSM data in general.

When you say "set it as accessible," is that the "ACCESSIBLE" macro you added 6 days ago?

Yes, related to that. In the GenericWeighting we are checking if an Edge is accessible, if not we add a lot of weight to it, so it won't be taken. You have to make sure that the ways you want to use are accessible.
Anyway, if you only want a fast solution, just use the FootFlagEncoder and FastestWeighting. You will have a working solution straight away and just need to modify it for Wheelchairs.

Hmm...so my understanding was that the reason I'd use DataFlagEncoder and GenericWeighting is because I want the option for users to select which types of paths they want to avoid, and DataFlagEncoder maintains the tags of the OSMWay after processing, whereas FootFlagEncoder doesn't. So I could technically modify FootFlagEncoder for Wheelchairs, but I wouldn't be able to make things dynamic inside the app, right?

Exactly, if you want that, you have to use the DataFlagEncoder.

So I tried to change just the FootFlagEncoder but that seems not to work either. (i.e. taking out safeHighwayTags.add("steps"); and putting in avoidHighwayTags.add("steps"); does nothing.) Would you have any idea why?

Actually I just realized that commenting out the whole file FootFlagEncoder.java also does nothing; when I run ./graphhopper.sh web new-jersey-latest.osm.pbf everything is still fine. Now I'm really confused - if the graph.flag_encoders=foot in config.properties, isn't it supposed to use the FootFlagEncoder.java file?

Probably you have to run ./graphopper.sh web clean first. Also another issue is that if you want to change the graph you also have to delete the new-jersey-latest.osm folder for every start. This will read the osm file  and generate the graph. Also I would setup an IDE to do the build process. Have a look at the docs, everything should be there :).

This should be now possible with the CustomWeighting (DataFlagEncoder was removed)


.APK missing

I cannot find the Android release. According to the readme the .apk file should be in the /bin subdirectory but actually it seems missing

Did you check the zip in the release folder?
https://github.com/jenergy/jzIntvImGui/releases/tag/2.3.7
Il sab 6 ago 2022, 13:48 artrag @.***> ha scritto:

I cannot find the Android release.
The .apk file should be in the /bin subdirectory but actually it seems
missing
—
Reply to this email directly, view it on GitHub
https://github.com/jenergy/jzIntvImGui/issues/3, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANTFFZFLOVPVZLL6BCL5333VXZGIDANCNFSM55YOYA6A
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Found! Thanks! I was looking in the code folder

My fault, I will remove the 'bin' folder reference in the description of
the project.
Il sab 6 ago 2022, 16:56 artrag @.***> ha scritto:

Found! Thanks! I was looking in the code folder
—
Reply to this email directly, view it on GitHub
https://github.com/jenergy/jzIntvImGui/issues/3#issuecomment-1207228951,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANTFFZEZZZE5SLUIZYUVDYLVXZ4KVANCNFSM55YOYA6A
.
You are receiving this because you commented.Message ID:
@.***>


Support token

Grs seems to support personal access token. Please expose a way to pass token to grs if available. This way the request would be authenticated request hence allowing more number of downloads.

gulp-electron supported grs token on v0.0.11.
Thanks @philliphoff <3


How to auto generate function code hidden .go files for static library built by -buildmode=archive?

What version of Go are you using (go version)?

 go version go1.12.7 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
GOARCH="amd64"
GOBIN="/Users/***/git/bin"
GOCACHE="/Users/***/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/***/git/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/97/*****************/T/go-build********=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

go build -buildmode=archive -o ***.a
What did you expect to see?
.a static library and .go header files generated.
This project has many public functions, structs and constants, it's too hard to write function code hidden .go files (close to c language .H header files) by hand. I hope to use some command or tool to generate .go "header" files for static library users.
What did you see instead?
.a only

That's not how Go works.  Go doesn't use header files at all.  You don't have to write them by hand.
Also, -buildmode=archive is the default for a non-main package.
For questions like this you may get better and faster answers if you use a forum.  See https://golang.org/wiki/Questions.


Allow github config to be passed in env

This is in order to avoid having Github tokens having to be committed in the config.yml.
If you think there should be support for dotenv, or for passing any of these parameters on the command line, I can add that.

Thanks @paddybyers!


feat: implement DslGraphqlSampler

Closes #85
My implementation of graphqlSampler.

I merged into master and then will merge the changes we have been locally doing in this regard. Thank you very much for this contribution.
In the future remember checking Contributing guide if you haven't, and adding builder methods in JmeterDsl class and proper javadocs to class and methods for settting properties.
Thank you again!

And some automated test :).

When can we expect a release?) This feature is needed really asap for current work)


Solves issue#89 Update node template for when user returns nil

Signed-off-by: Patricio Diaz<EMAIL_ADDRESS>Solves issue #89 Update node template for when user returns nil
Description
In the node.js template, if the handler defined by the user returns undefined/null it just skips the remaining code so the functions returns just status 200.
Motivation and Context
https://github.com/openfaas/templates/issues/89

[ ] I have raised an issue to propose this change (required)

Which issue(s) this PR fixes
Fixes #89
How Has This Been Tested?
As described in the issue
Types of changes

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

Derek close: fixed by earlier PR #90


Send team message if there are cheaters in your team you can't kick due to your own cooldown.

Seems self explanatory but happy to discuss further!

there isn't a way to "know" that if you have a cooldown in console as far as I know, so this goes into the design limitation pile :(

Is there a way to determine whether the (attempted) votekick has succeeded?

nope :(
On Sat, Jan 27, 2024 at 7:22 PM Evan Kaufman @.***>
wrote:

Is there a way to determine whether the (attempted) votekick has succeeded?
—
Reply to this email directly, view it on GitHub
https://github.com/surepy/tf2_bot_detector/issues/20#issuecomment-1913431577,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF22EXWGOS5NHALTAIJJRD3YQW753AVCNFSM6AAAAABA4XHSMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGQZTCNJXG4
.
You are receiving this because you commented.Message ID:
@.***>


Expose MonitorCrossConnect service northbound from nsmd

Currently, the Dataplane exposes a MonitorCrossConnect service to nsmd to report on CrossConnects.  By exposing MonitorCrossConnect northbound from nsmd, it should be possible for monitoring services like skydive.network to build complete topologies.
This should be a pretty simple task:

In nsmd instantiate a MonitorCrossConnectServer and have it listen to <IP_ADDRESS>:${pick a tcp port number}
In nsmd write a simple MonitorCrossConnectClient that talks to the Dataplane’s MonitorCrossConnectServer.
Have the MonitorCrossConnectClient Send any CrossConnectEvents its receives to the nsmd’s MonitorCrossConnectServer.

PR: https://github.com/ligato/networkservicemesh/pull/505

And merged!


Inference File Name Issues

When trying to generate audio from a trained model, I am met with the following error:
2021-09-05 13:52:58.724637: W tensorflow/core/util/tensor_slice_reader.cc:95] Could not open /content/drive/MyDrive/prism-samplernn/logdir/default/11.08.2021_18.02.32/model.ckpt-46.data-00000-of-00001: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?
Traceback (most recent call last):
File "generate.py", line 150, in
main()
File "generate.py", line 146, in main
args.sample_rate, args.temperature, args.seed, args.seed_offset)
File "generate.py", line 98, in generate
model = create_inference_model(ckpt_path, num_seqs, config)
File "generate.py", line 74, in create_inference_model
model.load_weights(ckpt_path).expect_partial()
File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 2354, in load_weights
with h5py.File(filepath, 'r') as f:
File "/usr/local/lib/python3.7/dist-packages/h5py/_hl/files.py", line 427, in init
swmr=swmr)
File "/usr/local/lib/python3.7/dist-packages/h5py/_hl/files.py", line 190, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 96, in h5py.h5f.open
OSError: Unable to open file (file signature not found)
I have had this issue previously and it was solved by changing 'model.ckpt-46.data-00000-of-00001' to 'model.ckpt-46'.
also see: https://github.com/tensorflow/models/issues/2675
However, once I have done this I am now met with the following error:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/training/py_checkpoint_reader.py", line 71, in get_tensor
self, compat.as_bytes(tensor_str))
RuntimeError: /content/drive/MyDrive/prism-samplernn/logdir/default/11.08.2021_18.02.32/model.ckpt-46.data-00000-of-00001; No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "generate.py", line 150, in
main()
File "generate.py", line 146, in main
args.sample_rate, args.temperature, args.seed, args.seed_offset)
File "generate.py", line 98, in generate
model = create_inference_model(ckpt_path, num_seqs, config)
File "generate.py", line 74, in create_inference_model
model.load_weights(ckpt_path).expect_partial()
File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 2331, in load_weights
status = self._trackable_saver.restore(filepath, options)
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/training/tracking/util.py", line 1345, in restore
object_graph_string = reader.get_tensor(base.OBJECT_GRAPH_PROTO_KEY)
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/training/py_checkpoint_reader.py", line 75, in get_tensor
error_translator(e)
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/training/py_checkpoint_reader.py", line 49, in error_translator
raise errors_impl.OpError(None, None, error_message, errors_impl.UNKNOWN)
tensorflow.python.framework.errors_impl.OpError: /content/drive/MyDrive/prism-samplernn/logdir/default/11.08.2021_18.02.32/model.ckpt-46.data-00000-of-00001; No such file or directory
Is this a problem with py_checkpoint_reader.py still looking for the 'data-00000-of-00001' suffix? I am not sure how to access it to rectify this. Thanks in advance.

@deccolquitt What is the full script call you are using, with parameters?
TF will internally still look for the files with the extension .data-00000-of-00001, so I don't think that's the issue.
This is on Colab, I assume? The full path looks suspicious:
/content/drive/MyDrive/prism-samplernn/logdir/default/11.08.2021_18.02.32/model.ckpt-46.data-00000-of-00001
I'm thinking of the /content/drive/MyDrive/ bit, I'd expect that to be /content/drive/My\ Drive/ or '/content/drive/My Drive/'. But perhaps that is just TF's internal representation.

It is on Colab yes, and I've not previously had a problem with /MyDrive/ over /My\ Drive/ or /My Drive/, but I have just tried all three as well as finally trying the following which mirrors the output path:
!python generate.py \
  --output_path ./generated/default/test.wav \
  --checkpoint_path ./logdir/default/11.08.2021_18.02.32/model.ckpt-46 \
  --dur 10 \
  --sample_rate 16000 \
  --temperature 0.9 \
  --config_file ./default.config.json

but I've still gotten the same message as before (I am including the full output this time):
2021-09-05 18:02:46.464058: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-09-05 18:02:46.471822: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-09-05 18:02:46.472459: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-09-05 18:02:46.473489: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-09-05 18:02:46.474172: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-09-05 18:02:46.474826: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-09-05 18:02:47.086917: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-09-05 18:02:47.087662: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-09-05 18:02:47.088325: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-09-05 18:02:47.088878: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:39] Overriding allow_growth setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.
2021-09-05 18:02:47.088930: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1510] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13839 MB memory:  -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5
2021-09-05 18:02:48.726549: I tensorflow/stream_executor/cuda/cuda_dnn.cc:369] Loaded cuDNN version 8004
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/training/py_checkpoint_reader.py", line 71, in get_tensor
    self, compat.as_bytes(tensor_str))
RuntimeError: ./logdir/default/11.08.2021_18.02.32/model.ckpt-46.data-00000-of-00001; No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "generate.py", line 150, in <module>
    main()
  File "generate.py", line 146, in main
    args.sample_rate, args.temperature, args.seed, args.seed_offset)
  File "generate.py", line 98, in generate
    model = create_inference_model(ckpt_path, num_seqs, config)
  File "generate.py", line 74, in create_inference_model
    model.load_weights(ckpt_path).expect_partial()
  File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 2331, in load_weights
    status = self._trackable_saver.restore(filepath, options)
  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/training/tracking/util.py", line 1345, in restore
    object_graph_string = reader.get_tensor(base.OBJECT_GRAPH_PROTO_KEY)
  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/training/py_checkpoint_reader.py", line 75, in get_tensor
    error_translator(e)
  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/training/py_checkpoint_reader.py", line 49, in error_translator
    raise errors_impl.OpError(None, None, error_message, errors_impl.UNKNOWN)
tensorflow.python.framework.errors_impl.OpError: ./logdir/default/11.08.2021_18.02.32/model.ckpt-46.data-00000-of-00001; No such file or directory

And you're sure ./logdir/default/11.08.2021_18.02.32 exists? And there are checkpoint files inside it?

100%!

OK, so you're definitely missing the data file, then. This is what I typically see (just did a quick Colab test):

So your model.ckpt-46 file is somehow missing the data-00000-of-00001 extension/suffix. I'd suggest doing a quick training test of 1 epoch maybe, just to see if it's saving checkpoints correctly. And if it is I guess you could add the suffix manually, if the file itself is OK that shouldn't be a peoblem.

Ah no, this is the original problem - the checkpoints do always save with the data-00000-of-00001 suffix for me as well, but this has in the past (and also in this case) been a problem with inference, as outlined here:
[https://github.com/tensorflow/models/issues/2675]
So I have manually removed the suffix, which in the past solved the problem, but in this case didn't. When I try and run with the suffix in place, I am met with this error:
Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?
Which is why I manually removed the suffix.

Thanks for that update. So I've been doing some tests on Colab today, and also on my own machine, and I haven't been able to reproduce the error - certainly not the original error, at any rate. If I remove the extension from the checkpoint file then certainly I get the file not found error. But looking closer at the original error I can see that it references h5py, which is the package required to save entire TF/Keras models (the complete layer architecture) - prism-samplernn internally uses Keras ModelCheckpoint callbacks, which save just the network weights, not the model itslef. Googling this error
Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?
yields a bunch of results relating to that file format.
I wonder whether the model was saved by an earlier version of TensorFlow, and is now being loaded in the latest one? Perhaps some change has been made which causes models saved by earlier TF versions to not be loadable (although I wouldn't expect that)... On Colab I see they are using 2.6.0 - I believe this is quite a recent upgrade.
I would suggest running a quick test of maybe a single epoch to see if the resulting checkpoints will load during generation.

apologies for delay in replying... i have managed to get this to work finally, which i achieved by cloning the repo into the colab session storage, rather than working from a notebook in my drive (although this hasn't been a problem in the past). All I did then (and will do in the future for inference) is dragged my pkl file into the session storage from my drive. thanks for your help.


Extend windows version range to include 0.58

The latest windows 0.58 release is fully compatible with the direct-storage code generated and written against windows 0.56-0.57.

LGTM


kubescape: 1.0.137 -> 1.0.138

Motivation for this change
https://github.com/armosec/kubescape/releases/tag/v1.0.138
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

1 package built:

kubescape


Fixed #32929 -- Fixed handling query strings in AsyncRequestFactory.

ticket:
https://code.djangoproject.com/ticket/32929

@pochangl Thanks for updates  Welcome aboard

My apologies. I just realized that my commit message contains wrong ticket number.
Another commit has been submitted.


hyperparameters for results described in paper

Hi, what are the specific hyperparameters for the results achieved in the paper (79.3 for roberta and 65.8 for bert)?
I saw the mention of the grid search but the exact values leading to the results were not mentioned. Thank you!

Hi, thank you for reaching out.
The hyper-parameters for RoBERTa and BERT are as follows.

RoBERTa

LEARNING_RATE: 1e-5
MODEL_NAME_OR_PATH: roberta-large
NUM_EPOCHS: 8
SEED: 11262
TRAIN_BATCH_SIZE | 16

BERT

LEARNING_RATE: 1e-5
MODEL_NAME_OR_PATH: bert-large-uncased
NUM_EPOCHS: 8
SEED: 1873
TRAIN_BATCH_SIZE: 8

I also uploaded the fine-tuned model (and config) files to our project page.
I hope this helps :)

Hi, thank you for reaching out.
The hyper-parameters for RoBERTa and BERT are as follows.

RoBERTa

LEARNING_RATE: 1e-5
MODEL_NAME_OR_PATH: roberta-large
NUM_EPOCHS: 8
SEED: 11262
TRAIN_BATCH_SIZE: 16

BERT

LEARNING_RATE: 1e-5
MODEL_NAME_OR_PATH: bert-large-uncased
NUM_EPOCHS: 8
SEED: 1873
TRAIN_BATCH_SIZE: 8

I also uploaded the fine-tuned model (and config) files to our project page.
I hope this helps :)

Thank you very much! :)

Hi, thank you for posting the hyper-parameters. Are these for the "xl" dataset? Do you use the same hyperparameters for the smaller datasets or are they different? Thanks!

Yes, these are for the XL dataset.
As you may know, transformer models like BERT and RoBERTa are very sensitive to hyper-parameters.

XS

LEARNING_RATE: 1e-5
NUM_EPOCHS: 5
SEED: 5006
TRAIN_BATCH_SIZE: 16

S

LEARNING_RATE: 1e-5
NUM_EPOCHS: 5
SEED: 30693
TRAIN_BATCH_SIZE: 8

M

LEARNING_RATE: 1e-5
NUM_EPOCHS: 8
SEED: 23680
TRAIN_BATCH_SIZE: 16

L

LEARNING_RATE: 1e-5
NUM_EPOCHS: 5
SEED: 26069
TRAIN_BATCH_SIZE: 16


How to solve the problem of Internet connect

Could you provide more details on what the problem is?

Marking this issue as closed. Please reopen if there're further details or updates.


License?

What is the license of this code?
Is it ok to include it in a shipped product to be able to upgrade the touch controller in the field?

Hi Johado, please mail your question/requirement to<EMAIL_ADDRESS>for detail discussion.
Thanks,


fix missing type in getFlags

fix https://github.com/vesoft-inc/nebula-storage/issues/409

close https://github.com/vesoft-inc/nebula-storage/issues/409


Update Flask Version

Verify the possibility to use a newer Flask version in the application.

I examined this issue and it seems like the project doesn't work with Flask 2.2.2, even though it's listed in the dependencies. After upgrading to the latest version (3.0.0) it seems like things are working again.

I examined this issue and it seems like the project doesn't work with Flask 2.2.2...

How did you test it? It supposed to be working...

I examined this issue and it seems like the project doesn't work with Flask 2.2.2...

How did you test it? It supposed to be working...

First I created a virtual environment in the project folder (basic venv), then activated it and installed the needed dependencies. After the installation process finished I tried to run the project and got a werkzeug error immediately, which caused the app to crash.

This is strange because it is working on the demo server and locally for me (but I'm not using a venv).
But this improvement is important anyway.


Delete cascade

Is your feature request related to a problem? Please describe.
Delete mutation should have cascade feature.
Describe the solution you'd like
When deleting a record, the relationship data at other places (relation table, foreign key) should be deleted as well.

Maybe a directive could be provided that denotes whether a deletion should also cascade delete related records, leave related records alone, or throw an error when deletion of a record with related data is attempted.

@jonesnc haven't check out Django api on the relationship before. Looks like we can actually use similar arguments on the cascade deletes part.
Thanks for the helpful information!


Add Migration Tool for breaking changes that require user controlled updates

Describe the problem
BoundsControl and ObjectManipulator need an upgrade tool to allow users to move over from BoundingBox and ManipulationHandler.
There might be more components in the future that might require user controlled migration.
Describe the solution you'd like
Provide an upgrading / migration window that offers different possibilities to upgrade the components that register:
Have a table where each component that needs upgrading gets a row and users can decide per column if they want to:
-migrate the currently open scene
(-migrate the currently selected object?)
-migrate all available scenes and prefabs
Inspectors of the deprecated components should also show an upgrade button and some info that this component is going to be deprecated and replaced by the new version.
Also make sure to test the various upgrading scenarios (add tests for the upgrading tool and the components we want to support)
Additional context
part of #5340  and #5464

@MenelvagorMilsom


Allow TiFlash server run without a config file

What problem does this PR solve?
Issue Number: ref https://github.com/pingcap/tiflash/issues/4809
Problem Summary:
What is changed and how it works?
Major change:
Allow TiFlash to start without a config file (and allow passing necessary config via args instead). In this way, we could start a TiFlash with a reuseable customize config in TiUP in this way:
tiup playground nightly --tiflash.config <path_to_a_reuseable_config>

Detailed changes:

[x] Support start TiFlash server without a config file.
A minimal working sample:
dbms/src/Server/tiflash server -- --path=./data --raft.pd_addr=http://<IP_ADDRESS>:2379

[x] Fix boost compile failure in PocoHTTPClient in Clang15.

[x] Fix the issue that we cannot specify a relative path in path.

[x] Support ./tiflash server --help.

[x] Output the reason when TiFlash proxy is not started.

[x] Disable writing xxx_preprocessed.toml because it is not used.

[x] Add colors when output logs in the terminal directly:

Check List
Tests

[ ] Unit test
[ ] Integration test
[x] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/merge

/build


Add Tweet content language in UserTweets and TweetDetail

first of all awesome tool.
it will be good if we can also grab tweet content language as well.

ok got a way.
just choose metadata export option when exprting. then we can get language from metadata.legacy.lang


tf.distribute.MirroredStrategy is stuck.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu20.04
TensorFlow installed from (source or binary): pip install tensorflow
TensorFlow version (use command below): 2.3.1
Python version: 3.8.3
CUDA/cuDNN version: 10.1
GPU model and memory: gtx1070 * 2

You can collect some of this information using our environment capture
script
== check python ===================================================
python version: 3.8.3
python branch:
python build version: ('default', 'Jul  2 2020 16:21:59')
python compiler version: GCC 7.3.0
python implementation: CPython

== check os platform ===============================================

== are we in docker =============================================
No

== compiler =====================================================
c++ (Ubuntu 7.5.0-6ubuntu2) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

== check pips ===================================================
numpy                              1.18.5
numpydoc                           1.1.0
protobuf                           3.13.0
tensorflow                         2.3.1
tensorflow-estimator               2.3.0
tensorflow-serving-api             2.3.0

== check for virtualenv =========================================
False

== tensorflow import ============================================
tf.version.VERSION = 2.3.1
tf.version.GIT_VERSION = v2.3.0-54-gfcc4b966f1
tf.version.COMPILER_VERSION = 7.3.1 20180303
    194729:     find library=libpthread.so.0 [0]; searching
    194729:      search path=/home/zhaodachuan/anaconda3/bin/../lib/tls/x86_64/x86_64:/home/zhaodachuan/anaconda3/bin/../lib/tls/x86_64:/home/zhaodachuan/anaconda3/bin/../lib/tls/x86_64:/home/zhaodachuan/anaconda3/bin/../lib/tls:/home/zhaodachuan/anaconda3/bin/../lib/x86_64/x86_64:/home/zhaodachuan/anaconda3/bin/../lib/x86_64:/home/zhaodachuan/anaconda3/bin/../lib/x86_64:/home/zhaodachuan/anaconda3/bin/../lib         (RPATH from file /home/zhaodachuan/anaconda3/bin/python)
    194729:       trying file=/home/zhaodachuan/anaconda3/bin/../lib/tls/x86_64/x86_64/libpthread.so.0
    194729:       trying file=/home/zhaodachuan/anaconda3/bin/../lib/tls/x86_64/libpthread.so.0
    194729:       trying file=/home/zhaodachuan/anaconda3/bin/../lib/tls/x86_64/libpthread.so.0
    194729:       trying file=/home/zhaodachuan/anaconda3/bin/../lib/tls/libpthread.so.0
== env ==========================================================
LD_LIBRARY_PATH /usr/local/cuda/lib64
DYLD_LIBRARY_PATH is unset

== nvidia-smi ===================================================
Wed Nov 18 19:10:46 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.80.02    Driver Version: 450.80.02    CUDA Version: 11.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce GTX 1070    Off  | 00000000:23:00.0 Off |                  N/A |
| 42%   53C    P2    55W / 180W |   7709MiB /  8119MiB |    100%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 1070    Off  | 00000000:2D:00.0  On |                  N/A |
| 47%   65C    P2    60W / 180W |   7716MiB /  8111MiB |    100%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1041      G   /usr/lib/xorg/Xorg                  4MiB |
|    0   N/A  N/A    171379      G   /usr/lib/xorg/Xorg                  4MiB |
|    0   N/A  N/A    193747      C   ...huan/anaconda3/bin/python     7695MiB |
|    1   N/A  N/A      1041      G   /usr/lib/xorg/Xorg                 35MiB |
|    1   N/A  N/A    171379      G   /usr/lib/xorg/Xorg                 77MiB |
|    1   N/A  N/A    171513      G   /usr/bin/gnome-shell              119MiB |
|    1   N/A  N/A    177947      G   /usr/bin/nvidia-settings            3MiB |
|    1   N/A  N/A    193747      C   ...huan/anaconda3/bin/python     7461MiB |
+-----------------------------------------------------------------------------+

== cuda libs  ===================================================
/usr/local/cuda-10.1/targets/x86_64-linux/lib/libcudart_static.a
/usr/local/cuda-10.1/targets/x86_64-linux/lib/libcudart.so.10.1.243
/usr/local/cuda-10.1/doc/man/man7/libcudart.so.7
/usr/local/cuda-10.1/doc/man/man7/libcudart.7

== tensorflow installed from info ==================
Name: tensorflow
Version: 2.3.1
Summary: TensorFlow is an open source machine learning framework for everyone.
Home-page: https://www.tensorflow.org/
Author-email<EMAIL_ADDRESS>License: Apache 2.0
Location: /home/zhaodachuan/anaconda3/lib/python3.8/site-packages
Required-by: tensorflow-serving-api

== python version  ==============================================
(major, minor, micro, releaselevel, serial)
(3, 8, 3, 'final', 0)

== bazel version  ===============================================

You can also obtain the TensorFlow version with:
2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
2020-11-18 19:09:31.423127: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
v2.3.0-54-gfcc4b966f1 2.3.1

Describe the current behavior
When I run the code
import tensorflow as tf
gpus = tf.config.experimental.list_physical_devices('GPU')
tf.config.experimental.set_visible_devices(gpus, 'GPU')
print(gpus)
# output :
# [PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU'), PhysicalDevice(name='/physical_device:GPU:1', device_type='GPU')]
loss_fn = tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True)
model.compile(optimizer='adam',
              loss=loss_fn,
              metrics=['accuracy'])
model.fit(x_train, y_train, epochs=500)

, it's stuck in
Epoch 1/500
INFO:tensorflow:batch_all_reduce: 4 all-reduces with algorithm = nccl, num_packs = 1
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:CPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:CPU:0',).
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:CPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:CPU:0',).
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:CPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:CPU:0',).
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:CPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:CPU:0',).
INFO:tensorflow:batch_all_reduce: 4 all-reduces with algorithm = nccl, num_packs = 1
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:CPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:CPU:0',).
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:CPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:CPU:0',).
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:CPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:CPU:0',).
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:CPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:CPU:0',).

When I change to
mirrored_strategy = tf.distribute.MirroredStrategy(cross_device_ops=tf.distribute.ReductionToOneDevice())

, it can work but it runs slower than one gpu and the loss will become nan quickly
Epoch 1/500
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:GPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:GPU:0', '/job:localhost/replica:0/task:0/device:GPU:1').
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:GPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:GPU:0', '/job:localhost/replica:0/task:0/device:GPU:1').
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:GPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:GPU:0', '/job:localhost/replica:0/task:0/device:GPU:1').
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:GPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:GPU:0', '/job:localhost/replica:0/task:0/device:GPU:1').
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:CPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:CPU:0',).
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:CPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:CPU:0',).
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:CPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:CPU:0',).
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:CPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:CPU:0',).
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:GPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:GPU:0', '/job:localhost/replica:0/task:0/device:GPU:1').
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:GPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:GPU:0', '/job:localhost/replica:0/task:0/device:GPU:1').
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:GPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:GPU:0', '/job:localhost/replica:0/task:0/device:GPU:1').
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:GPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:GPU:0', '/job:localhost/replica:0/task:0/device:GPU:1').
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:CPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:CPU:0',).
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:CPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:CPU:0',).
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:CPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:CPU:0',).
INFO:tensorflow:Reduce to /job:localhost/replica:0/task:0/device:CPU:0 then broadcast to ('/job:localhost/replica:0/task:0/device:CPU:0',).
  15/1875 [..............................] - ETA: 13:46 - loss: nan - accuracy: 0.1583

May the  same issue :
https://github.com/tensorflow/tensorflow/issues/37561
https://github.com/tensorflow/tensorflow/issues/38982

This is very likely an NCCL error, not a TensorFlow error. Try running the Nvidia NCCL tests, e.g. the all_reduce test. If that gets stuck, you probably need to change your BIOS settings.

This is very likely an NCCL error, not a TensorFlow error. Try running the Nvidia NCCL tests, e.g. the all_reduce test. If that gets stuck, you probably need to change your BIOS settings.

Yes , it gets stuck ...... What should I do ? I use MSI AMD X570 motherboard

From the NCCL troubleshooting section:

IO virtualization (also known as, VT-d or IOMMU) can interfere with GPU Direct by redirecting all PCI point-to-point traffic to the CPU root complex, causing a significant performance reduction or even a hang.

A possible quick fix may be simply IOMMU in your BIOS. Furthermore, if you run in a container:

When using NCCL inside a container, it is recommended that you increase these resources by issuing: –shm-size=1g –ulimit memlock=-1 in the command line to nvidia-docker run.

IO virtualization

I turn off IOMMU then it works ! thanks


Namespace adjustments

azure-iot-hub-devicesdk -> azure-iot-device
azure-iot-common has been made into a subpackage of azure-iot-device (for now)

class AMQPWrapper(object):

may be this got left behind...could you delete this before release ?

Refers to: azure-iot-device/azure/iot/device/iothub/transport/amqp/amqp_wrapper.py:8 in ffd4700. [](commit_id = ffd4700e5537021cb6351e809734bbe64a082150, deletion_comment = False)

class AMQPWrapper(object):

This has been around forever. But it probably does make sense to remove, yeah. Let me check with Pierre

In reply to: 483425424 [](ancestors = 483425424)

Refers to: azure-iot-hub-devicesdk/azure/iot/hub/devicesdk/transport/amqp/amqp_wrapper.py:8 in ffd4700. [](commit_id = ffd4700e5537021cb6351e809734bbe64a082150, deletion_comment = False)