Optimize packaging to reduce package size

The jars labeled in the figure already exist in spark jars. Recommend exclusion

i tried to remove scala, apache-commons and jackson from the package, and reduced the package from 45MB to 33MB.
bytebuddy is a big dependency, but we cannot remove it at this moment. it is used to inject some code to spark.


Add install documentation

Some documentation how to build and install the libary.

Good point, will do.

Improve documentation


Quests no longer loading

What is your Quests version / build number (do not say "latest")?
Quests-4.0.0-rc.3
Describe the problem and how to replicate it. Any console errors to post using Pastebin.com?
Quests from quests.yml are not loading. The yml file still has all of the quests in it, but when I run the reload command in-game it says 0 Quests loaded. Happened without my noticing and now can't get them in-game again. No idea how it happened so no idea to replicate it.
If applicable, can you provide an example quest from quests.yml using Pastebin.com?
https://pastebin.com/d13nMT0V

Thanks for the report. I would guess that this part is to blame:
        initialAction:
          book: ''
          cancelTimer: false
          clearInv: false
          commands: []
          denizenScript: ''
          effects: {}
          explosions: []
          failQuest: false
          health: -1.0
          hunger: -1
          items: []
          lightningStrikes: []
          message: null
          mobSpawns: []
          name: AppleStart
          potionEffects: []
          saturation: -1
          stormDuration: 0
          stormWorld: null
          teleport: null
          thunderDuration: 0
          thunderWorld: null
          timer: 0
        name: Apple Pickin'
        npcStart: !!net.citizensnpcs.npc.CitizensNPC
          flyable: false
          name: Old Peculier
          protected: true
        regionStart: null

Backup your file, then try deleting that section and let me know if you need further assistance.

Thanks for the report. I would guess that this part is to blame:
        initialAction:
          book: ''
          cancelTimer: false
          clearInv: false
          commands: []
          denizenScript: ''
          effects: {}
          explosions: []
          failQuest: false
          health: -1.0
          hunger: -1
          items: []
          lightningStrikes: []
          message: null
          mobSpawns: []
          name: AppleStart
          potionEffects: []
          saturation: -1
          stormDuration: 0
          stormWorld: null
          teleport: null
          thunderDuration: 0
          thunderWorld: null
          timer: 0
        name: Apple Pickin'
        npcStart: !!net.citizensnpcs.npc.CitizensNPC
          flyable: false
          name: Old Peculier
          protected: true
        regionStart: null

Backup your file, then try deleting that section and let me know if you need further assistance.


installation broken when using latest doctrine/migrations

when you run composer update you'll get a newer version of doctrine/migrations where migrations aren't indexed bei the date string (201503...) anymore. Because of that this call fails https://github.com/concrete5/concrete5-5.7.0/blob/develop/web/concrete/src/Package/StartingPointPackage.php#L270
It's all because of this change https://github.com/doctrine/migrations/commit/a926b46489008225ea800e5146a582bd94deae00
the whole story is here https://github.com/concrete5/concrete5-5.7.0/issues/2106

Well, I guess that we keep composer.lock in git to address problems like this...

Yes, but when developing I try to use up to date libraries to find problems like that. Sooner or later we'll have to change something.. But you're right, it's not a problem when release concrete5 as long as composer.lock isn't modified

In an ideal world, where everybody respect the semver specs, there shoudn't be any problem.
But I see that developers try to avoid increasing the major version when they implement incompatible changes.
Furthermore, in the specific case of doctrine migrations, semver can't be applied, since that library is still in alpha.

true.. Well, if andrew or anyone else wants to update composer.lock we already know what to do to fix things

I've got a same issue. Thanks for this information. It means we shouldn't run composer update with this repository...

Thanks, added #2218


PEM encoded certificate does not always end with a newline character when returned from Rekor

Description
For some entry types (it seems?), the uploaded PEM encoded certificate is not returned with an ending newline (this may require that the uploaded certificate did not end with a newline). I tried to recreate this with sigened blob/record type, but even if I uploaded a PEM encoded certificate with the ending newline missing, it was added back by Rekor (which I think is the right thing to do). The rekor cli also does this, so I had to curl a POST request with a certificate missing the ending newline.
This entry https://rekor.sigstore.dev/api/v1/log/entries?logIndex=5450282 contains a certificate that does not end with a newline.
(Omitting a newline is actually breaking the POSIX standard, as a text file is a set of lines, where each line must end with a newline character.)
When uploading a (badly formatted) PEM encoded certificate where the ending newline character is missing, my belief is that Rekor should accept it and append the missing newline according to the robustness principle, but it seems it only does so for certain kinds?
This was discovered by @bdehamer when working on implementing the sigstore bundle for JavaScript
Version
Public good Rekor as deployed at October 19th 2022.

When uploading a (badly formatted) PEM encoded certificate where the ending newline character is missing, my belief is that Rekor should accept it and append the missing newline according to the robustness principle, but it seems it only does so for certain kinds?

We're using encoding/pem from golang std lib (which does add a trailing \n at the end of the PEM output), so I'll have to dig into what layer is calling trim on it.
Is it only intoto entries that you've seen this with, or other types?

Is it only intoto entries that you've seen this with, or other types?

I could not reproduce the error, and I believe @bdehamer have only seen it with in-toto types.

@bdehamer i'm not able to reproduce this either, but I do see the link provided above is missing a newline. Any pointers on how you did this would be appreciated.

Did you try to upload an entry via curl where the certificate was crafted to not contain the trailing newline? The Rekor cli will add the missing newline.

I've only seen this with intoto types.
To be clear, I don't think that Rekor is doing any incorrect trimming. In every case where I've seen this it was because I sent in a certificate which was missing the trailing newline. Rekor is simply using the value as-is.
The behavior is a bit inconsistent as it seems that Rekor will properly canonicalize certificates for the hashedrekord type. Here's a hashedrekord entry I created w/ a non-newline-terminated certificate, but you can see that Rekor canonicalized it properly: https://rekor.sigstore.dev/api/v1/log/entries?logIndex=6496582
In contrast, here's another intoto entry I just created where the missing newline was persisted as part of the entry: https://rekor.sigstore.dev/api/v1/log/entries?logIndex=6496794

It seems like both of these are for intoto v0.0.2 type... @bobcallaway I can keep digging if you want to hand off

@bobcallaway Is this something that needs to be fixed still, or was this resolved with the dsse type?


[XamarinWorkbook-MAC]: Accessibility: Keyboard: MAS2.4.3: Loss of focus is observed upon pressing tab from "Show Workbook/Inspector view" buttons.

Steps to Reproduce
1.Launch Xamarin Workbook application and select platform and create a new workbook.
2. Navigate to Show Workbook/Inspector view button and press tab. Observe the keyboard focus.
Expected Behavior
Focus should move to next interactive element, which is in the Left pane of the workbooks.
Actual Behavior
Focus loss is observed by hitting upon tab keys.
User Impact
The User might be confuse with loss of keyboard focus.
Environment
MAC: 10.13.4
Workbook - 1.4 (master/b3f92f9)-->

Log File

Please add the following labels to this bug:
A11yMAS
Accessibility
MAS2.4.3
Xamarin-Workbook-MAC
Wipro

Exemption Approved - 1817


None of tested games opened

I have an issue with basic things, maybe I'm missing smth? Tried Thief 2, Doom 3, Shadow of the Tomb Raider, Quake 1 Chasm mod, and none of them works.
Doom 3 and Thief 2 won't just launch, Tomb Raider works, but nothing happens in the app and Quake shows some weird error:
https://pp.userapi.com/c844721/v844721209/1a0be1/XAgfTqtSA6w.jpg
Maybe this app captures only Vulcan games?

Okay, managed to take screenshot in metro last light, but only in menu. On game loading game crashes.

I do not condone or support capturing commercial copyrighted games that you are not the owner and creator of.
RenderDoc is intended only for debugging your own code.


DDTTYLoggeer's AppKit detection doesn't work & Path to CLIColor.h include wrong

