Allow multiple emails per user

Users often have multiple email addresses, for example for work and home; as well as perhaps a private one for GitHub. I don't think identity should be coupled tightly to email address, the relationship should be 1:many, and it would be great if Authorizer supported this.

Allow users to sign up with a first e-mail, and then verify any number of unique email addresses after that. Emails being added would be unique amongst verified email addresses across the whole user set.
Verified email addresses would be sent as an array with the user object when requested. A user-selectable "default" one might be sent in place of the current "email" property.

Alternatives are that each user needs separate accounts for work and home, and duplicates are accidentally created with signing in with GitHub etc if they use different (e.g. private or masked) email addresses.

Hey @lakhansamani, I believe this feature request maintains unique emails. Where am I wrong?

I see basically how github manages multiple user emails under one account.
makes sense.
Thanks for sharing it, will add to road map

I see basically how github manages multiple user emails under one account. makes sense.

Exactly 😀

Thanks for sharing it, will add to road map

Thanks! I really appreciate it.


Mention dependency on wget and unzip.

Greetings,
thank you for creating this beautiful theme and convenient installer! Sadly I had a problem using it,  because my machine was missing the unzip package, so the script could not extract some of the contents. By looking at the scripts source, I also saw that wget is used. I know that most linux distros should be shipping these packages by default, but some do not, so in my opinion it would be nice to have it mentioned in the install section of the Readme or have the script check for their presence and exit or output a warning if it fails to find them.
I know that this is probably just a convenience thing, but it could spare somebody the debugging effort and would not be too difficult to implement.
I would also be willing to submit a pr for such behavior if needed! :)
Have a nice day everyone,
Breuxi

seems like a good idea to me, feel free to submit a PR!

Hey, I've just pushed a fix for this. If I uninstall wget or unzip or a few other commands, it does now exit the script and output an error message.
Tysm for raising the issue.


Add getScale property

Pre-Flight Checklist
I have made sure to

[x] add tests to maintain 100% test coverage & add a Storybook example (when
this makes sense)
[x] manually test all the Storybook examples
[ ] run $ yarn build to build the project code

Hi, I was wondering how to enlarge the zoom scale at some of the images. On our team blog some images have 2x more height than width and the magnification is too small to read text on them. I decided to create a programmable possibility to specify zoom scale based on some image properties. Take a look at the code and example from a storybook. Greetings!

lado

I am looking at this now 👀

@akcyp First of all, thank you for taking the time to contribute to the project!
The max width zoom example you added doesn't quite make sense to me, and it feels like this isn't quite ready. Check out this image:

Click to expand and view the screenshot

In this example, the zoomed image is far too big for the viewport, so it expands way beyond it. Is this what you're purposefully trying to do?
If so, I am not sure this is something I want to have to support forever, especially when I one day re-make this library.

@rpearce This is what I exactly trying to do - allow developers to specify the zoom scale by passing getScale function to props. In storybook example image is scaled to cover the entire viewport width, but it should be possible to scroll down the view.
https://user-images.githubusercontent.com/67923777/130748795-fba94408-7ba3-43a4-b79e-dfaf8c741ed9.mp4


Announcing Service substitution block

Updating note to say that the block of using Service caller id substitution for new caller ID policies has been implemented.

@JohanFreelancer9


Adds batching support to AnalyticsNode

This PR adds batching support to AnalyticsNode.
Plugin behavior
This plugin supports batching events and sending batches when 1 of 3 conditions is met:

Number of events in batch matches the maximum allowed number of events (configurable, default 15)
Adding an event to a batch would exceed the max payload size in bytes (not configurable, ~500 KB)
The amount of time since the batch was created exceeds the max wait time (configurable, default 1000 ms)

The plugin methods (track et. al.) resolve once the associated event has been sent to Segment or retries have been exhausted. This differs from the batching implementation in AnalyticsBrowser which instead resolves as soon as an event is enqueued. I decided to wait to resolve until the event was done being sent because it significantly simplifies the EventQueue's ability to keep track of in-flight events, which in turn makes it easier to support graceful shutdowns.
Implementation details
The plugin is broken into 2 main components:

ContextBatch
Publisher

The ContextBatch ensures that events are batched properly. It won't allow events to be added if they exceed the event count or byte count.
The Publisher does the heavy lifting. It is responsible for receiving events, creating batches, and sending those batches to Segment.

Perf testing
 New SDK vs old SDK ->
 new: 7054.5, old: 6639.55, difference:<PHONE_NUMBER>999998 (Requests per second)
 Diff performance: 6.25 %


Protected provide to Public provides

Docs show its public provides() not protected provide().
https://laravel.com/docs/master/providers#deferred-providers

Coverage remained the same at 92.671% when pulling 0c5297b7924fb184442884d48083f5aa65b7f007 on gcphost:patch-1 into 1bba9f3a54917788f83d3b90a91d139c92730e8e on brozot:master.


License

The license CC-BY-SA 4.0 mentioned in the README.md introduction contradicts the file LICENSE in that the GPL v3.0 is specified.
I recommend replacing the license with a permissive license such as MIT License https://choosealicense.com/licenses/mit/ .

Thanks guys for your feedback. We've updated the repository with a single permissive CC-BY license.

Thanks for your feedback, we have replaced it with a single permissive CC-BY license.


Exception on disabling

When remote-keyboard is activated, and telnet is connected, then switching keyboard fails.
The exception occurs:

2187 12187 E Connection: android.os.NetworkOnMainThreadException
12-23 21:53:01.609 12187 12187 E Connection:    at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1303)
12-23 21:53:01.609 12187 12187 E Connection:    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
...........
2187 12187 E Connection:    at net.wimpi.telnetd.TelnetD.stop(TelnetD.java:96)
12-23 21:53:01.609 12187 12187 E Connection:    at de.onyxbits.remotekeyboard.RemoteKeyboardService.onDestroy(RemoteKeyboardService.java:124)
12-23 21:53:01.609 12187 12187 E Connection:    at android.app.ActivityThread.handleStopService(ActivityThread.java:3396)

The notification does not disapear in this case, and it looks like remote-keyboard is still active.
Disabling the TelnetConnection must be done in a thread.
--> RemoteKeyboardService.java:124

My suggestion instead of telnetServer.stop();
Runnable rStop = new Runnable() { public void run() {telnetServer.stop();} };
new Thread(rStop).start();


Generate HTML coverage report

This PR improves the test coverage by implementing unit and e2e tests.
Additionaly:

Adds pytest-cov html coverage page into artifacts directory
Increases test verbosity to keep full equal-expected diff
Adds check for valid tag policy
Solves # DD - Deleted/Deleted conflict

/hold

Even if it embeds the page, then the report does not work inside the iframe. Having it in artifacts is the best thing we can do.

/hold cancel

/retest-required

/assign @elmiko
I think you are best placed to review this one

Changes since last review:
https://github.com/openshift-eng/rebasebot/compare/1c44d5eec397298a81dbb08249db63fe03641575..2463085ffc3364963782d17e81d935e12e1e0a9b

updates are nice, thanks @RadekManak
/lgtm


[Label] Make optional the prevention of text selection when double clicking label

Feature request
Overview
The Label primitive prevents text selection when double clicking the label.
This also prevents using the "up/down" arrows of an input element of type number placed inside the Label.
Adding an option to Label to disable the prevention of text selection would be great.
Who does this impact? Who is this for?
Advanced users. This request might be too specific, feel free to close this issue.

