Replace _id and _digest with general underscore-prefix handling

The proposal is:

drop _id and _digest from the schema since they exist purely as implementation conveniences (and are overly specific as well)
permit any underscore-prefixed attribute. Use is implementation-defined. Underscore attributes are NOT included in digest serialization (as-is requirement).
add new requirement that underscore attributes be excluded from messages

This would be very easy to implement and would allow us to drop _id and _digest from the information model, which I think makes sense.

Two issues arose.
The most serious is that python-jsonschema-objects doesn't understand a patternProperty without a type. A type-less schema is valid (it means any type) and works elsewhere, but not with patternProperties. The consequence is that we would have to chose a single type for all patternProperties.
The second issue is that I forgot that the presence of the _id attribute is the test for whether an object is identifiable, which in turn determines how its serialized. Removing it breaks serialization.
I'll keep this issue open for further consideration because @ahwagner and I both like the direction.

Based on discussions for responding to PRC feedback, we have opted to not go in this direction, and instead DROP _digest from the spec entirely. Closing for now, @reece feel free to reopen if we want to go in this direction as a v2 (breaking) change down the road.


Optimize code, add ps.Run() function and update godoc

Please provide Issues links to:

Issues: #

Provide test code:

Description

Only one API for released 1.0
Optimize code, add ps.Run() function and update godoc
Update examples and README.md

 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.


Use importlib in place of backports.test.support

Remove (undeclared dependency) usage of backports.test.support. This was
pulling in unittest2 as a runtime dependency instead of a test
dependency. It's also really not needed, as the functionality that it
provides was not being called. Just use importlib instead.
Remove unused functions in s_utils.py & alphabetize imports. Order according to: Python core, 3rd party, local pacakge.

No problem. Would love to see this merged and a new pypi release out. Right now it's polluting our dependency tree.
Thanks!

v4.4.0 on pypi now

On 26 Oct 2016, at 11:03, Dan Sully<EMAIL_ADDRESS>wrote:
No problem. Would love to see this merged and a new pypi release out. Right now it's polluting our dependency tree.
Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/rohe/pysaml2/pull/375#issuecomment-256429669, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGGPMS-VGgaLtBNfFLQqH7Dzq_Wnjc6ks5q35YFgaJpZM4KhO24.

Will do it later today.
Thanks!

On 26 Oct 2016, at 11:03, Dan Sully<EMAIL_ADDRESS>wrote:
No problem. Would love to see this merged and a new pypi release out. Right now it's polluting our dependency tree.
Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


Linux Extension name is wrong

[Enter feedback here]
Hi
Linux extension name is VMAccessForLinux, so this part is incorrect ->$extName = "VMAccessForAgent"
Also, I was unable to make an effective password change in Linux VMSS. Even on internal wiki, the procedure for Linux VMSS is to reimage, not to use extension, as in Windows VMSS. I can later give you the wiki link and we can verify id the Linux part of the document needs to be changed.
I  eventually managed to change the password, changing the $extName to the correct value and running the same command on AZ CLI and manually upgrading the instances on the portal, after running the PowerShell commands on this page,
The AZ CLI  command was this: az vmss extension set --resource-group vmss --vmss-name vmss1 --publisher Microsoft.OSTCExtensions --name VMAccessForLinux --version 1.5 --protected-settings "{'username': 'user', 'password': '************'}"

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

ID: b94c5948-acb1-e3aa-7148-6aa2278bcdef
Version Independent ID: 9ada224f-5a76-bcde-2dc0-928a29c4323f
Content: Azure virtual machine scale sets FAQs - Azure Virtual Machine Scale Sets
Content Source: articles/virtual-machine-scale-sets/virtual-machine-scale-sets-faq.yml
Service: virtual-machine-scale-sets
GitHub Login: @mimckitt
Microsoft Alias: mimckitt

@jocarv-fte
I have assigned the issue to the content author for further review.

