Change default linker to use in pythran.cfg / pythran-win32.cfg on Windows 10...

I posted some updated instructions for Windows 10 users not too long ago, which are in a pull request.
One of the items was changing the default linker, which was quite hacky (modifying setuptools/_distutils/_msvccompiler.py)
Now someone has brought it to my attention that using either cl.exe or link.exe on Windows makes the resulting modules follow the Microsoft licenses, so it requires a Visual Studio commercial license if the Pythran module is used in a commercial application.  Now by changing everything to LLVM clang-cl.exe and lld-link.exe you instead have modules built under the Apache 2.0 License, which is allowed in commercial applications.
I don't need this functionality myself since everything I build is for internal use at my current company, but it's something to consider.  Whenever you can go from "big corporation licenses" to "open source" well that's never a bad thing, in my opinion.  Besides, they make their licenses so hard to follow I could be violating them just by using link.exe at my current company.  I'm not an attorney, but I'd rather be safe.  So if changing the default linker in the pythran-win32.cfg is easy enough to implement, why not.  If it's something I can help with, please point me in the right direction :)

If you install LLVM for amd64 it installs both clang-cl.exe and lld-link.exe.  Also if you use Microsoft Build Tools to install Clang it comes with both.  BUT the way the package dependencies are setup for Pythran on conda-forge, it doesn't include lld so that would have to be added as a dependency if someone wants to use lld-link.exe - I tested it out BTW, and that works too.

Can you share a link to the licensing issue you're mentionning? I'm always a bit reluctant to touch the windows part of clang ;-)

It's quite ugly for MSVC but if you use any Visual Studio Tools you're under their license agreement, theoretically.  The Build Tools say they are a component of Visual Studio and therefore you must adhere to the normal Visual Studio license requirements.  Which means an organization >5 users must buy a Visual Studio license to use the tools if they want to distribute them:  https://visualstudio.microsoft.com/license-terms/mt644918/ or here on their forums: https://social.msdn.microsoft.com/Forums/en-US/08d62115-0b51-484f-afda-229989be9263/license-for-visual-c-2017-build-tools?forum=visualstudiogeneral.
If you make it an OPTION to select lld-link.exe then I don't see where you can go wrong.  If someone wants to use the lld package from conda, they can point to the installation location and use it instead.  Which on an Anaconda installation it just sits in C:\Users\[user_name]\Anaconda3\Library\bin where clang-cl.exe also resides.  That's all you have to do to download lld-link.exe.  If you need me to pip install it I can do that and tell you where it ends up sitting.
OpenMP from Intel under the OneAPI license without any support is much friendlier and allows distribution and commercial use.  https://www.intel.com/content/www/us/en/developer/articles/license/end-user-license-agreement.html  Which the Visual Studio Build Tools do not allow.  Why not just make it easy, if it is easy, to add as a command line option or part of the config file.  I already know how to modify _msvccompiler.py to pick up lld-link.exe it's more for other users, and just a convenience function.  If you don't have time to implement it people can just hack it together that way.

BTW there's no need to install Intel OneAPI MKL on Windows for compatibility with Anaconda Python.  It just needs 1 file, uploaded here.  libiomp5md.lib - not sure why others haven't posted it, but it's a lot easier to just download one lib file than installing the ~6GB distribution.
libiomp5md.zip


feat(ReadMe): updated instructions and added javascript syntax highlighting

I found the instructions a little confusing when I first read them, so I thought it might be a good idea to make them more explicit. Also is this how you intended mocha-mongoose to be required via mocha.opts?

@elliotf I asked a stack overflow question about requiring mocha-mongoose via mocha.ops, and it seems it can't be done so I'm closing this PR.
What do you mean by requiring mocha mongoose in your spec helper?

Opening an issue, #13,  for the question above.


Feature: Breakup list of Terraform BuiltIn Rules

problem: we have one huge list of terraform rules. vey long and difficult to easily manage. tests arent necessarily intuitive and aren't obviously included per rule
solution: create structure where each rule has its own file and test in the same place

closed by #155


fixed multiply test case

Since we want to keep the mistakes in the tests for other participants to use, we wouldn't be merging this PR. Hope the practice was good nevertheless 😄


Weird background in macOS Sierra

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Weird backround in macOS Sierra.
Steps to Reproduce

Install Atom
Open with default "One Dark"
Open any file
Background is not fully one colored

Expected behavior: Same background color on all window
Actual behavior: Ununiform background pattern
Reproduces how often: Every time i open Atom
Versions
For macOS 10.8 or later
Additional Information

Thanks for taking the time to contribute!
We noticed that this is a duplicate of #12634. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.

Hi,
8 September 2016, that's an oldie..
On Tue, Jul 25, 2017 at 9:14 AM, Robert Sese<EMAIL_ADDRESS>wrote:

Thanks for taking the time to contribute!
We noticed that this is a duplicate of #12634
https://github.com/atom/atom/issues/12634. You may want to subscribe
there for updates.
Because we treat our issues list as the Atom team's backlog
https://en.wikipedia.org/wiki/Scrum_(software_development)#Product_backlog,
we close duplicates to focus our work and not have to touch the same chunk
of code for the same reason multiple times. This is also why we may mark
something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if
something is a duplicate before filing, see the How Can I Contribute?
section of the Atom CONTRIBUTING guide
https://github.com/atom/atom/blob/master/CONTRIBUTING.md#how-can-i-contribute
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/atom/atom/issues/15083#issuecomment-317640026, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABxxsPbZI9hOm1VoJq4aFBJxrf13-6vNks5sRYfOgaJpZM4Ohqea
.

8 September 2016, that's an oldie..

Yeah it was waiting on an Electron upgrade and should be fixed in 1.19.0 /cc https://github.com/atom/atom/issues/12634#issuecomment-302892306.


Where to put mediapipe/modules?

Hello!
In README, you mentioned that:
Create mediapipe directory wherever the final binary of build is,
and copy mediapipe/modules and mediapipe/models to it.
In these folders, .tflite models can be found,
without which example can't run. (poller will not return packets)

Could you please explain where is "the final binary" more clearly?
I haved tried to put these two folders in the folder of .so file and the Qt build folder, but both got wrong.
"poselandmarkcpu_1__posedetectioncpu__inferencecalculator__poselandmarkcpu_1__posedetectioncpu__InferenceCalculator" failed: ; Can't find file: mediapipe/modules/pose_detection/pose_detection.tflite
Calculator::Open() for node

I am looking forward to your reply! Thanks in advance.

Compiling this example will yield you an executable binary file.
You can find where this build output is in QtCreator by going to Build Settings and seeing what is under Build directory.
The modules and models directories should be in the same directory where this executable binary is.
You mentioned that you tried putting it in the Qt build folder, so that should've worked.

This is what the directories looks like in my Qt build folder:
user@pc:~/projects/build-MediapipeExample-Desktop_Qt_5_12_10_GCC_64bit-Debug$ tree
.
├── graphs.o
├── imagerenderer.o
├── main.o
├── Makefile
├── mediapipe
│   ├── models
│   │   .....
│   └── modules
│       ├── face_detection
│       ├── face_geometry
│       ├── face_landmark
│       ├── hand_landmark
│       ├── holistic_landmark
│       ├── iris_landmark
│       ├── objectron
│       ├── palm_detection
│       ├── pose_detection
│       ├── pose_landmark
│       └── selfie_segmentation
├── MediapipeExample
├── moc_graphs.cpp
├── moc_graphs.o
├── moc_imagerenderer.cpp
├── moc_imagerenderer.o
├── moc_mpintegrationexample.cpp
├── moc_mpintegrationexample.o
├── moc_predefs.h
├── mpintegrationexample.o
├── qrc_qml.cpp
└── qrc_qml.o


Update microgateway scope validation docs

Purpose

Adds the microgateway 4.0.0 scope validation docs

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.rajithroshan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Post method in python code

Hello.
How to use post in python code instead of "curl -X post"?
For example, is there a way to post like this?
http://<IP_ADDRESS>:8080/squeezenet/predict/Users/Download/cat.jpg

There's different ways to do it in Python... urllib is one.
Curious to understand the use case you have in mind...

@lupesko
thanks!!

@lupesko
Hello. I tried importing 'requests', 'urllib' with your advice, but it does not work.
It is as follows.
img_path ='/Users/Download/kitten.jpg'
files = {'image/jpeg': open(img_path, 'rb')}
requests.post('http://<IP_ADDRESS>:8080/squeezenet/predict', files=files)
>>><Response [400]>

Please help me.

Actually, Model Server handles this for you with the gen-api feature.
Gen-api can generate the client code for you in most high level languages, including Python.
To use it, follow these steps:

Generate client code for python using mxnet-model-server as detailed here
See that a /build directory was created where you executed the model server command - this dir contains the auto generated client code
cd into the /build dir
Install the package, e.g. python setup.py install --user
Start the python shell, and then:

import swagger_client.apis as api
client = api.DefaultApi()
client.ping()
# You should see {'health': 'healthy!'}, or otherwise your server is probably not running...
client.squeezenet_predict("<file path>") # change the method name per the model name you are using
# You should see the prediction result

If you are interested to see the auto-gen python code, and how it is posting the file, you can always look into the generated code.
HTH!
Hagay


Update link for student account creation

Although there is an existing link for students (see #1155), we found that the tracking ID is not right and will not produce data in our dashboards.
The new ID we'd like to use is academic-74260-alfredodeza. The full link would then need to be updated to:
https://azure.microsoft.com/free/students/?WT.mc_id=academic-74260-alfredodeza

Thanks for letting us know. We've updated the url with the new ID.

This is tremendous @nturinski ! Thanks so much for taking care of this so quickly 🚀


[Boss] Marax

Marax
Arena
A Stone platform.
Boss
A great and mighty figure, like a body builder. Demon Wings, bare chest/arms or gauntlets (something bad-ass). Has a punching auto attack.
Phase 1 (100%-66% HP)
Boss charges up, then punches outward. A giant Blast Wave shoots outward in a telegraphed direction, knocking enemies back and doing damage. Boss occasionally launches fireballs one-at-a-time into the air at a telegraphed point on the ground. They explode doing AoE damage when they land. These fireballs leave a medium AoE Ring of Fire on the ground after they explode. Players who cross through the ring take Medium damage and a DoT Debuff.
Phase 2 (66%-33% HP)
At this point, Boss can start casting Warcry giving him bonus armor and quickly causing a Fury of Fists to quickly pound the ground from the sky (like meteors), possibly shaking the screen. These Fists are dodgeable, but come at the players very fast and in large number, doing medium damage and slowing in their AoE when they hit.
Phase 3 (33%-0% HP)
His Warcry becomes more powerful, giving him Immolation buff which does damage to any units in melee range and burning the ground behind him, leaving a Trail of Fire with the same effect and Debuff as Ring of Fire

References for Blast Wave, Trail of Fire and Ring of Fire?

Yeah I know. I should have used more "boring terminology", but I did actually describe each one in detail.

Come on. Keeping to the primer costs you nothing (but time and effort).


ADDED : Machine Learning Course

Added Machine Learning Course , which is highly recommended for beginners, available on youtube channel "StateQuest with Josh Starmer".

Hey @SamikshaBhavsar !
Congrats on submitting your pull request and from what I can infer, this was your first pull request towards an open-source project. Thank you for giving this repository to help you guide in your first contribution. On behalf of everyone here, I'd like to welcome you to the open-source community!
You PR has been merged and the changes will be reflected on the website in a few minutes,.
Do leave a star, if you liked the repo ;)
Happy hacking ! 🎊


