Better handling non-XAS datatypes

@newville I have just realized that is not currently possible in xas_viewer to load a k, chi file and perform EXAFS analysis on it. I think this is a strong limitation and we should take action to solve it. Do you agree?
We could take this occasion to extend and better handle non-XAS datatypes in xas_viewer and larch in general. Here some ideas (random order). Please, feel free to comment them:

definition of the DATATYPES should be moved out of the GUI (larch.wxlib.columnframe) and go into root larch. By the way, I think this should be valid for all globals that are not strictly related to GUI.
add a chi datatype (or whatever naming) that when loaded will not allow to perform normalization and background removal. Ideally, the GUI should get all tabs disabled (visually grayed out, I do not know if this is possible with Wx) and leave only the EXAFS-related tabs
add xas_norm datatype for already normalized XAS data -> the normalization panel should be disabled
the raw datatype should not bring to the "XAS normalization" tab, but something more generic like a shell (I have in mind what is done in NexPy, all tabs should be disabled, apart peak fitting.
one should be able to change the group datatype in the list of groups panel by right click.
one could mix datatypes in the group list panel and each datatype get a different color for the group name.

So, the main question is: do we want to extend to other spectroscopy workflows rather than XAS? I think at least the Larch library should be able to know how to handle additional datatypes. Having the GUI also handling this would be great, but is much more work, I suppose.

@maurov

@newville I have just realized that is not currently possible in xas_viewer to load a k, chi file and perform EXAFS analysis on it. I think this is a strong limitation and we should take action to solve it. Do you agree?

Well, I guess we haven't had a lot of complaints about it ;)
In fact, we don't even read chi(k) data from Athena Projects -- they aren't even shown as available when reading an Athena File.
I might say: "not no", but it might be some real work, and it might not be my highest priority.   I guess I might ask for suggestions on how to set such priorities?

We could take this occasion to extend and better handle non-XAS datatypes in xas_viewer and larch in general.

OK.   Maybe we should also aim to have this be a wider conversation?  It's summer, and I have not tried to schedule a Larch Develepors meeting yet.   Maybe this should be discussed there?

Here some ideas (random order). Please, feel free to comment them:
. definition of the DATATYPES should be moved out of the GUI (larch.wxlib.columnframe) and go into root larch. By the way, I think this should be valid for all globals that are not strictly related to GUI.

OK. Well, some things that are "globals" in a module are pretty specific to it.    It is possible that "wxlib/columnframe.py" should be moved into "wxxas" -- it is pretty specific to XAS Viewer at this point.

. add a chi datatype (or whatever naming) that when loaded will not allow to perform normalization and background removal. Ideally, the GUI should get all tabs disabled (visually grayed out, I do not know if this is possible with Wx) and leave only the EXAFS-related tabs

I
think one can grey-out the contents of a Tabbed Panel, if not the Tabs themselves.  But, parts of the EXAFS tab (say FT) would probably still want to be allowed?

add xas_norm datatype for already normalized XAS data -> the normalization panel should be disabled

I don't think I've heard that request before.   Maybe we could just have a button that sets the edge_step to 1, or effectively
makes norm=mu.  That would basically have the same effect.

the raw datatype should not bring to the "XAS normalization" tab, but something more generic like a shell (I have in mind what is done in NexPy, all tabs should be disabled, apart peak fitting.
one should be able to change the group datatype in the list of groups panel by right click.

Another option would be a separate GUI for peak and general data fitting for non-XAS data.
The fact that XAS Viewer can read non-XAS data has surprised several people ;)

one could mix datatypes in the group list panel and each datatype get a different color for the group name.

OK.

So, the main question is: do we want to extend to other spectroscopy workflows rather than XAS? I think at least the Larch library should be able to know how to handle additional datatypes. Having the GUI also handling this would be great, but is much more work, I suppose.

Well, I guess I might ask whether we should deliberately target other spectroscopies or aim for a more general-purpose tool?
Maybe targeting XES, including extraction of data from image data, would be a possible addition?
FWIW, I will also be continuing to work on XRF fitting and XRF mapping software within Larch, but not XAS Viewer.  Those GUIs need work too ;).
I think going for a more general-purpose tool for curve fitting/peak fitting is a possibility too.  That would basically be a data browser and LMFIT GUI that would be like XAS Viewer but not XAS-specific.  So, more like a replacement for fityk than for Athena.  But, maybe including the simple approaches to Linear-Combination and PCA in XAS Viewer for general-purpose data.
My sense is that:
a) we could definitely do this.
b) from what I see, this would be very popular.
c) it might be so popular that it swamps XAS/XAS/synchrotron work.
This is better than trying to push "general purpose data" into XAS Viewer.   I think the "build the actual GUI" is not very hard -- much of it would be XAS Viewer.  I might consider a separate project from all of Larch, but I think that would be "undecided" at the moment.  There are pros and cons...
That tool would almost certainly need:
a general-purpose browser of HDF5
a general-purpose browser for CSV / Pandas data.
I would imagine that there would be further pressure to read other data sources, which could dominate the support time.
Do you have any thoughts on this?   Like, imagine a variation of XAS Viewer that was really a replacement for Fityk -- would that be the right thing to do?
That is all sort of a non-linear set of thoughts.  Maybe a wider discussion is needed?

@newville
Thanks for your comments. I agree that the overall topic should be discussed in a developers' meeting, probably after summer.
In the meantime, few things that could be very helpful and should not affect that much the current code:

do you agree if we move out of the GUI the tuple DATATYPES? If yes, do you have a preference where? I was thinking in larch.symboltable
can we add a chi datatype in order that the ASCII reader will correctly assign arrays to group.k and group.chi

If you agree, I can take care doing this.
Furthermore, the GUI should not reprocess the data each time passing from one group highlight to another, neither when simply doing a plot on current group or selected groups. Processing functions (e.g. pre_edge, autobk, etc.) on a group should be (re)called only when parameters are changed in the GUI. Do you agree with this?
PS:

I think one can grey-out the contents of a Tabbed Panel, if not the Tabs themselves.

If you know how to do this in wxPython, I would be interested in giving it a try.

@maurov

do you agree if we move out of the GUI the tuple DATATYPES? If yes, do you have a preference where? I was thinking in larch.symboltable

At the moment, it is only used by the column file reader and XAS Viewer.   So maybe it should be in wxxas/config.py.

can we add a chi datatype in order that the ASCII reader will correctly assign arrays to group.k and group.chi
If you agree, I can take care doing this.

I think so.  I'm not entirely clear about is how to "install that group" into XAS Viewer.    XAS Viewer basically started as "XANES/XAS data viewer", so several of the panels, dialogs, and to some extent the Controller sort of assume there are "energy" and "norm" arrays,  typically also called "xdat" and "ydat".
For example, merging, LCF, and PCA only work on energy-arrayed data.    If we support reading in chi(k) data from elsewhere, we will have to be explicit about whether these can work with chi(k) data or not.
So, I'm not opposed, but I think this could actually be some effort.
Are people asking for this?  I have not heard of such a request.
PS:

I think one can grey-out the contents of a Tabbed Panel, if not the Tabs themselves.
If you know how to do this in wxPython, I would be interested in giving it a try.

I think you can use Widget.Disable() or   Widget.Enable(boolean_value) .  I don't know if that works on the whole panel, but it might.   Each TaskPanel has an onPanelExposed method that is run when that tab panel is brought forward.  That currently gets the "current group" and fills in the form.   You could try checking the "datatype" and Enable the panel if the datatype is supported for that panel.
FWIW, I spent some time yesterday trying to figure out per-item coloring or font properties for the File List, and it does not look possible.

Hello,
I have a related request after trying to use XAS viewer to perform pre-edge peak analysis. I have a series of spectra that I import and would want to do the pre-edge fitting on that 'raw' data, but the only options are normalized, flattened and deconvolved.
Because of the nature of the data, the pre-edge is a bit noisy, and the normalization treatment does not work very well (and more importantly not consistently between spectra).
If the raw option (or way to normalized by doing nothing to the data) could be added that would be great!
Thanks,
-Gilles


FREE!! PlayStation-PSN Gift Cards Generator updated Get Free Psn codes

