Amazon Fresh Slot notification

Amazon Fresh script will give the notification that slots are open after the first refresh, but there are none available.

you were probably on not screen 5 in Readme when the script started refreshing.

On Windows 10 + Chrome I experienced the same thing this morning using the latest commit and can confirm that I was indeed on screen 5.

Amazon must have modified the page template, the element reference here https://github.com/pcomputo/Whole-Foods-Delivery-Slot/blob/master/amazon_fresh_delivery_slot_chrome.py#L32
does not exist on the schedule page (using Windows 10 + chrome).
What I did was change the xpath to:
/html/body/div[5]/div[1]/div/div[2]/div/div/div/div/div[1]/div[4]/div[2]/div/div[3]/div/div/div/h4
you can find this via the chrome debugger, inspect element, copy full xpath.
I also had to change the searched text to:
"No delivery windows available."
This is pretty fragile though and will break whenever Amazon updates the page.

Agreed, I had to make a similar change.  It's ok tho it's not like they are exposing anything useful I can see from the page

I just submitted this item which I think may be similar, if not identical, to what @williford and @wuzandfuzz were discussion: https://github.com/pcomputo/Whole-Foods-Delivery-Slot/issues/52.


Table of Contents Changes

Table of contents header should be renamed and Main link should appear on the top of the list.

Changes merged into master. Assigning to @hongsudt @jrchudy to verify and close it.


Workaround for #614

This is an obvious "fix" for my case of #614 and my app and the testcafe tests work.
I don't know why oLoadedState is null here, why the legacy api is apparently used and there are lots of other things I don't know.

Thanks for the PR


Issues reading MRD input (McMaster)

@YonniFriedlander reports being able to run the pipeline successfully on our MRD, but not with his own MRD, despite his MRD file working with the GX version 3 code.
Can we run his MRD through the latest GX version and help him troubleshoot?
Yonni has uploaded the MRDs along with the report generated with the old GUI. They're now on our Duke network share under shared -> david -> gx_testing -> yonni.
Assigning this one to @sl609 for troubleshooting.

These issues have been or will be addressed by other individual bugs. Closing this one.


Users needs to exclude elements in layouts from being indexed

We have content items like a page, using layouts, and the users love being able to have elements to drag into the item. For example we have some html elements that look like navigation that a user can drag onto their page and use. they love it. the problem is the elements are now in the body of the page and return search hits. How can we exclude the elements from the search?

http://orchard.codeplex.com/discussions/654980
Perhaps instead of rendering the layout into a string for indexing, it's better to let each element control how it is added to the index. The navigation element for example would then be skipped.
Another solution could be to render the layout using different display type when being indexed. That way each element is indexed by default, but we can provide a special view template for elements that should not be index (e.g. navigation).

being able to add something to an any item that causes it to be ignored could be cool. That would let users designate that this item is not to be indexed. I have been asked about some blog content on a site that is published, but really for employees, so they would like for it not to come up in searches.

I like the idea of alternates for indexes. The change could be local to Layouts, on the indexing event it would render a shape with a display type, and add the layout element name as an alternate.
The default template for this display type can then do some shape morphing technique to render the original display type, which means a user can then either define another template per element, or use placement to hide it from display.

I would love to make this change, and I get the idea of using alternates but I am not sure about the shape morphing part to render the original display. With some pointers I might be able to make this happen.


Add Json and Yaml types

The current generated code for Jsons and Yamls are wrong. Since there is no specifc type for these formats in OpenApi, they should be "string". (Am I right?)
So for the following struct:
struct Pet {
    name: String,
    detail: Option<Jsonb>,
    id: Option<i64>,
}

Instead of this (notice the detail field):
{
	"definitions": {
		"Pet": {
			"type": "object",
			"properties": {
				"detail": {},
				"id": {
					"type": "integer",
					"format": "int64"
				},
				"name": {
					"type": "string"
				}
			},
			"required": ["name"]
		}
	}
}

It will generate this:
{
	"definitions": {
		"Pet": {
			"type": "object",
			"properties": {
				"detail": {
					"type": "string"
				},
				"id": {
					"type": "integer",
					"format": "int64"
				},
				"name": {
					"type": "string"
				}
			},
			"required": ["name"]
		}
	}
}

Actually when you output Value it usually means it is embedded object. You rarely serialize json into string in the output in response type

@dunnock, I think then in that case, it will refer to a new object (struct). Somehting like:
struct Pet {
    name: String,
    detail: Option<Detail>,
    id: Option<i64>,
}

struct Detail {
    something: String,
}


EXCEPTION of type 'IndexError' occurred with message: tuple index out of range

Environment created as per Option2 instructions.  Running creditcard with art framework.  Following instructions from Webinar-Demo-2.
creditfraud> setg debug true
debug - was: False
now: True
creditfraud>boundary> scan -n 3 --log
[+] Running these attacks 3x each:
boundary, zoo, hop_skip_jump
[+] Using boundary 60fb175a
Traceback (most recent call last):
File "/home/krbock/anaconda3/envs/counterfit/lib/python3.7/site-packages/cmd2/cmd2.py", line 2063, in onecmd_plus_hooks
stop = self.onecmd(statement, add_to_history=add_to_history)
File "/home/krbock/anaconda3/envs/counterfit/lib/python3.7/site-packages/cmd2/cmd2.py", line 2493, in onecmd
stop = func(statement)
File "/home/krbock/anaconda3/envs/counterfit/lib/python3.7/site-packages/cmd2/decorators.py", line 318, in cmd_wrapper
return func(*args_list, **kwargs)
File "/home/krbock/GitHub/counterfit/counterfit/commands/scan.py", line 166, in do_scan
func(self, args)
File "/home/krbock/GitHub/counterfit/counterfit/commands/scan.py", line 149, in scan_attacks_on_active_target
perform_attacks_on_target(self, attacks, num_iters, has_logging_enabled, has_verbose_enabled, set_params, class_summary)
File "/home/krbock/GitHub/counterfit/counterfit/commands/scan.py", line 105, in perform_attacks_on_target
CFState.get_instance().active_target.run_attack(logging=has_logging_enabled)
File "/home/krbock/GitHub/counterfit/counterfit/core/targets.py", line 194, in run_attack
resulting_samples = self._run_attack(logging)  # call the specific method
File "/home/krbock/GitHub/counterfit/counterfit/core/targets.py", line 266, in _run_attack
return self._run_art_attack(logging)
File "/home/krbock/GitHub/counterfit/counterfit/core/targets.py", line 256, in _run_art_attack
self.active_attack.samples, [self.active_attack.target_class] * len(self.active_attack.samples)
File "/home/krbock/anaconda3/envs/counterfit/lib/python3.7/site-packages/art/attacks/attack.py", line 75, in replacement_function
return fdict[func_name](self, *args, **kwargs)
File "/home/krbock/anaconda3/envs/counterfit/lib/python3.7/site-packages/art/attacks/evasion/boundary.py", line 128, in generate
if y is not None and self.estimator.nb_classes == 2 and y.shape[1] == 1:
IndexError: tuple index out of range
EXCEPTION of type 'IndexError' occurred with message: tuple index out of range

Looks like a shape issue - make sure the creditcard fraud model has 2 model_output_classes. If so, the second most likely issue is that when you use scan it chooses random parameters, except we don't check if those values are within a particular bound (silly I know).
If you run this say, 10 times, do you get the same error every time?


Zulip server crashing daily

Summary of issue

Users are unable to use Zulip
Restarting rabbitmq fixes the problem
Problem seems to occur daily now (or every two days)
Users have to login again (and receive a new login email)
All users appear offline
New information not present in the chat: Seems like our CPU is spiking to 100% when this issue occurs

Other info

Version: 1.6.0
Hosted on DigitalOcean: 2gb ram + 40gb disk
First deployed 2017-07-13

The following is copy pasted from chat.zulip.org https://chat.zulip.org/#narrow/stream/issues/topic/Zulip.20server.20crashing
Hey we've been running our Zulip server a a 2gb DO box without problems for about three weeks. We only have about 5 active users and lately we've been experiencing a "Woops something went wrong, please drop us a line."
I follow some of the steps on
http://zulip.readthedocs.io/en/latest/prod-troubleshooting.html
And restarting rabbitMQ via fixes the problem
service rabbitmq-server restart
However I'm finding that it's happening more frequently -- three days in a row now.
Can anyone possible point me towards some logs I can potentially look at or maybe something I can do to debug this problem next time it happens?

After a followup with @gnprice and investigating all the logs in /var/log/rabbitmq
Seeing this over and over again

Disabling disk free space monitoring on unsupported platform:

Here's an error in the logs
=ERROR REPORT==== 16-Aug-2017::14:04:08 ===
** Generic server rabbit_disk_monitor terminating
** Last message in was update
** When Server state == {state,"/var/lib/rabbitmq/mnesia/zulip@localhost",
50000000,37808316416,100,10000,
#Ref<<IP_ADDRESS>27>,false,true}
** Reason for termination ==
** {{unparseable,[]},
[{rabbit_disk_monitor,parse_free_unix,1,
[{file,"src/rabbit_disk_monitor.erl"},{line,204}]},
{rabbit_disk_monitor,internal_update,1,
[{file,"src/rabbit_disk_monitor.erl"},{line,173}]},
{rabbit_disk_monitor,handle_info,2,
[{file,"src/rabbit_disk_monitor.erl"},{line,145}]},
{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,615}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,681}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
and here's the the paired down log

Here's a reduced version of the logs that has more events and errors: https://gist.github.com/uri/5563db5e1248b204bdaa60b744fff9c4

Not sure if these are related but after restarting rabbitMQ I have to login again and I get an email saying there has been a new login.
And another thing: all users appear offline even though they are not

It sounds like RabbitMQ is crashing, perhaps due to OOM kills (aka the server is running out of memory).  Can you check /var/log/syslog to see if the system is having OOM kills invoked?

This turned out to be a memory leak due to some buggy supervisord configuration.  Fixing now.  Huge thanks for the help debugging this @uri!


Bump to 0.10.0

There are a couple of changes on master that hasn't been released. I would like to use those changes in the atom package.

@hedefalk @Jarlakxen How do feel about creating a breaking release now? Has travis been configured to publish or are there manual steps involved in publishing the package?

Go for it, I think the current status of the released version is in such decay anyways.

@hedefalk How do I cut a release of this package? I'd love to have it just release on every push to master :)

npm publish I think… Maybe I need to give you permissions there too…

That's probably the main reason I haven't published - I forgot how to do it :)

Oh, did npm publish which went through but with errors:
https://gist.github.com/hedefalk/3e66f60714714675f8805ef68f97acba

@hedefalk Awesome, I'll fix those error in the weekend :) In the mean time, can you figure out how to give me publish rights? Right now I get
npm ERR! code ENEEDAUTH
npm ERR! need auth auth required for publishing
npm ERR! need auth You need to authorize this machine using `npm adduser`

ts-errors… Maybe it's an env thing…?
I'll look at the npm perm…

@mads-hartmann What's your npm user? (create one if you haven't)

