Error when creating new license file

I'm trying to encode a new license file, but i got the following error :
Exception in thread "main" java.lang.IllegalArgumentException: Can't find signing key in key ring.
at com.verhas.licensor.License.loadKey(License.java:392)
at com.verhas.licensor.License.loadKey(License.java:348)
at com.verhas.licensor.License.loadKey(License.java:214)
at License3j.encode(License3j.java:84)
at License3j.main(License3j.java:170)

I had the same problem and debugging showed that somehow the whitespace is a problem for the commandline args processor.
The --key="xxx (gfdsg<EMAIL_ADDRESS>gets reduced to --key=xxx
Bummer :-(
call:
gpg --edit-key "xxx (gfdsg<EMAIL_ADDRESS>and run "adduid"
enter just a name w/o any blanks, no email, no comment.
Afterwards you can use the new uid to create licenses.
But beware! Both the checksum and the digest have changed.

Cheers, Holger

Is there any solution to this problem. Because it makes this library not usable at all.

Use the operating system dependent space escaping. On Unix for example you can write
--key=xxx\ gfdsg\ info...

If the program gets the arguments separated in the public static void main(String[]) argument it can not do anything about it. It should not assume that two consecutive arguments are just one argument and glue them with space, because in that case there would be other mysterious errors.


Logpipes cannot capture DB startup

When the DB dies on startup, logpipes fail to capture the init logs.

Code looks good. Also, tested manually with a case where the DB is crashing immediately. See issue https://github.com/cloudnative-pg/cloudnative-pg/issues/209
With the patch,
  "level": "info",
  "ts":<PHONE_NUMBER>.9191475,
  "logger": "postgres",
  "msg": "record",
  "logging_pod": "restore-cl-3a50-1",
  "record": {
    "log_time": "2022-05-30 11:06:36.918 UTC",
    "process_id": "44",
    "session_id": "6294a53c.2c",
    "session_line_num": "5",
    "session_start_time": "2022-05-30 11:06:36 UTC",
    "transaction_id": "0",
    "error_severity": "FATAL",
    "sql_state_code": "XX000",
    "message": "could not locate required checkpoint record",
    "hint": "If you are restoring from a backup, touch \"/var/lib/postgresql/data/pgdata/recovery.signal\" and add required recovery options.\nIf you are not restoring from a backup, try removing the file \"/var/lib/postgresql/data/pgdata/backup_label\".\nBe careful: removing \"/var/lib/postgresql/data/pgdata/backup_label\" will result in a corrupt cluster if restoring from a backup.",
    "backend_type": "startup",
    "query_id": "0"
  }
}


Files in /tmp - what and why and how

Finding these files in /tmp and wondering what they are, why are they there, and how do I use them? Since our /tmp is a TFS it goes away every IPL so if these are important then they need to be saved elsewhere.

@lbdyck I don't see files like those left in /tmp on our system.
@IgorTodorovskiIBM I do see some of these:

Can they be removed?
thanks

Those files should be removed once the zopen instance terminates through the use of signal handlers - they don't seem to be though.

We have problems with these files, too.
From time to time we have issue with parallel logins.
Will add the error message, when I came accross this problem, again.


SS01S Compatibility

Hey, I'd love to add in compatibility for the SS01S Switch
I'm more than happy to create the PR myself and I've started trying to work on the code but would you happen to have any pointers? I started off by flashing the DS02S firmware just to see but that doesn't work for obvious reasons.
I know need to remove the "dimmer" functionality and possibly update the proper GPIO
I already had these switches configured with Tasmota like so
{"NAME":"Treatlife Switch","GPIO":[0,0,0,0,288,576,1,1,224,160,0,0,0,1],"FLAG":0,"BASE":18}
and hopefully that would help identify the proper GPIO
Anyway, in short, looking for some pointers as to where to update the GPIO values (I haven't found it yet in the code)
~oh, also, I'm assuming when developing you override the wifi so it doesn't go to the capture portal every time, I will look into how to do that but if you see this before I figure it out that would be helpful too~
I think I got it wifiManager.autoConnect("AutoConnectAP", "password")

Hey Alex!  Since the SS01S just has a simple relay, I typically just use the HomeKit Accessory Architect (HAA) firmware.  While we could add it here, the whole point of this project was to expose the Tuya serial protocol to HomeKit (which isn’t really a thing for those on/off relay switches… just a GPIO output).
Hope that makes sense, and helps!

Thanks! This is so much better!


In the data label, the details of the combination of image and radar

@ZhangAoCanada Hi，Thanks for your sharing. I don't know if my understanding is correct about figue2 in your paper.

image branch:  Get the depth map and instance segmentation through the image, and then get the 3D box , and then map this 3D box to the RA map, and final get the 2D box in RA map.
radar branch:  We can obtain some possible target radar points through the clustering method.

How to integrate the 2D box with the radar cluster points in RA map, for example, for some 2D boxes, there is no corresponding radar cluster points. I am very much looking forward to your reply, thanks again。

Hi, thanks for your message.
For camera: after depth map and segmentation, I get 3D points, not 3D boxes. Then those 3D points are projected to 2d points. Based on the segmentation, we can cluster these 2D points.
For radar: the obtained radar points are then processed with DBSCAN to generate clusters.
The matching process is a GNN-like algorithm (think it as Hungarian Algorithm). This means, when there is a radar cluster, we match it with the globally closest camera cluster.
If there are radar clusters not being labelled, we will manually fix them after the process.
If there are camera clusters not being matched, we will try different radar pre-process methods. If the problem stays, we will delete this frame.
That's how we did the annotations........

@ZhangAoCanada Thank you very much for your quick reply！ If it is considered as Hungarian Algorithm，how to calculate the similarity between two clustered point? Further, could you tell me the specific matching algorithm, such as which code or paper I can refer. Thank you very much!

@ZhangAoCanada Another question, is there lidar? Why not use lidar to make labels?  I am very much looking forward to your reply, thanks again!!

Hi,
I used a very simple method, Euclidean distance between the center points of two clusters. The matching algorithm i used was Hungarian Algorithm. You can try better matching algorithms to reach higher annotation precision....
The reason why not using Lidar: we purchased a Lidar at the time, but the delievery was delayed due to COVID-19. I had to figure out another way to annotate radar data (stereo cameras)....

@ZhangAoCanada Thank you very much for your answer, I understand, Thanks again.


Filter's slider can no longer be moved, if one of its ends is out of range of available data

Case 1: set min/max range manually in filter

Open a table with at least one date or numerical column
Open filters and add this column to filters
Show min/max
Enter min or max outside of range of available data
Drag the filter slider

Case 2: data is changed and saved layout is re-applied

Open a table with at least one date or numerical column
Open filters and add this column to filters
Filter out some data by moving one of the slider's ends
Save layout
Change values in the table, so that min or max set on step 3 is out of data range
Re-apply saved layout
Drag the filter slider

Expected results: Filter's slider can be dragged.
Actual results: filter's slider cannot be dragged until range is adjusted by manually entering a value.

DG 1.17.0


Option to Manually Enter 'Buffer AOI' Distance

Is there are way to easily implement the option to manually override the default buffer distance?

I think if this was exposed to the user it would be difficult to understand - the buffering area is only really for large regions, and the units are degrees which don't map consistently to kilometers. I think users that need more specific areas should be able to buffer any geometries in their own GIS program or otherwise draw an extent using the freeform tool.
In the case where simplification happens that potentially loses area - I'm investigating if the simplification can be improved

That sounds like a good alternative. If the amount of simplification can be reduced, that might help with the loss of features close to the boundary. At the moment, the boundary is automatically altered too much.

@mataharimhairi can you try creating a Surabaya export again on staging and see if the simplification has improved?

@mataharimhairi can you check that the GeoJSON that was oversimplified before is fine now? Closing this issue.


Show post preview when mouse hover over post thumbnail in catalog

Show a full preview of OP post when mouse is hovering over the thumbnail in catalog view.

This was done.


400 Bad Request

From today, I stop downloading the courses.
I have tried many times without success ...

Same here, I get this and also in the next try the error 429 (Too many requests).

you can use cookies based authentication until i fix the issue.

you can use cookies based authentication until i fix the issue.

This works. I am downloading one of my courses. I understand they might be worried about piracy but if you own a course you must have the right to download it

how can I get my cookies?

cookie is also not working for me

Same here, even with cookie not working.

Cookies work fine for me 🍪

Cookies work, but the cookie parser is very fragile with no documentation, and no debug output.
So I stepped through the source code and studied the logic.
Make a text file with this exact format:
Cookie: access_token=youraccesstokenvalue client_id=yourclientid

You need the "Cookie:" tag, space separators, '=' delimiter, and absolutely no line breaks.
Use a cookie chrome extension to get the values you need.

Cookies Workaround
Cookies do work, but the cookie parser is very fragile with no documentation and no debug output.
So I stepped through the source code and studied the logic.
Make a text file (cookie.txt) with this exact format:
Cookie: access_token=youraccesstokenvalue client_id=yourclientid

You need the "Cookie:" tag, space separators, '=' delimiter, and absolutely no line breaks.
Use the cookie switch: --cookie=cookie.txt
To get the actual values, you can use a cookie chrome extension.

yes ,, this working with me :-)
thanks

