500 error at /retire/

invalid literal for int() with base 10: ''

Reported on decksite by<PHONE_NUMBER>76436226

Request Method: POST
Path: /retire/?
Cookies: {'__cfduid': 'd4744ad56b5fcf565ccdd912494afc4ad1508320309', '_ga': 'GA1.2.1636988538.1510239216', '_gid': 'GA1.2.640517803.1519392024', '_gat_gtag_UA_109131120_1': '1', 'session': '.eJxFT1tPgzAY_S_fMzFAS7m8Da8ZhqET42IM6aBchFFoy2Qu--92JrrH75zzncsRaLFreghK2klmQFNAALbvIeQRjB2XYERsm4ABnE6qtjOpqGJa843XKV6gdicjkpexWFecbuKQPi5D9zW_6BVvmbY_As1zJuXfDXxeJtebdHzypsS3fLHdx8Nqm3_d7m7qGul_Ng-NYDKjCgLLsU0Te8ixrhCxHGRf6HN3ojnTNECwUkP1f4b3IN307X5-_ozuGp-vRr5o-cteJG0XsVFnyJwPesy7ns161ZQHjVVT0xUSPgz4tcnU4SyBkFHBBJw0TEXFdKl-6rrTD9WEZyY.DXJv3w.YDUQ-rGBeGKY0pf_Oa0yb13_u7Y'}
Endpoint: do_claim
View Args: {}
Person:<PHONE_NUMBER>76436226
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
Referrer: https://pennydreadfulmagic.com/retire/
Request Data: {'entry': ''}

ValueError
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1997, in call
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functionsrule.endpoint
File "./decksite/auth.py", line 59, in decorated_function
return f(*args, **kwargs)
File "./decksite/main.py", line 299, in do_claim
if form.validate():
File "./decksite/league.py", line 26, in validate
self.do_validation()
File "./decksite/league.py", line 130, in do_validation
if not person.is_allowed_to_retire(self.entry, self.discord_user):
File "./decksite/data/person.py", line 192, in is_allowed_to_retire
return any(int(deck_id) == deck.id for deck in person.decks)
File "./decksite/data/person.py", line 192, in
return any(int(deck_id) == deck.id for deck in person.decks)

invalid literal for int() with base 10: ''

Reported on decksite by<PHONE_NUMBER>81013505

Request Method: POST
Path: /retire/?
Cookies: {'__cfduid': 'def5b0a76ced4b88bf45f29541b643e521516397897', '_ga': 'GA1.2.662363843.1516397891', '_gid': 'GA1.2.1445544866.1519427971', 'session': '.eJxNT1tPgzAU_i_nmZhCW25vbDPTTcXoNs2MIUcoUGSAtETIsv9uZ-Ll8Xznux4Bs4NsIMyxVsICmUEINKBOYLs-p75NbMoJBwtaHHTpJEqjFobjf-KCROjcLD-m-3k6lXeiYywgajtG83983b4LY38ETFOh1M8N3v6K46HyKoXe9VTzB7Ibm0e2RzK1Xmz0YuxkL1SCGkKbO4RQRn124VJKmO3-_c_lXcJ8QizoRW6g8jdkvVtvkUa7kV9uVvIpXt7S4lnGrHpbLdjMhKi07cyaF7NbNFrmk8GKQdaZglcLvm0SPZ0pMBPYix5OBsa-EKZVM9T16QsDtGUS.DXI5UA.Vo9ZFB9X0bIg1QHVhAOYCe-wmVU', '_gat_gtag_UA_109131120_1': '1'}
Endpoint: do_claim
View Args: {}
Person:<PHONE_NUMBER>81013505
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Referrer: https://pennydreadfulmagic.com/retire/
Request Data: {'entry': ''}

ValueError
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1997, in call
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functionsrule.endpoint
File "./decksite/auth.py", line 59, in decorated_function
return f(*args, **kwargs)
File "./decksite/main.py", line 299, in do_claim
if form.validate():
File "./decksite/league.py", line 26, in validate
self.do_validation()
File "./decksite/league.py", line 130, in do_validation
if not person.is_allowed_to_retire(self.entry, self.discord_user):
File "./decksite/data/person.py", line 192, in is_allowed_to_retire
return any(int(deck_id) == deck.id for deck in person.decks)
File "./decksite/data/person.py", line 192, in
return any(int(deck_id) == deck.id for deck in person.decks)

People submitting null responses to the form?
On Sat, Feb 24, 2018 at 6:12 PM, Thomas David Baker <
<EMAIL_ADDRESS>wrote:

invalid literal for int() with base 10: ''
Reported on decksite by<PHONE_NUMBER>81013505
Request Method: POST
Path: /retire/?
Cookies: {'__cfduid': 'def5b0a76ced4b88bf45f29541b643e521516397897', '_ga': 'GA1.2.662363843.1516397891', '_gid': 'GA1.2.1445544866.1519427971', 'session': '.eJxNT1tPgzAU_i_nmZhCW25vbDPTTcXoNs2MIUcoUGSAtETIsv9uZ-Ll8Xznux4Bs4NsIMyxVsICmUEINKBOYLs-p75NbMoJBwtaHHTpJEqjFobjf-KCROjcLD-m-3k6lXeiYywgajtG83983b4LY38ETFOh1M8N3v6K46HyKoXe9VTzB7Ibm0e2RzK1Xmz0YuxkL1SCGkKbO4RQRn124VJKmO3-_c_lXcJ8QizoRW6g8jdkvVtvkUa7kV9uVvIpXt7S4lnGrHpbLdjMhKi07cyaF7NbNFrmk8GKQdaZglcLvm0SPZ0pMBPYix5OBsa-EKZVM9T16QsDtGUS.DXI5UA.Vo9ZFB9X0bIg1QHVhAOYCe-wmVU', '_gat_gtag_UA_109131120_1': '1'}
Endpoint: do_claim
View Args: {}
Person:<PHONE_NUMBER>81013505
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Referrer: https://pennydreadfulmagic.com/retire/
Request Data: {'entry': ''}
ValueError
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1997, in call
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functionsrule.endpoint
File "./decksite/auth.py", line 59, in decorated_function
return f(*args, **kwargs)
File "./decksite/main.py", line 299, in do_claim
if form.validate():
File "./decksite/league.py", line 26, in validate
self.do_validation()
File "./decksite/league.py", line 130, in do_validation
if not person.is_allowed_to_retire(self.entry, self.discord_user):
File "./decksite/data/person.py", line 192, in is_allowed_to_retire
return any(int(deck_id) == deck.id for deck in person.decks)
File "./decksite/data/person.py", line 192, in
return any(int(deck_id) == deck.id for deck in person.decks)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PennyDreadfulMTG/Penny-Dreadful-Tools/issues/4339#issuecomment-368206796,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAL2zhxJ7v1tVsEeyktIWy6iFTFaAkgmks5tX7ZbgaJpZM4SRyd4
.

yeah looks like submitting the form when you have nothing to retire. was able to repro. i'll add some validation.

cc442cb8.


SparkFun Qwiic 128x32 OLED Display Support

Qwiic_Micro_OLED_Py doesn't support the SparkFun Qwiic 128x32 OLED Display (LCD-17153).

It does not, because that is a different product. There would be a separate Python package for that product.


Support Event logs for no asset definition tokens

Can we make fetching events for tokens that has no asset definition, applying Event filter based on token type, and its abi?
Reason:  Some of tokens has no asset definition, e.g most of erc1155 tokens,  and we are not able to see its events on activity tab, my suggestion is to use token abi, for retrieving event definition and fetch such event logs with getEventLogs fetcher.

@hboon  any ideas according to it?

So asset definition here refers to TokenScript, right?

Can we make fetching events for tokens that has no asset definition, applying Event filter based on token type, and its abi?

But we already do this right?
The 2 classes with this header:

///Fetching ERC1155 tokens in 2 steps:
///
///A. Fetch known contracts and tokenIds owned (now or previously) for each, writing them to JSON. tokenIds are never removed (so we can easily discover their balance is 0 in the next step)
///B. Fetch balance for each tokenId owned (now or previously. For the latter value would be 0)
///
///This class performs

Reason: Some of tokens has no asset definition, e.g most of erc1155 tokens, and we are not able to see its events on activity tab, my suggestion is to use token abi, for retrieving event definition and fetch such event logs with getEventLogs fetcher.

Or do you mean that we pull the events to discover ERC1155 contracts and token IDs but not for activity?

But we already do this right?
yes, but we fetch event logs for tokens that already have token script files, but not for those who don't have, so we could update our code base with assumption to fetch event logs based on erc type for each token (that don't have token script definitions).

if you check activity tab for erc1155 token, you will see that there is no events.

Hmm.. Yeah I guess we need a parallel to EventSourceForActivities or update it to support ERC1155 OR maybe better to save the events in Erc1155TokenIdsFetcher.
Let's hold this for a bit unless it's really easy (updating Erc1155TokenIdsFetcher is probably easy?). Need to think a bit about the wallet API and see if it's getting anywhere to avoid doubling the work.
Do you think updating Erc1155TokenIdsFetcher will work?

Do you think updating Erc1155TokenIdsFetcher will work?

yes, could work

@oa-s ok, feel free to try your hand at updating Erc1155TokenIdsFetcher then


Open Source License

Hi, I am familiar with your project and I noticed that it does not have a license. I would like to suggest that you add a license to your project so it can be freely used, modified, repurposed, or shared by the open source community. It seems like you already intend for this to be Open Source, since the README identifies it as a community open source project. You can find information on various licenses here. To choose the right license for your project, check out choosealicense.com.

Hi, we're distribute our docs under the same license as the project, so it's Apache 2.0. I've added a LICENSE file to this particular repo to address this issue, thanks.


setup-ide fails on missing .bsp directory

> bleep setup-ide
📗 bootstrapped in 4 ms [t => 5 ms]
📕 command failed [t => 5 ms]java.nio.file.NoSuchFileException: /home/ondra/Projects/bleep/.bsp
	at sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:429)

Thanks. This is fixed in master i think, will publish a new milestone with it soon

will be released in M15, on the way


[BUG] HP victus 15 fa-0xxx can't wake-up from suspend when on hybrid mode.

Describe the bug
When I'm in hybrid mode, and I suspend my laptop with:
systemctl suspend

I can't wake it up: first the screen goes black, then black-dimmed, then some errors show up, I'm gonna attach a photo of the errors.
Then the displaymanager (SDDM) pops up but with 0 FPS, if I type the password and enter, after some time PC wakes up but still with 0 FPS.
Only fix at this point it to hold down power button and restart.
The problem is not present if I'm in integrated mode: suspend works as intended.
To Reproduce
Steps to reproduce the behavior:

Run sudo envycontrol -s hybrid && reboot
Run 'systemctl suspend'

Expected behavior
PC to wake up from suspend while in hybrid mode.
Screenshots
I'm gonna attach a screenshot of the errors after I try to wake up the PC from suspend.

