Issue#43-CORS

CORS (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) is an HTTP-header based mechanism that allows a server to indicate any origins (domain, scheme, or port) other than its own from which a browser should permit loading resources. We have to deal with CORS because different from the previous homework we now have two servers --- the server for our
backend and the server for our frontend. At the frontend, our React app will make API requests to the backend (using Axios or fetch). Thus, ensure that at the backend, i.e., in your PHP code, CORS headers are set to allow requests from http://localhost:3000 (or whatever else the local server URL of your frontend is). To keep it simple and for development purposes you can allow the access by any URL, that is, use * --- however, please never do this in production: [see image in #9 of hw 3]

setup HORS headers in my fronted InitController.php file:
header('Access-Control-Allow-Origin: http://localhost:3000'); header('Access-Control-Allow-Credentials: true');
header('Access-Control-Allow-Methods: POST, GET, OPTIONS'); header('Access-Control-Allow-Headers: Content-Type, Custom-Header');


Document Name lost in tab on reload

How the Issue shows
Browser Tab shows "Classeur - The app" versus document name.
How to Reproduce

Load a document in Classeur → shows document name in tab
Reload the page → document name is lost in tab, it now shows  "Classeur - The app"

Suggested Fix
Set <title> to be the document name on reloading the page
Ability to Reproduce

Afflicts all documents in all folders
Same behavior on FireFox and Chrome

Why this is Relevant
When having several Classeur tabs open at the same time to move content from one text document to the other the name in the tab is important to keep an overview. On page reload the name is lost. Currently we frequently have to reload the page to get rid of tiny Classeur bugs, thus loosing the overview when handling multiple documents.

Reproducible in the web version, thank you Hubert!

Thanks for your swift test!

Addendum: Update Tab Name on Renaming
Just to be complete: When renaming the document name using the function: Menu > Filename (edit this field and close), then the tab name should be updated accordingly.

Good catch!


NIFI-6775 Added fix to support Oracle Float type conversion to Avro

Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
Fix for bug NIFI-6775
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] Have you verified that the full build is successful on both JDK 8 and JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Is there any way to add a test for this?

Is there any way to add a test for this?

No Really..

Reviewing...


datepicker: DatePipe provided in lazy loading modules cannot be accessed by DateHelperService

Ref this discussion on SO: https://stackoverflow.com/questions/56268515/ng-zorro-in-lazy-loaded-feature-modules/56285099#56285099.

Thanks a ton for taking this up so promptly


Please update to CDKv2 and update instructions to use Python3 instead of Python2

On this page: https://ecsworkshop.com/monitoring/container_insights/build_environment/

That workshop is using the outdated CDK v1
The instructions say to use pip which is Python2 on Linux and Mac, but CDK requires Python3.

Thanks @DevoKun.
We are aware that the workshop needs an update to v2.
Work is underway to update.


Change setup of origin to comply with github push requests

The current setting of origin in bin/dotfiles line 288 is:
git clone --recursive git://github.com/${github_user:-cowboy}/dotfiles.git $DOTFILES

Yesterday I ran into an issue with this. I could not push to github.com with the generated .git/config.
The suggested form for cloning is:
git clone git@github.com:cowboy/dotfiles.git

This should setup .git/config right.
Just want to announce. Will send a pull request once I got some routine with github.com, and dived into this a little deeper.
regards
from Elmar  to Alman
P.S.: Yes, I tried with my own fork of the repo.

This sounds useful. Send a PR and I'll merge it. Thanks!

Just for documentation. This is the error after installing with the current version.
fatal: remote error:
  You can't push to git://github.com/elmar-hinz/dotfiles.git
  Use https://github.com/elmar-hinz/dotfiles.git

At least it makes a different suggestion than I did above.
The resulting .git/config
[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
    ignorecase = true
    precomposeunicode = false
[remote "origin"]
    url = git://github.com/elmar-hinz/dotfiles.git
    fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
    remote = origin
    merge = refs/heads/master
[submodule "link/.vim/bundle/Vundle.vim"]
    url = https://github.com/gmarik/Vundle.vim.git

Following the suggestion of the error msg and setting HTTPS makes me enter me password:
url = https://github.com/elmar-hinz/dotfiles.git

Using the git protocol I can login without password prompt by using the ssh keys.
url = git@github.com:elmar-hinz/dotfiles.git

However the second solution requires that the user put his public key on github. But I think it also prompts for the password if the user didn't. So this should be the preferred solution I think.


Broken link fixed week29

@atikmapari : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@atikmapari : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@atikmapari : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@orspod : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.


vcfanno somatic looks in wrong path for dbSNP and COSMIC

I saw a command being executed as
/opt/bcbio/anaconda/bin/vcfanno -p 7  -base-path /opt/bcbio/gemini_data /opt/bcbio/genomes/Hsapiens/hg19/config/vcfanno/somatic.conf /path/to/my/vcf

somatic.conf contains paths to variation/dnbsnp-150.vcf.gz and similar other files like COSMIC. However, the base path does not, because it points to the GEMINI install directory and thus vcfanno bails out with an error.
Simply symlinking variation from the hg19 genome directory makes this issue disappear, but it's just a hack (and something I made to keep the analysis running).

Luca;
Thanks so much for the heads up on this and apologies about the issue. We've been working on generalizing and improving vcfanno in the development version and missed this need to set different basepaths for vcfanno when we have both gemini and somatic annotations. I've pushed a fix which should resolve this by running these separately. Please let us know if you run into any other problems at all.


Confusion matrix plotter & accurracy averager

Hi,
Here is harry_plotter.py, a script which computes averages and display confusion matrix on 10-Fold X-Validation results
I've also put my results in the readme
Hope you'll find it useful (because averaging and parsing confusion matrix manually is boring)
Merry Xmas

Hi thanks for this PR. I wonder however if this couldn't be integrated in a more general way i.e. we try to avoid having recipe specific scripts. Do you think this work could be extended to work on multiple recipes?

Hi thanks for this PR. I wonder however if this couldn't be integrated in a more general way i.e. we try to avoid having recipe specific scripts. Do you think this work could be extended to work on multiple recipes?

Hmmm, it actually uses line number of train_log files on this specific recipe with this specific hparams file so, well no it couldn't be integrated more globally ( since plotting with seaborn confusion matrix should be done on a pc not on the gpu node etc :/ ).
Well, no problem it was a great fight with the linter :)
Merry xmas :D

For information here is a repo ( in french ) where i've used harry_plotter.py in order to plot confusions and compute average score : https://gitlab.com/Raymondaud.Q/lia-alternance-m2/-/tree/master/SpeechBrain-UrbanSound-Recipe/10_Fold

Hello,
I'm closing this PR since no activity and modifications can be provided.
Feel free to reopen if needed. 🙂


Penalizeintercept

closes #27
adds toggle for penalty on intercept

additional tests and comparisons

Codecov Report

Merging #31 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #31      +/-   ##
==========================================
- Coverage   94.86%   94.83%   -0.03%
==========================================
  Files          19       19
  Lines         701      717      +16
==========================================
+ Hits          665      680      +15
- Misses         36       37       +1

Impacted Files
Coverage Δ

src/glr/d_l2loss.jl
100% <100%> (ø)
:arrow_up:

src/glr/prox.jl
100% <100%> (ø)
:arrow_up:

src/glr/utils.jl
90.9% <100%> (+3.4%)
:arrow_up:

src/glr/d_logistic.jl
100% <100%> (ø)
:arrow_up:

src/glr/d_robust.jl
91.05% <100%> (+0.14%)
:arrow_up:

src/utils.jl
97.22% <100%> (+0.25%)
:arrow_up:

src/glr/constructors.jl
100% <100%> (ø)
:arrow_up:

src/loss-penalty/generic.jl
84.81% <0%> (-1.27%)
:arrow_down:

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 6316160...086a27d. Read the comment docs.


[SMALLFIX] [branch-1.3] Improve server related dependency

When a library is directly referenced in the source code, putting it directly in the corresponding pom file is considered as a good practice. This PR does some tuning in pom files regarding the conflict between com.sun.jersey(1.x) and org.glassfish.jersey (2.x):

make use of org.glassfish.jersey.core:jersey-server explicit (also javax.ws.rs:javax.ws.rs-api)
better exclude classes of com.sun.jersey from module tests.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/11599/
Test PASSed.

LGTM


Fix bundle and PR tests

I did not add the missing files first to ensure the test is working now.

Tests detected the missing files, adding the files now.


(Checkbox) label not displayed properly in inverted segment if toggle is used

  <form class="ui inverted form">

        <input type="checkbox" class="hidden" readonly="" tabindex="0" />
        This one only shows if the checkbox is UNcheked

 </form>

  <input type="checkbox" class="hidden" readonly="" tabindex="0" />
    this one never shows

In a inverted segment > Inverted Form: label shows if checkbox is UNchecked, but does not if checked
In inverted segment, label shows in neither case

That doesn't make sense only to change text color to white. I think supporting inverted checkbox is a solution of this issue.

Fomantic-UI supports inverted toggle checkbox since 2.4.4
https://fomantic-ui.com/modules/checkbox.html#inverted

See your adjusted code here https://jsfiddle.net/f6snvkx3/


Add get_feature_names() function to FracdiffStat & Fracdiff sklearn pipeline transformations

Suggested feature request. And I'm happy to try implement if proposal is accepted.
Use case: I use FracdiffStat within a sklearn pipeline. Using ColumnTransformer I separately transform categorical features (OHE) & continuous features (FracdiffStat) & some features that require no transformation.
self.column_transformer = compose.make_column_transformer(
            (preprocessing.OneHotEncoder(handle_unknown='ignore', sparse=False), self.X_features_cat),
            (FracdiffStat(), self.X_features_num)
        )

Unfortunately, FracdiffStat does not have a get_feature_names() method so sklearn is unable to retrieve column names from the ColumnTransformer pipeline stage.
Has this feature request bee considered before? Any guidance if this would be a valuable addition to fracdiff?
My initial thinking is that the following is needed:

If X is a DataFrame, store column names when FracdiffStat().fit() is called.
Add get_feature_names() method that returns this list of column names

Appreciate any pointers / guidance on value of this FR. And if the approach seems reasonable.
Mark

Thanks a lot for a great suggestion @markdregan !
I haven't thought of that and think that would be a great feature to make fracdiff more convenient and sklearn compatible.
I second you and will review your pr.


blPara attribute missing

