BUG: -no-rpath is for mac only

Linux users are having problems building Qt5 with the -no-rpath flag. This PR changes the Qt-build script so that it sets -no-rpath only in macOS. See also issue #42 and:
https://discourse.slicer.org/t/compile-errors-pop-os-ubuntu-with-qt-5-10/2576/2
I tested this changeset in Linux but I do not have an easy way to test it in macOS

Tested on Linux and mac (just that the config is set up correctly). LGTM, thanks.


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[x] Tests pass
[x] Appropriate changes to README are included in PR

92e46680c873f9145a17a7cafeb1fcf5fd40c923

CLA : gauntface ,
marga-google ,
marga-personal


[Privacy] How to disable and purge screenshots

Hi,
I had a quick search of open issues and could not see one that matched up; so here's the feature request.
When using UTM; UTM is periodically taking screenshots of the VM display, and, if the VM is shut down, that preview will remain. This is a privacy concern for users of UTM if the VM manager is effectively displaying their last activity, including open browsers, names, etc clearly displayed.
This request is to add an option disabling VM preview in the VM manager screen.
Many thanks,
VD

Okay, so I did some digging, there's an option "Do not save VM screenshot to disk".

Enabling this will achieve the desired result but it will not remove screenshots that already exist. So I found a workaround -:

Open your favourite terminal
USER=$USER_MACOS_USERNAME
cd /Users/peterdesousa/Library/Containers/$USER/Data/Documents
ls and note you should see your VMs in this folder. Ending .utm. These are folders, cd into your target VM
Once in the VM you can run rm screenshot.png
Exit UTM
Reopen - the screenshot was removed for me.

I think I can close this issue for now; given that I have provided a workaround for screenshot purging,
Cheers,
VB

Would it be useful if we delete the last saved screenshot the next time a VM is launched after “do not save screenshots” is checked?

hey @osy yes, I think after enabling the feature purging should occur,
VD

hey @osy I created a draft which might be suitable for addressing this issue, let me know what you think,


handle partition config in browser context

We should delete the data of in memory BrowserContext on filesystem when it is destroyed.

We should delete the data of in memory BrowserContext on filesystem when it is destroyed.

There is no disk backed data for temporary browserContext, it is made to behave as incognito mode , so each storage context takes care of its data purging. Am i missing something here ?

There is no disk backed data for temporary browserContext, it is made to behave as incognito mode , so each storage context takes care of its data purging. Am i missing something here ?

brightray itself is writing things into filesystem, like the Preferences file.

If there is no path available for the preferences file then none seems to be created (tested locally) and offtherecord paths are not created, so we can assume its safe to ignore about the preferences for temporary partitions ?

If there is no path available for the preferences file then none seems to be created (tested locally) and offtherecord paths are not created, so we can assume its safe to ignore about the preferences for temporary partitions ?

What did you mean by "no path available for preferences file"?

Currently partition data are found under <APP_DATA_DIR>/Partitions/<ParititonID> directory. For temporary partitions, the PartitionID directory is not created, thats what i meant by no path available for preferences to be created.

It sounds good to ignore that then :+1:.


Plot_graph.py added to Other Algorithms

Have you read the Contributing Guidelines on Pull Requests?
YES
Description
As assigned by @HarshCasper for issue #1745, I have added the code for plotting various function in the graph using the matplotlib library of python.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#1745
I request @iamrajiv, @HarshCasper and @atarax665 to review this PR. Thank you 👍

@atarax665 @iamrajiv  the NOTE is added, please review

@atarax665 @iamrajiv  the NOTE is added, please review


Bug - Virtual Connection default permissions

Describe the bug
In #1463 I've added support for virtual connection project permissions. I've now realized that they don't work.
Default virtualconnection permissions have been defined in project_item as follows:
self._default_virtualconnection_permissions = None
......
@property
def default_virtualconnection_permissions(self):
    if self._default_virtualconnection_permissions is None:
        raise UnpopulatedPropertyError(self.ERROR_MSG)
    return self._default_virtualconnection_permissions()

While populating permissions, we use Resource.VirtualConection  referencing models/tableau_types
@api(version="3.23")
def populate_virtualconnection_default_permissions(self, item: ProjectItem) -> None:
    self._default_permissions.populate_default_permissions(item, Resource.VirtualConnection)

class Resource:
    ...
    VirtualConnection = "virtualConnection"

Issue occurs while populating the permissions, as _set_default_permissions function tries to set the attribute _default_virtualConnection_permissions instead of _default_virtualconnection_permissions
def _set_default_permissions(self, permissions, content_type):
    attr = f"_default_{content_type}_permissions"
    setattr(
        self,
        attr,
        permissions,
    )

Possible solutions:

Change virtualConnection definition in models/tableau_types.py to virtualconnection - could this be a breaking change for sth?
Change default_virtualconnection_permissions to default_virtualConnection_permissions - snake case / camel case hybrid?  not a good look
Change attr = f"_default_{content_type}_permissions" so it uses only lowercase

I've created the issue instead of directly raising a PR as I am not sure which one of these changes would be prefered

My opinion is option 3. I agree that mixing camel and snake case is visually unappealing, inconsistent, and possibly confusing later.


Upgrade Capybara

Upgrades Capybara, mostly to avoid the annoying deprecation that the older version outputs saying that matchers are implemented with the legacy RSpec API (matchers converted in 2.4.1).

@miq-bot add_label rspec3, test

@Fryguy @chessbyte


stow the created template on the parser

The variable result was a dangling reference when returning from Parser::parse function, so we stash the template on the Parser and use a reference to that object instead.

This change has been proposed to upstream in https://github.com/pantor/inja/pull/288, but that repo does not see much maintenance.

https://github.com/solo-io/inja/pull/8


Add support for .populate({ select: [] })

The select is being ignored.. getting back the full records instead of just the titles.
Model.find().populate(assoc.alias, { select: ['title']});

Not sure if its only on mongo?
UPDATE @dmarcelino: changed this issue into a feature request.

Hello guys, any news on this issue ?

is this supported?

What happened to this feature? Is it supported? It doesn't work on Sails 1.2.3.

I made some tests. It works currently only with a population of one-to-many relationship.
I made a pull request to solve the one-to-one relationship issue:
#1613

I made some tests. It works currently only with a population of one-to-many relationship.
I made a pull request to solve the one-to-one relationship issue:
#1613

Some news about it?

I made some tests. It works currently only with a population of one-to-many relationship.
I made a pull request to solve the one-to-one relationship issue:
#1613

Any news about it?

I'm still waiting for anyone of the guys to review the pull request. If you really need to solve the issue immediately just update lib/waterline/utils/query/forge-stage-two-query.js like this:
https://github.com/balderdashy/waterline/pull/1613/commits/682f1e3adc244f4ebf95e06e6593e9ff73a4b016
I did it in most of my projects and until now I didn't face any problems with the fix. But as the pull request has not yet been accepted, please make sure to have a backup.

Do the limitations in Waterline currently stand at:

We can only use select sub criteria in populates for one-to-many relationships.
There is no support with this feature for many-to-many.
The current version (although written as supported in lib/waterline/utils/query/forge-stage-two-query.js) doesn't work as per comments above for one-to-one relationships?


Improve text & image alignments

These texts & images under "Trending Post" are not aligned in middle, if i aligned these in middle, it would make this website look better.
I want to Fixed these issue properly. @ANSHIKA-26  please assign me this task.

@ANSHIKA-26 PR I don't think a similar problem already exists. Please check and assign me for this issue.

/assign

@hiteashgupta1   assign me

@AK261102 He has first raised issue
Ask him if he needs help

@AK261102 Ooo its okay

@Subhajit-2023-44 Do I assign him

@hiteashgupta1 ok

assign me this task sir.

please assign me this issue

@Subhajit-2023-44 ?

@AK261102 He has first raised issue Ask him if he needs help

....

@Subhajit-2023-44 ?

wait wait

please assign me this issue
@Subhajit-2023-44

please assign me this issue
@Subhajit-2023-44

already done, i just forget to give PR


Fixes javadoc gen for 21w13a

Closes #2217
Fixes some leftover minor stuff from unpick pr
Named FLOAT_PROVIDER_TYPE_KEY since the name inferer just infers FLOAT_PROVIDER_TYPE name, and it conflicts with the next registry field's name. Like a bug in stitch?

So here we go again https://maven.fabricmc.net/docs/yarn-21w13a+build.7/


Accept options after HTTP method

http --form POST etc works but not http POST --form, which is surprising.

The general limitation is that --options cannot be placed between positional arguments.


[improvement][tired-storage] fix typo in JCloudBlobStoreProvider

Motivation
There is a typo in JCloudBlobStoreProvider. It can cause 403 when use S3 as long term storage
Modifications
fix typo from ACCESS_KEY_ID to ACCESS_KEY_SECRET
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no )

Documentation
Check the box below or label this PR directly.
Need to update docs?

[ ] doc-required
(Your PR needs to update docs and you will update later)

[x] doc-not-needed
(Please explain why)

[ ] doc
(Your PR contains doc changes)

[ ] doc-complete
(Docs have been already added)

Without this change do you get an error like:

Thank you for your contribution @yapxue! It looks like this was already fixed in #15814. Our project targets fixes to master and then cherry-picks them to affected release branches. I just cherry picked this fix to branch-2.10. I am going to close this PR since the change is already present. Please let me know if you have any questions.


More information about failing Netamo requests

Hi,
First I would like to thank you for this amazing project! I am using the NetatmoWebClient in a project and it works really well.
One thing I would like is more information in the exception about why the call the the api is failing. I created a pull request, https://github.com/philipdaubmeier/GraphIoT/pull/4, that shows what I have in mind.

Thanks for the kind words and thanks already for contributing! I'll have a look at it. Rich error information is definitely an important thing to have and makes total sense to improve on the library.

Hi Abrissirba, I have refined the code a little bit, added unit tests and merged it back in - thanks again for contributing!

Awesome! Definitly well motivated refinements :)


fix: move definition of 'color wheel'

Describe the Issue
Color wheel concept is introduced in lesson 32, but not defined until lesson 36.
Suggest moving definition of 'color wheel' to where it is first introduced in step 32, remove definition from step 36
Affected Page
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-css-colors-by-building-a-set-of-colored-markers/step-32
Your code
n/a

