Always call _super when using Ember hooks

no issue

review use of Ember core hooks and add a call to this._super if missing
use ...arguments where no or named arguments were passed to _super to allow for future extensions to the API parameters
fix a few occurrences of using the wrong component lifecycle hooks that could result in multiple/duplicate event handlers being attached

_super should always be called when overriding Ember's base hooks so that core functionality or app functionality added through extensions, mixins or addons is not lost. This is important as it guards against issues arising from later refactorings or core changes.
As example of lost functionality, there were a number of routes that extended from AuthenticatedRoute but then overrode the beforeModel hook without calling _super which meant that the route was no longer treated as authenticated.

Is this something that should go in before the release? Sounds like it fixes bugs?

Any incidental bug fixes are not likely to be user-visible. It was more of a code smell that I noticed and thought best to address before it becomes more widespread.
I would be fine leaving it out of this release in order to give it more time on master for testing in case there are any unintentional side-effects.

:+1:

Giant :+1:! Not calling _super is a massive refactoring hazard (for both application code and Ember internals).


Buddybuild crash report on build #5

CrashReport
Link to buddybuild crash report from build 5
Build5FileM2SettingsViewController.mFunction-[M2SettingsViewController viewDidLoad]Line63

Something bad happened there!


Added checkbox. Fixes #17.

:+1:, this is good enough to add. We should add an issue to update to follow bootstrap styling defaults.

Issue added #19


Unknown errors

Hello,
This may or may not be a gdax-python issue and I'm hoping someone can help me understand what is going on.  I am writing a script that pulls data from gdax every few seconds, using a combination of get_product_ticker, get_account, and other calls.  Every 20 minutes or so my script crashes with the following traceback:
Time elapsed: -1199.2530570030212
Traceback (most recent call last):
File "test.py", line 73, in
eth_account = auth_client.get_account("1f3aee21-bd3b-42cd-899c-51cb2a648947")
File "C:\ProgramData\Anaconda3\lib\site-packages\gdax-1.0.6-py3.6.egg\gdax\authenticated_client.py", line 27, in get_account
File "C:\ProgramData\Anaconda3\lib\site-packages\requests\models.py", line 850, in json
return complexjson.loads(self.text, **kwargs)
File "C:\ProgramData\Anaconda3\lib\json_init_.py", line 354, in loads
return _default_decoder.decode(s)
File "C:\ProgramData\Anaconda3\lib\json\decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\ProgramData\Anaconda3\lib\json\decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The line that fails is different each time, the only consistency is that it is a function of gdax-python.  Any thoughts?
Thanks,
Scott

Please follow PR #260 for updates on this.


how persistent store?

go-mysql-server, how to save data to hard disk?

Hi @jonahzheng,
There is no persistent database implementation built into the package. The provided memory implementation only persists in memory for a single process's lifetime. You would need to implement a persistent version to get this functionality.
We would take this contribution as a patch if you wanted to write it. A first attempt would probably extend the memory.Database and serialize table schemas as CREATE TABLE statements, and table data as CSV or JSON. Happy to provide additional pointers if you or someone else want to attempt this.
Alternately, you could build on top of Dolt, which is MySQL compatible and uses go-mysql-server as its query layer. Then you get persistence for free.
https://github.com/dolthub/dolt
Depending on what you're trying to do, the driver package might be a more convenient way to build on top of Dolt:
https://github.com/dolthub/driver


Improve compatibility with older browsers

Avoid using top-level await and target es2017 to improve compatibility with older browsers.

Needs BrowserStack testing.

Performance metrics will take a hit since we show nothing until the languages are loaded.


(in progress) GP refactor!

Well, here's the first stab at a GP refactor. Three hundred lines of code down!

KNOWN ISSUES

[x] Variable sensitivities are out-of-order / incorrect
[ ] Tests are a giant mess
[ ] model.py is still a bit of a mess

The major change is to have users create 'Models' as an abstraction level above GPs and SPs.
Models keep everything as signomials and dictionaries, making updating them easy and pythonic. GPs and SPs, on the other hand, no longer accept substitutions: any GP object should always return the same result (and SPs as well, if you start at the same initial condition).

Build triggered. sha1 is merged.

Build Started sha1 is merged.

Build finished. No test results found.

Well, I know this fails tests, soooo @acdl-jenkins seems a bit out of the loop. @galbramc

Build triggered. sha1 is merged.

Build Started sha1 is merged.

Build finished. No test results found.

It did fail. https://acdl.mit.edu/csi/job/gpkit/187/
I suspect you got the success email from commit by @whoburg https://acdl.mit.edu/csi/job/gpkit/186/, which was a success. I'm trying to sort out the message "Build finished. No test results found." I don't know why that is there.

:+1: for reducing # lines of code! (though some of the reduction seems to be deleted docstrings -- less good).
@bqpd are you getting a malloc crash when you try to run tests?
Thanks for the nice overall description above. Let me know when it's a good time to kick off an initial code review.

What's the plan for NomialData as in #273 ? Should we do that work on a separate branch? And should it happen before, after, or in parallel with the GP refactor?

Okay, this now works for vanilla GPs. There was a bug deep in how we handled the way substitution can change the ordering and number of monomials (the latter of which applies to the non-refactored version as well).
I'm going through now and getting the rest of the tests working...

I wonder if the deep substitution bug is related to #313 ?

@bqpd once you get tests working, would it make sense to rebase this onto master?

Yup, it was!

Why rebase instead of merge?

Or merge -- master into this, right?

Yeah, or maybe something a bit more by hand. It'll be fun.

One test remaining in both t_sub and t_user_scripts, and then Signomials need their own monomial-mapping setup.

Signomials work now, better than before thanks to using the nearest-feasible heuristic.
However, variable sensitivities are still a bit odd.

@bqpd, let me know when it's code review time.
I'm not following the terms "monomial-mapping" and "mmaps". Can you elaborate?

Ready for code review!
I added a long comment in models.py to explain mmaps, reproduced below:
Remap monomials after substitution and simplification.
 each "mmap" is a list whose elements are either None
 (indicating that the monomial was removed after subsitution)
 or a tuple with:
     the index of the monomial they became after subsitution,
     the percentage of that monomial that they formed
     (their c/that monomial's final c)
 The monomial sensitivities from the GP/SP are in terms of this
 smaller post-substitution list of monomials, so we need to map that
 back to the pre-substitution list.

Also added proper tempdirs to the mosek_cli solver in this refactor.

retest this please

Unfortunately you will not get any testing until you have resolved all the merge conflicts.

Superseded by #317


Request: Filter entities in groups

I did what you made but with a bunch of sensors and group of entities.  I would love if I could add the group name and it sees the entities and filters them.

We have to figure out on how to instruct WM whether only group id should be ignored or included entities should be ignored. Something like that:

group.my_entities - ignore only group references
@group.my_entities - ignore the content of the group


Question: Why Swing instead of JavaFx underhood?

Hi together,
first, I like the idea! Finally some modern UI with less lines of code!
So this brings me here. Why do you use Swing as abstraction layer instead of JavaFX? (Which is for sure more modern.)
Regards
Gino

Swing is more interoperable.  By which I mean, largely, that it's older and more "standard" so almost everything interoperates with swing, thus making it a good glue layer.
Intellij is written with Swing and so that was the interoperability layer that was "needed".  Other interoperability layers can be added in the future if needed/desired, contributions welcomed.

Also we not really use Swing as an abstraction layer, more like an interoperability and portability solution. See https://github.com/JetBrains/compose-jb/issues/519#issuecomment-804030550 for an example of JavaFX interoperability.

That's a good answer and makes sense! :)

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


How to make Speaker Verification (1:1 recognition) model in keras?

I have idea about the speaker identification model using CNN.

But here my question is how to make a verification model using the data that contains only positive value.
Suppose, i have voice data of my voice only and i want to create the verification model from this data such that when i run the model then it will only recognize me not anyone else.
please provide the code for it.

Please read the paper associated to this repository for further information.


added configurations to repo for requirements

Hi Will, thanks for your response - it was good.
I'd suggest considering explicit user management and multi stage docker builds to your docker file.
Also service account and security context stuff for your K8s deployment.


Add Lidar IO

Adds an io interface for a lidar, along with a lidar lite implementation

must be tested before merge


Variables starting with "let" or "var" break highlight.

Variable names starting with let or var when placed after the first parameter break the syntax highlight. Note: I'm in a typescript file.
var let2 = 0;
var f = function(a,b,c){};
f(0,let2,'test');	//breaks

var var2 = 0;
var f = function(a,b,c){};
f(0,var2,'test');	//breaks

var function2 = 0;
var f = function(a,b,c){};
f(0,function2,'test');	//works

renders as

I am seeing the same thing in ES6 template strings such as:
let test = {
   "name": `${name.variant}`
});

Caused by https://github.com/Microsoft/TypeScript-TmLanguage/issues/96
Will be fixed in the March release.


Single quote DAPR_CONTAINER_LOG_PATH for windows compatibility

Description
Add control plane container logs broke the windows test run. Just need to single quote some commands to make sure paths resolve correctly on windows.
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

/ok-to-test


Add Issues And Pull Request Templates

We want to have an issue and a PR template for the project. Here are two resources to start:

Information about templates: https://docs.github.com/en/free-pro-team@latest/github/building-a-strong-community/about-issue-and-pull-request-templates
Some templates that can be used: https://github.com/devspace/awesome-github-templates

@thealphadollar where add the templates ? can assign to me ?

Hey Denis, thank you for interest and proactiveness in contributing to the project. I've assigned it to you :100:


chore: use cli to select release version

Please make sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow Element's contributing guide (中文 | English | Español).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

我合并了，反正你发布的时候就测试到了。


chore: bump sbt from 1.9.8 to 1.9.9

About this PR
📦 Updates org.scala-sbt:sbt from 1.9.8 to 1.9.9
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-sbt", artifactId = "sbt" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, version-scheme:early-semver, commit-count:1

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

Project coverage is 67.90%. Comparing base (a1f1ca7) to head (6b0d4a6).

Additional details and impacted files

@@           Coverage Diff           @@
##           master     #243   +/-   ##
=======================================
  Coverage   67.90%   67.90%
=======================================
  Files          79       79
  Lines        1087     1087
  Branches      126      126
=======================================
  Hits          738      738
  Misses        349      349


Rancher agent can't register in Rancher server

