Privacy Policy improvements

The Chore
To review and improve Vega.xyz privacy and cookie policy, considering Barney's feedback and the potential to surface our values and principles around privacy etc.
Tasks

[x] Mary to get up to speed with the background below
[x] Mary to write a proposed alternative version of the privacy policy based on the background
[ ] Rebecca / Penny to share, review, iterate and finalise with Barney and Dave Mac
[ ] David to review and amend the page design (as needed)
[ ] Oli to Implement
[ ] Ben to test

Background
Current privacy policy
live privacy policy on the website
Worth noting that this policy originated from the previous version of the website and was then reviewed, revised and approved by Edd and Dave Mac before putting live.
Barney's points a while ago
slack thread
Neil's proposal

Create a succinct, human readable summary of the privacy and cookies policy, which also expresses Vega's values and beliefs about privacy e.g. we believe in privacy and anonymity, it's important to us, so unless you sign up for something we don't capture or process your data. And if you do, we only do precisely what you've asked for.
We don't use any cookies whatsoever. The only thing we store is your preference for light/dark mode, and language, and these use local storage in your browse, not cookies.
We don't use any third party analytics service such as google analytics, we use only server logs, never tied to an individual.

This is the same essentially ticket as the other privacy policy ticket. Regardless, here is the doc!
https://docs.google.com/document/d/1lfIKJIgUeJqYIPkz9we1eUO3E2jiIm0al_Wnw_CmuG8/edit?usp=sharing

Just waiting on getting access to the google doc then will share for feedback with the agreed stakeholders

Dave is working on a revised version of the policy with Barney here https://docs.google.com/document/d/1qTuTCR9eQbgPuisErhHaTOcEELMmg-cgEUFqqa9mW3Q/edit


Error importing jscanify library in React application

I'm experiencing an issue when trying to import and use the jscanify library in a React application. While the CDN approach works fine, importing the library as a module using the import statement causes an error.
import React, { useEffect, useRef, useState } from 'react';
import jscanify from 'jscanify';
export default function PaperScanner() {
const canvasRef = useRef(null);
const [photoData, setPhotoData] = useState(null);
useEffect(() => {
const scanner = new jscanify(); // <-- Error occurs here
}, []);
}
Error Message:
TypeError: Cannot set property document of # which has only a getter

It has to be imported through the html file. See react-scanify-demo

In this use CDN

Yes, unfortunately I haven't had the opportunity to add React support 😔


Add desiredConfirmations option when executing transactions

It would be useful for the hardhat-deploy execute function to support (maybe in the TxOptions field) an API for controlling how many confirmations should be waited for before returning the Receipt object response.
const rec: Receipt = await execute('BigContract', { from: deployer, desiredConfirmations: 2 }, 'transferOwnership', Timelock.address);
assert(rec.confirmations === 2);

no updates @wighawag 🤕 ?

Hey @lepidotteri sorry for the lack of reply, was in a 2 month break. I am back now, but catching up :)
I like the idea. I ll add this to the enhancement possible and see what I can do.

This is now done, see https://github.com/wighawag/hardhat-deploy/pull/196


chiselName should be able to name signals in anonymous class instances

I have some code that looks like:
val scope = new {
  val coolWire = io.blah && io.foo
}

It would be great if I could annotate this scope with chiselName and get the wire name as
scope_coolWire

Currently it tells me I can only use the annotation on functions and modules.

I think the way this would have to work is chiselName would rewrite the anonymous class into a "named" class that gets the annotation and then instantiates it. Should be doable I think though
@ducky64 @sdtwigg

This should be pretty straightforward to do, and there are several options for implementation paths.
I think the more interesting question is the interface to present. Are you just creating the inner class / object just to give it a scope, or is there some other reason it's done? Is the new also needed?
Related: what about iterated loops and variable interpolation in general (like splicing loop indices into generated names)?

This is different than what I thought you meant when you asked about annotating anonymous classes.
In this case, you can piggyback on using the annotation on the enclosing class to look into the parts of the anonymous class. Also, it seems like (at the very least) having the name "coolWire" would be preferable. (Although, you would also see the enclosing val name during the traversal, this might be tricky to pick up properly)
As an aside though, why do you have code like that...?

The code looks like this:
val scope = new {
  val coolWire = blah
  def coolFunc(n: UInt) = blah && coolWire
}
...
scope.coolFunc(n)
...
scope.coolFunc(n)
...

I end up having a few "scopes" with the same "funcs" so this gives me a nice way to avoid naming collisions as well as a way to write certain parts of the logic in a certain domain like the following:
 {import scope._; func1(x); func2(y); func3(z)}
This is mostly in the name of self-documenting code and brevity. I could obviously name my functions and wires with a "scope" prefix but it seems like a nice language feature that would be not too difficult to support naming.
P.S. I didn't come up with this coding style but it seems pretty neat and the end product is a nicely compartmentalized readable description of the logic.

Fixed via the naming plugin in 3.4.


Selecting 'Tickmarks' causes dashboard to hang in Safari - works fine in Chrome and FireFox

macOS Mojave 10.14.6
Safari 14.0
12 Nov 04:58:23 - [info] Node-RED version: v1.1.3
12 Nov 04:58:23 - [info] Node.js  version: v12.13.0
Dashboard version 2.23.4
node-red-contrib-ui-artless-gauge v0.1.48
How to reproduce

add node-red-contrib-ui-artless-gauge to a new flow
set the 'Tab' ad 'Group' to the default
Deploy and go to dashboard - the node will show up
close the dashboard window
click the "Tickmarks' option
deploy and go to the dashboard
at this point (using Activity Monitor) Safari jumps to 100% cpu usage and after closing the dashboard window, the node-red editor window is blank and must be closed and opened back to the editor.

Thank you for reporting. As I don't have any mac device, the fix will not be quick one.
If you can do one more test for me I may have more clues for investigation.
What happens if newly added gauge has tick marks configured at first deploy.

that causes it t hang.
However, I found something that may help. If I have an inject node send a numeric value to the gauge on deploy, it works fine. It only hangs when nothing is sent to the node and I go to the dashboard.

I have a similar problem with Safari on macOS an iOS. The radial gauge is working, but if i have one or more linear gauges Safari doesn't show the NodeRed UI. In Chrome it is working.

@FreeTechNick uncheck the "Tickmarks' option and see if it works

@juggledad No change, not working in Safari and working in Chrome as before.

@juggledad can you confirm that radial layout works and issue is only with the linear layout

@hotNipi - I can confirm it works with radial.

Hi @juggledad  and @FreeTechNick
I found something with potential risk for safari, fixed it and released patch. Can you please update to 0.2.1 , try and give me feedback is there is any change.

@hotNipi Yeah!!! that fixed it for me.

Try to clear browser cahce

I just played again, clearng the cache and having 1 occurance and it works. If I add two more occurances it still hangs.

@hotNipi Here it is the same working with one and not with more.