45 Sec ago ~~Did you know that millions of gamers are constantly on the lookout for free PSN gift card codes? If you're one of them, ...
45 Sec ago ~~Did you know that millions of gamers are constantly on the lookout for free PSN gift card codes? If you're one of them, your search ends here. Our PSN gift card code generator is the ultimate solution to unlock a world of gaming without spending a penny. With just a few clicks, you can access an array of games, exclusive content, and more on the PlayStation Network. Say goodbye to emptying your wallet for gaming adventures and hello to endless possibilities with our generator.
🎁👇CLICK HERE TO CLAIM YOUR FREE PSN 💯
🎁👇CLICK HERE TO CLAIM YOUR FREE PSN 💯
Understanding PSN Gift Cards
PlayStation Network (PSN) offers various gift card options, including wallet top-ups and specific game or subscription cards.
PSN wallet gift cards allow users to add funds to their PlayStation Store account for purchasing content.
Usage
To use a PSN gift card, simply redeem the code on the PlayStation Store. Users can then use the balance to buy games, DLCs, subscriptions, or other content.
Users can access the PlayStation Store through their console or online via a web browser to redeem and utilize their gift card balance.
Benefits
The primary advantage of PSN gift cards is their convenience and flexibility. They enable gamers to access a wide range of content without needing a credit card.
Users can also gift these cards to friends and family who are PlayStation enthusiasts. This allows recipients to choose their preferred games or content.
How PSN Gift Card Generators Work
Mechanics
PSN gift card generators claim to work by exploiting loopholes in the PlayStation Network system. They promise to generate free codes by running algorithms that mimic the process of purchasing a gift card. These tools typically require users to input their PSN account details before providing the generated code.
Risks
Using PSN gift card generators poses significant risks to users. These tools often require personal information, putting users at risk of identity theft and fraud. Moreover, there is no guarantee that the generated codes are legitimate or will work, potentially leading to account suspension or banning by Sony for violating their terms of service.
Legality Issues
The operation of PSN gift card generators raises legal concerns. Creating and using these tools may violate copyright laws and terms of service agreements set by Sony for the PlayStation Network. Distributing generated codes without authorization infringes on intellectual property rights and can result in legal action against both the creators and users of such tools.
Maximising Benefits from PSN Generators
Legitimate Methods
Using legitimate methods to obtain free PSN gift cards is crucial for ensuring the security of your account. By avoiding shady websites or tools, you can safeguard your personal information and prevent any potential risks. Legitimate methods often involve participating in surveys, watching videos, or completing tasks to earn points that can be redeemed for PSN gift cards.
Reward Apps
Reward apps are a convenient way to earn credits that can be used towards free PSN cards. By consistently using these apps and engaging with their features, you can accumulate points or rewards over time. Some reward apps offer specific tasks related to gaming or app downloads, providing varied opportunities to earn credits for PSN gift cards.
Giveaways Participation
Engaging in giveaways hosted by reputable sources is an effective strategy to increase your chances of winning free PlayStation gift cards. Reputable sources often conduct giveaways on social media platforms or through official websites. By actively participating in these giveaways, you not only stand a chance to win free PSN cards but also contribute to building a supportive community around gaming enthusiasts.
Tips for Effective PSN Code Generation
Use Credit Card Rewards
To generate PSN codes efficiently, consider utilising credit card rewards programs. Many credit cards offer the option to convert accumulated points into PSN gift cards, providing a convenient way to access free gaming credits.
Participate in Promotions
Engage with promotions and events organized by Sony PlayStation to earn free PSN codes. These initiatives often offer opportunities to obtain gift cards through various activities like game challenges or community events.
Be Mindful of Security
When searching for PSN code generators, be cautious of scams that may waste your time and compromise your online security. Ensure you only use reputable platforms recommended by trusted sources.
Verify Legitimacy
Before investing time in a code generator, verify its legitimacy by checking reviews and feedback from other users. This step can help you avoid falling victim to fraudulent schemes that promise free PSN codes but deliver nothing in return.
Stay Updated
Stay informed about the latest trends and updates in the gaming industry to discover new ways of obtaining PSN codes. Following gaming influencers, subscribing to newsletters, and regularly visiting official PlayStation websites can provide valuable insights into upcoming promotions.sdfresr
Risks of Using Unauthorised Generators
Scam Risks
Unauthorized generators pose significant risks, potentially leading to scams and fraudulent activities. These platforms often promise free PSN gift card codes, luring users into providing personal information.
Unscrupulous individuals behind unauthorized generator websites may exploit users by tricking them into completing surveys or downloading malicious software. This can result in financial losses and compromise the security of personal data. ghujksdrtetd
Account Security
Using unauthorized generators exposes gamers to the risk of compromising their PlayStation Network (PSN) accounts. By entering sensitive information on these platforms, users make themselves vulnerable to hacking attempts and identity theft.
Gamers who fall prey to unauthorized generator scams may find their PSN accounts suspended or banned due to violating the platform's terms of service. This can lead to loss of access to purchased games, progress, and online privileges.
Privacy Concerns
One of the most significant risks associated with unauthorized generators is the potential breach of privacy. Users who input personal details on these platforms unknowingly expose themselves to data breaches and unauthorized access to their information.
In addition to privacy concerns, using unauthorized generators can also result in the installation of malware on devices. This malicious software can compromise device security, leading to issues such as data loss, system damage, and intrusive advertising.
 They claim this step is necessary but use it to gather personal information.
e fake generators promise an unlimited supply of free codes, enticing users with the prospect of endless gaming funds. However, these offers are too good to be true and usually lead to scams.
Warning Signs
One key warning sign of a fake PSN code generator is the requirement for human verification. Legitimate platforms do not typically ask users to complete such tasks for code generation.
Another red flag is when a generator asks for sensitive information like passwords or payment details. Reputable sources never request such data in exchange for codes.
Vigilance and Caution
When encountering websites offering free PSN codes through generators, exercise caution. Verify the legitimacy of the platform by researching reviews and feedback from other users.
Be wary of any site that promises immediate access to free codes without any effort on your part. Remember, if something seems too good to be true, it likely is.
Safe Practises for PSN Codes
Redeeming Process
When redeeming PSN gift card codes, ensure you follow safe practices to safeguard your account. Verify the authenticity of codes before entering them.
Securely log in to your PlayStation Network account and navigate to the code redemption section. Enter the verification code to validate the gift card.
Account Security Measures
To enhance security, consider creating a separate account solely for managing and redeeming free PSN gift cards. This segregation reduces the risk of compromising your primary gaming account.
Utilize unique passwords for each account associated with PSN codes. Avoid sharing these credentials with others to prevent unauthorized access.
Additional Tips
Regularly monitor your account activity for any suspicious transactions or activities related to redeemed codes. Stay vigilant against phishing attempts targeting people seeking free PSN codes.
Avoid clicking on links promising free PSN codes; they often lead to fraudulent websites aiming to steal personal information.
Alternatives to PSN Code Generators
Participating Surveys
Engage in surveys on trusted websites to earn free PSN gift cards by sharing your opinions.
Playing Games Explore gaming platforms offering rewards for playing games, a fun way to earn PSN codes.
Watching Videos
Watch promotional videos or ads on designated sites to accumulate points redeemable for PSN gift cards.
y PlayStation Official Channels Visit Sony PlayStation's official website or social media for legitimate opportunities to obtain free PSN codes.
Closing Thoughts
You now grasp the ins and outs of PSN gift card codes and generators. By understanding how they function, maximizing their benefits, and staying cautious of risks, you can navigate this realm more securely. Remember, safety is key when dealing with PSN codes. Always opt for authorized methods to avoid potential pitfalls.
Make informed choices when using PSN code generators. Prioritize your online security and safeguard your gaming experiences. Stay alert, follow safe practices, and explore alternative options if needed. Your gaming adventures should be enjoyable and stress-free. Take charge of your PSN code generation journey today!
Frequently Asked Questions
How do PSN gift cards work?
PSN gift cards are prepaid cards that allow you to purchase games, add-ons, subscriptions, and more on the PlayStation Network. Simply redeem the unique code on your card in the PlayStation Store to top up your account balance.


empty thumb binary on macOS with 1.31.0 to 1.41.1

All,
I'm walking through the Rust Embedded Discovery book to familiarize myself with how Rust on microcontrollers works.  I'm on a MacBook Pro with macOS 10.15.3 (Catalina) and up-to-date MacPorts for arm-none-eabi-{gcc,gdb,binutils}.  Both OpenOCD and arm-none-eabi-gdb run fine and communicate.  I first detected the error in Chapter 05, when I attempted to load the first binary built.  I got the following result:
(gdb) load
Start address 0x0, load size 0
Transfer rate: 0 bits in <1 sec.

Diagnosis in #rust-embedded on Matrix revealed the following:
$ arm-none-eabi-size target/thumbv7em-none-eabihf/debug/led-roulette
   text    data     bss     dec     hex filename
      0       0       0       0       0 target/thumbv7em-none-eabihf/debug/led-roulette

So, I repeated the book in my Gentoo Linux VM, and received sane results.  IOW, it looks like a bug in Rust on macOS.
I'm using rustup to install Rust, on vanilla macOS, latest MacPorts, and I'm using the source repository for the Discovery book: https://github.com/rust-embedded/discovery
I've tried every major version of Rust from 1.31.0 through 1.41.1 with similar results.  Copying the binary to my Linux system yield the same output
$ arm-none-eabi-size target/thumbv7em-none-eabihf/debug/led-roulette
   text    data     bss     dec     hex filename
   1732       0       0    1732     6c4 target/thumbv7em-none-eabihf/debug/led-roulette
$ arm-none-eabi-size ~/led-roulette                                  text    data     bss     dec     hex filename
      0       0       0       0       0 /home/jason/led-roulette

You can see above that I get a sane build product on Linux, but the binary from macOS (in my home directory) is obviously not right.
I've no idea how to further debug this as I'm relatively new to Rust.  I'm hoping that someone on macOS can reproduce this (you don't need the board, openocd, or gdb to test). and dig in a little further.
STR:
$ git clone https://github.com/rust-embedded/discovery
$ cd discovery
$ rustup update
$ cargo install itm --vers 0.3.1 # may not be necessary for reproducing
$ rustup component add llvm-tools-preview
$ cargo install cargo-binutils --vers 0.1.4
$ cd src/05-led-roulette
$ cargo build --target thumbv7em-none-eabihf
$ arm-none-eabi-size target/thumbv7em-none-eabihf/debug/led-roulette
### OR ###
$ cargo readobj --target thumbv7em-none-eabihf --bin led-roulette -- -file-headers

If you use cargo readobj ..., here's the difference between a good binary (built on Linux) and a bad binary (built on macOS)
--- ../../../good_readobj.txt   2020-03-03 16:35:14.000000000 -0500
+++ ../../../bad_readobj.txt    2020-03-03 16:39:15.000000000 -0500
@@ -1,5 +1,3 @@
-$ cargo readobj --target thumbv7em-none-eabihf --bin led-roulette -- -file-headers
-    Finished dev [unoptimized + debuginfo] target(s) in 0.07s

 ELF Header:
   Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
@@ -11,13 +9,13 @@
   Type:                              EXEC (Executable file)
   Machine:                           ARM
   Version:                           0x1
-  Entry point address:               0x800019D
+  Entry point address:               0x0
   Start of program headers:          52 (bytes into file)
-  Start of section headers:          853336 (bytes into file)
+  Start of section headers:          1288 (bytes into file)
   Flags:                             0x5000400
   Size of this header:               52 (bytes)
   Size of program headers:           32 (bytes)
-  Number of program headers:         2
+  Number of program headers:         3
   Size of section headers:           40 (bytes)
-  Number of section headers:         22
-  Section header string table index: 20
+  Number of section headers:         15
+  Section header string table index: 13

Update:  I had a stale environment variable in my shell.  Specifically, RUSTFLAGS=-L/usr/lib/libiconv.  After I unset that, everything worked as expected:
$ arm-none-eabi-gdb -q target/thumbv7em-none-eabihf/debug/led-roulette
Reading symbols from target/thumbv7em-none-eabihf/debug/led-roulette...done.
(gdb) target remote :3333
Remote debugging using :3333
0x08003cc8 in ?? ()
(gdb) load
Loading section .vector_table, size 0x188 lma 0x8000000
Loading section .text, size 0x674 lma 0x8000188
Loading section .rodata, size 0x2c4 lma 0x8000800
Start address 0x800019c, load size 2752
Transfer rate: 8 KB/sec, 917 bytes/write.

