Improving the navbar

Feature request-
Want to improve the navbar of wordnook
Is your feature request related to a problem? Please describe. (optional)

Describe the solution you'd like
I will add animations in it along with a little change in height and color schema
Describe alternatives you've considered

Describe how this feature will be useful to our readers.
Navbar gives user an insight about a prototype of website so making it appropriate helps user to navigate easily.
Additional context
Add any other context or screenshots about the feature request here.
N/A

Note:

If you want to work on an issue, you should check if it has already been assigned to anyone. If the issue is free you can comment /assign to get the issue assigned to you.
If you are raising a new issue and want to work on it then also you should comment /assign under the issue to get it auto assigned.
Please refrain from adding labels to your issue/pull-request on your own. It is the job of the Project Admin and the Mentors to review your issue/pull-request and add labels accordingly.

/assign

assign me this issue under lgm-soc participant

assign me this issue under lgm-soc participant

issue get assigned automatically when you comment the keyword.
Also can you be more specific about the issue ? What problem do you see in the navbar that you feel should be improved, some relevant screenshots could also help understand the issue.

/reviewed

comment again to reopen issue


Are combined sampler/texture objects supported?

I see there is a Sampler2D type, but attempting to use it:
Sampler2D bar;

void frag()
{
}

With
slangc test.slang -stage fragment -entry frag -o test.hlsl

Results in:
(0): error 99999: Slang compilation aborted due to an exception of class Slang::InternalError: unexpected: unhandled shader parameter kind

Version v2024.1.6

They are not yet supported when targeting HLSL.
Currently we just directly translate them to GLSL/SPIRV.

Is Sampler2D targeting HLSL critical to your use case?

@swoods-nv yeah. I'm trying to run some existing shader code through slang. I unfortunately don't control this source code, so can't change it. It's rather old and uses combined sampler objects. Other than that, the majority of the code seems to work fine, which is quite promising.

To give a little more info: The source code is base includes / built in shader code for shaders targeting the Unity game engine. I'd like to use Slang for user code which includes said source code, in order to make use of some of Slangs nice features such as autodiff.


Proposed Recipes for NOAA WHOI Sea Surface Temperature

Dataset Name
NOAA Sea Surface Temperature - WHOI
Dataset URL
https://registry.opendata.aws/noaa-cdr-oceanic/
Description
An initial pangeo forge recipe for daily sea surface temperature product from the Woods Hole Oceanographic Institute (WHOI) which provides a 3-hourly 0.25° resolution grid over the global ice-free oceans from January 1988—present, updated monthly.The resultant sea surface temperature (SST) data are produced through modeling the diurnal variability in combination with AVHRR SST observations. Potential use cases of this climate data record include: analysis of extreme climate events, examining seasonal and inter-annual variability of fishing yields, exploring coral reef bleaching patterns, etc.
License
Open Data (https://registry.opendata.aws/noaa-cdr-oceanic/)
Data Format
NetCDF
Data Format (other)
No response
Access protocol
S3
Source File Organization
There is one directory per year, with one file per day (each file containing on time step = 1 day). From the From algorithm documentation we know that:
The NetCDF filenames are SEAFLUX-OSB-CDR_V02R00_{ATMOS, SST,
FLUX} _D<YYYYMMDD>_C<YYYYMMDD>.nc, where D<YYYYMMDD> is the date of the data
contained in the file and C<YYYYMMDD> is the create date of the file.

so we will have to use a wildcard to capture file creation date as shown below:
s3://noaa-cdr-sea-surface-temp-whoi-pds/data/YYYY/SEAFLUX-OSB-CDR_V02R00_SST_DYYYYMMDD_C*.nc
Example URLs
s3://noaa-cdr-sea-surface-temp-whoi-pds/data/1988/SEAFLUX-OSB-CDR_V02R00_SST_D19880101_C20160820.nc

Authorization
No response
Transformation / Processing
N/A
Target Format
Reference Filesystem (Kerchunk)
Comments
Relates to this issues:
https://github.com/pangeo-forge/staged-recipes/issues/208
and
https://github.com/developmentseed/aws-asdi/issues/21

Upon further investigation the actual dataset is not available until present and instead is available until August 2021. Following up on this to find out more.

Received the following reply contacting NOAA with regards to this dataset, posting with Patrick's permission. Will keep this issue updated with follow up.
Kathryn,

We have been working with the CDR teams to update various CDRs. Our team will take a look at this and get back to you.

Thanks,

Patrick Keown
Program Manager, NOAA Open Data Dissemination (NODD)
Office of the Chief Information Officer (OCIO)

At the recommendation of Patrick Keown, I had contacted the WHOI contact<EMAIL_ADDRESS>and received the following response (copied below, and shared with their permission):
Hello Kathryn,

Thank you for your interests in the NOAA WHOI CDR dataset.  However, due to lack of funding, this CDR is no longer operationally sustained.  This also impacts the ability to retrieve the missing 2019 data you mention. However, it may be worth looking at the NCEI data access point to see if perhaps there was just a transfer issue to AWS.   Additional information can be on the [SST - WHOI CDR page](https://www.ncei.noaa.gov/products/climate-data-records/sea-surface-temperature-whoi), [Ocean Heat Fluxes CDR](https://www.ncei.noaa.gov/products/climate-data-records/ocean-heat-fluxes) and [Ocean Near-Surface Atmospheric Properties CDR](https://www.ncei.noaa.gov/products/climate-data-records/ocean-near-surface-atmosphere).

Thank you,
Candace

Thanks, @kathrynberger. If it turns out the 2019 data is irrecoverable, we could add logic to the recipe to drop the missing date(s) from the file pattern.

@cisaacstern Can you elaborate on how modifying might address this issue?  This recipe uses pattern_from_file_sequence https://github.com/pangeo-forge/aws-noaa-whoi-feedstock/blob/main/feedstock/recipe.py#L28 so the missing dates are already accounted for.    I may be misunderstanding but I think the issue is more related to how MultizarrToZarr is inferring contiguous chunks.   Can we also push this conversation over to https://github.com/pangeo-forge/aws-noaa-whoi-feedstock/issues/2 for easier tracking?

Oh yes, I actually hadn't realized that we weren't on that thread. IIUC, this issue should actually be closed, because the associated staged-recipes PR has already been merged?


"Download failed". Is the API Doc missing a lot of information ?

Hi,
I loosed a day trying to integrate Onlyoffice by simply embedding an editor for one file in a react web page.

I didn't found any real example for document.url or editorConfig.callbackUrl values and i don't find where it is explained.
The only example we have is "https://example.com/url-to-example-document.docx".
Ex: i've a file new.docx created from the server.
Should it work with http://localhost/example/wopi/files/new.docx/contents ?
or http://localhost/example/wopi/files/new.docx ?
or http://localhost/example/editor?fileName=new.docx ?
What about the callbackUrl ?
Should it work with static served files ? (i tried and i also have the error)
I tested with wget and it worked.
I'm totally lost while it should be the easy part...
import sign from "jwt-encode";

import { DocumentEditor } from "@onlyoffice/document-editor-react";

function EditSubreportPage() {
  const config = {
    "document": {
      "fileType": "docx",
      "key": "Khirz6zTPdfd7",
      "title": "new.docx",
      "url": "http://localhost/example/wopi/files/new.docx/contents",
    },
    "documentType": "word",
    "editorConfig": {
      "callbackUrl": "http://localhost/example/wopi/files/new.docx",
      "user": {
        "group": "Group1",
        "id": "78e1e841",
        "name": "John Smith"
      }
    },
  }

  const secret = "my_jwt_secret";
  const token = sign(config, secret);

  function log(str: string) {
    return console.log.bind(console, str);
  }

  return (
    <DocumentEditor
      id="docxEditor"
      documentServerUrl="http://localhost"
      height="900px"
      config={{
        ...config,
        token,
      }}

      events_onAppReady={log("onAppReady")}
      events_onError={log("onError")}
      events_onInfo={log("onInfo")}
    />
  )
}

export default EditSubreportPage;

Moving this issue to DocumentServer repo, since the issue is not related to CommunityServer.


Update Odigos collector to v0.106.0

Relevant breaking changes in the collector that are addressed in this PR (from the contribe releases and collector release.

The otlpreceiver now uses localhost by default instead of <IP_ADDRESS>. This may break the receiver in containerized environments like Kubernetes. If you depend on <IP_ADDRESS> disable the component.UseLocalHostAsDefaultHost feature gate or explicitly set the endpoint to <IP_ADDRESS>

confmap: When passing configuration for a string field using any provider, use the verbatim string representation as the value. (https://github.com/open-telemetry/opentelemetry-collector/issues/10605, https://github.com/open-telemetry/opentelemetry-collector/issues/10405)
This matches the behavior of ${ENV} syntax prior to the promotion of the confmap.unifyEnvVarExpansion feature gate
to beta. It changes the behavior of the ${env:ENV} syntax with escaped strings

[ ] Check with destinations which requires an API key/tolen


p2p: remain connected to bootnode until it prunes you

this was a fix i did in rush, we now have a connection gater that will enforce that node doesn't dial over the limit.
it is better if regular node remains connected after it got enough peers, this way if some peers got disconnected sporadically it will get more. eventually node will be pruned by a bootnode due to the settings we are running on them

bors merge


Helper API for per-request pipeline configuration

The pipeline API supports arbitrary per-run configuration of everything from policies to transport implementations via kwargs. This requires policies and transport abstractions to pop their expected configuration from kwargs before passing the collection to the next pipeline node. Failure to do so (e.g. by using get instead of pop) has been the root cause of several bugs.
A suggestion for preventing this in the future comes from this comment:

it could be worth considering ways to declaratively specify lists of kwargs and a helper API that can automatically extract their values and pop them from the kwargs before passing them to the next method/function

We need a design review before updating the code.

The basic ideas is just to move the responsibility for calling pop in to one place instead of requiring lots of individuals to remember doing it in 100 different places. There is a pretty wide range of thing that can be done, but starting simple, just something like:
class Options(object):
    def __init__(self, kwargs):  # note: no **
        for name in self._names:
            if name in kwargs:
                setattr(self, name, kwargs.pop(name))
            else:
                setattr(self, name, None) # Need to decide correct defaults approach

class MyOptions(Options):
    _names = [
        'timeout',
        'max_retries',
    ]

Each thing that needs to pop kwargs can define one of these subclasses for itself, then:
In [17]: kw = dict(foo=10, bar=20, timeout=30)

In [18]: opts = MyOptions(kw)  # one right way for everyone to pop kw

In [19]: opts.timeout
Out[19]: 30

In [20]: opts.max_retries is None
Out[20]: True

In [21]: kw
Out[21]: {'foo': 10, 'bar': 20}

One question that needs a little thought is what to do about default values for names that are not in the passed-in kwargs. Is it OK to just always set to None? That's what the above does, but if more flexibility is needed, default values could be specified on the subclass along with the names (or could be passed to the initializer maybe?)
From here you could get more fancy to any defgree you want:

specify types, perform automatic type validation on kwarg values  to print consistent and helpful error messages
specify help strings, make a sphinx plug-in that automatically rendered Options subclasses in docstrings

This is a good suggestion. But the problem is different transports/policies may vary a lot on how to consume the kwargs. e.g. in RequestIdPolicy, we may consume "request_id", "auto_request_id", "x-ms-client-request-id". We cannot give it a default value because we have different behaviors on it sets to None vs it is not set.  Another example is CustomHookPolicy, we need to pop up "raw_response_hook" in on_request (because transport does not like it) and add it back in "on_response" (or we will lose the information)

But the problem is different transports/policies may vary a lot on how to consume the kwargs.  e.g. in RequestIdPolicy, we may consume "request_id", "auto_request_id", "x-ms-client-request-id".

Just to clarify, I was not trying to suggest a single "options" class for all of azure.* that gets used everywhere. Rather, I imagined lots of "options" classes, e.g. even up to per transport/policy, each specifying only the options relevant to it. The win (in my mind) is having standard more-or-less declarative way for azure devs to express what options are, (which could if we really wanted also feed in to docs in an automated way) as well as having every transport/policy use the same consistent tested codepath for extracting those.

We cannot give it a default value because we have different behaviors on it sets to None vs it is not set.

It's up to the policy to decide what to do with that information. An options class only needs to convey it. Off the top of my head, maybe:
class _Unset: pass

class Options(object):
    def __init__(self, kwargs):  # note: no **
        for name, default in self._opts:
            if name in kwargs:
                setattr(self, name, kwargs.pop(name))
            else:
                setattr(self, name, default)

class MyOptions(Options):
    _opts = [
        ('timeout',  None),
        ('max_retries', _Unset),
        ('debug', False)
    ]

Then, e.g.
In [3]: opts = MyOptions(dict(debug=True))

In [4]: opts.debug
Out[4]: True

In [5]: opts.timeout is None
Out[5]: True

In [6]: opts.max_retries is _Unset
Out[6]: True

Another example is CustomHookPolicy, we need to pop up "raw_response_hook" in on_request (because transport does not like it) and add it back in "on_response" (or we will lose the information)

Seems orthogonal. CustomHookPolicy could use an "options" class to pop "raw_response_hook" in on_request, save that value, and then put it back in **kw in "on_response" manually. That's just something up toCustomHookPolicy to do because it makes sense for CustomHookPolicy to do.

This needs to revisit policies/transports one by one.


WordNetError when loading lemmas with numeric values >= 10

Since at least NLTK 3.3 running the below code  results in the error shown below.
>>> from nltk.corpus import wordnet as wn
>>> wn.lemma('jump.v.11.jump')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/fabian/venv/lib/python3.6/site-packages/nltk/corpus/reader/wordnet.py", line 1272, in lemma
    raise WordNetError('no lemma %r in %r' % (lemma_name, synset_name))
nltk.corpus.reader.wordnet.WordNetError: no lemma '.jump' in 'jump.v.1'

I have reproduced it inside a clean venv with the latest nltk commit (https://github.com/nltk/nltk/commit/b991f244558154d09041d5a62b0c0e55faaab802 at the time of writing) on ubuntu 16.04 with python 3.6.5 and verified this bug does not happen with NLTK version 3.2.2
Based on experimentation I believe this bug affects all lemmas where the number XX (as in  jump.v.XX.jump) is 10 or above.

I have added the failing test in https://github.com/nltk/nltk/pull/2135

I think the assertion @campionfellin made in
https://github.com/nltk/nltk/issues/1789#issuecomment-320452986 is incorrect since the jump.v.11.jump is a valid lemma. I will try and put up a fix.


⚠ ClamAV has degraded performance

In 5dccba3, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 47 ms

Resolved: ClamAV performance has improved in 49ef9e6.


Order of output columns unclear

The order of output columns is not in the correct logic
Recommended Fixes:
New order: id -> phone (rename from clean_phone) -> is_phone_valid -> is_mobi -> is_new_mobi -> is_old_mobi -> is_new_landline -> is_old_landline -> phone_convert

Thank you, we have already update our package to version 0.1.3 to fix the feature


Clarification for group related task support

Learn Build status updates of commit 5f33060:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/active-directory/governance/lifecycle-workflow-tasks.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Changes to custom task extension task are unintended and should not be merged, they would revert https://github.com/MicrosoftDocs/azure-docs/pull/101313

@AlexFilipin - commit one or both of the above changes as needed. thanks.
@OWinfreyATL

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Learn Build status updates of commit 2eb5f76:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/active-directory/governance/lifecycle-workflow-tasks.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Create test description

Description
Example of test description for test_cmdline.
Should have one for each Icetea test.
Description should be one sentence about what is being tested.
Requirements should be hardware requirements (IE 2x Mbed Enabled platforms with IP connectivity)
Pull request type

[ ] Fix
[ ] Refactor
[ ] New target
[x] Feature
[ ] Breaking change

Superceded by https://github.com/OPpuolitaival/mbed-os/pull/6


[Blockchain] Generating randomness using Chainlink VRF with Brownie

Topic Suggestion
Generating randomness using Chainlink VRF with Brownie
Writing sample(s):
https://www.section.io/engineering-education/sealed-classes-in-kotlin/
https://www.section.io/engineering-education/hilt-android-tutorial/
Proposal Submission
Proposed title of article
Generating randomness using Chainlink VRF with Brownie
Proposed article introduction
The Ethereum blockchain is a deterministic system. 'Deterministic' means that given the same inputs, the outputs always be the same. When it comes to generating random numbers, this is a problem. You don't want to generate random numbers in a way that is deterministic. Hackers could manipulate inputs to generate their desired outputs.
Chainlink VRF solves this problem by using decentralized 'oracles'. Oracles link offchain data (in our case, randomness) and connect it to the blockchain.
Randomness has a variety of usecases which are important. For example,
Blockchain Gaming and the Metaverse
NFT Creation and Distribution
Lucky Draws and DeFi
Marketing Campaigns and Loyalty Rewards
Fair Selection and Ordering Processes
Authentication and Security
In this article, you will understand how the Chainlink VRF functions and how to deploy it in your smart contracts using brownie
Key takeaways
What is the chainlink vrf
Why the chainlink vrf is important
How to deploy the chainlink vrf
Article quality
This article differs from the official docs in that it focuses on how to use the Chainlink VRF specifically in Brownie
References
Please list links to any published content/research that you intend to use to support/guide this article.

The topic seems similar to https://www.youtube.com/watch?v=JqZWariqh5s How will it be different?

Hey @WanjaMIKE . Thank you for the question. If you watch the video all the way to the end, you will realize that they are deploying this on remix. An online IDE for Blockchain beginners. Brownie allows you to deploy smart contracts locally. It also has added benefits of Using Python for testing and more.

@WanjaMIKE ...


REST tests should not create a keyspace for each test method

Create a keyspace at least for each test class instead
Delete the created keypsace after test is done
Tests could extend the CqlEnabledIntegrationTestBase so we have a single class that manages session and keyspace creation

Is this really worth the effort, refactoring existing tests, including change of base class?
I can see the need/benefits of cleaning up keyspaces (as per #2321 for docs api, fixed via #2324) but I think there may be simpler changes to achieve this instead of trying to make REST tests look like Docs API tests.
I'll think about how to avoid creating and leaving tons of keyspaces and updated this

Ok, I think that PR #2341 should work well enough: vast majority of IT test classes now create just a single keyspace, and a small number that need per-test creation should not be a major problem. As importantly in both cases keyspaces are now created after test/class is complete; I copied that from Docs API IT base class.


an important error in flv.min.js at tag v1.6.2

I imported flv.min.js, and i follow the example and use isSupported() to detect browser support flvjs or not, but chrome and egde return false finally. but when i import flv.js (not min.js), the error disappear. then i found some error in flv.min.js at isSupported() function as follow:

isTypeSupported should be "video/mp4" but here is "flv-video/mp4", i don't know why, because same place at flv.js ( not min.js) is "video/mp4" and it's working normal.

I can confirm and 2nd this error. It caused a bug in my production and I wasn't able to use the version released to the CDNs.


adjust puppet version boundary for puppet5, drop 3

CC: @alexjfisher
This should have been changed during the last modulesync


Improve huge_patch test

The huge_patch test can fail in some python interpreters, e.g. pypy3 or python3.13 in my case, because text data preparation can take long time as it could be very memory intensive.
This PR addresses the issue with following two changes:

Move start_time measurement to measure only the parsing time but not data preparation. In other words, test will pass even if the test data preparation will take long time.
The test data are constructed from smaller parts with help of ''.join() method, which is more efficient because it minimizes the number of new string objects created.

The PR is related to https://github.com/cscorley/whatthepatch/pull/46
See also https://bugs.gentoo.org/907243

Agree. The test must check parse time.

Looks good to me, thanks!

@babenek, @cscorley, thanks!


Swagger-Docs: Update local data needs specific content type

Describe the bug
Swagger UI shows an Endpoint "Artifacts" > "PUT /api/artifacts/{id}/data"
Executing it, results in a response HTTP:500 and Error:
{"message": "An error occurred. Please try again later."}

with exception:
could not resolve parameter [1] in public org.springframework.http.ResponseEntity<java.lang.Void> io.dataspaceconnector.controller.resource.type.ArtifactController.putData(java.util.UUID,byte[]) throws java.io.IOException: Content-Type cannot contain wildcard type '*'

After looking into the code, you define the accepted contents as consumes = "*/*", see:
https://github.com/International-Data-Spaces-Association/DataspaceConnector/blob/a3116a4f6c75ec3a0dfebb1583ad32ed3a20e585/src/main/java/io/dataspaceconnector/controller/resource/type/ArtifactController.java#L247
The problem is, that swagger-ui uses the "*/*" as content type:
curl -X 'PUT' \
  'https://sovity1.connector.demo.dataspace.sovity.de/api/artifacts/20f8bb1f-f028-4e8c-b41d-77fc65c7f516/data' \
  -H 'accept: */*' \
  -H 'Content-Type: */*' \
  -d 'data'

Executing this request e.g. with postman and header field Content-Type: text/plain works perfectly.

Duplicate of #595


Container Support for Gluon Toolkits

Reference:<PHONE_NUMBER>
The Gluon toolkits (GluonCV, GluonNLP, GluonTS) are the essential constituents of the MXNet ecosystem. Being a container for MXNet, and given that even packages outside of the ecosystem such as scikit-learn and pandas are included, shall we make sure we add these toolkits in the next release?

Related one year old issue #31

For reference:<PHONE_NUMBER>

This is super important to have gluon-nlp, gluon-cv and DGL built-in for the mxnet ecosystem

I could have used this at a workshop at re:mars.  I had to !pip install instead and I feel the solution could be cleaner.  Would love to see the built-in containers incorporate the latest Gluon developments.

+1 that it makes life easier for my customers  to have Gluon toolkit as part of SageMaker MxNet dockers

+1 Absolutely this should be included, given the usefulness of these Gluon for mxnet users.

+1 supporting this feature.

+1 gluon makes developing mxnet model so much easier!

+1000

+1

+1

+1

+1

+1

+1

+1

+1

+1

The Dockerfiles have now been moved to https://github.com/aws/deep-learning-containers. Please open an issue in that repository so that the right team gets the feature request.


Add circular to shift left

closes #714

well, looks good to me
unit test is there, which is the most important
merging, thanks


THUMB: Fix UncondBranch

We were not sign extending the offset correctly

Codecov Report
Patch coverage: 100.00% and no project coverage change

Comparison is base (f6cfea6) 55.09% compared to head (7c52015) 55.09%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #179   +/-   ##
=======================================
  Coverage   55.09%   55.09%
=======================================
  Files          37       37
  Lines        2521     2521
=======================================
  Hits         1389     1389
  Misses       1132     1132

Impacted Files
Coverage Δ

emu/src/cpu/arm7tdmi.rs
81.06% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


fix(regression): Support deprecated KazooRetry argument

Accept kazoo<=2.5.0 KazooRetry 'max_jitter' argument and display a
warning for backward compatibility.
See #544

@ceache thank you for your PR, this is now on master.


changed all 'already exists' errors to warnings

I was running into problems with using the NASA wmts service and came across these errors. Similar errors were pointed out in #619, which was fixed by pull request #656. However, I find that all of the "already exists" error messages in wmts.py were potentially problematic for the new configuration of the NASA server. Here I have converted all "already exists" errors into warnings, analogous to the change made in #656  for one of these error messages.

Looks like this would close #768.

I'm also having the same issue and this would fix it.

Yes, I'd like to echo this issue. Simply running:
from owslib.wmts import WebMapTileService
wmts = WebMapTileService("http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi")

Gives
KeyError: 'Content metadata for layer "MODIS_Combined_MAIAC_L2G_AerosolOpticalDepth" already exists'
We are seeing this over at cartopy, where the WMTS interface is currently broken as a result.

This would be nice to get in to avoid these recurring errors that happen when NASA updates its server content. This does seem like an issue with the NASA servers and not here, but this would at least allow programs to keep running and just warn about bad data rather than erroring on bad data.
I sent an e-mail to NASA support about this issue as well to try and make them aware of it on their end.

Ping again to try and get this looked at.

It would be great if this PR could get a maintainer decision, rather than being closed by the bot.

This looks fine to me to merge. Several other modules use warnings rather than errors.
Unless any objections @tomkralidis I can merge this in the next few days.

Thanks @speleophysics - merging.


Comment out empty flutter block in pubspec template

The template for package projects includes a flutter: block with all its contents commented out, this PR comments out the flutter: directive too, fixing https://github.com/flutter/flutter/issues/14008.

Rather than changing the template, which would make it harder for people to edit the file (they'd have to notice that you have to uncomment that section too), we should change the parser code to not fail when the block is empty.

@Hixie I've changed the schema and pushed that in a separate PR: https://github.com/flutter/flutter/pull/15690

@xqwzts since #14008 was merged, I'm closing this as obsolete.  Feel free to re-open if needed, and thanks for the contribution!


Problems retweeting already retweeted tweets

Describe the bug
The bot will try and retweet retweets and this results a 403 which is not good in twitters eyes!

I have attempted to fix this. Retweet works but not fav, so I have disabled this :(


build for var-2016.11.2

resolution_fixed   |    by<EMAIL_ADDRESS>
I've built var-2016.11.2, which properly supports RTTOV11.
Could someone please copy the builds to /projects/access/nwpdir/share/APS3/VAR?
My builds are here
/home/548/sjr548/cylc-run/r2093_nci_bld_2016.11.2/share/fcm_make_var_x86_64_ifort_opt_mirror/[build|build-serial]
/home/548/sjr548/cylc-run/r2093_nci_bld_2016.11.2/share/fcm_make_var_x86_64_ifort_debug_mirror/[build|build-serial]
the destinations are
/projects/access/nwpdir/share/APS3/VAR/var-2016.11.2/[build|build-serial]
/projects/access/nwpdir/share/APS3/VAR/var-2016.11.2.debug/[build|build-serial]
For info, the source code is in
https://code.metoffice.gov.uk/svn/var/main/branches/dev/Share/r2093_nci_bld_2016.11.2
The relevant ticket is https://code.metoffice.gov.uk/trac/var/ticket/277

Issue migrated from trac:301 at 2024-01-31 18:27:15 +1100

<EMAIL_ADDRESS>set resolution to fixed

<EMAIL_ADDRESS>changed status from new to closed


Dadu dev patch 1

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

What issue is this for, please use the template and link to the relevant issue

For some reason, I can't use the code on my local device and I'm working on the following issue:
https://github.com/EddieHubCommunity/LinkFree/issues/7846

@DaduDev can you provide sceenshots like Eddie suggested

As there has been no activity for two weeks I am closing this PR>


Set "Legacy Swift Language Version"

Maybe I did something wrong, but I must set "Use Legacy Language Version" to Yes or No to successfully build my project. I use Xcode 8. An option simple to set this in my plugin would be nice.

If you are using a Swift 3 code base for your plugins the swift version is well configured. In case you now want to use a legacy code base you can configure this plugin with the following preference : <preference name="UseLegacySwiftLanguageVersion" value="true" />


[WIP] Revert bindings dependency workaround

DO NOT SUBMIT until customers are migrated!!
Description
This reverts commit https://github.com/flutter/flutter/pull/54212/commits/0089896c6803fb079c1713cb2898d9dbfa56b06e of https://github.com/flutter/flutter/pull/54212, which was only submitted to allow migrating our customers without breaking them.
Related Issues
Pre-work for #6827.
Tests
I added the following tests:

adjusted tests to make them no longer dependent on the workaround.

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[ ] No, no existing tests failed, so this is not a breaking change.
[x] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[x] I wrote a migration guide: https://github.com/flutter/website/pull/3918

(marked WIP so it is not accidentally submitted before migration is done)

Internal customers have been migrated (cl/305890946). This will submit when the tree turns green.


ANR on NativeModuleListLoader.nativeLoadModuleList

Description
It seems NativeModuleListLoader.nativeLoadModuleList may cause an ANR in some cases.
Maybe not, but worth investigate it.
Appeared on the SDK console

I think I saw this issue in production, or a very similar one. I try to find the issue on Monday. It's a long weekend over here, so I might forget. If you believe having an issue might help you feel free to ping me in case I forget.

@ueman do you still have the issue on hand?

Flutter uses Android SDK directly.
Android caches debug images as well, so there shouldn't be any problem.
In this case the loading of debug images blocked the first time it was accessed, so nothing was cached.
In any case, the culprit is the NDK debug image loading, and probably it's just a coincidence.
I'm moving this issue to sentry-native


Jobs Shop Item Name Issue

Detailed description of the issue:
No matter what the 'name' field is changed to in shopItems.yml, the name does not change in game. No error in console.
For instance i have a flight charge option and Elytra option below. In the job shop GUI in game they both show as Elytra with no way to tell them apart. No description etc. I can personally tell the difference by the price, but an unsuspecting player would not.
I've tried different variations of the name such as Recharge_Flight and no color coding etc.
FlightCharge:
    pointPrice: 10000.0
    Icon:
      ItemStack: elytra
      Name: '&eRecharge Flight'
      HideWithoutPermission: false
    PerformCommands:
    - "cmi flightcharge add [player] 1000"
    - "msg &eYou recharged your flight charges in the Jobs Shop!"

Elytra:
    pointPrice: 50000.0
    Icon:
      ItemStack: elytra
      Name: Elytra
      HideWithoutPermission: false
    RequiredPermission: []
    RequiredJobLevels:
      - Miner-10
      - Woodcutter-10
      - Digger-10
    RequiredTotalLevels: 100
    PerformCommands:
    - "msg &eYou purchased an Elytra from the Jobs shop!"
    GiveItems:
      Elytra:
        Id: elytra

Screenshots of the Issue:

Jobs version: <IP_ADDRESS>
Server Type (Spigot/Paper/etc): Paper
Server Version (using /ver): Paper version 1.21.1-DEV-master@e08e667 (2024-08-27T06:02:16Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT)

Was unaware of
Icon:
ItemStack: diamond_pickaxe;&eBest_pick_axe_ever!;&6Efficiency_V\n&6Unbreaking_III\n&eAnd_one_tasty_apple!
Although this seems very unintuitive, and could be easier to fill fields.

Was unaware of
Icon:
ItemStack: diamond_pickaxe;&eBest_pick_axe_ever!;&6Efficiency_V\n&6Unbreaking_III\n&eAnd_one_tasty_apple!
Although this seems very unintuitive, and could be easier to fill fields.


re-run compilation and execution tests of StarCoder for Table 3

the numbers I got for Codellama are different from what I saw in Table 3.
This leads to the need to re-produce the numbers for StarCoder also.
Fortran2Cpp/data/StarCoder2/readable_format_HPEC/cpp]make -k -j all

(.venv) [liaoch@login15:~/workspace-cfs/Fortran2Cpp/data/StarCoder2/readable_format_HPEC/cpp]ls *.o|wc
    204     204    2040
(.venv) [liaoch@login15:~/workspace-cfs/Fortran2Cpp/data/StarCoder2/readable_format_HPEC/cpp]ls *.err|wc
     92      92    1104

make -f makefile-exe-test -k -j execute

(.venv) [liaoch@login15:~/workspace-cfs/Fortran2Cpp/data/StarCoder2/readable_format_HPEC/cpp]ls *.pass |wc
    155     155    2015

The paper mentions StartCoder. However, the git repo has Fortran2Cpp/data/StarCoder2 .
Which model did you fine-tune: StartCoder or StarCoder2 ? @bin123apple

the two numbers (compilation and execution metrics) are slightly different. I updated Table 3 to use mine.


Invalid json output

Tool produces invalid json files - they are missing the [] around the data, which causes parsing issues when attempting to use them in another application.
We were able to work around this by doing the following:
(echo -n "[" ; cat Standard_objects.json; echo "]") | jq .

Thanks for the input.
We will review the code and fix it.

Thank you!

Fixed, see #7


Copy as SVG

I need to copy diagrams to Figma, and the way to do it is via SVG. Figma can paste SVG file contents in vector form, so it's best to use SVG and not PNG.
Describe the solution you'd like
An additional menu action next to Copy as Image, like "Copy Advanced…" where one can select format, borders, background, etc, same as for export. The only difference is that it is not saved to file but copied to clipboard.
A different, may be simpler approach would be to add "Copy to Clipboard" to advanced export dialog in addition to "Export" button.
Describe alternatives you've considered
I've tried Embed command, and while it can gives me SVG, it is way too long to interactively integrate parts of diagrams into large design work.

I'd love to see this. I came here to find if there was an issue for configuring the image size/resolution for copy as image - I'm copying images into a presentation and the default resolution is too low. Performing exports takes much longer as I'm iterating on the diagrams and the presentation. Having the copy be a vector format gets around this issue (assuming Powerpoint supports SVGs). Another option might be to add configuration options for Copy as Image - format, resolution, etc.

An additional menu action next to Copy as Image…

I think this command is available only in the desktop app. I can't find it in the web version. However, the Copy to image would be very handy there as well.

Can I contribute to a fund to sponsor this feature?

Thanks @alderg for the explanation. Maybe once https://www.chromestatus.com/feature/5125790490427392# is done.
Meanwhile for users looking for a work-around: you can "File : Export as : SVG…" and then check "Selection only". Then place that asset file where you would have pasted SVG.

The problem with copy as svg is that the clipboard API does not currently allow image/svg to be written to the clipboard. We tried writing an  tag with a SVG data URI as text/html, but Figma and most other image editing apps are not reading text/html from the clipboard. The best solution for now is copy as image with a higher resolution, which will be available in the next release.
@alderg Is there a chance to provide a dialog with SVG so that we can copy it manually and paste it somewhere else? That saves time against exporting and opening as text.

Try right click the small preview icon in the SVG export dialog, it should have a copy image option.

Sorry, but I didn't see such preview icon.

After clicking Export, next to the filename.

Which version of the app are you using?

14.16.13, Mac Desktop

OK, desktop doesn't have that. Always worth describing your environment when posting. The desktop project is at https://github.com/jgraph/drawio-desktop.

Thanks and sorry for the inconvenience, I'll open an issue there.


[Feature][SeaTunnel-engine][checkpoint-storage] add oss support for checkpoint storage

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
Add OSS plugin to support for checkpoint storage.
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@hailin0 The PR of this issue has been created, Please help me to review.

https://github.com/apache/incubator-seatunnel/pull/3732

This issue has been resolved.


transition from python-docx to docx2python

This is discussed in #63

this may not be something that we need to go through.
there is still a lot of research needed to see if docx2python is a better solution than python-docx.
if we find that docx2python is a better solution than python-docx, we should definitely transition.

convestaion with chatGPT:
https://chat.openai.com/chat/adb7125a-0297-4a60-9afe-0e6571310c53

I will complete this issue, but we will not be continuing with this transition for the time being.


Add introduction material on the main documentation page

Description

Add introduction material on the main documentation page.
Link to documentation: https://esmvaltool--3628.org.readthedocs.build/en/3628/

Before you get started

[ ] ☝ Create an issue to discuss what you are going to do

Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.

[x] 🛠 This pull request has a descriptive title
[x] 🛠 Documentation is available
[x] 🛠 Tests run successfully
[x] 🛠 The list of authors is up to date
[x] 🛠 All checks below this pull request were successful

To help with the number of pull requests:

🙏 We kindly ask you to review two other open pull requests in this repository

@ESMValGroup/userengagementteam Would one of you have time to review this, please?

Thanks @bouweandela for including the ACCESS-NRI videos. I just have one suggested change. See review

Hi @bouweandela. Looks just great to me! No additional comments from my side.


Batch manager groups together messages with different signing keys

The batch manager starts a separate processor for each signing context. However, it only looks at each message's identity, not the actual signing key:
https://github.com/hyperledger/firefly/blob/c42ad700cad0d167d08f152e76aa52fbedf6f2a9/internal/batch/batch_manager.go#L138
This means that if a single identity sends many messages with many signing keys, they can all get sent to the same batch processor. The messages whose signing key doesn't match the signing key of the batch will ultimately be rejected.

Just to clarify, this is specific to:

Private messages
All using the same identity, backed by an off-chain node identity
Choosing to use lots of different signing keys on-chain for anonymity


works on local machine but nothing on Heroku

per-env works just fine locally. npm install correctly runs different scripts based on NODE_ENV. but when I deploy on heroku, none of them works.
seems like heroku doesn't recognise install:production etc. here is my package.json

@hadifarnoud Do you have your environment set for production?

https://devcenter.heroku.com/articles/nodejs-support#configuring-npm

I remember when I used Heroku this part always got me...

I changed my package.json to this and it worked.   That's new to me too :)

https://devcenter.heroku.com/articles/nodejs-support#heroku-specific-build-steps

Thanks for updating!


Add Virta Labs

Over yonder in the Tech Brewery building.

Could someone either merge or close this PR? :-)

@ransford please add CSS and I'll merge. sorry for the delay!

Added CSS for Virta Labs; totally missed that the first time around.


Readme and cleanup

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

Project coverage is 87.97%. Comparing base (e6bcdec) to head (cc5a28d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
- Coverage   89.00%   87.97%   -1.04%
==========================================
  Files           8        8
  Lines         291      291
==========================================
- Hits          259      256       -3
- Misses         32       35       +3

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

Closes #19


CDPS-39-photo-page

I think the back link should be active and be "Back to the profile page"

@davidmiddletonmoj Thanks for the feedback. Ready for another review.


request: add option to make config file global

This issue is to request a feature to make a config file apply globally across multiple projects, as it is kind of annoying to have to specify the config file for every project.
It would probably be nice to have a project specific override.

This should already be supported natively by the IDE, sorta. If you go to "File > New Projects Setup > Settings for New Projects..." and change the Yamllint settings, then it should then be applied to new projects.

Thanks, I didn't know about that menu.


Integrate file upload page with js-dataverse use cases

Overview of the Feature Request
Integrate the file upload page UI from GitHub issue 366 with the js-dataverse use cases implemented on https://github.com/IQSS/dataverse-client-javascript/pull/153.
We don't necessarily have to wait for https://github.com/IQSS/dataverse-client-javascript/pull/153 to be merged for working on the integration since we already have an npm version generated from the PR.
What kind of user is the feature intended for?
SPA user.
What inspired the request?
UI and js-dataverse work.
What existing behavior do you want changed?
None
Any brand-new behavior do you want to add to Dataverse?
Functional file upload feature
Any open or closed issues related to this feature request?

https://github.com/IQSS/dataverse-frontend/issues/366
https://github.com/IQSS/dataverse-client-javascript/issues/152

waiting for https://github.com/IQSS/dataverse-frontend/pull/397 to be merged


Practice App: Requirements

What's up?
The requirements for our Practice App must be written. I will open a Requirements page for Practice App and add it to the sidebar so we can collaboratively add requirements for the practice app.
To Do

[x]  Create a Requirements page for Practice App and add it to the sidebar for availability purposes.

Add requirements as we discussed during our meetings.

[ ] @mumcusena
[ ] @KarahanS
[ ] @BElifb
[ ] @sinemKocoglu
[ ] @mustafa-cihan
[ ] @dundarmete
[ ] @ooodogodogodogo
[ ] @serdarakol
[ ] @simsekhebun
[ ] @kostanya

Deadline
20.05.2022 @23.59
Additional Information
No response
Reviewers
No response

Created the Requirements page for the practice app.

Added "Tag" to the glossary.
Added tag related functional requirements under user requirements. (1.1.2)

reviewer: @sinemKocoglu

Added comment related functional requirements.(1.1.3)
Added a nonfunctional requirement regarding the posting comment.(1.2.2)

Added Search by tag endpoint related functional requirements (<IP_ADDRESS>.)
Questions endpoint related functional requirements (1.1.x.2.) and (1.1.x.3.)

Practice App Implementation is over. No action is taken, closing the issue.


documentation depends on non-local resources not tracked in the repository

The theme links to the image //clusterhq.com/wp-content/themes/hybrid-cluster-v3/assets/img/hc-logo.png.
The favicon is also referenced at //clusterhq.com/wp-content/themes/hybrid-cluster-v3/assets/img/favicon.ico.
When building and viewing documentation locally these references can't be resolved.  Additionally, since they're not part of the repository, they can't easily be changed.
The cases where some part of the documentation should live outside of the repository will be few and far between.  Neither of these images seems like a case where it makes sense.

We are moving our development planning to JIRA. This issue is now being tracked at https://clusterhq.atlassian.net/browse/FLOC-603. You are welcome to file additional issues in GitHub if that's easier for you.


[Runtime] Avoid function pointer indirection in refcounting functions.

Functions like swift_retain call through a function pointer so that Instruments can interpose. This slows down the common case where there is no interposition. Instead, initialize the function pointers to NULL and call through directly to the real implementation when it's NULL. The compiler is smart enough to inline this call and the result is a single conditional branch rather than a function pointer call.
rdar://problem/18307425

@swift-ci please benchmark

Performance: -O

Improvement
OLD
NEW
DELTA
RATIO

LazilyFilteredArrayContains
23000
18400
-20.0%
1.25x

UTF8Decode_InitDecoding
124
103
-16.9%
1.20x

ArraySetElement
305
262
-14.1%
1.16x

RandomShuffleLCG2
384
336
-12.5%
1.14x

Set.isSuperset.Seq.Empty.Int
53
47
-11.3%
1.13x (?)

Set.isDisjoint.Box.Empty
98
87
-11.2%
1.13x

RemoveWhereMoveInts
18
16
-11.1%
1.12x

Set.subtracting.Empty.Box
9
8
-11.1%
1.12x

Array2D
4144
3696
-10.8%
1.12x (?)

MapReduceAnyCollection
215
193
-10.2%
1.11x

Set.isSubset.Int.Empty
51
46
-9.8%
1.11x (?)

DataSetCountMedium
410
370
-9.8%
1.11x (?)

ObjectiveCBridgeStringHash
42
38
-9.5%
1.11x (?)

MapReduce
237
215
-9.3%
1.10x (?)

DistinctClassFieldAccesses
194
176
-9.3%
1.10x

ArrayLiteral2
78
71
-9.0%
1.10x (?)

DictionarySubscriptDefaultMutation
191
174
-8.9%
1.10x

RemoveWhereSwapInts
34
31
-8.8%
1.10x (?)

Integrate
217
198
-8.8%
1.10x (?)

FlattenListLoop
2512
2303
-8.3%
1.09x (?)

DropWhileAnySequence
2130
1953
-8.3%
1.09x (?)

DropFirstAnySequenceLazy
2188
2015
-7.9%
1.09x (?)

SubstringFromLongStringGeneric
13
12
-7.7%
1.08x (?)

PrefixWhileAnySeqCRangeIter
186
172
-7.5%
1.08x (?)

DropLastAnySequence
334
309
-7.5%
1.08x (?)

Set.isDisjoint.Seq.Box.Empty
67
62
-7.5%
1.08x (?)

Set.subtracting.Empty.Int
28
26
-7.1%
1.08x (?)

PrefixWhileAnySeqCntRange
186
173
-7.0%
1.08x

PrefixAnySequence
1769
1649
-6.8%
1.07x (?)

PrefixWhileSequence
195
182
-6.7%
1.07x (?)

Code size: -O
Performance: -Osize

Improvement
OLD
NEW
DELTA
RATIO

FlattenListLoop
2968
2169
-26.9%
1.37x (?)

UTF8Decode_InitDecoding
122
102
-16.4%
1.20x

ArraySetElement
305
262
-14.1%
1.16x

RangeAssignment
223
195
-12.6%
1.14x (?)

RemoveWhereSwapInts
33
29
-12.1%
1.14x

Set.isSuperset.Seq.Empty.Int
52
46
-11.5%
1.13x (?)

Set.isStrictSubset.Int.Empty
54
48
-11.1%
1.12x (?)

Array2D
3904
3472
-11.1%
1.12x

Set.isDisjoint.Box.Empty
110
98
-10.9%
1.12x (?)

Set.isDisjoint.Seq.Int.Empty
56
50
-10.7%
1.12x (?)

Set.isStrictSubset.Seq.Int.Empty
128
115
-10.2%
1.11x (?)

ObjectiveCBridgeStringHash
42
38
-9.5%
1.11x

DataCreateEmptyArray
1650
1500
-9.1%
1.10x (?)

Integrate
220
200
-9.1%
1.10x

MapReduce
258
237
-8.1%
1.09x (?)

MapReduceAnyCollection
259
238
-8.1%
1.09x (?)

RandomShuffleLCG2
400
368
-8.0%
1.09x (?)

Set.isSubset.Seq.Int.Empty
125
115
-8.0%
1.09x (?)

RemoveWhereFilterInts
25
23
-8.0%
1.09x (?)

SubstringFromLongStringGeneric
13
12
-7.7%
1.08x (?)

Set.isDisjoint.Seq.Box.Empty
95
88
-7.4%
1.08x (?)

DataSetCountMedium
410
380
-7.3%
1.08x (?)

PrefixWhileAnySeqCRangeIter
211
196
-7.1%
1.08x (?)

PrefixWhileSequence
201
187
-7.0%
1.07x (?)

PrefixWhileAnySeqCntRange
210
196
-6.7%
1.07x (?)

Code size: -Osize
Performance: -Onone

Regression
OLD
NEW
DELTA
RATIO

ArrayOfPOD
665
740
+11.3%
0.90x (?)

Improvement
OLD
NEW
DELTA
RATIO

UTF8Decode_InitDecoding
143
123
-14.0%
1.16x (?)

ObjectiveCBridgeStringHash
42
38
-9.5%
1.11x

Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 64 GB

Very nice!

Turns out that Instruments doesn't work when the function pointers start out as NULL. Trying a different approach now where we initialize them as before, but then we check for that value and make the call directly. The compiler still inlines the implementation in this case. One additional leaq instruction is generated to get the address to compare with, which shouldn't hurt too much.

@swift-ci please benchmark

Performance: -O

Regression
OLD
NEW
DELTA
RATIO

DistinctClassFieldAccesses
173
202
+16.8%
0.86x

SubstringFromLongString
7
8
+14.3%
0.88x

UTF8Decode_InitDecoding
110
119
+8.2%
0.92x (?)

Improvement
OLD
NEW
DELTA
RATIO

Set.isStrictSubset.Seq.Int.Empty
129
111
-14.0%
1.16x

Set.isDisjoint.Seq.Int.Empty
56
49
-12.5%
1.14x

ArrayLiteral2
82
72
-12.2%
1.14x (?)

Chars2
3350
2950
-11.9%
1.14x (?)

DataCreateEmptyArray
1700
1500
-11.8%
1.13x (?)

Set.isDisjoint.Box.Empty
99
88
-11.1%
1.12x (?)

Set.subtracting.Empty.Box
9
8
-11.1%
1.12x (?)

Set.isSubset.Seq.Int.Empty
126
113
-10.3%
1.12x

Set.isSuperset.Seq.Empty.Int
51
46
-9.8%
1.11x (?)

DataCreateSmallArray
2250
2050
-8.9%
1.10x (?)

NormalizedIterator_fastPrenormal
630
580
-7.9%
1.09x (?)

LazilyFilteredArrayContains
20200
18600
-7.9%
1.09x (?)

Set.isStrictSubset.Int.Empty
54
50
-7.4%
1.08x (?)

DictionarySubscriptDefaultMutation
190
176
-7.4%
1.08x

PrefixWhileAnySequence
1153
1071
-7.1%
1.08x (?)

Calculator
147
137
-6.8%
1.07x (?)

Breadcrumbs.IdxToUTF16Range.longMixed
288
269
-6.6%
1.07x (?)

Code size: -O
Performance: -Osize

Regression
OLD
NEW
DELTA
RATIO

LazilyFilteredArrayContains
38800
45000
+16.0%
0.86x (?)

HashTest
750
820
+9.3%
0.91x (?)

Hanoi
2160
2350
+8.8%
0.92x (?)

Improvement
OLD
NEW
DELTA
RATIO

Set.isSuperset.Seq.Empty.Int
54
46
-14.8%
1.17x (?)

Set.isDisjoint.Box.Empty
104
89
-14.4%
1.17x

Set.isDisjoint.Seq.Box.Empty
100
87
-13.0%
1.15x (?)

DataCreateEmptyArray
1700
1500
-11.8%
1.13x (?)

Set.isDisjoint.Int.Empty
61
54
-11.5%
1.13x (?)

Set.subtracting.Empty.Box
9
8
-11.1%
1.12x

Set.isSubset.Seq.Int.Empty
129
116
-10.1%
1.11x

Chars2
3550
3200
-9.9%
1.11x (?)

Set.isStrictSubset.Int.Empty
52
47
-9.6%
1.11x

Calculator
150
136
-9.3%
1.10x (?)

NormalizedIterator_fastPrenormal
660
600
-9.1%
1.10x (?)

Set.isStrictSubset.Seq.Int.Empty
130
119
-8.5%
1.09x (?)

Set.isDisjoint.Seq.Int.Empty
51
47
-7.8%
1.09x (?)

DataSetCountMedium
410
380
-7.3%
1.08x (?)

DictionaryBridgeToObjC_Bridge
15
14
-6.7%
1.07x (?)

Set.isStrictSuperset.Seq.Empty.Int
181
169
-6.6%
1.07x (?)

Code size: -Osize
Performance: -Onone

Regression
OLD
NEW
DELTA
RATIO

ArrayInClass
2185
2495
+14.2%
0.88x

StringWalk
7120
8120
+14.0%
0.88x

DataAppendDataSmallToSmall
2960
3360
+13.5%
0.88x (?)

StringFromLongWholeSubstring
9
10
+11.1%
0.90x

NopDeinit
113100
124700
+10.3%
0.91x (?)

Improvement
OLD
NEW
DELTA
RATIO

SubstringFromLongString
10
9
-10.0%
1.11x (?)

ArrayOfPOD
723
661
-8.6%
1.09x (?)

DataSetCountMedium
430
400
-7.0%
1.07x (?)

StringToDataSmall
750
700
-6.7%
1.07x (?)

Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 64 GB


build: use python 3.11 throughout package

I've specified use of python 3.11 (or higher for pyproject.toml) throughout the package. I think we are not really doing anything to the README or docs at the moment, so haven't touched any installation instructions.
As I was editing these, there were also some formatting changes (to non *.py files) that VS code automatically implemented. These formatting settings are stored in the .vscode file. @gcroci2 , could you check whether you have the prettier extension installed, which should auto-format such files upon saving.

@gcroci2 , what do we do about this one?
What we decided to do in the alive project was to have the test that happens for each PR only run on a single version of python, but then have the action that creates the github release do a check for multiple python versions. This seems like a good compromise between supporting multiple versions of python, without running many near repetitive checks that are likely to give the same outcome anyway.
Do you think that would be a good solution here as well? If so, I suggest for now we accept this PR as is, and then deal with the support when we set up the release workflow.

@gcroci2 , what do we do about this one?
What we decided to do in the alive project was to have the test that happens for each PR only run on a single version of python, but then have the action that creates the github release do a check for multiple python versions. This seems like a good compromise between supporting multiple versions of python, without running many near repetitive checks that are likely to give the same outcome anyway. Do you think that would be a good solution here as well? If so, I suggest for now we accept this PR as is, and then deal with the support when we set up the release workflow.

I'd keep both python 3.11 and 3.12 in the build file, I don't see it as a sustainability issue honestly. I'd also ask Manuel if he's fine with removing 3.10. Given that we want to merge back to the original repo very soon, maybe it's better to leave everything as it was for the sake of the merging (testing the build on 3.10, 3.11, and 3.12, the rest on only one version) and open a new issue here (which will be migrated to the original repo later) about this. @DaniBodor

sure. I will leave the branch alive though, in case we want to revisit this later.


Add Constructible style sheets polyfill

see https://github.com/calebdwilliams/construct-style-sheets

What do you intend to use the polyfill for? Do you know if it affects performance of LitElement (positive or negative)

The only reason I could see for adding this is if it enhances the performance, since lit-element uses a fallback for constructible stylesheets

I don‘t use lit, but I use constructible style sheets

Some questions I have towards this are:

Where would you like to see this added?

Our main recommendation at this moment in time is LitElement, which has a fallback built in for constructible stylesheets. If you're using our building configurations, we have options to configure custom polyfills yourself: https://open-wc.org/building/rollup-plugin-index-html.html#polyfills

What is the performance benefit of using the polyfill vs fallback support?

It's fairly trivial to supply fallback support yourself, see this example. While this is just a simple demo project, the code in LitElement doesnt look much different, vs the polyfill which, in itself is relatively not big at all (2.1kb gzip+min), but still more code than adding fallback support. So then the question would be runtime performance I guess?


I have added my answers to the assignment questions

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
expanding the commands
What did you learn from the changes you have made?
the longer way to write the commands
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
the shorter way is better
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
the pull request
How were these changes tested?
on git bash, tried to run the command there
A reference to a related issue in your repository (if applicable)
Checklist

[- ] I can confirm that my changes are working as intended

You have unfortunately made a pull request to the wrong repo. You shouldn't be making a pull request to uoft-dsi/shell, but rather your own forked shell repo. Please read the instructions on your onboarding Assignment Submission Guide more carefully.


ERROR: Could not find a version that satisfies the requirement dj-rest-auth==0.9.5 (demo project setup)

Hello.
When I try to install the requirements for the demo project, I get the following error:
ERROR: Could not find a version that satisfies the requirement dj-rest-auth==0.9.5 (from -r requirements.pip (line 2)) (from versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4)
ERROR: No matching distribution found for dj-rest-auth==0.9.5 (from -r requirements.pip (line 2))

When I install using pip install dj-rest-auth, pip installs dj-rest-auth-0.1.4. Not sure why this is but thought to bring it to your attention.
Thank you for taking up the maintenance of this project and I'll be happy to open a pull request to fix this.

Thanks @leni1 !
I've updated the version in the demo requirements. It' will install fine now.


Release v0.36.2

Issue #, if available:
Description of changes:

Release v0.36.2

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Should AWS::StepFunctions::Activity be fixed before releasing?


fix: catch crd dir exists error

This PR...
Changes

added tr/catch cluse to handle EEXIST: file already exists.

Fixes

fixing a race condition while saving many crds at once

How to test it

Screenshots

Checklist

[ ] tested locally
[ ] added new dependencies
[ ] updated the docs
[ ] added a test

it is better to check if the user has access to the crdDir and halt the saving operation if the user has no access privilege but doesPathExist doesn't throw an error instead it returns false.


[bug] create container with nonexistent image

I create a container by nonexistent image such as "test234".As usual it should return the error message "No such image: test456:latest",but in hyper, it will response "No such image: test456",without tag "latest".

$ docker create test456
Unable to find image 'test456:latest' locally
Pulling repository docker.io/library/test456
Error: image library/test456 not found

$ hyper create test456
Unable to find image 'test456:latest' locally
Pulling repository docker.io/library/test456
Error: image library/test456 not found

imaged api
$ curl -s -H "Content-Type: application/json" -XPOST -H "Authorization: Tenant=53f69a814697465b9716b38ab5863891 Credential=access_key/credential-scope" http://<IP_ADDRESS>:23456/containers/create?name=mybusybox -d '{"Image":"test456","Volumes":{"/tmp":{}}}'
No such image: test456:latest

apirouter api
$ curl -k \
-H "Content-Type: application/json"
-H "X-Hyper-Date: 20160523T111523Z"
-H "X-Hyper-Content-Sha256: da5d60143325e3250a74d433eb97d73d8442f268cb80854d33f3eb8539aac2e7"
-H "Host: <IP_ADDRESS>:6443"
-H "Authorization: HYPER-HMAC-SHA256 Credential=BVYLVWWAKRB6H3GL9425OG4K/20160523/us-west-1/hyper/hyper_request, SignedHeaders=content-type;host;x-hyper-content-sha256;x-hyper-date, Signature=9b59ed6e209879ef0ed525e6c9f3ebbf3a99d6677681091c7837fe3f0aff3cdd"
-X POST
-d '{"Image":"test456","Volumes":{"/tmp":{}}}
'
https://<IP_ADDRESS>:6443/v1.23/containers/create\?name\=test
Error: No such image: test456


[question] Is there a way to set height of component by a number of lines?

I have one-line code, and it looks like
1  console.log('example');
But the height of Codemirror component is much bigger (default is 300px). I wonder is it possible to set height dynamically by line numbers? For example if I have one-line code it will be 30px, if I have two - 60px and etc.

I did it setting height programatically via setSize method applied to instance.
componentDidMount() {     const codeLinesNumber = this.props.lines;     const height = ${codeLinesNumber*30}px;     this.instance.setSize('100%', height); } render() {     return (        <CodeMirror             editorDidMount={editor => { this.instance = editor }}             value={this.props.code}             options={{               mode: 'javascript',               lineNumbers: true,             }}         />     ); }


Appstudio update rhtap-demo-component-bxwf

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: rhtap-demo-component-bxwf-on-pull-request-
creating pipelinerun rhtap-demo-component-bxwf-on-pull-request- in namespace rhtap-demo-dev-fygs-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request


Bycatch: Subset of SpecWorms linked to Dataset, Ecoregion and Year

For WGBYC 2022 data call, a list of species to be reported by ecoregion will be available. For the time being is just informative, no checks will be associated to it. However, we have been asked to flag in the database those species not in the list.
The list has 230 species in all.
We will check whether they are already in SpecWorms and if not will be introduced.
We will link the SpecWorms code to Dataset Bycatch.
We will link the SpecWorms code to one or several ecoregions. Not so sure about this last point. Please suggestions.

Need more info on the suggested mapping to Ecoregions


Issues 1659

Possible suggestion to solve https://github.com/uNetworking/uWebSockets/issues/1659
Might need to be made more in line with the coding standards, but should work as-is also.

I'm generally not a fan of dynamic configs but this only happens on slow path so could be reasonable.
Can you add a prefix like UWS_

@uNetworkingAB renamed it as you suggested.

https://github.com/uNetworking/uWebSockets/commit/75a525655fc865db4d3175cdcefa5a74a825e4df

UWS_HTTP_MAX_HEADERS_SIZE already in master version, so closing pr.


[APIv2] cvssv3 considered mandatory

When testing something random, with an empty string
{
  "cvssv3": [
    "This field may not be blank."
  ]
}

@madchap what's the issue here? That's the attribute is mandatory?

Actually, non blank. Got that whenever I was testing things with the apiv2 swagger and prepopulated json with all fields. It is actually probably warranted, just quickly created this before I forget, but it should be OK. Will go ahead and close.


Quickstart guide outdated

I was unsuccessful in using VSCode together with the provided code.  The reason seems to be that the Golang module system changed in v1.16 and the Quick start was not updated to reflect this fact.
See https://github.com/golang/vscode-go/issues/1761
Environment

OS: Linux (docker.io/golang:1.16.7-buster)
Go version: v1.16
Version of Library: v3 (per the Quickstart guide in README.md)

As far as I understood, the only thing additional needed is to run
go mod init example/main
and putting the example code in main.go.

Thanks for pointing this out, team will look into updating!

Does the readme.md need updating?
The versions no longer seem to exist.
`solarisfire@ubuntu:~/test$ go get -u github.com/Azure/azure-event-hubs-go/v2
package github.com/Azure/azure-event-hubs-go/v2: cannot find package "github.com/Azure/azure-event-hubs-go/v2" in any of:
/usr/lib/go-1.13/src/github.com/Azure/azure-event-hubs-go/v2 (from $GOROOT)
/home/solarisfire/go/src/github.com/Azure/azure-event-hubs-go/v2 (from $GOPATH)
solarisfire@ubuntu:~/test$ go get -u github.com/Azure/azure-event-hubs-go/v3
package github.com/Azure/azure-event-hubs-go/v3: cannot find package "github.com/Azure/azure-event-hubs-go/v3" in any of:
/usr/lib/go-1.13/src/github.com/Azure/azure-event-hubs-go/v3 (from $GOROOT)
/home/solarisfire/go/src/github.com/Azure/azure-event-hubs-go/v3 (from $GOPATH)`

I know this issue is a bit old, but it would appear this was a temporary error as I'm able to pull the latest.
Go 1.17 on my local machine.
Are you still seeing this issue @solarisfire?

Closing as there's been no activity on this.


Support subclassed events e.g. PaintEvent, DropEvent

Discussion from https://news.ycombinator.com/item?id=41785568 :

Is it possible to extend/subclass an existing QWidget and customise it?

For e.g. PaintEvent() from pure Go code? Not yet, but I have some idea on how to make it possible.
Until then, a nice feature of CGO is you can write one custom Qt subclass in a .cpp file in the same folder as your .go files. Your C++ will be compiled with go build, and you can use your custom class directly from Go/MIQT. So even if some advanced Qt feature is not in the binding, anything is still possible at least. I'll make an example about this.

I contribute to NodeGui, Qt on Nodejs. It doesn't try to emulate the C++ API by allowing subclassing. Instead it exposes most methods on QWidget classes/subclasses which process QEvent objects (and their subclasses) in the form of events which you can subscribe to as an application. You can listen to signals and also QEvent related traffic in much the same way. So, if you want to subclass a QWidget to do your own custom rendering/painting, you would create an instance of QWidget and then listen to/hook into, the incoming requests to repaint. Qt sees a normal QWidget instance, but you can customise it do act like the subclass you desire. This avoids any attempt to do a real C++ subclass at runtime. Internally, NodeGui subclasses almost every QWidget (and more) to hook into them to allow this. This works far better than you might expect and saves a ton of complexity.

QObject::InstallEventFilter may be an alternative to subclassing.

I think we can follow therecipe/qt to expose most of qt methods. As an example to override data for QAbstractItemModel it has ConnectData which accept a go function which will be called from C++ side whenever data method is called. The downside is we need to generate C++ subclass for each Qt classes to handle this which will make the binding bigger and longer to compile.

Thanks @mappu, I do some test on Windows with Qt 6.5.3 building examples/helloworld6 on my  i7-8665U CPU (5 years old CPU) and 16 GB RAM

master
miqt-subclass
change

first build time
00:20:28
00:23:47
16.2%

binary size
6.470 KB
12.444 KB
92.3%

So the binary size almost doubled, but I think it is acceptable trade off if we can subclass Qt class.

Subclassing support is now available in master. To use it, call OnPaintEvent or any other function. Check the examples/subclass for more details.
One thing may be surprising: the callback takes an extra first argument super, which can be used to call the base implementation.
Everything seems to work in my testing, but there may still be bugs, so please try it out and let's resolve any issues before a new release is tagged.

Can we override data method from QAbstractItemModel? I looked at the generated source but didn't find anything.

@jamalsa I checked this. It looks like QAbstractItemModel will still need some more work. I've raised #88.


error with latexmlc preload command referenced in the README

Hello,
When I run the latexmlc command described in the MioGatto README I get an error, regardless of the input file content.
This might be a question for https://github.com/brucemiller/LaTeXML but I think latexmlc is operating correctly.
I have
latexmlc --VERSION
latexmlc (LaTeXML version 0.8.2)

I can create a file (the specific content does not matter)
echo "hello" > file.tex

This command completes successfully:
latexmlc --format=html5 --pmml --cmml --mathtex --nodefaultresources --dest=out.html file.tex

The expected out.html file is created by latexmlc. That indicates latexmlc is working.
However, when I run the command in the MioGatto README I get an error:
latexmlc --preload=[nobibtex,ids,mathlexemes,localrawstyles]latexml.sty --format=html5 --pmml --cmml --mathtex --nodefaultresources --dest=out.html file.tex

(Loading /usr/share/perl5/LaTeXML/Package/TeX.pool.ltxml...
(Loading /usr/share/perl5/LaTeXML/Package/eTeX.pool.ltxml... 0.01 sec)
(Loading /usr/share/perl5/LaTeXML/Package/pdfTeX.pool.ltxml... 0.01 sec) 0.22 sec)
(Loading /usr/share/perl5/LaTeXML/Package/latexml.sty.ltxml...
Error:undefined:\default@ds The token T_CS[\default@ds] is not defined.
	/usr/share/perl5/LaTeXML/Package/latexml.sty.ltxml line 47
	Defining it now as <ltx:ERROR/>
	In Core::Stomach[@0x55e076033e50] /usr/share/perl5/LaTeXML/Package/latexml.sty.ltxml line 47
	 <= Core::Gullet[@0x55e076033568] <= Core::Stomach[@0x55e076033e50] <= Core::Gullet[@0x55e076033568] <= ...
 0.02 sec)

Initialization complete: 1 error; 1 undefined macro[\default@ds]. Aborting.

(Loading /usr/share/perl5/LaTeXML/Package/TeX.pool.ltxml...
(Loading /usr/share/perl5/LaTeXML/Package/eTeX.pool.ltxml... 0.01 sec)
(Loading /usr/share/perl5/LaTeXML/Package/pdfTeX.pool.ltxml... 0.01 sec) 0.22 sec)
(Loading /usr/share/perl5/LaTeXML/Package/latexml.sty.ltxml...
Error:undefined:\default@ds The token T_CS[\default@ds] is not defined.
	/usr/share/perl5/LaTeXML/Package/latexml.sty.ltxml line 47
	Defining it now as <ltx:ERROR/>
	In Core::Stomach[@0x55e0760306e8] /usr/share/perl5/LaTeXML/Package/latexml.sty.ltxml line 47
	 <= Core::Gullet[@0x55e076030508] <= Core::Stomach[@0x55e0760306e8] <= Core::Gullet[@0x55e076030508] <= ...
 0.02 sec)

Initialization complete: 1 error; 1 undefined macro[\default@ds]. Aborting.
Initialization failed.
Error! Did not write file out.html

I looked at https://github.com/brucemiller/LaTeXML/blob/master/lib/LaTeXML/Package/latexml.sty.ltxml but don't understand the code well enough to understand the cause of this problem.
I suspect the cause is a missing .sty file? When I try just one input .sty I get "missing file" at the end
latexmlc --preload=nobibtexlatexml.sty --format=html5 --pmml --cmml --mathtex --nodefaultresources --dest=out.html file.tex

(Loading /usr/share/perl5/LaTeXML/Package/TeX.pool.ltxml...
(Loading /usr/share/perl5/LaTeXML/Package/eTeX.pool.ltxml... 0.01 sec)
(Loading /usr/share/perl5/LaTeXML/Package/pdfTeX.pool.ltxml... 0.01 sec) 0.22 sec)
Warning:missing_file:nobibtexlatexml Can't find package nobibtexlatexml
	at Anonymous String; line 0 col 0
	Anticipate undefined macros or environments
	search paths are /scratch

latexmlc (LaTeXML version 0.8.2)
processing started Fri May 27 22:33:13 2022

(Digesting TeX file...
(Processing content /scratch/file.tex... 0.01 sec) 0.02 sec)
(Building...
(Loading compiled schema /usr/share/perl5/LaTeXML/resources/RelaxNG/LaTeXML.model... 0.02 sec). 0.07 sec)
(Rewriting... 0.00 sec)
(Finalizing... 0.00 sec)
Conversion complete: 1 warning; 1 missing file[nobibtexlatexml.sty].

(post-processing...
(Scan out.html processing... 0.00 sec)
(CrossRef out.html processing... 0.00 sec)
(XSLT[using LaTeXML-html5.xsl] out.html processing... 0.02 sec)
(Writer out.html processing... 0.01 sec) 0.03 sec)
Post-processing complete: No obvious problems
processing finished Fri May 27 22:33:13 2022
Status:conversion:1
1 warning; 1 missing file[nobibtexlatexml.sty]
No obvious problems
Wrote out.html

For the latexmlc command in the MioGatto README, is there a nobibtexlatexml.sty file being referenced?
I also found that DeclareOption('nobibtex', sub { AssignValue('NO_BIBTEX' => 1, 'global'); }); is in LaTeXML/lib/LaTeXML/Package/latexml.sty.ltxml, so that means I'm not missing a .sty file.
If this question should be posted to https://github.com/brucemiller/LaTeXML I will do that.

I suspect the cause is a missing .sty file?

No, I don't think so. It seems the actual cause of the error is 1 undefined macro[\default@ds].
Incidentally, \default@ds is a standard LaTeX command. You have to use a valid LaTeX document source as your input. The file (file.tex) which only contains "hello" does not satisfies this.

Thanks for clarifying. I appreciate your reply.
I created a document
cat file_more.tex
\documentclass{article}
\usepackage{amsmath}
\begin{document}
hello $x$
\begin{equation}
x+2
\end{equation}
\end{document}

which produces a .dvi when I use latex file_more.tex
I am able to successfully run latexmlc with no .sty preload,
latexmlc --format=html5 --pmml --cmml --mathtex --nodefaultresources --dest=out.html file_more.tex

(Loading /usr/share/perl5/LaTeXML/Package/TeX.pool.ltxml...
(Loading /usr/share/perl5/LaTeXML/Package/eTeX.pool.ltxml... 0.01 sec)
(Loading /usr/share/perl5/LaTeXML/Package/pdfTeX.pool.ltxml... 0.01 sec) 0.19 sec)

latexmlc (LaTeXML version 0.8.2)
processing started Sat May 28 12:49:26 2022

(Digesting TeX file_more...
(Processing content /scratch/file_more.tex...
(Loading /usr/share/perl5/LaTeXML/Package/LaTeX.pool.ltxml... 0.22 sec)
(Loading /usr/share/perl5/LaTeXML/Package/article.cls.ltxml... 0.04 sec)
(Loading /usr/share/perl5/LaTeXML/Package/amsmath.sty.ltxml...
(Loading /usr/share/perl5/LaTeXML/Package/amsbsy.sty.ltxml... 0.00 sec)
(Loading /usr/share/perl5/LaTeXML/Package/amstext.sty.ltxml... 0.00 sec)
(Loading /usr/share/perl5/LaTeXML/Package/amsopn.sty.ltxml... 0.01 sec) 0.09 sec) 0.39 sec) 0.40 sec)
(Building...
(Loading compiled schema /usr/share/perl5/LaTeXML/resources/RelaxNG/LaTeXML.model... 0.02 sec). 0.07 sec)
(Rewriting... 0.00 sec)
(Math Parsing...2 formulae ...[1][2]
Math parsing succeeded:
   ltx:XMath: 2/2
Symbols assumed as simple identifiers (with # of occurences):
   'x{italic}' (1)
Set MATHPARSER_SPECULATE to speculate on possible notations.
 0.01 sec)
(Finalizing... 0.00 sec)
Conversion complete: No obvious problems.

(post-processing...
(Scan out.html processing... 0.00 sec)
(CrossRef out.html processing... 0.00 sec)
(MathML::Presentation[w/MathML::Content+TeXMath] out.html 2 to process... 0.01 sec)
(XSLT[using LaTeXML-html5.xsl] out.html processing... 0.02 sec)
(Writer out.html processing... 0.01 sec) 0.04 sec)
Post-processing complete: No obvious problems
processing finished Sat May 28 12:49:27 2022
Status:conversion:0
No obvious problems
Wrote out.html

When I used the command from the MioGatto README, I get the error:
latexmlc --preload=[nobibtex,ids,mathlexemes,localrawstyles]latexml.sty --format=html5 --pmml --cmml --mathtex --nodefaultresources --dest=out.html file_more.tex

(Loading /usr/share/perl5/LaTeXML/Package/TeX.pool.ltxml...
(Loading /usr/share/perl5/LaTeXML/Package/eTeX.pool.ltxml... 0.01 sec)
(Loading /usr/share/perl5/LaTeXML/Package/pdfTeX.pool.ltxml... 0.01 sec) 0.20 sec)
(Loading /usr/share/perl5/LaTeXML/Package/latexml.sty.ltxml...
Error:undefined:\default@ds The token T_CS[\default@ds] is not defined.
	/usr/share/perl5/LaTeXML/Package/latexml.sty.ltxml line 47
	Defining it now as <ltx:ERROR/>
	In Core::Stomach[@0x55ddb43d6a28] /usr/share/perl5/LaTeXML/Package/latexml.sty.ltxml line 47
	 <= Core::Gullet[@0x55ddb43dfda8] <= Core::Stomach[@0x55ddb43d6a28] <= Core::Gullet[@0x55ddb43dfda8] <= ...
 0.02 sec)

Initialization complete: 1 error; 1 undefined macro[\default@ds]. Aborting.

(Loading /usr/share/perl5/LaTeXML/Package/TeX.pool.ltxml...
(Loading /usr/share/perl5/LaTeXML/Package/eTeX.pool.ltxml... 0.01 sec)
(Loading /usr/share/perl5/LaTeXML/Package/pdfTeX.pool.ltxml... 0.01 sec) 0.21 sec)
(Loading /usr/share/perl5/LaTeXML/Package/latexml.sty.ltxml...
Error:undefined:\default@ds The token T_CS[\default@ds] is not defined.
	/usr/share/perl5/LaTeXML/Package/latexml.sty.ltxml line 47
	Defining it now as <ltx:ERROR/>
	In Core::Stomach[@0x55ddb4995328] /usr/share/perl5/LaTeXML/Package/latexml.sty.ltxml line 47
	 <= Core::Gullet[@0x55ddb4984e40] <= Core::Stomach[@0x55ddb4995328] <= Core::Gullet[@0x55ddb4984e40] <= ...
 0.02 sec)

Initialization complete: 1 error; 1 undefined macro[\default@ds]. Aborting.
Initialization failed.
Error! Did not write file out.html

Hmm... It seems the meaning of --preload=[nobibtex,ids,mathlexemes,localrawstyles]latexml.sty is something like \usepackage[nobibtex,ids,mathlexemes,localrawstyles]{latexml} and not requiring nobibtexlatexml.sty and so on.
I am not sure why the option is wrongly interpreted but can think of two hypotheses:

Your shell is expanding the argument unintentionally. What happen if you wrap the option with quotation marks like --preload='[nobibtex,ids,mathlexemes,localrawstyles]latexml.sty'
The latexml version is too old. We are using LaTeXML 0.8.5 or later for the record.

Problem appears to be my use of the old latexml 0.8.2
When I upgraded the problem is not present:
latexmlc --VERSION
latexmlc (LaTeXML version 0.8.6)

and
cat file_more.tex
\documentclass{article}
\usepackage{amsmath}
\begin{document}
hello $x$
\begin{equation}
x+2
\end{equation}
\end{document}

which is a valid latex document since latex file_more produces a .dvi file.
Finally,
latexmlc --preload=[nobibtex,ids,mathlexemes,localrawstyles]latexml.sty --format=html5 --pmml --cmml --mathtex --nodefaultresources --dest=out.html file_more.tex
latexmlc (LaTeXML version 0.8.6)
processing started Sat May 28 20:10:45 2022
Conversion complete: No obvious problems
Post-processing complete: No obvious problems
Status:conversion:0

Hooray!
Thanks very much for your quick and helpful responses!
The successful Dockerfile is posted to https://github.com/allofphysicsgraph/containerized-miogatto-annotation


Added raw data loading

Thanks!

oh, wow i didn't thought that my contribution actually could go through. i'm open to help, next time i will keep this repo in mind.


Type in document index request deprecated

I have configured the Elastic client with a warning logger client.SetErrorLog(...). Since doing this, my logs are spammed full of the following Warning logs:
Elasticsearch-7.5.2-8bec50e1e0ad29dad5653712cf3bb580cd1afcdf "[types removal] Specifying types in document index requests is deprecated, use the typeless endpoints instead (/{index}/_doc/{id}, /{index}/_doc, or /{index}/_create/{id})

How can I resolve this error/warning?
Which version of Elastic are you using?
[X ] elastic.v7 (for Elasticsearch 7.x)

You can remove types from your application.

Thank you for the quick response, I appreciate your time! Is this a configuration in the Elastic client or in the Elastic stack configuration? The article didn't make it very clear to me. If this is out of scope of the client and is a server configuration that is incorrect I apologise for not recognising this before opening this issue.

You need to redesign your application to no longer use types. 7.x deprecates types, and 8.x removes them, so you only have indices now. In a nutshell: If you have an index and a type (e.g. maps/city or crm/customer), you need to reindex them to use indices only (e.g. cities or customers).

I see, thank you. I'll be sure to get you another shot of caffeine! It is https://github.com/sohlich/elogrus which is causing these logs. If you are familiar with it would the following line reflect the deprecated call? https://github.com/sohlich/elogrus/blob/266128d24c17cba982509f36849c70386b8c71c2/hook.go#L189

Yes, that's probably it. You could solve it by e.g. moving the type name into the index name. But be sure to take care of mappings etc. It's not a simple solution (and a breaking change), but I understand why the Elasticsearch people did it.

Moving the type name into the index name would work in my case, since all I am using Elasticsearch for is to ingest the logs produced by the Go program.
I'll probably fork the project and remove the line mentioned before, and prepending my index name with the type.


native: render optimization

Lots of changes here, so I'd recommend viewing by commit:

0a39f8937d784e0c198232462b90c73e545ca657 Enables Tamagui flattening of components in the @tloncorp/ui module, which was previously not working at all. This was failing when the tamagui compiler's inner compiler attempted to use esbuild to require the module and I had to tweak package.json a bit to get it to import correctly.
331e6c5d1078ee5bd1621e86a41f2849b75e745f Biggest raft of file changes -- getting rid of ui/core. Tamagui was failing to flatten components re-exported by core, so I've just removed that and modified components so that they import from tamagui directly.
66ffe3f4677802cb2b4721eb12dd90fa95f3bd1e Refactors ChatList, removing scroll animation and adding the new reanimated-based swipeable component, among other things.

Fixes TLON-2343
Fixes TLON-2387

Cool, I wonder if this will fix some HMR issues on the web side


[feature] Support fastAutoSignin for protocols other than oauth such as CAS

In this issue, I reported the problem that the login could not be completed automatically when logging in through cas. Later it was confirmed that the fastAutoSignin function can only be used for the oauth protocol.
https://github.com/casdoor/casdoor/issues/2482
I am now mixing CAS, SAML and OAuth, but only OAuth supports fast login, which is very inconvenient.
I now have to forcibly insert a JS script to detect the login screen at a speed of 0.1 seconds, and if it is found that there is already a login state, the script automatically clicks the button.
Unfortunately, it does not work every time, and it is often broken due to Casdoor's updates to the front end of the login interface.
I sincerely hope that this feature can be extended to other protocols. Or if it is clearly not intended to be supported, please clearly indicate in the prompt of the feature that it only supports oauth to avoid confusion for others who want to use this feature.

#2482

@HanadaLee can you provide more background for this issue? Like what's fast login? What's "insert a JS script"? Which script? Can you provide example code?

@HanadaLee can you provide more background for this issue? Like what's fast login? What's "insert a JS script"? Which script? Can you provide example code?

Currently, after turning on this option, if you use oauth login, when you jump to the casdoor login interface through the application page, if there is a cookie, you will jump directly without loading any login interface.
Related isse: https://github.com/casdoor/casdoor/issues/2433
However, if you use cas or saml protocol, even if you have logged in, you still need to load the login interface when jumping from the application page to casdoor, but there is an additional logged in button on the login interface, which requires you to click it manually to complete the remaining login process.

I injected the following script into the main page of casdoor to implement a forced click (due to several upgrades of casdoor, it has become invalid)
var checkExist = setInterval(function () {
  var button = document.querySelector(
    ".login-form > div:first-child > div:first-child > div:nth-of-type(2) > button"
  );
  if (button != null) {
    button.click();
    clearInterval(checkExist);
  }
}, 200);

The script loops every 200 milliseconds to determine whether there is a click button on the login page, and automatically clicks it if it exists. However, it can only be clicked after the page has loaded. The user still needs to wait for the login interface to load (maybe it takes 1 second) before the jump can be automatically triggered.
If there are many application components, there will be a lot of processes that require re-login, even if you don't need to enter an account password, which brings many inconveniences to the goal of achieving SSO seamless login.


Timesheet - 01/05/2021 - Chrisha Canete

Task 1
Making the April 29-30, 2021-TNB-Core Team Payment Calculation
Proof of Work

https://docs.google.com/spreadsheets/d/1t3tpN0U5fwGuHJztRQT1L1ae2ug9SQDUJXuoa0Yamec/edit#gid=0
https://docs.google.com/spreadsheets/d/1YQUGebpeS83dv4pN6YzMo5IlWNhtk0ia0XDt-6P4Cw0/edit#gid=0

Time Spent
2 hours

Task 2
Paying those Timesheet that just got approved from 23-28
Proof of Work

https://drive.google.com/drive/u/1/folders/1dCXQb1o_R4GuRVKu0_xOVbNwpx-Iyzve

Time Spent
.5 hour

Total Time Spent
2.5 hours
Account Number
7053f27870d388b0bca4149fe72765172c3e6d1b4ffc7cd0149a296cbefe8f57

Approved

Approved. @Chrisha1212 , I edited the date from 01/04/2021 to 01/05/2021.


Throw error when route name not found in list

Hi, again
Ziggy should throw an error when name not found in namedRoutes list.
route("unknown-route");
// throw error here

@ankurk91 i just added the fixes for that in my currently PR take a look at it here #57

Merged that PR. Thanks!


Migrate Bulward to use github.com/kubermatic/utils

What this PR does / why we need it:
This PR removes utils function and starts to use https://github.com/kubermatic/utils
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Documentation:

Does this PR introduce a user-facing change?:

NONE

/lgtm
/hold

/unhold

/lgtm


Improve error message for config file

Following https://github.com/meilisearch/specifications/pull/185/files#r1000423262
We need to update the error message:
Error: `config_file_path` is not supported in config file

should be
Error: `config_file_path` is not supported in the configuration file

Can I ? Thanks

Hello @DarioCostaAlves
Thanks for your interest in this project 🔥 You are definitely more than welcome to open a PR for this!
For your information, we prefer not assigning people to our issues because sometimes people ask to be assigned and never come back, which discourages the volunteer contributors from opening a PR to fix this issue.
We will accept and merge the first PR that fixes correctly and well implements the issue following our contributing guidelines.
We are looking forward to reviewing your PR 😊


[Weblate] Localization files synchronization.

A request to synchronize the localization files from Hosted Weblate for SpacingBat3/WebCord/Client translations. This is done periodically by Weblate, it does not have a direct access to the repository for the security reasons. The code should  reviewed before merge in order to avoid issues.
For translators: your changes might be manually reset if author of this repository decide to not merge them and close this Pull Request. It might also be kept for some time open to give some time to finish the localization of the language.
It also includes following components:

SpacingBat3/WebCord/Configuration window localization

SpacingBat3/WebCord/Web interface localization

Current translation status:

@Ali-x98 Doesn't Arabic have multiple plurals? I think I've been testing the PluralRules on that language and found out is has specific plural rules for zero, one, few, many and possibly even other...
And yes, this is kinda complex to translate, I was aware of that when adding the translations. Honestly the only reliable way to find out if your locale supports given plural rule or not would be to check it via EcmaScript API in JS.

@Ali-x98 Unfortunately, this kind of UI doesn't seem to be compatible with the JSON format that WebCord uses. It seems I would have to develop the localization that is supported by a specific JSON syntax (JSON files in general and even some that are treated specially by Weblate, doesn't seem to support plurals and Weblate isn't made in way I could flag some object as a plural – that would be kinda useful for any format IMO).
However, I've seen there's still a way to translate the missing plurals. Could you do that? You can identify which plural does what by the key name.

Already merged in ae0cc68b4317fd9dc9c1dd98fdeed56cbbe911d5 :tada:!


When I try to convert an .mp4 file/buffer with full type, it does not work

I was looking the code, and I give up 🏳.

commenting for notifications.

Version 4.x started using ffmpeg to format the input file to .webp type, but it doesn't work well for gif and mp4 files (version 3.x only modifies the metadata of webp files)


undefined method `instantiate' for Money:Class (NoMethodError)

Hmm...it doesn't seem to be able to instantiate the Money class?
undefined method `instantiate' for Money:Class (NoMethodError)
...gems/mongoid-2.4.3/lib/mongoid/fields.rb:282:in `add_field'
...gems/mongoid-2.4.3/lib/mongoid/fields.rb:193:in `field'

I have it in my class as:
field :amount_sent, :type => Money

Strange.  I have it in my Gemfile as:
gem 'mongoid_money',                 :git => 'git://github.com/barmstrong/mongoid_money.git', :require => 'mongoid_money'

Btw, this may just be issue on my side that I'm not seeing, and not gem related - just wanted to see if others were having some problem.


Added AREK to permissions section

Project URL
https://github.com/ennioma/arek
Description
I've added AREK to the permissions section.
Why it should be included to awesome-ios (optional)
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English (i hope :) )

we can merge this after the readme includes some installation instruction :) ^

thx @ennioma


Add option to set proxy settings

Allow to bypass proxy settings for the communication with the ycmd
server.
Resolves #235

@abingham Updated the PR. We use a bool now to bypass url-proxy-services.

This looks good! I'd like the original reporter to test this out just for completeness.
@Alexander-Shukaev Can you try this out just so we can be sure it addresses the initial issue?

Works just fine.  Thank you.  I just want to point out that with this approach, users won't be able to set a dedicated proxy for YCMD, if that would be the case.  That is my proposal for ycmd-url-proxy-services is more generic.  Nevertheless, I do admit that for the vast majority of use cases (including my current ones) this fix is sufficient.  Looking forward to see it merged.

@Alexander-Shukaev Thanks for testing!


Expand Events section with real-world examples and sample usage with Alpine.js and _hyperscript.

The Events section in the documentation would be more helpful if it had real-world examples and sample usage with Alpine.js and _hyperscript. This would help users understand how to use the library in practical scenarios and make it easier for them to integrate it into their projects.

Hi @cemrehancavdar
Thanks for hyperleaflet! It's a brilliant idea! 👍
I would be definitively interested in some real-world examples, for I have try some stuff but not everything is working as I was expecting.
For instance, adding a button that modify/update the data-hyperleaflet-source tag using htmx works as expected (neat! 😎) but I failed to define other triggers. I've tried hx-trigger="geometry:click" and a global hx-trigger="click, keyup[key=='X'] from:body" without success.
I might be doing something obviously wrong, though! 😅 Can't wait to read more examples.

Hi @tlc28,
Well there are lots of stuff i need to improve about docs. I'll keep adding more if needed.
So hyperleaflet events system is not

Hi @tlc28,
Well there are lots of stuff i need to improve about docs. I'll keep adding more if needed.
So hyperleaflet events system is like custom events with "i think it might be needed" details send to window. The event listeners like Vanilla: window.eventListener("map:click", ... )
htmx: hx-trigger="geometry:click from:window"
hyperscript
 <input
  type="text"
  _="on map:click(point) from window set my value to point.lat" />

So you need to listen window 😃
sample sandbox:
https://codesandbox.io/s/hyperleaflet-forked-3nzx4p
You can read further:
https://docs.hyperleaflet.dev/usage/#event-handling
Feel free to ask for more 🪴

Hi @cemrehancavdar
Thanks for the answer! Makes total sense! … RT*M! 😅
I "just" missed the bold window in the first paragraph! For my defense, it doesn't quite fit my mental model of "an event is emitted by a tag and bubbles up", but I guess it's my problem.
Everything now works as expected! Sorry for the noise!

 But it seemed add another piece to the table also "map:click" needed to catch twice like
<span data-evented="map:click" _="on map:click ...">
Same goes for htmx itself, or any other library that goes with hypertexts.
So i decided to catching events from window may look like pub sub pattern hyperleaflet publishes via window. Elements needed to do stuff with it catches via window.
I put lots of thought to it. So, feedbacks would be awesome. 😃 🪴

I'll play a bit with hyperleaflet and let you know if/when I have any worth-sharing feedback!

Exciting Job Opportunity at Microsoft!
Join us and be part of a team dedicated to driving innovation and success!
How to Apply:
To apply for this exciting opportunity, please click here.
Job Description:

Position: Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan
Company-contributed retirement plan
Flexible working hours
Collaborative and inclusive work environment

Requirements:

Proven experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Familiarity with frameworks such as React, Angular, or Vue.js
Problem-solving skills and ability to work in a team

Note: This position is open to candidates from anywhere in the world.usmanakram232, @Ro9ueAdmin, @ma7cbesten, @josehu07, @akitana-airtanker, @branchard, @marksowell, @dotflac, @cyberopus, @Ima8, @mgoddard, @RoyRao2333, @ben-eb, @dannyburke1, @RomanPodymov, @iborysiuk, @deltaclock, @gklein, @h4ndsh, @RangerJavelin