separate frontend from backend

🚀 What is the feature?
We plan to create an api for our webapp. The idea is that the api provides endpoints for retrieving and storing highscores of other players. To achieve that, the first step is to organize (separate) our code accordinly.
Create a package "frontend" and put everything in that package that belongs to that frontend application (pretty much everything we have). Then also create a package "backend". For now, no need to put any files in that package.
Note: Packages are just folders.
ℹ Additional info
Add a screenshot of your changes - if helpful.
Make sure the app works, otherwise the PR cannot be approved.
Link the PR with this issue (in the right panel "Development" -> select issue).

will do it

🌟


"The current repository does not have a push remote for..." when trying to create a PR from github.dev

Open a repo with github.dev.
Create a branch withing github.dev.
Try to create a PR. The "there is no upstream, do you want to publish" dialog will show.
"The current repository does not have a push remote for..." error shows in the "create PR" webview.

This is happening in github.dev and vscode.dev because the GitHub Repositories extension's Repository.getBranch is returning a Branch that has no upstream set.
Interestingly, repository.state.HEAD does have the upstream set.
@joyceerhl ideally this would be fixed in GitHub Repositories since there are other places we expect there to be an upstream too. Note: I don't think this is a new issue in GitHub Repositories, it's just more visible now because I added proper upstream checking in the "create a PR" flow recently.

Added an easy work around for this case!

It expects upstream.remote to be origin, since that's what it is on repository.state.HEAD.

Thanks for working on this. It is an issue for our microsoft learn student ambassadors who are teaching a workshop on how to use github.dev to create branches, commit, push, make a PR, and merge.
Thanks again!

@alexr00 Made that change--I also noticed that RemoteHub never sets remote in the result of Repository.getBranches. Could this be a problem for https://github.com/microsoft/vscode-pull-request-github/blob/49489d66d3988c61bec54ea2b55c0d64b3b22504/src/issues/util.ts#L408-L415?

👍 thanks for pointing that out! I'll make the same workaround change for the recovery release there.

Thanks for try to fix this issue! This affects an important part of end-of-degree project.


package can't swipe vertical in only android. CASE : more than one page Pdf.

Describe the bug
Package can't swipe vertical in only android. CASE : more than one page Pdf.

This will help https://www.youtube.com/watch?v=gAUVz0U7eyA


Reference to headings being in Astro.props not evident in docs

Happy to be proved wrong! But I was unable to find this information, until I happened upon the comment below:

So to confirm everything here:

Today, you can access headings from MD and MDX using Astro.props.headings. Update to astro@latest and @astrojs/mdx@latest if that isn't the case!
We should update @examples/docs to use headings properly

@danilopolani Let me know if that's correct!
Originally posted by @bholmesdev in https://github.com/withastro/astro/issues/4218#issuecomment-1213552093

This refers to accessing Astro.props from a layout assigned to a MD/MDX page, right? We do have this information on the Layouts page.
I do think we should add something to the layout section of the Markdown & MDX guide. That section does have a "learn more" link to the layouts page, but doesn't give any indication that props other than frontmatter exist.

Nevermind, I wasn't looking in the right place, of course - found it right under my nose: https://docs.astro.build/en/core-concepts/layouts/#markdown-layout-props

This refers to accessing Astro.props from a layout assigned to a MD/MDX page, right? We do have this information on the Layouts page.
I do think we should add something to the layout section of the Markdown & MDX guide. That section does have a "learn more" link to the layouts page, but doesn't give any indication that props other than frontmatter exist.

Goodness, you just replied the same time as I did! Thank you - maybe I just came at it from a strange angle and missed it.

It isn't your fault that you missed it - the MD guide is a bit misleading in that it only mentions Astro.props.frontmatter! The fact that you searched for an answer and found it not in the docs but in a GitHub comment indicates that we can do a better job at placement within the docs. This is great feedback for us.

OK!
I'm actually starting to write a little blog post, as a guide to building a ToC into astro blog post layouts in case it'll help anyone else. I'm already in touch with @sarah11918 to see if we can jiggle it afterwards to be good stylewise for the docs, and find a good place to put elements of it once it's written.
If it helps, I think I was thrown by references to getHeadings() here: https://docs.astro.build/en/guides/markdown-content/#heading-ids-and-plugins - and then didn't think to look in the Layouts section.

You all rock, saw the other ticket that closes this one - thank you :)


Losing id

Hi. I am having an issue where "Hue Light" can handle 1 payload.msg before it reports

"Error: Philips Hue: 3, resource, /lights/NaN, not available"

"Hue Group" also works fine the first time, but subsequent messages change the id to 0
After first inject:

{"id":2,"lightIds":"3, 4","name":"Hallway","type":"Room"}

After subsequent injects:

{"id":0,"lightIds":"1, 2, 3, 4, 5, 6, 7","name":"Group 0","type":"LightGroup"}

On both cases I am injecting a payload with only a boolean value.

{"_msgid":"486dee22.8b5fb","topic":"","payload":false}

Running on rpi1 with Node-red v0.17.5 and node v6.12.1

Thank you for reporting this issue. It has just been fixed in HueMagic v1.3.0.


API Docs Improvement

Signed-off-by: Mary Jinglewski<EMAIL_ADDRESS>:nut_and_bolt: Description: What code changed, and why?
Updating API docs for more accurate labeling, descriptions, and examples.
:+1: Definition of Done
:athletic_shoe: How to Build and Test the Change
cd components/automate-chef-io
make serve

http://localhost:1313/docs/api/
:white_check_mark: Checklist

[x] I have read the CONTRIBUTING document.
[ ] Tests added/updated?
[x] Docs added/updated?
[x] All commits have been signed-off for the Developer Certification of Origin.

https://github.com/chef/automate/pull/3635 is green enough. This PR is a 🔥 and now closed.


Add support for pre-gzipped CSS and JS files

The Problem/Issue/Bug:
Like in the TYPO3 .htaccess file which supports gzip compression this should also be supported by the nginx configuration.
Solution found in Slack posted by @supergrav https://typo3.slack.com/archives/C8TRNQ601/p1528290423000106
How this PR Solves The Problem:
Adds headers for .js.gzip and .css.gzip files
Manual Testing Instructions:
Run a TYPO3 project in ddev with nginx-fpm
Include some gzipped files
page.includeJSFooter.jsFile = EXT:example/Resources/Public/JavaScript/file.js.gzip
page.includeCSS.cssFile = EXT:example/Resources/Public/Styles/file.css.gzip

Network analyze in any browser if the files get deflated correctly
Automated Testing Overview:

Related Issue Link(s):
none
Release/Deployment notes:

