I find a issue which appears in SDWebImageDecoder

if the image is nil , the context be created also nil。So,I have the error: : CGBitmapContextCreateImage: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
(lldb) ;
In order to solve this problem, I add this code for the first line:
if (!image) {
            return nil;
        }

fixed with this https://github.com/rs/SDWebImage/pull/1464

Apr 26 21:06:56  LJWQuanZi[6574] : CGContextDrawImage: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
Apr 26 21:06:56  LJWQuanZi[6574] : CGBitmapContextCreateImage: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
Apr 26 21:06:56  LJWQuanZi[6574] : CGContextDrawImage: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
Apr 26 21:06:56  LJWQuanZi[6574] : CGBitmapContextCreateImage: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
Apr 26 21:06:56  LJWQuanZi[6574] : CGContextDrawImage: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
Apr 26 21:06:56  LJWQuanZi[6574] : CGBitmapContextCreateImage: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
Apr 26 21:06:56  LJWQuanZi[6574] : CGContextDrawImage: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
Apr 26 21:06:56  LJWQuanZi[6574] : CGBitmapContextCreateImage: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
what s happen?

@laojiawei are you using the latest commit?

yes,Using SDWebImage (3.7.5)

try using the latest commit not version.

I am such use :[self.pictureImageView sd_setImageWithURL:[NSURL URLWithString:status.cover_image_url]];
The ImageView is set  the Frame...

I using the latest commit now...

share the url of the image that produces the error

http://i.kuaikanmanhua.com/image/160202/a3ljbucwd.webp-w750

i tried it with the demo project and it works fine.

I try it again...Thx


TEST 5 - Ensure SSM Bastion access and forwarding to local instances

User Story
Ensure bastion access and forwarding to local instances
Confirms
SSM policies and Security Groups are functional
Port forwarding for instance access
Port forwarding for X11 access
Port forwarding for db access
Value
The scenario lab is required to prove the current environment works as expected, this will also provide knowledge to create tickets for issues/requirements that arise.
Questions / Assumptions

Definition of done

[x] Confirmed bastion access using SSM
[x] Confirmed port forwarding for instance access
[x] Confirmed port forwarding for X11 access
[x] Confirmed port forwarding for Microsoft Windows access

Reference
https://docs.google.com/document/d/1FI_EqDn43m27K_IMyx3v4ajS20YbpepJLEyO2smXQGU/edit#

All tests have completed successfully.
Closing ticket


增加了top_p_sampling的api说明

@yangjianfengo1 paddle目前还没有top_p_sampling，能说下这个PR的背景么

@yangjianfengo1 paddle目前还没有top_p_sampling，能说下这个PR的背景么

这个pr用到了这个api https://github.com/PaddlePaddle/Paddle/pull/58342，

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


Serve at uri

Enable serving the tiddlywiki at a non-root path
Serving the tiddlywiki at a non-root path requires 2 changes: 1 to the node call to tiddlywiki.js, and 1 to a configuration tiddler in the tiddlywiki itself.
This change creates an environment variable SERVE_URI. Setting this variable sets the prefix path argument on the node tiddlywiki.js invocation, and creates and populates the appropriate configuration tiddler.

First of all, thanks for the contribution.
I am not quite sure if this is needed though. If you want to serve TW under a non-root path, that probably means you already have another site served at the root URL. In order to serve both, you need to have a webserver / reverse proxy in front of both. So you can just configure the webserver to serve TW under the prefix. Doesn't this work already, without configuration changes in TW?

Hi - yes, the reverse proxy is needed to serve the TW at the non-root path, however as per the linked page a configuration change is needed to the TW itself for this to work properly. Without the config change the TW cannot save changes correctly - the TW makes requests to the wrong path for interacting with the node server.
It might be possible to fix this by configuring your reverse proxy to make changes in the returned HTML/JS so that the correct path is set in the file served to the end user, but this is going to be brittle and require manual setup each time. This change serves the TW on the sub-path in the container, so that everything coming out of the container is correctly configured.


Add absurd, the eliminator for Void

Felt we should have this for completeness, though of course it should be impossible to use.

Thanks!


Do not set link security for MLE Announce message.

Harness cannot parse MLE Announce message correctly that includes auxiliary security header in link layer.

Thread 1.1 Section 4.8 specifies the use of Key ID Mode 2 in the MAC header.

Current coverage is 73.08% (diff: 100%)

Merging #816 into master will decrease coverage by 0.23%

@@             master       #816   diff @@
==========================================
  Files           107        107
  Lines         16093      16094     +1
  Methods        2189       2189
  Messages          0          0
  Branches       1921       1921
==========================================
- Hits          11800      11763    -37
- Misses         3655       3691    +36
- Partials        638        640     +2

Powered by Codecov. Last update ddd0704...ce19f38

Yes, Spec specifies both MAC and MLE layer use key ID mode 2. However, wireshark in Harness R26 seems not support to parse it now. The screen capture as below:

Do I need to configure wireshark with extra key to parse it?

