Preview: Unsplit nucleotides could be adjasted (centered) better than it is now

Steps to Reproduce

Go to Macromolecules mode - Flex mode
Put on the canvas few unsplit nucleotides from the library (nucleotides section in RNA tab)

Actual behavior

Nucleotide labels are not centered well and shifted to the left and up
Expected behavior
Labels should be centered better

Versions

Ketcher Version 2.22.0-rc.2 Build at 2024-06-28; 05:30:15
Indigo Toolkit Version 1.22.0-dev.2.1-gd5637f75-wasm32-wasm-clang-12.0.0
Windows 10 Pro
Chrome Version 126.0.6478.127 (Official Build) (64-bit)

Issue found while testing - https://github.com/epam/ketcher/issues/4382

Verified

Versions:
Ketcher Version 2.23.0-rc.1 Build at 2024-07-02; 09:03:38
Indigo Version 1.21.0-rc.1.0-g9194599b2-x86_64-linux-gnu-11.2.1
MacOs Sonoma version 14.5
Chrome Version 126.0.6478.127 (Официальная сборка), (arm64)


group-wise one-to-many branch

Hello, I have read your paper and have a question that I would like to consult about. How is the group-wise one-to-many branch in the following figure implemented? Could you share the related code? Thank you!

Thank you for your interest. We are currently in the process of organizing the code, which comprises the implementation of the group-wise one-to-many branch. Please stay tuned for updates.

Is it possible to open-source the code for the "group-wise one-to-many branch" part first?


Resume Structure

Margins : Create your resume on 8.5 x 11 inch paper with 0.5 - 1 inch margins on all sides
Limit the length of your resume to one page, single-sided

http://www.go4less.ie/Working-Visas/USA-12-Month-Holiday-Work-Visa/usa-visas-resume.asp


[10.x] Add assertNotAcceptable method to AssertsStatusCodes

The new assertNotAcceptable method added to the AssertsStatusCodes class.
$response = $this->get('/api/my-endpoint');
$response->assertNotAcceptable();

I think is enough, already AssertsStatusCodes class have a lot of methods.

Thank you for your comment and feedback on the PR. I understand your concern about the number of methods in the AssertsStatusCodes class. However, I would like to emphasize that the new method, assertNotAcceptable, is expected to be a commonly used assertion in our test cases.


[Revise subclass]

Mondo terms (ID and Label)
http://purl.obolibrary.org/obo/MONDO_0015373
"label" : "Saldino-Mainzer syndrome",
http://purl.obolibrary.org/obo/MONDO_0009964
"label" : "short-rib thoracic dysplasia 9 with or without polydactyly",
Suggested revision and reasons
These records have exact synonyms that apper to  differ only by punctuation
"renal dysplasia, retinal pigmentary dystrophy, cerebellar ataxia and skeletal dysplasia"
renal dysplasia-retinal pigmentary dystrophy-cerebellar ataxia-skeletal dysplasia syndrome
Are these the same things, or should "Saldino-Mainzer syndrome" have 2 subclasses, as the Orphanet record suggests via its links to OMIM
"label" : "short-rib thoracic dysplasia 9 with or without polydactyly",
"iri" : "http://purl.obolibrary.org/obo/MONDO_0014284",
"label" : "short-rib thoracic dysplasia 10 with or without polydactyly",
Note:  OMIM treats Saldino-Mainzer syndrome as an alternate for SHORT-RIB THORACIC DYSPLASIA 9 WITH OR WITHOUT POLYDACTYLY

Yes, this one is confusing. OMIM seems to treat them as the same. @ahamosh do you think these should be separate classes in Mondo?

@maglott there is an annotation on 'Saldino-Mainzer syndrome' that this term is a superclass of OMIM:615630 SHORT-RIB THORACIC DYSPLASIA 10 WITH OR WITHOUT POLYDACTYLY; SRTD10, so maybe that should be added as a subclass.
Potential action item:

[ ] add 'short-rib thoracic dysplasia 10 with or without polydactyly' as a subclass of 'Saldino-Mainzer syndrome'

@nicolevasilevsky , I really don't know the answer for this.  When disease experts have reviewed current classifications, we can make MONDO reflect that.

emailed Ada on 06/08/20


[ feature ] Support Power Lora Loader (rgthree) node

This is one of these nodes you could consider supporting the future.
But it will probably be hard to do.
This node has a toggle button, a COMBO box, and value widget, all in the same line !
And it has a button to add more lines !