We have several projects with precompiled css & js files. They get minified and gzipped during deployment process. Allmost all projects are running on apache servers where we use the default TYPO3 .htaccess file compression settings (see: https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_8-7/_.htaccess#L36 ).
My goal was to achieve the same with the nginx config in ddev.
But maybe you are right and it's time to think the other way round and let the web server do the compression. I'll discuss this also with my team.

We did some testing and discussed this in our team. Thx for your advise, that nginx/apache will do the compression automatically. So this PR can be closed without merging.

Thanks so much for the PR in the first place, and if you decide this is a common TYPO3 approach, we're happy to support it.


Accessing deleted timer in cluster::tick_timers

Git commit reference
c9bfdeb532c874a844d67dd93eea2485361e3a5d
Describe the bug
If cluster::tick_timers is executed simultaneously with cluster::stop_timer, it's possible that when you loop over scheduled (in tick_timers) you end up with a deleted timer_t*.
Expected behavior
A timer should only be ticked and rescheduled if it was not deleted.

creating a PR for this.


fix wrong regex of allowed errors in on-demand download tests

Problem
These two errors should be allowed, but the test script rejects them as in https://neon-github-public-dev.s3.amazonaws.com/reports/main/5669956577/index.html#/testresult/6388e31182cc2d6e, due to the wrong regex being used.
Summary of changes
Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

I think we are in agreement that the regexes were in fact not matching? See test report in https://github.com/neondatabase/neon/pull/4832#issuecomment-1655375925.

Actually I'm only 50% sure now, I'll dig into the code...

Looked into how test runner handles regexes.
For log_contains, it uses re.search, which means that as long as the pattern appears in the string, it will return true.
For the error log checks on teardown, it uses re.match, which matches the beginning of the string.

If zero or more characters at the beginning of string match the regular expression pattern, return a corresponding match object. Return None if the string does not match the pattern; note that this is different from a zero-length match.

For example, if we have a string abcdef and regex def, search will return one group def, while match will return false.
Therefore, this PR is a valid fix for error message not matched, though the read timeout warning makes the situation a little bit confused for me 🙈

And Python also has something called fullmatch, which matches from the beginning to the end. Still for the example abcdef, if we have abc, match will return true, while fullmatch will return false.
Because we are using match, we do not need to add .* at the end of the string. Well, so we do not need to fix this actually...


[Slider] Fix Jest unmount issue

[x] I have followed (at least) the PR section of the contributing guide.

Closes https://github.com/mui-org/material-ui/issues/13293

@mdartic It's a great first pull request on Material-UI 👌🏻. Thank you for working on it!


RS2 Builds

Only one of the builds listed under RS2 is actually from RS2, the rest are from RS5.

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

ID: fa80910a-e655-34df-d26a-b094dd8702bb
Version Independent ID: 83b90d10-f455-fee5-cf94-2698f1ac33d6
Content: Flight Hub
Content Source: wip/flight-hub/index.md
Service: wip
GitHub Login: @dawnwood
Microsoft Alias: dawn.wood

Thank you @HaydenHolcomb I fixed this copy/paste error and you should see the fix later this afternoon.


capacity_per_zone attribute value type error handling is not specific

when capacity_per_zone is not an int terraform doesn't specify that the capacity_per_zone's value is the issue and returns this error instead:
╷
│ Error: Incorrect attribute value type
│
│   on main.tf line 35, in resource "altinitycloud_env_aws" "this":
│   35:   node_groups = [{"name": 0, "node_type": "large.m6i", "capacity_per_zone": "5", "reservations": ["CLICKHOUSE", "SYSTEM", "ZOOKEEPER"]}]
│
│ Inappropriate value for attribute "node_groups": a number is required.

while  it should look like this ( incorrect value works fine)
╷
│ Error: Invalid Attribute Value
│
│   with altinitycloud_env_aws.this,
│   on main.tf line 35, in resource "altinitycloud_env_aws" "this":
│   35:   node_groups = [{"name": 0, "node_type": "large.m6i", "capacity_per_zone": 0, "reservations": ["CLICKHOUSE", "SYSTEM", "ZOOKEEPER"]}]
│
│ Attribute node_groups[Value({"capacity_per_zone":0,"name":"0","node_type":"large.m6i","reservations":["CLICKHOUSE","SYSTEM","ZOOKEEPER"],"zones":<null>})].capacity_per_zone value must be at least 1, got: 0
╵

works fine with list value type error:
╷
│ Error: Incorrect attribute value type
│
│   on main.tf line 35, in resource "altinitycloud_env_aws" "this":
│   35:   node_groups = [{"name": "t4g.large", "node_type": "t4g.large", "capacity_per_zone": [1], "reservations": ["CLICKHOUSE", "SYSTEM", "ZOOKEEPER"]}]
│
│ Inappropriate value for attribute "node_groups": element 0: attribute "capacity_per_zone": number required.
╵

There are 2 different things here:

Expected type conversion from HCL when using "1" instead of 1. This is the same as explained in #83
Incomplete error message when using a non integer string, it's an issue of the terraform-plugin-framework. I reported the issue https://github.com/hashicorp/terraform-plugin-framework/issues/1032


Plugin seems to break when used with xcov 1.1

Gems:
danger 4.3.0
danger-xcov 0.2.2
xcov 1.1.0

Dangerfile:
xcov.report(
  scheme: 'AppKit',
  workspace: 'iOS/App.xcworkspace',
  minimum_coverage_percentage: 80
)

Output:
bundle exec danger --dangerfile=PostBuild.dangerfile --danger_id=postbuild
[09:46:49]: Skipping file blacklisting as no ignore file was found at path
[09:46:49]: $ xcodebuild -list -workspace iOS/App.xcworkspace
[!] The exception involves the following plugins:
 -  danger-xcov
bundler: failed to load command: danger (/Users/jenkins/.gem/bin/danger)
Danger::DSLError:
[!] Invalid `PostBuild.dangerfile` file: uninitialized constant Xcov::Runner
 #  from PostBuild.dangerfile:6
 #  -------------------------------------------
 #  if has_kit_changes
 >    xcov.report(
 #      scheme: 'AppKit',
 #  -------------------------------------------

  /Users/jenkins/.gem/gems/danger-xcov-0.2.2/lib/danger_plugin.rb:54:in `report'
  PostBuild.dangerfile:6:in `block in parse'
  /Users/jenkins/.gem/gems/danger-4.3.0/lib/danger/danger_core/dangerfile.rb:199:in `eval'
  /Users/jenkins/.gem/gems/danger-4.3.0/lib/danger/danger_core/dangerfile.rb:199:in `block in parse'
  /Users/jenkins/.gem/gems/danger-4.3.0/lib/danger/danger_core/dangerfile.rb:195:in `instance_eval'
  /Users/jenkins/.gem/gems/danger-4.3.0/lib/danger/danger_core/dangerfile.rb:195:in `parse'
  /Users/jenkins/.gem/gems/danger-4.3.0/lib/danger/danger_core/dangerfile.rb:272:in `run'
  /Users/jenkins/.gem/gems/danger-4.3.0/lib/danger/danger_core/executor.rb:27:in `run'
  /Users/jenkins/.gem/gems/danger-4.3.0/lib/danger/commands/runner.rb:66:in `run'
  /Users/jenkins/.gem/gems/claide-1.0.1/lib/claide/command.rb:334:in `run'
  /Users/jenkins/.gem/gems/danger-4.3.0/bin/danger:5:in `<top (required)>'
  /Users/jenkins/.gem/bin/danger:22:in `load'
  /Users/jenkins/.gem/bin/danger:22:in `<top (required)>'

Worked previously with xcov 1.0.1

Hey @fwal 👋
Thanks for reporting! I've just released new xcov and danger-xcov versions fixing this issue. Let me know if it works now for you.

Works like a charm, thanks for the swift response @nakiostudio! 🙌


torch.distributed.elastic.multiprocessing.errors.ChildFailedError, when running the train_new.py

I encountered a ChildFailedError,
I used the command python -m torch.distributed.run train_new.py
below is the error information.

The program was run on py3.10, and pip list is as below

This code does not work as well when using the following command in the Readme
accelerate launch --config_file config/default_config.yaml train_new.py

This code does not work as well when using the following command in the Readme accelerate launch --config_file config/default_config.yaml train_new.py

解决了吗？老哥
和 gcc 版本有关系没


Use mouse button as keyboard modifier key

OS
macOS 13.3.1 (a) (Build 22E772610a)
LinearMouse
v0.9.3
Is your feature request related to a problem?
No response
Describe the solution you'd like
Is it possible to use mouse additional button as a keyboard modifier keys like shift or control? I'm able to bind mouse button to keyboard shortcut (ex. shift), but it doesn't work as expected: holding mouse button doesn't work as pressed shift key modifier, but triggers single shift key press on release (or multiple individual button presses if I check "repeat on hold" option).
Describe alternatives you've considered
No response
Additional context
No response

Thanks for your feedback!
Could you provide the steps to reproduce?
I tried mapping button 3 to shift+command (without checking "repeat on hold" option), and then holding down button 3 while pressing key 3, and a screenshot was successfully captured.

@lujjjh No, you got me wrong. I want to use mouse button as shift (or any other modifier), not as shift + something. I mean holding mouse button and getting UPPER case while typing.

I mapped button 3 to shift and it worked as expected. Do you have Logi Options+ or other mouse utilities installed?
It would be helpful to attach the logs which you can export from General Settings.

Sorry for the long response. I don't have any other mouse utilities installed.
Here is my log. I mapped button 3 to shift and wrote "test" three times while holding down the mouse button 3.

Thank you for providing the logs!
Based on the logs, it appears that button 3 (identified as usage ID 04) was pressed and released within a second. This supports your hypothesis that this might be a hardware issue.
2023-09-09 13:34:47 +0000	info	Device	Received input value from: USB Receiver (VID=0x046D, PID=0xC52B): timestamp:<PHONE_NUMBER>9354 length: 1 data: [1] integerValue: 1 element=(usagePage: 09 usage: 04)
2023-09-09 13:34:47 +0000	info	ButtonActions	Down keys: [⇧]
2023-09-09 13:34:47 +0000	info	Device	Received input value from: USB Receiver (VID=0x046D, PID=0xC52B): timestamp:<PHONE_NUMBER>2417 length: 1 data: [0] integerValue: 0 element=(usagePage: 09 usage: 04)
2023-09-09 13:34:47 +0000	info	ButtonActions	Up keys: [⇧]

I would leave this issue open and see if others can reproduce it.

Hi everyone! I am having a similar issue. I have a Logitech G602, which has 11 programmable buttons.
I have assigned one of the side buttons to the "shift" keyboard shortcut, to use it with a left click. The idea is that I can hold that button, click a URL, and it will open into a new window.
For some reason, this doesn't seem to work. The button functions as a shift correctly when pressed on the mouse (letters are typed in uppercase), but when held down and used with a left click, links do not open into a new window.
Any ideas?


Delays related to Key and No Gear modes

This is the continuation of a side thing of a closed thread:

As a side note: The Keys and No gear modes expose a delay when going back from the Shopping tab to the Sniper tab. I haven't payed attention if it always was like that, or if this is normal. (In Blank mode, there is no delay.)

That's how I get these delays:

Set PBS mode to Keys or to No gear
Reload UI
Wait 15s or so, until client/addons have done their loading duties
Right-click the single most important NPC of this game (Auctioneer O'reely)
Click Sniping tab

--> Delay(stalling) for approx. 4 seconds, sometimes the OS's "busy" cursor comes up
I can repeat steps 4–5 in the same session, and I always get the delay. Is this the "Do search information preprocessing needed for keys search" setting? (But this setting is de facto unchangeable, because you get a reminder popup if you disable it and are in one of the modes it refers to.)
In Blank mode, there isn't any delay.
Now the even more interesting, and probably really buggy part:
When doing the steps as outlined above, or only steps 4–5, I often get a delay also already when clicking O'reely (i.e. opening the AH frame).
This happens always at least if I had closed the AH frame from within the PBS tab. For example, if I close the AH frame from within the Selling tab, or any of Blizz's tabs, it doesn't happen.
This feels as if PBS was doing its "information preprocessing" twice (if it is that): when opening the AH frame, and again when activating the PBS tab.

Edit: Changed some semantically significant 'when' to 'if'.

When using the keys mode (and hence have also enabled search information preprocessing to get it to work) it is normal when opening the sniping tab for the first time after a login or reload to get a very noticeable delay.
This delay comes from parsing the precomputed names for use with the keys search. Actually computing the names takes even longer which is why they are precomputed.
The additional delay when swapping tabs happens when additional processing takes place to recall which item keys have been seen and which haven't to detect new keys. If this processing is interrupted it then starts again, causing the lag.

I've pushed a fix that should prevent the lag from repeating after the initial tab opening.

PointBlankSniper-5.33-2-g7b9fa77.zip

I've pushed a fix that should prevent the lag from repeating after the initial tab opening.

That would be great. Will test the patch later (soon).

Still the same, sorry. Opening the AH frame should not produce a delay, as i already will get the delay once I open the PBS tab.  It seems your caching scope does not cover everything it should. (Or is not seen by the sniping function)(s))

I can't replicate a delay when opening the AH frame. Are you sure that this delay is caused by PBS?

Are you sure that this delay is caused by PBS?

Just testing it without any other addon, so yes.
Some additional infos that might be important:
(With "the issue", I'm referring to the delay when opening the AH frame.)

My default tab is set to the "Selling" tab.
The issue does not occur immediately after a reload.
The issue only occurs if PBS mode is set to Keys or No Gear.
The issue does not occur next time, if you close the AH not from within the Sniping tab.

The last point here makes me think now that something like this is happening when reopening the AH frame: Auctionator is opening to the Sniper tab (which was the last open tab), which results in the first delay due to the info proprocessing --> Before the PBS tab gets visible, Auctionator "realizes" that the default tab is set to the Selling tab --> It opens to the Selling tab --> I switch manually to the Sniper tab and get the preprocessing delay once again with that.
Here the detailed steps to reproduce:
Preparation:

Set PBS to Keys mode. Make sure your Auctionator default tab is "Selling".
Reload UI (optionally with everything disabled except your addon manager, Auctionator, and PBS).
After the reload, open the AH frame (probably you will not get any delay).
Switch to PBS tab (probably delay here).
Close the AH frame from within PBS ("from within PBS" = close it while PBS is the active tab).

Now, I can endlessly repeat this:

Open AH frame

I get the first delay here

Switch from Selling tab to PBS tab

I get the second delay here

Close AH frame (from within PBS tab), repeat from step 1

Both delays seem to be of approx. the same duration. I'm assuming that both delays are caused by the "information preprocessing", but this is not really important from a user's point; my point is that there should only be the delay when actually opening the PBS tab (i.e. the one that I called "second delay" in the steps above.
Versions, as copied from toc:
Autionator: 10.1.17-1-g65c7c80
PBS: 5.33-2-g7b9fa77
WoW version:
<IP_ADDRESS>791

(Its a "feature" of the AH, both Blizzard and non-Blizzard tabs will be reshown for an instant when reopening the AH even if they're not the default). Fixed the issue by hiding the Sniping tab a second time so it doesn't count as shown even temporarily when the AH is opened.

Blank is fine. Keys is only if you're trying to compete with faster moving items (either because they sell a lot or another sniper is competing).

Good info on Keys mode. Thank you.


[HIPIFY] Reflect unsupported CUDA API refs in statistics

Implement map of unsupported CUDA API refs analogously to supported ones, count them while hipifying and add the numbers to statistics.

implemented by SHA-1: 3dd32e969


Serve from www subdomain as well as no subdomain

I’ve already created a new SSL certificate that handles both host names and deployed it, so these configs should be all that’s needed at this point. To create the SSL certificate I had to create a CNAME record already, so we’ll see what happens with Terraform here.
Fixes #302.

The other thing I was thinking about here was whether we should have middleware that redirects if the request’s host was not the same as HOST_URL, which would cause www.getmyvax.org to redirect to getmyvax.org. @astonm any thoughts?

Oops, should have said before, I like the forwarding idea, but no strong feelings.

Quick update: I’ve been a bit busy with offboarding tasks related to leaving USDR, but expect to get back to this over the weekend or next week.


Filtering out ten topmost validators from the snapshot.

This should be a separate branch, apologies.
-> https://github.com/Mirror-Protocol/mirror-airdrop/pull/9


Wavy text-decoration doesn't work well with Chrome

Can be improved by applying to input:
line-height: 29px;
padding-top: 0;
padding-bottom: 0;

For iOS Safari see https://caniuse.com/text-decoration


Home page

[x] Make the image with 'Unique Mobile Venue' half the size

[x] On all devices need the hero section to fit the whole image and CTA (the maroon bar) in the window.

[x] Make logo in menu double the size

[x] Make main menu text hover colour #801317

[x] Ensure illustration at bottom of image displaying correctly:

Should look like this:

Currently looks like this:

[x] In any instances of Bebas make sure font weight is 300 - titles of section look thicker:

@kpierduta It would be great help for us if you provide all the banners of the same size. When we export banners from the zeplin there size differs.
The images below required. If possible.


JIT-compatible mini-batch creation without replacement for epoch-based training

Hey,
I use flashbax for MBRL, specifically using the replay buffer for dynamics learning and policy learning. For dynamics, I'd like to create mini-batches of the entire dataset without replacement, facilitating classic training by epochs. Considering that the number of replay buffer elements changes over time, is there a way to achieve this in a JIT-compatible manner with flashbax?
Thanks!

Hey, there's definitely a way to achieve this. I have done something similar before. All you would need to do is choose the buffer you want and overwrite the replay buffers sample method accordingly. I'd advise looking at the current sample method and then instead of using random indices you must use arange however as you say if the buffer is not full you will have padded data which you would need to take care of but you can use a mask for it.


Proposal: Building cross-chain applications leveraging layer zero

Description

This proposal is to build an application that leverages layer zero for cross-chain messaging.
It demonstrates how to connect the same smart contract application on different chains and facilitate communication.
It also shows how to create a simple cross-chain token using the Layerzero oft standard.

Why proposal?
This will enable developer quickly learn to integrate layer zero into their application for seamless cross-chain communication.
It will help developers connect mock lzEndpoints to unit test their applications.
It will enable projects to build applications on Kaia that maintain unified liquidity
Bounty track

Developer Tool

Approved. Given this is a developer tool, I expect that you go beyond their docs to help other devs with a good starting out template

you need good docs inside your tool, use the README.md file or make a whole docs folder.
Clear comments, explain the thought process
3 keys questions to answer:

what is this?
why use this?
how to use this?

Interoperability is very important to ensure communication across platforms. Layer Zero is at the fore front of ensuring secure protocol for cross-chain communication and it's support for the Kaia chain is a good way to ensure developers build applications are interoperable as it creates an easy way of communicating with community across chains and help developers make trade-offs in terms of speed, cost, and security for enterprise applications. Enterprise applications on other platforms can leverage Kaia enterprise based solution and leveraging it's speed, cost, and security.
Why this proposal?
It shows developers how to leverage the layer zero standard to build tokens that are cross-chain compatible ensuring liquidity movement from one chain to Kaia chain and establishing a global ledger.
It shows developers how to build applications using layer zero, leveraging on layer zero endpoint for kaia to send cross-chain messages from a chain to kaia.
In the code is a template of a smart contract that was used to update the state of an application from Sepolia on the kaia chain.
Developers can use this knowledge to build DeFi projects or applications that ensure easy access of liquidity from any chain to kaia.
Build Link: https://github.com/kaiachain/kaia-dapp-mono/issues/200
Dorahack: https://dorahacks.io/buidl/18257

Approved 1500 KAIA bounty

Closing


Support Python 3.11

Python 3.11 is now in beta and feature stable. It would be nice if Python 3.11 would be supported in this workflow!

I think the main complexity there is that it would mean the workflow has to install python 3.11 where as at the moment we rely on actions to provide us the Python installs for the various versions.
Do you know if there is an action which provides pre-release Python we could use?

Would the regular setup-python work?
- uses: actions/setup-python@v3
  with:
    python-version: "3.11-dev"

oh huh, well we are already using that.

I guess this then becomes a question of parsing out the python version string from the tox env and appending -dev?

Which workflow of the workflows would you like to support Python 3.11? (publish.yml, publish_pure_python.yml or tox.yml)
In the tox workflow (tox.yml) it should work if you do:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
  envs: |
    - linux: toxenvname
      default_python: '3.11-dev'

Although currently if the toxenvname was py311-toxenvname, '3.11' would be passed to actions/setup-python, which may not exist yet. (Python specified in the tox envname overrides the default_python input.)
We should probably change this to the following, where python-version overrides the version specified in the toxenvname:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
  envs: |
    - linux: toxenvname
      python-version: '3.11-dev'

If it's for supporting Python 3.11 when building and testing sdists and pure Python wheels (publish_pure_python.yml), we have an existing issue https://github.com/OpenAstronomy/github-actions-workflows/issues/45
Supporting Python 3.11 on the compiled publishing workflow (publish.yml) is dependant on what cibuildwheel supports: https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip

It's indeed tox.yml, and the situation above exactly describes the issue!


Bug bounty testing, please do not approve. iupitm

Bug bounty testing, please do not approve. iupitm

@ofbatanur What is this? Please add a description to PRs if you're doing some sort of legitimate testing/validation of the pipeline security...


update presentationTimeline on playEndRange setting

Have you read the FAQ and checked for duplicate open issues?
yes
Is your feature request related to a problem? Please describe.

I am trying to set the playStartRange and playEndRange in HLS VOD
for example the duration of the video is 100
if I set playStartRange: 20 => it set the startTime of the video to 20 and the presentationTimeline also start with 20
if I set playEndRange: 60 => it set the endTIme(duration)of the video to 60 but not the presentationTimeline is still 100 and then the video stops at 60 seconds and we have a timeline blank after it

after the video is ended we are not able to play the video again
The video stops in between and it looks bad as a UI.
Describe the solution you'd like

when we set playEndRange to 60 it should also update the  presentationTimeline to 60 (the input max range)
Describe alternatives you've considered

I tried to set the shaka-seek-bar max range but it doesn't update the presentation timeline
Additional context

I am trying to load the VOD of the preferred range that has playStart and playEnd
with playStartRange, it updates the timeline that starts with X second but with playEndRange it changes the duration but not the max timeline range and the video stops in between which looks bad as a UI

https://github.com/google/shaka-player/issues/3124

@michellezhuogg it seems that you have worked on playRangeStart and playRangeEnd can you tell me is it possible to have my request?

Do we have anything to resolve this problem? @joeyparrish


[DONE] Strapi back office maintenance needs

Hello Carla,
Can you share the info regarding the maintenance of this Back Office:

Number of major/minor upgrades per year?
Documentation for the upgrade?

Thanks

Hi Emilie, Sorry for the delay in coming back with this. Please find below the information provided by Tiago.
Strapi seems to offer a roadmap of upcoming releases (either minor or major) nor does it seem to have a predictable pattern based on recent releases (https://github.com/strapi/strapi/releases). Update docs for strapi itself can be found in the official strapi docs (https://docs.strapi.io/dev-docs/update-version) and we expect those instructions to change and evolve with strapi itself, as it grows. Experience so far shows that updating strapi has been a quick, easy process for any developer familiar with nodejs.

Hello Carla,
Can we please let me know on which Strapi version we are?
During the time of the project, I would like to conduct with you at least one minor and one major release. The idea will be to document the process to put in place for this (actions to make, test to plan, etc.).
Can we plan this after the launch of the platform?
Thanks,
Emilie

JIRA # ORC-434


Custom Initial On-board Configuration

We would like to customize the configuration that is scaffolded into projects as part of the Configure Renovate pull request workflow.
Specifically we would like to replace:
{
  "extends": ["config:base"]
}

With:
{
  "extends": ["config:base", ":preserveSemverRanges"]
}

We can modify Renovate's branch logic, but we would prefer a method that does not require maintaining a fork while still allowing us the flexibility to create our own initial configuration.

I think this can be done in the regular renovate repo. The challenge is if the defaults get more complicated in future rather than the “fixed” config it is today. But pretty easy to make onboardingConfig to be a configurable option. Would you be wanting to set it via env?

Though not immediately related to this same issue, in the future we would like the ability to customize the initial configuration based on the type of project.
For example, for projects containing a package.json, we would want them setup with our web configuration package, while, when it's supported, our Python projects would be setup with our python configuration.

I think this can be done in the regular renovate repo.

Sorry. Wasn't sure where to file this. It felt very much like a feature for those wanting to run their own instance (Especially large enterprises).

Would you be wanting to set it via env?

Maybe that could work in the short-term. A stringified configuration?

The challenge is if the defaults get more complicated in future rather than the “fixed” config it is today.

That's why I mentioned our future hopes regarding project-type based custom configuration. I'm not sure how a single environment variable would work for that.

It felt very much like a feature for those wanting to run their own instance (Especially large enterprises).

Agreed, I just meant that the logical place to solve it is within Renovate itself. This wrapper exists only to handle the specific authentication for GHE. So for example someone running GitLab may also want this.

Maybe that could work in the short-term. A stringified configuration?

I thought env was your "long-term" solution too, that's why I asked. Yes, it could be solved so that you can configure this via config.js or stringified JSON object in env.

So for example someone running GitLab may also want this.

I'll close this issue out and re-open it under the renovate repository.

I thought env was your "long-term" solution too

Environment variables are how we configure Renovate in our environment. That is true. I just wasn't sure if a stringified environment variable could capture the requirements discussed above.


chore: Wait for instance type label to exist for managed nodes

Fixes #N/A
Description
This PR adds a change that causes nodes that we are watching not to be reconciled into the state until the node has its providerID and has the instance type label applied to it. This function will pass-through still if the instance type label doesn't exist but the node is considered to be initialized with the karpenter.sh/initialized label.
How was this change tested?
make presubmit
make apply/make e2etests
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 6 (66.67%)  changed or added relevant lines in 1 file are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.05%) to 82.187%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controllers/state/cluster.go
4
6
66.67%

Files with Coverage Reduction
New Missed Lines
%

pkg/controllers/provisioning/scheduling/topology.go
2
86.49%

pkg/controllers/provisioning/scheduling/topologygroup.go
2
96.75%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
9214

Relevant Lines:
11211

💛  - Coveralls


fix(motor_control, pipettes): Only change the gpio state if it is stable for two ticks in a row

Due to a HW problem in pipettes our old denouncing code wasn't working well enough.
The new code makes sure that the state of the relevant pins is only saved if it is stable across two ticks

Codecov Report

Merging #569 (a07f8d9) into main (25755ef) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #569   +/-   ##
=======================================
  Coverage   84.46%   84.46%
=======================================
  Files          89       89
  Lines        2871     2871
=======================================
  Hits         2425     2425
  Misses        446      446


Handle undefined VARIANT in cmake

Fixes https://github.com/vinniefalco/Beast/issues/40

Coverage remained the same at 98.067% when pulling 07d802a0c89fec1b866c5f1b9853b2609dacd2fd on wilsonianb:fix-cmake into 225b5a1204ec42a0b5674dbb45b545d069694230 on vinniefalco:master.

[Current coverage][cc-pull] is 98.06% (diff: 100%)

Merging [#41][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master        #41   diff @@
==========================================
  Files            71         71
  Lines          4036       4036
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           3958       3958
  Misses           78         78
  Partials          0          0

Powered by Codecov. Last update [225b5a1...07d802a][cc-compare]
[cc-base-branch]: https://codecov.io/gh/vinniefalco/Beast/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/vinniefalco/Beast/compare/225b5a1204ec42a0b5674dbb45b545d069694230...07d802a0c89fec1b866c5f1b9853b2609dacd2fd?src=pr
[cc-pull]: https://codecov.io/gh/vinniefalco/Beast/pull/41?src=pr

👍

Merged in b9


Add token mapping strategy

Part of https://github.com/pulumi/home/issues/2609

Replaced by https://github.com/pulumi/pulumi-signalfx/pull/201


offline doc

Is your feature request related to a problem? Please describe.
Cannot access doc offline ( for example, I was on airplane)
Describe the solution you'd like
Access doc offline
Describe alternatives you've considered
NA
Additional context

Sorry, no plans to have offline docs. It's pretty rare for modern apps to have that.
Maybe you can use Dash: https://kapeli.com/dash#docsets


Fix for m.room.third_party_invite schema

There was a stale comma there.

Signed-off-by: Gergely Polonkai<EMAIL_ADDRESS>

Thanks!
matrixbot: ok to test


AUTH_KEY_UNREGISTERED after upgrading from 1.0.22, precompiled (not Docker)

After updating to 1.1, then downgrading back because of an issue to 1.0.22, and then i upgraded to 1.1.3 I encounter an error saying "AUTH_KEY_UNREGISTERED" when trying to download a file. I use the precompiled (not Docker) Linux x86 version.
This is my config.toml file (placed in the same directory as Teldrive):
[db]
  data-source = "MY POSTGRES DB"

  [db.migrate]
    enable = true

  [db.pool]
    max-idle-connections = 25
    max-lifetime = "5m"
    max-open-connections = 25

[jwt]
  secret = "my secret"
  session-time = "720h"

[log]
  development = false

[server]
  graceful-shutdown = "15s"
  port = 80
  bg-bots-limit = 5
  rate = 100
  rate-burst = 5
  rate-limit = true
  session-file = "/home/ubuntu/teldrive/session.db"

[tg]
  app-hash = "hash"
  app-id = 123

  [tg.uploads]
    encryption-key = "my encryption key"

Heres what appears in the terminal:
`16/02/2024 12:58 PM	DEBUG	requesting file	{"name": "Base Profile 2024.02.05 - <IP_ADDRESS>.DVR.mp4", "bot":"6262975873", "botNo": 0, "start": 0, "end": 266299057, "fileSize": 266299058}
16/02/2024 12:58 PM	ERROR	file streamretry middleware skip: rpcDoRequest: rpc error code 401:AUTH_KEY_UNREGISTERED`
if that helps, im using supervisor and using just the teldrive run command without any arguments.

i messed up, i accidentally deleted the session.db file, now after revoking the bots from the ui and adding them back everything works now


Allow users to share a room

Would let users message/email a destination to another user so they could find it more easily in the app.

Not an issue, but a feature. Closing and moving to feature tracker.


IMN-283 - Using InternalError for file manager & risk analysis errors

Closes IMN-283
PR to address this comment: https://github.com/pagopa/interop-be-monorepo/pull/214#discussion_r1499099989
More details in the linked task.
Tests
S3 failed requests return 500 - internal errors are not converted into meaningful API errors ✅

We can see the error in the logs ✅
Given the log messages before the error and the correlation ID, it's easy to connect a file manager error to the operation that caused it.

@galales this PR addresses what we discussed in these comments: https://github.com/pagopa/interop-be-monorepo/pull/214#discussion_r1499099989
It should close the implementation work for the file manager in the catalog ✅


Fixing the SwiftPM example

So it can be generated with swift package generate-xcodeproj
Edit: Nevermind that, it's deprecated.
Still fixes issues with semicolons and matching closing tags.

Thanks for your patch!


ORC-940: Use Hadoop 3.3.1 in bench module

What changes were proposed in this pull request?
This PR aims to use Hadoop 3.3.1 instead of 2.7.3 in benchmark module.
Why are the changes needed?
Both Apache Hive 3.1.2 and Apache Spark 3.1.2 depends on Apache Hadoop 3.
How was this patch tested?
Pass the CIs.

cc @williamhyun .
BTW, do you think we can add hive bench and spark bench integration test, too?


Add GSoC link in Wechaty Doc sidebar

Thanks for @howl-anderson organizing Wechaty GSoC 2022 add the useful material here https://github.com/wechaty/wechaty.js.org/pull/1489/files
Well, our doc sidebar seems can't find this link, it only appears on the index page, I suggest creating a PR for GSoC 2022 in the doc sidebar

Yes, we definitely should add GSoC'22 to the sidebar!


Colour Optimization In the Whole Website

Hey  @ANSHIKA-26  I want to work on this issue
Please assign this under gssoc-ext  level 2

Hey @ANSHIKA-26
I have good knowledge of designing and I like to work on this
Please Assign me this issue


License for the python code?

Hi,
I wanted to use your code for generating course dependency website for different universities (just University of Waterloo for now but I have friends at Laurier so).
I realized that you did not include separate license file or specified license as part of the source code.
I was wondering if I may assume that your works are in public domain or not.
Regards,

You might want to try contacting @PresidentKevvol via Discord, email, or Reddit instead.  In case there's no reply, maybe try again during York's winter break (in late December) or even try waiting until May.
I looked at the list of closed pull requests.  At least @joshua-dors might also have to agree to relicensing, thanks to his generous CSS contributions.
The sooner the relicensing gets done, the easier it might be.  Over time, projects can accumulate contributions from more and more people.  Each of these people might have to eventually agree to the relicensing.

Hi, thanks for the support and your patience waiting on my response.
To answer your questions:

I shall add an MIT license to this project.
I have spoken to @joshua-dors in private after the PR asking how he would like to be credited, he have stated he does not mind about attribution. In any case a permissive licence such as MIT should be compatible with that personal accordance.

@PresidentKevvol:  I see the new license file is up.  Fantastic!
@kafka64:  Of course you can create a permanent fork the project if you want.  But, if it's not too much extra work, it might be interesting if you could send all your changes back here as a pull request.  Maybe eventually there could be one single codebase which handles course prerequisite tree generation for many schools.

Thank you for getting back to me and providing permissive license. I archived the repo some time ago but I will unarchive it to add the license soon.
I will also credit joshua-dors in my page. I did not know who beside PresidentKevvol was involved in this project.
Although I did not publish it yet, I was thinking of refactoring the python code to enable different sorting strategy (so it makes sense for other universities where course code may be double, two or three digits). I will open PR if you want to support other schools.
Closing this one for now as license issue has been resolved.


try to fix circle [skip travis]

see if this makes the circle build failures go away. (not optimistic...)

An additional idea would be to upgrade the image to circleci/python:3.7-buster

What I don't get is why we're seeing this now...  our image isn't using pip 19.3 so I don't get why the recent release would matter.

Okay buster did not work. Next I'd do pip install --upgrade "pip<19.3". It will tell us for sure 19.3 is the problem, and also get things green again while we figure out why

OK, removing pip from the install line pip install --user --upgrade --progress-bar off {pip} numpy vtk seems to have worked

Feel free to open a pypa/pip issue if you feel up to it. Maybe they'll immediately know the problem. In the meantime +1 for merge once CircleCI comes back happy

crossref pypa/pip#7205


bug: expo start fails

Provide environment information
System:
    OS: macOS 14.5
    CPU: (8) arm64 Apple M2
    Memory: 107.91 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.5.1 - ~/.nvm/versions/node/v22.5.1/bin/node
    Yarn: 1.22.21 - ~/.nvm/versions/node/v18.12.1/bin/yarn
    npm: 10.8.2 - ~/.nvm/versions/node/v22.5.1/bin/npm
    pnpm: 9.6.0 - /opt/homebrew/bin/pnpm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman

Describe the bug
Running expo start fails from apps/expo directory.

Link to reproduction
https://github.com/t3-oss/create-t3-turbo
To reproduce
clone the repo
pnpm clean:workspaces; pnpm store prune; rm -rf .turbo; pnpm i; pnpm build; cd apps/turbo; pnpm dev
Additional information
No response

same issue with ios simulator

 ERROR  TypeError: Cannot read property '__extends' of undefined, js engine: hermes
    at ContextNavigator (http://<IP_ADDRESS>:8081/index.ts.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=src%2Fapp:171678:24)
    at ExpoRoot (http://<IP_ADDRESS>:8081/index.ts.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=src%2Fapp:171650:28)
    at App
    at ErrorToastContainer (http://<IP_ADDRESS>:8081/index.ts.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=src%2Fapp:206196:24)
    at ErrorOverlay
    at withDevTools(ErrorOverlay) (http://<IP_ADDRESS>:8081/index.ts.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=src%2Fapp:205739:27)
    at RCTView
    at CssInterop.View (http://<IP_ADDRESS>:8081/index.ts.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=src%2Fapp:10658:45)
    at RCTView
    at CssInterop.View (http://<IP_ADDRESS>:8081/index.ts.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=src%2Fapp:10658:45)
    at AppContainer (http://<IP_ADDRESS>:8081/index.ts.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=src%2Fapp:80522:25)
    at main(RootComponent) (http://<IP_ADDRESS>:8081/index.ts.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=src%2Fapp:92083:28)

TypeError: Cannot read property '__extends' of undefined, js engine: hermes

https://github.com/Shopify/flash-list/issues/896

Check https://github.com/Shopify/flash-list/issues/896#issuecomment-2254905572

Updating to flashlist @ 1.7.1 caused this to dissapear for me. Can you confirm that that's the case for you? Happy to make a PR if it solves the issue.

I can confirm this fixed promlem for me, also for intiial problem with "no development build" i was needed to change script to "expo start --ios --go" without go its not working. Guys please update your project. I've spent 3 hours today just to initially lauch it, very bad dev experience

in order use development build, you'll need to run expo run:ios once, after that the expo start --ios will work fine


Math behind dsstne

Hi guys,
Thank you for releasing your project to open-source.
Can you please explain a math behing dsstne?
Is it a collaborative filtering with explicit/implicit feedback?
You don't use ratings from MovieLens, so I assume that implict...
A link to a paper/doc will be very userfull.

DSSTNE is a general Neural Network framework with an emphasis on highly sparse data (data density of 1% or less).  The example provided can beat TensorFlow (which appears to rely on CuSparse) by a huge margin, even on a single GPU.
As for the math, it's forward and backpropagation.  As for recommendations, the example provided constructs an autoencoder-like network of movie viewing indicators for training.  If one then sorts the output of this autoencoder on a held back test set of data, filtering out previously viewed movies, one gets its recommendations.
That said, there's no specific need to treat training as an autoencoder.  Any set of input data could be used to predict any set of output data.

Autoencoder! I get the idea.
When input and output data were generated from one dataset (ml20m-all)
generateNetCDF -d gl_input -i ml20m-all -o gl_input.nc -f features_input -s samples_input -c generateNetCDF -d gl_output -i ml20m-all -o gl_output.nc -f features_output -s samples_input -c
network works as an autoencoder.
So by generating input data from my X dataset, output data from my Y dataset -
network will do regression.
I am right?

Close, by switching the Y data set and doing nothing else, you'd be regressing the inputs to 1 or 0
To do full regression, you'd also have to change the loss function on the output to L2 or L1 and use analog sparse data (supported) to provide something beyond 1 or 0 as output targets, but yes.
Do you need example code for the latter case?

yes please

Cool, I've attached a short C++ program and the command to build the dataset with output data set to the ratings of each movie from movieLens.  A network to predict ratings would require some additional design and hyperparameter tuning, but here's how to get the data in the right form to begin addressing that.
issue51.zip

Thank you, Scott. I've succesfully transformed ratings.csv from ml-20m.zip to a proper format using your tool.
Now I'm going to adapt it to my case.


Fix for #241

Description
See #241
Requirements
Before submitting this PR, please make sure:

[x] The code builds cleanly without new errors or warnings
[x] The code passes all the existing tests
[x] If this PR adds a new feature, new tests have been added to test these
new features
[x] All relevant documentation has been updated or added

Additionally, if this PR contains code authored by new contributors:

[x] All the authors are covered by a valid contributor assignment agreement,
signed by the employer if needed, provided to ETH Zurich
[x] The names of all the new contributors have been added to an updated
version of the AUTHORS.rst file included in the PR

What is the current state of this PR? Is it still in progress or is it already ready for review?

@gronerl This is ready for review

Actually, are #241 and #246 duplicates?

Actually, are #241 and #246 duplicates?

I would assume they are not as #241 affects all backends while #246 is failing only with GT backends. But then I don’t know the internals…


#0: fix if sharding width is not multiple of 16.

@arakhmati @eyonland Please review and share your thoughts.


Just tested your polyline walker

Expected Behavior
Some time when you start the bot the first step is
Walking from (48.86638, 2.31382) to [48.86638, 2.31382] 0.00km
The walk should do nothing and continue
Actual Behavior
Sometime the bot crash because the google API return only equals points as steps so self.walk_steps() return an empty list (the polyline get only exact equals points which are filtered out).
    for step in self.walk_steps():
        walked_distance += haversine.haversine(*step)*1000
        steps_dict[walked_distance] = step
    for walked_end_step in sorted(steps_dict.keys()):
        if walked_end_step >= time_passed_distance:
            break
    step_distance = haversine.haversine(*steps_dict[walked_end_step])*1000

In consequence the first for loop do nothing as the second ones resulting of an udifined walked_end_step variable
Steps to Reproduce
Don't know realy it depends of the google API return. Maybe setting a list of equals points in self.points.
Other Information
OS: OSX
branch dev last commit

was fixed in https://github.com/PokemonGoF/PokemonGo-Bot/pull/1621

Let me check once more.. - re-read your comment:
I did not think of that... my bad

th3w4y commented 8 minutes ago
was fixed in PokemonGoF#1621

I identified the issue

In [33]: a.request_responce
Out[33]:
{'geocoded_waypoints': [{'geocoder_status': 'OK',
   'place_id': 'Ei85IEF2ZW51ZSBXaW5zdG9uIENodXJjaGlsbCwgNzUwMDggUGFyaXMsIEZyYW5jZQ',
   'types': ['route', 'street_address']},
  {'geocoder_status': 'OK',
   'place_id': 'Ei85IEF2ZW51ZSBXaW5zdG9uIENodXJjaGlsbCwgNzUwMDggUGFyaXMsIEZyYW5jZQ',
   'types': ['route', 'street_address']}],
 'routes': [{'bounds': {'northeast': {'lat': 48.8663744, 'lng': 2.3138194},
    'southwest': {'lat': 48.8663744, 'lng': 2.3138194}},
   'copyrights': 'Map data ©2016 Google',
   'legs': [{'distance': {'text': '1 m', 'value': 0},
     'duration': {'text': '1 min', 'value': 0},
     'end_address': '9 Avenue Winston Churchill, 75008 Paris, France',
     'end_location': {'lat': 48.8663744, 'lng': 2.3138194},
     'start_address': '9 Avenue Winston Churchill, 75008 Paris, France',
     'start_location': {'lat': 48.8663744, 'lng': 2.3138194},
     'steps': [{'distance': {'text': '1 m', 'value': 0},
       'duration': {'text': '1 min', 'value': 0},
       'end_location': {'lat': 48.8663744, 'lng': 2.3138194},
       'html_instructions': 'Head
May be closed at certain times or days
',
       'polyline': {'points': 'yegiHk|bM'},
       'start_location': {'lat': 48.8663744, 'lng': 2.3138194},
       'travel_mode': 'WALKING'}],
     'traffic_speed_entry': [],
     'via_waypoint': []}],
   'overview_polyline': {'points': 'yegiHk|bM'},
   'summary': '',
   'warnings': ['Walking directions are in beta.    Use caution – This route may be missing sidewalks or pedestrian paths.'],
   'waypoint_order': []}],
 'status': 'OK'}

In [34]: a.points
Out[34]: [(48.86638, 2.31382), (48.86637, 2.31382), (48.86638, 2.31382)]

In [35]: a.points = [(48.86638, 2.31382), (48.86638, 2.31382), (48.86638, 2.31382)]

In [36]: a.walk_steps()
Out[36]: <filter at 0x109151c50>

In [37]: list(a.walk_steps())
Out[37]: []

In [38]: a.get_pos()
---------------------------------------------------------------------------
UnboundLocalError                         Traceback (most recent call last)
<ipython-input-38-e827ac6a955b> in <module>()
----> 1 a.get_pos()

/Users/oghinet/Checkout/private/PokemonGo-Bot/pokemongo_bot/walkers/polyline_generator.py in get_pos(self)
     81             if walked_end_step >= time_passed_distance:
     82                 break
---> 83         step_distance = haversine.haversine(*steps_dict[walked_end_step])*1000
     84         if walked_end_step >= time_passed_distance:
     85             percentage_walked = (time_passed_distance - (walked_end_step - step_distance)) / step_distance

UnboundLocalError: local variable 'walked_end_step' referenced before assignment

In [39]: a.walk_steps()
Out[39]: <filter at 0x109152be0>

In [40]: list(a.walk_steps())
Out[40]: []

Yes exactly that issue :)

https://github.com/PokemonGoF/PokemonGo-Bot/pull/1674


UF-295 - Upgrading lucene to 5.3.1

See also:

https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/pull/169
https://github.com/uberfire/uberfire/pull/337
https://github.com/uberfire/uberfire-extensions/pull/258
https://github.com/droolsjbpm/kie-wb-common/pull/337
https://github.com/droolsjbpm/jbpm-designer/pull/220
https://github.com/droolsjbpm/jbpm-form-modeler/pull/46
https://github.com/droolsjbpm/jbpm-console-ng/pull/395
https://github.com/droolsjbpm/drools-wb/pull/156
https://github.com/droolsjbpm/kie-wb-distributions/pull/261

jenkins, please retest.

+1 to merge (when @porcelli has commented on @mrietveld's question in https://github.com/uberfire/uberfire-extensions/pull/258)

The build succeeded but is reporting a failure for some reason..

That would be because two tests failed. Looking at those, they are false negatives.


Add Haddock examples to EVERY function

This might be too ambitious. But it kinda sounds nice that every function in our library will have usage examples 🙂 And we can remove that annoying (almost) from our README.

I don't mind looking through this as I'm always complaining that docs don't have enough examples of code 😄


Changes required in profile section #SWoC20

would like to work on this

would like to work on this

I would like to work on this issue, please assign it to me!

I would like to work on this issue, please assign it to me!

ok, Since @Sloth-Panda  has been already assigned to another issue, I will be assigning this issue to you @dollyjain51099 but you have to first share your approach.

ok, Since @Sloth-Panda  has been already assigned to another issue, I will be assigning this issue to you @dollyjain51099 but you have to first share your approach.

Can you please give a brief about this issue.

Can you please give a brief about this issue.

Did you check the website completely?

Did you check the website completely?

Basically when we go to the profile section of the website, it's not work fine on mobile. As well as it's not quite appealing

Basically when we go to the profile section of the website, it's not work fine on mobile. As well as it's not quite appealing

So you have to work on that.

So you have to work on that.

okay, thank you for the help!

okay, thank you for the help!

Basically when we go to the profile section of the website, it's not work fine on mobile. As well as it's not quite appealing

I'm not able to view any profile section, so can you please tell me whether I should create one!

Basically when we go to the profile section of the website, it's not work fine on mobile. As well as it's not quite appealing

I'm not able to view any profile section, so can you please tell me whether I should create one!

Yes instead of creating one work on the source code and check why it's not working on mobile. Is still ot didn't work out you can proceed but don't create a a separate folder for the same.

Yes instead of creating one work on the source code and check why it's not working on mobile. Is still ot didn't work out you can proceed but don't create a a separate folder for the same.

But there is no specific profile page that exists.

But there is no specific profile page that exists.

Check the templates folder there will be some pages regarding home and about us

Check the templates folder there will be some pages regarding home and about us

but how are you co-relating home.html and about.html with profile page?

but how are you co-relating home.html and about.html with profile page?

Basically it's the about us page but i was saying about home page as you have raised the issue that it's not accessible through mobile.

Basically it's the about us page but i was saying about home page as you have raised the issue that it's not accessible through mobile.

The page about us was already modified you have to work on regex.html page.

The page about us was already modified you have to work on regex.html page.

Hey, can I work on this issue?

Hey, can I work on this issue?

Is there any update @dollyjain51099 ?

Is there any update @dollyjain51099 ?

Can I contact you on Slack? @preeti13456

Can I contact you on Slack? @preeti13456

Sure
Get Outlook for Androidhttps://aka.ms/ghei36

From: Dolly Jain<EMAIL_ADDRESS>Sent: Sunday, January 10, 2021 12:26:45 PM
To: preeti13456/CityonBikes<EMAIL_ADDRESS>Cc: Preeti Sharma<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [preeti13456/CityonBikes] Changes required in profile section (#35)
Can I contact you on Slack? @preeti13456https://github.com/preeti13456
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/preeti13456/CityonBikes/issues/35#issuecomment-757427750, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AITUUQ52NW7VPOHFE5WXXSDSZFFS3ANCNFSM4VX4WUYQ.

Sure
Get Outlook for Androidhttps://aka.ms/ghei36

From: Dolly Jain<EMAIL_ADDRESS>Sent: Sunday, January 10, 2021 12:26:45 PM
To: preeti13456/CityonBikes<EMAIL_ADDRESS>Cc: Preeti Sharma<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [preeti13456/CityonBikes] Changes required in profile section (#35)
Can I contact you on Slack? @preeti13456https://github.com/preeti13456
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/preeti13456/CityonBikes/issues/35#issuecomment-757427750, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AITUUQ52NW7VPOHFE5WXXSDSZFFS3ANCNFSM4VX4WUYQ.

I contacted you on Slack. @preeti13456

I contacted you on Slack. @preeti13456

Update?

Update?

@preeti13456 if only the UI of the profile section needs to be changed then I can work on this issue using HTML, CSS

can i work on this issue ?

Sure

Hi @preeti13456 . Can I also work on this issue under SWOC please?

Sure


Will the new extensibility model work in VS2019 as well as VS2022

As we currently support both VS2019 and VS 2022, via cps, will we be able to update to the new extensibility relatively easily? Will you provide a migration guide??

@BertanAygun Thanks for the clarification. I may start playing with the new stuff soon.


Live reload is not happening when the project path length is big

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

Versions.

angular-cli: 1.0.0-beta.28.3
node: 6.11.0
os: win32 x64
@angular/common: 4.1.3
@angular/compiler: 4.1.3
@angular/core: 4.1.3
@angular/forms: 4.1.3
@angular/http: 4.1.3
@angular/platform-browser: 4.1.3
@angular/platform-browser-dynamic: 4.1.3
@angular/router: 4.1.3
@angular/cli: 1.0.6
@angular/compiler-cli: 4.1.3
Repro steps.

Move the project to a nested folder structure each of having 5 to 8 letter names.
ng serve
Modify some file
Check for the change again. See if the live reload happen or not.

The log given by the failure.

No failure logs
Desired functionality.

The live reload should work even if the app is inside a nested folder structure
Mention any other details that might be useful.

@tibinthomas Can you please check with updated CLI version?

Hi, I'm working with the latest version of @angular/cli and still not working:
@angular/cli: 1.1.2
node: 7.2.1
os: linux x64
@angular/animations: 4.2.3
@angular/common: 4.2.3
@angular/compiler: 4.2.3
@angular/compiler-cli: 4.2.3
@angular/core: 4.2.3
@angular/forms: 4.2.3
@angular/http: 4.2.3
@angular/material: 2.0.0-beta.6
@angular/platform-browser: 4.2.3
@angular/platform-browser-dynamic: 4.2.3
@angular/platform-server: 4.2.3
@angular/router: 4.2.3
@angular/cli: 1.1.2

If I make a change in:*
app.component.ts

it works perfectly but for example, if i make a change in
src/app/scenes/scene1/scene1.component.ts

it doesn't work.
Thanks!


Not close custom dialog When I have click on submit button(Submit form).

I have submit form on submit button click. but I have use custom function like saveArea(areaForm.value,areaForm.valid). and In typescript file in function has if..else condition.if form submitted successfully submit and else doesn't want to close dialog and error message display..
I want to close dialog In IF. so please help. I have through MD2 documents but I cant found that.
I know about some methods of dialog
In .ts file
show(dialog: any) { dialog.show(); }
close(dialog: any) { dialog.close(); }
but it's not working it. I thought some custom methods.
========  HTML code  =======
<md2-dialog #newArea title="Create a new area">
   <form [formGroup]="areaForm" novalidate (ngSubmit)="saveArea(areaForm.value,areaForm.valid)">

           <md-input formControlName="name" class="form-control" type="text" placeholder="Enter area name"></md-input>

        <md2-dialog-footer>
            <button button type="button" (click)="newArea.close()" [ngClass]="'modal-cancel-btn'">Cancel</button>
           <button button [ngClass]="'modal-save-btn'">Create</button>
        </md2-dialog-footer>
    </form>
</md2-dialog>

======= typescript code ========
saveArea(value: any, isFormValid: boolean) {`
    console.log(value);
    this.isFormSubmitted = true;
    this.isFormInvalid = isFormValid;
    if (isFormValid) {
      if (this.selectedArea == null) {
        this.donationAreaManagementService.addArea(value).subscribe(result => {
          this.initialize()
        })
      } else {
        let body = {
          "name": value.name,

        }
        this.donationAreaManagementService.editArea(this.selectedArea.areaId, body).subscribe(result => {
          this.initialize()
        })
      }
    }
  }

@dharmeshpipariya  please help me on this issue

Refer https://github.com/Promact/md2/tree/master/src/lib/dialog and demo code https://github.com/Promact/md2/tree/master/src/demo-app/dialog

@dharmeshpipariya I have refer already bro. but I haven't found that issue

@smartHasmukh there are two ways to close dialog as already I have mentioned in my demo as well as readme.md of dialog component,

First way, As you have already used over click event of cancel button of dialog in above HTML code.
Second way, define reference variable same as you have assigned and pass it through your function as:
==== HTML ====
<md2-dialog #newArea title="Create a new area">

<button (click)="saveArea(newArea)">Create

==== Typescript ====
saveArea(newArea: Md2Dialog) {
//your code with conditions
newArea.close();
}

It's working now. Thanks @dharmeshpipariya

I have an other question, how do you catch in typescript the event close dialog ?! Someone can help me ? Thanks!

@LeiwenL We developed the dialog is as service, so there are not open close events. you can catch close dialog event while you call close method of dialog as dialog.close();

@LeiwenL you need to pass argument reference name of dialog. like form submit event (ngsubmit)="onsubmit(newdateform)"  and Typescript onsubmit(dialog:any){this.close()}
newdateform is a dialog reference name

Thank you, but I need to know when user click on the close icon in the header section, there is a solution ?

@LeiwenL we have added events please refer Md2Dialog

Great !! Thank you, but how can I catch the event onClose in my typescript? I can't find this in the md2dialog doc :/

@LeiwenL its very simple, it binds in the same way as other events, as:
HTML
<md2-dialog #customDialog (onClose)="onCloseDialog($event)">     <md2-dialog-title>Confirm Title</md2-dialog-title>     Body Content... </md2-dialog>
TS
onCloseDialog(event:any){ // your code }

Oh ! Ok I understand I'm still a beginner in Angular2, in fact it's easy 😄 , thank you so much !


Enum with associated fields

This PR implements enum with (associated) fields in C#.
The C# mapping relies on Dunet (https://github.com/domn1995/dunet). A nice feature of Dunet is it's 100% a source generator. The resulting code does not depend on a Dunet assembly at runtime.
Not implemented in this PR (but should be implemented in a follow-up PR):

enumerator fields doc-comments
name-escaping when an enumerator is named 'Unknown' in an unchecked enum
name-escaping when an enumerator field is named 'Discriminant'
encoding for compact enum

Note that discriminants are encoded as varint32 (not varuint32), just like tag values.

Dunet is it's 100% a source generator. The resulting code does not depend on a Dunet assembly at runtime.

Does this mean the Dotnet development dependency is only required when you define enums with associated fields?

Dunet is it's 100% a source generator. The resulting code does not depend on a Dunet assembly at runtime.

Does this mean the Dotnet development dependency is only required when you define enums with associated fields?

Yes.


Make it useable for linux

fixed with https://github.com/JensvandeWiel/gosteamcmd/commit/0c0e7a22ca2d0377be64273628efa591e2879239


fix memory leak from argList and from wrong ordering of free and return statement

argList was not freed in else if statement.
have wrong ordering of free and return statement.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@EwanC can you please approve this PR if no issues?

Reviewing

Merging as discussed in the August 29th teleconference.


Add missing endpoints to VT in threat_intel.

Added the following (GET) endpoints:

url/scan
file/behaviour
file/download
file/network-traffic
url/distribution
file/distribution
url/distribution
file/search
flle/clusters

3 missing (POST) endpoints to be added next

url/scan
file/rescan
url/report
file/scan

Ship it :+1:


Add a function to compute how a semi-transparent color would appear on a background

The other day I wanted to compute the contrast between two colors but the luminance and hence the readability function doesn’t take the alpha canal into account: one need to know the “final” color, in other words what’s the color is on its background, to compute the contrast.
There are probably other uses for being able to compute how a color would appear on a background, and it’s very short to implement. It’s also easy to get it wrong, so I think it makes sense to have a correct and checked implement in a library like this one.
The implementation could simply be (if you’re interested I can make a PR):
onBackground(background: ColorInput): TinyColor {
  const fg = this.toRgb();
  const bg = new TinyColor(background).toRgb();

  return new TinyColor({
    r: bg.r + (fg.r - bg.r) * fg.a,
    g: bg.g + (fg.g - bg.g) * fg.a,
    b: bg.b + (fg.b - bg.b) * fg.a,
  })
}

I also though of rgbaToRgb as a function name but that may be confusing with all the other function with rgb in their names I guess.
Adapted from this StackOverflow answer.

I'd be open to a pr

:tada: This issue has been resolved in version 3.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Delete pages and set footers to thumbnails

Hello dealfonso,
I would like to know if you have an example of how to delete a page from the PDF, as well as how to set a footer for the thumbnails.

Hi,
it is not possible to delete any page from the PDF as it is a viewer... or do you mean "hide" a page?
In the case of the footer for the thumbnails, you can define a handler that adds a div with the page number. If using the example in the bundle, it can be as next:
    onNewPage: function(page) {
        $('<div class="numbering">').text(page.pageNumber).appendTo(page);
        page.on('click', function() {
            if (!pdfViewer.isPageVisible(page.data('page'))) {
                pdfViewer.scrollToPage(page.data('page'));
            }
        })
    },

Then you can modify the CSS to make that the class for the pdfpage in the thumbnail makes room for the new div (e.g. add margin-bottom: 30px !important. And finally define the numbering class as:
.numbering {
  width: 100%;
  text-align: center;
  height: 30px;
}

This is an example... feel free to customize according to your needs.
I hope this helps.
Regards.

It would be useful to hide the page. How would that functionality be?

Hi,
hiding and showing a page depends a lot on your UI. The basic idea is to add a class that hides the pages and/or the thumbnails and to add or remove that class to the pages that are being hidden.
As an example, you can use this function:
function hideselected() {
    let $selected = pdfThumbnails.$container.find('.selected');
    let i = $selected.data('page');
    $selected.toggleClass('hidden');
    pdfViewer.$container.find('.pdfpage[data-page="' + i + '"]').toggleClass('hidden');
    pdfViewer.scrollToPage(i);
}

And adjust the different classes to show or to grey the pages.
I have added a new commit that includes the features that you suggested, in the example. You can see in that example that you need some little changes in your code.
Please try this new version in commit #4b89dbd8e9d2c2ff5e1c1bcc83d10239add96d5f

I do not know what you mean exactly, but I think that you can try forcing the size for your images using CSS. In the example https://codepen.io/dealfonso/pen/dyVVYgP, you can try adding the next to the CSS:
.thumbnails .pdfpage {
 width: 100px !important;
}


port test for HTF r_cutoff bug

These tests should get merged over too:
https://github.com/OpenFreeEnergy/openfe/pull/675/files#diff-498c7eca2a7e573b217e2e32379eed61a695d9ef8d8c5c107c1f6f2e356aa059

not necessary, this is tested in another form in test_relative


Feature Request: Path/Header Variable Support in HTTP Integration

Hi!
I’d like to kindly suggest adding support for path variables in ChirpStack's HTTP integration, similar to how it's implemented in The Things Stack (docs).
For example, configuring the URL as:
https://example.com/webhook/{application_id}/{device_id}
should resolve dynamically based on metadata, e.g.,
https://example.com/webhook/app123/device456
This feature would:

Simplify integrations with systems requiring dynamic URLs.
Eliminate the need for middleware to route requests.
Ensure feature parity with other LoRaWAN platforms.

Thank you for considering this enhancement!

Simplify integrations with systems requiring dynamic URLs.

Could you provide a few examples?

Eliminate the need for middleware to route requests.

But in any case, you need a ChirpStack specific handler, as the payload is specified by ChirpStack. Thus the receiver must have a handler that understands this payload at the first place.

Thank you for your responses! Let me clarify some use cases:
Long-term storage of uplinks:
For our setup, we store uplinks in a bucket where each device (identified by its DevEUI) has its own folder. To achieve this, we currently need to parse every incoming uplink to extract the DevEUI and write the data to the appropriate device folder. With path variables (e.g., {dev_eui}), this logic could be entirely avoided, as the DevEUI could directly be part of the URL.
Different processing for applications:
Uplinks from different applications might require specific processing logic. For example, Application A's data could be transformed before storage, while Application B's data might trigger external workflows. Without a dynamic URL containing the Application ID (e.g., {application_id}), we are forced to parse and inspect each message manually to determine how it should be processed. Dynamic URL paths or even variable headers would eliminate this overhead by enabling direct routing.
Essentially, these features would simplify integrations by offloading routing and processing logic to the URL structure, allowing us to focus on handling the actual data rather than parsing and redirecting it.


Access logging to stdout

We want to use Envoy in a Kubernetes environment. It would be nice if Envoy can log to stdout/stderr instead of a file so we can take advantage of the default logging infrastructure including log rotation and log processing pipeline (fluentd on standard docker logs on the host)

What logs are you talking about? app logs are already written to stderr.

Aren't access logs written to a file according to https://lyft.github.io/envoy/docs/configuration/http_conn_man/access_log.html?

Yes for access logs. I don't really see any sane way that you can write access logs to stderr, if app logs also go there? I suppose it could be added as an option.

Two options for you:
            "access_log": [
             {
              "path": "/dev/stdout"
             }
            ],

or log to file and in the Dockerfile:
 RUN ln -sf /dev/stdout /var/log/envoy.log

Thanks @damaex17. Given the workarounds I'm going to close this as won't fix.

To assist others, here's a snippet of yaml that will configure access_log to log to stdout.
    filter_chains:
    - filters:
      - name: envoy.http_connection_manager
        config:
          access_log:
          - name: envoy.file_access_log
            config:
              path: "/dev/stdout"

I can't get /dev/stdout to work unless I run as root, which I really don't want to do.

Is this working for everyone ? When i set path as

/dev/stdout

I am not able to see the access logs.
But when I echo something to stdout like

echo "hello" > /proc/1/fd/1

All of a sudden I get all the logs. Looks like the access logs aren't properly flushed to stdout.

Hello,
Although my configuration declares the stdout as the place to send the admin logs:
{
"admin": {
"access_log_path": "/dev/stdout",
"address": "tcp://<IP_ADDRESS>:9901"
},
I can't see anything there.
[root@prs-fh2ns /]# tail -f /dev/stdout
Also the workaoround @tak2siva made above didn't help my case ;-(
[root@prs-fh2ns /]# ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 Jun05 ?        00:00:17 /usr/bin/python /usr/bin/supervisord -c /etc/supervisord.conf
root        80     1  0 Jun05 ?        00:02:09 /usr/bin/envoy -c /etc/envoy/active-conf.json
[root@prs-fh2ns /]# echo "hello" > /proc/80/fd/1
Did I missed something?
Thanks

An updated version of @jevonearth snippet
    filter_chains:
    - filters:
      - name: envoy.filters.network.http_connection_manager
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
          access_log:
          - name: envoy.access_loggers.file
            typed_config:
              "@type": type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog
              path: /dev/stdout

Out of interest... is this a bad idea to leave in production? It was a bit surprising to me that I wasn't able to see the actual routing done by envoy, so I was looking for exactly this solution, but is it actually bad practice? How am I supposed to view the access log otherwise in a kubernetes cluster for example?

is this a bad idea to leave in production?

hi @enyo - iiuc - no using stdout/err is the recommended way if you are running inside a container

I've only been able to log to the systemd journal with this hack
https://github.com/envoyproxy/envoy/issues/8297#issuecomment-620659781

To assist others, here's a snippet of yaml that will configure access_log to log to stdout.

    filter_chains:

    - filters:

      - name: envoy.http_connection_manager

        config:

          access_log:

          - name: envoy.file_access_log

            config:

              path: "/dev/stdout"

thanks!!
but how to control log file size?
It's still increasing..

An updated version of @jevonearth snippet

    filter_chains:

    - filters:

      - name: envoy.filters.network.http_connection_manager

        typed_config:

          "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager

          access_log:

          - name: envoy.access_loggers.file

            typed_config:

              "@type": type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog

              path: /dev/stdout

thanks!!
but how to control log file size?
It's still increasing..

@malza321 afaiaa Envoy doesnt provide any logrotation itself - see #5678
How you do it depends on your setup - eg whether it is containerized and/or how Envoy is started and run (eg systemd) and how you want to capture the logs
The standard linux/unix tool is logrotate - i dont have any experience of using it with Envoy specifically - but noticed #13962 that you might want to look at

@malza321 afaiaa Envoy doesnt provide any logrotation itself - see #5678
How you do it depends on your setup - eg whether it is containerized and/or how Envoy is started and run (eg systemd) and how you want to capture the logs
The standard linux/unix tool is logrotate - i dont have any experience of using it with Envoy specifically - but noticed #13962 that you might want to look at

I don't have any cloud infra and will not have. I just use envoy binary file and config file only. and no permission on system file as well.

I ran into this trying to adapt a configuration file to work from a systemd service unit.
I assume people run this from standard system launchers with standard system loggers, so what's the process for that? Should I just omit the logging section?

@coolaj86 if you were expecting help you might think twice posting rude and insulting messages about the envoy community
perhaps taking a more constructive approach like trying to fix the problem you are having yourself and contributing that back

i have added https://github.com/envoyproxy/envoy/issues/32764 to give the issue better visibility