flutter test --platform=chrome --coverage not update the lcov.info file

If you run some tests on a package that supports both VM and web targets, and try to run flutter test --platform=chrome --coverage, it does not update the lcov.info file. It should perform coverage tracking and report it, or, at the very least, complain that it doesn't support coverage tracking for web.

Thanks for the report, Hixie
If I go with above command, it can not generate lcov.info file. But If I go with flutter test --coverage -d chrome instead, it works (lcov.info file is generated).
I agree it should output a warning/error message in case it can't generate/update lcov.info file. Currently, it only outputs the test passed as below.
➜  repro3_13_1 flutter test --platform=chrome --coverage
Resolving dependencies...
  collection 1.17.2 (1.18.0 available)
  material_color_utilities 0.5.0 (0.8.0 available)
  stack_trace 1.11.0 (1.11.1 available)
  stream_channel 2.1.1 (2.1.2 available)
  test_api 0.6.0 (0.6.1 available)
Got dependencies!
00:03 +1: All tests passed!

Reproduced this on the latest stable/master channels.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.13.1, on macOS 13.5 22G74 darwin-x64, locale en-VN)
    • Flutter version 3.13.1 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e1e47221e8 (23 hours ago), 2023-08-22 21:43:18 -0700
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2022.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 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.81.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.70.0

[✓] Connected device (3 available)
    • iPhone (mobile) • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.7.2 19H218
    • macOS (desktop) • macos                                    • darwin-x64     • macOS 13.5 22G74 darwin-x64
    • Chrome (web)    • chrome                                   • web-javascript • Google Chrome 116.0.5845.96

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.14.0-9.0.pre.86, on macOS 13.5 22G74 darwin-x64, locale en-VN)
    • Flutter version 3.14.0-9.0.pre.86 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 22a61b947f (4 minutes ago), 2023-08-24 21:26:56 -0700
    • Engine revision 1382d6d794
    • Dart version 3.2.0 (build 3.2.0-97.0.dev)
    • DevTools version 2.26.2
    • 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 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2022.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 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.81.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.70.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.5 22G74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 116.0.5845.110

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Does -d actually target chrome when used with flutter test? (I'm pretty sure it doesn't, I think it's just ignored.)

It seems so. -d is a global option and I also don't see it used at test.dart command.
➜  repro3_13_1 flutter test --help
Run Flutter unit tests for the current project.

Global options:
-h, --help                  Print this usage information.
-v, --verbose               Noisy logging, including all shell commands executed.
                            If used with "--help", shows hidden options. If used with "flutter doctor", shows additional diagnostic information. (Use "-vv" to force verbose logging in those cases.)
-d, --device-id             Target device id or name (prefixes allowed).
    --version               Reports the version of this tool.
    --suppress-analytics    Suppress analytics reporting for the current CLI invocation.
    --disable-telemetry     Disable telemetry reporting each time a flutter or dart command runs, until it is re-enabled.
    --enable-telemetry      Enable telemetry reporting each time a flutter or dart command runs.

Usage: flutter test [arguments]
-h, --help                                                   Print this usage information.

https://github.com/flutter/flutter/issues/133358

https://github.com/flutter/flutter/issues/125070 and this should probably be under the same roof. So moving this to team: tool, but of course, whoever can cycles can fix it; doesn't have to be the tool team.


Adding a Wordle Game

Describe the project you want to add with tech stack
Wordle is a word guessing game
Expected behavior
A player is given 6 guesses to guess a 5 letter word. After each guess square tile change its color according to the following color coding scheme:
Correct letter with correct position - GREEN
Correct letter with wrong position - YELLOW
Wrong letter - Grey
The keyboard keys also change color based on above color coding scheme.
Screenshots (optional)

@ishita80 Go ahead !!

hey @Saurabh-kumar09 can you please assign this issue to me


Port GenericTensorNetworks

Convert a GraphProblem to a TensorNetworkModel or a MMAPModel
Allows setting unity tensors manually with the flexibility to compute joint marginal probabilities.

We can solve a set of inference problems on a collection of combinatorial optimization problems now, cheers!

mars is a vector containing vectors of variables. Each inner vector is a set of variables for computing joint marginal probability distribution.
To make it distinct from openvars, I use mars rather than marvars.


How to emulate C-x, C-e using PSReadline

Thanks for this great project.
I'd like to emulate the behavior of C-x,C-e key chord to open whatever is on the current command line in the users configured $EDITOR and then run the command when $EDITOR exits. Described for example in this SO post
I've been reviewing the sample profile and documentation, but I'm not quite clear on how this could be done.

@srdubya implemented this for vi mode.
I thought this would work:
$env:EDITOR = 'gvim'
Set-PSReadlineKeyHandler -Chord 'Ctrl+x,Ctrl+e' -Function ViEditVisually

It pops up gvim, but the command line is not there to edit  It seems like it shouldn't be hard to fix though.

New key binding added in 647da39


Dynamic model attributes

Is there a recommended way to dynamically set a model attribute?
Something like Dynamic Fields in sunspot gem

Closed, but why?!
I don't want to define gazzilion of String attributes my mappings have.


If MaxLengthAttribute is not present, make it MinLengthAttribute + 10…

…0 instead of int.MaxValue to avoid to avoid creation of too many objects
Addressing #1050
100 is completely arbitrary, could be a property on the Relay or in its ctor, but this basically adresses the issue.

@Pvlerick Thanks for working on this!
I see two ways to solve the situation if MaxLength is not specified:

create MinLength items;
create MinLength + FixedBuffer items.

In this PR you proceeded with the second approach with FixedBuffer == 100.
Personally, I don't know which the approach is better.
@moodmosaic Could you please share you thoughts how you would solve the issue?

It's awesome to see you back @Pvlerick 🎉 I left a comment there.

From my experience with DataAnnotations combined with AutoFixture, where they're used for providing fine-grained control over the scope of generated values, I have to say that they have a horrible API...
See my comments in https://github.com/AutoFixture/AutoFixture/issues/453 as an example. I'd consider putting them on a separate package (and keep the namespace as-is for now). We can make an issue for it if you think a change like this would be sensible.

@moodmosaic As far as I remember, we have already discussed that previously and agreed to not separate them project will contains very few classes.
Do you feel that something changed from those times? :astonished:

The problem is that DataAnnotations keep causing confusing, aren't they?

Well, in this particular PR we are fixing the bug introduced recently, so I accept that fact as OK 😅
Apart from that - well, not all the attributes are covered, but that looks fine IMO. We'll need to maintain the support in any case, so behavior might be still confusing and no matter whether the support is built-in, or a separate package is installed 😄

I don't know. I have mixed feelings for them as you can tell from this and #930.

Thanks for merging this. I agree that the 100 magic value is ugly but I'm not familiar enough with the code to find a better way that didn't involve asking the context.


Record the time the request was submitted to the tomcat thread pool to the request header

Add an agent plugin to support record the time the request was submitted to the tomcat thread pool to the request header

[ ] Add a test case for the new plugin
[ ] Add a component id
[ ] Add a logo

Can I merge into this repository？ 😳

I can't see why you add this random thing to SkyWalking Java agent.
This doesn't follow any existing fields.

I can't see why you add this random thing to SkyWalking Java agent. This doesn't follow any existing fields.

I think this helps to monitor the time it takes for a request to be submitted to the thread pool by tomcat poll until it is executed. why is random thing

SkyWalking scope is very clear. And our APIs provide key features and protocols define the boundaries.
We would not inject random things to user applications.
Notice, I am not saying you are wrong, my point is, this could be your private plugin, or your own open source project in you repo.
The offical plugins only host defined scope things. Yours are not in that scope.

SkyWalking scope is very clear. And our APIs provide key features and protocols define the boundaries. We would not inject random things to user applications.
Notice, I am not saying you are wrong, my point is, this could be your private plugin, or your own open source project in you repo.
The offical plugins only host defined scope things. Yours are not in that scope.

i get it.
maybe I should write something more general to integrate with skywalking.
I just don't see anything like that in skywalking.

i will close this pull

Maybe next time please first open an discussion in the main repo to talk about it before opening pull requests. Then it will have higher chance of getting merged.

@zanpocc Maybe next time please first open a discussion in the main repo to talk about it before opening pull requests. Then it will have a higher chance of getting merged.

ok，I thought it was maintained separately

maybe I should write something more general to integrate with skywalking.

This is a strange perspective. Are you purely trying to contribute some features? If not, a private use for your own case is totally fine. That is normal in open source.


SMS Backup+ Restore issue PLEASE help

I have a Samsung Note 3 running 4.4.4   I tried to restore text from SMS Backup+ and almost none of the text were restored. They all show up as duplicates. Can someone please please help me? Most of the post I see are too old and the apps needed are no longer available for download.

duplicate of #684


Vulnerability roundup 114: ffmpeg-5.0.1: 1 advisory [5.5]

search, files

[ ] CVE-2022-1475 CVSSv3=5.5 (nixos-unstable)

CVE details
CVE-2022-1475
An integer overflow vulnerability was found in FFmpeg 5.0.1 and in previous versions in g729_parse() in llibavcodec/g729_parser.c when processing a specially crafted file.

Scanned versions: nixos-unstable: f419dc5763c.
Cc @codyopel

Fix already present in 5.0.1.


GCP: VM instance

Compute Engine lets you use virtual machines that run on Google's infrastructure. Create micro-VMs or larger instances running Debian, Windows, or other standard images. Create your first VM instance, import it using a migration service, or try the quickstart to build a sample app.

This is the instances API: https://cloud.google.com/compute/docs/reference/rest/v1/instances

Add reference to the following resource:

Route Resource (nextHopInstance)
Network Endpoint Resource (endpointGroup --> instance)


Sample for filesSpec does not work on OSX with gradle 2.10

I get following errror:
_bintrayRecordingCopy
:bintrayUpload FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':bintrayUpload'.
> Could not upload to 'https://api.bintray.com/content/pwielgolaski/maven/gradle-filespec-test/1.0-Final/../../../../../../filesSpec-example-1.0.jar': HTTP/1.1 400 Bad Request 400 Bad Request400 Bad Requestnginx

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1.931 secs

I was able to solve it by changing line https://github.com/bintray/bintray-examples/blob/master/gradle-bintray-plugin-examples/filesSpec-example/build.gradle#L55
like
		into '.'

Thanks for this @pwielgolaski. The example is now fixed.


NullReferenceException in Quantity.toString

If the value element of a Quantity is null, the toString results in a NullReferenceException:
https://github.com/DBCG/cql_engine/blob/master/cql-engine/src/main/java/org/opencds/cqf/cql/runtime/Quantity.java#L66
It's not clear how a Quantity with a null element got in there, that's a different issue, but this toString should be resilient to that case.

Included in 1.4.0 release


Invalid host in HTTP header if setting host via service_name for channel inited by list or file

Describe the bug (描述bug)
In brpc::PROTOCOL_HTTP, we will set the host field by service_name when

host is not explicitly set
host is not set in the url

    if (_options.protocol == brpc::PROTOCOL_HTTP) {
        URI& uri = cntl->http_request().uri();
        if (uri.host().empty() && !_service_name.empty()) {
            uri.SetHostAndPort(_service_name);
        }
    }

However, when the channel is inited via na_url shceme = list or file, such _service_name is not valid host field which
results  in 400 BadRequest
To Reproduce (复现方法)
Init a channel with ipport list and http_request uri with relative path, eg:
    brpc::Channel channel;
    brpc::ChannelOptions opt;
    opt.protocol = brpc::PROTOCOL_HTTP;

    std::string server("list://<IP_ADDRESS>:8000,<IP_ADDRESS>:8001");
    std::string lb("rr");
    const int ret = channel.Init(server.c_str(), lb.c_str(), &opt);

    brpc::Controller cntl;
    cntl.http_request().uri() = "/dummy";
    channel.CallMethod(nullptr, &cntl, nullptr, nullptr, nullptr);

In the http request, the host field will be set as :
host: <IP_ADDRESS>:8000,<IP_ADDRESS>:8001
Similarly， when the ns_url is a file://conf/hosts, the host field in HTTP requeset will be:
host: conf
Expected behavior (期望行为)
host should be set as remote_side IP+Port in the senarios above
Versions (各种版本)
OS:  Ubuntu 20.04
Compiler:  g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
brpc: latest  59f5d772db2ec3d280ee3fbd881e078544590f3b
protobuf: 3.6.1
Additional context/screenshots (更多上下文/截图)

We could

A: check if service name a valid host for HTTP
B: set host field by remote_side

option B would revert some changes dab62e476 by @guodongxiaren

We could

A: check if service name a valid host for HTTP
B: set host field by remote_side

option B would revert some changes dab62e4 by @guodongxiaren

I think we can check if ns_url shceme is 'http' or 'https', if true, set host field by service_name

We could

A: check if service name a valid host for HTTP
B: set host field by remote_side

option B would revert some changes dab62e4 by @guodongxiaren

I think we can check if ns_url shceme is 'http' or 'https', if true, set host field by service_name

hmm. looks good. I can provide a patch based on this

Is it possible that we fix the host field after a server has been selected?

Is it possible that we fix the host field after a server has been selected?

B: set host field by remote_side

If schema is not http(s), but protocol is HTTP.

Currently the host is set by remote side iff the host is not set. however such scheme info is not available when host is updated by temote_side

correction merged 3f8e1cc4e23d36094d0a631a499f89f5ad2c4fb4


Shouldn't Logger#formatter take a Severity instead of a String?

I was surprised Logger#formatter takes a String for its first parameter severity instead of a Logger::Severity enum. Is this on purpose? Why should I write:
LOG = Logger.new(STDOUT)
LOG.formatter = Logger::Formatter.new do |severity, datetime, progname, message, io|
  io << case severity
  when "DEBUG"
    ":: "
  when "INFO"
    ">> "
  end
  io << message
end

instead of:
LOG = Logger.new(STDOUT)
LOG.formatter = Logger::Formatter.new do |severity, datetime, progname, message, io|
  io << case severity
  when .debug?
    ":: "
  when .info?
    ">> "
  end
  io << message
end

Probably just history. It does look better to me. @ysbaddaden any comments?

I guess it should, yes.

Thank you all for the quick fix!


(nixos/systemd): Add Persistent for services.

Persistent will check on startup if a timer trigger was missed while the
timer was inactive and trigger the timer once if it was.  This is useful
for computers to catch up on missed automated tasks from while they were
shut down.

Motivation for this change
This will enable us to provide the persistent option for system.autoUpgrade or services.borgbackup.jobs. That way, if you have a daily update or backup that is sometimes missed because your personal computer is off, it will catch up the next time you turn the computer on.
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 (n/a, nixos change)
[ ] other Linux distributions (n/a)

[ ] 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/). (I manually checked that the timer would work correctly for a service)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date (I added docs for the new options, not sure if that is everything).
[x] Fits CONTRIBUTING.md.