(added at PR to rgthree - https://github.com/rgthree/rgthree-comfy/pull/379 - to avoid the need for special-casing)

Seems as if the Power Lora Loader node doesn't work with the @latest front end?

Seems as if the Power Lora Loader node doesn't work with the @latest front end? So I'm pausing support for it until that gets clarified!

Yes, there is a problem with the button that adds LoRAs to the node, rgthree raised an issue in Litegraph repo because of that.
The problem is caused by the Canvas Pointer API PR btw

@chrisgoringe They fixed the issue in 1.4.11 frontend

@tampadesignr Open separate feature requests for the nodes you want Controller to support

@tampadesignr Open separate feature requests for the nodes you want Controller to support

ohh.. i was just testing figured more info about same issue more code to look at and find a unified solution
my wish .. all nodes worked together perfectly..lol i want no issues .. i just want to create art
anyway my best to coders that are coders at heart

@tampadesignr Open separate feature requests for the nodes you want Controller to support

ohh.. i was just testing figured more info about same issue more code to look at and find a unified solution my wish .. all nodes worked together perfectly..lol i want no issues .. i just want to create art anyway my best to coders that are coders at heart

@tampadesignr Sorry, I didn't mean to be rude, it's just the way to request support for specific custom nodes. If you need a node to be supported by Controller, feel free to open a feature request about it!

When support was added for the Trung0246 switch, other nodes from the same node pack also started working.
Lets see if support for the Power Lora Loader, also brings other rgthree nodes like Fast Groups Muter and Fast Groups Bypasser.
We can already mute/bypass groups in the Controller, but these rgthree nodes have extra features.
For instance we can select 2 or more groups, and bypass/mute only one at a time, with a single click ( with the toggleRestriction property ).

as a fine artist i assimilate as much general info as possible to try and comprehend a fraction of what going on...
my latest thing is finding complex workflows and stretching them out till i can see the connections
i look forward to every advancement you all make. good luck with this

So the way it works is that support gets added for a particular custom
widget, in order to support a particular node.
Often other nodes in the same pack use the same widget, so they also start
working.
So once the LoRA loader works (soon…) check to see if the ones you want
also work! If not, raise a new issue to request them.
On Sun, 1 Dec 2024 at 8:44 am, mystifying @.***> wrote:

as a fine artist i assimilate as much general info as possible to try and
comprehend a fraction of what going on...
my latest thing is finding complex workflows and stretching them out till
i can see the connections
i look forward to every advancement you all make. good luck with this
—
Reply to this email directly, view it on GitHub
https://github.com/chrisgoringe/cg-controller/issues/106#issuecomment-2509394159,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBLMA5HS63VOS45CCM5B4T2DIWUXAVCNFSM6AAAAABP3HXQ7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBZGM4TIMJVHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

oh this node aka future of comfy
is on my watchlist

This is now done (as far as I intend to do it). Please raise issues as new bugs.


fix(curriculum): update description for working with media

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #56863

Hey @mithelan
Thank you for opening this pull request.
Related issue is limited to the "first time" code contributors to this repository. Because of that I'm going to close this PR. We would welcome future pull requests from you.
Thank you and happy coding.

****🫣


[rubysrc2cpg] - reverting changes related to blocking parsing file issue.

Reverting the changes, @DavidBakerEffendi recently made to handle the situation where the parser was getting into a loop for the specific use cases of the file. For now we were able to proceed by removing this file.

It has introduced inconsistent behaviour in the scan results.
It has also increased the source code parsing time.
When I tried with the latest master by reverting these changes and with this change. I observed CPG of bigger size, along with more files being processed, and more sources and sinks being tagged.

3. When I tried with the latest master by reverting these changes and with this change. I observed CPG of bigger size, along with more files being processed, and more sources and sinks being tagged.

This observation intrigues me. Could it just be a matter of setting a large enough timeout?

This observation intrigues me. Could it just be a matter of setting a large enough timeout?

I tried increasing the timeout to 50000 ms. Observation remains the same, it adds more time to scan the sources.

Also, likely that the issue comes from the loop of:

Parse
If Error occurs, blank the line, go to previous step
Finish

The reparsing on every line that an error occurs on can happen many times for an erroneous file, so I can understand where the slowdown comes from.

Also, likely that the issue comes from the loop of:

Parse
If Error occurs, blank the line, go to previous step
Finish

The reparsing on every line that an error occurs on can happen many times for an erroneous file, so I can understand where the slowdown comes from.

@DavidBakerEffendi Yea that's right.

The proper fix is two-phase parsing, as @fabsx00 suggested.

The proper fix is two-phase parsing, as @fabsx00 suggested.

Unfortunately, I cannot imagine that this is going to be easy to implement in Ruby, since unlike C, methods can happen anywhere. This solution also involves modifying the grammar.

@xavierpinho most important issue with this is inconsistent results in subsequent scans. You are not sure of the results.

@pandurangpatil you will need to revert the line separator fixes from this commit on the simple ast pass tests: https://github.com/joernio/joern/commit/533b32b081947cee99a9e642b061c9016b0ed1f3#diff-45b026c78f0405d131600a5e173a4dc262cdaae9ad115dfae83deb1ac6f1a938

@pandurangpatil you will need to revert the line separator fixes from this commit on the simple ast pass tests: 533b32b#diff-45b026c78f0405d131600a5e173a4dc262cdaae9ad115dfae83deb1ac6f1a938

The error was pointing at an attempted fix unit test from UnknowConstructPass. I ignored that test for now.


Construct a simple training pipeline  for PoC

Summary

Set up the pipeline for task priority classification, define the input and output of each step, arrange all the steps and make them work together
Create a flow diagram to show that we have analyzed and defined the input/output of each step

More info

We would like to automate the workflow of training/learning so that we can retrain the model based on new input faster, constructing a pipeline will help us achieve this

Deadline

20/11/2023

Estimated Work Hours

3 hr


: implement user signup client-side

Pull Request Test Coverage Report for Build 78

1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 83.918%

Totals

Change from base Build 75:
-0.03%

Covered Lines:
301

Relevant Lines:
341

💛  - Coveralls


Buderus TC100.2 - "temperature sensor"

Hello;
I can get information from Humidity and other sensors on the device, but the temperature sensor is not visible. Can you help me?

Added in 0.16.4


No Sound

I am using  Windows 7 starter edition with SP1 and the latest version of Chrome and am not getting any sound from the application.  I am not sure what the issue is.  I can be contacted at<EMAIL_ADDRESS> Thank you for your time in this matter

I am also getting no sound from this app. I am running Google Chrome on a Windows XP PC. When I originally installed the app, it was fine, but now for some reason, the sound has stopped working - everything else works fine - just no sound. Sound works fine on other apps and online. Any ideas?


hi everyone

i dont understand how the program works and how to use it. Can someone explain it or help me?
Thanks, Tomi

Hi, my program will claim every gift sent in discord servers you're on as well as join giveaways. So you need to get your token first (there is a link in the readme) and then install python3, pip, and the dependencies (pip install... commands in command prompt).  If this seems easy for you, you will also be able to use my other version NitroSniperGo which is faster and as easy to install as this one.

Hi, my program will claim every gift sent in discord servers you're on as well as join giveaways. So you need to get your token first (there is a link in the readme) and then install python3, pip, and the dependencies (pip install... commands in command prompt).  If this seems easy for you, you will also be able to use my other version NitroSniperGo which is faster and as easy to install as this one.

ok, i installed python3, but i dont know how to install pip and dependencies, so when i run sniper.py, it just opens and closes, why?

Give me your discord and I'll help you

can u give me urs cuz i have some sort of stars in my name

one sec

You can copy it by clicking on your name on discord and paste it here

ye ik

my discord wont load -_-

✯ 𝑻𝒐𝒎𝒊 ✯
#4827

here


Add GDAL read support for more types

This PR adds GDAL read support for CircularString, CompoundCurve, CurvePolygon, Triangle, MultiCurve, PolyhedralSurface, TIN, MultiSurface. The implementation is mapped from the Wkb reader. Tests are added using Wkb since the Wkt crate doesn't support those types.
I initially wanted to also add write support, but didn't manage to do so with the current writer implementation.. Considering that the GDAL writer currently doesn't handle 3D geometries and GeometryCollection (according to the commented out tests), a bigger refactor might be the opportunity to adress those issues and add support for these new types as well?
This PR also includes a refactor of fn type2d to use gdal_sys::OGR_GT_Flatten(wkb_type) to get the 2D geometry type. Is it safe to do so ?

Thanks!


react-player 内有黑框，如何给他加样式呢？去除内部video标签

Translated to:

There is a black box in react-player, how can I style it? Remove internal video tag

The width and height props you pass in must match the aspect ratio of the video you are playing, otherwise it will not fit correctly.
Translated back using Google Translate:

您传入的宽度和高度必须与视频的长宽比匹配，否则将无法正确显示。


Relative paths, symlinks and $HOME folder

I have been trying to use a robust setup cause i am working on 4 differences devices. The issue here is that when enabling the projects_fpath in order to auto discover the sublime projects that have already been created, i can not reference in any way the $HOME directory where my .sublime-projects lie.
I have tried to use relative paths to climb up the ladder to $HOME but to no avail.
My last attempt was to use symlinks of my .sublime-projects inside the /Users/Projects/ which did not work either.

Is there any way to allow symlinks or to reference our $HOME without being specific so that can be used in other devices as well?
P.S. I came along the following code which returns the $HOME folder. Could this be somehow integrated to Project Manager so that we can use it? Is it possible to make a fix so the plugin follows symlinks?
from os.path import expanduser
home = expanduser("~")

Did you try the use_local_projects_dir option in the settings? It should somehow resolve part of your concerns.

Now ~ is expanded. e64cfedd804f18a35c15af73a17b83ccf0241944

Superb @randy3k! It works flawlessly! :+1:

Project Manager is now also following symlinks. 4520381

Can it be closed now?

Go ahead @randy3k. Thanks for the symlinks!

No problem.


How to change the AS number?

We use calico router reflector and configure each node with node-specific peers to the calico router reflector.
For some reason, we have to change the AS number, so here's our steps:

Run calicoctl config set asNumber 65523 to change the AS number.
Update all the node-specific peers with the new AS number.

But after we finished the first step, some errors occurred in bird logs and the peer broke. See "## Current Behavior" below.
We want to know how to change the AS number safely.
Expected Behavior
Can change the AS number.
Current Behavior

Occurr error in bird log:  Bad peer AS: 65523
calicoctl node status can show the BGP peer has broken with info:  Connection reset by peer.

Your Environment

calico v2.6.7
k8s

Anybody home ~~? 😟

Mandatory "Calico v2.6 is incredibly old, and I strongly recommend updating to a modern version of Calico" comment.
That said, I think you're doing the right thing - setting the global AS number should change the AS for all Calico nodes and the RR. I'd check the generated BIRD configs to see if it is taking effect.

@caseydavenport
The BIRD configs was generated correctly, but the ip routes were deleted for few seconds until the new AS was actually taking effect, which caused the network paralysis.

We are considering upgrade calico to v3, but there are some troubles with the data migration.

@caseydavenport
By the way, Will (or When will) you give up maintaining the v2.6.x version of calico in the future?

ip routes were deleted for few seconds until the new AS was actually taking effect, which caused the network paralysi

Ah, so the AS did change correctly just that there was a transient BGP issue? Did the sessions eventually go back to "Established"?

@caseydavenport
They eventually go back to "Established".

I think this is working as expected - changing AS number on a live cluster will result in momentary re-establishment of BGP sessions, and likely a window of dropped traffic.
Generally it is expected that the BGP AS numbers will be configured prior to running workloads on the cluster.


Increase upper bound on numpy version

Question
Hi, thanks again for an excellent package.
Is it possible to upgrade the upper bound of the numpy version to e.g. 1.26.0?
https://github.com/vanderschaarlab/synthcity/blob/ab47bcf38cf7edec946fc630185850dc6eceb5fa/setup.cfg#L39
At the moment this is blocking the package from being installed together with many others with pip.

This can be closed. Fixed in PR above.


Error 500 when sharing with last release 1.2.4

3. What are you trying to do?
Share file or folder with the share button when item is selected
4. What did you expect to see?
The share prompt
5. What did you see instead (give full error messages and/or log)?
What I see : Something went wrong error 500
Console log : 2017/08/20 20:28:16 the resource does not exist
6. How can someone who is starting from scratch reproduce this behaviour as minimally as possible?
Just select item and click on the share button

Hey! Sorry for this. I'll fix it tomorrow hopefully.

It will be out with 1.2.5


explorative configuration file is missing

Describe the bug
explorative configuration file missing
To Reproduce
in the readme, the link to the following file is broken: https://github.com/pandas-profiling/pandas-profiling/blob/master/src/pandas_profiling/config_explorative.yaml

Fixed, thanks!


Firefox?

Will there be firefox version?

Found it in the README Sorry for sending this Issue.

All good! It might work if you try side loading in Firefox since they theoretically support manifest v3, but I haven't attempted yet.
I would definitely support any PRs to fix this

I gave it a try looks like some effort will be needed, FF doesn't support the same set of features that Chrome does in manifest v3 sadly
https://github.com/excaliburjs/excalibur-extension/issues/7

@mobilex1122 I got nerd sniped and figured out how to update the extension! I've submitted a build to the Mozilla Addon Catalog, hopefully we hear back soon. In the mean time I've updated the readme if you'd like to side load the firefox extension

Great! Thank you very much.


populate-blast should also handle adding libraries for annotation fastas (protein, CDS, mRNA)

currently, it seems to only handle genomes.

turns out it does handle proteins (my mistake), but we probably don't want both protein and protein_primary and we probably do want at least one of CDS or mRNA.


Overhaul to be more OO

I've rewritten a bunch of Webrun so that it's more OO and more plugin-friendly. Closes #7

Create a class that encapsulates setting up the environment and loading modules
New plugin system

Plugins are functions that take a webrun argument. They can do whatever they want to it from there
Plugins are capable of using addProtocol("protocol:", async (url) => String to add a protocol handler
Plugins can use addGlobals((currentglobals) => newglobals) in order to plug into the setup process where globals are being set up.

Default class that extends Webrun and provides a set of plugins

Browser globals
Node integration (require, self.onmesage, self.postMessage, self.close)
Dat (dat: protocol, DatArchive API)
FIle (file: protocol)
HTTPS (https: protocol)

Reworked how stuff is loaded so that the process will exit by default unless you use something dat-related. This means that tests don't need to rely on self.close() for stuff to be cleaned up. In the future we can probably get by with using archive.close() on archives to clean up resources, and stopping the swarm when everything is done.
Reverted some of the child_process functionality because it was messing up the REPL and removing autocomplete and other such features.
Added the cli arguments functionality. Now if I run webrun something.js --foo bar it'll append ?foo=bar to import.meta.url.  Closes #1
self.postMessage now stringifies content that isn't a string
Tests are broken at the moment, but manual testing has been promising

That's pretty much how it is! If you don't use Dat, then Dat won't take up the event loop and it'll exit normally.
The reason that loading a DatArchive or something from a Dat URL keeps the event loop alive is that it opens up a socket for replicating the content.
I'm 100% sure what the best approch is for this yet, so far I'm thinking that it'd make sense to count the number of places actively using a dat archive, and once it's no longer needed (using the .close() API), it'll stop replicating that archive. Once all archives are closed, I could stop the discovery swarm portion and have it woken up again after another DatArchive is loaded.
I don't think this needs to be addressed for this PR, however, so I think I'll leave it as a TODO for now.

Changed how addGlobal behaves so that all globals that plugins add are lazy-loaded. 😀


fix(version): update version to 2

Describe the PR
update the version
I found out that running swag --version returns 1.8 which is weird

That is caused by the fact, that the V2 implementation has not yet been merged to the master branch.
It still resides on the "v2" branch, as it needs a lot of testing and i'm also currently on the "last" missing feature to get feature parity between master and v2 branch

Sorry, my mistake


Xcode 9 beta 5 build failed error

Xcode 9 beta 5, swift 3.2 with carthage version 0.23.0, currently using "SwiftBond/Bond" "6.2.6" build failed on carthage update and tried "ReactiveKit/Bond" "v5.4.6" but got same error. Am i missing anything?

got it, confused with swift 4 complier. using "develop" solved it

but "SwiftBond/Bond" "6.2.6"  should compile in xcode 9 right. will there be any fix for this error? Build Failed Task failed with exit code 65:, This usually indicates that project itself failed to compile.

Unfortunately Xcode 9 cannot compile Bond 6.2.6 due to breaking changes in Swift (in compatibility mode too). Only way to use Bond with Xcode 9 at the moment is to switch to swift-4 branch.
Of course, as soon as Xcode 9 is out of beta, there will be Bond release supporting it.


AWS Lambda only allows "tmp" folder write access

In the implementation of this sink is a little bit of System.IO.File and System.IO.Directory usage, which makes it difficult to use in environments with a read-only file system. A typical SelfLog exception looks like this:
2022-04-12T21:08:14.5671772Z Exception while emitting periodic batch from Serilog.Sinks.PeriodicBatching.PeriodicBatchingSink: System.IO.IOException: Read-only file system
--
at System.IO.FileSystem.CreateDirectory(String fullPath)
at System.IO.Directory.CreateDirectory(String path)
at Serilog.Sinks.AmazonS3.AmazonS3Sink.OpenFile()
at Serilog.Sinks.AmazonS3.AmazonS3Sink.EmitBatchAsync(IEnumerable`1 batch)
at Serilog.Sinks.PeriodicBatching.PeriodicBatchingSink.OnTick()

The exception is similar if it follows the path where it doesn't first try to create a new directory.
AWS Lambda is one such environment. Luckily, it exposes the tmp folder for writing, so prepending /tmp/ to the path parameter of the AmazonS3 extension method allowed this sink to work.
It may be useful to document this use case somewhere!

@all-contributors please add @seruminar for doc

Thank you for the contribution. I have added a special notice to the readme :)


Refactored get_use_segments to contain less stages.

Additionally removed recursion.

This change is

crates/cairo-lang-semantic/src/items/us.rs line 84 at r1 (raw file):

            SyntaxKind::UsePathMulti => {
                Some(ast::UsePath::Multi(ast::UsePathMulti::from_syntax_node(db, node)))
            }

why was this changed?
Code quote:
            SyntaxKind::UsePathMulti => {
                Some(ast::UsePath::Multi(ast::UsePathMulti::from_syntax_node(db, node)))
            }

crates/cairo-lang-semantic/src/items/us.rs line 84 at r1 (raw file):
Previously, orizi wrote…
because it was unnecessary.
multi just holds a list - i changed the function to only return the interesting segments (which are single)

Can we have a use item whose parent is a multi  UsePathMulti?

crates/cairo-lang-semantic/src/items/us.rs line 56 at r1 (raw file):

        ast::UsePath::Leaf(use_ast) => vec![use_ast.ident(db)],
        ast::UsePath::Single(use_ast) => vec![use_ast.ident(db)],
        ast::UsePath::Multi(_) => vec![],

why empty?
Code quote:
 ast::UsePath::Multi(_) => vec![],

crates/cairo-lang-semantic/src/items/us.rs line 48 at r1 (raw file):

    Ok(UseData { diagnostics: diagnostics.build(), resolved_item, resolver_data })
}

Suggestion:
/// Returns the `UsePathSingle` segments that appear in the use path.

crates/cairo-lang-semantic/src/items/us.rs line 84 at r1 (raw file):
Previously, orizi wrote…
we can - but:

ItemUse

UsePathMulti

UsePathList

UsePathMulti

UsePathList

UsePathLeaf

use {{leaf}};

don't you want to return leaf in this case?

crates/cairo-lang-semantic/src/items/us.rs line 48 at r1 (raw file):
Previously, orizi wrote…
these are all the path segments of the use items we got.
it isn't just single (currently, it just means leaf as well).

If you have
{a, b}
doesn't it include the segments 'a' and 'b'?

crates/cairo-lang-semantic/src/items/us.rs line 48 at r1 (raw file):
Previously, orizi wrote…
no - this gets a or b as an input - and will return [a] for a and [b] for b.

why can't it get {a, b} as input?
.
shouldn't the first match be:
ast::UsePath::Multi(_) => unreachable,
if this is the case?

crates/cairo-lang-semantic/src/items/us.rs line 48 at r1 (raw file):
Previously, orizi wrote…
but it is reachable.
calling this function with the node of {a, b} of d::c::{a, b} is valid.
i don't know who will do that exactly - but it is.
might be useful for some formatter or LS stuff.

Ok, why are 'a' anb 'b' not segments of the path d::c::{a, b}?

crates/cairo-lang-semantic/src/items/us.rs line 48 at r1 (raw file):
Previously, orizi wrote…
because this function starts from some node in the use tree - and goes up.

d::c::a' includes 'a' why doesn't d::c::{a, b}`
include 'a' and 'b'?


Fix waring found by clang

Summary
Impact
Minor
Testing
Pass CI

@pkarashchenko please ignore "error: Mixed case identifier found".


chore(): ungulpify

adds types, prettier, lint-staged, CI, usual suspects

typechecking is disabled; fixes for types should be in another PR (likewise formatting)

didn't run E2E tests

closing in lieu of a different one due to tooling malfunction


Possible to catch Exceptions?

Is there a way to use go-aop-php to catch Exceptions? Thanks in advance

Hello!
Yes, sure, it's possible to use an around type of advice to catch an exceptions in the methods. Just define an aspect with following advice (an example):

class ExceptionHandlerAspect implements Aspect
{

    /**
     * This advice intercepts an exceptions in methods
     *
     * @param MethodInvocation $invocation
     *
     * @Around("execution(public **->*(*))")
     *
     * @return mixed
     */
    public function aroundMethodException(MethodInvocation $invocation)
    {
    try {
        $value = $invocation->proceed(); // trying to invoke original method
    } catch (\Exception $e) {
        echo $e; // Here is an exception
        throw $e; // Rethrow if needed
    }
    return $value; // Just return an original value
}

Thank's a lot! It's damn awesome :)

You are welcome )


Introduction of a Modal View Controller breaks Left View Controller

Hi @arturdev
Really love this library a ton! Arguably the best Slide Menu i've used to date.
I found something strange happening when i introduce a modal VC into my app from the Left View controller.
The Left View controller is "stuck" at the top of the view after i've implemented a modal vc and it's corresponding Segue.
I also added an additional View to the top of my LVC so perhaps this has something to do with it too? I don't need a table view controller in this screen so therefore i've replaced it with a plain view.
Everything works after creating just the modal VC alone, however, when i add this line of code:
-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
    if ([segue.identifier isEqualToString:@"leftSegue"])
    {
    registerOrLoginModalVC *nextVC = [segue destinationViewController];
    [nextVC setModalDelegate:self];
    }
}

it causes this to happen when building the app:

What i did as a work around was adding this line of code:
-(void)viewDidAppear:(BOOL)animated
{
    [self closeLeftMenuAnimated:YES];
}

In my main VC. This loads up the VCs okay, however when i slide the left menu open, it blinks immediately to the picture i've shown above.
Now, if I use the closeLeftMenuAnimated method in my implementation and load up the App, it loads to my contentVC, however the LVC is visible for a split second before the content VC fully loads.

Now if i navigate from this content VC to the right VC, and select one of my options to change my current location:

The Left View Controller now slides properly,

And the modal from the left VC also works properly! Any ideas?

Sorry for such a late answer.
The thing is that you shouldn't present your modal vc on the left or right menu, you must present it on the window's rootViewController, or on your mainVC instance.


fix: Updated timeout error message

Description
The error message is a bit vague in that it sounds like the timeout has not happened yet even though it most likely has happened. So we decided to update the message to be a bit more definite given this error is showing up in the console UI.

@medikoo this is such a small change I am going to go ahead and merge this in 👍


Missing Stations

I would like to add Observations From the following stations from the old component:
#   station: IDT60803.89611
#   name: Casey

#   station: IDT60803.89571
#   name: Davis

#   station: IDT60803.94998
#   name: Macca

#   station: IDT60803.89564
#   name: Mawson

However when I submit the lat & lon for these locations I get an error "Cannot Connect".
Casey: -66.2821, 110.5285
Davis: - 68.5762, 77.9696
Macquarie Island: -54.6208, 158.8556
Mawson: -67.6033, 62.8742

I had no trouble adding my home location.

Hobart, the capital of Tasmania is now missing too.


How to get latitude and longitude!!!!

I want to know the value of all the intersection points of the gendered lines through a GridMaterialProperty, the image shows what points
This is the code:
var viewer = new Cesium.Viewer('cesiumContainer');
var entity = viewer.entities.add({
position: Cesium.Cartesian3.fromDegrees(-103.0, 40.0),
ellipse : {
semiMinorAxis : 250000.0,
semiMajorAxis : 400000.0,
material : Cesium.Color.BLUE.withAlpha(0.5)
}
});
entity.ellipse.material = new Cesium.GridMaterialProperty({
color : Cesium.Color.YELLOW,
cellAlpha : 0.2,
lineCount : new Cesium.Cartesian2(8, 1),
lineThickness : new Cesium.Cartesian2(2.0, 0.0)
});
viewer.zoomTo(viewer.entities);
var ellipse = entity.ellipse;

I posted an answer for this on your forum thread here: https://groups.google.com/d/msg/cesium-dev/SbXp8dk1c4Y/bMXyFv7tBwAJ

Congratulations on closing the issue! I found these Cesium forum links in the comments above:
https://groups.google.com/d/msg/cesium-dev/SbXp8dk1c4Y/bMXyFv7tBwAJ
If this issue affects any of these threads, please post a comment like the following:

The issue at https://github.com/AnalyticalGraphicsInc/cesium/issues/8047 has just been closed and may resolve your issue. Look for the change in the next stable release of Cesium or get it now in the master branch on GitHub https://github.com/AnalyticalGraphicsInc/cesium.


fix redis ci yaml

Codecov Report
Base: 76.58% // Head: 76.55% // Decreases project coverage by -0.02% :warning:

Coverage data is based on head (6c72e07) compared to base (60d8283).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2269      +/-   ##
==========================================
- Coverage   76.58%   76.55%   -0.03%
==========================================
  Files         582      579       -3
  Lines       48423    48084     -339
==========================================
- Hits        37083    36810     -273
+ Misses       9316     9261      -55
+ Partials     2024     2013      -11

Flag
Coverage Δ

go-1.15-386
?

go-1.15-amd64
76.55% <ø> (-0.03%)
:arrow_down:

go-1.16-386
?

go-1.16-amd64
?

go-1.17-386
?

go-1.17-amd64
?

go-1.18-386
?

go-1.18-amd64
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

os/gcron/gcron_schedule_fix.go
87.50% <0.00%> (-12.50%)
:arrow_down:

os/gspath/gspath_cache.go
84.21% <0.00%> (-10.53%)
:arrow_down:

os/gfsnotify/gfsnotify_watcher_loop.go
75.63% <0.00%> (-10.09%)
:arrow_down:

os/gcache/gcache_adapter_memory_lru.go
89.13% <0.00%> (-8.70%)
:arrow_down:

net/gtcp/gtcp_pool.go
68.88% <0.00%> (-6.67%)
:arrow_down:

os/gfsnotify/gfsnotify_filefunc.go
70.12% <0.00%> (-3.90%)
:arrow_down:

os/glog/glog_logger_rotate.go
61.99% <0.00%> (-1.36%)
:arrow_down:

container/gtree/gtree_avltree.go
95.40% <0.00%> (-0.58%)
:arrow_down:

contrib/config/kubecm/kubecm.go

contrib/drivers/oracle/oracle.go

... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Example infinite_send_to_child.py is unstable

Got this in CI run on master: https://travis-ci.org/jgehrcke/gipc/jobs/432268803
+timeout --preserve-status --signal=INT --kill-after=7 5 python infinite_send_to_child.py
Child process got message from pipe:
	'written to pipe from a greenlet running in the main process'
Child process got message from pipe:
	'written to pipe from a greenlet running in the main process'
Child process got message from pipe:
	'written to pipe from a greenlet running in the main process'
Child process got message from pipe:
	'written to pipe from a greenlet running in the main process'
Child process got message from pipe:
	'written to pipe from a greenlet running in the main process'
Traceback (most recent call last):
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gevent/libev/corecffi.py", line 404, in _check_callback
    pass
KeyboardInterrupt
Sun Sep 23 22:59:34 2018
Traceback (most recent call last):
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gevent/libev/corecffi.py", line 404, in _check_callback
    pass
KeyboardInterrupt
Sun Sep 23 22:59:34 2018
Traceback (most recent call last):
  File "infinite_send_to_child.py", line 33, in <module>
    main()
  File "infinite_send_to_child.py", line 18, in main
    p.join()
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gipc/gipc.py", line 530, in join
    self._returnevent.wait(timeout)
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gevent/event.py", line 219, in wait
    return self._wait(timeout)
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gevent/event.py", line 129, in _wait
    gotit = self._wait_core(timeout)
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gevent/event.py", line 106, in _wait_core
    result = self.hub.switch()
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gevent/hub.py", line 630, in switch
    return RawGreenlet.switch(self)
  File "/opt/python/pypy2.7-5.8.0/lib_pypy/greenlet.py", line 53, in switch
    return self.__switch('switch', (args, kwds))
  File "/opt/python/pypy2.7-5.8.0/lib_pypy/greenlet.py", line 92, in __switch
    args, kwds = unbound_method(current, *baseargs, to=target)
KeyboardInterrupt

I hope https://github.com/jgehrcke/gipc/pull/50 was sufficient. But I keep this open for another while.

Sat Sep 29 13:28:16 2018
Traceback (most recent call last):
  File "infinite_send_to_child.py", line 42, in <module>
    main()
  File "infinite_send_to_child.py", line 19, in main
    p.join()
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gipc/gipc.py", line 530, in join
    self._returnevent.wait(timeout)
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gevent/event.py", line 219, in wait
    return self._wait(timeout)
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gevent/event.py", line 129, in _wait
    gotit = self._wait_core(timeout)
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gevent/event.py", line 106, in _wait_core
    result = self.hub.switch()
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gevent/hub.py", line 630, in switch
    return RawGreenlet.switch(self)
  File "/opt/python/pypy2.7-5.8.0/lib_pypy/greenlet.py", line 53, in switch
    return self.__switch('switch', (args, kwds))
  File "/opt/python/pypy2.7-5.8.0/lib_pypy/greenlet.py", line 92, in __switch
    args, kwds = unbound_method(current, *baseargs, to=target)
KeyboardInterrupt
+result=1

and
Traceback (most recent call last):
  File "infinite_send_to_child.py", line 42, in <module>
    main()
  File "infinite_send_to_child.py", line 19, in main
    p.join()
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/gipc/gipc.py", line 530, in join
    self._returnevent.wait(timeout)
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/gevent/event.py", line 219, in wait
    return self._wait(timeout)
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/gevent/event.py", line 129, in _wait
    gotit = self._wait_core(timeout)
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/gevent/event.py", line 106, in _wait_core
    result = self.hub.switch()
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/gevent/hub.py", line 630, in switch
    return RawGreenlet.switch(self)
KeyboardInterrupt

(seen in #31 -- but I think I have to rebase that one on master first)

Does that mean that KeyboardInterrupt during join() is not always properly caught despite the except KeyboardInterrupt?
Traceback (most recent call last):
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gevent/libev/corecffi.py", line 404, in _check_callback
    pass
KeyboardInterrupt
Sat Sep 29 13:28:16 2018
Traceback (most recent call last):
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gevent/libev/corecffi.py", line 404, in _check_callback
    pass
KeyboardInterrupt
Sat Sep 29 13:28:16 2018
Traceback (most recent call last):
  File "infinite_send_to_child.py", line 42, in <module>
    main()
  File "infinite_send_to_child.py", line 19, in main
    p.join()
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gipc/gipc.py", line 530, in join
    self._returnevent.wait(timeout)
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gevent/event.py", line 219, in wait
    return self._wait(timeout)
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gevent/event.py", line 129, in _wait
    gotit = self._wait_core(timeout)
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gevent/event.py", line 106, in _wait_core
    result = self.hub.switch()
  File "/home/travis/virtualenv/pypy2.7-5.8.0/site-packages/gevent/hub.py", line 630, in switch
    return RawGreenlet.switch(self)
  File "/opt/python/pypy2.7-5.8.0/lib_pypy/greenlet.py", line 53, in switch
    return self.__switch('switch', (args, kwds))
  File "/opt/python/pypy2.7-5.8.0/lib_pypy/greenlet.py", line 92, in __switch
    args, kwds = unbound_method(current, *baseargs, to=target)
KeyboardInterrupt

That's a tough one.

Travis build log with the flake: 180929_keyboardinterrupt_problem.log

Seen on Python 3.6.6 current master:
+timeout --preserve-status --signal=INT --kill-after=7 5 python infinite_send_to_child.py
Child process got message through pipe:
	'I was sent from a greenlet running in the main process!'
Child process got message through pipe:
	'I was sent from a greenlet running in the main process!'
Child process got message through pipe:
	'I was sent from a greenlet running in the main process!'
Child process got message through pipe:
	'I was sent from a greenlet running in the main process!'
Child process got message through pipe:
	'I was sent from a greenlet running in the main process!'
KeyboardInterrupt
Sat Sep 29 15:49:29 2018
KeyboardInterrupt
Sat Sep 29 15:49:29 2018
Traceback (most recent call last):
  File "infinite_send_to_child.py", line 42, in <module>
    main()
  File "infinite_send_to_child.py", line 19, in main
    p.join()
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/gipc/gipc.py", line 530, in join
    self._returnevent.wait(timeout)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/gevent/event.py", line 219, in wait
    return self._wait(timeout)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/gevent/event.py", line 129, in _wait
    gotit = self._wait_core(timeout)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/gevent/event.py", line 106, in _wait_core
    result = self.hub.switch()
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/gevent/hub.py", line 630, in switch
    return RawGreenlet.switch(self)
KeyboardInterrupt
+result=1

(CPython 3.6.6, Linux, gevent 1.2.2)

Very likely the last test failures happened as of the same instability which is addressed in #53.

Improved stability via #54.


Add Thai language support

Resolves #628
Adding Thai.yml and th-utf8.csv dictionary

Please, see my comments in #628

finished adding new dictionary with 18k words (tested and passed) @sspanak

Excellent! Could you please also add links to the websites where you got the word lists from?

Word lists based from this repository which you mentioned in the issue. I think this one is okay because the owner extracted all the words from the Royal Institute Dictionary
There are some duplicate words in the original .txt file which I've cleared all of them and tested on Android Studio already.

Perfect, thank you! I'll try to do my part as soon as possible, then merge it.

Remaining tasks to do:

Sort the dictionary
Make sure the double vowels work properly.


no pg_hba.conf entry for host "x.x.x.x"

I've had a docker swarm setup running for months now but started receiving the following error today:
FATAL:  no pg_hba.conf entry for host "<IP_ADDRESS>", user "xxxx", database "xxxx", SSL off
This is how my docker-compose.yml looked like initially:
version: '3.6'

services:
  web:
    image: myimage
    networks:
      - frontend
      - backend
    depends_on:
      - db
    deploy:
      replicas: 3
    environment:
      DEBUG: '0'
      DATABASE_URL: 'postgres://xxxx@xxxx:5432/xxxx'
    command: uwsgi --ini etc/uwsgi.ini --http-socket <IP_ADDRESS>:8001
    logging:
      driver: "json-file"
      options:
        max-size: "10M"
        max-file: "20"

  db:
    image: postgres:9.6.9
    networks:
      - backend
    ports:
      - "5432:5432"
    volumes:
      - ./data/postgres:/var/lib/postgresql/data
    deploy:
      placement:
        constraints: [node.role == manager]
    logging:
      driver: "json-file"
      options:
        max-size: "10M"
        max-file: "20"

networks:
  frontend:
  backend:
    driver: overlay
    attachable: true

After reading how I could potentially solve this I also added this to the db's volume:
- ./pg_hba.conf:/var/lib/postgresql/data/pg_hba.conf
with a modified pg_hba.conf where I added the following for testing purposes:
host	all		all		<IP_ADDRESS>/0		trust
Afterwords I removed the stack and deployed it again. I've checked the db container and pg_hba.conf reflected the changes but the issues was still there.

Figured it out, had to comment out: host all postgres <IP_ADDRESS>/0 reject from the pg_hba.conf as well along with adding host all all <IP_ADDRESS>/0 trust.
Better if I use a custom username + only allow a specific ip range.

Ran across this just now.  Another approach if you don't care so much about configuring your postgres DB (or the database itself) it just to delete the mapped volume and let it be re-created

Can someone explain me this solution in more detail ?

Use
    command: postgres -c listen_addresses='*'

and remove volumes wiht down -v and then it will work for all IPs. May be there is a way to remove volume of the pg only, but I don't know it.

For anyone else finding this issue, I solved with with:
pg_hba.conf
local all all trust
host all all <IP_ADDRESS>/0 trust

docker-compose.yml
+        volumes:
+          - ./pg_hba.conf:/var/lib/foo/pg_hba.conf
+        command: ["postgres", "-c", "hba_file=/var/lib/foo/pg_hba.conf"]

host all all <IP_ADDRESS>/0 trust

:warning:WARNING:warning:: If you put this is your pg_hba.conf then do not expose any ports to the internet. Anyone who connects will have full passwordless access to your database. :scream:  https://www.postgresql.org/docs/current/auth-trust.html


New CI images with rapids 23.06

Description

No code changes other than updating the CI versions

fixes #1025
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.

/merge


Add "license" metadata field to pubspec format

This issue was originally filed by<EMAIL_ADDRESS>
Accept this as a valid license in addition to a LICENSE or COPYING file. Also, display the license prominently on pub.dartlang.org package pages.

This issue has been moved to dart-lang/pub#413.


Use a watch channel instead of atomic for SpreadPrice

Fixes the issue with spread not always being updated properly.
This is more idiomatic way of updating the value from another thread,
e.g. provides more info about what's being updated where.

I guess this could as well been fixed by using another ordering strategy. Ordering::Relaxed gives you no guarantees - I thought that would be sufficient for this use case. If we wanted more  guarantees - we could have used Ordering::Aquire


scripts: extract: globals.py: Fix node name parsing

The node name parsing for the _LABEL #define does not parse the unique
node portion in the same fashion between @<unit_address> and _< number >.
This change normalizes the two modes.
Signed-off-by: David Leach<EMAIL_ADDRESS>

@dleach02 : can you update your commit message?
Seems initial description does not match the change anymore. Your last comment would do better.

@dleach02 any update on new commit message?

@galak, I did change the commit message? The change normalizes the define generation to use the unique portion of the name between the usage modes of @<unit_address> and .
Can you highlight or suggest text to use that clarifies this more?

I was just out of date, sorry about that.  Now merged :)


Python send_with_params ignores expiration

Description
Python send_with_params() ignores expiration field

It's ignored if the provided amount is >= minimum storage deposit for an output and only gets added together with a storage deposit return unlock condition
Do we want to add it also without SDRUC?


[WIP] Neq switching

at present, the solvent padding option has been modified to default set ionic strength to 0.15mM; we can toggle this as an option if that's preferred.

Also, for reference, the current implementation of neq_switching  in setup_relative_calculations.py will run equiilibrium simulations first, create a pickle file with pointers to the snapshots, and then subsequently open, deepcopy, and run nonequilibrium switching; (if neq fails for whatever reason, or different annealing schedules/protocols want to be used, they can all pull from the same set of equilibrium snapshots which have previously been run and saved)

What's the status of this?

im cleaning up a few things before merge


Search query in the "Patches" panel causes searches in "Objects" not to show

Reproduction:
1: Go to vizor, start a new session
2: Press TAB to enter "program" mode
3: Press Q to search, search for "number" for example.
4: Don't select anything or add a patch, but instead use the TAB  to enter back into "Build" mode.
5: Press Q to search. Search has now changed to "Objects" instead of patches
6: Now searching in this panel won't give any results no matter what you search
7: If you use TAB to go back to "Program" mode, you'll see the "number" search still in the search box.
8: If you erase the "number" query, and then use TAB to enter into "Build" mode, search results for your Objects searches show up correctly.

duplicate of #855


add api calls and displayed feedback to user

All API calls for movies showing on Netflix in America. The user gets appropriate feedback about the success or failure of the search.

looks good to me! just need one more person to approve.


BinaryEncoder assigns labels starting from 1

I'm trying to encode some categorical variables and I found that I'm getting too much dimensions due to BinaryEncoder starting labeling from 1 instead of 0.
I'm working on the same mushroom data as in the examples (described in this blog post in detail http://www.willmcginnis.com/2015/11/29/beyond-one-hot-an-exploration-of-categorical-variables/).
In there Will is using a simple BinaryEncoder without any additional parameters and he's getting 44 dimensions.
encoder().fit_transform(X, y)

I'm using the BinaryEncoder with drop_invariant option and getting 56 dimensions.
encoder_drop = ce.BinaryEncoder(cols = columnsToEncode, return_df=True, drop_invariant=True)
encoder_drop.fit(X)
encodedpreProcessed_drop = encoder_drop.transform(X)

After counting each columns I found one that there are no records with 0 bit representations. So every columns is split into more columns than necessary (+1).
encodedpreProcessed_drop.loc[(encodedpreProcessed_drop['cap-shape_1']==0) & (encodedpreProcessed_drop['cap-shape_2']==0) & (encodedpreProcessed_drop['cap-shape_3']==0)]

Am I doing something wrong or is this now an intentional representation? Seems like I'm getting unnecessary columns thanks to this.

I guess we have to add seed to cross-validation (maybe with np.random.seed(value)?) in order to get reproducible results.
I guess that with handle_missing='error' and handle_unknown='error' you should get fewer features (some combinations of the values can be reserved for handling missing and previously unseen values in the scoring set).

Does the second paragraph solve the issue? If yes, how would you recommend to change the documentation to communicate this behaviour?

The value 0 (i.e. all the columns in the output are 0) is reserved for representing missing and unknown values in the input. So I don't think there is a real bug here, just a misunderstanding of the behavior.
Separately, BinaryEncoder usually uses one more bit than needed in general. That issue is filed here and I have a fix here.


mouseover and mouseout events do not behave like mouseenter and mouseleave on markers

According to #1144 Leaflets mouseover and mouseout should behave like mouseenter and mouseleave. However this fiddle shows that this is not the case.
If you move the mouse over the outer ring of the marker the popup shows up but as soon as you enter the inner circle it is closed because mouseout is fired. If you move back to the outer ring the popup shows up again.

Thanks for ticketing, this is a pretty interesting use case. I guess it'll be the same if you use divIcon with a nested HTML too.

cc @yohanboniface

this is a pretty interesting use case

I have to make a bunch of different icons that are all the same except for the background colour.
So if I do it this way I can load one svg file and change the background.

So if I do it this way I can load one svg file and change the background.

Maybe you can try to use :hover CSS selectors and do some trickery there. Using .pngs and changing the background position on :hover is a well-known technique.

@Eschon yeah, you can achieve the same look by using divIcon and border-radius for the circle look plus borders.

@IvanSanchez CSS would work if what I described above was the only problem. But the icons are used on multiple maps and the colors can be completely different on two separate maps. This would still be possible but probably it would also upset the guy who has to prepare those icons for me.
@mourner divIcons could work but as you said above they have the same problem:
http://jsfiddle.net/Eschon/spkj72te/

I think we have two issues here:

firstly, effectively mouseout/mouseover are fired when the mouse is moving from a marker div element to a child of this element and vice-versa
secondly, when the popup opens, it triggers a mouseout because the mouse is now on the popup and no more on the div itself

So event if we fix the first issue, the second will remain and of course it 0is not a bug that we can fix ;)
About the first issue, I'm not sure what we want to do. This behaviour is the natural DOM behaviour, but indeed I've read that in Leaflet 'mouseout' and 'mouseover' should act as 'mouseleave' and 'mouseenter'.
@mourner do you confirm this? I.e. why don't we let people use 'mouseleave' and 'mouseenter' when they need this behaviour?
Or is it for consistency because we don't want mouseout/over to be fired when moving in/out the tiles, and thus we decide to have a mapping 'mouseout' => 'mouseleave' and 'mouseover' => 'mouseenter' everywhere in Leaflet?

