Incorrect display of numbers

The skin in the following screenshot is using default numbers instead of its own:

This is due to the fact that in the default, score, combo are inside of their own folders and are accessed in the skin.ini file with the following entries under [Fonts]
HitCirclePrefix: Assets/default/default
ScorePrefix: Assets/score/score
ComboPrefix: Assets/combo/score

e.g. in the skin folder the score numbers would be found in Assets/score/. Please add support for searching for files inside of folders as provided in the skin.ini

Actually this is something that I support:
https://github.com/abstrakt8/rewind/blob/master/libs/osu-local/skin-reader/src/SkinTextureResolver.ts#L47-L73
I tested with the -        # WhiteCat (1.0) 『CK』 #- skin that has the following part in skin.ini:
[Fonts]
  //----------Hitcircle font
    HitCirclePrefix: Assets/default/default
    HitCircleOverlap: 15

  //----------Score font
    ScorePrefix: Assets/score/score
    ScoreOverlap: 10

  //----------Combo font
    ComboPrefix: Assets/combo/combo
    ComboOverlap: 10

Can you provide me your skin?

https://drive.google.com/file/d/1aMCCrYzOsZ3CbQA243blBqLhkulErhTU/view?usp=sharing

Quickly tested the skin in windows, seems like a linux bug

Yeah, the skin.ini says:
HitCirclePrefix: Assets/default/default
ScorePrefix: Assets/score/score
ComboPrefix: Assets/combo/score

but the actual folder is assets (lower case), which is bad for a case sensitive environment such as Linux.
But I will try to make a solution for this as well, thanks for reporting.


updated CI

Currently the conditional for the CI test does not match the correct the correct repo name, this fixes that and also removes the conditional for the CI test. We only need it when pushing to docker repo.

@DelusionalOptimist do you mind looking at this, so we rerun the CI and update the repo

Hey @Chinwendu20... I updated some other refs by myself so that further work can be done on this... hope you don't mind. : )

Fine by me! So sorry that I abandoned it

Fine by me! So sorry that I abandoned it

No worries! We all get busy :sweat_smile:


Line breaks not consistent

Hi! We've noticed that calamine handles line breaks different than all other engines when reading excel files via pandas, running the following code:
data.xlsx
import pandas as pd

df = pd.read_excel('data.xlsx')
print(df)

df_calamine = pd.read_excel('data.xlsx', engine='calamine')
print(df_calamine)

we get:
print(df):
header1  header2  header\nwith break
0        1        4                   7
1        2        5                   8
2        3        6                   9
print(df_calamine):
header1  header2  header\r\nwith break
0        1        4                     7
1        2        5                     8
2        3        6                     9
As you can see, calamine is representing line breaks as r\n\ while other engines consider usual \n break.

It's bug (?) in upstream.


Release 06.03.01

Squashed a nasty bug that happened on clean install, first time settings.

This pull request is now managed with CodeReviewHub. Refresh.


SignUpActivity - make calls to database

edit the sign up class to make calls to the database using helper functions from the HTTPGetRequest class

done


Create it_schule

official website: https://www.its-stuttgart.de
it-related courses: https://www.its-stuttgart.de/its/front_content.php?idcat=2
school domain proof: https://prnt.sc/fix52i

@Daviddo3399 Could you please make sure that you have read the instructions on how to add a domain to this repository at the bottom of this page: https://github.com/JetBrains/swot
Also, please let us know which domain you wish to add. Thank you.

@Daviddo3399 lib/domains/edu/it_schule file has wrong filename format, it must have an extension .txt. However, even lib/domains/edu/it_schule.txt corresponds to a domain it_schule.edu, which does not exist. This is why I ask you to tell which domain you wish to add. Please reply. Thank you.

i guess the domain is its-stuttgart.de or isn't that an valid domain?

@Daviddo3399 I am sorry, I don't know which email domain students use in your school. If your university email address ends with @its-stuttgart.de, and you wish to add this domain to the repository, please rename the file in your request to lib/domains/de/its-stuttgart.txt.
Please feel free to check the details on how to add a domain to this repository at the bottom of this page: https://github.com/JetBrains/swot/
Thank you!

@Daviddo3399
It's a bit tricky, I see. Do I understand right that your email which you need a free license for, is something like<EMAIL_ADDRESS>If yes, I'll make the correct request for you, otherwise it takes too much of your time.  The file lib/domains/edu/its-schule.txt which you have in your request now represents a domain its-schule.edu, which does not exist:
$ host -t any its-schule.edu
Host its-schule.edu not found: 3(NXDOMAIN)

Please clarify which email you need the license for, and I'll arrange the rest. Thank you.

yes the email is like<EMAIL_ADDRESS>Thank you very much!

@Daviddo3399 Well, I just double checked and found that the repository entry representing your school already exists in this repository: https://github.com/JetBrains/swot/blob/master/lib/domains/de/its-stuttgart.txt
Did you try to request a free license using your school email address at https://jetbrains.com/student? What was the result? If you did not receive a confirmation email after applying, please send us an email to<EMAIL_ADDRESS>we'll check what happened.

@Daviddo3399 As per my previous comment, I close this request without merging due to existence of the record in the repository.


⚠ Bofrost.fr has degraded performance

In e91bc99, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1538 ms

Resolved: Bofrost.fr performance has improved in d990818 after 6 minutes.


[Feature Request]: Refactor Settings, implement config management

Describe the problem
Config management in chroma right now is a clunky, flat list of settings. Its hard to manage and not cross-language compatible.
Describe the proposed solution
These should be separated out between client, server, service and component within that service.
Alternatives considered
The status quo.
Importance
would make my life easier
Additional Information
No response

The Settings class contains settings for both client and server, which causes it to sometimes break encapsulation, e.g. when used to set up a HTTPClient or similar.
https://github.com/chroma-core/chroma/blob/4ae47cd04353bb5b063253b08686608f7e9129bc/chromadb/config.py#L84
Additionally, we would like to be able to do things like warn the user if they pass in a Settings object, for example when creating a client, where some of those passed-in settings may be over-ridden, e.g. in CloudClient:
https://github.com/chroma-core/chroma/blob/4ae47cd04353bb5b063253b08686608f7e9129bc/chromadb/__init__.py#L226

Hey, I'd like to take a jab at this. I figured I should first split Settings into BaseSettings, ClientSettings, ServerSettings and then figure it out from there. I have a sketch and I'll push my branch soon.

@atroyn hey. If we want to warn users when they pass a 'Settings' instance, we could create a decorator 'warn_on_Settings_not_None' and decorate functions that modify the 'Settings' instance. What do you think?

@rancomp thanks for taking a crack at this. I think at the moment we want to take a different approach here, especially since client settings will need a refactor for cloud. Closing this issue for now.


JCimportAddI is not the command!

class A{
public void method(){
Map m = new HashMap();
}
}
get this error
E492 JCimportAddI is not the command error!

Does other commands work?

other work well such as addall remove unuse JCimportAdd,only JCimportAddI dosent work

Are you sure there are no mistypes?
You can look at plugin/javacomplete.vim, and see those commands, try
to run it manually or something else.

ahaa ,i add the command before you change the readme.md, now i have change the command,and it works well!


Render Templates test

What's this PR do?

Restores some coverage removed in #992
Updates docs to remove mention of a "Gambit Campaign", just "Campaign"

How should this be reviewed?
👀
Checklist

[ ] Documentation added for new features/changed endpoints.

Codecov Report

Merging #993 into develop will increase coverage by 0.84%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #993      +/-   ##
===========================================
+ Coverage    58.24%   59.09%   +0.84%
===========================================
  Files           82       82
  Lines         1655     1655
===========================================
+ Hits           964      978      +14
+ Misses         691      677      -14

Impacted Files
Coverage Δ

lib/contentful.js
89.74% <0%> (+0.85%)
:arrow_up:

...ib/middleware/campaigns-single/render-templates.js
94.44% <0%> (+72.22%)
: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 6c28bf6...ed7df4c. Read the comment docs.


fix(package): add LICENSE

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


tester.py path issue

path error when running
$python raisimGymME491/env/envs/aliengo_jump/tester.py
Error output:
hajh@hydra:~/Workspace/raisim_ws/ME491_2022_project/raisimGymME491/env/envs/aliengo_jump$ python tester.py
[2022:11:17:21:12:54 ArticulatedSystem.cpp:374] /home/hajh/Workspace/raisim_ws/rsc/env/envs/aliengo_jump/rsc/aliengo/aliengo.urdf does not exist
I was able to fix this by tweaking with paths in tester.py, but I thought that some others might face similar issue
I don't think specs are relevant but fyi:
Graphic card: nvidia RTX A6000
OS: Linux-x86_64 (Ubuntu 22.04)
Nvidia driver version: 515.76

I checked it, thanks for your comment!


add --topic-type and --topic-name flag

also, changed chat_local interface for getting conversations IDs
and refactored CLI code to move stuff shared between list/read to
chat_utils.go

r? @maxtaco @patrickxb  Thanks!

@patrickxb I moved more stuff into service. Please take another look when you have time. Thnaks!

LGTM...would like to try it out at some point...

Thanks @patrickxb! Regarding to trying out, there are two simple tests for rendering in https://github.com/keybase/client/pull/4056/files, but definitely not covering much yet ...


Display history of a loan on the FE

The DeRisk dashboard contains a section about loans that have the lowest health factors based on the given criteria, see https://starknet.derisk.carmine.finance/#loans-with-low-health-factor.
The task is to display the history of a loan, i.e., a list of events describing details about the user's deposits, borrows, withdrawals, etc. The history would be displayed when hovering over the given loan, or when clicking on a button.

It could be displayed when user clicks on the loans and the user could be directed to a different page.

Hi @lukaspetrasek, I want to take up this issue.

Yes, I'm still interested

Can I take up this issue?

Hi, can you guys please tell me something about you, what skills/experience do you have and how do you plan to tackle this issue? This task is not simple, so I have to learn more information before I assign anyone 🙏🏼

Hi, can you guys please tell me something about you, what skills/experience do you have and how do you plan to tackle this issue? This task is not simple, so I have to learn more information before I assign anyone 🙏🏼