Some thoughts on this PR. I went with the current pattern of wrapping the option on the service configuration.
I think it could also make sense to let you fully specify systemd.timers..timerConfig from the service, but this conflicts with the current pattern, and I would need more guidance on how to manage that.

I'm not opposed to this change, but I'm not sure I see the value. I would have assumed this value is intended to be directly used by sysadmins for their own systemd units (presumably for discoverability, let people know this option exists, because it is a common problem to solve), but you explicitly mention other NixOS services utilizing this. Since other NixOS services often write their own systemd units I think it makes sense that NixOS developers likely know this systemd option exists already and there isn't much value.
Just my thoughts, at least.
cc @NixOS/systemd

My end goal is just to enable Persistent for services.borgbackup.jobs, so whichever way is best to get that done I'm good with.
Looking through a number of nixos services, they already configure both their systemd services through systemd.services and timer through systemd.services.<name>.startAt.
Some examples of startAt:

borgbackup.jobs, which passes through to systemd.services.
nix.gc
system.autoUpgrade
zfs

For these modules, adding this option gives them an easy way to make use of persistent without rewriting their module.
In addition, it still takes a bit of dev work to take a nixos option, convert that into a string formatted for a systemd service or timer, then figure out what file to write that to so systemd picks it up. By using these options instead of directly writing the files, we can share that work between developers.
But at the same time, I'm not an expert on nixos, so I'll go along with whatever people think is best.

systemd.services.<name>.startAt is self-explanatory enough so people understand it creates a timer for the service unit.
systemd.services.<name>.persistent feels very unintuitive to me - it's configuring the generated timer, available in systemd.timers.<name>.
I'd feel more comfortable if the borgbackup/… modules could just access systemd.timers.<name> directly (in addition to the startAt if they want to configure the generated timer in more detail.
In fact, that's what nix-gc is already doing today:
    systemd.services.nix-gc = {
      description = "Nix Garbage Collector";
      script = "exec ${config.nix.package.out}/bin/nix-collect-garbage ${cfg.options}";
      startAt = optional cfg.automatic cfg.dates;
    };

    systemd.timers.nix-gc = lib.mkIf cfg.automatic {
      timerConfig = {
        RandomizedDelaySec = cfg.randomizedDelaySec;
        Persistent = cfg.persistent;
      };
    };

Ah thanks, I didn't find any examples of this, I should have been looking through the unstable options instead.
Yeah, I like the idea of directly setting the service and the timer in the module. Seems like an better way to make all of the timer functionality available to a service.
I'm going to close this PR and work on implementing that instead.


Torrent resolving issue

Hi,
Some of the torrents doesn't play.
I took a one case, for example: Money Heist S03E01
Kodi Debug Log:
https://paste.ubuntu.com/p/Mbk6WvXwmM
Thanks.

Elementum version: 0.1.83
Kodi 17.6

22:39:07.061 T:14012  NOTICE: [plugin.video.elementum] ERRO  bittorrent   ▶ WaitForMetadata  Expired timeout for resolving magnet link for 40 seconds

this magnet does not work for me in even in qbittorrent from 2 different locations in europe (vpn), so this is looks like not an elementum issue - probably no real seed (tracker website can show anything) or traffic to them are blocked.

@burekas7 maybe it's an issue on your end, I can play Money Heist S03E01 just fine.

@ShlomiD83
I know I could choose another torrent from the list,
I was curious why this one for example didn't work, because it happens more lately then before.

@burekas7 the magnet to tried to play indeed doesn't work, not in Elementum or qBittorrent.
It's not an Elementum issue, it's a specific torrent issue.

Yes, it seems that sometime the tracker's website return false data as anton said.


[Discussion] What is platatus?

Discuss what is platatus?  What problem should it solve? Which technologies will be used and how?

https://github.com/digitarald/platatus/wiki/MVP should answer the product questions.

https://github.com/mozilla/wadi/issues/2 takes a shot at higher level what-is-success. Technologies are currently set in the repo (node/gulp/babel/etc) are to be extended as needed during v1 development.


add page - contact info

ref - https://iiitdwd.ac.in/contact_info.php
link this page in the /contact page throught a button

i will do it


Lack of rank_update and Almost 70MB on npm

Hey!
Npm package weighs almost 70mbs due to some json files, not sure if intended.
Also rank_update event isnt part of the listGameEvents. Also not sure if that should be there given its not game event but I think its also not in readme

Hi,
Oops didnt know NPM was pushing those... deleted now in 0.8.1. Also regarding rank_update: yes I think it should be part of list_game_events so I added it there. Preferably the user would not know if the game event is "real" or not.

Thx <3


Waiting for more detailed docs.

Is your feature request related to a problem? Please describe.
Your work is great! I just moved from simple-mind-map which is also wonderful.
I have two requests.

Can you make a method to destroy the instance? I worry about memory leakage.
Can you make more details for docs?
When I read the docs for example locale of options:
export type Options = {
el: string | HTMLElement;
direction?: number;
locale?: string;
draggable?: boolean;
editable?: boolean;
contextMenu?: boolean;
contextMenuOption?: any;
toolBar?: boolean;
keypress?: boolean;
mouseSelectionButton?: 0 | 2;
before?: Before;
newTopicName?: string;
allowUndo?: boolean;
overflowHidden?: boolean;
generateMainBranch?: (this: MindElixirInstance, params: MainLineParams) => PathString;
generateSubBranch?: (this: MindElixirInstance, params: SubLineParams) => PathString;
mobileMenu?: boolean;
theme?: Theme;
nodeMenu?: boolean;
};
How many locale options should I use? And so on.

Respect!!!

There’s no destroy method for now, but I’ll add it in the future.
type Locale = 'cn' | 'zh_CN' | 'zh_TW' | 'en' | 'ru' | 'ja' | 'pt' | 'it' | 'es'


⚠ Jenkins Plugins Artifactory has degraded performance

In 6bf8d20, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1198 ms

Resolved: Jenkins Plugins Artifactory performance has improved in fa1ac38 after 25 minutes.


chore: Add Nexus International University

https://niu.ac.ug/bsc-in-computer-science/
https://niu.ac.ug/contactus/

@Jehoshaphatia First stage of verification passed, official domain for NEXUS INTERNATIONAL UNIVERSITY is niu.ac.ug as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Jehoshaphatia Thank you for your patience while waiting for a review and processing your request. Pull request merged.
Please start requesting the licenses in about an hour, to let the changes to propagate through our system.