I think the problem is the popUp: (I added the (vertical) offset)
http://jsfiddle.net/fevwbrjq/2/

@fminuti Your right it seems that there isn't really an issue.
Now I have the problem that I need to be able to move the mouse over the popup because there are links inside it. But that isn't really something that leaflet is responsible for so I'll find some way to work around it in my code.
@yohanboniface feel free to close if you agree that there is no issue in Leaflet.

We currently have the issue that @yohanboniface mentioned in his first case, where transition to/off a nested div inside the marker throws an additional mouseover/mouseout event. We are using Leaflet in conjunction with angular-leaflet-directive which embeds the map into our AngularJS SPA and Leaflet.awesome-markers which is responsible for applying FontAwesome icons onto Leaflet markers.
Example image from Leaflet.Awesome-markers:

Fixed by https://github.com/Leaflet/Leaflet/commit/7c2ac9f39d427de40c2dba1bc6591fd0a902e9d5

mouseout/mouseover are fired when the mouse is moving from a marker div element to a child of this element and vice-versa

To clarify for those experiencing this issue:

v1.0.0-beta.2: fixed.
v0.7.7: not fixed.

As of today, you can try: bower install leaflet#1.0.0-rc.1

For v0.7.7 users having a similar issue and arriving here via google or otherwise, I'll give my $0.02 on a good way to handle this rather than just offsetting the popup: fiddle.
On a related note, I also wanted to find a way to avoid triggering the mouseout event on a marker when adding a new feature on or around it. In my application, I'm displaying GPS data which has an error radius for each GPS fix. I wanted to be able to mouse over a marker for a given data point and show that error, but I ran into the same issue where adding a layer or showing a popup when mousing over a marker would trigger the marker's mouseout event.
Here's a fiddle showing the undesired behavior and how to fix it.