Can the relevant PR for #78 be included ? would help a ton in assessing what needs to be done before I can make any formal PFC (Proposal For Contribution 🥲)

Hi, that issue doesn't provide any relevant information/code for solving this one. I have to admit this one's pretty difficult and I suggest to wait until #68 is done before moving on.

this one is turning out to be one of those issues that span years 😅

@lukaspetrasek Can i work on this issue?

@lukaspetrasek
I would like to take this task, I love 🍍.
I am ready to begin as soon as the task is assigned and aim to complete it within a reasonable timeframe, depending on its complexity.
While I am familiar with Python programming, I am also eager to learn and solve problems, even without prior experience. I am excited to contribute and will put in my best effort to successfully complete the task! 😊

please, I would like to take this task. This is my first time contributing, I love orange

@lukaspetrasek please, I would like to take this task, I love orange


Wording in "How Does it Work?"

Need revision about the major components quantity @mrmrcoleman
https://deploy-preview-27--festive-goldwasser-489842.netlify.app/

hi @mrmrcoleman if you already have the new wording, let me know I can change it

Morning. It wasn't my intention that you would wait for me on this as it's a minor thing.
Here's my suggestion for updated text:
"Tinkerbell has three major components: a DHCP server (oots), a workflow engine (tink), an in-memory operating system (osie) and a metadata service (hegel). The workflow engine is comprised of a server and a CLI, which communicate over gRPC. The CLI is used to create a workflow along with its building blocks, templates and targets."

Hi @mrmrcoleman
Did you mean four major components? @ronggur took the liberty to put four instead of three. Let us know if you want three.
Thanks.

I did mean four, thanks @ronggur !

@mmlb, other than oots -> Boots, do you have any other concern? Thanks.

nope, lgtm.

Thanks @mmlb.
@ronggur all yours sir.

and it just handled by @gauravgahlot . closing now.


Dummy to check status of master

None

@rmohr
isnt it bad that the bot adds "approved" ?
for example if due to a bug, a later push to this PR wont remove the approve, and people can add malicious code in this case ?
anyway this is just a dummy PR to check the state of the vanilla lanes
thanks

@oshoval I habmve no idea why this is approved. That should not have happened.

for example if due to a bug, a later push to this PR wont remove the approve, and people can add malicious code in this case ?

Ok, see https://github.com/kubernetes/test-infra/issues/13200.
Prow approves it because no file was changed, which requires that no approver for changes files is needed (since none are changed). It is a not-addressed edge case where people could merge strangte commit messages if someone can lgtm a PR, but it would remove the approve if you change files in a follow-up.

thanks @rmohr

thanks @rmohr

Thanks for pinging.


I can't find the EXE file in the XIP.

The EXE file isn't in the ZIP file, please fix.

Not sure what ZIP you mean. If you're talking about downloading the repository, the EXE should be right in the NonEuclidean folder. Unless you accidentally downloaded a different branch instead of master.
If you downloaded master and there is no NonEuclidean.exe in the NonEuclidean folder (subfolder of wherever you extracted the archive), that's some hiccup in GitHub or a false positive in your antivirus, neither of which is something the creator of this can do something about.

@ehx-v1 nope, no exe in this repos

When looking at the repository in the Code tab (master branch) and opening the NonEuclidean folder, I can scroll down and see NonEuclidean.exe right there. If that's not there for you, one of the following might be true:

GitHub is refusing to include the file. Not sure what to do about that.
Your antivirus is removing the file because of a false positive or because of overly restrictive policies. Try configuring your antivirus to allow the file, also you might be able to restore it from your antivirus' quarantined data. That fully depends on which antivirus you use, though, and potentially on your installed group policies.

I think i know what is the issue.
He probably downloaded id from someone else's github page.
Because when i searched up NonEuclidian Engine, i saw someone else's page but the text was identical and there was no executable there.
But, if i search NonEuclidean, this github page appears.
Here is proof

I'm not 100% sure if this is the issue but it might be.

So now we're dealing with issues caused by other devs being unable to fork properly. Great.

So now we're dealing with issues caused by other devs being unable to fork properly. Great.

Sorry for making your job harder but at least I told you on time.

So now we're dealing with issues caused by other devs being unable to fork properly. Great.

Also it's kinda funny cuz you make one mistake in typing and boom, you got on someone else's page that has no executable.

Sorry for making your job harder

Not your fault, lol. Good to know that's a thing, since I'm primarily trying my best to sort out the not-actually-caused-by-the-code problems so the actual devs can focus on coding.

Sorry for making your job harder

Not your fault, lol. Good to know that's a thing, since I'm primarily trying my best to sort out the not-actually-caused-by-the-code problems so the actual devs can focus on coding.

Thanks, i really thought that it was my fault considering that you used sarcasm in the other sentence.


Returning a 404 if no metrics are found.

@aleksandrmelnikov is this ready?

Not yet tested, been focusing on kubectl.


[FEATURE] Fuzzy Search

Hi, first of all, thanks for the extension.
Can a fuzzy search be implemented? I wanna type code monorepo and list all recent vscode with the monorepo keyword.
Thanks!

Good point! I'll see if I get time thos weekend to hack it up :)

@WandersonAlves It's live now :)
Note: You will have to install the fuzzywuzzy module: pip install fuzzywuzzy


devops: merge from upstream and handle conflicts

merge from Heroku's fork
conflicts were related to the README and bin/compile, bin/detect, and bin/release files
copied the latest from upstream files to our og_ files

copied from https://github.com/Compt/heroku-buildpack-nodejs/pull/1 for our existing implementations

Closing due to new repo.


Add a new Dockerfile

This is a tentative PR to create a new Dockerfile.
Although it reduces the image size to less than half compared to the old Dockerfile, it takes a lot more time to build the image (because it needs to compile numpy, scipy and scikit-learn).
If anyone wants to try it, just run:
$ docker run --rm caiopo/rosie python rosie.py test

It will download the image from Docker Hub and run rosie's tests.
Possible next steps:

Break the image down in two:

rosie-base: image that provides rosie's dependencies, but not rosie's code (slow to build, but only needs to be rebuilt when the requirements change)
rosie: image that extends rosie-base and adds rosie's code (fast to build)

Add a after_success script to Travis that builds rosie image and uploads it to Docker Hub everytime a commit passes the tests. This way, the image in Docker Hub will always be up to date and ready to run.

Coverage remained the same at 96.794% when pulling 2183296bbd4b2747a4571ccff19c841c9004a4d7 on caiopo:caiopo-new-dockerfile into 627e65858d154fcd500c19b9cf7979bfe7553222 on datasciencebr:master.

Coverage decreased (-72.0%) to 24.381% when pulling d2460af0ab50abfdf8e5153ff7874bfa45c6a6a5 on caiopo:caiopo-new-dockerfile into 303ce7dd5ce9460b59d38994e4ea625aa6d3fc8f on datasciencebr:master.

Coverage decreased (-72.0%) to 24.381% when pulling 0df196e5f49f3f0b2d0e889f49bd78179076e0b6 on caiopo:caiopo-new-dockerfile into 303ce7dd5ce9460b59d38994e4ea625aa6d3fc8f on datasciencebr:master.

Coverage remained the same at 96.577% when pulling a2cc6e016d5bd959e03c9c43af8423bf866179ce on caiopo:caiopo-new-dockerfile into 2d6a5cecf2547db57b9b4e70deb0613817b579ab on datasciencebr:master.

Hi @caiopo. Many thanks for the contribution. I'm wondering if adding this complexity to the Dockerfile will offer a real advantage in terms of the memory usage.
Surely this is a way slimmer container when compared to what we have ATM, but I'm not convinced that making a Dockerfile that is 4x larger in LOC, probably involving more sparse dependencies (I imagine myself in a few months or years trying to remember why do I have to remove a dir, cleanup a tmp path or install that specific package via apt-get after installing something else) is a good trade off in terms of hardware requirements vs. software maintainability.
I really would like to hear from @Irio @anaschwendler and @jtemporal here.

I understand and kind of agree with both @cuducos and @caiopo points.
@caiopo Our main concern is having to maintain lines 7-61. Did you based your code in a publicly available snippet we could just important? What is the reasoning behind of it?

Closed by inactivity.


[Feature Request] Recreate container

I would love to see a service added to this to allow containers to pull the latest image, then recreate the container based on the Json data under Config from the docker API.

I think you basically like to create a container via monitor_docker. Technically the aiodocker library I use, should this. Only it will become a bit complex (I can't really validate if the input is "good" enough), so I need to think about it if it is really a useful service to add.

Fair enough, you really wouldn't need to validate the input since it would be coming from an already created container. Only validation needed would be to make sure the container name existed to pull the config from.

I will check if the underlying aiodocker library can do this (re-using the old settings), but it looks more a task for watchtower?

I maybe a single use case, but I would like to be able to hit "Upgrade Home Assistant" button from my UI and have it recreate the container with the latest image without having to use a command_line switch and bash script.
If you can't swing it no worries. It was just an idea.

aiodocker doesn't support the required rename feature, I will try to make a PR for that one first (and see if they accept it).

+1 for this. I'm not familiar with the Docker API, but is it possible for this to read an existing compose file?

@colemamd Sorry, it isn't that easy to re-create a container. Neither doing it via docker-compose, you could make a shell command in HA to trigger docker-compose?

@firstof9 I have looked deeper in the Docker API and aiodocker, but it is not easy to do such re-creation (there is no 1:1 possible, because the names and datatypes are all different). If you are willing to make a PR yourself, I happy to merge it.


lmstudio deeplink for MLX models

(Not yet tested)
LM Studio 0.3.4 and newer supports MLX - reference

CI failure is unrelated


How to disable default bucket level prefix?

Here is original MyS3Bucket  structure:
.
├── MyFolder1
├── MyFolder2

After using Amplify it's changed to this:
.
├── MyFolder1
├── MyFolder2
├── public
|   ├── MyFolder1
|    |   ├── FileName

Here is how I put objects to the storage:
   Storage.put( '/MyFolder1/FileName', blob, { contentType: 'image/jpeg' })
    .then(result => {
      console.log('--result')
     console.log(result)
    })
    .catch(err => {});

I also tried
   Storage.put( '/MyFolder1/FileName', blob, { contentType: 'image/jpeg' , level:'public' })
    .then(result => {
      console.log('--result')
     console.log(result)
    })
    .catch(err => {});

and
   Storage.put( '/MyFolder1/FileName', blob, { contentType: 'image/jpeg', level:'private' }) })
    .then(result => {
      console.log('--result')
     console.log(result)
    })
    .catch(err => {});