Here the source code of label
const Label = React.forwardRef<LabelElement, LabelProps>((props, forwardedRef) => {   return (     <Primitive.label       {...props}       ref={forwardedRef}       onMouseDown={(event) => {         props.onMouseDown?.(event);         // prevent text selection when double clicking label         if (!event.defaultPrevented && event.detail > 1) event.preventDefault();       }}     />   ); });
You can use the label component that is available from @radix-ui/react-primitive package since the only difference is onMouseDown
import { Primitive } from '@radix-ui/react-primitive';

Ah excellent, thanks for that! I use Shadcn UI, so I modified its Label component to add a disableSelectionPrevention option, as follow:
import * as LabelPrimitive from "@radix-ui/react-label";
import { Primitive } from "@radix-ui/react-primitive";
import { cva, type VariantProps } from "class-variance-authority";
import * as React from "react";

import { cn } from "@/lib/utils";

const labelVariants = cva(
	"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
);

const Label = React.forwardRef<
	React.ElementRef<typeof LabelPrimitive.Root>,
	React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> &
		VariantProps<typeof labelVariants> & {
			disableSelectionPrevention?: boolean;
		}
>(({ className, disableSelectionPrevention, ...props }, ref) => {
	const Component = disableSelectionPrevention
		? Primitive.label
		: LabelPrimitive.Root;

	return (
		<Component
			ref={ref}
			className={cn(labelVariants(), className)}
			{...props}
		/>
	);
});
Label.displayName = LabelPrimitive.Root.displayName;

export { Label };

I'll let the people at WorkOS decide if they want to add this option to @radix-ui/react-label, I still think it could be useful. If not, feel free to close this issue :slightly_smiling_face:

I've addressed the issue in #2753.

Oh excellent! Thanks for doing that!


Add further camera settings to deployment

In GitLab by @peterdesmet on Sep 8, 2020, 18:51
Note: this was suggested in the 2020-09-08 EUROMAMMAL technical call
Cameras can have additional settings that are not captured in the current deployment terms, such as:

detection_zone: Detection focus of camera trap (centered or full) full; centered
ir_mode: IR mode of camera trap far; near

This needs further community feedback before we can decide if and how this should be part of the standard.

Similar to #44. To my knowledge, there is no firmware standard for storing camera trap settings available; different manufacturers use different fields, etc. Thus, we have two options:

Add a new field cameraSettings to the deployment schema. This field would be a JSON object that could store any camera settings (see this PR #389).

Try to standardize a finite set of critical camera trap settings and add them as new fields to the deployment schema.

We need a broader discussion here. @jimcasaer @Tim-Hofmeester @ddachs @peterdesmet

I think the big problem with this is that many of these fields are model specific and many cameras might not have these options. So I think option 1 that @kbubnicki mentions above is the best option.

I agree with @Tim-Hofmeester on this. Settings are very manufacturer specific. To be honest, I feel like we could put the attributes of interest into the observationTags column. Just to give you an idea, this is and example of metadata I get from ICUServer for every image (some of these are deployment related rather than image related):
-  SizeInByte
-  ImageFormat
- ImageNight
- DateTimeLastSettings
- BatteryStatus
- FirmwareVersion
- SignalStrength
- Temperature
- CoordinateSwitch
- Latitude
- Longitude
- WorkPeriod
- WorkStart
- WorkEnd
- ThumbnailSize
- PIRInterval
- TimeScan
- imei
- iccid
- INITKey
- CameraName
- CameraModel
- CameraLanguage
- CameraNetwork
- MobileNetworkCode
- MobileCountryCode
- LocationAreaCode
- CustomerTimezone
- CustomerLanguage
- servertime

As you can see, that is a lot to choose from, and I am not sure, if digging into this pays of. However, with @kbubnicki idea to store the metadata in a json field, we would have the opportunity to store the raw metadata with relative ease, while maining maximum flexibility.
Since I retrieve metadata per image and not per deployment from my GSM cameras, I would prefer to have the json column in the media.csv. What do you think?

@ddachs great! We already have the json field exifData in the media.csv. Can that camera settings be added there (e.g. by extending the json)?

I don't think this is ideal for deployment related data. The plan with GSM cameras midterm is, to retrieve camera status data every time the camera contacts the server (in our case once every 24 hours). This data is independent of the images.  The question is: How should we deal with those best? Storing the raw data in json format? Preprocessing the data and store a summary? Camera settings should ideally be the same during a deployment. But there are exceptions, e.g. changing settings remotely. But there are dynamic values in the status informations, such as battery status.
I am in favour of storing status informations in raw json format in a dedicated column in the deployment table. As said, camera status informations include more than camera settings. I will post you an example of status informations soon, to give you an idea.  I expect them to be a subset of the metadata  we get for every image


Minor Error in step 6 of readme file (contribution guidelines)

Hey @QAZIMAAZARSHAD
There is a minor Error in readme file in Contribution Guidelines section. Please assign it to me.
Thanks

What error?

Instead of master it should be main branch.

No, it's fine, it's different for a few.

@QAZIMAAZARSHAD it's giving error.
If you want the same I don't have any problem


API Key Regex is overly restrictive

Details
I'm using kubernetes-secret-generator to create and sync API keys for my *arr stack.  I'm using the type: base64url for these keys, which can include upper and lowercase letters.  Exportarr requires the API key provided to it conform to a 32 character hex string here.  Exportarr will not accept the API keys I'm using in my cluster for my *arr applications because they do not conform to this regex.
What did you expect to happen:
Exportarr to either:

Conform to the api key requirements of the *arr stack applications (lidarr example)
Not restrict this input.

Anything else you would like to add:
I don't understand the purpose the input validation is serving here.  I believe I can regenerate my keys using the hex type, but I'd like to understand why this restriction exists before I either regenerate all my keys or open PR here.
Additional Information:
IaC api key generation

I honestly thought that the arrs only every generated and accepted a-z0-9{32}, while the former may be true the latter doesn't look to be.

That would do nicely 💯

Container image for https://github.com/onedr0p/exportarr/releases/tag/v1.6.2 is building now, enjoy!

Works great, thanks for the quick turnaround!


[Enhancement] Support for Text Shadow

Hi, can you add support for textShadowColor, textShadowOffset  & textShadowRadius?
https://reactnative.dev/docs/text-style-props#textshadowcolor

I don't want to add shadow support, Android gives me enough headaches with stroke.


Error executing: docker-compose up

I am trying to install OCI designer toolkit, I am trying it in an OCI Ubuntu instance. I have followed all the steps indicated in the installation guide, but in the following: docker-compose up
I get the following error:
https://yum.oracle.com/repo/OracleLinux/OL7/oci/included/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
.
.
.
failure: repodata/repomd.xml from ol7_ociyum_config: [Errno 256] No more mirrors to try.
https://yum.oracle.com/repo/OracleLinux/OL7/oci/included/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
ERROR: Service 'okit' failed to build
Could you tell me how to continue?
Thanks and regards.

It's not a good idea to install OKIT on an OCI instance since you have to put your private keys on that instance in the cloud. If that instance gets compromised you have given away the main key to your tenancy. That's especially bad if it's a customer tenancy. OKIT is intended to be installed on your personal computer where you're in control of your private keys. We have a roadmap for running OKIT in the cloud but we're not there yet just because it can't be done securely yet.

@jjciudad This is an issue with OCI not OKIT see Issue #38

Thanks webfrasse, toxophilist.
Today I tried to install on my laptop (Win10), for this I had to install docker for windows. I'm at the same point as yesterday, but now the error when executing "docker-compose up" is as follows:
ERROR: for c7227a46e147_okit  Cannot start service okit: Ports are not available: listen tcp <IP_ADDRESS>:80: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
ERROR: for okit  Cannot start service okit: Ports are not available: listen tcp <IP_ADDRESS>:80: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
ERROR: Encountered errors while bringing up the project.
I would appreciate your help.
Thanks and regards.

I donät have access to a windows env. but generally ports below 1024 will trigger a warning since they are considered privileged. I get a warning on my mac from vagrant for that reason. Another reason for this error could be the windows firewall or McAfee.
Maybe someone with a windows env. can add some insight to this issue?

Maybe you have something running on port 80 on your windows machine. I was able to install OKIT using docker image, I received the warning about ports below 1024, but the OKIT started fine.

@jjciudad Have you tried this with the latest release

This is an issues accessing the oracle yum repo from the box executing docker and associated with the yum update command in the docker file. To validate your system create a simple docker container based on the oraclelinux:7-slim image and connect then execute yum update.
If this works can you try the latest OKIT release and if you still see the issue with yum reopen this issue.


Update so that c# 7 tests will be run with the expected language version in test projects for c# 8 and above

Another partial fix for #3493. Possibly the last.

Any comments on this, @sharwell?


Always use the pxt.json name in cards, even for github projects

Don't try to do too much magic and simply display the project name from pxt.json.
This solves rendering issues with mon-repo github projects.

Fix for https://github.com/microsoft/pxt-microbit/issues/3914


fix crtauth handshake bug; allow system tests to set environment variables

easier system tests
Refactor MasterService so that it is possible to pass custom environment
variables (represented as a Map<String, String>).
This makes it possible for system tests to start the master with custom defined
environment - previously not possible since the MasterMain is started in the
same process.
Also pass the Master's view of environment variables down to the
AuthenticationPlugin framework to simplify their loading logic.
allow plugins to set paths that don't require auth
This fixes a bug where the CrtHandshakeResource (at /_auth) requires a
token in order to get a token, which will probably never work.

@gimaker @davidxia @rohansingh
Ultimately it would be nicer if this "plugin" framework had a way for implementers to easily be able to wire up what they need without too much extra work. For example: crtauth needs an instance of KeyProvider and doesn't really care about the actual concrete class, but since we use java.util.ServiceLoader there is a requirement for the loaded classes to have no-arg constructors so passing "configuration" down to the plugin is a bit tricky. I want to stay away from putting too much logic around this, so we don't end up practically rewriting Guice or Spring or some other sort of DI framework, but at the same time all this stuff with environment variables feels super hacky.

Looks great. :+1:

added a test of HTTP Basic too, now that SystemTestBase allows for mocking out environment variables.


fatal  error C1083: Cannot open include file: 'unistd.h': No such file

Build started...
1>------ Build started: Project: lnl, Configuration: Debug x64 ------
1>main.cpp
1>C:\dev\my\rudp_imp\LiteNetLibPP-main\src\main.cpp(2,10): fatal  error C1083: Cannot open include file: 'unistd.h': No such file or directory
1>Done building project "lnl.vcxproj" -- FAILED.
2>------ Build started: Project: ALL_BUILD, Configuration: Debug x64 ------
========== Build: 1 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
Using :
Microsoft Visual Studio Community 2022 (64-bit) - Current
Version 17.3.3
c++17

Should be fixed in https://github.com/Revan600/LiteNetLibPP/commit/d6c82214fa371eaa5137c55cf700ee9332cb422c


Save the chart as picture

Is there a solution to export graphics as images? Thank you for the answers and ideas.

Unfortunately, anything of that nature would require a program to render the image and therefore be out of the realm of python-pptx.

Unfortunately, anything of that nature would require a program to render the image and therefore be out of the realm of python-pptx.


Cherry Pick go-cni -> 1.1.5

Signed-off-by: Michael Zappa<EMAIL_ADDRESS>

/ok-to-test

We usually use the -x flag with git cherry-pick so you get the reference to the source commit for clean cherry picks into the commit message. Would you mind doing that and re-pushing just for posterity?


terminal app keyboard is sluggish

i am not sure if this issue belongs here, but the default finger terminal keyboard is awful on xz3, it's impossible to type without errors on every second keypress.
the sfos keyboard, eg notes, is fine, more responsive.

That is a fingerterm issue. There is ToeTerm on Openrepos but i doubt the keyboard is less cramped. (judging from screenshots).

Don't think it belongs to the port as such. Maybe its related to your battery issue, as something is going on on your device leading to high battery consumption.
Closing it here. If after fixing battery its still sluggish, open it with terminal developers please - assuming that everything else works properly.

it is not related with battery consumption, finger terminal has it's own keyboard so it might be an issue for terminal developers, or simply an app configuration issue.

I was making comment regarding 'sluggish' aspect. As for keys being jammed - I frequently use it in landscape mode to have some space. Will have to test ToeTerm again, haven't done it for a while. Feel free to file it with the devs of the terminal app - no idea who they are, though


Fitness trend will not preview tomorrow (but works fine from the day after tomorrow onwards)

I posted before about my fitness trend not showing today (https://github.com/thomaschampagne/stravistix/issues/558) and it was solved.
Nonetheless, now it does not let me preview tomorrow (but shows everything up to today and also from the day after tomorrow onwards).
Plugin 6.2.1 stable
Chrome  66.0.3359.181 64 bits
Windows 10 pro 64-bit

Can you provide me an export of your history? What is your timezone? City?

Hey @thomaschampagne sure I can. I'm on a different machine now but the same issue happens here as well (MacOS 10.13.4, Chrome 67.0.3396.79 (Official Build) (64-bit), Plugin 6.2.1 Stable).
City is Sao Paulo, Brazil. Timezone is GMT-3. History is attached. Thanks!
2018.6.8-7.38_v6.2.1.history.json.zip

@thomaschampagne I don't know if you had the chance to tackle this issue yet but definitely looks related to my time zone (as you suspected).
Just by changing from GMT-3 to GMT-0 (Sao Paulo to London) the issue is gone.
Best,
Fred

@fredcostapinto I tested your export at home and i were not able to see the problem with Sao  Paulo timezone :(
But it should be fixed by https://github.com/thomaschampagne/stravistix/issues/558 on April 20 right? (You were the author of this previous ticket)
Can you give me more details i don't see :) ?

Hey @thomaschampagne I've been following the updates on the app and it looks even more amazing with each patch, as always. Nonetheless, I noticed this issue still persists (at least on my timezone). I can preview the day after tomorrow and onwards on the fitness trend, but tomorrow doesn't exist on the chart.
Have you had the chance to take a closer look on this? Thanks as always. The most important add-on to strava to date in my opinion (which I have recommended to all my friends btw).
Best!

@fredcostapinto Could to validate/test the fix using the CI build upcoming in few minutes at : https://bitbucket.org/thomaschampagne/stravistix-ci-builds/downloads/
Thanks !

Perfect! Thanks a lot @thomaschampagne I just confirmed and it finally works with this build.
Best!

Oura!!  Live in next update ;)


Inconsistent recording of inputs and outputs in output files

There is an inconsistency in how variables are reported in the OUT.DAT and MFILE.DAT output files. Some variables are identified as iteration variables (ITV), inputs (IP), or outputs (OP). However, a lot of variables are not identified by any of these, some are inputs and some are outputs. It would be good if all variables in the output files are identified by what type of these variables they are.
I appreciate this might not be feasible as some variables might be inputs in one case, and outputs in another, but it would provide more clarity to what is actually being calculated in a PROCESS run.

So at present the way to include an IP or OP tag is to fill in the relevant field in each individual output statement.
The ITV tags are added automatically.
Once we have a master file of all variables with their short descriptions, long descriptions etc, it will be a straightforward if lengthy job to add the IP and OP tags for those variables where these are fixed.  Some variables can be input or output depending the values of the switches - tags for these variables will have to be added in the code.


set the lower bound based on the parent node if given

Based on the issue #16 I propose the following changes @dhendryc Cc: @matbesancon
When adding a new node the lower bound is set as the lower bound of the parent node if one is given (always just not for the root node). I've created a simple test to verify that this is true.
Maybe an actual test case for the issue written in #16 would be great as well.
Let me know what you think :)

LGTM!

@Wikunia thank you for fixing that! I only got around testing my example today and realized there is another issue related to this causing us to still evaluate more nodes than necessary. I did not think about that when proposing #16 : We should also not branch on nodes with greater lower bound. So we should avoid something like this:
The Solution at node 23 is [1.0, 1.0, 1.0, 1.0, 1.0] with primal 0.4000000000000001
The Solution at node 26 is [0.0, 1.0, 1.0, 0.0, 0.5999999994657994] with primal 0.52
Split index : 5 parent node : 26 children : 32 and 33
I am testing this example: min f(x) = 0.5*( sum (x_i -0.6)² ) over the 0,1-hypercube where each variable is discrete. The expected solution is the all 1 vector. The prints are from within evaluate_node!  and get_branching_nodes_info.
If we are only interested in one solution then there is no point in branching at node 26 because its lower bound is already worse than the tree incumbent. One could add an if-statement in get_branching_variable :
if node.lb >= tree.incumbent   return -1
Thank you and sorry for the late reply!

Thanks @dhendryc I'll look into it, hopefully tmr


gha: Remove priviledged helm option in {Ingress, Gateway}

Originally, this option is added for old minikube version, which requires priviledge permission to mount ebpf dir, however, we have migrated to kind + metallb in Ingress and Gateway related workflows.

/test


Compute all min/max values in one pass with Dask

Description
Previously we would compute the min/max of every layer with independent
calls.  This could cause problems with Dask because we would reload the
same Dask array many times, which was inefficient, especially with the
distributed scheduler.
Now we compute all of these at once with a dask.compute call.  This adds
concurrency and also helps us take advantage of shared structure between
different layers.
The dask.compute call will pass through non-dask objects, so this
shouldn't have any effect in the numpy case.
Type of change

Performance enhancement

How has this been tested?
I spot tested while running the following script
import napari
from dask.distributed import Client
import dask.array as da

x = da.random.random((10000, 10000))

client = Client(processes=False)

with napari.gui_qt():
    viewer = napari.view_image(x + 1)
    viewer.add_image(x - 1)

Final checklist:

[x] My PR is the minimum possible work for the desired functionality
[x] 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

Thanks for this @mrocklin! Don't worry about the failing formatting test @jni or I will fix before merge

What luxury :)
On Wed, Oct 14, 2020 at 4:13 PM Nicholas Sofroniew<EMAIL_ADDRESS>wrote:

Thanks for this @mrocklin https://github.com/mrocklin! Don't worry
about the failing formatting test @jni https://github.com/jni or I will
fix before merge
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/napari/napari/pull/1731#issuecomment-708708799, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKZTBDW5DTOIDSZIYPZ33SKYWCNANCNFSM4SRHH2OQ
.

Thank you @mrocklin!


Inline templates not usable inside #each

{{#*inline "item"}}{{id}}{{/inline}}{{#each items}}{{>item}}{{/each}}
will fail with exception due to not being able to find inline template "item". In the code, there were overridden context classes used by iterators that were not passing / providing the global inline templates dictionary making them available to the "each" context.
I wrote a fix and unit test for this issue. Although I used a light-touch, it may be a bit of a sledgehammer without my domain knowledge of this project, but appears to work. Pull request created.

#271 merged


There’s no iPad keyboard shortcut to close the window

Almost all other apps and browsers can close the window using either CMD-W or CMD-Shift-W (usually the former). Neither works with DDG and it is disruptive to keyboard users.

Hello, we don't support windows explicitly at this time.  Cmd-W should close your current tab though.  I've just validated that this works.  Please re-open if that's not the case or you can provide more details.  Thanks.


add support for transparent colors for color picker when styling by value

feature request

I'd love to be able to set a transparent color in a ramp, by editing the opacity of the colors

description
I wanted to categorize an OSM export by landuse, so I used the style by value, but there was a "others" category too much prominent

my first idea was to apply some opacity to it, but I think this is constrained in the UI by the colorpicker, wich won't let you edit the opacity
however, I've checked with @rochoa this is possible, and tried with the following cartocss

but I still wanted to do this through the colorpicker so I fiddled a bit, and removing the disabled attribute I managed to apply a "0" opacity to the color (and the rest of rgb values), which translates into a "transparent" value in the hex field

the sad part is when opening the colorpicker again it returns an error (as anybody would expect)

/cc @javierarce @saleiva @xavijam

Duplicated!


Add ability to enter Edit token group (Rename) by cmd+clicking the group

Let's add a way to open the Edit token group dialog when cmd+clicking it, which would be consistent how we do it for tokens itself.

@six7 would this be covered in #1811 and therefore we can close?

No, this is about the shortcut - the other about the ability to add descriptions

Added to Featurebase Roadmap : 🪙 Token organization enhancements

closing for now as its added into Featurebase for future work consideration.


Doesn't take a snapshot for short url

Hello, I have problem with supporting shortened urls.
like https://t.co/Tu5VjFfftA

Solved with the commit #102


Does anyone try this code on COCO dataset?

Does any one train this pytorch cascade RCNN model on COCO dataset? What's your mAP? Could the mAP of this repo reach the level of official cascade RCNN version?

🙋，still run，hope helpful


Add a rate limit for Prometheus API requests

Codecov Report

Merging #294 (e6b7fde) into main (f11f82b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #294   +/-   ##
=======================================
  Coverage   96.06%   96.06%
=======================================
  Files          68       68
  Lines        5310     5317    +7
=======================================
+ Hits         5101     5108    +7
  Misses        157      157
  Partials       52       52

Impacted Files
Coverage Δ

internal/config/prometheus.go
100.00% <ø> (ø)

internal/config/config.go
100.00% <100.00%> (ø)

internal/promapi/prometheus.go
94.18% <100.00%> (+0.13%)
:arrow_up:

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 f11f82b...e6b7fde. Read the comment docs.


Navigation

This is a request to pull changes to the nav bar.  This is really just placeholder text until we have determined the names of additional pages. or elements. this addressed issue #7

I think this issue got addressed in an alternate pull request https://github.com/suwebdev/adorable-wolf/pull/18 and I move to reject this pull request.


Update to new CSS structure

Live demo should be updated as well, now it looks broken

thanks :+1:
updated demo.
you think there should be android demo as well?

Thanks,
I am not sure about Android demo, does it have such functionality?


Transpile the build for older browsers.

Wouter lib uses optional chaining which is not supported by older browsers. Can we transpile it while building so its compatible?

Hi! We support ES2020 onward (the readme says 2019, but that is a typo. we'll fix it, thanks) and don't ship transpiled code. Is there a chance you can configure your bundler to transpile it for you?

I can transpile on my end. I just thought to bring this to attention as I
thought its very common to have a build where code is transpiled. Thank you
On Tue, Jun 4, 2024, 06:54 Alexey Taktarov @.***> wrote:

Hi! We support ES2020 onward (the readme says 2019, but that is a typo.
we'll fix it, thanks) and don't ship transpiled code. Is there a chance you
can configure your bundler to transpile it for you?
—
Reply to this email directly, view it on GitHub
https://github.com/molefrog/wouter/issues/454#issuecomment-2147600437,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE7TQD5WQMXPG6ULJLHOZTZFXBJHAVCNFSM6AAAAABIXONMKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBXGYYDANBTG4
.
You are receiving this because you authored the thread.Message ID:
@.***>


Zoom/pan controls in the acquisition window

Hi,
Is there a feature for zooming in/out and panning of the acquired image in the acquisition window that is launched from pycromanager?
When running an acquisition from micromanager, I can click and use the tools in the imageJ window on the acquisition window.
Thanks,
Chaitanya

Yes if you scroll the mouse wheel or press +/-

Got it, the +/- buttons work for me. Thanks.


Unicode Support?

Regarding ClipBoard_SetData:
I'm a noob, so I could be missing something simple, but it seems to me that using the windows API to put a string containing Unicode characters doesn't work as expected. It replaces all the characters with question marks (?).
I've got VBA code (used in Excel) that takes the contents of a cell and puts the text value in the clipboard.
For example: lets say A1 contains =UNICHAR(1234)
The code would be:
x = ClipBoard_SetData(Range("A1").Value)
and the result would be that the clipboard contains a question mark (?)
Any ideas how to modify the code to get Unicode characters working?
I've tried changing the value of CF_TEXT from 1 to 13 as per this link, however this instead put a series of strange characters into the clipboard, even with a normal non-Unicode string.

I'd just like to update this:
I found a solution that worked for me pulled and slightly modified from an answer here.
Option Explicit
Private Declare Function OpenClipboard Lib "user32.dll" (ByVal hWnd As Long) As Long
Private Declare Function EmptyClipboard Lib "user32.dll" () As Long
Private Declare Function CloseClipboard Lib "user32.dll" () As Long
Private Declare Function IsClipboardFormatAvailable Lib "user32.dll" (ByVal wFormat As Long) As Long
Private Declare Function GetClipboardData Lib "user32.dll" (ByVal wFormat As Long) As Long
Private Declare Function SetClipboardData Lib "user32.dll" (ByVal wFormat As Long, ByVal hMem As Long) As Long
Private Declare Function GlobalAlloc Lib "kernel32.dll" (ByVal wFlags As Long, ByVal dwBytes As Long) As Long
Private Declare Function GlobalLock Lib "kernel32.dll" (ByVal hMem As Long) As Long
Private Declare Function GlobalUnlock Lib "kernel32.dll" (ByVal hMem As Long) As Long
Private Declare Function GlobalSize Lib "kernel32" (ByVal hMem As Long) As Long
Private Declare Function lstrcpy Lib "kernel32.dll" Alias "lstrcpyW" (ByVal lpString1 As Long, ByVal lpString2 As Long) As Long

Public Sub SetClipboard(sUniText As String)
    Dim iStrPtr As Long
    Dim iLen As Long
    Dim iLock As Long
    Const GMEM_MOVEABLE As Long = &H2
    Const GMEM_ZEROINIT As Long = &H40
    Const CF_UNICODETEXT As Long = &HD
    OpenClipboard 0&
    EmptyClipboard
    iLen = LenB(sUniText) + 2&
    iStrPtr = GlobalAlloc(GMEM_MOVEABLE Or GMEM_ZEROINIT, iLen)
    iLock = GlobalLock(iStrPtr)
    lstrcpy iLock, StrPtr(sUniText)
    GlobalUnlock iStrPtr
    SetClipboardData CF_UNICODETEXT, iStrPtr
    CloseClipboard
End Sub

Public Function GetClipboard() As String
    Dim iStrPtr As Long
    Dim iLen As Long
    Dim iLock As Long
    Dim sUniText As String
    Const CF_UNICODETEXT As Long = 13&
    OpenClipboard 0&
    If IsClipboardFormatAvailable(CF_UNICODETEXT) Then
        iStrPtr = GetClipboardData(CF_UNICODETEXT)
        If iStrPtr Then
            iLock = GlobalLock(iStrPtr)
            iLen = GlobalSize(iStrPtr)
            sUniText = String$(iLen \ 2& - 1&, vbNullChar)
            lstrcpy StrPtr(sUniText), iLock
            GlobalUnlock iStrPtr
        End If
        GetClipboard = sUniText
    End If
    CloseClipboard
End Function

XeroByt3,
Thanks so much for your contribution. Your efforts help improve the quality of our VBA documentation. For this code example, I'm curious which version of Windows are you using?
Thanks,
Office Scale Team


Filtration time in camera event

Hello, thanks very much for you job!
I've seen in your code of camera event ad raw camera event there are two filtration time, but i can't see them when i program the node inside node red.
Hikvision-Ultimate version:
1.1.14
Node red is running inside Home Assistant Supervised in mini pc.

thanks again for your support.

Hi
Please point me out, where the timers are

this filter that you hide with camera function.
why do you hyde in that situation?
it could be very usefull when you use camera motion control to avoid too many false alarm.
thanks again! very kind

Hi
this set of timer is specific for radars.
In case of cameras or NVR, the filtering time should be set directly into the camera/NVR.

hello.
I apologize.
Very very very kind!
Thanks


Is tensorflow serving enabled?

Hi! Is it possible to use tensorflow serving to serve the model?

Hi, we only support PyTorch at the moment.

So, is there any way I can create a REST API for this model?

So, is there any way I can create a REST API for this model?

You can checkout our web demo for reference: https://huggingface.co/spaces/Salesforce/BLIP

Thank you! this helps


"play" argument doesn't work on [player~]

hi, it seems play function doesn't work with only start time like play 500-player~ (as in help file). when only the starting time is set, player~ plays the whole soundfile no matter which floats I set. (but it still works when set both start and end ms. time) maybe just a bug of object or must it be set with both start/end time?

that help file example is wrong but the actual documentation and the other messages explain it well, I'm just removing this message


New Build (<IP_ADDRESS>)

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


deps: update ESLint from ^3.16.1 => ^4.18.2

Updates ESLint (devDep) from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>This resolves a catastrophic backtracking security vulnerability that was determined by the ESLint team to be very unlikely to be exploited (ref: https://github.com/eslint/eslint/commit/f6901d0bcf6c918ac4e5c6c7c4bddeb2cb715c09)
Edits to additional files were generated by running eslint --cache gzemnid.js src --fix, since there were 11 errors from ESLint on running npm run lint after updating. After running the --fix, there are now no errors on my local machine. Here's a list of the errors that were resolved:
/Users/cyren/GitHub/tmp/Gzemnid/src/commands/depsdb.js
  138:1  error  Expected indentation of 6 spaces but found 8  indent

/Users/cyren/GitHub/tmp/Gzemnid/src/commands/extract.js
   48:1  error  Expected indentation of 8 spaces but found 11  indent
   61:1  error  Expected indentation of 4 spaces but found 12  indent
   62:1  error  Expected indentation of 4 spaces but found 12  indent
   63:1  error  Expected indentation of 4 spaces but found 12  indent
   64:1  error  Expected indentation of 4 spaces but found 12  indent
  188:1  error  Expected indentation of 6 spaces but found 17  indent

/Users/cyren/GitHub/tmp/Gzemnid/src/commands/packages.js
  38:1  error  Expected indentation of 6 spaces but found 24  indent

/Users/cyren/GitHub/tmp/Gzemnid/src/commands/server.js
  15:16  error  Unexpected space before function parentheses  space-before-function-paren
  48:23  error  Unexpected space before function parentheses  space-before-function-paren

/Users/cyren/GitHub/tmp/Gzemnid/src/queue.js
  3:13  error  Block must not be padded by blank lines  padded-blocks

@BridgeAR change as little as possible to address security issues. Could totally PR a newer version, though 👍

I think it is a good idea to update all dependencies to the newest compatible version :-)


Update legacy branch

Updates legacy with main changes and updates changelog with latest app updates.

Every time. Gosh.


LandCoverDemo image service cannot be added to ArcMap

The LandCoverDemo image service is cannot be added to ArcMAP. See error below.  I could not find a cooresponding image service in the portal to test.  I am unsure what the error means.  I am unaware of whose service this is. Can you please assign to correct person? @elinz
@jrweakland Is it necessary to have two land cover services? One for Demo and one for not?

l

@NatalieCampos - I do not believe that we need two services for the same data. My guess is that the LandCoverDemo image service is from last year's FedGIS and UC.

The description for this service is below.  As wells as the folder data on which it was created.  I also recommend deleting the service.

@NatalieCampos @jrweakland According to the portal service item, which does in fact exist (ccc51a902cd6495cb32692dafa8ea4c6), this service is owned by @dfoll. According to portal item description this service was for the storytelling workshop and should be deleted after the 22 may multispectral land characteristics consortium.
This service can't be accessed because the dataset this image service is based on doesn't exist:
(data server): Data\FoundationOverlays\LandCover\LandCoverDemo\LandCoverDemo.gdb\LandCoverDemo
@dfoll Can you please delete the NationalIntelligence\LandCoverDemo image service as according to portal item description it was supposed to have been deleted? You will also need to manually delete the associated portal item ccc51a902cd6495cb32692dafa8ea4c6. Thanks.

I deleted the Image Service and Portal Item.
@dfoll Please verify and close issue.

i don't see it in the REST endpoint anymore


Server-side Pagination: When a user clicks on the Refresh button on one page and navigates to another button does not appear

Setup

Rancher version: v2.9-head
Rancher UI Extensions:
Browser type & version:

Describe the bug
When a user clicks on the Refresh button on one page and navigates to another it does not appear. For it to display, user must refresh or leave and return to the page.

To Reproduce

go to Global settings > feature flags > enable ui-sql-cache
go to Global settings > performance > enable `Server-sdie Pagination'
go to cluster dash
click Storage in side nav
click ConfigMaps in side nav > notice Refresh button is dispalyed
click Secrets in side nav > notice Refresh button is dispalyed
click Refresh button
click ConfigMaps in side nav > notice Refresh button is no longer displayed

Result
When a user clicks on the Refresh button on one page and navigates to another it does not appear.
Expected Result
When a user clicks on the Refresh button on one page and navigates to another it is displayed on the page.

Screenshots
https://github.com/user-attachments/assets/87162bc3-c112-4187-9fbc-c52e28a56a1c

Additional context

/backport v2.9.next1


If unauthenticated, a big black dot appears in the Accounts Screen

Version - Master with reskin
Steps:

Authenticate through Github
Turn Off authentication
Go to the Accounts screen

Results:
There is now a big black dot under Identity

Expected:
Probably should not be there.

This is only if you turn auth on and off again, because we've saved that that account was tied to (in this case) GitHub, but can't hit them anymore to get info about that user.


Guest upload improvements and fixes

This is on production right?

We disabled stage branch protection temporarily for the deploy, but we should go back to merging into stage then master.

I'll test locally some more to make sure the merge didnt change anything. Then I'll redeploy and after that if everything's fine I'll merge into master.


0.6.x - 0.7.x versions gone on npm ?

Hi
I just noticed that it looks like the only installable targets on NPM are version 1.0.0-alpha.x
Our project currently depends on 0.7.14
Why are these targets gone?
Is there a changelog so I can at least see if there are any breaking changes or something?
Thank you

Never mind that
Was mistaking cleave with cleave.js ...
Closing


If an XPC client doesn't care about a nodeID (hasn't made it), don't create one

If we create an MTRDevice here, it immediately will dealloc, which will cause a loop of registrations.

Verbal approval, force merging given urgency here and Darwin tests passed.


Node bounding box doesn't update on undo geometry movement

From @ghost on March 24, 2014
Reference on googlecode: https://code.google.com/p/jmonkeyengine/issues/detail?id=398
Copied from original issue: jMonkeyEngine/jmonkeyengine#42

Actually this Issue seems fixed to me but since you're working on that code, you have the final say.
Note that the Bounding Box still doesn't 100% match the Mesh, but this could be due to me running Controls which simply don't update those boxes.

I can't reproduce this. Suggest we close it.


Buggy Library

In my entire data science life, I never watch a buggy library like this.
in one line explain this is one of the buggiest library ever found in PyPI.

This is not a helpful issue. Open source offers you no guarantee. If it's too buggy, do something about it.

I am so sorry about my behavior. Actually, I working on a project with my teacher, and it's pushing me into a bad situation and I lost my mind. I really apologize for my behavior.

I am so sorry about my behavior. Actually, I working on a project with my teacher, and it's pushing me into a bad situation and I lost my mind. I really apologize for my behavior.


[FEATURE] Add a period local storage cleaner thread

What changes were proposed in this pull request?
Add a period local storage cleaner thread to check the leak shuffle data on disks
Why are the changes needed?
Because we don't use strict lock strategy, we will delete some shuffle data normally. If we use strict lock strategy, the performance will be bad. So we want to add a period local storage cleaner thread. The thread examine which application is in the disk and judge whether the app exists the memory data structure ShuffleTaskManager#shuffleTaskInfos. If memory data structure don't exist, we will delete the data in the disk.
Does this PR introduce any user-facing change?
No
How was this patch tested?
tests were added

We should fix the code style. you can see https://github.com/apache/incubator-uniffle/actions/runs/3540626983/jobs/5943958492

OK I will fix it

Merged. Thanks @sfwang218 , It's great work!


When do you plan to release version supporting spring Spring Boot 3.4.x

CompatibilityVerifierProperties in 4.1.5
at the moment supports
private List compatibleBootVersions = List.of("3.2.x", "3.3.x");
I am looking for 3.4.x support (which I can see is already implemented) but not yet released.

Hello @awarum, as you can see in the release calendar, the start of the 2024.0.0 Spring Cloud release is planned for today.

Thank you for the answer. This is excellent news! 🎉😊 I couldn’t have wished for anything better. 💯


Precedence conflict between assignment and object plugins

among those new plugins I thirst for object plugin most, thank you to make it possible!
when I register both assignment and object plugins, it make combination of assignment and ternary error out. such as
a ? log(a) : a = 1
we expect to compute test a first and then the assignment later on:
{
    "type": "ConditionalExpression",
    "test": {
        "type": "Identifier",
        "name": "a"
    },
    "consequent": {
        "type": "CallExpression",
        "arguments": [
            {
                "type": "Identifier",
                "name": "a"
            }
        ],
        "callee": {
            "type": "Identifier",
            "name": "log"
        }
    },
    "alternate": {
        "type": "AssignmentExpression",
        "operator": "=",
        "left": {
            "type": "Identifier",
            "name": "a"
        },
        "right": {
            "type": "Literal",
            "value": 1,
            "raw": "1"
        }
    }
}

but in fact it will throw out error:
evaluate.js:66 Error: Expected : at character 17
    at Jsep.throwError (jsep.js:327)
    at Jsep.gobbleTernary (jsep.js:1126)
    at jsep.js:53
    at Array.forEach (<anonymous>)
    at Hooks.run (jsep.js:52)
    at Jsep.runHook (jsep.js:342)
    at Jsep.gobbleExpression (jsep.js:440)
    at Jsep.gobbleExpressions (jsep.js:415)
    at Jsep.parse (jsep.js:385)
    at jsep (jsep.js:1040)

but if I group the assignment with parentheses：
a ? log(a) : (a = 1)
jsep can parse as expected.
I remove the registration of assignment plugin, and add it as binaryOP:
jsep.addBinaryOp("=", 0.96)
then jsep works as expected!
note: I give it precedence of 0.96 as I found assignment plugin have
jsep.addBinaryOp(':', 0.95)

@zclc - would you like to try manually testing the PR to see if it resolves your issues?

@6utt3rfly I just reinstalled latest jsep and its plugins, the issue is still there.
I am wondering if the latest packages are really built from latest source code. I saw there is v1.2.0 release, but the version on package.json is still on 1.0.2.
below are all the lastest versions I got:
"@jsep-plugin/assignment": "^1.0.1",
"@jsep-plugin/comment": "^1.0.1",
"@jsep-plugin/new": "^1.0.1",
"@jsep-plugin/object": "^1.1.0",
"@jsep-plugin/regex": "^1.0.1",
"jsep": "^1.1.0",

@zclc  We haven't built a new release with PR #199 (still in review). Are you able to manually use the source from that PR to try?

I tried, but I didn't get to know how to pull PR yet.
by the way I also failed to build jsep locally.
currenly I am using acorn instead to parse my expression, but I still like the lightweight of jsep.

FYI @zclc - you can now use<EMAIL_ADDRESS><EMAIL_ADDRESS>and<EMAIL_ADDRESS>(pre-release versions)


Multisig. Can process with the same signatories.

Description
When user creates multisig it should not allow to add the same addresses multiple times
Example:
https://github.com/user-attachments/assets/516f08c3-1856-4c03-be0d-2cd2fec54fb3
Steps to Reproduce

Go to Multisig creation flow
On "Create multisig" window add a few signatories with the same addresses

Expected Behavior
Unique account list in signatory participations
Actual Behavior
Can add the same address multiple times
Environment
https://github.com/novasamatech/nova-spektr/commit/0a3e32d5edae91d623fe09e5f930055e615e403a

Status verification: ✅


how to preserve text format

for example if i copied a text with a char like => the copied text will become =>, so is there a way to add an option to disable that ?

try something like
let txt = 'abc => test '

// now try to copy it
this.$copyText(txt)

paste the data and check the output.

@Inndy any update ?

I'm busy these days, it would take some efforts to fix this due to it must add a new DOM to current document body. It may cause some problem (like triggering unwanted event callback or something else). I will try to fix $copyText later.

https://codepen.io/anon/pen/wEEBor
https://codesandbox.io/s/64xo8n4163
Can't reproduce with latest<EMAIL_ADDRESS>

all good, does it require any extra configs ?

As you can see, latest release was made at Jul, and I did not change any code. Just use it as the same.
BTW, I had added eslint to this project, so perhaps we can have less silly bug like #36.

oh am sorry, totally forgot its the already released version,
am using with this.$copyText() maybe the usage is different than the normal ?

I think you should check your code if Laravel already did the HTML entity encode.

actually laravel has nothing to do with it, i simply use this.$copyText(item.innerHTML)

Use item.textContent instead, or you will get HTML entity encoded string.

awesome, many many thanx for the quick help 🏆


Error doing POST request to http://rdfshape.weso.es:8080/api/schema/visualize: Error: Network Error

While trying the following shape I got this error:
Error doing POST request to http://rdfshape.weso.es:8080/api/schema/visualize: Error: Network Error

Any hint?

I tried it and it works for me:
https://tinyurl.com/ycmfz7xm
Could it be a temporary error?
By the way the first shape:
:User {
 a :Person
}

is probably wrong, it should probably be:
:User {
 a [ :Person ]
}

Yes now it works for me too, you can close this issue 🙃. Regarding the shape I was just trying out things about with the ‘a’ keyword. Thanks.
El 30 abr 2020 16:38 +0200, Jose Emilio Labra Gayo<EMAIL_ADDRESS>escribió:

I tried it and it works for me:
https://tinyurl.com/ycmfz7xm
Could it be a temporary error?
By the way the first shape:
:User {
a :Person
}
is probably wrong, it should probably be:
:User {
a [ :Person ]
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


allow to repackage when image is not build

@ryanjbaxter brain fart from my side in one of the previous PRs...

I'm checking the build failure on main...


Transpile on build and do not check in compiled assets

The content https://github.com/lbryio/spee.ch/pull/536 of looks like something that should not be checked in. Also, if that's generated manually, it can presumably be added to CI.

agreed.  The reason it is getting checked in now is because www.spee.ch uses spee.ch as a package and the package code needs to be transpiled.  I'm planning to combine the two repos because the original reason for splitting them is no longer necessary and it will be simpler with one repo.  https://github.com/lbryio/spee.ch/issues/516


Unittests

Write unit-tests to show that these features are working as expected:

[x] Structural zeros
[x] Structural missing values
[x] Propagation
[x] StagedTrees.py

This is done, it seems. So I am going to close this issue.


[OSRM] Write functions to grab walking time between start / end location and stops

Started doing this in utils/RaptorUtils.js

f3ea6b8fd98b3aaea5bad4907758432217402c72


Does not work with php exec/ssh on digitalocean

I have an Droplet on Digitalocean. Installs pageres global with npm. When i make an pageres request directly in the terminal, it works...but when i make an exec() over php, it loads and loads, but nothing...i have tried it with SSH from Laravel 4, but same problem :(
Any idea?

I tried this:
exec('pageres http://google.com 2>&1', $output, $returnCode);
$output = implode(PHP_EOL, $output);
echo $output . ' ' . $returnCode;

and become "âœ” Generated 82 screenshots from 1 url and 82 resolutions 0".
It has make 82 screenshots from 82 resolutions, but i need only one :( The same issue i have on local xampp

https://github.com/sindresorhus/pageres/issues/167


PreFX ColorMatrix cuts off image based on camera

Version

Phaser Version: 3.86.0

Operating system: Windows 11

Browser: Only tested in latest versions of Brave and Edge, but comes up in both

Description

Assigning preFX.addColorMatrix(); to an image cuts it off based on the camera's dimensions and zoom level, leaving a portion of the image at the very center. You don't even have to change the ColorMatrix properties for this to happen. Changing it to postFX fixes the issue.

Example in sandbox.

https://phaser.io/sandbox/ygXinikQ


mixs crd adapter produces different CRDs from helm

Auto-generated CRD by mixs crd:
kind: CustomResourceDefinition
apiVersion: apiextensions.k8s.io/v1beta1
metadata:
  name: zipkins.config.istio.io
  labels:
    package: zipkin
    istio: mixer-adapter
spec:
  group: config.istio.io
  names:
    kind: zipkin
    plural: zipkins
    singular: zipkin
    categories:
    - istio-io
    - policy-istio-io
  scope: Namespaced
  version: v1alpha2

Helm version:
kind: CustomResourceDefinition
apiVersion: apiextensions.k8s.io/v1beta1
metadata:
  name: zipkins.config.istio.io
  annotations:
    "helm.sh/hook": crd-install
  labels:
    app: mixer
    package: zipkin
    istio: mixer-adapter
spec:
  group: config.istio.io
  names:
    kind: zipkin
    plural: zipkins
    singular: zipkin
    categories:
    - istio-io
    - policy-istio-io
  scope: Namespaced
  version: v1alpha2

I'm thinking the auto-generated CRD should go away once MCP becomes the only config API for Mixer (and/or Mixer is subsumed into the Proxy).

We still need to generate CRDs somewhere, right, be it mixer or galley?
I think we were going to deprecate most of the CRDs anyways, but as of 1.1, this is not working as expected.

I don't think we need to generate these CRDs in this fashion with the new Mixer config model, right? Once those CRDs are deprecated and removed this functionality should go away.
@douglas-reid any thoughts on whether we need to reconcile the currently checked-in CRDs with the generated ones?

I marked the command as deprecated in #11958

what is the diff here?  it is just the helm cruft, right?

In my very limited understanding, helm treats a label change as upgrade-breaking.

where did the "app" label come from?  i figured helm itself added it.

https://github.com/istio/istio/blob/release-1.1/install/kubernetes/helm/istio-init/files/crd-11.yaml#L69

Marking this as P1 and keeping it as 1.2. @douglas-reid, I assume 1.2 is the right release for removing this, as I assume there are no more incoming built-in adapters planned? (So that we won't need this?)

Closing since we removed the command (needs a doc update).


Fix spelling error

The check failed on logging into Docker Hub, I don't believe that should be whatsoever affected by removing an extra "a."


Allow controlling the skuba verbosity

Instead of setting it to 10, let use modify it via an env var
Why is this PR needed?
Does it fix an issue? addresses a business case?
add a description and link to the issue if one exists.
Fixes #
Reminder: Add the "fixes bsc#XXXX" to the title of the commit so that it will
appear in the changelog.
What does this PR do?
please include a brief "management" technical overview (details are in the code)
Anything else a reviewer needs to know?
Special test cases, manual steps, links to resources or anything else that could be helpful to the reviewer.
Info for QA
This is info for QA so that they can validate this. This is mandatory if this PR fixes a bug.
If this is a new feature, a good description in "What does this PR do" may be enough.
Related info
Info that can be relevant for QA:

link to other PRs that should be merged together
link to packages that should be released together
upstream issues

Status BEFORE applying the patch
How can we reproduce the issue? How can we see this issue? Please provide the steps and the prove
this issue is not fixed.
Status AFTER applying the patch
How can we validate this issue is fixed? Please provide the steps and the prove this issue is fixed.
Docs
If docs need to be updated, please add a link to a PR to https://github.com/SUSE/doc-caasp.
At the time of creating the issue, this PR can be work in progress (set its title to [WIP]),
but the documentation needs to be finalized before the PR can be merged.
Merge restrictions
(Please do not edit this)
We are in v4-maintenance phase, so we will restrict what can be merged to prevent unexpected surprises:
What can be merged (merge criteria):
    2 approvals:
        1 developer: code is fine
        1 QA: QA is fine
    there is a PR for updating documentation (or a statement that this is not needed)

Maybe my grep skills are lacking, where is SKUBA_VERBOSITY defined to 10, and how are you ensuring this in code?

I agree, this exposes a new variable in the pipeline... but without knowing what this means, I cannot judge. (It's not referred in the commit message either). Is there something I should know to review this, like another PR maybe?

Well...do you want to go down the rabbit hole? :D (hint: check https://github.com/SUSE/skuba/blob/master/ci/infra/testrunner/utils/constants.py#L200 and the hierarchy in https://github.com/SUSE/skuba/blob/master/ci/infra/testrunner/vars.yaml to understand how the env vars are dynamically generated, so skuba_verbosity and skuba_binpath are both valid without mentioning them anywhere)
Check the comments on how to use them https://github.com/SUSE/skuba/blob/master/ci/infra/testrunner/README.md#L92
Currently closing this, I was just testing it this worked as expected.

Shiiit, I remember now.


Clear formats in file

I have a problem with the file, it parse incorrectly, but if I open the file manual in excel and press the CLEAR FORMATS button and save the file, the problem disappears. Is there a way to clear formats programmatically? Thx for all !
test.xlsx

I have made some test with file, and i think that the problem is in the first line, where the names are written in Cyrillic, if i rename them, then the file is perfectly parsed. Maybe there are some special characters? Can you analyze my file? (test.xlsx)

Sorry, I didn't understand what's means "parse incorrectly" as your say. Which version of this library were your using? Did you get any errors? Please follow the issue templates to provide more details about this.

Ok, for example,  the first line is displayed perfectly, as in the excel file, but line 100000 already looks different from the file, I am attaching screenshots...

It seems you set the numeric cell value as a text string. Please convert it to numeric data types before setting the cell value. Could you follow the issue template, and show us a complete, standalone example program or reproducible demo?

This excel file i am get from mail, I don’t install anything in it, I have the task of parsing it and then inserting rows into the database. But the problem is that some kind of bugs occurs during parsing, I have attached screenshots where you can see that the first line is the same as in the original file, but line 100000 no longer matches the source file.

My code is very simple
`
f, err := excelize.OpenFile("test.xlsx")
if err != nil {
fmt.Println(err)
return err
}
defer func() {
if err := f.Close(); err != nil {
fmt.Println(err)
}
}()
	sheets1 := f.GetSheetList()

	rows, err := f.GetRows(sheets1[0])
	if err != nil {
		fmt.Println(err)
		return err
	}
	for i, row := range rows {
		if i == 1 || i == 100000 {
			fmt.Println(row)
		}
	}`

This issue caused by shared string table index shich contains blank characters, we need to trim these before covert it into integer, for example made some change based on the commit 60b9d02 whould you like to create a pull request to fix it? Or I'll fixed it later.
This issue is caused by the shared string table index which contains blank characters, we need to trim these blank characters before converting them into integers, for example, made some changes based on the commit 60b9d02. Would you like to create a pull request to fix it? Or I'll fix it later.
diff --git a/cell.go b/cell.go
index 5ebcefe..5fcadce 100644
--- a/cell.go
+++ b/cell.go
@@ -564,7 +564,7 @@ func (c *xlsxC) getValueFrom(f *File, d *xlsxSST, raw bool) (string, error) {
    case "s":
        if c.V != "" {
            xlsxSI := 0
-           xlsxSI, _ = strconv.Atoi(c.V)
+           xlsxSI, _ = strconv.Atoi(strings.TrimSpace(c.V))
            if _, ok := f.tempFiles.Load(defaultXMLPathSharedStrings); ok {
                return f.formattedValue(c.S, f.getFromStringItem(xlsxSI), raw)
            }
diff --git a/cell_test.go b/cell_test.go
index 58a4bee..565c1c9 100644
--- a/cell_test.go
+++ b/cell_test.go
@@ -432,6 +432,11 @@ func TestGetValueFrom(t *testing.T) {
    value, err := c.getValueFrom(f, sst, false)
    assert.NoError(t, err)
    assert.Equal(t, "", value)
+
+   c = xlsxC{T: "s", V: " 1 "}
+   value, err = c.getValueFrom(f, &xlsxSST{Count: 1, SI: []xlsxSI{{}, {T: &xlsxT{Val: "s"}}}}, false)
+   assert.NoError(t, err)
+   assert.Equal(t, "s", value)
 }

 func TestGetCellFormula(t *testing.T) {

This issue is caused by the shared string table index which contains blank characters, we need to trim these blank characters before converting them into integers, for example, made some changes based on the commit 60b9d02. Would you like to create a pull request to fix it? Or I'll fix it later.
diff --git a/cell.go b/cell.go
index 5ebcefe..5fcadce 100644
--- a/cell.go
+++ b/cell.go
@@ -564,7 +564,7 @@ func (c *xlsxC) getValueFrom(f *File, d *xlsxSST, raw bool) (string, error) {
    case "s":
        if c.V != "" {
            xlsxSI := 0
-           xlsxSI, _ = strconv.Atoi(c.V)
+           xlsxSI, _ = strconv.Atoi(strings.TrimSpace(c.V))
            if _, ok := f.tempFiles.Load(defaultXMLPathSharedStrings); ok {
                return f.formattedValue(c.S, f.getFromStringItem(xlsxSI), raw)
            }
diff --git a/cell_test.go b/cell_test.go
index 58a4bee..565c1c9 100644
--- a/cell_test.go
+++ b/cell_test.go
@@ -432,6 +432,11 @@ func TestGetValueFrom(t *testing.T) {
    value, err := c.getValueFrom(f, sst, false)
    assert.NoError(t, err)
    assert.Equal(t, "", value)
+
+   c = xlsxC{T: "s", V: " 1 "}
+   value, err = c.getValueFrom(f, &xlsxSST{Count: 1, SI: []xlsxSI{{}, {T: &xlsxT{Val: "s"}}}}, false)
+   assert.NoError(t, err)
+   assert.Equal(t, "s", value)
 }

 func TestGetCellFormula(t *testing.T) {

Thx. I am wait for your fix.


PowerToys Run cannot update results immediately after typing, pressing Enter too soon starts the wrong thing

Microsoft PowerToys version
0.69.1
Installation method
GitHub
Running as admin
No
Area(s) with issue?
PowerToys Run
Steps to reproduce

Install PowerToys 0.69.1 on a ~12 year old (or otherwise slow) laptop running Windows 10 22H2.
Use PowerToys Run, type fast and press Enter.
Observe that usually the wrong thing is started because you didn't wait long enough for the results list to update.

This is easy for me to reproduce on an old / slower laptop and may be hard to reproduce on a newer / faster computer.
The results list doesn't update immediately after typing; there is some delay that makes it very easy to start the wrong thing when pressing Enter. This happens in PowerToys Run (0.69.1) with Input Smoothing disabled, Immediate plugins: 0 ms, and all the plugins except Programs disabled. That is, there is apparently no set of options that makes it safe to press Enter blindly after typing:

PowerToys Run (0.51.1) worked better because it updated immediately, making it safe to press Enter blindly after typing:

✔ Expected Behavior
It should be possible to configure PowerToys Run to update its results list synchronously after typing
❌ Actual Behavior
It is not possible to configure PowerToys Run to update its results list synchronously after typing
Other Software
No response

I have been running into this even on a faster computer (i9-9900) -- if I type a string that I know matches what I want and immediately hit Enter, whatever I last launched opens instead of the thing I searched for.
I'd be ok with a delay while the search results caught up, as long as I can hit Enter right away and have the right thing launch.

Yes, this issue became much worse with whatever was released a few weeks ago. Whereas before PowerToys Run would launch the correct thing on my Windows 10 / 7950X3D, now it frequently launches the wrong thing.

Testing on my fast computer. Input smoothing disabled for PowerToys Run, typing fast and checking if it launches the right thing:
PowerToysSetup-0.83.0-x64.exe - bad
PowerToysSetup-0.82.1-x64.exe - bad
PowerToysSetup-0.81.1-x64.exe - good


Support for Ubuntu 18.04

I have done some testing with the beta release of Ubuntu 18.04 and was able to the ansible-playbook working with these changes:
diff --git a/ansible/roles/base/tasks/main.yml b/ansible/roles/base/tasks/main.yml
index 68c0d3b..9fc2494 100644
--- a/ansible/roles/base/tasks/main.yml
+++ b/ansible/roles/base/tasks/main.yml
@@ -41,7 +41,8 @@
     - sudo
     - python3-venv
   tags: packages
-  when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '16.04'
+  when: (ansible_distribution == 'Ubuntu' and ansible_distribution_version == '16.04') or
+        (ansible_distribution == 'Ubuntu' and ansible_distribution_version == '18.04')

 - name: Start supervisor
   service: name=supervisor state=started enabled=yes
diff --git a/ansible/roles/db/tasks/main.yml b/ansible/roles/db/tasks/main.yml
index 0f98a57..5e4148f 100644
--- a/ansible/roles/db/tasks/main.yml
+++ b/ansible/roles/db/tasks/main.yml
@@ -29,6 +29,7 @@
                    password={{ db_password }}
                    priv=ALL
                    state=present
+                   encrypted=yes

There may be a better way to include '18.04' when installing packages, but the package names for 16.04 and 18.04 are the same.
Also, I am not sure of the impact of adding "encrypted=yes" to the task that creates the postgresql user, but the modification was necessary  to add it to get the playbook to run.

Thank you very much.
I'll aim to merge this before 18.04 is out of beta. And I'll add 18.04 to the deployment tests.
Thanks again!

Ubuntu 18.04 is now fully supported.
Support for previous versions have been dropped.


[submodule-sync] bot-submodule-sync-branch-22.06 to branch-22.06 [skip ci] [bot]

submodule-sync to create a PR keeping thirdparty/cudf up-to-date.
 If failed, it will remain open until test pass or manually fix.

HEAD commit SHA: 708a0571f1b43e5e6dc713bfcf2725daffbaa330, CUDF commit SHA: https://github.com/rapidsai/cudf/commit/19c5bad020559bd34427d1b30cbf0c46c8c87d82
Test passed: False

This appears to be a hiccup from the artifact repository during the build, I expect this to pass on the next attempt if the artifact repository is back to normal.


connect-web peer dependency on protobuf is too strict

Describe the bug
@bufbuild/connect-web has a peer dependency on @bufbuild/protobuf, pinned to an exact version (0.2.0). The latest @bufbuild/protobuf release is 0.2.1.
Attempting to install the latest versions (or update to the latest versions) of these two dependencies fails. Installing without specifying the versions picks up the older version of @bufbuild/protobuf, which has a bug.
I think the peer dependency should be specified as ^0.2.0 to allow for bugfixes.
To Reproduce
$ npm init
$ npm install<EMAIL_ADDRESS><EMAIL_ADDRESS>npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@bufbuild/protobuf
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@bufbuild/connect-web
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See ~/.npm/eresolve-report.txt for a full report.

Environment (please complete the following information):

@bufbuild/connect-web version: 0.3.0
npm version: 8.19.2

Hi @haines.  I agree, the dependencies are a bit strict.  However, we have it like that for now while we're pre-1.0 just because we don't want to accidentally break users when upgrading since protobuf-es is a bit fluid now with APIs and such.
That being said, we are actually nearing a v1.0 release for protobuf-es, at which time we'll relax the peer dependencies a bit.  In related news, I will be publishing a release of connect-web today, which should fix this issue also.  Apologies for the inconvenience.

Published a v0.3.1 release which should alleviate the peer deps issue.

Thanks @smaye81 🙇


chore: removed python 3.8 from CI

What are the relevant tickets?
Closes https://github.com/mitodl/hq/issues/6086
Description (What does it do?)
CI was failing after the merge of https://github.com/overhangio/tutor/commit/a666732f1ad7368f3b6a391a2b1c7c1783df3b4b. This PR removes python 3.8 from CI.
Note: edx-platform is also running tests only on python 3.11
Screenshots (if appropriate):

[ ] Desktop screenshots
[ ] Mobile width screenshots

How can this be tested?
Verify that all the checks are passing and all the tests are running
Additional Context

@feoh, sorry, It seems like there's some new error coming on CI when running the tests. I'll look into them and will re-label this PR ready for review after solving the issues


Need  letterSpacing ,wordSpacing & text height  features Like available in flutter TextStyle

Is there an existing issue for this?

[X] I have searched the existing issues

Use case
These features like   letterSpacing ,wordSpacing & text height  are use full in many use cases just like google docs and i also requires some kind of features in my app ..
Thank You
Proposal
Need  letterSpacing ,wordSpacing & text height  features Like available in flutter TextStyle
           const Text(                                 'Screens',                                 style: TextStyle(                                   color: primaryColor,                                   fontSize: 22,                                   fontWeight: FontWeight.w600,                                   height: 2,                                   letterSpacing: 5,                                   wordSpacing: 2,                                 ),

This would result in breaking changes in terms of style configuration, I would argue against such a feature in the library.
My main reasons being:

Now style is passed as a configuration to the editor fixed on each 'css class', making  letterSpacing ,wordSpacing & text height configurable per fragment, would result in massive breaking change, it also makes dimension calculation much more difficult for rendering positions of objects such as inline embed accurately.
Flutter quill is a productivity tool NOT a creation tool, it should optimize towards overall usage efficiency/productivity. Introducing productivity reduction features such as those mentioned (I would also include font size in this category) is against its design goal. Checkout apple/google's UI design guidelines, you soon realize given any specific device /screen resolution /a particular font-category ( such as heading1, heading2, body, quote etc), there is really ONLY ONE setting that is ever optimal for comfortable viewing, any deviation from this very specific optimal setting is ergonomically inefficient. These decisions should be made by coders at design time and not by users at runtime, allowing users to configure these settings in a productivity tool is wasting users' time.
Quill can not aim to be a fully fledged creation tool because the underlying metadata (delta/mark down) format is not turing complete. Many features such as excel/word style tables can never be properly implemented without smuggling/encoding some sort of extensions (ie. xml, latex, or other turing complete metadata format) into the poor delta/markdown format.
quill is like a hammer or chisel, you use it to chip away things, if you need a scissor for some fancy origami work, then it's probably better to find a scissor to use in the first place. makeshift scissors will never be good enough.

I can solve your problem to line spacing. I make a custom block attribute that makes this


Datepicker Initialize with Options dayLabels do not work.

Hi i set this  init options
 $(document).ready(function() {     $('#date').datepicker({         numYearsBefore: 50,         numYearsAfter: 10,         format: 'MM/DD/YYYY',         initDate: moment(),         dayLabels: [             {                 full: 'Domenica',                 abbv: 'Dom'             },             {                 full: 'Luned&#236',                 abbv: 'Lun'             },             {                 full: 'Marted&#236',                 abbv: 'Mar'             },             {                 full: 'Mercoled&#236',                 abbv: 'Mer'             },             {                 full: 'Gioved&#236',                 abbv: 'Gio'             },             {                 full: 'Venerd&#236',                 abbv: 'Ven'             },             {                 full: 'Sabato',                 abbv: 'Sab'             }         ],         monthLabels: [             {                 full: 'Gennaio',                 abbv: 'Gen'             },             {                 full: 'Febbraio',                 abbv: 'Feb'             },             {                 full: 'Marzo',                 abbv: 'Mar'             },             {                 full: 'Aprile',                 abbv: 'Apr'             },             {                 full: 'Maggio',                 abbv: 'Mag'             },             {                 full: 'Giugno',                 abbv: 'Giu'             },             {                 full: 'Luglio',                 abbv: 'Lug'             },             {                 full: 'Agosto',                 abbv: 'Ago'             },             {                 full: 'Settembre',                 abbv: 'Set'             },             {                 full: 'Ottobre',                 abbv: 'Ott'             },             {                 full: 'Novembre',                 abbv: 'Nov'             },             {                 full: 'Dicembre',                 abbv: 'Dic'             }         ],         onChange: function(datepicker) {             console.log(datepicker);         }     }); });
but Datepicker use default name for dayLabels

Thank you for logging this! We will be looking into this as we refactor the plugins to support SLDS 2.x and we'll get back to you as soon as possible.

there is a  date for the new release  with bug fixed?

We currently do not have a target date set for the new release. We do hope to get through as many issues as possible in the coming days. The development branch is actively being worked on for the transition to SLDS 2.x markup support, and we will let you know when your fix is available in that branch.

Hello @scoppys, can you please test this file? https://github.com/appiphony/appiphony-lightning-js/blob/development/dist/jquery/jquery.aljs-datepicker.min.js
That is the datepicker plugin from our development branch. I would advise using this single plugin instead of the aljs-all file since there are several other plugins in the aljs-all file that are currently being reworked.

Hi  @kevinberonilla ,  the bug is still present
`jquery.aljs-init.min.js
and
https://github.com/appiphony/appiphony-lightning-js/blob/development/dist/jquery/jquery.aljs-datepicker.min.js
with this
$('#date').datepicker({
numYearsBefore: 50,
numYearsAfter: 10,
format: 'MM/DD/YYYY',
initDate: moment(),
dayLabels: [
{
full: 'Sunday',
abbv: 'S'
},
{
full: 'Monday',
abbv: 'M'
},
{
full: 'Tuesday',
abbv: 'T'
},
{
full: 'Wednesday',
abbv: 'W'
},
{
full: 'Thursday',
abbv: 'T'
},
{
full: 'Friday',
abbv: 'F'
},
{
full: 'Saturday',
abbv: 'S'
}
],
monthLabels: [
{
full: 'January',
abbv: ''
},
{
full: 'February',
abbv: ''
},
{
full: 'March',
abbv: ''
},
{
full: 'April',
abbv: ''
},
{
full: 'May',
abbv: ''
},
{
full: 'June',
abbv: ''
},
{
full: 'July',
abbv: ''
},
{
full: 'August',
abbv: ''
},
{
full: 'September',
abbv: ''
},
{
full: 'October',
abbv: ''
},
{
full: 'November',
abbv: ''
},
{
full: 'December',
abbv: ''
}
],
onChange: function(datepicker) {
console.log(datepicker);
}
});
`
i have a "undefined" in  short day format :(

Ahh I forgot to mention: please change all 'abbv' properties to 'abbr' as
this is a change we made recently on the development branch to match the
generated markup (which uses the  element).
On Fri, Jul 22, 2016 at 7:43 AM scoppys<EMAIL_ADDRESS>wrote:

Hi @kevinberonilla https://github.com/kevinberonilla , the bug is still
present
`jquery.aljs-init.min.js
and
https://github.com/appiphony/appiphony-lightning-js/blob/development/dist/jquery/jquery.aljs-datepicker.min.js
with this
$('#date').datepicker({
numYearsBefore: 50,
numYearsAfter: 10,
format: 'MM/DD/YYYY',
initDate: moment(),
dayLabels: [
{
full: 'Sunday',
abbv: 'S'
},
{
full: 'Monday',
abbv: 'M'
},
{
full: 'Tuesday',
abbv: 'T'
},
{
full: 'Wednesday',
abbv: 'W'
},
{
full: 'Thursday',
abbv: 'T'
},
{
full: 'Friday',
abbv: 'F'
},
{
full: 'Saturday',
abbv: 'S'
}
],
monthLabels: [
{
full: 'January',
abbv: ''
},
{
full: 'February',
abbv: ''
},
{
full: 'March',
abbv: ''
},
{
full: 'April',
abbv: ''
},
{
full: 'May',
abbv: ''
},
{
full: 'June',
abbv: ''
},
{
full: 'July',
abbv: ''
},
{
full: 'August',
abbv: ''
},
{
full: 'September',
abbv: ''
},
{
full: 'October',
abbv: ''
},
{
full: 'November',
abbv: ''
},
{
full: 'December',
abbv: ''
}
],
onChange: function(datepicker) {
console.log(datepicker);
}
});
`
i have a "undefined" in short day format :(
[image: datepickertransaleteerror]
https://cloud.githubusercontent.com/assets/20538989/17057495/98d8d444-501a-11e6-9209-9869aa949a19.jpg
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/appiphony/appiphony-lightning-js/issues/43#issuecomment-234533626,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIVXUCYhvpTB9lq4V_gUkCeETIPghOKJks5qYLrigaJpZM4JP0yw
.

it is work for days and mounths....
Just how to translate the "today" link (i like have "oggi")?

it is work for days and mounths....
Just how to translate the "today" link (i like have "oggi")?

This is actually a great enhancement to support multiple languages on the Today link. I'm reopening this issue at least until this enhancement is ready for you on the development branch.

@scoppys can you download the latest development version and try out the new functionality? https://github.com/appiphony/appiphony-lightning-js/blob/development/dist/jquery/jquery.aljs-datepicker.min.js
You will just need to pass in a property called todayLabel that accepts a string representing the Today link's text.

it is OK

!
j$('#date').datepicker({         todayLabel: 'Oggi',  		dayLabels: [.......


HDF5 load/save interface refactor

This PR lays the foundation to complete issue https://github.com/diana-hep/madminer/issues/482: the migration of data model property definition from its current state (array-based) to an object oriented design (class-attributes).
🔍 - Scope
This PR completely refactors the way MadMiner loads / saves information from HDF5 files, as this is assumed to be the root cause of why the codebase design was not object oriented in the first case. Therefore, changes affect:

The madminer_hdf5.py module (now called hdf5.py).
Every module calling public HDF5 functions.

🧠 - Refactor strategy
The refactor was done with several key points in mind:

Try to achieve a 1-to-1 relationship between loading and saving HDF5 functions.
Try to have one load / save pair of functions per data model (not defined yet, just inferred).
Create a similar structure fop all load / save functions.
Clear separation of public and private module functions:

Public: those high-level functions called by other parts of MadMiner.
Private: those low-level functions called by the public methods of the HDF5 module.

🌿  - Additional Improvements:

Typing notations!
Function doc-strings.

📝 - Commits methodology
Each commit within the refactor has a prefix indicating:

h5py: only affects the HDF5 MadMiner interface.
internal: affects how other MadMiner components call the public HDF5 methods (adaptation needed).
madminer: affect the madminer.py module, restricting tuple inputs on the morphing max_power arg.
readers: affect the DelphesReader and LHEReader classes default attribute values.

🔄 -Compatibility
⚠ This PR breaks backward compatibility ⚠
Any .hdf5 file created by previous versions of MadMiner (<=0.8.3) could not be readable by the new interface. We recommend their re-creation once MadMiner 0.9.0 is released.

NOTE:
This PR contained a couple of bugs, fixed in commits https://github.com/diana-hep/madminer/commit/4021c67984c1b3cfb5665b96338cfd46fbb2cbb3 and https://github.com/diana-hep/madminer/commit/8f8c16d2c856fc1e749b8d7fe040887eac32d1dc.


move RequestEvent and ResolveOptions as public types

#4805 only explicitly requested moving RequestEvent to index.d.ts, but ResolveOptions is also part of Handle's input API, so I moved it too. If, for some reason, we don't want that to be a publicly-accessible type, I'll move it back.
Fixes #4805.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[x] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

@ignatiusmb
Sorry about that! Been on vacation. Didn't even think to check for sorting -- I figured that was something the linter handled. Done!

thank you!


double-beep: Watch yes8indo.com

double-beep requests the watch of the watch_keyword yes8indo\.com. See the MS search here and the Stack Exchange search here.

yes8indo\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

I watched this in a large group of watches prior to looking through PRs.


Consideration of adding "send-max" feature

Hi @AustEcon, per our discussion in Slack, raising this issue.
Currently, it's not easy to send all the amount of several unspents since the fee is calculated inside the functions. Below code is my way, not clean and elegant, but works...
# Sum the amount of these UTXOs
amount = 0
for unspent in unspent_group:
    amount += unspent.amount

# Calculate transaction fee
fee = 0
try:
    # Send the whole balance directly should be fail since insufficient funds
    priv_key.send(outputs=[(send_to, amount, 'satoshi')], message=message, unspents=unspent_group)
except InsufficientFunds as e:
    match = re.match(r'Balance (.+) is less than (.+)\(including fee\).', str(e))
    if len(match.groups()) == 2:
        fee = int(match.group(2)) - int(match.group(1))

# Resend the transaction including the accurate fee
tx_hash = priv_key.send(outputs=[(send_to, amount - fee, 'satoshi')], message=message, unspents=unspent_group)

Already read the code of estimate_tx_fee and sanitize_tx_data
calculated_fee = estimate_tx_fee(len(unspents), num_outputs, fee, compressed, total_op_return_size)

It seems that I need to recalculate the total OP_RETURN size again by myself at least, also need many related parameters, which means repeated code(not sure).
So I'm wondering whether bitsv could expose some functions that calculate the fee ahead of time or just give out a function like create_transaction and send, which will send all the amount of inputs.
Thanks 😄

Unless I'm missing something, we already have this.
https://ofek.github.io/bit/guide/transactions.html#transfer-funds
https://github.com/teran-mckinney/walkingliberty-python/blob/4fa8e932ddddde6d086e99beafeb44e5bb6212ac/walkingliberty/__init__.py#L98
I hope that's a little bit easier ;).

Unless I'm missing something, we already have this.
https://ofek.github.io/bit/guide/transactions.html#transfer-funds
https://github.com/teran-mckinney/walkingliberty-python/blob/4fa8e932ddddde6d086e99beafeb44e5bb6212ac/walkingliberty/__init__.py#L98
I hope that's a little bit easier ;).

WOW! This is exactly what I need. I will try this.
Thanks for teaching 😄

No problem! :)

Sorry I've been busy. If this suits your needs can just add a simple send_all() function anyway because it's more intuitive to find etc (as we have demonstrated here!)

Hi @teran-mckinney and @AustEcon,
I've tried and everything's fine. This is exactly what I need. Thank you very much
Close this issue.


M3-2681 Update Notistack & add close behavior

Update Notistack & add close behavior
We needed a system to be able to dismiss the notifications programmatically. Needed to update notistack to the latest version in in order to access closeSnackbar and added a close component
Type of Change

Non breaking change ('update')

can test with any notification in cloud manager or storybook

thanks @martinmckenna for the help!


auto height and full width

Is it possible to make height auto and width 100%?

It seems that this components can only be 100vh height...


⚠ SceneTime has degraded performance

In 34a5b84, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1431 ms

Resolved: SceneTime performance has improved in e6a9f0b after 6 minutes.


⚠ Hartman Foundation has degraded performance

In df5df62, Hartman Foundation (https://gordonhartman.com/) experienced degraded performance:

HTTP code: 200
Response time: 2849 ms

Resolved: Hartman Foundation performance has improved in e26b25e.


Add Professional Activity Categorized As facet in People & Group  Simple Search

Problem Description:
There is no way to search for people or groups with a certain professional activity in Simple search.
Expected Behavior/Solution:
Create a facet for "Professional Activity  Categorized As " in /Simple Search.
Requirements:

Facet option 'professional activity categorized as" will display in simple search People & Groups tab.

Needed for promotion:
If an item on the list is not needed, it should be crossed off but not removed.

[x] Wireframe/Mockup - Mike
[x] Committee discussions - Sarah
[x] Feasibility/Team discussion - Sarah
[x] Backend requirements - TBD
[x] Frontend requirements- TBD
[x] Are new regression tests required for QA - Amy | Yes
[x] Questions
List of questions for discussions. Answers should be documented within the issue.

UAT/LUX Examples:

TST SS: https://lux-front-tst.collections.yale.edu/view/results/people?q={"AND"%3A[{"text"%3A"andy"%2C"_lang"%3A"en"}%2C{"text"%3A"warhol"%2C"_lang"%3A"en"}]}&sq=andy+warhol

Dependencies/Blocks:

ML: https://github.com/project-lux/lux-marklogic/issues/156

Related Github Issues:
Related links:

Bugherd: https://www.bugherd.com/projects/284041/tasks/2231

Wireframe/Mockup:
Simple Search Updated:

Mockups have been updated.

Update 6/14:
This issue is blocked as it requires ML configuration to be implemented. The ML issue has been prioritized for the 6/24 milestone deadline.

@kamerynB - I cannot find the AS Professional Activity Categorized As single field available in TST. Hot fix.....
Hmm, does the label addition need to happen in ML side and not FE?

from uat 7/22:
this needs a hot fix from the ML ticket: https://github.com/project-lux/lux-marklogic/issues/156

@roamye @jffcamp @prowns  I'd like to keep this issue in the Reviewable column because the change will happen in ML 156 but this will have to be reviewed again on the frontend as well. The hotfix does not require a frontend change though.

@roamye @jffcamp @prowns what is the requirement for the advanced search field? At current, the field can only accept "ID" search terms. If we also want to search the child concepts by other fields (E.g. "Name", "Anywhere") we will either need to:

Add a triple in the data
OR
Add a new search pattern in ML (large ML change)

The wireframe shows a Name field, so this is a question for @azaroth42 - can there be a new triple?

A new triple ... for what? The name directly? No, definitely not. A shortcut from actor to the Type, sure.

@azaroth42 our current search patterns only support child search terms when the parent term is a triple. So using the index, we can only search for the LUX ID of the professional activity concept. So, yes the proposal would be to add a triple linking agent to the professional activity

added lux:typeOfProfessionalActivity from agents to concepts, other than the professional activity type itself.

Two separate issues have been created to tackle the AS portion of this.
https://github.com/project-lux/lux-frontend/issues/305 & https://github.com/project-lux/lux-marklogic/issues/248.
This issue is approved by UAT as it only covers SS facets.

Looks good in PROD. Closing...
Might need a seperate issue as some records do not display it's professional activity although it is listed in the JSON.


"Libertarian communist" doesn't fit in image output

I got "libertarian communist", but the first two letters of "libertarian" overlap with the "8values" header:

Tried in Safari on an iPad running iOS 11 beta 4.

same for “Moderate Conservatism”

Yeah, this has been an issue for a while now. Probably something in the font settings needs to be changed. I'll see if I, or one of the other contributors, can help fix this.

I'm going to see if I can rework the canvas here a bit. I'm also going to include a test version number, so that future updates won't "break backwards-compatibility," so to speak.


Enhancement/pending transactions

Describe your changes
Pending transaction will now appear a top the chart while its in flight before showing up in the chart as a transaction.
Link the related issue
Closes #2696

Requires https://github.com/CrocSwap/ambient-ts-app/pull/2851 to be in first!

@enwong10, do you think we need to add token addresses and pool index to the pending transaction data so we can filter transactionsByType to be specific to the selected token pair?


Dronekit Python QuadCopter Kamikaze Drone Pitch Settings

Hello, I am using dronekit python in quadcopter drone. This drone will perform a task autonomously. Let me briefly talk about the mission: The drone takes off and heads towards the specified location. After reaching a certain distance on the road, it must go to that location in a kamikaze dive manner. I am having trouble adjusting the pitch of the drone. How can I do this? How can the nose of the drone move to the desired position at a desired angle?

I smell something fishy here

This is completed? What did you do to solve your issue @Muhammetyilmaz7? I would love to hear more about the outcome.

Bu tamamlandı mı? Sorununuzu çözmek için ne yaptınız?@Muhammetyilmaz7? Sonuç hakkında daha fazla şey duymayı çok isterim.

Unfortunately I couldn't find a solution :(

Hello, I am using dronekit python in quadcopter drone. This drone will perform a task autonomously. Let me briefly talk about the mission: The drone takes off and heads towards the specified location. After reaching a certain distance on the road, it must go to that location in a kamikaze dive manner. I am having trouble adjusting the pitch of the drone. How can I do this? How can the nose of the drone move to the desired position at a desired angle?


Datefield doesn't consider locale when using date instead of link.

UPD: Currently format from storage has been used, but format from wicket should be used.