Rancher Version:
I don't know how to check it. It's downloaded via docker run... rancher/server command, like in documentation.
Docker Version:
1.10.3
OS and where are the hosts located? (cloud, bare metal, etc):
Ubuntu 16.04, vmware virtual machine
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single Node Rancher with Rancher Agent on separate virtual machine
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Kubernetes
Steps to Reproduce:
Click on Add host button to generate command. After running command on agent server container got a loop, it cant add itself to Rancher server.
Results:
Logs below:
time="2016-06-03T08:43:43Z" level="info" msg="Starting event router."
time="2016-06-03T08:43:43Z" level="info" msg="Watching state directory: /var/lib/rancher/state/containers"
2016-06-03 08:43:43,685 ERROR websocket [140425973390224] [_logging.py:54] error from callback <function on_error at 0x7fb778452758>: Received websocket error: [Handshake status 500]
time="2016-06-03T08:43:43Z" level="info" msg="Processing event: &docker.APIEvents{Status:\"start\", ID:\"cc592568117811598f8f1a2b2479045e2bcdc87bc1e6e920586c5c4fd1a59c76\", From:\"-simulated-\", Time:0}"
I0603 10:43:43.700902   19084 storagedriver.go:45] Caching stats in memory for 2m0s
I0603 10:43:43.701022   19084 manager.go:168] cAdvisor running in container: "/docker/cc592568117811598f8f1a2b2479045e2bcdc87bc1e6e920586c5c4fd1a59c76"
I0603 10:43:43.706840   19084 fs.go:109] Filesystem partitions: map[/dev/mapper/be--lihea--mac01--vg-root:{mountpoint:/ major:252 minor:0 fsType: blockSize:0} /dev/sda1:{mountpoint:/boot major:8 minor:1 fsType: blockSize:0}]
time="2016-06-03T08:43:43Z" level="info" msg="Host not registered yet. Sleeping 1 second and trying again." Attempt=0 reportedUuid="c18c0fb6-cff9-45d1-b488-ca16f90a3a6d"
time="2016-06-03T08:43:44Z" level="info" msg="Host not registered yet. Sleeping 1 second and trying again."

Adding host on SSL doesn't work. When I change host registration to http it's works.

rancher 1.1.0-dev2 use https instead of http in Host Registration URL. but when I replaced
export CATTLE_HA_HOST_REGISTRATION_URL=https://host:port

to
export CATTLE_HA_HOST_REGISTRATION_URL=http://host:port

in rancher-ha.sh then delpoyed, I found the rancher-agent cannot  connect to the loadbalancer:
time="2016-05-26T09:29:06Z" level="info" msg="Connecting to proxy." url="ws://<IP_ADDRESS>:8080/v1/connectbackend?token=eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE0NjQyNTUyNDYsInN1YiI6ImNhdHRsZSIsImlzcyI6Imh0dHA6XC9cL2NhdHRsZS5pbyIsInJlcG9ydGVkVXVpZCI6IjZhOGY4NDVlLTZhM2EtNGE0Ni1iOTM2LTQzYWY4NmVlMDk3MyIsImlhdCI6MTQ2NDI1NDk0Niwia2lkIjoiZGVmYXVsdCJ9.hGFBcoRrPWJRETNMAvCtbZYFHF-bztxcIV1DPfB70rx6o88jX-PlSiA3mrWOveHVRzFdCztwkZLdRlQBb59QRfw8h6vWuf6ICXeA4dePuGxayFz90JYqQyH7Gl808Jvre5Eb_x1Z8NSPlqqB_rzQSP7pkpBC82NaUiy0xvRhFoYc5FG_AzD3swxAGXFgtqv4zOTw5sXjcw_DP1dbuX3c12hxW8NMoGeytB2y61NcVLs9aK7HRLcUMDZkP4hLxxtwEVjktZXYhxKD3zPbRSP-A1Ic9dNe92hErH23CC4ixg2XBV3y5YaH3IOSw05dMk2WDWKqRIzgWmx_j2bj-jsQhw"
time="2016-05-26T09:29:06Z" level="fatal" msg="Failed to connect to proxy." error="websocket: bad handshake"

the url start with ws://, not http?
and the release note didn't noticed this change, can you still support Host Registration URL with http protocol ?

@HackerWilson It looks like your issue is different as you are running HA.
@QkiZMR Can you provide the logs in the rancher/agent contianer? Can you confirm that you have 1 host running on a separate VM and then you are trying to add the VM that is also running rancher/server and that is the VM that is not connecting?

@deniseschannon
@QkiZMR said that he change host registration to http it's works. I also tried this before, but I got these error logs. I was wondering that when change host registration url to http protocol, rancher-agent will always failed to connect to the nginx loadbalancer.

Rancher Version:
v1.1.3
Docker Version:
1.11.1
OS and where are the hosts located? (cloud, bare metal, etc):
Ubuntu 14.04 (AWS)
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
3 Nodes HA Rancher with RDS Database fronted by ELB HTTP -> HTTP and HTTPS -> HTTPS listeners
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Kubernetes
Steps to Reproduce:
Click on Add host button to generate command. Run the command on seperate host (not the 3 ha-servers)
I do have the same issue, no matter what I tried I get msg="Failed to connect to proxy." error="websocket: bad handshake" idea possible idea on that ?

Have you enabled proxy protocol on elb? Check this page for instructions on that: http://docs.rancher.com/rancher/v1.2/en/installing-rancher/installing-server/basic-ssl-config/

I just saw that! And I feel dumb! Thanks for highlighting!

Actually on my ELB i'm not sure what I have to put SSL 443 -> TCP 81 ?

ELB does not support WebSockets, so you can't use HTTP/HTTPS..  TLS 443 -> TCP 81, and PROXY Protocol enabled on 81 (from CLI, there are no controls in the AWS UI for it)

Yeah I have this setup, some HA container component still aren't healthy. Do I need anything for HTTP ?

Sounds like the initial issue was solved, as well as backpack question. Feel free to open a new issue if there are any other questions.


Configure logs Doc Update

Re: Configure logs
Issue Description
There's a code formatting problem:

Suggested Resolution
unsure

This has been fixed already! Closing.


Use chain files for logging

Change all LOGMAN commands to use chained logging. 200MB per file.
Do for BID, network, and auth.

Made all network traces use 200MB chain files.
Made BID Traces use 200MB chain files.
TODO make Auth traces use chain files

Done. All are 300MB chain files.


"unexpected end of input, expected boolean literal" when unformat! call takes multiple lines

I am trying to use this to parse some log files and in the following example:
            if let Some((_, _, now)) = unformat!("{} {} Time is now {:f64}", line) {
                t = now;
            } else if let Some((_, _, tag, p)) = unformat!("{} {} {} took {:usize}us", line) {
                timings.entry(tag.to_string()).or_default().push((t, p));
            } else if let Some((_, _, not_picked, picked, assigned, freebots)) = unformat!(
                "{} {} Number of Tasks: {:usize} + {:usize} = {:usize} + {:usize}",
                line,
            ) {
                nbr.push((t, not_picked, picked, assigned, freebots))
            }

I get the above error on the last call where you can see the parameters are spread over multiple lines.

Oh wait actually it's the trailing comma (which was added automatically by rustfmt when it split it into multiple lines


Toggle to change boxes to outlines or hide completely

Feature description and context
During review, it can be difficult to see what an annotator has put the box over, as the box is filled with a translucent red.
Annotation default

With labels off, still can't see:

After deleting we can confirm it's almost certainly not an animal:

Being able to toggle all the drawn features (boxes / labels / icons) on and off would be great.
Feature sign-off requirements
When hotkey pressed, boxes disappear completely and return when hotkey released.

Making the bounding boxes thin red lines with no fill would also make it easier to see what's inside the box. This could be toggled, or maybe just become a default?

I think putting this to outline-only is going to be fastest, but could make the annotations more difficult to spot during initial review. What do you think @simbamangu ?

I think putting this to outline-only is going to be fastest, but could make the annotations more difficult to spot during initial review. What do you think @simbamangu ?

The annotations should still be easy to spot if the labels are switched on.
I've used a couple of systems where a keypress hides all annotations - that would be ideal, i.e. hold down the space bar and everything disappears?

Per #120, the outlines were still super visible and a little bit of a problem in herds. So we're gonna pursue this "hide all" option and not consider the empty box a final improvement. But the empty box annotation is what we have in for sure as part of 2.4.0


-level (-L) Option for Limit max depth

Hi. Thank you for the usefull tool.
The tree command has a --level (-L) option that specifies a depth limit.
This option is currently not implemented for stree.
When using stree with a large number of deeply nested S3 buckets, it takes a long time to draw, so I implemented the -L option and looked at it.

@mashiike
Thank you for your suggestion, I'll check it later.

@mashiike
Thank you for your contribution!!
LGTM :100:


Fix WiFi Scan Issue

Attempts to patch WiFi Scan issue in Beta 89 by building WipperSnapper firmware off the latest espressif/arduino-esp32 master branch that includes a patch for the WiFi AP Scan issue and also includes updates for TinyUF2.
Resolves: https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/issues/628

Beta 89 on Adafruit Feather ESP32-S3 Reverse TFT:
12:41:06.913 -> ERROR: No WiFi networks found!
12:41:06.913 -> ERROR [WDT RESET]: ERROR: Unable to find WiFi network, rebooting soon...
12:41:07.909 -> ERROR [WDT RESET]: ERROR: Unable to find WiFi network, rebooting soon...
12:41:08.907 -> ERROR [WDT RESET]: ERROR: Unable to find WiFi network, rebooting soon...
...

Testing
Board: Adafruit Feather ESP32-S2
Beta 89 Output
3:50:08.774 -> ERROR: Your requested WiFi network was not found!
13:50:08.774 -> WipperSnapper found these WiFi networks:
13:50:08.774 -> REDACTED -63dB
13:50:08.774 -> ERROR [WDT RESET]: ERROR: Unable to find WiFi network, rebooting soon...

Beta 90 Output

@tyeth  For review when you're back

LTGM


"Unknown method: undefined" warning in console at the start

I started to get this when I upgraded my app to 0.9.0. It happens with new projects as well.

I've seen this too. Will add more details when I can repro.
cc @frantic

@ide  did you see this on 0.9 or 10-RC?

This was with 0.9.

kk. Thanks. Will test more.

This happens in master when you refresh the app while connected to the Chrome debugger. The server sends payloads like {$open: id} and {$error: id} that aren't commands and don't have a method name.

Thanks @ide!

@ide I'm also experiencing this. I just wanted to say that it's really great to see how involved the collaborators are in react native. Almost every issue I faced is being monitored. Thanks for this great project!

It's nice to hear that; thanks guys :)

Nice work!
/J