Problem: AppKit Dependency
CocoaLumberjack's DDTTYLoggeer is in theory able to work without having AppKit.framework linked. It tries to check whether AppKit is linked by using #elif __has_include(<AppKit/NSColor.h>). Unfortunately this doesn't work, Apple's clang seems to always find the AppKit includes even if it's using AppKit (verified using Xcode 6.1 and Xcode 6.3 beta 4's clang versions).
The following demo program
$ cat /tmp/test.m
#if __has_include(<AppKit/NSColor.h>)
#    error AppKit available
#endif
int main() {
    return 0;
}

compiled as
$ clang -o /tmp/test /tmp/test.m
/tmp/test.m:2:6: error: AppKit available
#    error AppKit available
     ^
1 error generated.

does say the AppKit header files are available but there's no -framework AppKit or anything else passed on clang's command line.
Therefore, I think CocoaLumberjack's #elif __has_include(<AppKit/NSColor.h>) will always be true on OS X and which leads to the #else case (where CLIColor.h is included) to never be used. That creates a dependency on AppKit in DDLog.
Problem: Path to CLIColor.h
Additionally the code to use the CLIColor version is
#else
    // OS X CLI
    #import "CLIColor.h"
    #define DDColor CLIColor
    #define DDMakeColor(r, g, b) [CLIColor colorWithCalibratedRed:(r/255.0f) green:(g/255.0f) blue:(b/255.0f) alpha:1.0f]
#endif

but the #import to CLIColor.h should really be CLI/CLIColor.h otherwise it won't find CLIColor.h.
Possible Solution

A preprocessor flag DD_NO_APPKIT or DD_USE_CLICOLOR or similar that DDTTYLogger would be compiled with CLIColor instead of NSColor to remove the AppKit dependency

Couldn't it be that AppKit is getting added somewhere else in the project? Build steps, @import's, etc.?

@rivera-ernesto I'm just compiling one file (/tmp/test.m) from the command line. There's no project or anything else involved.
Try it for yourself and just paste this:
cat > /tmp/test.m <<EOF
> #if __has_include(<AppKit/NSColor.h>)
> #    error AppKit available
> #endif
> int main() {
>     return 0;
> }
> EOF
xcrun clang -c /tmp/test.m

I see. What about he included CLI demo?
What about something like
#ifdef DD_CLI

Then people can define DD_CLI before importing the library to force "CLI-mode".
As for that path, I think that is because you're not using a project. We could modify as you propose but it may break "regular" projects. Or we can use the same DD_CLI to import it using a different path.
Also DD_CLI should probably be named something more expressive.

@rivera-ernesto Sorry for the late reply, I'm proposing PR #497 to fix this issue. Let me know what you think.


S3 Links not operational

Hi Daniel,
These links here seem to have "Firmware" twice in the URL, leading to broken links:
http://px4-travis.s3.amazonaws.com/Firmware/master/index.html

directory/index.html (javascript) in CI-Tools handles creating the s3 directory index.
Fixed here https://github.com/PX4/CI-Tools/commit/806e975ab80dba5da5fba4ae90556e7b6aa0777b
PX4/Firmware should be fixed once a master, beta, or stable travis build runs.

Working: http://px4-travis.s3.amazonaws.com/Firmware/master/index.html

Awesome, closing!


Add support for importing from PEXes.

You can now use a PEX as a mostly normal sys.path entry. You do need
to activate it though and that can be done in two ways:

Perform an import __pex__ before importing anything else you
might need that lives in a PEX sys.path entry.
Import what you need in one step via from __pex__ import colors in
the case where the PEX contains ansicolors, for example.

The second method is useful in cases where you can't influence which
python interpreter to run (In which case you could just specify the PEX
file itself), but you can influence the sys.path. The motivating
example of this is AWS Lambda functions for Python. One mode of
deploying these is in a zip. Here you can't pick the Python interpreter,
just its version, but you can specify the zip and an entry point. As
such you can specify a PEX as the zip and a __pex__ psuedo-package
prefixed entry-point. This should obviate the need for projects like
Lambdex or at least simplify their integration with Pex, which currently
relies on using the unsupported pex.pex_bootstrapper APIs which I'd
like to drop in Pex 3.

The manual AWS Lambda test:
Source material in src/examine_disks.py:
import json

import psutil

def lambda_handler(event, context):
    return {
        'statusCode': 200,
        'body': json.dumps(
            {"partitions": [partition._asdict() for partition in psutil.disk_partitions()]},
            sort_keys=True,
            indent=2,
        )
    }

Build the plain old PEX:
$ python -mpex --python python3.9 -D src/ psutil -o plain_old.pex.zip

Upload to AWS & configure magic __pex__. entry point:

Use it:
$ curl https://ui6vqc7rocj7ojmdpp7ltf55yq0msyld.lambda-url.us-west-2.on.aws/
{
  "partitions": [
    {
      "device": "/dev/vdb",
      "fstype": "ext4",
      "maxfile": 255,
      "maxpath": 4096,
      "mountpoint": "/dev",
      "opts": "rw,nosuid,noexec,noatime,data=writeback"
    },
    {
      "device": "/dev/vdd",
      "fstype": "ext4",
      "maxfile": 255,
      "maxpath": 4096,
      "mountpoint": "/tmp",
      "opts": "rw,relatime,data=writeback"
    },
    {
      "device": "/dev/vdb",
      "fstype": "ext4",
      "maxfile": 255,
      "maxpath": 4096,
      "mountpoint": "/proc/sys/kernel/random/boot_id",
      "opts": "ro,nosuid,nodev,noatime,data=writeback"
    },
    {
      "device": "/dev/root",
      "fstype": "ext4",
      "maxfile": 255,
      "maxpath": 4096,
      "mountpoint": "/etc/passwd",
      "opts": "ro,nosuid,nodev,relatime,data=ordered"
    },
    {
      "device": "/dev/root",
      "fstype": "ext4",
      "maxfile": 255,
      "maxpath": 4096,
      "mountpoint": "/var/rapid",
      "opts": "ro,nosuid,nodev,relatime,data=ordered"
    },
    {
      "device": "/dev/vdb",
      "fstype": "ext4",
      "maxfile": 255,
      "maxpath": 4096,
      "mountpoint": "/etc/resolv.conf",
      "opts": "ro,nosuid,nodev,noatime,data=writeback"
    },
    {
      "device": "/dev/vdc",
      "fstype": "squashfs",
      "maxfile": 256,
      "maxpath": 4096,
      "mountpoint": "/var/task",
      "opts": "ro,nosuid,nodev,relatime"
    }
  ]
}

@wickman and @kwlzn I think this means things like Lambdex and pyuwsgi_pex can retire and go climbing!, but please let me know if you agree.

@benjyw I think this means we can delete the Pants awslambda and google_cloud_function backends after a deprecation period.

@rtkjliviero here's the promised change that hopefully satisfies #747.

The 1 failing integration test on the pypy3.9 shard is reproducible, but apparently not related to this change; I can repro on main. CI on main is green though; so stumped for now.

OK, the 1 failing test was in fact unrelated. Fixed in #1846 which is merge in here now for a green CI.

That's very neat! Before we drop the backends though, there's one thing I've been meaning to look into for a while, which is whether there are performance optimizations that AWS applies to "standard" lambda zip files that we defeat by using pex (via lambdex or this new way).

That's very neat! Before we drop the backends though, there's one thing I've been meaning to look into for a while, which is whether there are performance optimizations that AWS applies to "standard" lambda zip files that we defeat by using pex (via lambdex or this new way).

If Lambdexed PEXes are slower for some strange reason then PEXes used this way will be exactly as slow; so perf should have 0 bearing on dropping the Pants backends. If PEX based lambdas are slower and we want to improve that we'd need new backends right? Or are you suggesting exactly that, you'd like to keep the backends / targets named like they are but completely re-work their internals if PEXes are slow?

Thanks @benjyw for taking a look.

Yeah, I was thinking that depending on the outcome of a performance investigation we might have to reimplement those backends to create "proper" lambda zipfiles, with the layout AWS recommends.

But that would be outside of PEX entirely, so yeah, I don't think it blocks getting rid of that API.


Separate node executable from common functionality in preparation for a GUI

We're preparing to have a GUI for the node (and potentially the wallet).
I extracted the executable part of the node into a separate crate, as a GUI will have a different launcher that will use the new "node-lib".

There are several unknown lint: clippy::extra_unused_type_parameters in unchanged files. Looks strange, is it ok?

Old version of rust doesn't see it.


Check Internet connection using html, CSS and javascript

Describe the project
A clear and concise description of the project you are going to add to this repository.
Issue Type:

[ ] Bug Report
[ ] Feature Request
[ ] Documentation
[x] New Project

Additional context
Add any other context or screenshots about the project here.
Screenshots

If applicable, add screenshots to help explain your problem.

I would like to work on this please provide some details and assign it to me


Don't run certain GHA jobs on forks

Don't run jobs that aren't triggered on pull request on forks.
Forks aren't likely to need these jobs, and theyre more likely to fail
there.
Signed-off-by: Mike Kolesnik<EMAIL_ADDRESS>

nice thanks!! :)


The act of logging produces more logs, causing an infinite loop

It seems that, when trace logs are enabled, the act of sending logs to Graylog itself produces logs. Since those logs will then be sent to Graylog..... we get an infinite loop!
2021-06-23T18:38:56.659250405+00:00 TRACE tokio_util::codec::framed_impl: writing; remaining=1002
2021-06-23T18:38:56.659386680+00:00 TRACE tokio_util::codec::framed_impl: framed transport flushed
2021-06-23T18:38:56.659539752+00:00 TRACE tokio_util::codec::framed_impl: flushing framed transport
2021-06-23T18:38:56.659673413+00:00 TRACE tokio_util::codec::framed_impl: writing; remaining=1002
2021-06-23T18:38:56.659808685+00:00 TRACE tokio_util::codec::framed_impl: framed transport flushed
2021-06-23T18:38:56.659961482+00:00 TRACE tokio_util::codec::framed_impl: flushing framed transport

I'm currently addressing this by filtering out any logs from tokio_util, which is fine for my use case. I'm not sure whether there's a technical solution to this, or if it should just be mentioned in the docs.

tracing solves this problem by unsetting the default subscriber while inside of a call to a subscriber method, so logging from inside libraries used by the subscriber are automatically ignored. That doesn't help here, though, because these logs are coming from a background task that the subscriber talks to.
However, we could use a similar technique to what tracing does. If we wrap the background task's future in tracing_futures's with_subscriber combinator using a subscriber that ignores everything, any logs emitted inside the background task will be ignored, rather than causing more logs to be sent. We don't even have to use a subscriber that ignores every event there, we could even log events that occur on the background task to the console or something.
tracing_core contains a Subscriber implementation that does nothing, but it's currently not part of the public API. However, it would be fine to just copy and paste the code for now. We could also open an upstream issue for adding the NoSubscriber type to the public API...but I think it's pretty trivial to implement.


Long tweet support

The python-twitter library has since updated to allow for longer 240 character Tweets, and this patch makes use of that.

Awesome! I haven't taken a look at this project in a while, thank you for improving on it!


Add caddy proxy to cloud image

https://caddyserver.com/docs/proxy

But you can use caddy to easily renew the certs


support option ssl_version

support option ssl_version

Hey @mpapis , any plan to publish a new version to include this change?

I wanted to review other PR's / issues before releasing new version, unfortunately I lack the time to do so... is this change so important?


Memory Leak with PHP-CLI