Thank you @philipto


Implement comparisons on nested data types such that distinct/except would work

Which issue does this PR close?
Closes #10749

Rationale for this change
This relies on newer functionality in arrow 52 and allows DataFrame.except() to properly work on schemas with structs and lists. I'm not sure if this is the appropriate way to handle this change per se, but I included the regression case from the issue as a test in order to demonstrate the correction of the issue

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

I am quite indifferent to the solution here as long as #10749 is resolved :smile:
Happy to have this closed out in favor of a better implementation!

I am quite indifferent to the solution here as long as #10749 is resolved 😄
Happy to have this closed out in favor of a better implementation!

This PR is great and I think a step forward (the code no longer errors!)
I'll make a follow on PR to try and simplify the implementation.

Thanks again @rtyler  and @jayzhan211

Filed https://github.com/apache/datafusion/pull/11149 with a proposed simpler implementation


Add flood fill in Rust

This implementation makes use of the ndarray crate, which is accessible from the Rust Playground.

[lang: rust]

And you also need to solve conflicts in the .md, but I think all the line numbers are good.

It's very old PR. Are we still going to continue reviewing it ? author doesn't seems to be active on this PR for 2 years.

I don't particularly have time to go back through this PR and make changes. Feel free to supersede/cherry-pick.


How to use multiple where clause, i have below error

ReActiveAndroid Version:
implementation 'com.reactiveandroid:reactiveandroid:1.4.3'
Bug or Feature Request:
public static int getactualarea(String seasonid,String crop,String section) {
return (int) Select.from(PlatationMasterDb.class).where("section_id LIKE ? AND season_id LIKE ? AND season_id LIKE ?", section, seasonid,crop).sum("manual_area");
}

I think your syntax is incorrect, also refer to responses/issues;
https://github.com/ImangazalievM/ReActiveAndroid/issues/43
https://github.com/ImangazalievM/ReActiveAndroid/issues/39#issuecomment-450048675
Refer to below;
LIKE '?%'
Note note = Select.from(Note.class).where("id=? AND title LIKE '?%'", 1, "Hello").sum();


Issue when starting covalent programmatically

Environment

Covalent version: 0.212.1rc0 although it can be traced back to 0.202.0.post1
Python version: 3.9.15
Operating system: Ubuntu 20.04

What is happening?
When covalent is run programmatically, even though it says the covalent server has started, the dask cluster takes some time to get set up. Which leads to adding a sleep statement right after doing covalent start. This is not an issue if someone does covalent start on their terminal and then runs their workflow manually because that small amount of time gap is sufficient for dask to set its cluster up.
How can we reproduce the issue?
import os
import covalent as ct

os.system("covalent start")

@ct.lattice
@ct.electron
def task():
    return 42

result = ct.dispatch_sync(task)()
print(result)
os.system("covalent stop")

This will fail with the error (you might have to check the logs):
Node generate_normal_time_series_set failed:
Traceback (most recent call last):
  File "/home/neptune/anaconda3/envs/QVR/lib/python3.9/site-packages/covalent_dispatcher/_core/execution.py", line 353, in _run_task
    output, stdout, stderr = await execute_callable()
  File "/home/neptune/anaconda3/envs/QVR/lib/python3.9/site-packages/covalent/executor/base.py", line 387, in execute
    result = await self.run(function, args, kwargs, task_metadata)
  File "/home/neptune/anaconda3/envs/QVR/lib/python3.9/site-packages/covalent/executor/executor_plugins/dask.py", line 108, in run
    await dask_client
  File "/home/neptune/anaconda3/envs/QVR/lib/python3.9/site-packages/distributed/client.py", line 1213, in _start
    await self._ensure_connected(timeout=timeout)
  File "/home/neptune/anaconda3/envs/QVR/lib/python3.9/site-packages/distributed/client.py", line 1276, in _ensure_connected
    comm = await connect(
  File "/home/neptune/anaconda3/envs/QVR/lib/python3.9/site-packages/distributed/comm/core.py", line 291, in connect
    comm = await asyncio.wait_for(
  File "/home/neptune/anaconda3/envs/QVR/lib/python3.9/asyncio/tasks.py", line 479, in wait_for
    return fut.result()
  File "/home/neptune/anaconda3/envs/QVR/lib/python3.9/site-packages/distributed/comm/tcp.py", line 487, in connect
    ip, port = parse_host_port(address)
  File "/home/neptune/anaconda3/envs/QVR/lib/python3.9/site-packages/distributed/comm/addressing.py", line 95, in parse_host_port
    port = _default()
  File "/home/neptune/anaconda3/envs/QVR/lib/python3.9/site-packages/distributed/comm/addressing.py", line 73, in _default
    raise ValueError(f"missing port number in address {address!r}")
ValueError: missing port number in address ''

What should happen?
_graceful_start should have a mechanism to check whether covalent and the dask cluster have started completely and only then exit and print the "Covalent server has started..." line. Ideally, no sleep statements should be present in this function.
Any suggestions?
No response

I wasn't able to reproduce this, is it resolved?
CC: @santoshkumarradha

I just checked, Seems like this issue is auto solved! thanks @madhur-tandon  !
Closing this.


[9.x] Adds Custom Components to Query Builder

What?
Allows to register custom instance-living components to the Query Builder, which allows to save data state or functionality, and expand on them. This implementation is in light of Deprecated Dynamic Properties in PHP 8.2, will be enforced in PHP 9.0.
For example, a macro setting a dynamic property will now have the option to use the internal customComponent array and helpers.
use Illuminate\Database\Query\Builder;

Builder::macro('isCool', function () {
    // Before
    // return $this->coolness ?? false;

    // After
    return $this->getComponent('coolness', false);
});

Considering the impact of macros setting dynamic properties in the future, a Composable trait could be available framework-wide for PHP 8.2 >= compatibility, or include it on the Macroable trait.

If this really is a problem a lot of people face, a better way to fix this would be to add the AllowDynamicProperties attribute, because that way theres no changes necessary for the people affected until PHP 9.
Though personally I would extend or decorate Laravel's query builder if I ever needed this.


Ubuntu/Debian compatibility

I haven't seen any issues or PR's regarding Ubuntu support so I thought I'd get the ball rolling on this and start making some progress. I've fixed a few issues that I believe are affecting Ubuntu support.

Everything is hardcoded to /usr/bin (which is fine, but we need symlinks similar to how azure is done because binaries in Ubuntu are generally in /bin.)
The install prereqs stage only had CentOS/RHEL in mind. I've fixed that to include Ubuntu/Debian by looking at /etc/os-release and acting accordingly.

Let me know what you guys think.

Squashed to fix the code-quality tests.

See also https://dcosjira.atlassian.net/projects/DCOS/issues/DCOS-25?filter=allopenissues

@malnick what do you think to use yum and apt Python API?

@iamthemuffinman I think this is a great start, and thank your for making the contribution. At the cost of making this preflight script more complicated, I think we should start a discussion around the following actions to make extending this a bit more organized:

Refactor action_lib to break out the init.py into individual actions (preflight.py, deploy.py, etc)
Make the actions distro-specific (preflight-centos.py, preflight-ubuntu.py, etc)
Make a top level action dispatcher in the init.py which does the logic around figuring out which distro we're on, it could be as simple as passing in the supported distro explicitly in the config.yaml (preferred) or maybe it executes uname on the host (more complicated, but extendable to heterogenous clusters).

@bhack I much prefer using the command line commands for each distro than trying to use a "generic" library or some special API which likely isn't as maintained / developed as the command line which people interact with and use all the time.

@bhack For client-side package installation?

@malnick Yes @cmaloney ok.. but are official supported by yum and apt. Using api could let to better control errors and exception  if you need to notify users

@bhack I agree with @cmaloney on this. This would require python, a specific distro of python, on the host to execute. That's a dependency we shouldn't have for something as general as package installation.

Ok if we are without python go ahead with the (s)hell

@malnick You're welcome! I agree with 1 and 3 wholeheartedly. 2 seems like it would get a little messy. I think refactoring into separate steps (ie: deploy.py, preflight.py, postflight.py, etc) and then decide from there whether or not distro-specific steps need to be broken out into separate files (ie: preflight-centos.py) is the way to go.

There's some large pieces (both inside and outside this repo) which need to be looked at for this as well. Most notable being some way to test this in CI reliably (There is dcos-vagrant for CentOS, that doesn't work for ubuntu). The CI image also needs to have pre-requisites pre-installed (It's amazing how flaky things like yum install are inside of CI. It has been our leading install failure until we started baking them into the base machines for CI).
We also need to start looking at building out the dcos.io docs for this.
I don't things like refactoring to break out __init__.py into preflight.py and co at this point is actually very valuable or is valuable code motion as part of this PR. It's going to add a lot of noise.
I would argue that we need to make the bash script more maintainable with this it passes a critical threshold for maintainability (And it was arguably over that before but it skipped code review...).
For that either need to split the bash into two pieces for the preflight (one for Ubuntu, one for CentOS) and make some way for the user specify ahead of time which to use (Slightly worse usability, but with an advantage of not guessing).
Better would be to do a little bit of introspection since the GUI installer is supposed to be the "easy" button. Ideally inspect all the hosts. Make sure they're all the "same" distribution, set that bit of config for the user, and use the appropriate prerequisite installer, as well as disallow alternate-OS nodes from joining the cluster (I think the potential issues mixing base OS inside a cluster probably aren't worth dealing with at this point unless there is a strong customer use case. DC/OS is supposed to make all machines look the same).
We also need to work on getting frameworks / DC/OS Universe packages and tutorials tested out on Ubuntu, and fixed up so we know when it's shipped day 1 things actually work.
Probably should actualy build out a big design doc / checklist of tasks... But that is a task for tomorrow

Sure. There should be some sort of design doc, checklist, etc to understand and track all the pieces that would need to be touched.
I don't think refactoring in this PR is valuable, but in general it is valuable. It will make the code easier to understand and probably easier to test.
I believe introspection is the best way to do that. Maybe with an optional override in case of bugs. (I could see someone in the slack channel having issues with their deployment because the wrong OS is being detected.) Disallowing alternate base OS nodes could be somewhat difficult. Presumably that info would be stored on the bootstrap node and whichever OS is detected first would become the only allowable base. I agree that there isn't really a use case for mixing base OS's inside a cluster.
A design doc/checklist would be extremely helpful. I am more than happy to work towards getting Ubuntu support ASAP. In my organization, we use Ubuntu for everything so getting DC/OS on Ubuntu is huge.
Thank you for taking the time to look at and review this!

/cc @mtamburrano @lenlen

Why we cannot remove hardcoded commando path?

Systemd mandates absolute paths to commands. In some cases we could switch
to some internal implementation of the same command.
On Thu, May 12, 2016, 1:56 AM bhack<EMAIL_ADDRESS>wrote:

Why we cannot remove hardcoded commando path?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/dcos/dcos/pull/55#issuecomment-218698722

$(readlink -f symlink) can't be used? It would provide an absolute link.

Could we rely on "which" command or is not supposed to be installed?

We could abuse /usr/bin/env. ;)

