Strange null pointer errors happening at inconsistent times.

This has been a strange issue I've had for a little while now, but sometimes, and it seems completely random, I get a null pointer exception when I'm performing something on a retrieved property. But the strange thing is, I run again right after the error, and it runs fine... So it doesn't seem to be something in my code. This happens ever 2-3 runs or so, then it crashes, and then the next run doesn't. Here's a snippet of the exception output:
Exception in thread "clarity-runner" java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
	at skadistats.clarity.event.Event.raise(Event.java:25)
	at skadistats.clarity.processor.runner.AbstractRunner.runWith(AbstractRunner.java:78)
	at skadistats.clarity.processor.runner.ControllableRunner.access$1401(ControllableRunner.java:13)
	at skadistats.clarity.processor.runner.ControllableRunner$3.run(ControllableRunner.java:208)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
	at skadistats.clarity.event.Event.raise(Event.java:25)
	at skadistats.clarity.processor.runner.AbstractRunner.endTicksUntil(AbstractRunner.java:49)
	at skadistats.clarity.processor.runner.ControllableRunner$1.doLoopControl(ControllableRunner.java:53)
	at skadistats.clarity.processor.runner.LoopController.doLoopControl(LoopController.java:31)
	at skadistats.clarity.processor.runner.ControllableRunner$LockingLoopController.doLoopControl(ControllableRunner.java:168)
	at skadistats.clarity.processor.reader.InputSourceProcessor.processSource(InputSourceProcessor.java:122)
	at skadistats.clarity.event.AbstractInvocationPoint.invoke(AbstractInvocationPoint.java:72)
	at skadistats.clarity.event.Event.raise(Event.java:23)
	... 4 more
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
	at skadistats.clarity.event.Event.raise(Event.java:25)
	at skadistats.clarity.processor.gameevents.CombatLog.onTickEnd(CombatLog.java:58)
	at skadistats.clarity.event.AbstractInvocationPoint.invoke(AbstractInvocationPoint.java:72)
	at skadistats.clarity.event.Event.raise(Event.java:23)
	... 11 more
Caused by: java.lang.NullPointerException
        [null pointer location in my code]
	at skadistats.clarity.event.AbstractInvocationPoint.invoke(AbstractInvocationPoint.java:72)
	at skadistats.clarity.event.Event.raise(Event.java:23)
	... 14 more

Has this issue ever come up before? I'd be happy to provide some of my code if that will help. It always seems to happen within the OnCombatLogEntry method, with a variable such as cle.getAttackerName, TargetName, InflictorName, etc. showing up as null, when it shouldn't. I say "shouldn't" because it usually doesn't, and runs fine. I don't modify my code at all, I simply run the program, run it again, again, again and then it crashes. So the first few runs it's fine, then randomly crashes. I've never seen this happen and I'm not sure where to begin looking for a solution.
This also may be the reason for the strange behavior with the random empty inventory slots I had in my last issue post, though that was using the Context.

Sorry for the late response, I was away for a few days.
Very interesting issue! I see you are using the controllable runner, so it looks like a synchronization issue. I think I might need more code to look into this, and also, I pushed a new version which cleans the stack traces a lot 12 days ago, If you could update, we'd have concise traces.
Is it possible to isolate a small example that replicates this?

Thank you Spheenik. So I think I've isolated the issue. I have a class that runs through a replay until the creeps spawn so I can store the time creeps spawn, along with some other info basic game info. Then in another class I start a new ControllableRunner once the first one is done and halted, and start it from either when creeps spawn or some other point stored by the first basic game info run. But I noticed that when I dumbed it down and removed the first ControllableRunner altogether, the program runs just fine. So the issue seems to come up when using two runners in the same program I think. I'm creating a basic example where the null pointer still happens and I'll send it over soon.

So I created two bare classes that simulate what I'm trying to do. One does an initial run of the replay up until a certain point, then halts, then another runner does the full parse of the replay in the main class. Each runner is separated into its own class in NullExample and NullExampleProxy. I set this to run a replay 20 times, and the null pointer exception will usually arise somewhere between runs 2-10 but since it's very random, it can happen later or not at all, so more than one run may be needed. The argument is the same as the clarity examples, just a path to a replay file.
https://gist.github.com/TodorovicF/7a4c15d1b1692b157a0fd6d7a4e619f1
https://gist.github.com/TodorovicF/89ccd304e060843d823c52b1b14de7ff

Very nice test case, thank you!
I had 5 minutes to look over the code, and did not spot the bug yet :)
Unfortunately, I did not have more time the last two evenings, but I will run the code asap.

Thank you! I've been able to replicate this behavior on two different computers so I don't know if maybe I'm doing something wrong somewhere else. Thanks for taking a look :)

I finally came around to trying this, and I can run the completely unmodified NullExample without any NPE happening. Tried at least 15 runs, and it'll reliably not crash and make all 20 runs.
I am running the example on Linux, with JDK 1.8.0_92-b14 (64 bit). Replay used was<PHONE_NUMBER>).
Are you using the latest snapshot?

Hmm, I'm on Windows 10 (I hope that's not the issue :( ) and I've tried with JDK 1.7 and 1.8 and I get the same error. Here's the output after running it just now:
NullExample Started
Run: 1
Run: 2
Run: 3
Run: 4
Exception in thread "clarity-runner" java.lang.NullPointerException
	at filip.my_dota_project.NullExample.onCombatLog(NullExample.java:59)
	at skadistats.clarity.event.AbstractInvocationPoint.invoke(AbstractInvocationPoint.java:72)
	at skadistats.clarity.event.Event.raise(Event.java:23)
	at skadistats.clarity.processor.gameevents.CombatLog.onTickEnd(CombatLog.java:58)
	at skadistats.clarity.event.AbstractInvocationPoint.invoke(AbstractInvocationPoint.java:72)
	at skadistats.clarity.event.Event.raise(Event.java:23)
	at skadistats.clarity.processor.runner.AbstractRunner.endTicksUntil(AbstractRunner.java:49)
	at skadistats.clarity.processor.runner.ControllableRunner$1.doLoopControl(ControllableRunner.java:53)
	at skadistats.clarity.processor.runner.LoopController.doLoopControl(LoopController.java:31)
	at skadistats.clarity.processor.runner.ControllableRunner$LockingLoopController.doLoopControl(ControllableRunner.java:168)
	at skadistats.clarity.processor.reader.InputSourceProcessor.processSource(InputSourceProcessor.java:122)
	at skadistats.clarity.event.AbstractInvocationPoint.invoke(AbstractInvocationPoint.java:72)
	at skadistats.clarity.event.Event.raise(Event.java:23)
	at skadistats.clarity.processor.runner.AbstractRunner.runWith(AbstractRunner.java:78)
	at skadistats.clarity.processor.runner.ControllableRunner.access$1401(ControllableRunner.java:13)
	at skadistats.clarity.processor.runner.ControllableRunner$3.run(ControllableRunner.java:208)
	at java.lang.Thread.run(Unknown Source)