Woo-hoo!  Thanks to @jonas-schievink for the hint!
Now, to prevent future foot guns, could I get a "WARN: $RUSTFLAGS overrides .cargo/config" ?

I tried to make cortex-m-rt detect this, by having #[entry] reference an extern { static linker_script_missing: u8; }, and have it defined in link.x, but when -Tlink.x is missing the linker will use the default linker script, which simply discards everything before it could notice the missing symbol. If anyone has an alternative idea of implementing this, please let me know, since I'm out of ideas now.
The best way to fix this would be via proper #[link_args] support: https://github.com/rust-lang/rust/issues/29596.

Well, imho, this needs to happen in the toolchain:  if RUSTFLAGS is set and .cargo/config exists, throw an error.  There's no valid use case for both, right?

That seems to be tracked in https://github.com/rust-lang/cargo/issues/5376, but that looks stalled.

I tried doing some linker trickery to detect this mistake, but couldn't find any way to do it so far.
One remaining idea: Put a function that refers to an undefined symbol into a section used only by the default linker script. When linking with the correct linker script, the function will be disposed and the program doesn't fail to link. (This is basically the opposite of what I tried and failed to do earlier).

Ah, I don't think there is a default linker script since Rust links with LLD directly instead of calling a driver like GCC. Oh well.

Closing as wontfix/upstream issue, as per the discussion above.


cdml-prometheus-pumper to 0.0.9

Promote cdml-prometheus-pumper to version 0.0.9

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


line 40 of profile

the error i am getting
Made by Frederikme
Started session: 2020-12-14 12:59:35
Adding Location Guard extension ...
Getting ChromeDriver ...
[WDM] - Current google-chrome version is 87.0.4280
[WDM] - Get LATEST driver version for 87.0.4280
[WDM] - Driver [C:\Users\Devansh.wdm\drivers\chromedriver\win32\87.0.4280.88\chromedriver.exe] found in cache
DevTools listening on ws://<IP_ADDRESS>:61758/devtools/browser/12a97315-5789-4aa9-8449-f9af5ea9784d
[37612:17988:1214/125948.192:ERROR:device_event_log_impl.cc(211)] [12:59:48.192] USB: usb_device_handle_win.cc:1020 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
[37612:17988:1214/125948.193:ERROR:device_event_log_impl.cc(211)] [12:59:48.193] USB: usb_device_handle_win.cc:1020 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
Setting custom Location failed.
Location Guard extension failed to access the internet to browse for custom location
Will try again...
Setting custom Location failed.
Location Guard extension failed to access the internet to browse for custom location
Will try again...
Setting custom Location failed.
Location Guard extension failed to access the internet to browse for custom location
Will try again...
Setting custom Location failed.
Location Guard extension failed to access the internet to browse for custom location
Will try again...
User is not logged in yet.
COOKIES ACCEPTED.
COOKIES ACCEPTED.
ACCEPTED LOCATION.
DENIED NOTIFICATIONS.
Traceback (most recent call last):
File "c:\Users\Devansh\Desktop\projects\TinderBotz-1.2\tinderbotz\helpers\profile_helper.py", line 40, in setDistanceRange
EC.presence_of_element_located((By.XPATH, xpath)))
File "C:\Pyhton\Python37\lib\site-packages\selenium\webdriver\support\wait.py", line 80, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:/Users/Devansh/Desktop/projects/TinderBotz-1.2/quickstart.py", line 30, in
session.setDistanceRange(km=138)
File "c:\Users\Devansh\Desktop\projects\TinderBotz-1.2\tinderbotz\session.py", line 128, in setDistanceRange
helper.setDistanceRange(km)
File "c:\Users\Devansh\Desktop\projects\TinderBotz-1.2\tinderbotz\helpers\profile_helper.py", line 46, in setDistanceRange
link = self.browser.find_element_by_xpath(xpath)
File "C:\Pyhton\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 394, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "C:\Pyhton\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 978, in find_element
'value': value})['value']
File "C:\Pyhton\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Pyhton\Python37\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@aria-label="Maximum distance in miles"]"}
(Session info: chrome=87.0.4280.88)
(Driver info: chromedriver=87.0.4280.88 (89e2380a3e36c3464b5dd1302349b1382549290d-refs/branch-heads/4280@{#1761}),platform=Windows NT 10.0.19042 x86_64)
/==============\

Tinderbotz

duration: 83

like: 0

dislike: 0

superlike: 0

==============/

Expected behavior
Automation stops with this error or location range.
Desktop (please complete the following information):

OS: [win 10]

Hi @Devansh2005,
Thanks for opening such a well structured issue!
Regarding the issue, the aria-label varies between 'kilometres', 'kilometers' or 'miles' depending on the English used and location you're from. The issue should now be fixed.
If not, feel free to open a new issue. 👍
Thanks for helping to make the project bug free.


Self referencing loop detected Error Formatters.Json

Giving the following models listed below, a JsonSerializationException is thrown that causes no content in the body of the response but a 200 response is send back.
public class Order
{
	public Order()
	{
	}

	public int Id { get; set; }

	public int BillToCustomerId { get; set; }

	public Customer BillToCustomer { get; set; }

}

public class Customer
{
	public Customer()
	{
		this.Orders = new List<Order>();
	}
	public int Id { get; set; }
	public IList<Order> Orders { get; set; }
}

Issue occur in file JsonOutputFormatter.cs WriteObject method line 57
public void WriteObject([NotNull] TextWriter writer, object value)
{
	using (var jsonWriter = CreateJsonWriter(writer))
	{
		var jsonSerializer = CreateJsonSerializer();
		jsonSerializer.Serialize(jsonWriter, value);
	}
}

@davidfowl, thanks for your help, I was able to modify json settings using the following code.
services.Configure<MvcJsonOptions>(option =>
{
	option.SerializerSettings.ReferenceLoopHandling = ReferenceLoopHandling.Ignore;
});

Great! For beta7 be sure to follow announcements  https://github.com/aspnet/Announcements/issues/62


Drop gt.target in favour of the standard systemd usb-gadget.target

Also reword surrounding language so it still fits on the lines,
and fix hard-coding of the path to the gt binary.
The usb-gadget.target is provided by systemd since 242.
This was suggested by @samcday in #33.
Fixes: https://github.com/linux-usb-gadgets/gt/issues/33

I have merged this pull request.


Question regarding highlighter foreground mode

Hi,
I read this in the docs:
highlight_mode ~
"fg" | "bg" | "foreground" | "background"
Default: "bg"
Option to highlight text foreground or background. It is used to
output_line and highlighter.
So i assumed it means i can change the highlight mode of the buffer to highlight the text not the background of it.
I could not get it to work. May be i misunderstood the docs.
I tried to pass to setup { highlight_mode='fg' } but still the background of text gets colored.
I also tried { highlighter = { highlight_mode = 'fg'}} with no luck.
Am i missing something or it is not supported?
Thanks for this excellent color picker by the way.
best regards.

fg

bg

I guess setup function is not called before reading plugin/ccc.lua, but the plugin manager issue is not my issue to solve.

If you can provide a procedure to reproduce this without the plugin manager, I'll fix it.

Thank  you for your help. I've been trying other configurations including other plugin managers. I believe you are right. There is an issue when using Lazy. I have not figured out what it is yet.
Sorry for the bother.
Have a nice weekend.
best regards.


add ESLint

Coverage remained the same at 64.762% when pulling<PHONE_NUMBER>405373e466d5458c1a626d32807ecd on addESLint into 161aa84470b5f91ee769e86567784636c55bd501 on master.


wrong permissions on /var/lib/gems/3.0.0/gems/asciidoctor-multipage-0.0.16/bin/asciidoctor-multipage ?

after:
apt install ruby-rubygems
gem install asciidoctor-multipage
run as user:
ubuntu@u2:~$ asciidoctor-multipage
/usr/local/bin/asciidoctor-multipage:25:in load': cannot load such file -- /var/lib/gems/3.0.0/gems/asciidoctor-multipage-0.0.16/bin/asciidoctor-multipage (LoadError) 	from /usr/local/bin/asciidoctor-multipage:25:in '
errors.
/var/lib/gems/3.0.0/gems/asciidoctor-multipage-0.0.16/bin/asciidoctor-multipage is installed with: -rwxr-x--x permissions.
chmod +r  /var/lib/gems/3.0.0/gems/asciidoctor-multipage-0.0.16/bin/asciidoctor-multipage
fixes the problem.

Thanks; this should be fixed with commit f2e205af87633c569b3cfc19f6ab14218d391821.


synchronize schema spec

What
APM agent json schema automatic sync
Why
Changeset

https://github.com/elastic/apm-server/commit/e004300a9 dropped_spans_stats: Remove type, subtype fields (https://github.com/elastic/apm-server/pull/6268)

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2021-10-04T03:11:48.052+0000

Duration: 81 min 14 sec

Commit: c42236390d7cfbd845a35610f40cf9d158d75e3e

Test stats :test_tube:

Test
Results

Failed
0

Passed
2417

Skipped
19

Total
2436

:green_heart: Flaky test report
Tests succeeded.
:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run benchmark tests : Run the benchmark test.

run compatibility tests : Run the JDK Compatibility test.

run integration tests : Run the APM-ITs.


Quarkus 3.8.3 upgrade

test failures are likely caused by quarkusio/quarkus#39833 --- we may need to wait for a 3.8.4 release

I can confirm that the integration tests pass with the fix for that issue

Quarkus 3.8.4 is planned for release on Wednesday 17th April including the fix needed

@willr3 do you mind reviewing this PR? you mentioned breaking changes in upgrading graalvm versions in https://github.com/Hyperfoil/Horreum/pull/1317#issuecomment-2064149403


Add ability to specify a custom list view on a property through back end editing

Custom form can be specified, but not list view.

Moved to VIVO project JIRA.


Enable Parquet Writer test in AllTableWriterTest

The PR that introduced https://github.com/facebookincubator/velox/pull/5055 missed some changes
after being imported. This resulted in the Parquet writer test AllTableWriterTest.directReadWrite being disabled.
A subsequent PR #5299 improved the AllTableWriterTest.directReadWrite test by adding bucketed and
partitioned modes.
Parquet writer in these modes now fails with
NotImplemented: Writing DictionaryArray with null encoded in dictionary type not yet supported
Only unpartitioned test mode works for the Parquet writer. The test has been modified for the same.

@xiaoxmeng can you take a look now? Thanks.


Allow for logging to be configurable

Currently, logging is configured (and re-configured) in a bunch of different places (see calls to logging.basicConfig). This makes it difficult to control the behavior of DoWhy's logger, through normal configuration methods. I'm opening a PR to remove these calls and attach a NullHandler to the root DoWhy logger. Happy to provide more information if it's useful.

thanks, accepted the PR.

@amit-sharma would it be useful if i opened another PR with a quick description about how to configure logging as a result of this change?


Update and organize Configurations.md

Fixed lexicographic ordering errors, removed deprecated options, removed one self-referential "See also", fixed formatting on sub-header.

Let me fix the issue with group_imports

PR looks good to me.
The only thing I can recommend adding would be a test to ensure the configuration options stay in alphabetical order moving forward. We might consider adding the following test to src/test/configuration_snippet.rs
#[test]
fn check_config_options_in_alphabetical_order() {
    // Ensure the configs are listed in alphabetical order
    let lines = read_config_file_lines(CONFIGURATIONS_FILE_NAME);
    let configs: Vec<String> = lines
        .filter_map(|s| s.strip_prefix("## ").map(|s| s.to_owned()))
        .collect();

    let mut sorted_configs = configs.clone();
    sorted_configs.sort();

    assert!(
        configs == sorted_configs,
        "configs listed in {} are not in alphabetical order",
        CONFIGURATIONS_FILE_NAME
    );
}

Note: read_config_file_lines doesn't actually exist in the test suite, but would extract the logic for reading the configuration file, which is duplicated in both check_unstable_option_tracking_issue_numbers and get_code_blocks. I imagine something like this:
fn read_config_file_lines(name: &str) -> impl Iterator<Item = String> {
    BufReader::new(
        fs::File::open(Path::new(name)).unwrap_or_else(|_| panic!("couldn't read file {}", name)),
    )
    .lines()
    .map(Result::unwrap)
}

and then we could replace the duplicate code in the functions listed above with read_config_file_lines.

@TheTechn0mancer when you have a moment could you rebase and resolve the merge conflict.

From the command line
# add the rustfmt repo as a remote for your local repo
git remote add upstream https://github.com/rust-lang/rustfmt.git

# switch to your local patch-1 branch and rebase on the upstream master
git switch patch-1
git pull --rebase upstream master

# fix the merge conflict
# You can follow steps 4-6 listed here:
# https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/resolving-a-merge-conflict-using-the-command-line

# after fixing the merge conflicts add the changes you want to make
git add Configurations.md
git rebase --continue

# force push your changes back to your fork
git push origin patch-1 -f

I don't have a local repo, I just did the edits on GitHub's website interface.


Can't convert keras model with input dtype=tf.string

Regarding the issue that was asked on onnx/onnxmltools#252
Is this added or planned for keras2onnx?
I have tested with version 1.7.1 of onnx2keras and still get the issue in the topic.

Seems that tf.string input type is not supported until onnx opset 13 which has not been released yet. So onnxruntime does not support it right now so it cannot run. We will add this feature after it is getting supported.


Update go versions to *.4. Update staticcheck URL

The staticcheck tool has a new home. Details here.
I also bumped up the go versions to 1.6.4 and 1.7.4.

@y0ssar1an Thanks! I have noticed on other projects that it may have been updated because it is finding new issues:
/home/travis/gopath/src/github.com/nats-io/go-nats/test/conn_test.go:288:2: this value of nc is never used (SA4006)
/home/travis/gopath/src/github.com/nats-io/go-nats/test/sub_test.go:373:7: this value of err is never used (SA4006)

Could you fix those as part of this PR? Also, may I ask you to move the invocation of staticcheck after the one of go vet (and before the go test)?
If you prefer me doing all that, that's fine, just let me know.

Sure. Those are easy fixes. I'll get to it tonight.

@y0ssar1an Since I had other things to change, I decided to submit a PR to cover this and the other that you have submitted. Hope its ok. The new PR is https://github.com/nats-io/go-nats/pull/257.
Thanks again!


Could not initialize connection

Thanks for having release this useful package!
I am trying to use it locally on my Ubuntu 22 - RTX 3070 laptop, so after configuring, packaging and running a project under UE 5.0.3 with :
./MyProject2.sh -PixelStreamingURL=ws://localhost:8888  -RenderOffScreen -> log
And launched the Signalling and Web Server container with :
docker run -p 80:80 -p 8888:8888  ghcr.io/epicgames/pixel-streaming-signalling-server:5.0.3 -> log
I got this error message :

LogPixelStreamingSS: Connecting to SS ws://localhost:8888
LogPixelStreamingSS: Error: Failed to connect to SS: Could not initialize connection.

Does it sound familiar to you?
Thanks a lot in advance!

Hi @victorjourne,
Try adding --network host into your docker run command.
Let us know how it goes!
Thanks,
Will

Thanks for your answer!
Indeed, --network host option enables to bind directly the container to the Docker host’s network. (ref).
Unfortunately, I didn't change anything in may case.
Nevertheless, it made me realise that I had a proxy through the host's network !
unset http_proxy && ./MyProject2.sh -PixelStreamingURL=ws://localhost:8888  -RenderOffScreen made pixel streaming work!
Many thanks!


Revamp the options API

Motivation:
Currently, the option's default values and the code that validates and
merges an option value is placed in the container classes (*Options)
rather than the key classes (*Option). This harms the readability and
maintainability of options, because:

An option and its defalut value are maintained in different places. A
dev can forget to add a default value when adding a new option.
If a new option is added for a certain client type only such as gRPC,
there's no way for a dev to implement a merge function specific to
that option. A dev must update the container's merge function in the
core, breaking modularity.

Modifications:

AbstractOption now has default value, validator and merge function.

As a result, type parameters of AbstractOption, AbstractOptions,
AbstractOptionValue have been changed.

AbstractOption does not use Netty's Constant API, because it
cannot handle the case of having more than ID and name.
(Breaking) AbstractOption does not have id() anymore.
(Breaking) AbstractOptions does not have getOrElse() and
getOrNull() anymore. get() will return the default value for an
unspecified option.
gRPC related changes:

The behavior of MAX_INBOUND_MESSAGE_SIZE_BYTES has been changed
slightly, hopefully easier to understand.
Added GRPC_ prefix to the option names so that they do not clash
with other options which may be added in the future.

Miscellaneous:

GrpcStatus.fromThrowable() now understands ContentTooLargeException.

Result:

Easier to maintain options.
Easier to get the default option values.

While working on this, I thought it might be better renaming AbstractOption* to Option*. Thoughts?

While working on this, I thought it might be better renaming AbstractOption* to Option*. Thoughts?

I lean towards AbstractOption*. Because if a class starting with Option* I might think it could be nullable like Java Optional or Scala Option.
But I'm not strong here. 😀

Thanks for quick reviews, everyone. :bowing_man:


Use in Preference Screen

Hi, thanks for this library. how can i this in PreferenceScreen?

I think that the easiest way would be creating a preference and setting an onClickListener on it,
Then show the dialog and get the result via the ColorListener. Finally, save the result in a shared preference. Waiting to see your app!

can you send me code? please

in your xml file:
<preference
<!-- your customisations here-->
/>

and in your java class:
Preference pref = findPreference("[YOUR KEY HERE]");
pref.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
ColorChooserDialog dialog = new ColorChooserDialog(context);
colorChooserDialog.setColorListener(new ColorListener() {
@Override
public void OnColorClick(View v, int color) {
//do whatever you want to with the values
getDefaultSharedPreferences(context).edit().putBoolean("color in integer form",color).apply();
}
});
//customize the dialog however you want
colorChooserDialog.show();
}
});


