issue with bundles.load, no issue with zipline.run_algorithm -> "No bundle registered with the name.... "

Dear Zipline Maintainers,
there is an inconsistency between
a)zipline.run_algorithm(.....bundle='my_bundle')
b)bundles.load('my_bundle')
c)"zipline bundles" command in the terminal
a+c finds the bundle i'm looking for
b) gives the error "No bundle registered with the name 'my_bundle' "
As well executing
from zipline.data import bundles info=bundles.bundles print(info)
shows that the bundle was not found.
{'quantopian-quandl': RegisteredBundle(calendar_name='NYSE', start_session=None, end_session=None, minutes_per_day=390, ingest=<function quantopian_quandl_bundle at 0x114711950>, create_writers=False), 'quandl': RegisteredBundle(calendar_name='NYSE', start_session=None, end_session=None, minutes_per_day=390, ingest=<function quandl_bundle at 0x1147116a8>, create_writers=True), 'csvdir': RegisteredBundle(calendar_name='NYSE', start_session=None, end_session=None, minutes_per_day=390, ingest=<function csvdir_bundle at 0x1147119d8>, create_writers=True)}
It don't know was well, why there is a 'quantopian-quandl' registered....
bundle_data = bundles.load('quandl') works fine with the free Quandl bundle but not with the one I ingested.
some idea what's wrong?
best
Carsten

Dear Zipline Maintainers,
looks like this stuff is missing for   bundles.load('my_bundle')
Would be nice to include it into the zipline library if one calls bundles.load
import os load_extensions(     default=True,     extensions=[],     strict=True,     environ=os.environ, )
best
Carsten


Side Nav won't reopen after swipe on mobile

When you open the Side-Nav via the burger menu and swipe it away and then want to reopen it, the Side Nav flickers open for some pixels and closes immediately. Issue is also on the Project Homepage. Movile Safari iOS 9.3.2 iPhone 6s
Havent tested on Android or older iOS Versions and other iOS Devices.

Please provide a way to reproduce it. like a codepen or  a fiddle snippet and Could you check if this is still an issue with the last version?
Closed due inactivity, feel free to reopen it if it is still necessary.


Allow more granular control over the ApplicationMaxBufferSize

Today the ApplicationMaxBufferSize is a single setting per server, we should consider a callback model where this can be configured per connection. That would give more control over which connections get to buffer more incoming data than other connections.
We could also consider 2 limits:

Anonymous users and Authenticated users

The default limits are there to protect against unauthenticated users from blowing up server buffers but if users are authenticated the limits might be purely driven by your application. Also, since users are authenticated you have a way to audit and disallow misbehaving users.
Related to https://github.com/aspnet/SignalR/issues/2266

This isn't really relevant after #8223

Well it is but we already handled it in SignalR with my latest change


Rename the yaml file name

Problem description
Following discussion in issue #284 in Commonalities, the file name should be sim-swap.yaml and not sim_swap.yaml.
Expected behavior
Change file name
Alternative solution

Additional context
@hdamker @tanjadegroot  Any change required from Release Management perspective if we change this file name?

@hdamker @tanjadegroot Any change required from Release Management perspective if we change this file name?

None in main from my perspective. But don't forget to update all the links within CHANGELOG, README, and Checklist within the next release PR (for r1.2 with API Version 1.0.0). r1.1 is still consist, so no challenge here.

Thanks @hdamker
Will wait next team meeting this Thursday (Aug 22th) to get team approval and then will proceed accordingly.


Template sorting

Feature request
Describe the feature you need
It should be possible to sort templates.
Additional information

I guess the most simple solution would be to just add a prefix to the template names like 01_featureGrid. So the Sorting in the fs and the website is the same.

I guess the most simple solution would be to just add a prefix to the template names like 01_featureGrid. So the Sorting in the fs and the website is the same.

Another idea would be, to not use the filesystem as the source of truth, and just create a plain object which holds all the data. For example:
const data = [
  {
    name: "Page Sections",
    url: "page-sections",
    children: [
      {
        name: "Features",
        url: "features",
        children: [
          {
            name: "Grid list with heading",
            fileName: "gridListWithHeading",
          },
          {
            name: "Simple three column grid",
            fileName: "simpleThreeColumns",
          },
        ],
      },
    ],
  },
];

With this we are more flexibel for how we

structure the urls
define the headings for the example frames
sort the templates

Downsides:

this could be a mess when adding more and more templates
fileName has to be exactly the same

What is your opinion on this subject @lazarnikolov94 ?

Another idea would be, to not use the filesystem as the source of truth, and just create a plain object which holds all the data. For example:
const data = [
  {
    name: "Page Sections",
    url: "page-sections",
    children: [
      {
        name: "Features",
        url: "features",
        children: [
          {
            name: "Grid list with heading",
            fileName: "gridListWithHeading",
          },
          {
            name: "Simple three column grid",
            fileName: "simpleThreeColumns",
          },
        ],
      },
    ],
  },
];

With this we are more flexibel for how we

structure the urls
define the headings for the example frames
sort the templates

Downsides:

this could be a mess when adding more and more templates
fileName has to be exactly the same

What is your opinion on this subject @lazarnikolov94 ?

I like the idea of structuring the data in a plain object. It does add a dependency when adding new templates, but on the other hand it'll give us a lot of room for custom features, such as easy sorting, IDs, tags maybe etc...

I like the idea of structuring the data in a plain object. It does add a dependency when adding new templates, but on the other hand it'll give us a lot of room for custom features, such as easy sorting, IDs, tags maybe etc...

Sounds good! Will try to refactor a little bit :)

Sounds good! Will try to refactor a little bit :)

Fixed in #17

Fixed in #17


Make the global.html page accessible in the navigation

The template already generates a page global.html containing global symbols, but it is not reachable (and its contents not searchable) unless there are deep links into it somewhere else in the documentation. This commit adds it to the navigation as a namespace-like item. I first had it at the bottom as other JSDoc templates do, but then decided that it optically looked nicer between namespaces and classes.
(I am not sure if this is desired for PixiJS, so it may need to be configurable, but I am not using PixiJS (never even heard of it until yesterday) but using this template for my own library, because I found it to generate the most readable and feature-rich documentation of all the JSDoc templates I have tried.)

Thanks for this @cwalther! I'm going to put together a new release this week with your two fixes.

Awesome work, thanks @cwalther!

Thanks! Glad to make a tiny (own-itch-scratching) contribution to what is awesome work in the first place.
(Half of my commit messages seems to have disappeared in the rebasing. Was that GitHub’s doing? Not a big deal, but it lost the source attribution in 387292215dc180f69ae44851e31d81866e8f29e0.)


Added reverse a linked list

I have added a C++ program to reverse a linked list given its Head pointer.

Give this repo a star and follow me for follow back 😊


Update bsp4j to 2.0.0-M15

Updates ch.epfl.scala:bsp4j from 2.0.0-M13 to 2.0.0-M15.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.epfl.scala", artifactId = "bsp4j" } ]

labels: library-update, semver-pre-release

Superseded by #1446.


Add .gitattributes to correctly handle eol conversions

Actually, downloading the project from GitHub using the "download as zip" link results in smalltalk source code corruption in image builds.
The same happens when the repository is cloned from a computer with the core.autocrlf (git config option) set to false.
The problem is originated in the automatic eol conversion done by git.
To solve both problems a .gitattributes file is needed as is explained here

Andy, I'm working on this with interruptions but taking care of handling both cases because is a headache to merge when line endings are wrong. I'm not sure if you can assign this to me directly.

I have two different approaches for the .gitattributes file. Both solves cloning and download from zip.
Solution 1
* text 	eol=crlf
*.img 	binary
*.img7	binary
*.exe 	binary
*.dll 	binary
*.chm 	binary
*.hlp 	binary
*.vu 	binary
*.stb 	binary
*.ico 	binary
*.gif 	binary
*.gz  	binary
*.zip 	binary
*.jpg 	binary
*.png 	binary
*.olb 	binary

*.sml 	text
*.pax 	text
*.st 	text
*.pac 	text
*.cls 	text

Solution 2
*.img 	binary
*.img7	binary
*.exe 	binary
*.dll 	binary
*.chm 	binary
*.hlp 	binary
*.vu 	binary
*.stb 	binary
*.ico 	binary
*.gif 	binary
*.gz  	binary
*.zip 	binary
*.jpg 	binary
*.png 	binary
*.olb 	binary

*.sml 	eol=crlf
*.pax 	eol=crlf
*.st 	eol=crlf
*.pac 	eol=crlf
*.cls 	eol=crlf
*.cmd	eol=crlf
*.md	eol=crlf
*.txt	eol=crlf
LICENSE eol=crlf
*.gitignore eol=crlf
*.gitattributes eol=crlf

Solution 1: Marks all files as "text" using crlf. It does the job but I think is as effective as dangerous. If you don't mark binary files maybe you can end with a corrupted binary.
Solution 2: Only the annotated files area changed to eol=crlf. If you add a new file type you must remember to add an annotation.
For now, I do prefer Solution 2. It's more conservative.
You only need to add a ".gitattributes" file at the root folder with one of the solutions. I think there is no reason to create a pull request for this.