I see the problem now.  The Key Identifier Field is not being set properly (Key Source should be set to 0xffffffff and Key Index should be set to 0xff.

Close this PR due to #821 has given a proper method to address this. Thanks.


Redundant  added while filling template with data (#12)

I hereby agree to the terms of the Knot.x Contributor License Agreement.

Approved


Removed redundant conformance to RawRepresentable of Status.

In Xcode 8.3 and Swift 3.1, the project did not compile because of a redundant conformance of Status to RawRepresentable.

Coverage decreased (-40.1%) to 51.67% when pulling c59ca3cc40cbe354f38181263fd871a7030da5f9 on blg-andreasbraun:Swift3.1 into 20f0c126c3cdd279a385b8444b55d3499f41fb82 on kishikawakatsumi:master.

Coverage decreased (-40.1%) to 51.67% when pulling c59ca3cc40cbe354f38181263fd871a7030da5f9 on blg-andreasbraun:Swift3.1 into 20f0c126c3cdd279a385b8444b55d3499f41fb82 on kishikawakatsumi:master.

Coverage decreased (-40.1%) to 51.67% when pulling c59ca3cc40cbe354f38181263fd871a7030da5f9 on blg-andreasbraun:Swift3.1 into 20f0c126c3cdd279a385b8444b55d3499f41fb82 on kishikawakatsumi:master.

This is duplicated #303
Thank you for contribution!


Using DOCUMENT() and a sub-query in AQL query causes DOCUMENT() to return NULL

My Environment

ArangoDB Version:        3.7.5
Storage Engine:             RocksDB
Deployment:      Oasis (OneShard)

Background
This issue is based off a post-mortem of a failure to update my deployment on Oasis yesterday from 3.7.3-1 to 3.7.5. After the update I noticed that certain pages on my site were having massive data issues. Upon further investigation, this data issue was caused by AQL queries not returning data like they used to in the previous version.
Today, I created a fresh clone deployment and updated to 3.7.5 again to run tests to see exactly what went wrong.
Component, Query & Data
On 3.7.5, these two queries return different results:
AQL query:
LET geoRedirect = DOCUMENT("geolevel_za_url_redirects", "za*cape-town")

LET lockdownCategories = (
  FOR category IN covid_lockdown_categories
  RETURN category
)

return { geoRedirect, lockdownCategories }

Even though geoRedirect does exist for that documenet key and collection, it somehow turns to null in the response.
This query works fine:
LET geoRedirect = FIRST(FOR redirect IN geolevel_za_url_redirects FILTER redirect._key == "za*cape-town" RETURN redirect)

LET lockdownCategories = (
  FOR category IN covid_lockdown_categories
  RETURN category
)

return { geoRedirect, lockdownCategories }

And here are their profiles, respectively:
NOT WORKING:
Query String (341 chars, cacheable: false):
 LET geoRedirect = DOCUMENT("geolevel_za_url_redirects", "za*cape-town")
 LET lockdownCategories = (
   FOR category IN covid_lockdown_categories
   RETURN category
 )
 return { geoRedirect, lockdownCategories }

Execution plan:
 Id   NodeType                  Site  Calls   Items   Runtime [s]   Comment
  1   SingletonNode             DBS       1       1       0.00001   * ROOT
  2   CalculationNode           DBS       1       1       0.00005     - LET geoRedirect = DOCUMENT("geolevel_za_url_redirects", "za*cape-town")   /* simple expression */
 11   SubqueryStartNode         DBS       1       2       0.00001     - LET lockdownCategories = ( /* subquery begin */
  4   EnumerateCollectionNode   DBS       1       6       0.00004       - FOR category IN covid_lockdown_categories   /* full collection scan, 1 shard(s) */
 12   SubqueryEndNode           DBS       1       1       0.00006         - RETURN  category ) /* subquery end */
  7   CalculationNode           DBS       1       1       0.00001     - LET #5 = { "geoRedirect" : geoRedirect, "lockdownCategories" : lockdownCategories }   /* simple expression */
  9   RemoteNode                COOR      2       1       0.00057     - REMOTE
 10   GatherNode                COOR      2       1       0.00004     - GATHER   /* unsorted */
  8   ReturnNode                COOR      2       1       0.00001     - RETURN #5

Indexes used:
 none

Optimization rules applied:
 Id   RuleName
  1   cluster-one-shard
  2   splice-subqueries

Query Statistics:
 Writes Exec   Writes Ign   Scan Full   Scan Index   Filtered   Exec Time [s]
           0            0           5            0          0         0.00392

Query Profile:
 Query Stage           Duration [s]
 initializing               0.00000
 parsing                    0.00009
 optimizing ast             0.00001
 loading collections        0.00001
 instantiating plan         0.00003
 optimizing plan            0.00222
 executing                  0.00082
 finalizing                 0.00073

WORKING:
Query String (341 chars, cacheable: false):
 LET geoRedirect = FIRST(FOR redirect IN geolevel_za_url_redirects FILTER redirect._key ==
 "za*cape-town" RETURN redirect)
 LET lockdownCategories = (
   FOR category IN covid_lockdown_categories
   RETURN category
 )
 return { geoRedirect, lockdownCategories }

Execution plan:
 Id   NodeType                  Site  Calls   Items   Runtime [s]   Comment
  1   SingletonNode             DBS       1       1       0.00001   * ROOT
 21   SubqueryStartNode         DBS       1       2       0.00001     - LET lockdownCategories = ( /* subquery begin */
 10   EnumerateCollectionNode   DBS       1       6       0.00004       - FOR category IN covid_lockdown_categories   /* full collection scan, 1 shard(s) */
 22   SubqueryEndNode           DBS       1       1       0.00001         - RETURN  category ) /* subquery end */
 19   SubqueryStartNode         DBS       1       2       0.00001     - LET #1 = ( /* subquery begin */
 16   IndexNode                 DBS       1       2       0.00005       - FOR redirect IN geolevel_za_url_redirects   /* primary index scan, 1 shard(s) */
 15   LimitNode                 DBS       1       2       0.00001         - LIMIT 0, 1
 20   SubqueryEndNode           DBS       1       1       0.00005         - RETURN  redirect ) /* subquery end */
 13   CalculationNode           DBS       1       1       0.00002     - LET #10 = { "geoRedirect" : FIRST(#1), "lockdownCategories" : lockdownCategories }   /* simple expression */
 17   RemoteNode                COOR      2       1       0.00066     - REMOTE
 18   GatherNode                COOR      2       1       0.00007     - GATHER   /* unsorted */
 14   ReturnNode                COOR      2       1       0.00001     - RETURN #10

Indexes used:
 By   Name      Type      Collection                  Unique   Sparse   Selectivity   Fields       Ranges
 16   primary   primary   geolevel_za_url_redirects   true     false       100.00 %   [ `_key` ]   (redirect.`_key` == "za*cape-town")

Optimization rules applied:
 Id   RuleName
  1   remove-unnecessary-calculations
  2   optimize-subqueries
  3   use-indexes
  4   remove-filter-covered-by-index
  5   remove-unnecessary-calculations-2
  6   move-calculations-down
  7   cluster-one-shard
  8   splice-subqueries

Query Statistics:
 Writes Exec   Writes Ign   Scan Full   Scan Index   Filtered   Exec Time [s]
           0            0           5            1          0         0.00580

Query Profile:
 Query Stage           Duration [s]
 initializing               0.00000
 parsing                    0.00014
 optimizing ast             0.00001
 loading collections        0.00001
 instantiating plan         0.00004
 optimizing plan            0.00389
 executing                  0.00096
 finalizing                 0.00075

I have a feeling this may have to do with OneShard and the new changes in 3.7.5 that allow the optimized use of DOCUMENT() in one-shard queries. I did try and run a quick test on the community version on my PC, and it seemed like this issue didn't exist (non-OneShard deployment).

On an unrelated note, after updating my deployment and having these issues I was unable to roll back to a previous backup in Oasis. No matter how many times I tried- my deployment was now stuck on this new version. This in turn caused us around 2 hours of down time on our app, and was only solved thanks to some intervention from the ArangoDB engineers (thanks @kvahed and @fceller ). I think this also needs to be urgently looked into.
Of course, in the future I shall now always roll a new deployment for testing before updating the main. I just assumed a patch update had no breaking changes, such as these. But bugs are bound to happen from time to time, understandably. The ability to roll back would have minimized the stress though.

Hi @lostpebble we will look into it. This looks like a problem in the optimizer.

Possibly related to #12994 and #13328.
#13324 also sounds related, although it is said to only occur after an upgrade from 3.6 (unclear if a fresh but cloned Oasis deployment can also be affected).

Possibly related to #12994 and #13328.
#13324 also sounds related, although it is said to only occur after an upgrade from 3.6 (unclear if a fresh but cloned Oasis deployment can also be affected).

This is now fixed in 3.7.6-1, upgraded my deployment and have not found any further issues with it.

This is now fixed in 3.7.6-1, upgraded my deployment and have not found any further issues with it.


kerberos/heimdal: use jdk_headless in nativeCheckInputs

Description of changes
nativeCheckInputs pulls in unneeded dependencies through jdk, replace it with jdk_headless instead.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

@ofborg test kerberos.heimdal

I can't test this right now, but the change looks good!


Modify dg_diffusion_gyrokinetic so the inner most derivative is on f, not J*f

So with these changes the operator currently is
d(J*f)/dt_diff = d/dx( J*D d(J*f/J)/dx )

where J is the field-aligned coords Jacobian. The inner most division is done inside the diffusion kernels, multiplying by 1/J. This introduces more FLOPS than we'd like but saves us the trouble of having to allocate another f (this seems like the kind of thing shared memory on GPUs would be good for).
Tested with a STEP sim without drifts and there was no apparent change.
That said, my current understanding is that it should actually be
d(J*f)/dt_diff = d/dx( J*g^xx*D d(J*f/J)/dx )

but g^xx for STEP is ~80, so the time step tanks, by at least 1e4X in fact, so maybe something else was wrong. But this makes me think that earlier comparisons of SOLPS' D and Gkeyll's D where not quite right, and that we should actually compare the flux-surface averaged transport equations, because g^xx is different in these two codes.

Is this operator for the cross-field diffusion term?


fix(docs): fix a typo in tags list

Signed-off-by: Michele Zuccala<EMAIL_ADDRESS>What type of PR is this?
/kind content
Any specific area of the project related to this PR?
/area documentation
What this PR does / why we need it:
As per https://github.com/falcosecurity/falco/blob/master/rules/falco_rules.yaml, the correct naming is software_mgmt, not sofware_mgmt.
Which issue(s) this PR fixes:
Special notes for your reviewer:

Welcome @zuc! It looks like this is your first PR to falcosecurity/falco-website 🎉

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: zuc
To complete the pull request process, please assign kris-nova after the PR has been reviewed.
You can assign the PR to them by writing /assign @kris-nova in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, zuc
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

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

LGTM label has been added.  Git tree hash: bd8e1b00668afdb3fa838161ad402e1ac5898bf8


[INFO] New Docker Images

New Docker-Hub repository
The Docker-Hub repository was moved to an organization: https://hub.docker.com/r/wgportal/wg-portal.
Please update all old image references from h44z/wg-portal to wgportal/wg-portal.
Updated versioning schema
There are the following new tags:

latest: The latest build from the master branch. Not a stable tag!
master: same as latest
stable: The latest build from the stable branch.
v1: The latest version of WireGuard Portal V1
v2: The latest version of WireGuard Portal V2
major.minor: Latest x.y version (available for version 1 and 2)
major.minor.patch: Exact x.y.z version, corresponding to the Git tag (available for version 1 and 2)

hello i install from docker basic like you post only i add wgportal/wg-portal:master
replace to wgportal/wg-portal:v2 i no edit more.
my question are wg0.conf no created in - /etc/wireguard
Generation of wg-quick configuration file (wgX.conf) if required
i search all in my debian
find –name / wg0.conf
find: 'wg0.conf': No such file or directory
pls can make more details in README ...
maybe config are in db... even i want put linux firewall settings ...i think no work

@h44z did you though about transferring repo to wgportal org ?
I see that such name is available now.


timeAndCount -> count & reduce use

What is this PR trying to achieve?
Reduce the use of CloudWatch metrics where they are not useful and achieve cost saving from this.
Who is this change for?
🤑
Have the following been considered/are they needed?

[ ] Deployed new versions
[ ] Run terraform apply.

Part of #2177.


Thoughts on memory

So I originally tried rewriting this in ruby just because I'm a Rubyist at heart but then of course become something a little different (over here BTW: https://github.com/estiens/ruby-coordinator-gpt - currently not using a coordinator, runs as this one does as one process)
I have been exploring two things - one is that embeddings aren't very accurate or useful until you have a ton of data (ie; i could see them being useful in a data ingestion scenario, but not sure they are nec needed for memories)
What I have had some luck with so far is that if we are going to send things off to be summarized anyway, telling the summarizer that it should offer advice if it sees the agent stuck in a loop or going down the wrong track and feel free to let it know if it successful or should choose another direction. I haven't seen any benefit and some downside of using embeddings to retrieve the context rather than trying to just continually provide the context and an overall evaluation of recent actions always kept in the messages
One of the interesting things about these projects for me so far is all of them seem to have both a learned helplessness that they don't have when being queried directly (ie googling about how to do basic programming tasks when it could ask itself due to the role it is playing) or a complete lack of awareness of capabilities and thinking it can just hallucinate commands and that they worked even if nothing happened
It seems that course correcting with an evaluator seems to help at least so far in limited testing
Guess I would say so far in my experience course correction and robust context of current task seems more important than best memory querying, though I suppose that would change if you were targeting a specific purpose (ie; ingesting a bunch of source code to code review etc)

(this is not a bug just a thought FWIW) thanks for the inspiration to play with creating a toy model!

One of the interesting things about these projects for me so far is all of them seem to have both a learned helplessness that they don't have when being queried directly (ie googling about how to do basic programming tasks when it could ask itself due to the role it is playing) or a complete lack of awareness of capabilities and thinking it can just hallucinate commands and that they worked even if nothing happened

It seems that course correcting with an evaluator seems to help at least so far in limited testing

Yep, I noticed all those things too. Loving the idea with the evaluator.
We have a large memory refactor coming in with #37 which will do away with vector database although I believe the implementation still uses embeddings. I'd say let's wait for this PR to be merged and then have a shot at adding an evaluator. Let's see if it improves performance.

@estiens what prompt would you use for the evaluator?

I added an critic and am getting pretty good results. E.g.
 % python microgpt.py "Come up with an original idea for an online job that you can do autonomously. It is important that you can do this job with minimal support by the user. You must handle sourcing of clients, communication with clients, and payment by yourself. Proceed to find clients and perform the job. If you no need any support, such as creating an account, ask the user to help. All payments should go to the Paypal account<EMAIL_ADDRESS>Working directory is /Users/bernhardmueller/microgpt
MicroGPT: Find information on how to create a service that can autonomously provide digital marketing services to clients.
Cmd: web_search, Arg: "autonomous digital marketing service"
Critic: Agent should not search the web, as it already has the necessary knowledge.
MicroGPT: Create an autonomous digital marketing service by developing a custom algorithm to handle client sourcing, communication, and payment processing.
Cmd: execute_python, Arg: "import random\nimport string\n\ndef generate_unique_id():\n    retur..."

Gonna merge this into main as an optional feature.

@muellerberndt I used a combo memory summarizer/evaluator and gave it its last action, pluc summaries of last 5, had it summarize them, and then told it should offer advice as necessary especially if it sees the agent looping, or trying the same command, etc. It will also remind it that it can look up it's commands if it sees it try to access one that isn't there yet etc - still playing with the proper balance of context/verbosity/etc

That sounds like a smart approach. I just added this as an optional evaluator which does a so-so job, it's not very effective at detecting loops. Would be interesting to test your implementation also.


Allow storybook to be run on any port

I believe this issue has been closed correct?

Run with STORY_PORT=49204 prefix


Update number of dogs in the world fact

Describe the bug
This fact is present in the API:
There are about 400 million dogs in the world.
Quite a few sources say there are now 900 million dogs in the world:

https://petkeen.com/how-many-dogs-are-there-statistics/
https://a-z-animals.com/blog/how-many-dogs-are-in-the-world/
https://www.worldatlas.com/articles/how-many-dogs-are-there-in-the-world.html

To Reproduce
I got this via the random API and don't have more details to share :)
Expected behavior
Update the fact to be There are about 900 million dogs in the world.
Thanks for this lovely API!

Thanks for your contribution! The fact has been updated :+1:


Qvis 3

Removed oarametrization from 3to1 struct and from the purification func

I am going to link my fork here, and we'll both keep working on that one, as it is cleaner. I have begun implementing the 3 3to1 circuits, and i will create a test file for them too later today. Basically a doubleselection circuit is a superposition of two singleselection (2to1) circuits.

We will work here #26


Updated the Alignment of books in README.md

In Readme.md the Alignment of books was not in order
So I have aligned it in order
eg:
Before

After

In Readme.md the Alignment of books was not in order So I have aligned it in order
eg:
Before  After

Please check again on the Readme.md file, Let us know - How you can beautify more?


Remove authentication by cookie?

Currently, to be able to return the contents for gated datasets, all the endpoints check the request credentials if needed. The accepted credentials are: HF token, HF cookie, or a JWT in X-Api-Key. See https://github.com/huggingface/datasets-server/blob/ecb861b5e8d728b80391f580e63c8d2cad63a1fc/services/api/src/api/authentication.py#L26
Should we remove the cookie authentication?
cc @coyotte508 @SBrandeis @XciD @rtrompier

not sure, maybe when it times out we want the user to call datasets-server on the frontend-side? In that case we would need the cookie

OK, thanks! Closing.

re-opening. We don't use it from the Hub. If needed, we can reopen later. Anyway, it's not working as expected for now (see #1683).

@coyotte508 had the idea of removing JWT and using cookie instead for the frontend requests. Let's keep open.

see #2052.

Done with #2580


Got to try

https://github.com/gaurav67890/Pytorch_Tutorials/blob/master/cnn-scratch-training.ipynb

@alexkumar-nuub hi, please provide more details abort the issue,  any problem is ok, thanks.


Stuck at attempting to connect

The code was working fine, then it started to stuck at attempting to connect, whatever I do it stuck  there.

Humm unfortunatly I have not encountered this issue, so don't have any concreate advice. Do you have more detailed diagnostics? Have you tried restarting the system or the dynamixels?

Yes i tried restarting, but sometimes it works, i think the issue is to get
the connection up to the simulation or the real robot, if the simulation or
real robot has an error and didn't run correctly, this happens.
I also have another question any way to run both simulation and real
robotat same time?
OH
On Wed, Aug 7, 2024, 6:05 PM Philipp Wu @.***> wrote:

Humm unfortunatly I have not encountered this issue, so don't have any
concreate advice. Do you have more detailed diagnostics? Have you tried
restarting the system or the dynamixels?
—
Reply to this email directly, view it on GitHub
https://github.com/wuphilipp/gello_software/issues/18#issuecomment-2274429475,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHBDS3F76SF2GROVGDGRUQ3ZQKK3TAVCNFSM6AAAAABLYRARDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZUGQZDSNBXGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Stale Cmdlet Reference Docs

It looks like the cmdlet reference docs haven't been updated in a while. For example: Get-MgTeam no longer supports list parameter set (-All) in v1.0. However, the reference docs currently show the command having list parameter set (-All) - https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.teams/get-mgteam?view=graph-powershell-1.0. The list variant is not present in the offline help:

cc\ @timayabi2020

Can we do a new rerun to purge old cmdlets and update existing cmdlets? This should ideally happen once per week to sync the reference docs to what's available in the SDK.

Can we do a new rerun to purge old cmdlets and update existing cmdlets? This should ideally happen once per week to sync the reference docs to what's available in the SDK.

The pipeline will run tomorrow. I'll manually create a PR from the new branch that will be created from that run.

i find it a bit silly this command is missing and would be so much easier to find a team's ID among other properties rather than going into AAD to remember which group ID etc is associated with the team

@apz100, listing of teams is not supported by the API in v1.0 - https://learn.microsoft.com/en-us/graph/teams-list-all-teams?context=graph%2Fapi%2F1.0&view=graph-rest-1.0.

To use the Microsoft Teams API in Microsoft Graph to list all teams in an organization (tenant), you find all groups that have teams, and then get information for each team.

The commands in this module will only support what's supported by the REST API. Please open/ upvote on a feature request for the API owner at https://developer.microsoft.com/en-us/graph/support.


file upload crossdomain ie 9

I implemented everything for the old browser like IE9 and make the same call to the server all I get is the crossdomain.xml and there is no actual call to the backend. what's the possible reason for that? I put the crossdomain.xml on the root of my nginx server

Can you create a jsfiddle hard to tell without seeing your code. Is there any request being sent to the server or network tab?

thanks for replying me!
first, I have all the files that you mentioned

then here is my html for upload:
Upload
here is the upload in controller
function upload(files) {
vm.closeAlert();
if (files && files.length > 0) {
vm.isProcessing = true;
var file = files[0];
Upload.upload({
url: RosterService.uploadTemplateFilePath(),
file: file
}).success(function(data) {
var parsedData = RosterService.parseDetails(data);
schedulerConfig(parsedData);
getRosterList(data.id, false);
}).error(function(data) {
var reasons = data.cause;
if (reasons) {
vm.errorMessage = 'Could not upload the template because ' + reasons;
} else {
vm.errorMessage = 'Could not upload file please try it later';
}
}).finally(function() {
vm.isProcessing = false;
});
}
}
here is after I click the upload button

then my call ends here. here is my crossdomain.xml

any idea?

It might be socket io that interfering with it. Could you remove that dependency and see if it works.
Also you can try to put a breakpoint in the shim file where send:  or oncomplete is defined to see if the shim is actually being called.


Please support non-2^N SIMD lane counts

The silicon that supports these more or less directly:
GPUs handle Vec3s (f32x3 typically) all the time already.
Arm SVE supports 384-bit width vector registers and is available Soon™.
RISCVV will eventually exist and support arbitrary-width vectors, somewhere, over the rainbow:rainbow: someday:musical_note:...
LLVM's approach for handling these when only fixed width vector registers are available to compile to was, as far as I could tell, and as described by the author of the vek crate, an approach similar to the one GPUs use: use 128-bit registers just fine but politely ignore the unspecified lanes when the "Vec3" types are loaded and stored.
Also the https://github.com/WebAssembly/flexible-vectors/ proposal exists, though is currently in a fairly nascent state. Still, another point to this being a long-term desirable even if it's not immediately needed.

Libre-SOC is planning on adding cranelift support for SimpleV, our vectors extension for OpenPower, it supports all vector lengths from 1 to 64, including non-power-of-2 lengths. It also supports dynamically variable vector lengths.


Make rye run execute entry points defined in pyproject project.scripts table

I have a proposal to run entry points defined in project.scripts through rye run. What I am looking for here is guidance from @mitsuhiko on what the desired semantics in rye should be. I am happy to go and implement it:
Problem
A common use case for me is to develop a command line tool using rye as the package manager. For example I have a project "simple-cli". However at the moment, there seem to be no way for me to run "simple-cli" using the venv through rye. I need to manually call python with simple-cli. For small projects this is very much acceptable, but for larger projects, it would be much easier to be able to do rye run or in a workspace setting rye run --package $name, similarly to cargo run.
For example in Rust world i can do:
$ cargo build
$ cargo run

However currently with rye i must do:
$ rye build
# ????? how to run the wheel

Proposal
PEP621 defines the definition of entry points in pyproject.toml files. These are project.scripts and project.gui-scripts (the distinction being important on windows). These are currently properly embedded into the wheel for setup tools to install them.
My proposal would be to respect these and make rye run <name> being able to run the entry points with the given name from the build artifact (wheel). In case where only one entry point is definedrye run should default to the one.
In the end the following should work:
$ cat src/cli_test/__main__.py
def main():
    print("Hello world")
$ cat pyproject.toml
[project]
...
[project.scripts]
main = "cli_test:main"
$ rye run
Hello world

This should execute something along the lines of
python -c 'import sys; sys.path.append(<path to wheel>); from cli_test import main; sys.exit(main())'

Note: I am not fully familiar with the entry points and how other package manager deal with executing packages. I might overlook an important definition in the python packaging standard in how to correclty handle this.
Semantics:

User runs rye run <entry-point>

rye finds the project (if within a workspace) that has entry-point defined.
rye builds the projects as if rye build was called
rye now runs it by

determine the python for the project.
run python with import sys; sys.path.append(<path-to-wheel>); from <module> import <fn>; sys.exit(<fn>()). This means we must run it from the wheel, to ensure that we run what we deliver not what is locally on disk in the project.

For workspaces all entry points are available. If they are ambiguous the user must specifiy --package/-p option to define the package in which to run.

Considerations

Currently rye run runs tools but not the projects themnselves. It could be rather confusing to mix tools and packages like that. I personally would love to see rye tool and rye run, but since we already have tools running through rye run, separating those would be a major break in an early rye.
project.scripts is meant for installing scripts, not executing equivalent code directly through the wheel. We must be careful to that rye run must be equivalent to pip install <wheel> and then running the <entry-point>.
We must correclty handle project.scripts and project.gui-scripts on windows.
Is running a command from a wheel even a thing in the python world or do we need to consider for command line tools to deliver something like .pex instead and .whl only for libraries?

Alterantives
Not implementing it :).

I wonder if this is a bug. When I declare a script with project.scripts, after rye build it shows up in .venv/bin (or Scripts on Windows) and rye list is able to show it.
C:\Users\armin\Development\x>rye build
building x
* Creating virtualenv isolated environment...
* Installing packages in isolated environment... (hatchling)
* Getting build dependencies for sdist...
* Building sdist...
* Building wheel from sdist
* Creating virtualenv isolated environment...
* Installing packages in isolated environment... (hatchling)
* Getting build dependencies for wheel...
* Building wheel...
Successfully built x-0.1.0.tar.gz and x-0.1.0-py3-none-any.whl

C:\Users\armin\Development\x>rye run
hello
pydoc
python
pythonw

C:\Users\armin\Development\x>rye run hello
Hello from x!

That is confusing, why does the script show up in .venv/bin after rye build? I thought build would only generate the dist artifacts. The .venv doesn't even exist after just project init and rye build, for me (linux). I think rye sync is needed.

Actually you are right. The sync is what should make it show up.

@dsp  Conceptually, "cargo build" and "rye build" don't match. One of the reasons is python wheels, wheels are single packages and they don't contain any dependencies. Cargo by default builds a static binary - embedding everything needed from all Rust dependencies.
So cargo build produces something you can run, and rye build produces a wheel that needs something more before it can run.  (Needs environment, dependencies, install). How would you address that in your suggestion?

@bluss I see. I didn't know about rye sync creating these scripts for me. I think the rye sync workflow is fine for now, but i still feel it's a bit confusing as a user. I would expect <package manager> build to be the canonical way to build my project and <package manager> run the way to run whatever i've just build, which is not true in the current implementation. At the moment i can construct a case, whereas I build something, make a change afterwards, run rye run and see it working but then publish the sdist/wheel without the change with rye publish, since rye build is not synced with rye run.
I do think wheels aren't that much different from a dynamically linked binary. In C/C++/Rust land you would require the local libraries during link time, which is similar to being in a synced venv, and similarly at runtime they need to be in the load path, similarly to rye run. While you can statically link, most are not self-contained and expect an enviroment (which i am painfully aware of as a NixOS user which can't even run rye, since the python binary distributions require shared objects within the load path, which isn't true for NixOS)

I'm not entirely in love with the current flow but there is only so much departure from standard operating principles that folks are used to, that I think can be done without being confusing again.
Maybe both sync and build are bad terms. In some sense I wish sync wasn't necessary at all. I can see a future where the operations that sync does become so quick and effortless that they can be done on demand (at least in the common cases). Likewise I can see that build in some way is more a "build for dist" kind of experience and maybe should not occupy the command "build" which in other ecosystems might mean different things.

@dsp  "build" seems to fit for the current purpose in the python world. "building" a wheel from a pyproject is somehow the foundational layer of the new python packaging tools (starting from PEP 518).  If we say that "build" is the wrong terminology, then we disagree with Python tools head on, it seems.
There's a crate called build that orchestrates it, and other workflow tools: hatch, pdm, flit all use a command build to mean making wheels and other distributable artifacts.
Also notice in the workflow that your packages are installed in editable mode. If you don't need to install new dependencies or regenerate exactly the project.scripts, then no command at all is usually required to run your program with current changes. There's zero "build/compile" step once the project is already synced once.


Consider splitting out Romanesco support into a separate plugin

It is a lot of work and pain to get Romanesco going in Minerva, and this could definitely turn off collaborators and other developers.  It would be nice to split out support for Romanesco within Minerva to  a separate plugin.  This would also mean separating out the existing Romanesco analyses to this plugin or some other project specific plugins.

@mgrauer would it be a minerva plugin? Also, what are the main issues?

@aashish24
I'm not sure, and plugin may be the wrong word.  See #176 for details.

There is room to make romanesco easier to deploy for development.

Copying the config file can (and should) be made automatic (or unnecessary)
We can improve girder-install to do most of the installation work

Starting up the romanesco worker is more complicated.  In production, it should go on another host so we don't really want to make the local setup automagic.  Maybe we can raise an issue in Romanesco about making the deployment and configuration easier.

@jbeezley
Thanks, making Romanesco easier to deploy for dev, especially as a Girder plugin rather than just the python package subdir, would help greatly.
I think for development we would want Girder and Minerva git cloned.  Would girder-install be available given that, since we didn't pip?

One of my intentions was to make girder-install capable of installing from a git repository.  It will currently install the plugin's requirements.txt file, but we could also make it run setup.py develop when setup.py exists.  My goal would be to make the CLI look like this:
girder-install plugin kitware/romanesco --with spark

At that point, you would need another step to start up the romanesco client somehow.

Something like your suggested CLI would be nice @jbeezley

To rephrase, would you need to pip install girder to get girder-install?  How would that work if I wanted a git clone of girder?
I definitely like that interface you describe.

To put girder-install in your path, you can either:
git clone https://github.com/girder/girder.git
cd girder
python setup.py develop

or the equivalent
pip install -e git+https://github.com/girder/girder.git#egg=girder

In the later case, the girder repo is cloned in you virtualenv under src/girder.

@mgrauer I believe this is done?

At least majority of it.


Return 0 in cases where lb > ub

As in title.
Currently causes an error to be raised as m never gets defined.
The "real" fix is to find out under what conditions lb becomes > ub (which will be a different PR).

Done, ready for final review.


Adding name

Description of changes

Issue Resolved

Fixes #

Hey bud! We got you on that list already 👍


modern-sustech-thesis:0.1.0

I am submitting

[x] a new package
[ ] an update for a package

Description:
A template for SUSTech bachelor thesis. I construct the framework carefully so that the users can write it easily in markdown-style. Also, I preserve the config files so that one can modifies its own template from mine.
I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE
[x] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

Thanks for the template submission! As-is the template's name is too descriptive. We have a rule that template names must include some creative/unique component so that multiple people can create a template for the same purpose or institution without one having an unfair naming advantage. See the submission guidelines for details. You can also take a look at the existing templates for inspiration.

Thanks for the template submission! As-is the template's name is too descriptive. We have a rule that template names must include some creative/unique component so that multiple people can create a template for the same purpose or institution without one having an unfair naming advantage. See the submission guidelines for details. You can also take a look at the existing templates for inspiration.

Thanks for your reply! I consider the similar way of some templates in typst/packages, then I name the template as modern-sustech-thesis.

Rename the template as modern-sustech-thesis.

Thanks!


Support form titles

Trello card
UI copy changes
Support form titles are now the label of the request. The description is presented beneath using the blue "alert" box:

Navigation drop down has a new 'technical support' section:

Can we make sure this doesn't look weird with the two forms that have 'guidance' on them? (i.e. we're not displaying two blue ones one on top of another).
Otherwise, looks good :+1:

Thanks @kalleth I hear what you're saying - that was my interpretation of the ticket and thought I'd go ahead with implementation as it's a quick one. Will see what the product owner says.


CMAKE, PyArrow bug, unable to build wheel for PyArrow when installing langflow

Describe the bug
Unable to install langflow due to CMAKE error (states cannot find any instance of visual studio) and unable to build pyarrow wheel.
I have everything possible downloaded for the Desktop development with C++ (all MSBuild Tools, Desktop development with C++, individual components including windows 11/10 SDKs and MSVC v141 - VS 2017 C++ build tool).
cmake version 3.29.2
Python 3.12.2
PyArrow 16.0.0
Browser and Version
-chrome
-Version 124.0.6367.63 (Official Build) (64-bit)
To Reproduce
When installing from either of these:

python -m pip install langflow --pre --force-reinstall
python -m pip install langflow -U

I get the following error:

  CMake Error at CMakeLists.txt:22 (project):
    Generator
      Visual Studio 15 2017 Win64
    could not find any instance of Visual Studio.
  -- Configuring incomplete, errors occurred!
  error: command 'C:\\Program Files\\CMake\\bin\\cmake.exe' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyarrow

Was using python 3.12. switched to 3.10.9 and now works.

Was using python 3.12. switched to 3.10.9 and now works.