On 01 Sep 2015, at 03:00, James Ide<EMAIL_ADDRESS>wrote:
Closed #2377 via 81c2216.
—
Reply to this email directly or view it on GitHub.


OSError: source code not available.

I'm trying to run a class method with the decorator added to it, and while it works fine sometimes out of a sudden it is prone to throwing an OSError: source code not available.
This error only occurs with the latest version of weave, 0.50.5.

Thanks for reporting this! If there is a full stack trace could you post it here? And could you tell us a little more information about your environment, e.g. Python version and whether you are running in a notebook or not?

Adding internal ticket for bug tracker: https://wandb.atlassian.net/browse/WB-19479

Hi @masterbatcoderman10 , this should be addressed with the above PR!


Add GlobalWhitelist/GlobalUnblocker Feature

Pull Request Status

Base Fork: Kwoth/NadekoBot Base: 1.9

Head Fork: NetworkFrontier/LinBot Compare: gwl-nadeko-PR

✅  Currently up-to-date with NadekoBot/1.9 at commit e757e05

✅  Passed (limited) test cases at commit ffff5f5

❌  Live preview not yet available

❌  Response String files still need Localization (or at least placeholders)

❌  The not OwnerOnly commands need to be moved to Utilities

❌  The priority on Add/Rm overloads needs adjustment

About this Feature
Requested by NaviKing, Faeth, et al., the GlobalWhitelist/GlobalUnblocker feature allows bot owners to unblock modules or commands that have been blocked with .gmod or .gcmd for everyone, for specific users, channels, or servers, or for specific roles.
For example:

globally disable games, and unblock just pick, plant, and gencurrency for everyone
globally disable unrestricted commands, and unblock it for just the bot owners
globally disable music, and unblock it for just one server
globally disable your WIP features, and unblock it for Beta testers (role, server, channel, etc.)

You can also enable/disable a Global Whitelist at anytime in case you need to edit the members, or if you only want to unblock features on special occasions.
Unblocking Rules
A chart describing when a command/module is blocked or unblocked can be found here

Global Permissions (gmod, gcmd) trump Local Permissions (sm, sc, etc.) when blocking a command or module.
Local Permissions (sm, sc, etc.) trump anything Global Whitelist tries to unblock.
Commands unblocked via Global Whitelist will work, regardless of whether the command, its module, or neither has been globally blocked (gmod, gcmd)
Modules unblocked via Global Whitelist will allow all of their commands to work, regardless of whether the command, the module, or neither has been globally blocked (gmod, gcmd)

Newly Added Commands
A complete table of the newly added commands can be found here
All commands are OwnerOnly, with the exception of the following:

mygwl Get a list of all whitelists you belong to (both Member and Role -type lists)

ismygwl Whether or not you belong to the given whitelist

gwlhere Get a list of all whitelists for the current Server-Channel context (both Member and General -type lists)

isgwlhere Whether or not the current Server or Channel belong to the given whitelist

mygub Get a list of all commands and modules unblocked explicitly for you or your roles. This DOES NOT include disabled whitelists, nor does it include data from General-type whitelists.

ismygub Whether or not the given command/module is unblocked for you or your roles. This checks BOTH disabled whitelists and General-type whitelists.

gubhere Get a list of all commands and modules unblocked explicitly for the current Server or Channel. This DOES NOT include disabled whitelists, but it DOES include data from General-type whitelists.

isgubhere Whether or not the given command/module is unblocked for the current Server or Channel context. This checks BOTH disabled whitelists and General-type whitelists.

Command Arguments
Order of Arguments
In general, the order of arguments for any given GWL/GUB command is as follows:

WhitelistName string
FieldType GEN | CMD | MDL | SRVR | CHNL | USR | ROLE | UB | MEM
Any one of the following:

ID ulong
Name string | Command | Module | Server | TextChannel | User | Role
Mention #TextChannel | @User | @Role (don't use FieldType for these!)

Enable/Disable true | false | PermissionAction
Page Number int

FieldTypes
FieldTypes help consolidate commands by requiring that the user specify what kind of data they are interested in.
When asking for whitelist info, you can use any FieldType to view only that type of data:

GEN List all data for the whitelist
UB List all unblocked commands and modules for the whitelist
CMD List only unblocked commands for the whitelist
MDL List only unblocked modules for the whitelist
MEM List all servers, channels and users in the whitelist
SRVR List only the servers in the whitelist
USR List only the users in the whitelist
ROLE List only the roles in the whitelist

When creating a whitelist, you specify what type of whitelist it should be with these FieldTypes:

GEN General whitelists unblock specific commands and modules for everyone everywhere
MEM Member whitelists unblock specific commands and modules for specific servers, channels and users
ROLE Role whitelists unblock specific commands and modules for specific Server-Role pairs