@hedefalk Didn't have one.  The TS errors didn't stop you?

Apparently not. That frightens me …

@hedefalk Haha, scary :) I've created https://github.com/ensime/ensime-node/issues/36 to do it on travis :)


Generate cleaner sample repos w/o prose-only files, etc

Delete prose-only source files.
Delete example-config.json (e2e test trigger file used via angular.io repo only).
Remove docregion tags from .css files.

Also:

Add direct download link to README.md template.

cc @kwalrath

Cool stuff, thanks!


Fall to Spring anomaly detection

Extend anomaly detection to cover fall to spring. This would cover the final scenario of:

Spring biannual to first biweekly (which hopefully occurs 2 weeks after): verify 2 week growth of biweekly stems
Between biweekly: verify 2 week growth of biweekly stems
Final biweekly to fall: verify 2 week growth of biweekly stems AND annual growth for all stems
Fall to spring: verify growth for all stems

Look up previous fall -> spring gaps (expecting shrinkage, not much growth)


/tf_static queue is full, Slam can't be done

Robot Model
Turtlebot4 Lite
ROS distro
Humble
Networking Configuration
Simple Discovery
OS
Ubuntu 22.04
Built from source or installed?
Built from Source
Package version
commit 6b7331978c5a959e63284b528122f3bf691cbda8
Author: Hilary Luo<EMAIL_ADDRESS>Date:   Wed Dec 20 10:43:47 2023 -0500
Issue forms (#315)

* Update issue templates to use form interface and changed assignees

* Force issues to be created using the templates

* Updating CI package versions

* Added new troubleshooting form to differentiate between requests for troubleshooting help and actual bugs

Type of issue
Navigation (SLAM, Nav2 etc.)
Expected behaviour
I am trying to start the Slam.launch.py algortihm. I want to generate a map of the Room where I am working.
Actual behaviour
I am trying to start the Slam.launch.py algortihm, and each time a get an error msg which states the the transformation from the Lidar_link is being discarded due to the Queue being full.
I visualised the tf_static data with Rviz2 and Foxglove Studio and the data is 42 min old even though the Robot is sending the data.
Error messages
[sync_slam_toolbox_node-1] [INFO] [1714053987.454483701] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.383 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714053987.654841661] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.484 for reason 'the timestamp on the message is earlier than all the data in the transform cache'
[sync_slam_toolbox_node-1] [INFO] [1714053987.829329237] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.584 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714053987.913326816] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.686 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714053988.008697979] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.790 for reason 'discarding message because the queue is full'

To Reproduce

run Lidar script
start slam
Wait

Other notes
I am using zenoh as communication between the Turtlebot4 and my Remote Pc, as well as a second lidar (velodyne). Is there a possibility to reduce the time the tf data is saved in the Queue or to increase the queue size ?
With kind regards.

Hello @coco-fr
Thank you for reaching out on the Turtlebot 4 Github. At the moment we do not support the use of Zenoh for communication as it has not yet been fully supported by ROS.
In terms of the messages you are seeing, these are normal to see initially when the system is getting started and not yet fully connected.
Would it be possible to share the full terminal outputs and exact commands being used to run SLAM?
Looking forward to hearing from you soon.
Best Regards,
Saif

Hello @smatarCPR
Thank you for the Answer.
Regarding the Terminal Output and the commands, I Use the ros2 launch turtlebot4_navigation slam.launch.py
and i get
ros2 launch turtlebot4_navigation slam.launch.py
[INFO] [launch]: All log files can be found below /home/piekoszadm/.ros/log/2024-05-02-11-18-58-314750-innb03005-43484
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [sync_slam_toolbox_node-1]: process started with pid [43496]
[sync_slam_toolbox_node-1] [INFO] [1714641538.609338262] [slam_toolbox]: Node using stack size -294967296
[sync_slam_toolbox_node-1] [INFO] [1714641538.868370902] [slam_toolbox]: Using solver plugin solver_plugins::CeresSolver
[sync_slam_toolbox_node-1] [INFO] [1714641538.868600272] [slam_toolbox]: CeresSolver: Using SCHUR_JACOBI preconditioner.
[sync_slam_toolbox_node-1] [INFO] [1714641539.080550741] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.942 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641539.186438922] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.043 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641539.286783221] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.144 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641539.388591732] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.245 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641539.487688058] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.346 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641539.586462815] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.447 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641539.688419921] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.548 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641539.788500895] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.648 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641539.890717527] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.749 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641539.992301034] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.850 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641540.095164557] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.952 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641540.193706030] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.058 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641540.290900885] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.153 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641540.398402363] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.254 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641540.492071501] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.355 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641540.598207733] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.457 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641540.697934272] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.556 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641540.797130236] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.657 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641540.894803669] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.758 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641540.997646459] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.859 for reason 'discarding message because the queue is full'
[sync_slam_toolbox_node-1] [INFO] [1714641541.102915342] [slam_toolbox]: Message Filter dropping message: frame 'velodyne_link' at time<PHONE_NUMBER>.960 for reason 'discarding message because the queue is full'
^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT)
[sync_slam_toolbox_node-1] [INFO] [1714641541.197394607] [rclcpp]: signal_handler(signum=2)
[INFO] [sync_slam_toolbox_node-1]: process has finished cleanly [pid 43496]
The Lidar is always running when the robot is turned on.

tI tried with the RPlidar and with the Velodyne Lidar (which has been added later on) and in both scenarios i get the same error (this one is for the velodyne_link, but there is the same with the Rplidar:link)

Hello @coco-fr ,
For the time being let's focus on getting the Navigation stack working with the RPLidar. To begin, what modifications have you done to slam.launch.py and/or config?
Currently the terminal output showing no errors, with the full queue message, seems to indicate that the the system gets stuck in the startup sequence, hence the queue of messages filling quickly and not being cleared.
Looking forward to hearing from you soon.
Best Regards,
Saif

Hello,
This issue is being closed due to inactivity. If you are still experiencing the issue, feel free to reopen this ticket when you are ready to continue the troubleshooting process.
Best Regards,
Saif

Hello @coco-fr
I am getting the same errors. Did you fix this error? If so, could you explain how you did it?


Ωedit 0.9.52 is missing logging jars

Running the installed server we get this:

Looking at the dist directory that ought to be packaged, we see the logging jars, but then in the installed location the logging jars are missing:

Figure out why the published version is missing the logging jars from the node package and fix it.

Should be fixed with commit https://github.com/ctc-oss/omega-edit/commit/fda80b284783020f197880de794a370affd0561c. Will close if release 0.9.53 has the logging jars in it.


Review round 2

Overview
This is a master issue for testing forcing files for Review Round 2.
The files can be found on the BSC FTP server at

Emissions: /forcings/emissions/2023-12-08 (from 09.01.2023)
LUC: /forcings/land_use/2023-12-08

Process
If you find any issues with the data files provided, please open an issue describing the problem and any proposed solutions:

Issues with emissions files
Issues with LUC files

Changes since round 1
Land use

dataset for 1995-2100 in 5-year timesteps for all REMIND-MAgPIE scenarios used for the emissions
added metadata to nc files
management.nc: added fulwd, rndwd
transitions.nc: reporting all LUH variables incl. wood harvest variables
all transitions are gross transitions
transitions in 2100 are net-zero gross transitions (to be used for extended (2100-2300) scenarios)
cover all LUH cells (e.g. Greenland was missing before)

Emissions
Gridding

Updated filenames and netcdf metadata following the structure in CMIP6
New shipping proxies by MariTeam
New CDR proxies for DACCS and Industrial CDR
Fixed harmonisation and downscaling for incomplete proxies
Fixed F-Gas split regression
Fixed uniform grid (720x360)

REMIND

Update MAgPIE model version number from v4.6.7 to v4.7.0
Activate timber module in MAgPIE to represent managed forests

Closing as review round 2 is closed


Changed "PUT" to "POST" for index creation.

Docs reference PUT as method for creating index. Should be POST

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

#sign-off


Implement standards for projects listed in the README

@audreyr used to manually check each ccokiecutter template before allowing it in master. Unfortunately, since she's delegated authority that's slipped. Tasks:

Document how we test each cookiecutter before adding it to the README
Test all listed ccokiecutters
Test all future submissions of cookiecutters

We have no control over how template projects are managed. Even if we check the template up front, it's up to the author to change it afterwards (and possibly break our conventions) or abandon the template project altogether.
I added minimal docs in #431


Parameterization vs. parametrization

The problem
We seem to using the UK spelling of the word. One of them, at least (we could have gone all British and say parameterise)
Suggestions
It seems weird that we parameterize a parametric Role. But I don't think we  have a policy on enforcing a certain kind of spelling here. Certainly parameterize is used consistently in the documentation now, with not a single instance of the other option. So we might just leave it as it is now, but with a test (or a rule) that it should remain so in the future.

Historically we have leaned to us spellings in general. There's an Xtra test that will let us catch this already. I can add this word, sign the ticket to me if you like

The spelling parameterize is used in the metamodel's method naming, and I doubt we'll be changing that, so it's probably best to stick with it in the docs also. That's what you get for having somebody British (increasingly ish... :)) design the MOP, I guess.

We should then add a test indicating we prefer this version

test added in ddf8c69ab


KAFKA-17920: GroupType.parse should return Optional to represent the null or empty