Hi,
I was using this library (0.9.0) with swoole extension (it's a php cli deamon standalone web server).  if I use $mustache->render($text,$array) method,  memory always increases and server goes down after a day.
I can not see RAM usage with php's memory_get_* commands but when I look at php processes with linux top command, php memory usage always increases.
P.S. = If I use {{{Non_encoded_variables}}} in the text, RAM increasing slowly (avg. server goes down for 24 hours later) but when I use {{HTML_ENCODED_VARIABLES}} in the text, RAM is increasing so fast and a few hours later server goes down and php process uses %100 of memory.
PHP Version : 7.3.7

May I see an example of a template you are using? Are you using any lambdas?
Having not had this issue myself before, given the environment, my first suspicion would be a zval perhaps having it's reference count incremented and not decremented.
If you're not set on having the specific mustache behavior, my other library uses an arena allocator and should be less susceptible to memory leaks outside of PHP: https://github.com/jbboehr/php-handlebars/

Hi,
It's various templates defined by my customers. But basically our templates are parameters with simple html. Something like {{product_price}}  etc...
By the way I create Mustache object once and never release it. I always call $mustache->render function with the same object.
I have no lambdas. Just basic mustache implementations.

But I have lots of traffic and I call render function approximately 100 Millions times a day. Even if there is a small memory leak it has huge effect on my side.


According to the puppet doc, Pattern should be a list of regex.

Link to the doc:
https://puppet.com/docs/puppet/5.3/lang_data_abstract.html#pattern

I am using a tool  that implements the puppet grammar. This kind of "outside the spec" declaration are really annoying specially in popular, supported puppetlabs module such as puppetlabs-postgresql.
I hope you accept this PR.
Thanks,


Memory leak in settings editor

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.90.2
OS Version: Ubuntu 24.04

Steps to Reproduce:

Open the settings ui editor
Close the settings ui editor
Repeat a few times
Notice that the number the number of SettingsEditor2Input and Settings2EditorModel grows by 1 each time, for example, opening and closing the settings editor 197 times, increases the number of SettingsEditor2Input and Settings2EditorModel by 197:

{
  "instanceCountsDifferenceWithSourceMap": [
    {
      "name": "DisposableStore",
      "count": 15109,
      "beforeCount": 4773,
      "url": "/src/vs/base/common/lifecycle.ts:370:1"
    },
    {
      "name": "Emitter",
      "count": 14937,
      "beforeCount": 4793,
      "url": "/src/vs/base/common/event.ts:1020:13"
    },
    {
      "name": "LeakageMonitor",
      "count": 14891,
      "beforeCount": 4747,
      "url": "/src/vs/base/common/event.ts:838:19"
    },
    {
      "name": "SettingsTreeSettingElement",
      "count": 9802,
      "beforeCount": 1430,
      "url": "/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.ts:168:2"
    },
    {
      "name": "Node",
      "count": 6289,
      "beforeCount": 6285,
      "url": "/src/vs/base/common/linkedList.ts:14:13"
    },
    {
      "name": "UniqueContainer",
      "count": 3986,
      "beforeCount": 3715,
      "url": "/src/vs/base/common/event.ts:934:29"
    },
    {
      "name": "DomListener",
      "count": 2680,
      "beforeCount": 2187,
      "url": "/src/vs/base/browser/dom.ts:138:13"
    },
    {
      "name": "KeyCodeChord",
      "count": 1070,
      "beforeCount": 1069,
      "url": "/src/vs/base/common/keybindings.ts:82:18"
    },
    {
      "name": "EventDeliveryQueuePrivate",
      "count": 1030,
      "beforeCount": 445,
      "url": "/src/vs/base/common/event.ts:1248:0"
    },
    {
      "name": "Uri",
      "count": 816,
      "beforeCount": 619,
      "url": "/src/vs/base/common/uri.ts:447:0"
    },
    {
      "name": "ContextKey",
      "count": 561,
      "beforeCount": 560,
      "url": "/src/vs/platform/contextkey/browser/contextKeyService.ts:199:13"
    },
    {
      "name": "SettingsTreeGroupElement",
      "count": 535,
      "beforeCount": 79,
      "url": "/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.ts:88:13"
    },
    {
      "name": "MenuItemAction",
      "count": 332,
      "beforeCount": 258,
      "url": "/src/vs/platform/actions/common/actions.ts:482:2"
    },
    {
      "name": "Action",
      "count": 292,
      "beforeCount": 241,
      "url": "/src/vs/base/common/actions.ts:68:13"
    },
    {
      "name": "DomEmitter",
      "count": 241,
      "beforeCount": 233,
      "url": "/src/vs/base/browser/event.ts:39:13"
    },
    {
      "name": "SettingsEditor2Input",
      "count": 200,
      "beforeCount": 3,
      "url": "/src/vs/workbench/services/preferences/common/preferencesEditorInput.ts:30:23"
    },
    {
      "name": "Settings2EditorModel",
      "count": 200,
      "beforeCount": 3,
      "url": "/src/vs/workbench/services/preferences/common/preferencesModels.ts:224:10"
    },
    {
      "name": "MutableDisposable",
      "count": 171,
      "beforeCount": 163,
      "url": "/src/vs/base/common/lifecycle.ts:511:1"
    },
    {
      "name": "DisposableMap",
      "count": 116,
      "beforeCount": 115,
      "url": "/src/vs/base/common/lifecycle.ts:718:1"
    },
    {
      "name": "Separator",
      "count": 113,
      "beforeCount": 78,
      "url": "/src/vs/base/common/actions.ts:198:0"
    },
    {
      "name": "Lazy",
      "count": 111,
      "beforeCount": 78,
      "url": "/src/vs/base/common/lazy.ts:13:19"
    },
    {
      "name": "RunOnceScheduler",
      "count": 105,
      "beforeCount": 98,
      "url": "/src/vs/base/common/async.ts:975:13"
    },
    {
      "name": "FocusTracker",
      "count": 82,
      "beforeCount": 81,
      "url": "/src/vs/base/browser/dom.ts:1334:13"
    },
    {
      "name": "DebugNameData",
      "count": 74,
      "beforeCount": 52,
      "url": "/src/vs/base/common/observableInternal/debugName.ts:28:18"
    },
    {
      "name": "ConfigurationInspectValue",
      "count": 65,
      "beforeCount": 17,
      "url": "/src/vs/platform/configuration/common/configurationModels.ts:511:19"
    }
  ]
}

Test script
git clone git@github.com:SimonSiefke/vscode-memory-leak-finder.git &&
cd vscode-memory-leak-finder &&
git checkout v5.46.0 &&
npm ci &&
node packages/cli/bin/test.js --cwd packages/e2e --only  settings.open --watch --check-leaks --measure-after --measure instance-counts-difference-with-source-map --runs 197 &&
cat .vscode-memory-leak-finder-results/instance-counts-difference-with-source-map/settings.open.json

Additional Information
In addition to  SettingsEditor2Input and Settings2EditorModel, the number of URI instances increases also by 197 which seems to be the URI from https://github.com/microsoft/vscode/blob/main/src/vs/workbench/services/preferences/common/preferencesEditorInput.ts#L24-L27:
export class SettingsEditor2Input extends EditorInput {
	readonly resource: URI = URI.from({
		scheme: Schemas.vscodeSettings,
		path: `settingseditor`
	});

The SettingsEditor2Input is created in https://github.com/microsoft/vscode/blob/main/src/vs/workbench/services/preferences/browser/preferencesService.ts#L108:
createSettingsEditor2Input(): SettingsEditor2Input {
	return new SettingsEditor2Input(this);
}

which then passed to the openEditor function:
	private async openSettings2(options: IOpenSettingsOptions): Promise<IEditorPane> {
		const input = this.createSettingsEditor2Input();
		options = {
			...options,
			focusSearch: true
		};
		await this.editorService.openEditor(input, validateSettingsEditorOptions(options), options.openToSide ? SIDE_GROUP : undefined);
		return this.editorGroupService.activeGroup.activeEditorPane!;
	}

Closing as fixed.


Remove legacy enabled.xxx option

Description
Removes legacy enabled.xxx option
Which issue(s) does this PR fix

Fixes https://github.com/janus-idp/backstage-showcase/issues/715

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

@tumido @davidfestal PTAL?

I agree with @Zaperex on the schedule properties. If the plugins prefer schedule over scheduler it should not be included in our dynamic plugin wrappers.

I agree as well

@tumido @davidfestal @Zaperex fixed

@tumido @davidfestal I will create a PR on the plugins to remove the hard coded schedule. e.g. https://github.com/janus-idp/backstage-plugins/blob/main/plugins/keycloak-backend/src/dynamic/index.ts#L12-L16


Need to have ability to set form attributes as advanced

Version
0.6.3
Tell us which versions you are using:

tcomb-form 0.6.3

Expected behaviour
We need the ability to display advanced form attributes differently . Our forms have many inputs and some of them are advanced and not many users will need to change them. In this case, these advanced parameters should be grouped together in a collapsible form group.
Actual behaviour
Tell us what happens instead
Steps to reproduce

Stack trace and console log
Hint: it would help a lot if you enable the debugger ("Pause on exceptions" in the "Source" panel of Chrome dev tools) and spot the place where the error is thrown

You can use a custom template, I guess
https://github.com/gcanti/tcomb-form/blob/master/GUIDE.md#templates


ActiveForm Dynamic validation fails

What steps will reproduce the problem?

Loop a textInput(['id' => "XXX-{$i}"]) with a dynamic id.
Log your form console.log($('#your-form').data('yiiActiveForm').attributes)
Check array. Notice id and input property.

What is the expected result?

Should be the same right? Excluding the hash.
Can't even dynamically remove this using this method
$('#your-form').yiiActiveForm('remove', id)

What do you get instead?
Error, btw I'm testing this on Firefox 60.0.2 (64-bit)
but on Chrome 67.0.3396.87 it works fine, rather my simple hack works fine there.
Additional info

Q
A

Yii version
2.0.6

PHP version
7.1

Operating system
Win10

const afHack = form => {
  // Ensures all attributes: id & input props are the same.
  const attrs = $(form).data('yiiActiveForm').attributes
  attrs.forEach(attr => { attr.id = attr.input.replace(/[^0-9a-zA-Z-_]/gi, '') })
}

This is my simple hack for this, feel free to customize. I fire this function wherever my form is loaded BUT for some reason Firefox implement jQuery.onload event differently from Chrome,
Also is there some way to implement unique validation on a Dynamic ActiveForm?

Set an attribute on DB as unique.
Model rules will be set to unique ofc, if u use Gii.
You have a form which can dynamically add a "Form field" on every button click.

Problems:

Active form should be aware on the client side if the currently typed value has some identical value in the current page specifically the Model attribute.
Ofc, you can't exclude the fact that the current value should be also aware of the values in the DB.

PS:
I know that onblur JS event, is the perfect way to do this, BUT, for some reason i can't even override the JS validation event currently provided by ActiveForm, is there some handy way to override this behavior? Thank you.


🐛 ESLint edge case: flatCompat.extends in FlatConfig files

Prerequisites

[X] I'm using the latest version
[X] I've read the relevant documentation
[X] I've searched for existing issues
[X] I've checked the list of known issues
[X] I've read the issue reproduction guide

Reproduction url
https://codesandbox.io/p/devbox/yjgd5f
Reproduction access

[X] I've made sure the reproduction is publicly accessible

Description of the issue
With a recent end-of-life for ESLint v8, more people are  migrating to FlatConfig. New eslint.config.js file is pretty standard, so most imports can be tracked without any special tricks. However, if this file refers to a config that is still relying on an old config system, Knip fails to detect that a project dependency is used.
Here is an example for eslint-config-next:
.eslintrc.json before conversion
{
  "extends": "next/core-web-vitals"
}

Knip is smart enough to know that next/core-web-vitals comes from eslint-config-next, so does not mark this dependency as unused.
eslint.config.js after conversion
npx @eslint/migrate-config .eslintrc.json

↓
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
  baseDirectory: __dirname,
  recommendedConfig: js.configs.recommended,
  allConfig: js.configs.all,
});