Chatify asks for user response

Describe the bug
Chatify politely asks for the user to clarify what it can help debug, but as far as I can tell it is not possible to interact with the LLM in a back-and-forth chat (the widget has no text entry / chat box, at least).
To Reproduce
Steps to reproduce the behavior:

Go to this tutorial notebook
Scroll down Section 1: Decoding - Investigating model and evaluating performance. Expand the third cell in this section, which should start with # @markdown Execute this cell to train the network and then defines the DeepNetReLU class.
Add some syntactical bug to the cell - e.g. delete a colon in the first line of the training loop. Or don't add any bugs - the behavior is still not expected.
Add the %%explain magic to the top of the cell and run it - then from the dropdown in the Robo-tutor tab, select "get help with debugging" and hit "Submit request"

Expected behavior
I expected the Robo-tutor to give me a concrete response, either pointing out a problematic line of code or claiming that the code is error-free.
Screenshots

Desktop (please complete the following information):

OS: macOS Ventura 13.4.1
Browser: Safari
Version: 16.5.2

Yep, it's still producing the same error for me (after starting from scratch multiple times):

I often get some variation of "What's the issue?" or "What seems to be the problem?".
By repeatedly clicking "submit request" I can get it to actually produce a response catching the bug sometimes:

My sample size is small, but the error came up probably 4/5 times.

So the response discrepancy seems to stem from the GPT side, which we cannot directly control. Nonetheless, we will keep this in mind while updating the prompts in future release. I will close this for now.


[Question] Does setting n=2 double prompt token usage?

If I use the n parameter on Completion.create, the documentation states

Note: Because this parameter generates many completions, it can quickly consume your token quota. Use carefully and ensure that you have reasonable settings for max_tokens and stop.

I recognize the model will increase the output token cost, but does it increase the input token cost as well?

After some testing locally, I have found prompt tokens do not scale with n. It would be nice to have this officially confirmed though.


Translate README to zh-CN (Chinese Simplify)

Translate README to zh-CN (Chinese Simplify)

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


Bid Button Passed Lot State

If the lot has been passed show this

If the lot sold show this

If causality doesn't make this distinction at all then we should just show this all the time

Currently we show this which is very confusing

because the button does not look disabled

Probably an Ash ticket

verified


use bankai@next