Expected behavior
definition of 'color wheel' appearing where it is first introduced in step 32
Screenshots

System

Device: [e.g. iPhone 6, Laptop] n/a
OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] n/a
Browser: [e.g. Chrome, Safari] n/a
Version: [e.g. 22] 22

Additional context
advised to open this issue here: PR 51218

Honestly, I'd argue to remove , and falls between the two colors on the color wheel entirely.

Honestly, I'd argue to remove , and falls between the two colors on the color wheel entirely.

So, should I remove the text mentioned by you?

this issue is still open ?

this issue is still open ?

Sorry for interruption but I have already created a pull request which is waiting for maintainer's approval.🖐

This issue is not yet open for contribution.

I agree, we should just remove the color wheel part.

Thanks for opening this issue.
This looks like something that can be fixed by "first-time" code contributors to this repository. Here are the files that you should be looking at to work on a fix:
List of files:

Step 32

The text:

This is because orange is the combination of red and yellow, and falls between the two colors on the color wheel.

Should be changed to:

This is because orange is the combination of red and yellow.

Please make sure you read our guidelines for contributing, we prioritize contributors following the instructions in our guides. Join us in our chat room or our forum if you need help contributing; our moderators will guide you through this.
Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first.
Happy contributing.


Add camera to fit default project size

The Godot project size defaults to 1152x648 which is 60% of the viewport in Pong. So adding a camera with 0.6 zoom makes the game fit in the default viewport. And makes it look odd in other sizes.
Also now the HUD layer follows the viewport size.
https://phabricator.endlessm.com/T35515

Tested on new project and looks good to me!


Separate Footer from Background

Separated footer from background.
Remove paper size options.
Remove
Remove dndbackgroundimg.sty.
Use tikz for background and scroll.
Use tikz for footer text layout.
Use simpler footer style for bg-none package option.

It's great that this eliminates the bg-a4 and bg-letter options too. I opened a PR against your feature branch that uses a vector version of the footer.

Thanks for the .pdf file of the footer scroll @benwebber!


runtime: move tests for runtime-gdb.py to misc/ and do not run them during all.bash

The tests in runtime-gdb_test.go, for the GDB bindings in runtime-gdb.py, have historically been very flaky. They are currently skipped on a large fraction of platforms due to:

#15603
#17366
#18784
#20821
#21380 / #22021 / #22687
#22893
#25939
#28558
#29508
#35710
and what appears to be an untracked issue for 'darwin': a skip was added in CL 20193, but neither the code itself nor any of the commentary I could find on the code review explains why gdb does or did not work on that platform.

If we had an incoming change to add a test with this many skips today, I suspect that we would turn it down: it tests what is supposed to be cross-platform code, but only checks the actual behavior of that code for a narrow subset of users — because that behavior does not work reliably across platforms.
But it doesn't work reliably on the remaining tested platforms either: despite all of those skips, the tests are still flaky today:

#24616

Possibly fixed in CL 233942, which notes:

This part of the test has been flaky despite repeated attempts to fix it,
and it is unclear what exactly it is testing. Remove it.

#25697
#35743
#37366
#37405
#37794
#39021
#39025
#39228
#43068
#43825

#39021 in particular describes a regression during the 1.15 cycle that is interfering with the SlowBots and TryBots on pending CLs, will likely interfere with release testing as well, and so far has resisted attempts at bisection because the test (and its failure mode) is highly nondeterministic.
If we consider the runtime “incorrect” if it does not work with gdb, then we should take the time to fix and maintain the Go bindings properly and portably  — not just Skip their tests! — in the same way that we fix and maintain other features of the runtime across platforms. Otherwise, it is not appropriate to run the tests for those bindings as part of the tests for the runtime package, which is a dependency of most Go binaries (and is therefore likely to have its tests run in users' CI systems).
Most of the other Go project tests for integration with third-party tools are in the misc subdirectory. I propose that we move the gdb integration tests there.
I further propose that we should not run these tests as part of all.bash, run.bash, or on the Go project builders until such time as they can be made reliable, with only one Skip based on a check for a gdb executable at a sufficiently recent version.

I don't think this has to be a proposal, in that I don't think it has to go through the proposal committee.  This does not affect any user visible API.  I think the runtime package maintainers can decide.

The tests in runtime-gdb_test.go, for the GDB bindings in runtime-gdb.py ...

TestGdbBacktrace doesn't actually load the python script. It just gets GDB to execute a Go program, sets a breakpoint and triggers a backtrace. It is one of the few places where we test that the debug information in a Go executable can be consumed by a debugger like GDB.
I'm not sure what the solution to the flakiness is but I think having basic GDB support is valuable and should be tested on platforms where GDB is available. In particular I think we should continue to run the tests on the builders wherever possible - even if it is just a subset of platforms.

@mundaym

I'm not sure what the solution to the flakiness is but I think having basic GDB support is valuable and should be tested on platforms where GDB is available.

Note that we already do not test basic GDB support on most platforms for which GDB is available, due to the bugs mentioned in the first section.¹ If we agree that that support is valuable, then we should remove those skips and fix the behavior on those platforms. If we don't fix the tests when they are broken, what's the point in running them?
Either way, I still don't think these tests belong with the runtime package: they are testing integration with a third-party tool (gdb), not the Go-observable behavior of the runtime package.
¹
https://github.com/golang/go/blob/5c802c13e88b700b9acaf390d495a92101214e2b/src/runtime/runtime-gdb_test.go#L22-L50

This didn't happen for 1.15 (and the gdb tests seem to have gotten a bit more reliable, too).  Changing milestone to 1.16.

FYI, maybe related to
https://sourceware.org/bugzilla/show_bug.cgi?id=20301

I just encountered one on tip:
##### GOMAXPROCS=2 runtime -cpu=1,2,4 -quick
--- FAIL: TestGdbPythonCgo (2.21s)
    runtime-gdb_test.go:76: gdb version 9.2
    runtime-gdb_test.go:269: gdb output:
        Loading Go Runtime support.
        Loading Go Runtime support.
        Breakpoint 1 at 0x49a289: file /tmp/go-build247077086/main.go, line 27.
        [Thread debugging using libthread_db enabled]
        Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
        hi

        Thread 1 "a.exe" hit Breakpoint 1, main.main () at /tmp/go-build247077086/main.go:27
        27              gslice = slicevar
        BEGIN info goroutines
        * 1 running  syscall.Syscall
          2 waiting  runtime.gopark
          3 waiting  runtime.gopark
          4 waiting  runtime.gopark
          18 waiting  runtime.gopark
        END
        BEGIN print mapvar
        $1 = map[string]string = {["abc"] = "def", ["ghi"] = "jkl"}
        END
        BEGIN print slicemap
        $2 = map[string][]string = {["e"] = []string = {"f", "g", "h"}, ["a"] = []string = {"b", "c", "d"}}
        END
        BEGIN print strvar
        $3 = "abc"
        END
        BEGIN print chanint
        $4 = chan int = {99, 11}
        END
        BEGIN print chanstr
        $5 = chan string = {"spongepants", "squarebob"}
        END
        BEGIN info locals
        mapvar = map[string]string = {["abc"] = "def", ["ghi"] = "jkl"}
        chanstr = chan string = {"spongepants", "squarebob"}
        chanint = chan int = {99, 11}
        strvar = "abc"
        slicemap = map[string][]string = {["e"] = []string = {"f", "g", "h"}, ["a"] = []string = {"b", "c", "d"}}
        ptrvar = <optimized out>
        slicevar = []string
        END
        BEGIN goroutine 1 bt
        #0  main.main () at /tmp/go-build247077086/main.go:27
        END
        BEGIN goroutine all bt
        #0  main.main () at /tmp/go-build247077086/main.go:27
        No such goroutine:  17
        #0  runtime.gopark (unlockf={void (runtime.g *, void *, bool *)} 0xc00003afb0, lock=0x554130 <runtime.forcegc>, reason=17 '\021', traceEv=20 '\024', traceskip=1) at /home/changkun/dev/godev/go-gerrit/src/runtime/proc.go:337
        #1  0x00000000004385e5 in runtime.goparkunlock (lock=<optimized out>, reason=<optimized out>, traceEv=<optimized out>, traceskip=<optimized out>) at /home/changkun/dev/godev/go-gerrit/src/runtime/proc.go:342
        #2  runtime.forcegchelper () at /home/changkun/dev/godev/go-gerrit/src/runtime/proc.go:276
        #3  0x0000000000464e61 in runtime.goexit () at /home/changkun/dev/godev/go-gerrit/src/runtime/asm_amd64.s:1445
        #4  0x0000000000000000 in ?? ()
        #0  runtime.gopark (unlockf={void (runtime.g *, void *, bool *)} 0xc00003b7a8, lock=0x554280 <runtime.sweep>, reason=12 '\f', traceEv=20 '\024', traceskip=1) at /home/changkun/dev/godev/go-gerrit/src/runtime/proc.go:337
        #1  0x0000000000423e88 in runtime.goparkunlock (lock=<optimized out>, reason=<optimized out>, traceEv=<optimized out>, traceskip=<optimized out>) at /home/changkun/dev/godev/go-gerrit/src/runtime/proc.go:342
        #2  runtime.bgsweep (c=chan int) at /home/changkun/dev/godev/go-gerrit/src/runtime/mgcsweep.go:163
        #3  0x0000000000464e61 in runtime.goexit () at /home/changkun/dev/godev/go-gerrit/src/runtime/asm_amd64.s:1445
        #4  0x000000c00001c070 in ?? ()
        #5  0x0000000000000000 in ?? ()
        #0  runtime.gopark (unlockf={void (runtime.g *, void *, bool *)} 0xc00003bf78, lock=0x554320 <runtime.scavenge>, reason=13 '\r', traceEv=20 '\024', traceskip=1) at /home/changkun/dev/godev/go-gerrit/src/runtime/proc.go:337
        #1  0x0000000000421d36 in runtime.goparkunlock (lock=<optimized out>, reason=<optimized out>, traceEv=<optimized out>, traceskip=<optimized out>) at /home/changkun/dev/godev/go-gerrit/src/runtime/proc.go:342
        #2  runtime.bgscavenge (c=chan int) at /home/changkun/dev/godev/go-gerrit/src/runtime/mgcscavenge.go:265
        #3  0x0000000000464e61 in runtime.goexit () at /home/changkun/dev/godev/go-gerrit/src/runtime/asm_amd64.s:1445
        #4  0x000000c00001c070 in ?? ()
        #5  0x0000000000000000 in ?? ()
        #0  runtime.gopark (unlockf={void (runtime.g *, void *, bool *)} 0xc00003a740, lock=0x581530 <runtime.finlock>, reason=16 '\020', traceEv=20 '\024', traceskip=1) at /home/changkun/dev/godev/go-gerrit/src/runtime/proc.go:337
        #1  0x0000000000418c66 in runtime.goparkunlock (lock=<optimized out>, reason=<optimized out>, traceEv=<optimized out>, traceskip=<optimized out>) at /home/changkun/dev/godev/go-gerrit/src/runtime/proc.go:342
        #2  runtime.runfinq () at /home/changkun/dev/godev/go-gerrit/src/runtime/mfinal.go:177
        #3  0x0000000000464e61 in runtime.goexit () at /home/changkun/dev/godev/go-gerrit/src/runtime/asm_amd64.s:1445
        #4  0x0000000000000000 in ?? ()
        END
        No breakpoint at main.go:15.
        Breakpoint 2 at 0x49a41f: file /tmp/go-build247077086/main.go, line 30.
    runtime-gdb_test.go:271: gdb exited with error: signal: aborted (core dumped)
FAIL
FAIL    runtime 12.139s
FAIL
2021/03/19 08:47:46 Failed: exit status 1
go tool dist: FAILED

Moving to Backlog.


Users created with uppercase email addresses cannot log in

We normalise casing during login, but not on account creation!

Discussed fix - also normalise case during account creation!


L.PM is undefined when packaged with webpack

Hello and sorry if this is an obvious question, or answered somewhere.
I am building a Typescript app integrating geoman + leaflet. The app works fine on dev page (npm run start), but when packaged with webpack I get this error:
Uncaught TypeError: L.PM is undefined
    addInitHooks leaflet-geoman.min.js:1
    callInitHooks leaflet-src.js:359
    initialize leaflet-src.js:3269
    n leaflet-src.js:302
    map leaflet-src.js:4863
    Ae MapWidget.ts:179
    render AddUserInputBtn.ts:21

I suspect this is due to the import or packaging of the app.
Here are the imports in my Typescript file:
// L needs to be imported *before* leaflet-geoman-free
import L, { LatLng, Rectangle, PolylineOptions, Polygon } from "leaflet";
// ... snip
import "leaflet/dist/leaflet.css";
import "@geoman-io/leaflet-geoman-free";
import<EMAIL_ADDRESS>// ... snip

Here are my dependencies:
  "devDependencies": {
    "@types/leaflet": "^1.7.10",
    "@types/leaflet-draw": "^1.0.5",
  },
  "dependencies": {
    "@geoman-io/leaflet-geoman-free": "^2.13.0",
    "leaflet": "^1.8.0",
    "n3": "^1.3.5",
  }

I found that if I move the import line from leaflet after the import line from geoman I get another error L is undefined.
Could this be a namespace conflict with the "leaflet" import ? because I see that geoman redefines it own "leaflet" namespace. Could it be that webpack picks up the wrong one ?
Anything else I am missing ?
Thanks !

I can't help you much but for me it looks like that after bundleing with webpack, the automatically initialization of Geoman on the global variable L didn't work correctly. This can be because your code runs a different leaflet-geoman instance or because some other plugin maybe overwrites the L variable.
Try the following, maybe one of them works:

Try to run after initialization window.L = L.noConflict(); (https://leafletjs.com/reference.html#noconflict)
Remove other plugins until Geoman works again

Thanks, your remark led me progressively to the solution : Another component of mine integrated in the page is also importing leaflet. Somehow this causes a confusion for geoman. I need to also import geoman in the other plugin for it to work in the first plugin...


Config refactor

What this change does primarily is split each hack's config into its own file, that way, if another format error occurs in DogFacts, or whatever, then the issue is contained to DogFacts.


Strange formatting for Razor

VSCode Version: Insiders
OS Version: Windows 10

Regarding test item #12100
Steps to Reproduce:

This may not be a problem and might just be me.  Open a large .cshtml file (try the one I link to below) and select everything.
Press Shift + Tab several times to collapse all the hierarchy and mess up its formatting.
Now Format the file
Notice that the file formats weird as pictured below (maybe it's just my file).

Original file before I used Shift+Tab several times

After format
What's with the white space in the middle of the code?  Maybe this file uses spaces, maybe it has mixed tabs and spaces and this had something to do with it?

Notice how some of the tags that are nested are all linline still.  I would expect a more opinionated format of nesting these more in a block way.

Please feel free to close if it's just me :)

We're using JSBeautify to format html. JSBeautify has the concept of tags that should not be formatted, as making any change to the content of these tags potentially results in differently rendered html.
This list of tags that should not be formatted is listed in the default settings and can also be changed there:
"html.format.unformatted": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, script, select, small, span, strong, sub, sup, textarea, tt, var"
But that's IMO what you see in your example.
From what I see there hasn't been any changes due to moving Razor to an extension, so this is not a regression.


Adding External Toolkits to Toolkit Marketplace

Ability to add custom tools to SuperAGI from a Github repo link. To encourage custom tool building and making the process easy, a how-to doc and a cookie-cutter repo for the custom SuperAGI Tool should be created.

You can now add your external tools via GUI. Live along with v0.0.7 release. Closing this issue.


compiling error

Hell team,
macOS core i7:
error: cannot find macro asm in this scope
--> /Users/jianshuzhao/.cargo/git/checkouts/vec_rand-0be24989d24c2226/43472c1/src/xorshift/src/xorshift_avx_ss8.rs:30:9
|
30 |         asm!(
|         ^^^
|
= note: consider importing one of these items:
std::arch::asm
core::arch::asm
error: cannot find macro asm in this scope
--> /Users/jianshuzhao/.cargo/git/checkouts/vec_rand-0be24989d24c2226/43472c1/src/xorshift/src/xorshift_avx_ss4.rs:27:9
|
27 |         asm!(
|         ^^^
|
= note: consider importing one of these items:
std::arch::asm
core::arch::asm
error: cannot find macro asm in this scope
--> /Users/jianshuzhao/.cargo/git/checkouts/vec_rand-0be24989d24c2226/43472c1/src/xorshift/src/xorshift_avx.rs:22:9
|
22 |         asm!(
|         ^^^
|
= note: consider importing one of these items:
std::arch::asm
core::arch::asm
Compiling xorshiro256plus v0.1.0 (https://github.com/zommiommy/vec_rand?branch=master#43472c1d)
error: could not compile xorshift due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
error: cannot find macro asm in this scope
--> /Users/jianshuzhao/.cargo/git/checkouts/vec_rand-0be24989d24c2226/43472c1/src/xorshiro256plus/src/xorshiro256plus_avx_ss4.rs:35:9
|
35 |         asm!(
|         ^^^
|
= note: consider importing one of these items:
std::arch::asm
core::arch::asm
error: cannot find macro asm in this scope
--> /Users/jianshuzhao/.cargo/git/checkouts/vec_rand-0be24989d24c2226/43472c1/src/xorshiro256plus/src/xorshiro256plus_avx.rs:21:9
|
21 |         asm!(
|         ^^^
|
= note: consider importing one of these items:
std::arch::asm
core::arch::asm
error: build failed
Any idea why, I am using rust nightly 1.60
Thanks,
Jianshu

Sorry for the huge dealy, I tried fixing it. Now run a cargo update and check if the error is still present or not.
Currently it passes a cargo check in the next days I will try to setup an ARM Virtual machine.
Thank you for opening the issue.


GQUIC: Unexpected STOP_WAITING frames should be ignored

frame_parser.go contains this:
	case 0x6:
		if !v.UsesStopWaitingFrames() {
			err = errors.New("STOP_WAITING frames not supported by this QUIC version")
			break

This behavior is incompatible with Chromium, which ignores STOP_WAITING frames in versions greater than Q043 or if NSTP option was set:
bool QuicConnection::OnStopWaitingFrame(const QuicStopWaitingFrame& frame) {
  DCHECK(connected_);

  // Since a stop waiting frame was received, this is not a connectivity probe.
  // A probe only contains a PING and full padding.
  UpdatePacketContent(NOT_PADDED_PING);

  if (no_stop_waiting_frames_) {
    return true;
  }

We noticed a connection failure in our LiteSpeed QUIC server with this error and it did not look familiar.
We will fix the LiteSpeed server code not to send STOP_WAITING frames.  Currently, before the handshake is complete, the server sends STOP_WAITING frames unconditionally.

Those STOP_WAITINGs are super annoying. And it doesn’t make any sense to error on unknown frames, but then accept them anyway.
I’m happy to submit a fix as you suggested, if it makes Chrome happy...

It's not the Chrome -- it's the quic-go client code that will be able to establish Q044 connections with LiteSpeed server.

Sorry for the dumb question - we have integration tests using Google toy quic server, and it doesn’t happen there. Any idea why?

My guess is that the Google toy server does the right thing and does not send STOP_WAITING frames back during the handshake.

So, I thought about this again. Since STOP_WAITING frames aren't supposed to be sent in Q044, then the correct behavior is to throw an error if we see an unsupported frame type. I don't know why Chrome is lenient here, but it doesn't seem to be the correct behavior.
As for LiteSpeed sending STOP_WAITINGs in Q044, this seems to be a bug in your code, doesn't it?

Hi @dtikhonov, I disagree that the Chromium code is normative here. I guess the Google guys implemented it because they wanted to support the NSTP option (which quic-go doesn't, we're sending a Public Reset in that case), and ignoring STOP_WAITINGs is just the most straightforward way to do so. Anyway, thanks for reporting, it's good to cross-check our implementations!


Pass label_opts[for: ID] when a custom ID is provided on ui_input

When passing an ui_input like this:
<.ui_input
    form={f}
    field={:types}
    type={:checkbox}
    name={"#{input_name(f, :types)}[]"}
    value={"awesome"}
    checked_value={"awesome"}
  />

Because of the checked value, the id attribute of the input will be autogenerated by Phoenix to be myform_types_awesome (see https://github.com/phoenixframework/phoenix_html/blob/d6c9d5369096540462d837e231f1a1eb5fb50042/lib/phoenix_html/form.ex#L1176). It suffixes the name with the checked_value.
But the label helper (https://github.com/phoenixframework/phoenix_html/blob/d6c9d5369096540462d837e231f1a1eb5fb50042/lib/phoenix_html/form.ex#L1823) doesn't know about the checked_value and will have for=myform_types or so.
As a result the input id and label's for do not match.
We can alleviate this by passing a custom id to ui_input but then it only works if you pass label_opts=[for: CUSTOM_ID] as well.
I was wondering if ui_input should by default pass the label_opts[for: CUSTOM_ID] automatically if an id was given to the ui_input?

Sounds like a bug in phoenix. It will produce labels that aren't associated with their inputs, right?
But yes, we should definitely automatically pass along a custom input id to the label in ui_input. I cannot picture a scenario where you would want the label not to be associated with the input.

It will produce labels that aren't associated with their inputs, right?

Yes, exactly. I'm not sure if it's a legit bug because that would mean the label needs to know the checked_value and the name of the associated input -> is there a good way to figure out which input is associated?
Alternatively ui_input could also adopt the same behaviour as phoenix when a name and checked_value are given:
if String.ends_with?(opts[:name], "[]"),
          do: input_id(form, field, checked_value),
          else: input_id(form, field)

and pass this id to the label as well  🤔

Why does even the id of the checkbox need to be different if checked_value was passed? Why is phoenix doing this https://github.com/phoenixframework/phoenix_html/blob/d6c9d5369096540462d837e231f1a1eb5fb50042/lib/phoenix_html/form.ex#L1176 ? 🤔

In my case I had a list of checkboxes for one array field. For example types[]=foo&types[]=bar should save types: ["foo", "bar"] on my record. The checked_value of each checkbox is set to foo and bar. If the id is not suffixed with the checked_value, then the inputs will have the same id as they represent the same field. I think that's the reason!

Alright, then it makes sense. We could do both in ui_input:

if checked_value is passed for a checkbox, adjust its label's for attribute accordingly
if id is passed for a checkbox, adjust its label's for attribute accordingly (takes precedence over the previous point)


Is it possible to include an Avatar?

When I look in my Google inbox most companies have their logo to the left hand side. Is this possible with mailgun-js?
For example here is an email I received from Medium.com, you can see the logo on the left hand side.

Please refer to BIMI for information on setting up logos in various inbox clients.

@brxxxx Hi, could you please address the question to the help service of Mailgun? I'm referring only to the official docs and could find any info related to logos there.
I'm closing the issue since it's not related to the lib and if you have any questions please open a new one.
Thank you.


Use of variables + own text in queries

Hello,
I am facing some problem, not sure if and how I can get it working.
Let's suppose I have a variable called '$item' which returns '1' + '3' and my items are called like following:
server1_vm1
server1_vm2
server1_vm3
server3_vm1
server3_vm2
server3_vm3

Is it possible to use in a query in the item field something like server$item_vm1, so I can use the dropdown of the variable to switch between server1 and server3?
Everytime I add something to $item the text will turn to white instead of blue indicating a wrong entry

/server$item_vm1/ should work

/server$item_vm1/ should work

No doesn't work, only returns 'No data' using Stat visualization

Ah it's /server($item)_vm1/


Error while trying to Deploy to IBM Bluemix

Hey,
I was following the guide step by step.
but I'm getting the same error over and over agian while trying to deploy to IBM Bluemix.
When i do the command :

$ cf cups twilio -p '{"accountSID":"ACCOUNT_SID","authToken":"TOKEN", "url": "https://api.twilio.com"}'

I'm getting the error of:

FAILED
No API endpoint set. Use 'cf login' or 'cf api' to target an endpoint.

And when i'm trying to set the api endpiont withe the command:

cf api "https://api.twilio.com"

I'm still getting the same error....
what can i do?

The cf api or cf login commands need to target the Bluemix APIs, not Twilios.
If you follow these instructions to get authenticated, this should resolve your issue:
https://stackoverflow.com/questions/29831297/how-do-i-use-cloud-foundry-to-login-to-ibm-bluemix

Thanks you for you answer! that was very helpful.
I am having another issue at the last part, at the deploy command:
$ cf push --name your_random_identifier
I gave a random identifier, and when i'm trying to accesses the url - http://your_random_identifier.mybluemix.net , i'm getting this error:
This page contains the following errors:

error on line 1 at column 1: Document is empty
Below is a rendering of the page up to the first error.

I can't understand what did i missed out.
The incoming and outgoing webhooks are integrated to the channel, and i have copied the sid and token correctly from twilio, and deployed the git to my bluemix.
Thanks for your help.

You need to use the random identifier you gave in the URL.
So if you choose foo_bar_foo as the identifier, the URL will be http://foo_bar_foo.mybluemix.net not http://your_random_identifier.mybluemix.net

Yeah I know, that wha I did.
I used my own identifier.
Still not working

On 18 Jul 2017, at 15:23, James Thomas<EMAIL_ADDRESS>wrote:
You need to use the random identifier you gave in the URL.
So if you choose foo_bar_foo as the identifier, the URL will be http://foo_bar_foo.mybluemix.net http://foo_bar_foo.mybluemix.net/ not http://your_random_identifier.mybluemix.net http://your_random_identifier.mybluemix.net/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/IBM-Bluemix/phonebot/issues/18#issuecomment-316047469, or mute the thread https://github.com/notifications/unsubscribe-auth/ATRjS5UW8di4Y49cUGZfuUS3eBBnPWiAks5sPKPBgaJpZM4OZQlu.

Can you dump cf logs APP_NAME in here?

The command should be cf logs testBot not cf logs APP_NAME. It will show the console output which you can paste here.
This demo does not have a web interface, it's a Slack bot. Going to the URL for the app with a web-browser should not work.

First - thank for you help.
second - what am i missing?...

Can you run cf apps? Is that app listed?

The app is not listed. how do i put it into list?

Can you run cf push --name testBot again and paste the output?

okay, let's do cf push testBot and try again.

You need to use a name which hasn't been taken by another user. Let's try phonebot12345.

Great, now we can check the logs....cf logs phonebot12345

something went wrong..

Hmm that's odd, can you try the push command again?

@shalevi69 hi. Why did run cf push without the application name included?
From what I can see, you are running this command in your home directory. That is wrong. Lets take a step back and make sure you've done some of the proper initial steps.

have you cloned this git repository locally? The README doesn't explicitly tell you to, but it does kinda assume you know to do this.

once you have cloned the repository locally, you should be running the cf push phonebot12345 command from the top directory of the repository (the directory that contains the manifest.yml and package.json files etc).

Thank you for your help.
So you were right and i didn't cloned the repository locally. so now i have done it.
after that i run the command cf push phonebot12345
and the result remain the same.

What directory did you run that command in? Did you run it inside the repository you cloned?

I made mistake while copy the directory. that's the result of the command from the correct directory

What did i missed ?  ...

For some reason it has failed to create an instance of the speech_to_text service. I can't immediately see anything wrong with what you've tried to do.
If you look at the bluemix service catalog, do you see the 'Speech To Text' service listed? https://console.bluemix.net/catalog/services/speech-to-text
What type of bluemix account have you got? Have you provided your credit card details yet? It may be you are using a freemium account that doesn't have access to this particular service.

Hey knoleary,
thank you for your answer.
We have the basic plan in bluemix (not the freemium).
And yes we did add the 'Speech To Text' service to the app.
Running the app in bluemix resulted in failed due to:
`An error occurred performing the operation. Try again later.
Description:The app package is invalid: bits have not been uploaded`
and another problem is after i'm trying to connect the Speech To Text to the app, i'm getting a msg to restage the app, i click ok, and get an "failed" result..

got the same issue with "speech to text" service could not bind to ...

anybody know this error caught while building spring project using maven :
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to /home/pipeline/55d47591-8fc0-4f1f-a6a1-cb44be7c5998/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.418 s
[INFO] Finished at: 2018-08-08T15:10:17+00:00
[INFO] Final Memory: 14M/23M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project restapi: Fatal error compiling: invalid flag: -parameters -> [Help 1]
[ERROR]
any idea ?


add notion of default processors used by various components by default

This way we don't have to go plugging it into the compiler for the juttle cli, testing utilities and juttle-engine usage of the compiler.

After some digging around this is a bit more complicated than I think we should fiddle with at this point. The fg_processors are a list of processors to check in order when compiling and if one of the uses differ a bit such as calling implicit_views with no argument vs an actual default implicit view then there's no easy way to merge those options with a default set of processors and keeping the order as it should. I'm thinking we should just leave things as they are and I can go add the check_runaway to the juttle-engine compiler options to make sure that gets checked. Opinions @dmajda @davidvgalbraith @demmer

@rlgomes Sorry but from your comment I can’t parse what is the problem.
I’d like to get rid of fg_processors as a compiler option (this is part of #61) and just have the same list of processors run every time. The only reason this wasn’t done already is the need to adapt tests which use fg_processors. I wrestled with them a bit in the past but gave up after some time.
As for implicit_views, we can either fix appended implicit view to table (which I’d prefer), or we can make it part of overall compiler options and make sure the processors receive these.

@dmajda  Ok if we want to get rid of fg_processors then I can take care of that as the first commit to then set the fixed list of processors that run everytime. As for being able to change the implicit_view I'll figure out what can be done at that point.

@rlgomes That would be awesome!
I think the sequence of processors should be:
[ implicit_views, check_runaway, views_sourceinfo, optimize ]

The idea is to first complete the graph, do checks, compute additional information, and finally optimize.

+1 @dmajda that order of processors is what I was piecing together from seeing how these were being used across the board.  I think as for the tests that I'll make the other tests behave like the check_runaway.spec.js does where it doesn't run the compiler with the one and only processor in place and instead runs with the set of default processors in place verifying that specific processor is behaving correctly while running in the exact scenario it would along side other processors.


Missing artifacts data in RDS deployment option

Describe the bug
There have been 2 messages this week on #platform-aws slack about missing data in RDS tables.

Nervin Obando
11:48 AM
Hi All,
I installed v1.4.1-aws-b1.0.0 and I see artifacts getting saved on S3 and I can see them from runs input/output, but the Artifact section from main dashboard is blank. I queried the table and its blank, so looks like artifact data is  not being written to the DB. I can see data on other tables so the access to DB is ok. any pointers on which service does the writing to try to troubleshoot it. Thanks

Steps To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Environment

Kubernetes version
Using EKS (yes/no), if so version?
Kubeflow version
AWS build number
AWS service targeted (S3, RDS, etc.)

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

I've recently tested rds-s3 and didn't run into this, the person who posted this issue is working on re-installing and stated they would give an update.

this issue is not present in 1.5
https://kubeflow.slack.com/archives/CKBA5D0MU/p1661960256730239?thread_ts=1660934905.674479&cid=CKBA5D0MU
We should add a test for this to prevent any regression. Will keep this issue open for the test to be added


[Bug Fix]Fix None Input Tool Bug

修复无输入Tool报错的Bug
更新文件获取的描述

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

Comparison is base (64a4664) 69.68% compared to head (2469f38) 69.69%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #232   +/-   ##
========================================
  Coverage    69.68%   69.69%
========================================
  Files           62       62
  Lines         3088     3089    +1
========================================
+ Hits          2152     2153    +1
  Misses         936      936

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


Active accents different color

I am having an issue with the active accents. I set my accent color to Acid Lime. When I make the change, the active text accents have the Acid Lime color for about 5 seconds, and then they switch to a burgundy color. It is pretty ugly. Here is a screenshot of what happens.

BTW, the accent colors are very wonky in this way. Can you please fix this? Thanks!

Hi. This is not a bug, the error color is used by vsc to indicate that the file have a linter errors. To disable it you have to disable the vsc related setting.


Documentation of DSpace 7, especially new UI, Install & Upgrade

From release plan spreadsheet
Estimate from release plan: 120 hours
Expressing interest: none
https://wiki.duraspace.org/display/DSDOC7x/

Closing as "obsolete" this has been split into many tickets with the documentation label


shows KeyError: 0

df.head() works fine
df.tail()  through KeyError: 0

good morning Aagam, thanks for the report.
can you provide more complete code to reproduce this problem?

import pandas as pd
df = pd.read_csv('file.csv')
df.head()  #  works fine
df.tail()  # Not working

It works with the csv files I have, eg

if you could email your file to us so i can test it I would appreciate it.
you can use<EMAIL_ADDRESS>thx

https://screenshots.firefox.com/cHXiuDohQHDA7w8O/localhost
https://screenshots.firefox.com/k01CCxYwsET2DdN8/localhost
mailed you the data file.
Thnx

mailed you the data file.
Thnx

Thanks, I got it and tested it.
I am able to reproduce the problem with version 0.7.0, and indeed on master it works fine.
So this bug has already been fixed and it should be released soon (I am aiming for 0.8.0 next week).
Thank you very much for the report.


Fix #321 NRE when Event Reference Listeners event reference is not set

As suggested by @soraphis changed that the Event reference listener doesn't just throw a null reference exception everywhere. I added a check for Atoms debug mode. In debug mode the user gets notified of the null reference which he has. But in runtime/production this exception doesn't get thrown.
I chose for a NRE because on clicking this error the connected gameObject gets pinged. This doesn't happen when using the Unity Debug class.

This doesn't happen when using the Unity Debug class.

Debug.Log can take a second arguments. you can pass the object to highlight as second parameter.
I don't think it should throw an exception - even in debug mode - because it can be null ON PURPOSE which would mean that your script only works if not in debug mode.
with throwing the NRE in our scripts, we take away the oportunity to null check for users of the library. when returning null it might throw a NRE in the users code - but this isn't much of a problem for the user to fix, he can just check if this getter has returned null and act accordingly.
when throwing a NRE he cannot simply check, but instead is forced to use a try-catch block

with throwing the NRE in our scripts, we take away the oportunity to null check for users of the library. when returning null it might throw a NRE in the users code - but this isn't much of a problem for the user to fix, he can just check if this getter has returned null and act accordingly.
Ah yes this makes a lot of sense to not choose for throwing an exception.
The only problem I have right now, I can't find the gameObject that throws the error/log/warning from within AtomEventReference class. Do you have a suggestion where or how I can find this?

The only problem I have right now, I can't find the gameObject that throws the error/log/warning from within AtomEventReference class. Do you have a suggestion where or how I can find this?

why even log something? ¯_(ツ)_/¯
the same applies: if the user code want's to check if it is null you're now spamming him with this log message in debug mode.
if you remove the logging altogether, a NRE will be thrown in his own code, providing him all information needed.
if you want to supply the developer with additional information about unassigned references it could be more helpful to create an editor extension, that shows either a) in the inspector that a field must be designed to work properly (e.g. 'required' in https://github.com/dbrizov/NaughtyAttributes#required) or b) show somewhere that (and how many) of those game objects with missing required assignments exist in the scene. 🤔

The unassigned refererences part seems quite a useful thing to implement for Atoms in my opinion. Or else users might be searching which of their objects has a missing reference. I think its something for V5 as a nice addition. For now I removed the logging.


[OpenAI] Check undefined choices in chat completions method response

Packages impacted by this PR
Issues associated with this PR
#28311
Describe the problem that is addressed by this PR
Check if choices are undefined and add a test case
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.


Added basic frontend to about section

@supernoobabhi Please finish your feature on the develop branch itself, and then issue PR to merge with develop branch. Nothing should go to the master branch.


Automated Testing

Reason:
Resolves Issue: Automated Testing https://github.com/soundscape-community/soundscape-web-client/issues/6
Changes:
Decided to use mocha for testing
Began working on unit tests for basic mathematical questions
Questions:

unsure how to automate it
unsure how to do regression tests for callouts

After much trial-and-error, I figured out how to get turf in the global namespace for tests without needing to add any imports to the source files (see tests/setup.js). I also added a Github Action to automate these (see .github/workflows/node.js.yml).


Handling input with structure: folder -> multiple rars

From what I can see in the wiki and have tested there is no handling of a given folder that contains a number of rars within.
I would very much like this behaviour.
Is there a reason for it not being present?

It is not very practical storage method.


Terminal not reading .profile in bash ?

I'm using the terminal.integrated.shellArgs.linux:[-1] setting but terminal is not reading the .profile from bash in WSL ?

Looks like a duplicate of https://github.com/microsoft/vscode/issues/87088


Add all shared files to the Clima Land shared box folder

Many of the files uses in the experiments folder and tests are stored in my personal caltech box account. move to shared folder.

completed


[Bug]: Tune ByteStringCoder allocations

What happened?
ByteStringCoder uses ByteString.readFrom, which is suboptimal when we know the full string size.  This can be optimized.
Issue Priority
Priority: 2
Issue Component
Component: sdk-py-core

.take-issue


chore: Replace noosphere-car with iroh-car throughout the noosphere crates.

Fixes #446
TBD what we have to do to mark noosphere-car as deprecated -- will need to remove the code and workspace/release-it entries

Awesome! Can you file a companion issue to deprecate noosphere-car so that we don't lose track of it?

Added #[deprecated] to exported functions, module docs, and README. I think after a release cycle, we can remove it from our workspace.


Windows Server 2008 Standard sp2 not working

On my two 2008 Standar windows, wmi_exporter doesnt work . when listening the port, it doesn't deal any connections.

Hi @berlinsaint,
Can you reach the endpoint on localhost, or is it unresponsive there as well?
Do you get any output when running the exporter?

hi @carlpett  i can't reach the endpoint on localhost, and when i access the localhost:9182 , the console dosen't have any change, i check the netstat status, and it did listen the port 9182, very strange.
but on my another three 2008 professional Edition , they have no problem. i doubt that the exporter dosen't match the  2008 standard version.
another try is that i change the listen port to 5001,and after a longtime no output;the console output this:

@berlinsaint Could you translate the error messages given in the screenshot, please?
But something is clearly going wrong here, and taking much too long time to do so. We should not let a query run for 1400+ seconds, or even 10+ seconds. So that will be a separate thing we should fix, but it is not the direct cause of your problems, I think.

the above chinese words means : “occur an accident， server running with failure”

can anyone help me ?

Sorry, been traveling. Still, it is a very odd error, with very little to go on. Could you try running this in Powershell: Get-WmiObject Win32_OperatingSystem?

yes i run the command , and wait a long long time with not any output. how to solve it ?

Then you likely have some issue with the WMI system on your machine. You'll need to do some troubleshooting, you can take a look at this issue for a starting point.

@berlinsaint Did you come to some conclusion about your problem?


Research mode with StereoKit

Hi Nick,
The Stereokit is great, love the quick builds!
One suggestion, an example how to integrate research mode, eg. visualization of the different streams with Stereokit or even some processing on the streams would be very useful.

Yeah, that is indeed a pretty good idea! I haven't used research mode myself, so it hasn't gotten too much attention from me yet.
So some questions then!

Are you interested in using research mode from C#, or C++?
For stream processing examples, do you mean with something like OpenCV?
Do you have, or know of any relevant examples that might help accelerate work on this?

Are you interested in using research mode with StereoKit from C#, or C++?

C# would be best, since most of the HL2 development is currently done with Unity, making the adoption of Stereokit easier.

Do you have, or know of any relevant examples that might help accelerate work on this?

One basic example from the Hololens2ForCV repo would eg. be the visualization of the different streams.

For stream processing examples, do you mean with something like OpenCV?

Hmm, while this would be great, that would come with a lot of overhead, which you probably want to avoid for Stereokit. Something more basic like reading out a depth value of a pixel in the RGB stream would already be helpful.

Awesome, thanks so much for the details :)
I'm not going to be able to get to this right away, as I expect it's probably not the most trivial of samples. Unfortunately I've got too little time and too many features! :) I may try looking into this after the v0.3.2 release in a few weeks.

Thanks for your quick replies, haha, no worries, I know this problem. Looking forward to the next release(s).

Quite interesting. I am new to Hololens2 and Stereokit, so my question is can I use research mode with Stereokit now?
If I can,  I would like to try  Hololens2ForCV example on Stereokit, since Hololens2ForCV itself  is built on the depreated winrt.

This might be a very silly question 😬 I see Research Mode marked as "Done" on the Project page for 1.0 but can't find any docs or reference to it's use / existence. I'm after IMU data.


what's the difference between oclazyLoad.js and oclazyLoad.require.js

In my project, I use requirejs to load my modules.
But when I used oclazyLoad.js to load 'controllers', it will get the error 'controller get undefined', I used oclazyLoad.require.js to load 'controllers' , it get well.

what line of code, you have written to specify your controller ?


HTML Class and Id

Description 📜
documentation on HTML classes and id, covering all the information related to web development  #1277

Type of change 📝

[ ] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Video (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[x] Frontend Dev HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] Java#Script
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@sifa123  okay will do that

@sifa123  done all the changes please reivew.

Introduction
Class Selector
When to assign an Class attribute to an HTML element
Id Selector
When to assign an id attribute to an HTML element
DIFFERENCE BETWEEN CLASS AND ID (table + code + output )
Using ID and CLASS together (code + output)
WHEN TO USE CLASS VS ID IN CSS
CONCLUSION


Create Title Screen

We need to create the title screen. It should be as close to the original as possible:

We will be changing the font family and color. That is a much needed improvement.


updated topdoc

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.

@lazd I updated Topdoc, but I'm getting a build error with something in Babel. I'm not seeing what's causing the problem and am wondering if you could take a look.


refactor: stop sending deprecated aggregate worker

Rationale
Task-specific worker has been deprecated in https://github.com/Substra/orchestrator/pull/18
This is the followup to rely on task-level field instead.
Proto definitions have been updated.

/e2e --mode standalone --refs orchestrator=fix/aggregate-worker-fallback

End to end tests: :hourglass_flowing_sand: STARTING


Help Request

I tried to make three new image filters, but none of my new ones are working. They all return that the property undefined cannot be read.
My project code is here<EMAIL_ADDRESS>Error in console: https://gyazo.com/c261e4a35238a36dff910e62123edfaf (no filter is in effect)
Remember that you can attach files to this issue request.

The problem, I think, is that you're not returning the new image. If you look at the structure of the other filters it is basically:
// get ready by making a new image to work on
// make the changes on the new image using the existing image
// return the new image

That should fix the issues, though there may be others.


add mips architectures

Just adds definitions for mips, build tested

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

Thanks!


Allow updates to be completely disabled or manual, as well as automatic

Also updated log messages about why updates are disabled having seen a few issues via google (when researching related to this) that cannot diagnose why updates are not working or not visible.

This addresses https://github.com/Microsoft/vscode/issues/12817, but I'm not sure how to automate testing this, or what more I can. Any direction as to how I can do so would be great. I cannot comment on that issue directly to ask for help as it's locked to contributors at the moment.
I've manually tested setting values in the update service to ensure the log (--verbose is great ;) ) and UI show what is expected.

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

Related to my PR comments about testing, I'm also not sure what to do about these test failures as they seem to be whitespace and timeout related 😢

Thanks! :fireworks:


Structurizr reply URL changed in SAML from /sso ro /sso/structurizr

Description
The reply URL changed in the latest version
From '/login/saml2/sso'
To '/login/saml2/sso/structurizr'
This is either a bug or some doc update may be required
Steps to reproduce
Configure SAML
Screenshot
No response
Code sample
No response
Configuration
No response
Severity
Minor
Priority
I have no budget and there's no rush, please fix this for free
More information
No response

latest version which have SSO reply in line with documentation is 3263

Correct, the SAML configuration changed in 2024.01.02 - see release notes, and https://docs.structurizr.com/onpremises/authentication/saml has the new configuration instructions. Feel free to open a docs PR if you feel more is required.

Doc update would include following
Register the Structurizr on-premises application with your Identity Provider. When doing this, you will need a “Reply URL”, which is of the form {structurizr.url}/login/saml2/sso/{registrationId}

So just to clarify:

Build 3263 uses the old Spring SAML library, which required a reply URL of the form {structurizr.url}/saml/SSO.
Build 2024.01.02 uses the new Spring SAML library, which requires a reply URL of the form {structurizr.url}/login/saml2/sso, but you're saying that this may be {structurizr.url}/login/saml2/sso/{registrationId} instead.

You may be correct, but this doesn't seem to be the case with any of the test apps I have on various identity providers; for example (this is Azure AD):

If I set the reply URL to {structurizr.url}/login/saml2/sso/example, then the structurizr.saml.registrationId property does need to be set to example in the structurizr.properties file, otherwise I do see an Azure AD error. But setting the reply URL to {structurizr.url}/login/saml2/sso seems to work for me irrespective of what the registration ID is set to. I think this requires more investigation before updating the docs.

Found the misconfiguration on my end (need to use glasses more often) - I had /saml/SSO setup on my SSO application which now needs a change to a different URL in line with the new requirements.
Although the change may have a positive impact in theory my IDP was suggesting that I need a ReplyURL set as sso/structurizr which makes sense as  accordingly to the Spring documentation the default endpoint is /login/saml2/sso/{registrationId} but it can be changed.
I guess either /sso or /sso/{registrationId} may be valid reply URLs but I'm yet to test that and it may take few days to come through the change requests.


[CircleCI] Fix test/dev-server.unit.js being run on CI

For some reason, ava was silently skipping these tests on CI because the process was crashing. According to sindre, this is a bug in ava, but with some digging I was able to determine that the root cause of the crash was that the builders.tar.gz file from the assets dir was not being persisted from the previous build job in CI.
With the assets dir being persisted I now see the dev-server unit tests being executed once again as expected.
Related to: https://twitter.com/sindresorhus/status/1157614353375551493

Codecov Report

Merging #2725 into canary will increase coverage by 5.4%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           canary    #2725     +/-   ##
=========================================
+ Coverage    8.25%   13.65%   +5.4%
=========================================
  Files         261      261
  Lines       10527    10535      +8
  Branches     1346     1346
=========================================
+ Hits          869     1439    +570
+ Misses       9598     8951    -647
- Partials       60      145     +85

Impacted Files
Coverage Δ

src/util/dev/mime-type.ts
75% <0%> (ø)
:arrow_up:

src/util/dev/router.ts
78.57% <0%> (+2.85%)
:arrow_up:

src/util/get-files.ts
90.1% <0%> (+3.84%)
:arrow_up:

src/util/output/wait.ts
100% <0%> (+3.84%)
:arrow_up:

src/util/projects/get-project-by-id-or-name.ts
25% <0%> (+5%)
:arrow_up:

src/util/prefer-v2-deployment.ts
61.36% <0%> (+5.11%)
:arrow_up:

src/util/metrics.ts
68.18% <0%> (+6.64%)
:arrow_up:

src/util/dev/errors.ts
60% <0%> (+6.66%)
:arrow_up:

src/util/output/create-output.ts
37.5% <0%> (+10.41%)
:arrow_up:

src/util/path-helpers.ts
75% <0%> (+25%)
:arrow_up:

... and 6 more

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 a75ec50...9f391f0. Read the comment docs.


OSX VS Code fails to update

VSCode Version: 1.5.3
OS Version: OSX 10.11.6

Steps to Reproduce:

Launch VS Code
Get prompted to update & restart VS Code
Click "Update Now"
VS Code terminates
VS Code does not update
Manually restart VS Code
Verify that version has not changed

I will add that this is not a new problem - I have experienced it for the past several releases, since at least March 2016.
The only solution I have found is to manually download the latest release and install.

Can't reproduce it on macOS 10.12, successfully installed 1.6 on top of 1.5.3 update. Have you tried running permission check in macOS disk utility?

@Nikki1993 - I just repaired all permissions and am still encountering the same issue.

#7426

It looks like this issue persists (#7426 is still in the backlogs).
In the meantime, you can update manually with the following steps:

Detach the VSCode icon(s) from your Dock if any (Right click - Options - Remove from dock).
Locate the folder(s) Visual Studio Code.app. Most likely in /Applications, but could be anywhere else, depending on where you put it/them (eg ~/local/app), and there can be several ones in different places.
Delete this/these folder(s). Your preferences will not be affected, as these should be stored separately in ~/.vscode/.
Download the latest version from the official webpage, uncompress it, and move the .app folder wherever you like.
Open a terminal, and type the following commands:

xattr -srd com.apple.quarantine "/path/to/VSCode"
command ls -alR@ "/path/to/VSCode" | grep quarantine -B 1

The first command removes the quarantine attributes from everything within the .app folder, the second makes sure no quarantine attribute is left; there should be no output to the second command. Obviously you should replace "/path/to/VSCode" with wherever you put the .app folder.

Finally you can drag the .app folder to your Dock, if you want to have it there.


Positional Arguments test generation adaption

As title.
To repro:
add the following cli-directive in RP billing's readme.az.md
cli:
    cli-directive:
      - where:
            param: enabledAzurePlans
        set:
            positional: true
      - where:
            param: soldTo
        set:
            positional: true
            positionalKeys:
                - first_name
                - last_name
                - company_name
                - address_line1
                - country

condition of is positional or not：
model.MethodParameter_IsPositional

to get the positonal keys：
model.MethodParameter_PositionalKeys

checking out this PR https://github.com/Azure/autorest.az/pull/610/files

close since PR merged


Add TLMs to OCaml

i.e. "omelit". Making an issue to track that effort.

"omelit" 🤦♂
:slow-clap:


sap.m.List: Item names should show tooltip when truncated

OpenUI5 version: Latest version
Browser/version (+device/version): All common browsers
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible): https://openui5.hana.ondemand.com/explored.html#/sample/sap.m.sample.ListSelection/preview
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:

Open up the List Selection page and shrink the browser width so that some of the item names are truncated (showing ellipses)
Hover over the item name with mouse
Observe that no tooltip is shown

What is the expected result? Expected that a tooltip appears showing the full text of the item name.
What happens instead? No tooltip is shown.
Any other information? (attach screenshot if possible)

Any details on why this was closed? Has it been addressed?


Add debian/ config so that we can build a brski.deb package

Adds the appropriate files in debian/ so that we can build a brski.deb Debian package.
I've confirmed that we can install and run the brski-*.deb on Ubuntu 22.04 Jammy Jellyfish, both on AMD64 and ARM64. I haven't tested the libvoucher-dev.deb though.
If you're curious, this is what the apt info says:
user@pc:~$ apt info brski
Package: brski
Version: 0.2.0-1
Status: install ok installed
Priority: optional
Section: net
Maintainer: Alexandru Mereacre<EMAIL_ADDRESS>Installed-Size: 464 kB
Depends: libc6 (>= 2.34), libgcc-s1 (>= 3.3.1), libssl3 (>= 3.0.0), libstdc++6 (>= 12)
Homepage: https://github.com/nqminds/brski
Download-Size: unknown
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: BRSKI protocol MASA, registrar, and pledge implementations.
 The Bootstrapping Remote Secure Key Infrastructure (BRSKI) protocol provides a
 solution for secure zero-touch (automated) bootstrap of new (unconfigured)
 devices that are called "pledges".
 Pledges have an Initial Device Identifier (IDevID) installed in them at the
 factory.
 .
 For more information on the BRSKI protocol, please check the RFC8995.

It looks like brski only has 4 runtime dependencies! This should make porting to non-Ubuntu platforms a lot easier.
Things to look at
@mereacre, can you review the debian/copyright file and make sure everything in it is okay?
One thing I've noticed is that since the src/utils/os.* files are LGPL-3.0-or-later, it makes the entire BRSKI library/executable LGPL-3.0-or-later too.

LGPL is ok.

It looks like the copyright is owned by @mereacre and NQMCyber Ltd., so I'm guessing we might be able to change it?
https://github.com/nqminds/brski/blob/ea11e49bd9875cd5421482fbdc0553a5143784b9/src/utils/os.h#L6-L7
If we do change it, we could make the entire project BSD-3 Clause and/or MIT.


Add remote management support to the install script

Add --remotely-managed support, configuring and enabling the OpAMP extension.

While the installation script --remotely-managed flag is able to configure the OpAMP extension and enable it, I ran into a serious issue.
We decided to make remote vs local configuration mutually exclusive beyond a single configuration file. This is partially enforced through the newly added --remote-config collector flag, which accepts a single YAML file path (e.g. sumologic.yaml). Other configuration flags/providers cannot be used at the same time. This new --remotely-managed installation script flag manipulates the sumologic.yaml base configuration file in order to work with --remote-config.
The installation script has shifted to manipulating a "common config" located at conf.d/common.yaml. This is where the base API URL, collector fields, etc are being configured. This configuration is still very relevant with remote management, however, it is not being applied as it's not present in the single --remote-config sumologic.yaml. I see a few different ways this can be address, however, all cause a further increase in installation script complexity (and could break things).

OK, it wasn't as terrible as expected. I was able to tweak and leverage the existing config manipulation functions to do my bidding. Going to write more tests and give it a whirl with stag.


chore: Bump dependencies

This updates most medium and all high & critical risk rated vulnerabilities in dependencies. These were reported by Dependabot.
Test plan
CI tests

@evict What did you run to add these? Was it manual? I see new deps added to devDependencies that we don't directly use. If the purpose of that was to pin transitive deps to a specific version, we should use package.json's resolutions property instead. Otherwise, the pinned but not-directly-used deps will be removed next time we run something like Knip to remove unused code and deps, and we could fall back to the unsafe dep versions.

TIL, thank you! We updated it as dependabot recommended, which was indeed manual.


Add Daum and Naver Maps

Daum Maps and Naver Maps are the most popular map services in South Korea.
They are used way more than even Google Maps and Apple Maps combined.
Some Korean users requested these extensions on a forum, so I made them.

Closing: Please submit pull requests as source files, not as zipped extensions.
I'm sorry for the very long delay getting to this pull request, and for this copy-and-pasted message:
Thanks for your contribution! To get through my backlog, I'm now merging all reasonable pull requests.
Once done, I'm going to move all user-contributed extensions into a new contrib directory in the repo, so you will eventually find it there. After that, in due course, I will move some contributions back over to the main directory to be published.
Please bear with while I am working though a lot of pull requests at the moment.


same parameter name for USER_KEY

It was named USER_KEY in the argument list but used as USER_KEY_PATH.
The _PATH suffix probably originates from the same parameter for the
sign subcommand, which doesn't make sense here though as it only handles
the revocation.
A more elaborate fix would be to name everything similarly, but that has
a higher chance of introducing breakage.

Thanks! How did I miss that one, nice catch!


Flake8 migrated to GitHub

See https://www.reddit.com/r/Python/comments/yvfww8/flake8_took_down_the_gitlab_repository_in_favor/ for additional information. The Pre-Commit-Hook currently fails due to the broken repository url.

Thanks @itrich!

Failure is unrelated, so I go ahead and merge this now.

In a follow-up PR, I will migrate us over to Ruff.


Hotfix/ytime

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


.deb malformed archive

dont know why the workflow produced a malformed .deb archived.
Im using archlinux , so im using debtap to reverse compile .deb to

 Output Using Debtap
╰ debtap canopus_0.1.1_amd64.deb
==> Extracting package data...
ar: /home/uriah/.tauri/canopus_0.1.1_amd64.deb: malformed archive
ls: cannot access '*': No such file or directory
ar: /home/uriah/.tauri/canopus_0.1.1_amd64.deb: malformed archive
==> Fixing possible directories structure differencies...
==> Generating .PKGINFO file...
grep: control: No such file or directory
grep: control: No such file or directory
grep: control: No such file or directory
grep: control: No such file or directory
grep: control: No such file or directory
grep: control: No such file or directory
grep: control: No such file or directory
grep: control: No such file or directory
grep: control: No such file or directory
grep: control: No such file or directory
grep: control: No such file or directory
grep: control: No such file or directory
grep: control: No such file or directory
grep: control: No such file or directory
:: Enter Packager name:
^C
╭─    ~/.tauri                                                                                SIGINT(2) 

but locally when i build and use debtap to install it on my arch laptop it works...
it produces the correct .pkg.tar.zst file
canopus_0.1.1_amd64  canopus-0.1.1-1-x86_64.pkg.tar.zst

then i can install normally
pacman  - U canopus-0.1.1-1-x86_64.pkg.tar.zst
and i can run canopus then on the command line

maybe there are missing packages when building the deb packages?
also there is no AppImage like...
You can check my repo here Canopus

I've tried this on latest and I've managed to run debtap successfully (will be available on the next release).
Please reopen if you see this again.


adding image Mask

add widget top stack camera, Container, Images.png...
nice plugin its could be better if there is a way to add a custom widget something like this

Did you try to add one ?
You can use a Stack with CamerAwesome and a CustomPainter.
You got an imageStream to use AI and you know previewSize and pictureSize.
I believe you got everything to do this.

yeah ik but i t would be better if this feature is merged to the plugin
I try to add it and make a pl


bug when using "num_parallel_calls" when mapping dataset to tfa function

As mentioned over the issue here and advised from other contributors, i'm creating this issue cause using "num_parallel_calls=tf.data.experimental.AUTOTUNE" inside the .map call from my dataset, appeared to generate a deadlock.
I've tested with tensorflow versions 2.2 and 2.3, and tensorflow addons 0.11.1 and 0.10.0
On Google Colab Pro gpu env, python3.8
Link to example TFRecord: https://drive.google.com/drive/folders/1dc6ehBGL_mwGTuSy71VhUYVp0eMdHADP?usp=sharing
Code to Reproduce the issue:
test_dataset = tf.data.TFRecordDataset(num_parallel_reads=tf.data.experimental.AUTOTUNE,filenames=DRIVE_DIR+'/tf_issue/test_0.tfrecord').map(parsing_fn,num_parallel_calls=tf.data.experimental.AUTOTUNE)
test_dataset = test_dataset.map(translate,num_parallel_calls=tf.data.experimental.AUTOTUNE).prefetch(tf.data.experimental.AUTOTUNE)
test_dataset = test_dataset.unbatch()
iterator = tf.compat.v1.data.make_one_shot_iterator(test_dataset)
for i in range(5):
  image,label = iterator.get_next()

Auxiliary functions

def parsing_fn(serialized):
    features = \
        {
            'image': tf.io.FixedLenFeature([], tf.string),
            'label': tf.io.FixedLenFeature([], tf.int64)
        }
    parsed_example = tf.io.parse_single_example(serialized=serialized,
                                             features=features)
    image_raw = parsed_example['image']
    image = tf.io.decode_jpeg(image_raw)
    image = tf.image.resize(image,size=[224,224])
    label = parsed_example['label']
    return image, label

translate = lambda image,label: tf.py_function(func=translate_pipeline,inp=[image,label],Tout=[tf.float32,tf.int64])
def translate_pipeline(original_image,label):
  print(1)
  height = tf.shape(original_image)[0].numpy()
  width = tf.shape(original_image)[1].numpy()
  y_fraction  = tf.convert_to_tensor(height * 0.2, dtype=tf.float32)
  x_fraction = tf.convert_to_tensor(width * 0.2,dtype=tf.float32)
  print(2)
  batched_image = tf.tile(tf.expand_dims(original_image,axis=0),[4,1,1,1]) # Create 4 copied versions from the original image and add to a batch
  translated_images = tfa.image.translate_ops.translate(images=batched_image,translations=[[x_fraction,-y_fraction],[-x_fraction,y_fraction],[-x_fraction,-y_fraction],[x_fraction,y_fraction]])
  augmented_images = tf.concat([tf.expand_dims(original_image,axis=0),translated_images],axis=0)
  print(3)
  label = tf.reshape(label,[1,1])
  labels = tf.tile(label,[5,1])
  print(4)
  return augmented_images, labels

Output

1
1
2
2

@FalsoMoralista
I am seeing the error message as below.
NotFoundError: /usr/local/lib/python3.6/dist-packages/tensorflow_addons/custom_ops/image/_image_ops.so: undefined symbol: _ZN10tensorflow14kernel_factory17OpKernelRegistrar12InitInternalEPKNS_9KernelDefEN4absl11string_viewESt10unique_ptrINS0_15OpKernelFactoryESt14default_deleteIS8_EE.
Request you to share colab link or simple standalone code with supporting files to reproduce the issue in our environment.It helps in localizing the issue faster. Thanks!

@ravikyram Have you tried to pip install --upgrade tensorflow-addons in your colab gist?

@bhack
Sorry, i did not notice that i have not installed TF addons. Thanks for your help
@FalsoMoralista
I tried in colab with TF version 2.3 and i am seeing below output. Please, find the gist here. Thanks!
1
2
1
2

@ravikyram It was installed by default in colab cause if not you fail on import.
The problem was that It Is not updated.

@ravikyram If you scope is just the reproducibility you can claim that it is reproducible and pass to the next level of the triaging protocol. As you can see It never print 3 and 4 in the translate_pipeline

@ravikyram I think you need to add a label for the bit.

How many cores are there on the machine?
Can you recreate the issue when setting num_parallel_calls to the number of cores instead of AUTOTUNE?
Does the issue go away when you configure the inter-op parallelism threads to be greater than the number of available cores?
I suspect that what's going on is that your machine has a small number of cores which is used as the default number of the inter-op thread threads and executing tf.data.Dataset.map call will need two threads in the inter-op threadpool -- one of the tf.data map function and one for the py_func. If there is only one thread left, this will deadlock.
Setting the inter-op parallelism threads to a higher value should work around this problem. There is not much else that can be done to avoid this problem, short of reimplement chunks of TF runtime and py_func support, which is out of the scope of the tf.data team's charter.

How many cores are there on the machine?
Can you recreate the issue when setting num_parallel_calls to the number of cores instead of AUTOTUNE?
Does the issue go away when you configure the inter-op parallelism threads to be greater than the number of available cores?
I suspect that what's going on is that your machine has a small number of cores which is used as the default number of the inter-op thread threads and executing tf.data.Dataset.map call will need two threads in the inter-op threadpool -- one of the tf.data map function and one for the py_func. If there is only one thread left, this will deadlock.
Setting the inter-op parallelism threads to a higher value should work around this problem. There is not much else that can be done to avoid this problem, short of reimplement chunks of TF runtime and py_func support, which is out of the scope of the tf.data team's charter.

lscpu
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  2
Core(s) per socket:  2
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               85
Model name:          Intel(R) Xeon(R) CPU @ 2.00GHz
Stepping:            3
CPU MHz:             2000.180
BogoMIPS:            4000.36
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           32K
L1i cache:           32K
L2 cache:            1024K
L3 cache:            39424K
NUMA node0 CPU(s):   0-3
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves arat md_clear arch_capabilities ```

@jsimsa It is not the AUTOTUNE cause it deadlocks also with multiprocessing.cpu_count()
The deadlock  is in the inter-op parallelism resources pool cause I've unlocked it with
tf.config.threading.set_inter_op_parallelism_threads(
    multiprocessing.cpu_count()+1
)

@jsimsa I don't know if a solution similar to https://github.com/tensorflow/tensorflow/commit/f5fcd1fdcf896f46aed03c7e61525b48b75d1acc could be valid

Was able to run your code in Tf Nightly 2.6, please confirm if your issue is fixed by checking the result in the gist here.

Was able to run your code in Tf Nightly 2.6, please confirm if your issue is fixed by checking the result in the gist here.

Fixed, thank you!


feat: windows support

This PR introduces a distinction between forward slashes (unix) and backslashes (windows) in filepaths.
However, there's a huge problem with ANSI codes and other stuff is garbling up the JSON output from go test -json. Very strange. Only happens on Windows (Powershell). A workaround is to use gotestsum as runner, which will then write to JSON file without a console roundtrip:
# make gotestsum available on $PATH by installing it
go install gotest.tools/gotestsum@latest

Then set the (for now undocumented/experimental) runner option, and instruct it to use gotestsum instead of go test:
  {
    "nvim-neotest/neotest",
    dependencies = {
      "nvim-neotest/nvim-nio",
      "nvim-lua/plenary.nvim",
      "antoinemadec/FixCursorHold.nvim",
      "nvim-treesitter/nvim-treesitter",
      {
        "fredrikaverpil/neotest-golang",
        branch = "windows", -- set PR branch
      },
    },
    config = function()
      require("neotest").setup({
        adapters = {
          require("neotest-golang")({ runner = "gotestsum" }), -- Registration with config
        },
      })
    end,
  },

Fixes: #147

It is not only Windows Powershell, I also met the problem in macOS.
But after I set the runner to gotestsum, everything works great!

It is not only Windows Powershell, I also met the problem in macOS.
But after I set the runner to gotestsum, everything works great!

Out of curiosity, which terminal are you on?

It is not only Windows Powershell, I also met the problem in macOS.
But after I set the runner to gotestsum, everything works great!

Out of curiosity, which terminal are you on?

I am using Wezterm in macOS.
And I am working with a project with many Japanese characters in the code (test name, comment, some t.Error message, etc.).

Aha, I see. I would assume it's the Japanese characters that might be causing this. I've been using Wezterm for a long time without any issues, but never with Japanese characters. 😅
Anyway, I'm happy to hear you can use the adapter with the help of gotestsum!

By the way, if you have the possibility, would you mind trying setting the environment variable LC_ALL=C (before starting Neovim, so that any go test command it spawns will use it) and see if that makes a difference?

By the way, if you have the time and possibility, would you mind trying setting the environment variable LC_ALL=C (before starting Neovim, so that any go test command it spawns will use it) and see if that makes a difference?
export LC_ALL=C

@fredrikaverpil
The LC_ALL is actually not working in my MacBook.
However I also found the following comment, after setting alias gcc="gcc-14", everything works fine.
https://github.com/fredrikaverpil/neotest-golang/issues/193#issuecomment-2362972282


RLP_151624 changes

Description

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate)

Types of changes

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

Checklist

[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes if appropriate.
[ ] All new and existing tests passed.

https://pan-dev-f1b58--pr772-uyxzbk1k.web.app/prisma-cloud/api/cspm/api-integration-config/


Fix table in post-quantum blog post

Summary

Release Note

Documentation

merging this as it is just a formatting fix


What happens if I build this project for Android or iOS?

I am curious why "I/O Pinball works on Web for desktop and mobile." What happens if I build this project for Android or iOS?

Definitely, This Is The Better Idea. Because, I Just Tried Playing The Game And It Is Stuck On Loading Page. I Don't Know How To Raise An Issue On GitHub, But, If You Are Trying To Build This Project For Android, Please Make It Offline (i.e. It Can Run Without Internet Connection).
Thanks


Update layout navbar, single item page

Codecov Report
Attention: Patch coverage is 0% with 322 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@684691e). Learn more about missing BASE report.

Files with missing lines
Patch %
Lines

src/pages/SingleItem.tsx
0.00%
164 Missing and 1 partial :warning:

src/components/Navbar.tsx
0.00%
138 Missing :warning:

src/App.tsx
0.00%
19 Missing :warning:

Additional details and impacted files
@@          Coverage Diff           @@
##             main      #9   +/-   ##
======================================
  Coverage        ?   3.38%
======================================
  Files           ?       9
  Lines           ?     443
  Branches        ?      10
======================================
  Hits            ?      15
  Misses          ?     420
  Partials        ?       8

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


latest Zanata translation changes in drools-wb from 2016-09-03

Jenkins please retest this.

+1 to merge.


x/tools/gopls: release version v0.16.0

This issue tracks progress toward releasing<EMAIL_ADDRESS>
[ ] create or update gopls-release-branch.0.16
[ ] update go.mod/go.sum (remove x/tools replace, update x/tools version)
[ ] tag gopls/v0.16.0-pre.1
[ ] update Github milestone
[ ] write release notes
[ ] smoke test features
[ ] tag gopls/v0.16.0
[ ] (if vX.Y.0 release): update dependencies in master for the next release

Similar Issues

https://github.com/golang/go/issues/67570
https://github.com/golang/go/issues/66197
https://github.com/golang/go/issues/66730
https://github.com/golang/go/issues/56211
https://github.com/golang/go/issues/59818

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)


Detect _ <- mapM

Sometimes people suppress the warning about discarding monadic values in a bad way. Should detect that.

This is a Stmt -> Stmt rule, which can't currently be defined. I wonder, should there be a new syntax for such rules, or should they more cleverly re-use the lhs/rhs keys?

I was imagining it would be custom code in Monad.hs, where we already have a list of the functions with _ equivalents. See https://github.com/ndmitchell/hlint/blob/master/src/Hint/Monad.hs#L52

Note that we already detect do mapM f xs; return 1 for example, in Monad.hs, so do _ <- mapM f xs; return 1 is just a generalisation of that.


Deploy KServe in Serverless mode

Currently, we are deploying KServe in RawDeployment mode. However, this is not working as expected at the moment:

https://github.com/canonical/kserve-operators/issues/148

Goal
Replace RawDeployment with Serverless as the default deployment mode for the kserve-controller charm.

Closing this, since we've switched to serverless


Use of angle brackets around file names for include statements

Would you like to replace any double quotes by angle brackets around file names for include statements?

Hi elfring !
I did not intend to in the first place. The actual policy is:

Internal includes that are relative to each other (which is the case for your example) use double quotes.
External excludes that are expected to be found in the include directories (third parties, system includes) use angle brackets.

This is meant the materialize the difference between an include from the project itself and an include expected from somewhere else. I we replace by angle brackets everywhere, all includes shall be prefixed by boson/.
There is an issue about fmtlib on this part, which will be fixed soon.
Do you have any technical reasons to replace them ? The only one I could see is replacing those headers by mocks, but we are not there yet.

I suggest to reconsider the consequences of the following wording from the section “16.2 Source file inclusion” in the standard specification for the programming language “C++”.
…
The named source file is searched for in an implementation-defined manner. If this search is not supported, or if the search fails, the directive is reprocessed as if it read

#include <h-char-sequence> new-line
…

How do you think about to avoid “a duplicated file search” here?
Would you like to restrict the searched directories for header files of your software?

Both are "implementation-defined".
The usual understanding of them is double quotes for headers owned by the project and angle brackets for the others, as stated by your own link.
This is is definitely not an issue since any of the compilers modern enough to compile that C++14 code have a well-defined and well-known behavior about it.
So, no change will be made to it while this is not a show-stopper for any planned feature.
Thank you very much for your input though 👍

There are different opinions about the handling of the involved implementation-defined behaviour.

Will header files be also searched outside the specified include directories if double quotes are used for the discussed preprocessor statement?
Is there a speed difference measurable if a file is not found there and the search will be retried with “the angle brackets inclusion method”?