System Information:

Model: HP VICTUS 15 fa-0xxx, i7 12700h, RTX 3050Ti 4GB
Distro: EndeavourOS (rolling release)
Kernel: 6.8.2-arch2-1
DE/WM and Display Manager (if applicable): KDE Plasma 6.0.3 (WAYLAND) with SDDM
EnvyControl version: 3.4.0
Nvidia driver version:

lib32-nvidia-utils 550.67-1
nvidia-dkms 550.67-1
nvidia-hook 1.5-2
nvidia-inst 24-1
nvidia-settings 550.67-1
nvidia-utils 550.67-1

lspci output:

00:00.0 Host bridge: Intel Corporation 12th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics] (rev 0c)
00:04.0 Signal processing controller: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant (rev 02)
00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 02)
00:08.0 System peripheral: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator (rev 02)
00:0d.0 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller (rev 02)
00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01)
00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation Device 51bc (rev 01)
00:1c.6 PCI bridge: Intel Corporation Device 51be (rev 01)
00:1c.7 PCI bridge: Intel Corporation Alder Lake PCH-P PCI Express Root Port #9 (rev 01)
00:1f.0 ISA bridge: Intel Corporation Alder Lake PCH eSPI Controller (rev 01)
00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)
00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
02:00.0 Non-Volatile memory controller: Sandisk Corp WD PC SN810 / Black SN850 NVMe SSD (rev 01)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5228 (rev 01)
04:00.0 Network controller: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 16)

@Pherrara it looks like your lspci output was captured in integrated mode. I do not see the nvidia devices.
Performing envycontrol --reset should put your laptop back in hybrid mode. Do you see a difference in the behavior?
Please note that there was no functional difference in 3.4.0 other than caching the nvidia pci bus id so that a transition from integrated to nvidia mode was possible.
_Please see #155 and /var/cache/envycontrol/cache.json _
Can you please confirm whether or not the behavior exists in the previous version?

Yeah sorry, here's the lspci output while in hybrid mode:
00:00.0 Host bridge: Intel Corporation 12th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics] (rev 0c)
00:04.0 Signal processing controller: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant (rev 02)
00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 02)
00:08.0 System peripheral: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator (rev 02)
00:0d.0 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller (rev 02)
00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01)
00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation Device 51bc (rev 01)
00:1c.6 PCI bridge: Intel Corporation Device 51be (rev 01)
00:1c.7 PCI bridge: Intel Corporation Alder Lake PCH-P PCI Express Root Port #9 (rev 01)
00:1f.0 ISA bridge: Intel Corporation Alder Lake PCH eSPI Controller (rev 01)
00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)
00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
01:00.0 VGA compatible controller: NVIDIA Corporation GA107M [GeForce RTX 3050 Ti Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 2291 (rev a1)
02:00.0 Non-Volatile memory controller: Sandisk Corp WD PC SN810 / Black SN850 NVMe SSD (rev 01)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5228 (rev 01)
04:00.0 Network controller: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 16)

I just tried envycontrol version 3.3.1 with envycontrol --reset and the problem persists. I then checked on /var/cache/envycontrol/cache.json and I have no file there.
Also: I noticed in the last few days that I get more battery life on hybrid and nvidia mode than in integrated... (hybrid and nvidia battery drain is basically the same) so I think there's something wrong with how power management is integrated.
I also tried to manually enable those services while in nvidia/hybrid mode:
sudo systemctl enable nvidia-suspend.service
sudo systemctl enable nvidia-hibernate.service
sudo systemctl enable nvidia-resume.service

But nothing worked so far.

@Pherrara this sounds like a Nvidia driver bug.

@Pherrara the cache file was added in version 3.4.0 - it was the main feature. So, no, it did not exist in  version 3.3.1.
But the important bit of info is that the issue you are having exists with 3.3.1. When you did the --reset you effectively put things back the way they were before you used envycontrol - i.e., hybrid mode.
So because the problem still exists, I agree with @bayasdev. The issue must be with the driver and/or the way it installs itself with the distro you are using.
I do not think we should treat this as an envycontrol bug.

@Pherrara the cache file was added in version 3.4.0 - it was added to support the main feature of that release. So, no, it did not exist in  version 3.3.1.
But the important bit of info is that the issue you are having exists with 3.3.1. When you did the --reset you effectively put things back the way they were before you used envycontrol - i.e., hybrid mode.
So because the problem still exists, I agree with @bayasdev. The issue must be with the driver and/or the way it installs itself with the distro you are using.
I do not think we should treat this as an envycontrol bug.

Yup, closing this for now


Closing TabButler while on a GitHub issues page jumps the page to almost the top

Describe the bug
See title. Closing by pressing Esc og clicking gives same result
To Reproduce
Steps to reproduce the behavior:

Go to a list of issues on Github, like https://github.com/MitchellMarkGeorge/TabButler/issues or https://github.com/AntennaPod/AntennaPod/issues
Scroll down a bit
Open TabButler
Close TabButler

Expected behavior
TB should just close, like on other pages
Platform Info (please complete the following information):

OS: Ubuntu 22.04
Browser: Firefox 103.02
Version (is this meant to be the version of TB or of the browser?) TB: <IP_ADDRESS>

Hmm that seems odd, I tried reproducing this issue on my setup but was unable to do so. Some further testing would be required to see what causes this for you.

I was finally able to reproduce this issue and I am investigating it now.


Scientific notation in decimal field

Hello,
When importing an Excel file containing small numbers, these small numbers are retrieved in scientific notation. And this is causing an error when we try to load this data to a decimal field in our database as the scientific notation can't be converted to a numeric value by SQL Server.
This is with version 7.1.0
There is issue 537 'Convert scientific notation to decimal'
https://github.com/dfinke/ImportExcel/pull/537
It seems that this fix was not integrated, is that correct ?
Thank you for looking into this.
And thank you for creating this module !

That wasn't integrated because there were no unit tests written for it.


Add carryon compatibility

Add carryon compatibility which is the supported version of carrycapacity

Nice, thanks for doing this! I forgot about Carry On. I'll give things a test tomorrow and check it out. Got a small update to the mod coming out very soon so I'll roll this in with it.


[BUG] Write a title for your bug No download available

Describe the bug
Download options are not displayed (No download available)
Steps to Reproduce
1 open hydra
2 there is no download option
Expected behavior
No response
Additional information and data

Operating System
windows 10
Hydra Version
v3.0.4 - "Skyscraper"
Before opening this Issue

[X] I have searched the issues of this repository and believe that this is not a duplicate.
[X] I am aware that Hydra team does not offer any support or help regarding the downloaded games.
[X] I have read the Frequently Asked Questions (FAQ).

read the Frequently Asked Questions (FAQ).


Text extraction interpreting

New Feature Proposal
When extracting information from web pages, such as the main table #main_table_countries_today in   https://www.worldometers.info/coronavirus/ one wants the text as the user sees it: \n and \t converted to space,  as \n; html entities expanded, e.g. > → >; multiple spaces to one space and text Trim().
Presently the .Text() and .TextContent of the second header cells are  “TotalCases” as the
 has been removed. Implementing this on top of Angle Sharp is not ideal as one has to implement all of the html entities such as $quot.
