Extract unsafe, failed formatting source. expected ; found -

I've been trying to get the unsafe package to be available but this happens every time I try to extract it. I have no idea where to go from here. Any ideas?

Hello @ShadowNight573,
The standard library unsafe package is a special case, it  can not be processed entirely by the extract command, and some symbols must be re-implememented at yaegi level (planned but not completed yet). Furthermore, you should not need to extract it yourself, as the available symbols are already made available using -unsafe flag.

Sorry its taken me so long to respond back, I appreciate your answer but I don't exactly know how to implement the -unsafe flag because I am running the code through go run main.go and then importing the interpretation packages into my project.
I ran accross this issue whenever I tried to use a package inside the code I was evaluating... could you explain further? @mvertes


Missing polkitd

Polkitd should be added in base install or in DE/WM scripts and service enabled

Polkit is installed as dependency with base
Service should be enabled


Unsure what password needs to be entered?

Thanks to Co-Pilot for helping me understand your code! All It needs is the password and the service the password is for.

dont open issues for anything non-issue related


Fix to register multiple events during a single fetch interval

What this PR does / why we need it:
This PR fixes two EventWatcher issues that:

can't register multiple events during a single fetch interval
we have to restart Piped when the repository was force pushed

Which issue(s) this PR fixes:
Fixes https://github.com/pipe-cd/pipe/issues/1934
Does this PR introduce a user-facing change?:

Fix a bug that can't register multiple events during a single fetch interval

Nice catch
/lgtm