Hey,  @@.***>.
Are you the doc author?
Ping me directly on teams when you’re back , to discuss what I’ve found when trying to use the repro the issue on the doc
(Next OOF: Dec 24th)
Please use “reply all” when replying, to ensure proper case routing.
Best Regards,
José Carvalho
SUPPORT ESCAL ENG
Azure Rapid Response Portugal
Customer Services and Support
Office: (+351) 210602486
<EMAIL_ADDRESS>Working hours: Mon-Fri 9:00-18:00 WEST(UTC/UTC+1 in DST)
[Microsoft]
If you need immediate attention for any of the ongoing case while I am out of shift, please send a separate email with case ID to<EMAIL_ADDRESS>A duty manager will take action and loop in an available ARR engineer to help you.
If you have any feedback about my work, please let either me or my manager Dragos-Ctalin Nita know at<EMAIL_ADDRESS>From: SatishBoddu @.>
Sent: 18 de dezembro de 2021 18:53
To: MicrosoftDocs/azure-docs @.>
Cc: José Carvalho @.>; Author @.>
Subject: Re: [MicrosoftDocs/azure-docs] Linux Extension name is wrong (Issue #85491)
@jocarv-ftehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjocarv-fte&data=04|01|Jose.Carvalho%40microsoft.com|6a69e6b13d764335ce9e08d9c2579dc9|72f988bf86f141af91ab2d7cd011db47|1|0|637754503894720932|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=cCXmAS4aQAGqhWRGDqOv59hKJb0KDawba%2FAuzhD7oi8%3D&reserved=0
I have assigned the issue to the content author for further review.
—
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F85491%23issuecomment-997268661&data=04|01|Jose.Carvalho%40microsoft.com|6a69e6b13d764335ce9e08d9c2579dc9|72f988bf86f141af91ab2d7cd011db47|1|0|637754503894720932|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=W%2Fnpn9aAy8rTFeIQvZzlsBoAIEIlfqu%2BlVnr5PKx0UQ%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALGBMIX3POJ33UKDDFEG3PTURTKA3ANCNFSM5KKZPCBQ&data=04|01|Jose.Carvalho%40microsoft.com|6a69e6b13d764335ce9e08d9c2579dc9|72f988bf86f141af91ab2d7cd011db47|1|0|637754503894720932|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=JaOH8fX0ysfLD%2BnxplLyWFcn6NuO5yiY18jbh9Tiook%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|Jose.Carvalho%40microsoft.com|6a69e6b13d764335ce9e08d9c2579dc9|72f988bf86f141af91ab2d7cd011db47|1|0|637754503894720932|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=UBSlIJysdjMAgNIoMMsY883pMxmZ2ZKb9fppQoOfVvE%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|Jose.Carvalho%40microsoft.com|6a69e6b13d764335ce9e08d9c2579dc9|72f988bf86f141af91ab2d7cd011db47|1|0|637754503894720932|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=HH4mPdPk81e7d%2BCPK48haHjaDrTufWwfEWNdmlBIPyo%3D&reserved=0.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

#reassign: @ju-shim

We have addressed the password update, that is fixed. Most of the steps work now. We may be rewriting the Linux portion of our FAQ to be clearer, using the internal steps that Jose provided via internal communication. Thank you!
#please-close


Block Comment/UnComment for multiple lines of Python code [new feature, or need documentation?]

Is your feature request related to a problem? Please describe.
I'm always frustrated when... I need to temporarily Comment-out a block of code. Lines need to be '#' marked individually.
Describe the solution you'd like
After selecting a group of lines of code, being able to use a single keystroke to '#' Comment them (or UnComment them.)
Describe alternatives you've considered
Maybe this is already implemented in CodeMirror but I haven't found the relevant documentation for the  key-mappings?

Please try Ctrl-/


Same application view details page

Hello, I found a bug. In the DARP dashboard, if there are two applications with the same appid, the details will always be the first one. I suspect that the bug is caused by the front-end route, because I found that the appid is used as the route in the route

For example, I started two appids with Net6 applications, one is port 5000 and the other is port 6000. However, no matter which one is clicked on the page, the details of the application with port 5000 will be displayed

I am facing the same problem.
I have two applications with the same name but in different namespaces
When I click on the name of the application to see the details, it always opens the application first.
I think it would be interesting to bring the namespace to which the application belongs in the listing and when you click, also pass the namespace in the url route along with the name of the application.


Minimize the dependency to Chocolatey

As this notice indicates, Chocolatey has a very large backlog of packages in moderation queue. So, probably we can't release like how we think it will --- Also, currently I have not heard anything the moderation status of the package that I submitted 12 days ago... :anguished:
Therefore, we should minimize the dependency to Chocolatey and take back the control for our releases. We are planning the following enhancements to achieve that:

The process resolving the dependency to NuGet.CommandLine
=> Bundle NuGet.exe up.
The process generating NuGet package
=> Generate it at the build time.
The process registering the profiler
=> Register it at startup time of VSIX. Of course, considering whether version is newer.
The process executing prig install TestWindow ...
=> Execute it at the timing same as profiler registration.

By implementing the above, VSIX will be available as an independent installer(This means we can publish it in Visual Studio Gallery). Almost operations that Chocolatey did to install will be unnecessary.

For your information, it had been 50 days since I submitted :disappointed:

Fixed at 1f812df0981603c398c42fd70bb1e840bec3c8ab.


PB_setup.md walkthrough does not match PowerBi

PB_setup.md describes setting up the connection between Azure Stream Analytics and PowerBI but the described steps cannot be followed (in my account at least!).  In particular the line:under heading "
Create a Power BI dashboard" that says

"Select a dataset from the Datasets shown in the left nav menu.
Select "CTDPBIDataSet". This contains the same data as you saw in the CSV file you downloaded above, but in JSON format."

This cannot be followed.  My understanding is that the data set appears only in the 'sreaming datasets' section of the datasets menu and as such cannot be used in the way described here.  Because of this it is impossible to continue to produce the Power BI dashboard as described.

Hi @meesern
It's some time now since I tested this part of the project and its very probable PowerBI changed a couple things in the way the DataSet is exposed. I'll try and go through this and fix the instructions later today or tomorrow.
If you have suggestions, feel free to send over or even send a pull request.
Cheers
Olivier

Hi @meesern
I have updated the PowerBI instructions to reflect changes in IoT Hub, Stream Analytics and PowerBI. You should be able to create a simple line chart showing real time data coming from devices following the new instructions. Let me know if that's not the case.
If that's good enough, feel free to close the issue.
Thanks


feat(repo): Introduce fuel-streams-types with new Block type

Right now, we will be publishing blocks with empty transactions only but this will be updated as soon as we get to integrating the Transaction type
Closes DS-114

Closing this in favour of https://github.com/FuelLabs/data-systems/pull/320


Some feedback

Have you seen https://github.com/sidestream-tech/sidebase/issues/17#issuecomment-1238514412 ?

Thanks! Updated to use latest h3 now.


[FR]: Add an example that skips node-gyp installs

What is the current behavior?
Post install hooks can fail with pnpm. One that I ran into was
❯ bazel test //bazel/release/internal/pusher:test
INFO: Invocation ID: f430ce78-99c5-461c-84f5-b135bd3fc6e5
INFO: Analyzed target //bazel/release/internal/pusher:test (2296 packages loaded, 35938 targets configured).
INFO: Found 1 test target...
ERROR: /Users/davidaghassi/robinhood/rh_other_alt/bazel/release/internal/pusher/BUILD.bazel:9:22: Running lifecycle hooks on npm package<EMAIL_ADDRESS>failed: (Exit 1): lifecycle-hooks.sh failed: error executing command (from target<EMAIL_ADDRESS>bazel-out/darwin_arm64-opt-exec-2B5CBBC6/bin/external/aspect_rules_js/npm/private/lifecycle/lifecycle-hooks.sh cpu-features ../../../external/pusher_pnpm_deps__cpu-features__0.0.4/package ... (remaining 1 argument skipped)
/private/var/tmp/_bazel_davidaghassi/299af5c32fa95b8ba15b1237ac8646db/execroot/rh/bazel-out/darwin_arm64-fastbuild/bin/external/aspect_rules_js/npm/private/lifecycle/min/node-gyp-bin/node-gyp: line 5: 1211: command not found

><EMAIL_ADDRESS>install<EMAIL_ADDRESS>> node buildcheck.js > buildcheck.gypi && node-gyp rebuild

===============================================================
Failure while running lifecycle hook for package<EMAIL_ADDRESS>
  Script:  'install'
  Command: `node buildcheck.js > buildcheck.gypi && node-gyp rebuild`

Stack trace:

spawn ENOENT
    at ChildProcess.<anonymous> (/private/var/tmp/_bazel_davidaghassi/299af5c32fa95b8ba15b1237ac8646db/execroot/rh/bazel-out/darwin_arm64-fastbuild/bin/external/aspect_rules_js/npm/private/lifecycle/min/index.min.js:1:91930)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1100:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
===============================================================

having docs/example/suggestion on how to solve this would make error handling better.
Describe the feature
Adding this fix https://github.com/pnpm/pnpm/issues/4347#issuecomment-1044043721 to my package.json resolved my issue and let me continue building/testing.
The reason this is hard to troubleshoot is because outside of bazel, running pnpm i works fine.
Fund our work

[ ] Sponsor our open source work by donating a feature bounty

I get a similar issue when trying to build the angular app
➜  bazel build //:app
INFO: Analyzed target //:app (889 packages loaded, 7588 targets configured).
INFO: Found 1 target...
ERROR: /Users/theys/github/aspect-build/bazel-examples/angular/BUILD.bazel:7:22: Running lifecycle hooks on npm package<EMAIL_ADDRESS>failed: (Exit 1): lifecycle-hooks.sh failed: error executing command (from target<EMAIL_ADDRESS>bazel-out/darwin_arm64-opt-exec-2B5CBBC6/bin/external/aspect_rules_js/npm/private/lifecycle/lifecycle-hooks.sh nice-napi ../../../external/npm__nice-napi__1.0.2/package ... (remaining 1 argument skipped)
/private/var/tmp/_bazel_theys/676332011c2f3e295756330f3b91b35c/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/aspect_rules_js/npm/private/lifecycle/min/node-gyp-bin/node-gyp: line 5: 1211: command not found

><EMAIL_ADDRESS>install<EMAIL_ADDRESS>> node-gyp-build

===============================================================
Failure while running lifecycle hook for package<EMAIL_ADDRESS>
  Script:  'install'
  Command: `node-gyp-build`

Stack trace:

spawn ENOENT
    at ChildProcess.<anonymous> (/private/var/tmp/_bazel_theys/676332011c2f3e295756330f3b91b35c/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/aspect_rules_js/npm/private/lifecycle/min/index.min.js:1:91930)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1100:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
===============================================================
Target //:app failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 37.890s, Critical Path: 4.58s
INFO: 2783 processes: 1848 internal, 3 darwin-sandbox, 932 local.

I also get a similar issue, but can't seem to get @Aghassi workaround to work.
bazel build //:app
INFO: Analyzed target //:app (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /Users/mattias/c/bazel-examples/angular/BUILD.bazel:7:22: Running lifecycle hooks on npm package<EMAIL_ADDRESS>failed: (Exit 1): lifecycle-hooks.sh failed: error executing command (from target<EMAIL_ADDRESS>bazel-out/darwin_arm64-opt-exec-2B5CBBC6/bin/external/aspect_rules_js/npm/private/lifecycle/lifecycle-hooks.sh nice-napi ../../../external/npm__nice-napi__1.0.2/package ... (remaining 1 argument skipped)
node:internal/modules/cjs/loader:998
  throw err;
  ^

Error: Cannot find module '/private/var/tmp/_bazel_mattias/3027eccc8676ed26bace85ab5cf2a721/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/aspect_rules_js/npm/private/lifecycle/node_modules/node-gyp/bin/node-gyp.js'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
    at Function.Module._load (node:internal/modules/cjs/loader:841:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:22:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

><EMAIL_ADDRESS>install<EMAIL_ADDRESS>> node-gyp-build

===============================================================
Failure while running lifecycle hook for package<EMAIL_ADDRESS>
  Script:  'install'
  Command: `node-gyp-build`

Stack trace:

Exit status 1
    at EventEmitter.<anonymous> (/private/var/tmp/_bazel_mattias/3027eccc8676ed26bace85ab5cf2a721/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/aspect_rules_js/npm/private/lifecycle/min/index.min.js:47:92054)
    at EventEmitter.emit (node:events:513:28)
    at ChildProcess.<anonymous> (/private/var/tmp/_bazel_mattias/3027eccc8676ed26bace85ab5cf2a721/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/aspect_rules_js/npm/private/lifecycle/min/index.min.js:1:195024)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1100:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
===============================================================
Target //:app failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.496s, Critical Path: 0.34s
INFO: 3 processes: 2 internal, 1 local.
FAILED: Build did NOT complete successfully
Error: bazel exited with exit code: 1


Set system volume to provided value in bluetooth-udev

This one fixes a minor bug in bluetooth-udev which sets the system volume to 100% all the time.

What are you providing with this PR?

Please read https://github.com/balena-io-projects/balena-sound/blob/master/CONTRIBUTING.md

@barhun this looks great - good catch. As Alex mentioned though, check the contribution guidelines to format your commit message, then we can merge 👍

Have you a terminal?

So now you ruined it. The CI of balena will now not accept your commits.  My way in this situation was that i backuped my edited files (In your case ONLY start.sh and bluetooth-udev) deleted my fork maked a new fork commited the backuped files in only ONE commit and dont forget do write in the description of this one commit:
ChangeType: minor
And then you need to close this PR and open a new. But then make please nothing on your fork.

Hahaha, sorry, my bad! Having a busy day. (: 'll send a new PR asap.


Problem with installing

Hey guys
So i am trying to get this stuff running. I did upload the latest dump into the mysql and want to start ./manage.py syncdb --noinput.
This always aborts with the following error:
Running migrations:   No migrations to apply. Traceback (most recent call last):   File "./manage.py", line 10, in <module>     execute_from_command_line(sys.argv)   File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line     utility.execute()   File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 346, in execute     self.fetch_command(subcommand).run_from_argv(self.argv)   File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/core/management/base.py", line 394, in run_from_argv     self.execute(*args, **cmd_options)   File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute     output = self.handle(*args, **options)   File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/core/management/commands/syncdb.py", line 25, in handle     call_command("migrate", **options)   File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 120, in call_command     return command.execute(*args, **defaults)   File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute     output = self.handle(*args, **options)   File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 226, in handle     emit_post_migrate_signal(created_models, self.verbosity, self.interactive, connection.alias)   File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/core/management/sql.py", line 280, in emit_post_migrate_signal     using=db)   File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 189, in send     response = receiver(signal=self, sender=sender, **named)   File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/contrib/auth/management/__init__.py", line 82, in create_permissions     ctype = ContentType.objects.db_manager(using).get_for_model(klass)   File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/contrib/contenttypes/models.py", line 80, in get_for_model     "Error creating new content types. Please make sure contenttypes " RuntimeError: Error creating new content types. Please make sure contenttypes is migrated before trying to migrate apps individually.
I have checked the settingsfile and everything, but I cannot find out, why it would not let me install it properly.
Any ideas?

alright, found the solution, needed an upgrade of dist


Add 1. scan - 2. factory rector - 3. fix code workflow

With setInject() to setTag() Nette\DI\Definition example

Too dynamic and unstable in time. Rather use as helper command


Use boto3 instead of awscli to download code package

Updated PR from https://github.com/Netflix/metaflow/pull/389
Resolves https://github.com/Netflix/metaflow/issues/387

No idea why the build failed
Downloading https://homebrew.bintray.com/bottles/qpdf-10.3.1.catalina.bottle.tar.gz
curl: (22) The requested URL returned error: 403 Forbidden
Error: Failed to download resource "qpdf"

I launched the tests again. Hopefully, it should resolve now. The existing test suite doesn't exercise the files that the PR touches.

@tkislan Have you tested this PR? I am running into this error - boto3;: 1: boto3;: Syntax error: end of file unexpected (expecting "done")

I only tested the generated command that downloads the file
Can you please provide more context?
What the whole command looks like, etc

The issue is with incorrect quoting given that we use shlex downstream. This is what the command looks like -
"/bin/sh","-c","set -e && echo 'Setting up task environment.' && python -m pip install click requests boto3 -qqq && mkdir metaflow && cd metaflow && mkdir .metaflow && i=0; while [ $i -le 5 ]; do echo 'Downloading code package.'; python -c import","boto3;","exec(try:\\n from urlparse import urlparse\\nexcept:\\n from urllib.parse import urlparse);parsed","=","urlparse(s3://oss-dev-metaflows3bucket-13oayj2nh8n4l/metaflow/ForeachFlow2q/data/95/950443769eee3cac5d35c5fa724bf390d5093b2b);boto3.client(s3).download_file(parsed.netloc,parsed.path.lstrip(/),","job.tar); >/dev/null &&                         echo 'Code package downloaded.' && break; sleep 10;...

@savingoyal Thx for the pointer to shlex .. Honestly I didn't delve into the coda that much, as I hoped that previous PR had it almost done
This is the new full command that it generates, and I was able to run it locally
['/bin/sh', '-c', "set -e && echo 'Setting up task environment.' && python -m pip install click requests boto3 -qqq && mkdir metaflow && cd metaflow && mkdir .metaflow && i=0; while [ $i -le 5 ]; do echo 'Downloading code package.'; python -c 'import sys; import boto3; boto3.client(sys.argv[1]).download_file(sys.argv[2], sys.argv[3], sys.argv[4])' s3 'def3b3-mf-test' 'ParameterFlow/data/24/243633f93d432b2431cfac4518a44f4e9eb68881' job.tar >/dev/null &&                         echo 'Code package downloaded.' && break; sleep 10; i=$((i+1)); done && if [ $i -gt 5 ]; then echo 'Failed to download code package from s3://def3b3-mf-test/ParameterFlow/data/24/243633f93d432b2431cfac4518a44f4e9eb68881 after 6 tries. Exiting...' && exit 1; fi && tar xf job.tar && echo 'Task is starting.' && sleep 10"]

I had to go for the sys.argv solution, as I wasn't able to force the correct quote escaping inside the single quoted string

@savingoyal is anything still blocking this?

Closing, as nobody cares ..


fix: updated select field with preference

Description
Updated select field type with preference
Closes #15804
Screencast
https://github.com/user-attachments/assets/a89740af-cd3c-4f72-a31c-55cfad551960
Checklist

[X] I read the extension guidelines
[X] I read the documentation about publishing
[X] I ran npm run build and tested this distribution build in Raycast
[X] I checked that files in the assets folder are used by the extension itself
[X] I checked that assets used by the README are placed outside of the metadata folder

Thanks for your contribution 🔥
Could you look into the CI errors mentioned


Obtainium for nightlies?

I use obtainium A LOT to automatically keep all my github, gitlab, f-droid, etc, apps always updated to the latest version in the background using shizuku
I know they're up on your discord but havent been able to find your nightly files on your github so haven't been able to use obtainium for them.
Have i just missed them or is it possible for you to just drop them in a "pre-release" tag or have it's own beta branch?
If you decide to do anything like this, I'd also recommend adding a option to disable the top screen notification of new releases

nightly always available on github's actions tab as artifact (you need to unzip it first btw).
idk about obtainium, but I choice whatever method that make me comfortable to release the nightly.


SpringFox 2.3.0 Release

[x] Update Release Notes
[x] Release software

Release Notes are available here.


thermostatRunningState doesn't seems to follow hvac_action

Bringing this one back to debug this.
Checked in the chrome dev tools and I can see the thermostatRunningState value seems to not follow HA hvac_action change.
Here the climate entity is in heating state, but thermostatrunningState still have heat: false
HA climate attribute :
hvac_action: heating
Matter attr:
"thermostatRunningState": {
          "heat": false,
          "cool": false,
          "fan": false,
          "heatStage2": false,
          "coolStage2": false,
          "fanStage2": false,
          "fanStage3": false
        },

Actually... for me it's working.
IF the device is running and not in idle mode.

I haven't checked yet with latest yet. I'll tell you how it does

it's ok now with latest. Strange, I don't see any involved commit.


CompanionRepo

#minor#
Testing PR. Don't merge yet

Imgur Album

Visual Acceptance tests:
Passed:
Addition Information:

## Failed:
 ### Addition Information:
      Diff Current Baseline

Visual Acceptance tests:
Passed:
Addition Information:

## Failed:
 ### Addition Information:
      Diff Current Baseline

Visual Acceptance tests:
Passed:
Addition Information:

## Failed:
 ### Addition Information:
      Diff Current Baseline

Visual Acceptance tests:
Passed:
Addition Information:

## Failed:
### Addition Information:
      Diff Current Baseline


support other platforms for process scanning

That would be marvelous! Wish i had the $ to sponsor arRPC for this feature.
Discord Rich Presence does not work at all on Linux Systems (because they dont want to) due to 90% of the games being run through a Compatibility Layer like Wine or Proton, something like this would really help the community.

Linux and Mac now scan for compatible games (using Discord's DB).


Revert "[flutter_tools] initialize frontend server with build"

Reverts flutter/flutter#49405
Testing if this caused https://github.com/flutter/flutter/issues/51412

Clean revert, landing as is. TBR @christopherfujino

lgtm


Comparison with bmalloc?

Hi,
I would be interested in a comparison (both in terms of speed and on memory usage) with bmalloc.
https://opensource.apple.com/source/bmalloc/
https://svn.webkit.org/repository/webkit/trunk/Source/bmalloc/

bmalloc added to the benchmark repo, will add results to graphs soon

bmalloc falls too far behind, not going to add it to the graph as it brings no meaningful data to the mix


New version: Ditto.Ditto version <IP_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.2 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Closes #82555

Microsoft Reviewers: Open in CodeFlow

@RadAd The problem does seem to be in the x86 installer. Once I removed it in the most recent commit, all pipeline validation checks pass.
Reference: https://github.com/microsoft/winget-pkgs/issues/82555#issuecomment-1269372237


Suggestion: Add support for different databases such as MariaDB.

Hello, it would be nice for support for databases other than postgresql, I already use mariadb for a few things so its more convenient to use what some already have.
Thanks and have a nice day!

Thanks for the suggestion, however while I would like to support multiple databases, several of the tools that I use only support postgres and I don't see that changing soon.


Fix image measure function to apply inherent aspect ratio to style sizes

Objective

Fixes https://github.com/bevyengine/bevy/issues/13155
fixes https://github.com/bevyengine/bevy/issues/13517
Supercedes https://github.com/bevyengine/bevy/pull/13381

Solution

Taffy has been updated to:

Apply size styles to absolutely positioned children
Pass the node's Style through to the measure function

Bevy's image measure function has been updated to make use of this style information

Notes

This is currently using a git version of Taffy. If this is tested as fixing the issue then we can turn that into a Taffy 0.5 release (this would be the only change between Taffy 0.4 and Taffy 0.5 so upgrading is not expected to be an issue)
This implementation may not be completely correct. I would have preferred to extend Taffy's gentest infrastructure to handle images and used that to nail down the correct behaviour. But I don't have time for that atm so we'll have to iterate on this in future. This PR at least puts that under Bevy's control.

Testing

I manually tested the game_menu_example (from https://github.com/bevyengine/bevy/issues/13155)
More testing is probably merited

Changelog
No changelog should be required as it fixes a regression on main that was not present in bevy 0.13. The changelog for "Taffy upgrade" may want to be changed from 0.4 to 0.5 if this change gets merged.

CC @bugsweeper @porkbrain

@bugsweeper can I get your review here as well?

There is only one problem, in this PR bevy_ui depends on personal fork of taffy, it's the best what we can get from changing two separate but dependent crates at same time, but it's not suitable for release. Should we wait some time (two weeks?) for taffy new release?

Me (and Alice) are maintainers of Taffy. I/we can put out a release whenever one is needed, I just don't want to put out a release that doesn't actually fix the problem. The fix looks like it works for #13155 to me, but I was hoping that the proposed fix could get a little more testing, and confirmation from at least one other person that it works first.

Me (and Alice) are maintainers of Taffy

Verry well, I didn't know that.


Cannot access property name of non-object type truthy (NTI)

Strange error, can't see what's wrong with my code:
function f(v) {
  if (v && v.constructor) return v.constructor.name;
  else return null;
}

input0:2: WARNING - Cannot access property name of non-object type truthy.
  if (v && v.constructor) return v.constructor.name;

https://closure-compiler-debugger.appspot.com/#input0%3Dfunction%2520f(v)%2520%257B%250A%2520%2520if%2520(v%2520%2526%2526%2520v.constructor)%2520return%2520v.constructor.name%253B%250A%2520%2520else%2520return%2520null%253B%250A%257D%26input1%26conformanceConfig%26externs%26refasterjs-template%26includeDefaultExterns%3D1%26CHECK_SYMBOLS%3D1%26CHECK_TYPES%3D1%26CHECK_TYPES_NEW_INFERENCE%3D1%26LANG_IN_IS_ES6%3D1%26MISSING_PROPERTIES%3D1%26PRESERVE_TYPE_ANNOTATIONS%3D1%26PRETTY_PRINT%3D1%26TRANSPILE%3D1
Compiler version from a couple of weeks or so ago.

Fixed by https://github.com/google/closure-compiler/commit/0d8b50e8d2381abcc1def78379c37afdb18c6d14

Nice. Thanks.


Buttons get disappeared from Macro excel file

Hello,
We have developed a program which uploads macro excel file of type .XLSM using method ZIF_EXCEL_READER~LOAD_FILE of class ZCL_EXCEL_READER_XLSM.
Next through program we are editing that excel's all sheets and later saving same as macro excel file with extension .XLSM by other name.
Over here macro excel which we upload, has several buttons in one of its sheet.
And later through when we save same excel file by other name, then those buttons get disappeared in saved excel file.
Can anyone help us to resolve this issue?
I am not able to attach both source as well as target macro excel file.

Request you to please help us on this issue.
If any more inputs needed from our side please let us know.

Do I understand it correctly that you save the file with another filename and then the buttons disappear?

Yes buttons disappeared in another saved file .

Then I would guess that this is not an issue of abap2xlsx or?

Actually this issue we get in abap2xlsx only.
We can have call on this or any sharing viewer option or anyway of communication possible.
We would appreciate you to help us in resolving this issue .
Thanks.

If you required any inputs please let us know. We can send you more details also.
Please reply.

Hello, you're aware that this is an open source project. If you want support you can reach out to the contributors. Some of them are also independent consultants and will also provide paid support. So if it's urgent go for that option.

as this issue is with regards to abap2xlsx.
We found for image there is not xml relationsships maintained.
so request you all to check in this issue.

We have tried this issue in one of the abap2xlsx demo program ZDEMO_EXCEL37
Please check in attached document.
buttons get lost in saved file.docx
We will highly appreciate for your help.

Hi Mahesh,
as mentioned by Gregor, this project is an open source project.
You can provide a fix to the ABAP code on your own to resolve your issue otherwise you have to wait until someone in the community will have free time to look into.
I don't understand the .docx file in this thread, abap2xlsx focus only in .xlsx files.
Ivan

In above .docx file has issues details. Please open it, you will get more details
Please check.

Hello,
To recreate same issue in your system please follow steps mentioned in below document .docx file
buttons get lost in saved file.docx
Please run the demo program ZDEMO_EXCEL37.
In this demo program, upload file demo_source.xlsm(which has buttons in 1st sheet).
You will find file demo_source.xlsm in attached 'buttons get lost in saved file.docx'
And next upload file through this program.
After successful execution of this prog. open new downloaded file from where you saved
(replace file extension .& by .xlsm).
Here in new saved file(37- Read template and output.xlsm) - do not have buttons as like in uploaded file(demo_source.xlsm)
Request you for suitable help to resolve this issue,
Regards,
Mahesh Nikam

"After successful execution of this prog. open new downloaded file from where you saved
(replace file extension .& by .xlsm)."
I think there is something wrong with your process. Why do you have to rename the file?
Follow the instructions
abap2xlsx - Macro-Enabled support

Hello Mahesh Nikam,
Last year I had a similar request from a Customer
Reason for the vanishing buttons: Built-in Form-based elements in EXCEL are not supported by ABAP2XLSX at the moment
Solution:  None unless a contributor needs this as well and has enough motivation and spirit to tackle this
Workaround: (this is what my customer finally received and was happy with)  Create the Buttons in the fly on .xlsm startup.  Suggestion:  Write some code that exports the relevant Information on saving or closing the template into a strongly hidden worksheet which you can pass through ABAP2XLSX unchanged

It seems I ran into the same, or at least a very similar problem, at work recently. I will look into it, but that will be in my spare time, so no promise on time line and don't even know if I will be able to fix it.
I think that ideally ABAP2XLSX should be able to open and save again any part of a file that has not been changed:

opening a file and immediately saving a file should produce an identical copy.
opening a file, adding a work sheet and saving the file should not have any effect on the already existing work sheets
and so on

There is a lot of code to get familiar with though, so don't expect any pull requests any time soon.


Ready-state for chat significantly delayed-- seems dependent on git finishing initial workspace activity

Startup of copilot chat seems to be dependent on initial workspace opening git activity. Therefore, if git is long-running in that initial work, then copilot chat does not show its icon on the left navbar nor is it accessible nor do its output logs show anything. My expectation is that copilot chat is ready-state is not dependent on git running and is available within seconds of vscode itself starting.
Working on the https://github.com/microsoft/onnxruntime is painful with git in WSL2 session. The initial work git does to get the state takes 7+ minutes. This issue is not about vscode+wsl+git+onnx 7 minute startup itself. That long start is mearly the setup scenario.
2023-06-15 15:47:41.598 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) refs/heads/dp-release refs/remotes/dp-release [422852ms]

copilot does not function or even appear in nav bars until this initial workspace open git activity completes. Other parts of vscode work (file nav, file open, editor, etc.)...but not copilot chat.
Setup
Version: 1.79.1 (system setup)
Commit: 4cb974a7aed77a74c7813bdccd99ee0d04901215
Date: 2023-06-12T16:14:05.102Z
Electron: 22.5.7
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22621

Copilot diagnostics at the bottom
Repro

Setup vscode and copilot as above.
Setup WSL2 Ubuntu 20.04. Install at least git.
git clone https://github.com/microsoft/onnxruntime to your WINDOWS C DRIVE.
ensure you can access this repro inside WSL2 via /mnt/c/mydir.../onnxruntime
Open a new WSL2 Ubuntu 20.04 workspace to an empty folder. Enable copilot chat and verify it works.
Close that WSL2 workspace and exit vscode.
Run vscode and open a new WSL2 Ubuntu 20.04 workspace to your /mnt/c/mydir.../onnxruntime folder.

Result
~7 minutes later, copilot chat appears in the nav bar and is available for use
Expected
~5 seconds after opening that folder, for copilot chat to be available for use
copilot diagnostics
Configuration

HTTP proxy:
HTTP proxy autentication: n/a
Proxy Strict SSL: true
Extension HTTP proxy support: override

Environment

http_proxy: n/a
https_proxy: n/a
no_proxy: n/a
SSL_CERT_FILE: n/a
SSL_CERT_DIR: n/a
OPENSSL_CONF: n/a

Feature Flags

Self Signed Certificates: disabled
Send Restricted Telemetry: disabled

Extensions

Copilot Version: 1.89.161
Is win-ca installed?: true
Is mac-ca installed?: true

Node setup

Number of root certificates: 131
Operating system: Linux
Operating system version: <IP_ADDRESS>-microsoft-standard-WSL2
Operating system architecture: x64
NODE_OPTIONS: n/a
NODE_EXTRA_CA_CERTS: n/a
NODE_TLS_REJECT_UNAUTHORIZED: n/a
tls default min version: TLSv1.2
tls default max version: TLSv1.3

Reachability

github.com: HTTP 200 -
copilot-proxy.githubusercontent.com: HTTP 200 -
default.exp-tas.com: HTTP 200 -

fyi, your CI workflow failed to assign random user

There's no dependency on git specifically, but if the EH is blocked in this scenario then it will block activation of the copilot chat extension, which is already kind of slow to activate. But I already have a plan to speed this up by trying to show the chat UI independently of the extension's activation, and also hopefully we can speed up the extension activation. Hopefully that will address your scenario and there isn't something else going on in addition.


publish request and response schemas as a separate npm package

https://github.com/Kobu-Labs/nowaster-js-typing


Make the slider gray

Fixes #42.
Makes the slider grey by drawing another grey NSBezierPath on top of the blue slider.

Works great. Thank you 🙌
By the way, if you're looking for more Swift related issues with bounties, see: https://github.com/search?l=Swift&q=user%3Asindresorhus+is%3Aissue+is%3Aopen+label%3A"%3Adollar%3A+Funded+on+Issuehunt"&type=Issues

@Mortennn I just noticed a bug with this:

Notice how it also fills the right side of the knob.
Also, the path you draw over it is not as round as the original blue one.

I will look into that soon.


[Docs] Add QR code in CN README

Codecov Report

Merging #6 (3c5ca90) into master (b9d3111) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
+ Coverage   77.48%   77.51%   +0.03%
==========================================
  Files         101      101
  Lines        5987     5987
  Branches     1031     1031
==========================================
+ Hits         4639     4641       +2
+ Misses       1068     1067       -1
+ Partials      280      279       -1

Flag
Coverage Δ

unittests
77.51% <ø> (+0.03%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...chitectures/stylegan/generator_discriminator_v2.py
87.42% <0.00%> (+1.19%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b9d3111...3c5ca90. Read the comment docs.


Push latest version of tool to NPM

The instruction says to install the tool from NPM, but the version on NPM is out of date and produces errors when used.
Is it possible to push a more recent version to NPM?
Thanks!

I've also encountered this issue.

Published https://www.npmjs.com/package/dart_js_facade_gen/v/0.0.7


About the running problem of svl pythonapi

Describe the bug
Hello, I build and run SORA-SVL on wsl2, and then run svl client on windows. I can complete steps 1-6, but when I run the loadmap.py of the example, the svl client does not respond. What is the reason?
Useful debug information from command line
If applicable, add output from command line to help explain your problem.
Remember to use "```" to surround the code block.
Screenshots

Desktop (please complete the following information):

OS: [e.g. Ubuntu 18.04]
Version of SVL [e.g., 2021.03]

Additional context
In the code, I changed the ip at env.str("LGSVL__SIMULATOR_HOST", lgsvl.wise.SimulatorSettings.simulator_host) to my windows Ethernet ip, and the default <IP_ADDRESS> will report an error

Hi @fpeanut , I normally run SORA-SVL, SVL Client, and the script on the same Ubuntu machine. Are you running the SVL Client and the script on different machines here?

是的，我在svl上安装了svl客户端，然后再wsl上安装SORA-SVL

就是我还有个问题，我在wsl上安装svl客户端是否能运行起来


Tooltip and Popup with Polygon

Hi,
I have a problem with tooltips and popups.
It works perfectly with markers, but don't seems to work with polygon.
JSFiddle example: https://jsfiddle.net/k04zpLx9/18/
Did I miss something ?
Thanks!

It was a bug. This should be fixed in the next release.

Implemented in v0.0.45

@KoRiGaN i sorry, but how to draws stuff with mouse, like this polygon or circle? I mean hot to activate that control?


Changelog for 2.6.12

What problem does this feature solve?
Vue 2.6.12 and the sibling packages have been upgraded but I can't seem to find the changelog for it on the github releases nor the tag itself.
It also doesn't show as "latest" on the github project page (see right hand side).
The commit list since 2.6.11 includes:

fix(security): upgrade serialize-javascript (#11434)
build(deps): bump elliptic from 6.4.1 to 6.5.3 (#11554)

Is that correct and complete? Any other relevant changes to sibling packages (vue-template-compiler or vue)?

It is complete, yes. It was a security-related release


[TRIVIAL] Remove extra path separator from CMAKE_SOURCE_DIR

There is an extra directory separator in CMAKE_SOURCE_DIR. This breaks the windows build. I recall another commit that fixed this, but somehow it never got merged.

:+1:


Single Run Screenshot Test

@RaggedyCoder seems like I can't approve the PR after left agoda-com org 😂. Let's try with a specific tag on this branch and test it locally.

@RaggedyCoder seems like I can't approve the PR after left agoda-com org 😂. Let's try with a specific tag on this branch and test it locally.

Can you help me by providing some info. 😅

@RaggedyCoder you can add git tag to your forked branch and trigger the build in jitpack.io. Then replace version in snapshot plugin to use the temporary one for testing (and run it multiple times on CI too).
https://jitpack.io/#RaggedyCoder/screenshot-tests-for-android/single-run-task-SNAPSHOT
Something like this
implementation 'com.github.RaggedyCoder:screenshot-tests-for-android:single-run-task-SNAPSHOT'


Move translation stuff to cgame

Also fix the print_tr format string parser which is used in both the engine and gamelogic.

Moved to #531


Adds no additional code or functionality

Description
We want to add no code to the project to ensure we don't introduce new attack vectors or reduce cover coverage of our unit tests.
We technically have either 100% or inf% code coverage at the moment.

Just waiting for no review. Please be patient.

I would say git commit --allow-empty but my reply is probably supposed to contain no help...

Please add no tests to approve no coverage.

Thanks for squashing your commits.


get_inputs checks possible input addresses not the best way

get_inputs  behaves very differently depending on stop parameter (is it provided or not). That is due to different ways how addresses are generated and iterated. For example right after snapshot that would give two different results.
Suggestion: iter_used_addresses to iterate until encounters first address with balance=0 and not spent as per were_addresses_spent_from as opposed to current criteria of first address without transactions.
In standard cases that will give wallet's total balance and would be similar to result with big enough interval  of start and stop

Hey @lunfardo314 interesting idea; thanks for bringing this up!
I like the idea, but I want to take care that PyOTA's behaviour stays consistent with the JS lib.  Could you post this on the iota.lib.js issue tracker first?  Once that's implemented, we can loop back and update the Python lib.

yes, I agree compatibility with JS lib is important. I'm not familiar with iota.lib.js code but I guess get_inputs is not part of core API but rather extended one. How does it relate to the JS library then?

The core/extended distinction is actually something unique to PyOTA; I think the other libraries group them together.  Both sets of commands are considered as part of the IOTA API, so we try to keep them consistent between the different libraries.

Here's how PyOTA delineates core vs. extended:

Core is for commands exposed directly via the IRI's RPC API (https://iota.readme.io/v1.2.0/reference).
Extended is for commands that provide additional functionality, by extending Core commands and/or incorporating offline actions like generating signatures.

(incidentally, there's also a set of Multisig commands, and I believe all of the API libraries – including PyOTA – treat these as a separate package; I like to think that PyOTA's just ahead of the curve 😸)


[fix]: netlify routing problem

This dev.to post explains this same issue. The author said to add netlify's special file: _redirects file in App's root folder (public/).
fixes #453
-- DWOC and SWOC participant

This dev.to post explains this same issue. The author said to add netlify's special file: _redirects file in App's root folder (public/).
fixes #453
-- DWOC and SWOC participant

Nice work! finding this out @ashuvssut using community-provided resources is indeed awesome!

thankyou sir 😁


use os.path.join to make portable

in a few places we should use os.path.join to make the code work on windows

windows is not for me so I won't actually be testing this. but okay


Move /tmp/hypr to XDG_RUNTIME_DIR

Moves /tmp/hypr to $XDG_RUNTIME_DIR/hypr, making it 700 as well.
Breaks direct consumers of socket and socket2
TODO:

[x] Wiki

Ref MRs:

https://github.com/hyprwm/hyprpaper/pull/167
https://github.com/hyprwm/hyprland-wiki/pull/622

Breaks:

direct users of sockets or logs

For those users, I'd recommend checking whether $XDG_RUNTIME_DIR/hypr exists. If yes, use that, if not, use the old /tmp/hypr

thanks fuffie

hello, i am boldy

thanks fuffie


webcord: 4.6.1 -> 4.7.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for webcord is: A Discord and SpaceBar electron-based client implemented without Discord API
meta.homepage for webcord is: https://github.com/SpacingBat3/WebCord
meta.changelog for webcord is: https://github.com/SpacingBat3/WebCord/releases/tag/v4.7.0
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.7.0 with grep in /nix/store/vk9gmv4vjkl564j67q7nli23y7f9pgl9-webcord-4.7.0
found 4.7.0 in filename of file in /nix/store/vk9gmv4vjkl564j67q7nli23y7f9pgl9-webcord-4.7.0

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
webcord
webcord-vencord

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/4d4ea372314dd74ff5193d50158ca477389d0b20#webcord

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

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

2 packages built:

webcord
webcord-vencord

Maintainer pings
cc @eclairevoyant @huantianad for testing.

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

2 packages built:

webcord
webcord-vencord


discovery: support walking up the tree

Now we can host the meta tags on the root domain of a site. For example
for etcd we can put meta tags such as this on coreos.com:
<meta name="ac-discovery" content="coreos.com/etcd https://github.com/coreos/etcd/releases/download/{version}/etcd-{version}-{os}-{arch}.{ext}">

And this will work even though we don't have an index at coreos.com/etcd
And a client can simply do:
rkt run coreos.com/etcd:v0.5.0-alpha.4

The previous behavior would have gotten the 404 on https://coreos.com/etcd and stopped.

This landed in https://github.com/appc/spec/pull/52


Try out Lightyear in larger apps

So far Lightyear has mainly been tested in different smaller contexts and not a larger application. Tests do give good confidence it is working as expected, but some bugs only manifest in more complex environments, so it would be nice to try it out in a larger application.
I intend to do this with the application I build at work, but it would be very nice to have more data points! Since very few, if any, larger projects are using Suspense for data fetching together with a custom SSR-setup today, the easiest way to help out by testing this is probably if you have a custom SSR-setup with traditional data-fetching (Next.js sadly doesn't support custom renderers like this one).
The thing that differs most from the official server renderer is that when a suspend happens, the rest of that subtree will be rendered by a "child renderer" when the data comes back. Most bugs will probably stem from this fact. A good way to artificially stress-test Lightyear in a larger application would therefor be to fetch data via Suspense in a single top level-isch component, causing most of the application to be rendered by a child renderer. A partial refactor to fetch the real application-data with Suspense would also be very helpful of course, but a much larger time investment (unless you already use react-apollo-hooks, in which case it could be feasible).
Looking at the examples should give you a hint of how to go about this, but I would also be extremely happy to help out in any way I can!

FYI I've tried it in a large app and it worked fine. Found a couple of problems (reported here) but other than that was able to have the SSR server stream the output in a day. So good work!

That makes me so happy! Thanks for trying it out and filing those issues, they were exactly the kind of things I suspected would show up. I'll take a look at them asap. :)

@albertogasparin The issues you reported have since been solved.
I've also tried Lightyear at work (a pretty big site), rendering with both the official renderer and Lightyear and comparing outputs, I found no diffs.
On top of that I've heard from more people trying this out with success. While there might of course still be bugs and I'd love for more people to try it out and file issues, I now consider Lightyear having been tried out in enough applications to close this issue.
Huge thanks again for the help!

Wonderful, unfortunately I didn't have time to test it again as the work was done during "innovation time" so it was more like a one off experiment. But I hope to have time to get back to it in the upcoming months for a second go ;)
Amazing stuff and thanks again!


feat: created card 4 design

Created the Card_4 design
Fixes #284
https://github.com/KwickerHub/frontend/assets/110739725/b75d5f22-5070-436e-bb12-b8600662dbb7

@NtemKenyor
Hi , hope you are doing great?
I have made the changes as per requirement.
I have removed the head and body section.
Tell me if any other changes required.
Thank you.

hello hope you are doing great.
I have made few changes
Avoided directly styling the general tags(body, head, html etc) by adding class to them.
Sorry for the mistakes as this is my first time contributing.
Tell me if any other changes required.
Thank you.


Fix example command

analyse should be analyze in order to run the CLI program

In the same theme, this line should be "analyzed":
https://github.com/matheus23/elmjs-inspector/blob/master/src/analyse.ts#L64

Thanks!


gssr.edu.pl

The Graduate School for Social Research, Institute of Philosophy and Sociology Polish Academy of Sciences

@AdamPiorko lib/domains/pl/edu/gssr: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@AdamPiorko lib/domains/pl/edu/gssr: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.


Release Candiate it published to latest tag on docker hub

Description
17.0+rc1 got published to gitea/gitea:latest. But the docs say that only stable releases are published to latest:
https://docs.gitea.io/en-us/install-with-docker/#basics

For a stable release you can use :latest, ...

Gitea Version
17.0+rc1
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Using docker compose
Database
No response

Same for me.

All good, my instance is still running. And even just in case I have a backup. 😉

Me too, Nothing to report, everything seems to be functional (with my utilisation). And I have too a backup of my files every night with a homemade script.

luckily the same here - no problems occured. But it would be nice, if the latest - tag would stay stable :)

Yeah, we are trying to fix the release process bug.

I think I may have run into a problem with this. When my conainter updated, it just cycled through the following process:
gitea-server.1. | Server listening on <IP_ADDRESS> port 22.
gitea-server.1. | 2022/07/01 00:43:19 cmd/web.go:106:runWeb() [I] Starting Gitea on PID: 19
gitea-server.1. | 2022/07/01 00:43:19 ...s/setting/setting.go:594:deprecatedSetting() [E] Deprecated fallback `[server]` `LFS_CONTENT_PATH` present. Use `[lfs]` `PATH` instead. This fallback will be removed in v1.18.0
gitea-server.1. | 2022/07/01 00:43:19 cmd/web.go:157:runWeb() [I] Global init
gitea-server.1. | 2022/07/01 00:43:19 ...s/setting/setting.go:594:deprecatedSetting() [E] Deprecated fallback `[server]` `LFS_CONTENT_PATH` present. Use `[lfs]` `PATH` instead. This fallback will be removed in v1.18.0
gitea-server.1. | 2022/07/01 00:43:19 routers/init.go:106:GlobalInitInstalled() [I] Git Version: 2.36.1, Wire Protocol Version 2 Enabled (home: /data/git/repositories)
gitea-server.1. | 2022/07/01 00:43:19 routers/init.go:109:GlobalInitInstalled() [I] AppPath: /usr/local/bin/gitea
gitea-server.1. | 2022/07/01 00:43:19 routers/init.go:110:GlobalInitInstalled() [I] AppWorkPath: /app/gitea
gitea-server.1. | 2022/07/01 00:43:19 routers/init.go:111:GlobalInitInstalled() [I] Custom path: /data/gitea
gitea-server.1. | 2022/07/01 00:43:19 routers/init.go:112:GlobalInitInstalled() [I] Log path: /data/gitea/log
gitea-server.1. | 2022/07/01 00:43:19 routers/init.go:113:GlobalInitInstalled() [I] Configuration file: /data/gitea/conf/app.ini
gitea-server.1. | 2022/07/01 00:43:19 routers/init.go:114:GlobalInitInstalled() [I] Run Mode: Prod
gitea-server.1. | 2022/07/01 00:43:19 ...dules/setting/log.go:288:newLogService() [I] Gitea v1.17.0+rc1 built with GNU Make 4.3, go1.18.3 : bindata, timetzdata, sqlite, sqlite_unlock_notify
gitea-server.1. | 2022/07/01 00:43:19 ...dules/setting/log.go:335:newLogService() [I] Gitea Log Mode: Console(Console:debug)
gitea-server.1. | 2022/07/01 00:43:19 ...dules/setting/log.go:249:generateNamedLogger() [I] Router Log: Console(console:debug)
gitea-server.1. | 2022/07/01 00:43:19 ...dules/setting/log.go:249:generateNamedLogger() [I] Xorm Log: Console(console:debug)
gitea-server.1. | 2022/07/01 00:43:19 ...les/setting/cache.go:76:newCacheService() [I] Cache Service Enabled
gitea-server.1. | 2022/07/01 00:43:19 ...les/setting/cache.go:91:newCacheService() [I] Last Commit Cache Service Enabled
gitea-server.1. | 2022/07/01 00:43:19 ...s/setting/session.go:73:newSessionService() [I] Session Service Enabled
gitea-server.1. | 2022/07/01 00:43:19 ...ules/setting/cors.go:36:newCORSService() [I] CORS Service Enabled
gitea-server.1. | 2022/07/01 00:43:19 ...s/storage/storage.go:176:initAttachments() [I] Initialising Attachment storage with type:
gitea-server.1. | 2022/07/01 00:43:19 ...les/storage/local.go:46:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/attachments
gitea-server.1. | 2022/07/01 00:43:19 ...s/storage/storage.go:170:initAvatars() [I] Initialising Avatar storage with type:
gitea-server.1. | 2022/07/01 00:43:19 ...les/storage/local.go:46:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/avatars
gitea-server.1. | 2022/07/01 00:43:19 ...s/storage/storage.go:188:initRepoAvatars() [I] Initialising Repository Avatar storage with type:
gitea-server.1. | 2022/07/01 00:43:19 ...les/storage/local.go:46:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/repo-avatars
gitea-server.1. | 2022/07/01 00:43:19 ...s/storage/storage.go:182:initLFS() [I] Initialising LFS storage with type:
gitea-server.1. | 2022/07/01 00:43:19 ...les/storage/local.go:46:NewLocalStorage() [I] Creating new Local Storage at /data/git/lfs
gitea-server.1. | 2022/07/01 00:43:19 ...s/storage/storage.go:194:initRepoArchives() [I] Initialising Repository Archive storage with type:
gitea-server.1. | 2022/07/01 00:43:19 ...les/storage/local.go:46:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/repo-archive
gitea-server.1. | 2022/07/01 00:43:19 ...s/storage/storage.go:200:initPackages() [I] Initialising Packages storage with type:
gitea-server.1. | 2022/07/01 00:43:19 ...les/storage/local.go:46:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/packages
gitea-server.1. | 2022/07/01 00:43:19 ...ueue_disk_channel.go:159:Run() [D] [62be9787-20] PersistableChannelQueue: notification-service Starting
gitea-server.1. | 2022/07/01 00:43:19 ...ueue_disk_channel.go:194:Run() [D] [62be9787-20] PersistableChannelQueue: notification-service Skipping running the empty level queue
gitea-server.1. | 2022/07/01 00:43:19 ...ue/queue_bytefifo.go:335:Shutdown() [D] [62be9787-20] level: notification-service-level Shutdown
gitea-server.1. | 2022/07/01 00:43:19 ...ueue_disk_channel.go:188:Run() [D] [62be9787-22] PersistableChannelUniqueQueue: repo-archive Starting
gitea-server.1. | 2022/07/01 00:43:19 ...ueue_disk_channel.go:223:Run() [D] [62be9787-22] PersistableChannelUniqueQueue: repo-archive Skipping running the empty level queue
gitea-server.1. | 2022/07/01 00:43:19 ...ue/queue_bytefifo.go:335:Shutdown() [D] [62be9787-22] unique-level: repo-archive-level Shutdown
gitea-server.1. | 2022/07/01 00:43:19 routers/init.go:132:GlobalInitInstalled() [I] SQLite3 support is enabled
gitea-server.1. | 2022/07/01 00:43:19 routers/common/db.go:20:InitDBEngine() [I] Beginning ORM engine initialization.
gitea-server.1. | 2022/07/01 00:43:19 routers/common/db.go:27:InitDBEngine() [I] ORM engine initialization attempt #1/10...
gitea-server.1. | 2022/07/01 00:43:19 cmd/web.go:160:runWeb() [I] PING DATABASE postgres
gitea-server.1. | 2022/07/01 00:43:19 routers/init.go:137:GlobalInitInstalled() [W] Table session has column created_unix but struct has not related field
gitea-server.1. | 2022/07/01 00:43:19 routers/init.go:137:GlobalInitInstalled() [W] Table email_address Column lower_email db nullable is true, struct nullable is false
gitea-server.1. | 2022/07/01 00:43:19 routers/init.go:137:GlobalInitInstalled() [W] Table user Column max_repo_creation db default is '-1', struct default is -1
gitea-server.1. | 2022/07/01 00:43:20 routers/init.go:137:GlobalInitInstalled() [W] Table project column board_type db type is INTEGER, struct type is BIGINT
gitea-server.1. | 2022/07/01 00:43:20 routers/init.go:137:GlobalInitInstalled() [W] Table project column type db type is INTEGER, struct type is BIGINT
gitea-server.1. | 2022/07/01 00:43:20 routers/init.go:138:GlobalInitInstalled() [I] ORM engine initialization successful!
gitea-server.1. | 2022/07/01 00:43:20 ...rvices/cron/tasks.go:148:RegisterTask() [D] [62be9788-3] Registering task: update_mirrors
gitea-server.1. | 2022/07/01 00:43:20 ...rvices/cron/tasks.go:148:RegisterTask() [D] [62be9788-3] Registering task: repo_health_check
gitea-server.1. | 2022/07/01 00:43:20 ...ueue_disk_channel.go:159:Run() [D] [62be9788] PersistableChannelQueue: push_update Starting
gitea-server.1. | 2022/07/01 00:43:20 ...rvices/cron/tasks.go:148:RegisterTask() [D] [62be9788-3] Registering task: check_repo_stats
gitea-server.1. | 2022/07/01 00:43:20 ...rvices/cron/tasks.go:148:RegisterTask() [D] [62be9788-3] Registering task: archive_cleanup
gitea-server.1. | 2022/07/01 00:43:20 ...ueue_disk_channel.go:194:Run() [D] [62be9788] PersistableChannelQueue: push_update Skipping running the empty level queue
gitea-server.1. | 2022/07/01 00:43:20 ...ue/queue_bytefifo.go:335:Shutdown() [D] [62be9788] level: push_update-level Shutdown
gitea-server.1. | 2022/07/01 00:43:20 ...rvices/cron/tasks.go:148:RegisterTask() [D] [62be9788-3] Registering task: sync_external_users
gitea-server.1. | 2022/07/01 00:43:20 ...rvices/cron/tasks.go:148:RegisterTask() [D] [62be9788-3] Registering task: deleted_branches_cleanup
gitea-server.1. | 2022/07/01 00:43:20 ...rvices/cron/tasks.go:148:RegisterTask() [D] [62be9788-3] Registering task: update_migration_poster_id
gitea-server.1. | 2022/07/01 00:43:20 ...rvices/cron/tasks.go:148:RegisterTask() [D] [62be9788-3] Registering task: cleanup_hook_task_table
gitea-server.1. | 2022/07/01 00:43:20 ...rvices/cron/tasks.go:148:RegisterTask() [D] [62be9788-3] Registering task: cleanup_packages
gitea-server.1. | 2022/07/01 00:43:20 ...rvices/cron/tasks.go:200:RegisterTaskFatal() [F] [62be9788-3] Unable to register cron task cleanup_packages Error: translation is missing for task "cleanup_packages", please add translation for "admin.dashboard.cleanup_packages"
gitea-server.1. | Received signal 15; terminating.

I came across some other posts mentioning signal 15 that were resolved with:

Deleted /data/queues
Disabling the SSH server with DISABLE_SSH=true

But neither of these suggestions resolved my issue.
I never found any issues regarding the line Unable to register cron task cleanup_packages Error: translation is missing for task "cleanup_packages", please add translation for "admin.dashboard.cleanup_packages", But I did find some settings mentioning the setting cron.cleanup_packages and I tried to disable it by putting the following in my app.ini:
[cron.cleanup_packages]
ENABLED = false
RUN_AT_START = false
NOTICE_ON_SUCCESS = false

I also tried to step back to v1.16.8, but ran into the following:
Your database (migration version: 218) is for a newer Gitea, you can not use the newer database for this old Gitea release (211).

I found an issue dealing with downgrading databases using 'UPDATE version SET version=211 WHERE id=1;', but I wasn't sure it was appropriate for this situation
Do you think this thread is the right place to address this option? Or should I start a new issue?

thats a new issue ... - please move it into one

@xplreitr thats a new issue ... - please move it into one

Just update your translation files to add admin.dashboard.cleanup_package should be OK.

This happened to me again today with latest on the docker hub currently pointing to the same image as 1.18.0-rc0 (167f91cbf8f2 for amd64).
What should I do? Keep running 1.18.0-rc0 for now? Downgrade to 1.17.3 even though the gitea 1.18.0-rc0 has already touched the files and database? Or restore from backup?

I would leave it on the rc, If you have anything that is broken, use a database backup and downgrade. I now use static versions and manage my docker-compose field using git. I also use renovate to get notified (via pr's) when updates are available. This way this can't happen anymore and you are always up to date without constantly checking for the latest version: https://git.m4rc3l.de/marcel/stack/src/branch/main/git/docker-compose.yaml#L18

I would leave it on the rc, If you have anything that is broken, use a database and file backup and downgrade. I now use static versions and manage my docker-compose field using git. I also use renovate to get notified (via pr's) when updates are available. This way this can't happen anymore and you are always up to date without constantly checking for the latest version: https://git.m4rc3l.de/marcel/stack/src/branch/main/git/docker-compose.yaml#L18

Maybe I should do that too. Although I get the feeling that the Gitea developers actually do not want the latest tag to point to a release candidate and that this was just an accident.

Your right, that's not indented: https://github.com/go-gitea/gitea/issues/20058#issuecomment-1161665151

well last time (v1.17.0 it was a mistake) now it's definitely a bug as it should be fixed?

please one a new issue!!! (& link to here)


Evict table file before archival in RepairTable.

The RepairTable code currently renames the existing table file while the table cache still has an open file descriptor for it. This can cause sharing violations on windows (unless FILE_SHARE_DELETE is enabled on the handle).
In any case, it's probably better to avoid renaming open files in general, and in this case the open file isn't ever used again after ArchiveFile is called.

Just an aside related to renaming files: we may also consider changing WindowsEnv::RenameFile to a simple call to MoveFileExA(from, to, MOVEFILE_REPLACE_EXISTING).


(Support request) Canvas position warped & additional backgrounds&borders on connectors

Hi,
first off, thank you so very much for your library, it is a lifesaver. You've done great work I could never come up with!
I have the following two issues using the library with C# WPF.

When placing your example code in a WPF Canvas element with a Gray background, the element itself seems to be pushed off to the side, rather than covering the diagram. This seems to have to do with the RenderTransforms being applied to shift everything into place. Would you know how to adjust your example code so this does not happen, and the diagram is correctly enframed in the dimensions of the Canvas?

When rendering boxRectangle and boxFrameRectangle in your example code, their styling seems to apply to the connector brushes that connect the boxes together. This leads to a segmented appearance. To my understanding, the box and frame rectangles should not be affecting the lines drawn for the connectors. How could I fix that?

Thanks again!

Managed to resolve 2) by realizing that these are the mentioned Boxes with IsSpecial, so it was just a matter of changing the Box stylings for IsSpecial=true! 1) remains beyond my reach though.

Hey @ividyon apparently notifications in the repo don't work as they should. I completely missed this issue and noticed it only now, more than a year later. Ping me again if something comes up, I believe I fixed up the watching settings.


tags don't appear to be received properly

From your README, logger.info('Info Message', {tags: ['info', 'test']})
does not appear to be stored properly as a tag under the "TAGS" in the UX, did I miss something? (I also tried all caps TAGS for the key as well, no dice)

Hey! Thanks for opening this.
The TAGS field is a reserved field. I'll have a look and see what's going on.

@code-press In Sematext "tags" are used in filters.  And filters for logs are basically log event fields.  So tags and fields are synonyms.  You can ignore that "TAGS" you see in the UI, that's something else.  If you want to tag log events simply make sure they have appropriate fields.

Hi @code-press !
Here's a config I used that works as intended.
const { createLogger, format, transports, config } = require('winston')
const Logsene = require('winston-logsene')

const logger = createLogger({
  levels: config.npm.levels,
  format: format.simple(),
  transports: [
    new transports.Console(),
    new Logsene({
      token: 'b0a90520-xxxx-xxxx-xxxx-232a9fb9513f',
      level: 'debug',
      type: 'app_logs',
      url: 'https://logsene-receiver.sematext.com'
    })
  ]
})

logger.info('Info Message', { tags: ['info', 'test'] })

Can you please share more details about your setup? This will help me better understand what the issue might be.

Hi @adnanrahic !
I'm currently having the same issue.
const { createLogger, format, config } = require('winston')
const Logsene = require('winston-logsene')
const logger = createLogger({
  levels: config.npm.levels,
  format: format.simple(),
  transports: [
    new Logsene({
      token: process.env.LOGS_TOKEN,
      level: 'debug',
      type: 'app_logs',
      url: 'https://logsene-receiver.sematext.com'
    }
  )]
});

logger.info('Checking status', { tags: ['info', 'status'] });

This will results on nasty:
tags[object Object]0 <- contains info
tags[object Object]1 <- contains status

and its really hard to create filters, as it creates variables for array positions, and not a variable that would contain all value in the array.
However, when using
var Logsene = require('logsene-js')
var logger =  new Logsene (process.env.LOGS_TOKEN)
logger.log ('info', 'Checking status', { tags: ['info','status'] })

it works as intended.
It creates an variable tags (keyword), and it has now all the values. Under tags I now find: info, status
Hopefully this helps to track down the issue?

Hey @matias-kovero ! Thanks for letting me know about this. It's a strange issue.
I'm trying to reproduce this issue right now. Let me get back to you on progress.

It seems Winston updated the formatting methods with their latest release that causes this issue.
I'm looking into ways of fixing it with a custom format.
In the meantime, I tested this and it works as intended:
const { createLogger, format, config } = require('winston')
const Logsene = require('winston-logsene')
const logger = createLogger({
  levels: config.npm.levels,
  format: format.simple(),
  transports: [
    new Logsene({
      token: '84a777fd-xxxx-xxxx-xxxx-ffa6305c256f',
      level: 'debug',
      type: 'app_logs',
      url: 'https://logsene-receiver.sematext.com'
    }
  )]
});

logger.info('Checking status', { tags: 'info status' }) // <= string

By using a string instead of an array, you can get the desired format.
{
  "@timestamp": "2021-04-25T22:28:29.265Z",
  "severity": "info",
  "message": "Checking status",
  "tags": "info status",
  "level": "info",
  "@timestamp_received": "2021-04-25T22:28:30.026Z",
  "logsene_orig_type": "app_logs"
}

Hi, thanks on a fast reply.
Already tested it with an string with the values separated with space, but didn't get desired results. (more below)
Also having issues with nested objects (may be user error, as I'm new using sematext)
logger.info('Checking status', {
    tags: 'info status',
    geo: { ip: req.headers[ip] }
  });

{
  "@timestamp": "2021-04-26T08:58:43.752Z",
  "severity": "info",
  "message": "Checking status",
  "os": {
    "host": "xxx.xxx.xx.xx",
    "hostip": "xx.xx.xx.xx"
  },
  "tags": "info status",
  "geo[object Object]ip": "xx.xx.xx.xx",
  "level": "info",
  "@timestamp_received": "2021-04-26T08:58:43.933Z",
  "logsene_orig_type": "app_logs"
}

It seems it still supports somewhat nested objects as an os object is added that has working nested values. However, my nested object geo gets the same [object Object] issues mentioned earlier. (this is maybe caused by the Winston update)
Also the tags are coming through, but they are assigned as 1 parameter, and not as individual parameters.
Sematext Common Schema on tags should create those parameters individually from spaced out values?
However tags will have an parameter: info status, and was hoping to have 2 parameters: info & status.
When using the snippet from my earlier post with logsene-js it will create these 2 parameters from the array.
And for the nested object, I believe it might be caused by the issues with Winston update, however the reason why I'm trying to send a nested object is to follow the syntax of Common Schema to populate the ip field to get enriched geo data on it.
Side-note:
The readme has an syntax issue on:
logger.info('hello', {type: 'my_type_with_string_ids', {id: 'ID-1'}) <- missing an }

Thanks for doing extensive testing! I'll look into this ASAP and figure out what's wrong with the object formatting.


Final cleanup for 23.01 release

Includes various fixes for the following:

Fixing copyright headers
Fixing python style checks which were missing file exclusions
Fixing python style
Fixing cpp style
Fixing release container build

/merge


Embedded app for st.map color and size support

This commit adds the source code for another embedded app for st.map. The app demonstrates the newly added feature to declare size and color as well as latitude and longitude by any column name.
📚 Context
This is preliminary documentation for the upcoming release 1.25.0.
🧠 Description of Changes
Added a source-code file for an embedded app.
Revised:

💥 Impact
Size:

[X] Not small

🌐 References

Notion: Sprint task
Notion: Project

Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

Thanks @sfc-gh-dmatthews! On https://github.com/streamlit/docs/commit/b3f17e6c34724ec4efbababb2a4012e70dd7f5f3, I've cached the dataframe to prevent recreation of it on every user interaction and new session -- no need to do so in the core docstrings. This modification is only to be more resource efficient on the embedded apps side.

I'm scratching my head why I copied it like that. I must have mixed up a file when I happened across that bug. Sorry about that! It's not that way in the docstring, so I'll update it to match as intende.


test codecov

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.09%. Comparing base (e8a8790) to head (361ff16).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #63      +/-   ##
==========================================
- Coverage   92.15%   92.09%   -0.06%
==========================================
  Files          33       33
  Lines        1516     1506      -10
==========================================
- Hits         1397     1387      -10
  Misses        119      119

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


New Chatroom opens on click

We moved over InMemoryRepository, got a workaround for getcommands() to work, and Join Room is now getting triggered explicitly within Chat.cs and allows for the room to open. We are closing issues #49 #41 and making smaller issues that people can work on inside of uber issue #81.
Testing:

Successfully be able to enter the chatroom upon clicking or typing "/join " in the Lobby. At this point, you will only be able to join 'light_meow' until the repository and cache are set up.
Currently messaging/creating rooms/leaving rooms are buggy. Separate issues are crated to address these. But this branch needs to be merged to other issues can be tackled.

Marking Ready to test with description. Good forward step allowing us to tackle other ChatRoom Functionality issues! Open for anyone to test.

Was able to join light_meow by clicking and /join light_meow. :shipit:

This branch tested positively, and my code in PR #127 is based off of this (and also seemed to test positively) so I think this can be merged safely.


Faulty inline comments in branches-ignore and tags-ignore

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct.

What article on docs.github.com is affected?
https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-ignoring-branches-and-tags
What part(s) of the article would you like to see updated?
The behaviour says the following:

Anytime a pattern matches the branches-ignore or tags-ignore pattern, the workflow will not run.

In contradiction to this, the inline comments imply that events will be pushed on a matching branch/tag.
In reality, a pattern match here stops the whole action.
From:
on:
  push:
    # Sequence of patterns matched against refs/heads
    branches-ignore:
      # Push events to branches matching refs/heads/mona/octocat
      - 'mona/octocat'
      # Push events to branches matching refs/heads/releases/beta/3-alpha
      - 'releases/**-alpha'
    # Sequence of patterns matched against refs/tags
    tags-ignore:
      - v1.*           # Push events to tags v1.0, v1.1, and v1.9

To:
on:
  push:
    # Sequence of patterns matched against refs/heads
    branches-ignore:
      # Do not push events to branches matching refs/heads/mona/octocat
      - 'mona/octocat'
      # Do not push events to branches matching refs/heads/releases/beta/3-alpha
      - 'releases/**-alpha'
    # Sequence of patterns matched against refs/tags
    tags-ignore:
      - v1.*           # Do not push events to tags v1.0, v1.1, and v1.9

Additional information
No response

@theriverman
Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:


Scan for particular UUID's

I am trying to scan for particular UUID's
So I declare a variable, as you have shown in the documentation
var serviceUUIDs = ['80eaca000003','cb554fe68bab',....] ;\ Not working
var serviceUUIDs = '80eaca000003','cb554fe68bab'; \Not working
var serviceUUIDs = ["80eaca000003","cb554fe68bab"]; \Not working
Then I use the command to scan
noble.startScanning(serviceUUIDs, true);
But it does not return any output.
But when I search only for a single UUID
var serviceUUIDs = '80eaca000003'
It scans properly.
And sometimes when I am using different UUID, it will scan for one particular UUID only which I have not mentioned.
Am I doing something wrong. Please let me know.
Thank you.

I even tried in the advertise-discovery.js,
noble.on('stateChange', function(state) {
if (state === 'poweredOn') {
var deviceuuid = '004d06016483';
noble.startScanning(deviceuuid,false);
} else {
noble.stopScanning();
}
});
But the output I get is
peripheral discovered (80eaca000003 with address <80:ea:ca:00:00:03, public>, connectable true, RSSI -63:
hello my local name is:
GML-M6DEV
can I interest you in any of the following advertised services:
["0"]
It is the same beacon every time.

@ank-khandelwal please see the read me, the startScanning API only supports service UUID filtering: https://github.com/sandeepmistry/noble#start-scanning
Service UUID's also need to be 16-bit or 128-bit.
You'll have to filter on peripheral.id in your discover event handler.


Initial states error

Running into some shape handling trouble when using initial_state in with RecurrentModel. This is the error
ValueError: Shape must be rank 2 but is rank 1 for 'recurrent_model_1/concatenate_1/concat' (op: 'ConcatV2') with input shapes: [?,20], [10], [].
My RNN
def RWA(input_dim, output_dim):
    x = Input((input_dim,))
    h_tm1 = Input((output_dim, ))
    n_tm1 = Input((output_dim, ))
    d_tm1 = Input((output_dim, ))

    x_h = concatenate([x, h_tm1])  # Fail happens here

    u = Dense(output_dim)(x)
    g = Dense(output_dim, activation='tanh')(x_h)

    a = Dense(output_dim, use_bias=False)(x_h)
    e_a = Lambda(lambda x: exp(x))(a)

    z = multiply([u, g])
    nt = add([n_tm1, multiply([z, e_a])])
    dt = add([d_tm1, e_a])
    ht = Lambda(lambda x: tf.divide(1.0, x))(dt)
    ht = Activation('tanh')(ht)

    return RecurrentModel(input=x, output=ht,
                          initial_states=[h_tm1, n_tm1, d_tm1],
                          final_states=[ht, nt, dt],)

This is my model using it
input_dim = 20
output_dim = 10
timesteps = 7

starting_states = [K.random_normal_variable((output_dim,), 0, 1),
                 K.zeros((output_dim,)),
                 K.zeros((output_dim,))]

rwa = RWA(input_dim, output_dim)

inp = Input((timesteps, input_dim))
out = rwa(inp, initial_state=starting_states)
# out = rwa(inp)			# Model builds fine without the initial state
RWAModel = Model(inp, out)

The states should be of shapes (batch_size, dim).. You are clearly providing just (dim, )

You can now use state_initializer argument to initialize your states..
    return RecurrentModel(input=x, output=ht,
                          initial_states=[h_tm1, n_tm1, d_tm1],
                          final_states=[ht, nt, dt], state_initializer=['random_uniform', 'zeros', 'zeros'])

Also see docs/state_init.md

Thanks for that ! But apparently zeros does not support symbolic shapes, I'll have to pass the batch_size as well I think

Made a bug fix.. you should be able to use zeros init without specifying batch shape.

Cool, works fine now


"Patent pending"

What does this mean in terms of use in an open source or commercial product?
This is confusing given that the repo is MIT.

The corresponding patent is not a software patent. Accordingly, the code is published under MIT license. If you need more information or details, please send me an email so I can forward it and get in touch with the people at my former university, which holds the patent.


Import post max length

Hi,
I'm trying to import a blog from another platform for which I'm making a convert script. My new json file contains some posts with very long content. When I try to import it with "ghost/settings/labs/" if one post markdown or html attribute is longer than 5656 caracters, I got an error.  It appears on the fresh 0.6.3 I installed on my prod server.

Hi hadrienl.
I have tried to replicate this locally and couldn't. Perhaps there is something else going on here. If you can provide more details that would be useful, please see our contributing guidelines for details on what to include.

I've look deeper and I have not found precisely what is the cause of the fail. I have a big json. It doesn't import in 0.6.3. It does in 0.5.10. Then I've been able to copy the database of the 0.5.10 to the 0.6.3 and it finally worked. If you can give me a private email, I can send you my json to make some tests.

At least you have it working now, could you please the json file to david[at]ghost.org

I've tried with a Docker install of 0.6.3 and it worked nice. Maybe the problem is on my server side :/


Missing message in production (Vercel)

Description
Disclaimer: Sorry in advance if this is not a bug and some mistake of mine. I've been trying to make a bilingual Nextjs app with firebase db/auth without having much experience of theses things before starting this project. I'm learning quickly!
Some missing message errors are showing in my production build on Vercel:
[...] [11:59:39.310] info  - Collecting page data... [11:59:39.938] info  - Generating static pages (0/18) [11:59:39.971] n [Error]: MISSING_MESSAGE [11:59:39.972]     at I (/vercel/path0/node_modules/use-intl/dist/use-intl.cjs.production.min.js:1:2838) [11:59:39.972]     at /vercel/path0/node_modules/use-intl/dist/use-intl.cjs.production.min.js:1:8135 [11:59:39.973]     at Object.Kc [as useMemo] (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:60:240) [11:59:39.973]     at Object.exports.useMemo (/vercel/path0/node_modules/react/cjs/react.production.min.js:25:208) [11:59:39.973]     at /vercel/path0/node_modules/use-intl/dist/use-intl.cjs.production.min.js:1:8108 [11:59:39.974]     at exports.useTranslations (/vercel/path0/node_modules/use-intl/dist/use-intl.cjs.production.min.js:1:8396) [11:59:39.974]     at Header (/vercel/path0/.next/server/pages/_app.js:140:73) [11:59:39.974]     at Wc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44) [11:59:39.975]     at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253) [11:59:39.975]     at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89) { [11:59:39.975]   code: 'MISSING_MESSAGE', [11:59:39.976]   originalMessage: undefined [11:59:39.976] } [...]
It seems to me the problem is related to dynamic routes:
https://github.com/johnboylesingfield/appel-reviews/blob/main/pages/call/[id].js
The bug used to generate a 404 error on the live website when I was trying to access dynamic pages. I changed getstaticprops to getserversideprops and the 404s dissapeared (no idea why though). However, the missing messages in the logs remain.
I am also noticing a suspiciously long loading time for a first request on dynamic pages. It might be linked to another issue, but it is worth noting just in case.
Live site:
https://www.appel.reviews/
Reproduction
I don't know how to reproduce this bug in codesandbox, but here is my github repo:
https://github.com/johnboylesingfield/appel-reviews
https://www.appel.reviews/
Expected behaviour
If possible, I would like the errors to dissapear and the loading time to improve to a normal level.
Thank you so much for your help.

Update: after inspecting the network get requests, I can see that the json file containing the translations takes 1,8s to load, which seems way too long for a file as tiny as this:
https://www.appel.reviews/_next/data/fHSA8Q3c1xs-FdaBmD8bP/en/call/rM4WTMzmFkQlLX2Q4NmE.json?id=rM4WTMzmFkQlLX2Q4NmE

I fixed the loading delay by adding getstaticprops (my bad!), but the error messages remains in Vercel's build logs. Should I ignore them?

Hi @johnboylesingfield and thank you so much for your kind sponsorship, it means a lot to me! ❤
It seems like you were able to resolve the bug? Are you still seeing the error message in your logs?