F29
Python 2.7.15
run this script against PDF and get:
AttributeError: RotatedPara instance has no attribute 'blPara'
Script runs successfully and generates a .hocr file for each page from the pdf...it is in what ever it wants to do next that the blPara attribute does not exist.
Thanks for any pointers.

In case anyone else gets this same error message, I got it on p.drawOn() after calling p.wrap() with availWidth=0. Reportlab version 3.4.0 absorbed this silently, but 3.6.12 raised this obtuse exception.


Use injected ExecutorService instead of creating a new one

Explain why in the commit message

Other than my one comment and martin's comment, looks good

Since the leak is only in our internal connector, I'm not sure what to say in this commit message. Something like "This allows connectors to provide their own ExecutorService"?

What causes the leak? Maybe something like "not having this forces connectors that extend this one to do xxxx which results in leaks."

It's the way our internal client Metadata is written. We create a new HiveMetadata object for every metadata call, which in turn creates a new ThreadFactory with its own ThreadGroup. I'll say "Not having this forces connectors that extend this one to leak ThreadGroups, if they don't reuse HiveMetadata objects."


Example or tutorial to generate custom Excels

Agree, there already some info on the docs but may be too short. https://mork-optimization.readthedocs.io/en/latest/features/serialization/#adding-custom-data
Any PR improving the docs is welcome


Fix typo in RELEASES.md

Fix typo in RELEASES.md
compatibity -> compatibility
formating -> formatting
Signed-off-by: Joowon Cheong<EMAIL_ADDRESS>

LGTM
Why did you close this? 😅❤

See #1033 -- some folks don't know you can push to the branch to update the PR.


AttributeError: module 'gdax' has no attribute 'WebsocketClient'

Fresh install and getting this weird error after playing with the websocket.  Now I cant import gdax without this error.  I tired pip uninstall/install gdax and tried re-install the requirements with no luck.  The only fix is a complete reinstall or new environment in python

Interestingly enough I fixed the error by running 'import gdax' script on my C drive.  I was testing on my second drive and had some issues.

Seems like it may be something in your environment. Did you perhaps have another file named gdax.py in your working directory? Are you still having this issue?

I am also having this issue. Fresh python installation.

Found the problem - if the file you are using is named gdax.py, it will cause this error.

I fixed the issue by uninstalling pip uninstall websocket-client and reinstalling it. pip install websocket-client==0.40.0


Proposed solution to allow parsing JSON lists / arrays

This is a proposed fix for where lists can't be parsed. It only applies when a target has been specified.
I'd like to get some feedback on it before I go any further.

@jrgns I've tried to solve this in #8. I'm trying to see if your solution catches anything mine doesn't. Do you see anything?

This is a problem I'm very interested in being solved, with this, this would be able to be parsed for example?
  {
    "key": "value",
    "foo": [
      {
        "bar": "12345",
        "baz": "abc"
      },
      {
        "bar": "65432",
        "baz": "def"
      }
    ]

  }

@kais58 I believe this to already be solved, the issue I think @jrgns and I are trying to solve is:
[{"a": 1}, {"b": 2}]

I think what you want, is to run logstash-filter-split on your foo.

@tebriel Oh, I somehow missed that. Awesome. Your's seem to be more complete. I've added a note there. Closing this.


Add support for deriving enums from look-up tables

Problem
Right now, Prisma generates enums based on actual enum types supported in databases like Postgres.
For example, running this SQL statement
CREATE TYPE Gender AS ENUM ('Unspecified', 'Nonbinary', 'Male', 'Female');

and performing a Prisma introspection will generate the following schema:
enum gender {
  Female
  Male
  Nonbinary
  Unspecified
}

This works pretty well. However, this is a bit rigid and lacks SQLite support. One alternative, used in the Hasura GraphQL engine, is an "enum table" that Hasura converts into a GraphQL enum behind the scenes.
See their documentation for more information about the design of enum-compatible database tables. A SQL snippet for such a table is shown below:
CREATE TABLE user_role (
  value text PRIMARY KEY,
  comment text
);

INSERT INTO user_role (value, comment) VALUES
  ('user', 'Ordinary users'),
  ('moderator', 'Users with the privilege to ban users'),
  ('administrator', 'Users with the privilege to set users’ roles');

Essentially, these tables just have a unique identifier and (optionally) a description.
Suggested solution
It would be nice if a table structured this way was able to be identified and correctly parsed into a Prisma enum. Even if a special naming convention was required (e.g. _EnumUserRole), it would be really helpful especially to those who would like to use enums with SQLite.
Revisiting the Hasura example:
CREATE TABLE _EnumUserRole (
  value text PRIMARY KEY,
  comment text
);

INSERT INTO _EnumUserRole (value, comment) VALUES
  ('User', 'Ordinary users'),
  ('Moderator', 'Users with the privilege to ban users'),
  ('Administrator', 'Users with the privilege to set users’ roles');

would generate the following Prisma schema:
enum UserRole {
  User
  Moderator
  Administrator
}

Right now we are not polyfilling any database features. Actually in Prisma 1 and in the very early versions of Prisma 2 we also used to create an enum table instead of a native type.
Here is some discussion on why we are not shimming database features for now: https://github.com/prisma/specs/issues/330
This might coming in the future so I will keep this open as a feature request.

This sounds like a cool idea, it would allow me to toggle between SQLite and MySQL for test and prod environments

This sounds like a cool idea, it would allow me to toggle between SQLite and MySQL for test and prod environments

Would Support Enum in SQLite (via polyfill/emulation) solve the core issue here or would there be some other advantage to using a table?


Migrate from API keys to IAM authentication for REST

Internal user wants to have multiple access roles for browser connections.
Operator (change anything, diagrams, tiles, alarms, etc.)
Viewer (read only, no changes to back-end)
Process for adding new users changes (IAM users, or Cognito user pool)
Stored credentials on browser-side changes
Browser code needs to be aware of read-only role

It would be useful to be able to create MSAM-specific users with least-permission for the read-only functionality. Needed so external users could be granted limited access that could be easily disabled when no longer needed.

I think we'll need to consider Cognito integration versus a generic IAM integration. We have several users out there with existing authentication repositories in AWS cloud and elsewhere. Cognito can federate with repositories from Microsoft Active Directory Federation Services, Okta, Auth0, Ping Identity, Google, Facebook and others.


Unable to run use the JAR and Bash Script

Hi, I have been trying to use the burp-rest-api.jar file and the bash script on ubuntu linux (20.04 LTS). However, the script and burp-rest-api JAR is failing on startup.
I followed all the steps on fresh ubuntu linux and using different JAVA versions (JDK-8, JDK-14 and JDK-17). Also, I have tried to build the source using gradle as mentioned in the Readme file but still it is failing.
Can somebody please help me here. I have spent lot of time troubleshooting this but no success. I will really appreciate if you could respond as early as possible. I have attached the logs.
Thanks.
burp-rest-api-startup-failed-logs.txt

The script includes this command
java -jar build/libs/burp-rest-api-2.1.0.jar --burp.jar=lib/burpsuite_pro.jar
Have you tried using the latest .sh script currently on Master?
Please fill out the detailed https://github.com/vmware/burp-rest-api/issues/new?assignees=&labels=&template=bug_report.md

Thanks! I have tried with the latest .sh script present on master and it worked!
I guess earlier I was trying .sh script which I have downloaded from the latest release on the Releases page.


#48 Changed UnicodeEncoding.UTF8 to Encoding.UTF8

Fixed #48

@asn001013 Thanks, can you delete .project and .DS_Store files?

@asn001013 Thanks, can you delete .project and .DS_Store files?

Done!

Great!


Coordination

List of projects which we might (would like to) collaborate with:

Sources of data/info:

hdl.github.io/constraints/Similar
#3

j0ono0/pinout
yaqwsx/PcbDraw
yaqwsx/pinion

trabucayre/openFPGALoader

trabucayre/openFPGALoader#105

Consumers (as a submodule):

im-tomu/fomu-workshop
dbhi/vboard
juanmard/icestudio
sam210723/fpga
stnolting/neorv32

Maybe in a neorv32-setups repo.

umarcor/hwstudio
umarcor/SIEAV

/cc @j0ono0 @juanmard @sam210723 @stnolting @trabucayre @yaqwsx
FTR, a couple of weeks ago, I converted the documentation of this repo from asciidoctor to sphinx. That was in preparation for better cross-referencing across repositories (pages), through intersphinx. Also, pinout and pinion are written in Python.
Several projects do use sphinx already:

I contributed the initial sphinx site to openFPGALoader a month ago.
Fomu Workshop and Icestudio use sphinx since they were created.
I will convert the docs of SIEAV and hwstudio to sphinx.
dbhi/vboard and sam210723/fpga don't have a documentation site, and neorv32-setup is to be created/decided yet.

FTR, now there is a "Constraints" column in the trabucayre.github.io/openFPGALoader: Boards compatibility list, which contains cross-references to hdl/constraints through interpshinx. See trabucayre/openFPGALoader#160 and trabucayre/openFPGALoader#161.

Update: information from openFPGALoader's doc helpers is used in CI to generate field "openFPGALoader" cross-referencing trabucayre.github.io/openFPGALoader: Boards compatibility list. See hdl.github.io/constraints: Boards and https://github.com/hdl/constraints/commit/f662e37239398ec802753652a320f0745a0f6658.


Adding lazy loading behavior for default project (storage).

NOTE: Has #733 as diffbase.

Coverage remained the same at 100.0% when pulling 6f98e15b2721ebd4cf4cfd1fb19e343612f2c68e on dhermes:default-project-lazy-loaded into d6680440d9215eb2064bf99aefa1cc35db3fcb4e on GoogleCloudPlatform:master.

LGTM

Changes Unknown when pulling 99a16a26436c2e9eeb8dae72be34ddc858b85b5b on dhermes:default-project-lazy-loaded into ** on GoogleCloudPlatform:master**.


Select improvements

I was wondering what's a good way to handle breaking changes in UiComponents in general. E.g. the default width for the select is currently 300px, which seems pretty arbitrary. A better option might be 100% or even leaving it at whatever bootstrap makes of it. If I were to remove it, this would affect all the places this is used in. I was thinking deprecation warnings might be a good way to deal with this. What do you think?

:mushroom:


update github actions to use conda

Codecov Report

Merging #182 (a544dd3) into master (d56cc00) will increase coverage by 0.90%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #182      +/-   ##
==========================================
+ Coverage   56.09%   57.00%   +0.90%
==========================================
  Files          20       20
  Lines        3264     3328      +64
  Branches      519      535      +16