@Eschon
I have a similar issue.
In my case mouseover and mouseout are switching continuously.
So my circle and popup are blinking.
How to fix this issue?
This is my code.
let marker = L.circleMarker(coordinates, customMarkerStyle);
					marker.addTo(map);

					// Create HTML content for the popup.
					const popupContent = get_popup_content(properties.SprnklrID, properties.moisture, properties.uniformity, properties.measurements, properties.throw_radius)
					// Create a sprinkler popup for details.
					let sprinkler_popup = L.popup()
						.setLatLng(coordinates)
						.setContent(popupContent);
					marker.bindPopup(sprinkler_popup);

					// Draw circle around the marker
					let circle = undefined;
					marker.on('mouseover', function (e) {
							map.getContainer().style.cursor = 'pointer';
							marker.openPopup();
							// Create a circle and specify its options (e.g., color, opacity, etc.)
							if(circle)
								circle.remove();
							circle = L.circle(coordinates, {
								color: '#fff',      // Stroke color
								fillColor: '#fff', // Fill color
								fillOpacity: 0.2,  // Fill opacity (0 to 1)
								radius: parseFloat(properties.throw_radius) * 0.3048  // Radius of the circle in meters
							}).addTo(map);
					});
					marker.on('mouseout', function(e) {
						map.getContainer().style.cursor = 'grab';
						marker.closePopup();
						if(circle) circle.remove();
					})