Just published bankai v9.0.0-1 (oops), and given it's the first version that supports service workers and server rendering I reckon we use it (:
Think this a minor release, given the API of create-choo-app doesn't change, and it's meant to be run as a one-off anyway (:

v1.6.0 📦


test: 7.1.0 testing protocols

Overview

Add new protocols related to fixes, features, and improvements in 7.1.0
Update protocol print script
Add fixes, features, and cleaner output to Protocol Analysis testing

[!IMPORTANT]
The ABR testing protocols are currently failing, and will not be fixed in this PR
@y3rsh is fixing them

Test Plan

[x] Verify all tests, new and old, pass, except for the ABR tests
[x] Mark expected failures accordingly

Changelog
Protocols Added

OT-2

OT2_P300M_P20S_2_16_aspirateDispenseMix0Volume.py
OT2_P300M_P20S_TC_HS_TM_2_16_SmokeTestV3.py

Flex

OT3_None_None_2_16_AnalysisError_AccessToFixedTrashProp.py
OT3_None_None_2_16_AnalysisError_TrashBinInCol2.py
OT3_None_None_2_16_AnalysisError_TrashBinInStagingAreaCol3.py
OT3_None_None_2_16_AnalysisError_TrashBinInStagingAreaCol4.py
OT3_None_None_MM_2_16_AnalysisError_MagneticModuleInFlexProtocol.py
OT3_None_None_TM_2_16_AnalysisError_ModuleInCol2.py
OT3_None_None_TM_2_16_AnalysisError_ModuleInStagingAreaCol3.py
OT3_None_None_TM_2_16_AnalysisError_ModuleInStagingAreaCol4.py
OT3_P1000_96_2_16_AnalysisError_DropTipsWithNoTrash.py
OT3_P1000_96_GRIPPER_2_16_AnalysisError_DropLabwareIntoTrashBin.py
OT3_P1000_96_GRIPPER_HS_TM_TC_MB_2_16_DeckConfiguration1.py
OT3_P1000_96_GRIPPER_HS_TM_TC_MB_2_16_DeckConfiguration1NoModules.py
OT3_P1000_96_GRIPPER_HS_TM_TC_MB_2_16_DeckConfiguration1NoFixtures.py
OT3_P1000_96_GRIPPER_HS_TM_TC_MB_2_16_DeckConfiguration1NoModulesNoFixtures.py
OT3_P1000_96_GRIPPER_HS_TM_TC_MB_2_16_Smoke.py
OT3_P1000_96_TM_2_16_AnalysisError_ModuleAndWasteChuteConflict.py
OT3_P300Gen2_None_2_16_AnalysisError_OT2PipetteInFlexProtocol.py

Print Protocols Script
Added printing of protocols mapped in protocols.py, but have no corresponding file in the protocols directory. This was useful when I changed the name of some of the protocols. It helped me make sure I didn't have test definitions that were not connected to a protocol.
Protocol Analysis Testing Updates

Add support to mark tests as expected failures (see the OT3_None_None_2_16_AnalysisError_TrashBinInStagingAreaCol3 and OT3_None_None_TM_2_16_AnalysisError_ModuleInStagingAreaCol3 cases)
Parameterize each test with the protocol name. This makes it easier to read the pytest output
Modify the control flow of the test to ensure that error popout is closed regardless of the test result

Review requests

Did I mess with the protocol naming scheme too much?
Are the analysis error protocols self-explanatory enough that I don't need to write docs on them?

Risk assessment
Extremely low, not run in CI, nothing depends on this

Retargeted, thank you for catching that


Add emoji support 😊😊😊

emoji can be supported with https://github.com/StaffEngineer/velo/pull/124 by adding font that supports emoji. Also bevy_markdown should be moved to bevy_cosmic_edit to fully support emoji for velo.


Prevent double '//' in case of root folder and increase streaming limit

Prevents issue described in #52

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

Project coverage is 84.25%. Comparing base (ad5fc8d) to head (69dcebd).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #54      +/-   ##
==========================================
+ Coverage   84.07%   84.25%   +0.18%
==========================================
  Files           1        1
  Lines         339      343       +4
==========================================
+ Hits          285      289       +4
  Misses         54       54

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

Might not have been needed?


Begin tagging updates with semver tags

I suggest tagging the current codebase as v1.0.0 and new updates increment the tag following semantic versioning so that people can update the package without fear of breaking changes (such as those made by commit 1e8b5b6e ).

Thank you for the suggestion. I had been planning to do that but I've been kind of a mess with my codebase lately. Now that I know others are following I'll be sure to try to keep everything versioned and not commit so many breaking changes.
I'll add this soon.

Breaking changes are fine, as long as you tag them correctly! 😄


Fix flake8 failure from importing theano.tensor as TT.

Codecov Report

Merging #17 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #17   +/-   ##
=======================================
  Coverage   71.59%   71.59%
=======================================
  Files          17       17
  Lines         352      352
=======================================
  Hits          252      252
  Misses        100      100

Impacted Files
Coverage Δ

src/akro/theano/_util.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Why remove the coverage?

pytest-cov doesn't seem to be working on python 3.5, and I would like the CI to work. Are we doing something different for garage? Alternatively, is there an easy way to fix the coverage or only check it for python 3.6?

garage is organized as an application with a single canonical Python version (specified in environment.yml), so we don't have a Python version testing matrix for it.
akro is library, so we test it on a matrix of Python version >= 3.5. Right now that's 3.5 and 3.6, since 3.7 is a bit bleeding edge for some libraries. It's also significantly easier to set this up for akro than garage.
You're right that we only need really coverage data for a single run in the testing matrix.
In this case, Travis induces a testing matrix from the stanza:
python:
  - "3.5"
  - "3.6"

You can access which element of the matrix you're in using environment variables. So I think in this case the best quick fix is to see if we're in Python 3.5 and run non-coverage testing.
script:
  # ...
  - |
    if [[ "${TRAVIS_PYTHON_VERSION}" == "3.5" ]]; then
      pytest
    else
      pytest --cov=akro
    fi

# ...

after_script:
  - |
    if [[ "${TRAVIS_PYTHON_VERSION}" != "3.5" ]]; then
      coverage xml
      bash <(curl -s https://codecov.io/bash)
      coveralls
    fi
  #...

ah i think this fix might not work because pytest is trying to load all installed plugins before execution, rather than just choosing what you use. i will do some spelunking.

FTFY

I suggest you rebase-merge


For invalid x,y values we should return a non-200 response code. (400)

The X,Y values should be in the range of:
Each zoom is 2^z tiles wide, so 0 <= x < 2^z and 0 <= y < 2^z
If the x,y value is outside this range, return a 400 error code.

z should also be constrained in a range - at the very least, positive.

We already have a check for -z values (https://github.com/terranodo/tegola/blob/v0.6.0/server/handle_map_zxy.go#L47 and https://github.com/terranodo/tegola/blob/v0.6.0/server/handle_map_layer_zxy.go#L49). This should enhance these checks.

@gdey I can take this issue


Implement CFLAGS/LDFLAGS for Verilator

This PR is based on #1562, since it uses [tool, task, dir] for passing include directories.

Will rebase this + schema updates once #1565 is merged to clean up CI...


Null Safety

Hi, i made the project Null Safety, maybe we lost some previous work, but i hope wasn't much.

I'll need some time reviewing and merging. Thanks for the pr.


Clean up: file repository

MINOR changes:

improved instructions
establish alphabetical order
renamed repositoryType to type to reduce list of property names and because we decided to use type when the specific context is explicit
renamed contentTypePattern to pattern to adhere to new convention s stated above (generally: when the more generic property name makes sense in the context of the schema, this should be used)

MAJOR changes:
none
SPECIAL ATTENTION:
none

@apdavison or @Peyman-N feel free to merge if you are also happy with the changes

@Peyman-N or @apdavison or @aeidi89 please check again and feel free to merge if you agree with the changes I've made


refactor: change EventEmitter.emit to return the result of dispatchEvent

This change allows us to check if an event was prevented. Additionally this PR enables SSR usage.

Codecov Report
Attention: 59 lines in your changes are missing coverage. Please review.

Comparison is base (638977d) 92.61% compared to head (4e01cfa) 96.00%.
Report is 61 commits behind head on master.

Files
Patch %
Lines

...nents/core/common-behaviors/slot-child-observer.ts
93.33%
5 Missing :warning:

src/components/core/dom/breakpoint.ts
42.85%
4 Missing :warning:

src/components/card/card-action/card-action.ts
70.00%
3 Missing :warning:

src/components/core/dom/dataset.ts
25.00%
3 Missing :warning:

src/components/core/dom/host-context.ts
40.00%
3 Missing :warning:

src/components/header/header/header.ts
50.00%
3 Missing :warning:

src/components/tooltip/tooltip/tooltip.ts
25.00%
3 Missing :warning:

src/components/calendar/calendar.ts
75.00%
2 Missing :warning:

src/components/core/dom/find-referenced-element.ts
60.00%
2 Missing :warning:

src/components/menu/menu/menu.ts
75.00%
2 Missing :warning:

... and 25 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2218      +/-   ##
==========================================
+ Coverage   92.61%   96.00%   +3.39%
==========================================
  Files          53      329     +276
  Lines        2409    39088   +36679
  Branches      254     2178    +1924
==========================================
+ Hits         2231    37528   +35297
- Misses        176     1514    +1338
- Partials        2       46      +44

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


coding -- print the invoking method name and its annotations

Need to use reflection to get the invoking method name, parameters and its annotations.
for example,
@Test
public abc(String s) {
cde();
}
cde() should print 'abc is the parent function method, s is the parent function parameter, test is the parent function annotation.'

Yang jun, please let me know if you wanna take this issue or not.
Thanks,

I wanna take this issue


Increase major on breaking changes

as you added a method to an interface, will you increase major version, because this is a breaking change if someone used the interface directly!

see http://semver.org

@jogibear9988 Yes, I'll do this

9ab121291ee40fe98d5670e887bdfbd484dfb7a4


Which tag should I use to build Istio package, 1.1.1 or 1.1.2?

Hi,
From the reply (https://github.com/istio/istio/issues/13016#issuecomment-479513981), @howardjohn said the release 1.1.2 is not a real release.
And, the commit IDs of tag 1.1.2 and 1.1.1 are same. Hence, I am confusing. If I want to build istio package from source code, which tag should I checkout to, the 1.1.2 or 1.1.1?
By the way, how do I know whether the built package is 1.1.2, not 1.1.1
Thanks!

1.1.2 was a bit of a weird release as we just changed the proxy image I believe, so the commit Id was the same.  So you could checkout 1.1.1 or 1.1.2 since they are the same.
I assume this is not relevant anymore since we are well past 1.1.2, sorry we didn't get to this earlier. If it is still relevant please reopen


curl: (16) Send failure: Connection was aborted

Hi, thanks for the hard work.
I'm experiencing very often connection errors when running this action on GH Actions - Windows.

Run dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
Run $GITHUB_ACTION_PATH/setup.sh stable Windows x64
Installing Dart SDK version "latest" from the stable channel (release) on windows-x64
Downloading https://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-windows-x64-release.zip...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:09 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:11 --:--:--     0
curl: (16) Send failure: Connection was aborted
End-of-central-directory signature not found.  Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive.  In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /c/Users/runneradmin/dartsdk.zip or
/c/Users/runneradmin/dartsdk.zip.zip, and cannot find /c/Users/runneradmin/dartsdk.zip.ZIP, period.
Error: Download failed! Please check passed arguments.
Error: Process completed with exit code 1.

It's just flakiness but it's happening quite often, is there something we can improve about that?
Thanks.

Hi - thanks for the report!
I'd like to keep this issue open for a bit to see if we get reports from other users as well.
Do you have a very rough sense for how flaky or any other factors involved?
Wrt mitigating this on the action side, we do want to add more caching in this action (https://github.com/dart-lang/setup-dart/issues/2). This would mean that each job would have a lower likelihood of needing to download the SDK; it wouldn't address whatever the underlying  source of flakiness is, but it would impact each job proportionally less.

@devoncarew thanks for your reply.
I've seen flakiness only on Windows, 1 out of ~7...8 runs?! it's quite often, usually rerunning helps.
No idea, maybe GH Action servers and storage.googleapis.com just don't get along so well, DNS resolving, not sure, I also experience a bit of flakiness with Maven Central servers as well, so it's not only this Action.
https://curl.se/libcurl/c/libcurl-errors.html

CURLE_HTTP2 (16)

A problem was detected in the HTTP2 framing layer. This is somewhat generic and can be one out of several problems, see the error buffer for details.

Maybe we can improve logging here?
Caching would definitely help.


overarrows: options esvecta to esvecte don't work

Using overarrows with any of the options:

esvecvta
esvecvtb
esvecvtc
esvecvtd
esvecvte

gives the arrows set by 'esvecvtf (the defaut one).

Before I find the time to fix it, you can use, as a workaround
\PassOptionsToPackage{a}{esvect}

before \usepackage{overarrows} (replace a with the desired setting).


Should changing the retirement limit change the workflow version?

I'm working on some stuff for Grant to help with managing projects, and one of the checks he wanted to be able to make is to test if the retirement limit has been changed.
I originally thought I could reduce the version changesets for a workflow to find out whether this had happened, but it looks like changing the retirement limit doesn't create a new version.
Should it? No worries if not, I can hardcode the default value and check against that, but just thought I'd ask.

No but we should be able to detect this from the workflow and serialize this information if you need.
E.g. add a field called default_retirement in the serializer.

That would be handy 👍


⚠ Bofrost.at has degraded performance

In 91d52c4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1804 ms

Resolved: Bofrost.at performance has improved in 5d5429b after 13 minutes.


Reject HTTP endpoints when not authenticated

Synopsis
As GreenForce ART
We want endpoints in DataHub to require authentication.
Note: A few technical ones without the possibility to read or modify data are excepted from this rule (like health and actor synchronization).
Tech Notes

Team Batman has created a JWT Token Middleware NuGet package to be used in all domains. The package is already in use in the metering point domain pull request #650

SimpleInjector is implemented in the metering point domain, hence a helper method for registering the JWT Token Middleware in dependency injection container is provided for SimpleInjector only. We can choose to implement a helper method for the .NET Core built-in dependency injection container, or we can migrate to SimpleInjector and use the provided helper method

All domain tests must be updated to provide a valid JWT token for all requests

TenantId (B2C_TENANT_ID) and Audience (BACKEND_SERVICE_APP_ID) should be pulled from shared resources key vault

Acceptance criteria
AC 1:
Given any HTTP endpoint in the charges domain with access to read or modify actor data
When an unauthenticated request is received
Then the request is rejected and the caller receives an HTTP 401 response

AC 3 has been moved to a new story #1088

Test passed!
Given the ChargeIngenstion HTTP endpoint
When a request with with JWT token is received
Then the request is allowed:

Given any HTTP
When a request with an invalid JWT token is received
Then the request is denied:

Given any HTTP
When a request without JWT token is received
Then the request is denied:


[OpenMP][OMPT] Extend device tracing test using FileCheck DAG feature

Use existing veccopy tracing test and use CHECK-DAG to verify record generation.

Buffer Allocation
Buffer Completion
Record Generation
Buffer De-Allocation

Note that the last buffer may not be de-allocated.

I am a bit confused.
I see multiple buffer complete callbacks for ADDRX_01, as an example.
But I don't see any buffer complete callback for ADDRX_12, as an example. In fact, there is a single occurrence of ADDRX_12 in the CHECK lines.
Is this expected?

"Yes" this is expected -- that is if I understand your concerns correctly.
The situation is:
Half of the emitted trace records (rec=) will trigger an allocation, etc. while the other half won't.
Hence, there is no way to capture the address before their emission for that "other half".
This translates to the testcase like this:
For addresses 01-11 we will observe 1x allocation, 2x buffer complete, 1x trace record and 1x de-allocation.
For addresses 12-22 we will only observe the trace record. (We do not need to capture them, but I decided to do it anyways.)
So, these addresses will not appear in-order, from my observation they're interleaved like this 1, 12, 2, 13, ...
Thanks for the feedback!
I will add two notes to clarify what's going on.

I am a bit confused.
I see multiple buffer complete callbacks for ADDRX_01, as an example.
But I don't see any buffer complete callback for ADDRX_12, as an example. In fact, there is a single occurrence of ADDRX_12 in the CHECK lines.
Is this expected?

"Yes" this is expected -- that is if I understand your concerns correctly.
The situation is: Half of the emitted trace records (rec=) will trigger an allocation, etc. while the other half won't. Hence, there is no way to capture the address before their emission for that "other half".
This translates to the testcase like this: For addresses 01-11 we will observe 1x allocation, 2x buffer complete, 1x trace record and 1x de-allocation. For addresses 12-22 we will only observe the trace record. (We do not need to capture them, but I decided to do it anyways.) So, these addresses will not appear in-order, from my observation they're interleaved like this 1, 12, 2, 13, ...
Thanks for the feedback! I will add two notes to clarify what's going on.

That makes sense. Thanks for the clarification.


Dialog container should have width 100%

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡
I think the dialog container should have a width of 100% (currently, no width is specified).
Motivation 🔦
If no width is specified, the modal takes the width of its content. Hence, the width is not controllable.
I can do a PR for this.

See the fullWidth prop.

Thank you for the answer! In fact, it is not fullScreen that works here, it is rather fullWidth. I have discovered it thanks to your answer.


singularity: 4.1.3 -> 4.1.4

Description of changes
Changelog: https://github.com/sylabs/singularity/releases/tag/v4.1.4
cc @jbedo @ShamrockLee

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

singularity.tests builds fine on both aarch64-linux and x86_64-linux.


Feat/all cef libs

updated include versin 91.1.22 => 91.1.23 (that league acutally uses)

added all libs from cef project
(using lfs, so not on github due to bandwidth limits)
q: for what reason ?
a: libcef_dll_wrapper.lib required by some c++ class based cef apis

probably whould be better to create PenguLoader workspace and reupload repo to it, but it must be done by project member

Chromium project and CEF are compatible on the same minor version, these patches 91.1.22 and 91.1.23 are no different in API calls (and data types). This project does not use any C++ CEF wrapper API, licef_wrapper is redundant.


encoding/protojson: EmitUnpopulated doesn't emits unpopulated proto3 optional scalar fields

What version of protobuf and what language are you using?

protoc-gen-go v1.27.1
protoc v3.21.12
Go v1.20.1

What did you do?
marshal proto to json
protobuf:
syntax = "proto3";

package com.example.foo;

option go_package = "example.com/main";

message Foo {
  optional string foo = 1;
  string bar = 2;
}

generate go file:
protoc foo.proto --go_out . --go_opt paths=source_relative

marshal:
package main

import (
	"fmt"

	"google.golang.org/protobuf/encoding/protojson"
)

func main() {
	obj := &Foo{Foo: nil}
	marshaller := &protojson.MarshalOptions{EmitUnpopulated: true}
	b, _ := marshaller.Marshal(obj)
	fmt.Printf("%s\n", b)
}

What did you expect to see?
The type of optional field foo is *string and it's zero value is nil. If EmitUnpopulated is true then we expect it emits null value.
{"foo":null,"bar":""}

What did you see instead?
{"bar":""}

Hm, it does seem like there is a contradiction here, where proto2 scalar fields are defined to emit null, while ̀ proto3 optional scalar fieldsare not. Either way could make sense, it could be copying the behavior of proto2, but since not appearing is defined as equivalent tonull, in proto3, there isn’t really a reason why it should _have_ to be emitted. But then, message fields are emitted with null` as well, so…
I cannot find any definitive answer as to what the correct behavior is in the standard, and there does not appear to be any open or closed issues pertaining to this issue in the main protobuf issues board. (The only one appearing from this search is a desire to add the ability to emit unpopulated fields into PHP.)
This seems like it is at the very least a bug in documentation. We should spell out explicitly the behavior of proto3 optional scalar fields in the documentation. However, whether this is a bug in behavior, I don’t know that this project could unilaterally declare, but I think we might want to consider it to be.
The ideal path forward is that you could open an issue on the main protobuf board (a link given above), and ask for clarification of what the behavior here should be. After all, if it is unequivocally said that we should be emitting them as null, then that’s a firm definitive answer from the people managing the standard. Meanwhile, if someone wants to pre-emptively start a CR for the new API, I don’t think it it would be immediately shot down.

I believe the problem under the hood is that proto3 optional is implemented under the hood as a oneof with a single type. IIUC, from the perspective of protobuf reflection, this is still a oneof field, not an optional field.
The EmitUnpopulated option is a carry over from v1 and doesn't have a direct correlation with the other language implementations. I believe the closest equivalent is the always_print_primitive_fields in C++ and the includingDefaultValueFields option in Java. We should verify what those two options do with regard to proto3 optional fields.

¿I’m pretty sure, as mentioned, the optional fields are implemented as pointer to type?

The type of optional field foo is *string and it's zero value is nil.

Pasting in the relevant lines of the .pb.go file should be definitive?

Yes, the optional fields are implemented as pointers to types. And yes, this is the point I missed, it is annotated as a oneof field as mentioned.
type Foo struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Foo *string `protobuf:"bytes,1,opt,name=foo,proto3,oneof" json:"foo,omitempty"`
	Bar string  `protobuf:"bytes,2,opt,name=bar,proto3" json:"bar,omitempty"`
}

The EmitUnpopulated is clearly mentioned it doesn't emit unpopulated oneof fields, so it seems expected behavior, but...um... feels a little odd to me.
https://github.com/protocolbuffers/protobuf-go/blob/bc1253ad37431ee26876db47cd8207cdec81993c/encoding/protojson/encode.go#L68-L82

In terms of the generated API, they are indeed *T, but my point is that from the perspective of protobuf reflection, they are a oneof. The protojson package is implemented in terms of protobuf reflection, not what the generated API looks like. Granted, the implementation of protojson can explicitly check the protoreflect.Oneof.IsSynthetic flag to see if this is a proto3 optional field. Whether it should do this or not is IMO dependent on whether the C++ and Java implementations do the same thing.

I confirmed C++ and Java implementations. As it turns out, C++ and Java have the same behavior as current protojson. So protojson's behaviour is it should be.
Thanks for discussing this, now have a better understanding of protobuf ;)
I'll close this.

C++
#include <google/protobuf/util/json_util.h>
#include "foo.pb.h"

int main()
{
  std::string json_string;
  com::example::foo::Foo foo;

  google::protobuf::util::JsonPrintOptions options;
  options.always_print_primitive_fields = true;
  MessageToJsonString(foo, &json_string, options);

  std::cout << json_string << std::endl;
}

Executed this and got the following results.
% c++ -std=c++14 json.cc foo.pb.cc `pkg-config --cflags --libs protobuf` && ./a.out
{"bar":""}

Java
package com.example.foo;

import com.example.foo.FooProtos.Foo;
import com.google.protobuf.util.JsonFormat;

public class App {
    public static void main(String[] args) throws Exception {
        Foo foo = Foo.newBuilder().build();
        String out = JsonFormat.printer().includingDefaultValueFields().print(foo);
        System.out.println(out);
    }
}

Executed this and got the following results.
{
  "bar": ""
}

@toga4, I recommend raising this discrepancy between proto2 and proto3 optional up at https://github.com/protocolbuffers/protobuf.
Just because C++ and Java act this way doesn't necessarily mean it's intended behavior. If the protobuf team decides that the behavior should be altered, then this module will follow suit.

Okay, I'll try it.


menuBarVisibility when commandCenter is enabled

First things first: I really like the new command center bar. Thank you for implementing that!
I also have a suggestion for improvement. I can't seem to toggle menuBarVisibility when commandCenter is enabled. It would be nice if the menubarvisibility setting would be implemented for this window mode as well, as I am not a big fan of hamburger menu's (especially when there is enough space to show the labels).
For instance, when I set:
    "window.commandCenter": true,
    "window.menuBarVisibility": "visible"

Now results in:

But it would be nice if it would become (with some constraint that if space allows for it, perhaps put labels that not fit in the hamburger menu?):

/duplicate of #152906

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


exclude content from explore when flag is off

🐛 Bugfix
Value

Messed the order up a little, content lists are meant to be excluded, not the curatedLists.

Merging as it's a live bug.


[Feature Request] Hide/collapse directories

I would like an option to hide directories in the Summary window, or at least collapse directories into a single line like in vim-ultest.

For context, I have the setting for
discovery = {
  enabled = false,
},

...and my Summary window looks something like this:

You can already collapse directories with the expand mapping. They may auto-expand again if you have the follow setting enabled. You may also want to check out the target mapping which allows you to only see a specific position

Thanks! I tried out target and that gets me pretty close to what I'm after, which is working with tests in deeply nested directories.
Some thoughts for possible future features:

Target marked (allowing multiple targets)
Target/auto-target given or current open file/files

I'll close the issue for now though, thanks again!


No short-cut key for console

Maybe F2? Or even maybe F1 to cycle through the contents of that panel area?

If we do F2 I feel like we should switch the order of the documentation and console tab.

Yeah, I agree, that's why I didn't really like F2. It's very strange to have them backwards.
Lets try having F1 cycle, and see how that feels?

Maybe we could give all tabs a shotcut, from left to right.
DART ctrl-1
HTML ctrl-2
CSS ctrl-3
CONSOLE ctrl-4
DOC ctrl-5 / F1

How about
DART ctrl-1
HTML ctrl-2
CSS ctrl-3
CONSOLE ctrl-9
DOC ctrl-0 / F1
Leaving us a bit of room to grow in the middle?

ah yeah, smart, will do that
2015-04-01 23:45 GMT+02:00 Luke Church<EMAIL_ADDRESS>
How about
DART ctrl-1
HTML ctrl-2
CSS ctrl-3
CONSOLE ctrl-9
DOC ctrl-0 / F1
Leaving us a bit of room to grow in the middle?
—
Reply to this email directly or view it on GitHub
https://github.com/dart-lang/dart-pad/issues/243#issuecomment-88641175.

--
Kasper

I think we're good with our current keyboard shortcuts.


Proposal: Skip installation when attic in PATH

Hello,
I'm currently trying to use this action on a "host"-runner.
Sadly the installation of attic using the script doesn't work, but I can add attic to the PATH using the provided flake.
It would be nice if the action would skip the attic installation if the binary is already present.
What do you think? I would be happy to implement the feature if you are ok with it.

I think that's a very good idea :+1:


Fix test failure by removing addConsumer code from config

Remove addConsumer code snippet from raffle deploy script
When running the spec with hh test it failed with this output:
1) Raffle Unit Tests
    "before each" hook for "intitiallizes the raffle correctly":
  ERROR processing hardhat-smartcontract-lottery-fcc/deploy/01-deploy-raffle.js:
Error: VM Exception while processing transaction: reverted with reason string 'not implemented'

The solution proposed here helped:
https://github.com/smartcontractkit/full-blockchain-solidity-course-js/discussions/2076#discussioncomment-3483438

Thanks!


Hi I am quite a newbie to python and I found a problem

Dear supersu-man,
Thank you for the awesome codes. I copied exactly as you wrote in the youtube video, but I get an error like the following:
if datetime.now().hour == int(i[1].split(':')[0]) and datetime.now().minute == int(i[1].split(':')[1]):
ValueError: invalid literal for int() with base 10: ' '
What would have been the problem? I don't get the problem when I put while False instead of while True. But it doesnt even run anything, it is just blank.
Also I would really appreciate if you knew how to add dates to the codes!
Thank you.

In data.py file, while giving the start time and end time of the meeting , do not give anything other than numbers and colon, not even spaces .
For example:
"13:00"
Not like these:
"13", "13: ", 13, "13 : 00".

In data.py file, while giving the start time and end time of the meeting , do not give anything other than numbers and colon, not even spaces .
For example:
"13:00"
Not like these:
"13", "13: ", 13, "13 : 00".

Thanks for the reply! I put the time in the above format but I still have errors...

Thanks for the reply! I put the time in the above format but I still have errors...

Can you send me the full code (both the files)

Can you send me the full code (both the files)

python.zip
thank  you!

python.zip
thank  you!

python.zip
thank you!

There's space in front of the meeting link in data.py.

python.zip
thank you!

There's space in front of the meeting link in data.py.

Hi thanks for the comment. Now I have this error

What should I do?
Thank you.

Hi thanks for the comment. Now I have this error

What should I do?
Thank you.

Hi thanks for the comment. Now I have this error

What should I do?
Thank you.

Send me the pic of the other file too.

Hi thanks for the comment. Now I have this error

What should I do?
Thank you.

Send me the pic of the other file too.

Copy the code properly dude.
There another '[' and ']' in the beginning and ending inside lst

Copy the code properly dude.
There another '[' and ']' in the beginning and ending inside lst

Holy goodness, it finally works master. Thank you so much!!

Holy goodness, it finally works master. Thank you so much!!

Hi right now opening the link has no problem, however, ending the meeting is the problem. I have made pressing x as an exit button in the Zoom setting and reflected that in the code. However, it doesnt work. Do you have any idea why?

Hi right now opening the link has no problem, however, ending the meeting is the problem. I have made pressing x as an exit button in the Zoom setting and reflected that in the code. However, it doesnt work. Do you have any idea why?

Haha, Please copy the code properly. Line 23 , copy from my code. Instead i[1] it should be i[2].

Haha, Please copy the code properly. Line 23 , copy from my code. Instead i[1] it should be i[2].

Thank you so much Supersuman!!! It will most definitely work then

Thank you so much Supersuman!!! It will most definitely work then


Refactor so this repo is Rust lib and have another repo for python binings.

This can pave the way of node/go bindings.

This is basically done.
https://github.com/kindly/libflatterer is now the library that this repo is based off.


How to add rooms to multiRoomClean

Hi,
not a bug!
Can you please provide a ts example, how to connect rooms to the "clean all rooms" datapoint?
Thank you!

the clean all rooms cleaned all rooms, which are assigned to the dp. This is working with ioBroker rooms. So assign your roomss to a iobroker room. Than assign one ore more rooms to the dp Multiroom clean and trigger them:

This is for the case, if you want to do this via admin ui. If you want to this via script, you shoul do this via send command, see docu.

Because no further response, I close ticket


Add/update more 'light' docs

add some light docs
update some others
put in on-sound-loud

@ganicke,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


[1] trivy - does it run a cleanup job

What should be investigated.
Trivy creates quite a lot of object in the cluster (e.g vulnerabilityreports, configauditreports). We want to know if it also has a cleanup job to remove the old, unused or outdated one.
Definition of Done

check if trivy has a cleanup job for the old objects
if yes check if it's configured correctly so it will not allow unnecessary objects to build up

Conclusion:
Trivy's TTL function is working just fine. As long as "scannerReportTTL"  isn't empty and holds a valid value, scans will be renewed when the times runs out.


LF 0.20.3+ error with IE8

Having issues with 0.20.3 and 0.20.4 on IE8. Using Ember 1.13.2. On page load it gives this error:
SCRIPT1010: Expected identifier

Which then points to line 7 in liquid-measured.js:
exports.default = liquid_measured.default;

Stepping back to 0.20.2 fixes the issue.

Liquid Fire is almost certainly not going to work properly under IE8 (I do not have proof), but I would not expect to get a parse error either.

It probably surfaced due to the export { default } from "liquid-fire/components/liquid-measured"; line in liquid-measured.js, my guess is that esperanto does not honor the _evilES3SafeReExports flag in that case.
You can attempt to fix via:
import Thing from 'liquid-fire/components/liquid-measured';

export default Thing;

If that fixes the syntax error for IE8, you should consider submitting a PR so @ef4 can decide if he wants to support IE8..

I have run into this issue as well, but in the interviening time it seems that the export { default } from "liquid-fire/components/liquid-measured" has been expanded to export the measure function.
export { default, measure } from "liquid-fire/components/liquid-measured"
@rwjblue The fix that you proposed above seemed to work for other locations that have this issue, but I'm not familiar enough with the ES6 syntax to figure out how to do the double import/export. If this can be done I'll happily make a PR for it.

import DefaultThing, { measure } from 'liquid-fire/components/liquid-measured';

export default DefaultThing;
export measure;

i dont think we can reasonable go around fixing all packages, lets wait for esperanto to fix itself.
For users affected, they can run into: https://github.com/stefanpenner/es3-safe-recast

Sounds good to me. Thanks for the help.

looks like ember-cli master has the latest esperanto, it likely works as expected.


Provide linting support (eslint?) for deprecated extension APIs

Refs: #93604
It would be great if we provided a lint package that extension authors could use to identify deprecated APIs. Additionally, any other common mistakes, or anti-patterns we've seen used.
/cc @jrieken

FYI @Ikuyadeu has some linting here: https://github.com/devreplay/devreplay/blob/master/src/rules/vscode.ts

@eamodio Thank you for summarizing!
I want to add the information that I could not tell due to my English.
The lint is available as the vscode plugin

Left is deprecated code, right is setting file ./devreplay.json
Also, implementing vscode-plugin like eslint-plugin-vue is good, but sounds costy.

I love the idea and I am disappointed that TypeScript didn't look at this https://github.com/microsoft/TypeScript/issues/33093. Pretty please, @DanielRosenwasser

We were looking at this recently and we might have the information on hand to do this at least from things like completion. Whether we could do this for suggestion diagnostics might be another issue.

In my idea, my extension and linter are MIT, so it can be used in this repository like language syntax files by the following steps.

Importing my extension as the basic vscode function
Using rule file as the .vscode/rules.json that refer the #88391 knowledge.
Putting the rule files on the extension template in Yo.
New extension users can get the warning by the rule file.

How do you think?

TS now supports the @deprecated and usages of deprecated APIs are flag accordingly. Closing as obsolete


Error connecting to DefectDojo certificate verify failed

Hello I have error with connection to my defect-dojo in output log i see:
Error: [Errno 1] certificate verify failed (java.security.cert.CertificateException: certificate verify failed)
my https certificate is self signed.

Archiving this repo - The Burp plug-in depends on jython, which is now outdated and it has been a year since a formal release.


Fix embedded in ReadME

Fixed the embedded at the bottom "all the contributors" so that it's actually embedded...

Unfortunately the credit to "Damian" at /Damian on github is incorrect that should be to mine. I just had my name set to Damian way back when this started so that's a typo I've been trying to fix so it gets linked to me properly for a while now. If you could fix that too that would be cool and this should get merged eventually


Linux Academy Download Issues

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2019.07.27
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

youtube-dl -v -u username -p password 'https://linuxacademy.com/cp/modules/view/id/238'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'https://linuxacademy.com/cp/modules/view/id/238']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.07.27
[debug] Python version 2.7.16 (CPython) - Linux-5.1.19-300.fc30.x86_64-x86_64-with-fedora-30-Thirty
[debug] exe versions: ffmpeg 4.1.4, ffprobe 4.1.4
[debug] Proxy map: {}
[LinuxAcademy] Downloading authorize page
[LinuxAcademy] Downloading login page
[LinuxAcademy] Downloading callback page
[LinuxAcademy] Downloading token validation page
[LinuxAcademy] 238: Downloading webpage
[download] Downloading playlist: 238
[LinuxAcademy] playlist 238: Collected 50 video ids (downloading 50 of them)
[download] Downloading video 1 of 50
[LinuxAcademy] 2530-1: Downloading webpage
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 474, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 464, in _real_main
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2008, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 807, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1006, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 868, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/linuxacademy.py", line 165, in _real_extract
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 2645, in _extract_jwplayer_data
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 2651, in _parse_jwplayer_data
TypeError: argument of type 'NoneType' is not iterable

Description

I am unable to download videos from Linux Academy. I have tried using various versions of youtube-dl. I am currently using the latest version noted in the above verbose output. Could something have changed in the site. I have tested using other sites which was successful in downloading videos. Video is indeed playable from browser. URLs are valid. Other issues which were posted of a similar nature have been closed or marked as incomplete. I have tried on different machines it doesn't appear to be working. The site may have changed. Please confirm.

I am facing the same issue as well. Here is my output details:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'https://linuxacademy.com/cp/modules/view/id/305']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.08.02
[debug] Python version 2.7.11 (CPython) - Darwin-18.7.0-x86_64-i386-64bit
[debug] exe versions: avconv 12.2, avprobe 12.2, ffmpeg N-94433-gf60b1211b2, ffprobe N-94433-gf60b1211b2
[debug] Proxy map: {}
[LinuxAcademy] Downloading authorize page
[LinuxAcademy] Downloading login page
[LinuxAcademy] Downloading callback page
[LinuxAcademy] Downloading token validation page
[LinuxAcademy] 305: Downloading webpage
[download] Downloading playlist: Certified Kubernetes Application Developer (CKAD)
[LinuxAcademy] playlist Certified Kubernetes Application Developer (CKAD): Collected 31 video ids (downloading 31 of them)
[download] Downloading video 1 of 31
[LinuxAcademy] 3719-1: Downloading webpage
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "./youtube-dl/main.py", line 19, in
File "./youtube-dl/youtube_dl/init.py", line 474, in main
File "./youtube-dl/youtube_dl/init.py", line 464, in _real_main
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 2008, in download
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 807, in extract_info
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 1006, in process_ie_result
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 868, in process_ie_result
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
File "./youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
File "./youtube-dl/youtube_dl/extractor/linuxacademy.py", line 165, in _real_extract
File "./youtube-dl/youtube_dl/extractor/common.py", line 2645, in _extract_jwplayer_data
File "./youtube-dl/youtube_dl/extractor/common.py", line 2651, in _parse_jwplayer_data
TypeError: argument of type 'NoneType' is not iterable


Plugin for Browser library

Currently Crypto lib provides a plugin for SeleniumLibrary only.
This is a request to develop a plugin for Browser / Playwright library.
Thank you.

We are discussing that in the Browser team.
currently Browser has not such a Plugin Api as Selenium has

Any progress on this, would be possible to use in Browser Library?

Since 14.2.0 Browser libraries Type Secret and Fill Secret do automatic decryption if CryptoLibrary is installed and the handed over secret starts with crypt:
So no "plugin" needed.

however docs have to be updated for these keywords


TCP-DS Perf Optimizations

Description
Some low-hanging optimizations - cache frequently recalculated expensive properties, avoid some expensive loops in loops.
For local tests, cache tcp-ds dataset to avoid regenerating each run.
Type of Change

[ ] Bug Fix
[ ] New Feature
[ ] Breaking Change
[x] Refactor
[ ] Documentation
[ ] Other (please describe)

Checklist

[ ] I have read the contributing guidelines
[ ] Existing issues have been referenced (where applicable)
[ ] I have verified this change is not present in other open pull requests
[ ] Functionality is documented
[ ] All code style checks pass
[ ] New code contribution is covered by automated tests
[ ] All new and existing tests pass

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 92.66055% with 16 lines in your changes missing coverage. Please review.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files
Coverage Δ

trilogy/__init__.py
100.00% <100.00%> (ø)

trilogy/core/processing/concept_strategies_v3.py
95.89% <100.00%> (+0.02%)
:arrow_up:

trilogy/core/processing/nodes/__init__.py
100.00% <100.00%> (ø)

trilogy/parsing/parse_engine.py
89.40% <100.00%> (+0.08%)
:arrow_up:

tests/modeling/tcp_ds_duckdb/conftest.py
94.73% <85.71%> (-5.27%)
:arrow_down:

tests/stack_overflow/test_import_rendering.py
98.52% <96.77%> (-1.48%)
:arrow_down:

...ogy/core/processing/node_generators/filter_node.py
91.30% <50.00%> (-3.94%)
:arrow_down:

trilogy/core/models.py
86.27% <94.23%> (+0.17%)
:arrow_up:

...ogy/core/processing/node_generators/select_node.py
77.98% <89.47%> (-14.28%)
:arrow_down:

... and 2 files with indirect coverage changes


csv date field should be Excel compatible

try yyyy-MM-dd HH:mm:ss

Maybe implemented with https://github.com/holgerkrupp/networkLight/releases/tag/1.0.8


Non-english Translation for shading.config.option.experimentalEntityLikeShading

Commit 79162e3925 – Add entity-like shading button to config screen added a new translation key simply-no-shading.config.option.experimentalEntityLikeShading, which maps to Experimental Entity-like Shading... by default. The following languages are yet to have proper translations:

[ ] Português (Brasil) pt_br (Added since #111)
[ ] Português (Portugal) pt_pt (Added since #111)

Not fixed but closed.


How to use somefile.ctmpl from file on machine, not from erb template?

Hi there,
The default definition in Watch is "template      => 'data/common.json.ctmpl.erb'," which is getting the template from manifest. But how can I define to watch template file on the instance?
I have a ctmpl on the instance which is combined from 3 different parts (storm installation) and I already have it on my instances, so I want to watch it by consul-template instead of define it in templates folder. How can I do it? How should I change watch.pp?

Fixed by myself, pull-request created


Bundle assignments of same length

If a and b are bundles of length N, the assignment a = b will cause the compiler to throw an unassigned bundle location error, where it'll say indices 1, 2, ..., N-1 are unassigned. You need to instead do a{0..N} = b{0..N}. Similarly if we have a module Foo that takes as input a bundle of length N, the invocation Foo<'G>(a) will not type check because the compiler thinks a is a bundle of length 1. You need to do Foo<'G>(a{0..N}) instead.
Not a super high priority but would be nice to fix.

I think long term maybe we want this to be explicit (a{..}) and have a better error message? I thin the a = b syntax is a little tricky because a and b could either be individual ports or complete bundles. The unwieldy thing there is that multi-dimensional assignments start looking really ugly (a{..}{..} = b{..})