Coordinate System Rotation

Hi there,
Thanks for sharing the algorithm and all your work!
After comparing your acceleration data with mine, I encountered some questions and uncertainties. I would greatly appreciate it if you could provide some insights and suggestions regarding the issues I've outlined below.
I reviewed the short walk and long walk data you provided, and the triaxial acceleration data during the stationary periods before and after the movement are mostly (0,0,1g). This suggests that the sensor's z-axis is almost aligned with the direction of gravity. Although there are changes in acceleration along the z-axis, the displacement after integration is quite small compared to the other two directions. This indicates that the object's motion is primarily two-dimensional.
So, I would like to ask if you have processed data involving three-dimensional movement? Additionally, at the initial moment, the sensor's coordinate system does not coincide with the Earth's coordinate system, and during the stationary periods, the sensor's acceleration values on all three axes are not zero due to the influence of gravity components. Please take a look at the data I uploaded. The sampling frequency is 100 Hz.
The method I can think of is to calculate the initial coordinate system of the sensor based on the three-axis acceleration data during the initial stationary period. In other words, we can calculate the angle between the sensor's coordinate system and the Earth's coordinate system based on the acceleration values when the sensor is stationary. Then, using the gyroscope data, rotate all the acceleration data into this reference coordinate system. If it's necessary to rotate into another reference coordinate system later on, a second rotation can be performed.
Example.xlsx