If you do not want to break existing users of .Text [you could since you have not got to v1.0 yet] a property called .UserText would be good.
The following code does most of that that I requrie:
    static string ExtractText(IElement elem)
    {
        string str = elem.InnerHtml;
        str = str.Replace("\n", " ");
        str = str.Replace("
", "\n");
        str = str.Replace(" ", " ");
        str = Regex.Replace(str, "<[^>]+>", ""); // remove html elements
        str = Regex.Replace(str, " +", " "); // multiple spaces to one space
        str = str.Replace(">", ">");
        str = str.Replace("<", "<");
        str = str.Replace(""", "\"");
        str = str.Replace("'", "'");
        str = str.Replace("&", "&");
        // anu other html entity is possible
        str = str.Trim();
        return str;
    }

Attached is a Visual Studio C# project that shows the feature, the user sees:
one
two

but .Text() and .TextContent return “onetwo”:
AngleSharpBrFault.zip
.

Smal tweak to text extractions code

Have you tried the CSS extension innerText?
It's available when you include AngleSharp.Css.

Hello:
I have:
using AngleSharp.Css;
...
private static string ExtractText(IElement elem)
{
  // there is no elem.InnerText?

}
On Mon, 4 May 2020 at 18:15, Florian Rappl<EMAIL_ADDRESS>wrote:

Have you tried the CSS extension innerText
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText?
It's available when you include AngleSharp.Css.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AngleSharp/AngleSharp/issues/877#issuecomment-623277352,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD5SOBLTALMQQI7PZIEFL3RPZMNPANCNFSM4MYLXVPQ
.

--
Gene Thomas
021 436384 http://genethomas.com
<EMAIL_ADDRESS>

It's GetInnerText; innerText is the IDL / JS name. C# does not have extension properties.
Hope that helps!

Are you sure that that is found by using AngleSharp.Css? I'm using that but
IElement.GetInnerText is not found?
On Tue, 5 May 2020 at 17:10, Florian Rappl<EMAIL_ADDRESS>wrote:

It's GetInnerText; innerText is the IDL / JS name. C# does not have
extension properties.
Hope that helps!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AngleSharp/AngleSharp/issues/877#issuecomment-623859032,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD5SOC7SLIA7XCHLMWSRMTRP6NRVANCNFSM4MYLXVPQ
.

--
Gene Thomas
021 436384 http://genethomas.com
<EMAIL_ADDRESS>

Depends what you mean by "using AngleSharp.Css". Using as in "referencing" or as in "putting in the using keyword"?
https://github.com/AngleSharp/AngleSharp.Css/blob/master/src/AngleSharp.Css/Extensions/ElementExtensions.cs#L41
You need to reference AngleSharp.Css, properly add it to your configuration, and using the AngleSharp.Dom namespace.

Thanks,
I understand now. Having AngleSharp.Css as a namespace in
AngleSharp.dll will confuse other users too. In fact is there a reason to
have multiple projects/dll, the size of packages is not important these
days, just the developer's time having to deal with multiple projects/dlls.
Do I need to initialse AngleSharp.Css. The package is throwing from within
GetInnerText() in v 0.14 and the master branch:
AngleSharp.Css.dll!AngleSharp.Css.Dom.CssStyleDeclaration.ChangeDeclarations(System.Collections.Generic.IEnumerable<AngleSharp.Css.Dom.ICssProperty>
decls, System.Predicate<AngleSharp.Css.Dom.ICssProperty> defaultSkip,
System.Func<AngleSharp.Css.Dom.ICssProperty,
AngleSharp.Css.Dom.ICssProperty, bool> removeExisting) Line 362 C#
AngleSharp.Css.dll!AngleSharp.Css.Dom.CssStyleDeclaration.SetDeclarations(System.Collections.Generic.IEnumerable<AngleSharp.Css.Dom.ICssProperty>
decls) Line 309 C#
AngleSharp.Css.dll!AngleSharp.Css.StyleCollectionExtensions.ComputeCascadedStyle(System.Collections.Generic.IEnumerable<AngleSharp.Css.Dom.ICssStyleRule>
styleCollection, AngleSharp.Dom.IElement element,
AngleSharp.Css.Dom.ICssStyleDeclaration parent) Line 90 C#
AngleSharp.Css.dll!AngleSharp.Css.StyleCollectionExtensions.ComputeDeclarations(System.Collections.Generic.IEnumerable<AngleSharp.Css.Dom.ICssStyleRule>
rules, AngleSharp.Dom.IElement element, string pseudoSelector) Line 58 C#
AngleSharp.Css.dll!AngleSharp.Dom.WindowExtensions.GetComputedStyle(AngleSharp.Dom.IWindow
window, AngleSharp.Dom.IElement element, string pseudo) Line 77 C#
AngleSharp.Css.dll!AngleSharp.Dom.CssApiExtensions.ComputeCurrentStyle(AngleSharp.Dom.IElement
element) Line 25 C#
AngleSharp.Css.dll!AngleSharp.Dom.ElementExtensions.GetInnerText(AngleSharp.Dom.IElement
element) Line 52 C#
Covid19ByContinent.exe!Covid19ByContinent.ExtractText(AngleSharp.Dom.IElement
elem) Line 371 C#
Covid19ByContinent.exe!Covid19ByContinent.ExtractTable(string html,
string tableSelector, int keyColumn) Line 424 C#
Covid19ByContinent.exe!Covid19ByContinent.Main(string[] args) Line 107 C#
In public static ICssStyleDeclaration ComputeCascadedStyle(this
IEnumerable styleCollection, IElement element,
ICssStyleDeclaration parent = null)
in src\AngleSharp.Css\Extensions\StyleCollectionExtensions.cs
element.GetStyle() returns null, later that null is used and throws.
Thanks for the assistance...,
Gene Thomas.
On Tue, 5 May 2020 at 18:54, Florian Rappl<EMAIL_ADDRESS>wrote:

Depends what you mean by "using AngleSharp.Css". Using as in "referencing"
or as in "putting in the using keyword"?
https://github.com/AngleSharp/AngleSharp.Css/blob/master/src/AngleSharp.Css/Extensions/ElementExtensions.cs#L41
You need to reference AngleSharp.Css, properly add it to your
configuration, and using the AngleSharp.Dom namespace.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AngleSharp/AngleSharp/issues/877#issuecomment-623885526,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD5SOCIHZBRODMVN33GVHLRP6ZYJANCNFSM4MYLXVPQ
.

--
Gene Thomas
021 436384 http://genethomas.com
<EMAIL_ADDRESS>

Sorry but you need to show your configuration. I assume you did not configure it properly.
Also having multiple projects is important, because not everyone wants to have CSS in their config. The lib size may not matter to you, but it certainly matters. Don't infer from your use case to the majority.
I'll close it for now.

It works now, the config that works has both WithCss()
and WithRenderDevice():
    IConfiguration  config = Configuration.Default
        .WithCss()
        .WithRenderDevice(new DefaultRenderDevice
        {
            DeviceHeight = 768,
            DeviceWidth = 1024,
        });

Now rather than taking 5 seconds it shall take 15 minutes! Is there a way
so I can stop AngleSharp.Css doing so much work?
Yours Sincerely,
Gene Thomas.
On Tue, 5 May 2020 at 19:51, Florian Rappl<EMAIL_ADDRESS>wrote:

Closed #877 https://github.com/AngleSharp/AngleSharp/issues/877.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AngleSharp/AngleSharp/issues/877#event-3303060349,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD5SOBRXUMZOZFYT7CBWU3RP7APTANCNFSM4MYLXVPQ
.

--
Gene Thomas
021 436384 http://genethomas.com
<EMAIL_ADDRESS>

Hello,
Thanks for your assistance so far, I thought the reasons I am using
AngleSharp may interest you, I am crunching numbers for the Covid-19
pandemic along cultural bounds, i.e. grouping similar countries such as the
Middle East:
Continent           Population       %     Cases  Deaths      Tests
Deaths/Cases  Cases/M Deaths/M   Tests/M Relative Cases/M     Relative
Deaths/M    Relative Tests/M
──────────────── ───────────── ─────── ───────── ─────── ──────────
──────────── ──────── ──────── ───────── ────────────────────
──────────────────── ────────────────────
Europe             625,823,853   8.03% 1,414,759 143,608 14,384,048
10.15% 2,260.63   229.47 22,984.18 █████████████
████████████████████ █████████████████
North America      368,744,805   4.73% 1,273,607  73,775  8,381,799
5.79% 3,453.90   200.07 22,730.62 ████████████████████ █████████████████▌
█████████████████
Latin America      649,376,336   8.33%   270,985  14,363  2,033,210
5.30%   417.30    22.12  3,131.02 ██▌                  ██
██▌
Middle East        502,303,294   6.44%   210,382   8,267  3,419,502
3.93%   418.83    16.46  6,807.64 ██▌                  █▌
█████
Russia etc..       300,517,069   3.85%   195,736   2,137  5,818,812
1.09%   651.33     7.11 19,362.67 ████                 ▌
██████████████▌
Australia and Nz    30,322,117   0.39%     8,333     116    818,320
1.39%   274.82     3.83 26,987.56 █▌                   ▌
████████████████████
Asia             2,346,060,124  30.09%   160,207   7,104  2,173,275
4.43%    68.29     3.03    926.35 ▌
▌
India etc..      1,817,448,317  23.31%    79,466   2,243  1,527,972
2.82%    43.72     1.23    840.72
▌
Africa           1,145,344,967  14.69%    29,792     688    656,983
2.31%    26.01     0.60    573.61
▌
Polynesia           11,495,169   0.15%        26       0      3,409
0.00%     2.26     0.00    296.56
──────────────── ───────────── ─────── ───────── ─────── ──────────
──────────── ──────── ──────── ───────── ────────────────────
──────────────────── ────────────────────
World            7,797,436,051 100.00% 3,643,293 252,301 39,217,330
6.93%   467.24    32.36  5,029.52
════════════════ ═════════════ ═══════ ═════════ ═══════ ══════════
════════════ ════════ ════════ ═════════ ════════════════════
════════════════════ ════════════════════
Yours Sincerely,
Gene Thomas
On Tue, 5 May 2020 at 20:45, Gene Thomas<EMAIL_ADDRESS>wrote:

It works now, the config that works has both WithCss()
and WithRenderDevice():
    IConfiguration  config = Configuration.Default
        .WithCss()
        .WithRenderDevice(new DefaultRenderDevice
        {
            DeviceHeight = 768,
            DeviceWidth = 1024,
        });

Now rather than taking 5 seconds it shall take 15 minutes! Is there a way
so I can stop AngleSharp.Css doing so much work?
Yours Sincerely,
Gene Thomas.
On Tue, 5 May 2020 at 19:51, Florian Rappl<EMAIL_ADDRESS>wrote:

Closed #877 https://github.com/AngleSharp/AngleSharp/issues/877.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AngleSharp/AngleSharp/issues/877#event-3303060349,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD5SOBRXUMZOZFYT7CBWU3RP7APTANCNFSM4MYLXVPQ
.

--
Gene Thomas
021 436384 http://genethomas.com
<EMAIL_ADDRESS>
--
Gene Thomas
021 436384 http://genethomas.com
<EMAIL_ADDRESS>

Now rather than taking 5 seconds it shall take 15 minutes! Is there a way so I can stop AngleSharp.Css doing so much work?

I cannot help you in full detail unless you show your config. For instance, it makes a big difference if you have resource requesting activated. Evaluating the style sheets is costly as render tree evaluations are much more expensive than DOM tree evaluations.
Usually, even for large sites AngleSharp evaluates in the fraction of a second and also AngleSharp.Css is not taking so long. If you think it takes too long we first need to know where the time in spent (e.g., style sheet evaluation(s) or the getInnerText call - if the latter, where in there... can we optimize?).
Coming back to the OP - I assume now that getInnerText satisfies your needs. If perf. can / should be improved I would suggest opening a new item on AngleSharp.Css. This way we can track progress properly and have a disucssion with the folks there.
Remark: Indeed the use case is great and I fully appreciate the info! Wonderful stuff! :rocket:


Tab control within close buttom

I wish to change tab control to put a close button.
Is this easy?

@alexsandro-xpt
https://plnkr.co/edit/c1jmCdwG6afR1qClVDGi?p=preview

Really nice @Randore, thank you, now I will put Angular to manage dynamics tabs ;)

@alexsandro-xpt I have updated the tabs with close button style in v0.2.10 https://github.com/picturepan2/spectre/releases/tag/v0.2.10 .


Unit 6: PandaReachDense observation space

import gym

env_id = "PandaReachDense-v2"

# Create the env
env = gym.make(env_id)

# Get the state space and action space
s_size = env.observation_space.shape
a_size = env.action_space

print("_____OBSERVATION SPACE_____ \n")
print("The State Space is: ", s_size)
print("Sample observation", env.observation_space.sample())  # Get a random observation

_____OBSERVATION SPACE_____

The State Space is:  None
Sample observation OrderedDict([('achieved_goal', array([4.3490624, 1.7946942, 5.433256 ], dtype=float32)), ('desired_goal', array([-9.161509 ,  4.8263154,  5.93399  ], dtype=float32)), ('observation', array([ 7.4350457, -8.889457 , -8.271049 , -7.112481 , -0.3806866,
       -8.340974 ], dtype=float32))])

In the code above in Unit6, env.observation_space.shape returns None.
Since the observation_space of "PandaReachDense-v2" is a Dict, I think it would be better to do s_size = env.observation_space like a_size = env.action_space or specify a property like s_size=env.observation_space['observation'].
However, s_size = env.observation_space looks more natural because the sample is obtained immediately like env.observation_space.sample() in the code behind.

Hey there 👋 we currently updating this unit to work with Gymnasium I keep you updated.


[examples] make the sft script more modulable

As per title, let's make the script slightly more modulable to be able to use https://gist.github.com/younesbelkada/9f7f75c94bdc1981c8ca5cc937d4a4da directly through TRL
cc @lvwerra

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Add quad tri support

Resolve #260 by adding support for degenerate quadratic triangular elements.
MAPDL does not write out 0s at the end of lines, and quad elements with missing midside nodes will have fewer than 8 nodes, which resulted in point indices not being allocated, leading to reading out of bounds in rare cases.
These triangular elements were also misencoded as quads within VTK. This PR resolves both these issues.
Bonus

Remove trailing whitespace with pre-commit
Enforce code styling for C(++) files.
Drop build for 3.7

@jorgepiloto and @RobPasMue, please consider enforcing code style for C files using ClangFormat. Works quite well, and you can even consider adopting a different standard (see Clang-Format Style Options).
@germa89, since we're dropping Python 3.7, please remove them from the required workflows.

@akaszynski - just removed Python 3.7 from the required stages, and added Python 3.11
We will plan on creating such an action. Thanks for proposing it!

Thank you @RobPasMue and @akaszynski


DjangoCon 2015 videos are missing a category

Because of that they are currently marked as uncategorised on pytube. That field looks rather redundant, though. Should we perhaps remove/ignore it in favour of taking all the category information directly from the category.json file in the parent directory?

I'm in favor of that; +1

OK, then I'll quick-fix the categories within the videos now and create another ticket in pytube to take the category information from the category.json instead :)


simplify gh pages episode

This is based on https://coderefinery.github.io/github-without-command-line/05-websites/.
The significant change is that instead of providing step-by-step and proving a template to start with, we point to the official documentation which is IMO really clear.
Advantage (in my eyes):

we have less to maintain on our side
their docs offer more flexibility: some learners will prefer testing setting up a homepage, some will prefer setting up a project page

Another motivation why I wanted this to be short:

we never manage this one anyway with time
if it is short, my hope is that participants look at it and hopefully get curious

Good idea, I will add that comparison.


Issue with release cycle

There seems to be an issue with the release cycle.
In https://github.com/select2/select2/tags latest is 4.0.6-rc.1 on Nov 21, 2017 and same untill today, Nov 21, 2018

What exactly is the issue? That is, indeed, the last release.

I believe he stated that the latest version is a Release Candidate, not a final release. This may be confusing for someone who looks for final/stable releases. Perhaps just promoting this version RC-1 to v4.0.6 Final should be nice.

It should not be released, as it contains at least one serious bug (#5320), maybe more. Furthermore, this project doesn't really have a maintainer at the moment, so there is no one to do that promotion.
You should probably use 4.0.5 or a different library.


Option to have free text tag entry

would be appreciated as it would be quicker to enter tags

Good point, I am also not completely happy with the way it's working currently. But e.g. my workflow for iPad tries to have as little keyboard input as possible but rather using the apple pencil. But maybe there is a possibility to satisfy both needs.
I have a vague idea of a "chips"-list with some sort of autocomplete on it with an additional button to add existing tags (like it is working at the moment). But not completely sure yet how to visualize which tags will be created and which ones not. I will keep this task updated with news as soon as I have some. :-)


cannot import name 'set_seed' from 'scvi'

import scanpy as sc
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import torch
import anndata
import os

from scvi.dataset import Dataset10X
from scvi.models import TOTALVI
from scvi.inference import TotalPosterior, TotalTrainer
from scvi import set_seed

# Control UMAP numba warnings
import warnings; warnings.simplefilter('ignore')

if IN_COLAB:
    %matplotlib inline

# Sets the random seed for torch and numpy
set_seed(0)

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-2-2fb278341b08> in <module>
     10 from scvi.models import TOTALVI
     11 from scvi.inference import TotalPosterior, TotalTrainer
---> 12 from scvi import set_seed
     13
     14 # Control UMAP numba warnings

ImportError: cannot import name 'set_seed' from 'scvi'

Sorry this is confusing because the notebooks are designed to work with the code in the master branch. Please see #568. For now you can just install scvi from the tip of master.


fix: don't replace props definition with __VLS_props

close #3643

For the following source code.
const name = 'foo';
const foo = defineProps([name]).foo;

I think a better way is generate it to:
const name = 'foo';
const __VLS_props = defineProps([name])
const foo = __VLS_props.foo;

We need to return the const foo = defineProps([name]).foo; range from parseScriptSetupRanges() and then it should be easy to do.

I think so, but IMO this will require much more work.

Updated, it might be simpler than you expect. ;)


Timezone Problem at Full-Day Events

While Datetime events work without a problem for me, full-day events are one day longer in the answer with this library than with the macOS or Thunderbird calendar. I am not sure where the problem occurs, but I guess it's somewhere in the timezone conversion.
My calendar server (Baikal) works in UTC while my pc and my caldav client work in ETC.
The response of this library already contains the wrong end day, so I assume it's connected to this library. I'm happy to provide more information, I just don't know what's helpful.

@philippneugebauer Thank you for the report. Strange as it may seem, that's actually the expected behaviour.
According to the iCalendar specification, the DTEND property is non-inclusive, see RFC 5545, section 3.6.1:

The following is an example of the "VEVENT" calendar component used to represent a multi-day event scheduled from June 28th, 2007 to July 8th, 2007 inclusively.  Note that the "DTEND" property is set to July 9th, 2007, since the "DTEND" property specifies the non-inclusive end of the event.
BEGIN:VEVENT
<EMAIL_ADDRESS>DTSTAMP:20070423T123432Z
DTSTART;VALUE=DATE:20070628
DTEND;VALUE=DATE:20070709
SUMMARY:Festival International de Jazz de Montreal
TRANSP:TRANSPARENT
END:VEVENT

This behaviour has been confirmed with Google Calendar for an event ending on March 15th, 2021 inclusively:
DTSTART;VALUE=DATE:20210308
DTEND;VALUE=DATE:20210316

For an all-day event on March 8th, 2021, the DTEND property contains the date of the following day, which is really confusing indeed:
DTSTART;VALUE=DATE:20210308
DTEND;VALUE=DATE:20210309

I hope the above clarification satisfies your concerns.
Additionally, please note that this library is only responsible for managing the events using CalDAV protocol but neither serializes nor parses the events from the iCalendar format, leaving the iCalendar payload intact. This allows the developers to use this library in cooperation with any iCalendar parsing/serialization library (see README for recommendations).
Since you are using Baikal, you may also easily inspect the iCalendar data in your browser at http://<server-url>/cal.php/<username>/calendars/<calendar_id>/<event_id.ics>. The contents of the *.ics should be identical to the iCalendar payload retrieved using this library.

Thank you for the fast and extensive clarification. I did not expect that behavior to be according to the specification.
So the iCalendar library should handle this case, right?

So the iCalendar library should handle this case, right?

I think there is no definite answer here. If the library provides a high-level API for storing and processing the calendar events, this case should be covered in the library. Alternatively, if the library provides only parsing/serialization tools for iCalendar properties, I think it is on the developer's side to handle this case.


[Feature] Get*ExecutionData should optionally return data inline

Motivation: Why do you think this is important?
The current model of fetching signed URL references to execution data [inputs + outputs] works fine in a hosted AWS environment but doesn't actually successfully return a usable link in local/sandbox mode. This is because "the url returned to flytekit is a presigned url, with the host name which is kubernetes cluster local - like - http://minio.flyte.svc.cluster.local:9000" (@kumare3) and makes for a frustrating and broken experience when standing up flyte locally.
Goal: What should the final outcome look like, ideally?
Ideally the Get*ExecutionData endpoints [Workflow, Node, Task] should allow callers to specify whether they want populated inputs & outputs in addition to signed URL blobs pointing to where the same data is stored.
The endpoints should remain separate from Get*Execution as is, but offer more customizability.
Describe alternatives you've considered
Oneof responses that include either the URL blob or the populated inputs. However URL blobs are cheap to generate and lightweight to pass around so we can keep them as is.
Optionally the inputs & outputs can be returned inline in the Get*Execution responses but this risks bloating them.
Flyte component

[ ] Overall
[ ] Flyte Setup and Installation scripts
[ ] Flyte Documentation
[ ] Flyte communication (slack/email etc)
[ ] FlytePropeller
[x] FlyteIDL (Flyte specification language)
[x] Flytekit (Python SDK)
[x] FlyteAdmin (Control Plane service)
[ ] FlytePlugins
[ ] DataCatalog
[ ] FlyteStdlib (common libraries)
[x] FlyteConsole (UI)
[ ] Other

[Optional] Propose: Link/Inline
Additional context
First raised by @kumare3
Is this a blocker for you to adopt Flyte
N/A

cc @kumare3 @wild-endeavor


Some graphics loading issues when opening a v5 version .box file

The v5 box version on Lucid Common Lisp on the Suns was before the graphics-object slot was introduced to hold either a graphics sheet or bitmap.

This has been fixed for both loading the files, and exporting the remaining results to HTML5


error: use of undeclared identifier 'SLIC_INFO_ROOT'

Build fails:
/disk-samsung/freebsd-ports/science/serac/work/serac-5aeeea9/src/serac/infrastructure/logger.cpp:82:3: error: use of undeclared identifier 'SLIC_INFO_ROOT'
  SLIC_INFO_ROOT(msg);
  ^
1 error generated.

clang-14
FreeBSD 13.1

This is not in the Axom 0.6.1 release.  It requires a really recent develop branch.

This works, thanks!


Implemented first generation skip in watch mode.

Description
Implemented possibility to skip first generation whenever some pre-script previously can already generate files which result onto unnecessary re-generation on cold start of scripts. With this change it's no longer necessary.
Related # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] Changed over config values and then manually trigger watcher
[x] Added watchSkipFirst CLI flag and then manually trigger watcher

Checklist:

[x] I have followed the CONTRIBUTING doc and the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Thank you for creating this PR, @cbmd !
Can you please explain the background and use-case for this? I'm not sure that I understood it.

Sure @dotansimha, use case if following:
You wanted to run watch more of codegen AND webpack build simultaneously, whiles it's possible when you have some files already generated it's impossible on "fresh install" (due to both processes start at a same time). So what I'm suggesting is to skip mandatory first compilation and have granular control over it. E.g.
{
  "scripts": {
    "prestart": "graphql-codegen",
    "start": "graphql-codegen --watch --skipFirst & webpack"
  }
}

And in this case it would still success to compile with webpack (Cuz all files already be in place while it would be boostraped) and will have re-compilation (cuz codegen would re-create files and then would trigger watcher of webpack, or any other bundler in place) of app.

I see, thank you @cbmd for explaining!
I can merge that but may be worth checking with @piglovesyou since he's doing some cool stuff with codegen and Webpack in https://github.com/piglovesyou/graphql-let , so maybe its something that can be beneficial as well?
Also, in most implementations of codegen and Webpack, the programmatic API is used, and then you can control when and how to call codegen.

fwiw I would really enjoy this feature. We currently commit our generated files so it is only necessary to regen when graphql documents or schema changes.


[Popper] Fix placement update logic

[x] I have followed (at least) the PR section of the contributing guide.

This PR address the placement argument not being updated as described in issue
Closes #17309

@hoop71 I'm adding a new test.

@hoop71 Thank you

Thanks for the help! You and Material rock!


v1.8.7 -- "totp-cli --version" does not show the right version

There is a small bug in v1.8.7.  Unlike other versions, runningtotp-cli --version does not show the right version.  It shows dev instaed of 1.8.7.
bash-3.2$ totp-cli --version
totp-cli version dev

I see the issue with my MacPorts Portfile.  It has been fixed.


Using a skeleton file with autocmd BufNewFile and then calling *CTRL-^* *CTRL-6* open skeleton file in a new buffer

Steps to reproduce
First, configure an autocmd that uses a skeleton template file when opening a file that matches a specific glob:
if has("autocmd")
  augroup templates
    autocmd BufNewFile *.myformat 0r /tmp/skeleton.myformat
  augroup END
endif

Reload the configuration. Then open a new file that matches that glob, e.g. _.myformat. This will autopopulate the buffer with the contents of /tmp/skeleton.myformat as expected. If you at any point use the "go to previous buffer" shortcut, C-^, without first switching to another buffer manually (by name or number), a new buffer will be made visible, that of the skeleton file.
Expected behaviour
Skeleton file should not ever appear in the buffer list.
Version of Vim
9.1.496
Environment
Debian trixie/testing
Logs and stack traces
No response

That is intentionally. See :h cpo-a


[Suggestion] allow to skip the empty directory check when initializing

Is your feature request related to a problem? Please describe.
On several occasions when executing cdk8s init I encountered the following error message: Cannot initialize a project in a non-empty directory. This is completely fine in most cases but e.g. when there's nothing else than a .git folder or anything cdk8s unrelated in the directory it would be very nice to skip this check.
Describe the solution you'd like
My proposal would be to add a generic --force or a more specific --skip-empty-check flag to the init command to allow skipping the is-directory-empty-check.
Describe alternatives you've considered
Right now I move all files out of the directory, execute cdk8s init and move the files back.

Hey @eladb, does the project team consider agreeing on this suggestion? If so please let me know whether my proposal sounds good. I'd like to work on this topic and prepare a PR.

Yes, I don’t have any objections. I think this needs to be implemented in sscaffs though

Ahh I see.
Just found out that aws-cdk had the same issue https://github.com/aws/aws-cdk/issues/1758. Their solution was to ignore hidden files which would be fine for me as well. IMO it makes sense to make both tools behave similar in this regard.

Agreed. Ignoring hidden files is a nice way to deal with it


SAB Modifications

Started redoing the SABNZBD module modifications that seemed to have been lost. If this is not merged soon I will probably try to add a couple of more things. At the moment the only actual functionality added is the ability to pause/resume the entire queue but the backbone code for more functions is already done in the python side.

Good stuff - merged!


examples/counter benchmarks

Re-write the example at examples/counter in Rust/Motoko and generate corresponding benchmarks.

[ ] Rust
[ ] Motoko
[ ] Azle
[ ] Benchmarks
[ ] Add to benchmarks.yaml
[ ] Add to test.yaml

I'd like to propose getting rid of this example since examples/motoko_examples/counter does the same stuff and more.
Thoughts @dansteren and @lastmjs

Should have responded sooner. I think we've decided to leave this for now but we are focusing on the motoko examples instead. I'm fine if we close this issue (but not delete the example code) unless Jordan thinks this is worth benchmarking after we do the motoko examples.


Add linux install script

Summary by CodeRabbit

New Features

Introduced an automated installation script for Linux, simplifying the setup process by installing necessary dependencies and configuring the environment for the project.

This bot is confusing me idk

This bot is confusing me idk

It just makes suggestions; there's no obligation to follow its advice.
Sometimes it introduces bugs!

Well i just added everything tho its just error logging

Let me know when your done, and I'll review and test.

I think im done

Should work

@dnhkng?

Sure, I'll review it now

I could not get the script to run.
The issue for me was related to this:
https://github.com/espeak-ng/espeak-ng/issues/1390
The install_linux script downloads the "espeak-ng-1.51.tar.gz" zip does not contain "dictionary.h".
I'm wondering how you got it to compile.  You can download this file:
https://github.com/espeak-ng/espeak-ng/archive/refs/tags/1.51.tar.gz
This has the missing  "dictionary.h"

But that wouldnt work on non-debian distros

Done

Squash merge if it works

Ok, I'll review again 👍

Look like its getting there!
For Ubuntu, you need to add a few extra thing:
add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.12 python3.12-venv

Also, the archives for llama.cpp for linux don't seem to exist.
curl -L "https://github.com/ggerganov/llama.cpp/releases/download/b3266/cudart-llama-bin-linux-cu12.2.0-x64.tar.gz"
curl -L "https://github.com/ggerganov/llama.cpp/releases/download/b3266/llama-b3266-bin-linux-cuda-cu12.2.0-x64.tar.gz"

I don't see these files here: https://github.com/ggerganov/llama.cpp/releases/tag/b3266
When the script fails to download them (it downloads a 'not found' text file), it then crashes at the unzipping step.

Where did you get those links from?

Idk i put a temporary link cuz idk

OK, busy now, but I'll fix it tomorrow evening.


Add search to global header

Description
This PR adds a global search to the global header
Related Issue(s) / Ticket(s)
Closes #474

It looks like there is a bug that routes you to a 404 page if you hit "enter" after typing in a search term. We should probably fix this as well before we go live with this feature.


Cant load idm bundles

Hi trying to integrate idm, on trying to load idm the bundles cant be found
https://localhost:44300/idm/assets/Scripts.Bundle.js
Is there somthing i've missed? The sample work fine but have been spending some time trying to get idm working on a fresh web application project with no luck.
Thanks

RAMMFAR

Cheers!


Autodetect NVIDIA

On dev branch there are new toggles for DXR and NVAPI. Auto detects a NVIDIA card to allow autolaunch of the NVAPI when necessary

Added a basic videocard detection on commit 2fff1b3eb04f6a045f2dde7ca9bc7337bd16f25d from dev branch.

Needs a proper POSIX portable detection system, right now the detection depends on specific Linux utilities that may not be installed or present on other UNIX systems

Im actually removing this feature to make the project simpler ;)


Close #11 rectangular tools

Adds rectangular tools support...

Now there is new tool rectangle that allows to draw rectangle.
There is no preview of draw (until mouse release) for now.

Preview is added.
TODO: Fix preview borders unexpected behavior with zooming. (Fix preview showing even if final draw result is being draw on layer that is below current top layer***) Review final code.

Close #11


Protect redefinition of common defines

MAX, MIN, NULL, TRUE, and FALSE are very common defines, redefining them
causes warnings if they are already defined.
This change only redefines these common macros if they are not already
defined.
Signed-off-by: Abe Kohandel<EMAIL_ADDRESS>

looks good

This is fine in the short-term, especially if it is causing issues in your build system. Long-term I think it should be

NULL comes from stddef.h.
true, false, and the bool datatype come from stdbool.h or are user-defined if the compiler only supports c89.
MIN and MAX should be LIBSPDM_MIN and LIBSPDM_MAX if they are user-visible, else their #defines should be moved to an internal header.

@steven-bellock, yeah this is a short term fix to address warnings in our build environment. I agree with your statements, would be great to move to using standard library provided defines.
Possibly a larger discussion but it would be nice to move to standard types for uintn, intn, boolean, and char8 as well.

uintn and intn are on their way out, boolean will become standard bool, and char8 is just char. I'm not sure why char8 exists. The boolean and char8 conversion can probably begin right away; I'll make issues for them. The uintn conversion needs more investigation, since it's used in pointer arithmetic.


Demo admin page not loading

Clicked on the link on main page for admin demo page, and it brought a page suggesting to open a ticket.
Link clicked: http://demo.simplcommerce.com/admin
Outcome:

It should work now


Update map logic to account for new "Required Seeds" setting

Flower Fields now allows a variable amount of seeds to open, this has been partially accounted for in the seeds_required_setting branch, but the map logic still needs to be updated.

I think the best way to handle this is break out "chapter 6 access" as it's own logic check so as not to bloat the html way more than it already is

https://github.com/Phantom5800/pmr-tracker/pull/61


Can pdfbox-layout set text to invisible?

I found that pdfbox can set a rendering mode (RENDERING_MODE_NEITHER_FILL_NOR_STROKE_TEXT) for text, so that this is invisible (foregroundcolor is backgroundcolor).
Is the a markup for pdfbox-layout to do such thing?

Not that way. But you can set the color by using markup, see the wiki.

ok, this was just an alternativ route to indentation, but meanwhile a different approach works well.


No Resource found

I am trying do use css file for styles, but Xamarin can't find it.
What do i do wrong?

@nanodesu88 Loading embedded resources is not the most intuitive thing. :)
The expected name is not the file itself main.css but its full name inside the assembly SqueakyApp2.main.css
(For example, if you had put the css file under a directory, the path would have been SqueakyApp2.DirectoryName.main.css)
See https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/styles/css/#c

@nanodesu88 Is your problem fixed?

Yes


Add class creation functionality to the character creation API endpoint

Not even sure if this feasible.

After some experimentation, this is not easy doable. It might not even be possible.


feature request: use single quotes instead of double quotes in JSX (like in VS Code)

Do you want to request a feature or report a bug?
Feature
What is the current/expected behavior?
Ability to toggle JSX Single Quote option

What version of vim-prettier are you using - (output of :PrettierVersion) ?
1.0.0-alpha
What version of prettier are you using - (output of  :PrettierCliVersion) ?
1.16.4^@
What is your prettier executable path - (output of  :PrettierCliPath) ?
../client/node_modules/.bin/prettier
Did this work in previous versions of vim-prettier and/or prettier ?
Not sure

HI @n-xlkt
Thanks for reporting this issue, looks like we need to add support on vim-prettier for both options:
  --jsx-bracket-same-line  Put > on the last line instead of at a new line.
  --jsx-single-quote       Use single quotes in JSX.

I will work on adding this to the release/1.x branch

I see this issue's been open for some time; has it been implemented?

I would like to know too if it has been implemented already or will be soon?

I quote the above messages.

Now is Dec 18 2020, any update @mitermayer


Add "--mlock" for M1 mac, on routes/chatRoutes.js

Adding the --mlock flag to the ./main call seemed to increase the speed of a 7B model to be much faster on an M1 Mac.
Modifying routes/chatRoutes.js with scriptArgs looking a little like this with the option enabled.
const scriptArgs = [
    '-m',
    modelPath,
    ...args,
    ...stopArgs,
    '--mlock',
    '-i',
    '-p',
    initPrompt
];

Thank you.

Done! and MORE: https://github.com/keldenl/gpt-llama.cpp/commit/71e836c08539782483fa0c9d2c186e2d70e3412a
Git pull in the latest changes or npm upgrade to 0.2.1 to get these changes
const supportedUserArgsToTypes = {
	threads: 'number',
	ctx_size: 'number',
	repeat_penalty: 'number',
	mlock: 'undefined',
	lora: 'string',
	'lora-base': 'string',
};

i haven't tested lora yet but i've tested the other ones and they work, just set these values (without the --) when you're starting the server, like so:
npm start mlock

and for those with values
npm start threads 10

and a mix works
npm start threads 10 mlock lora ../path/to/lora

lmk if you run into any issues!


Correct way to compute coefficient from wavelet decomposition (Need Explanation)

Hello, im trying to do mammogram image enhancement in wavelet domain based on this paper A Direct Image Contrast Enhancement Algorithm in the Wavelet Domain for Screening Mammograms where its used 4 level decomposition with 'db16' wavelet. The proposed algorithm  works by doing some computation on each level coefficient. For easier and faster reading here i provided a screenshoot of the paper describing the algorithm :

Following the algorithm here is my code (based on my understanding of the algorithm itself) :
LAMBDA = 1.80

#based on Eq.10 in the image
#coefficient computation
def compute(L,a,b,c):
    a_b = np.divide(a,b,out=np.zeros_like(a),where = b!=0)
    result = L * a_b * c
    print('max',np.max(result))
    return result

# For 4-level decomposition,
C = pywt.wavedec2(img, 'db16', mode='periodization', level=4)
# C =  [cA4,(cH4,cV4,cD4), (cH3,cV3,cD3),(cH2,cV2,cD2),(cH1,cV1,cD1)]
# C =  (C[0],   (C[-4]),      (C[-3]),      (C[-2]),      (C[-1]))

#--------Eq8 here

cA4 = C[0]
lcA4 = cA4
# for cA3,
C3=(cA4,(C[-4]))
cA3=pywt.waverec2(C3, 'db16', mode='periodization')
#the computation
print(1)
lcD4 = tuple([LAMBDA * v for v in C[-4]])
LC3 = (lcA4,lcD4)
lcA3 = pywt.waverec2(LC3,'db16',mode='periodization')

#--------Eq10 here

# for cA2,
C2 = (cA3,(C[-3]))
cA2 = pywt.waverec2(C2,'db16',mode='periodization')
#the computation
print(2)
lcD3 = tuple([compute(LAMBDA,v,cA3,lcA3) for v in C[-3]])
LC2 = (lcA3,lcD3)
lcA2 = pywt.waverec2(LC2,'db16',mode='periodization')

#for cA1,
C1 = (cA2,(C[-2]))
cA1 = pywt.waverec2(C1,'db16',mode='periodization')
#the computation
print(3)
lcD2 = tuple([compute(LAMBDA,v,cA2,lcA2) for v in C[-2]])
LC1 = (lcA2,lcD2)
lcA1 = pywt.waverec2(LC1,'db16',mode='periodization')

#for cA0
C0 = (cA1,(C[-1]))
cA0 = pywt.waverec2(C0,'db16',mode='periodization')
# the computation
print(4)
lcD1 = tuple([compute(LAMBDA,v,cA1,lcA1) for v in C[-1]])
LC0 = (lcA1,lcD1)
lcA0 = pywt.waverec2(LC0,'db16',mode='periodization')

enhanced_img = lcA0.astype(np.uint8)

This is the original image (a grayscale mammogram image) that im trying to enhance:

The original image have resolution of 1024 by 1024, i keep the image size 2^n by 2^n to avoid size error while reconstructing back. I used lettebox resizing method (to keep the aspect ratio of the image) before wavelet decomposing. This image has maximum pixel value of 242 and minimum pixel value of 0.
The result of the enhanced image (lcA0) is this:

As you can see there is alot of distortion in area that supposed to be black while (i think) there is enhancement in breast region. FYI the image before casted to uint8 has maximum pixel value of 9.139444144535558e+18 and minimum pixel value of -6.3183869251787e+18 and the view is all white in breast region with same distortion. After casted to uint8 the maximum pixel value is 255 with minimum of 0.
My hypothesis for the cause of this is due to the computation that i did in those wavelet coefficient as the max value of the resulted computation is so big like 1e+16 and more. But I dont know if its correct or not to point this as the cause. I also handled zero divison that might occur in the computation by setting the result to 0 and im not sure too if its the right way to do it.
Im asking because there are no many example of wavelet coefficient manipulation/computation and the value of the coefficient itself is kinda arbitary for me.
So i need some explanation to handle the value of computed coefficient if i ever needed or the right way to recostruct the image using the computed coefficient.Or maybe there other problem causing this.
Sorry this is rather a very long post but im not issuing any problem i just need your help to implement this enhancement techniques.
Thankyou.

Feel free to continue the discussion here, but I am going to close the issue as this page is primarily to report bugs or request specific features for the software rather than for general technical support.
We do have a mailing list for general discussion / technical questions, which while not super active does occasionally get community responses to questions.

You might want to try normalizing the image roughly to the range [-1, 1] first with something like:
image = image / np.abs(image).max()

I wouldn't cast to uint8 as PyWavelets is going to use floating point anyway for the transforms.
This looks like you need to define a foreground mask (i.e. True where there is signal and zero for background regions). One potential tool for auto-selecting a threshold is Otsu thresholding, but you may have luck just smoothing the image and then defining adjusting a threshold manually until you get a good mask.
One you have the mask you can then set all values not in the mask to zero after your coefficient division operations:
image[~mask] = 0

You can also potentially avoid divide by zero in the first place by just adding a very small constant to the denominator (i.e. add 1e-6 to the denominator values).

Hi @grlee77  thanks for the kind answer. Im sorry opening this as an issue, never meant to abd later on i will use the mailing list.
Before decomposing i cast the image to floa32 then only after reconstructing the final coefficient (cA0) i cast it back to uint8.
For normalizing the image, i already tried  this but i got different result, what i mean is when recostructing the final coefficient then i normalized it back to the initial range after that cast it to uint8 but the image became so dark.
By using a mask what you mean is to mask out all the distorted areas ?
For division by zero that actually a nice suggestion i will try it.
Thank you so much sir.


Install more dependencies required by packages

dos2unix installed for mingw-win-iconv, openoffice.org-dict-cs_CZ, pstoedit, pyparsing, python-sphinx sgpio
perl-devel installed for perl-Archive-Zip, perl-Data-OptList, perl-DBI, perl-Digest-SHA, perl-MRO-Compat, perl-File-Temp
rubygems installed for rubygem-kramdown rubygem-rspec rubygem-rspec-core rubygem-thread_order rubygem-rspec-support rubygem-rspec-mocks rubygem-coderay
gtk-doc installed for libappindicator, libiptcdata, libucil, libunicap, mingw-pango, orc

Related to: https://github.com/packit/dist-git-to-source-git/issues/56


minor jobsystem fixes

one version of run() ignored the flags parameter
don't immediately signal created jobs in froxelizer
to avoid redundant calls to signal()

Mathias should I also cherry pick this one into the rc branch?

No, this one is not very important.

Mathias should I also cherry pick this one into the rc branch?

No, this one is not very important.


Build the OrfTrimmer module

This is the next major step in development

ORF trimmer?

Yes, so this is the first "important thing" that clean-genes will do: trim all the sequences in an alignment to a common start and stop codon. The assumption is that all the sequences involved follow the assumptions of what should be aligned for the purpose of phylogenetics: They are similar due to common ancestry and can be understood properly under a single reading frame.

It's not yet perfect, or even well-tested, but it's built.

When I do prep for phylogenetic, particularly for HA, I do not always want things trimmed to start / stop because of ragged ends.
The minimum support for the column is what matters more to me. In that case, you are essentially looking for longest open reading frame.

Interesting, let's dig deeper during tomorrow morning's meeting!

I will make the whole software modular such that you can pick and choose what you want done. The software will choose for you what order these modules occur in though unless you choose to run them one-at-a-time.


chore(rollup): implement rollup configs [skip ci]

Implement rollup

All Codesandboxes are rendering correctly 🚀

Declining in favor of #23


Stuck on "finding"

Seems there is a bug somewhere, upon using pulsar and located a torrent for view the application get stuck in "finding" it will not proceed to buffering and downloading content.
some times the problem can be resolved by rebooting the machine.

I found the same problem, for me, reboot always helps.
Steps to reproduce:

watch a few episodes (sometimes only one is enough)
after stop watching wait for a few minutes (5-10 min)
try to watch another episode

BUG: progress loader gets stuck on the finding step and retrying to select the same or any other video doesn't help. In the meanwhile while there is "finding" shown, number of seeders and peers are changing.
WORKAROUND: reboot the machine (in my case Raspberry PI 2)

same here


*: move out pd work from raftstore

In order to let PD work be able to receive messages from any module, extract it from raftstore. and then I will refactor coprocessor report mechanism in https://github.com/pingcap/tikv/pull/2337

LGTM
PTAL @huachaohuang @BusyJay

LGTM

@huachaohuang
Do we need to update the grafana?

I'm refactoring the related metrics too, I will update them later.


Fakes and unit tests for IndexExistsCheck

PR for #149
Also wrote Fake for Step to simplify all *Check unit tests, reduce the need for mocking.

Coverage increased (+1.003%) to 82.846% when pulling dc80fb476f1af991a748c7cb4ab0a220c826c62f on 149 into 6a29a31f797c0c3bc0d8acf307be1ef1cda0416e on master.

@rultor merge please

@rultor merge please

@amihaiemil OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge please

@amihaiemil Done! FYI, the full log is here (took me 1min)


Turtlebot3 Won't Connect to School WiFi

ISSUE TEMPLATE ver. 0.4.0

Which TurtleBot3 platform do you use?

[ X ] Burger
[ ] Waffle
[ ] Waffle Pi

Which ROS is working with TurtleBot3?

[ ] ROS 1 Kinetic Kame
[ ] ROS 1 Melodic Morenia
[ X ] ROS 1 Noetic Ninjemys
[ ] ROS 2 Dashing Diademata
[ ] ROS 2 Eloquent Elusor
[ ] ROS 2 Foxy Fitzroy
[ ] etc (Please specify your ROS Version here)

Which SBC(Single Board Computer) is working on TurtleBot3?

[ ] Intel Joule 570x
[ ] Raspberry Pi 3B+
[ X ] Raspberry Pi 4
[ ] etc (Please specify your SBC here)

Which OS you installed on SBC?

[ ] Raspbian distributed by ROBOTIS
[ ] Ubuntu MATE (16.04/18.04/20.04)
[ ] Ubuntu preinstalled server (18.04/20.04)
[ X ] etc (ROS Noetic image distributed by ROBOTIS)

Which OS you installed on Remote PC?

[ ] Ubuntu 16.04 LTS (Xenial Xerus)
[ ] Ubuntu 18.04 LTS (Bionic Beaver)
[ X ] Ubuntu 20.04 LTS (Focal Fossa)
[ ] Windows 10
[ ] MAC OS X (Specify version)
[ ] etc (Please specify your OS here)

Specify the software and firmware version(Can be found from Bringup messages)

Software version: [x.x.x]
Firmware version: [x.x.x]

Specify the commands or instructions to reproduce the issue.

HERE

Copy and Paste the error messages on terminal.

HERE

Please describe the issue in detail.

We're following the ROBOTIS Turtlebot3 e-Manual Noetic instructions for SBC Setup, and we ran into an issue with step 3.2.6 with editing the SD card. The network we want to connect the Turtlebot to is a school network that requires both a username and a password, but the instrcutions only show how to edit 50-cloud-init.yaml by adding a password. We  added an identity line for the username, but it didn't seem to help.
All of our alternatives for WiFi don't require usernames or passwords at all, like school Guest or IoT networks. We couldn't connect the Turtlebot3 through any of these networks using the SD card setup. We've made a little progress with Turtlebot3 hardware installation and setup by connecting the RPi to ethernet, but we need WiFi to be able to connect to the RemotePC.

Hi @dean24-up
For a specific network environment, please contact your network manager.
You may refer to the link below about specifying the username and password.
https://askubuntu.com/questions/1352808/how-to-connect-raspberry-pi-to-wifi-that-requires-username-and-password
Thank you.

Hi @ROBOTIS-Will
Thank you! We followed the instructions in the link and got the username/password network to work. We'll contact our network manager about the other networks, but the TurtleBot is now connected to WiFi.

@dean24-up
Awesome! Thanks for the udpates :)
I'll close this ticket if you don't have additional issues related to this.


Test on Swift 4

Codecov Report

Merging #32 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #32   +/-   ##
=======================================
  Coverage   82.18%   82.18%
=======================================
  Files           4        4
  Lines         247      247
=======================================
  Hits          203      203
  Misses         44       44

Flag
Coverage Δ

#Configuration
82.18% <ø> (ø)
:arrow_up:

#TestProgram
82.18% <ø> (ø)
: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 e4b011c...0adca69. Read the comment docs.


Code fails on Venstar T4800 and T4900 Commercial Thermostats

My Fixes
172,173c172
<         if self._type != "commercial":  #Commercial thermostats don't support "away"
<           self.away = self.get_info("away")

    self.away = self.get_info("away")

198,199c197
<         #elif self.model == "COLORTOUCH":
<         elif self.model == "VYG-4900-VEN" or self.model == "VYG-4800-VEN" or self.model == "COLORTOUCH":

    elif self.model == "COLORTOUCH":

I'm more likely to be able to handle this in a timely manner if you send a pull request.   Thanks!

Never done one before.  Will learn how!
Bob Roswell
<EMAIL_ADDRESS>410-771-5544 ext 4336
Computer Museum Highlightshttp://museum.syssrc.com/
[syssrclogo_38years]
From: Herb Peyerl
Sent: Friday, February 14, 2020 11:12 AM
To: hpeyerl/venstar_colortouch<EMAIL_ADDRESS>Cc: Bob Roswell<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: [EXTERNAL] Re: [hpeyerl/venstar_colortouch] Code fails on Venstar T4800 and T4900 Commercial Thermostats (#23)
I'm more likely to be able to handle this in a timely manner if you send a pull request. Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_hpeyerl_venstar-5Fcolortouch_issues_23-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DABORPT66U5C4SRVAECUVGXDRC27ERA5CNFSM4KVKCOA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELZRLYY-23issuecomment-2D586356195&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=IdFC6KVjMh11poEAtOxdlSfBzRH90l3lbPvEjfJS1FE&m=76R9WFqfnOwH3WiLGfbhL8Kr11DNxbR2d6ogcvObcy0&s=tugrqPiNxr98yivitf9AdLTFqlfdmtO6MAkhacG2tTY&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABORPT7YBRODSJW562V3US3RC27ERANCNFSM4KVKCOAQ&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=IdFC6KVjMh11poEAtOxdlSfBzRH90l3lbPvEjfJS1FE&m=76R9WFqfnOwH3WiLGfbhL8Kr11DNxbR2d6ogcvObcy0&s=7kmop6TOMcape153w4VLStBCtl5x3ZicXYaPFWxwBTA&e=.

Hope I did the pull request properly. Sorry, Github newbie.
Bob Roswell
<EMAIL_ADDRESS>410-771-5544 ext 4336
Computer Museum Highlightshttp://museum.syssrc.com/
[syssrclogo_38years]
From: Herb Peyerl
Sent: Friday, February 14, 2020 11:12 AM
To: hpeyerl/venstar_colortouch<EMAIL_ADDRESS>Cc: Bob Roswell<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: [EXTERNAL] Re: [hpeyerl/venstar_colortouch] Code fails on Venstar T4800 and T4900 Commercial Thermostats (#23)
I'm more likely to be able to handle this in a timely manner if you send a pull request. Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_hpeyerl_venstar-5Fcolortouch_issues_23-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DABORPT66U5C4SRVAECUVGXDRC27ERA5CNFSM4KVKCOA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELZRLYY-23issuecomment-2D586356195&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=IdFC6KVjMh11poEAtOxdlSfBzRH90l3lbPvEjfJS1FE&m=76R9WFqfnOwH3WiLGfbhL8Kr11DNxbR2d6ogcvObcy0&s=tugrqPiNxr98yivitf9AdLTFqlfdmtO6MAkhacG2tTY&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABORPT7YBRODSJW562V3US3RC27ERANCNFSM4KVKCOAQ&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=IdFC6KVjMh11poEAtOxdlSfBzRH90l3lbPvEjfJS1FE&m=76R9WFqfnOwH3WiLGfbhL8Kr11DNxbR2d6ogcvObcy0&s=7kmop6TOMcape153w4VLStBCtl5x3ZicXYaPFWxwBTA&e=.


Application requirements

As a developer,
I need to know what are the software requirements, scopes, and any other related objectives.

About
Notification platform is a dockerized SaaS application which is accessible via Restful API that handles delivering notifications through various channels (1 or more channel at the same time (via 1 request)) to the users.
Vocabs
NP = Notification Platform
RN = Realtime Notification
DN = Delated Notification
Mechanism
Suggested method is store-and-forward system. This means that the NP saves each notification on it's own database engine (SQLite OR MariaDB). On a specific period of time, each 1 minute, a CRON job triggers an action that handles sending any DN stored on the database.
For RNs, the notification is saved on the database and execute send method immediately (The flow is the same with DN).


Add a share-by-link solves csv/json endpoint

Changing the solves endpoint to be link-shareable like the update endpoint for better integration. For the secret, I'm using a hash of the private key for the dojo's deploy key (didn't want to reuse the update code because granting update permissions shouldn't necessarily be the same as granting solves access).

https://docs.docker.com/reference/dockerfile/#env
The ENV instruction also allows an alternative syntax ENV <key> <value>, omitting the =.
...
The alternative syntax is supported for backward compatibility, but discouraged for the reasons outlined above, and may be removed in a future release.

What makes this new syntax more "modern"?

Docker on my desktop was actively refusing to build with the "old" format... I figured we should just move with the times.
Do you like the rest of the changes? Itching to merge given the huge code move (to avoid conflicts).

Just wanted to state that this PR looks good to me and I agree with the feature idea.
I think long term we might want to not represent this secret as a hash of the private key, but this seems pretty inconsequential for now (I do like the idea of deriving sub-secrets from a singular dojo secret). Also, in this PR you still keep ENV LC_CTYPE=C.UTF-8, so I'm a little bit confused about what is going on with your docker.


How to skip SocketError?

I, [2018-10-23T12:10:35.535202 #301]  INFO -- : Info: items: sent: 28, processed: 26
D, [2018-10-23T12:10:35.535471 #301] DEBUG -- : Browser: sleep 0.4 seconds before request...
I, [2018-10-23T12:10:35.935690 #301]  INFO -- : Browser: started get request to: https://www.video.com/?q=xxx&p=9
I, [2018-10-23T12:11:05.967685 #301]  INFO -- : Info: visits: requests: 38, responses: 37
I, [2018-10-23T12:11:05.967887 #301]  INFO -- : Browser: driver mechanize has been destroyed

Spider: stopped: {:spider_name=>"videos_spider", :status=>:failed, :error=>"#<SocketError: Failed to open TCP connection to www.video.com:443 (getaddrinfo: Name or service not known)>", :environment=>"production", :start_time=>2018-10-23 04:31:46 +0000, :stop_time=>2018-10-23 12:11:05 +0000, :running_time=>"7h, 39m", :visits=>{:requests=>38, :responses=>37}, :items=>{:sent=>28, :processed=>26}, :events=>{:requests_errors=>{}, :drop_items_errors=>{"#<Kimurai::Pipeline::DropItemError: Item download error.>"=>2}, :custom=>{}}}

I want to skip this error and keep spider to next page.
My spider's config:
@config = {
    skip_request_errors: [
      { error: RuntimeError, message: "404 => Net::HTTPNotFound" },
      { error: Net::HTTPNotFound, message: "404 => Net::HTTPNotFound" },
      { error: Down::ConnectionError, message: "Down::ConnectionError, Item Dropped." },
      { error: Net::OpenTimeout, message: "Net::OpenTimeout, Item Dropped." },
      { error: SocketError, message: "SocketError, Item Dropped." },
    ],
    before_request: {
      delay: 0.4
    }
  }

@caecity43
Here is your error which you want to skip:
#<SocketError: Failed to open TCP connection to www.video.com:443 (getaddrinfo: Name or service not known)>

Where class of error is SocketError and message is Failed to open TCP connection to www.video.com:443 (getaddrinfo: Name or service not known).
You config:
error: SocketError, message: "SocketError, Item Dropped."

Like you see, there is no match. Correct will be: error: SocketError, message: "Failed to open TCP connection to www.video.com". Or you can just provide error class as well, example:
    skip_request_errors: [
      { error: RuntimeError, message: "404 => Net::HTTPNotFound" },
      { error: Net::HTTPNotFound, message: "404 => Net::HTTPNotFound" },
      { error: Down::ConnectionError, message: "Down::ConnectionError, Item Dropped." },
      { error: Net::OpenTimeout, message: "Net::OpenTimeout, Item Dropped." },
      SocketError
    ],

It will work as well.

@vifreefly Thanks, I will try this. 👍

Spider: stopped: {:spider_name=>"videos_spider", :status=>:failed, :error=>"#<RuntimeError: Received the following error for a GET request to https://www.videos.com/test'404 => Net::HTTPNotFound for https://www.videos.com/test -- unhandled response'>", :environment=>"production", :start_time=>2018-10-30 07:33:15 +0000, :stop_time=>2018-10-30 09:38:56 +0000, :running_time=>"2h, 5m", :visits=>{:requests=>27, :responses=>26}, :items=>{:sent=>13, :processed=>13}, :events=>{:requests_errors=>{}, :drop_items_errors=>{}, :custom=>{}}}

my config:
  @config = {
    #retry_request_errors: [Net::ReadTimeout],
    skip_request_errors: [
      { error: RuntimeError, message: "404 => Net::HTTPNotFound" },
      { error: Net::HTTPNotFound, message: "404 => Net::HTTPNotFound" },
      { error: Down::ConnectionError, message: "Down::ConnectionError, Item Dropped." },
      { error: Net::OpenTimeout, message: "Net::OpenTimeout, Item Dropped." },
      Net::HTTPNotFound,
      SocketError,
    ],
    before_request: {
      delay: 0.4
    }
  }

it not working.

@caecity43  which version of Kimurai do you use?

@caecity43, LGTM:
$ kimurai -v
1.2.0

# example_spider.rb
require 'kimurai'
require 'net/http'

class ExampleSpider < Kimurai::Base
  @name = "example_spider"
  @engine = :mechanize
  @start_urls = ["https://www.videos.com/test"]
  @config = {
    skip_request_errors: [
      { error: RuntimeError, message: "404 => Net::HTTPNotFound" }
    ]
  }

  def parse(response, url:, data: {})
    logger.info response.title
  end
end

ExampleSpider.crawl!

$ ruby example_spider.rb

I, [2018-10-31 09:02:53 +0400#7185] [M:<PHONE_NUMBER>6200]  INFO -- example_spider: Spider: started: example_spider
D, [2018-10-31 09:02:54 +0400#7185] [M:<PHONE_NUMBER>6200] DEBUG -- example_spider: BrowserBuilder (mechanize): created browser instance
D, [2018-10-31 09:02:54 +0400#7185] [M:<PHONE_NUMBER>6200] DEBUG -- example_spider: BrowserBuilder (mechanize): enabled skip_request_errors
I, [2018-10-31 09:02:54 +0400#7185] [M:<PHONE_NUMBER>6200]  INFO -- example_spider: Browser: started get request to: https://www.videos.com/test
E, [2018-10-31 09:02:55 +0400#7185] [M:<PHONE_NUMBER>6200] ERROR -- example_spider: Browser: skip request error: #<RuntimeError: Received the following error for a GET request to https://www.videos.com/test: '404 => Net::HTTPNotFound for https://www.videos.com/test -- unhandled response'>, url: https://www.videos.com/test
I, [2018-10-31 09:02:55 +0400#7185] [M:<PHONE_NUMBER>6200]  INFO -- example_spider: Info: visits: requests: 1, responses: 0
I, [2018-10-31 09:02:55 +0400#7185] [M:<PHONE_NUMBER>6200]  INFO -- example_spider: Browser: driver mechanize has been destroyed
I, [2018-10-31 09:02:55 +0400#7185] [M:<PHONE_NUMBER>6200]  INFO -- example_spider: Spider: stopped: {:spider_name=>"example_spider", :status=>:completed, :error=>nil, :environment=>"development", :start_time=>2018-10-31 09:02:53 +0400, :stop_time=>2018-10-31 09:02:55 +0400, :running_time=>"1s", :visits=>{:requests=>1, :responses=>0}, :items=>{:sent=>0, :processed=>0}, :events=>{:requests_errors=>{"#<RuntimeError: Received the following error for a GET request to https://www.videos.com/test: '404 => Net::HTTPNotFound for https://www.videos.com/test -- unhandled response'>"=>1}, :drop_items_errors=>{}, :custom=>{}}}

@vifreefly I use 1.2.0 too

@caecity43
Ok, so my example spider above works for you? If not, provide minimal spider example which fails, so I will able to investigate the problem. Or I'll close this issue.

@vifreefly
the example is not the expected result.
[deploy@localhost spiders]$ ruby example_spider.rb
I, [2018-11-01 00:42:56 -0400#22641] [M:<PHONE_NUMBER>6360]  INFO -- example_spider: Spider: started: example_spider
D, [2018-11-01 00:42:57 -0400#22641] [M:<PHONE_NUMBER>6360] DEBUG -- example_spider: BrowserBuilder (mechanize): created browser instance
I, [2018-11-01 00:42:57 -0400#22641] [M:<PHONE_NUMBER>6360]  INFO -- example_spider: Browser: started get request to: https://www.videos.com/test
I, [2018-11-01 00:42:57 -0400#22641] [M:<PHONE_NUMBER>6360]  INFO -- example_spider: Info: visits: requests: 1, responses: 0
I, [2018-11-01 00:42:57 -0400#22641] [M:<PHONE_NUMBER>6360]  INFO -- example_spider: Browser: driver mechanize has been destroyed
F, [2018-11-01 00:42:57 -0400#22641] [M:<PHONE_NUMBER>6360] FATAL -- example_spider: Spider: stopped: {:spider_name=>"example_spider", :status=>:failed, :error=>"#<RuntimeError: Received the following error for a GET request to https://www.videos.com/test: '404 => Net::HTTPNotFound for https://www.videos.com/test -- unhandled response'>", :environment=>"development", :start_time=>2018-11-01 00:42:56 -0400, :stop_time=>2018-11-01 00:42:57 -0400, :running_time=>"0s", :visits=>{:requests=>1, :responses=>0}, :items=>{:sent=>0, :processed=>0}, :events=>{:requests_errors=>{}, :drop_items_errors=>{}, :custom=>{}}}
Traceback (most recent call last):
	13: from example_spider.rb:19:in `<main>'
	12: from /home/deploy/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/kimurai-1.1.0/lib/kimurai/base.rb:120:in `crawl!'
	11: from /home/deploy/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/kimurai-1.1.0/lib/kimurai/base.rb:120:in `each'
	10: from /home/deploy/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/kimurai-1.1.0/lib/kimurai/base.rb:121:in `block in crawl!'
	 9: from /home/deploy/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/kimurai-1.1.0/lib/kimurai/base.rb:194:in `request_to'
	 8: from /home/deploy/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/kimurai-1.1.0/lib/kimurai/capybara_ext/session.rb:20:in `visit'
	 7: from /home/deploy/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/capybara-3.7.2/lib/capybara/session.rb:262:in `visit'
	 6: from /home/deploy/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/capybara-3.7.2/lib/capybara/rack_test/driver.rb:44:in `visit'
	 5: from /home/deploy/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/capybara-3.7.2/lib/capybara/rack_test/browser.rb:23:in `visit'
	 4: from /home/deploy/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/capybara-3.7.2/lib/capybara/rack_test/browser.rb:42:in `process_and_follow_redirects'
	 3: from /home/deploy/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/capybara-3.7.2/lib/capybara/rack_test/browser.rb:75:in `process'
	 2: from /home/deploy/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/capybara-mechanize-1.11.0/lib/capybara/mechanize/browser.rb:47:in `block (2 levels) in <class:Browser>'
	 1: from /home/deploy/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/capybara-mechanize-1.11.0/lib/capybara/mechanize/browser.rb:119:in `process_remote_request'
/home/deploy/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/capybara-mechanize-1.11.0/lib/capybara/mechanize/browser.rb:141:in `rescue in process_remote_request': Received the following error for a GET request to https://www.videos.com/test: '404 => Net::HTTPNotFound for https://www.videos.com/test -- unhandled response' (RuntimeError)

@vifreefly
My bad, I still use 1.1.0.
it works after update to 1.2.0.


[FixCode] Apply coercion fixit for assignment types' mismatch too.

[FixCode] Apply coercion fixit for assignment types' mismatch too. rdar://27681428

Resolved bug number: (SR-)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

A smoke test on macOS does the following:

Builds the compiler incrementally.
Builds the standard library only for macOS. Simulator standard libraries and
device standard libraries are not built.
lldb is not built.
The test and validation-test targets are run only for macOS. The optimized
version of these tests are not run.

A smoke test on Linux does the following:

Builds the compiler incrementally.
Builds the standard library incrementally.
lldb is built incrementally.
The swift test and validation-test targets are run. The optimized version of these
tests are not run.
lldb is tested.

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

…ar://27681428

@DougGregor could you please review this for Swift 3?

@swift-ci Please smoke test OS X platform

@swift-ci Please smoke test os x platform

LGTM!

This broke tests on Linux. Reverting in #4332.

The fix looks okay, so please recommit with appropriately updated tests.

Thanks, @DougGregor ! We've updated tests and recommitted this.


Write staking ledgers

Introduce controller for stakingLedgers resource
Support upload of staking ledgers
Linted project

Tested resources:
/consensus
/blocks?key
/staking-ledger/epoch/id?key
/staking-ledger/hash?key


Update Issue - Automate_undefined_54976

default description

Property
Value

Browser
Chrome 100.0

Operating System
Windows 10

Resolution
1280x588

Screenshot Attached
Screenshot URL

Updated Screenshot Attached


getorderinfo exception

Version

AaioAsync - 0.1.7

This error occurs on unpaid orders
To correct the Order model, you need to change the field commission_type
commission_type: typing.Optional[str] = None

Fixed in 0.1.8. Thank you for the information provided.


Overriden providers are not passed to dialogs or modals

I have a problem when I want to override a provider and pass them to a bottom sheet.
Here the provider is overridden:
Widget build(BuildContext context, WidgetRef ref) {
    final business = ref.watch(fetchBusinessProvider(businessCustomId, locationId: locationId));
    return switch (business) {
      AsyncError(:final error, :final stackTrace) => ErrorDisplay(error: error, stackTrace: stackTrace),
      AsyncData(:final value) => ProviderScope(
          // parent: ProviderScope.containerOf(context),
          overrides: [
            currentBusinessControllerProvider.overrideWith(() => CurrentBusinessController.override(value)),
          ],
          child: const _BusinessView(),
        ),
      _ => const LoadingIndicator(),
    };
  }

NOTE: I tried adding the parent property but it did not work
_BusinessView is just another widget so the override works.
I have a widget called _ItemsList, which renders inside _BusinessView, and in the build method of the _ItemsList widget I have:
print("Exists here: ${ProviderScope.containerOf(context).exists(currentBusinessControllerProvider)}");

Which prints:
Exists here: true
_ItemsList just contains a bunch of items, that, when clicked:
final parentContainer = ProviderScope.containerOf(context);
showModalBottomSheet(
                context: context,
                isScrollControlled: true,
                builder: (context) => ProviderScope(
                  // parent: parentContainer,
                  overrides: [
                       // this can safely be ignored, I don't think this causes any problem
                       currentBasketItemProvider.overrideWithValue(BasketItem.fromProduct(product)),
                  ],
                  child: const ProductSheet(),
                ),
              );

NOTE: Again, I tried passing the parent but no solution
And, inside ProductSheet:
@override
  Widget build(BuildContext context, WidgetRef ref) {
    print("Exists in ProductSheet: ${ref.exists(currentBusinessControllerProvider)}");

    ...
}

Which prints: Exists in ProductSheet: false.

I tried using parent as my notes say. I doesn't work @rrousselGit

Please re-open because using parent does not solve the issue

You should specifically explain why parent doesn't work. Saying that it doesn't work isn't enough information.

Well, I don't know why parent doesn't work. Adding parent or removing it executes the same way. What do you need to know?