==========================================
+ Hits         1831     1897      +66
+ Misses       1314     1313       -1
+ Partials      119      118       -1

Impacted Files
Coverage Δ

csep/utils/readers.py
49.51% <100.00%> (+0.64%)
:arrow_up:

csep/utils/basic_types.py
89.28% <0.00%> (+0.19%)
:arrow_up:

csep/core/poisson_evaluations.py
42.98% <0.00%> (+0.25%)
:arrow_up:

csep/core/regions.py
50.75% <0.00%> (+0.29%)
:arrow_up:

csep/utils/comcat.py
86.59% <0.00%> (+0.63%)
:arrow_up:

csep/core/repositories.py
49.15% <0.00%> (+0.87%)
:arrow_up:

csep/core/catalogs.py
61.10% <0.00%> (+0.91%)
:arrow_up:

csep/models.py
43.19% <0.00%> (+1.02%)
:arrow_up:

csep/core/forecasts.py
57.19% <0.00%> (+1.99%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


MSSQL stacked query is broken

Hi guys !
The -stacked parameter for the mssql command is now broken, and the output is no more "stacked".
I guess the problem comes from the #48 pull request.

Thanks, will look into it. I'm guessing the issue here is the new lines and spaces?

Yes, now when the -stacked parameter is specified, the SQL query appears non stacked, with line returns.

Hi, just come back later with an example. I was not able to access my SCCM lab the other day.
Here it is what happen when -stacked is used:
python3 sccmhunter.py mssql -u blwasp -p 'Password123!' -d lab.local -dc-ip <IP_ADDRESS> -tu blwasp -sc HTB -stacked
SCCMHunter v1.0.3 by @garrfoster
[19:56:40] INFO     [*] Resolving blwasp SID...
[19:56:40] INFO     [*] Converted blwasp SID to 0x0105000000000005150000004B2233992A9592E9D78A99DA4F040000
[19:56:40] INFO     [*] Use the following to add blwasp as a Site Server Admin.

Hey thanks @BlWasp I am planning on resolving this, just been busy with work. I'll try to get to this this weeken

Okey no problem, thanks a lot for your work and your tool !

@BlWasp sorry it took awhile to get to it but this was fixed.

Nice, thanks for the fix !


Support Kotlin debugging

I'm not able to set breakpoints in Kotlin files within vs code, presumably because this extension does not yet support Kotlin debugging

Duplicate of #25


Please Add The Enchantment Combining Multipliers In the Wiki Entries for the Enchantments

For example- see this Minecraft wiki page https://minecraft.fandom.com/wiki/Anvil_mechanics#Combining_items
Each enchantment has a combine cost multiplier for an item containing the enchantment, or a book containing the enchantment, it would be very helpful to know that information

no


Getting 404 on every defined page

Hello,
I just today had finally time to get back to my library project. So I'm doing a big dependency update.
After configuring kit-docs I only get 404 errors and I can't seem to find out why. The whole code of my library can be found at: https://github.com/Myrmod/svelte-babylon/tree/update-library
I assume I did something somewhere wrong, rather than it being a bug, but I can't seem to find the reason.
best regards

Same here. I've just used the Quickstart directions to create a new project and am getting  a 404 on http://localhost:5173/docs/first-category/

Same here


Use Maven Wrapper in CI

Makes the version of Maven used consistent across all builds.

[!NOTE]
Before this change some scripts were using the version of Maven defined by the wrapper, and some could have been using the version that was on the PATH.

This PR has:

[ ] been self-reviewed.

[ ] concurrent read
[ ] concurrent write
[ ] concurrent read and write

[ ] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods.
[ ] added or updated version, license, or notice information
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious
for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold
for code coverage.
[ ] added integration tests.
[ ] been tested in a test IoTDB cluster.

Key changed/added classes (or packages if there are too many classes) in this PR

Hi, any advantage of this change?

Hi, any advantage of this change?

Mostly consistency. Most of the IoTDB CI builds are already using the wrapper, but the ones in this change were not.
Without all the builds using the same version we could end up in a situation where we see different behavior on some builds and it would be difficult to troubleshoot.

I think the most of IoTDB developers are using the maven on the PATH to dev, test, build and release binary packages. We have no report of the problem about the maven version before. From my side, I think it is no necessary to change that for now.  Should rise a discussion on the mail list?

I think the most of IoTDB developers are using the maven on the PATH to dev, test, build and release binary packages. We have no report of the problem about the maven version before. From my side, I think it is no necessary to change that for now. Should rise a discussion on the mail list?

This is totally up to you. However, I'd recommend, being consistent here in using one or the other
This change specifically called out needing to use the wrapper to avoid the type of problems I mentioned
https://github.com/apache/iotdb/commit/09f9bcfedf68d619f5bd6250b4603e3126b6d855
Given that Maven 4 is around the corner, using the wrapper, is another easy way to help with migrating (e.g. single place to update the Maven version). Similar if in the future IoTDB wants to use mvnd (Maven Daemon)


Almost enable always_specify_types lint

Fixes the zillion issues that uncovered, but this isn't done yet. Still a few hundred to deal with. I just wanted to get this out for review so I can land this work in progress before the rename fixit.
cc @abarth

RSLGTM


C3D_TexEnvOp() regarding alpha channel - writing into wrong spots

Based on the source code for the texture environment structures, you have RGB and Alpha separated. That's correct for most parts, but the operand has a slight overlap and a 1-bit separation with Alpha. In sections of 4-byte word (0:31), RGB operand components R, G, and B cover bits 0:3, 4:7, and 8:11. The Alpha operand structure does not follow this, but leaks into the previous first half of the word type, starting with 12:14 for the first component, then skips a bit to set 16:18 for the 2nd component, then another bit skip for 20:22 with the 3rd component. Found this out when attempting to use ONE_MINUS_SRC_ALPHA with the first component and nothing changed. Manually added 0x1000 to opRGB after setting up the overall texture combiner, and it worked in flipping the alpha values of a texture.

Yeah, this is a known issue in upstream citro3d. I have a development branch in the works which fixes this issue. Since the RGB/Alpha OP enums are incompatible, I decided to remove C3D_TexEnvOp() altogether, and replace it with C3D_TexEnvOpRgb and C3D_TexEnvOpAlpha().

Gave it some thought last night in bed, but couldn't you just alter the C3D_TexEnv structure slightly? Instead of the current "u16 opRgb, opAlpha", make a union and size them up?
union
	{
		u32 opRgbA;
		struct
		{
			u32 opRgb	: 12;
			u32 opAlpha	: 12;
			u32 opEmpty	: 8;
		};
	};

While the alpha only uses 3 bits per component, the offset from the beginning of one component to the next is 4 bits, the same size as for RGB, allowing for the existing RGB/Alpha OP enums via GPU_TEVOPERANDS to work with it. Did a test myself with this change, and I don't seem to run into any problems.

That's in part what I did. However the values of the enums themselves are incompatible - it doesn't make sense to use C3D_Both.

True, since the only time C3D_Both would even work properly is when using the default 0 for it all.


to onnx

I have tried to convert pytorch model to onnx with api (torch.onnx.export), but I meet a problem showing below info
Failed to export an ONNX attribute, since it's not constant, please try to make things (e.g., kernel size) static if possible
How could I fix it ?

Which model in onnx are you looking for?

I have added ESPNetv2 onnx compatible models.
See here: https://github.com/sacmehta/EdgeNets/tree/master/onnx_models/classification/espnetv2

thanks, Can you provide code to turn onnx? What I need is to train my own data model and then turn it into an onnx model.

Unfortunately, I cannot provide it now because we are checking its stability across different models. However, we will be releasing it sometime next month.

I export an onnx model for segment, I got the follow error:
RuntimeError: Failed to export an ONNX attribute, since it's not constant, please try to make things (e.g., kernel size) static if possible
How i can fix it?

+1


GEODE-8943: Avoid filter registration during Transaction commit

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

There is a behavior change in transaction with register interest. (From my understanding this behavior exists from start of the tx implementation).
Now register interest will block transaction commit during the period of register interest -- esp. on the node performing the register interest from client.
The performance hit shifts from calculating filterRoutingInfo again on remote node to no transactions allowed to commit when register interest is under way.
Also I worry about potential performance hit and even deadlock as the remote node processing register interest message can be blocked for a while (trying to get the write lock) while there are concurrent transactions.

Not sure what you meant by behavior change; can you be more explicit on this.
By design for partitioned regions, the events are processed on the primary bucket (where cache is updated) for all the peer-nodes and server hosting the subscription queues in questions. And replicated regions its processed locally in notifyBridgeClientes()
Yes. With the new change register interest is blocked while transaction in progress (and other way); this is one of the option that address the issue we are seeing. We could try out if there are any other better option to address this.
There could be impact when the registration and transaction in progress; but considering the use-case, where registration is meta operation (only happens initially when client comes up); it will have minimal impact. Also we have nice mentioned that overall transaction ops are slower compare to non-tx ops.
Yes, we need add/run tests to make sure there is no dead-lock issue within the node and between the nodes (distributed message).


Update plugin.yml

Hey correct me if I'm wrong, but I think you sent this to the wrong repository this a fork of the original.

Ops wrong one

No worries! We all make mistakes


[DOC] Add documentation for filter support for neural query

What do you want to do?

[X] Request a change to existing documentation
[ ] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
The neural search query allows users to use a ML model to turn their text into vector embeddings, and then perform k-NN search over an index with the embedding.
Neural queries are just wrappers around k-NN queries. For k-NN, we support filter. For neural, we support filter as well. We mention this in the Semantic Search section here: https://opensearch.org/docs/latest/search-plugins/semantic-search/#step-4-search-the-index-using-neural-search:

To perform vector search on your index, use the neural query clause either in the k-NN plugin API or Query DSL queries. You can refine the results by using a k-NN search filter.

We should add this to the documentation about the neural search query in the query DSL docs as well: https://opensearch.org/docs/latest/query-dsl/specialized/neural/
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.
https://github.com/opensearch-project/neural-search/issues/523

Thanks, @jmazanec15 ! Can you please open a doc PR with this info?

@hdhalter created #6254


Connection to a local DAPS

Some background information:
I am currently working on setting up the Testbed. We are in the process of connecting the Dataspace Connector, a local AISEC DAPS and the Metadata Broker open core. We are still working out how to make the connector use our local DAPS as we have found some issues with the IDS Infrastruture.
The open issue can be found here:
https://github.com/International-Data-Spaces-Association/DataspaceConnector/issues/323
I assume we will have a similar issue with the Broker. I have not been able to find the file where you specify the DAPS you want to connect to. We need to replace the DAPS url.
https://daps.aisec.fraunhofer.de -> http://localhost:4567/token (the DSC was trying to point at http://localhost:4567/v2/token which is not the case here).
Where can I find the file to replace the DAPS url?
Thank you in advance

The url seems to be in the application.properties of the broker-core and can be changed:
https://github.com/International-Data-Spaces-Association/metadata-broker-open-core/blob/357f5a71a26b9b9f44e45a4511d1cd86b62a49cc/broker-core/src/main/resources/application.properties#L19

@maboeckmann Closing this as the daps.url is configured as stated.


Feature Request: alt-mousewheel scaling

This might only be appropriate for scaling templates, but it would complement ctrl/shift to rotate well I think if alt+wheelup/down increased/decreased template size.

Ehhhhh I don't think I'm gonna do any mouse bindings, but will think about it.


shortcut not working

div.container shortcut not working when writing php code

edit: div + TAB gives me . I'll use this shortcut in the meantime.

It's possible you have to add the grammar inclusion to the keymap emmet.cson file.
atom-text-editor[data-grammar~="php"]:not([mini]):
  'tab': 'emmet:expand-abbreviation-with-tab'


Fargo, ND

Ref: https://github.com/openaddresses/openaddresses/issues/5984

Address Layer Pass: https://batch.openaddresses.io/job/205158


Allow any type fields

Allow to create fields of any type. This will be useful for creating a migration builder for using fields like enum, point, ip, polygon, etc.

Thank you for PR.
Will be done in https://github.com/cycle/database/pull/104


Granularize toMemoryConfigOp

Introduce 5 ops that cover the functionality of the previous toMemoryConfigOp:

ToDeviceOp: Move data to device
FromDeviceOp: Move data from device to host
ToLayoutOp: Tilize/untilize data
TypecastOp: typecast data

FYI @mmanzoorTT I updated the TTNN implementation of the typecast op, creating its own conversion pattern. In TTNN, typecast does not belong to eltwise unary, that's why you had to add a separate method for running the op in runtime. The stableHLO to ttir interface remains unchanged.

ToMemoryConfigOp: Solely converts memory config, including Dram <-> L1 movement, interleaved <-> sharding conversion

Updated downstream consumers (TTNN to flatbuffer, TTNN Runtime, TTNNToEmitC)
Creating these ops in combination is a challenge, as there are several (known) constraints:

Tilizing on device requires bf16
Typecasting on device requires TILIZED data
Untilizing on device requires width % 2 == 0, page size > sizeof(uint32_t).

Here it seems very hard to update the page size.  However padding -> untilize -> unpad seems tricky, and typecasting requires tilized data.
Therefore for now we will always untilize on host (which is what we are doing currently), since we normally only untilize at the end of the program when we move data from device to host, the perf hit should be acceptable. We rarely have device to device untilize cases.

This PR also fixes tensor type when forcing row_major/tile layouts. Previously when forcing tile/row_major layout, the output tensor layout/shard shape/element type are not changed, and so runtime had to hack tilize/untilize logic instead of trusting the tile shape.
Also added a shardSpec attribute to the memoryConfigAttr because the optimizer needs it for reshard implementation.
Another goal here is to make adding multi-chip changes easier, as currently without this change we are missing a couple of ops, and also hacking toMemoryConfig ops in the compiler. I would thus need to update the compound toMemoryConfig op to support multichip, which will get removed anyway.
Here's a simple example to illustrate a couple issues and how they are fixed with this PR.
On Main we have
#layout = #tt.layout<(d0, d1) -> (d0, d1), undef, <1x1>, memref<512x1024xbf16, #system>>
#layout1 = #tt.layout<(d0, d1) -> (d0, d1), undef, <1x1>, memref<512x1024xbf16, #dram>, interleaved>
module attributes {tt.device = #device, tt.system_desc = #system_desc} {
  func.func @softmax(%arg0: tensor<512x1024xbf16, #layout>) -> tensor<512x1024xbf16, #layout> {
    %0 = "ttnn.get_device"() <{mesh_shape = #ttnn<mesh_shape 1x1>}> : () -> !tt.device<#device>
    %1 = "ttnn.to_layout"(%arg0, %0) <{layout = #ttnn.layout<tile>}> : (tensor<512x1024xbf16, #layout>, !tt.device<#device>) -> tensor<512x1024xbf16, #layout1>
    %2 = "ttnn.to_device"(%1, %0) <{memory_config = #ttnn.memory_config<<interleaved>, <dram>>}> : (tensor<512x1024xbf16, #layout1>, !tt.device<#device>) -> tensor<512x1024xbf16, #layout1>
    "ttnn.dealloc"(%1) : (tensor<512x1024xbf16, #layout1>) -> ()
    %3 = "ttnn.softmax"(%2) <{dimension = 1 : si32}> : (tensor<512x1024xbf16, #layout1>) -> tensor<512x1024xbf16, #layout1>
    "ttnn.dealloc"(%2) : (tensor<512x1024xbf16, #layout1>) -> ()
    %4 = "ttnn.softmax"(%3) <{dimension = -1 : si32}> : (tensor<512x1024xbf16, #layout1>) -> tensor<512x1024xbf16, #layout1>
    "ttnn.dealloc"(%3) : (tensor<512x1024xbf16, #layout1>) -> ()
    %5 = "ttnn.to_memory_config"(%4, %0) : (tensor<512x1024xbf16, #layout1>, !tt.device<#device>) -> tensor<512x1024xbf16, #layout>
    "ttnn.dealloc"(%4) : (tensor<512x1024xbf16, #layout1>) -> ()
    return %5 : tensor<512x1024xbf16, #layout>
  }
}

Notice we are hard-coding to_layout to tilize on host (to_layout always comes before to_device), and we are hacking in ttnn.to_memory_config at the end to move data from device to host and do all the conversions necessary at the end (typecasting data type, untilize, to_cpu etc.). There's no ability currently to typecast/convert memory config in the middle of the program - everything happens at the end when we're done.
Also notice the to_layout op that produces tensor %1: %1 = "ttnn.to_layout"(%arg0, %0) <{layout = #ttnn.layout<tile>}> : (tensor<512x1024xbf16, #layout>, !tt.device<#device>) -> tensor<512x1024xbf16, #layout1>. In the parameters of the op, we see ttnn.layout<tile>, which means this op is trying to tilize the tensor. However, notice the layout of the output tensor #layout1... memref<512x1024xbf16, #dram>, the element type is not tilized, instead it is still row_major. This causes a mismatch between op parameter and output tensor type, and further downstream, all consumers of this tensor will assume the tensor is not tilized when inspecting it's element type.
With the fixes in this PR we have
#layout = #tt.layout<(d0, d1) -> (d0, d1), undef, <1x1>, memref<512x1024xbf16, #system>>
#layout1 = #tt.layout<(d0, d1) -> (d0, d1), undef, <1x1>, memref<1x1x!tt.tile<32x32, bf16>, #dram>, interleaved>
#layout2 = #tt.layout<(d0, d1) -> (d0, d1), undef, <1x1>, memref<512x1024xbf16, #dram>, interleaved>
module attributes {tt.device = #device, tt.system_desc = #system_desc} {
  func.func @softmax(%arg0: tensor<512x1024xbf16, #layout>) -> tensor<512x1024xbf16, #layout> {
    %0 = "ttnn.get_device"() <{mesh_shape = #ttnn<mesh_shape 1x1>}> : () -> !tt.device<#device>
    %1 = "ttnn.to_device"(%arg0, %0) <{memory_config = #ttnn.memory_config<<interleaved>, <dram>, <<1x1>>>}> : (tensor<512x1024xbf16, #layout>, !tt.device<#device>) -> tensor<512x1024xbf16, #layout1>
    %2 = "ttnn.to_layout"(%1) <{layout = #ttnn.layout<tile>}> : (tensor<512x1024xbf16, #layout1>) -> tensor<512x1024xbf16, #layout1>
    "ttnn.dealloc"(%1) : (tensor<512x1024xbf16, #layout1>) -> ()
    %3 = "ttnn.softmax"(%2) <{dimension = 1 : si32}> : (tensor<512x1024xbf16, #layout1>) -> tensor<512x1024xbf16, #layout2>
    "ttnn.dealloc"(%2) : (tensor<512x1024xbf16, #layout1>) -> ()
    %4 = "ttnn.softmax"(%3) <{dimension = -1 : si32}> : (tensor<512x1024xbf16, #layout2>) -> tensor<512x1024xbf16, #layout2>
    "ttnn.dealloc"(%3) : (tensor<512x1024xbf16, #layout2>) -> ()
    %5 = "ttnn.from_device"(%4) : (tensor<512x1024xbf16, #layout2>) -> tensor<512x1024xbf16, #layout>
    "ttnn.dealloc"(%4) : (tensor<512x1024xbf16, #layout2>) -> ()
    %6 = "ttnn.to_layout"(%5) <{layout = #ttnn.layout<row_major>}> : (tensor<512x1024xbf16, #layout>) -> tensor<512x1024xbf16, #layout>
    "ttnn.dealloc"(%5) : (tensor<512x1024xbf16, #layout>) -> ()
    return %6 : tensor<512x1024xbf16, #layout>
  }
}

Now, notice the first to_layout op is inserted after the to_device op, thus we are indeed tilizing on device now because the dataformat is bf16. Also notice there is no hacked to_memory_config in the end when the ops is finished. Instead, we call a from_device op that reads from device, and a to_layout op that untilizes on host, and finally return the tensor. Also notice the first to_layout_op: %2 = "ttnn.to_layout"(%1) <{layout = #ttnn.layout<tile>}> : (tensor<512x1024xbf16, #layout1>) -> tensor<512x1024xbf16, #layout1>. The output tensor layout is #layout1, which is now indeed in tile format: memref<1x1x!tt.tile<32x32, bf16>, which is aligned with the parameter/goal of the op. Now, all downstream consumers will see a tilized tensor.
Misc:
Synced with @svuckovicTT, we concluded that we should:

Break down the big if statement into separate methods (Done, now all cases belong to their own function)
Model to-layout op to include all parameters in TTNN as optional (Done in this PR)
Convert typecast op to DPS, will create a separate issue for this, don't want to bloat this PR any further
Create an issue that tracks TensorMemoryLayout::None. This won't be needed once we have TTNN-specific tensor type in our dialect, as we could just make the memory config optional

Additional changes:

Removed sharded softmax test because the outputs are wrong #843
Updated matmul to use ::ttnn::matmul
Marked ttrt test_device as skipped because we are seeing perf issues on main: #828

Trying to understand this better. Is it true that TTNN to_device op can only move from host to dram, or can it also put the tensor directly into an L1 sharded configuration?

It can put it in a L1 sharded configuration directly, the to device op accepts a memory config as a parameter

Hey @jnie-TT, I'm not sure I understand what the intent of this PR is. There's several changes that I think are not the way we want to go - I'd like to zoom over this to better understand what it is we're trying to accomplish here.
In general, we should strive to model what TTNN does today - those are the best practices that will save us a lot of headaches going forward.

@svuckovicTT this essentially builds on top of the changes you added in #624 that replaces toMemoryConfigOp with more granular ops. However there were some missing ops (typecast, toMemoryConfig), and the update did not check relevant constraints, so a partial revert was needed because fromDeviceOp was not working properly.
With this we now replace the old compound toMemoryConfigOp with multiple ops with more granular control, while satisfying ttnn constraints.

Hey @jnie-TT, I'm not sure I understand what the intent of this PR is. There's several changes that I think are not the way we want to go - I'd like to zoom over this to better understand what it is we're trying to accomplish here.
In general, we should strive to model what TTNN does today - those are the best practices that will save us a lot of headaches going forward.

@svuckovicTT this essentially builds on top of the changes you added in #624 that replaces toMemoryConfigOp with more granular ops.
To summarize the current state/issues of memory ops are:

We're missing a couple ops (typecast, toMemoryConfig). Here toMemoryConfig solely converts the memory config of the tensor.
We're always tilizing on host (toLayout ops are always inserted before toDeviceOps). I was told by the TTNN folks that the host tilizer is very bad, and we should always tilize on device if possible.
We're always assuming toLayout should move tensors to device (because we're always passing in the device argument). Therefore we cannot untilize on host (which is fixed by the next bullet).
We're hacking in the old compound toMemoryConfigOp when reading tensors from device because there are issues with toLayout and fromDevice ops (#789 ).
We have a compound toMemoryConfig op that checks everything, which eliminates granular control and is hard to update for specific use-cases. This op should solely convert memory configs of the device tensor.
toDeviceOps are created when tensors are already on device (no checks are in place), related PR: #819
toLayoutOps are created when input output tensors could already have the same layout (no checks in place)

This change attempts to fix the above issues:

Added typecast and toMemoryConfig ops
We determine where to tilize (if the tensor can be tilized on device and the tensor will be moved to device/is on device, we tilize on device)
We only move tensors to device with toDeviceOps, clear boundaries are set
We use fromDevice ops to read tensors back from device, and we always untilize on host (because device untilize has many issues mentioned in the PR description)
We remove the compound toMemoryConfig op, and make it lightweight such that all it does it convert memory configs of device tensors
We check whether toDeviceOps should be created, and abide with constraints (e.g. should not be created in conjunction with fromDeviceOps, should not be created if tensor is already on device, should not be created before an illegal tilize/typecast etc.)
We check the input/output tensor layout and determine if a toLayoutOp should be created

The way I see it, these issues should be solved eventually, and should be solved before any further multi-chip changes go in. Or else we would need to update a fromDeviceOp that's not being used (therefore cannot be tested easily), a compound toMemoryConfigOp that's checking everything (therefore tons of updates will need to go in which will probably get removed anyway when we granularize it), and a toDeviceOp + toLayoutOp that has mixed boundaries and are also not being properly checked.

Hey @jnie-TT, thanks for taking the time to rework the ToLayout conversion, I think this is much cleaner now :)
Looks good from dialects perspective, can you please make sure to add the missing issues? (layout=none, typecast to dps, and dtype=none)
Great work!

For sure, I'll create separate issues for this to track. Thanks!


Autoplay doesn't work after scrolling one loop with vertical property

Environment
React: 16.0.0-alpha.12
React native: 0.54.4
react-native-snap-carousel: 3.7.2

Target Platform:
Android (7.0)
iOS (10.3)

Steps to Reproduce
<Carousel
  loop={true}
  autoplay={true}
  vertical={true}
  sliderWidth={36}
  itemHeight={36}
  data={/*just two item*/}
  ...
/>

Actual Behavior
Autoplay doesn't work after scrolling one loop

Hi @MelonDeng,
Could you please share a simple Snack example that reproduces the issue?

@bd-arc sure, here it is:
https://snack.expo.io/rkgnecBmQ
The Carousel can't loop back after scrolling at the last one

same issue

@MelonDeng @Ding95 Just a quick update: I'm currently working on replacing the FlatList component with another one. My hope is to make this kind of irritating bug disappear completely.
I'll keep you posted!

same issue

Same issue, I tried many props, cost almost 6 hours, I tested this:
Set sliderHeight, itemHeight to 41 (50, or larger), it works.

@Xaber20110202 life saver. thank you very much.

Sorry, please allow me to advertise for my open source library! ~
I think this library react-native-reanimated-carousel will solve your problem. It is a high performance and very simple component, complete with React-Native reanimated 2


Create GDI dicount and update meet-up page

http://www.meetup.com/Girl-Develop-It-RDU/events/233533151/


Fix readmerst

tiny changes to readme.

merge #37 first, please. I don't understand why the commits from that branch are reflected here...
I thought doing
git checkout develop
git checkout -b fix_readmerst

would branch off from develop at its current state...


グループメッセージ

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Done


Fix a crash when creating folders on mobile

This PR also ensures that the reminders controller waits for view initialisation before processing files and discovering reminders. This ensures that it can't cause Obsidian to crash and get into a reload loop.
Closes #59

Thanks so much for accepting the PR! I'm glad I could help out!


Send a message in the channel if song playback fails in some cases

Closes #114. We now stop the bust if an exception is raised by nextcord during playback, log the exception and message the channel about it (rather than playback simply stopping silently).
To users, this looks like:

Admins would then go check the traceback and decide whether the audio file is worth attempting to play again or not (or to skip and potentially try a re-encoded version at the end of the bust).

Note that I haven't dug too deeply into nextcord.AudioPlayer to see what exact exceptions may end up actually being passed to ffmpeg_post_hook, but this PR attempts to handle any all the same.
On top of exceptions raised by the above, I think it may be nice to handle any exception (even ones we raise) during a bust in the same manner, so I've factored the code out to a separate function. This PR doesn't attempt to catch any other exceptions yet though.

Let's close this for now as I've mostly forgotten the state on it, and the diff will be different since the refactor.
I'm also not totally convinced anymore that it's a problem that really needs solving.


Aniwave Extension Cloudflare Looping

Steps to reproduce

Go to Browse
Click Aniwave extension
Open in Webview

Expected behavior
After open in Webview, it will verify if you are human and check the box and it will redirect to Aniwave website.
Actual behavior
What happen instead is just looping on the cloudflare after checking the box, even if I changed my wifi or mobile data or even restarting the app of phone.

Crash logs
No response
Aniyomi version
App version: <IP_ADDRESS>-7493 (standard, 89795945a, 121, 2024-01-31T13:51Z) Android version: 12 (SDK 31; build SKQ1.211006.001 test-keys) Android build ID: SKQ1.211006.001 test-keys Device brand: POCO Device manufacturer: Xiaomi Device name: vayu (vayu_global) Device model: M2102J20SG WebView: Android System WebView 121.0.6167.143
Android version
Android 12
Device
Poco X3 Pro
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an official extension, I should be opening an issue in the extensions repository.
[X] If this is an issue with an official manga extension and this issue can be replicated in the Tachiyomi app, that I should be opening an issue in Tachiyomi's extensions repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Read the cloudflare section in the troubleshooting guide that you acknowledged you read. If it doesn't work, migrate to other sources or wait until they lower their protection.

Read the cloudflare section in the troubleshooting guide that you acknowledged you read. If it doesn't work, migrate to other sources or wait until they lower their protection.

I read it before posting it and it doesn't work so maybe I'll just wait then until they lower it down. I'll try other days on connecting to different kinds of wifi maybe I passed the cloudflare eventually. Thx for the comment!

Change the user agent (https://aniyomi.org/docs/guides/troubleshooting/#changing-your-user-agent) and it will work the verification at Cloudflare. But after this you may still have some issues (I do). It gives me 404 error when try to open a episode of any anime.


Thumbnail generation

From @Ullaakut on October 18, 2017 13:42
Use ffmpeg to generate thumbnails for the GUI.
Copied from original issue: EtixLabs/cameradar#123

This issue was moved to EtixLabs/cameradar#141


Issue from website page A Tour of the Flutter Widget Framework

From URL: https://flutter.io/widgets-intro/
import 'package:flutter/material.dart';

class MyAppBar extends StatelessWidget {
  MyAppBar({this.title});

  // Fields in a Widget subclass are always marked "final".

  final Widget title;

  @override
  Widget build(BuildContext context) {
    return new Container(
      height: 56.0, // in logical pixels
      padding: const EdgeInsets.symmetric(horizontal: 8.0),
      decoration: new BoxDecoration(color: Colors.blue[500]),
      // Row is a horizontal, linear layout.
      child: new Row(
        // <Widget> is the type of items in the list.
        children: <Widget>[
          new IconButton(
            icon: new Icon(Icons.menu),
            tooltip: 'Navigation menu',
            onPressed: null, // null disables the button
          ),
          // Expanded expands its child to fill the available space.
          new Expanded(
            child: title,
          ),
          new IconButton(
            icon: new Icon(Icons.search),
            tooltip: 'Search',
            onPressed: null,
          ),
        ],
      ),
    );
  }
}

class MyScaffold extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // Material is a conceptual piece of paper on which the UI appears.
    return new Material(
      // Column is a vertical, linear layout.
      child: new Column(
        children: <Widget>[
          new MyAppBar(
            title: new Text(
              'Example title',
              style: Theme.of(context).primaryTextTheme.title,
            ),
          ),
          new Expanded(
            child: new Center(
              child: new Text('Hello, world!'),
            ),
          ),
        ],
      ),
    );
  }
}

void main() {
  runApp(new MaterialApp(
    title: 'My app', // used by the OS task switcher
    home: new MyScaffold(),
  ));
}

In this above code, App bar getting out of the main screen I mean Container. Appbar stays below the status bar.

I think a screenshot would be helpful with a pointer what you think should look different
and the output of flutter doctor -v for us to know about your environment.


FID is a negative value

I'm attempting to compute the FID between two datasets, each containing 192 samples. I used the following command:
python -m pytorch_fid --dims 192 ./real/ ./fake/

However, I'm getting a negative FID value:
FID:  -4.808164533187664e-09
Any ideas of what might be happening? Thanks in advance!

I saw this sometimes as well. I think its numerical instabilities. When your ground_truth and fake_data are super close it would end up as 0 in theory, but due to limited numerical precision it goes slightly negative. You can see its -4e-8, which is super small.

I saw this sometimes as well. I think its numerical instabilities. When your ground_truth and fake_data are super close it would end up as 0 in theory, but due to limited numerical precision it goes slightly negative. You can see its -4e-8, which is super small.

Thanks


error 'styled-components' required for @rebass/grid/emotion

Hi,
Looks like styled-component is required when using @rebass/grid/emotion, is it normal ?
Error: Can't resolve 'styled-components' in '/Users/admin/Documents/git/tms/node_modules/@rebass/grid/emotion/dist'

The emotion version does not depend on styled-components. It looks like somewhere in your app the styled-components version might be getting imported. @rebass/grid/emotion/dist shouldn't exist, but @rebass/grid/dist/emotion should be the emotion version – can you provide more details, like the version of @rebass/grid you have installed?

I'm getting this error as well, exactly as it appears for @davidfurlong. I'm trying to load a custom version of the styled-components repo

@jxnblk should this be fixed now? Still getting the error on 6.0.0-7. Just by simply importing how the README says:  import { Flex, Box } from '@rebass/grid'

To clarify: @rebass/grid is the styled-components version and @rebass/grid/emotion is the emotion version – you should only import either one or the other
Since I haven't seen updates from @sylvainbaronnet for a reproduction, I'm closing this issue out

Same issue. Installed "@rebass/grid": "^6.0.0" in a create-react-app project, that doesn't use styled-components or emotion.
When doing import { Flex, Box } from '@rebass/grid' I get this error:
Module not found: Can't resolve 'styled-components' in '.../node_modules/@rebass/grid/dist'

And if I change it to import { Flex, Box } from "@rebass/grid/emotion"; I get this error:
Module not found: Can't resolve '@emotion/styled' in '/Users/sprazzeus/Code/helix/node_modules/@rebass/grid/dist/emotion'

It works if I install styled-components.

Same issue. Installed "@rebass/grid": "^6.0.0" in a create-react-app project, that doesn't use styled-components or emotion.
When doing import { Flex, Box } from '@rebass/grid' I get this error:
Module not found: Can't resolve 'styled-components' in '.../node_modules/@rebass/grid/dist'

And if I change it to import { Flex, Box } from "@rebass/grid/emotion"; I get this error:
Module not found: Can't resolve '@emotion/styled' in '/Users/sprazzeus/Code/helix/node_modules/@rebass/grid/dist/emotion'

It works if I install styled-components.

It's because, depending on the @rebass/grid variant you use, there is an (unmarked) peer dependency on either styled-components or @emotion/styled (Core emotion doesn't ship with the styled API flavour that this module relies on).
If you intend to use the emotion variant, you need to do both of the following:

Install emotion core and styled (e.g. npm i --save @emotion/core @emotion/styled)
Import from @rebass/grid/emotion (e.g. import { Flex, Box } from "@rebass/grid/emotion")

You shouldn't need to install styled-components alongside emotion then.


CARDS-1964: Prems clinics and surveys updates, take 3

Updated the "would you recommend to your family" questions in OAIP and OED to offer answer options on a scale from 0 to 10 instead of the original 4 options (definitely no, probably no, probably yes, definitely yes)
Replaced all sliders with radio lists. Reasons:

for consistency with these modified questions that could not be implemented as a slider because the middle option 5 needed to be labeled as "Neutral" and we don't currency support middle labels for sliders
minor usability issue with sliders - initially they appear to be set to 0 but unless the user interacts with the slider to set a value, no value is actually saved which may create confusion

Also removed all newlines from question texts. This change may be visible in the column names in the csv export

Is this problem caused by the latest changes in the surveys?


Potential issue with Threads

Howdy @randym!  First and foremost, thanks for axlsx it's been a lifesaver on a recent project.  That said, I come to you with an issue I've encountered that I'm hoping you may be able to shed some light on.
I'm using Sidekiq in my application to generate and send out many reports at once and in doing so I have noticed something peculiar.  If I only generate a single report at a time they will open successfully, but if I try to generate many at once only the first will be valid and the remainder invalid.
I've been racking my brain for the last few days and finally decided to yank out the code, simplify the Excel files, and attempt to reproduce the issue in a separate project and thankfully I was able to do just that.  All I've done was setup the generation of 6 different files: 2 with no threading, 2 with threading, and 2 with threading plus a sleep(5).  The result?  Without an adequate sleep in between the files are invalid!
Digging deeper I took the two generated files, threadwosleep0.xlsx and threadwosleep1.xlsx, changed their extension to *.zip and diff'd them.  What I found is that all of the files created within the threaded group share the same sheet.xml.rel yet the r:id value within our sheet1.xml file changes.
Here we can see the change in sheet1.xml:

But sheet.xml.rel shows no change:

Here is the sample project:
https://github.com/doomspork/axlsx_issue
Any thoughts?

I noticed #477 today, I'll give that a try and see if it resolves the issue.

@randym I was able to use @marshall-lee's patch and confirm it resolved the issue above.  I'd be happy to pick-up where he left off if there is no updates to the PR.

@doomspork very happy to here that the patch works! May I ask you to put together an updated PR with specs I would very much like to see a solution in master.

@randym I can look into doing that this week

@doomspork Did you have a chance to look into updating the PR, yet? Would be great to have a solution.

@trautwein I have not.  Been quite busy with work and family affairs.  Truth be told, I'm not even 100% sure the best way to test this.  I still need to play around with it.

Closing this issue and hope to integrate one of the thread safely patches out there prior to 3.0.0 release scheduled for this month.


onHover on UI entities

“onHover” property on UI entities, to allow for making visual cues or pop-up tips when passing the cursor over them

Tackled by:

https://github.com/decentraland/creator-hub/issues/174
https://github.com/decentraland/unity-explorer/pull/2907


refactor: Separate main function from MainCommand

Fixes #1723
Test Plan
It's just refactoring, all unit tests should pass.

Does it require any updates for tests? or atleast a documentaiton of what the change introduces (If anybesides neater code)

This is refactoring, so it doesn't bring any changes in logic, so it also doesn't require any new test. But it brings some updates in tests according to refactor changes.
The reason for this change is specified here:

https://github.com/Flank/flank/issues/1723 (in the description)

The documentation already takes this change into account it is specified on the diagram:

https://github.com/Flank/flank/tree/master/docs/hld/presentation/cli


⚠ ClamAV has degraded performance

In 11e56e4, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 73 ms

Resolved: ClamAV performance has improved in 88a4c5c.


ocsinventory-agent: init at 2.10.0

Description of changes
The purpose of this PR is to continue the work started by @totoroot on PR https://github.com/NixOS/nixpkgs/pull/242659, to make the OCS Inventory agent work on NixOS environment.
I have seen this tool several times in work environments in French companies. This tool was each time a prerequisite for developers to be able to install a Linux OS on their workstation, since IT and system administrators need to trace and inventory the hardware/software.  I think it might be a good idea to add support for this package on NixOS.
I'll continue after this PR on the development of the NixOS module.
See https://github.com/OCSInventory-NG/UnixAgent
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

18 packages built:

ocsinventory-agent
ocsinventory-agent.devdoc
perl536Packages.NetCUPS
perl536Packages.NetCUPS.devdoc
perl536Packages.ParseEDID
perl536Packages.ParseEDID.devdoc
perl536Packages.ProcDaemon
perl536Packages.ProcDaemon.devdoc
perl536Packages.ProcPIDFile
perl536Packages.ProcPIDFile.devdoc
perl538Packages.NetCUPS
perl538Packages.NetCUPS.devdoc
perl538Packages.ParseEDID
perl538Packages.ParseEDID.devdoc
perl538Packages.ProcDaemon
perl538Packages.ProcDaemon.devdoc
perl538Packages.ProcPIDFile
perl538Packages.ProcPIDFile.devdoc

@ofborg build ocsinventory-agent

@ofborg eval

Result of nixpkgs-review pr 264172 run on aarch64-darwin 1

4 packages marked as broken and skipped:

perl536Packages.NetCUPS
perl536Packages.NetCUPS.devdoc
perl538Packages.NetCUPS
perl538Packages.NetCUPS.devdoc

26 packages built:

ocsinventory-agent
ocsinventory-agent.devdoc
perl536Packages.MacPropertyList
perl536Packages.MacPropertyList.devdoc
perl536Packages.MacSysProfile
perl536Packages.MacSysProfile.devdoc
perl536Packages.ParseEDID
perl536Packages.ParseEDID.devdoc
perl536Packages.ProcDaemon
perl536Packages.ProcDaemon.devdoc
perl536Packages.ProcPIDFile
perl536Packages.ProcPIDFile.devdoc
perl536Packages.XMLEntities
perl536Packages.XMLEntities.devdoc
perl538Packages.MacPropertyList
perl538Packages.MacPropertyList.devdoc
perl538Packages.MacSysProfile
perl538Packages.MacSysProfile.devdoc
perl538Packages.ParseEDID
perl538Packages.ParseEDID.devdoc
perl538Packages.ProcDaemon
perl538Packages.ProcDaemon.devdoc
perl538Packages.ProcPIDFile
perl538Packages.ProcPIDFile.devdoc
perl538Packages.XMLEntities
perl538Packages.XMLEntities.devdoc

I testes it on my macOS (14.0) with M2. Log attached
nix build .#ocsinventory-agent --extra-experimental-features nix-command --extra-experimental-features flakes
path '/Volumes/extend/src/nixpkgs/pkgs/by-name/oc/ocsinventory-agent' does not contain a 'flake.nix', searching up

$ ./result/bin/ocsinventory-agent --local=/tmp --debug

log link: https://gist.github.com/Endle/b236ab0b3e66a62dcf3f79638c506de2

PR for the NixOS module of the OCS Inventory agent: https://github.com/NixOS/nixpkgs/pull/264910


Logo Banner & Logo SVG Option

Its now possible to have a full width SVG background for the logo area
Added SVG Image support for Logo

Coverage remained the same at 99.364% when pulling 22cdfe2496f9eb0bcbb2662a12e8a691782a4791 on Modularfield:logo_banner into c8a72ace12bd34cdb0829d869d0ce6746cc809ca on codevise:master.


[SPARK-39347][SS] Bug fix for time window calculation when event time < 0

What changes were proposed in this pull request?

I tried to understand what was introduced in https://github.com/apache/spark/pull/36737 and made the code more readable and added some test. Many thanks to @nyingping!
The change in https://github.com/apache/spark/pull/35362 brought a bug when the timestamp is less than 0, i.e. before 1970-01-01 00:00:00 UTC. Then for some windows, spark returns a wrong windowStart time. The root cause of this bug is how the module operator(%) works with negative number.
For example,
scala> 1 % 3
res0: Int = 1

scala> -1 % 3
res1: Int = -1 // Mathematically it should be 2 here

This lead to a wrong calculation result of windowStart. For a concrete example:
* Example calculation:
   * For simplicity assume windowDuration = slideDuration.
   * | x x x x x x x x x x x x | x x x x x x x x x x x x | x x x x x x x x x x x x |
   * |                         |----l1 ----|---- l2 -----|
   *                        lastStart   timestamp   lastStartWrong
   * Normally when timestamp > startTime (or equally remainder > 0), we get
   * l1 = remainder = (timestamp - startTime) % slideDuration, lastStart = timeStamp - remainder
   * However, when timestamp < startTime (or equally remainder < 0), the value of remainder is
   * -l2 (note the negative sign), and lastStart is then at the position of lastStartWrong.
   * So we need to subtract a slideDuration.

Why are the changes needed?

This is a bug fix.
Example from the original PR https://github.com/apache/spark/pull/36737:
Here df3 and df4 has time before 1970, so timestamp < 0.
val df3 = Seq(
      ("1969-12-31 00:00:02", 1),
      ("1969-12-31 00:00:12", 2)).toDF("time", "value")
val df4 = Seq(
      (LocalDateTime.parse("1969-12-31T00:00:02"), 1),
      (LocalDateTime.parse("1969-12-31T00:00:12"), 2)).toDF("time", "value")    Seq(df3, df4).foreach { df =>
      checkAnswer(
        df.select(window($"time", "10 seconds", "10 seconds", "5 seconds"), $"value")
          .orderBy($"window.start".asc)
          .select($"window.start".cast(StringType), $"window.end".cast(StringType), $"value"),
        Seq(
          Row("1969-12-30 23:59:55", "1969-12-31 00:00:05", 1),
          Row("1969-12-31 00:00:05", "1969-12-31 00:00:15", 2))
      )
}

Without the change this would error with:
== Results ==
!== Correct Answer - 2 ==                      == Spark Answer - 2 ==
!struct<>                                      struct<CAST(window.start AS STRING):string,CAST(window.end AS STRING):string,value:int>
![1969-12-30 23:59:55,1969-12-31 00:00:05,1]   [1969-12-31 00:00:05,1969-12-31 00:00:15,1]
![1969-12-31 00:00:05,1969-12-31 00:00:15,2]   [1969-12-31 00:00:15,1969-12-31 00:00:25,2]

Notice how this is shifted with one slideDuration. It should start with [1969-12-30 23:59:55,1969-12-31 00:00:05,1] but spark returns [1969-12-31 00:00:05,1969-12-31 00:00:15,1], right-shifted of one slideDuration (10 seconds).
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Unit test.
Benchmark results:

Burak's original Implementation

[info] Apple M1 Max
[info] tumbling windows:                         Best Time(ms)   Avg Time(ms)   Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
[info] ------------------------------------------------------------------------------------------------------------------------
[info] burak version                                        10             17          14        962.7           1.0       1.0X
[info] Running benchmark: sliding windows
[info]   Running case: burak version
[info]   Stopped after 16 iterations, 10604 ms
[info] OpenJDK 64-Bit Server VM 11.0.12+7-LTS on Mac OS X 12.5.1
[info] Apple M1 Max
[info] sliding windows:                          Best Time(ms)   Avg Time(ms)   Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
[info] ------------------------------------------------------------------------------------------------------------------------
[info] burak version                                       646            663          19         15.5          64.6       1.0X

Current implementation (buggy)

[info] Running benchmark: tumbling windows
[info]   Running case: current - buggy
[info]   Stopped after 637 iterations, 10008 ms
[info] OpenJDK 64-Bit Server VM 11.0.12+7-LTS on Mac OS X 12.5.1
[info] Apple M1 Max
[info] tumbling windows:                         Best Time(ms)   Avg Time(ms)   Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
[info] ------------------------------------------------------------------------------------------------------------------------
[info] current - buggy                                      10             16          12       1042.7           1.0       1.0X
[info] Running benchmark: sliding windows
[info]   Running case: current - buggy
[info]   Stopped after 16 iterations, 10143 ms
[info] OpenJDK 64-Bit Server VM 11.0.12+7-LTS on Mac OS X 12.5.1
[info] Apple M1 Max
[info] sliding windows:                          Best Time(ms)   Avg Time(ms)   Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
[info] ------------------------------------------------------------------------------------------------------------------------
[info] current - buggy                                     617            634          10         16.2          61.7       1.0X

Purposed change in this PR:

[info] Apple M1 Max
[info] tumbling windows:                         Best Time(ms)   Avg Time(ms)   Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
[info] ------------------------------------------------------------------------------------------------------------------------
[info] purposed change                                      10             16          11        981.2           1.0       1.0X
[info] Running benchmark: sliding windows
[info]   Running case: purposed change
[info]   Stopped after 18 iterations, 10122 ms
[info] OpenJDK 64-Bit Server VM 11.0.12+7-LTS on Mac OS X 12.5.1
[info] Apple M1 Max
[info] sliding windows:                          Best Time(ms)   Avg Time(ms)   Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
[info] ------------------------------------------------------------------------------------------------------------------------
[info] purposed change                                     548            562          19         18.3          54.8       1.0X

Note that I run them separately, because I found that if you run these tests sequentially, the later one will always get a performance gain. I think the computer is doing some optimizations.

cc @HeartSaVioR

@WweiL
Could you please add an empty commit having author as @nyingping ? (nieyingping<EMAIL_ADDRESS>That way we can give proper credit.

Looks good. I think we back-port this to 3.2? I can try that.

Looks good. I think we back-port this to 3.2? I can try that.

Thanks! That’d be very helpful! I can’t access my laptop right now.

SPARK-38069 was merged in Spark 3.3. Porting back to master/3.4/3.3 would be enough.

Thanks! Merging to master/3.4/3.3.

There is merge conflict in branch-3.3. @WweiL Would you mind creating a backport PR for this? Thanks!

+1 I don't feel like co-auther credit is mandatory as the origin fix was also something he borrowed from Flink. Mentioning the credit in PR description seems sufficient.

I accidentally browsed the original author's blog and saw this PR. I think your sentence is incorrect. Even if it is a reference, it is a kind of discovery. Co-auther is a kind of affirmation. The submitter is maintaining a harmonious environment. You there is no need to deny it. Of course I'm just expressing thoughts, have a good life


Keyboard focus issues

Bug or Regression?
Regression
System Info and Version
 System/Version info
Hyprland, built from branch main at commit 811429bfd4a46f33c7788580f72038b0c3c1c2b1  (wayland: consistently check mmap error after 6967a3145044 (6402)).
Date: Mon Jun 10 16:31:03 2024
Tag: v0.41.0-1-g811429bf, commits: 4795

flags: (if any)

System Information:
System name: Linux
Node name: arch
Release: 6.9.3-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14:45 +0000

GPU information:
07:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD104 [GeForce RTX 4070] [10de:2786] (rev a1) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

Description
Keyboard focus doesn't change properly with mouse focus. When there are two windows and the mouse hovers over the other window, neither windows get keyboard focus. Swapping mouse focus enough times gives keyboard focus back to the window.
How to reproduce

Open 2 windows (e.g. foot)
Hover over the left window. the keyboard should be focused
Hover over the right window. The keyboard gets unfocused from both windows.
Repeat step 2 and 3 until one of the windows randomly gets focused again

Crash reports, logs, images, videos
No response

can't repro.

seems like ags is causing it, I set my wallpaper with ags on the background layer so it's interfering somehow

Hmm, I am seeing this as well

can you try on latest?

still happens on b6bf4afb4861c7a7b41c6bf53daadf57a708e352

then I'll need a minimal reproducible example - aint happenin to me

load this ags config:

const Wallpaper = Widget.Window({
    monitor: 0,
    layer: "background",
    exclusivity: "ignore",
    keymode: "none",
    name: `desktop-0`,
    class_name: "desktop",
    anchor: ["top", "bottom", "left", "right"],
    child: Widget.Box({
        class_name: "wallpaper",
        expand: true,
        vpack: "center",
        hpack: "center",
    }),
})

App.config({
    windows: [
        Wallpaper
    ],
});

open two windows
hover over one of them
Hover over the other
Both should get unfocused

next time please give a config that will run, you omitted imports.
Anyways,

No focus issues on my end.

another thing, both windows have to be tiled and there should be a gap between them

you omitted imports

I didn't, your ags install might be borked?

bisect: 6967a31450441fc5605c05db6f65505dace4b263


Requests to edge function fails on the server but works locally, please help

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[ ] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
I created a new edge function in my application, works fine when testing it locally, but keeps throwing the same unhandled exception "Request failed due to a server error".
I confirmed that the issue is not the edge function itself but the server its running from.
To Reproduce
just create a new edge function like so:
Deno.serve(async (req) => {
return new Response(JSON.stringify({ message:edge function test ${Math.random()} }), {
headers: { 'Content-Type': 'application/json' },
status: 200,
})
})
Expected behavior
it should return the json { message :  "edge function test {some number}" }
Screenshots

System information

OS: manjaro
Browser (if applies): postman
Version of supabase-js: n/a
Version of Node.js: n/a

@drobles-atdev Do you still experience this issue? I believe you opened a support ticket on this, to which I have responded.

Closing due to inactivity.


Release on PyPi

This should now be done at https://pypi.org/project/sphinxcontrib-verilog-diagrams/

Yay! This is now working -- https://travis-ci.com/github/SymbiFlow/sphinxcontrib-verilog-diagrams/builds/172784810


tmdbsimple issue

After migrating from tmdb3 to tmdbsimple, not possible to get search results in other languages than English.
Before migrating I just edited the api_tmdb.py, and edited locale to my language, but with tmdbsimple I have not found this possibility, now i installed the latest version with tmdb3 support.

¿Any change about that? is not posible to get the content_filename in others languages-
Thank you

This is treated as a feature request.

hmm seeing as we now parse tmdb ourselves instead of relying on external software. this should be a mute point.

Please reopen in feathub


Remove html comments with single quotes

Fixes bundle error in travis. There's still another issue failing the tests. Hopefully someone can pick this up and fix the tests.

This is really just a short-term fix. The real bug is in one of the third-party tools we're using. I added an issue to track this long term.


401 Error: invalid_client  The OAuth client was not found

After using /configure subcommand everything went fine until I got message: Enter this in your browser address bar: .....
When I do that, I get an error.
Could, you, please help with this? I know that this might have nothing to do with your application, but you might have some idea about that.
Thanks.

Could you copy paste the error?

Weird. Check this stack overflow entry:
https://stackoverflow.com/questions/17166848/invalid-client-in-google-oauth2
On Sep 12, 2017 21:16, "nikdejan"<EMAIL_ADDRESS>wrote:

[image: untitled]
https://user-images.githubusercontent.com/13381850/30346122-05a22df6-9808-11e7-9788-f2ea4843920e.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/machour/yii2-google-apiclient/issues/11#issuecomment-328971802,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASlQlNpRZA6kUBy3VnEzzYVVtuD5BEvks5shuaogaJpZM4PVCaq
.

Yep! It's OK now. I did everything (creating credentials etc) all over again and it works now. Thank you. Keep up the good work.


SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON

When i try to ask a  particular question using chat option it gives the below error
SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON

This issue is for a: (mark with an x)
- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

After 'azd up' tried running the static app link and it gives the following error when I ask a question in a chat.

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

likely the api response did not return a valid json.. i would double check if azure functions has all the settings needed for successful calls to other services


Source support for workspaces

In GitLab by @tristanvb on Jul 26, 2017, 13:39
Source plugin implementations should be able to participate in the process of creating a workspace.
This will mostly benefit plugins which use a backing VCS who's upstream should be directed to where BuildStream originally obtained the sources from, instead of having the upstream be BuildStream's internal cache (i.e. have a git checkout's origin be the upstream URL, not the local file:// url in ~/.cache/buildstream)
Related tasks

[x] Add Source method for initializing the workspace, defaults to Source.stage()
[x] Support in git plugin
[x] Support in bzr plugin
[ ] Support in ostree plugin (only useful for pull)

In GitLab by @tristanvb on Nov 11, 2017, 08:22
changed the description

In GitLab by @dp0 on Nov 11, 2017, 08:44
mentioned in commit 90850f2bdadfb582556f5783c9f47fda46e57bfb

In GitLab by @tristanvb on Nov 11, 2017, 08:45
mentioned in merge request !143

In GitLab by @tristanvb on Nov 11, 2017, 08:45
marked the task Add Source method for initializing the workspace, defaults to Source.stage() as completed

In GitLab by @tristanvb on Nov 11, 2017, 08:45
marked the task Support in git plugin as completed

In GitLab by @jonathanmaw on Jan 17, 2018, 17:42
mentioned in merge request !242

In GitLab by @knownexus on Sep 13, 2018, 14:47
marked the task Support in bzr plugin as completed

In GitLab by @cs-shadow on Oct 10, 2019, 12:04
I think this is done now.

In GitLab by @cs-shadow on Oct 10, 2019, 12:04
closed


builtins - Move functions out of this package and remove the package

Problem
builtins - Refactor this package out
Solution
The builtins/ package at the root of the repository has no clear utility and responsibility.
Refactor the code to move these functions out and suppress the builtins/ subdirectory.

working on this per docker.party #dibs

@ctate when you PRs, can you please add fixes or closes keyword to it? Thanks!

@rrarunan will do!

@rrarunan will do!

@ctate  Did you finish it now? Hope to know where will you add these functions in builtins.

@ctate could you let us know if you're still planning to work on this. If not, no problem, then someone else can do it, just leave a comment to let us know :)

@thaJeztah sorry but this was just done here https://github.com/docker/docker/pull/12486 and already merged :(

@runcom thanks! There's so much refactoring going on at the moment that it's hard to keep track :smiley:
I'll close this, because this should be resolved by https://github.com/docker/docker/pull/12486


Logging output doesn't contain request body?

Hey,
When I make a request I appear to get output of the form:
INFO -- : #{method} #{request_url}
DEBUG -- : #{request_headers}\n#{response_body}
WARN -- : HTTP #{status}
D, [2017-04-18T14:06:31.864393 #6513] DEBUG -- : #{response_headers}\n#{response_body}

Whereas the docs suggest I should get the request body in that debug line, am I doing something wrong?

DEBUG level logging should be outputting the response body, yes.
I'm having a hard time understanding your question/example. Are you not seeing anything in your DEBUG output?

Hey,
It's been a while since I opened this issue so I can't really repro, or even remember it clearly 😁 Indeed, I think I moved on from using this gem in the end. I think the problem I had was that the docs suggest the DEBUG line should contain the /request/ body, rather than the /response/ body that is actually returned.
IIRC my use case was debugging the request itself.
Cheers & kind regards
Thomas

Ohh... I didn't catch the difference (request vs response in line 2) in the original ticket. I'll attempt to reproduce and see if I can find a reason for not seeing a request portion of the transaction. Thanks for getting back!

I'm not seeing this as a problem in the tests or in production applications. I know you weren't able to reproduce because of the delay in my response... sorry about that.
Maybe I can try some combination of available versions of faraday-detailed_logger and faraday around the time you created the ticket (April 18, 2017) and see.
Otherwise… I'm not sure how else to try to get a similar behavior as what's reported.

No worries, it's not a problem for me any more, and if you can't repro then it's likely not a problem for anyone else, I'll close this issue 👍


[SDL 0230] SPP resource management for Android

Proposal: SPP resource management for Android

RFCOMM is a connection-oriented, streaming transport over Bluetooth, which is known as Serial Port Profile (SPP) in Android. SDL Proxy uses BluetoothServerSocket to listen on a SPP channel, and it is used for primary transport. On an Android device, the number of SPP resources is limited, and BluetoothServerSocket fails to accept connections when SPP channel runs out of available resources. Current SDL Proxy does not handle that case very well. This proposal is to improve the SPP resource management in SDL Android.

Review: https://github.com/smartdevicelink/sdl_evolution/issues/730
Steering Committee Decision:

During the Steering Committee discussion of this issue, it was noted that the Steering Committee had previously considered the possibility of pointing the user to a URL/Webpage with regards to the SDLNotificationActivity component, and came to the conclusion that a notification with "Too many apps are using Bluetooth" dialog would be best as to not overcomplicate the UX and take advantage of the Android system's internationalization.  Additional information about this item can be found in the review issue comments.

It was also specified that by accepting the proposal, members understood that the notification implemented by the feature will be "noisy" including lights, vibration, and sound.  Additionally, the notification will display the following message to the user "Too many apps are using Bluetooth" (in English).  It was understood by members that the English string would be accepted by accepting the proposal, and there would be an additional review period for SDLC Members to review translations of this string.
Ultimately, the proposal was accepted with the revisions included in the author's comment here.

The proposal .md file was updated to reflect these revisions on 7/25/19.

When will this proposal be released?

@E-SAITO-TMC, this feature has not yet been raised as priority by the Steering Committee.  If this is priority for Toyota, please let us know, and we can work to include in the next Java Suite release (planned for July).  Thank you!


make the plugin see data stream last by adjusting decorator order, to avoid logging unmasked data

Requirements for Contributing to this repository
make the plugin see data stream last by adjusting decorator order, to avoid logging unmasked data
see also:
https://github.com/jenkinsci/workflow-api-plugin/pull/166
https://github.com/jenkinsci/splunk-devops-plugin/commit/1a10a537e88af0d7c2b63c2b96e800502bdc9442

Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
The pull request must only fix one issue at the time.
The pull request must update the test suite to demonstrate the changed functionality.
After you create the pull request, all status checks must be pass before a maintainer reviews your contribution. For more details, please see CONTRIBUTING.

What does this PR do?

Description of the Change

Alternate Designs

Possible Drawbacks

Verification Process

Additional Notes

Release Notes

Review checklist (to be filled by reviewers)

[x] Feature or bug fix MUST have appropriate tests (unit, integration, etc...)
[x] PR title must be written as a CHANGELOG entry (see why)
[x] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have one changelog/ label attached. If applicable it should have the backward-incompatible label attached.
[ ] PR should not have do-not-merge/ label attached.
[ ] If Applicable, issue must have kind/ and severity/ labels attached at least.

please note CI failure is expected: ‘Jenkinsfile’ has been modified in an untrusted revision,  need newer version in Jenkinsfile to run tests

ci.node_name and ci.node_labels can be used to filter data.
the change just reflects the fact default node name had changed, with or without the change, filter is broken on 2.319.1 or later

This does not break dashboards/monitors

Actually I am not a datadog user, I don't know how the dashboards works, but the logic in src/main/java/org/datadog/jenkins/plugins/datadog/traces/DatadogTraceBuildLogic.java breaks tests which expect something else. If the tests are not reflecting use cases, they need to be updated.

I was able to verify that passwords are indeed now masked correctly in Datadog. Looks like there's some CI failures, so I just reran the Jenkins CI. If it passes, this LGTM!


Using tmi.js -> twitch-js needs more code changes

Updated twitch-js and fixed the giftsubscriptions in https://github.com/d0p3t/SubNotifier/commit/e4a9eb45d39b289c731c5e8d8aeae8566ee649cd


Lua 5.4 compatibility + Static Umpire

Backport fix from main sol repo to our older version of sol for Lua 5.4 compatibility
Umpire was the only library building shared, this fixes it.  (For @gzagaris )

host-configs incoming soonish

This is ready to go.


[Bug] Default row of table does not set "selectedRow" property on page load

Steps

Drop a table with a default selected row
Bind a text widget with the table selected row
Refresh the page
4: Observe: The text does not get the selected row value

@riodeuno can we please fix this?