I'm afraid I don't know anything about those checks that haven't completed, can someone give me a rundown on whether there's any news regarding this? Thanks!

@isavcic The code is still a work in progress and there are bigger open design questions about how to do this, and landing the necessary bits across DC/OS.

@isavcic the three uncompleted integraion-test/* checks are currently lacking proper documentation (coming soon). What these tests all do is spin up a minimal on-prem DCOS cluster using the installer and run this: https://github.com/dcos/dcos/blob/master/test_util/integration_test.py
For this particular PR, those tests won't provide meaningful feedback as they don't run on Ubuntu hosts. One of the many bits needed to land this ( as @cmaloney points out)  would be expanding test coverage.

Is there a roadmap?

Why?

We can continue the discussion here: https://dcosjira.atlassian.net/browse/DCOS-25.
We are planning on adding ubuntu support. This PR is just not enough to get us there. I can't give a definitive date but will come back with some news soon.
It is of course entirely our intention to support ubuntu as a first class base OS


carla UE sim crashes when 2wheeled BP is in scene

Hello!
I built carla 0.9.15 from source on my Windows machine. When I run the simulation in the editor, everything runs fine. I can also place BPs like vehicles or walkers in the scene without problems.
The only exception are 2wheeled BPs - whenever I place one of those in the scene, I get a crash and following error:
Assertion failed: VehicleAnim != nullptr [File:C:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Vehicle/Carla WheeledVehicle.cpp] [Line: 880]
I tried it with different ones and also with the "BP_Base2wheeledNew" , but it always results in the same crash.

Hello, I'm trying to replicate your error on my machine, so far, I've been able to place all the 2wheeled bps in the scene, and I can play without problem. Did you modify the wheeledvehicle parent blueprint? Also, does unreal crash when you have no 2wheeled bp on the scene?
Did you check the animation inside the blueprints? Make sure you have information here.


chore(deps): update terraform terraform-ibm-modules/secrets-manager/ibm to v1.18.1

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/secrets-manager/ibm (source)
module
patch
1.18.0 -> 1.18.1

Release Notes

terraform-ibm-modules/terraform-ibm-secrets-manager (terraform-ibm-modules/secrets-manager/ibm)
v1.18.1
Compare Source
Bug Fixes

deps: update required_provider to latest for the deployable architecture solution (#202) (3426ac7)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

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

GitHub release
v1.2.12

Your semantic-release bot :package::rocket:


Examine potential vulnerability to exploit and fix if needed

This news about a vulnerability in Windows Hello is making the rounds, where an infrared image of a user's face can be used to bypass the authentication system.
Not sure if howdy has the same vulnerability, just a heads up!
https://www.cyberark.com/resources/threat-research-blog/bypassing-windows-hello-without-masks-or-plastic-surgery

Thanks for the interesting read! This attack is 100% possible with Howdy if the attacker has:

Physical access to your device
Knows the unique ID of the camera you have activated with Howdy
Has a high resolution photo of your face
Is able to clone the USB ID into a custom device that feeds the photo into Howdy

I think that bad actors with enough resources to pull this off would be able to bypass Howdy with a simpler attack too.


Run both regular and --watch analysis on Travis

We keep breaking --watch because we don't test it.


How to use BlockGrad with weight decay

I saw in this  and this issue comments, @winstywang suggests that using BlockGrad with weight decay is highly inadviseable. As I also asked in this comment, how can I use BlockGrad to freeze first layers of the net, while still using weight decay on the unfrozen ones?

@mxnet-label-bot [Question, How To, Modeling]

Hi @VanDavv,
Given the original context of transfer learning, with Gluon you can just provide the parameters for the last layer to the Trainer object. Usually you'd give all of the parameters with net.collect_params(), but instead only provide the parameters you're interested in learning/tuning.
See https://mxnet.incubator.apache.org/tutorials/onnx/fine_tuning_gluon.html for an example, and use dense_layer if you only want to train the last layer and not fine-tune the whole network:
trainer = gluon.Trainer(dense_layer.collect_params(), 'sgd',
                        {'learning_rate': LEARNING_RATE,
                         'wd':WDECAY,
                         'momentum':MOMENTUM})

Answering your question a little more directly (if you haven't moved over to Gluon), you could set the weight decay to zero for the parameters before the BlockGrad with set_wd_mult.

@VanDavv Hope your question has been answered :)
For more questions, please feel free to post on MXNet discussion forum (https://discuss.mxnet.io), where it will get a wider audience and allow other to learn as well.
@sandeep-krishnamurthy Please close this issue.
@VanDavv Please feel free to re-open if closed in error.
Thanks!"


not working for ionic 3

I have installed version 5.2.6 as i am using ionic 3. when i try to use inline datetime picker, its appearing with all svg's at bigger sizes.
when i try to use input box approach, its not triggering any event. please find the screenshot for understanding.

may i know if i have installed the right version or not?
note: latest version is giving some syntax errors, so used 5.2.6.
ionic info:
Ionic:
ionic (Ionic CLI)  : 4.0.1 (C:\Users\LENOVO\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework    : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.10
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms     : android 7.0.0
System:
Android SDK Tools : 26.1.1
NodeJS            : v8.11.2 (D:\ProgramFiles\nodejs\node.exe)
npm               : 5.6.0
OS                : Windows 10
Any idea what can be done?

@thurimerla just follow the steps given there in the readme.

were you able to install the module? if, you should be able to import as given in the read me.
then you can use it any page as required.

import { OwlDateTimeModule, OwlNativeDateTimeModule } from 'ng-pick-datetime'; in app.module.ts
then in the page:
<ion-calendar #calendar (onDaySelect)="onDaySelect($event)"></ion-calendar>
also in index.html add the styles:
<link rel="stylesheet" href="lib/mobiscroll/css/mobiscroll.min.css">


User blocking

RP/リアクションなどを拒否できる機能。連合的にもないと困る

I think that this issue is about a block feature according to translators, sorry if it's not, I can't actually speak japanese.
I am strongly in favor of a block feature. I think it is essential for the privacy and safety of users. I just started my Misskey instance for me and my friends and the lack of a block feature is understandably a dealbreaker for some. Muting is just not enough because muted people can still see your posts.
I hope a block feature gets added soon to Misskey.
Thank you for the work you are doing on it, have a nice day

#3035

現状のブロック実装は以下のような感じです

フォロー解除/拒否は、実装済み
ブロック相手を隠す機能は、ブロックではなくミュートでのみ可能
ブロック相手から隠す機能は、未実装

ブロック相手から隠す機能は、以下のような機能
https://docs.joinmastodon.org/usage/privacy/#blocking

The user won't see other people's boosts of you
The user won't see you in public timelines
If you and the blocked user are on the same server, the blocked user will not be able to view your posts on your profile while logged in.

Itd be great to have multiple options for the admin the remove other instances from theirs
1: Defederation, no posts from the admins instance go to the defederated instance, and no posts, reactions, replies etc from the defederated instance reach the admins
2: Block, no interaction (notes, reacts, renotes, replies) from the blocked instance reach the admins instance. outgoing information is unaffected
3: Mute, posts from the muted instance do not show on any timelines except home timelines for local users who have followed users from the muted instance. Users not following users on the muted instance do not see any notes, replies etc from the muted instance.
4: Nsfw, all content from the instance is automatically tagged as nsfw


Extracted tableHelpers.

Why?
Substance provides now some general helpers for tables, e.g., how to create column labels 'ABC' from index, etc.
What?
This PR removes these helpers from this repo.

Merging this because the 'failing' is because istanbul does not support es8 yet.


[backport-1.11] [FLINK-19748] Iterating key groups in raw keyed stream on restore fails if some key groups weren't written

This is a backport of #13772 to release-1.11. Only the last 2 commits are relevant for FLINK-19748.
Please see #13772 for a detailed description.

I tried to build this from source and got the same error with slightly different line numbers when restoring a stateful function from a savepoint:

git clone https://github.com/tzulitai/flink.git
cd flink
git checkout FLINK-19748-backport_1.11
mvn clean package -DskipTests

add to flink-conf.yaml:
classloader.parent-first-patterns.additional: org.apache.flink.statefun;org.apache.kafka;com.google.protobuf
#optionally use rocksdb
state.backend: rocksdb
taskmanager.numberOfTaskSlots: 2
parallelism.default: 2

Run https://github.com/Antti-Kaikkonen/FlinkStatefunCountTo1M with parallelism 2

create a savepoint

try to restore from the savepoint and the error is thrown in the feedback-union -> functions task:
Exception: Exception while creating StreamOperatorStateContext.
	at org.apache.flink.streaming.api.operators.StreamTaskStateInitializerImpl.streamOperatorStateContext(StreamTaskStateInitializerImpl.java:220)
	at org.apache.flink.streaming.api.operators.AbstractStreamOperator.initializeState(AbstractStreamOperator.java:248)
	at org.apache.flink.streaming.runtime.tasks.OperatorChain.initializeStateAndOpenOperators(OperatorChain.java:290)
	at org.apache.flink.streaming.runtime.tasks.StreamTask.lambda$beforeInvoke$0(StreamTask.java:479)
	at org.apache.flink.streaming.runtime.tasks.StreamTaskActionExecutor$1.runThrowing(StreamTaskActionExecutor.java:47)
	at org.apache.flink.streaming.runtime.tasks.StreamTask.beforeInvoke(StreamTask.java:475)
	at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:528)
	at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:721)
	at org.apache.flink.runtime.taskmanager.Task.run(Task.java:546)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: java.io.IOException: position out of bounds
	at org.apache.flink.runtime.state.StatePartitionStreamProvider.getStream(StatePartitionStreamProvider.java:58)
	at org.apache.flink.streaming.api.operators.StreamTaskStateInitializerImpl.internalTimeServiceManager(StreamTaskStateInitializerImpl.java:251)
	at org.apache.flink.streaming.api.operators.StreamTaskStateInitializerImpl.streamOperatorStateContext(StreamTaskStateInitializerImpl.java:179)
	... 9 more
Caused by: java.io.IOException: position out of bounds
	at org.apache.flink.runtime.state.memory.ByteStreamStateHandle$ByteStateHandleInputStream.seek(ByteStreamStateHandle.java:124)
	at org.apache.flink.streaming.api.operators.StreamTaskStateInitializerImpl$KeyGroupStreamIterator.next(StreamTaskStateInitializerImpl.java:458)
	at org.apache.flink.streaming.api.operators.StreamTaskStateInitializerImpl$KeyGroupStreamIterator.next(StreamTaskStateInitializerImpl.java:411)
	at org.apache.flink.streaming.api.operators.StreamTaskStateInitializerImpl.internalTimeServiceManager(StreamTaskStateInitializerImpl.java:244)
	... 10 more

I'm getting the same error with the default state backend and the rocksdb state backend. When I tried with rocksdb backend and heap timers I get a different error already when creating a savepoint.

@Antti-Kaikkonen thanks you for trying the branch out.
I think the exceptions you encountered are expected in the experiments you've tried out.
Can you adjust your experiments to do the following, and then report back again?:
Try out your application FlinkStatefunCountTo1M with a new build of StateFun that includes the changes in https://github.com/apache/flink-statefun/pull/168?
You should be able to just pull that branch, do a clean build (mvn clean install -DskipTests), and then change the StateFun dependency in your application to 2.3-SNAPSHOT.

Let me briefly explain our release plans here to address the issue you reported, and why the above adjustment makes sense:

With the StateFun changes in https://github.com/apache/flink-statefun/pull/168 (and not including ANY Flink changes), we're expecting that restoring from checkpoints / savepoints should work properly now for all checkpoints / savepoints taken with a new version that includes https://github.com/apache/flink-statefun/pull/168. This would already address FLINK-19692, and we're planning to push out a StateFun hotfix release immediately to unblock you and other users that may be encountering the same issue.

What https://github.com/apache/flink-statefun/pull/168 doesn't yet solve, is the ability to safely restore / upgrade from a savepoint taken with StateFun versions <= 2.2.0. Enabling that requires this PR and #13761 to be fixed in Flink, release a new Flink version, and ultimately yet another follow-up StateFun hotfix releases that uses the new Flink version. That is a lengthier process, with an estimate of another 3-4 weeks.

TL;DR: It would be tremendously helpful if you can re-do your experiment only with a new StateFun build including https://github.com/apache/flink-statefun/pull/168 alone. Please do let me know of the results!

@tzulitai I tried it and restoring from a savepoint worked. As FlinkStatefunCountTo1M doesn't actually use state I also tried with my other app that uses statefun-flink-datastream and it was able to restore from a savepoint without errors. Thank you very much!
I only tested with rocksdb state backend and rocksdb timers. The Flink version tested was 1.11.2 from https://flink.apache.org/downloads.html.

@Antti-Kaikkonen great news, thank you. We'll keep you updated on the JIRA regarding an official release candidate that includes the fixes.


fix(compressing): use yauzl-promise if platform and build is MacOS

Fixes: #931
Closes: #932

yauzl-promise seems to inflate the MacOS app in CI. Selenium tests are the cause of the CI failures.

this is not working on macOS
await pipeline(readStream, writeStream); fails with
TypeError [ERR_INVALID_ARG_TYPE]: The "streams[stream.length - 1]" property must be of type function. Received an instance of WriteStream
at popCallback (node:internal/streams/pipeline:74:3)
at pipeline (node:internal/streams/pipeline:185:37)
at file:....node_modules/nw-builder/src/get.js:253:19
at get (file:....node_modules/nw-builder/src/get.js:90:3)
at Module.nwbuild (file:....node_modules/nw-builder/src/index.js:149:5)

my fix gets around the error, but it doesnt solve the root cause - symlinks are still extracted as files
Zayins-MacBook-Pro:Versions zayinkrige 11:45:27$ ls -al
total 6272
drwxr-xr-x@ 4 zayinkrige  staff      128 Nov  9 11:44 .
drwxr-xr-x@ 7 zayinkrige  staff      224 Nov  9 11:44 ..
drwxr-xr-x@ 8 zayinkrige  staff      256 Nov  9 11:44 119.0.6045.105
-rw-r--r--@ 1 zayinkrige  staff  2868248 Nov  9 11:44 Current


Fix training of models by tag

The training server expects getByTag, getForLanguage and getForDevices
to have the same signature, including going through loadModels

Pull Request Test Coverage Report for Build 1415

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 65.176%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

model/nlp_models.js
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

model/entity.js
2
65.71%

Totals

Change from base Build 1407:
-0.02%

Covered Lines:
5847

Relevant Lines:
8431

💛  - Coveralls


unused_result diagnostic range should just encompass (method|property)Name identifier

For example:

Here, just foo() should be highlighted.

/fyi @rofrankel


As an Answerer I can answer all my 9 questions and share it via whatsapp, so that I dont make mistakes during the dailies

solved


Force push this repo removing the .pb files added when MobileDET was pushed

The structure of the v1.0 subdir also needs to be updated.

@mcharleb Could you clarify what should I do?

@bellycat77  I can do this if you prefer

@bellycat77 I can do this if you prefer

Yes, please. I'd prefer you do it by yourself

Done. I was able to do it a cleaner way using git rebase -i and dropping the original and reverted commits


Add find_unmerged_branches tests

find_unmerged_branches is used to record branches in the repo that haven't been merged into master, for some of the later assignments.
It records into the log file, eventually.

Coverage decreased (-0.7%) to 51.53% when pulling 161e9eb8bd143328d7f908843e6b71349ea864fd on find-unmerged-branches-test into a220f488cd7ebb5b02033e9112a1b197a6b04da3 on master.

Coverage decreased (-0.7%) to 51.53% when pulling ccce575d49fa2f36744fba857469a73987432a29 on find-unmerged-branches-test into a220f488cd7ebb5b02033e9112a1b197a6b04da3 on master.


make the detective's vest okay

About the PR

The detective's vest has always been notably worse than the coat, making it somewhat punishing to vary your drip. This PR makes it have the same piercing protection as the coat. Drip on.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

tweak: Nanotrasen has begun supplying detectives with (relatively) improved armor plates for their vests.

uh oh checks failed

how does one re-merge master

death


move from godeps to https://github.com/LK4D4/vndr

Godeps make it very difficult to update only a few dependencies. We uses
vndr in a couple of projects and it works well so far in terms of ease
of dependencies' update.
One more plus is vndr also removes more files that are unnecessary for
the build process.

I love the fact that we can get rid of unused dependencies. Is updating as easy as updating the repo in my $GOPATH and running vndr?

@tgraf no, you dont have to update the repo in $GOPATH. It should be just bump the version in vendor.conf and run vndr.

Awesome, thanks!


Is there a way to configure the merge strategy for the kapp-controller when reconciling the service resources?

Hi carvel team,
We hit a problem when installing the Harbor package (https://github.com/vmware-tanzu/community-edition/tree/main/addons/packages/harbor) on our cluster. Would appreciate it if you could give some suggestions on this.
The problem is that the Harbor service will create some PVCs. On our cluster, the PVCs are also reconciled by another controller called CSI. The CSI controller will patch an annotation  volumehealth.storage.kubernetes.io/health to the PVC resource and it prevents all other controllers/users from updating that annotation, via a webhook. However the kapp-controller would try to update the PVCs and remove the annotation periodically, thus we got the error:
kapp: Error: Applying update persistentvolumeclaim/harbor-jobservice (v1) namespace: svc-harbor-domain-c9:
  Updating resource persistentvolumeclaim/harbor-jobservice (v1) namespace: svc-harbor-domain-c9:
    API server says: admission webhook "validation.csi.vsphere.vmware.com" denied the request:
      PVC Annotation volumehealth.storage.kubernetes.io/health is not mutable by user system:serviceaccount:vmware-system-supervisor-services:default-carvel-install-sa (reason: PVC Annotation volumehealth.storage.kubernetes.io/health is not mutable by user system:serviceaccount:vmware-system-supervisor-services:default-carvel-install-sa)

My questions are:

Is this expected that the kapp-controller is removing the annotation added by other controllers?
Is there a way to configure this? Maybe allow the admin to configure the merge strategy for kapp-controller when reconciling the service resources?

Thank you in advance.

Is this expected that the kapp-controller is removing the annotation added by other controllers?

Yeah, this is an expected behaviour.

Is there a way to configure this? Maybe allow the admin to configure the merge strategy for kapp-controller when reconciling the service resources?

You can use kapp rebase rules to copy fields (in this case the volume heath annotation) from the resource present in cluster so that kapp doesn't try to remove it in further reconciliations.
(kapp rebase rules explicitly define how to merge resources during an update)

Hi @praveenrewar, Thank you a lot for your quick response!
Regarding the overlay solution,  I forgot to mention that the annotation volumehealth.storage.kubernetes.io/health has a value (accessible, inaccessible, etc ) that the CSI  controller reconciles. So we don't want to patch a hard-coded annotation.  Could the overlay solutions be applied for such a use case?
The rebase rules look like what we want, and there is a similar scenario for PVC mentioned in the documentation. But that is for kapp CLI. Is there a way to apply the same configuration to the kapp-controller?
Many thanks,
Yuxin

Hi @YuxinZhou
The annotation ext.packaging.carvel.dev/ytt-paths-from-secret-name can be used to add overlays to PackageInstalls (in this case it would add additional kapp config), it might look something like this:
apiVersion: v1
kind: Secret
metadata:
name: harbor-secret-overlay
stringData:
harbor-secret-overlay.yaml: |
---
apiVersion: kapp.k14s.io/v1alpha1
kind: Config
  rebaseRules:
  - path: [metadata, annotation, volumehealth.storage.kubernetes.io/health]
    type: copy
    sources: [existing]
    resourceMatchers:
    - apiVersionKindMatcher: {apiVersion: v1, kind: PersistentVolumeClaim}

@praveenrewar Thanks a lot!! This works for me! ( I changed annotation -> annotations)  I think it would be even better if there could be a way to configure the kapp-controller other than defining an overlay for each service. But this is good enough for us. Please feel free to close the thread.

@praveenrewar is there a way to config this for kapp-controller so it applies to all services, not just one specific service?

I changed annotation -> annotations

Ohh, good catch!

I think it would be even better if there could be a way to configure the kapp-controller other than defining an overlay for each service.

Hmm, I don't think there's a way to do this as of now. Kapp-controller just used/s kapp to deploy apps, and doesn't know anything about rebase rules. And currently we don't have a way to set rebase rules applicable to all deployments (apart from the default rebase rules that come with kapp, which are very generic).
Do you have multiple PackageInstalls that would require these rebase rules?

Do you have multiple PackageInstalls that would require these rebase rules?

Got it, thank you! Yeah right. All packages with PVCs will hit the issue because of the enforcement from the CSI controller. So ideally we want to apply the rules to all services by default.


713 password reset flow api implementation

closes #713

We need @pournasserian  to review this change, but because at the moment, we don’t have access to him, I will merge it to be able to keep going on with the plan.


Permalink is blank for Node for static pages

See http://discuss.gohugo.io/t/current-navigation/562/7

I was wrong, that's not it.


Make saveUnknown work recursively

Summary:
When fetching from DynamoDB with saveUnkown === true, nested fields do not get returned. This PR aims to fix that.
GitHub linked issue:
Closes #323
Type (select 1):

[x] Bug fix
[ ] Feature implementation
[ ] Documentation improvement
[ ] Testing improvement

[ ] Test added to report bug (GitHub issue #--- @---)
[ ] Something not listed here

Is this a breaking change? (select 1):

[ ] 🚨 YES 🚨
[x] No
[ ] I'm not sure

Is this ready to be merged into Dynamoose? (select 1):

[x] Yes
[ ] No

Are all the tests currently passing on this PR? (select 1):

[x] Yes
[ ] No

Other:

[x] I have searched through the GitHub pull requests to ensure this PR has not already been submitted
[x] I have updated the Dynamoose documentation (if required) given the changes I made
[x] I have added/updated the Dynamoose test cases (if required) given the changes I made
[x] I have run npm test from the root of the project directory to ensure all tests continue to pass
[x] I agree that all changes made in this pull request may be distributed and are made available in accordance with the Dynamoose license
[x] All of my commits and commit messages are detailed, explain what changes were made, and are easy to follow and understand
[x] I have confirmed that all my code changes are indented properly using 2 spaces
[x] I have filled out all fields above

Pull Request Test Coverage Report for Build 818

10 of 12 (83.33%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.003%) to 85.504%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/Attribute.js
9
11
81.82%

Totals

Change from base Build 810:
-0.003%

Covered Lines:
2188

Relevant Lines:
2482

💛  - Coveralls

Pull Request Test Coverage Report for Build 818

10 of 12 (83.33%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.003%) to 85.504%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/Attribute.js
9
11
81.82%

Totals

Change from base Build 810:
-0.003%

Covered Lines:
2188

Relevant Lines:
2482

💛  - Coveralls

@dobrynin https://github.com/dynamoosejs/dynamoose/pull/522#issuecomment-450701318

I would also like to add an option to errorIfFetchingUnknownAttribute or something to that effect. Any thoughts on this?

I'm all for that, so long as the default stays as the current behavior (no breaking change). It also probably makes sense to have that be a separate PR.

@fishcharlie, I've added your requested changes. As for making a new PR for errorIfFetchingUnknownAttribute, what's the best way to do that? Wait for this to be merged? Branch off of this branch?


Pm vertex click

Added pm:vertexclick event.
Very useful for me, maybe useful for someone else too.

Feature Request: #692


Fixes #67

PR Description 📜
This adds an autocommenting feature on the PRs raised.
Fixes #67

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[ ] I have added screenshot for review.

## Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

@Sambit-Mondal Make sure the Default program is GSSoC'24. And the label of GSSoC'24 is 'gssoc'

@thevirengarg I'll surely do the changes. I'll be travelling for the next 7-8 hours. Once I reach, I'll do the changes.
Thank you for understanding!

@Sambit-Mondal Yeah, No problem. You can take your time, you have a buffer of 3-4 days.

@thevirengarg Sir, I've done the changes as per requirements. Kindly check.
Thank you!

@Sambit-Mondal Project admin has already added auto-commenting feature. You can contact him, he'll approve your PR. @Durgesh4993

@Sambit-Mondal You have already raised this type of PR in any other repository, you should raise any other issue because in last they will came into spam, that is reason why i did't merge you remaining same PRs

And last time after change i have told you you should connect with me but you forget to connect. I want to talk on this topic

Okay


nixos/deluge: restart daemon if it's stopped from GUI

Because we control daemon with systemd and run it system-wise (e.g. on a server), we don't want to be able to stop it from GUI ("Quit & shutdown daemon" option); if we want to stop it, it should be done properly though systemd.
Someone might find this feature useful though, so I'd like to put this for discussion for some time.
cc @domenkozar

+1, I sometimes restart it and then start it with systemd.


Hide progress bar and throw callback listener when image is loaded from url

Hi,
I want to hide progress bar, I don't want it to be visible at all.
Second I want a callback/listener when image is loaded from the given Url.
I am using DefaultSliderView, I am loading images from the links. I want a callback/listener whenever my images are loaded successfully.

感谢你的来信，我会及时处理。祝工作顺利，万事如意

感谢你的来信，我会及时处理。祝工作顺利，万事如意

Thank you, please update on my issue as soon as possible.
Thanks.


Adding bulk emoji downloading

First off, thanks so much for creating this extension. It's great and I use it all the time. I've always thought the ability to download emojis in bulk was missing, so I decided to give it a try. Let me know what you think!

😉


Project: RAG for Precision Farming using OpenAI, Azure AI Search, LangGraph

Project Name
RAG Precision Farming
Description
This project leverages AI-powered techniques to transform modern farming through Precision Agriculture. By utilizing Retrieval-Augmented Generation (RAG) with OpenAI, LangChain, LangGraph, and a custom Azure AI Search knowledge base, the system provides farmers with real-time insights for optimized water management, pest control, and crop health. With inputs like location, soil pH, moisture levels, and crop/insect images, the platform delivers actionable guidance for improved productivity and sustainability. The solution is containerized with Docker and deployed on Microsoft Azure, ensuring scalability and accessibility for farmers worldwide.
Technology & Languages

[ ] JavaScript
[ ] Java
[ ] .NET
[X] Python
[ ] AI Studio
[X] AI Search
[ ] PostgreSQL
[ ] Cosmos DB
[ ] Azure SQL

Project Repository URL
https://github.com/dheerajrhegde/PrecisionFarming
Deployed Endpoint URL
No response
Project Video
https://www.youtube.com/watch?v=Qj4YuaFLPaY
Team Members
dheerajrhegde, ramkitcs

Hello @dheerajrhegde, thank you for participating in RAG Hack!
The team is working hard to distribute badges. Please have each team member fill out this form:
aka.ms/raghack/badge-dist
Thank you!


Ubuntu environment on WSL is not detected

Related to https://github.com/aiidateam/aiida-core/issues/4748. The the sudo is not only needed for quicksetup but also other things like verdi profile delete etc.
Because WSL does not have version keys containing Ubuntu, the use of sudo can not be set.
Perhaps there the package can use an environmental variable to force the use of sudo a workaround.
platform.version gives

'#488-Microsoft Mon Sep 01 13:43:00 PST 2020' on my WSL1 system
'#1 SMP Wed Nov 13 11:44:37 UTC 2019' on my WSL2 system

thanks @zhubonan for the report!
I would propose:

try_sudo should become a parameter of the constructor
https://github.com/aiidateam/pgsu/blob/c75a1f4f2eaa2297ea47106b55a3cf8f97ab37fd/pgsu/__init__.py#L67
Your cases should be taken care of in the DEFAULT

Sounds good?
I'd be happy to review and accept a PR on this - otherwise it might take me a bit longer.
It would be even better if there was a way of testing WSL on github actions, but perhaps that's too much to ask?

For detecting that we're on WSL, checking for "microsoft" (any capitalization) in the release attribute of uname (and, probably, also checking that we're on Linux) seems like a reasonable (although not bulletproof) way:
In [6]: from platform import uname

In [7]: uname()
Out[7]: uname_result(system='Linux', node='A-DOGRES-082219', release='4.19.128-microsoft-standard', version='#1 SMP Tue Jun 23 12:58:10 UTC 2020', machine='x86_64', processor='x86_64')

Some discussions:
https://github.com/microsoft/WSL/issues/423
https://github.com/microsoft/WSL/issues/4071
Found via this page:
https://www.scivision.dev/python-detect-wsl/

What's the reason for trying sudo only on Ubuntu, by the way? How's the behavior different in other Linuxes?
https://github.com/aiidateam/pgsu/blob/c75a1f4f2eaa2297ea47106b55a3cf8f97ab37fd/pgsu/__init__.py#L29-L31

What's the reason for trying sudo only on Ubuntu, by the way? How's the behavior different in other Linuxes?

No good reason other than that I did not know the default postgres setup on other linux distros and did not want to scare users with trying sudo unnecessarily.
Happy to add any other distros, where the setup is known to be the same (postgres user, with paswordless psql into becoming postgres superuser), or different (let me know the details).

Ah yeah, that makes sense -- the default user etc. can definitely vary between distros.
My naive guess would be that most Ubuntu-based (or maybe even Debian-based) distros would work the same, but it probably makes sense to test before adding them.
In that case, probably just replacing 'Ubuntu' in platform.version() with  'Ubuntu' in platform.dist()[0] should do the trick.

Thanks for looking into this, for me the platform.dist() give this:
('debian', 'buster/sid', '')

so no mentioning of Ubuntu. The same goes for both WSL1 and WSL2. I am on 18.04 though, it may very different versions? @greschd
The other complication is WSL is not always Ubuntu, other Linux distributions can be run as well like openSUSU....
Perhaps the check can be simply whether this is a sudo in the path and if the system is Linux?
>>> from subprocess import check_output
>>> check_output(['which', 'sudo'])
b'/usr/bin/sudo\n'
>>>

platform.dist()

Maybe it depends on python versions, mine on 3.7 says the function is deprecated since 3.5 and it is gone in 3.8.
>>> platform.dist()
__main__:1: DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5
('debian', 'buster/sid', '')

@zhubonan hmm, I get the same behavior when using the conda Python. Seems like it depends on how Python was compiled.. maybe the command was deprecated because it ended up being unreliable.
There seem to be a few different ways of determining the distro, not sure which is the most commonly available: https://linuxhandbook.com/check-linux-version/
So, in general, I think this is less of a WSL problem and more of a Linux distro problem. As you mentioned, different distros or even non-Linux OSes can run on WSL; our problem here comes mostly from that. I think we should overall rely more on how the system is set up, and less on hard-coding "known good" distro names.

I think we should overall rely more on how the system is set up, and less on hard-coding "known good" distro names.

Open to suggestions on how to do this

@greschd Ahh I see, yes I am using python from anaconda!
@ltalirz How about we test if there is a sudo in the $PATH, and if so we use it? I don't see any drawback of trying to run sudo when other ways fail, as long as the user is given clear explanation that AiiDA is asking the password for setting up the postgres database.


[general]: Amiguous git identifers

At the moment, 2.3.0 exists both as a git tag and as a git branch. The ambiguous identifier leads to unexpected interactions, e.g. on github. This was noticed in vcpkg, https://github.com/microsoft/vcpkg/pull/42420.
Suggestions:

Rename the 2.3.0 branch, e.g. to 2.3 or 2.3.x.
Use release tags with v prefix, i.e. v2.3.0.

Branch 2.3.0 has been renamed to release-2.3.0.
The project builds correctly locally with the latest vcpkg version. Does this still require any changes to the vcpkg port?


Detecting and handling unicode support

I've read the best practices and various unicode issues in the repo, but I'm still a bit unclear on the best way to handle both unicode and non-unicode consoles.
For example, best practices states that "Windows Terminal supports Unicode". But when I inspect the profile capabilities on this terminal, unicode is set to false.
I can get it to set to true if I put System.Console.OutputEncoding = Encoding.UTF8; at the start of the program and when I do this the output renders perfectly. The problem is that this will then change the encoding for consoles which don't natively support unicode (e.g. cmd) and the rendering is not as good (e.g. rounded panels which don't align instead of a straight border).
I was hoping I could use the unicode capability and then opt in to certain features in code based on this . I.e. set the OutputEncoding only if the encoding capability is true.

Windows Terminal supports Unicode, but only if the output encoding is unicode. Not really much that can be done about it afaik.


Double click on manual trigger

Hi, I notice that double clicking on a manual trigger opens and closes the popover, which can cause issues as it does not fire the hidden callback. Any ideas as to handle this?
Tahnks

I guess the problem it's that the first click it's interpreted as open and the second it's a click outside the popover and it closes it.
Workarounds:

Setting dismissible: false, to avoid being closed on the second click
setting trigger:'manual' and handle the clicking yourself.


Update Unity Explorer Plus

Please merge after UExplorer uses the correct version of UnityExplorer (https://github.com/jngo102/UExplorer/issues/6)

Yes


Wintertodt Plugin Addition

Additions to the Wintertodt Plugin.
Make it so that crates left click option is use instead of open.
So you dont accidentally open a crate during a run.

Use shift-click configuration


TypeError: Cannot read property 'attrs' of undefined on fromZigbee.js:1295

Dear Koenkk.
Thank you very much for your excellent work. I am trying to integrate Meazon meters into zb2mqtt.
Just hit a crash on fromzigbee.js.
Log dump:
2019-04-17T18:26:46.202Z zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: {"groupid":0,"clusterid":1794,"srcaddr":862,"srcendpoint":10,"dstendpoint":1,"wasbroadcast":0,"linkquality":44,"securityuse":0,"timestamp":6696296,"transseqnumber":0,"len":43,"data":{"0":24,"1":15,"2":1,"3":0,"4":0,"5":0,"6":37,"7":13,"8":24,"9":0,"10":0,"11":0,"12":0,"13":1,"14":0,"15":0,"16":37,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":7,"24":0,"25":0,"26":226,"27":125,"28":19,"29":78,"30":92,"31":23,"32":0,"33":0,"34":42,"35":23,"36":0,"37":0,"38":0,"39":2,"40":0,"41":24,"42":0},"zclMsg":{"frameCntl":{"frameType":0,"manufSpec":0,"direction":1,"disDefaultRsp":1},"manufCode":0,"seqNum":15,"cmdId":"readRsp","payload":[{"attrId":0,"status":0,"dataType":37,"attrData":[0,6157]},{"attrId":1,"status":0,"dataType":37,"attrData":[0,0]},{"attrId":7,"status":0,"dataType":226,"attrData":1548620669},{"attrId":23,"status":0,"dataType":42,"attrData":23},{"attrId":512,"status":0,"dataType":24,"attrData":0}]}}
zigbee2mqtt:debug 4/17/2019, 8:26:46 PM Received zigbee message of type 'readRsp' with data '{"cid":"seMetering","data":{"currentSummDelivered":[0,6157],"currentSummReceived":[0,0],"readingSnapshotTime":1548620669,"inletTempreature":23,"status":0}}' of device '101.301.001649' (0x00124b0002cc8261) of endpoint 10
/zigbee2mqtt-1.3.1/node_modules/zigbee-shepherd-converters/converters/fromZigbee.js:1295
const attrs = endpoint.clusters['seMetering'].attrs;
^
TypeError: Cannot read property 'attrs' of undefined
at Object.convert (/zigbee2mqtt-1.3.1/node_modules/zigbee-shepherd-converters/converters/fromZigbee.js:1295:63)
at converters.forEach (/zigbee2mqtt-1.3.1/lib/extension/deviceReceive.js:192:41)
at Array.forEach ()
at DeviceReceive.onZigbeeMessage (/zigbee2mqtt-1.3.1/lib/extension/deviceReceive.js:190:20)
at extensions.filter.forEach (/zigbee2mqtt-1.3.1/lib/controller.js:145:31)
at Array.forEach ()
at Controller.onZigbeeMessage (/zigbee2mqtt-1.3.1/lib/controller.js:145:14)
at Zigbee.onMessage (/zigbee2mqtt-1.3.1/lib/zigbee.js:224:18)
at ZShepherd.emit (events.js:182:13)
at ZShepherd. (/zigbee2mqtt-1.3.1/node_modules/zigbee-shepherd/lib/shepherd.js:192:14)
new device being defined in devices.js:
// Meazon Plug
{
zigbeeModel: ['101.301.001649'],
model: 'Plug',
vendor: 'Meazon',
description: 'Plug',
supports: 'on/off, power, energy measurement and temperature',
fromZigbee: [fz.state, fz.ignore_onoff_change, fz.generic_power, fz.ignore_metering_change,
],
toZigbee: [tz.on_off],
configure: (ieeeAddr, shepherd, coordinator, callback) => {
const device = shepherd.find(ieeeAddr, 10);
const onOff = {direction: 0, attrId: 0, dataType: 16, minRepIntval: 0, maxRepIntval: 5, repChange: 0};
const LineFrequency = {
direction: 0, attrId: 8192, dataType: 'int16', minRepIntval: 0, maxRepIntval: 3, repChange: 0,
};
const ActivePower = {
direction: 0, attrId: 8193, dataType: 'singlePrec', minRepIntval: 0, maxRepIntval: 3, repChange: 0,
};
const Voltage = {
direction: 0, attrId: 8196, dataType: 'singlePrec', minRepIntval: 0, maxRepIntval: 3, repChange: 0,
};
const Current = {
direction: 0, attrId: 8199, dataType: 'singlePrec', minRepIntval: 0, maxRepIntval: 3, repChange: 0,
};
const ReactivePower = {
direction: 0, attrId: 8202, dataType: 'singlePrec', minRepIntval: 0, maxRepIntval: 3, repChange: 0,
};
const ApparentPower = {
direction: 0, attrId: 8205, dataType: 'singlePrec', minRepIntval: 0, maxRepIntval: 3, repChange: 0,
};
const PowerFactor = {
direction: 0, attrId: 8208, dataType: 'singlePrec', minRepIntval: 0, maxRepIntval: 3, repChange: 0,
};
const InletTemperature = {
direction: 0, attrId: 8211, dataType: 'int16', minRepIntval: 0, maxRepIntval: 1000, repChange: 0,
};
//            const electricalCfg = [LineFrequency, ActivePower, Voltage, Current, ReactivePower, ApparentPower, PowerFactor, InletTemperature,];
const electricalCfg = [LineFrequency,];
const actions = [
(cb) => device.foundation('genOnOff', 'configReport', [onOff], foundationCfg, cb),
(cb) => device.bind('genOnOff', coordinator, cb),
(cb) => device.foundation('seMetering', 'configReport', electricalCfg, {manufSpec: 1, manufCode: 4406}, cb),
(cb) => device.bind('seMetering', coordinator, cb),
];
        execute(device, actions, callback);
    },
},

Let me know if more info is required. Thank you.
Carlos

Can you change https://github.com/Koenkk/zigbee-shepherd-converters/blob/master/converters/fromZigbee.js#L1306 to
                const attrs = endpoint.clusters['seMetering'] ? endpoint.clusters['seMetering'].attrs : null;
                let energyFactor = 1;
                if (attrs && attrs.multiplier && attrs.divisor) {
                    energyFactor = attrs.multiplier / attrs.divisor;
                }

Koen, no need to change the code. It was a bug in the code I wrotten in the converter for the meazon meter. I do have by now 12 of those things running. As soon as I double check everything is fine I will PR both devices.js and fromZigbee.js codes.
Thank you.
C.


Consider using SoildParticleSystem for terrain chunks

SolidParticleSystem for large scenes seems to reduce GPU frame time & draw calls considerably.
I changed some of terrainMesher to use a SolidParticleSystem when there are multiple materials:
     const sps = new SolidParticleSystem("sps", scene, {
        updatable: false,
        isPickable: true,
        useModelMaterial: true,
        particleIntersection: true,
        enableMultiMaterial: mesh.material instanceof MultiMaterial,
      });

      sps.addShape(mesh, 1);
      mesh.dispose();

      return sps.buildMesh();

Before
After

This is really interesting, thanks! Do you have any idea what the reason is? I have a strong feeling that there's some relatively simple "right thing to do", that SPS is doing and noa isn't, and if we do that then we'll get the benefits without actually invoking SPS (which presumably has some overhead).
At a glance, presumably it looks like each chunk of terrain (which should be one mesh with a multimaterial and N submeshes) is taking N draw calls in noa and 1 call after SPS. I'm looking around the SPS source for a reason but nothing is jumping out so far..

It looks like the SPS is just a single updating mesh.  So that could be the reason.

IIRC noa is the same, it should be making each chunk into one mesh with a multimaterial. SPS looks like the same deal?

At a glance, presumably it looks like each chunk of terrain (which should be one mesh with a multimaterial and N submeshes) is taking N draw calls in noa and 1 call after SPS. I'm looking around the SPS source for a reason but nothing is jumping out so far..

Okay I think I understand now why this happens.
Two reasons:

I recently added a texture atlas. I was reading this article and this passage stood out to me:

One naive solution might be to create a separate texture for each block type, and then do a separate pass for each of these textures.  However, this would require a number of state changes proportional to O(number of chunks * number of textures).  In a world with hundreds of textures and thousands of chunks, this would be utterly unacceptable from a performance standpoint.  Instead, a better solution is to use a technique called texture atlases.

The texture atlas allows me to use a single material and texture for all terrain blocks. I just change the UV offsets appropriately for each block. This won't work if you have thousands of textures (rather than hundreds), but in that case, you can have multiple texture atlases and there still should be significant performance gains.

This paragraph from the docs on Solid Particle System:

In order to have only one draw call to the GPU, these three systems use only one material/texture for all their particles.

So basically, a regular Mesh with several SubMesh seems to result in mulitple draw calls, even with a shared material/texture. Whereas a SolidParticleSystem will be O(unique material) draw calls?
What's not clear to me is why Mesh doesn't work like SolidParticleSystem this way

Hi, okay, that explains things. I'm familiar with that article but it says that there should be significant rendering artifacts when using a texture atlas for terrain, unless you do the various stuff it describes, which AFAICT would require a custom shader to do in Babylon. Is that not what you're seeing?

TLDR: This is complicated and maybe impractical to generally support
Truthfully, there've been rendering artifacts from day one for me (https://github.com/andyhall/noa/issues/108)
I wrote a custom shader just now, mostly copy pasted from SimpleMaterial. I didn't think it was necessary to do that when I first opened this issue
That blog post was written before WebGL2 – WebGL2's sampler2DArray gives you array textures so you can avoid needing most of the tricks the author wrote about. In Babylon.js, this is a RawTexture2DArray
The downside is...WebGL 2 is not supported on Safari.
The code for initializing the texture looks like this:
const atlasTexture = new RawTexture2DArray(
      await createImageBitmap(img),
      TILE_WIDTH,
      IMAGE_HEIGHT,
      TILE_COUNT,
      Engine.TEXTUREFORMAT_RGBA,
      scene,
      false,
      true,
      Texture.NEAREST_SAMPLINGMODE
    );

To make the image work, instead of being a square, its just a really tall image. One column
Most of the only differences really between the default SimpleMaterial and mine is:
Fragment Shader:
-uniform sampler2D diffuseSampler;
+uniform sampler2DArray diffuseSampler;

+varying float vTile;

-baseColor = texture2D(diffuseSampler, vDiffuseUV);
+baseColor.rgb = texture(diffuseSampler, vec3(vDiffuseUV, vTile)).rgb;

Vertex Shader:
+attribute float tile;
+varying float vTile;

+vTile = tile;

Then, when building the mesh, you pass it a FloatArray of the block IDs that is 4 per tile duplicated (so one dirt block is 1,1,1,1):
newMesh.setVerticesData("tile", submesh.tiles, false, 1);

This is what it looks like. There's a blue-ish hue but there's some environment color I need to pass through it that I'm missing

I still need to do the complicated things he describes in the article to support Safari though...

Hey, this looks really interesting. Do you have it in a branch somewhere I could try out?
Personally, I'm pretty okay with not supporting Safari if there's a solid performance reason. Also they seem to have WebGL2 support behind a flag, so it's probably coming sooner or later.

I put noa in a directory of the codebase for the game itself and made some other modifications to it (removing most usages of anonymous functions which the profiler showed it reduced memory usage. Also I got meshing to work in a worker but it wasn't faster because remeshing happens often). I'd honestly be fine with sharing repo access or sending you a link to try it. The game itself is not open source though.

It took me a while, but since Babylon now (sort of) supports webGL2 sampler2DArray, I have hacked this out -- the newest engine build in #develop now supports texture atlases for terrain.
Basically all you do is:
noa.registry.registerMaterial('grass', {
    textureURL: 'terrain_atlas.png',
    atlasIndex: 0,
})

The texture image should be a "vertical strip" atlas - i.e. a texture N pixels wide and N*M pixels tall, and atlasIndex is a 0-based index for which tile of the atlas to use. I've updated the noa-examples repository to do this (also in the #develop branch of that repo).
If anyone has a chance to test this, please let me know if you have issues!

I'll close this since texture atlases seem to be working, but anyone feel free to comment if you have issues.


ERROR: CREATE INDEX CONCURRENTLY cannot be executed within a pipeline [ERROR:0, SQLSTATE:25001]

During startup of a maproulette instance using a clean database, I see this error: ERROR: CREATE INDEX CONCURRENTLY cannot be executed within a pipeline [ERROR:0, SQLSTATE:25001].
This was first noticed with CI/CD GitHub actions and is easily repro'd on a local system using a new/clean database. Existing maproulette deployments are probably not impacted since this appears to be a play framework evolution that doesn't work well with the latest postgres 13 drop.

This is one way to start a clean database locally using the latest pg13:
podman run \
    -d \
    -p 5432:5432 \
    --pull=always \
    --name maproulette-postgis2 \
    --restart unless-stopped \
    --shm-size=2048MB \
    -e POSTGRES_DB=maproulette-db \
    -e POSTGRES_USER=maproulette-db-user \
    -e POSTGRES_PASSWORD=maproulette-db-pass \
    postgis/postgis:13-3.3

After starting the clean database and starting MapRoulette within intellij, the error log shows
22:29:05,771 [error] [play-dev-mode-akka.actor.default-dispatcher-8] p.a.d.e.DatabaseEvolutions.$anonfun$checkEvolutionsState$3(EvolutionsApi.scala:302) - ERROR: CREATE INDEX CONCURRENTLY cannot be executed within a pipeline [ERROR:0, SQLSTATE:25001]
and after opening the webUI (http://<IP_ADDRESS>:9000/docs) this is displayed:
We got the following error: ERROR: CREATE INDEX CONCURRENTLY cannot be executed within a pipeline [ERROR:0, SQLSTATE:25001], while trying to run this SQL script:

1  -- Rev:48,Ups - 313b22e
2
3  -- Setup constraints on virtual_project_challenges to restrict duplicate
4  -- entries.
5
6  -- Find and fix prior duplicate entries.
7  DELETE FROM
8  virtual_project_challenges a
9  USING virtual_project_challenges b
10 WHERE
11 a.id < b.id
12 AND a.project_id = b.project_id
13 AND a.challenge_id = b.challenge_id;;
14
15 -- Add unique constraint.
16 CREATE UNIQUE INDEX CONCURRENTLY virtual_project_challenges_projects
17 ON virtual_project_challenges (project_id, challenge_id);;
18
19 ALTER TABLE virtual_project_challenges DROP CONSTRAINT
20 IF EXISTS unique_virtual_project_challenges_projects;;
21 ALTER TABLE virtual_project_challenges
22 ADD CONSTRAINT unique_virtual_project_challenges_projects
23 UNIQUE USING INDEX virtual_project_challenges_projects;;

After some testing, I confirmed that this is NOT limited to a "clean/new" database. This error will happen when using any postgres version that doesn't like the 'CONCURRENTLY' in the above statement.

Another tool had the same error as maproulette and they reached out to the pg dev group:

https://www.postgresql.org/message-id/4139340.1676050723%40sss.pgh.pa.us
Timur <timur(dot)luchkin(at)gmail(dot)com> writes:

After the release of PostgreSQL 14.7 Liquibase started to fail with:

Reason: liquibase.exception.DatabaseException: ERROR: CREATE INDEX
CONCURRENTLY cannot be executed within a pipeline [Failed SQL:

You need to report that to the Liquibase authors.  They're
trying to do something that's unsupported, but which we previously
failed to detect.  Basically: you can't do that in a pipeline
because there will already be an open transaction, which would
accidentally get committted by the CREATE INDEX CONCURRENTLY.
  	regards, tom lane

Removing 'CONCURRENTLY' does resolve the issue. I'll do some more testing to see impact to evolutions on an existing system.

Merged the syntax fix in v4.3.3 and the above instructions worked great. Closing.


fix input plugin shutdown handling

The jmx input plugin was not correctly handling the logstash shutdown using do_stop and stop? and Stud.stoppable_sleep. The symptom was to hang the logstash shutdown for some time.
These are the minimal changes to make it correctly handle the logstash shutdown sequence. Note that this plugin would benefit a good refactor.

merged and published plugin v3.0.7


Add room schedule example in the README

It may not be evident to users that we also have functionality for viewing the occupancy of different university lecture theatres and rooms. An example image in the readme would be nice.

The class coloring of room schedules should be fixed before this. Created https://github.com/Exanut/schedubuddy-web/issues/45 to address it.


"training wheels mode"

- Do you want to request a feature or report a bug?
feature
- What is the current behavior?
currently there is no indication what to do after installation. it would be nice to run a tutorial like vimtutor, or have a mode that offers extra instructions, that could be muted for expert users.

https://www.youtube.com/watch?v=vQEkcPeYsx0


iPhone XR "Assertion Failure" v4.0 iOS 12.4.1

Describe the bug
I have previously tried to jailbreak my iPhone XR iOS 12.4.1 when the previous supporting jailbreak became available, however, it never worked.
The same is happening now, I am getting an "Assertion Failure" now in step 1/30.
To Reproduce
Steps to reproduce the behavior:
Run the jailbreak and it occurs immediately
Screenshots

Device (please complete the following information):

iOS Version: 12.4.1
iOS Device: iPhone XR
unc0ver Version: v4.0.0

Place an "x" between the brackets if true:

[x] this is a bug others will be able to reproduce
[x] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[ ] this issue is present after a rootfs restore
[x] this issue is present on the latest version of unc0ver

Logs
If applicable, add logs or error messages here.

Sorry buddy you were supposed to update to 13.3 MAX firmware and stay there 12.4.1 never worked and will not work now

Don’t think you updating now will do anything ether 13.3.1 is not jailbreakible

12.4.1 12.4.2 12.4.3 and 12.4.4 are dead firmwares

I also have the XR and was waiting on 12.4.1 and when unc0ver finally came guess what it didn’t work with the XR only XS and XS MAX


Fix typo

Privilesges -> Privileges

thanks! i noticed more typos after you pointed that one out, and i've been meaning to take that blurb off the home page. So i've accepted the typo correction, fixed a couple more, and moved the whole content block to the wiki https://github.com/GoogleChromeLabs/ProjectVisBug/wiki/Tool-Architecture
thanks for the heads up


Resolve deprecations for Labs Module

The deprecations for the labs module need to be resolved.

@tangollama two issues remain:
Ember Suave error visible in ember serve console (or if you run ember test):
     3 |
     4 |export default ProcedureChargeController.extend({
     5 |  //needs: ['labs/edit'],
----------^
     6 |  labsEdit: Ember.inject.controller('labs/edit'),
     7 |  cancelAction: 'closeModal',

Also, I am seeing the following deprecation warning when updating/adding a new lab request:
"You attempted to set labType from <hospitalrun@controller:labs/edit::ember1514>, but object proxying is deprecated. Please use model.labType instead."
This is caused by line number 56 on app/labs/edit/controller.js

Done. Thx for the feedback @jkleinsc

Crap. Sorry. I thought I had it all working.