export default [...compat.extends("next/core-web-vitals")];

Knip does not know about compat.extends("next/core-web-vitals"), so marks eslint-config-next as unused in package.json.
Note that in the real world scenario the call may also look like this:
...flatCompat.extends('next/core-web-vitals', 'next/typescript')

In the long term most popular community plugins and configs will be converted to FlatConfig so will be imported natively using ESM. But it would be great if Knip could handle compat.extends in the meantime to help folks with migration.

In the long term most popular community plugins and configs will be converted to FlatConfig so will be imported natively using ESM.

My assumption was indeed that Knip didn't need extra work here. But I've already started in #806 to actually load eslint.config.* files and start resolving dependencies. Was surprised to see this is necessary though :(
When I try that version of Knip in this CSB I'm getting this:
ERROR: Error loading /project/workspace/eslint.config.mjs
Reason: Cannot read config file: /project/workspace/node_modules/.pnpm/eslint-config-next@15.0.1_eslint<EMAIL_ADDRESS>Error: Failed to patch ESLint because the calling module was not recognized.

This happens because... it's complicated. But here's the gist.
The reason is an ESLint config/plugin loads some rushstack stuff (which throws the error):
https://github.com/vercel/next.js/blob/2e28c965279de90ce4bfca673196c27dd6117027/packages/eslint-config-next/index.js#L53
Work-around in Knip:
https://github.com/webpro-nl/knip/blob/c6d5c10e895ad6f006c79d3f78eb451c7931b552/packages/knip/src/util/jiti.ts#L9-L10
This fix works fine so far. Apparently we're having a new scenario here in which the rushstack alias isn't active and I don't fancy jumping into this rabbit hole again.
Maybe the fix is easy, idk. This also just made me reconsider the work in #806 for now.

Ah yeah rushstack. It’s causing problems in other tools, at least in ESLint config expector: https://github.com/eslint/config-inspector/issues/70#issuecomment-2441419320

Thanks for sharing that! Will follow those issues for sure.


nixos tests do not apply nixpkgs overrides

I wanted to try running some nixos tests locally when I noticed my package overrides don't get applied. This leads to testing a different system config than what would be installed.
With some tracing, I found that <nixos/lib/build-vms> imports nixpkgs
using config = {}, but with that removed, it still doesn't work.
The easiest way to trigger an error is to change
pkgs = applyGlobalOverrides (config.packageOverrides or (pkgs: {})); into pkgs = applyGlobalOverrides config.packageOverrides; in all-packages.nix, to find out when nixpkgs is being initialized without consulting nixpkgs-config.
Then nix-build '<nixos/release-combined.nix>' -A nixos.tests.firefox.x86_64-linux
And see it fail (packageOverrides missing).
Unfortunately, the resulting trace does not help in revealing where the config is being overwritten.

@bluescreen303 is this still an issue?

sorry for the delay...
But I no longer care for this issue. Closing


Provide the Package Manager Console

This is a feature request.
It would be very helpful if this extension can provide the Package Manager Console. I love PowerShell Core and it is easier to remember Install-Package than dotnet package add because I get auto-completion for free. Also compare Add-Migration and dotnet ef migrations add.

Project and Solution manipulation features would be added to the C# DevKit extension. For C# on its own, it is recommended to use the dotnet CLI from the terminal.


Porting termux packages / reusing patches

It might be interesting to look into reusing work that has gone into termux packages.
(placeholder)

(sidenote on motivation: having packages capable or running in a proot environment may be interesting beyond the android usecase? It would be nice to get some confirmation on this.)
Ok I'm probably shelving this for a while but the basic idea is to see if we can automatically ingest termux packages from https://github.com/termux/termux-packages and it's sub-repositories into an autogenerated overlay. termux-packages seems to be apt based, and I don't know if nixpkgs has any infra for helping with that, nor do I know my way around apt.
Some preliminary poking around suggests that the main interesting things will just be the patches.
I haven't seen anything but I'm slightly worried about there being package specific packager issues, but we will probably have to handle that like always, with individual overrides.
We also need a mapping file from termux package names to nix package names. I don't know if there are any cases of this, but I'm not sure yet what to do if there are any packages that correspond to multiple nix packages.
It looks like it may be necessary to manually review patches; many patches are about fixing hardcoded paths. However, for this at least, it may be sufficient to do have some automatic rewriting rules.
Furthermore it may be interesting to have some code that checks binaries for references to functions proot doesnt support, and maybe warn the user or packager. Obviously this would be a lower bound and would not catch everything. It may be largely sufficient to check the dynamic linker imports, and perhaps check for manual dynamic linker calls?
Furthermore we should look into whether proot can do any logging for unsupported calls. Debugging the issue mentioned in the following paragraph may have been easier if there was a porting guide that mentioned to check something of the sort?
For opaque binary packages, either patches to proot that make things fail-nop instead of fail-fail may be interesting. This may also be handy if you just don't wan't to patch and recompile something.
For example the setuid(getuid()) issue from https://github.com/t184256/nix-on-droid/issues/75. See also the LD_PRELOAD fix. termux-packages fixes this issue by completely removing the checks, which my fix is equivalent to. (I kind of wonder if this is CVE related or something). It may be interesting to just have some reconfigurable LD_PRELOAD library with various instrumentation options. (TODO: look for previous work) Besides the static packaging checks, there could also be runtime checks based on this - but since LD_PRELOAD uses the dynamic linker anyway(i.e. the static approach looks at the link tables), it's probably redundant and unnecessary?
I haven't looked for or checked any proot documentation yet.
So to start off I propose the following steps for minimum viability:

[ ] Write a prototype that ingests a single package and generates an overlay for it
[ ] Write a name mapping functionality and extend (just a simple map operation? :P) the previous to the whole package set
[ ] Try to get the aarch64 cache guys to accept this package set / get this as some tier or other of supported in nixpkgs - this is part of minimum-viable because I don't want to be compiling this stuff on my phone.

Bonuses / uncategorized / not needed for minimum viability:

[ ] find usecases for proot package support beyond android
[ ] package-time checks for breaking function usage (i.e. there may or may not be some tooling for packaging)
[ ] install-time checks for breaking function usage
[ ] LD_PRELOAD and other instrumentation tooling
[ ] proot failure logging
[ ] porting guide
[ ] (big?) write tests / check if existing nixos tests will work / look into porting the test system?

Single-ingest:

[ ] path patch detection and remapping
TODO

Package-set-ingest:

[ ] recursive packages: termux-packages has some packages that install package sets
[ ] name-mappings
TODO

Thank you for your input!
Thats an interesting idea to kind of automate the overlay creation but I see some things to look out for:

IIRC @t184256 once mentioned that most of termux fixes concerns the bionic/android environment which in our case isn't a problem: We are running an aarch64 environment thanks to proot.
Package version mismatches could be a problem: What if nixpkgs has an older version than termux and build instructions have changed?
Concerning the cache: I think the best way for now would be to regularly build the patched packages (with a pinned version of nixpkgs which gets updated each time the build job has built every package successfully) and push them to nix-on-droid.cachix.org. This cache is currently used for proot builds and other packages and is used on each nix-on-droid installation.

So I think of a semi-automatic workflow where any contributor could easily port a termux package to an overlay. This could be supported by some utility scripts or whatever.
BTW: I love the idea of bringing tests to nix-on-droid!

Thanks! All of that sounds good to me.

I don't really see into the first point yet, but sounds valid.
I suppose some more of the information we could track is whether things follow semver, and maybe hope for compat? :P - but yeah, sounds less sunshine and rainbows than I'd hoped. :P  It's also possible that termux has the much older version? :P IDK where termux pulls or builds it's packages from.
I've never used cachix but it sounds like a starting point.

I asked someone to review this post and they brought to my attention:

As I said, termux fixes are not typically about running within proot, since termux normally does not do so.
They are however, about running within the constraints of a single-user environment,  so I would tweak the motivation section of your issue to say that.
nix-on-droid like termux is running within one user, so it can't do user privilege separation the way nix wants to.


Add XMC4 flash command sequence API

Summary
Add infineon's protocol to interact with the flash on the xmc board.
Impact
None
Testing
Tested on xmc4800 relax board.

ping @trns1997 @nicolas71640


No text is shown when using the Tizen browser on Tizen OS

Describe the bug
No text is shown when using the Tizen browser on Tizen OS
To Reproduce
Steps to reproduce the behavior:

Start ttyd on Ubuntu
Access the address in Chrome or Firefox on a different machine to test that it can be accessed
Try to access the same address on a smart TV or beamer with Tizen and the Tizen browser

Expected behavior
The terminal is shown like on any other browser and operating system.
Screenshots
The background color is shown. The cursor changes from arrow to text input in the upper left corner of the page, but no text is shown at all. Also input like ls or touch test.txt has no effect. I tried ttyd -t rendererType=dom but it didn't help either.
Environment:

OS: Tizen OS Version 1420 on Samsung Freestyle LSP3 Beamer
Browser: Tizen Browser 5.2.06080

Additional context

I tried finding a website hosting another kind of xtermjs application and found that the example on https://xtermjs.org/ was capable of displaying text and processing my input.
I tried building ttyd from source with modifications to the style, but I was unable to produce static binaries to test further on the x86_64 client I want to run ttyd on.
Tizen browser seems to be the only available browser for Tizen.
I tried navigating some other sites like https://codesandbox.io/examples/package/xterm but the browser/device choked and didn't load the entire site. It would have been nice to use ttyd evenif only in some limited way though.

If you're using the latest version, start ttyd with -W option and try again.

Hello, I tried with the -W or --writable option. But the issue remains. Meanwhile the OS has updated to 1523.

A follow up:

Newer device with:
Mozilla/5.0 (SMART-TV; Linux; Tizen 7.0) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/6.0 Chrome/94.4696.31 TV Safari/537.36
works
Older device with:
Mozilla/5.0 (SMART-TV; Linux; Tizen 6.5) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/5.0 Chrome/85.4183.93 TV Safari/537.36
does not work


