Switching between "cargo check" and "cargo build " keeps rebuilding dependencies

Problem

In Miri, switching between debug-building the project and checking it rebuilds the dependencies each time. The two builds use different flags, and I got used to different flags meaning that the final binary gets rebuilt all the time, but at least the dependencies usually got properly cached -- so it feels like there is some kind of bug here.
Steps

Clone https://github.com/rust-lang/miri/
Run ./miri build
Run cargo check (usually this happens because I save a file in vscode)
Run ./miri build again

Expected behavior: the build is a NOP as everything was already built in step 2. At most, the final binary should be rebuilt (not great, but cargo currently cannot do better I think).
Actual behavior: it rebuilds most of the dependencies.
Work-around: do a release build instead. That seems to not have its cache mixed up with check builds. But release builds also take longer, so this is not a great solution.
Output of cargo version:
cargo 1.46.0-nightly (c26576f9a 2020-06-23)

Hm, following the steps doesn't seem to rebuild for me.  I also tried ./miri check in step 2, and that also seemed ok.  Do you maybe run cargo check --release in step 2?  Otherwise, from reading the miri script, it should be in the release directory and cargo check should be in the debug directory, there should be no overlap.
You can run with the CARGO_LOG=cargo::core::compiler::fingerprint=trace environment variable to get an explanation of why cargo thinks it needs to rebuild.
If it is cargo check --release you are running, this is because RUSTFLAGS is not incorporated in the filename hash.  (It did for a brief time, but was reverted in #7417.)  Build scripts are shared between check and build, so they need to be rebuilt (which is a separate issue of #3739 where build scripts share RUSTFLAGS with the target).
If you cannot unify RUSTFLAGS between the environments, I would recommend using separate target directories.  Alternatively, use the --target flag so that RUSTFLAGS is not shared with build scripts.
Also, looking it its use of RUSTFLAGS, I would consider investigating using cargo profiles instead.  It looks like all those flags are part of the profile.  Using profiles should work better than RUSTFLAGS.

Hm, following the steps doesn't seem to rebuild for me. I also tried ./miri check in step 2, and that also seemed ok.

Yes that is less surprising as it also uses the same flags.

Do you maybe run cargo check --release in step 2? Otherwise, from reading the miri script, it should be in the release directory and cargo check should be in the debug directory, there should be no overlap.

Oh sorry, my instructions were wrong... I meant build-debug instead of build. I will update the OP.

If it is cargo check --release you are running, this is because RUSTFLAGS is not incorporated in the filename hash. (It did for a brief time, but was reverted in #7417.) Build scripts are shared between check and build, so they need to be rebuilt (which is a separate issue of #3739 where build scripts share RUSTFLAGS with the target).

Oh I see, that would explain the problem then, thanks.

Also, looking it its use of RUSTFLAGS, I would consider investigating using cargo profiles instead. It looks like all those flags are part of the profile. Using profiles should work better than RUSTFLAGS.

The problem is that we do not want those flags to be used when the same project, included as a submodule in the rustc  tree, is built for rustup. I will look into what I can do with profiles.

The one thing I think I cannot set with a profile is -C link-args=-Wl,-rpath,$LIBDIR. At least I found nothing searching for "link-args" on https://doc.rust-lang.org/cargo/reference/profiles.html. So looks like I do need to use $RUSTFLAGS?

But it looks like adding --target helped indeed. :-)


Update the build tools

Currently, the Gradle tools are 3.2.1 update it to 3.5.0 and upgrade the versions of dependencies

@Chromicle  I'll work on this issue.


Understand how to use LLVM IRBuilder

How to use LLVM IRBuilder with ANTLR AST

Include which libraries
What are member variables
How to use and test run function declaration only

References:

https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.html
https://github.com/swetanjal/MiniC-Compiler/blob/master/ast.h#L490
https://github.com/Kaida-Amethyst/Antlr4-LLVM/blob/master/Blogs/Chapter-2-Basic-Workflow-Part-I.md

Done


Update README.md for Windows Powershell

$PWD isn't supported under powershell

@rml1997 can you target to oracle:develop? Then we can promote to master.

@junior done


Alter DataManager for new valid input

No User Story
The current DataManager init and createPandasDataFrame functions don't work for the file that Ziker gave us.
must allow for an arbitrary number of columns and select only 5 to put into the DataFrame (Ego, Father, Mother, Sex, Living)
must alter alter the values to default values for modularity (9999 for missing, ID's are int, Sex is M/F, Living is Y/N)

Input File Fixes from Meeting with Ziker
{t:45}

Fixing Problems with PR Build Tests
{t:15}


[tool_crash] OSError: OS Error: Can't assign requested address, errno = 49

Command
flutter --no-color attach --machine --device-id=613E8721-2BEC-4266-8E2C-F9B74EB15E40 lib/main.dart

Steps to Reproduce

...
...
...

Logs
OSError: OS Error: Can't assign requested address, errno = 49
#0      _NativeSocket.nativeSetRawOption (dart:io-patch/socket_patch.dart:1731:74)
#1      _NativeSocket.setRawOption (dart:io-patch/socket_patch.dart:1627:5)
#2      _RawDatagramSocket.setRawOption (dart:io-patch/socket_patch.dart:2568:56)
#3      MDnsClient.start (package:multicast_dns/multicast_dns.dart:145:16)
<asynchronous suspension>
#4      MDnsObservatoryDiscovery.query (package:flutter_tools/src/mdns_discovery.dart:63:7)
<asynchronous suspension>
#5      MDnsObservatoryDiscovery.getObservatoryUri (package:flutter_tools/src/mdns_discovery.dart:153:52)
<asynchronous suspension>
#6      AttachCommand._attachToDevice (package:flutter_tools/src/commands/attach.dart:307:11)
<asynchronous suspension>
#7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#8      AttachCommand.runCommand (package:flutter_tools/src/commands/attach.dart:254:5)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1257:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>

[!] Flutter (Channel stable, 3.7.8, on macOS 12.0.1 21A559 darwin-x64, locale zh-Hans-CN)
    • Flutter version 3.7.8 on channel stable at /Users/lipingkuan/Documents/flutter
    ! Upstream repository https://github.com/flutter/flutter.git is not the same as FLUTTER_GIT_URL
    • FLUTTER_GIT_URL = https://gitee.com/mirrors/Flutter.git
    • Framework revision 90c64ed42b (2 weeks ago), 2023-03-21 11:27:08 -0500
    • Engine revision 9aa7816315
    • Dart version 2.19.5
    • DevTools version 2.20.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/lipingkuan/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.76.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • iPhone 13 Pro (mobile) • 613E8721-2BEC-4266-8E2C-F9B74EB15E40 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-x64     • macOS 12.0.1 21A559 darwin-x64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 111.0.5563.146

[!] HTTP Host Availability
    ✗ HTTP host "https://pub.flutter-io.cn" is not reachable. Reason: An error occurred while checking the HTTP host: Operation timed out

! Doctor found issues in 3 categories.

Flutter Application Metadata
Type: module
Version: 1.0.0+1
Material: true
Android X: true
Module: true
Plugin: false
Android package: com.jd.dh.wc.jdf_jdh_wc_module
iOS bundle identifier: com.jd.dh.wc.jdfJdhWcModule
Creation channel: stable
Creation framework version: 2ad6cd72c040113b47ee9055e722606a490ef0da
Plugins
flutter_boost-48b84d813b537ca7e837ff2ad2dc51f437f7459e

Closing this as a duplicate of https://github.com/flutter/flutter/issues/97489. (It looks like the issue is caused by VPN software, please see https://github.com/flutter/flutter/issues/97489#issuecomment-1049629964)


TenantBackupRestore

Tenant Backup and Restore

[x] 5 new API from apidocs/#/Tenant Backup Restore (Currently there is no UI support on vManage)

[x] list
[x] export
[x] delete
[x] download
[x] import

[x] docstring
[x] unit test

Example usage:
from vmngclient.api.tenant_backup_restore_api import TenantBackupRestoreAPI
from vmngclient.session import create_vManageSession

tenant_session = create_vManageSession(
     tenant_domain, tenantadmin, password, port)
provider_tenant_session = create_vManageSession(
    domain, admin, password, port, subdomain=tenant_domain)

tenant_backup_restore = Tenant_backup_restoreAPI(tenant_session)
provider_backup_restore = Tenant_backup_restoreAPI(provider_tenant_session)

file_name = tenant_backup_restore.export()
file_list = provider_backup_restore.list()
file = tenant_backup_restore.download(file_name)
status = provider_backup_restore.import_file(file)
deleted_list = tenant_backup_restore.delete(file_name)
deleted_list = provider_backup_restore.delete_all()

This issue was migrated from an old repository: https://github.com/CiscoDevNet/catalystwan/pull/40


Fixed infinite recursion on initWithCoder: method

Anytime trying to load TKCalendarMonthViewController from the storyboard resulted in infinite recursion on the initWithCoder: method.

Almost a year later, I'm just going to close this..


Spotdl stop working

I stopped downloading songs from yesterday.
He writes that there is no song on YouTube
Updated to a new version today (3.0)
The same
Example:
spotdl -s "Imagine Dragons - Believer"
INFO: Downloading "Imagine Dragons - Believer"
ERROR: YouTube returned no videos for the search query "Imagine Dragons - Believer".

Same issue, installed from repo.
saresca@atear:~/Music$ spotdl https://open.spotify.com/track/6L89mwZXSOwYl76YXfX13s?si=c1RZaAnbQq2xzloF9JkTbQ Fetching Song...                                                                                Skipping Basket Case (https://open.spotify.com/track/6L89mwZXSOwYl76YXfX13s?si=c1RZaAnbQq2xzloF9JkTbQ) as no match could be found on youtube   0%|
saresca@atear:~/Music$ pip3 show spotdl
Name: spotdl
Version: 3.1.2
Summary: Downloads Spotify music from Youtube with metadata and album art
Home-page: https://github.com/ritiek/spotify-downloader
Author: Mikhail Zex (Not really my name)
Author-email<EMAIL_ADDRESS>License: MIT
Location: /home/saresca/.local/lib/python3.8/site-packages
Requires: pytube3, spotipy, tqdm, requests, rapidfuzz, mutagen
Required-by:

@igordmitrow, v3 doesn't have Unix-flags like -s and --song anymore. You should be running `spotdl "Imagine Dragons Believer" (the hyphen isn't really necessary)
@saresca, try uninstalling spotDL with pip-autoremove, ignore any errors. Reinstall spotDL using pip install spotdl and then run spotdl https://open.spotify.com/track/6L89mwZXSOwYl76YXfX13s?si=c1RZaAnbQq2xzloF9JkTbQ
If it still says, no match could be found on YouTube, we really can't download that song with the current search filtering. There is work being done to fix it.

Getting this error too. The only work around right now is pasting a youtube link to what I want to download instead of giving it the spotify link.

Spotdl v3 doesn't accept YouTube links as input. It'll throw an error. After you sue threat your using v3?

I used the latest v2. Forgot to mention that.
On Sat, Oct 24, 2020 at 11:14 PM Michael George<EMAIL_ADDRESS>wrote:

Spotdl v3 doesn't accept YouTube links as input. It'll throw an error.
After you sue threat your using v3?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/spotDL/spotify-downloader/issues/916#issuecomment-716087137,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEWNYGPSBDNZ5JRPS6MY75DSMOJZTANCNFSM4S45UBWQ
.

Well @callmeAtouk , we aren't really fixing v2. The guys who know v2 inside out are busy and we don't really have the time to try and fix v2. V3 errors are more numerous.
We're suggest that you try v3.

@callmeAtouk @saresca @igordmitrow v3 is broken due to pytube updates, see #930

Try v3.1.3

Should be fixed in v3.1.3
Comment below if it isn't.

v3.1.4 and the problem still persist. Any solution?

v3.1.4 and the problem still persist. Any solution?

@meshackvictor it has been patched in v3.2.1

pip install pip-autoremove
pip-autoremove spotdl --> y(yes)
pip cache purge
pip install spotdl
spotdl [trackURL]

@meshackvictor it has been patched in v3.2.1

pip install pip-autoremove
pip-autoremove spotdl --> y(yes)
pip cache purge
pip install spotdl
spotdl [trackURL]

am getting this error when i try downloading a song
~/Music » spotdl https://open.spotify.com/track/4pt5fDVTg5GhEvEtlz9dKk?si=d38f31de983041fb
Fetching Song...
Gathering Spotify Metadata for:
https://open.spotify.com/track/4pt5fDVTg5GhEvEtlz9dKk?si=d38f31de983041fb
Could not match any of the results on YouTube. Skipping
Traceback (most recent call last):
File "/home/kris/.local/bin/spotdl", line 8, in
sys.exit(console_entry_point())
File "/home/kris/.local/lib/python3.9/site-packages/spotdl/console/init.py", line 81, in console_entry_point
song_list = parse_query(
File "/home/kris/.local/lib/python3.9/site-packages/spotdl/parsers/query_parser.py", line 23, in parse_query
parse_request(request, format, use_youtube, generate_m3u, threads)
File "/home/kris/.local/lib/python3.9/site-packages/spotdl/parsers/query_parser.py", line 67, in parse_request
song = song_gatherer.from_spotify_url(request, output_format, use_youtube)
File "/home/kris/.local/lib/python3.9/site-packages/spotdl/search/song_gatherer.py", line 81, in from_spotify_url
raise LookupError("Could not match any of the results on YouTube for")
LookupError: Could not match any of the results on YouTube for

am getting this error when i try downloading a song
~/Music » spotdl https://open.spotify.com/track/4pt5fDVTg5GhEvEtlz9dKk?si=d38f31de983041fb
Fetching Song...
Gathering Spotify Metadata for:
https://open.spotify.com/track/4pt5fDVTg5GhEvEtlz9dKk?si=d38f31de983041fb
Could not match any of the results on YouTube. Skipping
Traceback (most recent call last):
File "/home/kris/.local/bin/spotdl", line 8, in
sys.exit(console_entry_point())
File "/home/kris/.local/lib/python3.9/site-packages/spotdl/console/init.py", line 81, in console_entry_point
song_list = parse_query(
File "/home/kris/.local/lib/python3.9/site-packages/spotdl/parsers/query_parser.py", line 23, in parse_query
parse_request(request, format, use_youtube, generate_m3u, threads)
File "/home/kris/.local/lib/python3.9/site-packages/spotdl/parsers/query_parser.py", line 67, in parse_request
song = song_gatherer.from_spotify_url(request, output_format, use_youtube)
File "/home/kris/.local/lib/python3.9/site-packages/spotdl/search/song_gatherer.py", line 81, in from_spotify_url
raise LookupError("Could not match any of the results on YouTube for")
LookupError: Could not match any of the results on YouTube for

@kris-slinger

Please update spotDL pip install -U --force spotdl pytube ytmusicapi youtube-dl spotipy
Don't spam your issue.

am sorry @Silverarmor.after updating spotdl,i got this error when i tried downloading a song.
~/Music » spotdl https://open.spotify.com/track/02kDW379Yfd5PzW5A6vuGt?si=2e19b3df8e614ac8
Fetching Song...
Gathering Spotify Metadata for:
https://open.spotify.com/track/02kDW379Yfd5PzW5A6vuGt?si=2e19b3df8e614ac8
Could not match any of the results on YouTube. Skipping
Traceback (most recent call last):
File "/home/kris/.local/bin/spotdl", line 8, in
sys.exit(console_entry_point())
File "/home/kris/.local/lib/python3.9/site-packages/spotdl/console/init.py", line 81, in console_entry_point
song_list = parse_query(
File "/home/kris/.local/lib/python3.9/site-packages/spotdl/parsers/query_parser.py", line 23, in parse_query
parse_request(request, format, use_youtube, generate_m3u, threads)
File "/home/kris/.local/lib/python3.9/site-packages/spotdl/parsers/query_parser.py", line 67, in parse_request
song = song_gatherer.from_spotify_url(request, output_format, use_youtube)
File "/home/kris/.local/lib/python3.9/site-packages/spotdl/search/song_gatherer.py", line 81, in from_spotify_url
raise LookupError("Could not match any of the results on YouTube for")
LookupError: Could not match any of the results on YouTube for
thanks alot for the help...


WIP: fix races in bytes.Buffer related code in rpc_codec.go

Signed-off-by: Vasiliy Tolstov<EMAIL_ADDRESS>

needs testing feedback


Added missing Entries

Full attributes not confirming to broadband schema is also removed.

https://jenkins.code.rdkcentral.com/job/github-triggered/23808/ started

https://jenkins.code.rdkcentral.com/job/build-component/59310/ started.

https://jenkins.cmf.code.rdkcentral.com/job/github-triggered/16495/ started

https://jenkins.cmf.code.rdkcentral.com/job/build-component-platform/28036/ started.

Smoke tests for ['build-rpi-hybrid-refapp2'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/129099/

Smoke tests for ['build-rpi-hybrid-wpe-dunfell'/'build-rpi-mc-wpe-dunfell'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/129100/


:sparkles: request tweet as linked entry in Rich Text and render

📝Changed routes:

/

(view full size)

Commit a05b84326ee8b506a507c95e463c94ea4ad56d32 (https://p4nth3rblog-d1twewzd6-whitep4nth3r.vercel.app).


airflow-docker

Add docker-compose.yml file

Use airflow:2.7.2-python3.9
Set AIRFLOW__CORE__LOAD_EXAMPLES to false

Add logs to gitignore
Fix import in dags/udac_example_dag

Airflow was launched by running $ docker-compose up -d. Then, udac_example_dag ran without problems using Airflow WebUI.


Enhance query performance using batch-loading

Use batch-loading for organisation fields
Avoid hidden database-select by peewee
Make more use of base-loader
Make more use of user-loader
Introduce SimpleDataLoader class

 2.0 Enhance query performance


Error log

Hi Craig,
I receive these error logs and not sure if you are the correct person to report them too.
Logger: homeassistant.util.async_
Source: util/async_.py:157
First occurred: July 31, 2022 at 6:12:05 PM (2 occurrences)
Last logged: August 1, 2022 at 8:22:15 PM
Detected blocking call to sleep inside the event loop. This is causing stability issues. Please report issue to the custom component author for pyscript doing blocking calls at custom_components/pyscript/eval.py, line 1906: return func(*args, **kwargs)

That's most likely because your script is calling some function that blocks.  See the documentation.


Set Up Your Notebooks. Broken reference links

https://www.kubeflow.org/docs/components/notebooks/setup/
Under 'Next Steps' --> 'Building Docker Images' Link is broken.
Currently its pointing to: https://www.kubeflow.org/docs/components/notebooks/submit-docker-image/

@arunnalpet done


Functions should do one thing

See Functions should do one thing.
Example is terrible.
My proposal for improvement was rejected #22
Need to think about how to make an example easier and better.

Perhaps we should delete this section, because it's analogous of Single Responsibility Principle (SRP).

Perhaps we should delete this section, because it's analogous of Single Responsibility Principle (SRP).

Agreed. The logic is basically identical + OOP promotes more robuts behavior
Could you send PR to delete https://github.com/jupeter/clean-code-php#functions-should-do-one-thing ?

@TomasVotruba i create PR for this #170

Bob Martin's "Clean Architecture" book says that "a function should do one, and only one, thing" is different to SRP, I don't know if that sways your thinking about keeping this section? I'm new here, but I'd personally think it's good to keep, maybe with a better example as Peter suggested.

Of all the SOLID principles, the Single Responsibility Principle (SRP) might be the least well understood. That’s likely because it has a particularly inappropriate name. It is too easy for programmers to hear the name and then assume that it means that every module should do just one thing. Make no mistake, there is a principle like that. A function should do one, and only one, thing. We use that principle when we are refactoring large functions into smaller functions; we use it at the lowest levels. But it is not one of the SOLID principles—it is not the SRP.

The logic is same for class/method/property, so it only needs to be said once.
See Occams razor.


support client.authentication.k8s.io/v1

currently kubelogin hardcodes to v1beta1

https://kubernetes.io/docs/reference/access-authn-authz/authentication/#configuration


Allow property-wise subtyping for destructured bindings

Generally, property-wise subtyping is not safe because of aliasing.
type X = { foo: string, bar: number };
type Y = { foo: string, bar?: number };
var x: X = { foo: "foo", bar: 0 };
var y: Y = x; // Unsound, even though X < Y
y.bar = undefined; // Here's why: (x : X) no longer holds

However, with destructured bindings, you don't end up with a reference
to the object on the RHS, so this kind of error isn't possible.
The reason-mangling is a bit unfortunate here. mk_type_annotation does
take a reason parameter, but discards it when there is a type
annotation and uses the reason generated from convert instead. For
objects, we end up with reason description of "object type".
This commit adds a prefix to the generated reason, which is not too
intrusive, so we have "destructured object type" instead. This makes
it possible to identify the destructured binding in order to whitelist
the pattern for subtyping.
Fixes #729

Let me know if I should rebase this change—it should apply trivially, in spite of conflicts.

Unfortunately the destructuring only strips the top-level reference. Consider:
var x: {p: {q: number}} = {p: {q: 0}};
var {p}: {p: {q: number|string}} = x;
p.q = "hey";

Ack. You're right. We need const types (not bindings)!

Yup, exactly! Cried these same tears recently over read-only params, actually. Const types are the shining path. :)


[CT-2572] [Feature] Enable partial parsing when --target is the same as the default target in profiles.yml

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
When executing a dbt command with -t or --target command line argument and the previous command was executed without the target argument, dbt is unable to do a partial parse even if the target is the same as defined in profiles.yml.
Expected Behavior
As long as the target stays the same between between executions, a partial parse should be possible if nothing else has changed.
Steps To Reproduce

Create a dbt project with dbt init with any connector.
Create a profile.yml with at least one output and set target to that output
Run dbt parse -> does a full parse (expected)
Run dbt parse -t <same value as profiles.yml target> -> does a full parse again (unexpected)

Relevant log output
% dbt parse
11:05:41  Running with dbt=1.4.6
11:05:41  Start parsing.
11:05:41  Dependencies loaded
11:05:41  ManifestLoader created
11:05:41  Manifest loaded
11:05:41  Manifest checked
11:05:41  Flat graph built
11:05:41  Manifest finished loading
11:05:41  Performance info: target/perf_info.json
11:05:41  Done.
% dbt parse -t dev
11:05:47  Running with dbt=1.4.6
11:05:47  Start parsing.
11:05:47  Dependencies loaded
11:05:47  Unable to do partial parsing because config vars, config profile, or config target have changed
11:05:47  ManifestLoader created
11:05:47  Manifest loaded
11:05:47  Manifest checked
11:05:47  Flat graph built
11:05:47  Manifest finished loading
11:05:47  Performance info: target/perf_info.json
11:05:47  Done.
% dbt parse -t dev
11:05:51  Running with dbt=1.4.6
11:05:51  Start parsing.
11:05:51  Dependencies loaded
11:05:51  ManifestLoader created
11:05:51  Manifest loaded
11:05:51  Manifest checked
11:05:51  Flat graph built
11:05:51  Manifest finished loading
11:05:51  Performance info: target/perf_info.json
11:05:51  Done.
% dbt parse
11:05:56  Running with dbt=1.4.6
11:05:56  Start parsing.
11:05:56  Dependencies loaded
11:05:56  Unable to do partial parsing because config vars, config profile, or config target have changed
11:05:56  ManifestLoader created
11:05:56  Manifest loaded
11:05:56  Manifest checked
11:05:56  Flat graph built
11:05:56  Manifest finished loading
11:05:56  Performance info: target/perf_info.json
11:05:56  Done.

Environment
- OS: MacOS 13.3
- Python: Python ^3.9
- dbt: ~1.4.5

Which database adapter are you using with dbt?
bigquery, other (mention it in "Additional Context")
Additional Context
Also tested with dbt-sqlite but should be unrelated to connector because it is a parser issue

Thanks for reporting this @ssuhre !
I was able to reproduce it using dbt-duckdb and the minimal project files listed below.

Reprex project files
dbt_project.yml
name: "my_dbt_project"
version: "1.0.0"
config-version: 2
profile: "sandcastle"

profiles.yml
sandcastle:
  target: dev
  outputs:
    dev:
      type: duckdb
      schema: dev
      path: 'db.db'

I see what you are saying that both of the following should be isomorphic and so would ideally use partial parsing (as long as nothing else relevant changed):
dbt parse -t dev

dbt parse

I'm going to re-categorize this as a feature request since this is a performance optimization that is nice-to-have rather than a must-have and the workaround is simple.
We wouldn't be likely to take this on ourselves anytime soon, so I'm going to label this as help_wanted.

Thank you for the very quick response @dbeatty10 :)
In my mind this was unexpected behaviour (i.e. a bug) but I don't know the internals of dbt that well so re-categorizing sounds good. We noticed this behaviour because of a change in our container built dbt pipeline and decided to open an issue in case somebody else had this issue and was looking for unexplained full parses.

05:54:29  Unable to do partial parsing because config vars, config profile, or config target have changed

Hi all, I encountered same problem, may I know is this issue resolved? or any workaround for this issue? thanks

We aren't able prioritize this ourselves, but we'd welcome a pull request for this.
Workaround
My understanding is that if you don't supply --target in cases where it matches your default target in profiles.yml, then partial parsing should be preserved.
Could. you give that a shot and let us know if that workaround behaves that way?


type adapters, bundled route configuration

Adds type for edge spec configuration & edge spec adapters.
I also thought about including typings in the compiled code in src/bundle/bundle.ts, but I decided against it - thoughts? @codetheweb

I also thought about including typings in the compiled code in src/bundle/bundle.ts, but I decided against it - thoughts?

I don't think we need to for now, can add it later if it turns out to not be very ergonomic when importing built modules


Support reference count in varlen pool.

Integrate the reference count into the varlen pool. Add some test cases.
Need to further change the logic of the update executor. Just want to try out the travis memory check.
#396

Coverage decreased (-0.09%) to 54.924% when pulling 07ca893d9d2fe67eba5194a93f7609f0d20987f3 on jessesleeping:master into 89c57afdf4388ddf2246e4ae4aee3fd9a777aa93 on cmu-db:master.

Coverage remained the same at 55.316% when pulling 6647a98cee3dccf60969b2c68711e629c2a4a802 on jessesleeping:master into bd24d9ece4e3b856668d07beb3640453c794e8e7 on cmu-db:master.


Password input is not showing correctly when autocompleted

Hello,
Password inputs display incorrectly when you have auto-complete on in browser(e.g. Login form with saved password). Attached is a file showing the current behavior.

This happens to when you load data automatically from the server into the form.

@lcdss still the control should render itself as active, or is this something that i should do by myself ?

Labels should change their state to active if not empty and input only if it is in focus.

I know this, but should I do something with it or it should be triggered by the materialize ?

These events should be triggered by the materializecss, so you don't needs do anything. Personally i'm not recommend using materializecss in production cause it is very unstable, for now.

The issue is discussed in #194

Closed due inactivity and missing feedback. Feel free to reopen it, if it's still necessary.


Fix lack of exports field in package.json

This PR fixes #46, and proactively fixes it for the other packages.

Thanks for the submission @b3nten!
Unfortunately, it looks like this might have thwarted the test runner. (Why did I use Jest anyway?!)
I'll look into it as soon as I can, or, if you prefer, you can feel free to continue working on it.

The issue is these config options in the solid packages tsconfig, which are absent in the rest of the packages.
  "compilerOptions": {
    "module": "ES2015",
    "moduleResolution": "Bundler",
    // ...
  }

Thanks @b3nten!


add support for components implementing the actor pattern

What does this PR do?
This adds a small supporting library for actor-shaped components.  This isn't used yet, but is likely to be useful in several components and it's easier to just get it in place first, rather than having those components "race" to see who introduces this support.
Motivation

Additional Notes
This PR is against a base branch containing #13699 and #13662.  Once those are merged, I'll change the base of this PR to main and rebase, but it can be reviewed in the interim.
Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Do we have specific use-cases in mind for this? Do we need to open PRs on stuff we aren't quite sure we have specific use for at this time, even if it's good code like this?

At least lots of things in the logs-agent are structured as actors.  I'd like to have this functionality ready to roll before it's needed, so that whoever needs it first does not need to re-invent it.

Collective response to @ogaca-dd's coments:
Here is an example of the use of the actor pattern.
Note that the select { .. } contains the alive and Done arms, but also application-specific arms (sourceChangeRx.Chan in this case, but could be more than one, or timers, or even different select{ .. } statements in different conditions).  Because this select needs to encode the set of polled channels in the source code, it's not possible to abstract the loop into the Actor type.  (Well, it is probably possible with reflect.Select() but at a cost in performance without simplifying implementations)
Regarding Start and Stop being exported: my intent had been to allow a component to either use HookLifecycle or call Start and Stop directly.  But that may be too much flexibility.  And, you're correct that Start/Stop must not be called concurrently!
Thinking further about @truthbk's question: this PR will probably make more sense when there's a health component, as it the becomes an easy and effective way to get health monitoring for active components.
So I'll make Start/Stop unexported and then mark this as a draft until ASC-191 is done.

=== FAIL: . TestPreGeneratedIntegrityChecks (re-run 2) (0.07s)
    repository_test.go:494:
        	Error Trace:	repository_test.go:494
        	Error:      	Received unexpected error:
        	            	expired at 2022-11-03 18:01:32 +0000 UTC
        	Test:       	TestPreGeneratedIntegrityChecks

these are because of an expired cert in the tests for remote-config.

I am closing this PR for now and reopen it if there will be a concrete usage of the actor pattern.


Swift 3 syntax error

Starting a project from scratch Xcode and added my fork of this repo as a development pod Xcode complains about Swift 3 syntax, I perform the automatic conversion and raises about 94 errors, what I'm doing wrong?

I cloned the Viperit repo and everything is building fine.
You should just clone the repo and and open the Xcode project file. You don't need to create a development pod. You'll see that the project has 3 targets. The framework itself, the tests and the example app.


Removing the scikit-build-core build dependency on git

This affects rpm builds that will use the tar balls on the package manager side. Currently these cannot be built because of the dynamic versioning via git.
Any plans or ETAs on this?

The tarballs (either from git archive tarballs or SDists) don't require git. Only a source checkout does (and you can work around this by setting an environment variable).
I am thinking we'll likely do this since in some build systems it causes setuptools_scm to leak, changing setuptools builds. But package managers should be able to handle the version part. scikit-build classic does exactly the same thing and uses a vcs version, by the way.

The tarballs (either from git archive tarballs or SDists) don't require git

I was referring to pip install . on those. You can build scikit-build-core without a .git folder? I previously had issues building with tito since it uses git archive.

and you can work around this by setting an environment variable

Didn't find a way to add environment variables to the rpm spec macro.
scikit_build cheats that because it is getting the pypi archive which might have the version file included? But I couldn't find any such generated file in the github release tar ball. We also want the rpm spec file to be usable by maintainers locally or via copr, for which the tito solution is most advantageous, but it cannot work out of the box yet because of this.

It should be there:
$ cat ~/Downloads/scikit-build-core-0.2.0/.git_archival.txt
node: 7b363782f56e3a528824b814cc805efd23af69d8
node-date: 2023-02-14T17:28:21-05:00
describe-name: v0.2.0
ref-names: tag: v0.2.0

Now that 0.2.0 is out, you probably can use the PyPI release here as well.

Oh, I need to do some testing around that. Maybe I can just fake that for the pr

Thank you, I have confirmed that this is a tito issue. Apparently the following approach does not generate the appropriate .git_archival.txt
$ git archive HEAD:./

If we remove the :./ it works fine, but I think that would not be ideal on their design. For the time-being I will mock up the file .git_archival.txt within the spec file so that it can get similar format until it is fixed upstream. This should not affect the official FedoraProject release since it will use the lookaside from the release archive.
Thanks for pointing me in the right direction on this one.


SQL table in py

Added Creating an SQL Table program in python

@shruti49 on website it says pull request not yet accepted


Restructure docs

Fixes issue #198
Proposed Changes

move most of the stuff in README to docs/
use mkdocs (material theme?)

Mkdocs website can be tried out by:
# from project root
pip install mkdocs mkdocs-material pymdown-extensions
mkdocs build
mkdocs serve

This is definitely going to be an iterative process, so please let me know how I can improve the structure/writing!

@uberspot @ramaro
Is there anything else on the docs that I should add or modify about? Should I update the part on secrets to reflect the upcoming change (i.e. change into refs)?

No that's ok, that can go in the same PR as the refs work. :) I'd consider this good to go.

@yoshi-1224 this is great! Good to go.

@yoshi-1224 it only needs a rebase to fix conflicts. :)

Hi @uberspot @ramaro
Thanks for the reviews! Just fixed the issue.
I also put a link to https://kapitan.dev under the documentation heading on README so that people visit that site rather than our docs/ folder. I don't think I have access to https://kapitan.dev so I guess this PR is done on my side? I believe the deployment can be performed as described in my first comment. Let me know if it doesn't

Doc deployed here https://kapitan.dev :)
Nice work @yoshi-1224 !
If you spot any broken links etc feel free to send a PR.
After any change to docs/ we also need to do mkdocs gh-deploy -b my_gh_branch_name to push the changes to my_gh_branch_name and then do a PR to merge to gh-pages.
I've added a branch rule to enforce that as well.


Fix for SW539617

Signed-off-by: Varsha Kaverappa<EMAIL_ADDRESS>

Upstream gerrit commit tracking these changes?


esp-idf 3.x is not tested in the field

not fixed yet, but documented in c55d6c99939b826d3b87388a8a0d169430e8adf9


Standardizing root location

@woutslabbinck  suggested it could be useful to have a standardized root e.g. root.ttl implemented for all bucketizers.
For the bucketizer-basic this could mean the root contains relations to all sequential pages (1.ttl ... n.ttl).

Some considerations as discussed with @ddvlanck:

For big LDESes the size of the root.ttl could grow substantially
When using root.ttl as the root, in some bucketizations such as the bucketizer-substring this could cause collisions with strings containing 'root', for example, 'Rootmoerelaan'

Initial suggestions:

allow for root pagination: root.ttl .. root-1.ttl .. root-n.ttl
use root as the default root and allow the end user to change for avoiding collisions

Also add method getRoot() to return root location.
This can be used for publishing announcements, see : https://github.com/TREEcg/LDES-Action/pull/57/


Don't check for location

Vision is moving back and forth between knowing the image and thinking
it’s in Ancient Rome.  Let’s not test such things.

LGTM


Page iteration

Hi, I'm using this library with flask to display file counts for any directory containing the word 'LOA', the page refreshes itself every 30 seconds. I have a problem with one directory which has 2805 files, this displays correctly for the first iteration, then every subsequent one it displays 805. I took off the .auto_paging_iter() from the file listing and it displays 1000 files, (I take it that is for one page?), I may be missing something obvious with this.
Have attached a snippet from my routes.py to show what I have done:
today = str(date.today())
api_key = os.environ.get("API_KEY")
#login to Files.com
files_sdk.set_api_key(api_key)
list_obj = files_sdk.list_for('/')
def getFileNumbers(list_obj):
#get loa directories
dir_dict = {}
directories = []

for f in list_obj.auto_paging_iter():
    if "LOA" in f.path.upper():
        directories.append(f.path)

#get file numbers in directories
for dir in directories:
    list_obj = files_sdk.list_for(dir)
    count = 0
    today_count = 0
    no_files = []

    for file in list_obj.auto_paging_iter():

        count += 1

        #get files uploaded today
        today_file = file.mtime[0:10]

        if today_file == today:
            today_count += 1

    print(count)
    no_files.append(count)
    no_files.append(today_count)
    dir_dict[dir] = no_files

return dir_dict

@app.route('/')
@app.route('/index')
@login_required
def index():
#api_key = app.config.get('api_key')

return render_template('index.html', dir_dict = getFileNumbers(list_obj))

Tried the function outside flask and the same happened, so maybe a problem with how I am using auto_page_iter().

Hi,
Thanks for reporting this.  Our Python SDK team will be looking into this and responding soon!

Actually, I hear from Matt at our Customer success team that he was able to get you handled.  I'll go ahead and close this issue.


close returns an Unknown Method: [object Object]

fixed

How is this fixed?
i have the following at my  function setup()
serial = new p5.SerialPort();
var refresh = createButton();
var serialList = createSelect();
serialList.position(100,10);
var list = [];
serialPortStatus = createP("Select port...");

serialList.changed(function (){
    serialPortStatus.html("Connecting to port: "+serialList.value());
    serial.close();
    serial.open(serialList.value());
});

serial.onList(function(theList){
    if(list.toString()!=theList.toString()){
        list = theList;
        console.log("new list");
        while(serialList.elt.firstChild){
            serialList.elt[0].remove();
        }
        serialList.option("Select a Port");
        for (var i=0; i<theList.length; i++){
            serialList.option(theList[i]);
        }
    }
});
serial.on('close', function(){
    serial.list();
    console.log("closed");
});
refresh.mousePressed(function(){
   serial.list();
   console.log("list updated");
});`

With this code i recieve the following message on the console:

Unknown Method: [object  Objec]
@ p5.serialport.js:171

This happens whenever the code gets to serial.close(); at the serialList.changed() callback or when i unplug the device that had an active connection with the sketch.
My intention is to eliminate the need  of refresh button to allow the dropdown list to automatically update itself if the active port closes.
I could somehow also add a method that constantly looks at the serial ports available to update itself if a new port is found. But for now i would conform with having it to refresh itself if the conection got closed.


report page

this is not done yet, to remove for the moment.
we should also define what these reports are supposed to be.

@Swarnalathaa must have done it :)


client.name ANDROID_MUSIC

Checklist

[X] I'm asking a question and not reporting a bug/feature request
[X] I've looked through the README
[X] I've read the guidelines for opening an issue
[X] I've searched the bugtracker for similar questions including closed ones

Question
'android_music': {
'INNERTUBE_API_KEY': 'AIzaSyAOghZGza2MQSZkY_zfZ370N-PUdXEo8AI',
'INNERTUBE_CONTEXT': {
'client': {
'clientName': 'ANDROID_MUSIC',
'clientVersion': '4.57',
}
},
'INNERTUBE_CONTEXT_CLIENT_NAME': 21,
'REQUIRE_JS_PLAYER': False
}
clientName=ANDROID_MUSIC How is the clientVersion obtained in this case?
Verbose log
No response

https://github.com/zerodytrash/YouTube-Internal-Clients

@haraldmartin Thank you, I looked at the source code, he tried it in batches, is there any direct parsing of the web page or anything else that can be directly parsed to

The proper version actually comes from this app:
https://play.google.com/store/apps/details?id=com.google.android.apps.youtube.music
the website doesnt detail the current version, but you can pull it from the Google Play API:
GET https://android.clients.google.com/fdfe/details?doc=com.google.android.apps.youtube.music
Title: YouTube Music
Creator: Google LLC
UploadDate: Jun 1, 2022
VersionString: 5.10.52
VersionCode: 51052270
NumDownloads: 1.987 B
Size: 40.707 MB
File: APK APK
Offer: 0 USD

@wxolp Hello, may I ask you, what capture software are you using? Charles, Fiddler or whatever? When I use Charles to capture youtube, I will encounter a request with methods as connect. This kind of request cannot see the specific parameters and corresponding data. I don't know how to solve it. Can you help me with the answer, thank you very much!


docs: Clean-up examples. Fixes #4124

Checklist:

[b] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[c] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
[x] I've signed the CLA.
[no] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
[ ] My builds are green. Try syncing with master if they are not.
[ ] My organization is added to USERS.md.

Fixes #4124

Bump! Close or continue?

Sorry. For being so extremely late. I have copied the formatting from the raw markdown file. What do you think about creating a .vsc folder with format settings so that this will not happen?

Next time it will not happen


How to handle multi page invoices

I try to use donut with a custom invoice dataset to get fields like for example invoice numbers and totals.
The invoices can be single paged or multi paged, so the fields could be across different pages.
Has anyone experience with multi page invoices?
Should I merge the pages together to a single image?
Do I train different models for different page counts?
Thanks for any advise! 😄

You could think about increasing the input dimensions and forwarding multiple pages as one image, but it does not scale well and no hardware can realistically handle that compute with more than a few pages. What we did was try to find the values we want to label to a page using fuzzy matches in OCR (for example using libraries like rapidfuzz). If we find the label as a substring on a pages OCR, we label that page for the donut training. Maybe that helps you, good luck!

"Sending in multiple pages for each request", if you define your use case like this - model's max_positional_embeddings (you might have to parameter tune) might not be sufficient to incorporate all the info in a single response and higher possibilities of repetition of text. Instead, you can build a single page prediction model at a time and handle the predictions later.

@balajiChundi  can you elaborate a bit what you mean?

First and preferred way: Get the predictions from the model twice, once per each page (for a two page invoice), you can parallelize the model predictions for a faster output. PS: This worked for me.
Second : (Didn't work for me), I concatenated the images like stitching them vertically, trained the model. The problem with this is, data prep is very clumsy and time-taking and cannot actually decide on the max_token that we get as output, So this is not at all recommended.


 I had a second checkout that had uncommitted changes.
You might want to treat this more as a WIP, as there aren't any relevant tests, but I wanted to make it visible as you're working on this today.

Ok. I guess we need some tests and docs for that.

Hey @MatthewWilkes,
I just added a few new keywords for Postgres support:

Manage Makemigrations
Manage Migrate
Manage Flush

Would you mind if I merge your pull request and rename the keyword to 'Manage Loaddata'? I'd be open for name suggestions if you prefer different conventions. We should just make sure the manage keywords are named in a consistent manner.

I don't mind at all, just be aware that I'm not really sure it's Good Enough(tm). I'm sadly not using RobotFramework for the current batch of projects (despite having about 50 pages of gherkin BDD specs) so it fell off my radar a little bit.

@MatthewWilkes I will close this pull request for now. I implemented a few factory boy keywords for creating test fixture and I don't have time to work on an alternative approach. Feel free to re-open any time if you want to continue to work on this.


Terrain Prefabs Obstruct Onion

Terrain prefabs such as rocks can spawn under the onion, preventing pikmen from, for instance, bringing back a spider corpse.

This will be fixed in a future update


use lima to set up vm on macOS to use containerd

https://github.com/lima-vm/lima

started by https://github.com/frantjc/sequence/pull/35
didn't test

very low priority as we don't even have a containerd runtime at the moment


Fix docker image building

This PR should fix the issues reported in https://github.com/alshedivat/al-folio/issues/2384 , https://github.com/alshedivat/al-folio/issues/2392 and https://github.com/alshedivat/al-folio/issues/2395.
It seems that the ruby docker image is not affected by these problems.

Thanks for fixing this. I hoped there was an easy solution.

Thanks guys. @Herbrant @george-gca
I really didn't know how to fix this issue. I've tested lots of solutions but none worked.


adding Dockerfile

Dockerfile to build docker image

@rhshah  permission required to push image to docker

updating with ec232e4 and 47c76fc, which adds:
:heavy_check_mark: using python slim
:heavy_check_mark: updating meta parameters to be consistent with other nucleo
:heavy_check_mark: downloading specific version of bedtools
:heavy_check_mark: installing local version of athena
:heavy_check_mark: removing ds_store
:heavy_check_mark: adding github action to publish docker image on release


onSearchOpen callback (similar to current onSearchClose only triggering when the search icon is clicked)

Expected Behavior
As we already have onSearchClose (see https://github.com/gregnb/mui-datatables/issues/145) I think we can also use a similar callback for when a user opens the search dialog and showSearch is true.
Current Behavior
The searchbox is opened offering a "value has changed" and "box has been closed" callback, but not for "box has been opened"
Thank you very much :)

Sure, would you like to submit a PR for this?

Will do.


update openai models and pricing

Why are these changes needed?
Add model gpt-35-turbo-16k, gpt-3.5-turbo-instruct, gpt-35-turbo-instruct. Update pricing of gpt-35-turbo.
https://techcommunity.microsoft.com/t5/azure-ai-services-blog/introducing-new-and-updated-models-to-azure-openai-service/ba-p/3860351

Related issue number

Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

it's only the pricing for OpenAI company ?

it's only the pricing for OpenAI company ?

This is for oai.Completion, so yes it only has openai models. Do you have other models to support in mind?

it's only the pricing for OpenAI company ?

This is for oai.Completion, so yes it only has openai models. Do you have other models to support in mind?

this is correct, and the prices for OpenAi and Azure OpenAi are exactly the same.


Return Void

Missing return in a closure expected to return 'AnyPromise' - it is an error which i'm getting.
I'm doing a wrapper under Firebase. Here is my chain:
0        firstly {
1            auth(email: email, password: password)
2        }.then { user in
3            self.uploadAvatar(avatarImage: avatarImage, user: user)
4        }.then { (avatarPath, user) in
5            self.uploadUserInfo(dict: dict, avatarPath: avatarPath, user: user)
6        }.then {
7            print("🧀 Yeay!")
8            self.resetValues()
9<<<<< error `Missing return in a closure expected to return 'AnyPromise` <<<<<
10        }.catch { error in
11            self.viewController.show(error: error)
12        }.always {
13            Decorator.hideLoader()
14        }

private func uploadUserInfo(dict: [String: Any], avatarPath: String, user: User) -> Promise<Void>

I read all the Faq and http://promisekit.org/faq/. But can't get rid of this =(
It's ok when there is one line at 7-8 lines, but when two and more it throws a compiler error.
self.resetValues() is just a simple method without any promises.
Could you please help with syntax.

Adding the types should help the compiler.
}.then { () -> Void in
    self.resetValues()
}```

I've already tried this and it didn't help:

You are missing the in keyword.

Documented workarounds here: https://github.com/mxcl/PromiseKit/blob/master/Documentation/Troubleshooting.md


docs-infra: ReadMe headers in TOC

(re insert_readme_in_docs)
How? well :). Parse w/ CommonMark, before makedocs.
Extract just the headers (stripped of unsupported stuff if present..)
And put just those in src-mod/index.md stub. hehe.

This would make it easier to get anchors to work too (currently broken: the "See [Global Install](#global-install)" (in details under Unitful dag))

Another way (but then can't link to Home headers from rest of docs): edit the generated html; wrap the headers in anchor (or sth)


Fix execution guard so tests run without opening GUI

Fixes #15

Looks like this was implemented in a separate commit. This change is no longer needed in here.


hmac auth

Big fan of your service picsum.photos... thank you for all you're doing!
Recently I noticed that static images from my database were no longer loading/rendering, but rather bombing out with a 400: GET https://i.picsum.photos/id/200/300/300.jpg 400
At first I figured it was because I was sitting behind a VPN, but upon closer look with the VPN off, it appears that to load static images an hmac param is required, otherwise a text response of Invalid parameters is returned.
Where I'm working in localhost, do I need to generate some sort of hmac token that get appended to all requests? Any help is much appreciated. :)

Hello!
Just to confirm, are you requesting images from the picsum.photos domain or the i.picsum.photos domain?
You shouldn't be requesting (or storing) URLs from the i.picsum.photos domain directly, but rather from picsum.photos, for example: https://picsum.photos/id/200/300/300.jpg
When doing so you'll be redirected to the correct URL to get the image, and your URLs will still work, as picsum.photos is kept backwards compatible, since it's the user facing API, while i.picsum.photos is the underlying image processing service.

That worked! Simple pebkac error. :)
I'm not really sure how the URL was changed to the i subdomain in my entries, but simple enough issue to fix. Thanks again, and keep up the good work!


appimagekit: 2018-07-27 -> 2020-12-31

Motivation for this change
appimagekit package is 2 years old, and broken as far as I can tell (see https://github.com/NixOS/nixpkgs/issues/116331). After this update, I'm no longer getting that error.
Comments

I'm not sure I did the right thing adding unset SOURCE_DATE_EPOCH to the wrapper script. I don't really understand what that does, but mkquashfs was complaining about it being set, and this got it to shut up.
I'm not sure if the version string cannot have hyphens in it or something, but "20180727" was difficult for me to parse, so I took the liberty of changing the version strings to "2020-12-31" and the like. Let me know if this isn't standard / allowed in nixpkgs and I'll change it back.

Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-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.

Whoops, I accidentally squashed my commit with the previous one. Should be fixed now, but can someone make sure the commit is named properly (if that matters) and contains only the changes it should? I don't trust myself anymore.

I'm not sure I did the right thing adding unset SOURCE_DATE_EPOCH to the wrapper script. I don't really understand what that does, but mkquashfs was complaining about it being set, and this got it to shut up.

It contains a timestamp to make the build reproducible. We set it to 1.1.1980 IIRC.


Accessibility options for QR-code

We need to look into fullfilling accessibility recommendations for QR-codes.
Suggestion: We make sure that the QR-code is always visible no matter if the user scrolls the page.
See https://codepen.io/DanielGoransson/pen/OJxqabw
Also: We introduce a "accessibility mode" where the QR-code isn't displayed until the user has clicked "Show QR", see https://qrdemo.uxa.se/bankid.php. This page could also have a checkbox for "Show QR-code directly" so that users that do not need this extra page only see it once.

.... and the bankid.ui.display-qr-code is removed and replaces with bankid.ui.qr-accessibility-mode där den extra hjälptexten visas.

Instead of setting QR-code size in configuration, maybe it is better to have it as a percentage of the view?


New package: Yandex.PuntoSwitcher version <IP_ADDRESS>9

- [X] Have you signed the Contributor License Agreement?

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.0 schema?

Resolves #29998
Microsoft Reviewers: Open in CodeFlow

30,000 👀

(and only 1000 of those were moving Visual Studio around....)


Broken composer install

Problem 1
    - guzzlehttp/command 0.7.1 requires guzzlehttp/guzzle ~5.0 -> satisfiable by guzzlehttp/guzzle[5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1.0, 5.2.0, 5.3.0, 5.3.1, 5.3.x-dev] but these conflict with your requirements or minimum-stability.
    - guzzlehttp/command 0.7.0 requires guzzlehttp/guzzle ~5.0 -> satisfiable by guzzlehttp/guzzle[5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1.0, 5.2.0, 5.3.0, 5.3.1, 5.3.x-dev] but these conflict with your requirements or minimum-stability.
    - guzzlehttp/guzzle-services 0.5.0 requires guzzlehttp/command 0.7.* -> satisfiable by guzzlehttp/command[0.7.0, 0.7.1].
    - Installation request for guzzlehttp/guzzle-services 0.5.* -> satisfiable by guzzlehttp/guzzle-services[0.5.0].

here my require :

    "require": {
        "php": ">=7.0.9",
        "symfony/symfony": "3.1.*",
        "doctrine/orm": "^2.5",
        "doctrine/doctrine-bundle": "^1.6",
        "doctrine/doctrine-cache-bundle": "^1.2",
        "symfony/swiftmailer-bundle": "^2.3",
        "symfony/monolog-bundle": "^2.8",
        "symfony/polyfill-apcu": "^1.0",
        "sensio/distribution-bundle": "^5.0",
        "sensio/framework-extra-bundle": "^3.0.2",
        "incenteev/composer-parameter-handler": "^2.0",
        "doctrine/doctrine-migrations-bundle": "^1.0",
        "stof/doctrine-extensions-bundle": "^1.2",
        "lexik/form-filter-bundle": "^5.0",
        "friendsofsymfony/rest-bundle": "^2.0",
        "jms/serializer-bundle": "^1.1",
        "friendsofsymfony/jsrouting-bundle": "^1.6",
        "liuggio/excelbundle": "^2.1",
        "hautelook/templated-uri-bundle": "~2.0",
        "knplabs/knp-menu-bundle": "^2.0",
        "knplabs/knp-paginator-bundle": "^2.5",
        "twig/extensions": "^1.3",
        "nesbot/carbon": "^1.21",
        "ornicar/gravatar-bundle": "~1.0",
        "liip/imagine-bundle": "^1.6",
        "vria/nodiacritic": "^0.1.0",
        "misd/phone-number-bundle": "^1.1",
        "hautelook/alice-bundle": "^1.3",
        "doctrine/data-fixtures": "1.1.1",
        "behat/web-api-extension": "~1.0@dev",
        "guzzlehttp/guzzle": "^6.2",
        "guzzlehttp/guzzle-services": "0.5.*"
    },

You are requiring guzzle 6, but guzzle-services needs guzzle 5 (not 6)

Yes i just saw it,
i fix by make : composer require guzzlehttp/guzzle-services dev-guzzle6


No way to warn only when in npm task

If you put this in an npm task it always fails if there are todo's. This is a little opinionated, as I just want to be reminded that I have todo's and what they are, not that it should interrupt my build process. Do you know of any workaround, or would this be a code fix to add a --warn-only option?

"todos": "leasot app/**/*.js || true"
Will gladly accept a PR for updating the readme on this!


APIv2: consider removing GoType from protoreflect

Internally, we use the GoType method of types in protoreflect in only three places in the impl package. From a cursory inspection, I think all of these can be removed. We should consider dropping the GoType method.
GoType is arguably not possible to use correctly. Messages created by the dynamicpb message package all have the same Go type, for example; the assumption that you can create a new, empty message with reflect.Zero(mt.GoType()) (as seen in one place) is not a sound one.
If we do remove GoType, we might want to add a Zero method to MessageType, similar to the existing one on ExtensionType.

If we remove GoType, then I feel even more strongly that #905 needs to provide type check functions for both interface{} and for protoreflect.Value.
Looking over all my pending CLs, I do actually use GoType in a few places for v1 to wrap v2. However, all of them can be migrated to simply allocate a new value and then call reflect.TypeOf on the result. There is a slight performance hit, but whatever. I can cache the result.


attach, sync working only with children where parent id is 1

I am trying to sync some sub-categories to my user I am able to do this
$engineer->syncCategories(                      request->input('sub_categories') ,true                     );
with categories where parent id is 1 but with all other categories I can not do such what is the problem

@muhammedkamal I'm not sure I understand your issue, if this is still exists, kindly explain with more details. Thanks


Downloads don't reserve space for preventing not download

i have this problem when i download a game, for example i had 3 gb  of free space, a game size is 2.50 gb, when is 50% on download and i lost connection, when i want to resume the download, the program said there is no free space Available, but thats not true, the space is occupied by the same download in progress, but it take reference from the free space Available.
i think pkgi must reserve space before start downloading, because of this issue, resuming downloads with mininal enought space, is causing problems.

You are right. It should have extra check when download is resumed. I'll fix it.
I don't think there is a reasonable way to reserve space before starting download on Vita. It would require writing each file full of zeroes or something. Which could take a lot of time - sdcard access is not fast.

yeah because is a problem when trying to daonload a game with just the minimal space left, if for some reason the download stops, the free espace available prevents to resume the download, and it forces you to erase manually the incomplete data just to start from again from the beginning, is anooying XD.

you should do like SONY : they set the file size to the final size, even tough written size is currently inferior.
I don't know how they do that... But I think yes they certainly write the temp file full of zeroes then erase it.

Why not just use the offical download system, then it would work as a background download and basicly do all the queing work for you..

Please explain how to implement it (what are the API's or ideally sample code)  and I'll do that right away.

https://github.com/TheOfficialFloW/DownloadEnabler/blob/master/main.c ?

As already discussed in #4 it only downloads, not unpacks. Also it requires manual click to start download which it is terrible experience for user.

hmm IDU Settings "Content Downloader" is probs where you need to look then (it downloads and unpacks PKG basicly offically)

I'm not familiar with that. What is IDU settings "Content Downloader"? Can you provide some links?

IDU Settings is a hidden settings menu on IDU / Kiosk mode vitas, content downloader is one of the options in the settings menu

IDU Settings is a hidden settings menu in IDU / Kiosk mode vita's and content downloader is one of the options in it.

what about implementing not just vita games/dlc, what about psm games, psp/ps1/classics games too, all the available library of digital games from sony servers for psvita in pkgi it would be awesome.

but idk if it works..

Well that's the answer to your original question "Why not just use the offical download system" :) idk how it works.

what about psm games, psp/ps1/classics games too,

Pull requests accepted.
And please create separate issue. This is not some random forum. This is issue about checking free space for interrupted downloads.

hmm i might look into the official system sometime .-.


Update Dockerfile - 1.8.0

Add xmltodict
pip install xmltodict==0.10.2
Update python iRODS client
-e git+https://github.com/irods/python-irodsclient.git@25512a0fca3eef29cb053d9fb6cf549f0d99985b#egg=python_irodsclient
Update Django REST 3.5.3 (per email with @alvacouch)
djangorestframework==3.5.3

Updated image: mjstealey/hs_docker_base:1.8.0
Output from run-tests script
$ docker exec -u hydro-service hydroshare ./run-tests
No handlers could be found for logger "hydroshare"
/usr/local/lib/python2.7/site-packages/mezzanine/utils/conf.py:55: UserWarning: TIME_ZONE setting is not set, using closest match: Etc/UTC
  warn("TIME_ZONE setting is not set, using closest match: %s" % tz)
/usr/local/lib/python2.7/site-packages/django/contrib/contenttypes/models.py:161: RemovedInDjango19Warning: Model class django.contrib.contenttypes.models.ContentType doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.
  class ContentType(models.Model):

/usr/local/lib/python2.7/site-packages/autocomplete_light/widgets.py:19: RemovedInDjango19Warning: The django.forms.util module has been renamed. Use django.forms.utils instead.
  from django.forms.util import flatatt

/usr/local/lib/python2.7/site-packages/autocomplete_light/fields.py:8: RemovedInDjango19Warning: django.contrib.contenttypes.generic is deprecated and will be removed in Django 1.9. Its contents have been moved to the fields, forms, and admin submodules of django.contrib.contenttypes.
  from django.contrib.contenttypes.generic import GenericForeignKey

...........................................................Trying `CDLL(libgeos_c.so.1)`
Library path: 'libgeos_c.so.1'
DLL: <CDLL 'libgeos_c.so.1', handle 1b8e8f0 at 7fd7e0fde490>
Trying `CDLL(libc.so.6)`
Library path: 'libc.so.6'
DLL: <CDLL 'libc.so.6', handle 7fd803105000 at 7fd7e0fdeb10>
..2016-11-13 22:05:33,830 pysolr-DEBUG [/usr/local/lib/python2.7/site-packages/pysolr.py 352] Starting request to 'http://<IP_ADDRESS>:8983/solr/update/?commit=true' (post) with body 'u'<delete>'...
2016-11-13 22:05:33,844 requests.packages.urllib3.connectionpool-DEBUG [/usr/local/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py 387] "POST /solr/update/?commit=true HTTP/1.1" 200 None
2016-11-13 22:05:33,847 pysolr-INFO [/usr/local/lib/python2.7/site-packages/pysolr.py 386] Finished 'http://<IP_ADDRESS>:8983/solr/update/?commit=true' (post) with body 'u'<delete>' in 0.015 seconds.
----------------------------------------------------------------------
Ran 411 tests in 1064.772s

OK (SKIP=1)
nosetests corsheaders theme theme.blog_mods heartbeat haystack hs_core hs_access_control hs_labels hs_metrics irods_browser_app hs_geo_raster_resource ref_ts hs_app_timeseries hs_app_netCDF hs_model_program hs_modelinstance hs_tools_resource hs_swat_modelinstance hs_geographic_feature_resource hs_script_resource hs_sitemap hs_collection_resource hs_modflow_modelinstance hs_tracking debug_toolbar filebrowser_safe django_comments --verbosity=1
Creating test database for alias 'default'...
Deleted all resource specific metadata for all timeseries resources.
Copy resource to temp folder failure: Number: 0 List: []
VRT file update success: Number: 0 List[]
VRT file update fail: Number: 0 List[]
Meta update success: Number: 0 List []
Meta update fail: Number: 0 List []
Destroying test database for alias 'default'...
Name                                                Stmts   Miss  Cover
-----------------------------------------------------------------------
hs_access_control/__init__.py                           0      0   100%
hs_access_control/models.py                           722     90    88%
hs_app_netCDF/__init__.py                               0      0   100%
hs_app_netCDF/admin.py                                  4      0   100%
hs_app_netCDF/forms.py                                121     16    87%
hs_app_netCDF/models.py                               153     41    73%
hs_app_netCDF/nc_functions/__init__.py                  0      0   100%
hs_app_netCDF/nc_functions/nc_dump.py                  88     75    15%
hs_app_netCDF/nc_functions/nc_meta.py                 208    186    11%
hs_app_netCDF/nc_functions/nc_utils.py                179    157    12%
hs_app_netCDF/page_processors.py                       78     67    14%
hs_app_netCDF/receivers.py                            265    228    14%
hs_app_netCDF/serialization.py                        330    166    50%
hs_app_timeseries/__init__.py                           1      0   100%
hs_app_timeseries/admin.py                              4      0   100%
hs_app_timeseries/apps.py                               5      0   100%
hs_app_timeseries/forms.py                            365    212    42%
hs_app_timeseries/models.py                          1098    182    83%
hs_app_timeseries/page_processors.py                  155    138    11%
hs_app_timeseries/receivers.py                        567     78    86%
hs_app_timeseries/views.py                             23      5    78%
hs_collection_resource/__init__.py                      1      0   100%
hs_collection_resource/admin.py                         4      0   100%
hs_collection_resource/apps.py                          5      0   100%
hs_collection_resource/models.py                       36      3    92%
hs_collection_resource/page_processors.py              35     28    20%
hs_collection_resource/patches/__init__.py              0      0   100%
hs_collection_resource/receivers.py                    20     12    40%
hs_collection_resource/urls.py                          3      0   100%
hs_collection_resource/utils.py                        74     11    85%
hs_collection_resource/views.py                       171     15    91%
hs_core/__init__.py                                     1      0   100%
hs_core/admin.py                                        9      0   100%
hs_core/apps.py                                         5      0   100%
hs_core/autocomplete_light_registry.py                 29     18    38%
hs_core/discovery_form.py                              71     58    18%
hs_core/forms.py                                      757    437    42%
hs_core/hydro_realtime_signal_processor.py             46      6    87%
hs_core/hydroshare/__init__.py                          4      0   100%
hs_core/hydroshare/date_util.py                        53     15    72%
hs_core/hydroshare/discovery.py                         8      4    50%
hs_core/hydroshare/hs_bagit.py                        150     39    74%
hs_core/hydroshare/resource.py                        397    171    57%
hs_core/hydroshare/users.py                           231    115    50%
hs_core/hydroshare/utils.py                           510    183    64%
hs_core/languages_iso.py                                1      0   100%
hs_core/management/__init__.py                          0      0   100%
hs_core/management/commands/__init__.py                 0      0   100%
hs_core/metadata_terms_urls.py                          3      0   100%
hs_core/models.py                                    1318    251    81%
hs_core/page_processors.py                            239    225     6%
hs_core/receivers.py                                   79     46    42%
hs_core/resourcemap_urls.py                             4      0   100%
hs_core/search_indexes.py                             245     67    73%
hs_core/serialization.py                              946    399    58%
hs_core/signals.py                                     11      0   100%
hs_core/tasks.py                                      142     73    49%
hs_core/templatetags/__init__.py                        0      0   100%
hs_core/templatetags/hydroshare_tags.py                90     47    48%
hs_core/testing.py                                     11      0   100%
hs_core/urls.py                                         3      0   100%
hs_core/views/__init__.py                             871    538    38%
hs_core/views/autocomplete.py                          46     40    13%
hs_core/views/discovery_json_view.py                   35     27    23%
hs_core/views/discovery_view.py                        47     37    21%
hs_core/views/pagination.py                             3      0   100%
hs_core/views/resource_folder_hierarchy.py            177    161     9%
hs_core/views/resource_rest_api.py                    352     77    78%
hs_core/views/serializers.py                           87     14    84%
hs_core/views/user_rest_api.py                         12      0   100%
hs_core/views/utils.py                                331    125    62%
hs_core/xmlparser.py                                   42      8    81%
hs_geo_raster_resource/__init__.py                      0      0   100%
hs_geo_raster_resource/admin.py                         4      0   100%
hs_geo_raster_resource/forms.py                       155     93    40%
hs_geo_raster_resource/models.py                      155     18    88%
hs_geo_raster_resource/page_processors.py              56     47    16%
hs_geo_raster_resource/raster_meta_extract.py         137     29    79%
hs_geo_raster_resource/receivers.py                   256     70    73%
hs_geo_raster_resource/serialization.py               341    210    38%
hs_geographic_feature_resource/__init__.py              1      0   100%
hs_geographic_feature_resource/admin.py                 4      0   100%
hs_geographic_feature_resource/apps.py                  5      0   100%
hs_geographic_feature_resource/forms.py                65     26    60%
hs_geographic_feature_resource/models.py              115     25    78%
hs_geographic_feature_resource/page_processors.py      72     65    10%
hs_geographic_feature_resource/parse_lib.py           118     15    87%
hs_geographic_feature_resource/receivers.py           454    133    71%
hs_labels/__init__.py                                   0      0   100%
hs_labels/models.py                                   121      3    98%
hs_labels/urls.py                                       3      0   100%
hs_labels/views/__init__.py                            52     47    10%
hs_metrics/__init__.py                                  0      0   100%
hs_metrics/models.py                                    0      0   100%
hs_metrics/urls.py                                      3      0   100%
hs_metrics/views.py                                    65     49    25%
hs_model_program/__init__.py                            0      0   100%
hs_model_program/admin.py                               4      0   100%
hs_model_program/forms.py                              48     21    56%
hs_model_program/models.py                             85      6    93%
hs_model_program/page_processors.py                    23     17    26%
hs_model_program/receivers.py                          33     24    27%
hs_model_program/urls.py                                3      0   100%
hs_model_program/views.py                              19     14    26%
hs_modelinstance/__init__.py                            0      0   100%
hs_modelinstance/admin.py                               4      0   100%
hs_modelinstance/forms.py                              55     25    55%
hs_modelinstance/models.py                             93      7    92%
hs_modelinstance/page_processors.py                    28     20    29%
hs_modelinstance/receivers.py                          22     14    36%
hs_modflow_modelinstance/__init__.py                    1      0   100%
hs_modflow_modelinstance/admin.py                       4      0   100%
hs_modflow_modelinstance/apps.py                        5      0   100%
hs_modflow_modelinstance/forms.py                     229     85    63%
hs_modflow_modelinstance/models.py                    448     33    93%
hs_modflow_modelinstance/page_processors.py            63     53    16%
hs_modflow_modelinstance/receivers.py                  59     49    17%
hs_script_resource/__init__.py                          0      0   100%
hs_script_resource/admin.py                             4      0   100%
hs_script_resource/forms.py                            29     10    66%
hs_script_resource/models.py                           71     27    62%
hs_script_resource/page_processors.py                  29     22    24%
hs_script_resource/receivers.py                        48     12    75%
hs_sitemap/__init__.py                                  0      0   100%
hs_sitemap/views.py                                     6      2    67%
hs_swat_modelinstance/__init__.py                       1      0   100%
hs_swat_modelinstance/admin.py                          4      0   100%
hs_swat_modelinstance/apps.py                           5      0   100%
hs_swat_modelinstance/forms.py                        174     70    60%
hs_swat_modelinstance/models.py                       276     23    92%
hs_swat_modelinstance/page_processors.py               42     35    17%
hs_swat_modelinstance/receivers.py                     46     36    22%
hs_swat_modelinstance/serialization.py                293     29    90%
hs_tools_resource/__init__.py                           1      0   100%
hs_tools_resource/admin.py                              4      0   100%
hs_tools_resource/apps.py                               5      0   100%
hs_tools_resource/forms.py                            123     40    67%
hs_tools_resource/models.py                           150     48    68%
hs_tools_resource/page_processors.py                   60     53    12%
hs_tools_resource/receivers.py                         33      9    73%
hs_tools_resource/utils.py                             14      0   100%
hs_tracking/__init__.py                                 1      0   100%
hs_tracking/apps.py                                     5      0   100%
hs_tracking/management/__init__.py                      0      0   100%
hs_tracking/management/commands/__init__.py             0      0   100%
hs_tracking/middleware.py                               9      1    89%
hs_tracking/models.py                                 109      7    94%
hs_tracking/signals.py                                  9      0   100%
hs_tracking/tests.py                                  136      0   100%
hs_tracking/views.py                                   40      2    95%
hydroshare/__init__.py                                 10      1    90%
hydroshare/celery.py                                   11      1    91%
hydroshare/local_settings.py                           83      0   100%
hydroshare/settings.py                                 69      2    97%
hydroshare/urls.py                                     29      0   100%
irods_browser_app/__init__.py                           0      0   100%
irods_browser_app/models.py                             0      0   100%
irods_browser_app/urls.py                               3      0   100%
irods_browser_app/views.py                            146    130    11%
manage.py                                               8      0   100%
ref_ts/__init__.py                                      0      0   100%
ref_ts/admin.py                                         4      0   100%
ref_ts/forms.py                                        15      0   100%
ref_ts/models.py                                       98     43    56%
ref_ts/page_processors.py                              21     16    24%
ref_ts/receivers.py                                    47     39    17%
ref_ts/ts_utils.py                                    449    412     8%
ref_ts/urls.py                                          3      0   100%
ref_ts/views.py                                       223    191    14%
theme/__init__.py                                       0      0   100%
theme/admin.py                                         12      0   100%
theme/blog_mods/__init__.py                             0      0   100%
theme/blog_mods/admin.py                                7      3    57%
theme/blog_mods/models.py                               0      0   100%
theme/forms.py                                        180    114    37%
theme/models.py                                        97     12    88%
theme/templatetags/__init__.py                          0      0   100%
theme/views.py                                        202    160    21%
-----------------------------------------------------------------------
TOTAL                                               18933   7639    60%

dockerworker container exits with
[2016-11-13 22:31:58,154: ERROR/MainProcess] Unrecoverable error: TypeError("object of type 'Exchange' has no len()",)
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/celery/worker/__init__.py", line 206, in start
    self.blueprint.start(self)
  File "/usr/local/lib/python2.7/site-packages/celery/bootsteps.py", line 123, in start
    step.start(parent)
  File "/usr/local/lib/python2.7/site-packages/celery/bootsteps.py", line 374, in start
    return self.obj.start()
  File "/usr/local/lib/python2.7/site-packages/celery/worker/consumer.py", line 279, in start
    blueprint.start(self)
  File "/usr/local/lib/python2.7/site-packages/celery/bootsteps.py", line 123, in start
    step.start(parent)
  File "/usr/local/lib/python2.7/site-packages/celery/worker/consumer.py", line 609, in start
    c.connection, on_decode_error=c.on_decode_error,
  File "/usr/local/lib/python2.7/site-packages/celery/app/amqp.py", line 385, in __init__
    **kw
  File "/usr/local/lib/python2.7/site-packages/kombu/messaging.py", line 364, in __init__
    self.revive(self.channel)
  File "/usr/local/lib/python2.7/site-packages/kombu/messaging.py", line 376, in revive
    self.declare()
  File "/usr/local/lib/python2.7/site-packages/kombu/messaging.py", line 386, in declare
    queue.declare()
  File "/usr/local/lib/python2.7/site-packages/kombu/entity.py", line 522, in declare
    self.queue_declare(nowait, passive=False)
  File "/usr/local/lib/python2.7/site-packages/kombu/entity.py", line 548, in queue_declare
    nowait=nowait)
  File "/usr/local/lib/python2.7/site-packages/amqp/channel.py", line 1248, in queue_declare
    args.write_shortstr(queue)
  File "/usr/local/lib/python2.7/site-packages/amqp/serialization.py", line 324, in write_shortstr
    if len(s) > 255:
TypeError: object of type 'Exchange' has no len()

Output of pip freeze
# pip freeze
amqp==1.4.9
anyjson==0.3.3
arrow==0.7.0
astroid==1.4.8
autoflake==0.6.6
autopep8==1.2.2
bagit==1.5.4
beautifulsoup4==4.4.1
billiard==<IP_ADDRESS>
bleach==1.4.3
celery==3.1.23
chardet==2.3.0
colorama==0.3.7
coverage==4.0.3
cycler==0.10.0
defusedexpat==0.4
defusedxml==0.4.1
Django==1.8.14
django-appconf==1.0.2
django-autocomplete-light==2.0.9
django-braces==1.10.0
django-compressor==2.0
django-contrib-comments==1.6.2
django-cors-headers==1.1.0
django-crispy-forms==1.6.0
django-debug-toolbar==1.4
django-haystack==2.4.1
django-heartbeat==2.0.2
django-inplaceedit==1.4.1
django-jsonfield==0.9.19
django-modeltranslation==0.11
django-nose==1.4.3
django-oauth-toolkit==0.10.0
django-timedeltafield==0.7.10
django-widget-tweaks==1.4.1
djangorestframework==3.5.3
docker-py==1.7.2
ecdsa==0.13
filebrowser-safe==0.4.3
flake8==2.5.4
funcsigs==1.0.2
future==0.15.2
GDAL==2.1.0
geojson==1.3.2
gevent==1.1.2
google.foresite-toolkit==1.3
grappelli-safe==0.4.2
greenlet==0.4.10
gunicorn==19.6.0
html5lib==0.9999999
isodate==0.5.4
keepalive==0.5
kombu==3.0.37
lazy-object-proxy==1.2.2
lxml==3.6.0
mapnik==0.1
matplotlib==1.5.1
mccabe==0.4.0
Mezzanine==4.1.0
mock==1.3.0
netCDF4==1.2.4
nose==1.3.7
numpy==1.10.4
oauthlib==1.0.3
OWSLib==0.10.3
pandas==0.18.0
paramiko==1.16.0
pbr==1.10.0
pep8==1.7.0
Pillow==3.1.1
prettytable==0.7.2
psutil==4.0.0
psycopg2==2.6.1
py2-ipaddress==3.4.1
PyCRS==0.1.3
pycrypto==2.6.1
pyflakes==1.1.0
pylint==1.5.5
pyparsing==2.1.10
pyproj==<IP_ADDRESS>
pysolr==3.4.0
pysqlite==2.8.1
python-dateutil==2.6.0
-e git+https://github.com/irods/python-irodsclient.git@25512a0fca3eef29cb053d9fb6cf549f0d99985b#egg=python_irodsclient
pytz==2016.3
rcssmin==1.0.6
rdflib==4.0.1
redis==2.10.5
requests==2.9.1
requests-oauthlib==0.6.1
rjsmin==1.0.12
sh==1.11
Shapely==1.5.13
six==1.10.0
SPARQLWrapper==1.7.6
sqlparse==0.2.2
suds-jurko==0.6
tzlocal==1.2.2
virtualenv==15.0.2
websocket-client==0.37.0
wrapt==1.10.8
xmltodict==0.10.2

updated Dockerfile is pushed to PR 1614


Update Calico to 3.0

What this PR does / why we need it:
Updates Calico from 2.6 to the latest 3.0 which enables additional functionality.
Which issue this PR fixes
This lays the foundation for the requested IPAM support via these issues
https://github.com/Azure/acs-engine/issues/2227
https://github.com/Azure/acs-engine/issues/1930
Potentially fixes #1621
fixes #2202
If applicable:

[x] documentation
[ ] network policy e2e test(s)
[ ] tested backward compatibility (ie. deploy with the previous version, upgrade with this branch)

Updates Calico from 2.6 to the latest 3.0

LGTM from a Calico perspective for the changes to parts/k8s/addons/kubernetesmasteraddons-calico-daemonset.yaml

@dtzar is this PR ready for further testing/merging when the merge conflict is fixed?

@jackfrancis - Resolved the merge conflict.  This is ready for further testing/merging.  Would be great to let Circle CI do all the existing e2e tests as they are now.
Sorry, I just haven't had a chance to work on creating a new e2e test for Calico.

We'll do the standard drill, and then validate that examples/networkpolicy/kubernetes-calico.json can build a working k8s cluster.
As you mention, we don't have calico-specific E2E validations yet, do you want to wait for those to merge? What's your manual testing telling you at this point?

@dtzar How are you getting past the lack of CNI implementation in your testing?
azureuser@k8s-master-19545415-0:~$ ls -la /etc/cni/net.d
ls: cannot access '/etc/cni/net.d': No such file or directory

I'm getting this in kubelet logs:
cni.go:196] Unable to update cni config: No networks found in /etc/cni/net.d

tldr; current calico policy sets kubelet runtime config to --network-policy=cni. How does this work in this implementation of calico?

After my latest fix, I validated manually that calico worked properly with the advanced policy demo on a 1.8 cluster.  Something went wrong on 1.10 - looking into this now.

Wasn't able to fix the 1.10 issue, but did check again that 1.9 works also.


[SYSTEMML-1233] Deprecate old MLContext API

Deprecate old MLContext API, to be removed in SystemML 1.0.
Ignore references to deprecated MLContext classes in project.

Thank you for reviewing @fschueler !
BTW, all tests pass except random unrelated FullReblockTest. https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/1080/


Changing fidelity

Similar to a zoom slider, it would be nice to have a fidelity slider for the shell.
For example:

Level 1 being same as shell (with clickable items)
Level 2 being the minimal-ui state
Level 3 being the default full kui state.

Slider + Keyboard shortcut would be nice (If we can keep Ctrl and +; Ctrl and -) such as Ctrl, Shift, + and Ctrl, Shift, -


 Pinning vertices, setting up the simulation...
Use our open 3d mannequin

@razcore-art could you produce a demo for that? Here is the tutorial to get started from the manual: https://docs.godotengine.org/en/latest/tutorials/physics/soft_body.html

Note. Implemented the demo for this feature at https://github.com/GDquest/godot-3d-mannequin/tree/feature/cape


various fixes to make it work with sequelize: ^5.10.3,

Use compatible quotes in query, doublequotes are not supported with default SQLmode (at least in mysql5)
wrap types in strings, fixes error VARCHAR is not defined, in VARCHAR(50)
attributes are now rowAttributes, left compatibility with previous versions
handle case when indexes are not defined (also compatible with previous code)

Someone aprove this, for god

@rodgomesc I've been using forked repo
npm i --save https://github.com/devforth/sequelize-auto-migrations-ng.git


Feat: add filename exclusions and chunk shape args to transcode job

I see, I will take a look

I see, I will take a look

Cool. Not something to necessarily worry about now though.


Spike variants/Apparel plan

Miro did a PoC of getting variants and apparel to work mid June.
This project is about proper implementation.
Some notes:

Apparel store defaults to grid not list, which we don't support.
We'll need an Apparel-spa.
Search and add to products wasn't working.
There might be an api issue, if so we need backend fixes for those problems.
Do we need threat modelling?

Proposed functionality should follow a SDLC as specified here: https://wiki.wdf.sap.corp/wiki/display/PSSEC/Secure+Software+Development+Lifecycle+Overview
And must comply with security standards as detailed here:
https://wiki.wdf.sap.corp/wiki/display/PSSEC/SAP+Product+Standard+Security+-+Version+8.0


Create causes a "bootloop"

Describe the Bug
When i try to start my game it loads into a bootloop. Minecraft restart loading again and again.
Reproduction Steps

Download the modpack
Update Create
Start the modpack
???
Minecraft Bootloop

Expected Result
I can start the game sucessfully.
Screenshots and Videos
No response
Crash Report or Log
https://bytebin.lucko.me/kSQZiQblz3
Operating System
Windows 10
Mod Version
0.5.0e
Minecraft Version
1.18.2
Other Mods
https://www.curseforge.com/minecraft/modpacks/deathdusk (2.1.6)
Additional Context
No response

There’s no way I can debug a pack of 600+ mods. You’ll need to binary split it.
split mods in half. Fixed? Check the other half. Not fixed? Repeat until minimum mod combo is found.

The primary error in here is with fluid attributes. These have been changed since the issue was made, and are entirely removed on 1.19, so I'm going to consider this fixed


Downgrading Polish, Italian and German to beta

Summary
Polish, German and Italian have not been actively maintained for some months. They don't have an active maintainer anymore.
We have to downgrade these languages back to beta.
Ticket Link
None
Related Pull Requests
None
Screenshots
None
Release Note
Degraded Polish, German and Italian languages to beta

Hello @ctlaltdieliet,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@jasonblais Does this need QA? I would say no personally.

@devinbinnie agree, we can merge without QA review


JSON5 & 6

i get an error when building
DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6
ive tried a very basic attempt to change the word buffer to document, but it throws up further errors. As im not a coding expert, im not sure what else to do with the code.

Ideally I’d refactor this repo to work with the latest version of that library but for now I’d recommend simply using a 5x version.
Assuming your using the Arduino IDE, when you install the library you should get a drop down allowing you to pick a 5x version (the latest 5x version works for me).
Hope this helps.

ahh, yes, makes sense to roll back the arduinoJson library. VMT! Looking forward to getting this up and running.


login using sockets TypeError: Object # has no method 'login'

Hi. I followed read-me. I'm able to login using http web form but when i use sockets i get following error:
io.socket.post('/auth/local', {identifier: "dan", password: "12345678", provider: "local"}, function(resData) {console.log(resData);})

/Users/danil/Developer/scoocoo/api/controllers/AuthController.js:159
      req.login(user, function (err) {
          ^
TypeError: Object #<MockIncomingMessage> has no method 'login'
    at /Users/danil/Developer/scoocoo/api/controllers/AuthController.js:159:11
    at Strategy.strategy.success (/Users/danil/Developer/scoocoo/node_modules/passport/lib/middleware/authenticate.js:194:18)
    at verified (/Users/danil/Developer/scoocoo/node_modules/passport-local/lib/strategy.js:83:10)
    at /Users/danil/Developer/scoocoo/api/services/protocols/local.js:171:20
    at /Users/danil/Developer/scoocoo/node_modules/bcryptjs/dist/bcrypt.js:219:13
    at /Users/danil/Developer/scoocoo/node_modules/bcryptjs/dist/bcrypt.js:1156:21
    at Object.next [as _onImmediate] (/Users/danil/Developer/scoocoo/node_modules/bcryptjs/dist/bcrypt.js:1036:21)
    at processImmediate [as _immediateCallback] (timers.js:345:15)

I'd like to be able register and login using sockets only. Any suggestions?

Faced the same issue. Anyone found the solution?

Closing as the project is no longer maintained.


Automatically update generated libraries

It would be useful to automatically update the generated libraries when new versions of the protos are published.
This could be done with a PR that tells us "the libraries are out of date", but it would be nicer with a bot that sent us a PR when the libraries need to be udpated.

Yep, I concur.


[5.1] Fixes session.store missing when making a test request.

The request are executed on a "new" request object and doesn't have the
session that we boot using bootstrap/middleware/service provider.
This solved related issue such as #7328 and orchestral/testbench#102
Signed-off-by: crynobone<EMAIL_ADDRESS>

The session isn't actually started until the request is dispatched though right?

The session isn't actually started until the request is dispatched though right?

During testing, the application would already be bootstrapped during the createApplication process. So when you use $this->call() it actually creating a new Request object using the current $app instance, and when that request is handle it not going to reinitiate Illuminate\Session\Middleware\StartSession again.
Without this changes, with the following code and using old() we are getting Session store is not set on request:
$this->startSession();

$this->visit('login');

Upon further investigation, this actually an issue with extension.

I tried to start my test but errors persist .
TestCase
'''php
make(Illuminate\Contracts\Console\Kernel::class)
            ->bootstrap();

        return $app;
    }

    public function getEnvironmentSetUp($app)
    {
        parent::getEnvironmentSetUp($app); // TODO: Change the autogenerated stub

        $app->make('Illuminate\Contracts\Http\Kernel')
            ->pushMiddleware('Illuminate\Session\Middleware\StartSession');
    }
}

login.blade.php

    {!! csrf_field() !!}

    @include('partials.errors')

        {{trans('forms.email')}}

        {{trans('forms.password')}}

            {{trans('forms.login')}}

LoginTest.php

'''php
startSession();

        $this->visit('/auth/register')
            ->type('Taylor Otwell', 'name')
<EMAIL_ADDRESS>'email')
            ->type('secret', 'password')
            ->type('secret', 'password_confirmation')
            ->press(trans('forms.register'))
            ->seeInDatabase('users', ['email' => 'taylor@laravel.com']);

        $this->visit('/auth/login')
<EMAIL_ADDRESS>'email')
            ->type('secret', 'password')
            ->press(trans('forms.login'))
            ->seePageIs('/home');

        $this->visit('auth/logout')
            ->seePageIs('/');

        $this->visit('auth/login')
<EMAIL_ADDRESS>'email')
            ->type('secret', 'password')
            ->press(trans('forms.login'))
            ->seeStatusCode(200);
    }

}

Thanks in advance.


Please update for i18next > v22.5.0

Hello! in index.ts have some error when using i18next >= v22.5.0

Hi @dogrocker
can you provide a little more context, so its easier to identify the problem? Please provide the version of i18next-vue and Vue you are using, and the actual error message. If this is a TypeScript error, also the TS version would be helpful.
Does the problem occur when using i18next-vue in your code or do you see this when building i18next-vue itself?

Feel free to add more information. Until then I'll close this ticket.