When adding/removing items from a whitelist, you can specify the type of data you are adding/removing with these FieldTypes: CMD | MDL | SRVR | CHNL | USR | ROLE
FieldTypes when adding/removing are intended for use with lists of IDs or non-unique string names (such as when someone's username is also a module). If you use FieldTypes with a list of mentions, you risk letting the TypeReader think that the FieldType itself is a #Channel, @User, or @Role.
Notes about Implementation
Database Models

Checking a User's Roles
Since it is likely for a user to have many more roles than there are whitelisted roles, whenever we need to check if a command or module is unblocked for the user, we do the following:

Find all enabled Role whitelists for which the given command/module is unblocked (or just find all Role whitelists if not checking for a specific command/module)
Find all roles belonging to those whitelists
Count how many of those roles have this user in their membership

Unblocking in GlobalPermissionService.TryBlockLate()
Logic
Since this will be checked every time a command is used, we take care not to check the database any more than necessary.

If not in a blocked hashset, let it pass.
If module is in blocked hashset, check if check if either the command or the module is in an unblocked hashset:

If in unblocked hashset,

If either is in any enabled General whitelists, let it pass.
Otherwise if either is in any enabled Member whitelists, let it pass.
Otherwise if either is in any enabled Role whitelists, let it pass.
Otherwise report the blocked module.

If not in an unblocked hashset, report the blocked module.

If command is in blocked hashset, check if either the command or the module is in an unblocked hashset:

If in unblocked hashset,

If either is in any enabled General whitelists, let it pass.
Otherwise if either is in any enabled Member whitelists, let it pass.
Otherwise if either is in any enabled Role whitelists, let it pass.
Otherwise report the blocked command.

If not in an unblocked hashset, report the blocked command.

Otherwise report blocked command or module.

Reporting
As requested by NaviKing, the GlobalPermissionService.TryBlockLate() will report that a command/module has been blocked, similarly to what .verbose does for Local Permissions.
To avoid message spam, both the report message and the offending message will be deleted after 10 seconds.
Long Command Usage Text
Given the many method overloads and FieldTypes allowed by the GWL/GUB commands, the command usage text gets very long. For this reason, NadekoBot.Core/_Extensions/Extensions.cs has been edited such that if there is more than 2 provided usages, they get formatted as one usage per line in a single code-block.
Example: 2 or Fewer
.usage 1 or .usage 2
Example: More than 2
.usage 1
.usage 2
.usage 3

While impressive, this is just too huge to be accepted as it will require maintenance from my side, and it's not how i'd do it in the first place.
Instead of doing this, you could've just abstracted out the permission system checking logic and basically create a parallel permission system which will be bot owner and global, only and work on server/channel/user basis  instead of server/channel/role/user.
However I'd like it to stay open so that people who are modifying their bots can add it to their local versions if that's fine.

The reason I included support for roles is because my design is for many shallow lists. For example, a list of 100 users could be flattened into a list of maybe 2 roles or 5 servers, which makes it easier to maintain on the bot owner's end and keeps the number of database records low.
I'm not totally sure I understand what your version of this would look like, but since this was my first time using Discord.NET and EF Core, I made this as a sort of combination of the existing Blacklist and GlobalPermissions designs. Plus, coming from a MySQL background, my instinct was to use Many-To-Many relationships in the DB.
But if you're worried about maintenance, I don't mind being the go-to person for keeping this up-to-date with Nadeko since I will have to do this anyway for LinBot.
I'm fine with this staying open, if you still don't want to add it officially.

@Warped2713 , if you will try to add a role, that is higher than bot role, it prints that message

Type of whitelist is ROLE

You aren't supposed to be able to do that, it's a Discord limitation. If this is using that then it won't work. It says @deleted-role probably because the role has a space in it (known thing), but that's not the issue.
If you want to let the bot get a role higher than it, and assign it to a whitelist, you'd have to do it outside of D.Net - so you'd have to do basically what Kwoth stated: abstract out the permissions system, unrelated from Discord perms.
tl;dr if you use D.Net, you're not going to be able to assign a higher role and then use that successfully. This is likely why you're not getting the access; adding to the whitelist is done but it won't actually work because the bot isn't able to do that.

@TiBarification I don't believe the problem is "role higher than bot's role" as I can add Admin roles just fine.
Did you make sure to specify the correct Server for your role? @deleted-role appears when the Discord app tries to resolve a mention of a role that doesn't exist in the current server.

@TiBarification Another possibility is that if you tried to copy the Role ID by rightclicking a message, you used the message ID and not the Role ID. Use \@Role to get the true Role ID

Another possibility is that if you tried to copy the Role ID by rightclicking a message, you used the message ID and not the Role ID. Use @Role to get the true Role ID
Thanks, it works. I was acidentally added here message id instead of role id.

Just in case it would be nice to add check if that a role, not a channel 👍

I'll close this now


How to connect two D415 devices?

| Camera Model                       | D400  |
| Firmware Version                   | <IP_ADDRESS> |
| Operating System & Version | Win (10) |
| Platform                                 | PC |
| SDK Version                            | 2.16.1 |
| Language                            | C# |
Issue Description
I need to connect two depth camera devices on the same computer.
Sometimes, the other one camera frames cannot receive.
Is it possible USB power not enough?

Let me try again~
Thanks!

I have a similar problem with a pair of D435s. I have not tried v2.16.5, but I have tried adding a separate PCIe USB port and using a powered AmazonBasics hub (as described in the multi-cam whitepaper). More details here: https://communities.intel.com/message/594911

I just want to clarify that the reason for adding the PCIe USB card was to test the sort of bandwidth hypothesis that @dorodnic mentioned (i.e., to provide a second USB hub, since Windows Device Manager indicated that all native USB ports used the same hub). I initially thought that this had mitigated or solved the problem, but it seems to be happening more frequently now. It is also my impression -- based on the multi-camera whitepaper -- that bandwidth should not be an issue for just 2 cameras.
It's also worth mentioning that the cameras do sometimes disconnect, or they fail to be detected, so I have not ruled power out as a factor.
In both cases, the issues are not especially consistent, and are therefore challenging to debug.

Note: Another user reported the same problem on my Intel Community post (https://communities.intel.com/message/596048#596048), and noted a possible connection to camera metadata.

[Realsense Customer Engineering Team Comment]
Hi @realsense01, @hunglearner,
I use the realsense-viewer based on 2.17.0 to run RGB (RGB8 format) + Depth steams at 1280x720/30FPS with two D415 cameras more than 5 minutes on Win10 RS3.
My setup as follows:
Two D415 cameras are connected to two system USB3 ports instead of an external USB3 hub. The firmware is <IP_ADDRESS> and metadata is enabled.
By the way, how did you verify if the metadata is enabled?

Thanks @RealSense-Customer-Engineering .

The other user reported disabling metadata by  running script "realsense_metadata_win10.ps1" with "-op remove_all". The user did not report whether or not the effect was verified.
I followed the procedure for enabling metadata support on Windows. I verified that metadata was present using the Python library, but it's also visible in the display of Realsense Viewer (iirc, it replaces System time with Hardware time on each stream display). I ran the script with the remove_all option to disable metadata, and verified that it was disabled using the Realsense Viewer display. I did this at least twice.
I will try 2.17.0, but I'm skeptical that that is the issue.
Do the USB ports you used go to separate internal hubs? I believe you can check this using the Windows Device Manager.
Did the recorded files have approximately the same number of depth and color frames?

Thanks again.

Hi @HungLearner
Did you try with the newer v2.16.5?
If you still see the issue, this might be more related to USB bandwidth rather than power.
(Power would result in disconnect, not pause in frames). You can try using different USB ports (if you have several root-hubs on your motherboards, for example front and back)

Hello, i have a new question about sdk.
Today, i use 2.17.0 library in the C#, my output have many messages.
Can it close by any function?

[Realsense Customer Engineering Team Comment]
Hi HungLearner,
Which C# sample app did you use? Did you also enable Metadata?
Can you run 'usbview' tool and dump to a log file? Like to see your USB connection status.

[Realsense Customer Engineering Team Comment]
Hi @realsense01,
From your USBview file, one of D435 USB devices is not enumerated normally. As you can see below, some info is missing. Did you have the chance to try another PC or different OS like Ubuntu to see if the same issue "No Frames Received!" there during two D435 streams with metadata?
Device Power State:               PowerDeviceD0
---===>Device Information<===---
*!*ERROR:  No String Descriptor for index 2!
ConnectionStatus:
Current Config Value:              0x01  -> Device Bus Speed: SuperSpeed
Device Address:                    0x1D
idVendor:                        0x8086 = Intel Corporation
idProduct:                       0x0B07
bcdDevice:                       0x50A6
iManufacturer:                     0x01
*!*ERROR:  No String Descriptor for index 1!
iProduct:                          0x02
*!*ERROR:  No String Descriptor for index 2!
iSerialNumber:                     0x03
*!*ERROR:  No String Descriptor for index 3!
bNumConfigurations:                0x01

Please try the latest firmware and librealsense. Not observe this issue. I will close this. If the issue is still there, you can create another ticket for track.

Can you please explain the context of "Not observe this issue"? Are you referring to the "No frames" error? What kind of system was tested? Was metadata enabled? What version of firmware / software was tested? Which camera model?
I still consider this to be an issue. I will try the latest firmware and software as soon as possible, and report back here.

hi all, I'm new to realsense. May I ask how to enable two devices at the same time in C#? As I understand, I have to create two pipelines. But what is the correct grammer to do it?

Do I need to enable a device using the serial number?


PLC address access

I'm submitting a question:
I have installed Node-RED with Modbus-Package in order to connect via TCP to a Kinco PLC.
The provider has sent a documentation to access to every specific PCL variable.
I set up the Node Server and it connects to the master properly, but the Node Read doesn't get any data at all.
Unfortunatelly, I am not skilled at Modbus protocol, and I have no response from the provider, so I state the question here:
The document describes the following addesses location:
Variable     Gateway     Bit
A               401000        0
B               401000        1
C               401000        2
.
.
X               401002        0
Y               401002        1
Z               401002        2
The question is: what values should I assign into the Node textboxes?
-FC
-Address
-Quantity
in order to get data from any of these variables?
Thanks so much in advance
( ) help wanted
( ) I am using just the Node-RED package and got modbus-serial package installed with it
Yes, modbus-serial is the name but it does all, TCP and Serial.
The node-modbus package is just for the Modbus Server node.
Device :
( ) Raspbian: 3

Description of the connecting Modbus system:

Name   : Kinco
Version: x
Vendor : x

Node:
node --version = lastest

That is not an issue - please, try to find some help in the slack channel of Node-RED


RFC: format: do not format stdin input from ignored path

When taking input from stdin, do not format when rustfmt is being run
from rustfmt.toml ignore paths.
See also:
https://github.com/rust-lang/rustfmt/issues/3543
Signed-off-by: Marc-André Lureau<EMAIL_ADDRESS>

@elmarco My apologies for the late review.
Concerning this PR, I think that respecting ignore against the stdin input will be somewhat a surprising behavior IMHO. As such, I am closing this PR as won't merge.
Finally, I appreciate your interest in contributing to rustfmt. Thanks!


[Proposal] Nested transactions

Since no one is interested in discussing this in the forums (http://forums.laravel.io/viewtopic.php?id=9610) I'll post it here.
Would it be possible to add a flag in the database Connection class that is set whenever transaction() is called, and if transaction() is called while this flag is set then the closure will be called without starting a second transaction in the database. This way I can safely nest transactions in PHP without needing to worry about which function requires a transaction.
To make it clearer:
DB::transaction(function() // this will call PDO::beginTransaction()
{
   DB::transaction(function() // this won't call PDO::beginTransaction()
   {
       // but this closure will still be called
   });
});

However, if this is a silly idea and there is a better way of doing this then I'm all ears.
Thanks

What version and above of Laravel is this in?

@vcardillo All releases since August 2nd 2013. (see https://github.com/laravel/framework/issues/1686#issuecomment-22013937)

Save points were added very recently too.

Hmm.then what about isolation level? Anyone here can tell how to specify a isolation level in laravel ? thank you.

@jbruni "it supports nested transactions - it has been implemented." really? how do I use it? any documentation? tried to search but found nothing =( thanks!

@punchi This doesn't need any docs. Just take a look at example in the beginning of the thread.

So glad this is fixed!


After training the model , how I can save it? or from which folder I can download my trained model?

hello
after training the model , how i can save it? or from which folder I can download my trained model?
I just have trained "ssd_resnet50_v1_fpn_640x640_coco17_tpu-8.tar.gz" and use object detections API's
my folder structure shown in below image:

@halhwadi
You may use export_frozen_inference_graph.py, ypu may refer to: link, link1.
Please confirm if you are using TF2 release of object detection API

For tf2: models/research/object_detection/export_tflite_graph_tf2.py
example to refer to: example
Kindly open a stackoverflow issue for this as it is not a bug or feature request, Please post this kind of support questions at Stackoverflow. There is a big community to support and learn from your questions.
Thanks!


Run a single unit test in container

Currently, make run-tests run all unit tests it would be great if we can run a single test

Currently, you can do it by running the following:
make shell

and then:
cd /usr/local/airflow/astronomer_providers
pytest test/.../path_to_file.py

Currently, you can do it by running the following:
make shell

and then:
cd /usr/local/airflow/astronomer_providers
pytest test/.../path_to_file.py

This looks fine to me and this requested feature does not require closing it.


Issue with fine-tuning Vision models (Pixtral and mistral )

`==((====))==  Unsloth - 2x faster free finetuning | Num GPUs = 1
\   /|    Num examples = 1,000 | Num Epochs = 2
O^O/ _/ \    Batch size per device = 2 | Gradient Accumulation steps = 4
\        /    Total batch size = 8 | Total steps = 250
"-____-"     Number of trainable parameters = 66,060,288
🦥 Unsloth needs about 1-3 minutes to load everything - please wait!
TypeError                                 Traceback (most recent call last)
 in <cell line: 1>()
----> 1 trainer_stats = trainer.train()
11 frames
/usr/local/lib/python3.10/dist-packages/jinja2/environment.py in handle_exception(self, source)
937         from .debug import rewrite_traceback_stack
938
--> 939         raise rewrite_traceback_stack(source=source)
940
941     def join_path(self, template: str, parent: str) -> str:

TypeError: can only concatenate list (not "str") to list`
i am using the default colab notebook provided in the model card.
also if you can kindly list the minimum required specs to finetune qwen vl 7b because it keeps saying i need 90 GB of vram and thank you.

Qwen vl 7b only needs 10GB of VRAM
Is this directly in google colab? Have you tried uninstalling and re-installing unsloth?
https://docs.unsloth.ai/get-started/install-update/updating

After trying other ide/cloud providers , i can say the issue is with google colab only , it works fine with kaggle , lightning Studio and others .


Material MkDocs crashes if both mkdocs-section-index and mkdocs-static-i18n plugins are used during running mkdocs serve

Description
When using Material MkDocs theme in combination with both the mkdocs-section-index and mkdocs-static-i18n plugins during running the server using mkdocs serve, Material MkDocs theme crashes and displays an error message.
Steps to Reproduce

Install Material MkDocs theme, mkdocs-section-index plugin, and mkdocs-static-i18n plugin via pip. Here is a list of currently installed pacages:

mkdocs                     1.4.2
mkdocs-ezlinks-plugin      0.1.14
mkdocs-material            9.1.5
mkdocs-material-extensions 1.1.1
mkdocs-section-index       0.3.5
mkdocs-static-i18n         0.56

Create a new MkDocs project and add the following to your mkdocs.yml configuration file:

mkdocs.yml
site_name: My Docs

nav:
  - Main: index.md
  - Second: second.md
  - Third:
    - /third/index.md
    - Sub1: third/sub1.md
    - Sub2: third/sub2.md
  - Forth: forth.md

extra:
  alternate:
    - name: English
      link: en/
      lang: en
    - name: Français
      link: fr/
      lang: fr

theme:
  name: material
  palette:
    scheme: slate
  features:
    - navigation.tabs
    - navigation.tabs.sticky

markdown_extensions:

  - attr_list
  - toc:
      permalink: ⚓
      slugify: !!python/object/apply:pymdownx.slugs.slugify
        kwds:
          case: none

plugins:
  - search
  - ezlinks
  - section-index
  - i18n:
      default_language: en
      docs_structure: folder
      languages:
        en:
          name: English
        fr:
          name: Français
      nav_translations:
        en:
        fr:

Create next structure of dirs and files

The scaffold of the site structure
.
├── docs
│   ├── en
│   │   ├── forth.md
│   │   ├── index.md
│   │   ├── second.md
│   │   └── third
│   │       ├── index.md
│   │       ├── sub1.md
│   │       └── sub2.md
│   └── fr
│       ├── forth.md
│       ├── index.md
│       ├── second.md
│       └── third
│           ├── index.md
│           ├── sub1.md
│           └── sub2.md
└── mkdocs.yml

6 directories, 13 files

Start the development server by running mkdocs serve
Observe the error message displayed in the terminal

Crash log
INFO     -  Building en documentation
Traceback (most recent call last):
  File "/Users/ahm/Documents/github/mkdocs-test/venv/bin/mkdocs", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "/Users/ahm/Documents/github/mkdocs-test/venv/lib/python3.11/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ahm/Documents/github/mkdocs-test/venv/lib/python3.11/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/Users/ahm/Documents/github/mkdocs-test/venv/lib/python3.11/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ahm/Documents/github/mkdocs-test/venv/lib/python3.11/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ahm/Documents/github/mkdocs-test/venv/lib/python3.11/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ahm/Documents/github/mkdocs-test/venv/lib/python3.11/site-packages/mkdocs/__main__.py", line 234, in serve_command
    serve.serve(dev_addr=dev_addr, livereload=livereload, watch=watch, **kwargs)
  File "/Users/ahm/Documents/github/mkdocs-test/venv/lib/python3.11/site-packages/mkdocs/commands/serve.py", line 116, in serve
    server.serve()
  File "/Users/ahm/Documents/github/mkdocs-test/venv/lib/python3.11/site-packages/mkdocs/livereload/__init__.py", line 162, in serve
    self._build_loop()
  File "/Users/ahm/Documents/github/mkdocs-test/venv/lib/python3.11/site-packages/mkdocs/livereload/__init__.py", line 184, in _build_loop
    func()
  File "/Users/ahm/Documents/github/mkdocs-test/venv/lib/python3.11/site-packages/mkdocs/commands/serve.py", line 76, in builder
    build(config, live_server=live_server, dirty=dirty)
  File "/Users/ahm/Documents/github/mkdocs-test/venv/lib/python3.11/site-packages/mkdocs/commands/build.py", line 332, in build
    config.plugins.run_event('post_build', config=config)
  File "/Users/ahm/Documents/github/mkdocs-test/venv/lib/python3.11/site-packages/mkdocs/plugins.py", line 522, in run_event
    result = method(**kwargs)
             ^^^^^^^^^^^^^^^^
  File "/Users/ahm/Documents/github/mkdocs-test/venv/lib/python3.11/site-packages/mkdocs_static_i18n/plugin.py", line 604, in on_post_build
    files.add_files_from_theme(env, config)
  File "/Users/ahm/Documents/github/mkdocs-test/venv/lib/python3.11/site-packages/mkdocs/structure/files.py", line 122, in add_files_from_theme
    for path in env.list_templates(filter_func=filter):
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ahm/Documents/github/mkdocs-test/venv/lib/python3.11/site-packages/jinja2/environment.py", line 914, in list_templates
    names = self.loader.list_templates()
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ahm/Documents/github/mkdocs-test/venv/lib/python3.11/site-packages/jinja2/loaders.py", line 105, in list_templates
    raise TypeError("this loader cannot iterate over all templates")
TypeError: this loader cannot iterate over all templates

Expected Results
The MkDocs site should load successfully, and the mkdocs-section-index and mkdocs-static-i18n plugins should function as expected.
Actual Results
The Material MkDocs theme crashes and displays an error message.

The issue is no longer reproducible with newer versions of mkdocs-section-index == 0.3.8 and mkdocs-static-i18n == 1.1.0.


Migrate to cloud

[x] Talk to Renuka and Mudit about which cloud service.
[ ] Migrate to chosen cloud service.

We are currently waiting on F5 to procure payment for us to move the services to Google Cloud

moving to semester 2 because not mandatory for sprint 3.


System.ArgumentNullException: Value cannot be null

A follow-up exception when trying to fix stuck projects as documented in #317
Putting project 'orm-ec-flex' on hold due to unhandled exception:
System.ArgumentNullException: Value cannot be null. (Parameter 'path1')
   at System.IO.Path.Combine(String path1, String path2)
   at SIL.LCModel.Infrastructure.Impl.SharedXMLBackendProvider.CreateOrOpen(String name, Int64 capacity, Boolean createdNew)
   at SIL.LCModel.Infrastructure.Impl.SharedXMLBackendProvider.CreateSharedMemory(Boolean createdNew)
   at SIL.LCModel.Infrastructure.Impl.SharedXMLBackendProvider.StartupInternal(Int32 currentModelVersion)
   at SIL.LCModel.Infrastructure.Impl.BackendProvider.StartupInternalWithDataMigrationIfNeeded(IThreadedProgress progressDlg)
   at SIL.LCModel.Infrastructure.Impl.BackendProvider.StartupExtantLanguageProject(IProjectIdentifier projectId, Boolean fBootstrapSystem, IThreadedProgress progressDlg)
   at SIL.LCModel.LcmCache.<>c__DisplayClass12_0.<CreateCacheFromExistingData>b__0(IDataSetup dataSetup)
   at SIL.LCModel.LcmCache.CreateCacheInternal(IProjectIdentifier projectId, String userWsIcuLocale, ILcmUI ui, ILcmDirectories dirs, LcmSettings settings, Action`1 doThe, Action`1 initialize)
   at SIL.LCModel.LcmCache.CreateCacheFromExistingData(IProjectIdentifier projectId, String userWsIcuLocale, ILcmUI ui, ILcmDirectories dirs, LcmSettings settings, IThreadedProgress progressDlg)
   at LfMerge.Core.FieldWorks.FwProject.TryGetLcmCache() in /home/builder/repo/src/LfMerge.Core/FieldWorks/FwProject.cs:line 97
   at LfMerge.Core.FieldWorks.FwProject..ctor(LfMergeSettings settings, String database) in /home/builder/repo/src/LfMerge.Core/FieldWorks/FwProject.cs:line 31
   at LfMerge.Core.LanguageForgeProject.get_FieldWorksProject() in /home/builder/repo/src/LfMerge.Core/LanguageForgeProject.cs:line 93
   at LfMerge.Core.Actions.TransferMongoToLcmAction.DoRun(ILfProject project) in /home/builder/repo/src/LfMerge.Core/Actions/TransferMongoToLcmAction.cs:line 53
   at LfMerge.Core.Actions.Action.Run(ILfProject project) in /home/builder/repo/src/LfMerge.Core/Actions/Action.cs:line 110
   at LfMerge.Core.Actions.SynchronizeAction.DoRun(ILfProject project) in /home/builder/repo/src/LfMerge.Core/Actions/SynchronizeAction.cs:line 64
   at LfMerge.Core.Actions.Action.Run(ILfProject project) in /home/builder/repo/src/LfMerge.Core/Actions/Action.cs:line 110
   at LfMerge.Program.RunAction(String projectCode, ActionNames currentAction) in /home/builder/repo/src/LfMerge/Program.cs:line 124

Hum, I feel like we need a way to reproduce this in order to move forward with it, otherwise it'll take forever to fix and test and we might break other stuff.

yes, I agree.  Unfortunately I need to resist the temptation to work on this until after LFCon23 :)

That darn IsMono check again. It sounds like someone needs to go through all the code and update all those checks. In the past IsMono also meant IsLinux or Mac, but now it doesn't and IsMono can be false when it's running on Linux and that's causing issues like this where the IsMono check should actually be an IsLinux check. This is what this PR fixed but only for that one line.

It's worth noting that I've run into cases where System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform actually gave the wrong result, reporting Windows when LfMerge was running on Linux under Mono. (I don't think this will happen any more under .Net Core). Therefore, it may be worth being slightly paranoid about such checks, and using the approach I found in https://stackoverflow.com/a/38795621 to glean that information from the runtime environement, as follows:

Check for an env var called windir. Ensure its value contains a backslash and the directory exists. If so, Windows.
Check for a file called /proc/sys/kernel/ostype. It should contain "Linux", case-insensitive (i.e., using OrdinalIgnoreCase for the comparison). If so, Linux (or Android).
Check for a file called /System/Library/CoreServices/SystemVersion.plist. If it exists, OS X (or iOS).
None of the above: throw exception or return UnknownOS or whatever is most appropriate.

If it's necessary to distinguish between Linux and Android, then some further check might be necessary.

Oh wait, I just saw that I was looking at some older code in liblcm. There is no longer any mystery about why the code path was followed: in https://github.com/sillsdev/liblcm/pull/272, @hahn-dev changed one of the two checks to MiscUtils.IsLinux but missed that the other one needed to be changed as well. I'll submit another PR to liblcm to fix that.

https://github.com/sillsdev/liblcm/pull/280 will fix this issue. Haven't tested it yet, but I'm 100% confident that this will work.

ooh I see. Nice find. Though I do hope this doesn't just bubble up to another issue.

resolved by #331


Example using the lbclient.js in polymer

How can the browserified files(The loopback Isomer) be used in a polymer component.
<script src="src/loopback/scripts/lbclient.js"></script>
<link rel="import" href="/src/app.html">
<body>
    <my-app></my-app>
</body>

<dom-module id="my-app">
    <template>
    <script>
        Polymer({
            is: 'my-app',
            authenticate: function () {
                //Call User method defined in the server ---> undefined
                User.create();
            }
        });
    </script>
</dom-module>

<link rel="import" href="src/loopback/scripts/lbclient.html">
<link rel="import" href="/src/app.html">
<body>
    <my-app></my-app>
</body>

<!--lbclient.html-->
<script src="lbclient.js"></script>

Polymer({
   is: 'my-app',
   authenticate: function () {
        //Call User method defined in the server ---> undefined
        User.create();
    }
});

@klarkc

Hello, sorry for the delay. You are right, this information is missing in README. There is a task in gulp, called lbclient, this task build the bundle.js file with content from client/loopback in client/scripts/bundle.js. This file is loaded at client/index.html:55. So to use the app you just require the loopback-app anywhere, like:
<script>
  var app = require('loopback-app');
  var User = app.models.User;
  User.login({
    email<EMAIL_ADDRESS>    password: '12345'
  }, function(err, res) {
    if (err) {
      console.error('Login failed: ', err);
    } else {
      console.log('Logged in.');
    }
  });
</script>

You can have the docs regarding this here:
https://github.com/klarkc/polymer-loopback-starter-kit#loopback
https://docs.strongloop.com/display/public/LB/Running+LoopBack+in+the+browser

Yeah, i tried that but somewhere in the 100,000+ lines of code there are errors. I think it was fs.readfilesync is not a function  error and fs.readaddr is not a function  error. Haven't found a way to solve this yet

Strange, for me it is working, You already tried to clean the bundle and create again? $ gulp clean

Look at testing-lbclient for an working example here

@Nigeltiany Maybe it's related to browserify version, or even node.js version. Are you trying with the latest versions of these packages?

I updates all packages browserify 13.1.0 updated node -v 6.5.0 did a gulp clean then gulp serve but still the errors persists

@Nigeltiany , I tested here with exactly same versions, no problems :confused:

BTW the issue with the size of bundle is already know, the strongloop team is working on it, for now wrapping whole loopback into the bundle is the only workaround. strongloop/loopback#989

I suggest you to open an issue in loopback repo about browserify loopback and your specific error. I guess this occurs only in Windows, but I am not sure.

I'll close this for now, fell free to re-open if you have any updates on this.


evaluate casts data types through floats messing with long int

https://github.com/maartenbreddels/vaex/blob/2924541ec199a6852a78d1d5689695430d27c525/vaex/export.py#L361
evaluates does not keep the precision of the values and seems to cast values to float/double precision during the process.

That should not happen, which version are you using?

version gives me 1.0.0-beta.4

Doing the following:
import vaex as vx
import numpy as np
ds = vx.from_arrays(f8=np.arange(10, dtype='f8'), i8=np.arange(10, dtype='i8'))
ds.evaluate('f8').dtype, ds.evaluate('i8').dtype,

Gives me:
(dtype('float64'), dtype('int64'))

Can you check if you get the same?
If you don't get that, can you update to beta 6 and let me know if that fixes it?

In [1]: import vaex as vx
...: import numpy as np
...: ds = vx.from_arrays(f8=np.arange(10, dtype='f8'), i8=np.arange(10, dtype='i8'))
...: ds.evaluate('f8').dtype, ds.evaluate('i8').dtype,
...:
Out[1]: (dtype('float64'), dtype('float64'))

How do I install the new beta? conda-forge does not have it and pip seems to want 0.3.10 something

The test above works, but now from_arrays is not working anymore. What's the change in the API so I can test on my actual data?

Conda-forge has beta6 (see https://anaconda.org/conda-forge/vaex), and installing from pip you indeed should use the --pre flag.
And indeed, that was a breaking api change, that was a bad decision to take a name argument.
I plan to keep a public changelog after the 1.0 release, changes are prefixed in the commit msg'es by 'changes:' for now, new features with 'new:' and fixes with 'fix:'.
Please let me know if you've managed to get this working.
(Sorry for the late reaction, I was traveling)

yes I looked at the source to figure the changes in some places. It works!
FYI, the healpix_plot doc needs updates or the code needs to be generalized. It currently imposes Gaia conventions that are not healpy defaults. (nested not ring for instance). I can open an issue if you need.

Please do, we can discuss further.


Added rollup, rewritten to ES6+

Hi mate!
I have now added Rollup, and rewritten the code to ES6 following StandardJS code-standard.
I have also dipped my fingers in the demo a little, I hope you like it 👍 😄
Cheers,
Linus

Damn!!!! :1st_place_medal:


issues/189 - Container to export childComponents as array and provide componentMapping to children

Description
SPA 2.0 Impl refactored all existing class based comps to functional comps. In the process the ability to obtain child components in custom components like tabs, accordion and carousel are lost as the default markup generated by container or responsivegrid components doesnt fit the need. This PR addresses this issue by decoupling the logic to consolidate all children into an array via a utility method and calling the same in Container's render. Now the utility method is exported as well so consumers can continue to use similar logic as we did before SPA 2.0
Related Issue
#189
Motivation and Context
Explained in description and reported issue.
How Has This Been Tested?
We were able to rebuild tabs component using the changes suggested. Also the OOTB container and Responsivegrid components also worked as desired.
Screenshots (if appropriate):
If needed I can build a sample and attach screenshots. As the React Core Comps SPA repo is not migrated to SPA 2.0 we dont have an easy way to share the issue in a generic codebase like WKND SPA.
Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:
Addl unit tests are not included as the existing tests cover this method. If desired, we can add them on request from approvers.

[X] I have signed the Adobe Open Source CLA.
[X] My code follows the code style of this project.
[X] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[X] All new and existing tests passed.

@sharanyavinod , @CezCz , @niekraaijmakers , @habansal , @vladbailescu - Requesting your inputs on this PR, as this helps consumers to build custom containers without having to duplicate the code. Thanks !

Hello. Good Morning to you ! Can someone please share some feedback on this PR? Thanks !

Hello. Good Morning to you ! Can someone please share some feedback on this PR? Thanks !

@sharanyavinod - Added additional tests and minor updates. Codecov passed all checks, however SonarCloud says not enough coverage even though the tests covered all the lines. Validated in codecov and jest coverage reports. Please let me know if I am missing something here. Also I didn't bump the version in package.json assuming some one from Adobe determines when the changes should go live. Please let me know for more feedback. Also there is another PR for stylesystem support. Please take a look at that one too. Thanks

@sharanyavinod - Just a quick followup if everything is okay or if more edits are required. Thanks

@sharanyavinod - Please conclude your approval and merge process on this one too, so both the PRs can be part of next release. Thanks

Hello. Hope you are doing well. Any update on this? Thanks

@friendlymahi To trigger release, the commit needs to follow commit message conventions as mentioned at https://github.com/adobe/aem-react-editable-components#releasing. Could you please add an appropriate commit here so that release will be triggered on merge? It could also be an empty commit.

@sharanyavinod - Added documentation on the utility method and updated commit in the format recommended. Please merge the PR if this is good.

@sharanyavinod - Good day to you. Can you please help moving this PR for merge and release process if everything looks fine? Thanks

@sharanyavinod - I updated the PR title also to match with commit message format. Can you see if these changes help trigger a build? Thanks

@sharanyavinod - Any update or feedback? Thank you

@friendlymahi I see you added a commit with feature: but to trigger a release it needs to either be feat: <msg> or fix: <msg>.Could you please add a corresponding commit? Once done I can immediately merge and the changes should be released as well.

@sharanyavinod - Updated README with sample snippets and added commit message in the format you suggested. Apologies for the confusion. Thanks !

@friendlymahi Done. All your changes should now be included in v2.1.0
Thanks again for the contribution! :)

Thanks a ton @sharanyavinod for the encouragement and support.
FYI - I see the docs generation step failed in GH actions, but able to download the latest pkg.

Hello. Good Morning to you ! Can someone please share some feedback on this PR? Thanks !

Hi I am facing this issue container.getChildren not a function

Below issue i am facing can any one help on this

here is the code
const MyTabs = (props) => {
const tabItemsInOrder = Container.getChildComponents(props);
const tabItemsJsx = tabItemsInOrder.map((tabItemJsx) =>{tabItemJsx});
return {tabItemsJsx};
}

@sarath540 - The method is not a class method i.e. you can directly import the getChildComponents method from @adobe/aem-react-editable-components instead of doing a Container.getChildComponents. Take a look at the test case on how the import is done. If documentation is incorrect it needs a fix. Thanks !

You may have to troubleshoot it your self. Spa core components is more of a reference and is not directly supported by Adobe and the developer who worked on it is no longer working or supporting it. May be you can ask this question on that repo. However there are multiple catches here. Spa core components uses v1.x of react editable components which is different than 2.x that we are referring. Another thing is, panel switcher works based the selectors associated with every child component being wrapped around with. I our case we developed our own tabs component. Hope this info helps. Thanks and I suggest questions like these should come on community as this PR has nothing to do with them.


[Flutter Web] YoutubePlayerScaffold in PageView hijacks gestures. Cannot swipe the PageView.

Steps to reproduce

Create A Project With A PageView with 2 full-screen children. (Do this on the Mobile Web).
Add the youtube_player_iframe plugin as a dependency.
Create A PageView with 2-3 children with one of the children being a YoutubePlayerScaffold with a YouTubePlayer inside of it.
You can even copy & run the code below. It has the entire example.
Please run the following in either a Desktop Web Browser or Mobile Web Browser.

Expected results
The PageView is supposed to be able to swipe normally.
Actual results
When swiping on the YouTubePlayerScaffold, the PageView does NOT swipe. It's as if the YoutubePlayerScaffold hijacks all the gestures.
I need help on what to do. How do I make the PageView swipable again?
Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:youtube_player_iframe/youtube_player_iframe.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  final pageController = PageController();

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'PageView + YouTubePlayer Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
        appBarTheme: AppBarTheme(
          backgroundColor: Colors.deepPurple.shade600,
          titleTextStyle: const TextStyle(fontSize: 18.0, fontWeight: FontWeight.bold, color: Colors.white),
        ),
      ),
      home: Scaffold(
        appBar: AppBar(title: const Text('PageView + YouTube Demo')),
        body: PageView(controller: pageController, children: const [
          Center(child: Text('Page 1', style: TextStyle(fontSize: 16.0, fontWeight: FontWeight.w600))),
          VideoCard(),
          Center(child: Text('Page 3', style: TextStyle(fontSize: 16.0, fontWeight: FontWeight.w600))),
        ]),
      ),
    );
  }
}

class VideoCard extends StatefulWidget {
  const VideoCard({super.key});

  @override
  State<VideoCard> createState() => _VideoCardState();
}

class _VideoCardState extends State<VideoCard> {
  static const _videoUrl = 'https://www.youtube.com/watch?v=Atf_Af1q_5w';

  YoutubePlayerController? controller;

  @override
  void initState() {
    super.initState();
    final videoId = YoutubePlayerController.convertUrlToId(_videoUrl);
    if (videoId != null) {
      controller = YoutubePlayerController.fromVideoId(
        videoId: videoId,
        params: const YoutubePlayerParams(showFullscreenButton: true),
      );
    }
  }

  @override
  Widget build(BuildContext context) {
    return Container(
      width: double.infinity,
      height: double.infinity,
      clipBehavior: Clip.antiAlias,
      decoration: BoxDecoration(
        borderRadius: BorderRadius.circular(8.0),
        boxShadow: const [BoxShadow(offset: Offset(0.0, 4.0), blurRadius: 16.0, color: Colors.black26)],
        color: Colors.black,
      ),
      margin: const EdgeInsets.all(16.0),
      alignment: Alignment.center,
      child: controller == null
          ? const Text('Error Loading Video From YouTube URL: $_videoUrl')
          : LayoutBuilder(
              builder: (context, constraints) {
                return YoutubePlayerScaffold(
                  enableFullScreenOnVerticalDrag: false,
                  aspectRatio: constraints.maxWidth / constraints.maxHeight,
                  builder: (_, player) => player,
                  controller: controller!,
                );
              },
            ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

IMPORTANT NOTE: The PageView itself works just fine. In the following Screenshot, If I try to swipe in the gap between the edge of the scree and the card containing the YoutubePlayerScaffold, it manages to swipe. The swipe only doesn't work when I'm swiping on the video card itself.

Logs
No response
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.1, on macOS 14.5 23F79 darwin-arm64, locale en-US)
    • Flutter version 3.24.1 on channel stable at /Users/adityam/Documents/Dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5874a72aa4 (3 weeks ago), 2024-08-20 16:46:00 -0500
    • Engine revision c9b9d5780d
    • Dart version 3.5.1
    • DevTools version 2.37.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/adityam/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

[✓] Android Studio (version 2023.3)
    • 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.10+0-17.0.10b1087.21-11572160)

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

[✓] Connected device (3 available)
    • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 14.5 23F79 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 14.5 23F79 darwin-arm64
    • Chrome (web)                    • chrome                • web-javascript • Brave Browser <IP_ADDRESS>
    ! Error: Browsing on the local area network for Aditya Majethia’s iPhone. Ensure the device is unlocked and attached with a cable or associated with the
      same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

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

• No issues found!

YoutubePlayerScaffold actually uses WebView which is iframe on flutter web.
iframe implemented by WebViewWidget will consume the events anyway, so the events will never come to flutter-view.
If you insist to do this, maybe you can try to implement an iframe wrapper yourself without using of webview(iframe), and then you need to turn-on and turn-off the iframe's pointer-events appropriately so that the other events can be finally dispatched to flutter-view. Please check dart:html and HtmlElementView. But it doesn't work on non-web platforms.

2. Add the youtube_player_iframe plugin as a dependency.

@adifyr This is a third party dependency. If the reported behavior only occurs with this dependency, you will need to report in dedicated repo.
Also, by the reported behavior, are you saying that you can't scroll / drag over the  scrollable area of the video ?
If so, check if https://github.com/flutter/flutter/issues/142427 resembles your case or not.

@darshankawar Hi. Thanks for responding. Yes, the plugin utilize WebView underneath. So the issue you linked could be pertinent. I'll take a look.


update the datacard maker and add a plotter feature

update the datacard maker so that the processes can be grouped.

modify the datacard maker so that the data_obs can be correct (please double check because the original datacards can be wrong, or the new codes can be wrong)

Added a plot feature

Next step will be add new plot features to plot the systematic uncertainties.

Thanks for the work, I will take a look.
However I don't think we want to merge muon and electron dataset for Data...

Thanks.
I know that we are not merge muon and electron channel, the setup in step 1 will not effect the data if the regions are defined properly.
The change in step 2 is not for merge leptonic channels, but fix the procedure to make e.g. EraC+EraD+ErF histogram. Please double check.

Thanks.
I know that we are not merge muon and electron channel, the setup in step 1 will not effect the data if the regions are defined properly.
The change in step 2 is not for merge leptonic channels, but fix the procedure to make e.g. EraC+EraD+ErF histogram. Please double check.

Closing due to conflict. See #39 instead


Timezone issue?

My raspberry pi has the timezone set for New York and displays time correctly. I have my ToDoist account in the same time zone. But the MM module is showing list items with the incorrect due date. Example an item due on 3/20 (today) is saying it was due yesterday. Is this a UTC issue?

I'm having the same issue.

I'll try to get this resolved today. I think MM changed the way they handle time zones.

I'm actually trying to figure it out now. The problem happens when you convert
item.due.date returns 2020-03-23
but
dueDateTime returns Sun Mar 22 2020 20:00:00 GMT-0400 (EDT)
dueDateTime is the result of
var dueDateTime = new Date(item.due.date);

I am having the same issue.

I'll chime in - I'm seeing the same issue. I'm expecting to see today's tasks (and my overdue's), but instead I'm seeing today's and tomorrow's, with today's showing as "yesterday" and tomorrow's showing as "today." Aligns with what gonzonia mentioned up above. Did any of you manage to figure it out yet?
Or...am I seeing a new occurrence of an already-solved issue?

No, it's still going on. I go in and add a + 1 to the diffDays calculation everytime there's a new update to the module. It's a minor tweak and not worth forking for. I'm not sure why it's even happening.

I am also experiencing this issue. When a add a task for today it shows up in MM as being due yesterday.
@gonzonia -- where at exactly did you add "+1" to diffDays? Was it under the "if (self.config.displayTasksWithinDays..." statement or under the "autoDueDateCell" function?

In MMM-Todoist.js I changes line 457 to
var diffDays = Math.floor((dueDate - today + 7200000) / (oneDay))+1;

I have an open pull request that will fix this, I believe. The issue is that tasks with only a due day are relative to UTC time, whereas tasks with a due day and time are (correctly) interpreted relative to your local timezone.

This resolved the floating timezone issue but if the timezone is chosen in Todoist (i.e. not the floating default), due times are now off.

@deyawper, you are right. I forgot to take into account set timezones. Looks like Todoist returns due dates with timezones set as UTC in zulu format. I made another pull request to take this into account.


Typo in the example in the website?

I don't recognize this syntax, nor my editor.
See: https://s.nimbus.everhelper.me/share/1267018/aazp0b2lapg4xyzzhymx

Fixed, thanks for reporting @redochka


[TC][Main][Partners block][Mobile] Verify redirecting to partner's website & social media

Priority:
Medium
Preconditions

The main page is opened.
At least one partner is added.
Link to the partner's website is added.

Steps to reproduce

Navigate to the "Наші партнери" block.
On dekstop hover the mouse cursor over the partner, on mobille tap on the partner.
Click on the web resource link & media link of the partner.

Expected result
The user is redirected to the partner's website & partner's media in a new tab.
User story: https://github.com/ita-social-projects/StreetCode/issues/697

https://github.com/ita-social-projects/StreetCode/issues/1897


fixed the youtube link in twitter and added the start button to start…

… the extension

added the twitter youtube thing and start button for the extension
im interested in this project

subscribers Number

I add the start button because the extension starts before the page load.
I will add that thing on youtube.js file (that was my bad )
I forgot to remove the console.log (my bad too )

ok I think I get what you mean by the extension starts before the page loads, you've only tested this on twitter I believe and twitter loads content asynchronously, an issue was opened #54 and has been fixed by #57. The exntesion shouldn't need a manual input to start itself.


升级到1.45.0版本，网络有代理，输入账号、密码登不成功

升级到1.45.0版本，网络有代理，输入账号、密码登不成功

I also find this problem after upgrading to 1.45.0.
In previous version, after launching vs code, a window is popped. In this window, I can input username and password for authentication of proxy and press OK button. And then this window is closed. vs code can connect to internet via proxy.
But for 1.45.0, I also can get this window, but window isn't closed after input username/password and  press OK button.

Our company also encountered such problems. Now we can't work normally.

Whether is there a workaround way to make proxy work well ?

We can only work offline......

In addition, I found this issue on Ubuntu 20.04.
In my window environment, I not find this issue since proxy doesn't need username/password.

Workaround if you cannot revert to 1.44: https://github.com/microsoft/vscode/issues/97199#issuecomment-626002254
/duplicate https://github.com/microsoft/vscode/issues/97199

@chrmarti
Thank you. Now it works well.


Backend Bugs

also run timeout tests with optimizations
add tests from feedback

integration-tests/timeout/const_optimizable_while.mj also fails on current master, it fails in live_variable_analysis.rs.
@flip1995 any idea what's happening? should we defer the fix in that domain until we have refactored the backend?

feedback_5feb_mj seems to be address, though

bors r+


Semantics: a local dataset is not a country

Select country is wrong in this situation. It should probably say "select region".
The same issue is on the regions pages:

And while somebody's at it, fix the translations 👍

@ChaelKruip re-assign at will

Select country is wrong in this situation. It should probably say "select region".

Assigning @DorinevanderVlies


[core] Batch small changes

[docs] Fix the wrong alt for diamond sponsor 7ddf7de: spotted in X but also duplicate reported by Wave Chrome extension.

[docs] Normalize callback wording 7fde906: spotted in X, I went with the most frequent approach in the codebase.
[docs] Customization video loop 498b9de: I forgot to add the attribute.
[docs] Update version information d31ee88: We have moved to v5 as the active version in development.
[docs] Remove blank lines @tag f0b64e0: A continuation of the last effort on adding @default. I have done the same change in material-ui-x.
[docs] Fix typo c05de41
[docs] Use version reviewed by Matt on X 2935cdc
[test] Remove redundant visual regression test 950d4fc: It doesn't test anything new and worse, it's flaky: https://www.argos-ci.com/mui-org/material-ui/builds/3647.
[docs] Prefer using px over pixels 9ec9f32: Motivated by https://github.com/mui-org/material-ui/pull/22395#discussion_r485596997

[docs] Remove blank lines

Any particular reason? They help with readability, and removing them doesn't save any meaningful bytes.

[docs] Remove blank lines

Any particular reason? They help with readability, and removing them doesn't save any meaningful bytes.

If I remember the discussion correctly then it was about consistency. I don't have a strong opinion either way. However, if the goal is consistency then adding blank lines between tags could potentially hurt readability as the number of tags grows.
Though from experience I'd advise against arguing about formatting that requires human interaction. I don't remember the pre-prettier days very fondly :wink:

Regarding @tags, we can find a discussion about it on: https://github.com/mui-org/material-ui/pull/22447#discussion_r481984854. I'm using the new convention we went with.


Timezone affects actual times passed from DB

Summary
Well in the DB I have times recoded as datetime fields, and when the data are fetched I prepare them as a schedules for the calendar. But when shown in the calendar they are with offset e.g: if the time passed is 05:30 the time offset of +2 hours is applied and in calendar the time is shown as 07:30. So, is there a way with some of the options to tell the calendar not to pay attention to timezones?
Version
1.15

@klimentpetkov
Basically, Javascript's Date object follows the local(the browser's) timezone.
Even though there are several limitations, we provide the timezone option when you create the instance. Please refer to this doc.


AOI Endpoint URL Creation - Doesn't work with an API-M / App Gateway or other interceptor.

Because of regulatory concerns, I need to put an API Manager in front of my AOI instance. Additionally, it allows me to do pre and post processing of prompts/completions and additional content management.
I'd like to be able to send this a FQDN of the AOI instance instead of an instance name and have this not create a new instance and point at my current interface.

Following. This is an important blocker for us

@grayjeremy @kbedhu have you tried changing the base path?
https://js.langchain.com/docs/modules/model_io/models/chat/integrations/azure
const model = new ChatOpenAI({   temperature: 0.9,   azureOpenAIApiKey: "SOME_SECRET_VALUE", // In Node.js defaults to process.env.AZURE_OPENAI_API_KEY   azureOpenAIApiVersion: "YOUR-API-VERSION", // In Node.js defaults to process.env.AZURE_OPENAI_API_VERSION   azureOpenAIApiDeploymentName: "{DEPLOYMENT_NAME}", // In Node.js defaults to process.env.AZURE_OPENAI_API_DEPLOYMENT_NAME   azureOpenAIBasePath:     "https://westeurope.api.microsoft.com/openai/deployments", // In Node.js defaults to process.env.AZURE_OPENAI_BASE_PATH });

I was able to add the base path config to the app service to direct through APIM. Works nice!

Following. This is an important blocker for us

Add the openai base path config setting and set the value to your APIM url.
"https://.azure-api.net/openai/deployments/"

There are likely to be several other issues (mostly around where to store the keys), I'll do a doc PR when they are all resolved.

I added the AZURE_OPENAI_BASE_PATH variable but the web app is ignoring that setting and just going straight to the Open AI end point. Has anything changed since this workaround was suggested?


feat(API): Add RuleViolationAPI integration tests

Add integration tests to rule violation API
endpoint (/runs/{run_id}/rule-violations).

UI changes look good to me.


Specify type params for UnwrapError.result type

Mypy's strict mode complained about UnwrapError not specifying type
parameters for the Result instance (the .result attribute):
$ mypy -- strict

result/result.py: note: In member "__init__" of class "UnwrapError":
result/result.py:257:32: error:
Missing type parameters for generic type "Result" [type-arg]

result/result.py: note: In member "result" of class "UnwrapError":
result/result.py:262:25: error:
Missing type parameters for generic type "Result"  [type-arg]

Found 2 errors in 1 file (checked 3 source files)

Address this simply by making the implicit explicit, namely specifying
Any.
The alternative to make UnwrapError itself generic is not viable:
UnwrapError doesn't know about both ‘T’ and ‘E’, since it's raised from
Ok() or Err() which only know about either ‘T’ or ‘E’, never both.
In practice this is not a problem since inspecting UnwrapError is only
useful for debugging, not as a normal control flow for which type safety
matters. Catching exceptions for error handling quite literally goes
against the whole idea of this library after all.

Codecov Report

Merging #67 (c9ab1f9) into master (71afad2) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #67   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          227       229    +2
=========================================
+ Hits           227       229    +2

Impacted Files
Coverage Δ

result/result.py
100.00% <100.00%> (ø)

result/tests.py
100.00% <100.00%> (ø)

Changelog entry

i've added one, but tbh i don't think it was really necessary since this change only makes the implicit explicit.

i've added one, but tbh i don't think it was really necessary since this change only makes the implicit explicit.
Fair enough. I figured since the docstring changed. But what you're saying is valid too.

Wow, that was a fast merge


deps: Update winreg 0.51 -> 0.52

Time to see if it passes CI

Looks like a GH issue with CI hanging, but from the text it looks like the windows build passed

Investigating - We are investigating reports of degraded performance for Actions
Oct 30, 2024 - 07:25 UTC


code documentation

I'm planning to use phpDocumentor 2 to generate documentation and annotate the code appropriately.

review best practices for tools

Punting this until 0.4 when I'll have reviewed my 2year old code.


Moving the rating sprites

What is your question?
Okay so like, I have a stage with a "moving" background and I want the "SICK", "GOOD", "BAD" and "SHIT" rating text to move along with the background like in Ejected or Danger, is that possible?
I'm using lua btw.

adjust the combo offset

adjust the combo offset

I think he wants to have the ratings fly by the camera when they appear;
In which case, the easiest way I can think of is to modify Unholywanderer's Lua Editable Combo Ratings script by adding doTweenX to it for each object.

adjust the combo offset

I think he wants to have the ratings fly by the camera when they appear; In which case, the easiest way I can think of is to modify Unholywanderer's Lua Editable Combo and Ratings script by adding doTweenX to it for each object.

Oh sick, tysm


Template review feedback

Thanks for submitting a template to the gallery, there were a few issues in your template that needed to be resolved ahead of approving the template for the gallery.

The following URLs used in your template have been identified as malicious. Refer to the steps in this help center article to fix the issue or remove these URLs from your template https://tcl.ternairsoftware.com

Hello @praveena-pappu
Thank you for reviewing our template.
We have updated the template:

We have removed the marked URL from the template.
We have updated the homepage & documentation URL's in the metadaya.yaml
We have added a README.md with details about the tag, how to add the tag and how to configure it.
We have expanded the template with a few fields to configure and some functionality

Would you be willing to take another look again to see if all of your issues have been resolved?
Thanks,
Taco Perquin
Ternair

Hi @praveena-pappu
Just checking in, have you been able to take a look at our submission again?
Thanks,
Taco Perquin
Ternair


Error with EXE project with deactivated build configuration

I have one of my projects console test projects. These projects build an EXE. In the solution configuration the build is disabled for release. Now there is an error on abbveyor the file project.assets.json is not found.
Project has an output type of exe: Anori.ExpressionObservers.ConsoleTests
Microsoft (R) Build Engine version 16.9.0+57a23d249 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(241,5): error NETSDK1004: Assets file 'C:\projects\anori-expressionobservers\Tests\Anori.ExpressionObservers.ConsoleTests\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. [C:\projects\anori-expressionobservers\Tests\Anori.ExpressionObservers.ConsoleTests\Anori.ExpressionObservers.ConsoleTests.csproj]
Cake.exe : An error occurred when executing task 'DotNetCore-Build'.
At line:1 char:1
+ & "C:\projects\anori-expressionobservers\tools\Cake\Cake.exe" "recipe ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (An error occurr...NetCore-Build'.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

@anorisoft I don't suppose that you have a link to both the failing build and the test project?
I know there are problems when only .NET 5.0 is being targeted, as it isn't correctly identified as a .NET Core compatible build (build I have previously only seen issues with that being related to coverage reports).


"Drăgănești" and "Malu Alb" are listed in the drop-down menu

Description:
"Drăgănești" and "Malu Alb" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Drăgănești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Drăgănești, GALAȚI".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type again "Drăgănești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Drăgănești, GALAȚI (Drăgănești)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Malu Alb" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Malu Alb, GALAȚI (Drăgănești)".


Support event analysis on server

Fix # .
Changes proposed in this pull request:

Support event analysis on server

Codecov Report

Merging #159 (9be3881) into main (4f1885a) will decrease coverage by 0.13%.
The diff coverage is 60.63%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@             Coverage Diff              @@
##               main     #159      +/-   ##
============================================
- Coverage     65.63%   65.51%   -0.13%
  Complexity      533      533
============================================
  Files           162      162
  Lines          4583     4651      +68
  Branches        592      592
============================================
+ Hits           3008     3047      +39
- Misses         1434     1463      +29
  Partials        141      141

Flag
Coverage Δ

*Carryforward flag

api_ut
54.61% <ø> (ø)

Carriedforward from 4f1885a

server
69.17% <60.63%> (-1.74%)
:arrow_down:

ui
94.51% <ø> (ø)

Carriedforward from 4f1885a

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files
Coverage Δ

server/src/base.rs
42.68% <33.33%> (-0.98%)
:arrow_down:

server/src/http/mod.rs
54.16% <33.33%> (-1.39%)
:arrow_down:

server/src/http/handler.rs
65.46% <61.66%> (-3.77%)
:arrow_down:

server/src/repo.rs
89.86% <77.77%> (-1.68%)
:arrow_down:

server/src/main.rs
68.33% <100.00%> (+0.53%)
:arrow_up:


ProteinDataset construction works the first time, throws list index out of range error in the second run.

ProteinDataset construction works at the first try, but it throws an error if I try to reconstruct it. I noticed this in Colab, but it would create a bug in a deep learning pipeline where multiple training runs can be initiated in the same machine.

Thanks for reporting the bugs @ardagoreci! They should be fixed in version 2.4.1.


[RELAY] Allow non-CSourceModules to compile

A recent patch added a check so that external modules must be a CSourceModule. Generally that's not the case, so this patch instead queries whether or not the external module implements "get_const_vars".

cc @zhiics @lhutton1

You can use my code here:
https://github.com/apache/incubator-tvm/compare/master...zhiics:json_runtime#diff-019ffa1b2b353a928839c9c809cb3992R61-R71

Seeing as that part doesn't look like it has dependencies on the JSON runtime stuff, could you publish it as a standalone PR and I'll abandon this one?

Superseded by https://github.com/apache/incubator-tvm/pull/5885


Python 3.7 and help search

Supporting Python versions 3.7+, as opposed to 3.10 only.
Previously using 3.10 to test the language features, but not really using it and no need to make this project 3.10+ only.
Updated mkdocs help to enable search.

Resolves #34 and #42.

Resolves #42


update coordinates resolution for scoped packages

for example<EMAIL_ADDRESS>

Sorry for missing this!


Settings iOS 14.3

Thank you very much for the tweak.
Can you please allow these two features:

More settings in the settings app like Carbridge tweak
Automatically hide the left pane to show apps in full screen, so the pane on the left will hide itself automatically after some time.
Show apps in 4x2 instead of the modified 5x2 grid. I like the original number of apps available originally by Apple CarPlay.

sorry it was three features ^_^

sorry it was three features ^_^


Implemented support for *BSD platforms.

This PR adds support *BSD platforms. Tested on Free, OpenBSD and NetBSD.

Merged 😎


Update README.MD

Currently we have a pretty blank README which was used as a sample for the preview site.
Ideally we need to rewrite the README to guide folk on how best to contribute to the website.
Main headers I've got in mind at the moment are:

How to use the repository
How to develop locally from a content creator perspective
How to develop locally from an 'updating the layout/hugo templating' perspective
Links to things like the code of conduct

The kubernetes website repo makes for a pretty solid reference:   kubernetes website

Moving issue over to ortelius/ortelius repo where all the issues are located.


json files are showing up with kind application/json but probably should just be json

that IS the official mime-type, but I just made it cut any application/  prefix because it IS particularly uninformative!