Chat history disappears if chat stage is not current stage (i.e., before/after chat stage)

Was using the wrong stage ID (participant current stage ID instead of the current page route). Fixed in #252


Move maestro dependencies into the coppersmith API

Couple of points around imports and some formatting that could be improved, otherwise :+1:


Difference to next-redux-wrapper

Hey @huzidaha thanks for this package.
Could you explain what the difference to next-redux-wrapper is?

@HaNdTriX They're actually the same.

@huzidaha Isn't the store being cached on the server?
next-redux-wrapper only caches the store on the client.


Bugs and changes to Institution Portal -> Add Offering

Describe the task
The following is a mix of bugs and further requirements to the Add Offering in the Institution Portal

When an offering doesn't align with the delivery method of a program, the submission should go to pending status.  (Currently returning an internal service error)
Update the following content:

Cost Fields

"Tuition" stays the same
Change "Program Related Costs" to "Books and Supplies"
"Mandatory fees" stays the same
Change "Exceptional Expenses" to "Exceptional Costs"
Add help text next to the cost fields that says "These costs must comply with the maximum allowable costs according to the SABC polciy manual."

Ammend content under the "Offering Name" field to read "Please include the institution location, year of study, and cohort details directly into the name of the offering so that students can differentiate it from other similar offerings."
Study Breaks Fields:

Change "Identify scheduled breaks for the program year" to:

"Identify schedule breaks for the study period offering:

Study breaks of five or fewer consecutive calendar days that would normally be instructional days do not count towards study breaks.
Study breaks cannot exceed three weeks, or 21 consecutive days.  Excess break days will be deducted from overall funded weeks.
Breaks in study may not exceed 10% (individually or cumulatively) of the study period offering length.  Exccess break days will be deducted from overall funded weeks."

Acceptance Criteria

[ ] Investigate and resolve internal service error.
[ ] Confirm Lynn has reviewed content.
[ ] Update content.

For the bug mentioned in AC1 (Internal server error on offering submission when offering doesn't align with the delivery method of a program), I was not able to replicate the issue after trying all possible combinations of testing.
Onsite Program and Online Offering
Offering created in "Creation pending status"

Online Program and Onsite Offering

Business could not recreate the internal service error bug neither.  Closing ticket.


Color picker returns incorrect values when an icc color profile is used on monitor

Microsoft PowerToys version
0.37.2
Running as admin

[X] Yes

Area(s) with issue?
ColorPicker
Steps to reproduce
If your monitor has an icc profile applied, the return values differs from what is actually stored in the program that displays the color.
✔ Expected Behavior
It seems to be a problem on screenshots in general and I guess color picker uses screenshot functionnality at some point. If I do a screenshot when having an icc profile, I have to go to photoshop and assign my icc monitor profile on the image, then convert to srgb to get the good values back.
There should be 2 options for icc profile for color picker :

1 to set the icc profile of the monitor
1 to choose the desired icc profile for output the value (srgb by default I guess).

The value displayed in the color picker would be first assigned in the color space of the monitor then converted to the output icc profile choosen.
As a bonus, there should be an hotkey to do this color assign/convert to images in the clipboard. So you can make a screenshot, do the color correction with hotkey directly in the clipboard, then just paste the image in the document.
❌ Actual Behavior
As an example I color picked the red "Issue-Bug" label on the right of this bug report.
The color picked value is returned as : rgb(199, 55, 23)
But in the source of the page, the correct value is : rgb(230, 0, 0)
Other Software
No response

@martinchrzan could this be an API/platform limitation?

Yep it is, we are using the same API as the regular print screen functionality.  We would have to read the current color profiles for the current screen and do a conversion. Doable, but quite a lot of work.

Well, people that uses color profiles on their monitor are people that are expecting correct colors in the entire workflow. This makes the color picker unusable for me.
But yes, it's clearly not just your tool that would need this correction. I've got this problem with screenshots (lightshot or built-in screenshot program in windows). I guess it's maybe more something that should be fixed directly in the OS.
For people like me that works on webdesign, or have to make documentations about programs, I have to rework all my screenshots before pasting them in word for example. And if I paste screenshots directly into emails, I often get "the colors are wrong" as the only response :) .

I've made a bug report on windows 10 feedback hub also. I hope this will be seen among all other suggestions that there is.

Here is the bug report (it opens feedback hub app on windows 10) : https://aka.ms/AActizq

it is a known limitation as of now as @martinchrzan stated.  If it is a system wide color profile, we may be able to tweak.

I have realized that the ICC profile of my primary monitor was causing this issue. So while picking colors I drag the reference color to secondary monitor and then use the color picker to pick the accurate hex code.


Consider a way to handle sub-collections and their types

+1
By the way is there any workarounds

Hello, is theire a way to handle Firestore CollectionGroup rather than CollectionReference ?

Right now there isn't a way. I haven't been able to think of a nice way to design it. Suggestions welcome.
One option I've thought about is initialising it with the parent and child collection like so: new FirestoreDataSource<SubCollectionDocType>(collection, subCollection) and then call it in the handlers like dataSource.findOne(parentId).findMany(vhildIds) - but then I haven't thought of a nice idea to do, say dataSource.findMany().findMany() - maybe you'd use .doc() to "initialise" the parent and only have that be a "find one"?

I think we should differentiate a sub collection of a collection, and a collection group that regroups all the collection of a same name.
// General player data source
export class PlayerDataSource extends FirestoreDataSource<PlayerDoc, ApolloContext> {}
// Specific player data source
export class BasketPlayerDataSource extends FirestoreDataSource<BasketPlayerDoc, ApolloContext> {}
export class RugbyPlayerDataSource extends FirestoreDataSource<RugbyPlayerDoc, ApolloContext> {}

// General player group collection
export const playersCollectionGroup: CollectionGroup<PlayerDoc> = DB.collectionGroup('players');
// Specific player collections
export const basketPlayersCollection: CollectionReference<BasketPlayerDoc> = DB.collection('basket/players');
export const rugbyPlayersCollection: CollectionReference<RugbyPlayerDoc> = DB.collection('rugby/players');

And then you can define the data sources by passing CollectionReference OR CollectionGroup
export const dataSources = () => {
  return {
    players: new PlayerDataSource(playersCollectionGroup),
    basketPlayers: new BasketPlayerDataSource(basketPlayersCollection),
    rugbyPlayers: new RugbyPlayerDataSource(rugbyPlayersCollection),
  };
};

What do you think ?


Lock down version numbers in dependencies

@rsimha , liked your idea of locking down versions so that people don't have trouble installing and building this project, as @danielrozenberg and @dvoytenko did.  Or of migrating from npm to yarn.  Can you advise here?

Just saw this old issue during a long overdue triage. All ampproject repos have renovate enabled today to lock down dependencies and keep them up to date, so this problem should be solved.


Link folder is deleting folder in Windows

Hi amazing guys,
I Have a Feature Request to share with you..
In a version 4.3.2, and all off old versions when you link a folder to see scripts you can't unlink... and... when you delete the 'link' the folder and all content is also delete from Windows.
Can you please check to include a feature to unlink folder?
Best regards,
Marcio
Database: Oracle
Country: Brazil

The Eclipse platform contract is:

Deleting a linked resource does not delete its contents from the file system,
iit just removes that resource and its children from the workspace.  Deleting
children of linked resources does remove the contents from the file system.

http://help.eclipse.org/oxygen/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fcore%2Fresources%2FIResource.html
So it is not clear what is requested,


Feature: Enemy Shooting Behaviors

Different enemy types will shoot different patterns or not shoot at all and just crash into you

Unit tests written!


Go Live [may 25]

Push to live

Docs Build status updates of commit 3d1627b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/device-capabilities/qr-barcode-scanner-capability.md
:white_check_mark:Succeeded
View

msteams-platform/whats-new.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


ruby-build quits with some unexpected errors on WSL