I do not recognise you description of the accelerometer being [0, 0, 1] during the stationary periods.  Here is the accelerometer plot for short_walk.csv.  The actual value is closer to [-0.5, 0.25, 0.8].

The motion in short_walk.csv and long_walk.csv is three-dimensional.  The walking in both cases is across a flat floor so the changes in height above the floor are significant less than the changes across the plane of the floor; but the motion is nevertheless three-dimensional.

Thank you for your response and for pointing that out. I did misinterpret the accelerometer readings during the stationary periods, expecting them to be [0, 0, 1]. As you mentioned, the actual values are closer to [-0.5, 0.25, 0.8], as shown in your plot for short_walk.csv.
I had a couple of additional questions:
(1). Have you applied any high-pass or low-pass filtering to the accelerometer data? If so, how did you determine the cutoff frequencies?
(2). For more general motion data, such as the data I sent in the Excel file earlier, do you have any recommendations for an effective processing approach?
Thanks again for your clarification and assistance. I look forward to your feedback.

The accelerometer data is not filtered.  The example is for tracking the motion of a foot during walking, it is not applicable to general motion.

Got it. Thanks for your feedback!

The accelerometer data is not filtered. The example is for tracking the motion of a foot during walking, it is not applicable to general motion.

I have same doubt,
In stationary periods, means not any move ,  why the data not like [0,0,1] , i got  [0,0,1],   is this because z-axis is not need aligned with the direction of gravity


kubectl: dump request response

It would be great to be able to get the full request/response that kubectl is making out to a log file or stderr. It really aids in debugging and learning an API if you can drop down and see the "raw" requests.
For example etcdctl gives you a curl example and the raw output:
$ etcdctl --debug -o json set foobar baz
Cluster-Endpoints: http://<IP_ADDRESS>:4001
Curl-Example: curl -X PUT http://<IP_ADDRESS>:4001/v2/keys/foobar -d value=baz
{"action":"set","node":{"key":"/foobar","value":"baz","modifiedIndex":11282,"createdIndex":11282},"prevNode":{"key":"/foobar","value":"baz","modifiedIndex":11162,"createdIndex":11162},"etcdIndex":11282,"raftIndex":19965,"raftTerm":4}

/cc @jlowdermilk @deads2k

/cc @liggitt This has been on your wishlist for a while.

I've never seen an implementation of this sort of logging info that I've liked, but I also agree that I want the feature.  Maybe a wrapper around a client.Request that keep track of what it's asked to do?

Maybe a wrapper around a client.Request that keep track of what it's asked to do?

Why keep track? Maybe just a fprintf/glog in our request library that's toggled with a flag on the request, this is essentially what i end up doing when i debug.

Why keep track? Maybe just a fprintf/glog in our request library that's toggled with a flag on the request, this is essentially what i end up doing when i debug.

Prettiness of display or alternative analysis?  Recognition of common patterns?  We do have a patch downstream we're considering: https://github.com/openshift/origin/pull/3088

I think I'd prefer to have it as an option on the client.Config as opposed to triggering based on glog level, but that was bigger than I'd want to carry.

Oh, I should add that if you'd take this sort of patch during your code freeze, I'll submit an kube PR.

how would you trigger your patch for kubectl?

Oh, I should add that if you'd take this sort of patch during your code freeze, I'll submit an kube PR.

@bgrant0607

how would you trigger your patch for kubectl?

We could plumb in loglevel like we do in osc.


Results feedback from user

We need to check when and where the feedback will coming

We have added a star rating component at the bottom of the search results tab

Make the feedback more interactive. Add a pop window in the onClick action.

The feedback or rating needs to be given per result/notebook.

The feedback is on the popup window with all the results.
Default stars is 0


Backfill changelog for 1.4.6

cc @kyleknap @JordonPhillips

Coverage increased (+7.3%) to 53.589% when pulling e16900516f8ce6a941861840f7d38e006dbab050 on jamesls:backfill-1.4.6 into 42f665bbdf6bb171bcd26619d05f46e64c762a67 on boto:develop.

:ship:

:boat:


Input config wizard reverts back the changed sim event when device is changed

Describe the bug
In the input config wizard, Input tab, if the user changes the input event and then changes the device used, the wizard automatically reverts back to the previous input event, losing the new config entered.
Steps To Reproduce

Open any input config for editing.
Change the sim event first.
Change the device used (e.g. another button)
Note the sim event was changed back to the previous event, losing the selected event.

Expected behavior
All changes should be retained by the wizard.
Actual behavior
Wizard automatically puts the previous sim event, not the latest change made.
Details

MobiFlight Version: <IP_ADDRESS>
FlightSim: irrelevant
AddOn: irrelevant

Additional context
Workaround is to press Ok after the first change, and then reenter the config wizard to change the device.

I thought we had a similar report already but I cannot find it.
I will take another look - I know that it sounds simple to change but last time checked i think there was something about it that made it not so easy to change.

OK, if the fix is not so easy, then maybe Mobiflight should not allow changing the Sim event and, in the same config session, change the used device. Maybe issue a warning that the config will be overwritten?
It is bit frustrating to enter a custom code to then have it erased by MF without any warning.
Or maybe if there is a event change pending OK, alternatively do an automatic accept of the change, before showing the device select dropdown.

This happens mostly out of the need to copy config lines and then changing their sim event and the device used, just so the config line is in the correct position in the MF list.
I will open a new feature request about the config order.


e2e: add agent clusterCreate test

What this PR does / why we need it:
This PR adds a create cluster test for Agent platform
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes # https://issues.redhat.com/browse/MGMT-9214
Checklist

[x] Subject and description added to both, commit and PR.
[x] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/hold
The test is currently failing to validate image rollout
For some reason the image update state (in the HC) is Partial

/unhold

/retest
/assign @sjenning

/test e2e-aws-all

=== CONT  TestAgentCreateCluster
    fixture.go:78: failed to create cluster, tearing down: failed to get agent namespace: resource name may not be empty

=== CONT  TestAgentCreateCluster
    fixture.go:78: failed to create cluster, tearing down: failed to get agent namespace: resource name may not be empty

How did you run the test?
Should be something like this:
bin/test-e2e test.v -test.timeout 0 --e2e.agent-namespace hypershiftnodes  -e2e.base-domain redhat.com --e2e.control-plane-operator-image=quay.io/hypershift/hypershift-operator:latest --e2e.pull-secret-file ./ps -test.run='^TestAgent.*'
Note that you should specify --e2e.agent-namespace that exists on the management cluster e.g https://github.com/openshift/release/pull/27591/files#diff-8de98e1c6b45dfcd057dd3229c06140b0cbc08dd4d9b54629026fe849c7dfaeeR367
Also note that the test requires a setup that creates the resources to be consumed by the agent platform (InfraEnv, Discovery ISO, BM / virual hosts running the iso and registered to the cluster) implemented here and can be created using this command:
# Setup minikube as management cluster
ENABLE_KUBE_API=true make run
# create InfraEnv download ISO, boot 3 agent machines and approve the agent CR
SPOKE_NAMESPACE=hypershiftnodes TEST_TEARDOWN=false CLUSTER_NAME=hypershift ENABLE_KUBE_API=true make test TEST=./src/tests/test_kube_api.py TEST_FUNC=test_prepare_late_binding_kube_api_ipv4_workers KUBECONFIG=$HOME/.kube/config


Implement image viewer

Resolves #161
Preview: https://takahe-dev.shuuji3.xyz
(image loading might be slow due to network bandwidth/latency)
I will add description later.

We already have #362 working towards this too - @manfre can you look at this one and see what the differences are?

This PR is similar, but handles a few things in a nicer way. Lets go with this one. I like the transparent background to show that you're scrolling the timeline (one issue I didn't resolve on my PR).
Only change I'd want to see is the caption text needs a solid background. The white text over transparent background is difficult to read.

This PR is similar, but handles a few things in a nicer way. Lets go with this one. I like the transparent background to show that you're scrolling the timeline (one issue I didn't resolve on my PR).
Only change I'd want to see is the caption text needs a solid background. The white text over transparent background is difficult to read.

Sorry for the duplicated work. I should have made a draft PR. I'd like to refine the logic a bit referring to your PR.

Only change I'd want to see is the caption text needs a solid background. The white text over transparent background is difficult to read.

Thanks for reviewing. This is a good point. I'll try the black background on the bottom caption area.

I've updated the PR to ensure non-transparent background and reorganize the code structure. New commit has already been deployed to the same server at https://takahe-dev.shuuji3.xyz/.

Thanks for working on this!

Thank you for reviewing! 🙂


chorus support

It would be nice to get chorus for kodi (former xbmc) support in this add-on.
https://github.com/jez500/chorus

This looks like it'll be hard to add support directly as I am guessing this is hosted on your home network. Perhaps having the option for adding such 'self hosted' connectors is a good move though. We already have the mechanisms in place to handle this it's just a case of hooking it all up in the options via configuration.