Cookies Workaround
Cookies do work, but the cookie parser is very fragile with no documentation and no debug output.
So I stepped through the source code and studied the logic.
Make a text file (cookie.txt) with this exact format:
Cookie: access_token=youraccesstokenvalue client_id=yourclientid

You need the "Cookie:" tag, space separators, '=' delimiter, and absolutely no line breaks.
Use the cookie switch: --cookie=cookie.txt
To get the actual values, you can use a cookie chrome extension.

Traceback (most recent call last):
File "C:\udemy-dl-master\udemy-dl.py", line 1443, in
main()
File "C:\udemy-dl-master\udemy-dl.py", line 952, in main
f_in = open(options.cookies)
FileNotFoundError: [Errno 2] No such file or directory: 'cookie.txt'
I still get this problem,
please how can I fix it
and is there any short video tutorial about cookies based authentication ?

Cookies Workaround
Cookies do work, but the cookie parser is very fragile with no documentation and no debug output.
So I stepped through the source code and studied the logic.
Make a text file (cookie.txt) with this exact format:
Cookie: access_token=youraccesstokenvalue client_id=yourclientid

You need the "Cookie:" tag, space separators, '=' delimiter, and absolutely no line breaks.
Use the cookie switch: --cookie=cookie.txt
To get the actual values, you can use a cookie chrome extension.

Traceback (most recent call last):
File "C:\udemy-dl-master\udemy-dl.py", line 1443, in
main()
File "C:\udemy-dl-master\udemy-dl.py", line 952, in main
f_in = open(options.cookies)
FileNotFoundError: [Errno 2] No such file or directory: 'cookie.txt'
I still get this problem,
please how can I fix it
and is there any short video tutorial about cookies based authentication ?

Safe issue with me

I think you should give exact location of cookie.txt
Example:
--cookie=/home/user/cookie.txt

It didn't work for me :(
Any tips?
[*] : Trying to login using cookies ...
Traceback (most recent call last):
File "udemy-dl.py", line 1443, in
main()
File "udemy-dl.py", line 1102, in main
udemy.course_download(path=options.output, quality=options.quality, unsafe=options.unsafe)
File "udemy-dl.py", line 436, in course_download
course = udemy.course(url=self.url, username=self.username, password=self.password, cookies=self.cookies)
File "/home/jj/Udemy/udemy-dl-master/udemy/_udemy.py", line 38, in course
return Udemy(url, username, password, cookies, basic, callback)
File "/home/jj/Udemy/udemy-dl-master/udemy/_internal.py", line 44, in init
super(InternUdemyCourse, self).init(*args, **kwargs)
File "/home/jj/Udemy/udemy-dl-master/udemy/_shared.py", line 62, in init
self._fetch_course()
File "/home/jj/Udemy/udemy-dl-master/udemy/_internal.py", line 52, in _fetch_course
auth = self._login(cookies=self._cookies)
File "/home/jj/Udemy/udemy-dl-master/udemy/_extract.py", line 101, in _login
self._cookies = self._extract_cookie_string(raw_cookies=cookies)
File "/home/jj/Udemy/udemy-dl-master/udemy/_extract.py", line 87, in _extract_cookie_string
cookie_parser.load(cookie_string.group('cookie'))
AttributeError: 'NoneType' object has no attribute 'group'

I think you should give exact location of cookie.txt
Example:
--cookie=/home/user/cookie.txt

Have done that too, but doesnt work

I think you should give exact location of cookie.txt
Example:
--cookie=/home/user/cookie.txt

Have done that too, but doesnt work

i have already mention the guide to extract cookies via firefox & chrome in readme file. the error you are facing is user error and not related to the tool you can follow the guide on readme how to use the tool.

Hello @all i am firefox user and this is working for me
https://github.com/r0oth3x49/udemy-dl/issues/303#issuecomment-441345792

since you used windows I guess need to used back slash for the paths instead of slash.

@anagnam  This is solved by cookies. Please check the closed issues on how to do that. It's also present in the README.

@varunchandak I don't think so. I've tried using cookies and it worked on the first 3 chapters. Then after that, a series of error occurs so the total 14 chapter course was not downloaded in full. only the first 3 chapters were downloaded and were not actually finished.

I had same 400 issue, then used cookies and it works! had to fix #343 before.

Worked also for me. Thanks!

Cookies Workaround
Cookies do work, but the cookie parser is very fragile with no documentation and no debug output.
So I stepped through the source code and studied the logic.
Make a text file (cookie.txt) with this exact format:
Cookie: access_token=youraccesstokenvalue client_id=yourclientid

You need the "Cookie:" tag, space separators, '=' delimiter, and absolutely no line breaks.
Use the cookie switch: --cookie=cookie.txt
To get the actual values, you can use a cookie chrome extension.

yes ,, this working with me :-)
thanks

the file must name cookies not cookie

Thank @r0oth3x49!

I can log in with the cookie. But the act was forbidden with the message as "
Trying to login using cookies ...
[+] : Logged in successfully.
[-] : Udemy Says : 403 Forbidden You do not have permission to perform this action. ..."