Installing Ruby version with ruby-build fails with following:
$ rbenv install 2.3.4
: invalid optionbenv/plugins/ruby-build/bin/rbenv-install: line 26: set: -
set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
/home/aurimus/.rbenv/plugins/ruby-build/bin/rbenv-install: line 28: $'\r': command not found
: invalid shell option names/ruby-build/bin/rbenv-install: line 31: shopt: nullglob
/home/aurimus/.rbenv/plugins/ruby-build/bin/rbenv-install: line 32: syntax error near unexpected token `$'do\r''
'home/aurimus/.rbenv/plugins/ruby-build/bin/rbenv-install: line 32: `for plugin_path in "$RBENV_ROOT"/plugins/*/share/ruby-build; do

which is I guess due to line endings incompatibility... however, this happened after I checked out a fresh copy of ruby-build repository, also tried checking out some stable version releases and it gives the same error, so I can't tell why.
I ran the command with strace and it output a couple of files:
strace_ruby_build80.txt
strace_ruby_build81.txt
strace_ruby_build82.txt
strace_ruby_build83.txt
strace_ruby_build84.txt

Hi @aurimus , thanks for posting!  Could you please fill out the issue template?  The symptoms that you describe are not generally a problem; I can try to guess what's unusual about what you're doing, but it'd be better if you could provide more detail.

Please see this issue on rbenv build, thanks! Using latest stable version of Windows 10 v 14393.1066
https://github.com/rbenv/ruby-build/issues/1077

@aurimus - Please use our issue template when filing issues, it has lots of information we need to diagnose the problem.
Looks like an issue with mixed Windows / Unix line endings.  Does the error message tell you which source file it's complaining about?  Could you ensure that file has uniform line endings?  The dos2unix package may be useful for converting all of the line endings to Unix.

@benhillis , not sure, it would probably be good question to ask the guys at https://github.com/rbenv/ruby-build not sure how to debug it myself to find which file it might be.. .. I'm using git on WSL to clone fresh repository, so in theory it should be ok, but somehow it's not..

Looks like things start to fall over at line 28 of rbev-install:
home/aurimus/.rbenv/plugins/ruby-build/bin/rbenv-install: line 28: $'\r': command not found
: invalid shell option names/ruby-build/bin/rbenv-install: line 31: shopt: nullglob
/home/aurimus/.rbenv/plugins/ruby-build/bin/rbenv-install: line 32: syntax error near unexpected token `$'do\r''
'home/aurimus/.rbenv/plugins/ruby-build/bin/rbenv-install: line 32: `for plugin_path in "$RBENV_ROOT

@benhillis why would line endings be wrong if I just clone it with git on WSL bash? .. I can try cloning it with cmd into lxss dir, but that would be some violation of WSL, no?

@aurimus - good question, I can assure you WSL isn't messing with line endings during a git clone.  Have you tried your same steps on a real Linux box? I suspect you'll hit the same issue.

I don't think it would hit the same error, because I am cloning and
checking out a stable release, which shouldn't have issues. Don't have real
Linux to test it though (Ubuntu broke a few months ago, that's actually the
reason I am trying to switch to Windows and WSL for a year or so.. and with
recent developments in Ubuntu dropping Unity, thinking of staying also)
On Fri, Apr 21, 2017 at 7:28 PM, Ben Hillis<EMAIL_ADDRESS>wrote:

@aurimus https://github.com/aurimus - good question, I can assure you
WSL isn't messing with line endings during a git clone. Have you tried your
same steps on a real Linux box? I suspect you'll hit the same issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BashOnWindows/issues/1976#issuecomment-296238477,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABARQI-1CI0v7ETFfKximsn4vd6VlDq5ks5ryNklgaJpZM4NEPXU
.

@benhillis  I don't think it would hit the same error, because I am cloning and
checking out a stable release, which shouldn't have issues. Don't have real
Linux to test it though (Ubuntu broke a few months ago, that's actually the
reason I am trying to switch to Windows and WSL for a year or so.. and with
recent developments in Ubuntu dropping Unity, thinking of staying also)

@aseering @benhillis not sure if it's useful, but I added strace

Tried RVM, works for now, though I prefer rbenv for it is lighter..

I have issues with RVM, RVM installs fine, but trying to install ruby errors.  This is a very generic setup, nothing special.  I am in the user account, and i have tried with sudo but both fail with similar error
mv: cannot move '/home/johnsond/.rvm/rubies/ruby-2.4.0/ruby-2.4.0//lib' to '/home/johnsond/.rvm/rubies/ruby-2.4.0/lib': Permission denied
I have tried with and without sudo.  Any call for 'sudo rvm install xxx' complains that rvm unknown, all install provide the above error that if can't move things.  Is it possible the the double "/" creates a problem in WSL?

Check in your git global config if you have core.autocrlf=true
If you do, change it to false, git config --global core.autocrlf false
Delete repo, clone again

renv install 2.7.2 takes on WSL1 20H1. [OP 2.3.4 is end of life, and fails because gcc is not tolerant enough these days to compile the source.]

The fail in the OP is near certainly some component being picked up from the Windows %PATH%. The chances of the problem being git are pretty small, given Linux git doesn't muck crlf unless you try hard to make it do that (allowing for the possibility Windows git was being picked up). As mentioned up-thread, WSL proper is not capable of changing the line endings. Big hammer way to avoid this sort of thing is to turn off interop, or set the Linux $PATH explicitly.
Whatever the reason /ruby-build/bin/rbenv-install ended up with Windows crlf endings, the way Linux /bin/bash interpreted that file is linux-behavior.


Add an enum for 'ACL Action'.

Hey @bharani-zededa -- it seems I have fixed dependency issue for realz.
Can you please remove that last "Disabling golangcilint in yetus" commit from the branch so we can get this PR in?


 This includes the exception stack traces.
I have these examples:

   at is written as    ved
 --- End of inner exception stack trace --- is written as  --- Slut på staksporing af indre undtagelser ---

It might be a big undertaking to account for all languages, but your project is nice and I wanted to give a little feedback/bugreport.

eww - thanks for the information (sorry just caught up on Github notifications).


Chunks/dtype not considered with map_blocks result name

What happened:
As part of a really long multi-day debug session I've finally figured out the root of my problem. I replaced some old code with a single no-dependency map_blocks function and started to run into some issues when the result was included a larger application that involved rechunking. I've discovered that the main issue is that the chunks keyword argument isn't considered in the tokenized name so you can produce two different arrays that result in the same name. This isn't a big problem at first glance as you can do .compute() and get the final array you expect, but it is a problem when these arrays start getting used in other tasks that may or may not include chunking. In my use case I ran into cases where if I computed two arrays that were dependent on these similar map_blocks results the scheduler would choose one or the other depending on the order that they were passed to da.compute(.
What you expected to happen:
Either:

Documentation in the map_blocks docstring about needing inputs to make the name unique including chunks and dtype. Or how to generate a name "manually" that will include this information as well as the args, kwargs, and function name.
Include chunks (and maybe other meta information) in the name generation for the output.

This would be similar to how you can call da.zeros multiple times with the same shape but different chunk size and get arrays with different names.
Minimal Complete Verifiable Example:

def test_func(fake_in, block_info=None):
    return np.zeros(block_info[None]['chunk-shape'])

fake_input = 1
res1 = da.map_blocks(test_func, fake_input, chunks=((2,), (3, 3, 2, 1, 1), (2, 2, 2, 1, 1, 1, 1)), meta=np.array((), dtype=np.float64), dtype=np.float64)
res2 = da.map_blocks(test_func, fake_input, chunks=((2,), (6, 2, 2), (6, 4)), meta=np.array((), dtype=np.float64), dtype=np.float64)

res1.name
# 'test_func-7ea2153c7f07c8abd6f3181bc0975958'

res2.name
# 'test_func-7ea2153c7f07c8abd6f3181bc0975958'

## Looks like dtype is the same way

res3 = da.map_blocks(test_func, fake_input, chunks=((2,), (3, 3, 2, 1, 1), (2, 2, 2, 1, 1, 1, 1)), meta=np.array((), dtype=np.float32), dtype=np.float32)

res3.name
# 'test_func-7ea2153c7f07c8abd6f3181bc0975958'

Anything else we need to know?:
This may be related to https://github.com/dask/dask/issues/6649.
Environment:

Dask version: 2021.11.2 (but seen on multiple)
Python version: 3.9
Operating System: PopOS
Install method (conda, pip, source): conda/conda-forge

Looks map_blocks tokenization logic has remained unchanged since long, long ago when it was first added in https://github.com/dask/dask/pull/848: https://github.com/dask/dask/blob/a87672e949365075e19cd90b81ddb18f63e3178a/dask/array/core.py#L501
Back at that time, py2 was still a think, so args and kwargs contained all the arguments to map_blocks (including chunks).
But these days, args and kwargs are just the arguments to the function!
@djhoese can you try
diff --git a/dask/array/core.py b/dask/array/core.py
index 150184f7..4eb03e98 100644
--- a/dask/array/core.py
+++ b/dask/array/core.py
@@ -675,7 +675,7 @@ def map_blocks(
         warnings.warn("The token= keyword to map_blocks has been moved to name=")
         name = token

-    name = f"{name or funcname(func)}-{tokenize(func, *args, **kwargs)}"
+    name = f"{name or funcname(func)}-{tokenize(func, dtype, chunks, drop_axis, new_axis, *args, **kwargs)}"
     new_axes = {}

     if isinstance(drop_axis, Number):

That works for my mini-example above with hacking my installed version of dask. If you need me to try my real world case let me know. Otherwise, this makes sense and seems like a simple fix.

...and I just tested the real world case and that works too!

@djhoese care to open a PR? If not I can get to it eventually.

I will try to find time tonight.


Add script to locally build TuxSuite configurations

Sometimes, it may be desirable to perform the same set of builds that
TuxSuite does locally, such as validating that a local tree does not
have any problems.
TuxMake is the backend of TuxSuite and it is written in Python, so we
can import it, parse the TuxSuite YAML files ourselves, then offload all
the builds onto TuxMake.
Add scripts/build-local.py to take care of this and add a note of it in the
tuxsuite configurations.

Thanks a lot for the review as always!


pubspec.yaml not found Although i have this file in my project.

Steps to Reproduce

Open a project.
 This command should be run from the root of your Flutter project. Do not run this command from the root of your git clone of Flutter.

Logs
ethpsa09s-mac:~ ethpsa09$ export PATH="$PATH:pwd`/flutter/bin"
ethpsa09s-mac:~ ethpsa09$ flutter run
Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
Do not run this command from the root of your git clone of Flutter.
ethpsa09s-mac:~ ethpsa09$
flutter doctor -v out put
`ethpsa09s-mac:~ ethpsa09$ flutter doctor -v
[✓] Flutter (Channel stable, 1.20.2, on Mac OS X 10.13.6 17G14019, locale en-AU)
• Flutter version 1.20.2 at /Users/ethpsa09/flutter
• Framework revision bbfbf1770c (3 weeks ago), 2020-08-13 08:33:09 -0700
• Engine revision 9d5b21729f
• Dart version 2.9.1
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/ethpsa09/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS
development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin
code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install:
sudo gem install cocoapods
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 48.1.2
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
[✓] Connected device (1 available)
• Agora Go (mobile) • KAPH4AGMAA0391 • android-arm • Android 9 (API 28)
! Doctor found issues in 1 category.
ethpsa09s-mac:~ ethpsa09$ flutter doctor -v
[✓] Flutter (Channel stable, 1.20.2, on Mac OS X 10.13.6 17G14019, locale en-AU)
• Flutter version 1.20.2 at /Users/ethpsa09/flutter
• Framework revision bbfbf1770c (3 weeks ago), 2020-08-13 08:33:09 -0700
• Engine revision 9d5b21729f
• Dart version 2.9.1
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/ethpsa09/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS
development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin
code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install:
sudo gem install cocoapods
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 48.1.2
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
[✓] Connected device (1 available)
• Agora Go (mobile) • KAPH4AGMAA0391 • android-arm • Android 9 (API 28)
! Doctor found issues in 1 category.
ethpsa09s-mac:~ ethpsa09$ `
Also, I only want to use android development since i am on a older version of macOS thus, I cant install xCode.
Macos Version
macOS high sierra 10.13.6

Hi @ethpsa09
can you please run :

flutter create newapp

cd newapp

flutter run -v

Hi @ethpsa09,
Do you see pubspec.yaml at the root location of your project where you've stored it, like in below screenshot ?
If so, you need to first cd to your root project path and then run flutter run.

USB debugging is enabled so ill try the commands now

Ok it worked but am i gonna have to do that everytime?

Yes there is a pubspec.yaml

@ethpsa09 did it resolve your issue ? try running flutter run from root of the project.

by root do you mean in the android studio terminal? or in the mac terminal? (sorry im not good with these things)

Ok it worked but am i gonna have to do that everytime?

For android development you can use the android emulator or your device with USB debugging enabled.
You can get more details here : https://developer.android.com/training/basics/firstapp/running-app

by root do you mean in the android studio terminal? or in the mac terminal? (sorry im not good with these things)

The root directory, or root folder, is the top-level directory of your application.
In the mac terminal : cd /my_app_folder_path and flutter run
If you use android studio :

@ethpsa09,
Please see https://flutter.dev/community for resources and asking questions like this.
You may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Test Register

Test Register Page (easiest to test)
No admin will register, they will already be there in database for login

Register has been tested with exercise/sleep attributes


Differing selected value vs dropdown item

Is there no way to have the text in the dropdown be different than the selected value? I am trying to create a country code dropdown where the selected value only shows a flag and the dropdown shows more info (the flag, the country name, and the country code) - but I cannot get this to work. It initially works, but then selecting a country adds the whole dropdown text to the selected value, even though I've given the dropdown a value: {this.state.country.flag}.
I would have thought that that was what valueExtractor or labelExtractor were for, but no luck.
Works until I select one:

Selecting one adds the full value when I only want the flag:

@jhanstra I don't know if you've solved this already but this is the solution:
Consider this data to be passed in the data prop of the dropdown component.
let countryList = [
    {
      value: 'Ghana',
      code: '+233',
    },
    {
      value: 'Kenya',
      code: '+254',
    },
    {
      value: 'Nigeria',
      code: '+234',
    }
    ];

From the README, the property OnChangeText has a selection callback (args: value, index, data). you could modify onChangeText like this:
onChangeText(text, index, data) {
  console.log(data[index].code);
}

The function above will give you the country code only. You may use this for any other value you need from the object.

@jhanstra For such cases, what I prefer to do is, place the dropdown absolute positioned with opacity:0 and zIndex more, inside a touchable/view like your flag's. Hence the touchable/view is my component which is just a view only. But when someone touches it, it triggers the touch of Dropdown! :) Hacky but it works out absolutely like you want.
Could you let me know how did you custom render the items with flags? I am looking to place Icon in my dropdown myself, but I cannot find anything in the docs.

Hey, @jhanstra Did you find any workarounds for this?


Use path constants from ArkLib

ARK Lib must be the "single source of truth" for the whole ARK project.
This file should be removed and bindings for constants defined in arklib must be implemented instead.

This is the starting point for any work with bindings:
https://github.com/ARK-Builders/arklib-android/blob/main/arklib/src/lib.rs


[Update] occurrence_ocean_sunfish.ipynb: 1st Jupyter Notebook

Overview
With this PR, I aim to add 1st Jupyter Notebook occurrence_ocean_sunfish.ipynb and resolve #18.
The changes introduced are:

Jupyter Notebook utilising pyobis.occurrence to gain insights on two species of sunfishes- Mola mola and Lepomis gibbosus. The analysis includes year-on-year records comparison on species, occurrence spread on world map and an approximate migration pattern on map.

Notes for reviewers
Please provide inputs about the hypothesis I have made in the notebook.
Next Steps
I am now working on initiating a new PR for the progressbar implementation after #33 gets merged.

I like this example notebook, and the data story with the declining numbers of that particular species is a good one.
I suggest we merge in this notebook and create another one which focuses just on creating maps over time. I want to show off seasonal migration, but we also might see migration towards the poles due to climate change.

Thank you so much @7yl4r! That is a really good thought which we can implement.
Right now, I am working on the depth_time_series.ipynb - A time series analysis of species depth. I will pick this notebook as soon I complete my current analysis.


Msg 1885 - values that don't decode

Using python cantools:
MsgID: 0x75d  (1885)
Value: 0x0effffffff000000
and
Value: 0x0d00000000000000
Error:  expected multiplexer id 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 or 12, but got 13  (or 14 for the first value)
Either:  the CP_sensorDataSelect has 14 values, or the extra bits after the first 12 options are being used for something else.

I was wondering the same thing, but I suspect that signals in the multiplexed payload are growing over time. For now, I discard these frames.


Module not working

Downloaded the latest version of the module and installed it on dsm.
However, searching through BT search is not bringing back any results.
Any ideas?

Thanks for reporting. Maybe the API stopped responding? Or maybe the package was changed.
I will  try and take a look, but unfortunately I stopped using my Synology for downloads so I don't think I will be able to test in case the package was changed.

It appears that the API does not seem to have been changed, and the module works fine on my Synology.

I will close the issues, but do not hesitate to come back to me with more information. Also, try to access the API directly from your IP address (cf. https://torrentapi.org/apidocs_v2.txt?app_id=gaia for the documentation).


Integrate ruff

Check whether scraping flake and flakeheaven for ruff would not be the best idea to proceed.
Difficulty will emerge when choosing rules as most of that has to be hand verified.

Most of the current checks are implemented (and there are some additional ones which seem to fit well), namely:

pyupgrade (UP)
flake8-2020 (YTT)
flake8-bandit (S)
flake8-blind-except (BLE)
flake8-boolean-trap (FBT)
flake8-comprehensions (C4)
flake8-datetimez (DTZ)
flake8-debugger (T10)
flake8-import-conventions (ICN)
flake8-no-pep420 (INP)
flake8-print (T20)
flake8-raise (RSE)
flake8-return (RET)
flake8-self (SLF)
flake8-type-checking (TCH)
flake8-unused-arguments (ARG)
eradicate (ERA)

Currently missing for ruff which we would like to support:

flake8-noqa
flake8-annotations-coverage
flake8-annotations-complexity (open issue here)

flake8-cognitive-complexity is better supported via settings (see here)


"Client Disconnected From Console" - wont launch

it found it in Windowsapps as it should, but now it just wont launch.

im on xbox gamepass, it likes to put games into windowsapps.

try running the mod manager as administrator. this is a common gamepass fix.


Add system spec for home page facets

Follow up from #2805

Review app deployed to https://teaching-vacancies-review-pr-2808.london.cloudapps.digital


Added AHCI detection and PCSpkr can now change frequency

Changed ports in sound and added basic AHCI detection

I have to add some more stuff but you can merge :)

Why


chore(deps): update terraform github.com/terraform-ibm-modules/terraform-ibm-powervs-infrastructure to v4.1.0

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/terraform-ibm-powervs-infrastructure
module
minor
v4.0.1 -> v4.1.0

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox. ⚠ Warning: custom changes will be lost.

This PR has been generated by Renovate Bot.

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

GitHub release
v2.1.0

Your semantic-release bot :package::rocket:


Generate reflection metadata for Configuration Properties sub-namespace

There's an initial change to cover nested classes in this commit but it's missing return types that might be defined in another class. These must be declared with @NestedConfigurationProperties so it should be easy to spot them.

Fixed by 032bd51e1d9fc5fee1cb4.


THEEDGE-1714 fix status on image call for interrupts

switched SetInterrupted for SetError

Signed-off-by: Jonathan Holloway<EMAIL_ADDRESS>Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue) THEEDEG-1714
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[ ] Refactor

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I run go fmt ./... to check that my code is properly formatted
[ ] I run go vet ./... to check that my code is free of common Go style mistakes

Codecov Report

Merging #812 (209c641) into main (b79fb11) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main     #812   +/-   ##
=======================================
  Coverage   30.90%   30.90%
=======================================
  Files          44       44
  Lines        4915     4915
=======================================
  Hits         1519     1519
  Misses       3193     3193
  Partials      203      203

Impacted Files
Coverage Δ

pkg/services/images.go
16.17% <0.00%> (ø)

Continue to review full report at Codecov.

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


Concourse 4.2 ldap authentication problems

I've been able to create teams and assign ldap users specifically
<fly -t concourse-4 set-team -n team1 --local-user admin --ldap-user user1>
tailing the atc.stdout.log file during ldap user login:
{"timestamp":"1538080212.178583622","source":"atc","message":"atc.dex.event","log_level":1,"data":{"fields":{},"message":"login successful: connector "ldap", username="user1"<EMAIL_ADDRESS>groups=[]","session":"5"}}
But the --ldap-group flag with an ldap group is not working to grant access to any concourse team.
Can you provide an example manifest patch for ldap configuration?  Or is there problem with ldap still?

I have tried a number of configs.  This is my currently running LDAP config.  I have also verified this group is in the search path.  I can also get this to work for individual users.
  ldap_auth:
    group_search_base_dn: OU=Cloud Engineering,OU=Groups,OU=xxx,DC=xxx,DC=xxx,DC=com
    group_search_name_attr: cn

fly -t fog set-team -n fog --ldap-group=PCF-Admins
Team Name: fog
Users:

none

Groups:

ldap:pcf-admins

I have tried a number of configs. This is my currently running LDAP config. I have also verified this group is in the search path. I can also get this to work for individual users.
  ldap_auth:
    group_search_base_dn: OU=Cloud Engineering,OU=Groups,OU=xxx,DC=xxx,DC=xxx,DC=com
    group_search_name_attr: cn

fly -t fog set-team -n fog --ldap-group=PCF-Admins
Team Name: fog
Users:

none

Groups:

ldap:pcf-admins

is this a manifest-patch.yml or where do you have this configured?

This is set in the deployment manifest
https://bosh.io/jobs/atc?source=github.com/concourse/concourse&version=4.2.1#p%3Dldap_auth.group_search_base_dn

@mylucidreality
I've configured the concourse-bosh-deployment/cluster/concourse.yml file correctly or at least according to documentation.  I'm not deploying the lite method.  Again, able to authenticate with users but not through groups.  And I do no see any error messages in the log indicating that groups are/aren't working.
what I'm using:
ldap_auth:
host: :389
bind_dn: CN=
bind_pw:
insecure_no_ssl: true
start_tls: false
user_search_filter: objectClass=person
user_search_base_dn:
user_search_username: sAMAccountName
user_search_scope: sub
user_search_id_attr: sAMAccountName
user_search_email_attr: mail
user_search_name_attr: name
group_search_base_dn:
group_search_filter: objectClass=group
group_search_scope: sub
group_search_group_attr: member
group_search_name_attr: cn

@mylucidreality "I can also get this to work for individual users."  YOu can get both users and groups working at the same time correct?

I think you need group_search_user_attr in there too. For my setup it was distinguishedName. Dex docs have uid in their example. It should just be what user attribute the member list is made up of

Finally resolved for MSAD config.  Example:
ldap_auth:
host: server...:389
bind_dn: CN=bind users....
bind_pw: password....
insecure_no_ssl: true
start_tls: false
user_search_base_dn: OU=...
user_search_username: sAMAccountName
user_search_scope: sub
user_search_id_attr: sAMAccountName
user_search_email_attr: mail
user_search_name_attr: name
group_search_base_dn: OU=...
group_search_scope: sub
group_search_group_attr: member
group_search_name_attr: cn
group_search_user_attr: distinguishedName

THANK YOU!!!! That did it for me.  I think it came down to these 2 attributes for me.  Then just configuring the access via fly with the full distinguishedName.
group_search_group_attr: member
group_search_user_attr: distinguishedName


TILA-1592 | Application mutations to GraphQL as is in REST

Ports application create and update operations from REST api so behavior should  be the same in both.
Some refactors etc also done
TILA-1592

We reached above 1000 unit tests :beers: