KIJK.nl support broken, unsupported URL

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.06.25. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[X] I've verified and I assure that I'm running youtube-dl 2017.06.25

Before submitting an issue make sure you have:

[X] At least skimmed through README and most notably FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[X] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

youtube-dl -g -vF http://www.kijk.nl/sbs6/stegemanopdebres/videos/IK8qrhopqIs/aflevering-6
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-g', u'-vF', u'http://www.kijk.nl/sbs6/stegemanopdebres/videos/IK8qrhopqIs/aflevering-6']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.06.25
[debug] Python version 2.7.12 - Linux-4.4.38-std-1-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: none
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
ERROR: Unsupported URL: http://www.kijk.nl/sbs6/stegemanopdebres/videos/IK8qrhopqIs/aflevering-6
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 1971, in _real_extract
doc = compat_etree_fromstring(webpage.encode('utf-8'))
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/compat.py", line 2539, in compat_etree_fromstring
doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/compat.py", line 2528, in _XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
raise err
ParseError: syntax error: line 1, column 0
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 762, in extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 433, in extract
ie_result = self._real_extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 2796, in _real_extract
raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://www.kijk.nl/sbs6/stegemanopdebres/videos/IK8qrhopqIs/aflevering-6
Kijk.nl seems to be broken somehow while it used to work?

It looks like, using the above example, the actual video is located on https://embed.kijk.nl/video/IK8qrhopqIs
youtube-dl is able to find the qualities that are available, and it attempting a download. The download fails, but does show a .mp4 file path. Complete debug log (different video, same site):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://embed.kijk.nl/video/OnJsPsOOUxO', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.07.15
[debug] Python version 2.7.6 - Linux-3.19.0-25-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: rtmpdump 2.4
[debug] Proxy map: {}
[generic] OnJsPsOOUxO: Requesting header
WARNING: Falling back on generic information extractor.
[generic] OnJsPsOOUxO: Downloading webpage
[generic] OnJsPsOOUxO: Extracting information
[download] Downloading playlist: Shownieuws
[generic] playlist Shownieuws: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[brightcove:new]<PHONE_NUMBER>001: Downloading webpage
[brightcove:new]<PHONE_NUMBER>001: Downloading JSON metadata
[brightcove:new]<PHONE_NUMBER>001: Downloading m3u8 information
WARNING: Failed to download m3u8 information: <urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>
[debug] Invoking downloader on u'rtmp://pssbsfs.fplive.net/pssbsfs'
[download] Destination: Shownieuws-5510750645001.mp4
[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmp://pssbsfs.fplive.net/pssbsfs' -o Shownieuws-5510750645001.mp4.part --playpath 'mp4:ra/01/7598852d2c6a5462d82e26fa125532b25f26fb/mp4/sbs6_shownieuwslateeditie_S00E2017071701025657_170718000132759885-bg-1885.mp4' --resume --skip 1
[rtmpdump] RTMPDump v2.4
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 0
[rtmpdump] DEBUG: Parsed host    : pssbsfs.fplive.net
[rtmpdump] DEBUG: Parsed app     : pssbsfs
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMP
[rtmpdump] DEBUG: Hostname : pssbsfs.fplive.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:ra/01/7598852d2c6a5462d82e26fa125532b25f26fb/mp4/sbs6_shownieuwslateeditie_S00E2017071701025657_170718000132759885-bg-1885.mp4
[rtmpdump] DEBUG: tcUrl    : rtmp://pssbsfs.fplive.net:1935/pssbsfs
[rtmpdump] DEBUG: app      : pssbsfs
[rtmpdump] DEBUG: live     : no
[rtmpdump] DEBUG: timeout  : 30 sec
[rtmpdump] DEBUG: Setting buffer time to: 36000000ms
[rtmpdump] Connecting ...
[rtmpdump] DEBUG: RTMP_Connect1, ... connected, handshaking
[rtmpdump] DEBUG: HandShake: Type Answer   : 03
[rtmpdump] DEBUG: HandShake: Server Uptime :<PHONE_NUMBER>
[rtmpdump] DEBUG: HandShake: FMS Version   : <IP_ADDRESS>
[rtmpdump] DEBUG: HandShake: Handshaking finished....
[rtmpdump] DEBUG: RTMP_Connect1, handshaked
[rtmpdump] DEBUG: Invoking connect
[rtmpdump] INFO: Connected...
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 184 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:              level, STRING:  error>
[rtmpdump] DEBUG: Property: <Name:               code, STRING:  NetConnection.Connect.Rejected>
[rtmpdump] DEBUG: Property: <Name:        description, STRING:  [ Server.Reject ] : (defaultRoot, defaultVHost) : Application (pssbsfs) is not defined.>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_error>
[rtmpdump] ERROR: rtmp server sent error
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 18 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking
[rtmpdump] ERROR: rtmp server requested close
[rtmpdump] DEBUG: Closing connection.
[rtmpdump] 0 bytes
[rtmpdump] RTMPDump v2.4
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 0
[rtmpdump] DEBUG: Parsed host    : pssbsfs.fplive.net
[rtmpdump] DEBUG: Parsed app     : pssbsfs
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMP
[rtmpdump] DEBUG: Hostname : pssbsfs.fplive.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:ra/01/7598852d2c6a5462d82e26fa125532b25f26fb/mp4/sbs6_shownieuwslateeditie_S00E2017071701025657_170718000132759885-bg-1885.mp4
[rtmpdump] DEBUG: tcUrl    : rtmp://pssbsfs.fplive.net:1935/pssbsfs
[rtmpdump] DEBUG: app      : pssbsfs
[rtmpdump] DEBUG: live     : no
[rtmpdump] DEBUG: timeout  : 30 sec
[rtmpdump] DEBUG: Failed to get last keyframe.
[rtmpdump] DEBUG: Closing connection.
ERROR: rtmpdump exited with code 1
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 19, in
youtube_dl.main()
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 465, in main
_real_main(argv)
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 455, in _real_main
retcode = ydl.download(all_urls)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1941, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 787, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 978, in process_ie_result
extra_info=extra)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 848, in process_ie_result
extra_info=extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 787, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 841, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1584, in process_video_result
self.process_info(new_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1848, in process_info
success = dl(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1790, in dl
return fd.download(name, info)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 361, in download
return self.real_download(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/rtmp.py", line 202, in real_download
self.report_error('rtmpdump exited with code %d' % retval)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 163, in report_error
self.ydl.report_error(*args, **kargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 604, in report_error
self.trouble(error_message, tb)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 566, in trouble
tb_data = traceback.format_list(traceback.extract_stack())
Perhaps someone who has more knowledge than me can figure out the rest

Using fiddler I was able to obtain 2 .m3u8 files files, of which the last ones showed URLs to all the .ts files for the actual video.
I myself am not able to program for this however, someone who can pick it up? I can provide files if required.

It looks like they disabled an SSL version, and have SNI enabled, as well as are using a new root CA, which you may not have in your system yet.
Make sure you update the ca-certificates package. That together with upgrading to Python 2.7.12 (from 2.7.6) AND using the embedded URL worked for me.
The embedded URL for yours would be: https://embed.kijk.nl/video/IK8qrhopqIs
Perhaps someone can write some code that enables using the embedded URL? I'm not a python programmer


Unable to load development version

I followed the documentation for enabling development mode, but I'm still getting the min version of the script, which prevents the Vue DevTools from working.
Gemfile
gem 'rails', '~> 5.0.1'
gem "sprockets"
gem "sprockets-es6"
gem 'babel-transpiler'
gem 'vuejs-rails' #2.3.2

application.js
//= require vue
config/initializers/vue_config.rb
Vue.development_mode = true
What am I doing wrong?

Doh! Let me try and help, first can we rule the most obvious thing out... Have you restarted your server? Since the flag is in an initializer it will only take effect at the server initialisation.

Bingo! I was not restarting the server. I thought that rake tmp:cache:clear was sufficient. For whatever it's worth, I had to restart the server, then run rake tmp:cache:clear, then restart the server again for it to kick in. Thanks for your help!


Possible enhancement: add "entity content version numbers"

This is to suggest improvements to the P4Runtime specification. For issues regarding a specific implementation, please open an issue with the appropriate repository (e.g. https://github.com/p4lang/behavioral-model or https://github.com/p4lang/PI for bmv2).
I am not aware of any reason that this is high priority.  It is simply an idea motivated by some of the discussion about P4Runtime master changes, election ids, etc. here: https://github.com/p4lang/p4runtime/pull/198#discussion_r278332324
The idea is fairly straightforward, I believe.  The P4Runtime server would maintain a separate version number independently for each entity, that is incremented whenever a P4Runtime client successfully modifies any of its state.
Reason: Suppose you have a client that is not the master, but it does read the entries in tables periodically.  If it gets a version number of the contents of those tables when it is reading the entries, and remembers those version numbers, then if the non-master later becomes a master, and the first thing it does is reads ONLY the version numbers of all tables, that would be a very quick operation for the server to respond to.
If all version numbers matched what the client last read, it would know that no table entry contents have changed since it last read them, so it is up to date and need not read all table entries again.
If the version numbers of 3 tables were newer than what the client last read, but for 7 other tables the client did have the latest version, then it knows that to become up to date, it only needs to read the entries of those 3 tables to get up to date.
New messages and/or fields:

the entity state version number would be returned for any entity read in a read request, or perhaps only if the client requests the content version number.
I do not know if it would be easy to backwards-compatibly enhance an existing ReadRequest message to read only an entity's content version number, but such a request message would be needed by clients that are newly becoming a master, that wanted to use the technique described above.

New behavior on the server:

Whenever a table entry was added to a table, modified, or removed, the content version number of that table must be incremented.

A few details:

The content version id should only be incremented when the part of the state of an entity is changed that can be modified by clients.  For example, a direct counter state of a table is updated by the data plane, and should not be incremented when packets are processed that update direct counter state.
Similarly it would not make sense to have a content version id for a counter or register object.

The above two examples are not intended to be exhaustive of things that are included or excluded from the content version id's scope.  They are just a couple of examples that should be straightforward to extend to all other kinds of entities, and which parts of their contents are included in the content version id, and which parts are not included.

Just another thought that could enhance the usefulness of this idea somewhat, but also the complexity of specifying and implementing it.
Suppose a "backup controller" client C2 was periodically reading all entries of a table T, and shortly before it became the master it had read all entries of the table T with content version id 75.
The first thing it does when becoming master is to read the content version id's of all tables it cares about.
If it reads T's content version id and gets back 75, it knows it is up to date.
But if it reads T's content version id and gets back 76, it knows it is out of date, but it has no idea how it is out of date.  Obviously the most straightforward way to become up to date is to read all entries from table T again, discarding whatever was read before.
Another way would be if there was a way that a client could make a request saying "I know all about T's content version id 75, and I know you are at a later version than that now.  If you can, send me only the changes to get from id 75 to the latest version."
A server could basically record all Update messages for table T, indexed by content version id, and play them back from version 75 up to the current version.
If the version requested was too long ago, e.g. version 1, the server could respond "sorry, I cannot give you the updates from that many versions ago." and the client would then read all entries in the table to get the current contents.  It would be server-implementation-specific how many versions ago it saved the deltas.  It could be a certain number of versions, or some maximum amount of memory required to store the changes, etc.

Notes from 2019-Jun-19 P4 API working group meeting on this idea:

No one in the meeting saw the optimization possibilities enabled by this proposal to be critical enough to pursue this idea at this time.  Leave the issue open for future consideration, in case someone finds that it becomes important to them, and we can pursue it then.

I think one more note from the same working group meeting was that the implementation might be quite challenging, and we would probably want a POC implementation.

Stefan, I did mention that, thanks for remembering. - chris
From: Stefan Heule<EMAIL_ADDRESS>Sent: Wednesday, June 19, 2019 1:19 PM
To: p4lang/p4runtime<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [p4lang/p4runtime] Possible enhancement: add "entity content version numbers" (#202)
[EXTERNAL]
I think one more note from the same working group meeting was that the implementation might be quite challenging, and we would probably want a POC implementation.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fp4lang%2Fp4runtime%2Fissues%2F202%3Femail_source%3Dnotifications%26email_token%3DAHNT6HPRR6YRULJ4GAT4NC3P3KICJA5CNFSM4HNFDTIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYDFFNA%23issuecomment-503730868&data=02|01||8b1bbfdec474419193ee08d6f4f354f1|63545f2732324d74a44dcdd457063402|1|0|636965723277173512&sdata=Be%2BeaMSaWf91Sy71aRKx58HyMuw%2BZWUTmSHHzbA5fqs%3D&reserved=0, or mute the threadhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHNT6HPSEWC63RZXBXTENX3P3KICJANCNFSM4HNFDTIA&data=02|01||8b1bbfdec474419193ee08d6f4f354f1|63545f2732324d74a44dcdd457063402|1|0|636965723277183516&sdata=pBQvGRY16eYBYVLQABD995%2BwUXT655qgOGzHajEPAwo%3D&reserved=0.


Add new bresenham iterator that yield end point

Add advance method on Bresenham that return the next point without checking if we are past end. Bresenham iterator use this internally. It could also be used to create infinite line
Add BresenhamInclusive which is a wrapper over Bresenham that also return the end point
Add BresenhamInclusive to most tests

No breaking change

This looks great - merging it. Thank you!


Connecting dartdoc components

Main changes:

task sources to generate tasks based on the metadata in the bucket
fixed path issue: bucket objectpath shouldn't start with /
fixed requestUri parsing that started some relative paths with /
added content-type for both the stored entry and on serving the file

Tested this locally, and seems to work, but I'm not satisfied with it:

even with the concurrent uploads, uploading large packages takes long time
with a large API surface, we'll generate an upload request per method, which will possibly ramp up storage costs.

In an upcoming PR I'll rewrite the backend to store a .tar.gz of the generated directory and serve content from a local filesystem cache, but I wanted to submit this as this is a working version.

Per our discussion: I've added a TODO to add the dartdocVersion prefix in a subsequent PR.


fix: resolution -> size

Makie v0.20.0 deprecated the resolution argument, replacing it with size 1.  This causes Makie to emit deprecation warnings when a theme from TuePlots is loaded.
Change that argument in TuePlots too.

This commit works for me with Makie v0.20.9.
It is unclear what this does to backwards compatibility.  Are there pre-0.20.0 versions of Makie that are compatible with this project and so will be broken by this change?  If so, what is the correct change in the compat for MakieCore?

I have rebased this to include the changes from other pull requests.
I am moderately surprised that the tests don't fail in the downgrade job.  Maybe this is because the tests don't actually attempt to generate any plots.

It really does seem to be running the tests with MakieCore v0.4.0:

https://github.com/nathanaelbosch/TuePlots.jl/actions/runs/8985157878/job/24678561490#step:7:42
https://github.com/nathanaelbosch/TuePlots.jl/actions/runs/8985157878/job/24678561490#step:7:124

So yes, probably good to go.
I pushed a slightly clarified version of that test just now.


Release 3.1.0

coreos-metadata 3.1.0:

provider: add boot check-in on azure and packet
azure: hardcode fallback for wireserver endpoint
providers/packet: minor code cleanup
cargo: update most dependencies to latest versions

/cc @jlebon for a green stamp

LGTM!

LGTM

So, this needs a final piece here for RHCOS/FCOS, which is the actual systemd unit that will replace the phone home service on CL. Should we include it in this repo?

So, this needs a final piece here for RHCOS/FCOS, which is the actual systemd unit that will replace the phone home service on CL. Should we include it in this repo?

My ideal case, which may be mis-informed, is that once this update goes in, provided azure is identified as the oem id on the kernel command line, all the needfuls will happen on a *COS system to keep in online in Azure.  Likewise for packet.
If that means including the unit file, then I think my answer is yes.

If that means including the unit file, then I think my answer is yes.

I agree.

Yeah, definitely no doubt we need a systemd unit somewhere. My question was more about where. :) It'd be nice to keep it here, but I'd like to confirm the interactions with CL since we probably don't want to change how check-in works there at this point. (Or do we?)

@jlebon I think that the service file could live here (next to the existing one). However I think that right now it is quicker to tag this, add the unit via RPM packaging, test everything and then move the unit to here once everything is confirmed ok. If no objections, I'll proceed with the release.

Sure, WFM!


Alignment of default date

Hi,
As our functions have a default date range (date_from, date_to), please suggest the default value so we can align.
At the moment the get_data function uses D-7 to D. If needed I can change so that all functions can be streamlined and re-used.

I have no preference about this, I am ok if we changed to D-7.
Related to this, when I am looking at your documentation I feel like '%Y-%m-%d' is not very intuitive... I need to search online in order to confirm what is the exact format, could we add an example, like "2021-12-31"?

Hi Rohit,
Thanks - I'll change to a more intuitive format, i,.e, '2021-12-31'
Thomas

Yea I'm also ok with D-7 to D

Hi Rohit,
Thanks - I'll change to a more intuitive format, i,.e, '2021-12-31'
Thomas

Sounds good thanks! BTW, I am Rong lol

Closing this issue as we have made an alignment =)


[Bug]: 404 error at URL: /txns/NaUe8RAyb75mTgPnnhRQoz_Yh1IHplG_w_4sOm90aEU

What happened?
A bug happened!
URL
https://explorer.helium.com/txns/NaUe8RAyb75mTgPnnhRQoz_Yh1IHplG_w_4sOm90aEU
What browsers are you seeing the problem on?
Safari
Do you see the issue on Mobile or Desktop?
Mobile
Relevant log output
No response

works now, closing.


sap_hypervisor_node_preconfigure: Role not working when using the Galaxy collection

When testing the ansibe-galaxy community version, a couple of issues occurred that are fixed with this PR.

Role name is community.sap_install.sap_hypervisor_node_preconfigure (adjusted in example playbook)
When doing include_tasks, the path has to be relative to the role top tasks directory.
Reads the KUBECONFIG environment variable and sets the environment for the playbook accordingly.

Solved in https://github.com/sap-linuxlab/community.sap_install/pull/628 already, several days ago.


tsp, update sdk automation to use TypeSpec-Project-Process.ps1

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

/azp check-enforcer override

/check-enforcer override


Usage with Jest and Storybook

Hi, I'm using react-env in a Next.js codebase and I had issues making it work in Jest tests and Storybook.
For Next.js, I'm using this script in the _app.tsx, using the next/script component:
<Script strategy="beforeInteractive" src="/__ENV.js" />

For both Jest and Storybook, I added the ENV=dev react-env -e ENV -- before the respective commands in the package.json (the same as for the next dev/next start), but I struggled with where to load the __ENV.js file.
In the end, I went for a simple import in both. In Jest's setupFilesAfterEnv (in my case test/config/setupFiles.ts):
import "../../public/__ENV"

The same for the Storybook's .storybook/preview.tsx:
import "../public/__ENV"

This seems to work for me, but my question is - is this the recommended approach?

@andrewmclagan While I agree this library addresses a specific issue of browser runtime variables, I also feel it should provide a basic acknowledgment in README that users use react-env in projects with Jest and Storybook and what are the options in that case.
And why I think so: The env vars from react-env are accessed via env() util. When you setup react-env, you rewrite your code to use this util. However, the same code runs in the tests and Storybook, and suddenly it is unable to find the variables. That's why I think it's good to acknowledge this and also think about the potential solutions to help the users of this library.
The solutions that come to my mind:

the one I mentioned in OP

use react-env CLI for both Jest and Storybook
apparently, Storybook is a nearly-browser environment, it has the global window object, so an import of __ENV solves the issue
the same works for me for Jest, but it may be related to me using testEnvironment: "jsdom", in my jest.config.js

wrap the env() util in your own

(I actually do this anyway to provide strict TS typing for my env vars)
you can split the functionality (how to access env vars) based on some env var in process.env (NODE_ENV?)

for browser, the env() util is used
for the rest, based on your other setup, maybe process.env will be used to access vars


How to add contentInset to scrollview / collectionview / calendar?

How can I add a contentInset to the calendar view?
I want to have an inset on the left and right sides.
Now, when I do this with constraints and I scroll the page, the calendar is cut off at the edge. I want to use contentInset to eliminate this edge and make the swipe smoother, utilizing the full-screen edges.
I tried this code, but it's not working:
self.calendar.collectionView.contentInset = UIEdgeInsets(top: 0.0, left: 40.0, bottom: 0.0, right: 40.0)
My calendar right now with constraint:

What I would like to achieve:

Thanks!!

calendar.calendarWeekdayView.snp.makeConstraints { make in
make.horizontalEdges.equalToSuperview().inset(24)
make.height.equalTo(36)
}
calendar.collectionViewLayout.sectionInsets = .init(top: 5, left: 24, bottom: 5, right: 24)


Add autofixes for PYI001 and PYI010

Summary
Adds autofixes for:

PYI001
PYI010

Test Plan

cargo test and reviewing the snapshots

I wanted to check the fix for multi-line funcs to, but this didn't work as PYI010 does not trigger on multi-line funcs quite explicitly due to:
/// PYI010
pub(crate) fn non_empty_stub_body(checker: &mut Checker, body: &[Stmt]) {
    if body.len() != 1 {
        return;
    }

I assume this is because Y048 checks and makes sure that all functions are one line. This rule does not exist in Ruff (yet). Unsure whether there was a specific reason for that. I could add the rule (it's an easy check) but then the question would be what the autofix should do if one rule is turned on and the other is turned off. It seems to me both the fix and check could be combined into one (i.e. if all stub funcs should only be ... then all stub funcs which are anything but ... and any amount of lines, should trigger a Violation and could be replaced by ...). Let me know what is preferred here and I'll implement that

Generally, our practice would be to implement Y048 as-is, and then just keep the logic independent (so we might run into cases where one rule is enabled and another isn't, and we miss out on an opportunity to fix -- but that's fine.)

Generally, our practice would be to implement Y048 as-is, and then just keep the logic independent (so we might run into cases where one rule is enabled and another isn't, and we miss out on an opportunity to fix -- but that's fine.)

Sounds good, I'll implement YO48. But do we want to make this rule flag on a multi-line function too? Even if you do not autofix, right now a stub function:
def foo():
    print("bla")
    print("bla2")

Will not flag a rule called NonEmptyStubBody
but this will:
def foo():
    print("bla")

The original plugin goes:
        if len(body) > 1:
            self.error(body[1], Y048)
        elif body:
            statement = body[0]
            # normally, should just be "..."
            if isinstance(statement, ast.Pass):
                self.error(statement, Y009)
            # Ellipsis is fine. Str (docstrings) is not but we produce
            # tailored error message for it elsewhere.
            elif not (
                isinstance(statement, ast.Expr)
                and isinstance(statement.value, (ast.Ellipsis, ast.Str))
            ):
                self.error(statement, Y010)

So it assumes before checking for Y010 that the Y048 does not happen. Ruff allows for a more modular approach so it might make sense to not make any assumptions about how many lines the func is when checking for PYI010.

@charliermarsh I think I'll just leave the autofix for PYI010 like so. When https://github.com/charliermarsh/ruff/pull/4645 makes it in, the warning for the multi-line scenario is covered there (and an autofix can be added for that scenario as well). In case a user willingly disables that rule but enables this one, I guess it's ok for Ruff to assume the user knows they could miss a Violation. For future rules and autofixes in this plugin I'll keep the logic independent for

@qdegraaf - Yeah sounds good -- this looks correct to me given the above.


Create README.md for backend folder

Create a basic README.md file for the backend server.
The README should include but not limited to

Getting Started
Project Structure
How to Install?
Run Development Server
Tech Stack (list of dependencies)

I would like to work on this please assign this to me

Go for it  👍
@Skr-suyash


Development GeoEvent configuration has an unneeded folder data store (i.e "AFMData")?

@jrweakland @pHill5136 Imported the GeoEvent xml configuration from our development geoevent server into a clean Geoevent server and import threw error that AFMData (C:\data) folder does not exist.
I've checked the GeoEvent xml configuration file and searched for the label/name "AFMData" and it's only referenced in the data store section of the xml configuration. AFMData was a data store that was used in the past, but believe is no longer necessary as the "OpsServerData" data store is now used.
Please confirm if "AFMData" data store is no longer necessary and delete if necessary.

Removed file datasdtore afmdata

I will verify while I review the overall GeoEvent content.

Verified that AFMData is removed.


Engine: C++ 17 Upgrade Broke Angelscript VM Implementation

Description
When using std:: to fix compilation errors caused by removing it from the global namespace, the RegisterObectMethod code that documents what method was called where isn't able to parse std:: in modules/vms/angel/src/angelsystem.cpp. I don't currently know how to modify the strings that are passed to opCast() and opImplCast() at my current programming level, but I've narrowed down where the buggy code is and will have an accompanying PR to partially solve the bug.
Prerequisites
Post https://github.com/thunder-engine/thunder/pull/786 PR. Issue appears in both debug and release builds but may be specific to my platform and not the others and might only exist when building using Clang or CMake.
Steps to Reproduce

Download latest master from git repository.
Run mkdir -p thunder-build
cd thunder-build
CC="clang17" CXX="clang++17" cmake -DCMAKE_CXX_LAUNCHER="ccache" ../thunder (NOTE: ccache isn't required but will speed up recompilation during tests and Clang17 has been giving me the best results so far in terms of finding compilation errors; your mileage may vary)
gmake install
./install-root/sdk/2024.2/freebsd/x86/bin/WorldEditor (Replace freebsd and x86 with your platform and architecture if testing on a different OS)
Create new project or open a current one.

Expected behavior:
WorldEditor crashes due to UiKit bug reported in #778 but loads otherwise.
Actual behavior:
WorldEditor stalls for a few seconds to a minute before the Loading Resource bar appears and program crashes.
Reproducibility:
Every time I launch the program for both debug and release builds built using the steps above.
Versions
Additional Information
Attached is the relevant output related to this bug. I was able to narrow down where in the code it was by doing a string search and physically altering the name + "@ opCast()" string to some garbage code to have it show in my output during one test while also noticing that the functions mapped to code that was changed in https://github.com/thunder-engine/thunder/pull/786 . The angelscript documentation here was good reading before bed: http://angelcode.com/angelscript/sdk/docs/manual/classas_i_script_engine.html#ad74043be9cc30f105c62f482ca720574 .
angelscript.txt

If forgot to put where the bug was in the code. :sweat_smile:
https://github.com/thunder-engine/thunder/blob/53cbfd4d4cd3f6b334fe812bc60c526b24aa516a/modules/vms/angel/src/angelsystem.cpp#L486

Tested this on a release build and it doesn’t seem to be a major issue. No crashes so far so not worried about it right now.


Java agent configuration for Alpine 3.3 based OpenJDK image

Hi,
I'm trying to configure the DT agent for a Spring boot app running in a Alpine 3.3 based OpenJDK 7 image. I'm installing the required the glibc dependency in my image and mounting a volume which has the libdtagent.so. But I get the following error when running a container based of that image.
Error occurred during initialization of VM Could not find agent library /apps/Dynatrace/agent/lib64/libdtagent.so in absolute path, with error: Error relocating /apps/Dynatrace/agent/l ib64/libdtagent.so: __isnan: symbol not found
Here is how I'm installing the glibc deps.
 mkdir /tmp/apk \
    && curl -o /tmp/apk/glibc-2.21-r2.apk "https://<registry>/artifactory/apk-local/v3.2/custom/x86_64/glibc-2.21-r2.apk" \
    && curl -o /tmp/apk/glibc-bin-2.21-r2.apk "https://<registry>/artifactory/apk-local/v3.2/custom/x86_64/glibc-bin-2.21-r2.apk" \
    && apk add --no-cache libgcc \
    && apk add --allow-untrusted /tmp/apk/glibc-2.21-r2.apk \
    && apk add --allow-untrusted /tmp/apk/glibc-bin-2.21-r2.apk \
    && /usr/glibc/usr/bin/ldconfig /lib /usr/glibc/usr/lib \
    && echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf \

I am getting the same error using Dynatrace-Agent slim, and adding my application in that dockerfile, and running it.
Why is this happening?

@grabnerandi do you know if anyone has knowledge of this problem? I find it kind of odd to have this problem and yet there is a Dockefile.slim in the dynatrace-docker project

Hi @jimonreal. Such things are better handled on answers.dynatrace.com. I do not have an immediate answer, but it seems like OpenJDK on Alpine has a tight dependency on musl and the current agent version does not yet support musl libc (we do have an agent in beta mode though).

@metmajer is there a way to test this beta agent?

Hi,
Did anyone implemented dynatrace agent running on alpine linux. above posts shows some errors, is it resolved ?
We are also trying to implement same and using docker slim file.
Thanks

Hi,
Dynatrace agent is not working on Alpine Linux and giving below error. can you please share the beta agent if available.
Could not find agent library /dynatrace/agent/lib64/libdtagent.so in absolute path, with error: Error relocating /dynatrace/agent/lib64/libdtagent.so: __isnan: symbol not found

We've updated our community documentation on Monitoring Dockerized Apps with Dynatrace AppMon with a Q&A section on how to integrate with Alpine-based Docker images. Helpful? Looking forward to reading your feedback!
@ramrei we've answered your request via email!

@dtmistry @jimonreal @ramrei
In EAP_<IP_ADDRESS>6 version we use Alpine 3.5 by default and agent libraries are no longer an issue. From what we found the cause was in Alpine 3.3. Please play with it and we're looking forward to your feedback!


Fixed UI Config Manager Bug

Well as you can see here the Total Configs was kinda hidden by the search bar which really annoyed most of users so all what I did was moving it a little up so it fits with all kind of resolution, added it inside of a grid for more UI stability.

Thanks, merged

By the way, I think you moved the lables with your mouse because it outputted all the wierd-looking margins. In WPF we try to just use code to move stuff, unlike WinForms, so I will fix this in order to have consistency with the rest of the code and adopt the correct WPF practices.


Added simplified language names and removed undefined class

Added more languages. All language labels are in alphabetical order. All language codes (except some) follow ISO 639-1.
I will keep adding new languages as they added.
Current Languages Count: 37 😲

Removed the undefined class from Avatar.

@nadirabbas I messed some things up 😩 so I am making a new request and closed it.

why did you remove circle from Avatar.tsx?

why did you remove circle from Avatar.tsx?

@nadirabbas The profile is circle everywhere (class rounded-full) but on the profile page (/me) and the profile modal it is not a perfect circle (class rounded-3xl). So I thought we should make it consistent every where. If you say I will add the circle prop and make the components with the circle prop rounded-full so it is consistent through the website.

@manaskhandelwal i think having it slightly squared is intended, i think its better if we re add circle prop.

Fix conflicts due to file naming changes since the greek translations were updated.

How dum rite

@nadirabbas @ermalsh I have done it, plz check.

more conflicts XD

we already have language labels in the site, what does this PR add?


Unexpectedly fails with postcss-loader v4.0.0

Error I'm seeing with postcss-loader v4.0.0:
ERROR in ./assets/scss/style.scss
Module build failed (from ./node_modules/css-loader/dist/cjs.js):
ModuleBuildError: Module build failed (from ./node_modules/postcss-loader/dist/cjs.js):
ValidationError: Invalid options object. PostCSS Loader has been initialized using an options object that does not match the API schema.
 - options has an unknown property 'plugins'. These properties are valid:
   object { postcssOptions?, execute?, sourceMap? }

Worth noting: I'm using Tailwind, so it might be the presence of a PostCSS plugin that causes the error.

I have the same problem here. Downgraded to postcss-loader v3 to work (not ideal, but does the job for now):
npm uninstall postcss-loader --save-dev
npm install<EMAIL_ADDRESS>--save-dev

Same here

Same here..

Downgrading postcss-loader to 3.0.0 worked for me to

I don't use laravel-mix, but this is one of the few places I saw this error talked about, so adding comments on how I resolved it.
postcss-loader 4 seems to require postcss 8.x, but when I did the upgrade from 3 to 4, postcss was not upgraded automatically. Explicitly upgrading to postcss 8 and making the necessary changes to the postcss.config.js format (specifically plugins: {} to postcssOptions: { plugins: [] }) fixed this problem up for me.
Hope that helps somebody.

This is fixed in the upcoming release.

Downgrading to<EMAIL_ADDRESS>only gives me a TypeError: text.forEach is not a function error.
Which release of laravel-mix should be used to get that error fixed? Thanks!

When I tried using tailwind v2.0 with laravel-mix 6.0.0-beta.14 and postcss ^8.1.7 with postcss-loader ^4.1.0 with updated postcss.config.js, but this time I'm getting:
[webpack-cli] Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.optimization.splitChunks.cacheGroups['styles-public/assets/css/admin/editor'] has an unknown property 'type'. These properties are valid:
   object { automaticNameDelimiter?, automaticNameMaxLength?, automaticNamePrefix?, chunks?, enforce?, enforceSizeThreshold?, filename?, maxAsyncRequests?, maxInitialRequests?, maxSize?, minChunks?, minSize?, name?, priority?, reuseExistingChunk?, test? }
 - configuration.output.chunkFilename should be a string.
   -> The filename of non-entry chunks as relative path inside the `output.path` directory.
 - configuration.stats has an unknown property 'preset'. These properties are valid:
   object { all?, assets?, assetsSort?, builtAt?, cached?, cachedAssets?, children?, chunkGroups?, chunkModules?, chunkOrigins?, chunks?, chunksSort?, colors?, context?, depth?, entrypoints?, env?, errorDetails?, errors?, exclude?, excludeAssets?, excludeModules?, hash?, logging?, loggingDebug?, loggingTrace?, maxModules?, moduleAssets?, moduleTrace?, modules?, modulesSort?, nestedModules?, optimizationBailout?, outputPath?, performance?, providedExports?, publicPath?, reasons?, source?, timings?, usedExports?, version?, warnings?, warningsFilter? }

Has the fix already been added to beta version?

… did they remove stat presets? I'll take a look this weekend. :|

When I tried using tailwind v2.0 with laravel-mix 6.0.0-beta.14 and postcss ^8.1.7 with postcss-loader ^4.1.0 with updated postcss.config.js, but this time I'm getting:
[webpack-cli] Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.optimization.splitChunks.cacheGroups['styles-public/assets/css/admin/editor'] has an unknown property 'type'. These properties are valid:
   object { automaticNameDelimiter?, automaticNameMaxLength?, automaticNamePrefix?, chunks?, enforce?, enforceSizeThreshold?, filename?, maxAsyncRequests?, maxInitialRequests?, maxSize?, minChunks?, minSize?, name?, priority?, reuseExistingChunk?, test? }
 - configuration.output.chunkFilename should be a string.
   -> The filename of non-entry chunks as relative path inside the `output.path` directory.
 - configuration.stats has an unknown property 'preset'. These properties are valid:
   object { all?, assets?, assetsSort?, builtAt?, cached?, cachedAssets?, children?, chunkGroups?, chunkModules?, chunkOrigins?, chunks?, chunksSort?, colors?, context?, depth?, entrypoints?, env?, errorDetails?, errors?, exclude?, excludeAssets?, excludeModules?, hash?, logging?, loggingDebug?, loggingTrace?, maxModules?, moduleAssets?, moduleTrace?, modules?, modulesSort?, nestedModules?, optimizationBailout?, outputPath?, performance?, providedExports?, publicPath?, reasons?, source?, timings?, usedExports?, version?, warnings?, warningsFilter? }

Has the fix already been added to beta version?

same issue as well

Same problem here, trying to use Tailwind 2.0.1 with Laravel Mix

I fixed the problem by updating laravel-mix to version 6. See the page: <https://laravel-mix.com/docs/6.0/workflow>

I fixed the problem by updating laravel-mix to version 6. See the page: https://laravel-mix.com/docs/6.0/workflow

and I changed the scripts of the file"package.json" by:
"scripts": {
"development": "mix",
"watch": "mix watch",
"watch-poll": "mix watch -- --watch-options-poll=1000",
"hot": "mix watch --hot",
"production": "mix --production"
},

Yeah I did the same but still getting this error when I run npm run development
[webpack-cli] Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.optimization.splitChunks.cacheGroups['styles-css/theme'] has an unknown property 'type'. These properties are valid:
   object { automaticNameDelimiter?, automaticNameMaxLength?, automaticNamePrefix?, chunks?, enforce?, enforceSizeThreshold?, filename?, maxAsyncRequests?, maxInitialRequests?, maxSize?, minChunks?, minSize?, name?, priority?, reuseExistingChunk?, test? }
 - configuration.output.chunkFilename should be a string.
   -> The filename of non-entry chunks as relative path inside the `output.path` directory.
 - configuration.stats has an unknown property 'preset'. These properties are valid:
   object { all?, assets?, assetsSort?, builtAt?, cached?, cachedAssets?, children?, chunkGroups?, chunkModules?, chunkOrigins?, chunks?, chunksSort?, colors?, context?, depth?, entrypoints?, env?, errorDetails?, errors?, exclude?, excludeAssets?, excludeModules?, hash?, logging?, loggingDebug?, loggingTrace?, maxModules?, moduleAssets?, moduleTrace?, modules?, modulesSort?, nestedModules?, optimizationBailout?, outputPath?, performance?, providedExports?, publicPath?, reasons?, source?, timings?, usedExports?, version?, warnings?, warningsFilter? }

Yeah I did the same but still getting this error when I run npm run development
[webpack-cli] Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.optimization.splitChunks.cacheGroups['styles-css/theme'] has an unknown property 'type'. These properties are valid:
   object { automaticNameDelimiter?, automaticNameMaxLength?, automaticNamePrefix?, chunks?, enforce?, enforceSizeThreshold?, filename?, maxAsyncRequests?, maxInitialRequests?, maxSize?, minChunks?, minSize?, name?, priority?, reuseExistingChunk?, test? }
 - configuration.output.chunkFilename should be a string.
   -> The filename of non-entry chunks as relative path inside the `output.path` directory.
 - configuration.stats has an unknown property 'preset'. These properties are valid:
   object { all?, assets?, assetsSort?, builtAt?, cached?, cachedAssets?, children?, chunkGroups?, chunkModules?, chunkOrigins?, chunks?, chunksSort?, colors?, context?, depth?, entrypoints?, env?, errorDetails?, errors?, exclude?, excludeAssets?, excludeModules?, hash?, logging?, loggingDebug?, loggingTrace?, maxModules?, moduleAssets?, moduleTrace?, modules?, modulesSort?, nestedModules?, optimizationBailout?, outputPath?, performance?, providedExports?, publicPath?, reasons?, source?, timings?, usedExports?, version?, warnings?, warningsFilter? }
`

If you change the script 'see <https://laravel-mix.com/docs/6.0/upgrade>
you just execute "npx mix" or "npx mix watch".

I was able to use tailwind 2 with laravel-mix only after upgrading node (from v.10 to v.13).

I'm getting the

Yeah I did the same but still getting this error when I run npm run development
[webpack-cli] Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.optimization.splitChunks.cacheGroups['styles-css/theme'] has an unknown property 'type'. These properties are valid:
   object { automaticNameDelimiter?, automaticNameMaxLength?, automaticNamePrefix?, chunks?, enforce?, enforceSizeThreshold?, filename?, maxAsyncRequests?, maxInitialRequests?, maxSize?, minChunks?, minSize?, name?, priority?, reuseExistingChunk?, test? }
 - configuration.output.chunkFilename should be a string.
   -> The filename of non-entry chunks as relative path inside the `output.path` directory.
 - configuration.stats has an unknown property 'preset'. These properties are valid:
   object { all?, assets?, assetsSort?, builtAt?, cached?, cachedAssets?, children?, chunkGroups?, chunkModules?, chunkOrigins?, chunks?, chunksSort?, colors?, context?, depth?, entrypoints?, env?, errorDetails?, errors?, exclude?, excludeAssets?, excludeModules?, hash?, logging?, loggingDebug?, loggingTrace?, maxModules?, moduleAssets?, moduleTrace?, modules?, modulesSort?, nestedModules?, optimizationBailout?, outputPath?, performance?, providedExports?, publicPath?, reasons?, source?, timings?, usedExports?, version?, warnings?, warningsFilter? }

I'm getting the same errors using npx mix

I don't use laravel-mix, but this is one of the few places I saw this error talked about, so adding comments on how I resolved it.
postcss-loader 4 seems to require postcss 8.x, but when I did the upgrade from 3 to 4, postcss was not upgraded automatically. Explicitly upgrading to postcss 8 and making the necessary changes to the postcss.config.js format (specifically plugins: {} to postcssOptions: { plugins: [] }) fixed this problem up for me.
Hope that helps somebody.

it's good

I had the same problem, i have solved it the moment when i have realized that i have been using Node version 10.21 something. Then i google the problem and found that most of the functionalities within the post-css-loader are introduced in Node 11.
Then i upgraded the Nod version and problem is solved.

I had the same probrem when I had laravel-mix v5. I updated to v6 and the problem was gone.

I had the same probrem when I had laravel-mix v5. I updated to v6 and the problem was gone.

Update laravel-mix to version 6.0  can fix problem.  @diosby
 yarn add<EMAIL_ADDRESS>

still have errors it's a bit annoying to not think about that when speaking about migration...
Module parse failed: Unexpected token (177:0)
File was processed with these loaders:
 * ./node_modules/vue-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.

I don't use laravel-mix, but this is one of the few places I saw this error talked about, so adding comments on how I resolved it.
postcss-loader 4 seems to require postcss 8.x, but when I did the upgrade from 3 to 4, postcss was not upgraded automatically. Explicitly upgrading to postcss 8 and making the necessary changes to the postcss.config.js format (specifically plugins: {} to postcssOptions: { plugins: [] }) fixed this problem up for me.
Hope that helps somebody.

it's good .

loader: "postcss-loader",  options: {          postcssOptions: {                   plugins: () => [require("autoprefixer")()],          },                   },
should fix it

npm install -D postcss-nesting
// postcss.config.js
module.exports = {
plugins: {
'postcss-import': {},
'tailwindcss/nesting': 'postcss-nesting',
tailwindcss: {},
autoprefixer: {},
}
}
this example worked for me


[Bug]: Could not able to get the selectors when headless: true, but it is working with headless:false

Steps to reproduce
Getting the error at
await page
.waitForSelector(
config.oktaUserNameSelector,
config.waitForSelectorTimeOut
)
.catch(catchHandler);
where  config.oktaUserNameSelector = "#input28"
Expected results
Wait for username selector
Wait for password selector
Page is ready just before alert
Actual results
Wait for Email selector
TimeoutError: Waiting for selector #input28 failed: Waiting failed: 40000ms exceeded
Wait for username selector

Please file the bug using the Puppeteer (not @puppeteer/browsers) template and provide a minimal executable example.


:bug: Unable to mange groups of an user when there more than one storage in a realm

Let a realm r with storage s1 ans s2
Asume that checks for presence in the realm begin by s1
when the api check the presence of a user in the storage s2, management of the group fail with the message ""Cannot find user with id  in realm " because checks stops after not finding the user in s1

(on ly delete opartion, put works)


No rev-NAT xlation for service replies in CNI chaining

A user reported that a pod was failing to connect to the kube-apiserver running on the other node. They are using Cilium with AWS-VPC CNI via the recently introduced CNI chaining (--cni-chaining-mode=aws-cni).
The relevant tcpdump output from the pod netns:
10:23:15.981543 IP <IP_ADDRESS>.53096 > <IP_ADDRESS>.443: Flags [S], seq<PHONE_NUMBER>, win 26883, options [mss 8961,sackOK,TS val 25480963 ecr 0,nop,wscale 7], length 0
10:23:15.981767 IP <IP_ADDRESS>.443 > <IP_ADDRESS>.53096: Flags [S.], seq<PHONE_NUMBER>, ack<PHONE_NUMBER>, win 26847, options [mss 8961,sackOK,TS val<PHONE_NUMBER> ecr 25480963,nop,wscale 7], length 0
10:23:15.981782 IP <IP_ADDRESS>.53096 > <IP_ADDRESS>.443: Flags [R], seq<PHONE_NUMBER>, win 0, length 0

<IP_ADDRESS>:443 - ClusterIP of the kube-apiserver service.
<IP_ADDRESS> - the client pod IP addr.
<IP_ADDRESS> - the node IP addr which runs the kube-apiserver.

The relevant output from the cilium bpf lb list:
<IP_ADDRESS>:443         <IP_ADDRESS>:0 (140)
                       <IP_ADDRESS>:443 (140)
                       <IP_ADDRESS>:443 (140)
                       <IP_ADDRESS>:443 (140)

We can spot from the dump, that the SYN-ACK reply from the server was not rev-NAT xlated, so therefore it was dropped by the client (RST).
Regarding Cilium version:
we upgraded from 1.6.0-rc2 to 1.6.0, the problem did not immediately present itself, I can’t say for certain but it may have occurred when we were on 1.6.0-rc2 but we didn’t notice it

we went to 1.6.0 on the 21st August, we only noticed this issue on Friday

As a temporary workaround, users can disable BPF services by setting disable-k8s-services: "true" in the cilium-agent ConfigMap.

Related: https://github.com/cilium/cilium/pull/8978

The issue seems to be fixed in 1.6.1. The following test is reproducible in 1.6.0, but not 1.6.1:
The performed test:

install cilium on EKS following https://cilium.readthedocs.io/en/stable/gettingstarted/k8s-install-eks/
apply the CNP[1]
run connectivity-check, that curls pods using ClusterIP:
kubectl apply -f https://raw.githubusercontent.com/cilium/cilium/1.6.1/examples/kubernetes/connectivity-check/connectivity-check.yaml
observe policy drops in cilium monitor

xx drop (Policy denied (L3)) flow 0xfd0bcfb1 to endpoint 74, identity 2->52214: <IP_ADDRESS>:80 -> <IP_ADDRESS>:38216 tcp SYN, ACK
xx drop (Policy denied (L3)) flow 0x6e5a83f5 to endpoint 74, identity 2->52214: <IP_ADDRESS>:80 -> <IP_ADDRESS>:38216 tcp SYN, ACK
xx drop (Policy denied (L3)) flow 0x2dfd5573 to endpoint 74, identity 2->52214: <IP_ADDRESS>:80 -> <IP_ADDRESS>:38288 tcp SYN, ACK
xx drop (Policy denied (L3)) flow 0x3d522755 to endpoint 74, identity 2->52214: <IP_ADDRESS>:80 -> <IP_ADDRESS>:38288 tcp SYN, ACK
xx drop (Policy denied (L3)) flow 0xdc405421 to endpoint 74, identity 2->52214: <IP_ADDRESS>:80 -> <IP_ADDRESS>:38288 tcp SYN, ACK
xx drop (Policy denied (L3)) flow 0x473a8fdc to endpoint 74, identity 2->52214: <IP_ADDRESS>:80 -> <IP_ADDRESS>:38288 tcp SYN, ACK

contacting pod by podIp works

[1]
kind: CiliumNetworkPolicy
apiVersion: cilium.io/v2
metadata:
  name: all-within-namespace
specs:
  - endpointSelector:
      matchLabels: {}
    egress:
      - toEndpoints:
          - matchLabels: {}
  - endpointSelector:
      matchLabels: {}
    ingress:
      - fromEndpoints:
          - matchLabels: {}
  - endpointSelector:
      matchLabels: {}
    egress:
      - toEndpoints:
          - matchLabels:
              'k8s:io.kubernetes.pod.namespace': kube-system
        toPorts:
          - ports:
              - port: '53'
                protocol: ANY
            rules:
              dns:
                - matchPattern: '*'

Thanks for the confirmation @genbit . Looks like it was addressed by #8978 .

Note to any users that hit this: After upgrade, application pods must be restarted (rejoined to CNI) for this fix to take effect for existing workloads.


(minor) Prevent default language file (en.json) from being fetched twice when loading the app

Thanks for this 👍  Just 1 comment.

Yup; I agree. Will push that now.
On a similar topic: what do you think about persisting the language selection using local storage?
Ideally, I'd like to have a more robust system that checks the following to determine start language (first hit wins):

URL param
Local storage
browser/platform
Fallback to default

Local storage would be set if user manually changes language or if URL param exists. If you agree I'll PR that separately.

Thanks @hellofornow yes that would be nice. I have had plans to integrate some sort of low level storage option into core.framework, it would be nice if it used https://github.com/mozilla/localForage and I could write a NativeScript service which could provide on top of that to write to native storage options.
If you wanted to try a separate PR for something like this, I'm open to it, would need unit tests etc.
You have a minor error that is failing the build:
/home/travis/build/NathanWalker/angular2-seed-advanced/src/client/app/frameworks/i18n.framework/services/multilingual.service.ts
line 72  col 18  != should be !==

I'll add localForage and get that working; definitely need persistence for my work project.
I'm not sure this PR is that useful; in fact it's not working. If I override DEFAULT_LANGUAGE to 'fr' and keep my browser locale to 'en', it fetches en.json twice and doesn't fetch 'fr.json'. Removing a string from 'en.json' causes runtime exception. Better to close this PR and I'll fix the duplicate download at the same time as adding persistance.
I did find a couple other places that hardcode 'en' that will need updating:
(painful) https://github.com/NathanWalker/angular2-seed-advanced/blob/master/src/client/app/frameworks/i18n.framework/services/multilingual.service.ts#L24
(trivial) https://github.com/NathanWalker/angular2-seed-advanced/blob/master/src/client/app/frameworks/i18n.framework/components/lang-switcher.component.ts#L37

Yep let's close this. If working on a new PR with persistence in mind, I would just set initialState here to nothing:
https://github.com/NathanWalker/angular2-seed-advanced/blob/master/src/client/app/frameworks/i18n.framework/services/multilingual.service.ts#L24
instead something like this:
export interface MultilingualStateI {
  lang?: string;
}

export const multilingualReducer: ActionReducer<MultilingualStateI> = (state: MultilingualStateI = {}, action: Action) => {

And then grab the language from persistence if set otherwise fallback to static variable.


Improve tests

For now, only parser/util unit tests have been in place. Actual integration tests are still not yet implemented (aside from the very basic ones) as I haven't had much time to investigate how this might look like. I'm thinking of making this more of a high priority now before moving on with more advanced features.
Chart.js seems to have released their own homegrown test utils (chartjs-test-utils) but it is designed around Karma and Jasmine, and I have no plans to part with Jest for now.

So I've (kinda) succeeded in adapting chartjs-test-utils to a purely Jest runner, though it won't be able to run in multiple browsers at this point —which I guess should be fine, considering I'm only testing if colors show up as specified. It's made out of a custom Jest runner/environment and only runs in Electron. I'm still wondering if I should release it separately or just include it here since there's also a more promising test framework with a first-class browser runner coming up, but I don't think it'll be out (and be relatively stable) in a few months' time.
Now if I can just solve the huge problem of defaults not resetting between tests...


metadata: Parse new Char value type

The latest metadata now contains char constants.
Note that quote! { #value } generates the actual character code in the source file, whereas we prefer the escaped literals just like in Value::String().
pub const DEVPROP_FALSE: char = '\u{0}';
pub const DEVPROP_TRUE: char = '\u{ffff}';

I don't think the metadata impl. is correct; this should probably be a System.Byte or Int8 rather than a char.

ECMA-335 says that char is UTF16:
https://www.ecma-international.org/wp-content/uploads/ECMA-335_5th_edition_december_2010.pdf

A Rust char is 32 bits, not 16. Further, these true and false values don't look like they're semantically characters either.

DEVPROP booleans are 8-bit making them incompatible
typedef char CHAR;
typedef CHAR DEVPROP_BOOLEAN, *PDEVPROP_BOOLEAN;
#define DEVPROP_TRUE  ((DEVPROP_BOOLEAN)-1)
#define DEVPROP_FALSE ((DEVPROP_BOOLEAN) 0)


Fix room name length

this is too long

you should probably fix this I think

Yeah... we probably should. But who comes up with names that long anyway ¯_(ツ)_/¯

Fixed in latest commit (2020-12-18 09:03)


Intersections of layouts in Fancy Zones

Environment
Windows build number: 19041.329
PowerToys version: 0.18.2
PowerToy module for which you are reporting the bug (if applicable): Fancy Zones

Steps to reproduce

Create several templates for Fancy Zones.
Choose the first template and apply it.
Choose the second template and apply it.
Try to drag any window with the SHIFT key to see the intersections of two templates. So the old template we chose in step 2 didn't disappear.

Expected behavior
On step 4 (in reproduce section):
Try to drag any window with the SHIFT key and see only the chosen template.
Actual behavior
On step 4 (in reproduce section):
Try to drag any window with the SHIFT key to see the intersections of two templates. So the old template we chose in step 2 didn't disappear.
If you have, for example, three templates: Template 1, Template 2, Template 3, and apply them one by one, when the Apply button will remove "old" templates only if they situated on the right of the chosen template. So:
Apply Template 1 -> Template 2 and Template 3 will be removed. It seems like it works.
Apply Template 2 -> Template 1 will intersect Template 2. It's wrong.
Apply Template 3 -> Template 1 and Template 2 will intersect Template 3. It's wrong.
Screenshots

Hi @k-slava
can you please upload this file:
"C:\Users\%USERNAME%\AppData\Local\Microsoft\PowerToys\FancyZones\zones-settings.json"

In order to upload it, change the extension to .txt or zip it.
Thank you.

can you please upload this file

zones-settings.zip
Of course, I can :)

@k-slava
can you verify if it's still happening with 0.19.2? https://github.com/microsoft/PowerToys/releases/tag/v0.19.2
Thanks.

@k-slava
can you verify if it's still happening with 0.19.2? https://github.com/microsoft/PowerToys/releases/tag/v0.19.2
Thanks.

Yes, it's still happening. Should restart PowerToys every time I need to change preset.

Don't have this issue after 0.20.1. Thanks for fixing!


feat!: upgrade to node engine and modernize setup

This pull request bumps our engine and opens ups for all node versions above 14.
I'm also bumping a few packages, and introduce @bjerk/eslint-config. This is a standardized, opinionated eslint config. We'll need to update a few coding styles by introducing it, which should be fine (opening as separate PRs).

@asbjornu can you fix that? ☝
I also think we should allow the lining errors through. I'm opening a separate PR to fix 'em.

@asbjornu can you fix that? ☝ In this pull request, the name for the workflow is changed (which causes the status check API to keep waiting for something that does not exist anymore).

Done.

I also think we should allow the lining errors through. I'm opening a separate PR to fix 'em. Probably need to change some of the requirements there.

Perhaps we can use action-eslint to have linting errors reported as code review comments? It does not fail the build on errors by default.


rgw/admin: use http verbs from the http package

The http package provides constants for common http methods so let's use
them.
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>
Checklist

[ ] Added tests for features and functional changes
[ ] Public functions and types are documented
[ ] Standard formatting is applied to Go code

/mergify rebase

@Mergifyio rebase


rust_analyzer: add default initializeOptions value instead of empty d…

fix: #94
rust-analyzer parses initializeOptions according to the type definition.
Therefore, an empty dictionary fails because it does not satisfy the type definition.
So, set the default value of ServerConfig type to initializeOptions.
https://github.com/rust-analyzer/rust-analyzer/blob/d8d8c20077702b8537086d49914d02654a46ebc5/crates/ra_lsp_server/src/main.rs#L65-L79
https://github.com/rust-analyzer/rust-analyzer/blob/dc48f89581843248660ceb755bb20469ab6ac0c9/crates/ra_lsp_server/src/config.rs#L18-L49

That seems brittle, and defeats the purpose of loose formats like JSON. @matklad is this expected behavior of rust-analyzer: that clients have to send all fields in init_options?

@justinmk initializeOptions keis optional and value is any type.
So how to handle this option is different from each servers.
So we might remove initializeOptions key if value is empty dict or nil.

Nope, that would be a bug. We intend to handle empty object correctly, we use serde default:
#[serde(rename_all = "camelCase", default)]

But #94 says that we see an empty array here, and not an empty object, and that shape mismatch is I think worth complaining about?

Anyway, I think it makes sense to double check on our side how do we handle empty objects, and to improve the error message to include the original json, thanks for the ping!

But #94 says that we see an empty array here, and not an empty object, and that shape mismatch is I think worth complaining about?

Yes, we are sending an object instead of array since https://github.com/neovim/nvim-lsp/commit/b4f4b72a50983464864810e642e0b70e0b987e6f .

Anyway, I think it makes sense to double check on our side how do we handle empty objects, and to improve the error message to include the original json, thanks for the ping!

Thanks!

I've just checked, we do handle {}. Here's log from the corresponding VS Code invocation: https://gist.github.com/matklad/86adaeb6a52feb87cb5ceb850ed14810.
I've also pushed https://github.com/rust-analyzer/rust-analyzer/pull/3102 which should include the original JSON in the error message, which should help with debugging the issue.

@matklad Thank you for your quickly fixing. :)

@h-michael could you try wit this new version of rust-analyzer and paste the error message you get? I hope it sheds the light on the issue.

@matklad
Sorry, I misunderstood.
This error didn't seem to be the response of initialize.
https://gist.github.com/h-michael/deb0052a00456709bcb2f557c94bf083

"[ERROR ra_lsp_server] Failed to deserialize config: invalid length 0, expected struct ServerConfig with 12 elements; []\n"

That [] suggests that somewhere we're still sending an array ?

I think https://github.com/neovim/neovim/pull/11864 will solve this.

@matklad That was our problem. Thank you for helping us debug.


Adding Serial ports found on Mega

This will enable sketches made for the Mega be testable without changes in the production code

I wonder if you would consider adding the extra Serial ports. I will be using the Arduino Mock for a small vehicle platform that often uses the Arduino Mega which has extra Serial ports. This change will allow the sketches to be testable without any alterations in the production code. (e.g. replacing Serialx with Serial)


Multipath QUIC

Hello, everyone! I want to reproduce the work about Deceuninck, and I followed the tutorial in the link--" https://multipath-quic.org/2017/12/09/artifacts-available.html". Unfortunately, I could not install the quic-go with go version 1.9.2, 1.13.6, and 1.19.6. The errors I have met seems about the dependency package. Does anybody successfully install it? Could you please tell me which version of quic-go and go? I really appreciate any help you can provide.

You'll probably need to ask the authors of that project.

Ok, thanks!


<EMAIL_ADDRESS>is not compatible with<EMAIL_ADDRESS>

Is there any plan to improve dependency to new version of react ?

+1

+1

+1

React@18 still unsupported. Any plans to improve the dependency?

Is it just a version enforcement in package.json, or is it really not compatible ?

Not yet check it out.  I will make a fork then check which part is problem. I even know that this problem has many attention.

Ideally the library should support React 18. Until then, #173 seems the temporary hack, which is worth mentioning.

It might be project is dead, right?

The latest commit for the master branch is over 1 year ago (49f80b5d1548e4d4a2575e0e7f998e7148440405), so I started using a different library.

The latest commit for the master branch is over 1 year ago (49f80b5), so I started using a different library.

Which library are you using?

Which library are you using?

I got it working so far, but DX for firebase auth using 'credentials' provider isn't so pleasant: https://github.com/nextauthjs/next-auth. Good choice for other OAauth providers though.

Any updates?  This has been open for quite a while.

+1 please!


cmd/go: document GOROOT/bin/go PATH entry for go test and go generate

CL 404134 (in Go 1.19) changed go test and go generate to always place GOROOT/bin at the beginning of the PATH list for the subprocess.
I added a release note for it (in CL 409176), but forget to update the documentation for the actual commands. It should be mentioned explicitly in the documentation for go test and go generate.

Hi @bcmills, can I work on this? I assume I need to update the documentation in these files.
https://github.com/golang/go/blob/master/src/cmd/go/internal/generate/generate.go
https://github.com/golang/go/blob/master/src/cmd/go/internal/test/test.go

@gopherbot Please consider this as a backport to Go 1.20 and 1.19.
This is a documentation-only fix to document a Go 1.19 feature added to go test and go generate. It'll be easier for users who wish to rely on it to do so when it's documented, and avoids confusion about it otherwise only being documented in Go 1.21 onwards.
(I'm happy to help with preparing backport CLs if approved.)


Fixed #23967 -- Added formats for Greek

Please take a look at the discussion of #3696.

merged in 74f02557e0183812d6d60e2548985c5c40b3d27b, thanks. For future reference, please try to update the original PR instead of sending a new one. Instructions can be found in our contributing docs: https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/working-with-git/#rebasing-branches

Cool, thanks @timgraham !


Fix build failure

This change fixed serveral issues:
- the build failed when use docker image to compile darwin binary inside ubuntu image.
Due to the imported cgo, cross compile needed to be updated. A script is added  to build binary with go installed on machine.
    - protoc inside toolchain image.

this is still having problems...
paulkruger@scream:~/Sites/truechain/truechain-consensus-core/pbft(devel)$ hmake build-darwin
HyperMake v1.3.1 https://github.com/evo-cloud/hmake
=> toolchain 18:02:08.551
:] toolchain
=> deps 18:02:08.553
:] deps
=> build-darwin 18:02:08.555
[build-darwin]      + export GOOS=darwin
[build-darwin]      + GOOS=darwin
[build-darwin]      + export GOARCH=amd64
[build-darwin]      + GOARCH=amd64
[build-darwin]      + protoc -I src/pbft-core/fastchain/ src/pbft-core/fastchain/fastchain.proto --go_out=plugins=grpc:src/pbft-core/fastchain/
[build-darwin]      ++ pwd
[build-darwin]      ++ pwd
[build-darwin]      + export GOPATH=/go:/src:/src:/src/..
[build-darwin]      + GOPATH=/go:/src:/src:/src/..
[build-darwin]      + OUTDIR=bin/darwin
[build-darwin]      + mkdir -p bin/darwin
[build-darwin]      + '[' darwin -eq linux ']'
[build-darwin]      ./support/scripts/build.sh: line 20: [: darwin: integer expression expected
[build-darwin]      ++ git_commit_hash
[build-darwin]      +++ git rev-parse --short HEAD
[build-darwin]      fatal: not a git repository (or any parent up to mount point /)
[build-darwin]      Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
[build-darwin]      ++ echo
[build-darwin]      + LDFLAGS='-s -w -X common.GitCommitHash='
[build-darwin]      + go build -o bin/darwin/pbft-client -ldflags '-s -w -X common.GitCommitHash=' ./src/pbft-core/client/
[build-darwin]      src/vendor/github.com/ethereum/go-ethereum/crypto/signature_cgo.go:27:2: build constraints exclude all Go files in /src/src/vendor/github.com/ethereum/go-ethereum/crypto/secp256k1
[build-darwin]      + go build -o bin/darwin/truechain-engine -ldflags '-s -w -X common.GitCommitHash=' ./src/pbft-core/pbft-sim-engine/
[build-darwin]      src/vendor/github.com/ethereum/go-ethereum/crypto/signature_cgo.go:27:2: build constraints exclude all Go files in /src/src/vendor/github.com/ethereum/go-ethereum/crypto/secp256k1
:( build-darwin 18:02:17.171 [+8.616748s] exit status 1
╔════════════╤═══════╤═════════╤════════════╤════════════╤═════════════╗
║Target      │Result │ Duration│Start       │Finish      │Error        ║
╠════════════╪═══════╪═════════╪════════════╪════════════╪═════════════╣
║toolchain   │Skipped│         │18:02:08.551│18:02:08.551│             ║
║deps        │Skipped│         │18:02:08.553│18:02:08.553│             ║
║build-darwin│Failure│8.616748s│18:02:08.555│18:02:17.171│exit status 1║
╚════════════╧═══════╧═════════╧════════════╧════════════╧═════════════╝
ERROR: exit status 1
paulkruger@scream:~/Sites/truechain/truechain-consensus-core/pbft(devel)$

@miamiruby  this change is not merged.
Once it is mergered, there is not 'hmake build-darwin'.
for darwin,  just run ./build.sh

Cool I will test it

it compiled.... now I have 2 files in the bin
paulkruger@scream:~/Sites/truechain/truechain-consensus-core/pbft/bin/darwin(devel*)$ ./pbft-client
[.]Loading IP configs...
REQUESTS count -  10
just fetched private key for Client

Finish sending the requests.
[.]Firing up client executioner...
Test finished. Time cost: 133.145µs


Is it possible to group  chats ?

Is it possible to group  chats ?
at this moment, if I want to 'remove' some chats from main view I can move them to archived,
however I'd like to group them under another group (or think about it as another 'archive' with different name).
Is it possible ?

No, this is something that only whatsapp web developers can do.


Not picking up definitions from crates

I feel like I'm missing something obvious, but I can't get racer to pick up any definitions in installed cargo modules.
E.g. racer complete libc::AF_IN returns no results despite ~/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.7/ being present
The only libc completions it finds are from RUST_SRC_PATH

I was trying to reproduce the real issue incorrectly from the command line. I'll file a new issue since this one is entirely miseading


[Bug Report] Rendering multiple environments in Meta-World doesn't work

Describe the bug
This issue was originally opened in Meta-World by @ManfredStoiber. There are images of the rendering issue in the linked issue.
The issue is with Multi-Task and Meta-RL rendering. The user may want to render in multiple environments in succession and go back to previous environments and render after X steps of training. However it seems that when a user tries to do this, the context of the Mujoco renderer does not make the previously created viewer the current context. In these cases you get rendered frames that look like the ones from the linked issue above.
I think the fix is to change the if statement in this function to >= 1. This forces the viewer to be current context. However, I don't know if this is a fix that will cause issues with single environments. It shouldn't because calling the make context current function on a context that is already current should be a defined behaviour.
Code example
import metaworld
import random
import matplotlib.pyplot as plt

mt50 = metaworld.MT50() # Construct the benchmark, sampling tasks

training_envs = []
for name, env_cls in mt50.train_classes.items():
  env = env_cls(render_mode="rgb_array")
  task = random.choice([task for task in mt50.train_tasks
                        if task.env_name == name])
  env.set_task(task)
  env.camera_name="corner3"
  training_envs.append(env)

# 1. works (image 1)
plt.imshow(training_envs[34].render()) # pick-place-v2
plt.show()

# 2. works (image 2)
plt.imshow(training_envs[1].render()) # basketball-v2
plt.show()

# 3. does not work anymore (image 3)
plt.imshow(training_envs[34].render()) # pick-place-v2
plt.show()

System info
No response
Additional context
No response
Checklist

[X] I have checked that there is no similar issue in the repo

I tested the performance impact of the proposed change and observed a 1.42% performance degradation of rendering with render_mode="rgb_array" (but can a more complex environment may incur a bigger performance degradation).
import gymnasium
import gymnasium.utils.performance

env = gymnasium.make("Ant-v5", render_mode="rgb_array")
env.reset(seed=1234)
print(f"renders per second: {gymnasium.utils.performance.benchmark_render(env, target_duration=600)}")

$ py test3.py && py test3.py
renders per second:<PHONE_NUMBER>6400776 # old version
renders per second:<PHONE_NUMBER>4784245 # version with [reginald-mclean](https://github.com/reginald-mclean)'s proposed patch

I believe the proper solution would be to call self.mujoco_renderer.make_context_current() on the Meta-World side
for reference https://mujoco.readthedocs.io/en/stable/python.html?highlight=make_current


Fix for JS scrolling in Chrome 61

Fixes #113. Prefer document.scrollingElement as the snap container in browsers that support it when the container is body, and don't overwrite it to be body in Chrome as Chrome 61 now supports this properly

Thanks @matmannion!


Feature-request: Presubmits

Presubmits would be useful, both for us to keep the repo working, but also for users that fork it to use as a basis of publishing their own collector.

@damemi will take this on

Still haven't worked on this yet, lowering to p3


Navigate to Admin Page

Is your feature request related to a problem? Please describe.
As an administrator, I want to navigate to an admin page where I can assign who has the authority to pick up items and conduct a Confirmation of Receipt.
Describe the solution you'd like
A clear and concise description of what you want to happen.

Create admin page component
Add router link to Nav Bar
Add component to a route
Render something on Admin Page

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

PR #225 approved and merged.


Anderson's method

Implemented the MNRM in samplers/anderson.jl, and refactored samplers/nextreaction.jl so that the two could reuse common logic. @adolgert I'm interested to hear your comments/suggestions on how to improve the interaction between the NRM and the MNRM here. I've confirmed that the constant birth and SIR examples recover sensible answers with the MNRM.

Hi! I see a working MNRM, which is great. About how to unify the two, it looks like they share the enable! and disable!, and they share it by using the same abstract base class. Do you think it would work to specialize sample_shifted, sample_by_inversion, and consume_survival by LogSpace vs NormalSpace? Then make a ModifiedNextReaction that uses only LogSpace and NextReaction that uses only NormalSpace? I have this idea of later creating a trait for distributions to specify whether they are better handled in log-space or normal-space, on a distribution-by-distribution basis.
Would you like me to edit this branch to show you how this would work? Or would you like to give it a go? I'm suggesting not using the abstract NextReaction base class and, instead, making NextReaction a parametric type based on LogSpace or NormalSpace.

Thanks for the thoughts @adolgert! Yes, editing the branch directly is great, or giving more details here.

OK, I'll give it a go on the branch.


[FEAT] CBH- Setting Page

🎨 Fat-marker Sketch
🧑🏫 Places and Affordances

Not sure what a fat-marker sketch and places & affordances drawing is? Please see this page for more info!

This is the Setting Page for HR & CBH. It enables CBH to configure blob storage API, change the app tour video, change the domain of the app, and change email and phone numbers.

Make it so that only the user who logged in as CBH can access and stay on this site. The rest will be redirected to home (UGC + Banned Word Dashboard).

Ignore the left down part. There should not be a "test account" or "contact us"

🤔 What problems does this solve?

Help CBH change app information.

🤖 Technologies focused on in this feature

React
Tailwind
Shadcn
NextJS
Supabase/PostGreSQL

🍕 Related Pieces

[x] #92
[ ] #93
[ ] #94
[ ] #95
[ ] #96

Fixing UI on HR setting page @puma


W-6449362 update documentation to include custom tags

Update README
Include section for initialization options.  Included blockEditorWidth in addition to tabs
Added examples of setting custom tabs

@vargasd @tbesluau Are either of you available to take a look at this documentation update?


Optimize intermediate file of <way, nodeids> mapping table

We need to generate <wayid, nodeids> mapping table to enable Telenav traffic for OSRM.  More background could go to #22.
This table will be used to generate speed.csv each several minutes and be used for OSRM customization.  The initial version takes about 70~80 seconds to iterate all the table and about 10GB's memory.
Our target is optimize time cost for dealing this file.

Current file format:
wayid1,nodeid1,nodeid2,nodeid3
wayid2,nodeid4,nodeid5
...

Example
24418343,84760849102,84760850102
24418344,84760846102,84760858102,847608599102

Statistic
csv,<PHONE_NUMBER>4
tar,<PHONE_NUMBER>
snappy,<PHONE_NUMBER>
parquet,<PHONE_NUMBER>

After analysis source data, we feel delta strategy could be a good way to reduce original information's size.
Instead of recording
24418343,84760849102,84760850102
24418344,84760846102,84760858102,847608599102

we could record
wayid1, nodeid1, (nodeid2-nodeid1)
wayid2-wayid1, nodeid3-nodeid1, nodeid4-nodeid3, nodeid5-nodeid4
wayid3-wayid2, nodeid6-nodeid3,nodeid7-nodeid6
//...

wayid 1000, nodeid1000, nodeid1001-nodeid1000
//...

Updates for experiment
func convertWayObj2IdMappingStringCompressed(nodeids []int64, wayid int64, preNodeID int64, preWayID int64) string {
	var str string
	str += strconv.FormatInt((wayid-preWayID), 10) + ","

	for i, n := range nodeids {
		str += strconv.FormatInt((n - preNodeID), 10)
		if i < (len(nodeids) - 1) {
			str += ","
		}
		preNodeID = n
	}
	str += "\n"

	return str
}

func updateDeltaBase(wc uint32, currNodeID, currWayID int64) (int64, int64) {
	if wc%1000 == 0 {
		return 0, 0
	} else {
		return currNodeID, currWayID
	}
}

Result:

Seems good. The blob size is wayid2nodeids count, right?

How about the snappy compress and decompress time cost?

Seems good. The blob size is wayid2nodeids count, right?

Blob size means group count while compressing elements in wayid2nodeids.  I choose delta strategy to generate the diff, and each "Blob size" elements would reset the base.

Back from emergent firefighting.  Will continue this task.

Latest strategy(v4)

Record mapping table of wayid->nodeids into snappy(12GB -> 3GB)
When start rpc request with traffic server, start loading mapping table, write mapping table result into 64 channels(configurable)
As long as communication with traffic server finished, which means mapping of wayid->speed is generated, start transition and dump
There will be 64 threads working on processing, then finally use one thread to dump

Processing time for getting traffic flow takes 14.504480 seconds
Processing time for building traffic map takes 6.370307 seconds
Processing time for loadWay2NodeidsTable takes 48.059116 seconds
Processing time for dumpSpeedTable4Customize takes 32.162450 seconds

Total time is 14 + 6 + 32, compare with v1 is 14 + 6 + 98
The strategy of V2

one goroutine to generate traffic result(13 seconds)
one gorouting to generate a map of wayid to nodeids array (280 seconds)
16 ~ 32 tread to iterate traffic array, query on map and generate final result(15 seconds)

Problem

Load all data into system takes too much of time.  Especially the nodeids using slice will cause lots of memory allocation and deallocation
Dump step need to wait for first two steps to finish

The strategy of V3

one goroutine to generate traffic result(13 seconds)
16~64 gorouting to decoding id mapping table in delta format, put [wayid, nodeids array] into channel (100+ seconds)
As long as step1 is finished, start dummping (100+ seconds)

Problem:

Decoding string and put [wayid, nodeids array] has lots of additional memory usage, while is V4 I direct put string into channel, and move decoding of this string near final dump.

Upload the cpu profile and mem profile for v2, will do more analysis and compare with v4 later.
cpu-v2.pdf
mem-v2.pdf

It's awesome! It will be better if there's a data flow diagram describes the flow.
For the 64 threads(goroutines I think), how about set it by CPU cores by default?

@wangyoucao577
Thanks for the suggestion.  A flow diagram is needed :)
Will do more experiments about how many goroutine is the best result.

Some idea about next step:
#1. The original requirement of this task, is due to traffic team dropped original pbf's nodeid and we need to generate that.
Need to confirm with traffic team, add original node id should not hard from their side, they could put it in the rpc protocal
#2. When we consider end to end time, we will evaluate the time cost between traffic happened in the real world and when such traffic be used in our routing engine.
Real world accident -> TomTom -> Pull & Push request from Telenav -> Traffic component -> Script in this task->OSRM customization -> Restart routing
From what we could change, we will consider how to optimize "Script in this task->OSRM customization -> Restart routing"
#3. For the script part, if we could load way-> nodeids into memory, then the time cost would be around 20 seconds, but memory usage could be up to 10GB
We could consider just put most frequent items into memory + in memory cache such as redis for other items.  In memory cache could be updated more frequently, such as minute level, item need redis could be updated each several minutes
#4. Currently, the biggest time cost is in OSRM Customization part, it seems each round of "OSRM customization" need about 10 minutes.
We might need to think about using delta strategy to handle this, not to update everything in each round.


ERROR: No matching distribution found for tensorboard<2.2.0,>=2.1.0 (from tensorflow)

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
win10 1903

TensorFlow installed from (source or binary):
pip install tensorflow

TensorFlow version:
2.1.0

Python version:
3.7.4

Installed using virtualenv? pip? conda?:
pip install tensorflow

CUDA/cuDNN version:
10.1 / <IP_ADDRESS>

GPU model and memory:
rtx 2070s

Describe the problem
Provide the exact sequence of commands / steps that you executed before running into the problem
pip install tensorflow
Any other info / logs
 pip install tensorflow
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting tensorflow
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/34/d5/ce8c17971067c0184c9045112b755be5461d5ce5253ef65a367e1298d7c5/tensorflow-2.1.0-cp37-cp37m-win_amd64.whl (355.8MB)
     |████████████████████████████████| 355.9MB 133kB/s
Collecting protobuf>=3.8.0 (from tensorflow)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/30/c6/286db43e2d0d4b89d328a222365c7a253a99a24067812253f0d4f8eb0f1c/protobuf-3.11.2-cp37-cp37m-win_amd64.whl (1.0MB)
     |████████████████████████████████| 1.0MB 71kB/s
Collecting grpcio>=1.8.6 (from tensorflow)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/8b/14/ab1501cfff78b88d7368659b227c603d7599dd25226ff682c71334e78aed/grpcio-1.26.0-cp37-cp37m-win_amd64.whl (1.8MB)
     |████████████████████████████████| 1.8MB 6.4MB/s
Collecting keras-applications>=1.0.8 (from tensorflow)
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/71/e3/19762fdfc62877ae9102edf6342d71b28fbfd9dea3d2f96a882ce099b03f/Keras_Applications-1.0.8-py3-none-any.whl
Collecting gast==0.2.2 (from tensorflow)
Collecting tensorflow-estimator<2.2.0,>=2.1.0rc0 (from tensorflow)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/18/90/b77c328a1304437ab1310b463e533fa7689f4bfc41549593056d812fab8e/tensorflow_estimator-2.1.0-py2.py3-none-any.whl (448kB)
     |████████████████████████████████| 450kB 6.8MB/s
Requirement already satisfied: wrapt>=1.11.1 in c:\users\hnjyz\anaconda3\lib\site-packages (from tensorflow) (1.11.2)
Requirement already satisfied: six>=1.12.0 in c:\users\hnjyz\anaconda3\lib\site-packages (from tensorflow) (1.12.0)
Requirement already satisfied: wheel>=0.26; python_version >= "3" in c:\users\hnjyz\anaconda3\lib\site-packages (from tensorflow) (0.33.6)
Collecting absl-py>=0.7.0 (from tensorflow)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/1a/53/9243c600e047bd4c3df9e69cfabc1e8004a82cac2e0c484580a78a94ba2a/absl-py-0.9.0.tar.gz (104kB)
     |████████████████████████████████| 112kB ...
Collecting astor>=0.6.0 (from tensorflow)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c3/88/97eef84f48fa04fbd6750e62dcceafba6c63c81b7ac1420856c8dcc0a3f9/astor-0.8.1-py2.py3-none-any.whl
Collecting tensorboard<2.2.0,>=2.1.0 (from tensorflow)
  ERROR: Could not find a version that satisfies the requirement tensorboard<2.2.0,>=2.1.0 (from tensorflow) (from versions: 1.6.0rc0, 1.6.0, 1.7.0, 1.8.0, 1.9.0, 1.10.0, 1.11.0, 1.12.0, 1.12.1, 1.12.2, 1.13.0, 1.13.1, 1.14.0, 1.15.0, 2.0.0, 2.0.1, 2.0.2)
ERROR: No matching distribution found for tensorboard<2.2.0,>=2.1.0 (from tensorflow)

pip install tb-nightly first works for me.

@DachuanZhao You can try
pip install --upgrade tensorflow -i https://pypi.org/simple
It works for me. The reason is that some package can only be downloaded from the default source.

@DachuanZhao ,
Please try !pip uninstall tensorflow  and try installing tensorflow again, kindly find the gist for reference.Thanks!

pip install -upgrade tensorflow-gpu==2.1.0 works on me.

pip install -upgrade tensorflow==2.1.0-rc0 works.

pip install --upgrade tensorflow-gpu==2.1.0 works on me.

pip install tb-nightly first works for me.

Yes, it works . Thanks

Oh, my god. I met the same error, too. So terrible!


CONN-6730| Documentation changes for Use Supplied Values feature.

Closing this PR because it became out of sync with the main. All feedback was transferred to #959 and merged.


Initial implementation of the Hive Connector based on the Spark datasource V2

Why are the changes needed?

This PR is the first step in fixing https://github.com/apache/incubator-kyuubi/issues/3259, having

initialization implementation
support read code path

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

thank you for the contribution ! @yikf

to pass style check, you can run ./dev/reformat

Codecov Report

Merging #3260 (c6ce0be) into master (a0c69a0) will decrease coverage by 0.16%.
The diff coverage is n/a.

:exclamation: Current head c6ce0be differs from pull request most recent head 5fdfcaa. Consider uploading reports for the commit 5fdfcaa to get more accurate results

@@             Coverage Diff              @@
##             master    #3260      +/-   ##
============================================
- Coverage     51.40%   51.23%   -0.17%
  Complexity       13       13
============================================
  Files           469      468       -1
  Lines         26229    26145      -84
  Branches       3630     3627       -3
============================================
- Hits          13483    13396      -87
- Misses        11465    11466       +1
- Partials       1281     1283       +2

Impacted Files
Coverage Δ

...uubi/engine/spark/events/SparkOperationEvent.scala
88.88% <0.00%> (-5.56%)
:arrow_down:

...uthentication/LdapAuthenticationProviderImpl.scala
92.00% <0.00%> (-3.24%)
:arrow_down:

...apache/kyuubi/engine/JpsApplicationOperation.scala
77.41% <0.00%> (-3.23%)
:arrow_down:

.../plugin/spark/authz/ranger/RuleAuthorization.scala
77.14% <0.00%> (-2.86%)
:arrow_down:

...ache/kyuubi/plugin/spark/authz/OperationType.scala
58.82% <0.00%> (-1.18%)
:arrow_down:

...ain/scala/org/apache/kyuubi/engine/EngineRef.scala
74.07% <0.00%> (-0.93%)
:arrow_down:

...n/scala/org/apache/kyuubi/engine/ProcBuilder.scala
82.60% <0.00%> (-0.63%)
:arrow_down:

...rc/main/scala/org/apache/spark/ui/EnginePage.scala
78.93% <0.00%> (-0.30%)
:arrow_down:

...a/org/apache/kyuubi/service/TFrontendService.scala
91.17% <0.00%> (-0.30%)
:arrow_down:

...thentication/KyuubiHttpAuthenticationFactory.scala
88.00% <0.00%> (-0.24%)
:arrow_down:

... and 4 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks @yikf and @permanentstar, I'm going to merge this PR first to move forward.


The same result when using different query sentences.

Sometimes different query sentences lead me to the same colorscheme result. It will be great to make sure that all the color-related(including metaphor) words will involve in the result colorscheme.

One thing that might help, if your goal is to get more different results, is to modify the value for "temperature".  I just committed a change that added this to the user settings, which by default was set to 0.  If you set that to something higher like 0.8 you should get more variation in the responses

Thanks for the update! Let me try it and see if it can close this issue.


Webpack 2.2.x, Babel 6 with Uglify ...

Hello,
if i try to build my project for production and use Uglify for this i get the error
Module build failed: ReferenceError: [BABEL] node_modules/preact-compat/node_modules/proptypes/index.js: Using removed Babel 5 option: node_modules/preact-compat/node_modules/proptypes/.babelrc.loose - Specify the loose option for the relevant plugin you are using or use a preset that sets the option.
It's not the same like #155 - because for the production build, i need to transpile the preact-compat project otherwise its not buildable.
My loader is:
{
                test: /\.js?$/,
                include: [
                  path.resolve('./src'),
                  path.resolve('./node_modules/preact-compat'),
                ],
                loader: 'babel-loader',
                query: {
                    plugins: [
                      'transform-runtime',
                      ["transform-react-jsx", { "pragma":"h" }]
                    ]
                },
            },

the easiest solution will be a vanilla javascript src/index.js file in that plugin so that there is no need for a transformation to js.
Thanks
Marcel

Vanilla JavaScript in a context where ES Modules is present would be ES2015, and that's what index.js is.  The issue you ran into is actually just because the proptypes package uses Babel 5, and your babel-loader configuration is recursively looking for .babelrc files.  It finds the one in node_modules/proptypes but can't use it because the options are for Babel 5.  That said, it's silly for proptypes to include the .babelrc, it was a mistake and I've removed it.
TL;DR: Just run npm update and all should be well :)


add prometheus Instrumenting

In order to monitor your consumer, I have implemented the Prometheus metrics on this

Pull Request Test Coverage Report for Build 26

10 of 64 (15.63%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-19.6%) to 60.28%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

listener.go
10
19
52.63%

instrumenting.go
0
45
0.0%

Totals

Change from base Build 22:
-19.6%

Covered Lines:
129

Relevant Lines:
214

💛  - Coveralls