which basically stores the files to directories with the public or private  root correspondingly.
PROBLEM: how to disable the default prefix (public or private  ) to be able to store files directly to folders in the bucket (to MyFolder1 for example) ?

The default public/private directories has default security policy setup by MobileHub. They are convenient for many use cases. However we do see other cases. My colleague is working on the request. Will be available soon.


fix: failing MongoDB migration

Description
We cannot migrate too many versions of mongoDB at once, because it is failing with:
mongodb 12:51:03.95 DEBUG ==> Starting MongoDB in background...
{"t":{"$date":"2023-01-03T12:51:04.005Z"},"s":"I",  "c":"CONTROL",  "id":5760901, "ctx":"-","msg":"Applied --setParameter options","attr":{"serverParameters":{"enableLocalhostAuthBypass":{"default":true,"value":true}}}}
about to fork child process, waiting until server is ready for connections.
forked process: 52
ERROR: child process failed, exited with 62
To see additional information in this output, start without the "--fork" option.

error during a migration.
That's why the current version is 12.1.31 and the migration was written to avoid CrashLoopBack problems.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] Bug fix
[x] Refactor/improvement

How Has This Been Tested?
Integration tests
Checklist
N/A

Codecov Report

Merging #677 (bb7be86) into develop (a30a421) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head bb7be86 differs from pull request most recent head 2e19285. Consider uploading reports for the commit 2e19285 to get more accurate results

@@           Coverage Diff            @@
##           develop     #677   +/-   ##
========================================
  Coverage    86.83%   86.83%
========================================
  Files           25       25
  Lines         1603     1603
========================================
  Hits          1392     1392
  Misses         211      211

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

:tada: This PR is included in version 1.8.5-beta.7 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Task 312-315 (Corrected files)

In the old files of tasks 312-315, the dataset name was missing (corrected all 4 files in here).
Please review and merge this branch with the master.
Thank you!!

@gkaramanolakis wondering if you can review this PR?

@gkaramanolakis wondering if you can review this PR?

All these 4 tasks are accepted already and merged with the master. I just forgot to add the dataset name. So, added that only nothing else.

 Thanks!


Sources paths should be platform-agnostic

Running uv add <path> on Windows adds the sources path with backslash () Windows-style, which causes it to fail when running on other platforms.
Manually changing to slash (/) makes it work on all platforms.
uv add <path> should always use slash (/).

Agreed, I assumed we did this already.


relationals: Use stringstream in print_hex_mem_dump

print_hex_mem_dump was calling sprintf with source and destination buffers overlapping, which is explicitly forbidden.  Rewrite the function to use C++ stringstreams instead.
This commit only affects the error path and does not change the printed output.  Error logs before and after this commit should not differ.
Signed-off-by: Sven van Haastregt<EMAIL_ADDRESS>

[Qualcomm] Need time to review this change.


Update ReportStream to use the open source conversion library

@arnejduranovic Is this still relevant? Or should it be deferred?

@bishoyayoub This epic and all stories should be ice boxed, check with Avniel


Fix typo in BaseMaterial3D conversion from 3.x SpatialMaterial

Cherry-picked for 4.2.1.

Cherry-picked for 4.1.4.


Feature Request: Update Bootstrap

What about updating to current version of bootstrap?

It's definitely something I've wanted to do but just haven't had the time to start.


Various fixes to get non-english content packs building

Each commit should be self-explanatory!

Looks good to me, will merge when tests pass.

1 test failure. Fixing.

@rtibbles ready to merge.


Freezing after wrong input to splitter

If I close the popups for the splitter rather than filling them in the whole page freezes. The only way to recover is to refresh.

I have fixed this particular issue. However other wrong inputs such as text instead of numbers will not be handled.


Optimize addon docker image

Comparison (before and after):
❯ docker images
REPOSITORY                              TAG       IMAGE ID       CREATED          SIZE
ghcr.io/allenporter/amd64-rtsp-to-web   latest    83ebfeef827a   11 days ago      954MB
ghcr.io/felipecrs/amd64-rtsp-to-web     latest    1253f6cf9ad8   13 minutes ago   60.3MB

Which means that the addon is much quicker to install now, and takes less space.

Nice thanks for the improvements. I will do some testing on this on a couple platforms.

Me too, I'm outside home now.

There appear to be some build failures with the images.

@allenporter now it should be working normally. This is the final size:
$ docker images
REPOSITORY                                             TAG       IMAGE ID       CREATED          SIZE
new                                                    latest    de37fea230f1   10 seconds ago   60.3MB

I'll give this a try soon.
In order to fix https://github.com/allenporter/stream-addons/issues/29 i'm moving the configuration around to /data so that it can sit in the add-on persistent volume in https://github.com/allenporter/stream-addons/pull/31 and pulling in a couple changes from here (e.g. removing redundant lines while i'm updating them). If you have time to review, i'll take it.

@allenporter I still didn't get my hands on a Raspberry Pi for testing in ARM, but I'm confident that my last change should have fixed it there.
I'm using this version of the addon ever since, and it's working very well.

Thanks for the reminder, i'll give this a try soon.

Thanks for the reminder, i'll give this a try soon.

Yes, this is working, great!
$ docker pull ghcr.io/felipecrs/armv7-rtsp-to-web:latest
$ docker run -p 8083:8083 ghcr.io/felipecrs/armv7-rtsp-to-web:latest
...
[16:44:29] INFO: Starting discovery service
[16:44:29] INFO: Starting RSTPtoWeb