(maint) Merge 6.x to main

There were conflicts in egrammar.ra because the SITE, etc keywords were removed
in 7.0. This adds the PLAN and APPLY keywords and generates the eparser.rb using
bundle exec rake gen_eparser with racc 1.5.2

Not sure what happened last time :facepalm: but there's an actual merge commit this time and those commits are present


Update React packages to latest version

Update all the react packages in package.json to latest versions possible.

@Parbhat If you have people that know React but love something simpler and cleaner like e.g. https://svelte.dev/ I would be interested in discussing time needed to switch.
If your people know and love react then we just stay with that.

@frjo Sticking with React will be good as a good amount of work is already done with it in the project. React is heavy and has a decent learning curve compared to Vue/Svelte. Svelte looks good and Vue.js is also commonly used in Django projects as can be used like JQuery without much tooling and a lot simpler. But in complex features, there will not be much difference. So, we will probably need a React specialist.
Just to confirm, we are using React currently in 2 pages: Submissions by Round (ex /apply/rounds/18/?submission=13) and Submissions by Status (/apply/submissions/internal-review/?submission=4).

@Parbhat Yes, that is the two sections that is powered by React.


Document how to use .NET Core 3.0 SDK to build an app for the 2.2 runtime

Hi, I don't believe the specified page in its current form answers the following (and IMO pretty basic) question: I am using a .NET Core 3.0  RC1 SDK on my dev machine and am looking to deploy to a Linode node which has the .NET Core 2.2 runtime installed. We know the SDK uses the latest installed SDK version which also (I think?) means the project templates for that SDK version will be used with dotnet new. The mvc template for example will add NUGet package dependencies to packages targeting .NET Core 3.0 RC1 (because that's my SDK version). They will of course also set the TargetFramework to netcoreapp3.0. Now I want to build for the .NET 2.2 runtime. I can't just change the TFM to netcoreapp2.0 because the NuGet packages are still pointing to the 3.0 RC1 versions. Now I could go ahead and change those guys' versions to the .NET Core 2.0 ones, but at this point I'm rewriting so much I'd much rather just use mvc template from the .NET 2.2 SDK. It looks to me like I have no such option? Do I really have to reinstall the 3.0 RC1 SDK and install the 2.2 one in order to be able to run dotnet new mvc and get the template which has NuGet packages and TFM for the 2.2 runtime?

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

ID: ab345482-5752-6845-feee-52f0f06c620c
Version Independent ID: 3613d4c0-be8e-c5a4-42f4-bec78ab99c75
Content: Select which .NET Core version to use - .NET Core
Content Source: docs/core/versions/selection.md
Product: dotnet-core
GitHub Login: @Thraka
Microsoft Alias: adegeo

It is entirely possible to do this, but the documentation appears to be pretty much non-existent.
First install the older version template pack you need. For MVC 2.2 it would be:
dotnet new --install "Microsoft.DotNet.Web.ProjectTemplates.2.2"

Now you can specify a target framework for dotnet new mvc as follows:
dotnet new mvc --framework netcoreapp2.2

Hope this helps, at least until Microsoft update the documentation for this.

Thank you!

I'll keep it open so we can check where updates are applicable.

Also, thanks to .net core 3 including a template search system, it is not required to actually know the name of the package to install.
Just blindly add the framework parameter and it will spit out the correct package to install, including the full command line to use. See:
root@9e3d403fdf2a:/# dotnet new mvc --framework netcoreapp2.2
Couldn't find an installed template that matches the input, searching online for one that does...
Matches from template source: NuGet
-----------------------------------
Template name "ASP.NET Core Web App (Model-View-Controller)" (mvc) from author "Microsoft" in pack Microsoft.DotNet.Web.ProjectTemplates.2.2
    To use this template, run the following command and try again:
        dotnet new -i Microsoft.DotNet.Web.ProjectTemplates.2.2::2.2.6

Hope this is useful in some way.

After quite a bit of research we discovered that you really just need to install the templates for the specific version you want. However, with .NET Core directly (not ASP.NET Core) the templates for older versions aren't currently published to NuGet and can't be installed. I'm working with the product unit on a plan to address this.

As of 6 days ago, the .NET Core templates are now published on nuget.org, for 2.1 and newer. It is not immediately clear to me if 1.x and 2.0 templates were deliberately not published, or if the old beta versions published under @sayedihashimi’s account are blocking their upload.
I also want to point out that issues #3178, and #5961 are essentially also requesting this same documentation, and should probably be handled at the same time.

Not sure where the ball was dropped originally, (i just think no one thought about using them in this way) but as part of my investigation on this issue I brought the fact that these missing nuget packages were a hurdle in addressing this scenario. So the team has been working on getting this packaged properly for NuGet and uploaded. I'm glad to hear it! I'll continue working on updating the documentation for this.
Thank you for your patience and help!

@KevinCathcart Can you share where these packages are? I contacted the team and they said they're not published yet.

Strange.
https://www.nuget.org/packages/Microsoft.DotNet.Common.ProjectTemplates.2.1
https://www.nuget.org/packages/Microsoft.DotNet.Common.ProjectTemplates.2.2
https://www.nuget.org/packages/Microsoft.DotNet.Common.ProjectTemplates.3.0
https://www.nuget.org/packages/Microsoft.DotNet.Common.ProjectTemplates.3.1
all seem perfectly published to me.
The 2.0 and 1.x are not published (yet?).
Perhaps what the product team really means is that they are not fully published yet, and that they want to get the 2.0, 1.x, and ItemTemplates published before they consider this done? Or perhaps they want to get certain older versions published too? Not really clear to me.
At the very least those packages that I show above ought to be enough to validate that creating a .net core 2.1 app template from the latest 3.1 SDK works.

Yeah, I'm wondering if as soon as the altered the project files to be compatible with NuGet (or something along these lines) this was incidentally automated.
I'll check with them. Thanks for the links.


feat: adding annotations to Dameon Set of fluent-bit