Breaking at:
	@OnCombatLogEntry
	public void onCombatLog(Context ctx, CombatLogEntry cle) throws UnsupportedEncodingException {
		// Don't allow the method to run if NullExampleProxy hasn't finished
		if (startRun) {
			if (cle.getType() == DOTA_COMBATLOG_TYPES.DOTA_COMBATLOG_MODIFIER_ADD) {
				String buff       = cle.getInflictorName();
				String initiator  = cle.getAttackerName();
				String buffedUnit = cle.getTargetName();

				// Null Pointer possible here
				if (buff.contains("foo") &&     <-------- Here
                         ....

Now I'm even more confused as to what the problem might be.

Hmm, no updates yet. Maybe my machines are too fast/slow to reproduce it? It really seems like some kind of race condition. Pretty mysterious...

Any updates on this?

I still haven't been able to get deeper to the source of the problem, but I have tested it on Linux Ubuntu 16 and the issue doesn't come up, so it seems to be related to a difference in how Windows 10 manages memory versus Linux, I'm just not sure where to go from here with this unfortunately.

I'll close (for cleanup purposes), feel free to reopen if you have another clue.


[WebXR] Tweak teleportation landing zone appearance

This is a breaking change!
This PR is an attempt to tweak landing zone's appearance. It removes the torus and draws the orientation arrow at the ground mesh.
It also adds an hologram effect with gradient transparency around the ground mesh. I cannot test or provide a screenshot currently.
All feedback is welcome.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14643/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14643/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14643/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14643/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14643/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14643/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14643/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14643/merge#BCU1XR#0

Thanks for the PR but one of the Babylon main pillar is to introduce breaking changes only when absolutely required (bugs) so I do not think we can introduce the change as it is today.
Maybe you could instead introduce a way to customize it as you want and we could have several versions if that makes sense ? cc @RaananW for this part ?
Let me close for now so we can reopen once agreed on the direction to take with @RaananW

Thanks for reviewing it, @sebavan I am cracking my head to tweak it in a way I can customize the way I need without introducing breaking changes. It will be tough but I will try my best in a future PR.

@RaananW thanks for looking into it, the solution I've found is instead of changing the texture l am replacing the entire target mesh (avoiding torus creation).
This PR is not needed anymore.


MS Python language server: No completions found unless Ctrl+Space is used, in which case expected completions are found

Environment data

VS Code version: 1.27.0-insider
Extension version (available under the Extensions sidebar):
OS and version: windows 10
Python version (& distribution if applicable, e.g. Anaconda): 2.7.11
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): none
Relevant/affected Python packages and their versions: none

Using the Microsoft Python language server.
Actual behavior
Type a symbol (eg module name, class name, self, etc.) and then dot ('.') in an attempt to show intellisense completions. The following is printed in the python output log:
'[Info  - 5:15:41 PM] Found 0 completions for [filename]'
Then press Ctrl+Space to manually open python window. The following is printed in the python log:
'[Info  - 5:15:41 PM] Found 5 (or whatever the correct value is) completions for [filename]'
and the intellisense window pops up with the proper completion options.
Expected  behavior
Pressing . should result in the same completions found as pressing Ctrl+Space

Perhaps related to #2334, @MikhailArkhipov?

I can't reproduce, so it may have been fixed in the language server version that was built today.

It still occurs after updating. When I have a moment I'll prepare a .gif of my screen that shows the behavior in the editor window and the python output log.

@michaeldaw if you can provide code or repo that reproduces consistently that can also be extremely helpful.


Domain activation Failed - Error message: One or more of the CNAMEs you provided are already associated with a different resource.

App Id: d22ck6crc780yq
Region: us-west-2
Step: Domain activation
Status: Failed
Issue/question
Domain activation failed.
Error message
One or more of the CNAMEs you provided are already associated with a different resource.
Additional Info
I've tried so many times with no luck. My domain is purchased from Namecheap. I've previously used Vercel to host my site, but I deleted that record in Vercel and in Namecheap.
I've added the 3 dns records provided by amplify. And the configuration still fails.
4 days without help.
I've changed my nameserver to aws (previously namecheap).
checking dns checker shows that i've set them up correctly.
I also transferred my email records successfully.
domain activation still fails at amplify console.
I'm also sure that I have 0 distributions in cloudfront.

Refer to our documentation to troubleshoot domain setup.
https://docs.aws.amazon.com/amplify/latest/userguide/custom-domain-troubleshoot-guide.html
https://docs.aws.amazon.com/amplify/latest/userguide/custom-domain-troubleshoot-guide.html#i-get-a-cnamealreadyexistsexception-error
Let us know if you're still facing issues.

Refer to our documentation to troubleshoot domain setup.
https://docs.aws.amazon.com/amplify/latest/userguide/custom-domain-troubleshoot-guide.html
https://docs.aws.amazon.com/amplify/latest/userguide/custom-domain-troubleshoot-guide.html#i-get-a-cnamealreadyexistsexception-error
Let us know if you're still facing issues.

these docs doesn't for me at all. I have no distributions in cloudfront, like I said. I even transferred my nameservers to Route 534. None of these worked.


Update azure-stack-vpn-gateway-about-vpn-gateways.md

Active Active is not support in Azure Stack and needs to be removed.  We have gotten support cases from this doc.

@darmour : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good, thank you @darmour. #sign-off


Associate Lists with User accounts

Creating a List should require a user account.
I would like to support totally anonymous Lists that don't require a login, but the UI to do that effectively would be complex. Ensure that the database design does allow for this option but implement list creation as requiring a login.

Done and deployed.


Unable to use some controls.

Hello,
I cannot use some controls :
mouseZoom showControls showZoomCtrl
return an error message : "an invalid configuration parameter was specified : ..."
Other controls like
yaw pitch hfov
are Ok
I'm using your latest 2.4.0 download files.
Are these parameters ok for you ? What could I do wrong ?
Thanks in advance.

As clearly stated in the documentation, only a subset of the possible configuration parameters can be used as URL parameters. You're trying to use parameters that can only be used in JSON configuration files.

@mpetroff : thank you very much.
It works now. I did not understand that only some functions were used as URL parameters !
I had a look at your exemple-cube.htm and started playing with example-cube.json.
Then I made my first json file with equirectangular picture.
You did a great job.

And ... solved !


Error: Transaction build error.

I tested pr#943 and when I used this link: invite/Yqk76XDXNGVMZiCVfzE9NGHwhbXiCAsah2bxVpevCGjdLeeqPaSBVR4CkAdLyb1a7HGn2RD69RDLxYF3rdL3MWouvTyyK got an error:  "Error: Transaction build error. {"amount":"-16820000000000 must be >= 0"}..."
Maybe it should be changed to a friendlier message? Ex.: tokens from the invitation link have already been claimed.

it may be fixing by detecting negative amount and checking for it in https://github.com/aeternity/superhero-wallet/blob/3eb88816ccdfde4a9b7d7048834f40c3b18dbc2f/src/store/modules/invites.js#L26


Avoid spinner wrapping text

Hello, I really like your library, I just have a small issue with it. How can I avoid the spinner drop-down wrapping text and putting ellipses when there's plenty of space?

Will you please provide a screenshot. I will re-open the issue when more details are provided. Thanks.

First of all thanks for the library I really liked it!
My question is the following:
In this image when selecting "All" two options are cut

When selecting "Month" no options are cut

When selecting "Week" no options are cut, and when selecting "Year" only "Month" option is cut.
Is the shrinking a feature or a bug? If it is a feature then it is inconsistent, it seems to not follow any formatting rules. When selecting "Week" a 4 character word no options are cut, but when selecting "Year", also four characters it cuts one of the options.
Is there any way to disable it?
Thanks for supporting the library 👍

This will be fixed in 1.2.1. You can also specify the layout_height instead of setting wrap_content.

Updated to 1.2.1 and issue was fixed.


Added exception handling for jira.search_issues

Fixes issue #87. If jira.client.search_issues throws an exception, which can happen if the summary (which contains the value of query_key) contains special characters, handle it as if no results were returned.
This also adds a test case for this scenario.

Ship It!


Make HTTP request and parse mime type

In this example, make a request to a static url and parse the mime type response.  Potentially show 2 mime types and an request without a mime header.

Dear Maintainers,
I just started learning Rust and read through chapters 1 to 15 of the Rust book. And I would like to create an example for the cookbook.
Can I take on this issue?
Best Regards,
NiekGr

Absolutely 👍

Thank you!

@AndyGauge could you explain what you mean with "show 2 mime types and a request without a mime header"? Would a message if there isn't a mime type found and two or three messages if there is a mime type found, be good enough?
Or would you also like to see the function being called three times with the output?

Oké, that is just what I did. I will add the boilerplate and documentation.

I think it'd be a huge help to show how to fire off 2 HTTP requests at once. I feel like that would introduce a much more "real word"-like workload.
It's going to introduce Futures, tokio, an executor, and all of that stuff? Right?


Delete the repo directory for Git based domains

Each Git domain has a downloaded bare repository on the appliance with the git owner role.
When a domain is being deleted the bare repository directory should be deleted.
Links

https://bugzilla.redhat.com/show_bug.cgi?id=1392981

PR #12192 (depends on)

Steps for Testing/QA
Described in
https://bugzilla.redhat.com/show_bug.cgi?id=1392981

@eclarizio
Please review

👍

@gmcculloug can you please review

@h-kataria @eclarizio @gmcculloug
Please review I had to copy out a function from https://github.com/ManageIQ/manageiq/blob/master/app/controllers/application_controller/ci_processing.rb#L1563
so that it can be sent thru the queue.
Need some suggestions on where that can be added. I didn't want to pollute the ci_processing.rb since  it is a generic function and not automate specific. But bulk of the code is duplicated.

@mkanoor Since they're both in a controller, I'd personally opt for a service object that can handle both ways of doing it with the queue and without. I think that could be a separate refactoring PR though, as a follow up.

My golden rule for the UI is that nothing should be done synchronously...everything goes on the queue.  Even the most benign thing should be done async.  If the UI truly needs synchronicity for some reason, we have wait_for_task.
So, I think both types of destroy git or regular, should be done on the queue.  The UI shouldn't have to care about the backing.  The UI's responsibility should be to get the objects, determine which operation (destroy in this case), and then call a method on the model that does that operation on the queue, and perhaps get back a task id or queue id.
For a single record (typically from the summary screen), we usually create a destroy_queue instance method.  For bulk operations we have invoke_tasks.  All of the knowledge about how to queue the item is up to the model in the destroy_queue method.  This way a destroy_queue method for a regular domain could potentially put it on the generic queue, but for a git backed domain could put in on the git_owner queue.  Again, the UI shouldn't care where it goes as that not its responsibility.
This separation of responsibility should also make it significantly easier to move to the REST API.

@Fryguy
Just to clarify we should be creating
MiqAeDomain#destroy_queue(user) which returns a task_id
Aftercalling MiqAeDomain#destroy via the Queue (generic/git_owner)

@eclarizio
Erik can you comment on the git_based_import_domain_service and async processing that @Fryguy is commenting on. We start the spinner when we go thru the git_based_import_domain_service is that truly running async or is that a sync call waiting for the task to end.

I'm ok with merging as is, but there is some inconsistencies with the existing queueing (or task) pattern.

The model's destroy method should do the actual destroy (not on the queue)
The model should have a destroy_queue that calls destroy but through the queue.
The API and UI code should call destroy_queue
The external facing API endpoint should just be destroy (that is the User has no idea it's running off of the queue other than the fact that they get a task back)

This PR does it the opposite where https://github.com/ManageIQ/manageiq/pull/12539/files#diff-ae3d5f6a1e6dbd3e414354dca1789255R2589 is calling "destroy" but from a method naming it's backwards and the caller has no idea that's queue based.
@gmcculloug If you are good merging as is, let's do that, and then open an issue to correct the naming.

Erik can you comment on the git_based_import_domain_service and async processing that @Fryguy is commenting on. We start the spinner when we go thru the git_based_import_domain_service is that truly running async or is that a sync call waiting for the task to end.

Since everything regarding the git imports is being handled by javascript, as far as I know, all of the jQuery $.post and $.get calls are asynchronous. However, I'm pretty sure we're not firing the calls and expecting a task back, the server is waiting for the task to finish and then returning the results.

@Fryguy I am ok with merging as well.  I will open an issue to refactor based on your previous comments.  Thanks.

Euwe Backport details:
$ git log -1
commit cc0a2a919695c4e8b3105431e0cb848675ee97e6
Author: Greg McCullough<EMAIL_ADDRESS>Date:   Wed Nov 16 14:14:09 2016 -0500

    Merge pull request #12539 from mkanoor/bugzilla_1392981

    Delete the repo directory for Git based domains
    (cherry picked from commit 03f24a1c1adcf79a53029e2de1c8cf1707427104)

    https://bugzilla.redhat.com/show_bug.cgi?id=1392981


Items are not added to DataCollection

There is a scenario where items are not added to DataCollection.  DataCollection keeps track of objects within the collection by utilizing a name that maps to the object.  When adding an object and a name is not explicitly set for that object, DataCollection attempts to access a filename attribute for that object to use as the mapped name.  If that attribute doesn't exist, then it assigns the object a generic sequential name:  item1, item2, item3... The issue arises when the filename attribute exists for the object being added, but the value of the attribute is None.  In this case, if multiple objects are added where filename=None, then only one of the objects is stored in the collection.
The solution should be to test if the filename attribute is None, and if it is, assign the generic name to the object.
This issue can currently be circumvented by explicitly assigning names when creating a collection:
dc = DataCollection.from_list([obj1, obj2, obj3], names=['item1', 'item2', 'item3'])

Resolved in PR #63.


Definitely in a sentence is recognised as noun

I am not sure if I am doing something wrong here or not, but I came across a sentence
Definitely accept the order!

that when treated with this module
nlp("Definitely accept the order!").nouns().data();

gets the following noun information
[
  {
    "article": "a",
    "singular": "definitely",
    "plural": "definitelies"
  },
  {
    "article": "an",
    "singular": "order",
    "plural": "orders"
  }
]

Maybe it is not 100% correctly in written English, but if this is a transcript of a conversation then this sort of phrase might be likely to occur.

yikes! thanks Rafal, will take a look

hey Rafal, got it.
will be an adverb now, as of v8.2.0
cheers


emulator: loading test_stackinit.ko failed

test_stackinit.ko can not pass loading for riscv64, so now it is not included in kernel-prebuilts-common-modules-virtual-device-5.10-riscv64.

closed due to I'm not working on this now.


Add tiling endpoints

Closes #5

[x] system environment parity: Ubuntu 20.04 is currently the Ubuntu LTS version used by Heroku and GitHub. While I imagine both of those services provide the ability to define these more specifically in a Docker container, Heroku's managed Postgres database uses Ubuntu 20.04's packaging for its PostGIS extension. I am anticipating we will use that PostGIS extension when we start using GeoDjango. Switching to Ubuntu LTS as the server host allows us to use the same libraries at runtime as these environments.
[x] add large_image[gdal]: GDAL, GEOS, and PyPROJ are used with GeoDjango. The large_image[gdal] source works in tandem with these libraries and allows us to process a large number of image formats.
[x] add tiling endpoints: we need to serve tiles for a Dataset. GDAL can read remote images using its Virtual File System interface. This should be useful with Dataset.source_uri.

The last few commits are my attempt to fix the GitHub Actions tests. Tox doesn't seem to be respecting the --force-dep option for GDAL. It is installing 3.4.0, not 3.0.4.
tox --force-dep gdal==3.0.4 --force-dep pyproj~=2.0

Mysteriously, this works for pyproj, though.

This PR is getting large in scope. I am going to split it up into separate PRs for the reviewer's sanity.


can you please explain what is being done in this project and also commands to run this with sample example?

what is being done in this project
Answer> make use of hyper scan to explore the possibility of comparing bytes for the desired string. In this project, it compares the IPv4 for the ingress frames.
also commands to run this with sample example
Answer> ./application_name


Doesn't work for dual dynamic routes

if i have /course/:category/:course and do the mapping like
'/courses/:category/:course': [
    { category: ['unknown1', 'unknown2'], course: ['third-project', 'fourth-project'] },
  ],

this outputs:
<url> <loc>http://www.brightonsbm.com/courses/unknown1/third-project</loc> </url>
<url> <loc>http://www.brightonsbm.com/courses/unknown2/third-project</loc> </url>
<url> <loc>http://www.brightonsbm.com/courses/unknown1/fourth-project</loc> </url>
<url> <loc>http://www.brightonsbm.com/courses/unknown2/fourth-project</loc> </url>

rather than:
<url> <loc>http://www.brightonsbm.com/courses/unknown1/third-project</loc> </url>
<url> <loc>http://www.brightonsbm.com/courses/unknown2/fourth-project</loc> </url>

how would i do the second one or is it not possible at the moment??
also could this work for longer urls as i have some that have 3 or 4 dynamic urls

@The-Code-Monkey for this cases you should use this construction rule:
const paramsConfig = {
	'/courses/:category/:course': [{
		category: 'unknown1',
		course: 'third-project'
	}, {
		category: 'unknown2',
		course: 'fourth-project'
	}],
};

If you have 3 or more dynamic route parts, the rules will look like this:
const paramsConfig = {
	'/courses/:category/:course/:thirdDynamicPart': [{
		category: 'unknown1',
		course: 'third-project',
                thirdDynamicPart: 'something'
	}, {
		category: 'unknown2',
		course: 'fourth-project',
                thirdDynamicPart: 'something'
	}],
};

Thanks


[move-compiler] Suppress printing diagnostics (twice) when running tests

Description
We suppress part of the second compiler run when executing tests vis CLI but we do not suppress printing diagnostics from this run. This PR fixes that.
Test Plan
Tested that diagnostics are suppressed during the second compiler run when testing in CLI.

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] protocol change
[x] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes
Developers will no longer see duplicate or spurious warnings when running tests.

Closing as this was superseded by a more generic fix in https://github.com/MystenLabs/sui/pull/15156


Debug password change Casper failures due to Django 1.10 upgrade

Automated message from Dropbox CLA bot
@umairwaheed, it looks like you've already signed the Dropbox CLA. Thanks!

@timabbott ready for review. If you feel that the second commit is good merge that as well.

Cool, I merged just the first commit for now.

see also #2740

If we find that the previous fix doesn't work fully, we can do the spinlock thing, but I'm hoping we won't need it.  Closing for now; we can reopen as needed.
Thanks @umairwaheed!


Should we remove Form from react-bootstrap?

@andrerpena In AutoFormInternal is still imported and used the Form component from react-bootstrap.

I think that we should remove it!, in case that is needed to define some root element we can add a method in the UIs factory :smile:

Cool. I think that we could replace for a normal form not bootstrap, delete the dependency.

The only reason why I use React-Bootstrap's Form instead of a regular form is because React-Bootstrap provides a form and the Bootstrap-UI already has a dependency on React-Bootstrap. I mean.. Removing the dependency is not having any impact on the bundle size or anything.
But yes.. if that's what you want to do, you can replace and use the regular

@andrerpena okey, I will do it so.. :smile:

I think i should look more closer to the code because of this:
render() {
        let { fieldLayout, ...rest } = this.props;

        return (
            <div className="meta-form">
                <Form onSubmit={handleSubmit} horizontal={fieldLayout == 'inline'}>
                    { groupComponent }
                    { React.createElement(buttonBar, { submitting: submitting }) }
                </Form>
            </div>
        )
    }

The trouble here is because of the horizontal prop that react-bootstrap have..

We can add the root element in an UIs factory method!, in case the method return a root component we set the children groupComponent and React.createElement to it, otherwise if that root component is not defined in the factory we use a normal form!

@danigomez totally agree with it!  I was thinking, what is the problem with using React-Bootstrap's form? The problem is that the form is inside AutoFormInternal, which shouldn't depend on Bootstrap.
Ok, now it makes absolute sense to replace it with a regular form and remove RAF's dependence on React-Bootstrap altogether.

Also, about the field layout (stacked vs inline), don't bother with that. Let's make it Bootstrap only. Work with Material the way it's meant to be.

Also, now I see why @danigomez is considering making the root element part of the Factory, that's because of the horizontal prop that is specific to Bootstrap. Actually.. the horizontal can be replaced by a css class.
Bottom line: We can either make the root element part of the UI or we can just make the form CSS classes to be part of the UI. Would just the CSS suffice?

@JonatanSalas , because you are assigned to this task, here are some thoughts:
Today, what determines the UI type is the factory you pass in. The modes (edit, details and search) would change by passing different factories. So, if you want to operate in edit mode, you pass an edit factory. I'm thinking that it's better to replace these factories by a single "class", that would provide factories for edit, details and search. I mean.. instead of passing an edit factory. You pass 1 unified class that should be able to provide these factories. Why? Because now this unified class can also provide CSS classes for the form, or even a complete form control to use. This would ultimately solve this problem we have today with RAF depending on Bootstrap.
I could get this task, but I'm currently involved with the Redux-Form missing props release that I still couldn't test because it's not convenient.

Also, I think the related "task" to this "question" would be to remove Bootstrap dependency from RAF altogether.

@andrerpena well, with @danigomez we have think about having a class that resolves the factories itself.

@andrerpena @danigomez after a time on thinking about this, I would prefer to keep the code as simple as possible. The horizontal property is related to react-boostrap and could be emulated easy by just using css or inline styles. So I will delete the bootstrap form import and use a normal form and I will emulate this prop by css.

Since this is already solved, I will close it.

Yes, I mean, the only thing left is to make the form bootstrap-free. But you can close it if you want. I think it makes sense to close this question and to open an issue which is actually making it bootstrap-free. Even though the reference has been removed, it's still using a class that is bootstrap-specific.

@andrerpena but it doesn't make so much trouble, because it only will work when bootstrap-ui it's used.
We have no direct dependency now on bootstrap, because if you just use material-ui then, it won't take the 'form-horizontal' className.

Agreed!


Card read error: Unsupported message format and Message verification failed

I'm using the library on a Doit ESP32 devkit V1 with a intelbras card reader LE 130 MF. Since ESP cant hold 5v, im also using a logic level shifter for d0 and d1 connections. I'm using d0 on pin gpio26 and d1 on pin gpio27
I'm running the polling example as I haven't searched if esp has interrupts yet, but I'm having some issues...
If i swipe one card on the reader many times it shows different message formats everytime, and when format is right, the verification fails.
12:14:46.634 -> Card read error: Unsupported message format - Raw data: 32bits / 07C3F060
12:14:48.250 -> Card read error: Unsupported message format - Raw data: 23bits / 70007F
12:14:49.498 -> Card read error: Unsupported message format - Raw data: 27bits / 0600001E
12:14:50.930 -> Card read error: Unsupported message format - Raw data: 29bits / 000007C0
12:14:52.173 -> Card read error: Unsupported message format - Raw data: 31bits / 7E00000C
12:14:53.234 -> Card read error: Unsupported message format - Raw data: 35bits / 0787C300F8
12:14:54.755 -> Card read error: Unsupported message format - Raw data: 19bits / 040003
12:14:56.555 -> Card read error: Unsupported message format - Raw data: 33bits / 01E1E619C0
12:14:58.216 -> Card read error: Unsupported message format - Raw data: 28bits / 0F8FEC00
12:14:58.861 -> Card read error: Unsupported message format - Raw data: 17bits / 000007
12:14:59.738 -> Card read error: Unsupported message format - Raw data: 27bits / 07000070
12:15:00.246 -> Card read error: Message verification failed - Raw data: 34bits / 000001FE00

I tried to change TIMEOUT on Wiegand.h to different values but it didn't work. What should i do?

Solution: card reader GND wasn't connected with esp32 GND.

Glad you were able to figure it out


Allow sliders anywhere

From what I could tell slider navs use position fixed and can't be used inside container elements. I could really use this kind of functionality inside a custom right sidebar nav if there was more flexibility.
What do you think?

Why do you need that. I think that is not a common use.


RangeError: too many function arguments

I get this when try to use canvas-rr on Google Meet with a virtual background.
RangeError: too many function arguments
    encode blob:https://meet.google.com/412a6d21-7795-4cd2-b8ff-b9c01ce47724:124
    snapshot_if_array_buffer blob:https://meet.google.com/412a6d21-7795-4cd2-b8ff-b9c01ce47724:156
    snapshot_str blob:https://meet.google.com/412a6d21-7795-4cd2-b8ff-b9c01ce47724:261
    pickle_obj blob:https://meet.google.com/412a6d21-7795-4cd2-b8ff-b9c01ce47724:310
    pickle_arg blob:https://meet.google.com/412a6d21-7795-4cd2-b8ff-b9c01ce47724:356
    args blob:https://meet.google.com/412a6d21-7795-4cd2-b8ff-b9c01ce47724:365
    pickle_call blob:https://meet.google.com/412a6d21-7795-4cd2-b8ff-b9c01ce47724:365
    fn_observe blob:https://meet.google.com/412a6d21-7795-4cd2-b8ff-b9c01ce47724:539
    value blob:https://meet.google.com/412a6d21-7795-4cd2-b8ff-b9c01ce47724:482
    _glBufferData https://meet.google.com/_/rtcvidproc/release/495207330/videopipe_bundle.js:261

apply() suffers the same problem.
I tried const dec_bstr = dec_u8a.reduce((string, val) => string + String.fromCodePoint(val), ''); instead and it seemed to work but was still very slow. I'll probably try https://github.com/lucacasonato/proposal-binary-encoding/blob/main/polyfill/mod.mjs next.

That's still too slow. I also tried https://github.com/mitschabaude/fast-base64/blob/main/js.js and it's still a pretty big bottleneck. I wonder if it makes sense to send the buffers to a worker and have it do the encoding.


[Stdlib] Update the SeeAlso docs for flatten()

flatten() was still referencing joinWithSeparator(_:) even though
that's now been renamed to joined(separator:).

@swift-ci Please test and merge


Wayland ?

mouse function and keyboard functions are not working in Wayland!!
Please Add Support To Wayland.

As they said here, on Linux, PyAutoGui works using the xlib module, which works only on x11 and doesn't have any support for Wayland.


Usage is measured in "seconds" not in "quantum_seconds"

What is the expected feature or enhancement?
Qiskit Runtime usage, or just usage, is defined here or here as:

Usage: Qiskit Runtime used by this job. This usage is the time counted by Qiskit Runtime to process a job, and is determined by the use of internal resources.

but in the API related with estimations, e.g. RuntimeJob.usage_estimation, we are returning quantum_seconds instead of just seconds. All measures related with Qiskit Runtime must be seconds.
Acceptance criteria
Everything related with Qiskit Runtime usage (real or estimated) must be seconds. In a quick search in this repo I found 4 places where we say quantum_seconds instead of just seconds.

@raulotaolea have you reached a conclusion for this?

Closing since quantum_seconds was ok again


Add utils.bin2c rule to generate header from binary file

default format (.bin)
target("console")
    set_kind("binary")
    add_rules("utils.bin2c")
    add_files("src/*.c")
    add_files("res/*.bin")

specific format (.png)
target("console")
    set_kind("binary")
    add_files("src/*.c")
    add_files("res/*.png", {rules ="utils.bin2c"})

set line width
target("console")
    set_kind("binary")
    add_rules("utils.bin2c", {linewidth = 16})
    add_files("src/*.c")
    add_files("res/*.bin")

usage in code
static unsigned char g_png_data[] = {
    #include "image.png.h"
};

int main(int argc, char** argv)
{
    printf("image.png: %s, size: %d\n", g_png_data, sizeof(g_png_data));
    return 0;
}

Why c++.utils? This rule probably could be used by C too.

Why c++.utils? This rule probably could be used by C too.

we can add an alias, c.utils.xx c++.utils.xx

I'm not sure about global either, it may actually prevents to declare the data where we want.
How about
static unsigned char g_filename_data[] = {
#include "filename.bin.h"
};```

size could then be obtained using sizeof.
The advantage would be to control how we declare data (some may want to declare it non-const for example).

Yes but it does prevent someone to declare it otherwise, e.g. without const.
Maybe we could make it configurable wether it generates number sequence or global arrays containing them

I'm not sure about global either, it may actually prevents to declare the data where we want.
How about
static unsigned char g_filename_data[] = {
#include "filename.bin.h"
};

ok, I will consider it.

I have finished this feature.
example: https://github.com/xmake-io/xmake/blob/dev/tests/projects/other/bin2c/xmake.lua

we can also call private module:
xmake l private.utils.bin2c -i /tmp/b -o /tmp/a -w 16

done

now we can custom rule extensions in global

target("test")
    set_kind("binary")
    add_rules("utils.bin2c", {extensions = {".png", ".bin"}})
    add_files("src/*.c")
    add_files("src/*.bin")
    add_files("src/*.png")

see https://github.com/xmake-io/xmake/issues/1555


Thread cannot find textures sometimes and causes assertion

After several texture loads/removals the thread is not able to find the texture.

Could you check that this bug is still happening? I think #246 might have fixed it, but I'd like to be sure before closing this.

It doesn't happen to me anymore. I don't know if it's because I'm lucky or because it's fixed hahaha

Hopefully the latter! I'll close this for now, and if it comes up again we can reopen it.


[Request] Release to pub.dev

I am just getting started with this package. Thank you for all the work you have done already!
Searching for a couple of features, i noticed that that some of them are already merged to master, such as https://github.com/juliansteenbakker/mobile_scanner/pull/407/ and https://github.com/juliansteenbakker/mobile_scanner/pull/411.
Sadly none of these fixes/features have been released to pub.dev. I am not familiar with how much work more frequent releases would be, but it would be highly appreciated!
Thank you :)

I just discovered that there is a beta channel here: https://pub.dev/packages/mobile_scanner/versions/3.0.0-beta.4
I will be using this one for now, but it would still be interesting to know when all of these great new things are considered stable :)

I have released version 3.0.0, sorry for the delay!


bump NCCL floor to <IP_ADDRESS>, relax PyTorch pin

Contributes to https://github.com/rapidsai/build-planning/issues/102
Fixes #217
Notes for Reviewers
How I tested this
Temporarily added a CUDA 11.4.3 test job to CI here (the same specs as the failing nightly), by pointing at the branch from https://github.com/rapidsai/shared-workflows/pull/246.
Observed the exact same failures with CUDA 11.4 reported in https://github.com/rapidsai/build-planning/issues/102.
...
  + nccl                     <IP_ADDRESS>  hcad2f07_0                  rapidsai-nightly     125MB
...
./ Saw all tests pass with CUDA 11.4 😁
...
  + nccl                     <IP_ADDRESS>  hee583db_1                  conda-forge          131MB
...
(various log messages showing all tests passed)

(build link)

Thanks!
@linhu-nv could you please review here?

/merge


taish: rewrite taish to support grpc

Signed-off-by: Wataru Ishida<EMAIL_ADDRESS>

details are described in README.md


The demo makes no sense to me. Where are the rooms?

So I've managed to run the Escoria 3.1 demo on Godot 3.1 Mono. No hassle.
The demo shows the "desert" room where you can walk into the huts. OK.
But then in the resources I see more rooms (like, the sci-fi room). But I don't know how to access it.
Am I supposed to be able to access that run from the desert scene, or do I need to trigger it manually by opening a different scene? I've tried changing the starting room in the project's Autoload settings but that breaks Escoria -- which makes sense.
So?
PS: Both desert huts entrances lead to the same hut? But in the resources I see two different huts backgrounds? Is that a bug?

OK I understand better now. I can open any room and then instead of clicking "start" I click "start current scene". And it will start the game in that room.
But what decides what room is the first room, in normal conditions?

OK I understand better now. I can open any room and then instead of clicking "start" I click "start current scene". And it will start the game in that room.
But what decides what room is the first room, in normal conditions?


Azure IoT Edge Tools for VS 2019 - "Build IoT Edge Modules" command ignoring build args specified in module.json

I'm currently using the Azure IoT Edge Tools for VS 2019, and when I specify docker build args in the "buildOptions" section of the module.json, these build args are not being passed to the "docker build" command.  When I use the same deployment.template.json and module.json using the VS Code tools, it works fine.
Attached is a zip file of a sample project illustrating the problem.  If built in VS 2019, the RUN command checking the value of the build argument fails.  When run in VS Code, it succeeds.  You can also see that VS 2019 does not call "docker build" with the --build-arg parameter.
SampleIoTEdgeApp.zip

Thanks for your feedback, and I will test it

Hi, @BinaryMike, for current version of Visual Studio extension, it not support the BuildOptions now, we are planning to support it in the future release, and I will let you know the progress, thank you!

Hi
Thank you for filing the issue.
We are looking to clean up the reported issues that are obsolete such that our team can focus on the latest issues reported.
As such, we are going to close the issue for now.
If the issue is still blocking or critical to you, please file a new issue and we will do our best to respond as soon as possible.
When you file a new issue, please ensure following additional information are provided.
o	If you believe it’s a bug, provide detail repro steps.
o	If it’s a feature request, please note as such
o	Expected outcome
o	Is this a blocking issue?
Thank you,
Azure IoT Developer and Device team

Hi
Thank you for filing the issue.
We are looking to clean up the reported issues that are obsolete such that our team can focus on the latest issues reported.
As such, we are going to close the issue for now.
If the issue is still blocking or critical to you, please file a new issue and we will do our best to respond as soon as possible.
When you file a new issue, please ensure following additional information are provided.
o	If you believe it’s a bug, provide detail repro steps.
o	If it’s a feature request, please note as such
o	Expected outcome
o	Is this a blocking issue?
Thank you,
Azure IoT Developer and Device team


Why does gorm attempt to update an artist instead of insert it?

GORM Playground Link

https://github.com/go-gorm/playground/pull/329
Description

I expect my test case to successfully perform an INSERT, because the artist instance has an ID of 0. What I observe is an UPDATE being performed, and failing due to a lack of WHERE clause.
I'm upgrading some code from v1.9.10 where this worked fine, but with v1.21.10 it fails.
Is there some configuration tweak I need to make?

double pointer of a value, use err = tx.Save(artist).Error
But Save is not recommend, use Create


Cursor position moves to the right after performing search through default sh

Describe the bug
After a fresh install of the config on a previously unconfigured Neovim, when using the default mapleader <space> and performing a help search through <space>sh, after closing the help pane and returning to the previous editor, the cursor has moved one column to the right. I believe it's related to the <space> key still being registered as the default Neovim keybind for moving the cursor one column to the right, instead of fully replacing such behaviour with the mapleader option.
To Reproduce

Open any file or pane
Perform a search through <space>sh with <space> as mapleader and default keybindings, and follow through to the nvim help pane on any item
Close the nvim help pane and return to the one you initially opened
The cursor position will have moved one column to the right

Desktop

OS: Linux
Terminal: Alacritty

Neovim Version
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1723675123

vim.keymap.set({ 'n', 'v' }, '', '')

Wow. That is so specific. It is reproducible in my setup too. It only works for "[S]earch [H]elp" and not other Telescope searches I've tried. It also doesn't work if cancelled without choosing any help entry.

I think this should be reported to the Telescope project not kickstart.

Yes please report this at the telescope project.


Error fetching profile data: TypeError: Cannot read properties of null (reading 'collections')

On viewing another's collection
artx-market-app-1       | Error fetching profile data: TypeError: Cannot read properties of null (reading 'collections')
artx-market-app-1       |     at getAgentAndCollections (/app/xidb.js:607:42)
artx-market-app-1       |     at async /app/server.js:630:23

Doesn't seem to affect the UI

artx-market-app-1       | Error fetching profile data: TypeError: Cannot read properties of null (reading 'collections')
artx-market-app-1       |     at getAgentAndCollections (/app/xidb.js:664:19)
artx-market-app-1       |     at async /app/server.js:697:23
artx-market-app-1       | GET /api/v1/profile/null 500 1.856 ms - 41

Fixed in https://github.com/macterra/artx-market/commit/51a7d8d3175badbd1897760003c853e8a1072970


Finalize and Test DSPEC Models for magnolia beach

Notes:

Create DSPEC

12h lead time (1st and 2nd)
48h lead time (1st and 2nd)

Check DSPECs with Jacob final time
Test if models run locally

We need to add interpolation commands, and do the other lead times

12h Transform Not Working

speak to


refactor(query-core): Make MutationMeta and QueryMeta generic

This is a rework of #5412 for v5
The basic idea is that we can infer types from meta fields passed in as functions:

Without inference

With inference

This, however, requires some setup from the user:

interface MyMeta<
  TData = unknown,
  TError = unknown,
  TVariables = unknown,
  TContext = unknown
> {
  errorMessage: string | ((error: TError, variables: TVariables, context: TContext) => string);
  // I can also infer the type of data correctly
  successMessage: string | ((data: TData, variables: TVariables, context: TContext) => string);
}

declare module '@tanstack/react-query' {
  interface Register<
  TData = unknown,
  TError = unknown,
  TVariables = unknown,
  TContext = unknown
> {
    mutationMeta: MyMeta<TData, TError, TVariables, TContext>;
  }
}

Also, as mentioned in #5412 - the inference will only work if used in useMutation/useQuery.
Because all generic parameters are optional, this should work exactly the same as before and you don't need to use generics if you don't have to.

what's problematic about using functions inside meta is that you really can't close over anything in your component, because there is only one meta object per query, and you'd likely read stale values:
function MyComponent(props) {

  useQuery({
    queryKey,
    queryFn,
    meta: () => props.foo
  })
}

so, I'm unsure if we should make it generic just to support that case 🤔

yeah, I see the reason to discourage the usage of functions in meta. That's a problem even without generics.
I'd argue that the example you provided is more of a case in favor of generics - I would have done precisely that instead of reading the values from the query.

please reopen to the beta branch, thanks.


gridfinitybox with -s -l and either -ld or -wd > 1 fails

The following command fails: gridfinitybox 3 1 2 -ld 2 -l -s -f STL.
After some experimentation it appears that changing removing -l OR removing -s OR setting -ld < 2 does not fail, so this appears to be a corner condition of some sort.
Versions:
$ python
Python 3.11.7 (tags/v3.11.7:fa7a6f2, Dec  4 2023, 19:24:49) [MSC v.1937 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import cqgridfinity
>>> cqgridfinity.__version__
'0.4.2'
>>>

Error text:
$ gridfinitybox 3 1 2 -ld 2 -l -s -f STL
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\xxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts\gridfinitybox.exe\__main__.py", line 7, in <module>
  File "C:\Users\xxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\cqgridfinity\scripts\gridfinitybox.py", line 222, in main
    box.save_stl_file(filename=argsd["output"])
  File "C:\Users\xxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\cqgridfinity\gf_obj.py", line 282, in save_stl_file
    obj = self.cq_obj.val().wrapped
          ^^^^^^^^^^^
  File "C:\Users\xxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\cqgridfinity\gf_obj.py", line 57, in cq_obj
    return self.render()
           ^^^^^^^^^^^^^
  File "C:\Users\xxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\cqgridfinity\gf_box.py", line 136, in render
    r = self.safe_fillet(r, bs, self.safe_fillet_rad)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\xxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\cqgridfinity\gf_obj.py", line 173, in safe_fillet
    return obj.edges(selector).fillet(rad)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\xxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\cadquery\cq.py", line 1304, in fillet
    s = solid.fillet(radius, edgeList)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\xxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\cadquery\occ_impl\shapes.py", line 2780, in fillet
    return self.__class__(fillet_builder.Shape())
                          ^^^^^^^^^^^^^^^^^^^^^^
OCP.StdFail.StdFail_NotDone: BRep_API: command not done

  _____      _     _  __ _       _ _           ____
 / ____|    (_)   | |/ _(_)     (_) |         |  _ \
| |  __ _ __ _  __| | |_ _ _ __  _| |_ _   _  | |_) | _____  __
| | |_ | '__| |/ _` |  _| | '_ \| | __| | | | |  _ < / _ \ \/ /
| |__| | |  | | (_| | | | | | | | | |_| |_| | | |_) | (_) >  <
 \_____|_|  |_|\__,_|_| |_|_| |_|_|\__|\__, | |____/ \___/_/\_\
                                        __/ |
                                       |___/

Version: 0.4.2
Gridfinity box: 3U x 1U x 2U (126.0 mm x 42.0 mm x 17.8 mm), 1.00 mm walls
  with options: scoops, label strips, 2 length-wise walls

Can you please check which version of cq-gridfinity you are using?  My latest version seems to work with your broken test case.
$ python
>>> import cqgridfinity
>>> cqgridfinity.__version__

Update the issue with versioning info.

Ok thanks.  It looks like you are using v.0.4.0.  Can you try pip installing v.0.4.2 and see if that works?

Updated the version and it still fails.  Updated the issue description accordingly.

Thanks.  Since it is a problem down in the OCP kernel (called from CadQuery), can you please check the versions of those packages too?
$ python
>>> import cadquery
>>> cadquery.__version__
>>> import OCP
>>> OCP.__version__

FYI, on my working platform CadQuery is v.2.2.0 and OCP is v.<IP_ADDRESS>.

Another thing to try is changing the box size to 3x1x3, i.e. gridfinitybox 3 1 3 -ld 2 -l -s -f STL  Does this variant fail too?

Yes, height 1, 2, or 3 doesn't change anything.

I'm not surprised about the python version 3.12 to 3.11 issue.  I think I remember folks in the CadQuery team discussing issues with supporting python 3.12.  Sadly as both platforms and libraries are always changing, the probability of breaking changes among dependencies is not zero!

This might help explain your issue with python 3.12:  https://github.com/CadQuery/cadquery/issues/1475

Yeah, I more or less figured that one out. :)

Did you identify which versions of CadQuery and OCP your installation are using?

Closing this issue out.  Likely a platform difference and potentially resolved since v.0.5.5.


Memory Leak on Windows when playing audio files

When using pyglet.media to play a playlist of music audio files on Windows, memory usage continually increases by around 2-10 MB for every audio file based on its length. This is happening both when streaming is set to True or False.
I have tested on .m4a .mp3 and .wav file and all of them exhibit this behaviour.
OS: Windows 10 22H2
Python: 3.11.4
pyglet.version: 2.0.9
The following code reproduces the error. It reads from a folder and then loads the audio files using media.load and then queues it to the player. The program initially consumes around 40MB but for each new song that is played it grows by 2-10MB everytime without any stopping.
This issue is very similar to this but it has been marked as solved yet I am still facing this issue in the latest pyglet version.
import pyglet
import os

path = 'path/to/music/folder' #change this to the path to your music folder

pool = []
audio = set('.mp3 .wav .ogg .flac .m4a'.split(' '))
for root, dirs, files in os.walk(path, followlinks = True) :
  for name in files:
    if os.path.splitext(name)[1] in audio :
        pool.append(os.path.join(root, name))

player = pyglet.media.Player()

def queue_next() :
  s = pool.pop(0)
  print("Queueing: %s" % (s))
  player.queue(pyglet.media.load(s, streaming = True))
  pool.append(s)

def on_eos() :
  player.next_source()
  queue_next()

player.on_eos = on_eos

queue_next()
queue_next()
player.play()

window = pyglet.window.Window(100,100,)

pyglet.app.run()

The issue referencing is regards to Linux, not Windows, so that is not related unfortunately.
We need a little more information, what kind of files are you mostly testing? Each of the difference formats have different decoders, so it may just be one affected or multiple.

Just to add, there are two potential areas for memory leaking:  The audio backend, and the decoders.
I would recommend to first start with Wave files ONLY (the source type should show as pyglet.media.codecs.wave.WaveSource). This decoder doesn't have any chance of leaks as it's just a simple byte reader.
If the leaks go away, then it's likely an issue with the decoder being used. Please provide the info as caffeinepills requested.
If you are still seeing leaks, it could be an issue with the default audio backend (which is XAudio2 on Windows). Try manually switching to the legacy DirectSound backend to see if there is any improvement:
import pyglet
pyglet.options['audio'] = ('directsound', 'silent')

print(pyglet.media.get_audio_driver())     # This should show DirectSound

I played around with this a bit in a VM, and while i think the issue may only be about the on-load leak, but there also is a continuous leak only present in XAudio2.
Added some controllability with:
window = pyglet.window.Window(100, 100)
@window.event
def on_key_press(sym, mod):
  global previous_ss
  if sym == pyglet.window.key.A:
    on_eos()
  elif sym == pyglet.window.key.Q:
    ss = tracemalloc.take_snapshot()
    if previous_ss is not None:
      print(*ss.compare_to(previous_ss, "lineno")[:20], sep="\n")
    previous_ss = ss

Here's three tracemalloc reports taken around 15 minutes apart from eachother while playing using XAudio2, the most glaring lines are
<unknown>:0: size=1793 KiB (+1339 KiB), count=5185 (+3896), average=354 B
<unknown>:0: size=32.8 MiB (+31.0 MiB), count=97592 (+92407), average=352 B
<unknown>:0: size=82.1 MiB (+49.4 MiB), count=244631 (+147039), average=352 B

Before the first snapshot, i queued 14 audio files; between the first and second one, 2 additional ones. Between the second and third snapshot, one additional file was queued. Those also triggered the 2-10MB (as reported by Task Manager) leaks as reported by HauseMaster, but the bulk was accumulated by continuous playing.
Task manager however reported upwards of 300MB of memory usage, which would correspond to somewhere around ~25min of 44100Hz stereo with the initial process usage being somewhere around 40MB, hinting at the entire uncompressed audio being leaked.

Directsound
XAudio2

Leak on new source
X
X

Continuous leaks while playing

X

I only observed m4a, wav and mp3 files in my music folders, and enqueueing a m4a file bumps up the TM-reported usage by about 6 times of when a wav or mp3 was queued. It is likely it's related to filesize or the internals of the file somehow. The few 20min+ mp3s i do have are still of an equal influence of ~2min m4as, and relatively short m4as still can add an extreme of 6MB.
Tracemalloc does not seem to catch these allocations. (~100 files queued, TM-reported usage at ~200MB). On XAudio2, loading around ~100 files yields this line <unknown>:0: size=8248 Kib (+7818 KiB), count=23964, average=352 B again, but is likely to be prebuffered leaked playback data, not related to the on-load leak.
While writing this, i got the idea that the WMFDecoder may be at fault, and it likely is. I could only try wav files without it, but using the standard wav decoder didn't add any memory usage at all. This issue has pretty great timing, since i was just working on XAudio2 over here anyways.
Feel free to assign me to the issue, i am going to try to fix both the WMFDecoder initialization as well as XAudio2 playback leak.

Great work!

While writing this, i got the idea that the WMFDecoder may be at fault, and it likely is. I could only try wav files without it, but using the standard wav decoder didn't add any memory usage at all.

So if i'm understanding correctly, no leakage when using only wav files?

The issue referencing is regards to Linux, not Windows, so that is not related unfortunately.
We need a little more information, is it WAV or MP3 specifically? Are you using FFMPEG? Each of the different audio formats may have different decoders, and some have multiple decoders.
You can check what kind of decoder by printing the source, which will return it's source class.
src = pyglet.media.load(s, streaming = True)
print(src)

It is happening with both .wav and .mp3 files
I am NOT using ffmpeg. These are the decoders i got while printing the source object:
For .mp3:
<pyglet.media.codecs.wmf.WMFSource object at 0x000001B06DBF6390>

For .wav:
<pyglet.media.codecs.wave.WaveSource object at 0x00000169113B8F50>

Just to add, there are two potential areas for memory leaking: The audio backend, and the decoders.
I would recommend to first start with Wave files ONLY (the source type should show as pyglet.media.codecs.wave.WaveSource). This decoder doesn't have any chance of leaks as it's just a simple byte reader.
If the leaks go away, then it's likely an issue with the decoder being used. Please provide the info as caffeinepills requested.
If you are still seeing leaks, it could be an issue with the default audio backend (which is XAudio2 on Windows). Try manually switching to the legacy DirectSound backend to see if there is any improvement:
import pyglet
pyglet.options['audio'] = ('directsound', 'silent')

print(pyglet.media.get_audio_driver())     # This should show DirectSound

I can still see the leaks even when playing wave files.
The default audio audio backend as you said is indeed the XAudio2 in my case:
<pyglet.media.drivers.xaudio2.adaptation.XAudio2Driver object at 0x000001690C2F9C90>

Unfortunately even after switching the audio backend to directsound I still see the leaks allbeit a little less (Around 1MB increase for .wav files and around 2MB increase for .mp3 files) and I've confirmed this by printing the audio driver:
<pyglet.media.drivers.directsound.adaptation.DirectSoundDriver object at 0x000001FD02529D90>

If its an issue in my end please let me know.

I do see a small potential leak in WMF with the source reader.
Try adding this:
    self._source_reader.Release()
    ```
Somewhere in this function: https://github.com/pyglet/pyglet/blob/094c638f0529fecab4e74556487b92453a78753c/pyglet/media/codecs/wmf.py#L775

Great work!

While writing this, i got the idea that the WMFDecoder may be at fault, and it likely is. I could only try wav files without it, but using the standard wav decoder didn't add any memory usage at all.

So if i'm understanding correctly, no leakage when using only wav files?

Yes, wav files behave just fine. I can not replicate @HauseMasterZ's problem here: https://github.com/pyglet/pyglet/issues/926#issuecomment-1681848090, wav files are loaded via the WaveDecoder which shouldn't suffer from a memory leak.

I do see a small potential leak in WMF with the source reader.
Try adding this:
if self._source_reader:
    self._source_reader.Release()

Somewhere in this function:
https://github.com/pyglet/pyglet/blob/094c638f0529fecab4e74556487b92453a78753c/pyglet/media/codecs/wmf.py#L775

Yeah, that was it. With this commit, no more memory leak occurrs- Now queuing m4a, mp3, flac and whatnot is free from memory leaks as long as DirectSound is used for playback.
I have a hunch on what the issue for XAudio's continuous leaking may be. See:
import ctypes
import os

class S(ctypes.Structure):
    _fields_ = (("ptr", ctypes.POINTER(ctypes.c_char)),)

x = [S() for _ in range(1_000_000)]
for s in x:
    s.ptr = ctypes.create_string_buffer(os.urandom(1024))

for s in x:
    s.ptr = None

After running this, python sits at ~1.6 GiB of memory usage. This ctypes-array-to-pointer assignment does not cause the pointer to take ownership of the data and is used here: https://github.com/pyglet/pyglet/blob/094c638f0529fecab4e74556487b92453a78753c/pyglet/media/drivers/xaudio2/interface.py#L302-L315
Everything assigned to pointers this way and then discarded appears to be leaked? Something i'll look into.
Since pyglet 2.0.10 is probably still at least 10 days away. I'll try fixing this, bundle all changes in the fork that don't break compatability too much to a minor-version-safe branch and then PR that.

I don't see any leaking with xaudio2 with the WMF fix.

If xaudio2 is not leaking with wav files, that would seem to indicate that it's stable.  Unless WMF and XAudio2 are having some other interaction under the hood.
Also, I can't help myself from finding micro optimizations :rofl:
data = (ctypes.c_char * audio_data.length).from_buffer_copy(audio_data.data)

Any updates?

@HauseMasterZ can you try it with the latest code in the master branch, with wav files only?

Sorry about the excruciatingly slow progress.
The issue is long fixed in the media rewrite branch i linked before; but since i am basically just running in circles over the entire backend for the past month, getting this out into a PR early-on would have dragged in some more changes and probably become obsolete in a week again.
My time estimates always turn out horribly optimistic, but i should definitely be in the final 80% by now. I have not forgotten this issue and i do want to see it closed as much as anyone else

@HauseMasterZ can you try it with the latest code in the master branch, with wav files only?

I cloned the repository, compiled the module, and tested WAV files, and it seems like the issue has been resolved! There is still a slight increase in RAM usage (around 0.2 MB), but it returns to normal after some time, so it's not an issue at all.

After some dread after the leak popped up again i realized it is just a Python bug.
The leak can be observed on 3.11.0, but not on 3.11.6 nor 3.8.10; though i didn't test other versions and can also not deduce what the fix may be from Python's changelog.
(Also, i should probably add that my previous comment from the pointer assignment leaking is complete bogus, sorry about that)

If it's only a specific range of Python 3.11 releases, the most we need to do is recommend avoiding them in the doc. Also, 3.12's first stable release just came out yesterday. We should make sure the issue doesn't occur with it.

Thanks for testing this further, Square.
Let's open a new ticket for Python 3.12 to track any issues.
Since HauseMasterZ has confirmed things are OK on their end, let's close this ticket.


[Draft] Using KapChat

A draft of using KapChat. Will provide images if really needed but I personally don't believe it does. Feel free to edit all of my "weird" grammar or spelling. Thus the draft.

Thanks, will check this out some more tomorrow when I have some spare time :)

Sounds like a plan. Thank you :D

Merged, looks like it'll need some markdown fiddling before going out of draft
You can see it at https://www.twitchtips.com/using-kapchat/

Ok I'll start fiddling as well as re-adjusting the overall organization.as a whole.


Training nano-plus-m with backbone shufflenetv2_1.0x from scratch get significantly lower APs

Hi, I train nano-plus-m (image size is 384*384) with default settings and get 0.262 AP at 300 epoch and 0.251 AP at 90 epoch.
However, when I train from scratch (set pretrain=False in yaml), I get 0.213 AP at 90 epoch.
Have you try to train those models from scratch? How are those results?

with pretrained weights

without pretrained weights

For tiny backbones, pre-training is very important.

For tiny backbones, pre-training is very important.

@RangiLyu  Thx for your reply. I will pre-train the backbone before using it on target datasets.
I also read the tips from yolov5: Tips-for-Best-Training-Results. However it recommends to pre-train or not according to dataset scale instead of model size. How do you like this?


Add distance-based color-coding to expense claims list

Refer to US02.03.01

I know we talked about this two labs ago, but I'm having trouble remembering. How many levels of distance do we want to have, and what would be the approximate kilometer thresholds? I'm thinking text labels for various levels are a good idea, as it provides another means of gauging distance. I'm thinking of using a TextView I can switch out the label for and change the color of the text/background. I'm kind of terrible with distances, but how do these sound?

Very Nearby, < 100 km
Nearby, < 500 km
(I can't think of a good label), < 3 000 km
Distant, < 10 000 km
Very Distant, no max

@kdbanman's very helpful eClass post about color.
Color doesn't have to be confined to a label, as it can be interpolated based on distance. For example (I'm not familiar with HSV), using an HSV of (0,0,100) for no distance and (0,100,100) for max distance (>= 20 000 km). I do like interpolating the color, as it provides a very smooth spectrum then.
I've about got the implementation in, I'm just concerned about valid thresholds/labels/colors, all from a usability standpoint. I'm open to anything.

I think we discussed having a spectrum based on the furthest destination.
So if the colors range from green to red, green would be your closest claim
and red would be your furthest claim, regardless of the actual distance.
On Apr 4, 2015 10:41 AM, "Stuart Bildfell"<EMAIL_ADDRESS>wrote:

I know we talked about this two labs ago, but I'm having trouble
remembering. How many levels of distance do we want to have, and what would
be the approximate kilometer thresholds? I'm thinking text labels for
various levels are a good idea, as it provides another means of gauging
distance. I'm thinking of using a TextView I can switch out the label for
and change the color of the text/background. I'm kind of terrible with
distances, but how do these sound?

Very Nearby, < 100 km
Nearby, < 500 km
(I can't think of a good label), < 3 000 km
Distant, < 10 000 km
Very Distant, no max

@kdbanman https://github.com/kdbanman's very helpful eClass post
https://eclass.srv.ualberta.ca/mod/forum/discuss.php?d=486352 about
color.
Color doesn't have to be confined to a label, as it can be interpolated
based on distance. For example (I'm not familiar with HSV), using an HSV of
(0,0,100) for no distance and (0,100,100) for max distance (>= 20 000 km).
I do like interpolating the color, as it provides a very smooth spectrum
then.
I've about got the implementation in, I'm just concerned about valid
thresholds/labels/colors, all from a usability standpoint. I'm open to
anything.
—
Reply to this email directly or view it on GitHub
https://github.com/CMPUT301W15T07/TravelTracker/issues/107#issuecomment-89611910
.

I'm not sure I like that actually, having a relative spectrum instead of an absolute one. If that were the case, a claim could be a certain color indicating its distance. A bunch of claims could be added or modified so that claim's color has now drastically changed, despite the claim not having changed and the user's home location not having changed.
While relative does have it's advantages, I feel absolute is our best bet.

In that case, you may want to opt for an exponential scale. Otherwise, the difference in color between 100 km and 500 km will be nearly indistinguishable.

Ah, very good point on the exponential scale, thank you. I did not think about that.


fix: update package.json to allow publishing

Signed-off-by: Phil Adams<EMAIL_ADDRESS>

@Rishi-web @dinesh-venkatraman-g These changes allowed me to publish the project via cli from my local clone of the repo.


TypeError: Cannot set property 'targetNSAlias' of undefined

Hey Guys,
After finally getting expat compiled and installed on windows, i've tried loading a wsdl into node-soap to create a web service server.
Ive loaded into SoapUI tool to test wsdl/xsd compliance and sent test request/response ok.
when i start a simple node http server, i get the following:
C:\Documents and Settings\Administrator\My Documents\Web Service Current\node_modules\soap\lib\wsdl.js:346
this.element.targetNSAlias = ns;
^
TypeError: Cannot set property 'targetNSAlias' of undefined
at [object Object].postProcess (C:\Documents and Settings\Administrator\My Documents\Web Service Current\node_modules\soap\lib\wsdl.js:346:36)
at [object Object].postProcess (C:\Documents and Settings\Administrator\My Documents\Web Service Current\node_modules\soap\lib\wsdl.js:378:17)
at [object Object].postProcess (C:\Documents and Settings\Administrator\My Documents\Web Service Current\node_modules\soap\lib\wsdl.js:395:15)
at [object Object].postProcess (C:\Documents and Settings\Administrator\My Documents\Web Service Current\node_modules\soap\lib\wsdl.js:408:14)
at [object Object].postProcess (C:\Documents and Settings\Administrator\My Documents\Web Service Current\node_modules\soap\lib\wsdl.js:440:21)
at C:\Documents and Settings\Administrator\My Documents\Web Service Current\node_modules\soap\lib\wsdl.js:594:36
at C:\Documents and Settings\Administrator\My Documents\Web Service Current\node_modules\soap\lib\wsdl.js:641:13
at C:\Documents and Settings\Administrator\My Documents\Web Service Current\node_modules\soap\lib\wsdl.js:641:13
at [object Object]._processNextInclude (C:\Documents and Settings\Administrator\My Documents\Web Service Current\node_modules\soap\lib\wsdl.js:635:26)
at [object Object].callback (C:\Documents and Settings\Administrator\My Documents\Web Service Current\node_modules\soap\lib\wsdl.js:640:14)
The WSDL being loaded is here: http://pastebin.com/iECgpUJs
The first import schema which is loaded (aidx/IATA_AIDX_FlightLegNotifRQ.xsd) is here: http://pastebin.com/5V0r3eYM
Any help would be greatly appreciated!
Andrew

@Himanshu4, are you going to submit a pull request? It’d be nice to see some progress here.

I have submitted a new pull request for the same issue.

Since @Himanshu4 s PR is merged in now, this should be solved.


[Feature] Any plans on supporting deepseek-ai/deepseek-vl2 ?

Motivation
DeepSeek-VL2 is an advanced series of large Mixture-of-Experts (MoE) Vision-Language Models that significantly improves upon its predecessor.
Related resources
deepseek-ai/deepseek-vl2
Additional context
No response

@AllentDan pls add this request to the work list


method to reset lock manager to default

It is useful to reset activejob-uniqueness to
normal state for testing purposes.
For example be able to test app and jobs behavior on
conflicts. Something that is not tested can always
break in unexpected ways. Especially something that
may happen rarely and would be hard to unerstand
in production.
fixes #41

@akostadinov thank you!


Rebuild runtime

Description of change
A reworking of the original allocator and runtime.  Two primary types are provided through this runtime API, a Guarded type and a GuardedVec type.
To simplify how memory is allocated with these two types, libsodium is used.  This gives the ability to use a consistent memory interface across all of the supported platforms.  libsodium is used primarily to allocate, protect, lock, free and zero out memory.  Currently, its used for randomization and constant type comparisons as well, though the randomization will be replaced with crypto.rs. The old runtime code was moved to a folder called old_fork as the concept of forking threads is still something worth exploring in the future.
These modules contain an interface for allocating and protecting the memory of secrets in Stronghold.  Data is protected from being accessed outside of a limited scope. Instead it must be accessed via the provided interfaces. Memory allocations using the Guarded and GuardedVec types are protected by guard pages before and after the allocation, an underflow canary, and are zeroed out when freed.
Type of change
Choose a type of change, and delete any options that are not relevant.

[ ] Bug fix (a non-breaking change which fixes an issue)
[x] Enhancement (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Documentation Fix

How the change has been tested
Describe the tests that you ran to verify your changes.
Make sure to provide instructions for the maintainer as well as any relevant configurations.
Change checklist
Add an x to the boxes that are relevant to your changes, and delete any items that are not.

[x] I have followed the contribution guidelines for this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Really awesome that the runtimes pass in all platforms nice job!

Really awesome that the runtimes pass in all platforms nice job!

Thats the power of using libsodium as an allocator.


Add activationCommands

Add activationCommands
Clean up keymaps & commands

before

after

:+1: :+1:

Thank you!


Maximo Applications

Publish content to:  github.com/IBM/automation-maximo-app-suite
This Epic is designed to cover the development work to support the installation of the Maximo applications & industry solutions into a Maximo Application Suite Core Install. Each Story has a break down the the dependencies for each application. The approach will be to complete Manage first and then define the common patterns for each of the applications and industry solutions.

Definition of Done

[ ] link to Public Git Repo
[ ] link to Public BOM

Dependencies

[ ] ...DB2 or DB2 Warehouse
[ ] ....Watson Studio and Watson ML
[ ] ...Watson Discovery Services (For Assist & Safety)

Publish content

[ ] Generate automation logic and publish to repo
[ ] Document installation instructions in README

Supported Platforms

[ ] AWS
[ ] Azure
[ ] IBM Cloud

Attaching the db2wh creation in CP4d and schema changes required after database creation
db2creation_Steps_cp4d_4.0.zip
db2Steps_Manage_Create.zip

@triceam please fill in dependencies on this epic - or point to the right epic card and close this one.

@triceam @seansund  - Some applications can be installed with Maximo Manage. Here is a list of the ones that can.  @seansund this can be done via the design I showed you with Manage that I setup.  I will be adding these one at a time as they can be tested. So add, test, and the next.

Health (currently added and being tested)
Civil Infrastructure (currently added and being tested)
Aviation
Spatial
Nuclear
Service Provider
Utilities
Asset Config Manager
Workday
Transportation
SAP Adapter
Oracle Adapter
Oil & Gas
Health Safety Environment


Implement OSS Artifactory

Provide a clear and concise description of the feature request
Currently, we are using a Trial version of JFrog Artifactory. New to be replaced by the OSS version of Artifactory or get a permanent installation.
Describe the problem that this feature resolves
This will resolve the need to restart a trial version every 14 days.
Additional context or screenshots for the feature request
Acceptance Criteria

Could we live with replacing this by Nexus ?

We have replace everyting wil Nexus instead that could be install on the OpenShift Instance

We have replace everyting wil Nexus instead that could be install on the OpenShift Instance


Change filename

Hi there,
I've changed the code a bit to generate new filenames to all uploaded files.
I've added
$ext = array_pop(explode(".", $name));
$name = trim($this->generate_filename(8).'.'.$ext);
right after
private function handle_file_upload($uploaded_file, $name, $size, $type, $error) {
It kinda works. All the uploaded files get a random name etc, BUT i always get the response
"Error: SyntaxError: JSON.parse: unexpected character "
even though it works. If I refresh the page I get the list of uploaded files and the errors message disappears. So eveything seems to be working but I still get an error message.

Check the JSON response in the network tab of the chrome developer console / firebug.

Thank you, found the problem!

Please also post your solution for other users to find.

All I did was to change
$ext = array_pop(explode(".", $name));
$name = trim($this->generate_filename(8).'.'.$ext);
to
$name = explode(".", $name);
$ext = array_pop($name);
$name = trim($this->generate_filename(8).'.'.$ext);


Updated UI of Doc-to-Pdf page

Fixed issue #105
Here is the page:

Initially Download pdf button is disabled, user needs to click on Upload .doc file to select a doc file.
After selecting the file, the page appears as (upload button is locked now, user may use reset to change the file):

Now user may click on Download pdf(enabled now) to download the pdf file.

At any stage, if user is not satisfied with the file uploaded, he may select reset button to redo the process from beginning.

Github page link: https://udith51.github.io/Student-portal/Word-to-Pdf/index.html
Do comment in case any update/change is required.

@udith51 it accepts all formats of document and when word is not uploaded, a blank pdf is downloaded

@aakankshabhende, you may check now. Until it receives valid .docx file, it does not enable download pdf button. Hence we don't get empty pdf it such case.

Great work :) @udith51


Updating the documentation a little bit more...

Type

[ ] Bug Fix
[ ] New Feature
[ ] Sample
[X] Documentation

What is in this Pull Request ?
Updating the documentation a little bit more.

Hi @paulwillen, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;

Thanks!


zulip-puppet-apply: Any resources failing to apply should exit 2.

The existing except subprocess.CalledProcessError only catches if there are syntax errors which prevent the lastrun file from being written; it does not handle if there are properly-defined resources which fail to evaluate (e.g. due to a missing dependency or file).
Check the failed resource count, and exit 2 if there are any such resources.  This will cause zulip-puppet-apply --force --noop (which is used as a pre-flight check during upgrades) to properly detect and signal on more types of invalid puppet configurations.  In turn, this will cause upgrade-zulip to not attempt to power through upgrades it knows are destined to fail.

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Nice to see this fixed, merged, thanks @alexmv!

Seems work backporting, done in 546ecc38d61e3090bec1dea47c9f1a619ec95557


Remove the Assert{In,True,Not,...} calls in tensornetwork_test

We want to inline all of the Assert* calls in tensornetwork_test.
These are left over from when we transitioned from googletest to pytest. They cause the error messages to be not as nice as they could be. It's mostly just tedious work, though I'm sure someone could write a short vim command to get it done.

# TODO(chaseriley): Remove these and inline the asserts
def assertEqual(a, b):
  assert a == b

def assertNotIn(a, b):
  assert a not in b

def assertIn(a, b):
  assert a in b

def assertTrue(a):
  assert a is True

def assertFalse(a):
assert a is False

We just have to remove these functions right?

Remove them and inline all of the asserts in the tests below.

Remove them and inline all of the asserts in the tests below.

You want me to remove all the asserts?


Remove: Kamyroll.Kamyroll-Tauri version 1.0.4

Kamyroll has shutdown and links are no longer available

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

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

InstallerUrl does indeed give a 404 response.


Manager nav looks like trash on Firefox

from @benalleng 's recent pr:

here's what it looks like for me on chrome:

guessing it's due to me using the :has selector which isn't supported by ff

should be easy to fix with just some css classes like the old timey days


Configurable full post size on index

this code has bugs. It can not read from config file. Also view file is changed too much. I'll add this feature


Add 'artifactTags' and 'disclaimer' field for shared gallery and community gallery.

ARM (Control Plane) API Specification Update Pull Request
Purpose of this PR
What's the purpose of this PR? Check all that apply. This is mandatory!
Bringing this PR to the latest release new branch: https://github.com/Azure/azure-rest-api-specs/pull/23505
Adding the new disclaimer and artifactTags properties to the Gallery RP.

[ ] New API version. (Such PR should have been generated with OpenAPI Hub, per this wiki doc.)
[ ] Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
[ ] Update existing version to fix swagger quality issues in S360.
[x] Other, please clarify:

Adding a new feature to a new API version release.

Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

[x] I have reviewed the general guidance on the spec PR review process: https://aka.ms/specprreview.
[x] I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data-plane related specifications.
[x] I commit to follow the Breaking Change Policy.
[x] I have reviewed following Resource Provider guidelines, including
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can request review from an ARM API Review board.

ARM API changes review

If you want for the ARM team to review this PR, you must add the ARMReview label.
The automation may automatically add the ARMReview label, if appropriate.
If this happens, proceed according to guidance given in GitHub comments also added by the automation.

Breaking change review
If you have any breaking changes as defined in the Breaking Change Policy,
follow the process outlined in the High-level Breaking Change Process doc.
Getting help

For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
For additional help, see https://aka.ms/azsdk/support/spectools.

For ARM review, regarding the LintDiff AvoidAdditionalProperties errors,
the two places where the property additionalProperties is added are
https://github.com/Azure/azure-rest-api-specs/pull/24665/files#diff-ad855b02d429cb7e66e2c1bf746a1ee3256446ef3de1db2a355eb12eaebd0c83R293
and
https://github.com/Azure/azure-rest-api-specs/pull/24665/files#diff-e1a5113c673ea8a56c2fab2df3e496ebbca45bd313a52e790d3aed9bac8922bfR418
And these are added as tags that users can modify. These seem to be the exception and allowed scenario for additionalProperties.

LGTM for ARM but some documentation cleanup would be good before merging


Get access to 'places' library

I'm adding the 'places' library when importing the AgmCoreModule:
AgmCoreModule.forRoot({
            apiKey: '---API KEY---',
            libraries: ['places']
        }),

But I'm not sure how to access it anywhere later on. I tried injecting the GoogleMapsAPIWrapper in a component:
constructor( private APIWrapper: GoogleMapsAPIWrapper) {}
but don't see it in the 'APIWrapper' instance once component is loaded.
Only way I was able to find it was though the global 'google' variable:
declare let google;
But I had to wait for it to become available by setting a timeout since it is lazy loaded.
What's the appropriate way of accessing a library once you add it in the AgmCoreModule.forRoot options?

@nvitas when you don't create a map but want to load the google maps api, you can inject the GoogleMapsAPILoader: https://angular-maps.com/api-docs/agm-core/injectables/MapsAPILoader.html
Call the load() method that returns a promise that gets resolved when the API is loaded.
declare var google; is one way or you use the types/googlemaps package


Update the packaged Bazel to 0.3.2, and also make it actually work.

Motivation for this change
I completely rewrote the nix file for the Bazel build tool, which I don't think had ever resulted in an output that could be used to build things, although it at least compiled without error. It is now referring to the latest upstream.
I have manually tested that at least the cc_binary, cc_library, java_binary, and java_library rules work as they should; I don't have toolchains for things like Android or iOS installed here, so I leave it as future work to make sure everything else is usable.
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

cc maintainer @philandstuff

lgtm from me, too

I'm happy with this.

Still failing on hydra, e.g. https://hydra.nixos.org/build/42550256/log/raw

Huh. From the log, it's not obvious to me why it would be failing. I hope to have time to debug further sometime this week; any pointers on how Hydra differs from a local environment would be appreciated.

@IreneKnapp you've indicated having built the package without sandboxing. If so, that's a significant source of variability.

It looks like https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/build-fhs-userenv/chroot-user.rb#L43 is where the error originates. @abbradar may know why.

Wow, I haven't expected that someone would use it like this! Certainly interesting.
I'll try to debug this later -- do I understand correctly that this error is not visible when built on a local machine with a sandbox enabled?

Huh. The cause isn't obvious to me from that log. I can take a look
sometime this week.
On Sun, Oct 23, 2016, 5:22 PM Joachim F<EMAIL_ADDRESS>wrote:

Still failing on hydra, e.g.
https://hydra.nixos.org/build/42550256/log/raw
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/19380#issuecomment-255625232, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAJn7lCrID8afT0KeFz9A1a_npdrJxdqks5q2_pZgaJpZM4KR5qz
.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/zulip-for-governance-discussions/44684/31


Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.3:yarn (yarn install) on project rocketmq-dashboard: Failed to run task: 'yarn install' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]

Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.3:yarn (yarn install) on project rocketmq-dashboard: Failed to run task: 'yarn install' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
有没有好的解决方案

你解决了吗

我解决了，是网络问题，我虚拟机挂上代理之后，就可以了