Applied the working directory solution so that it can remove all repository at last. (@nghialv 's idea!)
I settled on committing right after writing all changes in an event to a file. It is no problem to call writeFile twice (changing CommitChanges has also no problem because only EventWatcher uses though)

Fixed

Nice.
/lgtm

🚀
/approve


Cannot create model through grelu.lightning module for mouse

Hi,
Thanks for the great package. I have a question on fine tuning and model creation.
I want to fine tune Borzoi on some data i have that is mouse mm10.
I'm following tutorial 2 on fine tuning and i can create a grelu.lightning model
model_params = {
    'model_type':'BorzoiPretrainedModel', # Type of model
    'n_tasks': 2,
    'crop_len':0,
    'n_transformers': 4,
    'fold': 2 # 0-3 folds i want to use.
}

train_params = {
    'task':'binary',
    'lr':1e-4,
    'logger': 'csv',
    'batch_size': 32,
    'num_workers': 8,
    'devices': 0,
    'save_dir': os.path.join(data_dir + '/' + exp),
    'optimizer': 'adam',
    'max_epochs': 2,
    'checkpoint': True, # Save checkpoints
}
model = grelu.lightning.LightningModel(model_params=model_params, train_params=train_params)

This model calls then wandb to download the state dictionary (output log file)
...
wandb: Downloading large artifact human_state_dict_fold2:latest, 907.30MB. 1 files...
...

The issue now is when i want to load the mouse_state_dict, which is impossible as it's seems that human is hardcoded:
https://github.com/Genentech/gReLU/blob/efd30819a894c10d7dfda2a111f85825240d52c9/src/grelu/model/models.py#L594
When changed manually in the source code, i get the following error as the model_state_dict is expecting the shape of the human (7611, 1920, 1), but it gets the mouse one (2608, 1920, 1)
Traceback (most recent call last):
  File "/hpcnfs/scratch/DP/amariani/Jbruno/I53S/code/grelu_model/grelu/fine_tune.py", line 98, in <module>
    model = grelu.lightning.LightningModel(model_params=model_params, train_params=train_params)
  File "/hpcnfs/data/DP/software/grelu_venv/grelu/lib/python3.8/site-packages/grelu/lightning/__init__.py", line 87, in __init__
    self.build_model()
  File "/hpcnfs/data/DP/software/grelu_venv/grelu/lib/python3.8/site-packages/grelu/lightning/__init__.py", line 111, in build_model
    self.model = self.model(
  File "/hpcnfs/data/DP/software/grelu_venv/grelu/lib/python3.8/site-packages/grelu/model/models.py", line 548, in __init__
    model.load_state_dict(state_dict)
  File "/hpcnfs/data/DP/software/grelu_venv/grelu/lib/python3.8/site-packages/torch/nn/modules/module.py", line 2215, in load_state_dict
    raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for BorzoiModel:
	size mismatch for head.channel_transform.conv.layer.weight: copying a param with shape torch.Size([2608, 1920, 1]) from checkpoint, the shape in current model is torch.Size([7611, 1920, 1]).
	size mismatch for head.channel_transform.conv.layer.bias: copying a param with shape torch.Size([2608]) from checkpoint, the shape in current model is torch.Size([7611]).

Any idea on how to fix it or a workaround is highly appreciated.
Thanks for the help.
Best,
Andrea

Hi @AndreaMariani-AM , happy to help.
First, please see my response here regarding the PretrainedModel class types: https://github.com/Genentech/gReLU/issues/72
Next, note that the Borzoi mouse and human models share the same convolutional and transformer layers. Only the head layer is different. Since the BorzoiPretrainedModel class initializes only the convolutional and transformer layers from the published weights, it is identical for mouse and human and so we have preset it to human.
If you want to get the full Borzoi model including the head layer pre-trained for mouse, you can do this:
import grelu.resources
model = grelu.resources.load_model(
    project="borzoi",
    model_name="mouse_fold0",
)

Yes, this is what i was going to do after reading (#72). Thanks again for the clarification and the help @avantikalal
Best,
Andrea


RE Widgets: turn on plan editing when item is double-clicked in the queue widget

Extend the functionality of the Queue Widget so that when a plan is double-clicked in the widget, it is automatically opened in the plan editor with editing enabled.
Expected Behavior
Double-click on a plan in Queue Widget is expected to open the plan in the plan editor.
Current Behavior
Currently, in order to open a plan for editing the plan must be first selected in the queue. This opens the plan in the plan viewer. Clicking the Edit button in the plan viewer opens the plan for editing. Executing this sequence of actions for each plan may not be convenient of extensive editing is performed. An option to open plans for editing by double-clicking on the plan is intuitive wnd will improve user experience. The existing options should be preserved as well.
Possible Solution
The main challenge with implementation of the feature is flexibility of the architecture of the widgets. Existing of the global model allows to place multiple instances of the syncronized widgets (e.g. a Queue Widget) on multiple tabs/windows. It is very likely that some of the windows/tabs (e.g. the tab that contains queue execution control widgets) will have a Queue Widget, but not the plan editor. The proposed feature should work only in the tabs/windows that contain both Queue Widget and the editor. Simple means to register editors (including custom editors) with the Queue Widget should be provided. The Queue Widget should open the plan for editing only in registered editors. If no editors are registered, then double-click events should be ignored.

Addressed in PR https://github.com/bluesky/bluesky-widgets/pull/145


After market data access

Describe the bug
I have clean install of screeipy. After market hours i try to do analysis then i am getting error.
hence tried to download data  then error is as follows
To Reproduce
Steps to reproduce the behavior:

run python src/screenipy.py -d
After some time  below is output
Scroll down to '....'

[+] Download ONLY mode! Stocks will not be screened!
[+] Getting Stock Codes From NSE... => Done! Fetched 1904 stock codes.
[+] Stock shuffling is active.
[+] Screening only for the stocks in Stage-2! Edit User Config to change this.
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 1042, in validate_conn
conn.connect()
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connection.py", line 414, in connect
self.sock = ssl_wrap_socket(
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\util\ssl.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\util\ssl.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "C:\ProgramData\Anaconda3\lib\ssl.py", line 501, in wrap_socket
return self.sslsocket_class._create(
File "C:\ProgramData\Anaconda3\lib\ssl.py", line 1041, in _create
self.do_handshake()
File "C:\ProgramData\Anaconda3\lib\ssl.py", line 1310, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\requests\adapters.py", line 489, in send
resp = conn.urlopen(
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\util\retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='raw.github.com', port=443): Max retries exceeded with url: /pranjal-joshi/Screeni-py/actions-data-download/actions-data-download/stock_data_020523.pkl (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):

OS: windows 11

Additional context
i feel  i am not able to access
url: /pranjal-joshi/Screeni-py/actions-data-download/actions-data-download/stock_data_020523.pkl
and i dont see  folder https://github.com/pranjal-joshi/Screeni-py/actions-data-download/

The issue seems to be with a secure network connection - I haven't implemented any GitHub auth but it seems like it worked only after you logged in for your device.
Issue-related discussion - https://t.me/c/1859052749/324
Closing as of now as it is self resolved


Serve front-end over HTTPS

Add tls/ to .gitignore

Pull Request Test Coverage Report for Build 132593392

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 56.19%

Totals

Change from base Build 131525762:
0.0%

Covered Lines:
354

Relevant Lines:
630

💛  - Coveralls

This should be done via LB, not the service itself, because serving self-signed certs isn't ideal and will lead to warning. Also, it should be made possible to disable


Link to Stack Exchange

There is a number of cap typos. See https://github.com/stellar/go/pull/296/files (ignore the first bit)


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-25-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3532

Questions ?
Please refer to the Backport tool documentation


Microsoft Ribbon Style

I was looking at some office 2013 screenshots and noticed the ribbon has a flat, metro look. Are there any plans to add a similar style to MahApps.Metro?

The ribbon style has some issues:

It only works for "BaseLight" theme, and doesn't update for "BaseDark"
Something happens with "BaseDark" where we see gradients on the control where they weren't there for "BaseLight".

Unfortunately, my modifications are on a private network where it's a lot harder to get things off than they are to put on.  The basic coloring issues can be made to work for both "BaseLight" and "BaseDark" by making the following changes:

Ribbon/Setters Background={DynamicResource WhiteBrush}
Ribbon/Setters Foreground={DynamicResource BlackBrush}
RibbonTab/Setters Background={DynamicResource WhiteBrush}
RibbonTab/ControlTemplate/Grid.Background={DynamicResource Gray9Brush}
RibbonTabHeader/Setter Background={DynamicResource WhiteBrush}
RibbonTabHeader/IsSelected Trigger/Setter Background={DynamicResource GrayBrush9}
RibbonTabHeader/IsSelected Trigger/Setter BorderBrush={DynamicResource GrayBrush7}
RibbonTabHeader/MouseOver Trigger/Setter Background={DynamicResource GrayBrush10}
RibbonTabHeader/MouseOver Trigger/Setter BorderBrush={DynamicResource GrayBrush8}

That fixes the coloring issues that don't match the rest of Mahapps.Metro.  Still looking for a fix to the gradients and the glass effect on the main menu button.


Arbitrary non-orthogonal axis

Like in the example below, it would be great to have additional non-orthogonal axis, for functions z=f(x,y) where x,y are horizontal and vertical axis

YES! While I don't have a personal use case for non-orthogonal axes (maybe smith charts?), I have wanted to implement logarithmic axes for a while (#29). I did some preliminary work toward implementing this and it was not easy because so many systems rely on on the current coordinate system (mouse click-dragging, tick spacing, grid line rendering, etc). The fix would require some refactoring, but I'd love to do work on it with you.
A better place to start would be to code a proof-of-concept demo as a standalone application. I created a Cartesian plotting demo easily within 100 lines (https://github.com/swharden/Csharp-Data-Visualization/blob/master/examples/2019-06-03-coordinate-system) and I think something like this could be expanded to support nonlinear / non-orthogonal axes. Once we get a handle on how to do it technically (and provide a good interface for it), we can then figure out how to refactor ScottPlot to accomodate it. What do you think of this idea?
A good place to start would be to create a similar app which:

has a way to draw points on the graph. This is easiest in my experience.
has a way to draw lines on the graph. This is where I keep getting overwhelmed with complexity. Grid lines will be unevenly spaced and may curve.
allows the user select which coordinate system to use

perhaps we would make a CoordinateSystem class and provide some pre-made ones like cartesian and logarithmic, polar, but let the user make their own with custom formulas if desired.
I'm guessing functions like coordinate-to-pixel, drawing of lines, and generation of ticks would all be handled inside these classes

@Padanian I'm looking forward to hearing your thoughts

A coordinate class is the way to go. Any non orthogonal axis (suppose
a y' axis with some arbitrary clockwise angle t and intercept k with
respect to X-axis) can be resolved with the formula y'=-x sin(t) +y
cos(t) + k.Therefore all standard stuff apply, up until actual
representation on the rotated axis.Imagine the example demo
double[] xs = new double[] {0, 1, 2, 3, 4, 5};
double[] ys = new double[] {0, 1, 4, 9, 16, 25};
supposing a rotated clockwise y-axis angle of 30° (#pi/6), the angle
with respect x axis is 60° (#pi/3), and supposing k = 2, the rotated
y' axis would have:double[] yfirsts = new double[] {0,-0.866+0.5+2,
-20.866+0.54+2, -30.866+0.59+2, -40.866+0.516+2,
-50.866+0.525+2};
or
double[] yfirsts = new double[] {2, 1.634, 2.268, 3.902, 6.536,
16.706};
----- Messaggio Originale -----
Da: "swharden/ScottPlot"
A:"swharden/ScottPlot"
Cc:"Alessandro Mandelli" , "Mention"
Inviato:Tue, 16 Jul 2019 13:39:10 +0000 (UTC)
Oggetto:Re: [swharden/ScottPlot] Arbitrary non-orthogonal axis (#41)
YES! While I don't have a personal use case for non-orthogonal axes

(maybe smith charts [1]?), I have wanted to implement logarithmic axes
for a while (#29 [2]). I did some preliminary work toward implementing
this and it was not easy because so many systems rely on on the
current coordinate system (mouse click-dragging, tick spacing, grid
line rendering, etc). The fix would require some refactoring, but I'd
love to do work on it with you.
A better place to start would be to code a proof-of-concept demo as a

standalone application. I created a Cartesian plotting demo easily
within 100 lines
(https://github.com/swharden/Csharp-Data-Visualization/blob/master/examples/2019-06-03-coordinate-system
[3]) and I think something like this could be expanded to support
nonlinear / non-orthogonal axes. Once we get a handle on how to do it
technically (and provide a good interface for it), we can then figure
out how to refactor ScottPlot to accomodate it. What do you think of
this idea?
A good place to start would be to create a similar app which:

* has a way to draw _points_ on the graph. This is easiest in my

experience.
* has a way to draw lines on the graph. This is where I keep
getting overwhelmed with complexity. Grid lines will be unevenly
spaced and may curve.
* allows the user select which coordinate system to use

* perhaps we would make a CoordinateSystem class and provide some

pre-made ones like cartesian and logarithmic, polar, but let the user
make their own with custom formulas if desired.
* I'm guessing functions like coordinate-to-pixel, drawing of lines,
and generation of ticks would all be handled inside these classes
@Padanian [4] I'm looking forward to hearing your thoughts

—

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub [5], or mute the
thread [6]. [ { "@context": "http://schema.org", "@type":
"EmailMessage", "potentialAction": { "@type": "ViewAction", "target":
"https://github.com/swharden/ScottPlot/issues/41?email_source=notificationsu0026email_token=AB3I2BHCQQPFKTFKFR3PNXDP7XFPNA5CNFSM4IEASAQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2A4AFA#issuecomment-511819796",
"url":
"https://github.com/swharden/ScottPlot/issues/41?email_source=notificationsu0026email_token=AB3I2BHCQQPFKTFKFR3PNXDP7XFPNA5CNFSM4IEASAQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2A4AFA#issuecomment-511819796",
"name": "View Issue" }, "description": "View this Issue on GitHub",
"publisher": { "@type": "Organization", "name": "GitHub", "url":
"https://github.com" } } ]
Links:
[1] https://en.wikipedia.org/wiki/Smith_chart
[2] https://github.com/swharden/ScottPlot/issues/29
[3]
https://github.com/swharden/Csharp-Data-Visualization/blob/master/examples/2019-06-03-coordinate-system
[4] https://github.com/Padanian
[5]
https://github.com/swharden/ScottPlot/issues/41?email_source=notifications&email_token=AB3I2BHCQQPFKTFKFR3PNXDP7XFPNA5CNFSM4IEASAQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2A4AFA#issuecomment-511819796
[6]
https://github.com/notifications/unsubscribe-auth/AB3I2BCFKLV2ESLEAB4JZ73P7XFPNANCNFSM4IEASAQA

Example of XYScatter with Y-axis rotated CW by 60°. I don't know how to rotate the frame axis thouh

This topic is a can of worms and attempts at implementation must snake through a lot of ScottPlot modules. For example, consider how we would draw grid lines and tick marks using polar coordinates...

Because of this, I think the best place to start is with a very simple sandbox application. It makes sense to try to add these features to ScottPlot only after plotting, grid lines, and tick marks work well in the sandbox application. An example sandbox application (currently configured for 2D Cartesian coordinates) is here:
https://github.com/swharden/Csharp-Data-Visualization/tree/master/examples/2019-06-03-coordinate-system
We can continue to explore this topic, but I'm going to close this issue until a working sandbox application demonstrates all the functionality we want to bring to ScottPlot. At that point we can re-open it and this issue will track its implementation.

With the cartesian coordinates of grid lines endpoints, I could apply a matrix calculation to apply rototraslation of the grid. I think I can do that.


No ‘version’ key in the manifest file

“No ‘version’ key in the manifest file for custom integration ‘skodaconnect’. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of ‘skodaconnect’”

Fixed in 1.0.37


rpm mirrors flake

Such as
http://mirror.rackspace.com/CentOS/7.3.1611/updates/x86_64/Packages/tzdata-java-2017b-1.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
++ export status=FAILURE
purely environmental ... can't use openshift/origin flakes evidently for jenkins repo to satisfy rosie evidently

don't need this anymore ... just employing the delete comment / retrigger tests on flakes.


Parse 1.8.4 + Bolts 1.2.2 + XCode 7.1Beta + iOS 8.4 = Error

Parse 1.8.3 works well
Parse 1.8.4 throws lots of errors with compile like:
/Users/ancle/Documents/Ios/Webka/Webka/Pods/Headers/Public/Parse/PFAnalytics.h:44:4: Type arguments cannot be applied to non-parameterized class 'BFTask'

/Users/ancle/Documents/Ios/Webka/Webka/Pods/Headers/Public/Parse/PFObject.h:319:4: Type arguments cannot be applied to non-parameterized class 'BFTask'

What i need to do? Use 1.8.4 and test only with iOS9?
It will work on iOS8 devices after submit to AppStore?

Hey @anclefeudor thanks for the report!
I wonder if Xcode 7.1 changed something in generic type signatures.
Any chance you can test with Xcode 7 (it is available through Mac App Store now).

Xcode 7 works well.
Will watch for betas.

Oops, wait. There is reverse situation. Xcode 7 + Parse 1.8.4 dosen't works on iOS 9. I got same errors.

Quick thought. Are you sure you have the latest Bolts version? (Check BFTask.h) for cases BF_GENERIC.

Pod said "Using Bolts (1.2.2)"

The only thing I would suggest is to try cleaning your Derived Data, since that one could be stale.
As well as maybe removing Pods directory and reinstalling every single pod by running pod install.
It might be the case where the compiler is using the cached version of the headers instead of the latest one.

I am also having this issue

The issue should only appear if you are using old version of Bolts (pre 1.2.2), since that one doesn't have generic types in headers. It would be amazing to have a repro project for this, since neither I nor @richardjrossiii can reproduce this.

I am using Xcode 7.0, Parse 1.8.4, and Bolts 1.2.2. The weird part about this is that I am able to build my project on the simulator but unable to do so when I try to build it in my iPhone (an iPhone 5s). I originally had iOS 8.4 installed when I first ran into the problem and then I updated to iOS 9.0 and still ran into the same issue. I am going to try to update to the Xcode 7.1 beta and see if it was resolved

@dtaitz I suppose you tried cleaning Pods and Xcode DerivedData, right?

Yes I have. This started to occur when I installed Xcode 7.0 this morning.

Any chance you can attach a small project (it can be anything) that reproduce the problem for you?

@nlutsenko  I will add you as a collaborator on my project. Hold on.

@dtaitz Just checked out the project, ran pod install, opened the scheme and built for both Simulator and Device.
Proof attached: :D

Suggestion - try running git clean -xffd inside your local git checkout for the project.
This will remove everything that is ignored by git, so you have a clean checkout.

Thanks @nlutsenko ! I appreciate you spending the time helping me resolve this issue. I will run that command and see if it solves the issue!

It worked! Thanks again!

Woohoo!
Let me know if there is anything else I can help you with...

@anclefeudor Try using the same solution aka run git clean -xffd inside your repo.
It will delete every ignored file in your repository, so if you have any artifacts from old version of Bolts.framework - it will simply remove those.

Ok, i will try

Tried the above, didn't work..
1# by commenting those and run the 'pod install' command:
#pod 'FBSDKCoreKit'
#pod 'FBSDKLoginKit'
#pod 'Parse'

2# uncomment them and redo 'pod install' did the trick, as now Bolts 1.3.0 installed and used.

Perfect. That meant that probably Cocoapods were caching the old Bolts somewhere and deleting them/adding them helped.
I am going to close this issue, if someone still runs into this - please let us know in #297


Adjust permissions guide layout for small screens

Checklist

[x] All new and existing tests pass
[x] I've read the Contribution Guidelines
[x] I've read Change Limitations

Motivation and Context
This PR fixes #14.
Description
I've adjusted some auto layout constraints in order to better fit in small screens. However I cannot guarantee that this will work for every language, as some labels might be too long to fit with this rigid design.
In the future I'd also suggest to remove the permissions request at the first launch, as it doesn't fit well with the iOS HIG. Instead we should ask for permissions on demand, when the user might need them.
Attached you can see screenshots of the fixed layout.

Honestly I wouldn't spend too much time on such a small edge case. I can try, but instead I would rewrite the entire view controller when really needed.


Minor perf optimisations

Single particle system update instead of N fixed steps per frame.
Camera transforms caching (invalidate every frame).
I confirm I have signed the Contributor License Agreement.

Split on two PRs.


Improve the documentation

@mkistler files this original bug here
I think we should revise the documentation to organize the basic usage information first, with the details of the information later. We should also clearly indicate features that are supported and not supported (similar to query.md).

Jimi ... I think you addressed this issue in commit 6004745.  Agreed?
If so, how do mark this issue to indicate that?

@mkistler, yes I agree, this was resolved by 6004745.
(BTW: you can just type the SHA and it will make the link automajically, then click "Close and comment")


did not support http keep-alive?

the proxy to origin server does not keep-alive

Can you explain a bit more about what led you to that conclusion? Keep alive have been working well for me.

I put a nginx between user request and litteproxy, on high concurrent stress test,  the nginx and littleproxy didn't keep alive,   nginx config is correct,  a lot of close_wait and time_wait

picture: system architecture   look this picture,   the connection  c2,  c3 didn't keep alive

This still isn't conclusive; just because there are close_waits and time_waits doesn't mean keep-alive isn't working properly. There are a lot of reasons LP may close a connection to an upstream server, not least of which is receiving a Connection: close header in a response.
I can confirm that LP does in fact keep upstream connections alive by default, so we'll need some more information to help you out. It would be great to have a reproducible test case that demonstrates the problem you're seeing.

now I want use LittleProxy as an network gateway,  like Nginx,  can do uri validate, sign identity,  dynamic routing, monitoring, security, and High-throughput http transfer proxy,   did LP support this ??

I do a test,  the ClientToProxyConnections and ProxyToServerConnections is 1:1,   did LP support asyc process request ?

I'm going to close this issue since there seem to be multiple questions/issues. Feel free to open a new issue for each specific issue you're facing.


Update README.md

Links for basic setup were broken.

@nyxnor is this an edge case that is not correctly handled by the automated TOC generation?

@davisv7 thx - merging for the v1.7 branch

is this an edge case that is not correctly handled by the automated TOC generation?

Yes, its the dot in the link which should be removed.


If I paste anything in autocpmplete and try to search it gives me no options as result

Steps to reproduce
Steps:

Open this link to live example: (required)
Search the autocomplete with space at the start.

Current behavior

The automplete gives the reponse as no options.
provided scresshot for reference.

Expected behavior

The text should trim before it searches.

Context
No response
Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: autocomplete

@bkTechie31 You can use createFilterOptions for this, trim is one of the config options
const filterOptions = createFilterOptions({
  trim: true
});

export default function Filter() {
  return (
    <Autocomplete
      options={top100Films}
      getOptionLabel={(option) => option.title}
      filterOptions={filterOptions}
      sx={{ width: 300 }}
      renderInput={(params) => <TextField {...params} label="Custom filter" />}
    />
  );
}


Allow extensions to be able to make requests to the typescript extension's tsserver via commands

This PR relates to https://github.com/microsoft/TypeScript-Website/issues/2156 and https://github.com/microsoft/vscode/pull/138211
This allows other extensions to make calls to the TypeScript Language Server, saving the need to create a second set of parallel tsservice-like infra in extensions like the typescript playground.

Tested by an extensions which calls:
console.log("Sending")
vscode.commands.executeCommand('typescript.tsserverRequest', 'emit-output', { file: "/Users/ortatherox/dev/js/berry/packages/plugin-git/sources/GitResolver.ts" } ).then(r => {
	console.log("Sent")
	console.log(r)
})

Which correctly returns the response to the request on the other side:

( Fails look unrelated )

Updated based on a chat we had yesterday.
I've removed my custom try catch error handling, at this point all the commands are reads and I don't think it should be possible to knock over the tsserver with them.
I don't know all of the commands the playground needs, but realistically it's probably a subset of the amount I've added here. It's enough to provide pretty solid introspection tooling.

Thanks! LGTM


Documentation not up to date

The current documentation https://langchain.readthedocs.io/en/latest/modules/agents/getting_started.html seems to not be up to date with version 0.0.117:
 UserWarning: You are trying to use a chat model. This way of initializing it is no longer supported. Instead, please use: `from langchain.chat_models import ChatOpenAI`

EDIT: to be more precise, this only happens if I try to change model_name to "gpt-3.5-turbo"

I have the same warning.
bot = VectorDBQA.from_llm(
        k=4,
        llm=OpenAI(model_name="gpt-3.5-turbo", temperature=0),
        vectorstore=db,
        return_source_documents=True,
    )

Try using
from langchain.chat_models import ChatOpenAI
llm = ChatOpenAI(temperature=0, model_name='gpt-3.5-turbo')

I want to create GPTSimpleVectorIndex.query with llm_predictor.
But I met warning:
You are trying to use a chat model. This way of initializing it is no longer supported. Instead, please use:
from langchain.chat_models import ChatOpenAI
so how to I modify my code to supress this warning
from langchain import OpenAI
from langchain.chat_models import ChatOpenAI
args = dict(
        temperature=0.5,
        model_name='gpt-3.5-turbo',
        max_tokens=2000,
    )
llm = LLMPredictor(llm=OpenAIChat(**args))

GPTSimpleVectorIndex(SimpleDirectoryReader('/path').load_data(), llm_predictor=llm, ...).query('some questiongs')

It also throws that error for LLMMathChain when I had to use OpenAI() as llm parameter

I did the same thing:
from langchain import OpenAI
# from langchain.chat_models import ChatOpenAI

llm = OpenAI(model_name="gpt-4", temperature=0.9)
# llm = ChatOpenAI(model_name="gpt-4", temperature=0.9)

I still get the same errors:

[/Users/nick/Library/Caches/pypoetry/virtualenvs/chatmfl-wJULhpjL-py3.10/lib/python3.10/site-packages/langchain/llms/openai.py:169](https://file+.vscode-resource.vscode-cdn.net/Users/nick/Library/Caches/pypoetry/virtualenvs/chatmfl-wJULhpjL-py3.10/lib/python3.10/site-packages/langchain/llms/openai.py:169): UserWarning: You are trying to use a chat model. This way of initializing it is no longer supported. Instead, please use: `from langchain.chat_models import ChatOpenAI`
  warnings.warn(
[/Users/nick/Library/Caches/pypoetry/virtualenvs/chatmfl-wJULhpjL-py3.10/lib/python3.10/site-packages/langchain/llms/openai.py:608](https://file+.vscode-resource.vscode-cdn.net/Users/nick/Library/Caches/pypoetry/virtualenvs/chatmfl-wJULhpjL-py3.10/lib/python3.10/site-packages/langchain/llms/openai.py:608): UserWarning: You are trying to use a chat model. This way of initializing it is no longer supported. Instead, please use: `from langchain.chat_models import ChatOpenAI`
  warnings.warn(

llm = ChatOpenAI(temperature=0, model_name='gpt-3.5-turbo')

As a novice, I wonder how to pass vectorstore into this function

Try using
from langchain.chat_models import ChatOpenAI
llm = ChatOpenAI(temperature=0, model_name='gpt-3.5-turbo')

How does memory work with the ChatOpenAI constructor? With the LLMChain, it was a constructor parameter:
chatgpt_chain = LLMChain(
        llm=OpenAI(temperature=0, model_name="gpt-3.5-turbo", streaming=False, callback_manager=callback_manager),
        prompt=prompt,
        verbose=True,
        memory=memory,
        callback_manager=callback_manager
    )

Why is the chat model warning set to go off for gpt-4? Isn't GPT-4 a completion model?

I was under the impression that GPT-4 was a text completion model.

As this issue is still open:
gpt-3.5-turbo is a Chat model, not a completion model. Same for gpt-4.
OpenAI llm is a completion model, not a Chat model, that's why you get this warning.
The currently most advanced available completion model is text-davinci-003.
llm = OpenAI(model_name="text-davinci-003")

The current documentation https://langchain.readthedocs.io/en/latest/modules/agents/getting_started.html seems to not be up to date with version 0.0.117:
 UserWarning: You are trying to use a chat model. This way of initializing it is no longer supported. Instead, please use: `from langchain.chat_models import ChatOpenAI`

EDIT: to be more precise, this only happens if I try to change model_name to "gpt-3.5-turbo"

I used that i still have the same issue that it's not resolved

I'm currently getting this issue:

And the python script was working correctly literally two days ago. My importing is like this:
from gpt_index import SimpleDirectoryReader, GPTListIndex, GPTSimpleVectorIndex,LLMPredictor, PromptHelper
from langchain.chat_models import ChatOpenAI
import gradio as gr
import sys, time
import os

In the current documentation it doesn't seem to be a new way of importing.


Bi-directional links

@MichaelCMcCann https://github.com/arturo-lang/arturo/issues/23

Also, it would be nice if one could make certain links bi-directional. For example, rather than:
"Bob  -> wife -> Sally”
A dual link such as: “Bob -> Husband/Wife <- Sally”
Many such links could be predetermined, so that “Bob -> Employee -> Google” would automatically create the connection “Google -> Employer -> Bob”

@MichaelCMcCann
This is an interesting point which I've though a lot about.
The initial, instinctive idea is to think of the relationships as uni-directional vectors. So, it can be either:

A->B
B->A, or...
(both) A<->B.

However, many well-know Graph databases, pretty much eliminate the need for such distinction.
So, in that sense (not that it's final - I'm still open to counter-arguments), I decided to make all links direction-agnostic. What is missing is a direction-agnostic search.
In a few words, the way the database is set up right now, A->B, automatically infers the opposite relationship.
What is not possible so far is to search this relationship in both directions (but is something that can be easily implement and I will included it soon...)

@MichaelCMcCann
This is an interesting point which I've though a lot about.
The initial, instinctive idea is to think of the relationships as uni-directional vectors. So, it can be either:

A->B
B->A, or...
(both) A<->B.

However, many well-know Graph databases, pretty much eliminate the need for such distinction.
So, in that sense (not that it's final - I'm still open to counter-arguments), I decided to make all links direction-agnostic. What is missing is a direction-agnostic search.
In a few words, the way the database is set up right now, A->B, automatically infers the opposite relationship.
What is not possible so far is to search this relationship in both directions (but is something that can be easily implement and I will included it soon...)


How to configure superset on Apache http ?

Make sure these boxes are checked before submitting your issue - thank you!

[X] I have checked the superset logs for python stacktraces and included it here as text if any
[x] I have reproduced the issue with at least the latest released version of superset
[X] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.23
Expected results
Actual results
Steps to reproduce

Like any other flask project, see flask documentation

This can probably help you: http://flask.pocoo.org/docs/1.0/deploying/mod_wsgi/
@kristw please close


The search doesn't complete

Below is the output of the mod, right after I spawned into the end:
Looking for pillar seeds...
Finished search with [33283] seed.
Looking for structure seeds with 12 structure features.
Looking for structure seeds with 28 decorator features.
Completed thread 1!
Completed thread 0!
Completed thread 3!
Completed thread 2!
Finished search with [106325158578193] seed.
Looking for world seeds with 15 biomes.
Finished search with [2680311053397444625] seed.

Then, it stops. No more output from the mod.
Structure features detected: 2 end cities, 1 ocean monument, 1 buried treasure, a few shipwrecks, and maybe some other features.
MC Version: 1.15.2
Expected behaviour: return seed or failure message.

2680311053397444625 is your world seed, congrats! :D

Oh, my bad for not understanding the output :P Thanks a lot.

Ummm I'm sorry but do you mind deleting this issue? I'm sorry for the inconvenience... :(

Nope, you're supposed to close the issue when you're done. It's all good man.

Uh, the problem is that I realized that I shouldn't use this mod on a server I play on so I'm worried that someone might be able to see this :(


Wrong compatibility declaration

Issue
The add-on claims to be compatible with NVDA 2019.3 onwards.
Testing with 2023.1, I get the following error at startup:
ERROR - globalPluginHandler.listPlugins (09:51:31.598) - MainThread (1496):
Error importing global plugin MathCAT
Traceback (most recent call last):
  File "globalPluginHandler.pyc", line 23, in listPlugins
  File "importlib\__init__.pyc", line 127, in import_module
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\CB232690\AppData\Roaming\nvda\addons\MathCAT\globalPlugins\MathCAT\__init__.py", line 19, in <module>
    from .MathCAT import MathCAT
  File "C:\Users\CB232690\AppData\Roaming\nvda\addons\MathCAT\globalPlugins\MathCAT\MathCAT.py", line 26, in <module>
    from . import libmathcat        # type: ignore
ImportError: DLL load failed: La procédure spécifiée est introuvable.

Probably because the .pyd file is a Python 3.11 one, not a 3.7 one.
Solution

Either fix the issue with older NVDA version and recheck it with them. For example, add both the .pyd for 3.11 and 3.7 and configure the import path according to Python version
Or reduce compatibility range

Thanks for the report. Someone else already mentioned that to me and the fix will show up in the next release (hopefully this week).
The reason for the incompatibility is, as you surmised, the switch to python 3.11.


Need something good for Jobs

AMQP based

https://jtreminio.com/2015/12/queues-working-smart-faster-in-parallel/

find good model for rabbitmq


Removed template

I'm sure it could be done better.. but I think it's cleaner than having a full copy of readme.md just for one number..

and for these updates.. #66 #69  no need to update two files from now on..

Thanks for the suggestion and code, @lipis.
I won't be making this change at this time.

oki :)


Rechat no longer compatible with Firefox because of addon signing

Firefox now has add-on signing as of version 41, and the latest version is unverified, so Firefox will straight up refuse to install it. The signed version on the official add-on repo is version <IP_ADDRESS>, and doesn't work

Not much I can do about that. Unfortunately review times are currently around 10 to 12 weeks. I suggest switching to a browser with a functioning add-on reviews system.

Update: Looks like it is possible to have your updates automatically signed if you "unlist" your add-on. I did that but ReChat currently does not support e10s which is why it will still not work with Firefox 41.


support input user search in translate language

if _filterByName and the user language not English will not Work, For that i added this

good catch, thank you

I was waiting for a fix for an issue on the flutter side but it does not seem to be coming that's why it took some time. I'll push on pubdev tomorrow


Remove use of unique_id() for handler registration

The unique_id() was not needed because the same enable/disable callback
handler can be used across TransferManagers. When using unique_id(), it
would cause a memory leak when the same client was used for multiple
TransferManagers as the handler would always get registered on
instantiation.
Fixes https://github.com/boto/boto3/issues/819
cc @jamesls @JordonPhillips

@jamesls I updated based on feedback. Should be good to look at again.


Add test-skfs target, unbreak tests

The skfs tests, which includes the tests for the stdlib, are not run
by any of the existing test targets, and seem to be only rarely
triggered in the CI. As a result they have been broken for a while.
This PR adds a test-skfs target, makes test depend on it, and
unbreaks the tests.

Great stuff!


NeoVim: No completion working, even though LSP attaches and is available as source

I have installed Marksman with Mason, and set it up with LSP config.
My config works for all other LSP servers, but marksman does not work at all. No autocompletion, linking etc.
The LSP does attach to the buffer:

CmpStatus shows that it is available as a source:

The LspLog output the following messages when opening a markdown file:
[START][2024-02-01 04:25:48] LSP logging initiated
[ERROR][2024-02-01 04:25:48] .../vim/lsp/rpc.lua:734 | "rpc" | "/Users/[username]/.local/share/nvim/mason/bin/marksman" | "stderr" | "[04:25:48 INF] <LSP Entry> Starting Marksman LSP server: {}\n"
This is my LSP config (I'm using nvim-cmp for completion):
return {
    'williamboman/mason.nvim',
    dependencies = {
        'williamboman/mason-lspconfig.nvim',
        'neovim/nvim-lspconfig',
        'hrsh7th/cmp-nvim-lsp',
    },
    config = function()
        require('mason').setup { }
        require('mason-lspconfig').setup {
            ensure_installed = { 'bashls', 'lua_ls', 'texlab', 'pyright', 'taplo', 'marksman' },
            automatic_installation = true
        }
        require('mason-lspconfig').setup_handlers {
            function(server)
                require('lspconfig')[server].setup{
                    capabilities = require('cmp_nvim_lsp').default_capabilities(),
                }
            end
        }
    end
}

and my nvim-cmp config:
return {
    'hrsh7th/nvim-cmp',
    dependencies = {
        'hrsh7th/cmp-buffer',
        'hrsh7th/cmp-path',
        'hrsh7th/cmp-cmdline',
        'hrsh7th/cmp-nvim-lua',
        'L3MON4D3/LuaSnip',
        'saadparwaiz1/cmp_luasnip',
        'hrsh7th/cmp-nvim-lsp',
    },
    config = function()
        local cmp = require('cmp')
        cmp.setup {
            snippet = {
                expand = function(args)
                    require('luasnip').lsp_expand(args.body)
                end
            },
            mapping = cmp.mapping.preset.insert {
                ['<C-k>'] = cmp.mapping.confirm({ select = true }),
                ['<C-d>'] = cmp.mapping.scroll_docs(-4),
                ['<C-f>'] = cmp.mapping.scroll_docs(4),
            },
            sources = {
                { name = 'luasnip' },
                { name = 'nvim_lsp' },
                { name = 'nvim_lua' },
                { name = 'buffer', keyword_length = 3 },
                { name = 'path' },
            },
            formatting = {
                format = function(entry, vim_item)
                    local abbrev = {
                        buffer = "buf",
                        nvim_lsp = "LSP",
                        nvim_lua = "nvim",
                        path = "path",
                        luasnip = "snip",
                        cmdline = "cmd"
                    }
                    local source = entry.source.name
                    vim_item.menu = "[" .. abbrev[source] .. "]"
                    return vim_item
                end
            }
        }
        cmp.setup.cmdline(':', {
            mapping = cmp.mapping.preset.cmdline(),
            sources = {
                { name = 'path' },
                { name = 'cmdline' },
            }
        })
        cmp.setup.cmdline('/', {
            mapping = cmp.mapping.preset.cmdline(),
            sources = {
                { name = 'buffer' },
            }
        })
        vim.api.nvim_set_keymap('i', '<c-h>', '<cmd>lua vim.lsp.buf.signature_help()<cr>', { noremap = true, silent = true })
    end
}

Originally posted by @soer9459 in https://github.com/artempyanykh/marksman/discussions/294

Same here for me. Almost the exact config settings, same CmpStatus, same LspInfo output. I also checked out these similar issues: https://github.com/artempyanykh/marksman/issues/204#issuecomment-1751657224 and https://github.com/artempyanykh/marksman/issues/11#issuecomment-1145874079. But didn't change anything.
Would appreciate a solution very much, since my notes are kind of hard to skim through without working completion for links etc.

Same here for me. Almost the exact config settings, same CmpStatus, same LspInfo output. I also checked out these similar issues: #204 (comment) and #11 (comment). But didn't change anything.
Would appreciate a solution very much, since my notes are kind of hard to skim through without working completion for links etc.
Edit: I further tried to add an .marksman.toml file to my notes folder (as suggested here). Now at least the checking system works and warns me if the wikilink has an unknown filename. But completion suggestions are still not available...

Yes, I have exactly the same experience. Adding the .marksman.toml file adds wiki-link completion and check for correct referencing. No other features are available though

Same problem...

Had the same issue, after adding .marksman.toml to the root of my nots directory i got completion and go to definition working
Which ig makes sense, since it needs some reference point where to start scanning from
Here are my setup specs:
$ nvim --version
NVIM v0.10.0-dev-2680+gd3e51603b
Build type: RelWithDebInfo
LuaJIT 2.1.1710088188
Run "nvim -V1 -v" for more info

Using lazy with lspconfig
lspconfig.marksman.setup({})

I may be a little late to the party but I got similar issues. References are working but neither highlighting nor completion seems to work.
NeoVim information
$ nvim --version
NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1692716794

I use lsp-zero which is based on lsp-config and Mason. My lsp config for marksman looks like this:
lsp.configure("marksman", {
    -- on_attach = function(client, bufnr)
    --     ih.on_attach(client, bufnr)
    -- end,
    cmd = { "marksman", "server" }
})

The commented out part was only for inlay-hints integration. I thought this might be the problem but it was not.
After reading this thread, I created the .marksman.toml file at my projects root and also got debug logs. They look like this:
[INFO][2024-04-15 15:59:58] .../vim/lsp/rpc.lua:662	"Starting RPC client"	{  args = { "server" },  cmd = "/home/<user>/.local/share/nvim/mason/bin/marksman",  extra = {    cwd = "/home/<user>/Development/sldde"  }}
[DEBUG][2024-04-15 15:59:58] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 1,  jsonrpc = "2.0",  method = "initialize",  params = {    capabilities = {      textDocument = {        callHierarchy = {          dynamicRegistration = false        },        codeAction = {          codeActionLiteralSupport = {            codeActionKind = {              valueSet = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" }            }          },          dataSupport = true,          dynamicRegistration = false,          isPreferredSupport = true,          resolveSupport = {            properties = { "edit" }          }        },        completion = {          completionItem = {            commitCharactersSupport = true,            deprecatedSupport = true,            documentationFormat = { "markdown", "plaintext" },            insertReplaceSupport = true,            insertTextModeSupport = {              valueSet = { 1, 2 }            },            labelDetailsSupport = true,            preselectSupport = true,            resolveSupport = {              properties = { "documentation", "detail", "additionalTextEdits", "sortText", "filterText", "insertText", "textEdit", "insertTextFormat", "insertTextMode" }            },            snippetSupport = true,            tagSupport = {              valueSet = { 1 }            }          },          completionItemKind = {            valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 }          },          completionList = {            itemDefaults = { "commitCharacters", "editRange", "insertTextFormat", "insertTextMode", "data" }          },          contextSupport = true,          dynamicRegistration = false,          insertTextMode = 1        },        declaration = {          linkSupport = true        },        definition = {          linkSupport = true        },        documentHighlight = {          dynamicRegistration = false        },        documentSymbol = {          dynamicRegistration = false,          hierarchicalDocumentSymbolSupport = true,          symbolKind = {            valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }          }        },        foldingRange = {          dynamicRegistration = false,          lineFoldingOnly = true        },        hover = {          contentFormat = { "markdown", "plaintext" },          dynamicRegistration = false        },        implementation = {          linkSupport = true        },        publishDiagnostics = {          relatedInformation = true,          tagSupport = {            valueSet = { 1, 2 }          }        },        references = {          dynamicRegistration = false        },        rename = {          dynamicRegistration = false,          prepareSupport = true        },        semanticTokens = {          augmentsSyntaxTokens = true,          dynamicRegistration = false,          formats = { "relative" },          multilineTokenSupport = false,          overlappingTokenSupport = true,          requests = {            full = {              delta = true            },            range = false          },          serverCancelSupport = false,          tokenModifiers = { "declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary" },          tokenTypes = { "namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator", "decorator" }        },        signatureHelp = {          dynamicRegistration = false,          signatureInformation = {            activeParameterSupport = true,            documentationFormat = { "markdown", "plaintext" },            parameterInformation = {              labelOffsetSupport = true            }          }        },        synchronization = {          didSave = true,          dynamicRegistration = false,          willSave = true,          willSaveWaitUntil = true        },        typeDefinition = {          linkSupport = true        }      },      window = {        showDocument = {          support = true        },        showMessage = {          messageActionItem = {            additionalPropertiesSupport = false          }        },        workDoneProgress = true      },      workspace = {        applyEdit = true,        configuration = true,        didChangeWatchedFiles = {          dynamicRegistration = false,          relativePatternSupport = true        },        semanticTokens = {          refreshSupport = true        },        symbol = {          dynamicRegistration = false,          hierarchicalWorkspaceSymbolSupport = true,          symbolKind = {            valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }          }        },        workspaceEdit = {          resourceOperations = { "rename", "create", "delete" }        },        workspaceFolders = true      }    },    clientInfo = {      name = "Neovim",      version = "0.9.4"    },    initializationOptions = vim.empty_dict(),    processId = 99037,    rootPath = "/home/<user>/Development/sldde",    rootUri = "file:///home/<user>/Development/sldde",    trace = "off",    workspaceFolders = { {        name = "/home/<user>/Development/sldde",        uri = "file:///home/<user>/Development/sldde"      } }  }}
[ERROR][2024-04-15 15:59:59] .../vim/lsp/rpc.lua:734	"rpc"	"/home/<user>/.local/share/nvim/mason/bin/marksman"	"stderr"	"[15:59:59 INF] <LSP Entry> Starting Marksman LSP server: {}\n"
[DEBUG][2024-04-15 16:00:00] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 1,  jsonrpc = "2.0",  result = {    capabilities = {      codeActionProvider = {        resolveProvider = false      },      codeLensProvider = vim.empty_dict(),      completionProvider = {        triggerCharacters = { "[", "#", "(" }      },      definitionProvider = true,      documentSymbolProvider = true,      executeCommandProvider = {        commands = {}      },      hoverProvider = true,      referencesProvider = true,      renameProvider = {        prepareProvider = true      },      semanticTokensProvider = {        full = {          delta = false        },        legend = {          tokenModifiers = {},          tokenTypes = { "class", "class", "enumMember" }        },        range = true      },      textDocumentSync = {        change = 1,        openClose = true      },      workspace = {        fileOperations = {          didCreate = {            filters = { {                pattern = {                  glob = "**/*.{md,markdown}",                  matches = "file",                  options = {                    ignoreCase = true                  }                }              } }          },          didDelete = {            filters = { {                pattern = {                  glob = "**/*.{md,markdown}",                  matches = "file",                  options = {                    ignoreCase = true                  }                }              } }          }        },        workspaceFolders = {          changeNotifications = true,          supported = true        }      },      workspaceSymbolProvider = true    }  }}
[DEBUG][2024-04-15 16:00:00] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "initialized",  params = vim.empty_dict()}
[INFO][2024-04-15 16:00:00] .../lua/vim/lsp.lua:1344	"LSP[marksman]"	"server_capabilities"	{  server_capabilities = {    codeActionProvider = {      resolveProvider = false    },    codeLensProvider = vim.empty_dict(),    completionProvider = {      triggerCharacters = { "[", "#", "(" }    },    definitionProvider = true,    documentSymbolProvider = true,    executeCommandProvider = {      commands = {}    },    hoverProvider = true,    referencesProvider = true,    renameProvider = {      prepareProvider = true    },    semanticTokensProvider = {      full = {        delta = false      },      legend = {        tokenModifiers = {},        tokenTypes = { "class", "class", "enumMember" }      },      range = true    },    textDocumentSync = {      change = 1,      openClose = true    },    workspace = {      fileOperations = {        didCreate = {          filters = { {              pattern = {                glob = "**/*.{md,markdown}",                matches = "file",                options = {                  ignoreCase = true                }              }            } }        },        didDelete = {          filters = { {              pattern = {                glob = "**/*.{md,markdown}",                matches = "file",                options = {                  ignoreCase = true                }              }            } }        }      },      workspaceFolders = {        changeNotifications = true,        supported = true      }    },    workspaceSymbolProvider = true  }}
[DEBUG][2024-04-15 16:00:00] .../vim/lsp/rpc.lua:284	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didOpen",  params = {    textDocument = {      languageId = "markdown",      text = "<some requirements.md file content>",      uri = "file:///home/<user>/Development/sldde/doc/requirements.md",      version = 0    }  }}
[DEBUG][2024-04-15 16:00:00] .../lua/vim/lsp.lua:1391	"LSP[marksman]"	"client.request"	2	"textDocument/semanticTokens/full"	{  textDocument = {    uri = "file:///home/<user>/Development/sldde/doc/requirements.md"  }}	<function 1>	4
[DEBUG][2024-04-15 16:00:00] .../vim/lsp/rpc.lua:284	"rpc.send"	{  id = 2,  jsonrpc = "2.0",  method = "textDocument/semanticTokens/full",  params = {    textDocument = {      uri = "file:///home/<user>/Development/sldde/doc/requirements.md"    }  }}
[DEBUG][2024-04-15 16:00:00] .../vim/lsp/rpc.lua:387	"rpc.receive"	{  id = 2,  jsonrpc = "2.0",  result = {    data = {}  }}

I do not know anything about the LS protocoll but the last rpc.receive only contains empty data. Maybe that is normal but idk. Just seems odd to me.
I also tested it with a minimalistic Markdown file since the one I want to edit is pretty large. It yielded the same log output except different paths and file content as you would expect but it was not working either.

Same here

I ran into a similar issue, and fixed it by ensuring that on_attach and capabilities are defined in the setup for the marksman server like this.


Responsive layout bugs

There are various display issues with the responsive layout (ie. when the window is resized to a smaller viewport width, the layout will change to reflect that smaller width) - let's use this issue to list the various bugs we find. If any of them are big enough to warrant it, we can make more issues as needed.

On equipment_models show view, making the window a certain width causes the table format to break.


fix(client): use babel polyfill for async

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.

Closes #34572

We can't bundle this polyfill. @Bouncey can correct me if I'm wrong.
Could we do it in another PR with other links?

The client app uses the next non-freeCodeCamp links now:

https://cdnjs.cloudflare.com/ajax/libs/sass.js/0.10.11/sass.sync.min.js
https://cdnjs.cloudflare.com/ajax/libs/chai/4.2.0/chai.min.js
https://cdnjs.cloudflare.com/ajax/libs/d3/5.7.0/d3.min.js
https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-AMS_HTML
<EMAIL_ADDRESS>https://cdnjs.cloudflare.com/ajax/libs/normalize/4.2.0/normalize.min.css
https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/7.0.0/polyfill.min.js <-- added with this PR

additionally from challenge files:

https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css
https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.2.0/animate.css
https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.css
<EMAIL_ADDRESS><EMAIL_ADDRESS>https://cdnjs.cloudflare.com/ajax/libs/redux/3.7.2/redux.min.js
https://cdnjs.cloudflare.com/ajax/libs/react-redux/5.0.7/react-redux.min.js

Could we do it in another PR with other links?

YES PLEASE!
Thanks a lot for taking the time to find this comprehensive list.


fix(executor): Fix compatibility issue with k8s>=1.21 when selfLink is no longer populated

We cannot use obj.GetSelfLink() directly since it is deprecated and will be removed after Kubernetes 1.21: https://github.com/kubernetes/enhancements/tree/master/keps/sig-api-machinery/1164-remove-selflink
Signed-off-by: terrytangyuan<EMAIL_ADDRESS>Checklist:

[x] My organization is added to USERS.md.

Tips:

Your PR needs to pass the required checks before it can be approved. If the check is not required (e.g. E2E tests) it does not need to pass
Sign-off your commits to pass the DCO check: git commit --signoff.
Run make pre-commit -B to fix codegen or lint problems.
Say how how you tested your changes. If you changed the UI, attach screenshots.

Build for "Semantic Pull Request" was stuck so I had to rebase and force push. @alexec Could you enable auto-merge again?


why do the quarter to regular log and back recipes only give 3?

I would think it should be a 1 to 1 ratio

It's intended to match the vanilla recipe in Minecraft 1.13 and above: https://minecraft.gamepedia.com/Wood#Crafting

Actually, I think this was just a compensation for quarter logs having less bark sides than normal logs, but i guess it wouldn't be too bad to just make it one to one


Added Jest unit test framework dependency and configuration

Added Jest unit test framework dependency. It looks interesting, specially the watch mode where you can execute only failed tests, or some subset of them.

were you able to mock typeorm repositories in the controller?

were you able to mock typeorm repositories in the controller?

let me have a look and I will let you know. Im going to try to add an example with the mock. Thnx for the review ;)

let me have a look and I will let you know. Im going to try to add an example with the mock. Thnx for the review ;)

Something like jest.mock('typeorm', () => ({ getRepository: jest.fn() })); should do. https://stackoverflow.com/questions/61693597/how-to-mock-typeorms-getcustomrepository

Something like jest.mock('typeorm', () => ({ getRepository: jest.fn() })); should do. https://stackoverflow.com/questions/61693597/how-to-mock-typeorms-getcustomrepository

just fixed a couple of things in master by the way

just fixed a couple of things in master by the way

Still working on it, adding some fine tests for UserController as example for any other controller.

Still working on it, adding some fine tests for UserController as example for any other controller.

Added 100% coverage to UserController class.
I am not very familiar with Jest and Typescript types system. I do not know if Jest is the best possible option... maybe you should think about it.

Added 100% coverage to UserController class.
I am not very familiar with Jest and Typescript types system. I do not know if Jest is the best possible option... maybe you should think about it.

It looks just great, if you want pull master into your branch and we can merge this into master and release 1.8 :)

Pulled master into the branch, have a look

good to go :)


Fix intended location of search icon

The match helper was not referring to the right custom setting

That's a great one! Thanks @tmlmt :)


Test coveralls

Coverage decreased (-1.8%) to 79.472% when pulling 4eb99ddd2c0ee9d25117ab8f219cfa9d18153686 on test-coveralls into e3edcb93e6f07ba11091b26124cd67f26fa54089 on master.


Brings sbt-frees-protogen as a separate Artifact

Towards fixing of https://github.com/frees-io/freestyle-rpc/issues/25, this PR separates the protocol buffer files generation from the frees-rpc core.

Codecov Report

Merging #49 into master will decrease coverage by 0.08%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #49      +/-   ##
==========================================
- Coverage   12.01%   11.92%   -0.09%
==========================================
  Files          20       21       +1
  Lines         283      285       +2
  Branches        2        1       -1
==========================================
  Hits           34       34
- Misses        249      251       +2

Impacted Files
Coverage Δ

protogen/src/main/scala/proto/converters.scala
0% <ø> (ø)

rpc/src/main/scala/proto/annotations.scala
0% <ø> (ø)
:arrow_up:

protogen/src/main/scala/ProtoCodeGen.scala
0% <ø> (ø)

protogen/src/main/scala/proto/encoders.scala
0% <ø> (ø)

protogen/src/main/scala/proto/processors.scala
0% <ø> (ø)

protogen/src/main/scala/ProtoGenPlugin.scala
0% <0%> (ø)

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 39e7d44...fbf29de. Read the comment docs.


Running on raspbian

Ho can I use openCvSharp4 on a raspberry pi4 or pi-top?
I can seem to find a suitable runtime package.

Adding to this question:
What is the procedure to use openCvSharp4 & openCV using .NET Core on a raspbbebrry pi4?

So far it seems I need to follow the instructions for building it from source like with the Ubuntu. Is there any plan to start providing a runtime nuget package for the raspberry pi 4 architecture?

actually what you should do is  building opencv static library on pi or cross compiling on PC,
then built OpenCvSharpExtern with static library of opencv.

That is enough to get unlocked but I was wondering if there is any plan to have the PI world covered with an official nuget package

I see unspecified for arm platform in github but not such packages published yet. Is it going to happen at any point?

@AvenSun Sorry for interrupting you but can guide me how to build opencvsharp for jetson nano ? Since i'm trying to achieve the same thing but still can't manage to get it to work

@AvenSun Sorry for interrupting you but can guide me how to build opencvsharp for jetson nano ? Since i'm trying to achieve the same thing but still can't manage to get it to work


ValueError: class ConcatDataset in mmengine/dataset/dataset_wrapper.py: The meta information of the 2-th dataset does not match meta information of the first dataset

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/mmengine/registry/build_functions.py", line 122, in build_from_cfg
obj = obj_cls(**args)  # type: ignore
File "/usr/local/lib/python3.9/site-packages/mmengine/dataset/dataset_wrapper.py", line 77, in init
raise ValueError(
ValueError: The meta information of the 2-th dataset does not match meta information of the first dataset
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/mmengine/registry/build_functions.py", line 122, in build_from_cfg
obj = obj_cls(**args)  # type: ignore
File "/usr/local/lib/python3.9/site-packages/mmengine/runner/loops.py", line 219, in init
super().init(runner, dataloader)
File "/usr/local/lib/python3.9/site-packages/mmengine/runner/base_loop.py", line 26, in init
self.dataloader = runner.build_dataloader(
File "/usr/local/lib/python3.9/site-packages/mmengine/runner/runner.py", line 1346, in build_dataloader
dataset = DATASETS.build(dataset_cfg)
File "/usr/local/lib/python3.9/site-packages/mmengine/registry/registry.py", line 548, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "/usr/local/lib/python3.9/site-packages/mmengine/registry/build_functions.py", line 144, in build_from_cfg
raise type(e)(
ValueError: class ConcatDataset in mmengine/dataset/dataset_wrapper.py: The meta information of the 2-th dataset does not match meta information of the first dataset
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/properpay/mmdetection/tools/train.py", line 133, in
main()
File "/properpay/mmdetection/tools/train.py", line 129, in main
runner.train()
File "/usr/local/lib/python3.9/site-packages/mmengine/runner/runner.py", line 1687, in train
self._train_loop = self.build_train_loop(
File "/usr/local/lib/python3.9/site-packages/mmengine/runner/runner.py", line 1479, in build_train_loop
loop = LOOPS.build(
File "/usr/local/lib/python3.9/site-packages/mmengine/registry/registry.py", line 548, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "/usr/local/lib/python3.9/site-packages/mmengine/registry/build_functions.py", line 144, in build_from_cfg
raise type(e)(
ValueError: class IterBasedTrainLoop in mmengine/runner/loops.py: class ConcatDataset in mmengine/dataset/dataset_wrapper.py: The meta information of the 2-th dataset does not match meta information of the first dataset

Have you solved the problem?

try add  ignore_keys=['dataset_type']
as it shows in configs/_base_/datasets/voc0712: https://github.com/open-mmlab/mmdetection/blob/main/configs/base/datasets/voc0712.py#L51

go to:
"/usr/local/lib/python3.9/site-packages/mmengine/dataset/dataset_wrapper.py", line 77
and then cut out the code:
if (isinstance(self._metainfo[key], np.ndarray)
and not np.array_equal(self._metainfo[key],
dataset.metainfo[key])
or (not isinstance(self._metainfo[key], np.ndarray)
and self._metainfo[key] != dataset.metainfo[key])):
raise ValueError(
f'The meta information of the {i}-th dataset does not '
'match meta information of the first dataset')
OK.


Tamil Yogi doesnt list any

Can you please check Tamil yogi which doesnt list any items in the list. Please take a look

Tamil Yogi have enabled Cloudflare DDOS protection, will have to recode the site access.

Fixed in DD1.6.3


Suggestion to add a warning if trying to flash over SSH

I had the same problem as reported in issue #409: The process appeared to stop after the message "Starting AP in a screen" (because setting up the AP dropped the SSH connection I had to the Raspberry Pi).
Could you perhaps add a warning that is printed if ./start_flash.sh is called from within an SSH session? You could check whether the SSH_CONNECTION variable is set.

Nice suggestion, thanks for the tip!

I run Tuya-Convert on a headless RPi 3B. So I always run Tuya-Convert over SSH. What does this and #409 imply for my setup?

You don’t need to worry if it works for you. A problem occurs only when the SSH connection runs via the same WiFi interface that Tuya-Convert uses to open an access point (AP). If it works for you, I would guess that you SSH into your Raspberry Pi through an ethernet cable. Is that correct?
Perhaps the message should not be phrased as a warning, more as a "hint". Something like this (perhaps shown only when SSH_CONNECTION is set):
Hint: The following step drops any SSH connections that use the WiFi interface. If you see no further messages, use SSH over a cable connection or a local terminal.
Starting AP in a screen

OK, yes, I always use the eth0 connection for the SSH session leaving the wlan0 interface for Tuya-Convert. In any case, yes one interface devoted to SSH, while a Wi-Fi interface is left free for Tuya-Convert.

Seconded this request.  The main documentation suggests using a pi, so I assumed that it would be running in AP and client mode.  Was rudely surprised.
I was able to work around it by putting myself in a screen before I ran ./start_flash.  that way when I lost connection I could attach my phone the the VTRUST ssid (as is required anyway) I could ssh back in and take over the screen with screen -rd


Issue 318

Seeing how many CacheManager.init() calls are getting added, I am wondering if we should not have a CacheManagerBuilder.buildAndInit or as @alexsnaps mentioned at one point CacheManagerBuild.build(boolean init)

This pull request needs a rebase, it branches off a commit from a previous PR and not from master.

So we let that slip through the cracks for m1 :(
That being said, I'm fine discussing the approach though. I like the .build(bool init) personally, as it forces you to think about what to do, while avoiding polluting the builder with builder methods...

See comment on #318

Updated, and should be good to go... May want to double check the docs...
This has been a merge hell


Try running golanglint-ci in GHA

lint errors now appear directly in the PR

@chainlink I love that it can show up in the PR. but I think thats the same linter running in circle https://github.com/pachyderm/pachyderm/blob/17f26fba75bb022952c2b83c70d7b981b6c75894/etc/testing/lint.sh#L22


Make Relaxation Exercises page

Make www.localhost:3000/exercises page
https://www.figma.com/file/HaPz9dW7FMApU9tyqfKJ59/AImpower-team-library?type=design&node-id=155-2575&mode=design&t=a2Vb6qUR3SNcSIlQ-0

Screenshot :

Youtube embedding has issues, trying to embed video files directly @samikpal


Add support for STATIC_CHECK to test compile-time/constexpr expressions

This has been requested on reddit.
Relevant bit of the discussion copied here:
Having reviewed this some more, Catch2 already defines STATIC_CHECK as just static_assert, and they have a pre-processor value to convert that to a runtime check instead. But they won't ever run both the compile-time and run-time check at the same time. I think it would be confusing to have snitch do both, for this reason.
I am thinking however that we could call it something new and different, like CONSTEXPR_CHECK(expr), which would expand to something equivalent to
CHECK(std::bool_constant<(expr)>::value); // compile-time eval, run-time reporting

and CONSTEXPR_REQUIRE(expr) would be
static_assert(expr); // compile-time eval, compile-time reporting
CHECK(expr); // run-time; for recording success

After thinking about this some more, I was toying with the idea that:

CONSTEXPR_CHECK(expr) reports a runtime failure if expr is not constexpr, or if expr evaluates to false, then continues the test
CONSTEXPR_REQUIRE(expr) reports a runtime failure if expr is not constexpr, or if expr evaluates to false, then stops the test

So essentially identical to CHECK and REQUIRE, but with an extra (compile-time-computed but runtime-reported) check that the expression is a constant expression. I thought this would make the reporting nicer: rather than depend on the compiler-specific error messages generated when trying to use a non-constant expression in a constexpr context, we could output our own nice message. That would come at the expense of delayed reporting (runtime instead of compile time), which I wasn't sure I liked.
Regardless, it turned out to be impossible. There does not seem to exist a generic way to obtain a boolean that is true if  a general expression is constexpr and false otherwise. Some solutions can be found here and there, but they are either broken (using the test suite from this solution):

https://www.reddit.com/r/cpp/comments/7c208c/is_constexpr_a_macro_that_check_if_an_expression/
https://stackoverflow.com/questions/46919582/is-it-possible-to-test-if-a-constexpr-function-is-evaluated-at-compile-time/46920091#46920091

or too limited (apply to functions only, and/or cannot use constexpr variables in the enclosing scope):

https://quuxplusone.github.io/blog/2022/01/04/test-constexpr-friendliness/
https://www.reddit.com/r/cpp/comments/7c208c/comment/dpnh75s/?utm_source=share&utm_medium=web2x&context=3
https://github.com/coryshrmn/cgs/blob/master/include/cgs/meta/constexpr.hpp

We will probably need to wait for reflection (that must be a meme by now) to be able to do this reliably.
So in the end I'm sticking with the original plan:

CONSTEXPR_CHECK(expr) reports a compile-time failure if expr is not constexpr, or a runtime failure if expr evaluates to false, then continues the test
CONSTEXPR_REQUIRE(expr) reports a compile-time failure if expr is not constexpr, or a runtime failure if expr evaluates to false, then stops the test

Messages if the expression is not constexpr don't look the greatest but at least they are straight to the point:

And perhaps that is the best way, because the compiler may be able to say exactly what wasn't constexpr in the expression, which snitch definitely can't do.

I was also considering supporting expressions that evaluate to void in CONSTEXPR_CHECK and CONSTEXPR_REQUIRE. Say you had a constexpr_vector class, you might be tempted to write
CONSTEXPR_CHECK(constexpr_vector{10}.clear());

to test that constexpr_vector::clear() is indeed constexpr, without bothering about the return value of the expression. But this has proven impossible to implement. The expression has type void and this really doesn't play nice with the expression decomposer (can't overload operators with void operands). In principle we could use if constexpr based on the decltype of the expression and select what we want to do, but in practice we're not in a dependent context inside CONSTEXPR_CHECK, i.e., not inside a template, so if constexpr branches that don't compile generate errors even if they are not taken... This issue has been a major pain in implementing snitch, and I don't understand why the standard is written that way.
Anyway, perhaps the best way is to use another check macro CHECK_CONSTEXPR that does just this, since the purpose is different. I'm a bit annoyed at the similarity between CONSTEXPR_CHECK and CHECK_CONSTEXPR though. This is even more confusing because CONSTEXPR_CHECK is actually closer to if constexpr (...), while CHECK_CONSTEXPR is closer to if (constexpr(...)) (assuming we had a constexpr operator like noexcept). I might call this CHECK_IS_CONSTEXPR to avoid this issue, but this deviates from precedents like CHECK_FALSE, which should have been CHECK_IS_FALSE.
Nothing is ever easy! I'll open a ticket for this and decide later.


Add DarkRadiant latest

This adds the latest version (2.5.0) of DarkRadiant, “an open-source Level Editor for Doom 3 and The Dark Mod.”

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[x] Named the cask according to the token reference.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.
[x] Checked there are no open pull requests for the same cask.
[x] Checked the cask was not already refused in closed issues.
[x] Checked the cask is submitted to the correct repo.

Thanks for the PR! Unfortunately this doesn't meet our notability requirements.
Rejected Casks

The Cask is too obscure (for example, a self-submitted app from a GitHub repository that is not notable enough (under 50 stars)).

I'd suggest creating your own tap.


update onednn to v3.3-pc

Type of Change
revert version change of onednn in https://github.com/intel/intel-extension-for-transformers/pull/297
Description
detail description
JIRA ticket: xxx
Expected Behavior & Potential Risk
the expected behavior that triggered by this PR
How has this PR been tested?
how to reproduce the test (including hardware information)
Dependency Change?
any library dependency introduced or removed

Tested in https://github.com/intel/intel-extension-for-transformers/pull/187


Check with parties for data

Other Jordan suggested taht we check with the parties to get precinct data.

Done


US107607 Made notification dot a component

US107607
https://github.com/BrightspaceUI/navigation/pull/69

Looks good to me, i'm not sure about positioning of the dot.

After discussing it with @svanherk we agreed to change right: calc(-50% - 4px); to right: calc(-100% + 11px); to allow it to work with d2l-organization-consortium-tabs. We will have to do some regression testing on the nav bar.


Adds a section for model registries

👋  Hello!
This PR adds a new section for model registries and I've added both ML Flow and modelstore to it. Disclosure: I'm the author of the latter.
When reading through the other sections, I saw that this might overlap slightly with experiment tracking, which is described as:

What exactly do we need to track? typically this includes the code version, data version, input parameters, training performance metrics, as well as the final model assets.

Happy to change this around as you see fit.
Thank you for considering this contribution 🙏

Hi @nlathia, thanks for this contribution. Looks great! I'll try out modelstore 🙂


Anatomy: Replaces task in templates on load

Description
Anatomy should replace {task} with {task[name]} in templates on loading of settings because sometimes are templates from anatomy used without using it's formatting but only for getting the template. Auto repair of task type should be fixed before filling optional keys.
Changes

moved fix of task type before filling optional keys
{task} is replaced with {task[name]} when anatomy loads data from settings
removed replacement of {task} with {task[name]} in workfiles tool

How to test

Fix of task type for optional keys

add <{task}> to any template and try to fill the template with data

{
    "task": {
         "name": "ANY_NAME"
    }
    <all other keys>...
}

Replacement of task with task[name]

workfiles tool should find last workfile even with comment

No idea how to test it in real life?

One example is that we had to care about replacement of {task} with {task[name]} in workfiles tool to be able get right last workfile version.
Since it is not expected that task is used as optional key in templates the optional keys replacement it is not so important...


Docs/pipeline setup

Integrate code-client into backstage
Create a small POC ADR for the package-lock.json and latest dependency version test introduced in #192

:tada: This PR is included in version 4.20.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Export Player Not playing content properly

A couple of things here..
Procedure was as advised create an upper level symbol from combining with Out Rendertarget.. object selected..
Attempt to Export as executable

inside symbol ..

Managed to catch a screen capture of this ..

Player,exe WAS created.. sucessfully..

I know it might take microseconds to create the Executable but is it possible to provide a dialogue when this is done sucessfully.. and a dialogue to the location it can be found ? ..
\t3\Export

I added final log messages (successful or failed) that will be visible in the upper right corner.


Featureviz for data with "No Target" Variable

Hi Team,
Thank you for creating this great library. I would like to know how can i modify the code to use it for my data which doesn't have Target or predictor. Like unsupervised data and i wanted to reduce the dimension of the techniques.
Please let me know,

Hi @sriprad 👍
This is a good idea but currently have no plans to do this. If you have some time to research what methods are best and recommend a link or implementation, then I would be happy to incorporate it. This can be a pull request by you as well.
AutoVimal


Store credentials (not in plaintext)

Store this in the user's wallet. No idea how this would work on windows.

Not sure how to do this. Closing. If you have any ideas, please tell me!


pytr dl_docs produces thousands of errors

Description of the bug
When running pytr dl_docs ./ it produces thousands of errors and does not finish the process.
To Reproduce
Steps to reproduce the behavior:

Go to the TradeRepublic document folder
Ran the command pytr dl_docs ./
Enter the code from the TR-App
See erroror

Expected behavior
ptr downloads all documents.
Error log
Received error message: '2640 E {"errors":[{"errorCode":"UNKNOWN_ERROR","errorField":null,"errorMessage":"Could not process response","meta":{"source":"MAPPER"}}]}'
Error response for subscription "{'type': 'timelineDetailV2', 'id': '.......................................'}". Re-subscribing...

where 2640 is the running error number and ........................... stands for a id of the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Environment

OS: MacOS 13.7.1
pytr version: 0.3.1

Seems to be a temporal error. Today everything works as expected.
I will close this issue.


Adding publish task description by default for initial assets

This is part of the step to resolve #2874 which adds publish to the default assets created.  This is needed to support things like appService.preDeployTask integration more seemlessly for .NET developers.

@timheuer What's the user experience like with the watch command you added? I'm wondering how VSCode handles tasks where the command doesn't terminate.


Automator: update<EMAIL_ADDRESS>in<EMAIL_ADDRESS>

Generated by Automator - 2022-12-01T03:59:31+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-test_istio_release-1.14
f039267ec43e0f7ab73a1c8b6fd6a53581cc26de
link
true
/test release-test

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.

/test release-test


Add support for authenticated routes

Closes #14

Thanks for the pull request.  Could you update the README with an example of how to use this new functionality?

@jamesls README added and rebased

Merged, thanks for the pull request.


Changes to SessionAudit fxml and controller to optionally display spo…

…t names

Good first attempt!
Suggested improvements for : SessionAuditController.java

simplify method duplicatesChecked:

private void duplicatesChecked(ActionEvent event) {
        setUpPrawnFileAuditTreeView(checkbox.isSelected());
    }

remove methods queryForDuplicates and isVisible
simplify setUpPrawnFileAuditTreeView and rename switch to more readable and to maintain separation of concerns:

    private void setUpPrawnFileAuditTreeView(boolean showDupesOnly) {
        prawnAuditTree.setStyle(SquidUI.SPOT_LIST_CSS_STYLE_SPECS);

        SquidPrefixTree spotPrefixTree = squidProject.getPrefixTree();
        String summaryStatsString = spotPrefixTree.buildSummaryDataString();

        boolean hasDuplicates = spotPrefixTree.getCountOfDups() > 0;
        checkbox.setVisible(hasDuplicates);
        TreeItem<String> rootItem = customizeRootItem(summaryStatsString, hasDuplicates);
        rootItem.setExpanded(true);
        prawnAuditTree.setRoot(rootItem);

        populatePrefixTreeView(rootItem, spotPrefixTree, showDupesOnly);
    }

rename, simplify, and swap parameter order in setRootItem - switches should be secondary for readability and separation of concerns:

      private TreeItem<String> customizeRootItem(String summaryStatsString, boolean hasDuplicates) {
        TreeItem<String> rootItem = new TreeItem<>("Spots", null);
        if (hasDuplicates) {
            rootItem.setValue(
                    "***This file has duplicate names. Change names of duplicates in PrawnFile > Edit Spots***"
                    + "\n\nSpots by prefix: " + summaryStatsString);
        } else {
            rootItem.setValue("Spots by prefix:" + summaryStatsString);
        }
        return rootItem;
    }

rename boolean switch in populatePrefixTreeView from hasBeenChecked to showDupesOnly (for example - more readable)  :

    private void populatePrefixTreeView(TreeItem<String> parentItem, SquidPrefixTree squidPrefixTree, boolean showDupesOnly)

Also, a big improvement to tackle is to hide the display of the tree once the -DUP..." starts and jump right o the bottom element showing the dup.  This would improve the readability of the output.

Suggested improvements for : SessionAudit.fxml

fix spelling in text of new checkbox also have it "only" or similar
consider making the color of the text red or drawing attention to it

when you are done, simply push to your 'test' branch on your fork and this pull-request will update automagically.

Almost there .  Need to replace 'hasBeenChecked' with meaningful variable name such as showDupesOnly and then also coordinate the java docs to show this.

Overlooked that recommendation, just updated.


Error the argument valid_data has to be specified

Hello, I try to use your lib and have this error for the following request:
> python pdnn/cmds/run_MTL.py
> --train-data "caco2_train.pkl|herg_train.pkl"\
> --valid-data "caco2_test.pkl|herg_test.pkl, partition=600m, random=True" \
> --task-number 2 --wdir /home/mariia\
> --shared-nnet-spec="4000:2000:1000:1000" --indiv-nnet-spec"1024:2000|1024:2000"\ --activation sigmoid/ \
> --param-output-file caco2_herg.mdl --cfg-output-file caco2_herg.cfg \
> --lrate="C:0.05:4" \ --momentum 0.9 \ --dropout-factor 0.25 0.25 0.25 0.1

What is wrong? I don't understand...

I think you need to add a space before the backslash at the end of the second line.

No, there is a backslash before and after it, I tried different combinations and it doesn't work...

I mean:
--train-data "caco2_train.pkl|herg_train.pkl"\
                                             ^ add a space here between the quote and the backslash

Oh, thanks! Now It has begun to count)


Update locked mode settings

All green! Getting this is in before we start our day tomorrow

Backport to master failed because #5382 was still open. Merged that one and manually backported this PR


asset function is not defined in the context

HI there,
I am new to Grunt, I have added below lines to my grunt file.
module.exports = function (grunt) {

 // Load grunt tasks automatically
 require('load-grunt-tasks')(grunt);

  // Time how long tasks take. Can help when optimizing build times
  require('time-grunt')(grunt);

  // Configurable paths for the application
 var appConfig = {
   app: require('./bower.json').appPath || 'web/bundles/insighteclipse/app',
   dist: 'dist'
 };

// Define the configuration for all the tasks
grunt.initConfig({

// Project settings
   yeoman: appConfig,

twigRender: {
	your_target: {
	  files : [
		{
		  data: {
			  greeting: "Hello",
			  target: "world"
			},
		  template: 'src/Insight/EclipseBundle/Resources/views/Default/sample.html.twig',
		  dest: '<%= yeoman.dist %>/demo/sample.html.twig'
		}
	  ]
	},
},

  });

 grunt.loadNpmTasks('grunt-twig-render');

};

And got this error
Running "twigRender:your_target" (twigRender) task
Error parsing twig template src/Insight/EclipseBundle/Resources/views/Default/sa
mple.html.twig:
TwigException: asset function does not exist and is not defined in the context
Error parsing twig template src/Insight/EclipseBundle/Resources/views/Default/sa
mple.html.twig:
TwigException: asset function does not exist and is not defined in the context
Warning: ENOENT, no such file or directory 'C:\xampp\htdocs\eclipse\InsightEclip
seBundle::base.html.twig' Used --force, continuing.

What I am missing??
I am aiming to convert twig templates into html so that I can have all the rendered paths to my assests, which I would feed into usemin and get my assets uglified.
Any suggestions do achieve similar is welcome.
Thanks
Raj

Hi Raj,
although this error seems to be related to Twig itself, I would like to help you with this. But I think, I will need to see the template. It seems you are using a function called 'asset' somewhere. Have you tried removing this function? Does it work without it?

Hi Sullinger,
If I remove that function then my template will not include my assests(js, css, images).
Below is the template:
{% extends 'InsightEclipseBundle::base.html.twig' %}

{% block title %}A sample Page{% endblock %}

{% block stylesheets %}
<link href="{{ asset('bundles/insighteclipse/bower_components/bootstrap/dist/css/bootstrap.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('bundles/insighteclipse/app/styles/base.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('bundles/insighteclipse/app/styles/main.css') }}" rel="stylesheet" type="text/css" />
{% endblock %}

{% block javascript %}
<!-- build:js(.) scripts/vendor.js -->
<!-- bower:js -->
<script src="{{ asset('web/bundles/insighteclipse/bower_components/lib/router.js') }}"></script>
<script src="{{ asset('bundles/insighteclipse/bower_components/jquery/dist/jquery.js') }}"></script>
<script src="{{ asset('bundles/insighteclipse/bower_components/angular/angular.js') }}"></script>
<script src="{{ asset('bundles/insighteclipse/bower_components/angular-route/angular-route.js') }}"></script>
<script src="{{ asset('bundles/insighteclipse/bower_components/jquery-ui/jquery-ui.js') }}"></script>
<script src="{{ asset('bundles/insighteclipse/bower_components/angular-ui-sortable/sortable.js') }}"></script>
<!-- endbower -->
<!-- endbuild -->

<script src="{{ asset('bundles/insighteclipse/app/scripts/app.js') }}"></script>
<script src="{{ asset('bundles/insighteclipse/app/scripts/controllers/main.js') }}"></script>
<script src="{{ asset('bundles/insighteclipse/app/scripts/controllers/about.js') }}"></script>

{% endblock %}

Hi Ray,
by looking at your template, I guess you are using Assetic for asset management in a Symfony 2 setup. Assetic extends twig by adding the asset function that then can preprocess the defined asset in any way you like.
Like some people posted on this issue of the Assetic repo, I don't really see a need for using Assetic with grunt. Instead you should use grunt plugins to replace the usage of Assetic, if possible.
You can still use this 'asset' function, but you will have to extend Twig in JavaScript/Grunt as Assetic does extend Twig in PHP/Symfony. Please see the grunt-twig-render readme on how you can add custom functions to Twig. This way, you can define your own 'asset' function and define what should be done with the assets.
Hope this points you in the right direction?!
Stefan

Hi,
Just for curiosity, what is the output if I compile my twig template with this grunt plugin, because as you see in the error I also have the issue related to extending templates.
My actual motive of using this plugin was to feed the generated html file to the usemin plugin, The whole process looks cumbersome; so I am planning to abandon the idea.
Raj

Hi Ray,
if you add an asset function that simply outputs the provided string, your Twig task output will be valid HTML files that you can then pass to the usemin plugin.
Note: The following is untested / pseudo-code.
options:
{
  extensions:
  [
    function(Twig)
    {
      Twig.exports.extendFunction( "asset", function( source )
      {
        return source;
      });
    }

  ]
}

Then
<link href="{{ asset('bundles/insighteclipse/bower_components/bootstrap/dist/css/bootstrap.css') }}" rel="stylesheet" type="text/css" />
...

should become
<link href="bundles/insighteclipse/bower_components/bootstrap/dist/css/bootstrap.css" rel="stylesheet" type="text/css" />
...

This is interesting.. let me try this.
Thanks a lot

So you mean something like a per template extension?
This might be possible by setting up multiple targets for the twigRender grunt task.
grunt.initConfig({
  twigRender: {
    options: {
      // Task-specific options go here.
    },
    templatesWithAssets: {
      options: {
        // Target specific options go here
      },
      files : [
        {
          data: // Path to JSON, JSON5 or YAML file, or POJO, or Array of filepaths and POJO
          template: // Path to template file
          dest: // Path to output destination here
        }
      ]
    },
    templatesWithoutAssets: {
      options: {
        // Target specific options go here
      },
      files : [
        {
          data: // Path to JSON, JSON5 or YAML file, or POJO, or Array of filepaths and POJO
          template: // Path to template file
          dest: // Path to output destination here
        }
      ]
    }
  },
});

Hi,
what I do with this:
{% extends 'InsightEclipseBundle::base.html.twig' %}{% extends 'InsightEclipseBundle::base.html.twig' %}

This causes an error.
Warning: ENOENT, no such file or directory 'C:\xampp\htdocs\eclipse\InsightEclipseBundle::base.html.twig' Used --force, continuing.

Hey Raj,
using namespaces is not yet supported by the underlying TwigJS library, but there is a pull-request for it, so you might have to wait until it is merged.
Stefan

Is there any way I can write a function and replace it with actual twig template or remove this statement. because I don't add any css or js to my base template
Raj

There are many options. You could try to add another task that replaces this namespace or removes it entirely, for example using https://github.com/erickrdch/grunt-string-replace


[Twig] Working around bug where the new lexer causes the extension set to load too early

Q
A

Bug fix?
yes

New feature?
no

Tickets
Fix #835

License
MIT

Well, I don't love this fix :/. Normally, Twig's Lexer class is not instantiated inside Environment until it's needed. However, if you inject your own Lexer, then you must instantiate it early... AND it needs to extend Lexer, whose constructor cases the extension set to initialize. This is an ugly fix - but it works.
Should this be considered a Twig bug? - e.g. perhaps all the work done inside the Lexer's constructor should be delayed until it's needed - https://github.com/twigphp/Twig/blob/f5ee1b6815a28fbab6e6fbb8c48b7964f0d93dd4/src/Lexer.php#L51-L152
Either way, it seems harmless to work around it here for the moment.

Hou yes super odd one! 😳 I think you referenced the wrong issue in your comment description - #835 instead of #83

This is now fixed in Twig! 2.15.5 contains it. It looks like 3.6.0 WILL fix it also, but it's not released yet. You can bring in the 3.x-dev branch in your project until then to work around the issue.
Cheers!

Twig 3.6.0 released now.