What this PR does / why we need it:
This PR will add annotations not only to fluent-bit pods, but also to the Daemon Set itself.
This is a slight detail I overlooked in my latest PR ( https://github.com/fluent/fluent-operator/pull/468 )
Which issue(s) this PR fixes:

partially adresses https://github.com/fluent/fluent-operator/issues/456
Does this PR introduced a user-facing change?

With this release you get the ability to add annotations to fluent-bit pods and the fluent-bit Dameon-Set generated.

Additional documentation, usage docs, etc.:

Thanks for your active contribution @momoXD007!
I'm going to invite you as the fluent-operator maintainer!


Use in Unity project

Use in Unity project
I have installed your package to unity project but when build get error not found library? Can you give me the solution, thanks?

Because Unity automatically generates .csproj and .sln files, you can't just add packages to your Unity project with NuGet, because the next time you compile in Unity, it'll override the changes NuGet made to your .csproj file to install the package.


Prefix suffix

Huh? Did it have bugs or something?

It seems they opened a new PR

I added support for negative nilads. Wasn't sure how to include it in the previous pull so I just made a new one.

You just need to push. Github picks it up.

@vendethiel hehe I didn't see that...


SWARM-1631: Move metrics CDI extension into fraction

[x] Have you followed the guidelines in our Contributing document?
[X] Have you created a JIRA and used it in the commit message?
[x] Have you checked to ensure there aren't other open Pull Requests for the same issue?
[X] Have you built the project locally prior to submission with mvn clean install?

Motivation
Simplify MP Metrics impl.
Modifications
Moved client-apis/metrics-api classes  into fraction
Result
Everything should work as before.

@kenfinnigan done


Add authentication

allow user to authenticate and save their highest score and maybe an history of their last 5? games

b08de149177a7123b37d4cb4cdfb6b79c7a9191d

add authentication page, injection and routing
60dd4166ae0f40d42d94700a30f2926443c40b85

add styled authentication page
f8eddfb751d5b13dbab8761665bb660fdb99ed03

Add Authentication BLoC states
6f5e4c54afd78fc7ec79115f06a66654a1698ea3


Add virtualenv installation details in CONTRIBUTING.md

If someone is having both python 2.x and python 3.x, it becomes essential to create virtualenv to separate both.
Also new users who are not aware of this may feel stucked.
This will help users to create virtual environment before getting started.
I will be adding a PR. See if it makes things easier for others.
Any admin here to comment on this issue?

The PR got closed, so we do not need this anymore.


[tool_crash] FileSystemException: Cannot copy file to 'C:\Users\Mukesh\Desktop\testapp\bug\android\app\src\main\res\mipmap-hdpi\ic_launcher.png', OS Error: Access is denied., errno = 5

Command
flutter create bug

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot copy file to 'C:\Users\Mukesh\Desktop\testapp\bug\android\app\src\main\res\mipmap-hdpi\ic_launcher.png', OS Error: Access is denied.
, errno = 5
#0      _File.throwIfError (dart:io/file_impl.dart:635:7)
#1      _File.copySync (dart:io/file_impl.dart:340:5)
#2      ForwardingFile.copySync (package:file/src/forwarding/forwarding_file.dart:30:50)
#3      ForwardingFile.copySync (package:file/src/forwarding/forwarding_file.dart:30:50)
#4      Template.render.<anonymous closure> (package:flutter_tools/src/template.dart:267:18)
#5      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)
#6      Template.render (package:flutter_tools/src/template.dart:190:24)
#7      CreateCommand._renderTemplate (package:flutter_tools/src/commands/create.dart:799:21)
#8      _rootRunUnary (dart:async/zone.dart:1198:47)
#9      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#10     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#11     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#12     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#13     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#14     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#15     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#16     Template.fromName (package:flutter_tools/src/template.dart)
#17     _rootRunUnary (dart:async/zone.dart:1198:47)
#18     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#19     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#20     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#21     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#22     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#23     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#24     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)

[✓] Flutter (Channel stable, 1.22.0, on Microsoft Windows [Version 10.0.10240], locale en-US)
    • Flutter version 1.22.0 at F:\src\Flutter\flutter
    • Framework revision d408d302e2 (8 months ago), 2020-09-29 11:49:17 -0700
    • Engine revision 5babba6c4d
    • Dart version 2.10.0

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Mukesh\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: C:\Program Files\Common Files\Oracle\Java\javapath\java.exe
    • Java version Java(TM) SE Runtime Environment (build 16.0.1+9-24)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[✓] VS Code (version 1.56.2)
    • VS Code at C:\Users\Mukesh\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.20.0

[!] Connected device
    ! No devices available

! Doctor found issues in 3 categories.

Flutter Application Metadata
No pubspec in working directory.

possible duplicate of https://github.com/flutter/flutter/issues/69116
@Priyanshi1234-star
please try this possible solution
also you flutter version is very old, please run flutter upgrade -f

Hi @Priyanshi1234-star
Please follow the details above.
Closing as duplicate of What do you think if we propose Francesc


Add Items Feature

Adding a feature of adding item for users to add the items in the App.

This issue is resolved in #12


jade and stylus mimetypes

Added jade html templating and css stylus preprocessor types
to node.types

mime extension requests should now be made to the https://github.com/jshttp/mime-db project


ProtoV1: update base univ2/v3 master node instances for httpx client improvements

This issue is a continuation of the issue outlined here: https://github.com/PowerLoom/pooler/issues/93
These changes should be applied to the remaining use cases.

The updates have been applied to the Base UniswapV3 branch: https://github.com/PowerLoom/pooler/tree/feat/base_uniswapv3_direct_submissions

All pooler branches for active data markets have been updated with the necessary changes and are live on the node instances. Closing as complete.


[SPARK-37510][PYTHON] Support basic operations of timedelta Series/Index

What changes were proposed in this pull request?
Support basic operations of timedelta Series/Index
Why are the changes needed?
To be consistent with pandas
Does this PR introduce any user-facing change?
Yes.
>>> psdf = ps.DataFrame(
... {'this': [timedelta(1), timedelta(microseconds=2), timedelta(weeks=3)],
...  'that': [timedelta(0), timedelta(microseconds=1), timedelta(seconds=2)]}
... )
>>> psdf
                    this                   that
0        1 days 00:00:00        0 days 00:00:00
1 0 days 00:00:00.000002 0 days 00:00:00.000001
2       21 days 00:00:00        0 days 00:00:02

# __sub__
>>> psdf.this - psdf.that
0          1 days 00:00:00
1   0 days 00:00:00.000001
2         20 days 23:59:58
dtype: timedelta64[ns]
>>> psdf.this - timedelta(1)
0            0 days 00:00:00
1   -1 days +00:00:00.000002
2           20 days 00:00:00
Name: this, dtype: timedelta64[ns]

#  __rsub__
>>> timedelta(1) - psdf.this
0          0 days 00:00:00
1   0 days 23:59:59.999998
2       -20 days +00:00:00
Name: this, dtype: timedelta64[ns]

How was this patch tested?
Unit tests.

Test build #145878 has started for PR 34787 at commit e8d467e.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50353/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50353/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50353/

Test build #145886 has started for PR 34787 at commit e6b7639.

Test build #145886 has finished for PR 34787 at commit e6b7639.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50361/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145886/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50361/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50361/

Test build #145878 has finished for PR 34787 at commit e8d467e.

This patch passes all tests.
This patch does not merge cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145878/

Merged to master.


fix(proptype): allow number as selectedId for radio

Current coverage is 41.32% (diff: 100%)

Merging #30 into master will not change coverage

@@             master        #30   diff @@
==========================================
  Files            32         32
  Lines           242        242
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            100        100
  Misses          142        142
  Partials          0          0

Powered by Codecov. Last update 54ce4fc...fc89e26


InteractionEvent.target is null in 'pointermove' event on touch devices

Expected Behavior
target value should be set to the object which caused this event to be dispatched.
Current Behavior
target value is null
Steps to Reproduce
Just set a pointermove callback on any DisplayObject and log the target property in the callback.

Anyone found a fix for that?

Do app.renderer.plugins.interaction.moveWhenInside = true; and move events from touch will match how they are from a mouse


[Task]: Git integration - documentation improvement

What needs to happen?
This page requires an update to reflect the latest changes in the Apache Hop Git integration feature.
https://hop.apache.org/manual/next/hop-gui/perspective-file-explorer.html
Issue Priority
Priority: 3
Issue Component
Component: Documentation

.take-issue

Is this done @Adalennis ?

Yes, it's done @hansva


XML -> Properties && Solved Issue #30

Replaced the configuration file from XML to Properties (less code and faster)
Added variable to save 'last folder searched' [#30]

This looks good, I specially like the idea of the new .properties format, thanks for solving #30 too. It compiles and looks good overall except for a couple things:

If the executable doesn't find the .properties it throws the following exception, but does not create it or open the UI:
java.io.FileNotFoundException: jmarkpad.properties
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.(Unknown Source)
at java.io.FileInputStream.(Unknown Source)
at ui.UI.loadConfig(UI.java:101)
at ui.UI.start(UI.java:70)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$161(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$174(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177)
at java.lang.Thread.run(Unknown Source)

The .gitnigore file should now contain *.properties instead of *.xml.

I'll test a bit more but everything else looks good.
I will merge as soon as everything is fixed and tested.
Thank you.

Great!!, I will fix these bugs ^^, also I think it is better to ignore only 'jmarkpad.propertis' in place of any file with extension .properties, maybe they will serve in the future.

I agree. Ignoring individual files might be our best option right now. We can manage it easily and adding new files in the future won't be a headache.

Properties file stuff fixed, changed the appearance of About.

I wronged the button, I did not want to close XD

The missing file problem still exists:
java.nio.file.NoSuchFileException: properties\default.properties

I'll review all the changes individually when I have some time to invest into it (Reviewing diferent changes inside a single commit is hard and slow). I'll add to my codebase those that work and are useful and ignore the rest.
Thank you for your contributions.

I forgot to mention:
These are significant changes, feel free to add your name to the Authors section in the README if you are interested, or not if you don't want to, up to you, just wanted to say that for me these are big enough changes to deserve it.
Thank you again.

First of all thank you for your feedback! :)
I would like to better understand the conditions in which the exception occurs, because I do not encounter problems on my PC.

Did you run JMarkPad from your IDE or from Gradle?
Did you download the sources from my repo?
Does the properties folder exist after the build?

Thanks!


User-specific data functions

Add database functions for individual users (such as fetching all of their content to display on their profile, info that they will see only when they are logged in, etc.)
Also add functions for the posts collections, and start creating posts

implemented friend/block and some other funcs, will test in tasks/seed.js

user funcs done! starting posts

still need to test in seed.js, but once posts are done we'll be able to do a proper seed with a full database


Fix Batch management API swagger bug #932

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] Validation errors from the Linter extension for VS Code have all been fixed for this spec. (Note: for large, previously checked in specs, there will likely be many errors shown. Please contact our team so we can set a timeframe for fixing these errors if your PR is not going to address them).
[x] The spec follows the patterns described in the Swagger good patterns document unless the service API makes this impossible.

@dsgouda Could you review the fix?

I think this looks good. @olydis can you take a quick look just to be sure.

@olydis Could you review it? We are waiting this fix in order to enable ARM service.

LGTM!

@olydis @dsgouda Could anyone help me merge it?

No modification for Ruby

No modification for Python

No modification for NodeJS


TF Plan not displayed in Release

Hello @JaydenMaalouf,
Sorry to bother you, I don't know if you follow the closed issues so I create another one here.
I installed your extension and now I can see the "Terraform Plan" tab in the Release stages... BUT it stays empty even with a Terraform plan executed and an output generated...

Can you tell me if I do something wrong or if it is an issue ?
Regards,

Hello @JaydenMaalouf,
Sorry to bother you, I don't know if you follow the closed issues so I create another one here.
I installed your extension and now I can see the "Terraform Plan" tab in the Release stages... BUT it stays empty even with a Terraform plan executed and an output generated...

Can you tell me if I do something wrong or if it is an issue ?
Regards,

Have you ensured that you have called the TerraformOutput task?
This is required to run before the outputs show up

Sorry @JaydenMaalouf , my input was incorrect. Now it works perfectly !
Thanks a lot!

Ok no...
I don't understand why but it's empty again :/
This is strange because the logs are showing it was uploaded...

I can't understand why it worked one time.
@JaydenMaalouf , is it possible that the "Terraform Plan" tab is cleaned when the stage ends ... or when another jobs starts after the one containing your task?

Ok it looks like the tab is cleaned when the job ends.
I manage to see the tab populated like that before the job ends :

But when the stage is complete :

Ok it looks like the tab is cleaned when the job ends.
I manage to see the tab populated like that before the job ends :
But when the stage is complete :

I cannot replicate this behaviour. I tested within 2 organisations and with self-hosted and Microsoft Hosted Agents.
I have found an issue where if you have slow internet, the drop down list may not populate on first click - however, it seems to load fine after attempting to reopen the drop down.
I will attempt to fix that issue in an upcoming release.

Ok it looks like the tab is cleaned when the job ends.
I manage to see the tab populated like that before the job ends :
But when the stage is complete :

I cannot replicate this behaviour. I tested within 2 organisations and with self-hosted and Microsoft Hosted Agents. I have found an issue where if you have slow internet, the drop down list may not populate on first click - however, it seems to load fine after attempting to reopen the drop down. I will attempt to fix that issue in an upcoming release.

Honestly I have this in 100% of my tests.
I use Self Hosted agents. But it is not a slow internet issue at all, it is impossible and I have the same results from differents places and PCs.
And as I said, the terraform Plan tab/the drop down list is populated until the job ends. After it ends, it is empty.
See on the screenshot below, the Terraform Plan tab is populated if I check it during the execution of the 2 tasks I have pointed out in red. After, when the job is finished, the tab become empty :

@JaydenMaalouf  Sorry to bother you again, but do you have any recommendation or workaround to do on my side to make this work ?

@JaydenMaalouf Sorry to bother you again, but do you have any recommendation or workaround to do on my side to make this work ?

Apologies for the delay. I've made a change to the plugin to load the attachments before attempting to render the dropdown. Can you see if this helps?
If not, please open the Developer console. There should be some debug logs in the console, if you can screenshot those and send them here, that would be great!
There should also be a network request, it should look like this:

Please send me the response to this request
The attachments themselves are locked to your organization but please obfuscate as necessary

Hello @JaydenMaalouf ,
Thanks for your answer. No worries for the delay, it's already nice to answer me.
Apparently the fix is not working either, but now instead of nothing in the dropdown : I see a "Loading" message

In fact, in the Network window, I get a 404 error :(

Something weird is that I have 4 "terraform.plan" calls everytime I click on the "Terraform Plan" tab. And there is always one that works :

... but nothing appears in the dropdown.
Again, I really think it can be because I have 4 jobs, and 3 of them can be skipped. Maybe it does 4 calls because I have 4 jobs... 1 works because it really produced a plan the 3 others are failling because they are Skipped/Empty jobs.
Is it something that sounds realistic... and fixable for you ?

Hello @JaydenMaalouf ,
Thanks for your answer. No worries for the delay, it's already nice to answer me.
Apparently the fix is not working either, but now instead of nothing in the dropdown : I see a "Loading" message
In fact, in the Network window, I get a 404 error :(
Something weird is that I have 4 "terraform.plan" calls everytime I click on the "Terraform Plan" tab. And there is always one that works :  ... but nothing appears in the dropdown.
Again, I really think it can be because I have 4 jobs, and 3 of them can be skipped. Maybe it does 4 calls because I have 4 jobs... 1 works because it really produced a plan the 3 others are failling because they are Skipped/Empty jobs. Is it something that sounds realistic... and fixable for you ?

Hello again,
I was successfully able to replicate the issue last night based on your comments. Thanks for being so patient!
I have just pushed up my changes. The results should now successfully load even when a task was skipped or failed.
Please test it out and let me know if it is working as expected!
You may need to force an update on the plugin by navigating to the extensions page in your organisation (it should automatically pull the latest)
ie. https://dev.azure.com/ORG_HERE/_settings/extensions?tab=installed&extension=JaydenMaalouf.terraform-output

Hello @JaydenMaalouf ,
Thanks for your quick answer again, now it seems to work ! Even with my old releases.
Thanks a lot for your help and your reactivity !
Regards,


[ZipkinExporter] ExporterConfig needs to be exported since it is API

Please answer these questions before submitting a bug report.
What version of OpenTelemetry are you using?
0.10.2
What version of Node are you using?
14.8.0
What did you do?
import { ExporterConfig } from '@opentelemetry/exporter-zipkin';
What did you expect to see?
No errors
What did you see instead?
Module '"../node_modules/@opentelemetry/exporter-zipkin/build/src"' has no exported member 'ExporterConfig'.
Additional context
The ZipkinExporter constructor requires the type ExporterConfig which is not exported from the module. It should be exported since it is part of the API.

I would like to work on this, please assign to me


winbox: 3.37 -> 3.38

Note: Since a couple of Wine release, using the Neighbors > Refresh feature of Winbox is broken.
Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

It's not critical yet for me.

All derivations using Wine are using the current pattern, are you sure about this?

@SuperSandro2000 ^^

To fix the issue, read this comment: https://github.com/NixOS/nixpkgs/pull/266855#issuecomment-1858308853


Update PPP-JunJie

Codecov Report

Merging #244 (fc512a8) into master (498c25b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #244   +/-   ##
=========================================
  Coverage     54.56%   54.56%
  Complexity      546      546
=========================================
  Files           112      112
  Lines          2366     2366
  Branches        281      281
=========================================
  Hits           1291     1291
  Misses          988      988
  Partials         87       87

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 498c25b...fc512a8. Read the comment docs.

lgtm

LGTM


UX: "mark observation as read" button from an alert redirect to the main dashboard

It would be much better to redirect to the alert the user was visiting

This was fixed a long time ago.


possible to add custom emote

like implemention for like inworld  emote as commit could be prompt so filter could show it filtered way still with emotion if it is detected

This is an interesting idea. How exactly would it work? If profanity is detected, it would use the original text as a prompt? What's that look like?

the synthetic generated image with visual presentation and if the filter set like ridiculous for it for too sensitive profanity is detected

Ah, ok. So, the idea would be to add a replacement strategy named ridiculous and when that's configured, the issue, issue comment, or PR would be updated to add an embedded emote? I'm not sure if that's possible. Do you have any examples of that working anywhere?

@Janisku7 - Are you able to embed an emote on this issue, as a comment? I could look at the markdown and try to get a better understanding.

Let's convert this into a discussion where we can talk through the details as I'm still unclear of how this might work.


Set ResolvedRef Condition to True in HTTPRoute status when all references are resolved

Gateway API prescribes setting ResolvedRef condition
https://github.com/kubernetes-sigs/gateway-api/blob/c67f3fd31976ea74ea06a78c2a88ae38df95a41d/apis/v1beta1/shared_types.go#L255-L290
NKG already implements it --  https://github.com/nginxinc/nginx-kubernetes-gateway/blob/f74c06ded5c3d647b0909fe542f3e70dbc96774c/internal/state/conditions/conditions.go#L253-L295 -- however, only when references are not resolved.
Implement the happy path case when references are resolved.
Also, conformance tests require it. Example: https://github.com/kubernetes-sigs/gateway-api/blob/6efcfdf8aff7aa7c3ed8deb956e5b93eed779234/conformance/tests/httproute-matching.go#L46
Acceptance criteria:

Set ResolvedRef Condition to True in HTTPRoute status when all references are resolved
Update docs  https://github.com/nginxinc/nginx-kubernetes-gateway/blob/main/docs/gateway-api-compatibility.md#httproute

Additional A/C: Include InvalidListener, UnsupportedValue, and any other undocumented reasons in condition status.


Facing error when trying to open spyder tutorial

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[x] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[x] Reinstalled the latest version of Anaconda
[x] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
This is the error when trying to open spyder tutorial or getting help for a function in rich text format

What steps reproduce the problem?

When trying to open spyder tutorial
Getting help for a function in rich text format

What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version: 4.0.1
Python version: 3.7.4
Qt version:
PyQt version:
Operating System name/version: Windows 10 home

Dependencies

PASTE DEPENDENCIES HERE

@dalthviz, this happens because people install Anaconda in drives different from C:\, but try to load the tutorial from C:\.

@ccordoba12 I uninstalled anaconda and then reinstalled it in c:\ Now it is working fine Thanks .

Thanks for letting us know about it! Still, this is an issue we have to solve.


<IP_ADDRESS>/2 dev/staging gridcoinresearchd fails to daemonize in one shot autotools build

The issue is that with a full autotools build where both the daemon and GUI version are built at the same time (i.e. with the config option --without-gui not set), the daemon is built with QT_GUI set. This causes the macros in init.cpp to malfunction, so the daemon built this way is actually broken. (It runs, but is not daemonized/will not fork to the background or respond to an rpc stop command.) To solve the problem, I have put in PR #1074, which implements a global flag fQtActive that is initially set in init.cpp to false. If Gridcoin is started via main in qt/bitcoin.cpp, this will be set to true. I replaced and/or augmented the macro defs in init.cpp to use if statements to check for the status of fQtActive to determine daemon behavior.

Probably right, (the & is a good thing...) but other bitcoin derivatives have it. Not sure we want to deviate too much. Also, without this change StartShutdown() (called when rpc stop is issued) malfunctions and does nothing.
Sent from my iPhone

On May 2, 2018, at 6:24 PM, Tomáš<EMAIL_ADDRESS>wrote:
I think that daemonize / fork to background should be removed, because the same functionality is provided by shell or systemd.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

This should be working now, right?

Yes. Let’s close it.
Sent from my iPhone

On May 28, 2018, at 3:18 PM, Marco Nilsson<EMAIL_ADDRESS>wrote:
This should be working now, right?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Lost keyboard shortcut to open host terminal

I just noticed on a system that the keyboard shortcut Ctrl + Alt + t no longer opens a terminal. Earlier it would have opened gnome-terminal which is now replaced in favor of prompt.
The code below is removed from the code base. Can we bring that shortcut back so that it launches a terminal again, in this case probably prompt?
https://github.com/ublue-os/bluefin/blob/94bb013a241e40c74d381100dc3b166c2e033c32/usr/etc/dconf/db/local.d/01-ublue#L55-L58
If its intended we can close this, otherwise its just as a reminder so that we can add it back in later

The shortcut should now be offered by the new nautilus extension, looking into it


no mqtt updates after some time

for documentation:
the library ha-mqtt-discoverable does not send updates to Home Assistant after some time. It seems that the mqtt connection has been interrupted and the library does not reconnect.
As a needed feature is missing in the current version of ha-mqtt-discoverable, Version 0.4.1 is still needed. So a test with the current version is not possible
see https://github.com/unixorn/ha-mqtt-discoverable/issues/84

I noticed this as well, so I modified the script to run it every minute using a cron job rather than having it running in a continuous loop. Running the script every minute seems to work for me, link to my fork: https://github.com/miquelbeltran/Home-Assistant-Tripower-X-MQTT
Notice that I do a for in range(2) because I need to loop at least twice for all the info to be reported correctly, I am not sure if that's an issue with the ha-mqtt-discoverable library. I've thought about migrating to a more recent version but it was too much work.

Thanks for the changes. I integrated some of them.
2 loops:
Based on our idea, I added a "ExitAfter" Parameter to the yaml-File.
ExitAfter: 2
no updates:
when the update stops, I receive debug messages of this kind
state publication results: (4, 7240)
state publication results: (4, 7241)
state publication results: (4, 7242)
state publication results: (4, 7243)

(0 has been changed to 4)
According to the source code, there are the return values from the mqtt library
                pub = self.mqtt_client.publish(
                    config_topic, config_message, retain=True
                )
                logging.debug(f"state publication results: {pub}")
                self.configured[metric_config] = True

And from the paho-mqtt-library
client.py:MQTT_ERR_NO_CONN = 4
I assume a reconnect or similar is missing.
But I don't want to debug the old versions of the ha-mqtt-discoverable library.  But also I cannot use the current version,  because of the missing feature. hope that the developers of ha-mqtt-discoverable will add the removed feature back.


Build is failing on Travis

Hey @eXon, thanks for the great work on this.
But it appears that the latest build is failing on SauceLabs, it apparently started on the iPhone tests
06 11 2017 15:57:18.728:ERROR [launcher.sauce]: Can not start iphone 8.2 (OS X 10.10)

Yes, the errors say that the account has no permission to start the sauce tests ({"message": "Not authorized"}).
Likely the repo owner has not renewed their plan at saucelabs and this why (all of) the saucelabs tests are failing.

Open source projects are free with saucelabs so the plan should not be an issue. I'll take a look, this is anoying I agree.

It looks like opera was causing some troubles. I experienced some problems with iPhone as well, but that bug was random (re-running the same build would work if it failed).
Now it works :)


Validation migration fix

Pull requests into this repository require the following checks to be completed by the submitter and reviewers.
Changes in this PR:

Added new Makefile commands to run the validations and resources migrations from within the capability receiver docker container.
Made the validation_result_id field a nullable int when storing and retrieving it from the fhir_endpoints_info table.

To finish up fixing this staging bug:
Once these changes are added to staging, we will need to run the validation migration command, and then remove all endpoints that are in the fhir_endpoints_info table but not the fhir_endpoints table
Submitter:

[x] Administrative tasks are complete.

This pull request describes why these changes were made.
The JIRA ticket links to this PR.
The JIRA ticket for this PR is: Lantern 439 JIRA Ticket

[x] Tests are complete.

Tests are included and test edge cases.
Tests have been run locally and pass.

[x] Code review has been performed.

Code diff has been done and checked to ensure only expected code is being committed.
A linter for the language has been run.

Primary Reviewer:

[ ] Code works.

Code has been run locally and the basic functionality affected by the PR has been checked.
Edge cases have been checked to ensure behavior is as expected.

[ ] Code review has been performed.

Code is maintainable, reusable, efficient, and correct.
Code accomplishes the tasks purpose.
Code follows style guidance appropriate for the language, including passing linter checks.
Code is well commented (which does not mean verbosely commented).

[ ] Tests are complete.

Tests are included and test edge cases.
Tests have been run locally and pass.

Merger:
Prior to merging, ensure that all checks have been completed. Delete the branch after the merge
is complete.

So as a test, I pull [null] for one of the validation_result_id using pgadmin and then restarted the endpoint manager and got this error:
capability_querier_1   | time="2022-02-18T22:37:35Z" level=warning msg="Got error:\nsql: Scan error on column index 12, name \"validation_result_id\": converting NULL to int is unsupported\n\nfrom URL: https://epicsoap.nortonhealthcare.org/FHIRPRD/api/FHIR/DSTU2/"
capability_querier_1   | time="2022-02-18T22:37:35Z" level=warning msg="sql: Scan error on column index 12, name \"validation_result_id\": converting NULL to int is unsupported"

I would've thought that adding the validationResultIDNullable would've made it so that this error wasn't thrown? If I'm misunderstanding how this works that's fine, at least things don't crash, i just wanted to check that I'm understanding what's going on!


How do I only use 1 or 2 classes for the YOLO example?

Hi I love the framework. How do I make it so yolo won't use every class, for instance so it will work on just humans?

You can simply ignore the bounding boxes for the non-human classes, or retrain YOLO so that it will only recognize humans and nothing else.


Bug: Pydantic Json type is disregarded when creating mock data

Description
It seems like the pydantic_factory completely disregards a given Json type for a field.
I ran into the problem today while trying to create test with a more nested model, but realized it's reproduceable with the simplest of examples.
From a small investigation, it seems that the FieldInfo.metadata parsing is lacking and is just completely disregarding the Json type if found in the metadata.
https://github.com/litestar-org/polyfactory/blob/f54f9f3c0b849a2d06bf4a5332da80ccdc31d1a9/polyfactory/factories/pydantic_factory.py#L89-L92
And I guess the parse_constrraints function itself
https://github.com/litestar-org/polyfactory/blob/f54f9f3c0b849a2d06bf4a5332da80ccdc31d1a9/polyfactory/field_meta.py#L162-L207
I contemplated trying to fix it but at least for now I don't really know how to proceed.
MCVE
from pydantic import BaseModel, Json
from polyfactory.factories.pydantic_factory import ModelFactory

class BasicTestModel(BaseModel):
    body: Json[int]

class BasicTestFactory(ModelFactory):
    __model__ = BasicTestModel

basicTest = BasicTestFactory.build()

Steps to reproduce
1. Create a Model with a Json field.
2. Create a Factory for the model.
3. Try to build a mock model with the factory.

Logs
Traceback (most recent call last):
  File ".../polyfactory-json/test.py", line 40, in <module>
    basicTest = BasicTestFactory.build()
                ^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../polyfactory/factories/pydantic_factory.py", line 310, in build
    return cls.__model__(**processed_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../pydantic/main.py", line 150, in __init__
    __pydantic_self__.__pydantic_validator__.validate_python(data, self_instance=__pydantic_self__)
pydantic_core._pydantic_core.ValidationError: 1 validation error for BasicTestModel
body
  JSON input should be string, bytes or bytearray [type=json_type, input_value=6014, input_type=int]
    For further information visit https://errors.pydantic.dev/2.1.2/v/json_type

Litestar Version

Platform

[X] Linux
[X] Mac
[ ] Windows
[ ] Other (Please specify in the description above)

With a bigger model it will just not serialize the inner model, say like so
class TestModel(BaseModel):
    a: str

class TestBiggerModel(BaseModel):
    body: Json[TestModel]

class BiggerModelFactory(ModelFactory):
    __model__ = TestBiggerModel

testModel = BiggerModelFactory.build()

Which will result in
pydantic_core._pydantic_core.ValidationError: 1 validation error for TestBiggerModel
body
  JSON input should be string, bytes or bytearray [type=json_type, input_value=TestModel(a='TFnKscxAopHrrUFSSDMP'), input_type=TestModel]

@Lyrete you can work around this issue for now by calling the build method with factory_use_construct set to True.
class TestModel(BaseModel):
    a: str

class TestBiggerModel(BaseModel):
    body: Json[TestModel]

class BiggerModelFactory(ModelFactory):
    __model__ = TestBiggerModel

     @classmethod
    def build(cls, **kwargs: Any) -> BiggerModelFactory:
        return super().build(factory_use_construct=True, **kwargs)

testModel = BiggerModelFactory.build()

One drawback to this is that the validation upon instantiation is disabled when using this approach.


[Analytics] Top Applications with most traffic

This is not even supported in 3.2.0. Consider this as an improvement.


Release 0.13.1

Mainly to pickup #583

I did a 0.13.0 release...however, we may also think about creating a release-0.12 branch to cherry pick fixes to that e.g. rpm-ostree could consume without porting too?    Maybe it's not worth it.


document that CameraRoll is not implemented on Android

The CameraRoll API shows up "unsuffixed" in the API list in the docs, so it is confusing to find that it is unimplemented on Android.

Okay, we just need to remove it once we open source the Android implementation: https://facebook.github.io/react-native/docs/known-issues.html

@facebook-github-bot shipit

@whokilledtheelectricmonk Any idea when this will be open sourced ?


imageID, userdata values from pre existing AWS Launch templates do not sync back to Rancher

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Create an EKS cluster in EKS console using a launch template
The launch template has been created using custom AMI, and userdata field also has value.
Custom AMI: ami-020b9012dfce5d885
userdata

MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="==MYBOUNDARY=="
--==MYBOUNDARY==
Content-Type: text/x-shellscript; charset="us-ascii"
#!/bin/bash
set -ex
B64_CLUSTER_CA=<Certificate authority>
API_SERVER_URL=<API server endpoint>
K8S_CLUSTER_DNS_IP=<Service IPv4 range (without the /16)>
/etc/eks/bootstrap.sh <cluster name> --b64-cluster-ca $B64_CLUSTER_CA --apiserver-endpoint $API_SERVER_URL --dns-cluster-ip $K8S_CLUSTER_DNS_IP
--==MYBOUNDARY==--\

Wait for the cluster, nodegroups to come up Active in EKS console
Import this cluster into Rancher.
View in API of the cluster when the cluster comes up Active:

pstreamSpec": {
"amazonCredentialSecret": "cattle-global-data:cc-bkmvz",
"displayName": "sowmya-import-3",
"imported": true,
"kmsKey": "<key>",
"kubernetesVersion": "1.18",
"loggingTypes": [ ],
"nodeGroups": [
{
"desiredSize": 2,
"diskSize": null,
"ec2SshKey": null,
"gpu": null,
"imageId": null,
"instanceType": null,
"labels": { },
"launchTemplate": {
"id": "lt-000fe5d30da786b02",
"name": "sowmya-custom-ami",
"type": "/v3/schemas/launchTemplate",
"version": 3
},
"maxSize": 2,
"minSize": 2,
"nodegroupName": "sow-custom-ami-new",
"requestSpotInstances": false,
"resourceTags": null,
"spotInstanceTypes": null,
"subnets": [ 3 items
"subnet-ee**",
"subnet-1e**",
"subnet-61**"
],
"tags": { },
"type": "/v3/schemas/nodeGroup",
"userData": null,
"version": "1.18"
}
],
"privateAccess": false,
"publicAccess": true,
"publicAccessSources": [
"<IP_ADDRESS>/0"
],
"region": "us-east-2",
"secretsEncryption": true,
"securityGroups": null,
"serviceRole": null,
"subnets": null,
"tags": {
"key1": "value1"
},
"type": "/v3/schemas/eksClusterConfigSpec"
},
"virtualNetwork": ""
},

Edit cluster --> Image ID and userdata fields are blank

Expected Result:
Image ID and userdata fields should reflect what is available in the EKS backend.
Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.5-head - commit id: 3e96d7fb
Installation option (single install/HA): single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Import EKS
Kubernetes version (use kubectl version):

1.18(Any)

This is the expected behavior. Rancher does not sync back the launch template information for user-provided launch templates because that would require that Rancher overwrites the cluster's Spec, which we shouldn't do.
This is also consistent with EKS: any value that is set in the launch template in EKS says "Provided in launch template".

Confirmed with @rmweir that this is expected behavior so we can close. As Donnie, said the actual EKS cluster does not contain these fields, as they exist in the launch template which we are just referencing.

Closing the issue based on comments - https://github.com/rancher/rancher/issues/31321#issuecomment-779239830 and https://github.com/rancher/rancher/issues/31321#issuecomment-780699488


Fix Building with no RSA Support

With both LIBSPDM_RSA_SSA_SUPPORT and LIBSPDM_RSA_PSS_SUPPORT switched off, any file which references the cryptlib_rsa.h header file will have an undefined reference.
Fix by switching out all functions which depend on RSA support

Thanks. I guess I checked with one on and one off, but didn't check with both of them off. We'll want to add disablement of algorithms to CI/CD, probably in the case where all the capabilities have been disabled.

Thanks. I guess I checked with one on and one off, but didn't check with both of them off. We'll want to add disablement of algorithms to CI/CD, probably in the case where all the capabilities have been disabled.

No problem, I've checked building with all algorithm support off and there are a number of compilation issues, mostly regarding unit tests.