Hi @juggledad and @FreeTechNick again
Some more modifications made to catch the issue.
I know it is a pain to deal with the thing which kills your browser but what can I do : (
New version available 0.2.2
Any feedback appreciated.

@hotNipi No change. Still the same situation.

Sad. I'm running out of ideas.

can we do any debugging

As far I know the safari tends to kill the debugging tools with browser window so for such issues there is only one way to debug. Turn off most and start to add functionality one by one until the issue reveals. I'd do this immediately if I had any ios device. Cant figure out is there some ways to do this kind of work with shared sources.

Hi @juggledad and @FreeTechNick again
Would you please try again with v0.3.2
I may be found something... not sure but promising.

I just tested it with 0.3.3 but no Change in Safari (Mac) only one linear gauge is working and with more the UI is not working. In Chrome it is working without problems

Thanks for testing it. Sad there was no improvements.


Scipy fails tests on master branch

After I checkout SciPy and run the tests as-is, I'm seeing >50 test failures. The steps being followed are:
conda create -n scipy python=3
conda install -y mkl numpy setuptools matplotlib cython pytest
git clone https://github.com/scipy/scipy
cd scipy
python setup.py build_ext --inplace
python runtests.py -v

I have also tried:
apt-get install -yq build-essential ca-certificates gcc gfortran git python3 python3-pip
pip3 install cython matplotlib mkl numpy pytest setuptools
git clone https://github.com/scipy/scipy
cd scipy
python setup.py build_ext --inplace
python runtests.py -v

These steps were followed in the continuumio/anaconda3 Docker image. I have also had similar luck trying to do this on OSX. For what it's worth, the OSX binaries from Conda output two failures when I run:
python -c 'import scipy; scipy.test("full")'

What is the right way to build SciPy in a way that passes all tests?

What are the test failures? Can you include them here too?

Sure, here is the output from the tests:

https://pastebin.com/XDwMh1bE for the SciPy built on Debian (Docker image continuumio/anaconda3)
https://pastebin.com/X91F9bwZ for the output of running tests on OSX binaries (from Conda)

This looks like a duplicate of #8325

But I'm not using Conda at all. And when I install gcc via Conda I get a different set of errors (see https://pastebin.com/GvHMeXnT). I understand that this may not be entirely Scipy's fault but I have yet not found a way to compile Scipy successfully.

Also your Debian build is building with Conda's Python. This matters because compiler flags etc come from Conda's Python configuration, and I'm not sure if that's meant to generally work on any Linux distribution.

On the OSX failures, I'd uninstall mkl_fft and any other Conda packages that monkeypatch numpy/scipy, and then try again.

Also your Debian build is building with Conda's Python. This matters because compiler flags etc come from Conda's Python configuration, and I'm not sure if that's meant to generally work on any Linux distribution.

Pretty sure it is.
I'm using conda, and it works fine with MKL - no failures on master currently. Gcc is as packaged by Arch Linux, never had issues.
$ gcc --version
gcc (GCC) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

rgommers@machine:~/code/scipy (issue-9103-spearmanr)$ python --version
Python 3.6.4 :: Anaconda custom (64-bit)

For what it's worth, the OSX binaries from Conda output two failures when I run:

Those look like test precision issues, numerical output is almost identical.

Thank you everyone for the help so far. Sorry for being thick here, but I'm still unable to build binaries of Scipy that can pass the self-test.

conda is not included in this set (and we can't help with problems with conda as those builds are not something controlled by us)

That makes sense. It is unfortunate that binaries built with Conda can't pass the self-test, and I wonder what they are doing differently. Precision is one of the features I look for in a numerical library...

I'm using conda, and it works fine with MKL - no failures on master currently. Gcc is as packaged by Arch Linux, never had issues

Good to know that there's at least one configuration that works, I still have not been able to get it right on any of my machines or Docker images; can someone point me to the configuration used in build servers? So far I have tried:

Conda's Python binaries (with and without a mix of tools from apt as I mentioned in 1 and 2)
Docker's python:latest image
Docker's ubuntu:bionic image
Docker's debian:stretch image

The steps that I'm following are what I mentioned in the first comment but I'll copy/paste again here for convenience:
apt-get install build-essential ca-certificates gcc gfortran git
pip3 install cython matplotlib mkl numpy pytest setuptools

git clone https://github.com/scipy/scipy
cd /scipy

python setup.py build_ext --inplace
python runtests.py -v

I am now seeing ImportError: libmkl_rt.so: cannot open shared object file: No such file or directory in all 3 different configurations, so there must be something I'm missing with the build steps. I couldn't find a way to resolve this problem after a cursory search for that error.

Can you follow the steps given here https://github.com/davisking/dlib/issues/587 ?

I think I finally found a winning configuration which results in python runtests.py -v finishing with a success return code. If I add ldconfig, which leaves the build script like this:
apt-get install build-essential ca-certificates gcc gfortran git
pip3 install cython matplotlib mkl numpy pytest setuptools
ldconfig

git clone https://github.com/scipy/scipy
cd /scipy

python setup.py build_ext --inplace
python runtests.py -v

Then the final output is:

python:latest : 13883 passed, 1289 skipped, 1217 deselected, 87 xfailed, 7 xpassed in 455.82 seconds
debian:stretch : 13873 passed, 1299 skipped, 1217 deselected, 87 xfailed, 7 xpassed in 444.03 seconds
ubuntu:bionic : 13883 passed, 1289 skipped, 1217 deselected, 87 xfailed, 7 xpassed in 439.99 seconds

The follow-up questions are: what does "xfailed" mean? Are 87 xfailures expected? How about the skipped tests? The full output is too large to upload somewhere, so I grepped for xfail and here's the result: https://pastebin.com/MfVUTFfE
Also, I am happy to contribute by adding my build scripts in the form of a Dockerfile. If that's something you guys are interested in, what would be the best location within the source for it?

xfailed is "expected failure", so those you can ignore - we marked them as failures for known issues but wanted to keep the tests around for future use / fixing.

Also, I am happy to contribute by adding my build scripts in the form of a Dockerfile. If that's something you guys are interested in, what would be the best location within the source for it?

I don't think it's something we want in the repo, as it shouldn't be needed and requires maintenance. Would be nice if you could post it as a gist and link to it from this issue.

Since python runtests.py -v worked for the issue reporter and that that is our recommended development setup, I think there isn't anything actionable left to do here - closing. Thanks all!


PetTest iOS App: After logging in, screen hangs showing spinning "Loading pet list".

Followed instructions on Roles, Tables, Lambda, API Gateway upload, etc.
User has been registered and is in Cognito.
User data appears in DynamoDB /users table.
The user has logged in successfully and gets credentials (show by console).
DynamoDB pets table does have data in it.
But the Master/Detail screen simply spins "Loading pet list".
This happens on simulator and physical hardware.
Any ideas of what may be happening?

Do you see the request being accepted by API Gateway & Lambda? ie does it appear in the API Gateway dashboard & Lambda logs?

Examining the logs/metrics in CloudWatch, API Gateway & Lambda are both called for:
registering, as well as separately logging in from the iOS PetTest application.
However, once logged in, I am observing the "Loading pet list" spinning.
(again, even though there is data in the database).
It appears that my settings in the PetTest/ClientSDK/PETLambdaMicroserviceClient.m fle of the PetTest App are correct for the deployed API Gateway API, otherwise it would not hit /login and /users.
The part that I wonder about is the authenticated paths.  I have no way of "manually" exercising /pets from the API Gateway Console since I can't pass in the temporary keys, token, etc. in the Console.  (I hope there is a feature added for that soon! - or if there is a better way to debug the AUTH paths, please let me know.)

After completely rebuilding both the lambda and API functions, and placing both of them in the same region (just to be sure), I'm still getting the same result with the iPad.  It can log in and I see the log in CloudTrail for the API Gateway and Lambda functions, but after logging in, it just spins.  Clicking on the plus button anyway to attempt to add a pet results in the red bar sliding down from the top of the app - and there is no log in CloudTrail for the API Gateway ever having been called.  At the least it seems that the App should be indicating an error if it is unable to get a response for sending a request to list pets, but it just spins.  Thank you for looking into this!  This app is a great model, I just need to close the loop in getting the iOS app to work to demo/sell the idea of using API Gateway/Lambda/Cognito/DynamoDB.

It could be something related to the Cognito role. Can you check the access and trust policies for the authenticated role in your Cognito identity pool? Erase the resource ids (ARN) and paste them here? Also don't post the role ARN, I just want to check the policies

That was exactly the issue.  For some ignorant reason, I had followed the directions, but modified a closely named set of Auth/Unauth Cognito roles, instead of the ones that were actually attached to the identity pool in use.  It now works!  Thank you so much for helping me out!!!
As an aside, it would be awesome if there was also a sample website "application" that accomplished the same thing to demonstrate using HTML/JavaScript.  Also nice would be having a set of other languages in addition to Java 8 for Lambda functions to accomplish the same thing as this (Node.js, Python, etc.)
Excellent demo app!  Thanks again. :-)

Glad this is fixed and thanks for the feedback, we'll look into adding more clients / server-side languages.


Remember menu state

The sidebar menu collapses each time I press a menu item in the default theme and it's pretty annoying to be honest :) Maybe an option to make the menu remember it's state or change the default behaviour.

This one is quite frustrating. Any ETA?


for the message's type of the 'open_base/command'

Hello,thanks for your work.
I'm a student who just started learning ROS.
I want to control the robot by the topic 'open_base/command',but I found that message type ‘open_base/Movement’ with topic '/open_base/command' does not exist.
And the colour of the whole robot is white.
My version is Melodic.
Looking forward to your reply, thank you very much!

Thank you very much.
The full terminal dump is given in the 'terminal dump.txt'.
terminal dump.txt
And I'm used to using ROS Toolbox to connect MATLAB with ROS,because I use MATLAB to obtain the optimal trajectory.
Looking forward to your reply!


Add Edinburgh Hacktoberfest event

Adding the Edinburgh meetup which will be hosted by myself and Tom Madden

Looks like the Edinburgh changes are already on the list - I think I messed it up as I forgot I had permission to make the change directly to the readme instead of making a PR! I'll close this  :D


How to change required symbol?

Hello, is possible change  default  required symbol "*" to something else? (for example for "req" string)

Depends what template you're using. Either way, you can specify your own template in your formly config. This is detailed in the documentation


allow maxpricerelative

Right now maxpriceabsolute get configured to a set price. What is needed is a maxpricerelative which is relative to the ideal price.
This is primarily because of minpricescale which "Forces the wallet to purchase tickets if the price is estimated to fall below this proportional amount of the ideal ticket price." In times of high volatility minpricescale can cause the inadvertent purchase of very expensive tickets. maxpriceabsolute protects from this, but requires adjustment by the user.
'# Never spend more than 30% above the ideal ticket price.
maxpricerelative = 1.3

Closing this because on consideration it seems that  highpricepenalty  may offer enough control.


Should not be running restorecon like this

I am getting an error when it tries to run restorecon against the path. It should probably not run restorecon against paths like this: /web/[^/]+/\.ssh(/.*)?
Notice: /Stage[main]/Webapp/Selinux::Fcontext[/web/[^/]+/\.ssh(/.*)?]/Exec[add_ssh_home_t_/web/[^/]+/\.ssh(/.*)?]/returns: executed successfully
Info: /Stage[main]/Webapp/Selinux::Fcontext[/web/[^/]+/\.ssh(/.*)?]/Exec[add_ssh_home_t_/web/[^/]+/\.ssh(/.*)?]: Scheduling refresh of Exec[restorecond add_ssh_home_t_/web/[^/]+/\.ssh(/.*)?]
Notice: /Stage[main]/Webapp/Selinux::Fcontext[/web/[^/]+/\.ssh(/.*)?]/Exec[restorecond add_ssh_home_t_/web/[^/]+/\.ssh(/.*)?]/returns: sh: -c: line 0: syntax error near unexpected token `('
Notice: /Stage[main]/Webapp/Selinux::Fcontext[/web/[^/]+/\.ssh(/.*)?]/Exec[restorecond add_ssh_home_t_/web/[^/]+/\.ssh(/.*)?]/returns: sh: -c: line 0: `restorecon /web/[^/]+/\.ssh(/.*)?'
Error: /Stage[main]/Webapp/Selinux::Fcontext[/web/[^/]+/\.ssh(/.*)?]/Exec[restorecond add_ssh_home_t_/web/[^/]+/\.ssh(/.*)?]: Failed to call refresh: restorecon /web/[^/]+/\.ssh(/.*)? returned 1 instead of one of [0]
Error: /Stage[main]/Webapp/Selinux::Fcontext[/web/[^/]+/\.ssh(/.*)?]/Exec[restorecond add_ssh_home_t_/web/[^/]+/\.ssh(/.*)?]: restorecon /web/[^/]+/\.ssh(/.*)? returned 1 instead of one of [0]

I like the idea of running restorecon (sortof), but it needs some help to not expose unescaped special characters to the shell or just not run if it has special characters or something?
~tommy

OK... so disregard this one. this is easily solved using the restorecond_path parameter in the selinux::fcontext type. It would be "kinda neat" if it was smart enough to "detect" whether there were wildcards in the path, but it would probably almost always do it wrong. When I forked the code to look at #105, I saw the err of my ways.


[Enhancement] Add 'not_null' filter to include trashed (soft deleted) models

Using query filters I can also include trashed models, but on a general basis. I would like to be able to add a query filter based on a selected filter, or a completely different approach: add a new not_null filter to include the trashed ones as well.

you can do these just programaticlly in the query filter.


Bump version: 1.0.4 → 1.1.0

Codecov Report

Merging #104 (0cba898) into master (b9cbbe2) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #104   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          489       489
  Branches        95        95
=========================================
  Hits           489       489

Impacted Files
Coverage Δ

tomli/__init__.py
100.00% <100.00%> (ø)

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 b9cbbe2...0cba898. Read the comment docs.


add optional automatic mixed precision and tf.data.Dataset

adds the ability to use automatic mixed precision to gp.tensorflow.Train node

new flag for tf.Train node: auto_mixed_precision
3d convs are only properly supported with cudnn8.0
it works by rewriting the graph, the rewriting operation is called on the optimizer.
Therefore a new optimizer has to be created (the optimizer itself does not seem to be
a normal graph operation and thus cannot be recalled from a reloaded graph, only the
minimize operation, however, we need the optimizer itself)
A new optimizer is created, the type and parameters can be set with a new flag optimizer_args
(and should match the one used in mknet)

adds the option to use tf.data.Dataset instead of feed_dict to pass data to GPU

new node: TFData
new flag for tf.Train node: use_tf_data
when using this, there are some restrictions/recommendations:

only request arrays that are actually needed to reduce unnecessary data transfer
to/from the GPU
use an empty request and let the nodes add their dependencies
(e.g. the Train node requests its inputs, and if they are not needed downstream
they are not passed on)
set the (new) snapshot_every arg for the tf.Train node to the same value as in the
snapshot node, the requested arrays will then only be passed on when needed.
only inputs and outputs of the tf.Train node are available after it, if you want to snapshot
other arrays, add a snapshot node before the train node
graphs/points are not handled and thus should not be part of the global request. If they are
not part of the global request and are requested and consumed before the train node, that is fine.

gp.Snapshot: only arrays that are in the request/are added via the snapshot node should be
in the dataset_names array

example setup: https://github.com/Kainmueller-Lab/PatchPerPix_experiments/tree/master/nuclei3d/02_setups/setup01_mp

split into smaller PRs


immich: 1.120.1 -> 1.121.0

https://github.com/immich-app/immich/releases/tag/v1.120.2
https://github.com/immich-app/immich/releases/tag/v1.121.0

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

All good here

Worth noting this is the first time I have had this package work without changes since 1.120.0

What changes did you have to make before?

I did not use your 1.120.2
Apart from running the update.sh, I removed --replace-fail for the fastapi substituteInPlace.
You have dealt with that.
For all the 120 versions until this one, if I did not add the perl package back in, that you removed when adding exiftool, it would not build.
I mentioned this in one of those PR's, and the later commit you made did not resolve it for me.
I am not sure what changed regarding that, as I have otherwise not touched my nix config on this VM.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 357683

x86_64-linux

:white_check_mark: 4 packages built:

immich
immich-cli
immich-machine-learning
immich-machine-learning.dist

x86_64-darwin

:white_check_mark: 1 package built:

immich-cli

aarch64-darwin

:white_check_mark: 1 package built:

immich-cli

@ofborg test immich


Ordine pagine errato

Ciao, dopo aver scaricato alcuni libri con successo, mi sono accorto che un libro specifico non viene scaricato correttamente. Non viene riportato alcun errore ma le prime pagine, quelle fino all'inizio del primo capitola vengono scaricate per ultime. Cover ed indice, vengono per tanto incollati alla fine del pdf.
Ho tentato di scaricare nuovamente con la flag che permette di scaricare le singole pagine nella cartella temp eseguendo $ node index.js --download-only le pagine nell'ordine spagliato sono quelle numerate da 341-0.pdf in su.
 Vol. 1.pdf" Done

Lo script scarica solo quello che trova nell' ordine che lo trova, però puoi prendere il comando che ti ha stampato alla fine, modificarlo secondo l'ordine che ritieni e poi eseguirlo manualmente per ottenere le pagine nell' ordine che vuoi te...


Install error

C:\pwb>pip install -r requirements.txt
Requirement already satisfied: httplib2>=0.9.0 in c:\users\ninjamask\appdata\local\programs\python\python36-32\lib\site-packages (from -r requirements.txt (line
 22))
Requirement already satisfied: pydot in c:\users\ninjamask\appdata\local\programs\python\python36-32\lib\site-packages (from -r requirements.txt (line 25))
Requirement already satisfied: google>=1.7 in c:\users\ninjamask\appdata\local\programs\python\python36-32\lib\site-packages (from -r requirements.txt (line 28))
Requirement already satisfied: crontab in c:\users\ninjamask\appdata\local\programs\python\python36-32\lib\site-packages (from -r requirements.txt (line 31))
Requirement already satisfied: argparse in c:\users\ninjamask\appdata\local\programs\python\python36-32\lib\site-packages (from -r requirements.txt (line 34))
Requirement already satisfied: Pillow in c:\users\ninjamask\appdata\local\programs\python\python36-32\lib\site-packages (from -r requirements.txt (line 43))
Requirement already satisfied: flickrapi in c:\users\ninjamask\appdata\local\programs\python\python36-32\lib\site-packages (from -r requirements.txt (line 44))
Requirement already satisfied: irc in c:\users\ninjamask\appdata\local\programs\python\python36-32\lib\site-packages (from -r requirements.txt (line 47))
Requirement already satisfied: mwparserfromhell>=0.3.3 in c:\users\ninjamask\appdata\local\programs\python\python36-32\lib\site-packages (from -r requirements.txt (line 50))
Collecting oursql (from -r requirements.txt (line 54))
  Using cached oursql-<IP_ADDRESS>.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Windows\TEMP\pip-build-lp62r574\oursql\setup.py", line 53
        print "cython not found, using previously-cython'd .c file."
                                                                   ^
    SyntaxError: Missing parentheses in call to 'print'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Windows\TEMP\pip-build-lp62r574\oursql\

C:\pwb>pip install oursql
Collecting oursql
  Using cached oursql-<IP_ADDRESS>.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Windows\TEMP\pip-build-c83f8lvj\oursql\setup.py", line 53
        print "cython not found, using previously-cython'd .c file."
                                                                   ^
    SyntaxError: Missing parentheses in call to 'print'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Windows\TEMP\pip-build-c83f8lvj\oursql\

I fixed that in #8.


Draft: Fix writer:: Summarize ignoring Coloring options (#186)

Resolves #186
Synopsis
For now writer::Summarize ignores Coloring options.
Solution
Introduce cli::Colored trait to propagate Coloring to the outer Writers.
Checklist

Created PR:

[x] In draft mode
[x] Name contains Draft:  prefix
[x] Name contains issue reference
[x] Has assignee

[x] Documentation is updated (if required)
[x] Tests are updated (if required)
[x] Changes conform code style
[ ] CHANGELOG entry is added (if required)
[ ] FCM (final commit message) is posted

[ ] and approved

[ ] Review is completed and changes are approved
Before merge:

[ ] Milestone is set
[ ] PR's name and description are correct and up-to-date
[ ] Draft:  prefix is removed
[ ] All temporary labels are removed

FCM
Fix `writer:: Summarize` ignoring `Coloring` CLI options (#189, #186)


[Fix] [dinky-admin] Uniformly use '/' as the file separator.

Purpose of the pull request
[Fix] [dinky-admin] Uniformly use '/' as the file separator.
When synchronizing the resource directory structure in local mode, different file separators may be generated due to differences in operating systems.
Brief change log
This change added tests and can be verified as follows:
Test results ensure that the full file name can be generated using the '/' separator on both Windows and Linux systems.

This is the result of running on Windows before the modification.

@gaoyan1998 PTAL, thanks

@aiwenmo PTAL, Thanks


gulp 4 bails out on task before it's finished

I just upgraded to 4 in hopes of solving this.... but what I got was actually just a more verbose bail out...
"The following tasks did not complete: watch
[13:40:40] Did you forget to signal async completion?
Is there a way to trick gulp into not assuming that I've forgotten to do something?
I have a very complicated task. I'm trying to hide the complications from gulp, but whether I return a promise or attempt a callback, I get this message.

(Ok, so for future reference gulp 4 still seems to require a phantom event handler.
Tacking stream.on('data', (file) => { }); onto the end of the stream I'm using (inside the promise) seems to work around it.

Pretty sure something is being done very wrong if that is your solution.

I guess it's fine if you think that, but nonetheless my streaming process just gets interrupted by gulp unless I tack that onto the end.

I have the same issue, and it seems related to #552 because it fails after 16 files.
According to this comment, you have to sink the stream by returning it or piping it into anything that consumes it, which is what @laurelnaiad was doing above with the .on("data", ... – is there a more elegant way of doing this?
My task looks something like this:
// Build images.
export default async (gulp, defKey: string, config) => {
    const buildManager = new BuildManager(config, "img", defKey);

    // Determine last run.
    let lastRun = gulp.lastRun(`build:img:${defKey}`);
    if (lastRun === undefined) {
        lastRun = await buildManager.loadLastRun();
    }

    // Determine whether or not to stream changes using Browsersync.
    let sync;
    if (nestedProp.get(config, "operations.browserSyncStream.enabled")) {
        sync = browserSync.has("bs-server");
    } else {
        sync = false;
    }

    return new Promise((resolve, reject) => {
        gulp.src(nestedProp.get(config, "paths.src"), {since: lastRun})
            .pipe(print((filePath) => `Building '${filePath}'`))
            .pipe(ifElse(
                nestedProp.get(config, "operations.minification.enabled"),
                imagemin.bind(null, nestedProp.get(config, "operations.minification.options"))
            ))
            .pipe(gulp.dest(nestedProp.get(config, "paths.dest")))
            .pipe(ifElse(
                sync,
                () => browserSync.get("bs-server").stream(
                    nestedProp.get(config, "operations.browserSyncStream.options")
                )
            ))
            .on("finish", () => {
                buildManager.saveLastRun();
                resolve();
            });
    });
}

I tried returning gulp.src, but that didn't seem to help.

@glen-84 I don't see why you need to use the async keyword and return a promise, if this is just a gulp task, you can just return the stream and not use async.  Streams must end with a writeable stream or they don't get drained and the transform streams buffer to 16 and the process exits.  We've done work to make gulp.dest act like a writeable stream but you're ending on the ifElse transform stream instead.  if you return the stream (not a promise) to gulp.task, we drain it for you so "bad" patterns like this don't cause problems.

@phated,
Thanks for your reply.
I just confirmed that the issue is indeed caused by the if/else Browsersync part of the code. My code seems similar to the way it's done in the docs:
// Compile SASS & auto-inject into browsers
gulp.task('sass', function () {
    return gulp.src('scss/styles.scss')
        .pipe(sass({includePaths: ['scss']}))
        .pipe(gulp.dest('css'))
        .pipe(bs.stream());
});

What would you suggest as an alternative?

@glen-84 your code is nothing like that example because you wrap it in a promise and flag your function with async.  My suggest is "don't do that".

I'm using async to await the method call (await buildManager.loadLastRun()) ... is there no way to support an async method? It's gonna be a bit messy nesting everything in a then.

@glen-84 all gulp tasks are treated as async, I don't understand why you think you need to build something custom on top of it.  All of this is documented at https://github.com/gulpjs/gulp/blob/4.0/docs/API.md#async-support (gulp 4) and https://github.com/gulpjs/gulp/blob/master/docs/API.md#async-task-support (gulp 3)

I'm not trying to "build something custom on top of it", I just wanted to call a function using async/await because it's much cleaner than using promises directly.
The function just returns a last run time from a file, nothing fancy. I'm familiar with the various ways of signalling async completion using Gulp.
If the task itself cannot work when marked as async, then I'll have to just use then.
Thanks for your help.

@glen-84 alright, with the context you have given, it seems like you are adding complexity for complexity's sake.  In the future, please direct support questions to StackOverflow.  Thanks!


Remove use of org.embulk.EmbulkService

org.embulk.EmbulkService has been deprecated. We should stop using EmbulkService at least in the Embulk core.

Removed in #1161.


[#backport_7365] Fix getting localAddress when SocketChannel state is…

… connecting

Codecov Report

Merging #7441 (ddcd29b) into 2.1.x (1c2180c) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##            2.1.x    #7441   +/-   ##
=======================================
  Coverage   38.75%   38.75%
=======================================
  Files        3332     3332
  Lines       96197    96198    +1
  Branches    11901    11902    +1
=======================================
+ Hits        37278    37285    +7
+ Misses      56006    56002    -4
+ Partials     2913     2911    -2

Impacted Files
Coverage Δ

...afka/interceptor/NetworkClientPollInterceptor.java
0.00% <0.00%> (ø)

...p/pinpoint/rpc/stream/StreamChannelRepository.java
75.00% <0.00%> (-10.00%)
:arrow_down:

...pinpoint/profiler/monitor/DeadlockMonitorTask.java
18.60% <0.00%> (-1.17%)
:arrow_down:

...point/rpc/client/DefaultPinpointClientHandler.java
72.40% <0.00%> (-0.98%)
:arrow_down:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
80.48% <0.00%> (+2.43%)
:arrow_up:

...rp/pinpoint/rpc/server/PinpointServerAcceptor.java
88.74% <0.00%> (+4.63%)
:arrow_up:

...vercorp/pinpoint/rpc/packet/ServerClosePacket.java
68.00% <0.00%> (+16.00%)
:arrow_up:

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 1c2180c...ddcd29b. Read the comment docs.


Offer a way to sort "lxc list" numerically

Required information

Distribution: Ubuntu
Distribution version: 18.04
The output of "lxc info" or if that fails:

Kernel version: 4.15.0-91-generic
LXC version: 3.0.3
LXD version: 3.0.3
Storage backend in use: directory

Issue description
I have a number of containers with a common prefix and a number, e.g. foo-42. I would love if lxc list sorted the list numerically, so that foo-9 comes before foo-10
Steps to reproduce
lxc launch ubuntu:18.04 foo-1
lxc launch ubuntu:18.04 foo-2
lxc launch ubuntu:18.04 foo-10

Running lxc list should show foo-1, foo-2 and then foo-10. Currently it shows foo-1, foo-10 and then foo-2.
Information to attach
N/A

@zyga do you know of a Go sorter which does that?

I do not. I think coreutils sort has -n with similar semantics though.

https://stackoverflow.com/questions/18355338/alphanumeric-sorting-in-go looks like a good starting point. I'll play with integrating this with SortByName which we use for those columns already.

stgraber@castiana:~/data/code/lxc/lxd (stgraber/master)$ lxc list foo
+--------+---------+------+------+-----------+-----------+
|  NAME  |  STATE  | IPV4 | IPV6 |   TYPE    | SNAPSHOTS |
+--------+---------+------+------+-----------+-----------+
| foo-1  | STOPPED |      |      | CONTAINER | 0         |
+--------+---------+------+------+-----------+-----------+
| foo-2  | STOPPED |      |      | CONTAINER | 0         |
+--------+---------+------+------+-----------+-----------+
| foo-10 | STOPPED |      |      | CONTAINER | 0         |
+--------+---------+------+------+-----------+-----------+


WIP: Do not take ownership of the attributes

This will free us of cloning them.

Would need a rebase

Rebased and tested with the CLI utility.


Shield of the Eighth - Buff Timer

Shield of the Eigth Buff Timer
Current - 6 min

Should scale from lvl 1 - 20,  or 1 hour past lvl 20.

ill add this to my list to fix


Merge into yubikey guide on NixOS

Hi,
This repo seems like a great automation of the process for setting up the yubikey boot. Can you edit the wiki page and add this repo as a link for the yubikey setup part?
https://nixos.wiki/wiki/Yubikey_based_Full_Disk_Encryption_(FDE)_on_NixOS

https://nixos.wiki/wiki/Yubikey_based_Full_Disk_Encryption_(FDE)_on_NixOS has been updated. Feel free to review @ryanorendorff


[NOT AN ISSUE] Adding image to modrinth page would be good

I feel like this mod doesn't get enough recognition, and maybe it's because lack of image used on the modpage, if you have spare time please upload some image to mod page

Thank you for your suggestions, but this mod has not yet been developed. The most complete version is only the fabric version 1.20.4, so I will not add images for the time being. I wish you good luck.


fix translate pt-br to Dependency Injection, Facade and Interpreter

This PR fix issue #465

Thanks for the fixes! @raphaeldealmeida


Hash: Change the method of calculating hash values to the same as Agora

Recently, the method of calculating the hash in Agora has been changed.
As a result, transactions are not being processed normally when they are sent from the wallet.
The newly added code included the size type of the array and the length of the array when the array was hash.
I changed the hash value calculation method to the same as Agora.
Related to https://github.com/bosagora/boa-sdk-ts/pull/146

I changed the data and modified the hash values accordingly.
I am planning to merge first and conduct the test with Agora.
If there is a problem later, I will correct it.


remove (content of) mainpagecards ?

If I understand correctly, the mds in src/content/mainpagecards are just relevant to build the navbar?
The text for those cards are in src/content/subpage?
Is it possible to merge them?

src/content/mainpagecards are only used for the level 1 content (landing/main/home page)
https://github.com/nfdi4plants/nfdi4plants.github.io/blob/main/CONTRIBUTING.md#page-structure

Is it possible to merge them?

I wanted to do this, but to keep the approach more flexible we decided against.

Will close for now, as mainpagecards content is used for level 1 content:


Set individual params in manager

This commit add the ability to change previously declared parameters in code. It also renames some of the functions to explicitly include the datatype related to that parameter, as I found declare_param("string", "value") would get mapped to the bool overload instead of the string one. Only declare_param("string", std::string("value")) resulted in correct behavior.

Looks good!


Deploy raysect v0.1 to pypi

Add raysect v0.1 to the python repository, check it can be installed with pip, etc.

Done, deployed as v0.1.0a0. Could not release as v0.1.0 due to a problem with pypi. Labelling it as an alpha probably isn't a bad thing at present - it is after all in alpha state!


Add font-monofur-for-powerline

[ ] brew cask audit --download {{cask_file}} is error-free.

Audit still check for license stanza, output is

$ brew cask audit --download font-monofur-for-powerline.rb
Already downloaded: /Users/orax/Library/Caches/Homebrew/Cask/font-monofur-for-powerline--svn-latest.tar
==> No checksum defined for Cask font-monofur-for-powerline, skipping verificati
audit for font-monofur-for-powerline: failed
 - a license stanza is required (:unknown is OK)
Error: audit failed for casks: font-monofur-for-powerline

[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.
[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 that the cask was not already refused in closed issues.

Regarding audit, have you brew updated lately?

Did a brew update just before, also untap'd and tap'd cask back to make sure that I was up to date.
Don't really know why it does that :/ Thanks for the merge though :)


rename

I was browsing the code and came across this line in ABT.rename:
Var v -> if v == old then var new else var old

Shouldn't the else case be var v?

Wow, yes. Perhaps some tests would be a good idea. :)

Btw, @fryguybob congrats on making the first official bug report for this project! :) There might be a few other bugs with the new ABT-based representation of terms/types, as that was just switched over in the last couple weeks and I have not banged on it much. If you or anyone else is interested, writing some tests for the typechecker might be a fun (depending on your definition) way to get your feet wet with the codebase. :)


"Attempted to assign to readonly property" error when compiled via Bun

Component or Package Name: jsx-email
Component or Package Version: 1.12.1
@jsxp-email/cli Version?:  Not sure what this is
Operating System (or Browser): MacOs
Node Version: Bun 1.1.25
Link to reproduction (⚠ read below): Requires very minimal code, see below

Steps to reproduce
Seems like jsx-email cannot be bundled via Bun without errors. Take the following tiny example:

// index.tsx

import { render } from 'jsx-email';
console.log(await render(
Hello World
));

This works just fine when executed via bun index.tsx. But if you attempt to compile it via:
bun build --compile index.tsx --outfile ./app --target bun

And then run the compiled service via:
./app

You end up with this error:
9731 |     CharCodes2[CharCodes2["LOWER_Z"] = 122] = "LOWER_Z";
9732 |     CharCodes2[CharCodes2["UPPER_A"] = 65] = "UPPER_A";
9733 |     CharCodes2[CharCodes2["UPPER_F"] = 70] = "UPPER_F";
9734 |     CharCodes2[CharCodes2["UPPER_Z"] = 90] = "UPPER_Z";
9735 |   })(CharCodes || (CharCodes = {}));
9736 |     BinTrieFlags2[BinTrieFlags2["VALUE_LENGTH"] = 49152] = "VALUE_LENGTH";
                                      ^
TypeError: Attempted to assign to readonly property.
      at /$bunfs/root/app:9736:32
      at /$bunfs/root/app:9739:5
      at /$bunfs/root/app:28:48
      at /$bunfs/root/app:90243:12

Expected Behavior
Should be able to execute jsx-email's render() method after compiling the code via Bun's compiler.
Actual Behavior
Getting Attempted to assign to readonly property. error
Additional Information
Seems like maybe this is dying somewhere in the entities code? Might be caused by https://github.com/fb55/htmlparser2/issues/1782

Closing. Most likely a bug with Bun's bundler.

Right on..Happy to help where I can but not a bun user personally.


Implement Account getters with tests

[x] getAccountTransactionHistory
[x] getAllOrders
[ ] getAccountTransferHistory
- [ ] getUserShareBalances // not needed anymore, it was used for sim trade
[ ] getWinningBalance
- [ ] getCompleteSets // V2 contracts cash out completesets automatically as part of trading
[ ] getAccountTimeRangedStats

Moved remaining sub-tasks to the deliverable epic.


Consolidate "Docker containers, images, and registries"

https://github.com/dotnet/docs/blob/master/docs/architecture/microservices/container-docker-introduction/docker-containers-images-registries.md
https://github.com/dotnet/docs/blob/master/docs/architecture/containerized-lifecycle/docker-containers-images-and-registries.md
Related to #19929

Closing this issue, justification noted here: https://github.com/dotnet/docs/pull/25630#issuecomment-900336524


catkin build segmapper fails on building minkindr_gtsam

Hi,
I have a problem when building segmapper. I can't build minkindr_gtsam because it complains that mkl.h does not exist.
Errors     << minkindr_gtsam:make /home/tuan/segmap_ws/logs/minkindr_gtsam/build.make.003.log
In file included from /usr/include/eigen3/Eigen/Core:84:0,
                 from /usr/include/eigen3/Eigen/Dense:1,
                 from /home/tuan/segmap_ws/devel/include/gtsam/base/OptionalJacobian.h:22,
                 from /home/tuan/segmap_ws/devel/include/gtsam/base/Matrix.h:25,
                 from /home/tuan/segmap_ws/devel/include/gtsam/base/Manifold.h:22,
                 from /home/tuan/segmap_ws/src/minkindr_gtsam/minkindr_gtsam/include/kindr/minimal/quat-transformation-gtsam.h:28,
                 from /home/tuan/segmap_ws/src/minkindr_gtsam/minkindr_gtsam/src/quat-transformation-gtsam.cc:25:
**/usr/include/eigen3/Eigen/src/Core/util/MKL_support.h:57:21: fatal error: mkl.h: No such file or directory
compilation terminated.**
make[2]: *** [CMakeFiles/minkindr_gtsam.dir/src/quat-transformation-gtsam.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/eigen3/Eigen/Core:84:0,
                 from /usr/include/eigen3/Eigen/Dense:1,
                 from /home/tuan/segmap_ws/devel/include/gtsam/base/OptionalJacobian.h:22,
                 from /home/tuan/segmap_ws/devel/include/gtsam/base/Matrix.h:25,
                 from /home/tuan/segmap_ws/devel/include/gtsam/base/Manifold.h:22,
                 from /home/tuan/segmap_ws/src/minkindr_gtsam/minkindr_gtsam/include/kindr/minimal/rotation-quaternion-gtsam.h:28,
                 from /home/tuan/segmap_ws/src/minkindr_gtsam/minkindr_gtsam/src/rotation-quaternion-gtsam.cc:25:
**/usr/include/eigen3/Eigen/src/Core/util/MKL_support.h:57:21: fatal error: mkl.h: No such file or directory
compilation terminated.**
make[2]: *** [CMakeFiles/minkindr_gtsam.dir/src/rotation-quaternion-gtsam.cc.o] Error 1
make[1]: *** [CMakeFiles/minkindr_gtsam.dir/all] Error 2
make: *** [all] Error 2
cd /home/tuan/segmap_ws/build/minkindr_gtsam; catkin build --get-env minkindr_gtsam | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -

I verified that I have mkl.h installed at opt/intel/mkl/include. My $PATH is as follows:
echo $PATH
/opt/ros/kinetic/bin:/opt/intel/mkl/intel64:/usr/local/cuda-9.1/extras/CUPTI/lib64:/usr/local/cuda-9.1/lib64:/usr/local/cuda-9.1/bin:/usr/lib/ccache:/home/tuan/bin:/home/tuan/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

I have no idea what causes this. Any help is greatly appreciated!

Can you give more details about how did you install eigen? Is it a custom install or from the default apt repositories? Eigen should also compile without MKL support, it seems you have a flag set to compile with MKL support.
As for a solution, first thing is that $PATH in linux is where binaries are search. The compiler will look for header files in the locations pointed by $CPATH. Afterwards libraries, e.g. .so files, are search for in the locations pointed by $LD_LIBRARY_PATH.

@smauq Thank you for your quick reply. I installed eigen by sudo apt-get install libeigen3-dev. I export mkl library to $CPATH and it compiled :) Thank you for your help!


Cached WSDL file is the same for every request

If you set the cache_wsdl_path because you don't have access to the temp dir on your web server, the cached WSDL is used even if it does not apply to the request you are making.
Example:
$options = array(
    'username' => 'myuser',
    'password' => 'mypass',
    'cache_wsdl_path' => 'my/writeable/dir/file.cache',
);

$ssrs = new \SSRS\Report("http://myserver/ReportServer", $options);

$ssrs->listChildren('/ReportsFolder'); // Works

$ssrs->getReport('/ReportsFolder/Example Report'); // Fails with error

You'll receieve the error Function ("LoadReport") is not a valid method for this service where LoadReport is whatever the subsequent action you are attempting to take is. This is because the WSDL has been cached and it is not refreshed between actions.
The same would occur if you redefined the object but use the same cache path between different requests.
$options = array(
    'username' => 'myuser',
    'password' => 'mypass',
    'cache_wsdl_path' => 'same/file.cache',
);

$ssrs = new \SSRS\Report("http://myserver/ReportServer", $options);

$ssrs->listChildren('/ReportsFolder'); // Works

$ssrs1 = new \SSRS\Report("http://myserver/ReportServer", $options);

$ssrs1->getReport('/ReportsFolder/Example Report'); // Fails with error

I was hoping to be able to define the connection once and reuse it for all the requests I had to make, rather than redefining the SSRS\Report object every time. Is there a way to have this thing automatically download new WSDL when the action has changed?

Ah, I see the problem... if a path is not set we generate a cache file based on the WSDL URL. If we assume that the option cache_wsdl_path should be a directory and not a specific file, then append the cache file name to the end (as we do if the option is not set below), would that suffice?
In library/SSRS/Soap/NTLM.php we create a different cache file for each WSDL URL:
$options['cache_wsdl_path'] = $tmpDir . DIRECTORY_SEPARATOR . md5($wsdl) . '.wsdl';

Yeah, that would be great behavior! Unfortunately I don't have complete access to the server so I have to manually set the path to a writable dir, but that seems to want a specific file, not a directory.

I've made this change and tagged v1.0.13, could you give it a go and let me know? cache_wsdl_path should be the base path now, with a file being generated for each endpoint.

Working great. I am able to define my connector globally in my controller. Thanks!


Items should maintain their rotation, but still be relative to the camera.

Description
In other words, items should have the camera angle added to them visually. This avoids sideways objects while still letting them rotate freely.

This means all items would need to have equilateral bounds, ideally being circles.

This means all items would need to have equilateral bounds, ideally being circles.

They really should anyways tbqh.


Feature request: 'show-on-failure'

If you use this action as a step with an if conditional for job failure, then it won't run the steps necessary to show a card in a teams channel if the job fails.
      - name: Notify channel
        uses: toko-bifrost/ms-teams-deploy-card@master
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          webhook-uri: ${{ secrets.TEAMS_WEBHOOK_URL }}
          show-on-start: false
          show-on-exit: true
          card-layout-start: compact
          card-layout-exit: compact
        if: ${{ failure() }}

Removing the if condition then notifies the channel for every completed job rather than only on job failures
It'd be great to have a 'show-on-failure' flag so that it only notifies when the job has failed rather than on any job exit

@AdamHansrod, thanks for this suggestion. I will look into it.

Hi @AdamHansrod. I just released 3.1.0 with this feature. Kindly check.


my pin doesnt shows

I used the auto pin example. everything seems fine. there are no error messages but no pin got created.
I have checked and every variable is ok (keyword, board etc.)

my mistake
works great

my mistake
works great

Hi, But how did you solve the problem?


CODE/DOC: Centre

Add centre input option in genetic_value function to modify the numericalisation of effect sizes.

Looks good, but the way it's described doesn't really generalise to higher ploidies. Let's talk about this on Thursday.

Looks good, but the way it's described doesn't really generalise to higher ploidies. Let's talk about this on Thursday.

I totally forgot about higher ploidies, and I think it is a very good point. I will also try thinking about how we can improve this aspect.


WIP: Add support for loading image from memory

@vinothvino42 please respond to Vu's question

@vusters Now I added support for SVG too. Can you review it one more time?


Update portfolio

Coverage decreased (-0.3%) to 89.467% when pulling 92e7167f276d45d523a9f4db9450d4fac1c591a8 on arturs68:update_portfolio into 72dfee704cefc7f266f2054fe6aadd1770d38d29 on CS2103AUG2017-T12-B1:master.

Coverage decreased (-0.3%) to 89.467% when pulling 122ab6105f91b0a2680e6119ff01c7c2f44ec498 on arturs68:update_portfolio into 72dfee704cefc7f266f2054fe6aadd1770d38d29 on CS2103AUG2017-T12-B1:master.


Download Output Folder as Archive

Feature Idea
The "generate webpage" functionality of the grid generator is amazing. It would be nice to have an easy way to download the entire folder as something self-contained with all the folder structure and images as a zip archive.
Other
No response

While there should indeed be an interface feature for this, as long as you have access to the system swarm is running on you can just open up the output directory and zip it up manually at least

Yeah, it's definitely not urgent, but there are a lot of features that make it very convenient to run remotely with almost no setup other than opening up a port. Bulk downloading in general is kinda the only thing that feels like it's really missing there.

I too would like some easier way to download the files from either the simple, generate, or ComfyUI outputs, in bulk. When running in a situation like a runpod instance, it actually is kind of a hassle to get to the various output folders and to download bulk sets of images, at least through the main SwarmUI template they have on there with Jupyter notebooks being a main gui way to access the filesystem. Which doesnt support bulk downloads without installing an extension that I never have gotten to work (For some reason I also have had trouble with SSH/SFTP with that template)
Most of this is outside of project as I know the template isnt part of this project. But I was just describing it as a illustration as to why it would be a very useful to have an easy way to browse and bulk download from the multiple output folders.


feat(render): Add option to pass HtmlToTextOptions into render

This allows overriding for example uppercase header formatting.

Sorry for taking so long to merge, will do it right now.
Just wanted to ask a question, no particular reason, was there any specific use case you had to change the options html-to-text's options?

Hey @uwolfer, sorry for taking so long to merge, will do it right now.
Just wanted to ask a question, no particular reason, was there any specific use case you had to change the html-to-text's options?

Thanks for taking care of this one! In my use case, I just wanted to make headers not all-upper-case.


Decrypt download_messages_v2 payload

Signed-off-by: Miroslav Kovar<EMAIL_ADDRESS>

Codecov Report

:exclamation: No coverage uploaded for pull request base (keep-decryption-changes@faf1b9a). Click here to learn what that means.
The diff coverage is n/a.

@@                    Coverage Diff                     @@
##             keep-decryption-changes     #172   +/-   ##
==========================================================
  Coverage                           ?   51.11%
==========================================================
  Files                              ?      150
  Lines                              ?    22914
  Branches                           ?     6051
==========================================================
  Hits                               ?    11713
  Misses                             ?     7595
  Partials                           ?     3606

Flag
Coverage Δ

#unittests
51.11% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


Node Crash on vite build

Reproduction
It's a bit complicated to give a full reproduction here.
We are currently trying to move our existing nx vite monorepo app to remix.
When running the build step, we get the following error:
fo [hrtime] Extracted in (385.83ms)
✓ 2905 modules transformed.
rendering chunks (72)...

#
# Fatal error in , line 0
# Fatal JavaScript invalid size error 169220804 (see crbug.com/1201626)
#
#
#
#FailureMessage Object: 0x16d6b41c8

Which seems like some internal Node js stack/array issues.
I will try to narrow that down but would appreciate if someone who has seen this before could point out some direction to debug this.
System Info
OS X 14.3
Node v20.11.0

Used Package Manager
npm
Expected Behavior
Build running through.
Actual Behavior
Build erroring out.

Hey @ksjogo, did you ever find the culprit?

Hey @ksjogo, did you ever find the culprit?

I think in some other issue someone discovered that TypeScript references were somehow related to this.
We had to remove the references in our project (which was quite bad, as we can't have the tests in another tsconfig project).
Didn't try to readd references yet.


VMS: Copy _DECC_INCLUDE{PROLOGUE,EPILOGUE}.H to more places

Every inclusion directory related to a library we build need these two
files.  That signals to any other module using anything from these
libraries what to expect in terms of case sensitivity as well as how
long symbol names are dealt with.

This is currently in draft, until I'm sure I haven't missed anything.

As far as I've been able to test, this is enough

Merged
f14bead2c4898e484b6c01808c07edf3b61f01e9 VMS: Copy _DECC_INCLUDE{PROLOGUE,EPILOGUE}.H to more places


Sync Masonry's .gitignore with the repo's .gitignore.

The general editor/OS ignore filters are useful across the repo.
Fixees one of the Masonry specific snapshot filters, which was broken due to a copy-paste accident.

Alright, I removed them.


docs(dev setup): fix bashrc instructions

Alaska Airlines Pull Request
Fixes: #363
Summary:
The export part of the bashrc instructions for windows was missing.
Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

@blackfalcon I'm not sure what the test (16.x) step is, but it seems stuck.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


LibJS: Add HashMap for finding Bindings by name

find_binding_and_index was doing a linear search, and while most environments are small, websites using JavaScript bundlers can have functions with very large environments, like youtube.com, which has environments with over 13K bindings, causing environment lookups to take a noticeable amount of time, showing up high while profiling.
Adding a HashMap significantly increases performance on such websites.

The issue here is that we're failing to cache these binding accesses for some reason.
A hash map uses a lot more memory and hides the problem, so let's figure out why the accesses aren't getting cached instead :)

The lookups happen because initialize_or_set_binding is calling VM::resolve_binding to initialize the EnvironmentCoordinate caches. The instruction was InitializeVariableBinding in this case, but the same problem happens with all instruction that call initialize_or_set_binding.

The lookups happen because initialize_or_set_binding is calling VM::resolve_binding to initialize the EnvironmentCoordinate caches. The instruction was InitializeVariableBinding in this case, but the same problem happens with all instruction that call initialize_or_set_binding.

Right, but why isn't the lookup cached from before? Presumably the function is so hot because these bytecode instructions are being executed repeatedly without being cached.

The lookups are being cached, there's just a lot of them. An N * M problem. Also, to clarify, the profiling I did was (effectively) for page load times, since Valgrind never got to a full page load even after several minutes.
Valgrind's slow performance for memory accesses probably exaggerates the impact of the linear search, but even without Valgrind, load times for youtube.com go from 5.537s to 4.447s.

If they were being cached, the hash map would make no difference as the function would not be getting called at all.
Again, I think we need a reduced test case here so we can see what’s really going on. :)

Oh, I might be misunderstanding what you’re saying here. Are you saying the page has 10k+ bindings in a single environment and the instructions are all caching successfully but they all have to do that one first lookup which is what is slow?
If so, ouch! Sorry about the confusion. It would be really good to have an illustrative test that is painfully slow before the change and fast after.

Yes, you understand correctly now.
Here is a minimal test:
<html>
<head>
<script>
var source = '';
for (var i = 0; i < 69_420; i++) {
    source += `const var_${i} = function(){var_${i+1};};`;
}
var slow = new Function(source);
var start = performance.now();
slow();
var end = performance.now();
document.write(`PASS (took ${end - start}ms)`);
</script>
</head>

Results:
# Linear
PASS (took 2695.540192ms)
PASS (took 2756.908184ms)
PASS (took 2777.4772970000004ms)
PASS (took 2830.47279ms)
PASS (took 2855.4806200000003ms)

# Associative
PASS (took 243.222298ms)
PASS (took 252.023395ms)
PASS (took 253.08063ms)
PASS (took 257.752962ms)
PASS (took 258.55601ms)

Hmm, a more elegant solution here would be to emit pre-cached instructions by computing the environment coordinates in the parser. However, that's a more complex change and since you've demonstrated that this solves a real problem, let's take this change and eat the memory usage regression.
We can claw back the memory with future optimization work.


chore: don't inline DivInvMonoid default value for Div, for better instance transparency

See Zulip.  This will make particular DivInvMonoids whose Div field is constructed using the default value (such as ℝ) behave the same way as generic ones, at the instance transparency level, fixing examples such as the following:
import Mathlib.Data.Real.Basic

variable [LinearOrderedField α]

/- `.reducible` transparency works correctly over `ℝ`. -/
example {a b : ℝ} : a / 2 ≤ b / 2 := by
  with_reducible (apply mul_le_mul) -- fails, as desired

/- `.instance` transparency works correctly over a generic field. -/
example {a b : α} : a / 2 ≤ b / 2 := by
  with_reducible_and_instances (apply mul_le_mul) -- fails, as desired

/- `.instance` transparency does not work correctly over `ℝ`. -/
example {a b : ℝ} : a / 2 ≤ b / 2 := by
  with_reducible_and_instances (apply mul_le_mul) -- succeeds, wanted it not to
  all_goals sorry

[x] depends on: #1896

This PR/issue depends on:

leanprover-community/mathlib4#1896
By Dependent Issues (🤖). Happy coding!

This PR/issue depends on:

leanprover-community/mathlib4#1896
By Dependent Issues (🤖). Happy coding!

Thanks! I also wouldn't be surprised if there were many instances (not just default values for classes) where we need to do this to keep fields from unfolding.
bors r+


Obstacle Detector

Port LMS crossing detection to ROS. Seems to be written a lot less nicer than the other components, so requires much more work:

obstacle_detection.h
obstacle_detection.cpp

Use OpenCV for edge detection algorithms and line iteration (can use a common header with related operations), line-related geometric operations can be added  here, will be using boost::geometry as base, if you want to use CGAL or something else, please feel free to suggest.

We have a clustering-based obstacle detection working. A corner-based detector remains a goal, but since this is working initially, I am closing this.


feat: add codeql workflow

Related to #218
Describe the changes you've made
Files added .github/workflows/codeql.yml

Type of change
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[ ] I have made corresponding changes to the documentation.

@gambhirsharma pleae review this PR.
Thanks


[wgpu] Memory management strategy too greedy?

Trying to run Llama 3.1 (and even TinyLlama, which I was previously able to use) on wgpu I get an error due to lack of memory.
On WSL:
Loading record...
thread 'main' panicked at /home/laggui/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cubecl-runtime-0.2.0/src/memory_management/dynamic.rs:156:9:
No memory pool big enough to reserve 262144000 bytes.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

On Windows:
Loading record...
thread 'main' panicked at C:\Users\guila\.cargo\registry\src\index.crates.io-6f17d22bba15001f\wgpu-22.1.0\src\backend\wgpu_core.rs:3411:5:
wgpu error: Validation Error

Caused by:
  In Device::create_buffer
    Not enough memory left.

note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\release\examples\chat.exe` (exit code: 101)

My notebook only has 6GB VRAM but I can run with any other backend no problem.
I know other users on discord have reported a similar issue even with 4090s.

try this
https://cdn.discordapp.com/attachments/1277836331501883449/1280291965879193731/fix.zip?ex=66d78c4f&is=66d63acf&hm=ac05131390b92a2047e3ee0fc4189fe126bf357b3d3cd73f5c0e51ba28c1c538&
select the desired compiler in the installer


chore(main): release eslint-config-fuf 0.9.5

:robot: I have created a release beep boop
0.9.5 (2024-05-21)
Bug Fixes

eslint-config-fuf: update typescript-eslint monorepo to v7.10.0 (ef99c6f)
eslint-config-fuf: update typescript-eslint monorepo to v7.9.0 (0dd5f17)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/fuf-stack/ts-project-setup/releases/tag/eslint-config-fuf-v0.9.5 :sunflower:


unseenCount after thread.seen() is always 0

How can I check if message in inbox is new? For example I have a lot of threads, and I want be notified when thread has new item that I has not not read yet, do I fetch all threads for my user and check items field and compare with some previous fetched items?
Tryed to use thread seen method, in code it returns unseenCount - I assumed it's counter of messages that I have not read yet, but it's always zero. Can someone please help me?

Found usefull example https://github.com/nemanjan00/instagram-chat/blob/c8c3ff6c3c1b70ee5f36b21eb4c73e57ca70d83c/frontend/src/controllers/inbox.js#L59