Hello all.
I was able to create cookies, but latter it process failed.
[] : Trying to login using cookies ...
[+] : Logged in successfully.
[] : Downloading course information .. -Traceback (most recent call last):
File "udemy-dl.py", line 1432, in
main()
File "udemy-dl.py", line 1091, in main
udemy.course_download(path=options.output, quality=options.quality, unsafe=options.unsafe)
File "udemy-dl.py", line 425, in course_download
course = udemy.course(url=self.url, username=self.username, password=self.password, cookies=self.cookies)
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_udemy.py", line 38, in course
return Udemy(url, username, password, cookies, basic, callback)
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_internal.py", line 44, in init
super(InternUdemyCourse, self).init(*args, **kwargs)
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_shared.py", line 63, in init
self._fetch_course()
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_internal.py", line 56, in _fetch_course
self._info              =       self._real_extract(self._url)
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_extract.py", line 584, in _real_extract
'subtitles' : self._extract_subtitles(tracks),
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_extract.py", line 382, in extract_subtitles
lang = track.get('language') or track.get('srclang') or track.get('label') or track['locale'].get('locale').split('')[0]
KeyError: 'locale'
Please let me know if I am doing something wrong.

@farukh2352 update to lastest commit, your is old

Hello all.
I was able to create cookies, but latter it process failed.
[] : Trying to login using cookies ... [+] : Logged in successfully. [] : Downloading course information .. -Traceback (most recent call last):
File "udemy-dl.py", line 1432, in
main()
File "udemy-dl.py", line 1091, in main
udemy.course_download(path=options.output, quality=options.quality, unsafe=options.unsafe)
File "udemy-dl.py", line 425, in course_download
course = udemy.course(url=self.url, username=self.username, password=self.password, cookies=self.cookies)
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_udemy.py", line 38, in course
return Udemy(url, username, password, cookies, basic, callback)
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_internal.py", line 44, in init
super(InternUdemyCourse, self).init(*args, **kwargs)
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_shared.py", line 63, in init
self._fetch_course()
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_internal.py", line 56, in _fetch_course
self._info = self._real_extract(self._url)
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_extract.py", line 584, in _real_extract
'subtitles' : self._extract_subtitles(tracks),
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_extract.py", line 382, in extract_subtitles lang = track.get('language') or track.get('srclang') or track.get('label') or track['locale'].get('locale').split('')[0]
KeyError: 'locale'
Please let me know if I am doing something wrong.

pull the repository. i have recently merged a patch request for this error.

Hi! I have the same error... and I try to fix it but I don't know how to do it.
 Can you help me?

Hello all.
I was able to create cookies, but latter it process failed.
[] : Trying to login using cookies ... [+] : Logged in successfully. [] : Downloading course information .. -Traceback (most recent call last):
File "udemy-dl.py", line 1432, in
main()
File "udemy-dl.py", line 1091, in main
udemy.course_download(path=options.output, quality=options.quality, unsafe=options.unsafe)
File "udemy-dl.py", line 425, in course_download
course = udemy.course(url=self.url, username=self.username, password=self.password, cookies=self.cookies)
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_udemy.py", line 38, in course
return Udemy(url, username, password, cookies, basic, callback)
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_internal.py", line 44, in init
super(InternUdemyCourse, self).init(*args, **kwargs)
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_shared.py", line 63, in init
self._fetch_course()
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_internal.py", line 56, in _fetch_course
self._info = self._real_extract(self._url)
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_extract.py", line 584, in _real_extract
'subtitles' : self._extract_subtitles(tracks),
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_extract.py", line 382, in extract_subtitles lang = track.get('language') or track.get('srclang') or track.get('label') or track['locale'].get('locale').split('')[0]
KeyError: 'locale'
Please let me know if I am doing something wrong.

Hello all.
I was able to create cookies, but latter it process failed.
[] : Trying to login using cookies ... [+] : Logged in successfully. [] : Downloading course information .. -Traceback (most recent call last):
File "udemy-dl.py", line 1432, in
main()
File "udemy-dl.py", line 1091, in main
udemy.course_download(path=options.output, quality=options.quality, unsafe=options.unsafe)
File "udemy-dl.py", line 425, in course_download
course = udemy.course(url=self.url, username=self.username, password=self.password, cookies=self.cookies)
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_udemy.py", line 38, in course
return Udemy(url, username, password, cookies, basic, callback)
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_internal.py", line 44, in init
super(InternUdemyCourse, self).init(*args, **kwargs)
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_shared.py", line 63, in init
self._fetch_course()
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_internal.py", line 56, in _fetch_course
self._info = self._real_extract(self._url)
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_extract.py", line 584, in _real_extract
'subtitles' : self._extract_subtitles(tracks),
File "C:\Program Files (x86)\Python37-32\udemy-dl-master\udemy_extract.py", line 382, in extract_subtitles lang = track.get('language') or track.get('srclang') or track.get('label') or track['locale'].get('locale').split('')[0]
KeyError: 'locale'
Please let me know if I am doing something wrong.

pull the repository. i have recently merged a patch request for this error.

Thank you its working now :)

OS: Windows 10 Pro 1809 (build 17763.379)
Course URL: https://www.udemy.com/react-redux/
Steps:

Login, use Firefox to copy request headers and save as cookie.txt file
Tried both command :
udemy-dl.py url -k cookie.txt --skip-sub
udemy-dl.py url --cookie=cookie.txt --skip-sub (This command with this method : https://github.com/r0oth3x49/udemy-dl/issues/341#issuecomment-473413510)
Both got same error : Udemy Says : 502 Bad Gateway ...

I used the cookies , but still getting the same error

It seems that you are not using correct format of cookies
On Tue, Mar 26, 2019, 7:40 PM Joydip Kumar<EMAIL_ADDRESS>wrote:

I used the cookies , but still getting the same error
[image: Capture]
https://user-images.githubusercontent.com/7227769/55003737-d9f4c600-4fd0-11e9-8afa-e5a0ed2901a4.JPG
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/r0oth3x49/udemy-dl/issues/341#issuecomment-476661159,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AulraWm-LNShTUBkx4fMcrfjcxDx12nKks5vaipHgaJpZM4bwK_E
.

Hi
I am using the below in  cookie.txt
Cookie: access_token=xxxxxxxxxxxxxxxxx client_id=xxxxxxxxxxxxxxxxxx
command :
python udemy-dl.py http://.....  --cookie=cookies.txt

Try using instructions for cookies from author's documentation.
On Tue, Mar 26, 2019, 8:38 PM Joydip Kumar<EMAIL_ADDRESS>wrote:

Hi
I am using the below in cookie.txt
Cookie: access_token=xxxxxxxxxxxxxxxxx client_id=xxxxxxxxxxxxxxxxxx
command :
python udemy-dl.py http://..... --cookie=cookies.txt
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/r0oth3x49/udemy-dl/issues/341#issuecomment-476692835,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AulraeIttOcEjjJqbqK4yKdlAxd5ruUmks5vajfngaJpZM4bwK_E
.

Cookies Workaround
Cookies do work, but the cookie parser is very fragile with no documentation and no debug output.
So I stepped through the source code and studied the logic.
Make a text file (cookie.txt) with this exact format:
Cookie: access_token=youraccesstokenvalue client_id=yourclientid

You need the "Cookie:" tag, space separators, '=' delimiter, and absolutely no line breaks.
Use the cookie switch: --cookie=cookie.txt
To get the actual values, you can use a cookie chrome extension.

holy shoot, this is works for me, thanks, i love you

It seems that you are not using correct format of cookies
…
On Tue, Mar 26, 2019, 7:40 PM Joydip Kumar @.***> wrote: I used the cookies , but still getting the same error [image: Capture] https://user-images.githubusercontent.com/7227769/55003737-d9f4c600-4fd0-11e9-8afa-e5a0ed2901a4.JPG — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#341 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AulraWm-LNShTUBkx4fMcrfjcxDx12nKks5vaipHgaJpZM4bwK_E .

Yes it works for me now . Thanks a lot . I was using a wrong cookie .

I make the file cook2.txt and just saved the file with following.
Cookie: access_token=mytoken client_id=myclientid
then issue the command
python udemy-dl.py cours_url -k cooks.txt -u xxxx -p xxxxx -q 720
copy cookies in file by using cookies google extension
Thanks it is working fine for me

@mag2000 you don't need -u -p if you're using -k 😅

I am successfully login using the cookie method but now I get this weird error:
TypeError: 'NoneType' object is not subscriptable

cookies worked for me, thanks

Cookie does not work for me. Error as above... Anyone could help?
If I insert below information in the cookie.txt, it responds error 403 no permission.
Cookie: access_token=************ client_id=***********
Thanks!!!!!!

Cookies Workaround
Cookies do work, but the cookie parser is very fragile with no documentation and no debug output.
So I stepped through the source code and studied the logic.
Make a text file (cookie.txt) with this exact format:
Cookie: access_token=youraccesstokenvalue client_id=yourclientid

You need the "Cookie:" tag, space separators, '=' delimiter, and absolutely no line breaks.
Use the cookie switch: --cookie=cookie.txt
To get the actual values, you can use a cookie chrome extension.

It works for me! Many thanks!!!!!!! i love you too!

Cookies Workaround
Cookies do work, but the cookie parser is very fragile with no documentation and no debug output.
So I stepped through the source code and studied the logic.
Make a text file (cookie.txt) with this exact format:
Cookie: access_token=youraccesstokenvalue client_id=yourclientid

You need the "Cookie:" tag, space separators, '=' delimiter, and absolutely no line breaks.
Use the cookie switch: --cookie=cookie.txt
To get the actual values, you can use a cookie chrome extension.

Worked for me as described as of 2019/04/01 (no joke !)

@markusmaresch  So what is the command format to download the course in windows?  udemy-dl.py -u username -p password  courseurl  --cookie=cookie.txt ? Provided cookie.txt is in the same folder as udemy-dl.py.

@markusmaresch  I tried the command and I get
[] : Trying to login using cookies ...
[+] : Logged in successfully.
[] : Downloading course information .. -Traceback (most recent call last):
File "C:\Users\Lenovo\udemy-dl-master\udemy-dl.py", line 1441, in
main()
File "C:\Users\Lenovo\udemy-dl-master\udemy-dl.py", line 1095, in main
udemy.course_download(skip_captions=options.skip_captions, path=options.output, quality=options.quality, unsafe=options.unsafe)
File "C:\Users\Lenovo\udemy-dl-master\udemy-dl.py", line 436, in course_download
course = udemy.course(url=self.url, username=self.username, password=self.password, cookies=self.cookies)
File "C:\Users\Lenovo\udemy-dl-master\udemy_udemy.py", line 38, in course
return Udemy(url, username, password, cookies, basic, callback)
File "C:\Users\Lenovo\udemy-dl-master\udemy_internal.py", line 44, in init
super(InternUdemyCourse, self).init(*args, **kwargs)
File "C:\Users\Lenovo\udemy-dl-master\udemy_shared.py", line 62, in init
self._fetch_course()
File "C:\Users\Lenovo\udemy-dl-master\udemy_internal.py", line 56, in _fetch_course
self._info              =       self._real_extract(self._url)
File "C:\Users\Lenovo\udemy-dl-master\udemy_extract.py", line 547, in _real_extract
'subtitles' : self._extract_subtitles(tracks),
File "C:\Users\Lenovo\udemy-dl-master\udemy_extract.py", line 345, in extract_subtitles
lang = track.get('language') or track.get('srclang') or track.get('label') or track['locale'].get('locale').split('')[0]
KeyError: 'locale'
C:\Users\Lenovo>

@ronkiwest your udemy-dl is old, clone again. if you login with cookie, you only need -k command and cookie.txt file

@ronkiwest your udemy-dl is old, clone again. if you login with cookie, you only need -k command and cookie.txt file

Thanks @brundidge , updated udemy-dl ,  it worked.

how to get  youraccesstokenvalue and yourclientid
for
Cookie: access_token=youraccesstokenvalue client_id=yourclientid

@ipsgit2018 Guide Extracting Cookies in README.md works fine, you can follow that.

Awesome. Glad I could help. Happy learning everyone :)

Cookies Workaround
Cookies do work, but the cookie parser is very fragile with no documentation and no debug output.
So I stepped through the source code and studied the logic.
Make a text file (cookie.txt) with this exact format:
Cookie: access_token=youraccesstokenvalue client_id=yourclientid

You need the "Cookie:" tag, space separators, '=' delimiter, and absolutely no line breaks.
Use the cookie switch: --cookie=cookie.txt
To get the actual values, you can use a cookie chrome extension.

Awesome. Glad I could help. Happy learning everyone :)

Really nice workaround. Working as of today :)

kindly tell me what is clientID

how should i execute the command with cookies
i do this

kindly tell me what is clientID

First you need to extract the cookie and save it in a txt file. Then search client_id in this file, you will find something like client_id=joiz7896dfaioejnfoizuc8g879za8691rif9.

client_id
@Fidozx
how can i extract cookies ?

@ahmedbokhari7 follow guide in readme : https://github.com/r0oth3x49/udemy-dl#extracting-cookies--request-headers

now i get this issue if i download with cookies

@ahmedbokhari7 Check your access_token, i think it's broken, maybe you added or deleted some characters by mistake, should be 40 chars. Make a new cookie file again is the best option.

Cookies Workaround
Cookies do work, but the cookie parser is very fragile with no documentation and no debug output.
So I stepped through the source code and studied the logic.
Make a text file (cookie.txt) with this exact format:
Cookie: access_token=youraccesstokenvalue client_id=yourclientid

You need the "Cookie:" tag, space separators, '=' delimiter, and absolutely no line breaks.
Use the cookie switch: --cookie=cookie.txt
To get the actual values, you can use a cookie chrome extension.

Great! this work fine
thanks!

USING FIREFOX:

open udemy and go to your courses page.
right click and select "Inspect Element"
choose "Network" tab
right click on any get request and select "Copy > Copy as cURL"
save it in a text file e.g "cookie.txt"
put that text file with the main directory of "udemy-dl-master" folder
open CMD and run the following command:
python udemy-dl.py COURSE_URL -k cookie.txt
OR
py udemy-dl.py COURSE_URL -k cookie.txt

now i get this issue if i download with cookies

Note that udemy changes access token after we select any course to view. When we login to udemy and select any course to view its videos, access token gets changed and thus becomes different from the one which is set when we have not selected any course. Thus you have to use the access token which is set after you have selected the course (same course which you have to download via command line)

@shubhamjain-tolexo no, it doesn't change at all, stay the same because it's just a random string to indentify you between requests after login. Unless you change your password or expired after 1 month or you logged out

@shubhamjain-tolexo no, it doesn't change at all, stay the same because it's just a random string to identify you between requests after login. Unless you change your password or expired after 1 month or you logged out

But when i logged in, i took the access token value from the browser, then used it to download the course via command line, but i got error: Udemy Says : 403 Forbidden You do not have permission to perform this action. .... But when i select the course, the access token changed and when i used this new access token to download the course via command line, it worked.

@shubhamjain-tolexo I tried what you said but it doesn't change at all, i moved from course to course and it still the same. Maybe your cookie method has some bug in it.

May be, it has some bug. I am using chrome "edit this cookie" extension.

@shubhamjain-tolexo Here is my method: https://github.com/r0oth3x49/udemy-dl/issues/351#issuecomment-476936783

Wow! what a wonderful and step-by-step guide you have made. Well i checked again, but now i am also getting the same value for the access_token. Don't know how i get different values before? Maybe i have made some mistake before. Maybe i have copied value of some other key before. Not sure.

Cookies Workaround
Cookies do work, but the cookie parser is very fragile with no documentation and no debug output.
So I stepped through the source code and studied the logic.
Make a text file (cookie.txt) with this exact format:
Cookie: access_token=youraccesstokenvalue client_id=yourclientid

You need the "Cookie:" tag, space separators, '=' delimiter, and absolutely no line breaks.
Use the cookie switch: --cookie=cookie.txt
To get the actual values, you can use a cookie chrome extension.

THX it's help me to ))

Cookies Workaround
Cookies do work, but the cookie parser is very fragile with no documentation and no debug output.
So I stepped through the source code and studied the logic.
Make a text file (cookie.txt) with this exact format:
Cookie: access_token=youraccesstokenvalue client_id=yourclientid

You need the "Cookie:" tag, space separators, '=' delimiter, and absolutely no line breaks.
Use the cookie switch: --cookie=cookie.txt
To get the actual values, you can use a cookie chrome extension.

Traceback (most recent call last):
File "C:\udemy-dl-master\udemy-dl.py", line 1443, in
main()
File "C:\udemy-dl-master\udemy-dl.py", line 952, in main
f_in = open(options.cookies)
FileNotFoundError: [Errno 2] No such file or directory: 'cookie.txt'
I still get this problem,
please how can I fix it
and is there any short video tutorial about cookies based authentication ?

the problem You guys are facing is you might are saving the name wrong like cookies.txt
save the file like cookies txt is the extension don't explicitly add (.txt) in the name
I was also stuck at this problem and now its solved.

Look at this image. This is what i mean


Autcomplete for two columns of data

This is such a wonderful script - I wanted to ask if it is possible to search for the key words inside the two/three columns of data?

You cannot have multiple columns.
you can have multiple groups of data that are rendered in different rows.


Tweak the way we allocate our EC2 provision

What is this PR trying to achieve?
Rearrange the way we allocate tasks for the API and Loris in a way that saves money and gets better performance. Specifically:

Reduce the CPU/memory allocation of the tasks so they take up a discrete amount of resource (1 vCPU, 2 GB of memory)
Switch to using t2.mediums instead of c4.xlarges in the API cluster – better value for money, and allows us to fully pack tasks in the cluster
Increase from two to three instances of the Loris and API tasks, so overall we should get better performance

This saves us ~$50/month on our long-term EC2 costs (when we were using a pair of t2.larges), and ~$180/month on the experimental plan of putting everything on a pair of c4.xlarges.
Who is this change for?
💰 🚤 💰
Have the following been considered/are they needed?

[ ] Run terraform apply.

Part of https://github.com/wellcometrust/platform-api/issues/537


I can't select any of the href links with my mouse...

Challenge Use the Bootstrap Grid to Put Elements Side By Side has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

CatPhotoApp

Click here for cat photos.

  <button class="btn btn-block btn-primary">Like</button>
  <button class="btn btn-block btn-info">Info</button>
  <button class="btn btn-block btn-danger">Delete</button>

Things cats love:

cat nip

laser pointers

lasagna

Top 3 things cats hate:

flea treatment

thunder

other cats

  <form action="/submit-cat-photo">
    <input type="radio" name="indoor-outdoor"> Indoor
    <input type="radio" name="indoor-outdoor"> Outdoor
    <input type="checkbox" name="personality"> Loving
    <input type="checkbox" name="personality"> Lazy
    <input type="checkbox" name="personality"> Crazy
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
  </form>

@sonnytron I'm sorry to hear you're having an issue but can you elaborate on what your issue is? I'm not sure which href links you're referring to or why you need to click on them. Are you talking about the link in the phone simulator on the right?

Closing as stale. Please reopen if this issue is legitimate!


Fixture: Equinox Fusion Spot MK III

Forum post: https://www.qlcplus.org/forum/viewtopic.php?f=3&t=16217

Please use the fixture validator before sending a PR https://www.qlcplus.org/fixture_validator.php
Also, you submitted this (buggy) fixture in the forums too. Please read the rules before posting.

Ok, I have ran it against the validator and fixed the 2 issues found.

./Equinox/Equinox-Fusion-Spot-MKIII.qxf:Colors/Light Blue/Res1: FX color Light Blue (#00ffff) should have color code #add8e6, the name for given FX color code is Cyan
./Equinox/Equinox-Fusion-Spot-MKIII.qxf:Colors/Pink/Res1: FX color Pink (#ff00ff) should have color code #ffc0cb, the name for given FX color code is Magenta
./Equinox/Equinox-Fusion-Spot-MKIII.qxf:Shutter/Random Strobe: Non contiguous range detected 231/240
./Equinox/Equinox-Fusion-Spot-MKIII.qxf:Dimmer Curves/Stage: Non contiguous range detected 0/42

Coverage: 28.086%. Remained the same when pulling 3bd2f201b45df010b283211896d2a547b7b4170c on Gnomesenpai:patch-2 into f5ebdf1b08dbddeef1126e0d090ec12905acfa2a on mcallegari:master.


Evbox Elvi: remove measurands preconfiguration

Alternative approach to #15876

Removes vendor specific measurands preconfiguration
Tries measurands autodetection as any other charger

May fix https://github.com/evcc-io/evcc/issues/14115 https://github.com/evcc-io/evcc/discussions/14138

See https://github.com/evcc-io/evcc/discussions/14138#discussioncomment-10565332


[BUG] Performance issue based on route

Execute the command and paste the result below.
Command: uname -a && php -v && composer info | grep hyperf && php --ri swoole
Linux f2897587bce3 5.10.104-linuxkit #1 SMP Wed Mar 9 19:05:23 UTC 2022 x86_64 Linux
PHP 8.0.17 (cli) (built: Mar 31 2022 23:23:01) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.17, Copyright (c) Zend Technologies
    with Zend OPcache v8.0.16, Copyright (c), by Zend Technologies
96qbhy/hyperf-auth                             v2.6.4  hyperf 的 auth 组件
gokure/hyperf-cors                             v1.1.0  Adds CORS (Cross-Origin Resource Sharing) headers support in your Hyperf application.
hyperf-ext/contract                            v2.2.0  The contracts of HyperfExt.
hyperf-ext/mail                                v2.2.0  The Hyperf Mail package.
hyperf/async-queue                             v2.2.8  A async queue component for hyperf.
hyperf/cache                                   v2.2.15 A cache component for hyperf.
hyperf/command                                 v2.2.9  Command for hyperf
hyperf/config                                  v2.2.0  An independent component that provides configuration container.
hyperf/constants                               v2.2.15 A constants component for hyperf.
hyperf/contract                                v2.2.8  The contracts of Hyperf.
hyperf/crontab                                 v2.2.21 A crontab component for Hyperf.
hyperf/database                                v2.2.25 A flexible database library.
hyperf/db-connection                           v2.2.22 A hyperf db connection handler for hyperf/database.
hyperf/devtool                                 v2.2.21 A Devtool for Hyperf.
hyperf/di                                      v2.2.25 A DI for Hyperf.
hyperf/dispatcher                              v2.2.0  A HTTP Server for Hyperf.
hyperf/engine                                  v1.2.1
hyperf/event                                   v2.2.0  an event manager that implements PSR-14.
hyperf/exception-handler                       v2.2.0  Exception handler for hyperf
hyperf/filesystem                              v2.2.17 flysystem integration for hyperf
hyperf/framework                               v2.2.14 A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.
hyperf/guzzle                                  v2.2.0  Swoole coroutine handler for guzzle
hyperf/http-message                            v2.2.19 microservice framework base on swoole
hyperf/http-server                             v2.2.25 A HTTP Server for Hyperf.
hyperf/logger                                  v2.2.14 A logger component for hyperf.
hyperf/macroable                               v2.2.13 Hyperf Macroable package which come from illuminate/macroable
hyperf/memory                                  v2.2.0  An independent component that use to operate and manage memory.
hyperf/model-listener                          v2.2.14 A model listener for Hyperf.
hyperf/paginator                               v2.2.0  A paginator component for hyperf.
hyperf/pool                                    v2.2.0  An independent universal connection pool component.
hyperf/process                                 v2.2.20 A process component for hyperf.
hyperf/redis                                   v2.2.22 A redis component for hyperf.
hyperf/resource                                v2.2.17 A api resource component for hyperf.
hyperf/server                                  v2.2.21 A base server library for Hyperf.
hyperf/swagger                                 v2.2.0  A swagger library for Hyperf.
hyperf/testing                                 v2.2.24 Testing for hyperf
hyperf/translation                             v2.2.13 An independent translation component, forked by illuminate/translation.
hyperf/utils                                   v2.2.23 A tools package that could help developer solved the problem quickly.
hyperf/validation                              v2.2.13 hyperf validation
hyperf/view                                    v2.2.14 A view library for Hyperf.
hyperf/view-engine                             v2.2.23
hyperf/watcher                                 v2.2.24 Hot reload watcher for Hyperf
minbaby/hyperf-sentry                          v2.2.0

swoole

Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 4.8.8
Built => Apr  1 2022 06:12:38
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
spinlock => enabled
rwlock => enabled
openssl => OpenSSL 1.1.1n  15 Mar 2022
dtls => enabled
http2 => enabled
json => enabled
curl-native => enabled
pcre => enabled
zlib => 1.2.12
brotli => E16777225/D16777225
mutex_timedlock => enabled
pthread_barrier => enabled
async_redis => enabled

Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608

Description:
Hi everyone! I have some issue with performace based on route i use, any code i pun under "/" route have 4x performance in comparison i put code under any other route, say "/w"
I have controller:
#[Controller]
class PagesController extends AbstractController
{
    public function __construct(
        private ConfigInterface $config,
    ) {
    }

    #[GetMapping(path: '/')]
    public function home(): ResourceSuccess
    {
        return new ResourceSuccess([
            __('messages.welcome', ['app_name' => $this->config->get('app_name')]),
        ]);
    }

    #[GetMapping(path: '/w')]
    public function home1(): ResourceSuccess
    {
        return new ResourceSuccess([
            __('messages.welcome', ['app_name' => $this->config->get('app_name')]),
        ]);
    }
}

Test results for "/":
[Mon Apr 11 2022 19:33:05 GMT+0300 (Eastern European Summer Time)] INFO Target URL:          http://<IP_ADDRESS>
[Mon Apr 11 2022 19:33:05 GMT+0300 (Eastern European Summer Time)] INFO Max requests:        10000
[Mon Apr 11 2022 19:33:05 GMT+0300 (Eastern European Summer Time)] INFO Concurrency level:   100
[Mon Apr 11 2022 19:33:05 GMT+0300 (Eastern European Summer Time)] INFO Agent:               keepalive
[Mon Apr 11 2022 19:33:05 GMT+0300 (Eastern European Summer Time)] INFO
[Mon Apr 11 2022 19:33:05 GMT+0300 (Eastern European Summer Time)] INFO Completed requests:  10000
[Mon Apr 11 2022 19:33:05 GMT+0300 (Eastern European Summer Time)] INFO Total errors:        0
[Mon Apr 11 2022 19:33:05 GMT+0300 (Eastern European Summer Time)] INFO Total time:          1.574874393 s
[Mon Apr 11 2022 19:33:05 GMT+0300 (Eastern European Summer Time)] INFO Requests per second: 6350
[Mon Apr 11 2022 19:33:05 GMT+0300 (Eastern European Summer Time)] INFO Mean latency:        15.5 ms
[Mon Apr 11 2022 19:33:05 GMT+0300 (Eastern European Summer Time)] INFO
[Mon Apr 11 2022 19:33:05 GMT+0300 (Eastern European Summer Time)] INFO Percentage of the requests served within a certain time
[Mon Apr 11 2022 19:33:05 GMT+0300 (Eastern European Summer Time)] INFO   50%      12 ms
[Mon Apr 11 2022 19:33:05 GMT+0300 (Eastern European Summer Time)] INFO   90%      24 ms
[Mon Apr 11 2022 19:33:05 GMT+0300 (Eastern European Summer Time)] INFO   95%      27 ms
[Mon Apr 11 2022 19:33:05 GMT+0300 (Eastern European Summer Time)] INFO   99%      109 ms
[Mon Apr 11 2022 19:33:05 GMT+0300 (Eastern European Summer Time)] INFO  100%      164 ms (longest request)

Test results for "/w":
[Mon Apr 11 2022 19:34:07 GMT+0300 (Eastern European Summer Time)] INFO Target URL:          http://<IP_ADDRESS>/w
[Mon Apr 11 2022 19:34:07 GMT+0300 (Eastern European Summer Time)] INFO Max requests:        10000
[Mon Apr 11 2022 19:34:07 GMT+0300 (Eastern European Summer Time)] INFO Concurrency level:   100
[Mon Apr 11 2022 19:34:07 GMT+0300 (Eastern European Summer Time)] INFO Agent:               keepalive
[Mon Apr 11 2022 19:34:07 GMT+0300 (Eastern European Summer Time)] INFO
[Mon Apr 11 2022 19:34:07 GMT+0300 (Eastern European Summer Time)] INFO Completed requests:  10000
[Mon Apr 11 2022 19:34:07 GMT+0300 (Eastern European Summer Time)] INFO Total errors:        0
[Mon Apr 11 2022 19:34:07 GMT+0300 (Eastern European Summer Time)] INFO Total time:          6.5000514240000005 s
[Mon Apr 11 2022 19:34:07 GMT+0300 (Eastern European Summer Time)] INFO Requests per second: 1538
[Mon Apr 11 2022 19:34:07 GMT+0300 (Eastern European Summer Time)] INFO Mean latency:        64.7 ms
[Mon Apr 11 2022 19:34:07 GMT+0300 (Eastern European Summer Time)] INFO
[Mon Apr 11 2022 19:34:07 GMT+0300 (Eastern European Summer Time)] INFO Percentage of the requests served within a certain time
[Mon Apr 11 2022 19:34:07 GMT+0300 (Eastern European Summer Time)] INFO   50%      56 ms
[Mon Apr 11 2022 19:34:07 GMT+0300 (Eastern European Summer Time)] INFO   90%      127 ms
[Mon Apr 11 2022 19:34:07 GMT+0300 (Eastern European Summer Time)] INFO   95%      148 ms
[Mon Apr 11 2022 19:34:07 GMT+0300 (Eastern European Summer Time)] INFO   99%      193 ms
[Mon Apr 11 2022 19:34:07 GMT+0300 (Eastern European Summer Time)] INFO  100%      295 ms (longest request)

and this reproducing with every code i put into '/' and any other route (same code).
here is result of describe:routes:
vladimirgordienko@MacBook-Pro-Vladimir .docker-local % ./hyperf describe:routes
+--------+--------+-----+---------------------------------------+---------------------------------------------------+
| Server | Method | URI | Action                                | Middleware                                        |
+--------+--------+-----+---------------------------------------+---------------------------------------------------+
| http   | GET    | /   | App\Controller\PagesController::home  | App\Middleware\LocaleMiddleware                   |
|        |        |     |                                       | Gokure\HyperfCors\CorsMiddleware                  |
|        |        |     |                                       | Hyperf\Validation\Middleware\ValidationMiddleware |
+--------+--------+-----+---------------------------------------+---------------------------------------------------+
| http   | GET    | /w  | App\Controller\PagesController::home1 | App\Middleware\LocaleMiddleware                   |
|        |        |     |                                       | Gokure\HyperfCors\CorsMiddleware                  |
|        |        |     |                                       | Hyperf\Validation\Middleware\ValidationMiddleware |
+--------+--------+-----+---------------------------------------+---------------------------------------------------+

Appreciate any help!

ab -c 32 -n 10000 -k  http://<IP_ADDRESS>:9501/
Added -k and try again.

All of the tests made with -k parameter

For anyone who faced this issue, problem was with static handler, i had following config:
Constant::OPTION_DOCUMENT_ROOT => BASE_PATH . '/storage/public',
Constant::OPTION_ENABLE_STATIC_HANDLER => true,

and it means every request will look at filesystem to find requested file and then run routing if file not exists, for no route request - GET "/" seems there no request to file system so it works much faster. I have fix my server config to
Constant::OPTION_DOCUMENT_ROOT => BASE_PATH . '/storage',
Constant::OPTION_STATIC_HANDLER_LOCATIONS => ['/public'],
Constant::OPTION_ENABLE_STATIC_HANDLER => true,

now only routes prefixed with public will look to filesystem.


Is these pool recycle like iis in jesus

Not sure if here is the right place asking question about jesux web server.
Can jesus web server used as a asp.net long running sevrvic host as iis has the pool recycle mechanism so it can not be use for this. How about jesux

This is not the place for Jexus web server. You should go to https://www.linuxdot.net


Fix module version for Go package to v5.

The version number was still v4 in sdk/go.mod even after this was updated to v5.  This made the package unusable from Go.
Also added a test to ensure we test consuming this package from Go.
Fixes https://github.com/pulumi/pulumi-github/issues/276.
Fixes https://github.com/pulumi/templates/issues/481.

During a major version upgrade, we usually disable Go tests - can we merge #284 first, and then add the test by itself?

Superseded by #284.


Improvement to the KeyboardListener API

In a recent discussion with @zepumph we discussed how the API for providing modifier keys is unexpected and verbose. If you want to listen for a modifier key, it must be included in your keygroup. For example, if you are listening or the t key and also want behavior when the shift key is pressed, you must include BOTH keygroups like
keys: [ 't', 'shift+t' ]

Some KeyboardListeners observe 10+ keys.  If you care about modifier keys for each, you must list every combination - too verbose.
This is unconventional for the web where you usually just listen for a key press, and inspect the event data to determine if a modifier key is pressed (for example - https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/shiftKey).
Also - KeyboardListener's definition of "modifier key" is unconventional by including any key up to the final key in the key group see here.
We discussed a couple of improvements:

"Typical" modifier keys (alt, shift, ctrl, meta) could be treated differently and the listener callback could always fire if the key is pressed when the modifier key is down.

We could enhance 1) by detecting the presence of a modifier key in the key group - if it is present, the listener DOES NOT fire the callback when unlisted modifier keys are down. Otherwise it behaves as described in 1).

The benefit of this is a convenient API where your callback will ONLY be called if all keys in your keygroup are down.

Alternatively, we could remove modifier keys entirely from this list. And behavior in 1) is always in efect.

The benefit of this is a more consistent API. It is up to the client to inspect some event data for the presence of a modifier key.

We should rename "Modifier" keys in KeyboardListener to not conflate with "typical" modifier keys.

I'd like to loop this into conversation about the new "GroupSortInteraction." To me it is very strange to have "ctrl+w" not behave like "w" does, since I don't care whether ctrl is down or not. I will loop this into some other design questions about that keyboard interaction.

Discussed with @terracoda today while reviewing some of https://github.com/phetsims/scenery-phet/issues/815, and @terracoda will ask a couple resources to see if there is something in the a11y community that is best to do here. That will help us understand the priority of this issue.

Thanks for moving my comment.

I heard back from Chaals Neville, an expert in web accessibility. They said,

I think the choice you have made is reasonable. With keyboard stuff it's always an interesting question about what to take over and what to leave functioning as it otherwise would.

And this framing is really important because I had noticed that Control + Arrow is a MacOs system shortcut for switching desktops. It's important to not override other keyboard functionality unintentionally.

Back to you @zepumph. Maybe this issue is ready to close?

OK, I read through the above comments - just so I understand, does that mean that our current behavior stays the same? So if I have keys [ 'ctrl + w' ], the behavior will trigger when I press 'ctrl+w' but NOT 'w'. Is that correct? If so, I think we can continue with the proposal in https://github.com/phetsims/scenery/issues/1597#issue-2091359810. If not, lets make a new issue to change the behavior of hotkeys.

@terracoda and met to discuss and she confirmed that no changes are necessary for the behavior of modifier keys. So we can continue with https://github.com/phetsims/scenery/issues/1597#issue-2091359810.

We decided not to proceed with this after #1621. Modifier key behavior is described in Hotkey.ts
https://github.com/phetsims/scenery/blob/7552d65674a0545ad0ea1d48ce2a7e88ff526175/js/input/Hotkey.ts#L49-L62
Specifically, modifier keys prevent firing of a Hotkey unless they are specified explicitly in the list of Hotkey.modifierKeys, which is a different approach than the proposal in https://github.com/phetsims/scenery/issues/1597#issue-2091359810. Closing.


The relationship between the transmission of traceId and the sampling rate is too tight

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[ ] Bug
[] Requirement
[ ] Feature or performance improvement

Requirement or improvement

Please describe your requirements or improvement suggestions.
Through the Skywalking Agent TraceID passthrough, do link log query system, need to collect all the data, but do not want to let the sampling rate failure, this is a solution?
Now if the sampling rate is set, it will result in a portion of the log without traceId.
The relationship between the transmission of traceId and the sampling rate is too tight.
This should be the Skywalking optimization point

Please don't submit duplicated questions on different channels. You are wasting the community's resouces.


Add UIx demo

From @elken, ported from the legacy Electric Examples App. Original PR.
Add a demo for https://github.com/pitch-io/uix per discussion on slack
I wasn't able to start this up locally due to datomic, but I've tested the main code on the xtdb-starter and all functions as expected 😄
Don't know if this codebase is also subject to the same agreement as the main electric repo; if that's the case let me know on slack and I'll sign it 😄
Changes: add-uix-demo.patch

I merged the code from your original PR, adapting it to latest Electric Fiddle: commit
Thank you for your contribution!


Use custom django storage

Hello,
I would like to know if we can use a custom django storage in django filer ? For example : https://github.com/maddevsio/django_minio
Or maybe it's planned to be added soon ?
Thanks
Regards,

you can, probably, using the FILER_STORAGES settings, check the docs.
https://django-filer.readthedocs.io/en/latest/settings.html#filer-storages

as far as I know, it's used with AWS's S3, for example.


Translate the Readme file into Urdu

I can do this. Assign me please .

Please review README_ur.md #683


Release docker image is not being triggered on new release

Expected Behavior
The release docker image workflow should be triggered automatically when a new release gets promoted from pre-release to release.
Actual Behavior
The workflow is not running automatically.
Steps to Reproduce the Problem

Create and push a new tag
The pre-release should be created
Manually mark the pre-release as a release
Verify if the release docker image workflow is triggered

Specifications

Version: n/a
Platform: Github actions
Subsystem: n/a

Relevant resources:

https://github.community/t/what-is-the-created-type-in-on-release/17184
https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onevent_nametypes

The current workaround is to manually trigger the docker release workflow by using workflow_dispatch


Stratux v0.3b3 hangs on soft reset (reboot)

When executing the "reboot" command as root (sudo su -), the system hangs a some point in the cycle. I can't tell if it's during the shutdown phase or the subsequent startup phase. During the shutdown process both the red power / user LED and the the green disk activity indicator LED come on for a sustained period. Eventually (10 seconds?) the green LED goes out leaving a solid red. Network and USB are both shut down (LEDs go off on the SDR and Wifi modules).
This has happened on two different Pi units, each running a different copy of the 3b3 image. If somebody else can confirm this, I'll try to hook the Pi up to an HDMI monitor and see what that shows during the reboot process.

I have noticed that "sudo shutdown -h now" does not power down the pi (Stratux v0.3b3), as it seems to on other pi projects I have built.  Perhaps this is related; I have not noticed a -r failing, but can't say I have used it.  I'll set it up with a monitor in my lab after lunch and see what is displayed.

This might be a clue... I have two v0.3b3 Straux systems. One is a
single-band UAT - no 1090, no RY835AI. The other is currently a single band
with the RY835AI attached and both AHRS and GPS enabled. The unit without
the RY835AI reboots and powers down cleanly. The until with the RY835AI
does not. Identical build on both.
Makes me wonder if having the I2C bus and/or UART active is causing some
kind of issue. I'll get the unit with the RY835AI on a monitor this evening
and see what it shows.
On Wed, Sep 23, 2015 at 1:26 PM, fjwarren<EMAIL_ADDRESS>wrote:

I have noticed that "sudo shutdown -h now" does not power down the pi
(Stratux v0.3b3), as it seems to on other pi projects I have built. Perhaps
this is related; I have not noticed a -r failing, but can't say I have used
it. I'll set it up with a monitor in my lab after lunch and see what is
displayed.
—
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/57#issuecomment-142688720.

--
Steven Sokol
408 Camelot Drive
Liberty, MO 64068
mobile: +1<PHONE_NUMBER>
fax: +1<PHONE_NUMBER>

I'm running v0.3b3 from source on a UAT-only setup, no RY835AI.
Like your single-band, UAT-only setup, "sudo shutdown -r 0" performs a normal reboot for me, with no continuous green LED - just the normal flickering green LED.

I have a RY835AI connected to I2C & Serial.  I just tried a "sudo shutdown -r now", and the reboot appears successful.  When I do a "sudo shutdown -h now", I see what appears to be a proper shutdown, ending with "[info] - will now halt." About 2 seconds later, a fresh boot up starts, as though the power were cycled.
With the RY835AI disconnected, no change.  If I disconnect both RTL-SDR dongles, the -h works as expected.  With either or both  RTL-SDR dongles connected, the pi will start again approximately 2 seconds after the halt is complete.
So, I guess this is different than the "hang" the OP saw, but interesting.  Anyone have any suggestions?

Reproduced, defunct gen_gdl90 hangs the soft reboot. Fixed with #63.


[Question] buffer reuse issue?

Maybe a dump question here:
In the usage example in README:
var linkType = c.open(device, filter, bufSize, buffer);

open takes only one buffer. And when it emits the event, only nbytes and trunc are returned in the event. The data is in the buffer.
Question: when I read the buffer and do some processing, will the next incoming packet write the buffer so that maybe I will read the wrong data? And what's the best practice to read the buffer, shall I always slice the buffer with nbytes?
Thanks a lot!

You need to handle the packet data for the duration of your packet event handler. If you need to copy any of the raw bytes, you need to do so before your event handler finishes, otherwise when the next packet arrives the previous data will be overwritten in the buffer.
buffer.slice() references the same memory as the original buffer, so that will not actually copy the bytes.

@mscdex Thanks for your quick answer!
So, is it possible that during copying the data to a new buffer, the original buffer got overwritten by a new packet? Or, can I assume it is safe before my event handler is done because nodejs will block the libpcap copy?

The buffer will not change for the duration of a 'packet' event.

Thanks!


Use InvariantCulture when converting doubles to and from String

When running the units tests on a machine with the Swedish culture set a number of them fail, this is also a problem when using the library. Here are two open issues caused by this: #52, #75. #38 is a closed issue that tried to address the problem, but missed  a couple of spots.
Here I have tried to fix the remaining issues, now all tests pass for me using either en-US or sv-SE as my culture.

@Zache,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@Zache, I've run into the exact same issue, so would like to see this getting merged.
@EricWhiteDev, please do have a look.

@EricWhiteDev, this looks good to me.
@Zache, could you please rebase your branch on vNext so @EricWhiteDev can merge this (while keeping the history clean)?

@ThomasBarnekow @EricWhiteDev Done!

@Zache Thanks a lot!
@EricWhiteDev Please merge this before merging anything else.

@Zache @ThomasBarnekow Merged, thank you!


Activation Channel Scales and Calibration

Hi, here at generate act scales.py，‘You can download the validation dataset of the Pile at https://mystic.the-eye.eu/public/AI/pile/val.jsonl.zst’，"wget https://mystic.the-eye.eu/public/AI/pile/val.jsonl.zst" but always display "failed: Connection timed out."

https://github.com/mit-han-lab/smoothquant/issues/13

You can find it in Huggingface: Link，but after i downloaded the dataset and use it, it output that dataset is corrupt and unusable


Fix failing Travis build

The travis build is currently broken (https://travis-ci.org/mperrin/poppy/branches)
It's back to the inscrutable python failure ("The command "python setup.py $SETUP_CMD" exited with 247.") which we know from past experience actually means "your test has tried to use too much RAM or taken too long and has timed out".
The matrixFT coronagraphic propagation test has to be the guilty party. I just ran it here and it looks like it got up to about 12 GB.
We will need to either figure out how to make Travis happier with large RAM allocations or develop a slimmed down test case.
attn @neilzim @josePhoenix

Travis docs say the test VMs have 3 GB RAM. See on https://travis-ci.com/plans

I'll try to scale down the calculation.