Modify GroupType#parse to return an Optional<GroupType>, and update the related code accordingly.
To distinguish between 'null or empty' and 'unknown group type', we return Optional.empty() for null or empty values, eliminating the need for additional null or empty checks when calling GroupType.parse
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Hi @chia7712, if this change for GroupType makes sense to you, I've observed two similar classes where we could apply similar improvements. We could either include these changes here or handle them in a follow-up.
ConsumerGroupState#parse
https://github.com/apache/kafka/blob/dafa126223fc732c69c05007e078cd4127217a91/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L3727-L3729
ShareGroupState#parse
https://github.com/apache/kafka/blob/dafa126223fc732c69c05007e078cd4127217a91/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L3909-L3911

pending for the discussion (https://github.com/apache/kafka/pull/17626/files#r1827065345). Maybe we don't need to convert it from string to enum

@Yunyung sorry that GroupType is a public class so we can't change it for now. I will close this PR.


Post slug is a hash

Hello!
I've cloned your repo and am looking around. Good work.
Seems like the post slug is always a hash. You can't have an url structure like this:
/blog/top-10-movies
You always end up with something like this:
blog/0b59020f
The posts seeded to the database during setup have the slug set to something human readable. So this is clearly not expected behavior.
phpunit results:
OK (56 tests, 184 assertions)

Another thing I don't understand is the Api\PostsController@store method.
$post->title = hash('adler32', time());

Why does it set the title of the post to this hash and save?
Regardless my database shows the title field is set correctly.
Thanks.

Hello,
We have taken care of the hash issue and now the slug is used in the URLs (ex. https://vuejsfeed.com/blog/vue-form-generator). It will be available in v0.0.2.
The purpose of the store method is to store and provide an empty post with a random title. When you update the post, the update method fills the post with the desired values. That's why the fields are set correctly in the database.

Thanks @hootlex.

You are welcome


In CODING_STANDARDS.md it says:

"Component outermost elements are never flex (block or inline-block)".

If i have a component with e.g.

what is considered the outermost element?
h1 or is the host-element itself considered as outermost element?
in case of :host-element if h1 is a flex-element must the :host-element explicitly set to block or inline or is this the default behaviour?
In case of h1 is :host be allowed to use display: flex?

It refers to the host element of a component.


Configuration of DHCP-server

"NOTE: In 17744 is a bug, so during deployment process DC creation takes forewer. Workaround is to just log in as corp\Administrator to DC and it magically finishes."
When using 17763.253.190108-0006.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us.iso to create the DC I had to login to finish the configuration of the DHCP-server before the process continued.
The problem occurs in the script 2_CreateParentDisks.ps1
$LabConfig=@{
DomainAdminName='LabAdmin';
AdminPassword='P@ssw0rd!';
Prefix = 'PLSLab-';
SwitchName = 'LabSwitch';
SecureBoot=$true;
DCEdition='4';
InstallSCVMM='No';
AdditionalNetworksInDC=$false;
DomainNetbiosName="test";
DomainName="test.lab";
DefaultOUName="Workshop";
AllowedVLANs="1-10";
Internet=$true;
SkipHostDnsAsForwarder=$true;
CustomDnsForwarders=@("<IP_ADDRESS>","<IP_ADDRESS>");
PullServerDC=$true;
ServerISOFolder="..\ISO";
ServerMSUsFolder="..\MSU";
EnableGuestServiceInterface=$true;
DCVMProcessorCount=2;
DHCPscope="<IP_ADDRESS>"
DCVMVersion="8.0"
AdditionalNetworksConfig=@();
VMs=@();
}
Missunderstood the process and tried to create my own DC. I later discovered that the kit creates its own DC and thats the one which waits for the configuration of the DHCP-server
$LABConfig.VMs += @{
VMName = "DC01" ;
Configuration = 'Simple' ;
ParentVHD = 'Win2016Core_G2.vhdx';
SSDNumber = 0;
SSDSize=800GB ;
HDDNumber = 1;
HDDSize= 40GB;
MemoryStartupBytes= 512MB;
AddToolsVHD = $true;
Unattend='DjoinBlob';
DisableWCF=$true;
CustomPowerShellCommands = "New-Item -Name Temp -Path c:\ -ItemType Directory"
    }

Hi Robert, thank you for posting the issue. I need to review that dhcp configuration. I might try newer DSC package. Let me take a look into it.

I did check if newer DSC package exists for DHCP and WSLab is using the latest one. Not sure what's causing the issue. I did not find any clue.


v1.6.1 Crashes When Switching Device Output

When switching device output between the various output devices, eg. bluetooth headphones, external speakers, internal speakers, the program crashes. I had to revert back to 1.5

Click on sound icon
Select device
See error

Setup information:

Audio device used for playback: Sennheiser HD 4.40, internal macbook pro speaker
Audio transmission interface: bluetooth, internal speaker, external speaker
macOS Version: 11.11
eqMac Version 1.6.1
eqMac UI Version 2

Thanks for your report, but I would appreciate a Crash Report please :)

Hi all, I am closing this issue since the latest versions are way more stable now, if there is any other related issue, please browse for a similar open issue and comment on it. If there are none, please create a new one. Thanks!


TypeError: this._listener.setVelocity is not a function, in Chrome 56.0.2924.87 (64-bit)

I don't think it is in my code because it can also bee seen at http://potemkin.se/solar/system.html

url in image: https://c1.goote.ch/379f2eb9aee7402fbd44650393419d83.scene/

It fixed itself after republishing

Hi,
Am also facing this issue in chrome. Is there any solution for this?
Suria.

Hi @rcsprakash,
Unfortunately Goocreate and Goojs are no longer being developed. If you are comfortable with coding I would recommend threejs as an alternative. I'm in the process of recreating my project with threejs. Three js also has a graphical editor
Good luck!

Sure. Let me try on this

Ok I found the problem and now the scene I made with goo years ago is working again !! Yeahh (it took me a while to make it so I was pretty annoyed when i saw it did not work anymore).
The solution is too remove some calls to this function in goopacked.js !


What dependency versions?

❯ python atari_torch.py                                                                                (ncps)
2024-04-27 05:40:53,646 WARNING compression.py:16 -- lz4 not available, disabling sample compression. This will significantly impact RLlib performance. To install lz4, run `pip install lz4`.
A.L.E: Arcade Learning Environment (version 0.8.1+53f58b7)
[Powered by Stella]
/home/ai/.mconda3/envs/ncps/lib/python3.11/site-packages/gymnasium/core.py:311: UserWarning: WARN: env.spec to get variables from other wrappers is deprecated and will be removed in v1.0, to get this variable you can do `env.unwrapped.spec` for environment variables or `env.get_wrapper_attr('spec')` that will search the reminding wrappers.
  logger.warn(
Downloading data ... [done]
  0%|                                                                                | 0/938 [00:00<?, ?it/s]/home/ai/.mconda3/envs/ncps/lib/python3.11/site-packages/torch/nn/modules/conv.py:456: UserWarning: Plan failed with a cudnnException: CUDNN_BACKEND_EXECUTION_PLAN_DESCRIPTOR: cudnnFinalize Descriptor Failed cudnn_status: CUDNN_STATUS_NOT_SUPPORTED (Triggered internally at ../aten/src/ATen/native/cudnn/Conv_v8.cpp:919.)
  return F.conv2d(input, weight, bias, self.stride,
/home/ai/.mconda3/envs/ncps/lib/python3.11/site-packages/torch/autograd/graph.py:744: UserWarning: Plan failed with a cudnnException: CUDNN_BACKEND_EXECUTION_PLAN_DESCRIPTOR: cudnnFinalize Descriptor Failed cudnn_status: CUDNN_STATUS_NOT_SUPPORTED (Triggered internally at ../aten/src/ATen/native/cudnn/Conv_v8.cpp:919.)
  return Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
loss=0.3725: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████| 938/938 [01:21<00:00, 11.53it/s]
Epoch 1, val_loss=0.2727, val_acc=90.30%
/home/ai/.mconda3/envs/ncps/lib/python3.11/site-packages/gym/utils/passive_env_checker.py:233: DeprecationWarning: `np.bool8` is a deprecated alias for `np.bool_`.  (Deprecated NumPy 1.24)
  if not isinstance(terminated, (bool, np.bool8)):
Traceback (most recent call last):
  File "/home/ai/ml/tcn/ncps/test/behaviour_cloning_game/atari_torch.py", line 169, in <module>
    returns = run_closed_loop(model, env, num_episodes=10)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ai/ml/tcn/ncps/test/behaviour_cloning_game/atari_torch.py", line 122, in run_closed_loop
    obs = np.transpose(obs, [2, 0, 1]).astype(np.float32)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ai/.mconda3/envs/ncps/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 655, in transpose
    return _wrapfunc(a, 'transpose', axes)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ai/.mconda3/envs/ncps/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 56, in _wrapfunc
    return _wrapit(obj, method, *args, **kwds)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ai/.mconda3/envs/ncps/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 45, in _wrapit
    result = getattr(asarray(obj), method)(*args, **kwds)
                     ^^^^^^^^^^^^
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.

With the latest packages I get this error. I also tried pytorch 1.x but no luck. What package versions do I need to install?

Try reinstalling, or check other dependencies

@noorchauhan I did, but what other deps should I check for?
If it works for you, could you please share your pip freeze so I can install those versions?

Not sure what are you trying to do here,
m, Try in an isolated environment first, colab/kaggle, refer: End to End Examples

Oh my... I missed the pip install codeblock... Thank you!


Release 2.9.2 - zfs - 'dataset does not exist' when launching with profile with root size defined

Required information

Distribution: Ubuntu
Distribution version: 16.04.2 LTS
The output of "lxc info" or if that fails:

config:
  core.https_address: <IP_ADDRESS>:8443
  core.trust_password: true
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
api_status: stable
api_version: "1.0"
auth: trusted
public: false
environment:
  addresses:
  - <IP_ADDRESS>:8443
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    MIIFOzCCAyOgAwIBAgIRAJwhtxp+YiwDXP+A6BfB29kwDQYJKoZIhvcNAQELBQAw
    NDEcMBoGA1UEChMTbGludXhjb250YWluZXJzLm9yZzEUMBIGA1UEAwwLcm9vdEBp
    bmZyYTEwHhcNMTcwMjE5MDI0MzA3WhcNMjcwMjE3MDI0MzA3WjA0MRwwGgYDVQQK
    ExNsaW51eGNvbnRhaW5lcnMub3JnMRQwEgYDVQQDDAtyb290QGluZnJhMTCCAiIw
    DQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANd3wWWqVy70YK0cj49FC62fJQzm
    p0db5llY5lJHcWVWqCuIp2EQrnhDJbd2qjtF3AHdRQErI44IfrzBIuzqo3eOnlfL
    tv/DQBc8456aXA0vJYo2tSWi1B3PMUO03YbpYaKdIgLN6P5O+h/AI588a8XyTlnt
    OURMN5MymyhcU4nChzqyzTjzIQ/agb4q25UhLG+jy5GaJcixvzGxQhiZRyRdBQ4z
    2fqV/6pQdhSOn7xVsFM/AvE0Yevr8c/hyBm+qbpwy19TK0T0FFKVzVf+wXJkA1YW
    ccG929BVi1MKSSgxZZWeK3FhRMmT4zpIvvlikJ9Qd+N0vkAIyzzSpiC6zcNAHluj
    LGv0a7INoBtDETME2Q0pi6uWjRH0x74EGDLWqbDtQ0jY/oiKSWLsDHKqnR7JYW+y
    qlrGeZJVVOXuSnH8qjATa7Bn+umyHVKKamjmH0S4g+qyTdeEb298k8jGEhODgQtq
    8QZLf6lO+rx8R3+ugRHV6qHMXJ/JIjmBBZNwZPiPZR2rBG4krq1QWRDhCnYT1O11
    k+13e+7FHYkmCobiu1o8UuiLC83Exd4zwa3JYslEFN2yfpsSgklkwRwL3kN/t7Nq
    3eOjHRFNvzPGGLpFTq3XjQckA9C53I0OsnRm3En/xnzUSm6ZXpkhq0GSNMY4GNBV
    lTgtWYOaw/R4ZyYvAgMBAAGjSDBGMA4GA1UdDwEB/wQEAwIFoDATBgNVHSUEDDAK
    BggrBgEFBQcDATAMBgNVHRMBAf8EAjAAMBEGA1UdEQQKMAiCBmluZnJhMTANBgkq
    hkiG9w0BAQsFAAOCAgEAZbyv3tajqWkpB6plR86zF6whdRCLjdHXr+jSz+RmZb2R
    VYmFdILqsIW8Qm86yM6ZFAthbwYAg5UDRq1gAmOozK4rLSXxB8PZsk+Llpgvi/ME
    jE4yNLmBoSAyATzg5d5e3mghGFDlsvBkKSbInNt0MbFpx3RWsWB9Xw32zejk8y3k
    v+c7LYT3f3y0olfZ4zIyYyL4fwRzkNv0iIvJCiiPTDfceTjOqc1OxmrZNgPEX8DL
    h0MWKqI5OVvwUj+tlZLe+j018PFuW3FGP+GCqz63PIbyeAI/+e0hKj7M5+m8hIZR
    wNjKEXq2WrjoFh/K9mBfA4W24CruwOSc6zk59Zh/VB9yTAaXsED/XSinY0jT8XOD
    uCmtGU4XaqpWTKLhvW3IUMZdn8GzRrAAQ5DgToBK+PGm6JR92ZFEPtxEyZNHvZ7y
    mM+7DC6uBX/9lOUVgxe09tP7Fw+CNiy9cSjZuUzhqoqtwPAMyqqYMOf++jcdZ29M
    goFWchWCEvs/6ZZcX7zqMAqRbjAJA/NUskixRJhQ8jAPdb3rTW8kwZzFcIeDpPoL
    kwstDefOLvPS6EXeIE7utcIerBTAjpRk5SYvYbd9+M+BJvCgyMZmJfrkz+ZGurp4
    gAonOJczsjUHNS1kNTpOJE5H9vdOtigU/BEcWN0jK9ibni5P9d6Di7DzqMpnBCE=
    -----END CERTIFICATE-----
  certificate_fingerprint: e99bc30d7b3b7dd03cbe0c4f4102e1f51231c48ae1d2a5bc223cfb37c3fe7774
  driver: lxc
  driver_version: 2.0.7
  kernel: Linux
  kernel_architecture: x86_64
  kernel_version: 4.4.0-64-generic
  server: lxd
  server_pid: 3282
  server_version: 2.9.2
  storage: zfs
  storage_version: <IP_ADDRESS>-0ubuntu15
   * Kernel version: Linux infra1 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
   * LXC version: 2.0.7-0ubuntu1~ubuntu16.04.1~ppa1
   * LXD version: 2.9.2-0ubuntu1~ubuntu16.04.1~ppa1
   * Storage backend in use: zfs

Issue description
This is my storage pool:
root@infra1:~# lxc storage show lxd
config:
  size: 4TB
  source: lxd
name: lxd
driver: zfs
used_by:
- /1.0/containers/git1
- /1.0/containers/ipa1
- /1.0/images/2552d6a35e09a0a569fe925aaa99d9f1aacfa96afbb93176d50daa46c4fa59df

This is a profile I have:
root@infra1:~# lxc profile show 8GB
config:
  limits.memory: 8GB
  limits.memory.enforce: hard
  limits.memory.swap: "false"
  limits.memory.swap.priority: "0"
description: 8GB RAM
devices:
  eth0:
    name: eth0
    nictype: bridged
    parent: lxdbr0
    type: nic
  root:
    path: /
    pool: lxd
    size: 100GB
    type: disk
name: 8GB
used_by:
- /1.0/containers/ipa1

I was able to create instances with this profile without issue prior to upgrading to 2.9.2. This is what happens if I create an instance now:
root@infra1:~# lxc launch images:centos/7 foreman1 --profile 8GB
Creating foreman1
error: Failed to set ZFS config: cannot open 'lxd/containers/foreman1': dataset does not exist

If I remove the 'size' option the container is created successfully. I can even add the 'size' option back into the profile after the container is created and it updates the container's size properly.
Steps to reproduce

Use a profile that has a size constraint on a disk from a zfs pool
Launch from that profile

Information to attach

[ ] any relevant kernel output (dmesg) - None
[ ] container log (lxc info NAME --show-log) - No container is created
[x] main daemon log (/var/log/lxd.log) - logs as follows:

root@infra1:~# journalctl --no-pager --unit=lxd --since='2017-02-22 06:46'
-- Logs begin at Wed 2017-02-22 06:02:53 CST, end at Wed 2017-02-22 06:46:06 CST. --
Feb 22 06:46:06 infra1 lxd[3282]: driver=storage/zfs lvl=eror msg="zfs set failed" output="cannot open 'lxd/containers/foreman1': dataset does not exist\n" t=2017-02-22T06:46:06-0600
Feb 22 06:46:06 infra1 lxd[3282]: ephemeral=false lvl=eror msg="Failed creating container" name=foreman1 t=2017-02-22T06:46:06-0600

[x] output of the client with --debug: https://gist.github.com/testeddoughnut/ff081b2ca32a77790370b5c4962a8571
[x] output of the daemon with --debug: https://gist.github.com/testeddoughnut/4078bff39bba203406ed10148610ce83

Some of the timestamps in the provided output don't exactly match up as I didn't have debug enabled when I was first gathering the output. I enabled it for the relevant parts.

Ok, I think I pinned down the issue and a fix will be in 2.9.3 which we'll release soon!

Right, the issue is that ContainerSetQuota() is called before the dataset actually exists. This problem existed before as well but didn't surface. With the new storage API we update the root disk device information in containerCreateInternal() this step is taking place before the actual container storage creation and hence, the call to Update() will try to set a dataset property on a non-existing dataset.

Should be fixed by https://github.com/lxc/lxd/pull/2925.


Make compilable on macOS

This change allows it to compile under gcc/macOS. Tests succeed.

Looks good to me! Thank you very much!


Not loading image

First off, love the plugin! Just wanted to submit this to let you know today's image isn't loading. See screenshot attached.

Running on:

Hyper 1.3.3
Windows 10 Pro 1703
OS Build 15063.413
WSL Bash - Ubuntu 16.04.2 LTS

Cheers!

Seems like it's working today. Had a look at the NASA post yesterday and it was a video.

I'm reopening this as an issue if anyone decides they want to tackle it. If there is no image for the day, it would be nice to fall back to the next available image and always have something to display

@cseale
I made a pull request for this
#13


Upon remote debugging PTVSD does not break into the debugger

Problem
After I successully attached the Debugger via Transport "Python remote (ptvsd)" to a quite simple python script that is running on a remote machine (raspberry pi, Python 3.2.3) the PTVSD does not break into the Debugger even though a breakpoint has been set.
Everything else seems to be ok: I can set breakpoints and they seem to be active (red filled circle) and I can see that the console output of my script which appears in the debugger output window.
Actually, only hardcoded breakpoints in the shape of "ptvsd.break_into_debugger()" seem to work. Also waiting for the Debugger until being attached using "ptvsd.wait_for_attach()" is working well.
I took a closer look at the tcp Connection using wireshark even though I am not familiar with the protocol. Anyway, I discovered the following sequences on the wire:

"brkr" probably upon removing a breakpoint from the python script
"brkp" probably upon setting a breakpoint in the python script

and

"BRKF" following a 64-bit value of 2

Is this an error indication? There is no feedback in Visual Studio indicating that something might went wrong with setting the breakpoint.
Debugger Machine
A upgraded Windows 10 (from Windows 8.1), German)
VS 2015 Microsoft Visual Studio Community 2015
Version 14.0.25421.03 Update 3
Microsoft .NET Framework
Version 4.6.01038
Installierte Version: Community
...
Python Tools for Visual Studio   2.2.40623.00
Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers.
Python Tools for Visual Studio - Django Integration   2.2.40623.00
Provides templates and integration for the Django web framework.
Python Tools for Visual Studio - Profiling Support   2.2.40623.00
Profiling support for Python projects.
...
Debuggee Machine
Raspberry Pi, Debian wheezy, created from a NOOBS Image
Python 3.2.2
PTVSD 2.2.0 installed via PIP

Yeah, BRKF means the breakpoint failed to bind. I'm not sure why we aren't reporting that on the VS side (I haven't worked on this part of the project for a while).
Looking at visualstudio_py_debugger.py at the try_bind_break_point function, it seems we're comparing two paths as strings without normalizing between OSs - though this has definitely worked in the past so presumably I'm missing something here.
One of the larger tasks I've wanted to do is to refactor the debugger completely to (among other things) better handle filename comparisons. I suspect that may be the problem here.
@int19h - any other insight?

AD7Engine.OnBreakpointBindFailed is a no-op, and seems to have been the way since forever. It appears that the message name is really a misnomer, because the comment at the point where it's sent indicates that we actually treat it as "breakpoint is pending" - i.e. it couldn't be set because the corresponding module wasn't found, so we assume that the module simply hasn't been loaded yet. On VS side, the breakpoint will be seen as unbound, which is observable if you expand it in the Breakpoints window (bound breakpoints will have one child, unbound ones will have none).

And yes, it does seem that we basically never treat breakpoints as bound when paths don't match exactly (e.g. for remoting). This doesn't preclude us from reporting them as hit, though.
So the real question here is why we never call report_breakpoint_hit from handle_line.
@FeydCron, can you provide some more details about your code and the environment? Ideally, some sample lines of code where you're setting breakpoints, and what the full pathnames of source files look like on your local machine and on the remote one.

Hi Pavel,
sorry for the late answer. Here are the additional information you
requested. Attached please find the python script, I used for testing
debugging as well as a wireshark capture of a debug session.
I think I tried to put the breakpoint at line 22 or 23 of the debugtest.py
script. Anyway, the correct line numbers should appear anywhere in the
capture file.
As I already mentioned, in VS the breakpoint appeared as a filled red
circle - there was no hint that the breakpoint was not active.
The "ptvsd.wait_for_attach()" and "ptvsd.break_into_debugger()"
instructions worked well.
Path information of the python script:
Local path: D:\GitHub\RasPyWeb\berry\debugtest.py
Remote path: /home/pi/berry
Best regards,
FeydCron
2016-07-14 23:00 GMT+02:00 Pavel Minaev<EMAIL_ADDRESS>
And yes, it does seem that we basically never treat breakpoints as bound
when paths don't match exactly (e.g. for remoting). This doesn't preclude
us from reporting them as hit, though.
So the real question here is why we never call report_breakpoint_hit from
handle_line.
@FeydCron https://github.com/FeydCron, can you provide some more
details about your code and the environment? Ideally, some sample lines of
code where you're setting breakpoints, and what the full pathnames of
source files look like on your local machine and on the remote one.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/PTVS/issues/1412#issuecomment-232791012,
or mute the thread
https://github.com/notifications/unsubscribe/ANdFTHURoEIfZFFIqGNn9Nh57xtoZ4qTks5qVqOAgaJpZM4JITsk
.

import ptvsd
ptvsd.enable_attach("debug")
import threading
def main():
global nCount
ptvsd.wait_for_attach()
ptvsd.break_into_debugger()
nCount = 0
threading.Timer(2.0, onTimer).start()

return

def onTimer():
global nCount
ptvsd.break_into_debugger()
nCount += 1
print("onTimer is running for " + str(nCount) + " times - waiting 2 seconds ...")
threading.Timer(2.0, onTimer).start()
return

if name == 'main':
main()

I'm having a similar issue.  Unfortunately, I can't share the code being used, but I'm trying to remotely debug python scripts running on a Red Hat Server and Python 2.6.  Break points are working correctly, and so is attaching to the target.  However, when trying to run the debugger interactive, the connection doesn't appear to be working.

@KronosKoderS If breakpoints are working then your issue is probably different from this one. Please file a new issue with as many steps for us to follow as you can provide.

@FeydCron I don't have line numbers on your code file - are you setting the breakpoint inside the onTimer function? That seems to be a much more specific issue than if you are also having trouble in main().
We have to do some monkeypatching to be able to debug new threads, which it's possible that the Timer class bypasses. In that case, I'd expect to not be able to debug the code.

Looks like we should use threading.settrace() to set the trace function for all threads, rather than monkeypatching. (I'm not entirely sure why we didn't start with that function... maybe it's new in Python 3?)

The tag on this issue is "enchancement", but it should be "bug".
It makes remote debugging practically useless.

It's an enhancement because the task we need to do is add new support for debugging threading.Timer.
If you are having trouble, please file a new bug with the details.

We have a new debug engine in the 15.8 release, if you still see this problem, please open an issue at https://github.com/Microsoft/ptvsd


Test for merge supp datasets

I have added the test required to close the connected Issue as mentioned by @SFJohnson24

@RamilCDISC the large dataset PR has caused some conflicts, can you resolve them?

@RamilCDISC the function you created does seem to be performing the merge properly per the unit testing.  I was on your branch and tried to run a debugger validate using EC/SUPPEC as well as DM/SUPPDM datasets from sharepoint.   I put a breakpoint() inside your function (which never triggered) as well as inside some of the validate logic.  It appears engine is not entering the logic to invoke your function when a supp dataset is provided and thus the merge_supp_dataset never gets called.  We may need to check why this is the case.

Done by: https://github.com/cdisc-org/cdisc-rules-engine/pull/728


Suppress NotFound for batch deletion.

I will copy my comment from the code, as it explains why we want this:
In the rare case where we found messages matching the spam filter across
multiple channels, it is possible that a single channel will only
contain a single message to delete. If that should be the case,
discord.py will use the "delete single message" endpoint instead of the
bulk delete endpoint, and the single message deletion endpoint will
complain if you give it that does not exist.  As this means that we have
no other message to delete in this channel (and message deletes work
per-channel), we can just log an exception and carry on with business.

Traceback found via pod logs:
2021-09-24 16:34:34 | bot | ERROR | Unhandled exception in on_message.
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/discord/client.py", line 343, in _run_event
    await coro(*args, **kwargs)
  File "/bot/bot/exts/filters/antispam.py", line 220, in on_message
    await self.maybe_delete_messages(relevant_messages)
  File "/bot/bot/exts/filters/antispam.py", line 253, in maybe_delete_messages
    await channel.delete_messages(messages)
  File "/usr/local/lib/python3.9/site-packages/discord/channel.py", line 294, in delete_messages
    await self._state.http.delete_message(self.id, message_id)
  File "/usr/local/lib/python3.9/site-packages/discord/http.py", line 250, in request
    raise NotFound(r, data)
discord.errors.NotFound: 404 Not Found (error code: 10008): Unknown Message

(This probably also fixes some Sentry issue, but I don't have access to anything there, I will request access to the devops team there)

(This probably also fixes some Sentry issue, but I don't have access to anything there, I will request access to the devops team there)

added sentry ref to description


Add diamond pattern printing using javascript

Hello,
I have added a program to print diamond pattern with pound signs (#).
If you have any feedback, please let me know.

@abhi-abhinav too small commit


to ping a specific Solr core use the /admin/ping endpoint

This PR fixes #87. The targets status check uses the /admin/ping endpoint for a specific solr core -- if the core is not found it will fail.

Coverage remained the same at 89.61% when pulling adf648b76863e4e380c1627a121366de76f00487 on 87-solr-ping into 041a74ad653f0cc0e10f5fcf40ad125938d00864 on master.


Useful updates to cmake file

These are a couple of patches I have locally to improve the cmake file.
First installs the .pdb file allow with the libs on windows, for debug variants of the build.
Second enables position-independent-code compile option.

Thanks for your contribution. Question: what is your reasoning to generally enable position independent code? Note: if you build a shared library (see BUILD_SHARED_LIBS) the default is already true.
@huycn Do you remember what the default value for BUILD_SHARED_LIBS is set to OFF on windows but ON everywhere else?

For my usecase, I am building zxing as a static library, but then using it in my code that gets compiled into a shared library.
So for that to work, zxing needs to be compiled with PIC enabled.

I see. We also need this to build the python module. I just noticed that there is actually a 'bug' in the cmake setup in the sense, that disabling BUILD_SHARED_LIBS but enabling the python module does not compile. I thought about suggesting to make this flag optional so not everyone has to pay the performance penalty but a quick test revealed that this is unnoticible (on an x64 intel machine). So I'll merge it and add a comment. Thx.


Wed December 31 1969

Yeah.

I've implemented a fix for this that covers for it on details.html.
The basic idea is that any time we ask for Contact.last we should ask "btw, is your Date.parse(Contact.last) === 0?"

I think this is working. We may need similar logic on the names fields.


Compile feedback on Cloud Security Schedule

Describe the issue
Bonnie is asking Audra and Julian for the CPT on the Cloud Security Schedule (CSS).
Additional context
Vendors have challenges accepting some of the terms in the CSS. There is a file called CSS0updates-491-draft.docx

Role based: Project/App > Platform > Labour > SaaS

Definition of done

Audra and Julian meet to review and compile vendor and procurement pain points.
Suggested changes to the CSS sent to Bonnie.

We'll start this after the 22nd

Tickets to be created for the next steps.


Action changes to run GuideConverter using Maven

The guideConverter now runs using Maven therefore some things had to be changed in the actions files.

The testing stage has been removed but the issue regarding this states we should be doing testing as part of the conversion process so we need the testing stage active to carry out these tests.

The testing stage has been removed but the issue regarding this states we should be doing testing as part of the conversion process so we need the testing stage active to carry out these tests.


mod: update google.golang.org/api to v0.27.0

abandoning for now, will wait for next rev of gocloud first.


feature: portal submit via ajax and other UI tweaks

Fixes #9

Added /signin/authenticate call via AJAX
Handling AJAX call in server using a temporary interval.
Cleaned up templates
Removed unused templates
Added new logos and icons
Fixed some syntax errors

https://github.com/eedevops/he-identity-portal/issues/9


Autoscale of pubsub subscriber is failing with error

Followed the article to scale the subscriber : https://cloud.google.com/kubernetes-engine/docs/tutorials/autoscaling-metrics#pubsub_8  however the HPA is failing with mentioned error. I am using a private cluster (1.15.12-gke.2) which should not be an issue as per my understanding.

ScalingActive  False   FailedGetExternalMetric  the HPA was unable to compute the replica count: unable to get external metric default/pubsub.googleapis.com|subscription|num_undelivered_messages/&LabelSelector{MatchLabels:map[string]string{resource.labels.subscription_id: echo-read,},MatchExpressions:[],}: unable to fetch metrics from external metrics API: pubsub.googleapis.com|subscription|num_undelivered_messages.external.metrics.k8s.io is forbidden: User "system:serviceaccount:kube-system:horizontal-pod-autoscaler" cannot list resource "pubsub.googleapis.com|subscription|num_undelivered_messages" in API group "external.metrics.k8s.io" in the namespace "default"

I could see the metrics in stackdriver however hpa seems to be failing.
tried adding cluserrole binding for the given user however no success :(

As updated in https://github.com/GoogleCloudPlatform/k8s-stackdriver/issues/315 by @aubm i was able to get this to work

I managed to make it work with WI using the following approach :

gcloud iam service-accounts create custom-metrics-sd-adapter --project "$GCP_PROJECT_ID"

gcloud projects add-iam-policy-binding "$GCP_PROJECT_ID" \
  --member<EMAIL_ADDRESS>\
  --role "roles/monitoring.editor"

gcloud iam service-accounts add-iam-policy-binding \
  --role roles/iam.workloadIdentityUser \
  --member "serviceAccount:$GCP_PROJECT_ID.svc.id.goog[custom-metrics/custom-metrics-stackdriver-adapter]" \
<EMAIL_ADDRESS>
kubectl create -f https://raw.githubusercontent.com/GoogleCloudPlatform/k8s-stackdriver/master/custom-metrics-stackdriver-adapter/deploy/production/adapter.yaml

kubectl annotate serviceaccount custom-metrics-stackdriver-adapter \
<EMAIL_ADDRESS>\
  --namespace custom-metrics

@apurvc
Thank you very much for reporting this issue. The issue seems to be present only for clusters that have Workload Identity enabled. All our docs are based on the default cluster setup enabled for clusters created via the gcloud tool.
I have updated the documentation to inform the readers about it and have pointed to the Github k8s-stackdriver setup example. The second step "Start Custom Metrics - Stackdriver Adapter" explains the steps required which are similar to the ones you have shared above.
For reference, we can get the setup from the tutorial working (for WI enabled clusters) by executing the following steps before the step to "Download the service account key file".
gcloud projects add-iam-policy-binding "$PROJECT_ID" \
    --member<EMAIL_ADDRESS>\
    --role "roles/monitoring.editor"

gcloud iam service-accounts add-iam-policy-binding \
    --role roles/iam.workloadIdentityUser \
    --member "serviceAccount:$PROJECT_ID.svc.id.goog[custom-metrics/custom-metrics-stackdriver-adapter]" \
<EMAIL_ADDRESS>
kubectl annotate serviceaccount \
    --namespace custom-metrics \
    custom-metrics-stackdriver-adapter \
<EMAIL_ADDRESS>
Please note that it might take a few minutes for the service account changes to be propagated. Thus, initially the HPA might fail for a bit.
Further you can verify if the WI enabled service account was properly linked by following step 7 of this tutorial.


Signal.duration using integer division

Hi,
I don't know if it is intended but signal.duration() return an integer.
https://github.com/python-acoustics/python-acoustics/blob/master/acoustics/_signal.pyx#L95
You should convert sample rate to double in order to return the duration with milliseconds.

If both samples and fs are integers, and you are using Python 2.7, then you will indeed get floor division.
We should use from future import division.

Support for Python 2.7 has been dropped, so this won't cause any trouble anymore. Even so, I explicitly call float on it now because it should always be a float.


Panning doesn't work

Hello
I'm creating a PKRevealController and, then, I'm resetting its FrontView and its LeftView.
self.revealViewController = [PKRevealController revealControllerWithFrontViewController:frontViewController
leftViewController:nil
rightViewController:nil];
[self.revealViewController setFrontViewController:[[HomeViewController alloc] init]];`
[self.revealViewController setLeftViewController:[[MenuViewController alloc] init]];
Then, if I open the left view and do a swipe, it acts as if the left view wasn't existing.
Can someone help me ?
Thanks.

I am having this issue as well (I think it's the same as described above). When I call:
[self.revealController showViewController:self.revealController.leftViewController

It works fine the first time. The next time I try to call this it does not work. The reference to self.revealController does not return the correct revealController. It triggers this chunk of code in the category and returns something incorrect:
if (!controller)
{
    controller = self.parentViewController.revealController;
}

The hack workaround I used is to store a reference to the revealController in the appDelegate and then before calling showViewController I have to do this to workaround the bug:
self.revealController = appDelegate.revealController;
[self.revealController showViewController:self.revealController.leftViewController

This is a pretty major issue. Is this library even being maintained anymore?

Note: this started happening when I just pulled the latest version. I had this library working fine a couple years ago and just decided to update from v1 to v2.

My left controller appears every time. The thing is that my swipe is not working correctly...

Apparently, the problem is solved in the 2.1 version still in development.
@pkluz can you please make an official release soon ? Thanks


webbased viewer for TRIPS?

will you also develop a webbased viewer for TRIPS?
here is an example how you can navigate photorealistic 3d scenes supporting different browsers and devices:
https://smerf-3d.github.io/
https://github.com/smerf-3d/smerf-3d.github.io

i would be very happy if there was a solution for this. we are working on scalable gpu cluster infrastructures and a web-based viewer like this could open up completely new areas of application. please let me know if you can provide a solution for this or if we can support you in any way. thank you.


[llc] add flag to combine operation files into one file

https://github.com/Azure/autorest.python/issues/990
add test :
azure/combine-operation-files
vanilla/combine-operation-files

Hi @iscai-msft what is the usage of coverage? Is it necessary for CI?

/azp run

/azp run

@iscai-msft  Now I have the only test error, do I need to miss the error or there is something wrong in my code :


precommand flags with an unknown argument

I think sudo -x ls should not be highlighted as an error, for forward compatibility with future versions of sudo.  Therefore, I think the test added in e27e53b1ef19387949f4a214c641c568539bb027 is wrong.
@phy1729 WDYT?
(FWIW, there was actually a comment about this very situation in the code before that commit — not that that matters now.)

It's impossible for z-sy-h to know aprori if -x takes an argument. While it's true we currently assume it doesn't, at least there's an indication of where the parsing went wrong.
If there were a style for known syntax error distinct from unknown-token, unknown-token could be defaulted to normal masking such issues for end users.

There are several different matters here.
First, was there a particular use-case or instance that prompted you to make the change?  If so, could you describe it, for context?

It's impossible for z-sy-h to know aprori if -x takes an argument. While it's true we currently assume it doesn't,

Agreed: the code should make that assumption.  It should only assume the normal BSD option stacking conventions (as in _arguments -s : "-◌+${colon_or_null}"; we don't generally  know whether the -◌ option takes an argument).  Therefore, sudo -x foo bar should highlight -x as single-hyphen-option and both of the following words as default — exactly the same as ls -x foo bar, except for the command word.
That's neither what the code before the referenced commit did nor what HEAD does.

at least there's an indication of where the parsing went wrong.

We shouldn't use unknown-token unless we know positively that there's a syntax error; showing bold red on valid command lines would be poor UX.  (Call it the Hippocratic Principle if you wish, or observe that ${EDITOR}s generally behave this way.)
If we've lost track of the state, we should fall back to default until we can resync (e.g., by encountering a global alias or a command separator).
Information about where parsing went wrong is like debug printf's: of interest to the developers but not to users.  Users just want their tools to stay out of their (the users') ways so they (the users) will be able to get on with whatever they're doing.

If there were a style for known syntax error distinct from unknown-token, unknown-token could be defaulted to normal masking such issues for end users.

It is not a "known" syntax error.  ${precommand_options} isn't the source of truth here.  It could be a typo on the part of the user, but it could also be a new upstream release of sudo that the code doesn't know about.  Don't confuse the dependent and independent variables :-)
To your point, having more than one "error" style, or having some form of debug tracing, can certainly be discussed — but I do think that the behaviour expected by that test should be changed.  WDYT?

By the way, falling back to default would also be sensible for any --long-options that we don't know about. (Few of the existing precommands have long options, but more might be added in the future.)

sigh
I just rediscovered #641, which basically points out that this issue is a regression from 0.6.0: it causes sudo --askpass to be highlighted as an error where previously it worked.
As it's a regression, I'm bumping the milestone.  Which unfortunately makes this issue a release blocker :(
Let's try and agree on a fix.

PR #664.


Fix quotes

Coverage remained the same at 85.29% when pulling 220e5e1b6f5677fca5dda3d14937686224e90491 on shellescape into 78a2443db72c03a93179883ef2a8779269f39bd5 on master.

Coverage remained the same at 85.29% when pulling 220e5e1b6f5677fca5dda3d14937686224e90491 on shellescape into 78a2443db72c03a93179883ef2a8779269f39bd5 on master.


Make it possible to delete piped keys from the web

What this PR does / why we need it:
Add delete menu item to the piped menu

Disable the menu item if old key is not exists.

Show alert if click add new key when an old key exists

Show information after added a new key

Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

Make it possible to delete piped keys from the web

@nghialv Thank you. I fixed the text as you proposed.

/lgtm

Way to go 🚀 Thanks
/approve

@cakecatz You've done a fantastic job. A big thank you goes out to you!


MAISTRA-736 include CNI status in readiness check

Signed-off-by: rcernich<EMAIL_ADDRESS>

This also cleans up some of the status code.  Now, everything should be written to reconciler.Status and nothing should be using reconciler.Instance.Status.  reconciler.Instance is the ServiceMeshControlPlane instance that the reconciliation process is acting upon.  reconciler.Status represents the current Status as the instance progresses through a single invocation of the reconciliation process.  A fresh instance is retrieved for every status update to prevent conflict errors.

Testing again.

We'll have to fix it later.  It seems to be related to interplay between the two controllers (ServiceMeshControlPlane and ServiceMeshMemberRoll).


Adding logic to use PowerShell when available and necessary

...to avoid command line length limits in Windows. This repairs
a fatal build error in DLE.

Looks great.


chore(sdk): Separate OIDC URL from completion.

This PR splits up the OIDC auth when using a code into 2 steps. The first to get the URL and the second to perform the login using the code. The main driver for this has been that it would be nice to use OIDC through the FFI where we have no async support (or closure support). Having 2 separate methods makes the API much simpler with this restriction in place.

Ok, updated 👍

Note: I realised I haven't touched the CLI app in this PR. Would you like me to update that too?

Hmm yeah that would be good to make sure it still works. But I can also fix it later when I add the helper struct

And those few comments are fixed too.


Surprising mention of WeatherForecastService

Hi,
It looks like this section was lifted from an example or tutorial as it mentions the "WeatherForecastService" which is not introduced (e.g. as "an example service used by the app").
This is confusing, thanks, Hugh

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

ID: d31248d7-d2c2-1a17-3173-889a0d9bb6e8
Version Independent ID: 6f27ff37-6b3a-57f5-353a-5cf5aabba7cf
Content: ASP.NET Core Blazor project structure
Content Source: aspnetcore/blazor/project-structure.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

It's part of the project template as called out by the opening ...

The following files and folders make up a Blazor app generated from a Blazor project template:

It's part of the project template as called out by the opening ...

The following files and folders make up a Blazor app generated from a Blazor project template:

I think I see what you mean now. I was just looking at composing the topic in two sections for the hosting models and noticed that the mention of the service is a bit out of context where it appears early in the list. It might work out tho that if I go alphabetical with the file and folder names that the service call out under "Data" (letter "D") earlier than "Startup" ("S") might do the trick. Therefore, I'll re-open this and resolve both at the same time.

I think I see what you mean now. I was just looking at composing the topic in two sections for the hosting models and noticed that the mention of the service is a bit out of context where it appears early in the list. It might work out tho that if I go alphabetical with the file and folder names that the service call out under "Data" (letter "D") earlier than "Startup" ("S") might do the trick. Therefore, I'll re-open this and resolve both at the same time.


import with require syntex

i am using it as docusaurus.io showcase. however it will build with webpack so i have to use selective import method - require to import the package.
the question is how can i import using require?
  var reader = require('react-qr-reader') wont work
thanks

Will be fixed in next release.


Option to dump/backup the values to disk - save them if plasma_store crashes, brain is lost, or just want to persist them

Suppose I'd like to keep certain variables on disk as well as in memory so I don't have to reassign them every time. Suppose also that I want to be able to use the same API to access them that I use for every other variable in my brain.
How to do it:
Add a self.nickname attribute to Brain. Default is None. This is used to make the namespace unique when referencing the objects later. Objects cannot be persisted if the brain does not have a nickname.
Add a persist field in every brain_object. Default is False.

every time a name's value is updated, check if persist=True in the name's brain_object
if it is, update the name's value stored on disk as well as on

Add a persist=False parameter in brain.learn(). If persist==True, pickle it to a file somewhere standard (mutable location, self.persist_path='this/is/a/path') on disk (not in /tmp) with filename as <nickname>_<variable_name>.pkl.
Add a brain.persisted() method that returns list of all persisted names. OR add persisted=True parameter to brain.names() that only returns names that are persisted. Just pulls names from the second half of filenames in self.persist_path where the name starts with nickname. Can do the same for brain.ids.

Worked on this a bit in https://github.com/russellromney/brain-plasma/tree/persist with a practice class PersistBrain that extends the base Brain() class.
I think this is interesting in that it lets you use the same API to store objects and back them up, with a guarantee that the object will stay on disk for next time and remain accessible without changing the API at all.
However in practice it simply functions like a caching mechanism, and a very slow one compared to other solutions including various key/value stores like playhouse.kv, sqlitedict, or just using Redis. I think it would make more sense to use a key-value store or an ACID-compliant database for most of these things and manually do checking for large files before re-loading them into a brain for further use.
The reason I still made this is because it's intriguing to have a backup storage system and caching system built into the same API. It also opens up options like flushing the plasma store periodically or at least flushing stale objects with no fear. Also, in the case of using the namespace concept as a sort of distributed in-memory NoSQL database, disk backup and would be useful because it acts as a portable db folder.
General idea
The basic idea is that all values are backed up on disk when brain.learn is called. Any calls after that are pulled from memory, UNLESS the value is not in memory i.e. plasma_store has been shut down in the interim, the value has been removed from plasma, etc.
If the value is not in memory, the value is pulled from disk, stored in the same namespace in memory, and returned to the user. It can now be pulled from memory again.
To remember

a "brain object" or "reference object" is a dictionary of attributes about the name and value including either the ObjectID of the stored value or the path to the value on file
a "value" or "value object" is the actual python object to be stored

How this basic version works
It extends the base Brain() class by adding functions to do similar things but for persisted data. Then the bracket API just doubles up the functionality for each call.
For saving a name and value, it calls both learn and persist_learn, saving in both places.
For recalling a name and value, it tries to pull from memory first and then moves on to pulling from disk while caching in memory for next time.
This is the class code on top of Brain:
class PersistBrain(Brain):
    '''
    a test brain that saves both to plasma and to a folder in its persist path
    '''
    def __init__(self,persist_path='brain-persist/',**kwargs):
        super().__init__(**kwargs)
        assert open(persist_path+'test','wb'), 'PersistBrain Error: unable to access persist_path "{}"'.format(persist_path)
        self.persist_path = persist_path

    def persist_learn(self,name,thing,description=False):
        '''put the item in the store and persist on disk'''
        if not type(name)==str:
            raise BaseException('PersistBrain Error: type of name "{}" is not string'.format(name))

        this_id,name_id = self._brain_new_ids_or_existing_ids(name,self.client)
        brain_object = {
            'name':name,
            'id':this_id.binary(),
            'description':description,
            'name_id':name_id.binary(),
            'namespace':self.namespace,
            'value_persist_path':self.persist_path+self._random_letters(),
            'brain_object_persist_path':self._persist_brain_object_path(name)
        }

        # check if name is already taken; if it is, delete its value stored at its ObjectID and delete its brain_object name index
        if self._brain_name_exists(name,self.client):
            self.forget(name)
            self.persist_forget(name)

        # save to store
        self.learn(name,thing)
        # save brain object to disk
        pickle.dump(brain_object,open(brain_object['brain_object_persist_path'],'wb'))
        # save value to disk
        value_ = {name:thing}
        pickle.dump(value_,open(brain_object['value_persist_path'],'wb'))

    def __setitem__(self,name,item):
        self.learn(name,item)
        self.persist_learn(name,item)

    def persist_recall(self,name):
        value_path = pickle.load(open(self._persist_brain_object_path(name),'rb'))['value_persist_path']
        return pickle.load(open(value_path,'rb'))[name]

    def __getitem__(self,name):
        try:
            if name in self.names():
                return self.recall(name)
        except:
            pass

        print(self.persist_names())
        if name in self.persist_names():
            # save it to the store
            val_ = self.persist_recall(name)
            self.learn(name,val_)
            return val_
        print(self.persist_names())
        raise KeyError(name)

    def persist_forget(self,name):
        '''delete an object from disk based on its brain name'''
        ref = self._persist_brain_object(name)
        value_path = ref['value_persist_path']
        # remove the object itself
        os.remove(value_path)
        # remove the brain object
        os.remove(ref['brain_object_persist_path'])

    def __delitem__(self,name):
        self.forget(name)
        self.persist_forget(name)

    def persist_names(self,namespace=None):
        '''return names all known variables on disk'''
        all_names = [x for x in os.listdir(self.persist_path) if 'namespace' in x]
        if namespace is None:
            namespace = self.namespace
        if namespace=='all':
            return [x.split('name_')[-1] for x in all_names]
        else:
            return [x.split('namespace_{}_name_'.format(namespace))[-1] for x in all_names if 'namespace_{}_name_'.format(namespace) in x]

    def _random_letters(self):
        return ''.join([random.choice('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ') for x in range(20)])

    def _persist_brain_object_path(self,name):
        return self.persist_path+'namespace_{}_name_{}'.format(self.namespace,name)

    def _persist_brain_object(self,name):
        return pickle.load(open(self._persist_brain_object_path(name),'rb'))

    def _persist_name_error(self,name):
        '''raise error if the name does not exist'''
        if not name in self.persist_names():
            raise BaseException('PersistBrain Error: PersistBrain does not know the name "{}" in namespace "{}"'.format(name,self.namespace))

Problems
All this is very dangerous in practice as it has no checks on variable existence and has lackluster error handling for cases when names don't exist. A user's namespacing paradigm would have to be very stable. Like SQLite, it's dependent on the directories structure staying the same. It doesn't work if no plasma_store instance exists. Non-ACID compliant. Relying on pickling objects can be dangerous if they are user-generated. It is very slow relative to most other solutions except for very large objects (caching, yay).
I think I will try and make it more functional and less error-prone before giving up. The large object functionality and caching for namespaces would be pretty useful for me.

I'm not sure this is a great goal to push for this package. Closing until it seems sensible.


Secure a domain name (or multiple)

We're going to want a domain name for the project and also the company.
See #121.

we now have maelstrom-software.com


bad site -> ikezijik.ga

kill it with fire ;)

Thanks Lorenzo @scafroglia93.  The deed is done.
Closing.


Adding question to FAQ.

Adding a short answer on the difference between ITK and SimpleITK. Closes #1032

Not sure what the ghost flow is complaining about, there's nothing there.

docs/source/faq.rst:13: leftover conflict marker

I'm guessing the "=====" mark up is being confused with merge conflict markup. Agreed, we can ignore it.


[iqiyi] No video formats found!

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Việt Nam
Provide a description that is worded well enough to be understood
After downloading 2 videos (requires VIP) this error appeared and after waiting some time I ran the command again I downloaded the next 2 videos and this error appeared again
This error does not appear on free videos
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-Uv', '--downloader', 'aria2c', '--cookies', 'C:\
\Users\\Administrator\\Documents\\iq.com_cookies.txt', '--download-archive', 'do
w.txt', 'https://www.iq.com/album/van-tuong-truyen-2023-1jdppwp8q1d?lang=vi_vn']

[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8 (No VT), erro
r utf-8 (No VT), screen utf-8 (No VT)
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d]
[debug] Lazy loading extractors is disabled
[debug] Python 3.11.3 (CPython AMD64 64bit) - Windows-2012ServerR2-6.3.9600-SP0
(OpenSSL 1.1.1t  7 Feb 2023)
[debug] exe versions: ffmpeg N-110612-g2953ebe7b6-20230515 (setts), ffprobe N-11
0612-g2953ebe7b6-20230515, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.18.0, certifi-2023.05.07, mutagen-1.46.
0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1840 extractors
[debug] Loading archive file 'dow.txt'
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releas
es/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>[iq.com:album] Extracting URL: https://www.iq.com/album/van-tuong-truyen-2023-1j
dppwp8q1d?lang=vi_vn
[iq.com:album] 1jdppwp8q1d: Downloading webpage
[download] Downloading playlist: Vân Tuong Truy?n
[iq.com:album] 1jdppwp8q1d: Downloading video list episodes 1-24
[iq.com:album] 1jdppwp8q1d: Downloading video list episodes 25-36
[iq.com:album] Playlist Vân Tuong Truy?n: Downloading 36 items of 36
[download] Vân Tuong Truy?n has already been recorded in the archive
[download] The Ingenious One - Episode 2 has already been recorded in the archiv
e
[download] The Ingenious One - Episode 3 has already been recorded in the archiv
e
[download] The Ingenious One - Episode 4 has already been recorded in the archiv
e
[download] The Ingenious One - Episode 5 has already been recorded in the archiv
e
[download] Downloading item 6 of 36
[iq.com] Extracting URL: https://www.iq.com/play/van-tuong-truyen-tap-6-mf4357z4
fg?lang=vi_vn
[iq.com] mf4357z4fg: Downloading webpage
[debug] Loading iq.player_js from cache
[iq.com] mf4357z4fg: Downloading VIP data
[debug] Loading iq.player_js from cache
[iq.com] mf4357z4fg: Executing signature code (this may take a couple minutes)
[debug] [iq.com] PhantomJS command line: phantomjs "--ssl-protocol=any" "C:\User
s\ADMINI~1\AppData\Local\Temp\2\tmpvekoz452"
[iq.com] mf4357z4fg: Downloading initial video format info
ERROR: [iq.com] mf4357z4fg: No video formats found!; please report this issue on
  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue
 template. Confirm you are on the latest version using  yt-dlp -U
Traceback (most recent call last):
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-
packages\yt_dlp\YoutubeDL.py", line 1552, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-
packages\yt_dlp\YoutubeDL.py", line 1649, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-
packages\yt_dlp\YoutubeDL.py", line 1708, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-
packages\yt_dlp\YoutubeDL.py", line 2650, in process_video_result
    self.raise_no_formats(info_dict)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-
packages\yt_dlp\YoutubeDL.py", line 1066, in raise_no_formats
    raise ExtractorError(msg, video_id=info['id'], ie=info['extractor'],
yt_dlp.utils.ExtractorError: [iq.com] mf4357z4fg: No video formats found!; pleas
e report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out
 the appropriate issue template. Confirm you are on the latest version using  yt
-dlp -U

iq.com has a very similar (the same?) issue, and here is the explanation (from https://github.com/yt-dlp/yt-dlp/issues/5702#issuecomment-1384245060):

Iqiyi appears to check if the simultaneous stream limit is hit periodically. If it senses it's been hit, it will block the entire account from streaming until a stream has been closed + 10 minute penalty. Users can see the 10 minute message if they try to stream something on a browser. Downloading full videos minutes within each other apparently counts as a simultaneous stream.

The standard account allows 2 simultaneous streams, and the premium one allows for 4. ... I hit [this] problem after 4 downloads, and I have the premium one.

I set my script to put a 15 minute interval between every 4 downloads(so the penalty time expires before it tries to download new episodes), but it's not a great solution. Would probably be better if yt-dlp could detect the error message and set the timeout internally.

As I wrote in https://github.com/yt-dlp/yt-dlp/issues/2813#issuecomment-1385397993, I don't think there is anything we can really do about the rate limit other than output a more descriptive/accurate error message


[mysql] can't parse convert function in order by clause

Actual Behavior
 String sql2 = "select * from a order by convert(a.name using gbk) desc";
CCJSqlParserUtil.parse(sql2);

above code throws an exception:
Caused by:
net.sf.jsqlparser.parser.ParseException: Encountered " "(" "( "" at line 1, column 33.
Was expecting one of:
    <EOF>
    "ASC" ...
    "DESC" ...
    "FOR" ...
    "UNION" ...
    "ORDER" ...
    "INTERSECT" ...
    "EXCEPT" ...
    "MINUS" ...
    "NULLS" ...
    ";" ...
    "," ...
    "|" ...
    "&" ...
    "^" ...
    "::" ...

    at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:16395)

Expected Behavior
I hope jsqlparse can support order by convert(column using charset) desc/asc
Steps to Reproduce the Problem

use jsqlparse, version:1.0, (jsqlparse-1.3 has same issue)
execute above code in IDE(java)
throws exception

Specifications

Version:1.0
Platform:Windows, jdk8
Subsystem:

JSqlParser does not (yet) support functions with nonstandard parameters, like f(a in b) or yours f(a using b).


order() doesn't work.

order() doesn't work. By using the debug() method, I see that the SQL statement ends with ORDER BY ? ASC
The problem is that you can't bind field names.
Also, issue #3 is also slightly relevant here.

Can you post the code you are using? The field name(s) to be binded is the first parameter.
...
    ->order('date', 'ASC')
...

Can you post the code you are using? The field name(s) to be binded is the first parameter.

->order('date', 'ASC')

I know, but you can't bind field names. You can only bind values.
```php
$sql = 'SELECT `x` FROM `y` WHERE '.$z.' = :a ORDER BY '.$b.' ASC';

Commit 84f8cd246053fd6c6e6c7dc17cbc6ed1330f638b fixes the issue.


graph: Remove unnecessary url decode

Description
It seems the chi framework automatically decodes URLencoded data, so removing superfluous decoding.
Related Issue

Fixes #5083

How Has This Been Tested?
I have run the unit tests and tested with the reproduction steps described in the issue.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[x] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

:boom: Acceptance test localApiTests-apiGraph-ocis failed. Further test are cancelled...


installed dotnet - says it isn't installed

Have you tried again with 7.1? If the problem persists, please show an image of the error you're getting. Also, open cmd or powershell and run the command dotnet --list-runtimes and show me the output.

I am having same issue with Version 7.1
Ran Command Prompt:
C:\Users\Callum>dotnet --list-runtimes
Microsoft.AspNetCore.App 3.1.0-preview1.19508.20 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.5 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.0-preview.6.20312.15 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.0-preview1.19506.1 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.5 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.0-preview.6.20305.6 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.0-preview1.19506.1 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.5 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.0-preview.6.20308.1 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]

Can you try with the x64 version of the .NET Core runtime?

Can you try with the x64 version of the .NET Core runtime?

Thank you it worked


Migrate kustomize files to new clauses

Describe the bug
The kustomization configuration uses deprecated clauses like bases.
Instead you should just use resources
Steps to reproduce
e.g.
$ kustomize  build github.com/aws-controllers-k8s/iam-controller/config/default > /dev/null
# Warning: 'bases' is deprecated. Please use 'resources' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'bases' is deprecated. Please use 'resources' instead. Run 'kustomize edit fix' to update your Kustomization automatically.

Expected outcome
No deprecation warnings
Environment

kustomize version: 5.0.0

TODO this should be kind/installation

@james-callahan Hi! Are you interested in submitting a PR that addresses this issue?

@james-callahan Hi! Are you interested in submitting a PR that addresses this issue?

Sent https://github.com/aws-controllers-k8s/code-generator/pull/420

Merged and code generator has had a release; closing as solved.


Claim resolvers app insights example does not use a recommended setting

I have noticed that the claim resolvers page identifies at the end of the Using claim resolvers section that you must set IncludeClaimResolvingInClaimsHandling and AlwaysUseDefaultValue=true when using a claims resolver to resolve a claim, e.g.
<Metadata>
  <Item Key="IncludeClaimResolvingInClaimsHandling">true</Item>
</Metadata>
<InputClaims>
  <InputClaim ClaimTypeReferenceId="CorrelationId" DefaultValue="{Context:CorrelationId}" AlwaysUseDefaultValue="true" />
</InputClaims>

However, the code example in the Application Insights technical profile section does not set the AlwaysUseDefaultValue="true" attribute, which goes against the mandatory advice given on the page.
<TechnicalProfile Id="AzureInsights-Common">
  <DisplayName>Alternate Email</DisplayName>
  <Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.Insights.AzureApplicationInsightsProvider, Web.TPEngine, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null" />
  ...
  <InputClaims>
    <InputClaim ClaimTypeReferenceId="PolicyId" PartnerClaimType="{property:Policy}" DefaultValue="{Policy:PolicyId}" />
    <InputClaim ClaimTypeReferenceId="CorrelationId" PartnerClaimType="{property:CorrelationId}" DefaultValue="{Context:CorrelationId}" />
    <InputClaim ClaimTypeReferenceId="language" PartnerClaimType="{property:language}" DefaultValue="{Culture:RFC5646}" />
    <InputClaim ClaimTypeReferenceId="AppId" PartnerClaimType="{property:App}" DefaultValue="{OIDC:ClientId}" />
  </InputClaims>
</TechnicalProfile>

I have also noticed the same inconsistency in the example code on the Track user behavior in Azure AD B2C by using Application Insights page, which does not set either of the mandatory IncludeClaimResolvingInClaimsHandling and AlwaysUseDefaultValue settings.
I think these mandatory settings should be added to the code examples to prevent any confusion for developers in the future, as this missing setting led to some strange behaviour in my policies before I realised I had missed the required metadata setting.

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

ID: 4fc94d79-52c2-d03a-9821-32c048ffa020
Version Independent ID: e4303183-d476-6104-fcaf-00e3beb23787
Content: Claim resolvers in custom policies - Azure AD B2C
Content Source: articles/active-directory-b2c/claim-resolver-overview.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@tasha-rooney-ul
Thanks for your feedback! We will investigate and update as appropriate.

@tasha-rooney-ul
We apologize for the delay in our response. We're working to update our documentation. However, please be aware that it may take some time for the updates to be reflected on our documentation site. Thank you for your patience and understanding.


Update readme.md - Add PlugNPlayMac on System Tools

Add PlugNPlayMac on System Tools

Add PlugNPlayMac on System Tools