That's true this runs on a hosted home network. There are even a chorus2 in development atm,
I have no problems to setup this in a config menu.
Thanks for taking this further.

I feel like it might be better to just add native Last.fm scrobbling to that application?

https://github.com/jez500/chorus/issues/85 - they have already an open ticket for this

Temporary you can use https://github.com/galeksandrp/web-scrobbler/tree/chorus branch. If you browser and kodi installed from different machines, set chorus url on connectors/v2/chorus.js.


#184948149 Setup react router

What does this PR do?

Setup react router

Description of Task to be completed?

Setup react router dom

How should this be manually tested?
after cloning this repository

add environment variables as are in .env.example
run npm install to install all dependencies
run npm start and open in it the browser
Navigate to login using http://localhost:3000/login

Any background context you want to provide?
dependencies

React-router-dom

What are the relevant pivotal tracker/Trello stories?

react-router-dom

Screenshots (if appropriate)

Questions:

Resolve the conflicts

done


Switch to Salmon selective alignment method

https://combine-lab.github.io/alevin-tutorial/2019/selective-alignment/
We already do the genome quantification since we align to STAR for quality control, so I'm not sure that this buys us anything for non hg38 genomes. For hg38 though it would be helpful, right now we are just supplying the decoys and the transcriptome.
We need to do these things:

Figure out if we need to do something special with the ALTs or not. I'm guessing no, but we should ask.
Can we do the new index creation on the fly, or does it take forever? If it takes forever, then we'll have to prep these indices as part of the genome creation step. This means we won't be able to do this method for user-supplied transcriptomes.
Is this better? On a simulated dataset it shouldn't be, but on a real dataset it should be. Checking this against a known set or at least one simulated to have more of the noise of a real dataset would be good.

Hi @roryk,
What's the current best practices for Bulk RNASeq?
Should I use hg38 with STAR and Salmon providing the quantify_genome_alignments option? Or should I use hg19 with STAR, Salmon and quantify_genome_alignments for better results? Or not use  quantify_genome_alignments at all?

Hi @kokyriakidis,
hg38 + STAR + the quantify_genome_alignments option is current best practice, but I don't have a comprehensive report up looking at the differences. Some folks at AstraZeneca looked at both and showed the quantify_genome_alignments did a better job on their patient data but YMMV though.


Receive screen - change text about fee for offline transactions

https://zpl.io/VkjKoeg
This text only for offline txs.
Please change text about fee to "To spend the received coins the min transaction fee will be ~0.01 BEAM."

For regular tx the text is old "For the transaction to complete, you should get online during the 12 hours after Beams are sent."

checked


bug: useContractRead does nothing

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
^1.3.9
Current Behavior
When I try to run a function named "balanceOf", nothing happens.
Expected Behavior
I want to get the user's balanceOf result.
Steps To Reproduce
const { data: balanceOfData, isError, isLoading } = useContractRead({
    address: process.env.REACT_APP_ERC20_TOKEN_CONTRACT_ADDRESS,
    abi: erc20TokenAbi,
    functionName: 'balanceOf',
    args: ['0x00000123'],
  })

return (
  <div>{balanceOfData}</div>
)

The balanceOfData is always empty. No errors. No loadings.
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
No response

Check that REACT_APP_ERC20_TOKEN_CONTRACT_ADDRESS is defined. If address is not defined, the hook will not run.

@tmm The env var is already defined. The hook doesn't work as expected. Also, the docs is messy.

@sayhicoelho I understand it can be frustrating when things don't work they way you want them to. If you put together a minimal reproduction, I'm happy to look into it.

args needs to be an address.


Release parameterized search feature

The Parameterized Search feature was released to production a while ago, test to make sure it is working as expected before we announce that it is released after the documentation for it has been updated under the update param-search documentation issue

Confirmed param-search works as expected.  Past sample searches with explanations to Bill for documentation/issues/4.


Video "处理失败", "Processing failed"

Hello There there are issues with editing a video. When a person select a video from an image picker, for some videos but not all the videos the editor shows a message that it "Processing failed".
I am launching the editor like this
let controller = EditorController(videoURL: outputUrl, config: self.videoEditorConfig()) controller.videoEditorDelegate = self controller.modalPresentationStyle = .fullScreen self.present(controller, animated: true)

Can you send me the original video?

Can you please relook at the export video process. Because there is deprecated code. this only happens when the user make an edit to the video. Sometimes, the app crash, sometimes it shows processing failed, and other time it works but the video half black. This only happens with edited videos. if the user does not apply any edit then it works fine. but any edits to the video it creates this problem. Note: no issue with the photos only videos


[AutoPR] monitor/resource-manager

Created to accumulate context: monitor/resource-manager

(message created by the CI based on PR content)

Codecov Report

Merging #2460 into master will increase coverage by 1.38%.
The diff coverage is 42.96%.

@@            Coverage Diff             @@
##           master    #2460      +/-   ##
==========================================
+ Coverage   54.37%   55.75%   +1.38%
==========================================
  Files        5979     6501     +522
  Lines      135523   149993   +14470
==========================================
+ Hits        73685    83627    +9942
- Misses      61838    66366    +4528

Impacted Files
Coverage Δ

...onitor/azure/mgmt/monitor/models/metric_trigger.py
29.41% <0%> (-6.31%)
:arrow_down:

...azure/mgmt/monitor/models/action_group_resource.py
29.41% <0%> (-6.31%)
:arrow_down:

...-monitor/azure/mgmt/monitor/operations/__init__.py
100% <100%> (ø)
:arrow_up:

...mgmt-monitor/azure/mgmt/monitor/models/__init__.py
100% <100%> (ø)
:arrow_up:

.../monitor/models/monitor_management_client_enums.py
100% <100%> (ø)
:arrow_up:

...gmt/monitor/operations/action_groups_operations.py
16.77% <100%> (ø)
:arrow_up:

azure-mgmt-monitor/azure/mgmt/monitor/version.py
100% <100%> (ø)
:arrow_up:

...or/azure/mgmt/monitor/monitor_management_client.py
100% <100%> (ø)
:arrow_up:

...tor/operations/scheduled_query_rules_operations.py
18.26% <18.26%> (ø)

...gmt/monitor/operations/metric_alerts_operations.py
18.46% <18.46%> (ø)

... and 913 more

Continue to review full report at Codecov.

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

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/readme.md

Working on generating https://github.com/azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/readme.md for you!!!

Build SDK finished and cleaned

@AutorestCI rebase

Rebase done and pushed to the branch


Improve Travis CI configuration generation.

@ezzatron
It's becoming problematic to just have archer blow away the Travis config. I have been considering making archer update on regen the travis config if it's not already present, or if a particular flag is passed, such that it's more like a template than something archer maintains ongoing.
I think we probably also need a better system than a text template for storing this in Archer's own resources, maybe even generate it entirely programatically.

Is there anything more we need to do here? It already handles "unstable" versions (7.0) and "alternate" versions (hhvm). If we need something more specific, we can open another ticket.


Resource table

I made a resource table that I think will be helpful for people who have questions about the resource requirements. Also, it could be a useful reference for spot checking new select PRs to see whether they improve/decrease performance and memory requirements.
One question though is regarding the runtime of the multi-GPU cases. If I run max_iters = 1000 on 1 GPU, it will do 1000 iterations. If I run the same code on 2 GPUs, is it actually iterating through 2000 examples (even though it prints 1000 iterations)?
EDIT: I want to add 8-GPU tests some time too but that's currently not possible due to the 4 GPUs currently being occupied for other things)

Added some additional info about the hardware and relevant libraries @carmocca

Interesting.
Traceback (most recent call last):
  File "/data/sebastian/resource-table/lit-gpt/finetune/lora.py", line 335, in <module>
    CLI(setup)
  File "/home/sebastian/.local/lib/python3.10/site-packages/jsonargparse/_cli.py", line 85, in CLI
    return _run_component(component, cfg_init)
  File "/home/sebastian/.local/lib/python3.10/site-packages/jsonargparse/_cli.py", line 147, in _run_component
    return component(**cfg)
  File "/data/sebastian/resource-table/lit-gpt/finetune/lora.py", line 96, in setup
    fabric.launch(main, data_dir, checkpoint_dir, out_dir, quantize)
  File "/home/sebastian/.local/lib/python3.10/site-packages/lightning/fabric/fabric.py", line 834, in launch
    return self._wrap_and_launch(function, self, *args, **kwargs)
  File "/home/sebastian/.local/lib/python3.10/site-packages/lightning/fabric/fabric.py", line 920, in _wrap_and_launch
    return to_run(*args, **kwargs)
  File "/home/sebastian/.local/lib/python3.10/site-packages/lightning/fabric/fabric.py", line 925, in _wrap_with_setup
    return to_run(*args, **kwargs)
  File "/data/sebastian/resource-table/lit-gpt/finetune/lora.py", line 153, in main
    train(fabric, model, optimizer, scheduler, train_data, val_data, checkpoint_dir, out_dir, speed_monitor)
  File "/data/sebastian/resource-table/lit-gpt/finetune/lora.py", line 182, in train
    validate(fabric, model, val_data, tokenizer)  # sanity check
  File "/home/sebastian/.local/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/data/sebastian/resource-table/lit-gpt/finetune/lora.py", line 264, in validate
    logits = model(input_ids)
  File "/home/sebastian/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/sebastian/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/sebastian/.local/lib/python3.10/site-packages/lightning/fabric/wrappers.py", line 121, in forward
    output = self._forward_module(*args, **kwargs)
  File "/home/sebastian/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/sebastian/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/data/sebastian/resource-table/lit-gpt/lit_gpt/lora.py", line 498, in forward
    x = block(x, cos, sin, mask, input_pos)
  File "/home/sebastian/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/sebastian/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/data/sebastian/resource-table/lit-gpt/lit_gpt/model.py", line 158, in forward
    h = self.attn(n_1, cos, sin, mask, input_pos)
  File "/home/sebastian/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/sebastian/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/data/sebastian/resource-table/lit-gpt/lit_gpt/model.py", line 196, in forward
    qkv = self.attn(x)
  File "/home/sebastian/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/sebastian/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/data/sebastian/resource-table/lit-gpt/lit_gpt/lora.py", line 372, in forward
    pretrained = self.linear(x)
  File "/home/sebastian/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/sebastian/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/sebastian/.local/lib/python3.10/site-packages/bitsandbytes/nn/modules.py", line 248, in forward
    out = bnb.matmul_4bit(x, self.weight.t(), bias=bias, quant_state=self.weight.quant_state)
  File "/home/sebastian/.local/lib/python3.10/site-packages/bitsandbytes/autograd/_functions.py", line 579, in matmul_4bit
    return MatMul4Bit.apply(A, B, out, bias, quant_state)
  File "/home/sebastian/.local/lib/python3.10/site-packages/torch/autograd/function.py", line 539, in apply
    return super().apply(*args, **kwargs)  # type: ignore[misc]
  File "/home/sebastian/.local/lib/python3.10/site-packages/bitsandbytes/autograd/_functions.py", line 516, in forward
    output = torch.nn.functional.linear(A, F.dequantize_4bit(B, state).to(A.dtype).t(), bias)
RuntimeError: CUDA error: CUBLAS_STATUS_NOT_INITIALIZED when calling `cublasCreate(handle)`

Thanks. Since it's an error in bitsandbytes, I wouldn't worry too much about it.

Thanks. Since it's an error in bitsandbytes, I wouldn't worry too much about it.

Agreed. It was just odd that it occurred only with one of the models.


Shellcheck fzf-tmux

Use shellcheck on the fzf-tmux bash script.
I left one warning (Prefer mapfile or read -a to split command output (or quote to avoid splitting).) because I don’t know what would be the correct fix.
https://github.com/junegunn/fzf/blob/298342677107f19f2ef7035afcf5302fdf26aa51/bin/fzf-tmux#L157

I just realized there are other bash files that could be checked against shellcheck. If that kind of changes is useful for you, I may open another PR to do them, or I can do them in this one and change the title.

Thanks for the request. I once tried to satisfy shellcheck myself, but I decided not to because

I'm pretty confident that the temporary file paths won't include white-spaces so quoting is unnecessary.

It makes the code less readable, for instance, see the code below. We have to sprinkle quotes all over the place to satisfy the checker and to be consistent.

diff --git a/bin/fzf-tmux b/bin/fzf-tmux
index 080f936..d957b47 100755
--- a/bin/fzf-tmux
+++ b/bin/fzf-tmux
@@ -213,7 +213,7 @@ if [[ -n "$term" ]] || [[ -t 0 ]]; then
   cat <<< "\"$fzf\" $opts > $fifo2; echo \$? > $fifo3 $close" >> $argsf
 else
   mkfifo $fifo1
-  cat <<< "\"$fzf\" $opts < $fifo1 > $fifo2; echo \$? > $fifo3 $close" >> $argsf
+  cat <<< "\"$fzf\" $opts < \"$fifo1\" > \"$fifo2\"; echo \$? > \"$fifo3\" \"$close\"" >> \"$argsf\"
   cat <&0 > $fifo1 &
 fi
 tmux set-window-option synchronize-panes off \;\

We can't satisfy the checker 100%. For example, we shouldn't quote $opt in line 208, as doing so will break fzf-tmux -p, but the checker doesn't know about it and complains.

So all in all, I don't think it's really worth it.


[Feature request] Adding labels and annotations to pods

Is your feature request related to a problem? Please describe.
I would like to get Prometheus metrics for tests I launch programmatically. Since Prometheus scrapes all pods annotated with prometheus.io/scrape: true, metrics are stored as if they belong to the same test / system.
Describe the solution you'd like
I'd like to attach labels and annotations to the deployed pods, so that I can customize the Prometheus config. This is what I have in mind: use __meta_kubernetes_pod_label_<labelname> and __meta_kubernetes_pod_annotation_<annotationname> in kubernetes_sd_config.
Describe alternatives you've considered
I am not aware of other solutions.
Additional context
I already implemented this feature in looflow/locust-k8s-operator. Would you be interested in having this as a contribution?

Hello @jachinte,
The project is open for contributions and all fresh perspectives  are more than welcome. The intent is to be as open and as flexible without sacrificing the core offerings of the tool.
I would like to understand more about your use case. I took a look at the implementation as well and I see that you wish to have the configuration of the labels on a test CR level.
To my understanding, the plan is to have __meta_kubernetes_pod_label_<labelname> and __meta_kubernetes_pod_annotation_<annotationname>  as part of your Prometheus server config which is usually a stable and not frequently updated part of the cloud infra. To my eyes, if the labels / annotations are changeable on a test CR level, it means that those  labels / annotations  are subject to (sudden/per CR deployment) change -assuming no accidents- this would prompt Prometheus server config update + dashboard(s) query updates as well.  With that in mind, I am wondering if having the labels/annotations as part of the Operator HELM config is a better placement. This will allow the labels to be more protected against "accidents", provide more governance capabilities to "cloud admins" & SREs and satisfy your request.  What do you think?
That being said, if the purpose of this request is to mainly have a unique/predictable label that can be filtered and there is no other motivation for having the ability to influence injected labels / annotations , today the Operator adds the following labels automatically to the generated resources for that purpose:

performance-test-name: Directly derived from the deployed custom resource name and is common between master and worker pods. The label can be used to filter and "group" metrics in the visualisation solution of your choice  i.e. Grafana,  NewRelic, etc...

On master pods:  performance-test-name=<cr.name>
On worker pods:  performance-test-name=<cr.name>

performance-test-pod-name: Also directly derived from the custom resource name and -master/-worker is appended to the end depending on the pod operation mode. This label can be used to further breakdown or further group the metrics

On master:  performance-test-pod-name=<cr-name>-master
On worker:  performance-test-pod-name=<cr-name>-worker

Currently the previously mentioned labels are used with Prometheus servers to scrap the data and visualize  test results in a NewRelic dashboard that breaks down all the metrics.
what are your thoughts?

Hello @AbdelrhmanHamouda,
Thank you for taking the time to analyze the feature I'm proposing, and for being this open to receive contributions. I hope this answer helps clarify my use case:
The pod labels and annotations provide unique identifiers related to the origin of the tests. Two labels I'm looking to include are the tenant id and test id. The annotations I have in mind will include parameters specific to the system under test for filtering purposes in Grafana.
I'm not expecting to change the Prometheus configuration often, but rather configure the monitoring and relabelling based on a set of known label and annotation keys. A Prometheus instance, plus other components, will use these labels to store the metrics appropriately (e.g., Thanos / Cortex will use the tenant id).
In my case, having the annotations or labels as part of the Helm chart is not a solution because that information is provided as part of the test CR. I think this approach would make sense when you have a namespace per client, thus having several instances of the locust operator.
I did notice the performance-test-* labels and annotations in the current implementation. However, my current use case requires adding custom / unique values, such as the ones I described above.
Here is an example:
apiVersion: locust.io/v1
kind: LocustTest
metadata:
  name: demo.test
  namespace: locust-operator
spec:
  image: locustio/locust:latest
  labels:
    master:
      tenant: "XYZ999"
      test: "ABC123"
  annotations:
    master:
      param/users: "100"
  masterCommandSeed: >
    --locustfile /lotest/src/mysystem.py
    --host https://www.mysystem.com
    --users 100
    --spawn-rate 3
    --run-time 3m
  workerCommandSeed: --locustfile /lotest/src/mysystem.py
  workerReplicas: 3
  configMap: mysystem-cm

Okay, I have slept on it and I think it is a good enhancement to add. Please feel free to open a PR.
Few remarks:

I kindly invite you to take a look at the CONTRIBUTING.md if you haven't already.
In effort of making this project as maintainable as possible, please add tests to cover your added functionality.
I am planning to add an in-depth CRD / CR breakdown and its impact on generated resources to the documentation site. For that end, please also prepare a markdown doc to be included in one of the site pages. I'll provide more details during the PR review stage since the parent document is not yet ready.

Request got implemented in #45


Play store link for Cabin is not working.

Play store link for Cabin is not working, is it still available?

iOS link is also not working

App isn't in the iOS app store anymore :(

whyyyy!!! Really need it

the app is alive?

 Dead project.

Dang. We should start a new project for this. I can do design and code!

milesalex,,,go for it!


How can we make it more obvious to users which implicit vars are available in a function?

Such as the msg variable. Maybe project them optionally as (a special part of the) signature?
fun add[msg, tx](a: int, b: int) : int {}

This feature is more useful if different kinds of functions have different of those.

This obviously works only in projectional editors.


Rename variable

I wrote this in a rush , some variable is not named properly and are not consistent. rename it with meaningful variable name

I can take this up. Would sudoku.cpp be the only file concerned here?

Yes,
Please follow variable name guide in c++
Please also change function name and variable name.

Can this be assigned to me?

@chinmayayy had already take this issues.

any updates? @potatochick2020

Sorry for replying late
Common Variable names
For example:
std::string table_name;  // OK - lowercase with underscore.
std::string tableName;   // Bad - mixed case.
I appreciate the changes on change i,j to row and col. thanks a lot for that. But it will be nice if you could change the variable name of isCompleted() to is_completed() if you want to follow the guide. and possible_value might be good to have a new name like candidates? But this is alright if you want to keep it.
The most important part will be please don't use mixed case for variable name I believe.

the guide actually mentions using camelcase for function names, but I'll make these changes surely


Refactor 0347-top-k-frequent-elements.go

File(s) Modified: go/0347-top-k-frequent-elements.go
Language(s) Used: Go
Submission URL: https://leetcode.com/problems/top-k-frequent-elements/submissions/1416811237/

The named return value in this case is confusing.
Fixed overhead in filling the countMap.
The built-in len function in Go for slices calculates on every call. It is best to store the result in a variable.
It is sufficient to check if len(res) != k in the for-loop condition.

@obaibula Good refactoring, thanks for your contribution 👍


Update README.md with poem that better illustrates response

In 5.1, a new hope,
To catch bugs and fix them too,
A cleaner way, a brighter face,
Code's cure in this buggy age.


Any way to use org generated latex svgs instead of Katex?

Hi, first of all thanks a lot for your project!
I use dvisvgm and org-inline-latex-preview to view my latex formulas in my blog/notes. Is it possible to reuse those in the generated file? Afaik, org-html-publish-to-html does that by default, but I want to use that with this framework somehow. Thanks!

org-static-blog uses your default org configuration for rendering. If you configured org to use a different formula renderer, org-static-blog should pick up on it.

 Turns out that somehow org-publish was adding mathjax on its own (which wasn't happening for org-static-blog).
Is there any way anyone knows apart from that?


support log level and scope.

Resolve: https://github.com/istio/istio/issues/15605

@morvencao: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

operator-mandiff-master
3eac4352f1beb576773216d4524e458343101782
link
/test operator-mandiff-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@morvencao: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

operator-mandiff-master
3ce9167f9ea5f6a28a83da9bd395f0ecc23f64a0
link
/test operator-mandiff-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@morvencao: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

operator-build-master
4e172063a56ace90123f3fac3f38caa649ad9742
link
/test operator-build-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@morvencao: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

operator-build-master
4e172063a56ace90123f3fac3f38caa649ad9742
link
/test operator-build-master

operator-test-master
4e172063a56ace90123f3fac3f38caa649ad9742
link
/test operator-test-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@morvencao: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

operator-build-master
4e172063a56ace90123f3fac3f38caa649ad9742
link
/test operator-build-master

operator-test-master
4e172063a56ace90123f3fac3f38caa649ad9742
link
/test operator-test-master

operator-lint-master
4e172063a56ace90123f3fac3f38caa649ad9742
link
/test operator-lint-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@morvencao: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

operator-build-master
4e172063a56ace90123f3fac3f38caa649ad9742
link
/test operator-build-master

operator-test-master
4e172063a56ace90123f3fac3f38caa649ad9742
link
/test operator-test-master

operator-lint-master
4e172063a56ace90123f3fac3f38caa649ad9742
link
/test operator-lint-master

operator-mandiff-master
4e172063a56ace90123f3fac3f38caa649ad9742
link
/test operator-mandiff-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


All streams not shown in left sidebar

The left sidebar stream selector seems to clip the number of streams shown (instead of showing all streams to which a user is subscribed)

Can not reproduce.

@borisyankov try subscribing to all of the streams present in chat.zulip.org.  For us it happened only when there were more than about 30 streams.


Having problems disabling the paragraph rule for MarkdownIt.render()

Hello! I'm using a Metalsmith plugin which is basically a fancy wrapper around markdown-it - metalsmith-markdownit. In addition to the metalsmith-markdownit plugin, I'm using a template parsing plugin. How it works is any content defined in the .md markdown file will get included in the template. So basically, the majority of the HTML is done somewhere other than the markdown-it parsing.
Obviously you don't support either of those metalsmith plugins, and I don't expect you to. I'm just giving you the reason behind why I want to disable the paragraph rule. By looking at the source for  metalsmith-markdownit I can see that it utilizes the MarkdownIt.render method to process the markdown content, as opposed to the MarkdownIt.renderInline method. And after reading through some of the markdown-it documentation, I found that the difference between the two is:

MarkdownIt. renderInline
Similar to MarkdownIt.render but for single paragraph content. Result will NOT be wrapped into
 tags.

I can access the markdown-it instance thats initiated by metalsmith-markdownit plugin, and I can see that markdown-it has a method for disabling rules, so theoretically, it looks like I should be able to disable the paragraph rule, and the
 tags should stop showing up.. right?
Here's a test, executing the MarkdownIt.render and MarkdownIt.renderInline methods through the metalsmith-markdownit plugin:
const Metalsmith  = require( 'metalsmith' )
const markdown    = require( 'metalsmith-markdownit' )

const md = markdown({
  html: true,
  xhtmlOut: true,
  typographer: true,
  linkify: true
})

//md.parser.disable('paragraph')

const str = "Hello World!"

console.log( 'Original String:', str )
console.log( 'MarkdownIt.render:', md.parser.render( str ) )
console.log( 'MarkdownIt.renderInline:', md.parser.renderInline( str ) )

Result:

$ DEBUG=* node metalsmith_markdown_test.js
Original String: Hello World!
MarkdownIt.render: Hello World!
MarkdownIt.renderInline: Hello World!

But then when I uncomment the line where I execute the Ruler.disable method, it outputs the following:
Result:

$ DEBUG=* node metalsmith_markdown_test.js
Original String: Hello World!

And just hangs there...
Am I doing something wrong? Or is it not possible to disable the paragraph rule for MarkdownIt.render? And if so, do you have any suggestions?
Thanks!

Or is it not possible to disable the paragraph rule for MarkdownIt.render?

Yes, that's technically impossible to make .render() work without paragraph. And this can't be changed. You can only use  .render() with pharagraphs, or .renderInline() without paragraphs.

Hey, back to this question.. I thought the only difference between render and renderInline, was that render would add

 tags everywhere?
I'm also noticing that renderInline doesnt seem to render the headers.
EG: This (markdown format):
### Welcome to my website!

This is a test

Using render is rendered as:

Welcome to my website!

This is a test

But using renderInline is rendered as:
### Welcome to my website!

This is a test

What I'm trying to accomplish is:

Welcome to my website!

This is a test

Is that possible at all?

Is that possible at all?

You can try to override paragraph's renderer to write text without wrapping tags. But that's not the same as "disable paragraph". That's just output change with the same internal data.


from line level to word level?

Hi. docExtractor is doing a great job! Any suggestions for getting from the line level to individual word level? Does this capability perhaps exist already? Or could you make any recommendations -- either for augmenting docExtractor or perhaps something that already exists in python elsewhere?

Hi, thanks for the interest! Unfortunately, there is no support for word level extraction but I think you can do a good baseline with tools in this repo with the following 2 leads:

generate full synthetic documents with word-level label + illustration label and retrain the network from scratch
generate a synthetic line dataset and train a new network to segment words from textlines (assuming the line extraction is working rather well)

Otherwise, you can try Tesseract in the case the document images are not too noisy, here is a good tutorial: https://nanonets.com/blog/ocr-with-tesseract/

Hi, thanks for the interest! Unfortunately, there is no support for word level extraction but I think you can do a good baseline with tools in this repo with the following 2 leads:

generate full synthetic documents with word-level label + illustration label and retrain the network from scratch
generate a synthetic line dataset and train a new network to segment words from textlines (assuming the line extraction is working rather well)

Otherwise, you can try Tesseract in the case the document images are not too noisy, here is a good tutorial: https://nanonets.com/blog/ocr-with-tesseract/

Thanks so much, @monniert!
I've never trained my own network. (I'm barely out of the gate with Python or coding at all!) I would like to learn some day, as I at least know enough to know it could be useful for the kinds of hobby projects I'm pursuing.
Line extraction on the current document I'm working with is working very well. (Thanks!!!)
a. What is the "word-level label," if you don't mind? I searched the repository and saw all kinds of code with "word" in it. But I couldn't figure out what it is.
b. In some of your image examples, I see the teal blue lines highlighted, but in addition, I see some royal blue lines sometimes on shorter segments? What is this darker blue line? Does this have any relevance to my question?
c. If all else fails, I had a rather simplistic notion, especially given my learning curve and time available at the present. I have no idea if it has any merit whatsoever. I wondered if perhaps turning my extracted lines vertically and re-running those line images through line extraction would work, more or less. (lol.)

Thanks so much, @monniert!
I've never trained my own network. (I'm barely out of the gate with Python or coding at all!) I would like to learn some day, as I at least know enough to know it could be useful for the kinds of hobby projects I'm pursuing.
Line extraction on the current document I'm working with is working very well. (Thanks!!!)
a. What is the "word-level label," if you don't mind? I searched the repository and saw all kinds of code with "word" in it. But I couldn't figure out what it is.
b. In some of your image examples, I see the teal blue lines highlighted, but in addition, I see some royal blue lines sometimes on shorter segments? What is this darker blue line? Does this have any relevance to my question?
c. If all else fails, I had a rather simplistic notion, especially given my learning curve and time available at the present. I have no idea if it has any merit whatsoever. I wondered if perhaps turning my extracted lines vertically and re-running those line images through line extraction would work, more or less. (lol.)

a. it is a label that will define a region for each word rather than each line. Yes you coulndt because it is not implemented at all :)
b. I think the royal blue lines you are mentioning correspond to the final baselines detected after the post processing, so it is only relevant when you evaluate the model with baseline detections.
c. haha no I think it wont work, extracted lines would be resized to 1280x1280 and I expect very weird results...

a. it is a label that will define a region for each word rather than each line. Yes you coulndt because it is not implemented at all :)
b. I think the royal blue lines you are mentioning correspond to the final baselines detected after the post processing, so it is only relevant when you evaluate the model with baseline detections.
c. haha no I think it wont work, extracted lines would be resized to 1280x1280 and I expect very weird results...

I close the issue for now, please reopen if needed

I close the issue for now, please reopen if needed