Please let me know what you think. I did some research, and I realized that GIN_MODE is indeed required in runtime, but GO111MODULE is not (it's only required during go mod download and go build).

I'd like to do a partial revert of these two changes and merge your PR. Perhaps we can keep discussing after, as i'd like to make bigger changes, but don't want to force you to have to do all the merging yourself.


Possible to use in browser?

Is there a way I can use this in the browser? For example instead of using destPath the file is saved to a blob or something?

In the current state, I'm afraid it's not possible to use it in the browser (unless the "browser" is node capable like Electron for instance).
I'm not sure but I don't think it would be possible to make it work in a browser as it relies on NodeJS net API to create the socket for the file transfer and the NodeJS file system API for checking the file size and saving on disk.


chore: upgrade dependencies

Codecov Report

Merging #2276 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #2276   +/-   ##
=======================================
  Coverage   98.36%   98.36%
=======================================
  Files          15       15
  Lines         977      977
=======================================
  Hits          961      961
  Misses         16       16

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 e2c0b17...9dc6ffa. Read the comment docs.


Update tests

Codecov Report

Merging #4 (6eee6f4) into main (4af07c9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #4   +/-   ##
=======================================
  Coverage   70.21%   70.21%
=======================================
  Files          50       50
  Lines        9693     9693
  Branches     5957     5957
=======================================
  Hits         6806     6806
  Misses       1855     1855
  Partials     1032     1032

Flag
Coverage Δ

packchk-cov
50.52% <ø> (ø)

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


Automatic back camera selection for exotic browsers (Wechat)

A suggestion of approach to solve a problem appearing of Wechat Browser in android
Another way suggested on the issue feed #178

I suggest to not ask which camera to use, as we suppose that AR is usually using back camera for obvious UX reasons (hard to place a marker on the front camera).
If we asked the question, we will need a mechanism to keep the answer, to not get triggered everytime the experience get loaded, thus recording it using a cookie or something, which is a bit heavy UX-wise I feel, especially knowing that we will either need to use an uncustomized native prompt() or a customized popup system, in both cases, its adding some UI on the system, which is not optimal.
Another solution would be to expose which webcam to select inside the parameters of ArToolkitSource something like :
this.parameters = {
		// type of source - ['webcam', 'image', 'video']
               sourceType : 'webcam',
               // ['back', 'front']
               webcamDirection : 'back' ,
		...
	}

So I choose not to ask, working fine in my case, so what I do is :

detect if there are several video devices
if so, detect if one has the "back" word in its label, if yes take that one as deviceId
else, do not precise the deviceId inside userMediaConstraints to fallback on the default one

Line 182 in three.js/src/threex/threex-artoolkitsource.js

navigator.mediaDevices.enumerateDevices().then(function(devices) {

  var backVideoInputId = false
  for (var i = devices.length - 1; i >= 0; i--) {
    if(
         devices[i].kind === 'videoinput' &&
         devices[i].label.indexOf("back") !== -1
    ) {
      backVideoInputId = devices[i].deviceId;
    }
  }

  var userMediaConstraints = {
    audio: false,
    video: {
        facingMode: 'environment',
        deviceId: backVideoInputId,
        width: {
            ....
        }
    }

@dotgreg could you please resolve conflicts?


Setting newton parameter in imod.mf6.GroundwaterFlowModel has no effect

In GitLab by @tvw11 on Sep 19, 2023, 11:39
I want to change to the newton-raphson formulation for groundwater problems with a lot of drying/rewetting. Setting imod.mf6.GroundwaterFlowModel(newton = True, under_relaxation = True) does not add the parameters to the .nam file.

marked this issue as related to #564


Fix the /var/run/docker.sock too many open files issue

Close the domain socket connection to prevent from hitting the open files limit which results in ruining the whole cluster.

Can you file an issue first and provide more information for this issue? I can not see anything related to websocket close issue.


remove py3-unit-nightly from Travis runs

py3-unit-nightly was removed as part of mistral deprecation, as it just ran the mistral UTs, but Travis run still called it. Remove call to it from travis runs to stop error on overnight runs.

Example of a nightly build where it attempts to run the nightly build - but it failed as tox environment didn't exist. But the Makefile target still existed - so the run nightly if exists attempted to run it.


RaspberryPi Stretch Headless

I am trying to get this working on a RaspberryPi running Stretch.  It works fine on the full desktop verion.  But the headless light version, I get the following error when trying to start the service on the Stretch Lite
The name org.freedesktop.PolicyKit1 was not provided by any .service files
Apparently, I missed a prereq, but I'm not sure what it is.  Can somebody tell me what I missed?

Doing some further research.. it appears to depend on having PolicyKit-1 installed.  Then the message goes away and it starts up at boot.


torch.manual_seed return is not assigned to a variable?

Howdy, checking through your implementation with Diffusers and I noticed you're setting manual_seed but the returned torch.Generator isn't assigned to a value or passed into the refiner.

could you please tell me which file + line of code?

https://github.com/Birch-san/sdxl-play/blob/main/scripts/sdxl_diffusers_play.py#L139

that API call seeds the RNG for all devices in torch. it works due to side-effects. it’s not necessary to use the Generator it returns.
https://pytorch.org/docs/stable/notes/randomness.html#pytorch-random-number-generator


Payment for E/E #249195 [Refactor] Report.fetchIOUReportByID App API call and clean up syncChatAndIOUReports

Issue - https://github.com/Expensify/Expensify/issues/249195
PR - https://github.com/Expensify/App/pull/13556
C+ @mollfpr
Amount $1000
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~019ddd78a2c274b60f
Upwork Job ID:<PHONE_NUMBER>602720256
Last Price Increase: 2022-12-30

@mollfpr can you please accept the job and reply here once you have?
https://www.upwork.com/jobs/~019ddd78a2c274b60f

@mallenexpensify Accepted, thank you!

Paid $1000, thanks @mollfpr


Initial version of the expect -> jest-matchers codemod

Things that are not 100% supported:

message optional argument is not used by jest-matchers and not stripped out by the codemod (but won't break anything).
toBeA('number') only works with string literals. Any expression or variable will be translated to toBeInstanceOf and incorrectly always return false.
toMatch('string') only works with string and regex literals. Anything else will be translated to toMatchObject and will need to be converted back to toMatch.
toInclude(object) is not supported by jest and therefore left as is.
comparator optional argument of toInclude and toIncludeKeys will be left as is but be ignored by jest.
spy-related methods are left as is and will break
chaining assertions are left as is and will break

Thanks so much!
Can we add a warning about toInclude telling people to manually rewrite it?
For mocks, we'll do a follow-up.
@mjackson how common are chained assertions? @dmitriiabramov is this something we should consider supporting?

I'm unsure about the warnings, I can detect some of them but not all. Also, since this is doing a codemod on tests, you're going to see very fast what didn't work. Don't need the tool to print it?

yeah that does make sense.


Discrepancy between expected and tflite quantization parameters

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): no
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 20.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): binary (pip package)
TensorFlow version (use command below): 2.5.0
Python version: 3.8.10
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A  (using CPU)

Describe the current behavior
Hi there! :wave: Thank's for the great work on Tensorflow, TFLite!
Unfortunately, I’m facing an issue where there seems to be a discrepancy between the quantization parameters recorded by a fully-quantized tflite model.
For an input x and kernel w, I manually compute tf.matmul(x, w) and then compute the scale/zero-point of the result.  These are the values I get:
Parameters from manual computation
Scale: 0.09185781291886871, Zero-point: -3.0351044277537085

but when I build the equivalent model in tflite, these are the scale/zp it calculates:
Parameters from tflite model
Scale: 0.09184519201517105, Zero-point: -3

I would expect them to be the same, but they are not. Here is an example to reproduce the issue.
This discrepancy is causing larger TFLite models to produce significantly different outputs than expected, when compounded across multiple layers. Here is a demonstration of how these errors compound with more layers.
Describe the expected behavior
I would expect the quantization parameters to be the same.
Contributing

Do you want to contribute a PR? (yes/no): no
Briefly describe your candidate solution(if contributing):

Standalone code to reproduce the issue
Link to Colab example
The model is 1 Flatten layer + 4 simple Dense layers with use_bias=False, on the MNIST dataset.
Other info / logs Include any logs or source code that would be helpful to diagnose the problem.
A visualization of the tflite model using python -m tensorflow.lite.tools.visualize and netron are attached.

Hi Renjie/Jian,
Could any of you help check on this issue with quantization parameters? Feel free to pass it around.
Thanks,
Tiezhen

I was able to reproduce this issue in TF 2.11 as well. Please find the gist here. Thank you.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The TFLite team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the TFLite space.


fix can not load favicon.ico in dashboard

fix can not load favicon.ico in dashboard
relate shenyu-dashboard pr https://github.com/apache/shenyu-dashboard/pull/278
before:

after:

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Please use the file commit after building the front-end repository


What about stc integration please?

In the meantime there're no plans, a PR would be appreciated tho.

Sure , thanks for your effort


DxfBoundingBox does not account for Bulge

Hello,
I believe I found a bug where the BoundingBox is not taking into account the Bulge of PolyLines.  I've attached a sample dxf and some sample code below that demonstrates what I'm seeing.
Running the following code:
var readStream = File.OpenRead(attachedFilePath);
var document = DxfFile.Load(stream);
var box = document.GetBoundingBox();
Console.WriteLine($"Maximum X is reported as: {box.MaximumPoint.X} but it should be 0.5");
Console.WriteLine($"Minimum X is reported as: {box.MinimumPoint.X} but it should be -2.0");

Outputs the following:
Maximum X is reported as 0.00 but it should be 0.5
Minimum X is reported as -1.50 but it should be -2.0

The DXF file is a PolyLine with 4 points oriented like so:
    b---------------------a
    |                     |
    c---------------------d
    ^ min x               ^ max x

Except that points b and d have their Bulge set to 1.0, so it should be a slot shape like this:
    b---------------------a
|                             |
    c---------------------d
^ min x                       ^ max x

The BoundingBox does not account for the Bulge values.

Here's the file.  You'll have to switch the file extension back to DXF, GitHub wouldn't allow it otherwise.
Slot_1x1.5_Inches.txt

As far as I remember, I have some code for exactly this. Will report on
Monday.
Am So., 17. Feb. 2019, 00:01 hat Kyle McKee<EMAIL_ADDRESS>geschrieben:

Here's the file. You'll have to switch the file extension back to DXF,
GitHub wouldn't allow it otherwise.
Slot_1x1.5_Inches.txt
https://github.com/IxMilia/Dxf/files/2872445/Slot_1x1.5_Inches.txt
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/IxMilia/Dxf/issues/102#issuecomment-464397090, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANUK-3_tSQwiNtJud6qICh2xrnkJYLPNks5vOI26gaJpZM4a_P0a
.

@brettfo I reproduced the issue with a unit test and my proposed solution is creating a DxfArc from a DxfVertex with bulge (and its successor), since DxfArc correctly calculates its bounding box. It will take a while to properly implement this conversion, but I'll get back with a PR soon.

Fixed via #104.


Replace "[^\s]" with "\S" in strace parsing regexes

Thanks!
Note that the "proper" long term solution to all of this parsing is to not parse at all. See https://github.com/ossf/package-analysis/issues/277


[BUG] All external links should open in new tabs

🙁 Actual behavior

All these lines are opening in the same tab and taking the user away from the site.
🙂 Expected behavior
Apart from any BG internal links like about us page, all others ones should open in new tabs.
Also, hide the Press button since it doesn't have any link associated.
🔢 Steps to Reproduce the Problem
No response

I would like to work on this issue

Sure, please feel free to pick up and send a PR

Fixed in #148


Optional login to Livecycle at preevy init

Invite users to login to Livecycle as part of the preevy init flow.
If the user accepts, run the existing login and link flows.

Hi, can I work on this issue?

done at #293


Fix bug with literal column configs containing type

Currently, there's an issue with the parser where the column strategy is assumed to be a dict if it contains type. This breaks if the column strategy is a string that happens to contain type as a substring, because the parser incorrectly assumes it's a dict with type as a key.

This is a nice PR! thanks for your contribution 👏

@ajgrover I've bundled this as v1.21.2 which should release shortly. if you're still encountering issues let's open an issue and go from there ✨

awesome, thank you!


Gradient rendering and built-in PNG images issues

I noticed some rendering issues with gradients/embedded PNG images (see screenshots below, ignore fonts differences). The SVG file comes exported from Adobe Illustrator, so it is rather messy in general.
viewsvg.exe:

Chrome:

Inkscape:

Firefox (also has problems):

Affinity Designer (total disaster):

Hi! Can you provide the SVG file?

Zip version:
Chart_for_Investigation.zip

Looks like #421 to me. mix-blend-mode isn't supported yet. For now, try exporting to SVG 1 and not SVG 2.

Duplicate of #421

Should be fixed now.

And it is, that's absolutely amazing, thank you.


Add tests for the CLI

Implement appropriate unit tests for the functions created in #38 .

Maybe it is a separate issue, but I think using a more realistic model for at least one unit test would probably be helpful. Luton could be one such - though we have some much more complicated models which might also be helpful to add eventually.


Support WebIDL callback interfaces

https://heycam.github.io/webidl/#dfn-callback-interface
These are like dictionaries (structural, not nominal; user-defined, not host defined) for sets of callback functions.
Example:
callback interface OpenCloseListener {
  void onOpen();
  void onClose();
};

These should probably be translated into traits, and then operations that take or return these should take Box<OpenCloseListener>.

so callbacks interfaces with a single callback operation are special and can be just a function: https://heycam.github.io/webidl/#es-user-objects

As described in §2.11 Objects implementing interfaces, callback interfaces can be implemented in script by an ECMAScript object. The following cases determine whether and how a given object is considered to be a user object implementing a callback interface:

If the interface is a single operation callback interface (defined below) then any object is considered to implement the interface. The implementation of the operation (or set of overloaded operations) is as follows:

If the object is callable, then the implementation of the operation (or set of overloaded operations) is the callable object itself.

Otherwise, the object is not callable. The implementation of the operation (or set of overloaded operations) is the result of invoking the internal [[Get]] method on the object with a property name that is the identifier of the operation.

and overloads of the same callbacks all count as a "single" callback:

A single operation callback interface is a callback interface that:

is not declared to inherit from another interface,

has no attributes, and

has one or more regular operations that all have the same identifier, and no others.

we probably want to:

treat all callback interfaces as dictionaries of js_sys::Function, as we were planning to.
also implicitly add an overload of any function that takes a single operation callback interface for plain js_sys::Function instead of teh dictionary style object

Relevant firefox code:

https://searchfox.org/mozilla-central/rev/6201a9e0067cf6af118c6a99ae9314b8ceb2c4d5/dom/bindings/Codegen.py#16103-16115
https://searchfox.org/mozilla-central/source/__GENERATED__/dom/bindings/EventListenerBinding.cpp#37-48

That sounds like a solid strategy to me!


Adding missing regions.

Added Region: ap-northeast-3
Added Region: eu-west-3

Issue #, if available: #461
Description of changes:

Adds missing region spec-files.

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

Context: https://github.com/aws-quickstart/taskcat/pull/196

thanks.  I was trying to keep an eye on that but dropped the ball.

@kddejong  - done!

@kddejong  - thinking the binary files are causing problems here. Can you think of anything else I should be looking for?

Accidentally commented on the other PR. Oops. I’ll take a look at it shortly

@agamzn sorry but updated your pull request to get this covered.  You can see the changes I made as they were really small.  I let the cfn-lint --update-specs download the specs for us


I already checked 'Privileged Gateway Intents' options in my developer page, but it dosen't work

I opened .exe file, it goes
13:36:03 Discord     Discord.Net v3.9.0 (API v10)
13:36:03 Gateway     Connecting
13:36:04 Gateway     Ready
13:36:04 Gateway     You're using the GuildPresences intent without listening to the PresenceUpdate event, consider removing the intent from your config.
13:36:04 Gateway     Connected
I allowed these options in developer page.
PRESENCE INTENT
SERVER MEMBERS INTENT
MESSAGE CONTENT INTENT
need some help :(

That's not a error. Is says that there's no need for bot to listen to this intent, but it's actually being used in program.
Though, bot is not working now, check readme.

Thank you for help! <3
And I have a question, should I keep running program while I using this bot? Or it's done with once I run .exe file?
Sorry for poor English :(

Of cource bot will stop working if you close it.
If you want to run any program in background, you'll need to run it as a service.

I got this problem, (I already read the prior case in 401 issues. but nevertheless i put a correct bot token, it doesn't working yet.) can you give me sone advice again? I invited my bot account in my server.
When i run the .exe file
01:41:44 Discord     Discord.Net v3.9.0 (API v10)
01:41:44 Discord     A supplied token was invalid.:
System.ArgumentException: A Bot token must be at least 58 characters in length. Ensure that the Bot Token provided is not an OAuth client secret. (Parameter 'token')
at Discord.TokenUtils.ValidateToken(TokenType tokenType, String token)
at Discord.Rest.BaseDiscordClient.LoginInternalAsync(TokenType tokenType, String token, Boolean validateToken)
01:41:44 Gateway     Connecting
01:41:44 Gateway     Discord.Net.HttpException: The server responded with error 401: 401: Unauthorized
at Discord.Net.Queue.RequestBucket.SendAsync(RestRequest request)
at Discord.Net.Queue.RequestQueue.SendAsync(RestRequest request)
at Discord.API.DiscordRestApiClient.SendInternalAsync(String method, String endpoint, RestRequest request)
at Discord.API.DiscordRestApiClient.SendAsync[TResponse](String method, String endpoint, BucketId bucketId, ClientBucketType clientBucket, RequestOptions options)
at Discord.API.DiscordRestApiClient.GetBotGatewayAsync(RequestOptions options)
at Discord.API.DiscordSocketApiClient.ConnectInternalAsync()
at Discord.API.DiscordSocketApiClient.ConnectInternalAsync()
at Discord.API.DiscordSocketApiClient.ConnectAsync()
at Discord.WebSocket.DiscordSocketClient.OnConnectingAsync()
at Discord.ConnectionManager.ConnectAsync(CancellationTokenSource reconnectCancelToken)
at Discord.ConnectionManager.<>c__DisplayClass29_0.<b__0>d.MoveNext()
01:41:44 Gateway     Disconnecting
01:41:44 Gateway     Disconnected
Here is my setting

I don't know about where I have to fix... Sorry for many questions :=(

I wouldn't recommend to bother right. As I said, it's not working now anyway, like at all.

About your problem, I think that what error says – is exactly what happened

A Bot token must be at least 58 characters in length. Ensure that the Bot Token provided is not an OAuth client secret.

Maybe you mixed up bot token and  character ai user token in Config file

Isn't it correct? Check my edit please.. (I already reset my bot  token! I should delete this comment if it needs.)

Seems correct. In open post logs it seems like you launched it without any problems before... strange

Also, if you use some public wifi, or VPN, it can also cause a problems

I using a public wifi. What should I have to use another?

Amm... I mean, a public WiFi in university/work or something like this. If it's your own one, it's fine.

Thank you so much for helps!!! :3
I'll try this in my home! Thanks Miz <3

Does it works now? Download last update and check it out.


Slugify multi-word tags.

I edited it so /tags/tagging pagination is now /tags/tagging-pagination.

thanks!


Missing information for PETR4.SA

Simple code that reproduces your problem
I queried
Get petr4 data
petr4 = yf.Ticker("PETR4.SA")
petr4_data = petr4.history(period="1mo")
and it did not bring data for yesterday (Aug 7th, 2023) and also brought missing information about today's date (Aug 8th, 2023).
Debug log
no debug log to show. No failure was detected while running the program, despite the data that the API brought is incorrect.
Bad data proof
these are the last 4 records that the the query brought:
2023-08-02,30.510000228881836,30.579999923706055,29.799999237060547,30.530000686645508,62068400,0.0,0.0
2023-08-03,30.93000030517578,31.1299991607666,30.6200008392334,30.920000076293945,57304400,0.0,0.0
2023-08-04,30.700000762939453,31.139999389648438,29.739999771118164,30.0,120685800,0.0,0.0
2023-08-08,0.0,0.0,0.0,30.219999313354492,0,0.0,0.0
It should have brought data for 2023-08-07 and proper information about the day 08-08-2023.
I can see that the data is also incorrect in yfinance website, when checking for daily data.
yfinance version
0.2.27
Python version
3.11
Operating system
Windows 10

If Yahoo is missing data, what you want yfinance to do?

@ValueRaider
Maybe have a more reliable data source, i guess!
yfinance package is useless with incorrect data ;)

yfinance exists to fetch from Yahoo, clue is in the name. Other sources have other packages.

Yeah, I know that. I will be moving my application to another data source! Thanks

Or read the documentation? https://github.com/ranaroussi/yfinance/wiki/Price-repair


[BUG] ELEVENLAB

Before You Report a Bug
When trying to convert, a repetitive error occurs
Steps to Reproduce
Outline the steps to replicate the issue:

Go to 'plugins.'
Click on 'elevenlabs' 3. Scroll down to 'convert.'
Observe the error.
Expected Behavior

Desktop Details:

Operating System: Windows 11]
Browser:Chrome,

Uploading recording (1).webm…

fixed


Fix edge case for metric right after upgrades become overdue

@mpolden please review and merge :)

Thanks!


Mac client example

Tested it on my MacBook M1 Pro laptop.
I actually recorded the demo with it: https://youtu.be/kP4v07AlTow
On that demo - I speak Russian language and have it all translated to English.

I actually recorded the demo with it: https://youtu.be/kP4v07AlTow
On that demo - I speak Russian language and have it all translated to English.

Thanks! It's very nice!


Resizing frameless windows is difficult on high-DPI displays due to very small click targets

Describe the bug
Resize targets are extremely small and difficult to hit on high-DPI screens with decorations: false. This issue does not occur with decorations: true, nor on a typical 1080p display.
To Reproduce
Steps to reproduce the behavior:

Bootstrap a minimal Tauri app with these window settings:"windows": [
  {
    "decorations": false,
    "resizable": true,
    ...
  }
]

Start the app on a high-DPI display (e.g., 4k resolution)
Attempt to resize the window, observe the difficulty in "finding" the window edges with your mouse cursor

Expected behavior
Resizing behavior should be roughly similar to the native OS behavior — i.e., there should be some wiggle room in where you may place the mouse cursor to initiate a window resize
Screenshots
I don't have any desktop recording software installed currently, but let me know if this would be helpful.
Platform and Versions (required):

# NOTE: I'm on Windows 11 -- not sure if this version info is wrong
# or if that's just the internal Microsoft representation of Windows 11 versions

Operating System - Windows, version 10.0.22000 X64
Webview2 - 96.0.1054.43

Node.js environment
  Node.js - 14.17.0
  @tauri-apps/cli - 1.0.0-beta.10

Global packages
  npm - 6.14.13
  yarn - 1.22.5

Rust environment
  rustc - 1.56.1
  cargo - 1.56.0

Additional context
It feels like the resize handles are set to one physical device pixel instead of one logical/scaled pixel (though with the native decorations, the resize handles are even more forgiving — maybe 3 or 4 logical pixels).
I'm also seeing some flickering of the cursor graphic when I do hit the target — it rapidly alternates between the standard pointer and the resize pointer when I slide the cursor along a resizable edge — but it's still fairly obvious when I'm in the correct "zone" and I haven't been able to initiate a resize when the standard pointer is displayed, so I don't think this is just an issue with the cursor graphic.

I have increased the resizing border in https://github.com/tauri-apps/tao next branch, it will be available in the next release. it went from 3px to 5px, Once the release is out, please test it and if that's no enough, please re-open this issue.

It is still very small in my opinion... As I'm using a '13 Windows laptop with 4k resolution (3840*2400 in detail), I currently set the DPI scaling to 250%, and current room for resizing is like only half or even 1/3 of a framed window.
I feel like that simply increasing the resizing border in pixel does not solve the problem. I agree it would be better if the room could be variable according to the DPI scaling factor.

good idea, please open an issue at tao


checking success before splitting result in step_wait

Description
There is a minor bug in AsyncVectorEnv.step_wait.  Here's what happens:

If an exception is thrown by the step function of an env inside the worker...
...the worker catches the exception and sends (None, False) back through the pipe to the AsyncVectorEnv.
AsyncVectorEnv.step_wait receives the message from the pipe and unpacks it as result, success = pipe.recv().  At this point result = None and success = False.
AsyncVectorEnv.step_wait attempts to unpack result further using obs, rew, terminated, truncated, info = result
But, because result is None, this immediately throws a TypeError and bypasses the normal error handling using _raise_if_errors.
This means exceptions thrown inside the step method of vectorized envs do not get caught correctly, do not generate the proper error messages and are not handled by _raise_if_errors.

My change first checks the value of success before attempting to unpack the contents of result.  The values are only unpacked and appended to the intermediate lists (observations_list, rewards, terminateds, truncateds and infos) if success.
Note that this may result in temporarily strange but benign behavior.  If there are 8 workers and two of them fail inside step, then the intermediate lists will only have 6 elements, and you would have to look at the list of successes to figure out which corresponded to which worker.  However, this is irrelevant because as soon as the loop exits, _raise_if_errors is called, which will handle exceptions, raise further exceptions and nothing will be done with those arrays anyway.  The alternative would be to generate dummy variables (obs, rew, terminated, truncated, info = None, 0, False, False, {}) to place in those lists temporarily in the case when success == False but this seems unnecessary.
It looks like you guys are currently revamping the VectorEnv stuff, so hopefully this is still relevant.  Feel free to ignore this if this chunk of code is already on the chopping block.
Fixes #177
Type of change
Please delete options that are not relevant.

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

Checklist:
I have not done these things, sorry!  Excuses:
I can't run pre-commit because of a node dependency that won't run on my system
I haven't added comments because the step_wait method had no comments to begin with, and this is a very minor change.

I don't think these changes generate any new warnings, but again, I can't run pre-commit on my system.
I haven't added any tests for this.  Again, small bugfix.
I can't run the unit-tests locally.

[ ] I have run the pre-commit checks with pre-commit run --all-files (see CONTRIBUTING.md instructions to set it up)
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Anyway, hopefully this is useful!  Sorry for not being able to run the checks!

Hey, thanks for quickly pulling this in!  I may be able to contribute a few small things here and there, but my time is a bit limited these days as I'm trying to wrap up my PhD :)


Upgrade to 3.1 broke the IPluralizer interface

Hi, i just upgraded to 3.1 and now my code will not build.  The error indicates that the IPluralizer interface could not be found even though the class is using the Microsoft.EntityFrameworkCore.Design namespace?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 71858966-7500-916c-00fd-a4f80969c42b
Version Independent ID: 35ad739b-40e2-a2c7-f1f7-25f598b4e8ff
Content: IPluralizer Interface (Microsoft.EntityFrameworkCore.Design)
Content Source: dotnet/xml/Microsoft.EntityFrameworkCore.Design/IPluralizer.xml
Product: entity-framework-core
GitHub Login: @dotnet-bot
Microsoft Alias: divega

@aquacat123 This is because the design package, which contains the IPluzalizer, was made a development dependency. See https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-3.0/breaking-changes#dip for how to update your package references.

@ajcvickers Making it a development dependency makes sense, but the mitigations example does not seem to make a difference. I updated my csproj from
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.1.3" />
to
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.1.3">
      <PrivateAssets>all</PrivateAssets>
      <!-- Remove IncludeAssets to allow compiling against the assembly -->
      <!--<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>-->
</PackageReference>

and still get "The type or namespace name 'IPluralizer' does not exist in the namespace 'Microsoft.EntityFrameworkCore.Design' could not be found"


Automatically populate project every Pomodoro break

Describe the new feature
Toggl Track Desktop:
Automatically fill in the project field with the current project you're working on every time the  Pomodoro break starts.
How does this help you?
I don't have to manually select the current project I'm working on in my Pomodoro sessions everytime the Pomodoro break would kick in.
If we couldn't add this feature, is there a compromise you can think of?
None. I always have to manually select the project every Pomodoro break. This happens at least 20 times a day or so (I employ Pomodoro all day long)

Is there any plan to release this enhancement?


Use better fee-calculation formula

#328 adds the ability to scale fees based on ledger load. However, it gives a fee that's way larger than it needs to be.
Wietse has a better formula: https://gist.github.com/WietseWind/3e9f9339f37a5881978a9661f49b0e52

Closed by #370


Having a separate implementation for Canvas is problematic in the longterm.

For https://github.com/phetsims/bamboo/issues/47 and https://github.com/phetsims/fourier-making-waves/issues/165, @jonathanolson pointed out that having a separate implementation for Canvas (CanvasChartNode, CanvasLinePlot) is problematic in the longterm.  For example, as we get more support for WebGL to improve performance, code that uses the Canvas-based classes will be stuck with Canvas performance.  An API like Node that chooses its rendered (or allows you to specify a renderer) would be preferrable.
I'm not sure how we get there from here.

This doesn't seem like something we need to solve right away.  All of the canvas charts already have a non-canvas implementation, which could be rendered in SVG or WebGL if scenery one day supports that.  Yes, the canvas implementation is a holdover, but who knows if/when we will have more WebGL support in scenery?  Also, if we have WebGL support in scenery, perhaps we will build or use an adapter that lets us efficiently reuse a lot of our canvas code, like https://github.com/jagenjo/Canvas2DtoWebGL?
Yes, it's unfortunate that bamboo's canvas and scenery renderers have different APIs, but it doesn't seem practical to unify those APIs eagerly.  But if others argue this is important and should be done soon, perhaps elevate this to epic-level issue? Thoughts @jonathanolson and @pixelzoom?

I see @jonathanolson's point about this. If the renderer hadn't been abstracted out eagerly in scenery, there's little chance that we would have been able to do it later, especially if Node (and its subclasses) had different APIs for different renderers.  So if we think it's valuable to do that for bamboo, it should probably be done eagerly.

It seems we should add this to our subgroup meeting alongside https://github.com/phetsims/bamboo/issues/45

This sounds like an epic-level issue, but one that I won't have time for in 2022 Q1.  @pixelzoom or @jonathanolson can you please comment whether this should be labeled as epic, and how soon it should be worked on?

I agree with the concern that @jonathanolson expressed in https://github.com/phetsims/bamboo/issues/46#issue-1004519042.  I don't know whether it should be labeled as an epic, or what the priority should be.   It's not impeding any of my current work.

Today @pixelzoom and @jonathanolson and I discussed this.
We saw that CanvasGridLineSet and GridLineSet already have very similar APIs.  But @jonathanolson wanted to see an API like:
    const horizontalGridLineSet = new GridLineSet( chartTransform, Orientation.HORIZONTAL, 1, gridLineOptions,{
      useCanvas: true
    } );

This is not a priority at the moment.  When will it become a priority? Probably when we have a sim that cannot use what is already there.

From https://github.com/phetsims/calculus-grapher/issues/256#issuecomment-1459084768, where we identified a need for a Canvas implementation of ScatterPlot:

Noting that creating CanvasScatterPlot makes this problem worse: https://github.com/phetsims/bamboo/issues/46. Having 2 parallel sets of bamboo classes is a real problem.  For example, I could not easily switch from LinePlot to CanvasLinePlot in calculus-grapher because the APIs are diffferent -- CanvasLinePlotOptions does not support lineWidth.  It would be superior to have one set of bamboo classes, each with a renderer option, and have different internal implementations based on the value of renderer.  This would ensure a consistent class and Options API.

I'd also like to investigate creating better Scenery primitives for this type of thing. We're seeing a lot of cases of wanting high-performance instancing (like sprites), and high-performance changing paths.
If either of those things would be helpful, I'd like to investigate it (as I see those as recurring pain points that could be solved in better ways at the Scenery level).

Yes, that would be nice.  Ther current pattern of having parallel Shape-based and Canvas-based implementations is not good.   This will only get more difficult to clean up when more sims are using bamboo (there are currently 7 sims using bamboo.).  Since it's a project you (@jonathanolson) want to tackle, I'll assign back to you to schedule/prioritize.


Create intro

Add an intro about yourself: who are you, what is your strength, why are you here.

Hi! I´m Lu. A junior developer from Barranquilla, Colombia. I trulyy believe in team working and try to be as open mind as possible. Also creativity would never be left out for me.


add command line argument for pd address and store address

So we can use one config file for multiple node, set store address for different nodes, set pd address dynamically.

@bobotu PTAL


Create fis.txt for Furen International School

@ali-FIS First stage of verification passed, official domain is fis.edu.sg as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@ali-FIS Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Add track-line component

The famous bal-track-line component that everyone has on the end of his/her app

Done


Why the PSYS don't list?

OS:Ubuntu 18.04
[DEBUG] GenuineIntel processor found.
[DEBUG] Processor is from family 6 and uses model 0x906E0.
[DEBUG] Using /dev/cpu/0/msr for accessing MSR of socket 0.
[DEBUG] Domain Package is supported.
[DEBUG] Domain Core is supported.
[DEBUG] Domain Uncore is supported.
[DEBUG] Domain DRAM is supported.
[DEBUG] Domain PSYS is supported.
[DEBUG] Measured the following unit multipliers:   RAPL_ENERGY_UNIT=6.103516e-05J   RAPL_DRAM_ENERGY_UNIT=6.103516e-05J
[DEBUG] Max power consumption of node 0 is 95.000000W.
[DEBUG] Interval time of msr probes set to 1378s, 0ns.
^C[DEBUG] Received signal 2.
+--------------------------------------+
| CPU Energy Meter            Socket 0 |
+--------------------------------------+
Duration                166.440641 s
Package                 621.960876 Joule
Core                    337.406311 Joule
DRAM                    119.912598 Joule
The result lost PSYS,Is it the reason for the lack of dependences?or the PSYS is Disable.

What kind of system and which CPU is this? So far, I have seen PSYS only on laptops. Other CPUs might report that it is supported but always return zero values, which cpu-energy-meter then hides.

See also #23. If you want to make sure, you could double check with Intel's tool.

thanks for your reply.


Unload the LLM from VRAM after each call?

Hi! With the new version of Forge, and FLUX, this extension could be really practical for the millions of low VRAM laptops that can now run FLUX. The only problem is that it doesn't unload the LLM from VRAM when using Ollama, so the generation is way too slow.
According to https://github.com/ollama/ollama/issues/1600  , that can be accomplished with
'''
curl http://localhost:11434/api/generate -d '{"model": "llama2", "keep_alive": 0}'
'''
Can that be put in your code?
Also, could it be set to store a different system prompt and ollama settings? I found that giving it an example in the system prompt works well.
Basically, it seems you are a few lines of code away from the best 'magic prompt' software in the world, surpassing the ones on Dalle-3 and Ideogram, which are censored. Thank you!

add to environment variable OLLAMA_KEEP_ALIVE 0

okie, let me try try unload; is these actions that u want:
0. active generate forever

calling LLM
LLM answer
unload LLM save VRAM. by (http://localhost:11434/api/generate -d '{"model": "llama2", "keep_alive": 0}' ' ')
sd-web-ui working
sd finished.
re-call step 1.

BTW, if active web-ui [generate forever].
u can consider use another one extension whic can send ur fantastic LLM sd-result to IM app. review like comic book on ur mobile phone.
https://github.com/xlinx/sd-webui-decadetw-auto-messaging-realtime


Fix token cancellation flakiness

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
How to test the change?
Describe here in detail how the change can be validated.

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

Project coverage is 73.56%. Comparing base (13eac56) to head (b0f22a6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #646      +/-   ##
==========================================
- Coverage   73.58%   73.56%   -0.02%
==========================================
  Files         255      255
  Lines       36941    36938       -3
==========================================
- Hits        27182    27173       -9
- Misses       9759     9765       +6

Components
Coverage Δ

crashtracker
20.53% <ø> (ø)

datadog-alloc
98.73% <ø> (+0.14%)
:arrow_up:

data-pipeline
91.64% <100.00%> (-0.02%)
:arrow_down:

data-pipeline-ffi
0.00% <ø> (ø)

ddcommon
83.08% <ø> (ø)

ddcommon-ffi
69.52% <ø> (ø)

ddtelemetry
59.10% <ø> (ø)

ipc
83.58% <ø> (ø)

profiling
84.26% <ø> (ø)

profiling-ffi
77.42% <ø> (ø)

serverless
0.00% <ø> (ø)

sidecar
40.10% <ø> (ø)

sidecar-ffi
0.00% <ø> (ø)

spawn-worker
50.36% <ø> (ø)

tinybytes
94.77% <ø> (ø)

trace-mini-agent
72.47% <ø> (ø)

trace-normalization
98.25% <ø> (ø)

trace-obfuscation
95.73% <ø> (ø)

trace-protobuf
77.67% <ø> (ø)

trace-utils
93.41% <ø> (ø)


MSVC: uint32_t undefined

Tesseract version: 3.05.01 (tag)
Using: MSVC 2015 on Windows 10
When: USE_OPENCL is defined
Issue: openclwrapper.cpp complains about missing types (uint32_t and others that are defined in cstdint)
Solution: Adding #include <cstdint> to the top of the cpp file resolves the error and results in a successful build.
See: https://github.com/xsacha/tesseract/commit/83d8e85fa5d08874b725d111f748dc2df5e48227

Confirmed. The POSIX data types were introduced by copying code from git master. I suggest adding the include statement for cstdint to ccutil/host.h.

@stweil Please also check 3.05.01 build failure reported in forum at https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/tesseract-ocr/g8lTxxYiJ2E/KL07qF_LAQAJ
Should I ask them to open an issue for it?

See pull request #1001.

Thanks!


Suggestion: Use profiles to store process location and allow that to be loaded at launch, rather than selecting process then profile.

I have not looked @ the code, but I would like to request (assuming this project isn't dead) the ability of the profile to save the exe in the xml and then loading the profile w/o selecting the exe.
It's super tedious to select the running process AND THEN selecting the profile. Maybe I'm spoiled with not dumb apps, but this seems like the logical approach (aka razr synapse profiles) vs. the way it works now (at least in 2.3.5).
This application comes n super handy w/ certain games that aren't true window full screen mode and for that I am grateful.
I would hack up the code and submit a related PR, but I don't have a way to compile on my system anymore thanks to Microsoft, so no way to test my updates :(

If parameters are tweakable, human-editable is always a real nice option. Especially when something farts.

This project is in deep maintenance mode, as in: it's likely never going to get new features. I haven't archived it yet, but it's in the process of being archived.
The profiles are meant to be used for a resolution/window setup across multiple applications. So having the exe in the profile is in that light weird. You attach to the process, then pick the profile you want to apply. Like switching to a higher resolution to take a screenshot then back to a playable resolution or a different aspect ratio... and you do that in multiple games. That's the core point of the profiles.
Having the exe in the profiles is a step away from that, because what to do if you are attached to game X and you pick a profile for the exe Y? Still use it? Start Y? What if you pick a profile for game X and X isn't running, should it start X? Or wait for X to be run and auto-attach?
Super tedious is a bit hyperbole to be honest 😄... sure using a tool to switch resolutions and window aspects is a bit tedious to begin with, but it's a one time thing to load it and attach it to a process... after that you'll likely multiple times switch resolutions through profiles within that session.

Wow, I actually commented on this back in February?! Anyway, I tried 'borderless app' which is like this but lackluster. Yours is better. Going to try it with win11. I still think having an option to associate an XML with an exe as a sort of pre-launch profile from the jump would be way cooler. I only use this to mostly borderless and upscale games that either don't natively support higher resolutions or don't have a non-full screen mode. I know I know, there are other applications, but this is your time to shine broseph!


"Remote events enabled" remediation fails (requires Full Disk Access)

systemsetup -setremoteappleevents off requires full disk access and fails. Need a workflow to acquire rights by the helper (or just create education for UI actions)

As per the Apple policy, it's impossible to have a workflow to acquire rights beside having the use granting access to the helper. Fortunately, once the helper tries to access the protected system files it's getting prepopulated in the Security / Full Disk Access security settings, which make it relatively easy to do. For now, pending a better way, this is indicated as localized comments in the CLI preview of the remediations.


[OTHER] The emojis on the support website are not visible

What would you like to share?
Some emojis on the support website (https://eddiehubcommunity.github.io/support/#/discord/discord-readme) are not visible.

It's a small thing but I think it'll be good for me to get started.
I can make a PR about this issue.
Additional information
No response

Maybe this script helps
'
'

Maybe this script helps '
'

Thanks! I will take a look into it.


build: deploy contracts to rinkeby

Fixes #3015

We saw
@statechannels/server-wallet: Segmentation fault (core dumped)
@statechannels/server-wallet: error Command failed with exit code 139.
@statechannels/server-wallet: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@statechannels/server-wallet: error Command failed with exit code 139.
@statechannels/server-wallet: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

several times trying to run tests on this branch. It seems unlikely to me that this was caused by the changeset. It may have been a transient problem on circle, since it passed when I reran it this morning .

😞 the seg fault reappeared when the tests run on master post merge.

@kerzhner there is an .env.rinkeby file -- should this have been updated? https://github.com/statechannels/statechannels/pull/3018

Do the test-stats file reveal anything useful?

Not that I can discern...

@kerzhner there is an .env.rinkeby file -- should this have been updated? #3018

@geoknee I have used that file to run tests against Rinkeby. I think it's easy to forget to update that file. We also run tests against Rinkeby pretty rarely.


zerotierone: Use pre-vendored cargo dependencies

Description of changes
ZeroTierOne already vendors the dependencies for us, so there is no point in doing it twice. Unfortunately, the ZeroTierOne developers forgot to specify rust-jwt in the cargo configuration file, so we have to manually do that to allow it to work as intended. Fixes #192056
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 193093 run on x86_64-linux 1

1 package built:

zerotierone


Readme updates

Original PR (#158) by @markusbkoch was opened between master and markusbkoich-patch-1; reopening with staging as base.

Resolved merge conflict. Ready for merge upon approval.


Standardize policy for small caps

I like the small caps as a design element. However, I think that the mix of small and full caps in places where the text is capitalized sentence rather than title case is jarring. For example:

I think that my preference would be to use only small caps without any further capitalization everywhere that small caps appears. (l.e., to lowercase all the text, but display it in small caps.) The possible exception is the Mapping American Religious Ecologies title.
What do you think, @kimisgold and @kalbers?

I don't have a strong preference on this either way. Do you @kimisgold ?

I agree with @lmullen. I can apply the style.


Change the default values of standard material properties.

Currently, these properties have hardcoded values that cannot be redefined for an entire scene or an application. This becomes especially problematic when working with models that are loaded dynamically from .glb-files in different places, as we are required to redefine the properties in each instance to keep values consistent.
It would be extremely useful to have the ability to change the default values of these properties, as it would allow for more flexibility and efficiency in our workflow.
Thank you for considering this request.
Current workaround: load a script right after the engine that redefines the reset method  of StandardMaterial
const oldReset = pc.StandardMaterial.prototype.reset;
pc.StandardMaterial.prototype.reset = function reset() {
    oldReset.apply(this);

    this[`_${YOUR_PROPERTY}`] = PROPARTY_VALUE;
};

Hi @querielo ,
What values are you changing across the board? StandardMaterial is used by the engine internally too so changing defaults might impact more materials than you think.
Thanks

Hi @querielo ,
What values are you changing across the board? StandardMaterial is used by the engine internally too so changing defaults might impact more materials than you think.
Thanks

It was _useSkybox. Yes, it disables environment lighting for all StandartMaterials, so we enable it ourselves everywhere where we need it. So, for us it is easier to have a whitelist than a blacklist :-)

Right now, we modify everything globally as a hack:

there are too many assets (maybe, thousand),
many of them shouldn't reflect the skybox and have reflectivity = 1. To fix all of them needs time.

It works for us in many cases because we use .glb-files in different places :-) So, there are 3 solution right now.

the hack that I described before
set correct values after the asset is loaded (time consuming)
fix all assets/.glb (time consuming). In our TODO.

I'll close this as I don't think changing the default values for a material is a way to do what you need. This would affect internal materials, for example used by UI system as well, which is not desirable.


When only one account is added,userSecondPhoto and userThirdPhoto shouldn't be clickable

userSecondPhoto and userThirdPhoto are always present, but user don't see his presence. When the user click on the view, the background listener is attached and called.

@neokree I didn't express clearly.If there is one acconut, I mean when you click userSecondPhoto and userThirdPhoto button , it should trigger the userButtonSwitcher instead of onAccountOpening.

Oh, yes. It should be so.
I will add a fix for this

Sorry, I can't add some comments releated to the issue in the commit and github close automatically the issues

Ok this fix is online with the 1.3.2 version

On 1.3.2 the problem is still there.

I noticed that this problem still exists. When you click user account 2 or 3, it will change the sections, which if I want only one account, the section will be empty when clicked. Perhaps, someone could remove the component or make it unclickable at least?
Great library btw! Thanks for making this.

I waiting on this solution too. If there is just one account, user info should be un-clickable and menu should not close.


Installation errors

When installing to virtual environment via pip (i.e., "pip install pyalign"), the following error appears:
ValueError: path '/home/runner/work/pyalign/pyalign/pyalign/algorithm/module.cpp' cannot be absolute
When trying to install via github (i.e., "pip install -e git+https://github.com/poke1024/pyalign#egg=pyalign"), the following error appears:
error: Support for editable installs via PEP 660 was recently introduced
in setuptools. If you are seeing this error, please report to:
  https://github.com/pypa/setuptools/issues

Any ideas on how to address this issue?
@poke1024

Hi Brandon, unfortunately no, I haven't seen this yet. Which version of Python are you using?

3.9.13

I meet the same problem when I tried to install it on windows with python obtained from microsoft store. But the same problem not appeared when install on linux system.
...pip-build-env-ggrusqo6\overlay\Lib\site-packages\setuptools\_distutils\util.py", line 139, in convert_path
          raise ValueError("path '%s' cannot be absolute" % pathname)
      ValueError: path '/home/runner/work/pyalign/pyalign/pyalign/algorithm/module.cpp' cannot be absolute


Fix out of sync creation of NetQASM LAST log

While working on QNE we found an issue in NetQASM/SquidASM (the issue is on the NetQASM repo https://github.com/QuTech-Delft/netqasm/issues/55 ).
In short: the log files were being processed in both NetQASM and SquidASM due to which it happened out of order. To fix this a change was made to NetQASM (see PR: https://github.com/QuTech-Delft/netqasm/pull/56 for a detailed explanation) where the log files are now copied in NetQASM instead. Although these changes in SquidASM are not strictly required (NetQASM will just overwrite the log files SquidASM puts in LAST). For cleanliness I removed the calls in SquidASM.

Not entirely sure why this pipeline is failing. I tested with a PR with 0 changes as well and the pipeline still failed

It looks like the issue with the example pipeline is related to the pydantic dependency version. The CI uses pydantic 2.X, which apparently breaks things that worked on 1.X. Changing setup.cfg such that pydantic is limited to <2.0 should fix this.
@bkreynen  Could you add another commit with this small change?

Thanks @bvdvecht  I pushed a fix

Thanks @bkreynen ! Merged.


Your pod is not available (showing) in cocoapods.org search results.

Hi @kumarc-123, thanks for the heads up, the issue seems to be solved :)


ZabbixAPI

HI,
Can you give an example of a module that works with the API?
I see that the weather module uses API. Unfortunately, I do not have enough knowledge to understand how it works. But I have time. Could you give more information about this module?
I want to use zabbix API.
Thank you.

The full API documentation can be found here:
https://github.com/MichMich/MagicMirror/tree/v2-beta/modules
Check out the modules in the default folder to see how they are used.


Issues with SCION on 18.04

This is a grab-bag issue that lists things that currently break when trying to use SCION on Ubuntu 18.04.01.

Python packages may have different hashes for their Py36-compatible packages. This is true for at least cffi.
Cryptography 1.8.1 doesn't build, 1.8.2 does (but is untested)
In 18.04.01, using the _BSD_SOURCE and _SVID_SOURCE in C code will elicit a warning. This breaks at least zlog since it compiles with -Werror
zlog has further issues in that -Werror activates -Wnonnull, which in turn causes failures like these:

rule.c: In function ‘zlog_rule_new’:
rule.c:798:8: error: argument 1 null where non-null expected [-Werror=nonnull]
       (strchr(p, 'r') == NULL) || (strchr(p, 's') == NULL)
        ^~~~~~~~~~~~~~
In file included from rule.c:11:0:
/usr/include/string.h:225:14: note: in a call to function ‘strchr’ declared here
 extern char *strchr (const char *__s, int __c)
              ^~~~~~
rule.c:798:36: error: argument 1 null where non-null expected [-Werror=nonnull]
       (strchr(p, 'r') == NULL) || (strchr(p, 's') == NULL)
                                    ^~~~~~~~~~~~~~
In file included from rule.c:11:0:
/usr/include/string.h:225:14: note: in a call to function ‘strchr’ declared here
 extern char *strchr (const char *__s, int __c)
              ^~~~~~
cc1: all warnings being treated as errors
makefile:140: recipe for target 'rule.o' failed

This may be fixed (or rather: papered over) by sed'ing the relevant source bits in env/zlog/deps:
sed -i -e 's/-Werror//g' makefile src/makefile
sed -i -e 's/_BSD_SOURCE/_DEFAULT_SOURCE/g' src/*.c src/*.h

./scion.sh topology relies on docker-compose and docker-ce, which are not installed by env/deps (this will not be a problem once ZK goes away)
Th Python tests fail:

======================================================================
ERROR: test.lib.main_test.TestMainDefault.test_core_local(True, True, False)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/lib/python3.6/unittest/mock.py", line 1179, in patched
    return func(*args, **keywargs)
  File "/home/scion/go/src/github.com/scionproto/scion/python/test/lib/main_test.py", line 104, in _check_core_local
    main_default(core_type, local_type)
  File "/home/scion/go/src/github.com/scionproto/scion/python/lib/main.py", line 72, in main_default
    init_logging(os.path.join(args.log_dir, args.server_id))
  File "/usr/lib/python3.6/posixpath.py", line 80, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not MagicMock

======================================================================
ERROR: test.lib.main_test.TestMainDefault.test_core_local(False, False, True)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/lib/python3.6/unittest/mock.py", line 1179, in patched
    return func(*args, **keywargs)
  File "/home/scion/go/src/github.com/scionproto/scion/python/test/lib/main_test.py", line 104, in _check_core_local
    main_default(core_type, local_type)
  File "/home/scion/go/src/github.com/scionproto/scion/python/lib/main.py", line 72, in main_default
    init_logging(os.path.join(args.log_dir, args.server_id))
  File "/usr/lib/python3.6/posixpath.py", line 80, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not MagicMock

----------------------------------------------------------------------
Ran 769 tests in 7.102s

This issue (and the linked PR above) can now be closed as this has in the meantime been fixed by  dropping zlog and all the C code, adopting bazel, dropping zookeeper and dropping much of the python code base (in particular @lukedirtwalker's changes in #3457 that also bump the version of the python dependencies).
Installing and building on Ubuntu 18.04 now works like a charm, just following the instructions.

As @matzf correctly summarized above this is no longer relevant.


Demote Inactive Citizens to Resident - they can come back!

Summary
We want to remove inactive citizens from being a citizen - if someone does not vote for 3 consecutive months, they will be made a resident. Any time they want to, they can then become a citizen again if they still fulfill the criteria.
Rationale behind this is that people who do not participate in voting should not negatively impact the quorum for proposals - they should not count as the quorum is concerned.
Rules / Implementation

When a user goes from resident -> citizen we make then an entry in the 'active' table in proposals
active has name, timestamp, active (bool)
their active status is true
in "sizes" count the number of active users separately from the number of citizens ("active.sz")
When a user votes, their 'active' timestamp is updated
At the end of each cycle, we separately go through the active list with our incremental algorithm and for each user where timestamp > 3 cycles, we remove set their active to false, and decrease the size of active, and change their status to resident.
When we check quorum for proposals, we use active size, rather than number of citizens
When a user comes back from resident -> citizen and they already have an active entry (set to false), then their active is set to true but the time stamp is not changed - meaning if they jump in and vote the timestamp will be updated, if they fail to vote they'll be back to resident at the end of the cycle. You only get the "we trust you for 3 months" trust bonus the first time.
A user coming back from resident immediately gets votes based on CS points, deprecated by their time of entry.

Depreciation rules still need to be simplified - they're supposed to be linear but need to figure out what happens if someone spends
Debate
Demoting to resident signals a change of status in governance.

Deployment

[ ] accounts
[ ] proposals


www/nginx: Erroneously claims only one server per port

When using Nginx streams to proxy multi-protocol traffic (e.g. DNS which is 53 udp and/or tcp), the UI erroneously reports that you can only have one listener at port 53, which is not correct. You can have one TCP and one UDP listener.
Example:
streams {
    listen 69 udp;
    listen 69;
    proxy_pass tftp_servers;
}

The UI needs to consider UDP and TCP separately when configuring data streams. Which aren't even being configured in my test; it's simply doing nothing and pretending it's actually configured a stream. But there is no stream actually configured.

is it sufficient to add an option to add UDP as well as tcp (like your snippet)?

https://github.com/opnsense/plugins/blob/master/www/nginx/src/opnsense/mvc/app/models/OPNsense/Nginx/Nginx.xml#L797-L800
I think this field could be migrated to a dropdown. TCP/UDP/Both

That might be the best option from a validation standpoint. Trying to validate that someone hasn't added 55/udp 55/tcp 55/udp might be a headache.

That was my idea, too. Because I didn't find a possibility to do a unique check with 2 fields.

This issue has been automatically timed-out (after 180 days of inactivity).
For more information about the policies for this repository,
please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.
If someone wants to step up and work on this issue,
just let us know, so we can reopen the issue and assign an owner to it.