Hi Sebastian,
Isn't the real problem with corrupted source the fact that Dolphin treats some text files (*.sml, *.chg) as if they were not actually pure text. I think the issue is only relevant for these files because the image keeps indices into these files to mark the location of source elements it needs to locate. Hence, switching between LF and CRLF endings messes up the count and appears to corrupt the source.
So, can we not use * text=auto for most test files (which will allow them to be read properly on Unix/Mac) but just specify *.chg=crlf and *.sml=crlf separately? Are you in a position to test if this will work?
BTW, regarding assignment of issues to people, I shall soon move the repos to a DolphinSmalltalk GitHub organization (it's currently under a user) and then we can specify people who want to work on different topics.

Andy, yes, I'm aware that the problem is with the positions on the sml.
Now, that you mention about the * text=auto, I realize that this .gitattributes settings overrides the own user config so I think it's possible and preferable. I think the only problem with this setting will be that files not annotated as crlf will be downloaded (button) from github with LF. That's something to take into account but not a problem for development. I'll test this today later and let you know.

I was confused with this comment in the git help:

Set the default behavior, in case people don't have core.autocrlf set.
'* text=auto
But I do have core.autocrlf set so...

Anyway it works like a charm.

text=auto
*.sml 	eol=crlf
*.chg 	eol=crlf

When you download the zip from github you get all files with LF with exception of the sml. I think (for now) this is enough for users that only want to build the image. Maybe you want in this list (crlf) the license  and the cmd files.

After switching my local configuration back to autocrlf=false, I tried this with the currently latest commit ( https://github.com/fxgallego/Dolphin/commit/23874df64365269be82ec66dc80b8cfc88ee4bd0 ) and it appears to work fine with the git CLI. You get CRLF in the sml and chg files as well as the cls and pax files in the Core/ subdirectory hieararchy, even for the license and cmd files.

Have applied this fix to latest master. Thanks for all the help.


Aurees Git Client: ready for Mac;

LGTM. there's a small problem with dependencies deploying, will have a look and merge this as soon as it is solved


Update README

Sorry each time I open this repo I thought I was on the bloc example.

Oops! Thanks much :)


key change doesn't re-create DOM

Version
3.0.0-alpha.11
Reproduction link
https://jsfiddle.net/vdh4mkeo/10/
Steps to reproduce
As you click the button, the div :key changes, which means Vue should create new DOM elements to replace it, not update it in place.
What is expected?
The flashy div should fade in each time you click, as can be seen in this Vue 2 re-creation:
https://codepen.io/jkarczm/pen/RwWbaNa
What is actually happening?
The div doesn't flash, DOM is updated in place.

Closed via d531686f9154c2ef7f1d877c275df62a8d8da2a5 (commit message referenced wrong issue)


Model design SQL Assignment Submission

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
 Created a logical diagram for a book store with 5 tables and defined relevant columns for each

What did you learn from the changes you have made?
 Learned to consider how the information can be interconnected in different tables

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist

[ ] I can confirm that my changes are working as intended

Wrong repo!


BUG: Fix input name for some Functions instances initialized with int/float or callable

Pull request type
Please check the type of change your PR introduces:

[x] Code base additions (bugfix, features)
[ ] Code maintenance (refactoring, formatting, renaming, tests)
[ ] ReadMe, Docs and GitHub maintenance
[ ] Other (please describe):

Pull request checklist
Please check if your PR fulfills the following requirements, depending on the type of PR:

Code base additions (for bug fixes / features):

[x] Tests for the changes have been added (No new tests needed)
[x] Docs have been reviewed and added / updated if needed (No docs change needed)
[x] Lint (black rocketpy) has passed locally and any fixes were made
[x] All tests (pytest --runslow) have passed locally

What is the current behavior?

As described in #42, some plots of SolidMotor.allInfo() are currently being shown with the wrong input.
This is caused because inside the Function class, the inputs set, in this case Time (s), are replaced by the name of the argument of the callable used as the source argument, in most cases, x. The same happens when the Function object is initialized with a float as the source argument, since internally, this float is converted into a lambda.
This bug is caused by an incorrect check done by the Function class. It should check if the inputs have already been set and only use the name of the source arguments in case no input name has been given, in which case the default "Scalar" is set. For some weird reason, instead of checking for "Scalar" to see if the default name is set, it is checking for "Time (s)".
What is the new behavior?

The Function class checks correctly if the input is set to the default Scalar when a callable or int/float is used as the source argument. In such case, it replaces the input name Scalar by the name of the argument of the callable or X when int or float.
This solves the problem described in #42.
Does this introduce a breaking change?

[ ] Yes
[x] No

Shall we merge into develop instead of master branch?


Language Server Protocol implementation

Create a language server to give an IDE-like experience for any editor with an LSP client.
From the announcement blog post:

In addition, we are also planning on supporting the Language Server Protocol, which will provide a similar level of integration in other editors.

Also mentioned by @holzensp in https://github.com/apple/pkl/issues/46#issuecomment-1926938652:

There already is a tree-sitter implementation here. For more advanced support, LSP is actively being looked into.

Looks like this is living at its own repo: https://github.com/apple/pkl-lsp


Connman module does not work

Describe the bug
When setting services.connman.enable = true;, it is impossible to use connmanctl to connect to a wifi network. (Didn't try wired.)
Steps To Reproduce

setting configuration.nix:

  services.connman = {
    enable = true;
    enableVPN = false;
    package = pkgs.connmanFull;
    wifi.backend = "wpa_supplicant";
  };

run nixos-rebuild boot --flake ...
reboot
connmanctl scan wifi

The last command says Error /net/connman/technology/wifi: Not supported.
And it becomes impossible to connect without rollback to my old networkmanager configuration.
Expected behavior
The commands should list and recognize wifi networks.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers

@matejc
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.76, NixOS, 22.11 (Raccoon)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.0`
 - channels(root): `"nixos-21.03pre243434.e0759a49733, nixos-20.03-20.03.2964.252bfe01075, nixos-unstable-21.03pre243434.e0759a49733"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

I have installed a new machine, and in it I can't use connman too.

Just wanted to see if you're experiencing the same issue as me-- could you try a few commands?

Run nixos-rebuild switch instead of nixos-rebuild boot, and see if a systemd error message about wpa_supplicant.service pops up.
systemctl status '*wpa_supplicant*', see if there's an error message, and if so, what is it?
Does running sudo touch /etc/wpa_supplicant.conf and then nixos-rebuild switch fix the issue for you?

Tomorrow.

Remember me tomorrow. I am organizing some repos.

For the record, tonight I will try this in my main machine.

I have tried this on my local machine, and the result is: it only works when creating the dummy file.


Arthurclares patch 1

Added "troubleshooting" link to the Cost Summary report.
🛠 Description
Added text and link to the troubleshooting guide to the report main page
📷 Screenshots

📋 Checklist

🔬 How did you test this change?

[ ] 🤞 PS -WhatIf / az validate
[ ] 👍 Manually deployed + verified
[ ] 💪 Unit tests

🙋♀ Do any of the following that apply?

[ ] 🚨 This is a breaking change.
[x] 🤏 The change is less than 20 lines of code.

📑 Did you update docs/changelog.md?

[ ] ✅ Yes (required for dev PRs)
[ ] ➡ Will cover in a future PR (feature branch PRs only)
[x] ❎ Not needed (small/internal change)

📖 Did you update documentation?

[ ] ✅ Public docs in docs (required for dev)
[ ] ✅ Internal dev docs in src (required for dev)
[ ] ➡ Will cover in a future PR (feature branch PRs only)
[x] ❎ Not needed (small/internal change)

I did not want to merge multiple commits. I will open a new PR.


fix/breaking view scripts on code reload for Windows

Solving: #184

LGTM

Merge that, and for reload you create new one?

LGTM

@Jonghakseo Merge that, and for reload you create new one?

Yep~!


Users missing in DevOps Calendar

I have users names missing in the Calendar When selecting Add Days Off. They can add others users but don't see theirs. How do I add users to the list or give them access to update their Days off.
This makes it difficult for us adjusting Capacity when users cant enter in their time. It works by going to Capacity but it is a pain that way. I need to understand how to add users to the list or give them access.
I have read this is a common instance and looking for a solution.

Hello - Any update on this?  I have not heard anything.

Hi, I will take a look at it and get back to you.


Returns empty object

Exif.getData(fileObj, function () {
const allTags = Exif.getAllTags(this)
console.log(allTags,'allTags')}）   // {}，‘allTags’
I passed in a File object, and the callback function returned an empty object.

My friend, this problem also happened to me. Have you solved it?

ok

Same here


R windows battles

Minor changes to CMake files and some instructions on building for windows.
See if it works for you. If so I'll rebase and send a new pull request.

Has anyone been able to create the R SimpleITK package using these instructions?

I have not. @zivy Do you want to git them a try?

latest PR #195


Can't get plant fiber.

Due to BetterCombat, you just hit through grass and ferns so you cannot get plant fiber. Without it there is no consistent way to begin the modpack.

Gotten to copper tools so far.(I only play when I'm really bored) I'll open another ticket if I run into another problem.


On-the-fly style switch

Related to #15
Adds on-the-fly stylesheet switching when the "OK" buytton is pressed
On startup (before the custom style is applied) the current palette and style name are observed and kept.
When default is selected again, it goes back to these values. In practice, this is setting it back to the default (even if there is no actual way to do that).
When going from custom stylesheet to custom stylesheet, no special changes have to be made to accomodate, since the stylesheet, palette and style are all reset anyway.

This has introduced a plethora of tiny little bugs that are beyond my control as far as I can tell.
For example, when starting with the default and changing to a custom skin, the buttons now have icons, and the combo boxes now have behavior different from what's defined in the stylesheet.
Though it might be a cool feature, I don't want to pursue it anymore, so I'm going to close it (for now).


Shared unit tests demo

This is an example of how we could use shared unit tests stored in chisme to reduce code duplication.
For more context, see https://github.com/canonical/charmed-kubeflow-chisme/pull/23

I like this a lot


check_clang_format.sh does not run locally

./ci/check_clang_format.sh
./ci/check_clang_format.sh: line 13: venv-clang-format/bin/pip: No such file or directory

as python3 -mvenv "$VENV" does not seem to provide a pip
Environment:
Python 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] on linux
Ubuntu 18.04.2 LTS
fish, version 2.7.1

I can no longer reproduce this issue. I think an update of fish shell fixed that somehow.
I'm closing this ticket.


WL-4310 WL-1223: remove mobile oxford column from Polls tool

Could we reference the original Jira please.

Okay I've fixed this.


OSError: [Errno 2] No such file or directory: './registry._setup_database.lock'

Hello,
I was trying to move from registry 2.1 to the latest build but it gives me the errors below.
Initially I was mapping the /var/lib/registry to my host to preserve the data and I imagined it did not like the transition. However when this was removed (only certificates are mapped now) it still gives me this error.
There does not seem to be an issue open for this. Come somebody shed some light on this?
[2016-05-27 15:40:20 +0000] [1] [INFO] Starting gunicorn 19.1.1
[2016-05-27 15:40:20 +0000] [1] [INFO] Listening at: http://<IP_ADDRESS>:5000 (1)
[2016-05-27 15:40:20 +0000] [1] [INFO] Using worker: gevent
[2016-05-27 15:40:20 +0000] [22] [INFO] Booting worker with pid: 22
[2016-05-27 15:40:20 +0000] [23] [INFO] Booting worker with pid: 23
[2016-05-27 15:40:20 +0000] [24] [INFO] Booting worker with pid: 24
[2016-05-27 15:40:20 +0000] [25] [INFO] Booting worker with pid: 25
27/May/2016:15:40:20 +0000 WARNING: Cache storage disabled!
27/May/2016:15:40:20 +0000 WARNING: LRU cache disabled!
27/May/2016:15:40:20 +0000 WARNING: Cache storage disabled!
27/May/2016:15:40:20 +0000 WARNING: LRU cache disabled!
27/May/2016:15:40:20 +0000 DEBUG: Will return docker-registry.drivers.file.Storage
27/May/2016:15:40:20 +0000 DEBUG: Will return docker-registry.drivers.file.Storage
27/May/2016:15:40:20 +0000 WARNING: Cache storage disabled!
27/May/2016:15:40:20 +0000 WARNING: LRU cache disabled!
27/May/2016:15:40:20 +0000 WARNING: Cache storage disabled!
27/May/2016:15:40:20 +0000 WARNING: LRU cache disabled!
27/May/2016:15:40:20 +0000 DEBUG: Will return docker-registry.drivers.file.Storage
27/May/2016:15:40:20 +0000 DEBUG: Will return docker-registry.drivers.file.Storage
27/May/2016:15:40:21 +0000 WARNING: Another process is creating the search database
27/May/2016:15:40:21 +0000 WARNING: Another process is creating the search database
27/May/2016:15:40:21 +0000 WARNING: DB is disconnected. Reconnect to it.
[2016-05-27 15:40:21 +0000] [22] [ERROR] Exception in worker process:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 507, in spawn_worker
    worker.init_process()
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/ggevent.py", line 193, in init_process
    super(GeventWorker, self).init_process()
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 114, in init_process
    self.wsgi = self.app.wsgi()
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line 66, in wsgi
    self.callable = self.load()
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load
    return self.load_wsgiapp()
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
    return util.import_app(self.app_uri)
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/util.py", line 356, in import_app
    __import__(module)
  File "/usr/local/lib/python2.7/dist-packages/docker_registry/wsgi.py", line 27, in <module>
    from .search import *  # noqa
  File "/usr/local/lib/python2.7/dist-packages/docker_registry/search.py", line 14, in <module>
    INDEX = index.load(cfg.search_backend.lower())
  File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/__init__.py", line 82, in load
    return db.SQLAlchemyIndex()
  File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 86, in __init__
    self._setup_database()
  File "/usr/local/lib/python2.7/dist-packages/docker_registry/toolkit.py", line 330, in wrapper
    os.remove(lock_path)
OSError: [Errno 2] No such file or directory: './registry._setup_database.lock'
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 507, in spawn_worker
    worker.init_process()
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/ggevent.py", line 193, in init_process
    super(GeventWorker, self).init_process()
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 114, in init_process
    self.wsgi = self.app.wsgi()
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line 66, in wsgi
    self.callable = self.load()
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load
    return self.load_wsgiapp()
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
    return util.import_app(self.app_uri)
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/util.py", line 356, in import_app
    __import__(module)
  File "/usr/local/lib/python2.7/dist-packages/docker_registry/wsgi.py", line 27, in <module>
    from .search import *  # noqa
  File "/usr/local/lib/python2.7/dist-packages/docker_registry/search.py", line 14, in <module>
    INDEX = index.load(cfg.search_backend.lower())
  File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/__init__.py", line 82, in load
    return db.SQLAlchemyIndex()
  File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 86, in __init__
    self._setup_database()
  File "/usr/local/lib/python2.7/dist-packages/docker_registry/toolkit.py", line 330, in wrapper
    os.remove(lock_path)
OSError: [Errno 2] No such file or directory: './registry._setup_database.lock'
[2016-05-27 15:40:21 +0000] [22] [INFO] Worker exiting (pid: 22)
[2016-05-27 15:40:22 +0000] [25] [INFO] Worker exiting (pid: 25)
[2016-05-27 15:40:22 +0000] [24] [INFO] Worker exiting (pid: 24)
[2016-05-27 15:40:22 +0000] [23] [INFO] Worker exiting (pid: 23)
[2016-05-27 15:40:22 +0000] [1] [INFO] Shutting down: Master
[2016-05-27 15:40:22 +0000] [1] [INFO] Reason: Worker failed to boot.
[2016-05-27 15:40:22 +0000] [1] [INFO] Starting gunicorn 19.1.1
[2016-05-27 15:40:22 +0000] [1] [INFO] Listening at: http://<IP_ADDRESS>:5000 (1)
[2016-05-27 15:40:22 +0000] [1] [INFO] Using worker: gevent
[2016-05-27 15:40:22 +0000] [22] [INFO] Booting worker with pid: 22
[2016-05-27 15:40:22 +0000] [23] [INFO] Booting worker with pid: 23
[2016-05-27 15:40:22 +0000] [24] [INFO] Booting worker with pid: 24
[2016-05-27 15:40:22 +0000] [26] [INFO] Booting worker with pid: 26
27/May/2016:15:40:23 +0000 WARNING: Cache storage disabled!
27/May/2016:15:40:23 +0000 WARNING: LRU cache disabled!
27/May/2016:15:40:23 +0000 DEBUG: Will return docker-registry.drivers.file.Storage
27/May/2016:15:40:23 +0000 WARNING: Cache storage disabled!
27/May/2016:15:40:23 +0000 WARNING: LRU cache disabled!
27/May/2016:15:40:23 +0000 DEBUG: Will return docker-registry.drivers.file.Storage
27/May/2016:15:40:23 +0000 WARNING: Cache storage disabled!
27/May/2016:15:40:23 +0000 WARNING: LRU cache disabled!
27/May/2016:15:40:23 +0000 DEBUG: Will return docker-registry.drivers.file.Storage
27/May/2016:15:40:23 +0000 WARNING: Cache storage disabled!
27/May/2016:15:40:23 +0000 WARNING: LRU cache disabled!
27/May/2016:15:40:23 +0000 DEBUG: Will return docker-registry.drivers.file.Storage

The v2 registry does not require gunicorn so not sure I understand your setup of a 2.1 registry. I would encourage you to start with the deployment instructions specified here https://docs.docker.com/registry/deploying/.

@EvertMDC unfortunately the latest tag still points to the v1 registry.  This will be changed with the next release but for now registry:2 will give you the latest (2.4.1) registry image.


Domains for porn list

Hi! Can you add these sites to the porn list?
www.poringa.net
m.poringa.net
www.pornogratisdiario.com
tubepornstars.tv
tubepornstars.site
pornjuices.com
www.orgasmatrix.com
petardas.xxx
babosas.com
www.pornocasero.com.ar
www.xxxenespanol.com
Thanks!

Thank you @Ratemi.
Ping @sinfonietta

These have been added @StevenBlack

Thanks @Ratemi and @Sinfonietta.
Closing.


Aurelia/Validation needs a TypeScript definition

Having a TS definition makes it easier for the TS lovers to use this plugin.

Investigate: what would be the downside of writing the validation library in TS completely?

Fixed by https://github.com/aurelia/validation/pull/141


rss2email: 3.9 -> 3.10

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @Profpatsch
@GrahamcOfBorg build rss2email nixosTests.rss2email

@GrahamcOfBorg build nixosTests.rss2email

Whooo

@GrahamcOfBorg test rss2email

Do you want to fix the rss2email test before we merge? The dependent opensmpt test has a problem.

@Profpatsch have you had any issues with rss2email sending multiple of the same email? I had to turn rss2email off awhile ago because of that

@Profpatsch have you had any issues with rss2email sending multiple of the same email? I had to turn rss2email off awhile ago because of that

Was it in 3.x? Some people didn’t like the 2 -> 3 rewrite because it introduced some bugs from what I heard.

@Profpatsch Being currently with no time to fix it, I'd say we can merge and see later. Intuitively it's due to the opensmtpd version upgrade which introduced another config file format, and should be pretty quick to fix, but I just don't have time right now.
And as the 19.09 cutoff is quite soon… maybe let's just merge by then? :)

@jb55 Got this neither with 3.9 nor with 3.10

nix-review checks out for me, macos 10.13.


Justify Align Text

HI Bartosz,
Thank you for this repo.
I would like to have the ability to justify align text. Is there a way of doing this?
Thanks,
Theo

You can use the tailwind classes text-start, text-center or text-end, to align your text, using this globally would have side effects that you need to fix manually, so best case scenario is to use it on each component as needed.
https://tailwindcss.com/docs/text-align

Thanks!


After upgrade to 14.1, "Instant" login but few permissions

Please verify that this bug has NOT been raised before.

[X] I checked and didn't find a similar issue

Describe the bug*
I upgraded to 0.14.1.  I'm running via a Docker-compose "stack" in Portainer.  I did what I have done before: set the  command field for the server container in the docker-compose file to be "invoke upgrade", disabled restart, then started the system.  After the upgrade completed, I removed the command field from the docker-compose file and started the system again.
I was not asked to login to my inventree session afterward and I am able to browse the parts tree, but I get permission errors when I try to search and when I tried to transfer a part location.  I logged out, then pressed the "login" button.  Instead of being prompted for username and password, I immediately appeared logged-in again in  the regular web interface, but have the same lack of permissions.
I previously tried to update to 0.14.0, but this failed  to update due to the lack of "invoke" in that Docker image.  So I went back to 0.13.6 for a couple days.  I didn't try anything after that which would have tested permissions before I tried going to 0.14.1, however.
Steps to Reproduce
Upgrade from 0.13.6 to 0.14.1 via the docker-compose method I described above(??)
Expected behaviour
Be prompted to login, with a username and password.  Then have permissions to search and move parts.
Deployment Method

[X] Docker
[ ] Bare metal

Version Information
Version Information:
InvenTree-Version: 0.14.1
Django Version: 4.2.10
Commit Hash: df0bb34
Commit Date: 2024-03-05
Database: postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-5.15.0-94-generic-x86_64-with
Installer: DOC
Active plugins: [{'name': 'InvenTreeBarcode', 'slug': 'inventreebarcode', 'version': '2.0.0'}, {'name': 'InvenTreeCoreNotificationsPlugin', 'slug': 'inventreecorenotificationsplugin', 'version': '1.0.0'}, {'name': 'InvenTreeCurrencyExchange', 'slug': 'inventreecurrencyexchange', 'version': '1.0.0'}, {'name': 'InvenTreeLabel', 'slug': 'inventreelabel', 'version': '1.0.0'}, {'name': 'InvenTreeLabelMachine', 'slug': 'inventreelabelmachine', 'version': '1.0.0'}, {'name': 'InvenTreeLabelSheet', 'slug': 'inventreelabelsheet', 'version': '1.0.0'}, {'name': 'DigiKeyPlugin', 'slug': 'digikeyplugin', 'version': '1.0.0'}, {'name': 'LCSCPlugin', 'slug': 'lcscplugin', 'version': '1.0.0'}, {'name': 'MouserPlugin', 'slug': 'mouserplugin', 'version': '1.0.0'}, {'name': 'TMEPlugin', 'slug': 'tmeplugin', 'version': '1.0.0'}]
Please verify if you can reproduce this bug on the demo site.

[ ] I can reproduce this bug on the demo site.

Relevant log output
No response

Add your InvenTree server URI to trusted_origins in your config.yaml
0.14.x bumped Django to 4.x, and Django 4.x has much stricter CORS requirements that Django 3.x

Have a read through https://inventree.org/blog/2024/03/02/0.14.0 to fully learn what 0.14 brings

Thank you!!!  I added this to my config.yaml (took a couple tries to get the format right), and now things work for me again!
trusted_origins:
 - 'https://{my-server}'


💭 How to set Low video resolution

Question
i want to reduce the size of video capture in android currently 0.10 seconds video it's giving me 20 mb size so how can i reduce the size.
What I tried
const frontformate = useCameraFormat(devicesFront, [
{ fps: 30 },
{ videoResolution: { width: 1280, height: 720 } },
]);
const backformate =  useCameraFormat(devicesBack, [
{ fps: 30 },
{ videoResolution: { width: 1280, height: 720 } },
]);
<Camera
ref={cameraRef}
style={[styles.camera]}
audio={true}
video={true}
device={cameraType === 'front' ? devicesFront : devicesBack}
isActive={true}
format={cameraType === 'front' ? frontformate : backformate}
outputOrientation={'device'}
/>
VisionCamera Version
4.4.1
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

Reduce the videoResolution.

Yes i try that
but i want
{ videoResolution: { width: 1280, height: 720 } }
with low size video


Remove the ability to set configuration values

Pretty old stuff, but since the ability to commit configuration has been removed in #147 according to issue #143 (any reason for that decision, btw?), we're still left with 'set' methods for configuration values on e.g. IConfiguration and IConfigurationProvider.
The 'set' methods somewhat imply that it's possible to store configuration. But since this is only temporary/in-memory, there's absolutely no point in having them (or maybe just misuse like filling them up with runtime environment metadata for later retrieval).
 Consistency, yay!

Okay, I just notices this somewhat duplicates #387,  #386 and #283. Nevermind.


Functionality on/off

Hello,
In post4 one can enable/disable functionality by means of macro's. E.g. in config.h:
#define HAVE_MATH_H 1
This is tested in post4.c as follows:
#ifdef HAVE_MATH_H
However: this always evaluates to true, also if HAVE_MATH_H has value 0. So: test it with #if, or else: outcomment the macro in config.h
Another small issue: In  post4.p4 the word 'value' is implemented in a very complicated way. This can be done much shorter however:
variable #msg  0 #msg !
create values  ' @  , ' !  , ' +! ,
: value ( n 'name')
create ,
does>  values #msg @ cells + @ execute  0 #msg ! ;
: to  1 #msg ! ;
: +to  2 #msg ! ;
I got this code from github.com/pahihu/vfc.
Kind regards,
Wouter Boeke

Note. Separate issues / questions should have separate tickets.

Did you first try ./configure --help to see the available compile time settings?  If so you can disable math support with:
  make distclean
  ./configure --disable-math
  make

VALUE and 2VALUE were implemented in such a way to deal with how TO works with variable length number of cells (there is no frilly 2TO.  I was also allowing for future possibility of larger "values" beyond 2 cells.  The code was a bit legacy from years ago and would be happy to consider something simpler provided it doesn't break anything.  I'll review the code and test suite to see.

About that HAVE_MATH_H issue: indeed it was my own fault. I had to make some modifications in the code, because the compiler generated a lot of errors. Probably not all compilation environments are equal.
By the way: wouldn't it be a good idea to skip the complete configure episode? For me it is something from the past, and it generates big incomprehensable makefiles. Most of the time I don't use them, and make my own.

By the way: wouldn't it be a good idea to skip the complete configure episode?

No.  I write my own Makefiles for (almost) all my portable projects.  I only use autoconf (not automake) to avoid BSD (main dev. env.), Linux, and Cygwin differences (and no I would not use cmake) to configure the makefiles and the .h files.

Having tested the above suggested simplified implementation of VALUE and TO, it fails to pass the test cases WRT 2VALUE and FVALUE.


[FLINK-2779][FLINK-2794][streaming][docs] New DataStream API programming guide

Not good to merge.
I am putting this up for discussion, but it depends on several pull requests that need to be merged first.
This is a draft of a new DataStream programming guide. The main differences are:

Several new additions (merged or under way), including the new window builders are documented
An effort has been made to make the DataStream guide stand-alone, without depending on the DataSet guide. This is not fully achieved yet, as several parts that are common to the two APIs are documented in the DataSet guide and linked to by the DataStream guide.

Scala is currently missing, but I plan to cover it, as well as do a more thorough check (if links are working, proper indentation, fix some incorrect class names etc).
@aljoscha can you take a look and see if this reflects correctly your recent changes?

Two comments:

I would call the section "Buffer Timeout" rather "Controlling Latency" or so. It helps people that are interested in latency to find the section relevant for them
The code example in "Making local variables consistent" is wrong, the types of the interfaces/casting is not correct

Sometimes you write DataSet in the stream guide where it should be DataStream.

In the section "Transformations" you sometimes use the `` syntax to highlight words, such as DataStream. Inside the table they don't get properly translated, however. (At least on my machine.)

The description of Evictors for the keyed windows are a little bit messy, what gets evicted from where. There is also some conflict with the example and the description: "Retain 1000 elements from the end of the window backwards, evicting all others." vs "and every time execution is triggered, 10 elements are removed from the window".
As far as I understand triggers and evictors work with the same semantics as now, but there is always a fix time trigger/eviction determined by the window assigner.

The WindowFunction has a different signature for regular windows and all windows. This should maybe be visible in the transformations section.

@gyfora Yes, they work with the same semantics. What do you mean by "fix time trigger/eviction determined by the window assigner"?

@aljoscha : what I meant was just that we define some time semantics with the window assigner

@gyfora, yes, thats right

The ConnectedStreams example formatting is off (in Transformations section), also there should be something like:
ConnectedStreams<> connectedStreams = someStream.connect(otherStream)

If split is mentioned select should also be mentioned.

"Windows on unkeyed data streams (non-parallel windows)"
I still think that this gives a bad false impression of executing all global windows including time in a non-parallel way.
I can already here people say that Spark can do global time windows in parallel while Flink cant :P

There should be some streaming specific stuff in the Execution Config section. For example, there is enableTimestamps() and setAutoWatermarkInterval().

Global windows are not parallel, not in any system, it is inherent in the operation.
You can pre-aggregate in parallel, if the windows are time windows. These are probably the most common windows. Any other windows are not even supported in any other system that I have worked with...

Would be a nice addition to the docs, to state that global time reduce (and other aggregations) are pre-aggregated in parallel.

Nice doc so far ^^
One tiny fix on the  Advanced window constructs subsection:
[0,1000], [100,1100], [200,1200], ..., [1000, 2000]

From a quick read on the documentation (and prior knowledge from google dataflow) it is easy to get a full picture of the new semantics. Even though I like it from a engineering perspective, It needs to be pointed out though that the addition of the Assigner restricts our previous windowing semantics to periodic windows, i.e. at the moment you receive a record you have to know all the possible buckets this record will fall into while before we did not have such a constraint. In other words we no longer support dynamic windows where range and slide can change dynamically.

@senorcarbone It doesn't restrict. You can use an assigner that assigns to one single window. Then using, trigger and evictor you can implement everything that was possible before.

Ah Indeed. I just reviewed this with the prospect of custom pre-aggregations in mind and it seems like pre-aggregation strategies operate on bucket-granularity. Solely on windowing semantics what you suggest covers my question though. thanks ^^

I addressed the comments above, added the content for Scala, reworked the iterations section, added content to the windows section, and made the DataStream API guide almost identical to the DataSet API guide content-wise (still with links towards the DataSet guide).
I also made changes to the docs as a whole to reflect the equal status of the DataSet and DataStream APIs.
There are still some features that are missing from the docs or are poorly documented (aggregations and state). I am working on those.

Once https://github.com/apache/flink/pull/1238 is merged, this is ready to be merged as well (the docs track the changes in that PR)

It's a bit painful to review because Github is not showing the diff :-(
Here is what I found in streaming_guide.ml until but not including Specifying Keys:
Intro:

What are regular programs?
"The data streams are initially created…" -> "A data stream can be produced by different sources such as …"
What are distributed files?
Flink program -> DataStream program

Linking with Flink:

To write programs with Flink -> To implement a DataStream program
If you want to add Flink to an existing -> If you want to add Flink's DataStream API to an …
Program Skeleton (Java and Scala):
Flink DataStream program -> DataStream Program
If you created a JAR file from you program -> If you created a JAR file from YOUR program
with your own custom transformation function -> with your own custom transformation FUNCTIONS
converting every String in the original set to an Integer. -> converting every String in the original STREAM to an Integer.

DataStream abstraction:

unbounded immutable collection of data of a the same type -> unbounded immutable collection of data ITEMS of a the same type. ?

Lazy Evaluation:

All Flink programs -> All DataStream programs

Transformations (only checked Java, Scala probably the same…)

KeyBy

Logically partition a stream -> Logically PARTITIONS a stream
This transformations -> This transformation

Reduce + Fold

Combines the last element with the last reduced value and emits the new value. -> Combines the current element with the last reduced value and emits the new value. ?

Aggregations:

Rolling aggregations on keyed data stream. -> Rolling aggregations on A keyed data stream.

Window

Windows can be defined on already partitioned KeyedStreams -> Windows can be defined on partitioned KeyedStreams ?

Window Apply

Applies a general function to the window as a whole. -> Applies a general function to WINDOWS as a whole. ?
A function that manually sums the elements of a window -> Sentence is incomplete

Window Reduce / Aggregations

Point out difference to rolling reduce / aggregations?

Iterate

The resulting stream of an iteration is a DataStream again. The IterativeStream is only "within" the iteration, right? Shouldn't it be DataStream -> IteratativeStream -> DataStream then?

Extract Timestamps

Extract -> ExtractS
Flink windows -> windows

Review 2nd part (until Connectors):
General & Outline

Inconsistent capitalization of sections
Switch "Execution Configuration" and "Data Sinks" sections to have Sinks directly after Sources?

Specifying Keys

"A DataStream is keyed OAS"

Data Types

and as results of transformations. -> and ON THE results of transformations.

Data Sources (Java and Scala)

Creates a data set -> Creates a data stream (4 times)

Debugging

Before running a streaming program on a large data set in a distributed cluster -> Before running a DataStream program in a distributed cluster ?

Debugging - Local Execution Environment

breakpoint -> breakpointS

Working with time

The event time paragraph says: "This time is either recorded in a timestamp embedded within the records before they enter Flink, or is assigned at the source." Isn't it Ingestion time if timestamps are assigned at the source?
Does ingestion time not require watermarks?
"In order to work with event time semantics, you need to follow three steps" isn't it four steps (last step are two steps)
What is the getCurrentWatermark() { return Long.MIN_VALUE;}  good for?

Windows on keys data streams

Why do sliding windows "overlap by AT LEAST 4 secs / 900 elements"? Shouldn't it be: "subsequent windows overlap by 4 secs / 900 elements"?

Advanced window constructs

"the SlidingTimeWindows assigner in the example" which example are you refering to? It should be size 5000 and slide of 1000 ms and not 1000 and 100ms, right?
Delta trigger: the current element refers to the element that was last added to the window?

Fault tolerance

where n is how often a checkpoint is taken in milliseconds. -> where n is the checkpointing interval in milliseconds ?
Is there no Kafka Sink (KafkaProducer)? It is missing in the sink guarantee table.

Parallelism

Shouldn't we add here how data is repartitioned if the DOP of subsequent operators increases or decreases?

Controlling latency

Also show the parameter for the buffer size.

Working with state

The end effect is that updates to any form of state are the same under failure-free execution and execution under failures.  -> By that Flink guarantees that any form of state is the same under failure-free execution and execution under failures (given that the sources support exactly-once delivery). ?
The difference between both interfaces is not so well described, in my opinion.

Making local variables consistent

There is a space in "c heckpoint"
"For example the same counting, reduce function shown for OperatorStates by using the Checkpointed interface instead" The Checkpointed interface is described before OperatorState

Using the state interface

Doesn't the checkpointed interface require enableCheckpointing() to be set? It is only mentioned for the OperatorState.
Doesn't the Serializability requirement also apply to non-parallel state?
This section is hard to understand. Many different things being mentioned without clear structure.

State checkpoints in iterative jobs

Fink -> Flink

Iterations

Strem -> Stream

Last part of review:
Connectors

(with the exception of Twitter where only a source is provided and Elasticsearch where only a sink is provided) -> The following list only shows sink for HDFS. I'd just remove the exception sentence.

Kafka Source:

This section describes the FlinkKafkaConsumer082 and not the KafkaSource

Kafka Sink:

This sentence is confusing, IMO: "Also the serializer configuration should be left default, the serialization should be set via SerializationSchema."

Elasticsearch:

"Sink" is sometimes capitalized, sometimes not.
Not how -> Note how

Hadoop FileSystem

Hadoop FileSystem -> Hadoop File System
"Sink" is sometimes capitalized, sometimes not.

Twitter Streaming API

Remember to keep these pieces of information a secret -> Remember to keep these pieces of information secret (remove "a")
numberOfTweets determine how many tweet the source emits. -> numberOfTweets determineS how many tweet the source emits.

Overall really good documentation!
I would only improve the state section a bit.

Thanks a lot Fabian for the fantastic review! I addressed most of your comments. The state section needs to be rewritten after https://github.com/apache/flink/pull/1239 has been merged.

Thanks for this big update, guys!
Some comments:

Explanation of operator chaining and options are missing.
Collection Data Sources: The following sentence should be removed: 'Currently, the collection data source requires that data types and iterators implement Serializable.' This is not true anymore.
Transformations DataStream,DataStream → DataStream looks better with a tuple-style input for me: (DataStream, DataStream) → DataStream if that fits on the page.
In the source code examples I would use the diamond operator for Java7, e.g. in the Splitter of the WC.

@mbalassi: is the operator chaining currently documented somewhere? Same about partitioning between operators of different parallelism

@ktzoumas chaining has decent documentation in the Javadocs. The behavior of subsequent operations with different parallelism is not really documented unless I am missing something.

Added docs for chaining and resource groups

I will merge this now since the code is also changed. We can iterate on this if need be.

@asfgit didn't close it automatically, could you please close it @ktzoumas .


[ENHANCEMENT] Use general image for promote job

Is your enhancement related to a problem? Please describe.
Currently, there're two image values in promote_controller.go and helm chart. We can use Rancher Apps to get the value from helm chart, so we don't need to maintain the same value in two places.
Additional context
https://github.com/harvester/harvester/pull/4852#pullrequestreview-1777529928

Doea this ticket relates to #4839 ?

Yes, it's same. But, original PR https://github.com/harvester/harvester/pull/4852 doesn't fetch value from rancher app, so we open another enhancement issue to track this.

Provide test result on v1.3.0-dev-20240105, close as fixed.
Environment

Harvester
Version: v1.3.0-dev-20240105
Profile: QEMU/KVM, 3 nodes (8C/16G/500G)
ui-source: Auto

Steps

 Check helm chart value: registry.suse.com/bci/bci-base:15.5

Check promote jobs uses image same as helm chart value

 harvester-promote-harvester-node-1 :ballot_box_with_check:

 harvester-promote-harvester-node-2 :ballot_box_with_check:

 Jobs are completed :ballot_box_with_check:


Angular-cli doesn't resolve relative paths for css imports

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)
- [ ] new
- [ ] build
- [x] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions
Ubuntu: 17.10
node: 11.1.0
npm: 6.4.1
ng: 7.0.6
Repro steps

Clean project, use SCSS by default.
style.scss (defined in the default angular.json)
@import 'styles/app.scss';

styles/app.scss
@import 'lib.css';

The log given by the failure
ERROR in ./src/styles.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--14-3!./src/styles.scss)
Module build failed (from ./node_modules/postcss-loader/src/index.js):
Error: Failed to find 'lib.css'
  in [
    /home/username/dev/angular-test/src
  ]
    at resolveModule.catch.catch (/home/username/dev/angular-test/node_modules/postcss-import/lib/resolve-id.js:35:13)

If add ./ prefix - the same result
Desired functionality
It works if lib.css imported by @import 'styles/lib.css'; but @import should be resolved by relative path

There is no the same problem if I use SCSS through Webpack. Moreover I have Webpack based build system which resolves paths correct. This problem appears if I replace this build to Angular-CLI.
P.S. How should I resolve this cases? Rewrite paths manually for third-part plugins? Set they up in angular.json files?

Yes, that was this loader in my Webpack project. So, that is really SASS problem. Maybe you know if SASS repo has the issue? I can't find it

@tamtakoe, I don't think there is an open issue, as really it is a problem for all styles preprocessors and not only SCSS.

I am facing the same issue. Created an angular-cli base project with scss as the stylesheet.  Imported third part lib's scss into my project. That further uses
@font-face {
    font-family:"Roboto Regular";
    font-weight:normal;
    font-style:normal;
    src: url("../resources/fonts/roboto-regular/Roboto-Regular.eot?") format("eot")
}

ERROR in ./src/styles.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--14-3!./src/styles.scss)
Module Error (from ./node_modules/postcss-loader/src/index.js):
(Emitted value instead of an instance of Error) CssSyntaxError:
---------------sass\third-party.scss:10:9: Can't resolve
'../resources/fonts/roboto-regular/Roboto-Regular.woff' in 'MyProject\src'
8 |     font-style:normal;
9 |     src: url("../resources/fonts/roboto-regular/Roboto-Regular.eot?") format("eot"),  /* IE9 Compat Modes */

10 |          url("../resources/fonts/roboto-regular/Roboto-Regular.woff") format("woff"), /* Pretty Modern Browsers /
|         ^
11 |          url("../resources/fonts/roboto-regular/Roboto-Regular.ttf") format("truetype");  / Safari, Android, iOS /
12 |          / url("../../resources/fonts/roboto-regular/Roboto-Regular.svg#Roboto-Regular") format("svg"); / / Legacy iOS */

In the third party library there is resources folder. But same issue angular-cli is resolving this path relative to m project's styles.scss file? Any solution so far?

Unfortunately, this is a limitation of sass/scss itself.  It does not rebase URLs.

I'm running into a relative (or not relative) path issue too. I'm confused about the comments saying this is standard SCSS behaviour. I think the focus here should be about the fact that the behaviour has changed between angular releases. For example, in @angular version 5.1.2, I was able to use this in my src/styles.scss files:
$fa-font-path: "~font-awesome/fonts/";
@import 'node_modules/font-awesome/scss/font-awesome.scss';

And the angular build would generate hashed font files and a URL like this
http://host/root-path/fontawesome-webfont.af7ae505a9eed503f8b8.woff2

But after upgrading to @angular  version 7.1.3, the ng build, this no longer works and results in URLs for the font files like this:
http://host/root-path/~font-awesome/fonts//fontawesome-webfont.woff2?v=4.7.0

I've been playing around with different formatting the paths and having this work in angular 7.1.3, but haven't been able to make it hash or include the font files at all. Is there another issue that more closely captures this issue or that can guide me down the right path?

@michaelcm that's an unrelated problem to what @ermarkar is describing.  The use of the tilde is the source of the problem in this case.  It is not officially supported and only previously worked due to the internal use of certain webpack loaders in previous versions.
The following works with a new 7.1.4 CLI project:
$fa-font-path : '../node_modules/font-awesome/fonts';
@import '../node_modules/font-awesome/scss/font-awesome';

Also of note is that if SASS actually rebased URLs, then there would be no need to use $fa-font-path.

Is there any progress on this? I'm trying to build Angular with Closure Compiler, but when I hook into the ngc build step, all my .scss paths fail.

I am having the same issue with a library I am trying to build; if I use the following import which uses an alias '@opus':
@import '~@opus/widgets/core';
The build fails with:
ERROR: returned value of file must be a string
An unhandled exception occurred: returned value of file must be a string
If I change it to this:
@import '../../widgets/core';
It works. The problem is I am porting over an existing project and it is not feasible to change every stylesheet from using the alias that was working before. Where do I define aliases that the scss files can use? The typescript aliases do nothing.


Add more TLD?

Hi,
I have found that dnstwist "tld-swap" fuzzer is missing some tlds, like .pro.
Would it be possible to update tld list to the most up to date?
Ex: https://data.iana.org/TLD/tlds-alpha-by-domain.txt

This fuzzer does not have any built-in domains and uses those loaded from the dictionary file.


[Bug]: Game crashes at startup

Issue Summary:
The game crashes at startup showing the UE crash reporter when using the mod.
I can run the game normally when not using the mod by excluding the WINEDLLOVERRIDES="dsound=n,b" %command% launch option.

P3RFix & Game Version Numbers:
Tried v1.2.2 and v1.2.3 of P3RFix and using the latest game version.
Log Files:
P3RFix.log
I'm using a 7800X3D and an RX 7900XT on Linux.
Reproduction:

Click on Launch button in Steam
Game crashes and UE4 crash reporter opens

Funnily enough I was gonna put one up for this because I had the same issue, I found it didn't crash on 1.2.1, so I must imagine some regression happened with 1.2.2.

Same issue here. For me, this seems to be caused by the developer console enabler. Turning it off lets the game launch, so maybe try that?

v1.2.3 crashes for me on the Steam Deck. As suggested, disabling the developer console in the ini file does fix the crashing.

Should be fixed in v1.2.4. The crash was likely coming from attempting to set a hotkey when the ConsoleKeys array was not initialised.

Just tried 1.2.4 and the issue still mostly persists for me (disabling the dev console also still fixes it). The game has successfully (randomly) launched 3 times with the option enabled and I have verified that the console works under that case but the vast majority of the time it just crashes the game on startup.
Also, for clarity, I'm also on Linux with a Ryzen 7 3700X and a GTX 1080.

Just tried 1.2.4 and the issue still mostly persists for me (disabling the dev console also still fixes it). The game has successfully (randomly) launched 3 times with the option enabled and I have verified that the console works under that case but the vast majority of the time it just crashes the game on startup. Also, for clarity, I'm also on Linux with a Ryzen 7 3700X and a GTX 1080.

Can you try this test build? I've reworked the code for enabling the console to make it a bit simpler and hopefully safer.
P3RFix_v1.2.5_Xbox_test.zip

Can you try this test build? I've reworked the code for enabling the console to make it a bit simpler and hopefully safer. P3RFix_v1.2.5_Xbox_test.zip P3RFix_v1.2.5_Steam_test.zip

Just tried it now. As far as I can tell nothing has changed. It still crashes almost every time but when it does launch the console can be used. P3RFix log from the crashed game is attached in case it helps. I can upload the log produced by proton if that's helpful, but it is very large (~2MB of text). P3RFix.log

Hmm that's interesting. It's not crashing during/after console creation according to the logs, yet disabling the console option in P3RFix.ini consistently fixes this issue?

Yep, I haven't had it crash with the console off at all.
My only guess is that something else doesn't like the console being made too early? If nobody has had the issue on Windows it could be related to WINE doing something differently?

Yep, I haven't had it crash with the console off at all. My only guess is that something else doesn't like the console being made too early? If nobody has had the issue on Windows it could be related to WINE doing something differently? I did try a few different proton versions but they all have the same result fwiw

That's very odd. I can't think of what would be causing crashing related to console creation. If it's not crashing during the creation process, then I frankly have no idea what could be happening.
The only thing that I can think of that may make a difference is a configurable delay before running most of the code/hooks. I've added an injection delay parameter to P3RFix.ini in this test build. By default it's set to 1000ms. You could try experimenting with increasing that value if the 1 second delay doesn't help.
P3RFix_v1.2.5_Steam_test2.zip
If this doesn't work then unfortunately I'm pretty much out of ideas, it may just have to be a known issue with enabling the console and running Proton.

Delaying the injection doesn't seem to help anything, so I guess it's safe to assume this is some weird proton interaction I guess unless someone starts having the problem on Windows 🤷.


WIP: The ability to suspend machines that run on VMWare Fusion or VirtualBox

Title says it all, give users the ability to save the state of a VM on these providers, and resume them later.
What is done: Working implementation for VMWare Fusion.
What is to be done:

Error handling
New state when running "machine ls"
Implementation for VirtualBox

If someone knows they can do this, or point me in the right direction, I would appreciate the help, first time I ever used GOlang.

Fusion does only tell us if the machine is running or not, no details about the state (Saved etc.). Any ideas?


Update maintainer info, and add description to bypass the timeout warnin...

...g message

Looks great! Merging.


Simplify and clarify local python usage

Description
In the requirements we have listed Python version 3.8 which does not fit with the used version in the docker images (3.11) and workers (3.9).
Describe the solution you'd like
We need to clarify if and which version of the Python is required locally. The only case in which Python might be required currently is the situation of the adding/updating Python packages. Would be good to simplify this process (maybe use only Python in Docker container?) and describe it in the docs.

[ ] Update requirements
[ ] Document how to manage Python dependencies

Related to #362
Describe alternatives you've considered
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct.
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Updated requirements with the #371 #358


Some way to access individual track properties

(This might already exist, but I can't find it due to lack of proper docs)
It surprised me that there is no way to access data about tracks themselves inside of an event - only the event itself
User parameters can be used to work around but it's super tedious to create a new parameter for every single parameter you want to edit. Also, it requires you to hard-code each track parameter as there's no "get list of tracks in event" function (or in general a method way to get that list) either (afaik)
-i.e. useful for the case where you want to reset volumes of all tracks "for track in get_tracks_in_event: track.volume = 1.0"
Fading in & out tracks as per the image below is one example of a very common feature that this would be useful for

I don't think what you want is possible. We can only get as far as the official FMOD API allows. Most of the functions available in our plugin are direct calls to the FMOD API.
Regarding data related to events, you have the whole list here:
https://www.fmod.com/resources/documentation-api?version=2.02&page=studio-api-eventdescription.html
Like you've already explained, you can retrieve parameters in an event ( cumbersome to do but possible at least) but I don't see anything that would allows us to access the "internal structure" of an event.

Do you happen to know if what you want is possible with the Unity or UE version of the FMOD plugin ?
If yes, there might be a way I didn't think about.

Fair enough. I've had a sleep and another look through the docs and I think I was confused last night between fmod's "channels" and "tracks" (I use Ableton for my music, and that program uses those terms interchangeably). Specifically, I found these

thinking they were exactly what I needed. But really I think you're right and what I want isn't even supported by the official integration.
Appreciate it nonetheless! This integration is incredible!


vagrant: update 4.19 and net-next VM images

We have been hitting issues in our CI since yesterday on all master scheduled pipelines as well as master-based PR pipelines, with Cilium Agent seemingly being unable to reach a healthy state due to IPv6-related issues (see [1] and [2] below).
I have a hunch the issue is due to the Vagrant VMs themselves, as we do not seem to hit the issue anymore on 4.9- and 5.4-based pipelines after merging an update to their Vagrant VMs in 35625206ea02aa816cd81f012cc86df052d90694, containing an unrelated fix.
This commit bumps the 4.19 and net-next VM images as well.
[1]
2022-01-13T05:42:17.179701398Z level=debug msg="Greeting failed" error="Get \"http://[fd04::12]:4240/hello\": dial tcp [fd04::12]:4240: connect: network is unreachable" host="http://[fd04::12]:4240" ipAddr="fd04::12" nodeName=k8s2 path="Via L3" subsys=health-server
2022-01-13T05:42:17.179730123Z level=debug msg="Failed to probe: Get \"http://[fd04::12]:4240/hello\": dial tcp [fd04::12]:4240: connect: network is unreachable" ipAddr="fd04::12" nodeName=k8s2 port=4240 subsys=health-server

[2]
2022-01-14T12:12:52.181387748Z level=fatal msg="Error while creating daemon" error="failed to finalise LB initialization: failed to initialize NodePort addrs. : Failed to determine IPv6 of enp0s3 for NodePort" subsys=daemon

This is a re-open of #18493 with the proper branch name. As noted in the original PR, CI passed:

I still have no idea why it works but both 4.19 and net-next tests are passing (as in: they are not failing with the agent startup issue above).

Forgot we need to wait for the runtime tests as well: https://jenkins.cilium.io/view/PR/job/Cilium-PR-Runtime-net-next/1026/

/mlh new-flake Cilium-PR-Runtime-net-next


add some suggestion to ipv6.

Description
By default , the calico-node use IPv4 address to make health check ,if you want to deploy calico only use IPv6(by disabling IPv4), you should let calico-node using "localhost6" to make health check.

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

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

@lijianfeng1993 thanks for the PR!
This looks good to me from a tech perspective - assigning to @emanic for docs review.

@lijianfeng1993 ping. Do you think you could make the same change in the master, v3.3, and v3.4 directories? Otherwise this change will only apply to the v3.2 docs.


show argument names

sorry if this is the wrong spot, but on hackage you can only see the type signature but not the actual argument names. at least for internal documentation in application code, being able to see them is useful since often they're actual information beyond a name like x.

What code would have to be changed to change this, if it's desired?


ci: try UCRT for windows ruby-head builds

What problem is this PR intended to solve?
The 3.1.0.dev windows ruby installer uses UCRT, see #2268 for context. This gives Nokogiri and @larskanis a feedback loop.

@larskanis This looks like it might be a genuine failure on UCRT?

https://github.com/sparklemotion/nokogiri/runs/2848463493?check_suite_focus=true#step:7:50

The failure happens when calling the XLST function date:date(). So the issue resides in libxslt pretty sure. In contrast to MSVCRT, UCRT has non ANSI-C compatible time functions. This already needed a fix in ffi. I guess that libxslt simply disables date+time functions on UCRT. I'll try to fix that.

@larskanis That's interesting! Looking at libexslt/date.c it seems like HAVE_TIME is a compile-time macro:
#if defined(HAVE_TIME_H)					\
    && (defined(HAVE_LOCALTIME) || defined(HAVE_LOCALTIME_R))	\
    && (defined(HAVE_GMTIME) || defined(HAVE_GMTIME_R))		\
    && defined(HAVE_TIME)
#define WITH_TIME
#endif

I'll also note that it's fine when Nokogiri compiles it (--disable-system-libraries), but not when we use the UCRT system libraries (--enable-system-libraries), which I don't fully understand.
Anything I can do to help?

Also: I'd be fine with not fixing this. For example, when using a version of libxml2 that does not have iconv support compiled in, we skip the tests and expose that configuration as part of VERSION_INFO.

WDYT of the following solution:

during Nokogiri initialization, call exsltDateDate(NULL)
if the return value is NULL, set a ruby constant like NOKOGIRI_LIBXSLT_TIME_SUPPORT to false
else set it to true
expose it in VERSION_INFO

Then we can either rewrite the failing test to not depend on date/time functionality, and/or conditionally run tests based on the value of the constant.

I opened a PR on Mingw-packages addressing the date/time issue: https://github.com/msys2/MINGW-packages/pull/8957

@larskanis In the meantime, I have a commit on this PR to detect whether libxslt is built with date-time functionality, and skip the assertion if not.

The latest MSYS2 package mingw-w64-ucrt-x86_64-libxslt-1.1.34-4 is now in the official repository and it fixes the date/time issue on UCRT64.

@larskanis yup! looks good in this build: https://github.com/sparklemotion/nokogiri/runs/2873137424?check_suite_focus=true#step:7:35

وت


Addition to UGDG

Coverage remained the same at 47.453% when pulling 18122c76fe2651b8ec8936add34d7cb209273653 on kangmingtay:UGDG into 7f186241fa21aa5943be7a648caae4398caf5d28 on CS2113-AY1819S1-F09-2:master.


Localization fails with .utf8 suffixed locales

On my system, by default, the locale is:
LANG=fr_FR.utf8

If I run a druid UI with it, it fails to localize using fr-FR locales:
$ echo $LANG
fr_FR.utf8
$ ./target/debug/rust-ui-druid
DEBUG [druid::localization] available locales [en-US, fr-FR], current en-US
DEBUG [druid::localization] resolved: [en-US]

It works fine with LANG=fr_FR:
$ LANG=fr_FR ./target/debug/rust-ui-druid
DEBUG [druid::localization] available locales [en-US, fr-FR], current fr-FR
DEBUG [druid::localization] resolved: [fr-FR, en-US]

It would be nice to:

Have more logs so that understanding what happens is easier (e.g which value is really found before any defaulting)
Ignore the .utf8 suffix

Looking at the code, resolving the variable happens here:
https://github.com/linebender/druid/blob/master/druid-shell/src/backend/x11/application.rs#L673-L682
        var_non_empty("LANGUAGE")
            // the LANGUAGE value is priority list seperated by :
            // See: https://www.gnu.org/software/gettext/manual/html_node/The-LANGUAGE-variable.html#The-LANGUAGE-variable
            .and_then(|locale| locale.split(':').next().map(String::from))
            .or_else(|| var_non_empty("LC_ALL"))
            .or_else(|| var_non_empty("LC_MESSAGES"))
            .or_else(|| var_non_empty("LANG"))
            .unwrap_or_else(|| "en-US".to_string())

But the main problem comes from parsing the variable which is done in:
https://github.com/linebender/druid/blob/master/druid/src/localization.rs#L211-L213
        let default_locale: LanguageIdentifier =
            "en-US".parse().expect("failed to parse default locale");
        let current_locale = Application::get_locale()
            .parse()
            .unwrap_or_else(|_| default_locale.clone());

So it seems the problem is actually in unic_langid crate.
This crate is to parse unicode language IDs (https://unicode.org/reports/tr35/tr35.html#Unicode_language_identifier) which is not what is used in locale variables.
Locale variables rather have the format (https://docs.oracle.com/cd/E23824_01/html/E26033/glmbx.html):
language[_territory][.codeset][@modifier]

It seems a more appropriate create to parse the locale would be https://docs.rs/locale-types/0.4.0/locale_types/locale/index.html

It seems to fail basically always. I have 3 locales enabled, en_US.utf8, en_GB.utf8 and nl_NL.utf8, and none of them listed in by druid.

@ColinPitrat can you confirm this fixes it? Since there are multiple backends to take care of, I dont think we can just 123 switch to another library, that might have unintended consequences. There was already something to split the locale on macos, this extends that to X11, and GTK

I didn't test it yet but I expect this would fix my problem indeed. Added a few nit comments.


Discordgo error:  [DG0] wsapi.go:646:onEvent() error unmarshalling PRESENCE_UPDATE event

I'm getting spammed with this error message in my bot's logs. Is there a way to suppress this error message?

What version of the package are you using? Looks like master is slightly different judging by the location being spit out in those logs, but judging by the fact that it's associated with PresenceUpdate.activities, I'd imagine this has something to do with changes rolled out in the Recent Activities beta


[SPARK-5623][GraphX] Replace an obsolete mapReduceTriplets with a new aggregateMessages in GraphSuite

Can one of the admins verify this patch?

ok to test

Test build #26853 has started for   PR 4402 at commit a7eb3d0.

This patch merges cleanly.

Test build #26853 has finished for   PR 4402 at commit a7eb3d0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26853/
Test PASSed.

@maropu this looks stale. Is it still something you think should be merged? maybe you can rebase and then it can be reviewed if so.

Test build #30450 has started for   PR 4402 at commit 5810ff2.

Test build #30450 has finished for   PR 4402 at commit 5810ff2.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.
This patch does not change any dependencies.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30450/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30449/
Test FAILed.

Test build #30454 has started for   PR 4402 at commit 182b39b.

Test build #30454 has finished for   PR 4402 at commit 182b39b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.
This patch does not change any dependencies.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30454/
Test PASSed.

ok, fixed.

Can one of the admins verify this patch?

@ankurdave OK with you?

@maropu I think this was actually a good change, as we have had these deprecation warnings for a long time. Do you want to revive this and try to remove as many usages as possible? There may be some usages of the deprecated method in tests that try to test the deprecated method of course. Or, I may just propose separately that we remove deprecated methods in GraphX for 2.x

@srowen yes and I agreed that these duplicated methods should be removed in 2.x. However, since activities in the GraphX component are almost inactive, I don't  think pull requests someones make for GraphX are reviewed and merged actively in the current situation.

Yes, in this regard I'm happy to review and merge changes, since it is only removing use of a method that's already deprecated. In fact I think several other people are comfortable reviewing changes that remove the deprecated methods for Spark 2.x. If you feel up for it, go for it, otherwise I may have a look.

@srowen Okay and I'll do that.

@srowen Is there any JIRA ticket about this topic?

SPARK-5623 I suppose, but that's not about removing the deprecated methods. You could close it and make a subtask of https://issues.apache.org/jira/browse/SPARK-11806 for this.

okay.


Improve typedef for callback used as parameter

PR checklist

[x] Addresses an existing issue: #227 ; #2000
[x] Includes tests

Overview of change:
Typedef arrow-call-signature now return error for
someFunc(() => {});

Is there anything you'd like reviewers to focus on?
Actually, with all typedef rules actives.
const A = () => {} // error (return type)
someFunc(() => {}); // no error
someFunc((n) => {}); // error (param type)
setTimeout(function() {}, 1000); // error (return type)

After the PR, error everywhere ; for consistency.
Here https://github.com/palantir/tslint/issues/2000#issuecomment-435629910, a suggestion is a child-arrow-call-signature. That's a possibility, but we have to (for consistency) add a child-arrow-parameter too, which is also a suggestion here https://github.com/palantir/tslint/issues/813.
We, then, have to decide before if we want also a child-parameter and a child-call-signature.
I can do it if you prefer.
Personally I don't think all these options are necessary. The typedef is a style rule for people who want to type the code (more like a documentation) even if it's not necessary thanks to inference. If you don't want to be redundant and infer as much type you can, just use the noImplicitAny option in tsconfig.

@JoshuaKGoldberg
The question "Is it breaking change or is it bug fix" is in a way kinda debatable.
There was no consistency in this example
const A = () => {} // error (return type)
someFunc(() => {}); // no error
someFunc((n) => {}); // error (param type)
setTimeout(function() {}, 1000); // error (return type)

So you can think it was a bug to not detect the error for callback return type.
But I can understand the "breaking change" point of view.

@JoshuaKGoldberg @adidahiya Is it a breaking change or a bug fix ? I think it's debatable.

breaking change or a bug fix

Both? 😄
Even if this is considered a bug, it's a pretty big change. If a project already enables the rule under the expectation that scenario of arrow lambdas passed to methods shouldn't be flagged, then it starts flagging them, it'd become more difficult to migrate to the next TSLint version (even if this is desirable).

@JoshuaKGoldberg @adidahiya I agree it will be easier with something like arrow-callback-call-signature option. But it does not make any sense having an option for callback in arrow function, and not in standard function, or an option for callback return type in arrow function, and not parameter type in callback function.
A bug fix is always a breaking change. Before the rule had false positive, now it correctly find the errors.
But if you prefer, you can wait for the next major version. But in this case I have a question. When is it planned ? There is already a lot of Breaking changes waiting for it.
https://github.com/palantir/tslint/pulls?q=is%3Aopen+is%3Apr+label%3A"Type%3A+Breaking+Change"

@VincentLanglet great question! 😄 just filed #4811 to discuss.

@JoshuaKGoldberg Great ! Is this PR ready for 6.0.0 version ?

Deferring to @adidahiya for review now that we're ready for breaking changes (#4811).

thanks for the PR @VincentLanglet!


MNT enable codecov on all platforms

Atm, only Linux builds are checked for coverage.
Since codecov supposedly merges reports from different platforms automatically,
we could easily enable it on all platforms.

Codecov Report

Merging #60 into master will decrease coverage by 0.15%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
- Coverage   99.17%   99.02%   -0.16%
==========================================
  Files          55       55
  Lines        4491     4498       +7
  Branches      494      497       +3
==========================================
  Hits         4454     4454
- Misses         18       23       +5
- Partials       19       21       +2

Impacted Files
Coverage Δ

skhubness/neighbors/tests/test_lsh.py
96.42% <0.00%> (-3.58%)
:arrow_down:

skhubness/utils/platform.py
55.55% <0.00%> (-44.45%)
: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 7650474...755fa57. Read the comment docs.


[DDO-2875] Use SIGWINCH to stop Apache, only use SIGTERM after 25 seconds

My vscode insisted on fixing some formatting, sorry.
So there's a Docker directive to configure which signal to send when the container is told to shut down, STOPSIGNAL. Kubernetes says "many" container runtimes respect this, and those container runtimes are the ones who would choose to send SIGTERM as the default anyway.
Benefit of sending SIGWINCH (yes, that's the non-POSIX signal for window size changes) is that's what Apache uses for its graceful shutdown behavior. SIGTERM, meanwhile, causes an "immediate" exit.
Kubernetes will step in eventually (30 seconds by default) and send SIGKILL to anything still running in the container. Rather than going straight from SIGWINCH to SIGKILL, this PR also sets Apache's GracefulShutdownTimeout directive to a default of 25 seconds (after which the parent Apache process will send SIGTERM to children). It does so by including another .conf file, so it is additive to whatever configuration we mount in Kubernetes. It's configurable via GRACEFUL_SHUTDOWN_TIMEOUT if we need.
Note that DevOps recently just extended our pod timeout grace period to 60 seconds, up from 30.
Testing
I swapped beehive-dev over to this proxy version without issue. No matter what I do I can't seem to get [notice] messages appearing to verify the signal that apache is receiving, but I'm confident that whatever I'm doing it isn't worse than the current behavior.

I've spent most of today trying to see [notice] logs that Apache is supposed to print upon shutdown. I can't get it. If anyone has ideas I'm happy to hear them. I've tried every combination of ErrorLog and LogLevel and CustomLog etc and I'm never able to see anything like [notice] caught SIGWINCH, shutting down gracefully. Since GCP also shuts down networking immediately, we can't actually test that this fixes a user-facing issue.

Risk
I'll have to update charts to use this. If there's issues I expect we'd see them long before production.
There's some risk to local dev flows here if they use the proxy. Before, ctrl+c on a container would forcibly kill any connections. Now, it'll block for up to 25 seconds trying to gracefully shut down. I... don't really see that as a problem, I think it might be a nudge towards apps/UIs actually handling shut downs properly. I guess what I'm saying is this PR might reveal long-standing issues in our apps that we've been able to ignore so far in our local dev flows. If people really dislike it then their local dev scripts can opt to send SIGTERMs directly, there's a flag for that on the docker CLI.

assume this means seconds, can you confirm?
yeah, 25 seconds, unfortunately Apache's field name isn't labeled. The units are in the readme and in the .conf file itself


Question: Does this work with redux DevTools?

https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?utm_source=chrome-app-launcher-info-dialog

Absolutely. See the example-app. The integration is done using store-devtools.


feat(shortcuts): Added export of AddShortcut & EditShortuct

Hey, I just made a Pull Request!

I think was really cool if AddShortcut And EditShortcut Modals and his logic could be available to import from external sources.
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Hey,
Not sure about this one. If you look at it from a public-API standpoint, it's odd to export something that's so specific that it has an anchorEl and stuff in it. That means that anybody can put them in any context with any text and any icon etc that they want - is that the right balance?
What really is the more precise end user experience that you want to build? Would it make more sense to export something like a ShortcutButton instead? Then that could internally work such that the current page (or a different page if you pass in an optional prop) is added if it didn't already exist as a shortcut, or the edit dialog pops up if it did exist as a shortcut.
The button could be really simple and have the shortcut icon on it and nothing else.
Something similar to what the FavoriteEntity component does, kind of


Updating and debugging sequence_dataset()

Hello,
Thank you very much for this open project and resources. I am researching Imitation and inverse reinforcement learning. D4RL has been a lifesaver.
The following code returns an error since some keys in the dataset arent np.ndarray or they don't present each step. I have fixed that by selecting the proper keys. Also to speed up the generator, I have added some limits on either the number of steps or episodes.
for k in dataset:
            data_[k].append(dataset[k][i])

I hope this pull request will be accepted
Thanks,

I seem to be erroring out on this line when I call d4rl.sequence_dataset(env) where env is any halfcheetah-medium-v2, hopper-medium-v2, or walker2d-medium-v2.
File "foo.py", line 111, in get_dataset
    for traj in d_iter:
File "/home/user/.conda/envs/d4rl/lib/python3.7/site-packages/d4rl/__init__.py", line 175, in sequence_dataset
    data_[k].append(dataset[k][i])
IndexError: invalid index to scalar variable.


CAMEL-20798: EndpointServiceLocation on components to make it possibl…

…e to know which remote system Camel connects to to assist for monitoring and observability - AWS S3
Description

Target

[x] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[ ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[x] I checked that each commit in the pull request has a meaningful subject line and body.

[x] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

 89727  aws-s3-to-log  aws2-s3    in   s3        kamelets-demo.eu-west-1.s3.amazonaws.com/  region=eu-west-1      0  aws2-s3://kamelets-demo?accessKey=xxxxxx&autoCreateBucket=false&delay=500&deleteAfterRe…
 89727  aws-s3-to-log  aws2-s3    out  s3        kamelets-demo.eu-west-1.s3.amazonaws.com/  region=eu-west-1      0  aws2-s3://kamelets-demo?accessKey=xxxxxx&autoCreateBucket=false&delay=500&deleteAfterRe…


move connectivitycheckcontroller to library-go

@sanchezl you're on the hook for tests and doc.  This fixes our immediate problem though.
/lgtm


NIST_K571   NIST_K409

NIST_K571
const gf2elem_t coeff_b    = { 0x00000001,
NIST_K409
const gf2elem_t coeff_b    = { 0x00000001,

Hi @Andyvff - can you please elaborate the question a bit? I'm not sure what you are hinting at :)

You need to fix these bits. And then 409 and 571 work. ;)
пн, 6 апр. 2020 г. в 21:37, kokke<EMAIL_ADDRESS>
Hi @Andyvff https://github.com/Andyvff - can you please elaborate the
question a bit? I'm not sure what you are hinting at :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kokke/tiny-ECDH-c/issues/20#issuecomment-609966579,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALBVVKZXXAZNTNRN3CQYLSLRLIOOBANCNFSM4MCONI5Q
.

:D!
Thanks a lot. If you want to be in the contributors list, make a PR and I will accept it :)

Add ECDSA. code in fork. need test
https://www.youtube.com/playlist?list=PLHwjNvYEPHoRHkaBJk7y8r4FG_fxD3QY3     ;)

Hi @Andyvff - that is awesome :)
I will see if I can get some testing done on your fork tonight.

@Andyvff what is the XPSR assembly stuff doing?
I don't have access to any ARM hardware I ran run it on, and I'm having trouble compiling the example.
What are you using as the hash in the verification-step ?

automatic translation from Russian.
I am not a mathematician. therefore there may be errors in the program. I wrote the program under stm32. I checked on it. The place where this is important is long plus and long minus, there is an analysis of overflow, which is taken from the processor register.{XPSR()}  The private key, K and Hash are all generated in a random sequence.  I checked the logic code in C #, Biginteger.
added by ecdh_example.c
u32 iran;
u32 Random(void){
iran=(iran*(u32)4096+(u32)150889)%(u32)714025;
return iran;
};

Hi @Andyvff - can you upload the STM32 code you've been testing with?
I can't find the Random function in your github repository, so maybe it is not the same as the code from the youtube-videos?
I would very much like to get ECDSA working, and if your changes work on the STM32, I think it should be possible to port the changes and merge them into the project :)

replaced by prng_next ;)
вт, 12 мая 2020 г. в 14:20, kokke<EMAIL_ADDRESS>
Hi @Andyvff https://github.com/Andyvff - can you upload the STM32 code
you've been testing with?
I can't find the Random function in your github repository, so maybe it is
not the same as the code from the youtube-videos?
I would very much like to get ECDSA working, and if your changes work on
the STM32, I think it should be possible to port the changes and merge them
into the project :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kokke/tiny-ECDH-c/issues/20#issuecomment-627279075,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALBVVK2VLGKMAZEIYBW7MTLRREWHLANCNFSM4MCONI5Q
.


fix: Update confirmation view design

The type of this PR is: Fix

This PR solves []
Description
This PR updates the confirmation view design in the inquiry flow
Screenshots

mWeb
Desktop

@lordkiz I will merge this one now since it's not a big change, let me know if you have any concerns about it :)

Looks good 👍 . Sorry I missed this.


Refactoring of the plex.tv spec

Hi @LukeHagar,
I went kind of overboard with this and migrated everything into stoplight.io which provides a great GUI to design everything correctly!
This is what I have made so far: https://jasonlandbridge.stoplight.io/docs/openplexapi/branches/main/3555eb4d9e522-plex-api
It's still a work in progress but I have already done the following:

Ensure everything is compliant with spec 3.1
Tested all API and ensured their responses are correct
Added many descriptions to the various properties

The latest spec from stoplight.io is in this PR.
If this PR is accepted then I can start adding more API's by reverse engineering the Plex Web App and migrating Python-PlexAPI
Feedback is very welcome!

@LukeHagar I have further polished and split out the reused models as much as possible

This PR has been integrated separately into the main spec