[@huggingface/jinja] Add more features and improve whitespace handling

This PR adds support for:

Tests (e.g., {{ var is defined }})
Improved handling and parsing of templates with whitespace (including {%-, -%}, {{-, and -}} control sequences)
Add support for namespace construct
Add additional loop info to body of for loop (e.g., previtem)
Additional end-to-end unit tests with popular chat templates on the HF Hub (link). An external script is being run to guarantee compatibility with all models that have at least 10 downloads (~3k tested).

The automated test for popular templates is amazing! We may also need to do the same thing for minijinja in TGI at some point, which would have turned up their namespace issue sooner.


Create issue template

Anything else left here? This shouldn't be pending for so long

Pushed manually.


Chatbot: Update-bot still fails - adding same answers repeatedly

There still are some problems with the update-bot. After fixing #191, the update-bot no longer crashes due to throttle violations, but has at least one other bug.
Description of bug
The update bot crashes when it tries to delete a response from the Conversational AI (CAI) that does not exist. Therefore, the problem is probably caused by some inconsistencies between the internal MSSQL database and the CAI.
To investigate the problem, the content of the internal MSSQL database was compared with the content of the CAI. It was found that (at least) one response was repeatedly added (more than 30 times by then) to the CAI. Whether this is caused by the same error or by another problem remains to be investigated.
How to solve this issue

[x] Increase logging to allow further investigation.
[ ] Restore consistency between MSSQL database and CAI (maybe through a script so that it is reproducible).
[x] Fix the repeated addition of the same answer.

I will deal with this problem myself, but I am always open for comments or support.

The problem of repeatedly added responses was caused by an error in #199. There the variable stack_q_id was used before it was defined and thus had the value undefined. This caused the problem because this ID could not be found in the mssql database.

While fixing this error, another small bug occurred: Long responses (more than 1,800 characters) are shortened to a maximum of four sentences by searching for this substring: ". "
At least one response longer than 1,800 characters contained mostly bullet points, so the length of the first 4 "sentences" was too long. As a result, the request could not be processed by CAI. This is now fixed by limiting the output of the first four sentences to 1,800 characters.


Always getting error mails after push

After pushing into my repo I recieve a Mail that the worklfow runs in an error. This is because of bundlemon.

@jonkoops can we do something, that bundlemon is only running when a PR is made against the Leaflet repo

@Falke-Design see https://github.com/Leaflet/Leaflet/issues/7946.


Missing some keys for text components

:tada: This issue has been resolved in version 1.8.4 :tada:
The release is available on:

npm package (@latest dist-tag)
Visual Studio Marketplace
GitHub release

Your semantic-release bot :package::rocket:


Connection issues

After logging into the wallet I got this issue:

and this:

Related to the middleware errors: https://github.com/aeternity/ae_mdw/issues/127

Related to the middleware errors: https://github.com/aeternity/ae_mdw/issues/127


[flutter_driver] Driver should be able to report window scroll position

Internal issue: b/136260104
This is coming from customer: dream.
When using the flutter_driver for on-device UI tests (performance), we need to be able to determine the scroll position for windows/elements.  Please add this capability to the flutter_driver APIs.
@dballesteros7 FYI.

What's being required here is:
driver.getScrollPositions(Finder finder)

where the finder finds a scrollable widget (and its scroll controller) and returns a list of tuples <scroll_direction, scroll_amount>.

With this API, the test will look something like:

Trigger some search
Wait for results to load.
Capture the window's scroll position (should be 0,0 in this case)
Inject synthetic scroll gesture (at the kernel level).  Gestures have consistent finger speed, acceleration, and movement.
Capture window scroll position again and verify that the window scrolled (simple case) and/or that the window scrolled the expected number of pixels (more precise case).

(4) has uncovered bugs and differences in the way the device handles the touch events.

I am tentatively marking this as critical. It seems it is fairly useful to customer:dream to have this capability as they run driver tests on various devices.

We're unlikely to get to this any time soon (we're working on making flutter_driver obsolete), but you should be able to implement something manually that does this pretty easily by using the mechanism for sending messages back to the driver along with some code in the app to report the scroll position.

@Hixie Spoke with customer: dream  TPM this morning --- is there additional guidance that we can give them regarding how to wire this up themselves? Thanks!

I'll follow-up by e-mail.


Simple connection test

Hi,
Thank you very much for your work, I've been looking for something like this for a long time.
I have a bit of a weird scenario where I'm trying to build a monitor to reflect the possibility to connect to an NVR.
use clap::Parser;
use tokio::net::UdpSocket;

use crate::dh::p2p_handshake;
mod dh;
mod process;
mod ptcp;

#[derive(Parser)]
#[command(about = "Check if a Dahua device is online via P2P.", long_about = None)]
struct Cli {
    /// Relay mode (experimental)
    #[arg(short, long)]
    relay: bool,
    /// Serial number of the camera
    serial: String,
}
#[derive(Debug)]
struct Device {
    serial: String,
    online: bool,
}
#[tokio::main]
async fn main() {
    let serials = [
        "REDACTED",
            "REDACTED",
    ];

    let mut final_result: Vec<Device> = vec![];
    for serial in serials {

        let online: bool = test_p2p(serial.to_string(), false).await;
        let device = Device {
            serial: serial.to_string(),
            online,
        };
        final_result.push(device);
    }

    println!("{:#?}", final_result);
}

async fn test_p2p(serial: String, relay_mode: bool) -> bool {
    let relay_mode = false;

    // Create a UDP socket
    let socket = UdpSocket::bind("<IP_ADDRESS>:0").await.expect("Failed to bind UDP socket");

    // Attempt to establish P2P connection
    match p2p_handshake(socket, serial, relay_mode).await {
        Ok((socket, session)) => {
            println!("Device is online and accepting connections.");

            // Close the socket when done
            drop(socket);
            return true;
        }
        Err(e) => {
            println!("Device is offline.");
            return false;
        }
    }
}

The code above seems to do the trick and I get:
[
    Device {
        serial: "REDACTED",
        online: false,
    },
    Device {
        serial: "REDACTED",
        online: true,
    },
]

but I would ideally need it to run in a scenario like:
let p2p_semaphore = Arc::new(Semaphore::new(100));                                                                                let mut nvr_futures = FuturesUnordered::new();                                                                                // Create a list for cameras with false status                                                                                let mut tracker_details = get_data_for_tracker(&mut client).await.unwrap();                                                                                for site in tracker_details.iter_mut() {                                                                                if let Some(site_id) = site.site_id {                                                                                if let Some((ip, status)) = results.get(&site_id) {                                                                                site.anpr_active = Some(*status);                                                                                site.ip_address = Some(ip.clone());                                                                                }                                                                                if let Some((ports, count)) = port_aggregation.get(&site_id) {
                site.port = Some(ports.clone());
                site.no_of_cameras = Some(*count);
            }
            if let Some(camera) = cams.iter().find(|&c| c.site_id == Some(site_id)) {
                site.anpr_marked_active = camera.marked_active.clone();
            }
            if let Some(serial) = &site.nvr_sn {
                let serial_clone = serial.clone();
                let p2p_semaphore_clone = p2p_semaphore.clone();
                let site_id = site.site_id;
                nvr_futures.push(async move {
                    let _permit = p2p_semaphore_clone.acquire().await.unwrap();
                    let online = test_p2p(serial_clone, false).await;
                    (site_id, online)
                });

            }
        }
    }
    while let Some((site_id, online)) = nvr_futures.next().await {
        if let Some(site) = tracker_details.iter_mut().find(|s| s.site_id == site_id) {
            site.nvr_accessible = Some(online);
            println!("{:#?}", site);
        }
    }

    let write_file = write_tracker_to_excel(tracker_details, ".temp_files/file_name.xlsx").await;

I have tried to make it work a bit more like a library but for some reason once the futures finish it just hangs and all of them return as closed. Is this something due to the nature of the implementation? Any ideas?
Thanks for all your work

It's possible that the P2P service has an internal rate limiter.
There are two things you can try:

Would using the /probe/device/{SN} endpoint suffice for your needs? It returns a 200 status code if the device is online and, iirc, a 404 status code if the device is offline.
Have you tried reducing the concurrency of your requests? Does it work with a concurrency of 1? If so, you could gradually increase the concurrency until you find the limit at which it stops working. Additionally, you might only need to call common APIs like /probe/p2psrv or /online/relay once, instead of multiple times.

https://github.com/khoanguyen-3fc/dh-p2p/blob/de7baa17f445664171c8874f7dafdfa516b92f9e/src/dh.rs#L54-L61


Tolerate smaller PVs

What this PR does / why we need it:
The actual filesystem size of a PV can be slightly smaller than the
requested size of the PV, because of filesystem overhead which was not
taken into account of the storage provisioner.
With this PR a new configuration parameter is introduced, which defines
how big the difference between requested and available size can be,
before KubeVirt will fail with an error when creating disk images on
empty PVs.
The configuration parameter's name is "dev.pvc-tolerate-less-space-up-to-percent",
it's unit is percent, and it can be set in the "kubevirt-config" ConfigMap.
The default value is 10%.
Special notes for your reviewer:
I was asked to report via an event that we accepted a PV with smaller size because of the new toleration. But I have idea how to do this in virt-launcher, because it shouldn't do API server requests, and communication between virt-handler and launcher is one-way only afaik.
@rmohr do you have an idea how to create an event without adding a reverse communication channel from launcher to handler?
@fabiand or is logging enough?
I also don't have an idea yet how to create a functional test for this. But I hope the unit tests are covering what needs to be covered already.
Release note:
Accept smaller than expected PVs (due to filesystem overhead) when creating disk images.

oh, we already have a launcher -> handler communication channel of course (notify-client/server), I can use that one for the event. Will add that tomorrow.

note to self: close IntelliJ when running make generate, it reverts changes faster than you commit and push them :astonished:

Hi @rmohr @mfranczy @stu-gott, while functional tests are still missing, I just verified manually that this works:
failing case:
2018-11-20T15:32:28Z - default - Warning - VirtualMachineInstance vmi-pvc SyncFailed - server error. command Launcher.Sync failed: Unable to create /var/run/kubevirt-private/vmi-disks/pvcvolume2/disk.img, not enough space, demanded size 15728640 B is bigger than available space 12756992 B, also after taking 10 %!t(MISSING)oleration into account (with a small formatting issue)
tolerated case:
2018-11-20T15:33:39Z - default - Normal - VirtualMachineInstance vmi-pvc Tolerated too small PV - PV size too small: expected 15728640 B, found 15387648 B. Using it anyway, it is within 10 % toleration
Could you please start reviewing while I try to get my manual steps into functional tests?
@fabiand fyi

Failing tests appear spurious/unrelated. @slintes You're still writing functional tests, correct?

@slintes You're still writing functional tests, correct?
yes...

older CI run looks good I'd say: http://jenkins.ovirt.org/job/kubevirt_kubevirt_standard-check-pr/2576/#showFailuresLink
Let's wait for the current one...

/hold
I have fix ready for the formatting issue, but pushed that to the backport first, in order to let CI process that PR first


CairoRunner.run_until_pc_with_steps_limit

Add CairoRunner.run_until_pc_with_steps_limit method
Description of the pull request changes and motivation.
Checklist

[ ] Linked to Github Issue
[x] Unit tests added
[x] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.
[x] CHANGELOG has been updated.

Aren't run_until_steps and run_for_steps already satisfying this functionality?

They are similar but no
run_for_steps returns an Error if you finish executing the program and OK if the execution didn't finish
run_until_pc_with_steps_limit returns OK if you finish executing the Program, and Error if you don't finish the execution


Add ?original query param

If this query param is specified, a single image should not get optimized.

Could we also have a param to force use of the full URL (no inline)?

Sure, that's a good idea :) I'll add it with the next update (probably tomorrow).

It took a few more days, but the ?original and ?url (to force an image url) query parameters are now available with version 1.4.0 of next-optimized-images which just got published to npm.
Please don't hesitate to create a new issue if something is not working for you or if you have another idea for an improvement :)


Write of multiple variables on same grid to netCDF is very slow

Reported by sirott on 28 Oct 2000 18:49 UTC
If more than one variable is specified on a save command line, the speed of
writing slows substantially, even if the variables are on the same grid. The
following:
! Single variable is fast
set mem/size=32
sp rm -f big.cdf
define axis/x=1:200:1 x200
define axis/y=1:200:1 y200
define axis/t=1-jan-1990:1-jan-1991:1/unit=days t1mo
let a = X[a[i=1:5](gx=x200]+Y[gy=y200]+T[gt=t1mo]
save/ilimits=1:200/jlimits=1:200/llimits=1:366/file=big.cdf)
quit
takes four time as long as the following (should be 2x):
! Two variables must slower then 2x 1 variable
set mem/size=32
sp rm -f big.cdf
define axis/x=1:200:1 x200
define axis/y=1:200:1 y200
define axis/t=1-jan-1990:1-jan-1991:1/unit=days t1mo
let foo = X[a = foo
let b = foo
save/ilimits=1:200/jlimits=1:200/llimits=1:366/file=big.cdf a[i=1:5](gx=x200]+Y[gy=y200]+T[gt=t1mo]
let), b[i=1:5]
quit
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/186

Comment by<EMAIL_ADDRESS>on 21 Oct 2003 20:16 UTC
Moving from the<EMAIL_ADDRESS>user to the<EMAIL_ADDRESS>user.

Comment by<EMAIL_ADDRESS>on 3 Nov 2003 20:14 UTC
Change assignment to Ansley

Comment by<EMAIL_ADDRESS>on 5 Nov 2003 19:57 UTC
reassign to Ansley; didn't happen on previous try

Comment by<EMAIL_ADDRESS>on 19 May 2005 17:21 UTC
Seems to be fixed. With Ferret V5.80
Solaris: 30 seconds to save one variable, 52 seconds to save two.
Linux: 28 seconds to save one variable, 1:16 to save two.


Accessibility features

Accessibility features
Feature description
I'd be interested in the ability for the library to add accessibility features such as document structure tagging so that a generated PDF would be accessible to screen readers.
The Adobe Acrobat web page has instructions for users of Acrobat, which could possible provide insight into what some of these tagging items are.

Currently, none of the popular javascript tools support PDF accessibility. The primary need here would be the ability to "tag" both the PDF document itself (to assign a title and language) and objects within the PDF to indicate structure. (Though assigning alt text to images/media would be awesome, too.)
Any tool that gave its users the ability to tag PDF elements - even if it's not fancy - would be incredible...

@somascope @blackdrago I've raised a pull request (#1177) to add accessibility support. Do feel free to have a look at the PR, or directly at the documentation, demonstration or generated accessible PDF.

Found some room for improvement after using the feature with my team, and have amended PR #1177. Here is the updated documentation (especially the new shortcut syntax), demonstration and (functionally identical) generated accessible PDF.

Hey,
Any news on when this can be merged and released?
Thanks for the info in advance!

Hey,
Any news on when this can be merged and released?
Thanks for the info in advance!

This is implemented in v 0.12


Unable to fetch parameters from parameter store for this account

I tried to deploy the template with steps that you mentioned in doc but I got this error
unable to fetch parameters (/DataQuality/S3/ArtifactsBucket) from parameter store for this account
I added this policy to user but still get same error :
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "ssm:PutParameter",
                "ssm:DeleteParameter",
                "ssm:GetParameterHistory",
                "ssm:GetParametersByPath",
                "ssm:GetParameters",
                "ssm:GetParameter",
                "ssm:DeleteParameters",
                "ssm:AddTagsToResource"
            ],
            "Resource": "arn:aws:ssm:*:*:parameter/myparam/test/*"
        },
        {
            "Sid": "VisualEditor1",
            "Effect": "Allow",
            "Action": [
                "ssm:DescribeParameters",
                "kms:ListAliases"
            ],
            "Resource": "*"
        }
    ]
}

It does seem that your user policy is missing some permissions. The SSM parameter is created right after the bucket and holds the name of the bucket under the /DataQuality/S3/ArtifactsBucket path in parameter store (here).
On the other hand in your policy, SSM actions are only allowed on this path: parameter/myparam/test/*.
You can either change it to:
"Resource": "arn:aws:ssm:*:*:parameter/*"
to cover all parameters. Or to:
"Resource": "arn:aws:ssm:*:*:parameter/DataQuality/S3/ArtifactsBucket"
to be specific and limit it to that exact path
Beyond this issue, you should make sure that your user policy is wide enough to cover all services used in this solution (IAM, Amplify... and many more). Otherwise you might face other permissions issues when deploying

yes it worked for me thank you


BrowserWindow 'title-bar-style': 'hidden-inset' option causes crash on OS X 10.9

From: https://github.com/atom/electron/pull/2776#discussion_r39516678
const win = new BrowserWindow({
		'width': 800,
		'height': 600,
		'title-bar-style': 'hidden-inset'
});

This throws on OS X 10.9 with Electron 0.32.3.

I see the issue on OS X 10.10.5 too.

This is strange. I now reviewed and tested the Chromium implementation of IsOSYosemiteOrLater and it looks correct. It should guard against that method running. @sindresorhus and @ssreekanth what does uname -r (from command line) return on your Yosemite system?

$ uname -r
14.5.0

@ssreekanth so what exactly do you see on your 10.10.5 Yosemite machine? These APIs should be available there.

About the comment made by @zcbenz …

Can you create a new issue for this? I'm wondering if it is caused by me setting MACOSX_DEPLOYMENT_TARGET to 10.10.

I’m now looking at vendor/brightray/vendor/download/libchromiumcontent/src/base/mac_util.h which says…
// When the deployment target is set, the code produced cannot run on earlier
// OS releases. That enables some of the IsOS* family to be implemented as
// constant-value inline functions. The MAC_OS_X_VERSION_MIN_REQUIRED macro
// contains the value of the deployment target.

And the inlined function is…
#if defined(MAC_OS_X_VERSION_10_10) && \
    MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10
#define BASE_MAC_MAC_UTIL_H_INLINED_GE_10_10
inline bool IsOSYosemiteOrLater() { return true; }
#endif

I’m not sure how to set a deployment target for building this project, but it appears that if this inlined function were to be used, it would produce incorrect results when code built on Yosemite is run on pre-Yosemite.

@jaanus Running uname -r on Mavericks returns: 13.4.0.

@jaanus I just published my [app](https://github.com/sindresorhus/caprine0 if you need a testcase.


Update Error

Not entire sure which version it is supported right now or if this support nodenv.
I have: 4.7.2; 6.9.3; 7.7.2 (default) installed via homebrew + nodenv.
using node v6.3.1, npm 2.14.5
node in path version err: Error: Command failed: node --version
/bin/sh: node: command not found
, npm in path version err: Error: Command failed: npm --version
/bin/sh: npm: command not found

loading npm
executing npm install /Users/<me>/Library/Application Support/Brackets/extensions/user brackets-npm-registry
ERROR: {"cause":{"code":"ELIFECYCLE","errno":"ENOENT","syscall":"spawn","file":"sh","pkgid":"spawn-sync@1.0.15","stage":"postinstall","script":"node postinstall","pkgname":"spawn-sync"},"isOperational":true,"code":"ELIFECYCLE","errno":"ENOENT","syscall":"spawn","file":"sh","pkgid":"spawn-sync@1.0.15","stage":"postinstall","script":"node postinstall","pkgname":"spawn-sync"}

Hi, not sure how to fix this for Homebrew, but Brackets 1.9 (https://github.com/adobe/brackets/releases) includes installing npm dependent extensions directly from Brackets registry, I suggest you try that one. What extension are you trying to install?
Alternatively, you can use the install guide here https://github.com/zaggino/brackets-npm-registry#how-to-install-brackets-npm-registry to install any extension, just replace brackets-npm-registry for whatever you need.


Update api-server-vnet-integration.md

remove the limitation for existing private cluster to upgrade to apiserver vnet integration. We support it now in all regions.
we always reserve at least 9 ips no matter what their cluster size is (one used as internal loadbalancer frontend ip and rest correspond to apiserver depending on their cluster size). It's important that they should check their subnet first before used, otherwise it's hard to recover from such bad state when subnet is full.

@asudbring
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


[ci] Run tests in multiple browsers

There are many companies like SauceLabs and BrowserStack which offer execute tests in different browsers and OSs.
Could be good if this project sign up for the free OSS plan and setup Travis for lunch the tests in those real browsers.

Now using Karma to test in Chrome, FireFox, Safari and PhantomJS.


Update Bettina's affiliation

Summary
@bettinaheim (you're not an option for "Reviewer" for some reason).
There's also a reference to Microsoft next to your name in the "Past working groups" section of WG.md - I left that in place since it's historical and was accurate at the time.  Let me know if you'd prefer I change that too.

It turns out I couldn't assign you as a reviewer because you're not a member of the openqasm organisation on GitHub.  I've resent the invitation by email (hopefully to the email you have registered with GitHub) - it expires after a week, by the looks of things.


Game Functionality

Build all aspects required to make the game function as described in the Game Description Document.

Game Engine

Aspect Ratio

Game Controller

Also assigned to @JoBlackwell, @SamanthaHarvey92, Allen, Mohamed, and Gerren (awaiting handles and invitations).

#26 Closed.


Fix starter script for MacOS X

Background:

Caused by https://github.com/exasol/script-languages-release/issues/66
MacOS X doesn't support readlink -f, we need to find a replacement for it

Slim version of exaslct on MacOsX was introduced with #69. Full version will be implemented with #72.


from RandAugment import RandAugment ModuleNotFoundError: No module named 'RandAugment'

I have added the link for the RandAugment package in Readme. You can install the RandAug directly.


Optional typing in unions strips all properties

Bug description
Generated types for relationships leverage zod union types, but when all the constituent components are optional the parsed output forcefully becomes an empty object {}.
For the prisma schema provided further below, the generated WidgetCreateInputObjectSchema looks like this:
const Schema: z.ZodType<Prisma.WidgetCreateInput> = z
  .object({
    version: z.lazy(() => FormVersionCreateNestedOneWithoutWidgetsInputObjectSchema),
    step: z.lazy(() => StepCreateNestedOneWithoutWidgetsInputObjectSchema),
  })
  .strict();

And the nested version schema is a zod union like this:
const Schema: z.ZodType<Prisma.FormVersionCreateNestedOneWithoutWidgetsInput> = z.union([
  z.object({
    create: z
      .union([
        z.lazy(() => FormVersionCreateWithoutWidgetsInputObjectSchema),
        z.lazy(() => FormVersionUncheckedCreateWithoutWidgetsInputObjectSchema),
      ])
      .optional(),
  }),
  z.object({
    connectOrCreate: z.lazy(() => FormVersionCreateOrConnectWithoutWidgetsInputObjectSchema).optional(),
  }),
  z.object({
    connect: z.lazy(() => FormVersionWhereUniqueInputObjectSchema).optional(),
  }),
]);

This looks fine at first glance, but making all of create, connectOrCreate, and connect optional makes parse return an empty object {}.
console.log(
    WidgetCreateInputObjectSchema.parse({
      step: { connect: { id: 1 } },
      version: { connect: { id: 2 } },
    }),
  );
// { "version": {}, "step": {} }

However if you drop the .optional off any (or all, realistically) of the union types:
const schema = z
    .object({
      version: z.lazy(() =>
        z.union([
          z.object({
            create: z.union([
              z.lazy(() => FormVersionCreateWithoutWidgetsInputObjectSchema),
              z.lazy(() => FormVersionUncheckedCreateWithoutWidgetsInputObjectSchema),
            ]),
          }),
          z.object({
            connectOrCreate: z.lazy(() => FormVersionCreateOrConnectWithoutWidgetsInputObjectSchema),
          }),
          z.object({
            connect: z.lazy(() =>
              z
                .object({
                  id: z.number(),
                })
                .strict(),
            ),
          }),
        ]),
      ),
      step: z.lazy(() => StepCreateNestedOneWithoutWidgetsInputObjectSchema),
    })
    .strict();

then the output works as expected:
console.log(
    schema.parse({
      step: { connect: { id: 1 } },
      version: { connect: { id: 2 } },
    }),
  );
// { "version": { "connect": { "id": 2 } }, "step": {} }

How to reproduce
See above.
Expected behavior
Parsing correctly structured input should not return an empty object.
Prisma information
model Form {
  id    Int @id @default(autoincrement())
}

model Step {
  // Identifier Fields
  id      Int @id @default(autoincrement())
  formid  Int

  // 1:N Relationships
  form    Form        @relation(fields: [formId], references: [id], onDelete: Cascade)
  widgets Widget[]
}

model Widget {
  // Identifier Fields
  id        Int @id @default(autoincrement())
  versionId Int
  stepId    Int

  // 1:N Relationships
  form   Form @relation(fields: [formid], references: [id], onDelete: Cascade)
  step   Step  @relation(fields: [stepId], references: [id], onDelete: Cascade)
}

Environment & setup

OS: MacOS
Database: PostgreSQL
Node.js version: 16.13.2

Prisma Version
4.2.1

Facing the same issue as well.

Well, if it's helpful I did find a workaround by tearing apart and re-combining the underlying zod types... though it's a bit verbose, so I'd love to see the actual bug fixed.
For my example schema above, you can fix the relationships like so:
// fixes the relationships themselves
const fixedWidgetRelationSchema = z.object({
  step: z.lazy(() => z.object({ connect: z.lazy(() => FormVersionWhereUniqueInputObjectSchema) })),
  version: z.lazy(() => z.object({ connect: z.lazy(() => FormVersionWhereUniqueInputObjectSchema) })),
});

// fixes inserts
const fixedAddSchema: z.ZodType<Prisma.WidgetCreateInput> = invoke(
  WidgetCreateInputObjectSchema,
  'merge',
  fixedWidgetRelationSchema,
).strict();

// re-defines the upsert schema with the amended types above
const fixedUpsertSchema = z.object({ where: WidgetWhereUniqueInputObjectSchema, create: fixedAddSchema, update: WidgetUpdateInputObjectSchema }));

Which lets us run an insert as follows and everything validates / saves correctly:
// using a trpc router
createProtectedRouter()
  .mutation('upsert', {
    input: fixedUpsertSchema,
    async resolve({ input }) {
      return await prisma.widget.upsert(input);
    },
  }

It's fairly annoying to have to do this for every relationship / operation, though.

Thank you for the report. I apologize for the delay guys. I'm currently between jobs, so I have less time to work on the many generators I have published so far. I hope to be able to work on this next week or the week after.
If not, please consider submitting a PR, it's highly welcomed and appreciated.
Thank you

I ran into the same thing, and I think the fix is simple (but I'm not sure since I'm familiar to zod).
On line 281 of transformer.ts, changing this:
const wrapped = fields.map((field) => this.wrapWithZodObject(field));
to
const wrapped = fields.map((field) => this.wrapWithZodObject(field) + '.strict()');
It seems to behave correctly, e.g. the correct option in the union is used. Does this seem right, or that it would cause other issues?

Being new to this project and Zod, I don't know if there is a reason why having strict() there is undesirable. But figured I'd create a PR in case it does seem to be a good solution: https://github.com/omar-dulaimi/prisma-zod-generator/pull/17

I hope this problem can be fixed soon because this basically disallow the use of use relation in prisma.

Can we simply remove the union object? This can solve the problem too.

Well, if it's helpful I did find a workaround by tearing apart and re-combining the underlying zod types... though it's a bit verbose, so I'd love to see the actual bug fixed.
For my example schema above, you can fix the relationships like so:

// fixes the relationships themselves

const fixedWidgetRelationSchema = z.object({

  step: z.lazy(() => z.object({ connect: z.lazy(() => FormVersionWhereUniqueInputObjectSchema) })),

  version: z.lazy(() => z.object({ connect: z.lazy(() => FormVersionWhereUniqueInputObjectSchema) })),

});

// fixes inserts

const fixedAddSchema: z.ZodType<Prisma.WidgetCreateInput> = invoke(

  WidgetCreateInputObjectSchema,

  'merge',

  fixedWidgetRelationSchema,

).strict();

// re-defines the upsert schema with the amended types above

const fixedUpsertSchema = z.object({ where: WidgetWhereUniqueInputObjectSchema, create: fixedAddSchema, update: WidgetUpdateInputObjectSchema }));

Which lets us run an insert as follows and everything validates / saves correctly:

// using a trpc router

createProtectedRouter()

  .mutation('upsert', {

    input: fixedUpsertSchema,

    async resolve({ input }) {

      return await prisma.widget.upsert(input);

    },

  }

It's fairly annoying to have to do this for every relationship / operation, though.
One last note: there's another annoying issue where the .merge() function is dropped from the schema properties due to the explicit z.ZodType<Prisma.WidgetCreateInput> cast – but the method definitely still exists on the schema object. Feels like a separate bug. At any rate, we force the invocation via lodash's invoke method (though you don't actually need lodash for this): https://lodash.com/docs/4.17.15#invoke

Is there a way we can case it back to z.object?

This should be fixed thanks to @kristinlindquist in<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Feel free to open new issues if you face anything else.
Also, don't forget to star this project if you haven't yet :)


Error "Cannot find Module" no stack trace.

Hello,
I had an issue with my was lambda function. I have been following this tutorial - https://medium.com/@robdel12/using-amazon-lambda-to-create-a-contact-form-a41b192fae84
First the issue was the same as in https://github.com/serverless/serverless/issues/948 however after following those instructions  and running npm install I now get the following error when testing.

{"errorMessage":"Cannot find module '/var/task/handler'","errorType":"Error","stackTrace":[]}

Regards,
Daniel

Did you find a solution to the issue?

Any update on this?


Styling of Input element

I love you work. The Autocomplete works like a treat.
Although one can style the wrapper DIV with wrapperStyle={} but is there a way to style the <input/> element as well? I would like to add borderRadius. This that possible or do I need to compile my own react-autocomplete component where I hardcode these styles?
Since many of us are using Bootstrap with React it would be great if one could attach attributes like className="form-control" or placeholder="US STATES". This way your component would be styled like any other form component.
class App extends React.Component {
  render() {
    return(
      <form>
        <div className="form-group">
          <Autocomplete className="form-control" placeholder="US STATES"  ... />
        </div>
      </form>
    )
  }
}

Hi! There are three individual parts of Autocomplete which can be styled separately:

The wrapper which surrounds the <input> and the dropdown menu (styled with wrapperProps={{ style: { ... } }})
The input element itself (styled with inputProps={{ style: { ... } }})
The dropdown menu (styled with menuStyle={ ... }, or alternatively using a custom implementation via renderMenu={fn})

Please consult the API documentation for more info: https://github.com/reactjs/react-autocomplete#api


Support installation on Ubuntu 22.04

I had several issues when using this role with ubuntu 22.04:

Adding the brave repo gpg key used the deprecated add-key function -> Fix addition of gpg key
When adding the repository to the list, apt fails to verify the signature (The following signatures couldn't be verified because the public key is not available) -> Fix adding repository while specifying signing key

With this PR the Debian install tasks exactly mirror the instructions mentioned at https://brave.com/linux/
I tested that things work as expected using DISTRO="ubuntu-22.04" molecule converge

Thank you @melhindi
Looks like all the molecule runs for Ubuntu (18.04/20.04), Rocky Linux (7/8) and Debian (stretch/buster) have passed. Can you please update the role's metadata to include jammy (i.e. 22.04) as a supported version and push another commit?

Additionally, please also update the build-and-test workflow to include ubuntu-22.04

@melhindi - Checks passed. Release version 2.1.0, should now be in Ansible Galaxy as the latest available version.
Thank you for your contribution 👍🏼

sure thing
fyi: I cannot comment on the PR, not sure if this is intended...
On Mon, Oct 3, 2022 at 6:10 PM Ali Muhammad @.***>
wrote:

@melhindi https://github.com/melhindi - Checks passed. Release version
2.1.0
https://github.com/darkwizard242/ansible-role-bravebrowser/releases/tag/2.1.0,
should now be in Ansible Galaxy as the latest available version.
Thank you for your contribution 👍🏼
—
Reply to this email directly, view it on GitHub
https://github.com/darkwizard242/ansible-role-bravebrowser/pull/4#issuecomment-1265695626,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACBVOWX3BFDIQ5JJZCS52MLWBMARHANCNFSM6AAAAAAQZ22MBU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Update Quality Outreach workflow

https://issues.redhat.com/browse/DBZ-4924
Use Quality Outreach's new oracle-actions/setup-java action to download and setup "latest-and-greatest" OpenJDK.
See also https://inside.java/2022/03/11/setup-java

Reworded the commit message and applied; thx, @sormuras!


Right to left the Right text not show more than 10 letters

Right to left the Right text not show more than 10 letters from printRow
await SunmiPrinter.printRow(cols: [
ColumnMaker(text: numberOfAmpere, width: 20, align: SunmiPrintAlign.LEFT),
ColumnMaker(text: 'ژمارەی ئەمپێر', width: 40,align: SunmiPrintAlign.LEFT),
]);

@SamadDev  can y ou send me a image or something ?
as long as i know printRow can't print arabic text

Dose there any solution please?


Upgrade OpenRewrite Templating 1.19.1 -> 1.20.0

This PR contains the following updates:

Package
Type
Update
Change

OpenRewrite Templating

minor
1.19.1 -> 1.20.0

OpenRewrite Templating
compile
minor
1.19.1 -> 1.20.0

Release Notes

openrewrite/rewrite-templating (OpenRewrite Templating)
v1.20.0: 1.20.0
Compare Source
What's Changed

Improve preconditions check by @jevanlingen in https://github.com/openrewrite/rewrite-templating/pull/120

New Contributors

@jevanlingen made their first contribution in https://github.com/openrewrite/rewrite-templating/pull/120

Full Changelog: https://github.com/openrewrite/rewrite-templating/compare/v1.19.0...v1.20.0

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

Suggested commit message:
Upgrade OpenRewrite Templating 1.19.1 -> 1.20.0

See:
- https://github.com/openrewrite/rewrite-templating/releases/tag/v1.20.0
- https://github.com/openrewrite/rewrite-templating/compare/v1.19.1...v1.20.0

Tried this build locally and got
[INFO] BUILD SUCCESS

Could we try again for the CodeQL failure?

Thanks @timtebeek, retriggered the build!

For context: we expect the generated source to differ slightly following:

https://github.com/openrewrite/rewrite-testing-frameworks/pull/520#pullrequestreview-2493866215
https://github.com/openrewrite/rewrite-templating/issues/119
https://github.com/openrewrite/rewrite-templating/pull/120

Ah, didn't see Tim's message before posting ;)

Thanks for the diff! @jevanlingen is double checking the output here; we can still improve the formatting it seems to reduce the diff, and I'm curious why we didn't see any changes for AssertEqualWithMessage following:

https://github.com/openrewrite/rewrite-templating/issues/119

Yeah, I already found a little printing bug (wrong indenting). So I'll start working on some bug fixes 😇.

Dependabot will likely find it too, but we've just released the bugfix in:
https://github.com/openrewrite/rewrite-templating/releases/tag/v1.20.1
Also verified this against error-prone-support to see that the preconditions for AssertEqualWithMessage are as we now expect.

Follow-up is #1474.


Underscores are unreadable sometimes when hovering over cvars in menus

Good:

Bad:

Glyph height is used to determine the height of these boxes, however this is not appropriate as there are chars like underscores which rightfully have height 2, however they do not start on height "0"


does Memo not work for blocks housed on the actual page?

Hi, I just downloaded Memo on the Mac desktop app.
Memo seems to pull blocks tagged with the #page of my choice that exist on other pages, like Daily Notes pages for instance, but it does not pull blocks that live on the actual #page. Am I doing something wrong?

Oh interesting. That's correct. I never considered that someone would want to do this. But makes sense. 👍
I'll include a fix for this in my next release 🙏

Excellent!
On February 8, 2024 at 10:02:01 PM, Jose Browne @.***)
wrote:
Oh interesting. That's correct. I never considered that someone would want
to do this. But makes sense. 👍
I'll include a fix for this in my next release 🙏
—
Reply to this email directly, view it on GitHub
https://github.com/digitalmaster/roam-memo/issues/24#issuecomment-1934305076,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVFJKGXRV222BO3ENL6P6ATYSTSGTAVCNFSM6AAAAABC7BUZMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZUGMYDKMBXGY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Feature/default customization

Re-Architecting Classy to Support Plugins
While cherry-picking some of Reid's customization/default work, this PR changes Classy's architecture to support plugins within the classy/plugins directory path of the Classy project. Classy can now be cloned and built with default behaviour without plugin work. A plugin is named after the folder name placed in the classy/plugins/ directory. The plugin name goes in the .env file to enable it.
ie.
PLUGIN=cs999

Application layer

Front-end Factory will expect Webpack to copy CustomAdminView and CustomStudentView plugs into the correct file paths for runtime use, with any supporting files in the same directory.
Back-end Factory will expect to find the back-end routes and course controller files within the correct FS file paths.

Infrastructure and services:

Docker-compose.override.yml file will be copied, if it exists, into expected ./classy/docker-compose.override.yml file path where it will automatically be read by Docker-compose without any additional command line arguments.
Nginx.conf file will be copied and overwrite the nginx.conf file if it exists.
Base project tsconfig.json has been modified to support back-end file path mapping during runtime of application project. VSCode intellisense is automatically supported by this configuration. Back-end application now  supports runtime path mapping with tsconfig-paths library (note: front-end counterpart library introduced by Reid's work is tsconfig-paths-webpack-plugin).
Dockerfiles modified to compile/transpile back-end and front-end, respectively, at different stages to avoid build errors.
Customization documentation written to explain development, remote repo creation, and production implementation stages with background of different Docker service, application, and Nginx routing areas,
CI/CD tests and encrypted configuraiton updated to support back-end runtime path mapping.

I did some QA work on Classy-dev and tested it on CS210-dev as well. As far as I can tell, the default logic works perfectly.
The example plugin has also been tested and works perfectly on Classy-dev.
I made one slight modification to support copying over all front-end files in Classy during the Webpack build and transpilation step, as the files need to be copied, integrated, and then transpiled for them to exist on the front-end during runtime.


fix admin module bug

The implementation in the login process for admin moudle can choose to return to the previous level after entering the wrong input, or can choose to re-enter.

LibraryManagementSystem.zip
The implementation of the admin module during the login process. If an input error occurs, you can either return to the previous level or re-enter it.


Minimal rewording of top-level README, initial infrastructure README

Infrastructure README needs more work, but at least i's not empty.

Reframe READMEs


extension window should open on the same screen as the browser window

In multi screen setup (3, on Mac OS), the extension window opens on the left of the "main" screen (the one with the menu bar on the Displays OS preferences), really not the most convenient behavior, often you don't even see it appear because of the distance.
At least, it should open on the same screen as the browser window that the user is using, and at best, possibly remember the last position is was moved to.

I think this may be a duplicate with https://github.com/blockstack/stacks-wallet-web/issues/1069. I'll close and add your notes there.


Additional github files

Add "code of conduct" and "contributions" files (based on ones from the Mammoth app).

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

 All committers have signed the CLA.

I'm wondering if is OK we add this CLA on a repository that is under MIT

I added a ruleset to this Github repository and the Fuzi repository to only allow approved PRs to be merged. Admins can overrule.


[Remove package] WHONETAutomationTool

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Why is this package being removed?

Why is this package being removed?

Package is not used by many people.
No one uses winget for installing this package.

https://github.com/microsoft/winget-pkgs/pull/123574#issuecomment-1777727767

#123574 (comment)

This package is for very selected users (Microbiologists).
I am the one submitted it to winget-pkgs in the  first place, and being a Microbiologist myself, I know that many users don't use  this package. Most of the Microbiologists don't even know what "winget" is.
This  package uses vanity URL for release which causes frequent installer hash mismatch errors.
Repeatedly submitting new versions is not something that I can do in the long run.


Implement gcsafe

Update code to allow nauthy to be used in gcsafe contexts. With nim v2.0.0-rc2 which is stricter around gcsafety, it is no longer possible to use nauthy in gcsafe environments.
Fixes #4

Thanks for the PR


People Picker unreliable, timeouts

Hello,
we've enabled AzureCP for one web application three months ago. We notice that the people picker works very unreliable. Often times I have to retype the name I'm searching for multiple times before the results appear. Sometimes this takes a couple of minutes. When I get the results it will work fine for the next couple of hours (probably the results are chached?).
When no people are found I see this message in the ULS log for AzureCP:
[AzureCP] Could not get access token before timeout of 4000 ms for tenant 'XXX.onMicrosoft.com' on cloud instance 'AzurePublic'	9654a59f-XXXX
I added proxy configuration to all necessary web sites following the install guide.
Any ideas?

@plantoschka can you try to run the following script on the SharePoint server, as the application pool account, and check if it works/how long it takes:
Invoke-WebRequest -Uri https://login.windows.net -UseBasicParsing
Invoke-WebRequest -Uri https://login.microsoftonline.com -UseBasicParsing
Invoke-WebRequest -Uri https://graph.microsoft.com -UseBasicParsing

@Yvand All three commands now work fine.
I've just had to set the proxy settings in Internet Explorer for the application pool account user. People Search now also works fine.
Maybe that was the issue. I will watch this over the next couple of days and report back.

Looks good, keep me posted

Works pretty reliable now. Thanks @Yvand


Memory Consumption during Decryption

Title: Potential High Memory Usage During Decryption
Description:

Package: encryption
Function: DecryptFile(encryptedFilename string, key []byte, toDisk bool)
Line: 140
If toDisk is set to false, the plaintext of potentially large files will reside in RAM. This can be inefficient for larger files. Consider providing a warning or alternative mechanism.

Re-writing ticket

Re-writing ticket


intervals should sort by "lag" second

1.1 sorted by "eag" as specified in the order= argument, then by "lag" descending. 1.2 needs to do the same thing.

This has been fixed on phylum and teststrata. The fix has been merged into the 'master' branch on phylum, and into the currently checked-out branch on teststrata.


Ambient Telemetry Logging

Hey,
I have just configured this sink as per docs, and working as expected for custom logging of events.
One question - Should this sink also log the ambient telemetry as would AI if it was configured directly in an app?
Martin

Good evening Martin,
nope - not by itself.. the Sink really just logs the Serilog logged messages etc using the AI API (client lib), if you want some of the other AI telemetries you should be able to enable and use these side-by-side just fine but would have to set them up (or pull in the corresponding other AI nuget packages etc) yourself.
Cheers,
-Jörg

Thanks @jbattermann - So to anyone that comes across this, is this the correct solution:

Setup AI to use a custom TelemetryClient - This will be used to log ambient telemetry (perf, etc) as per normal AI does

Setup serilog to use the same custom TelemetryClient instance - Shown in the docs (Flushing logs section)

Martin

@jbattermann Can you confirm that the above would be the correct approach - Or give guidance on alternatives?

Hi Martin,
yep that is indeed the correct approach, yes! I'll update the README.md with the next update / package version, too (referencing this issue).
Cheers and thanks!
-Jörg


comby.live is missing version information

Describe the bug
I have used comby.live to write match/rewrite rule and checked that it works with example code. But when I tried to run the same match/rewrite rule from command line, it did not match/rewrite anything.
Finding out why web/cli versions behave differently was difficult because comby.live does not show version and non-default flags it is using.
Reproducing
Open comby.live webpage. Look around and try to find information about comby version powering the website.
Expected behavior

version deployed on comby.live webpage should be noted on page
list of non-default flags used by comby.live should be noted on page (see below)

Additional context
In my case, the mismatch between comby.live and comby CLI behaviour was due to -omega flag.  The v1.9.1 I used on CLI requires explicit flag to turn it on. Website turns it on automatically, but does not tell user about it.
When whitespace matching algorithm is important for match rule, the website and CLI behaviour will be different and it might trip beginner users.

Hi, thanks for this. I'll have a look, I think you're right that they are indeed on different versions!

I updated the site to have a command-line copy button, I think the difference may have been due to missing a flag -match-newline-at-toplevel that's needed to be backwards compatible with the latest release. When I bump the server this shouldn't be needed any more. feel free to reopen if you run into other issues!


While in fullscreen mode, terminal does not resize properly when changing screen resolution

Environment
Windows build number: Microsoft Windows [Version 10.0.18363.752]
Windows Terminal version: v0.10.781.0

Steps to reproduce

Enter full-screen mode with the toggleFullscreen comand
Change the screen resolution

Expected behavior
The terminal resizes fill the entire screen with the new screen resolution dimensions (this may require adjusting the size in both dimensions).
Actual behavior
The terminal is resized such that it fills the screen in one dimension and the black bars are introduced around the terminal in the other dimension to fill up the remaining space.

I'm moving this out of v1 to v1.x on account of yes we should fix it but there's no use case for changing resolution mid-race to drive it into P1 territory.


Fix k3d in RTD documentation

Changes
k3d plots are currently broken. Have a look at the plots here
Checks

[x] updated CHANGELOG.rst
[x] updated tests
[x] updated doc/
[x] update example/tutorial notebooks
[x] update manifest file

Verbally approved by @CagtayFabry  :)

So it was just ipywidgets-8 being incompatible?

So it was just ipywidgets-8 being incompatible?

yes, this was the problem


Update helm template -x to support children chart manifests in more cases

The previous code validated the manifests exist within the file system,
which only works when a chart is unpacked, meaning children charts
stored as tgz's in the parent chart's charts/ directory don't exist as
individual files in the filesystem, causing validation to file.
Instead, we validate against the paths within the chart itself rather
than the filesystem, handling both chart.tgz's and charts that are
unpacked as directories in the chart/ directory.
A simple example/use-case of where this previous failed, but does not after my change:
helm-operator is a dependency of chargeback-helm-operator, in my requirements.yaml. The helm-operator.tgz is obtained from helm dep build/update
$ tree chargeback-helm-operator
chargeback-helm-operator
├── Chart.yaml
├── charts
│   └── helm-operator-0.1.0.tgz
├── requirements.lock
├── requirements.yaml
└── values.yaml

1 directory, 5 files

And the helm-operator chart:
helm-operator
├── Chart.yaml
├── templates
│   ├── cr.yaml
│   ├── crd.yaml
│   ├── deployment.yaml
│   ├── role.yaml
│   ├── rolebinding.yaml
│   └── service-account.yaml
└── values.yaml

1 directory, 8 files

Given the above, the following would fail:
helm template charts/chargeback-helm-operator -x charts/helm-operator/templates/deployment.yaml
Error: could not resolve template path: stat /Users/chance/go/src/github.com/coreos-inc/kube-chargeback/charts/chargeback-helm-operator/charts/helm-operator/templates/deployment.yaml: no such file or directory

With this PRs changes the same command renders the deployment.yaml manifest correctly.

I took some liberties in refactoring/ordering the code since it was terribly difficult to understand before, as there was little comments and variable names weren't very descriptive/discernible.

Perhaps some unit tests to cover these scenarios would be a good next approach :)

Oh..hm I had made some changes right before opening my PR that may have removed the error handling I did have. Let me revisit that.

@bacongobbler @thomastaylor312 I added some tests, and realized they actually still worked on master, then recalled my case was specifically with subcharts that are .tgzs, so I updated some of the testdata to support testing this use-case, and added a test that uses a subchart stored in a .tgz.

Also found another issue in how the tests were using subtests, so I fixed that. I also realized there were no tests that handle error cases, so I added a test that validates an error is thrown when passing a non-existent template to -x.

@chancez Thanks for adding (and fixing) the unit tests on this!

Waiting on second review now that this is a size large


background prerequisites should obey :times

Right now, a background prerequisite always is implicitly tagged with :times (range 0). If a user explicitly specifies a :times, that should be obeyed.

Reopening because I think it is worth looking into addressing.
I've seen some tests that use :times with against-background, which basically doesn't do anything, so it would be good to get this sorted to prevent confusion and make sure tests are checking what they expect to check


Fix typo

Thanks for the contribution @basnijholt ! You'll notice that the same typo exists in docs/index.md 🤦  , since the README page and the docs landing page are near copy/pastes of each other. If you could fix the typo also there then I'll be happy to merge!


[CP] Cached DisplayList opacity inheritance fix

issue_link
https://github.com/flutter/flutter/issues/120455
Commit Hash
https://github.com/flutter/engine/commit/27696d2b748a269f9a6fb023bcfce3ad5bfda1b3
Target
stable
pr_link
https://github.com/flutter/engine/pull/39720
Impacted Users
All users
Impact Description
UI elements appear to flicker in some scenarios.
Workaround
There is no workaround.
Risk
low
Test Coverage
yes
Validation Steps
The sample app in https://github.com/flutter/flutter/issues/120455 does not flicker.

cc @chinmaygarde @jonahwilliams

lgtm

LGTM


Don't use shell_out! on "lssrc -g"

It will raise an exception if the service is not a group; instead what we want is to check the return code. If 0, it's a group, otherwise, it is not.
Fixes #3730.

Can I get a quick review @chef/client-aix

:+1:

:+1:


Fix travis build by specifying distribution

@JakeWharton
Based on previous builds failing: https://travis-ci.org/JakeWharton/butterknife/builds/264107515?utm_source=github_status&utm_medium=notification

This job ran on our Trusty environment, which is gradually becoming our default Linux environment. Read all about this in our blog: Trusty as a default Linux is coming and take note that you can add dist: precise in your .travis.yml file to continue using Precise.

TravisCI issue tracked here: https://github.com/travis-ci/travis-ci/issues/8123

@JakeWharton @jrodbx This needs to go in before other PRs can pass.

LGTM, although my Travis CI-fu is a WIP.  I wonder: would updating the now-deprecated android command to avdmanager also work?

Use avdmanafer or sdkmanager? For now, I am just using Travis CI's suggestion.

I don't want to pin to a legacy distribution. I'd rather just fix the actual problem and retain using their default.

I am using their suggestion. Master will continue to be broken then.
On Aug 13, 2017 10:10 PM, "Jake Wharton"<EMAIL_ADDRESS>wrote:

Closed #1051 https://github.com/JakeWharton/butterknife/pull/1051.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/pull/1051#event-1204199374,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABqMSCT0DyF_Q2jpHVQds1xypVgzbaksks5sX9bOgaJpZM4O1ve0
.


Npm node doesn't display extraneous npm v3 dependencies when npm cleanup fails

This is an edge case. In some cases, npm will be installing a package, installation fails, and some of the top level dependencies fail to be cleaned up. This results in top level dependencies with a "_requiredBy" property that are nonetheless extraneous because the package that requires them is not installed. NTVS will subsequently fail to display these dependencies in the npm node.

No clear repro, probably fixed in NPM 5


Improved UI of TracksActivity(TrackSessionsActivity now)

Renamed the TracksActivity to TrackSessionsActivity
Improved the user interface of TrackSessionsActivity

Fixes issue #1037

@brainbreaker Can you please reuse these icons instead of adding new ones? All these icons are being already used in the project I believe.

@mananwason Okay, I actually added the latest bookmark one from Google's official material icons library, also the other two 'Date Range' and 'Access time white' is not available in drawables. Should I reuse the bookmark one?
I actually liked the new one so went for it, lol.

@brainbreaker You are free to add new bookmarks, but make sure to delete duplicate old ones too.

@brainbreaker Please resolve merge conflicts!


Transition Anomaly Detector to Test Proxy

Description
Transition azure-ai-anomalydetector to Test Proxy instead of using local playback records.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


Add improved example for set_mavlink_callback

set_mavlink_callback allows users to intercept all messages to the companion computer/script, so it is arguably* quite useful for adding support for messages or "attributes" that aren't yet in the API. The proposal is to update the example to provide a "useful" reference for people who want to create their own message handlers.

I say "arguably" because it is similar effort to update the API to do this properly. So you would only use this while waiting on changes to go into the API "properly". The example would co-exist with an enhancement to the contribution section providing step-by step guidance on how to support a new attribute. The instructions would make it clear that the best approach is to support the attribute.

@tcr3dr @mrpollo @djnugent  I have created an example (see gist here) which shows how you might use set_mavlink_callback to the raw_imu message. The example is a little non-trivial in that it attaches the new object vehicle.raw_imu to the vehicle and hooks into the normal notifier mechanism so you can create callbacks and, after adding the handler, treat this as though it were an inbuilt attribute.
I would have liked to make this a separate module but there are two problems

I don't think you can load a module/file that isn't properly in the path - ie you can't import a file "in the same directory" because the current directory is where MAVProxy starts, not where your first file is run from. Yes we could do some magic to add paths but not worth it here unless there ends up being an API to easily set current path from MAVProxy.
set_mavlink_callback is a "singleton" - if I hook it in my module, then anyone adding a new observer in their script would break it.

I quite like this, because it is probably a more realistic way you might use the API and because we're not too fast to add new attributes. I dislike it because I would rather encourage people to add new APIs properly.
A question

Is this a reasonable example, or should I just do a basic one which simply accesses the values of the received message?

I think this mechanism, though less than ideal, will actually go a fair way toward helping us shape what the ideal API looks like for implementing these attributes. So in the case that you add your own parsed messages from MAVLink and then use them in the same example, this is the most common usage of set_mavlink_callback even if we don't recommend it—creating globals or modularizing it is simply not possible at this time. When we extend the API though, we can naturally update the same code and hope implementations that used the old methods (which will continue to work) follow.

@hamishwillee I've noticed this as well and thought my linux path was just messed up (and it probably is...).  For one, try adding sys.path.append(os.getcwd()) to your primary DroneKit script launched via "api start" in Mavproxy and it will sometimes resolve the issue you mention above by grabbing/adding the local scripts' paths to the system path on the fly (instead of using mavproxy's path as the local path I think).  That seems to somewhat address the local import issue caused by running within Mavproxy, however, it seems DroneKit still chokes for me if my local imports contain classes that handles the DroneKit init stuff.  Would love to see add'l documentation on how to properly import several "helper" DroneKit scripts when launching a DroneKit script from the Mavproxy environment, assuming that this is even a legit issue and not just my system path being messed up :).  At the moment, I'm still having to copy/paste a lot of my DK classes into a single file, which can't be right!
"I don't think you can load a module/file that isn't properly in the path - ie you can't import a file "in the same directory" because the current directory is where MAVProxy starts, not where your first file is run from. Yes we could do some magic to add paths but not worth it here unless there ends up being an API to easily set current path from MAVProxy."

@akwatson Thanks. If adding sys.path.append(os.getcwd()) allows you to import files in the current directory that would be excellent. If it is unreliable though, I won't document it.
We're expecting this to be a null issue in the next major release because DK will become an ordinary module (not run in the MAVProxy context) - see #188. We have also discussed an interim solution (#251) but I personally think that #188 will deliver first rendering it not-needed. Until one of them delivers your only real choices are to always launch MAVProxy from the directory containing (all) the modules OR to make it a proper module installed using PIP/whatever.
@tcr3dr Thanks very much. Arguably if #188 delivers and we allow multiple set_mavlink_callback observers this would be a better way to extend the API than modifying the main module. I will proceed with this as-is.

I use 'sys.path.append(os.path.realpath(''))' in my dronekit scripts to allow them to import each other no matter where they're run from.

@eliao I've been using this for helper functions, but it never works for importing my primary DroneKit class (which calls local_connect, api.get_vehicles(), etc).  Are you successfully able to run a DroneKit script that imports a local module (using the sys.path.append command above) and have that imported module call local_connect and api.get_vehicles without failing?  If so, I think that this path issue may be made moot by using the sys.path.append function.

Oh, interesting.  Perhaps you are right regarding the main class.  Odd.  Maybe it's how Mavproxy loads up the initial module?

@hamishwillee We'll need a strategy for this now that we changed the callback mechanism for attributes and messages.

@tcr3dr OK, so the create_attribute example has been updated to the new attributes/messages. However it still assumes that you're using this in your script as a temporary measure while you wait for proper support in the API.
So the original purpose of the issue is addressed and this can be closed.
But by strategy, do you mean a way for people to write message parsers that can be attached to the running script, allowing a separate library to be added? It would be quite nice to be able to create a separate parser file for each attribute and add/remove support just by adding/removing a file from a particular place.

@hamishwillee I do like the general mechanism / idea, but it's probably too "early" to explore doing that in a composable way. Going to defer to #437 for one mechanism which might work (in a single-inheritance class system) but otherwise not try to explore more flexible methods yet.

@tcr3dr Absolutely agree, and love the approach you've done in #437. Thanks.


Implement IResourceWithArgs on ProjectResource

Also fix the command line arg parsing to be the same as .NET Process's:

double quotes around single arguments
consecutive double quotes inside a quoted argument means one double quote

Fix #3306
"args" on a project resource doesn't work with azd yet. It doesn't error, but the project's container doesn't get started with the args. Logged https://github.com/Azure/azure-dev/issues/3678
cc @vhvb1989
Microsoft Reviewers: Open in CodeFlow

/backport to release/8.0


No shrinkage in debug mode

Having enable: %kernel.debug% in config would be nice to disable jshrink in debug mode.

If you mean in Assetic you can disable it just prepending a ? to the jshrink filter (ref).
Or do you mean in the Twig extension too?

I mean extension should take that into account too.
Sent from my iPhone

On 2015. gada 28. janv., at 17:50, Emanuele Minotto<EMAIL_ADDRESS>wrote:
If you mean in Assetic you can disable it just prepending a ? to the jshrink filter (ref).
Or do you mean in the Twig extension too?
—
Reply to this email directly or view it on GitHub.

Thanks for merging this! Will you, please, bump version?

Sure, I'll wait 1 or 2 days to receive some feedbacks but after these imo a v1.1.0 can be released.

Done, thank you for the PR :)


Added distro selection feature

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[x ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

VM repair

@zhoxing-ms , Would you please let us know the update for the review of this PR ?

@imabedalghafer Could you please resolve those CI issues?

@imabedalghafer Could you please resolve those CI issues?

/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:471:5: E122 continuation line missing indentation or outdented
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:471:14: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:472:5: E122 continuation line missing indentation or outdented
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:472:14: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:473:5: E122 continuation line missing indentation or outdented
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:473:14: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:474:5: E122 continuation line missing indentation or outdented
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:474:14: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:475:5: E122 continuation line missing indentation or outdented
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:475:13: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:476:5: E122 continuation line missing indentation or outdented
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:476:13: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:494:16: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:495:16: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:496:16: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:497:19: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:498:19: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:499:18: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:500:18: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:501:18: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:502:18: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:503:18: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:504:18: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:505:17: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:506:17: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:507:9: E123 closing bracket does not match indentation of opening bracket's line
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:602:9: F402 import 'log' from line 6 shadowed by loop variable
13    E122 continuation line missing indentation or outdented
1     E123 closing bracket does not match indentation of opening bracket's line
1     E128 continuation line under-indented for visual indent
26    E231 missing whitespace after ':'
1     F402 import 'log' from line 6 shadowed by loop variable

@imabedalghafer Could you please resolve those CI issues?

/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:471:5: E122 continuation line missing indentation or outdented
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:471:14: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:472:5: E122 continuation line missing indentation or outdented
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:472:14: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:473:5: E122 continuation line missing indentation or outdented
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:473:14: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:474:5: E122 continuation line missing indentation or outdented
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:474:14: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:475:5: E122 continuation line missing indentation or outdented
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:475:13: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:476:5: E122 continuation line missing indentation or outdented
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:476:13: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:494:16: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:495:16: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:496:16: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:497:19: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:498:19: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:499:18: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:500:18: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:501:18: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:502:18: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:503:18: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:504:18: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:505:17: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:506:17: E231 missing whitespace after ':'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:507:9: E123 closing bracket does not match indentation of opening bracket's line
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:602:9: F402 import 'log' from line 6 shadowed by loop variable
13    E122 continuation line missing indentation or outdented
1     E123 closing bracket does not match indentation of opening bracket's line
1     E128 continuation line under-indented for visual indent
26    E231 missing whitespace after ':'
1     F402 import 'log' from line 6 shadowed by loop variable

Apologies for the delay , sure I will work on them

@wangzelin007, I have resolved the above CLI errors. would you please check

@wangzelin007 Any update please ?

@wangzelin007 Any update please ?

Sorry for the late reply, I will merge this PR ASAP.

/azp run

@wangzelin007 Any update please ?

Hi imabedalghafer,
May I ask whether it is necessary to add a scenario test for this new argument ?

@wangzelin007 Thank you for the update.
let me check internally on that part and will get back to you

@wangzelin007
Apologies for the delay
The test units, history and setup files are updated
Thank you and much appreciate your help


Support TH deriving of constructor-less datatypes

Currently, the TH mechanism in generic-deriving has a corner case where it won't generate definitions for from and to with constructor-less datatypes, e.g.,
{-# LANGUAGE TemplateHaskell, TypeFamilies #-}
module Test where

import Generics.Deriving.TH

data Wat a

$(deriveAll ''Wat)

======>

data Wat_
instance GHC.Generics.Datatype Wat_
    where GHC.Generics.datatypeName _ = "Wat"
          GHC.Generics.moduleName _ = "Ghci1"
type Rep0Wat_ (a_0 :: *) = GHC.Generics.D1 Wat_ GHC.Generics.V1
instance GHC.Generics.Generic (Ghci1.Wat a_0)
    where type GHC.Generics.Rep (Ghci1.Wat a_0) = Rep0Wat_ a_0

Test.hs:8:3:
    Function binding for ‘GHC.Generics.from’ has no equations
    When splicing a TH declaration:
      instance GHC.Generics.Generic (Test.Wat a_0)
    where type GHC.Generics.Rep (Test.Wat a_0) = Rep0Wat_ a_0

This pull request addresses this by adding error clauses for from and to when there are no constructors. I added a proof-of-concept in the Examples.hs file.

Looks good, thanks :-)


Fixing display issue with frames

Have to set the frame display for textures!
This is in reference to issue #22

thanks :)


Finalized Wave Gun Fix

Wave Gun was still acting weird after previous commit, changed physSize value to make it work correctly.

Description

now Wave Gun works beautifully, no weirdness

Testing

obtain wave gun and shoot while on planet

cool :)


 It's happening in the Forge Version

Report bugs with the Forge version here: https://github.com/EdwinMindcraft/origins-architectury/issues


"Couldn't sign you in" GDrive error

Open Keeanywhere settings, click on ADD, choose GOOGLE DRIVE, enter my email address, and I click NEXT and I get the following:

Any assistance would be appreciated.

Same error for me.

I am also running into the same issue as alabamatoy, anyone can help?

Apparently it has been fixed ! At least, it's working for me today.

Still same error for me.  So its not been fixed AFAICT.

Same problem here.  Checking for updates appears to work in KeePass.
Poking around, it seems like the core issue is that this KeeAnywhere window for logging into Google Drive is a spawned instance of Internet Explorer.  Google Drive requires JavaScript, and it seems like JavaScript is not enabled in this IE instance.

FWIW, using KeePass 2.46 portable, KeeAnywhere 1.6.  I also have the KeePassHttp v <IP_ADDRESS> plugin installed, just on the off chance that this is a factor.

"KeeAnywhere window for logging into Google Drive is a spawned instance of Internet Explorer". This must be fixed.  It should use whatever browser is set as default.  IE is at or beyond end of life and many Windows boxes are now being deployed without it.

Hi,
the used Browser is the Internet Control which is part of .NET. Even if
Internet Explorer ist not "installed" this Control is based on it and will
continue to work.
Nevertheless I plan to abandon the internal browser window and use systems
default browser. This will lead to a changed user flow. There is no
concrete time frame.
What I do not understand is, that this simple login is nowadays so
complicated, that a simple browser is not able to serve this anymore.
alabamatoy<EMAIL_ADDRESS>schrieb am Do., 1. Okt. 2020, 12:53:

"KeeAnywhere window for logging into Google Drive is a spawned instance of
Internet Explorer". This must be fixed. It should use whatever browser is
set as default. IE is at or beyond end of life and many Windows boxes are
now being deployed without it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Kyrodan/KeeAnywhere/issues/227#issuecomment-702054184,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACWW2TOTTMM2KDTKIL5BQDSIRNTDANCNFSM4PUZKGRA
.

Anyone got a workaround until this is fixed long-term?
I can't not have access to my passwords for months.
There's no link to copy to another browser

Anyone got a workaround until this is fixed long-term?
I can't not have access to my passwords for months.
There's no link to copy to another browser

Desperately there is no good workaround.
What you can do:

install GDrive Sync-Client and use the Database inside the (local) Sync
Folder
Download database locally and use it there.

I'm sorry for your inconvenience.
Am Fr., 29. Jan. 2021 um 08:59 Uhr schrieb nascentt <
<EMAIL_ADDRESS>
Anyone got a workaround until this is fixed long-term?
I can't not have access to my passwords for months.
There's no link to copy to another browser
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Kyrodan/KeeAnywhere/issues/227#issuecomment-769644402,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACWW2SDMHVNUPZ5VEOFQALS4JTE7ANCNFSM4PUZKGRA
.

Desperately there is no good workaround.
What you can do:

install GDrive Sync-Client and use the Database inside the (local) Sync
Folder
Download database locally and use it there.

I'm sorry for your inconvenience.
Am Fr., 29. Jan. 2021 um 08:59 Uhr schrieb nascentt <
<EMAIL_ADDRESS>
Anyone got a workaround until this is fixed long-term?
I can't not have access to my passwords for months.
There's no link to copy to another browser
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Kyrodan/KeeAnywhere/issues/227#issuecomment-769644402,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACWW2SDMHVNUPZ5VEOFQALS4JTE7ANCNFSM4PUZKGRA
.

Hello everybody
@Kyrodan Is there already a time plan to fix this issue (abandon internet explorer) ?
btw: thanks for this great piece of software!

I'm still alive and already working on a fix. Hopefully you all can do some first tests very soon.

Duplicate - move on to #241


clickandgo widgets: show channel name

http://qlcplus.org/forum/viewtopic.php?f=5&t=9237
Pros: The channel name helps knowing what we're selecting.
Cons: It adds the channel name in VC Click&Go widgets too:

OK for me. Just one minor thing. The label is hard to read, and I'd prefer a black color for it
https://github.com/plugz/qlcplus/commit/5f92d9798faecc651f2421eba4cdd0ee70af98c1#diff-f6d067c254345772c430436747a4d084R290

painter.setPen(Qt::darkGray);

painter.setPen(Qt::black);


Launch Error

OS: Ubuntu xenial
Python:
ubuntu@ip-172-31-51-77:~$ python3 --version
Python 3.5.2

ubuntu@ip-172-31-51-77:~$ bitshares-pricefeed create
Traceback (most recent call last):
  File "/home/ubuntu/.local/bin/bitshares-pricefeed", line 7, in <module>
    from bitshares_pricefeed.cli import main
  File "/home/ubuntu/.local/lib/python3.5/site-packages/bitshares_pricefeed/cli.py", line 7, in <module>
    from bitshares.price import Price
  File "/home/ubuntu/.local/lib/python3.5/site-packages/bitshares/__init__.py", line 1, in <module>
    from .bitshares import BitShares
  File "/home/ubuntu/.local/lib/python3.5/site-packages/bitshares/bitshares.py", line 9, in <module>
    from bitsharesbase import transactions, operations
  File "/home/ubuntu/.local/lib/python3.5/site-packages/bitsharesbase/transactions.py", line 3, in <module>
    from .signedtransactions import Signed_Transaction
  File "/home/ubuntu/.local/lib/python3.5/site-packages/bitsharesbase/signedtransactions.py", line 2, in <module>
    from .operations import Operation
  File "/home/ubuntu/.local/lib/python3.5/site-packages/bitsharesbase/operations.py", line 10, in <module>
    from .objects import GrapheneObject, isArgsThisClass
  File "/home/ubuntu/.local/lib/python3.5/site-packages/bitsharesbase/objects.py", line 15, in <module>
    from graphenebase.objects import Operation as GPHOperation
ImportError: cannot import name 'Operation'

I recommend you install using pip3 install --user . from within the repository.
Or you use python3 setup.py install --user

This fixed it and instructions were updated accordingly.


TypeError: Cannot read property 'main' of undefined in prod bundle

Love the template.  NPM Start runs great on my local machine which has Node 10.15.3. installed.  But in the container its trying to deploy a production build so it runs NPM Build and that minified bundle has an issue with some CSS it would seem??
I just have a blank page and this error in my chrome console.
 Did you follow the same style of structure?

Actually something has happened cause it doesn't run locally now either.

<EMAIL_ADDRESS>Attempted import error: 'getThemeProps' is not exported from '@material-ui/styles'.

I basically merged your app into my node app since I need your template to run in the container.

Got it running locally again by updating styles
"@material-ui/styles": "^4.0.0-beta.1"
I think I had an earlier version that was 3.0.0 at one point.


Time profiling pull request

Improvements in speed for read/write operations.

Note to self: before merging this branch, we need to check the phasing outputs against master - be sure we haven't changed this because we don't have a valid test yet.

I think that when this PR is merged, we should put out a new pip package, which requires bumping the version number. Any opinions on whether it should be v1.2 or v1.1.1?

Because this branch is getting close to merging, I went ahead and did a comparison of phasing with master. It's hard to make an actual unit test... so I just used master to read in a couple files, did various phasing and unphasing operations, writing output files throughout. I then used this branch to repeat those, and compare with the save files throughout.
What I learned is that there are a couple places where vectorizing the arithmetic caused intermediate quantities to be cast as float32 instead of float64 (when using uvws, which are float32). This caused small errors in uvws, which were small enough that they passed our tolerance, but translated to unacceptable errors in the data. I was able to make a couple changes locally to make sure everything is cast as float64, and everything works.
This is making me think that we actually want the uvws always stored as float64. I'm going to start a new issue for this, but I don't think it's stopping for the time being. I'll push my local changes, just to match master, but they should go away if we do eventually use float64.


Align KotlinParser.Builder API with JavaParser.Builder

A releases including this PR requries a new rewrite release. So I think we should still wait with merging it. Setting it as draft for now.


docs: add gmaps scraping blog

approved by adam and marketing.

@souravjain540 @janbuchar
I've made all the required changes. I've updated the Notion file, including changing all the code snippets, descriptions, and adding more steps. I've also updated the code in the gist files where the complete code is stored.
One more thing, regarding the infinite_scrolling() method - it's not working. I tried but couldn't get proper results, so I opted for the general method of scrolling through pages. Apart from this, I have made all the requested changes.
Pls review again and let me know if anything else to be changed :)

One more thing, regarding the infinite_scrolling() method - it's not working. I tried but couldn't get proper results, so I opted for the general method of scrolling through pages. Apart from this, I have made all the requested changes.

I see. Could you please open an issue where you describe what you tried and how exactly it failed so that we can fix it?

One more thing, regarding the infinite_scrolling() method - it's not working. I tried but couldn't get proper results, so I opted for the general method of scrolling through pages. Apart from this, I have made all the requested changes.

I see. Could you please open an issue where you describe what you tried and how exactly it failed so that we can fix it?

Sure, @janbuchar. Will do it :)

print(f"Error during scroll: {str(e)}")

@janbuchar Made all the changes in the Notion file and also changed the codes in the gist files


Fix spelling and improve grammar

Thank you so much for your contribution.
Spelling is one of my weak spots and it's difficult to find tools that work on code.
It would seem that this has also discovered some work for myself. Because apparently my GitHub actions break on pull requests.
Thanks again for the contribution. When my app was submitted to weekly OSM I was hoping that people would come to view my site. But I am very excited that people like you would also contribute.
Ps. I don't know if you are doing hacktoberfest. But just let me know if you need some extra tags to get it recognized.

I'm not participating in Hacktoberfest; don't need tags. Thank you 😄


notify also on falsy values

On  the main branch, the if clause before updating the value on JS will prevent the update when value is "falsy" (0, "", null, etc).
Simplest way to test is to run
using Bonito
obs = Observable(1)
app = App() do session
    evaljs(session, js"""
    $obs.notify(0, true);
    console.log($obs.value)
    """)
end

on main, the console log shows 1 (no update occurred) and on this PR it shows 0.
I wonder whether the idea was to allow obs.notify(), intending to not update the observable and only trigger callbacks but

that should probably be done with value !== undefined
on master that also doesn't work, as the julia observable gets updated with nothing.

(Fixed the new test.)

I feel like there was a reason for this, but can't find any notify() in the code base...

Me nether... But to be honest I'd rather avoid it (and keep the PR as is). AFAIU, javascript would not distinguish between notify() and notify(x.a) for example where the field a is not present (both give value = undefined), which seems error prone... One can always do obs.notify(obs.value) if needed.


Using JSCS as JSX Beautifier

Not sure if this is already supported, but I have searched through the issues.
In the configuration you can use "JSCS Fixer" as the javascript beautifier. JSCS Fixer supports JSX as well.
Would it be possible to add the option to use "JSCS Fixer" for JSX in the configuration editor?

Good idea. The language JSX can definitely be added to the JSCS Fixer beautifier.
A Pull Request adding JSX: true to the list of supported language options found at https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/jscs.coffee#L12 would do it.

I wasnt sure how to test my fork, so replicated the changes on the copy installed by atom. The option doesnt seem to work?

@expelledboy Just make the appropriate changes to the Atom-Beautify files and then restart Atom.  Atom has to be restarted in order to reinitialize the application from changes in the code.  Once it works on your local push the changes from your local to your fork.  Then open a pull request, at which point the Travis.CI unit tests should fire.

Thanks. I assumed a restart was required, but I noticed that a second background instance existed, so after killing that and restarting it still does not seem to work?
10:08+ ~/.atom/packages
@ anthony-mac> grep -A 3 options: ~/.atom/packages/atom-beautify/src/beautifiers/jscs.coffee
  options: {
    JavaScript: false
    JSX: true
  }

10:08+ ~/.atom/packages
@ anthony-mac> ps -ef | grep atom
  501 46878 32036   0 10:08AM ttys004    0:00.00 grep --color=auto atom

10:08+ ~/.atom/packages
@ anthony-mac> atom

10:08+ ~/.atom/packages
@ anthony-mac> ps -ef | grep atom | wc -l
       6

When going to setting only Pretty Diff is available. Is there perhaps a cache or a temp file that needs to be reset? Perhaps atom caches the setting options?


jupyter/nbconvert#452

jupyter/nbconvert#452 "Conversion back from executable script to ipynb notebook"

From https://github.com/jupyter/nbconvert/issues/452#issuecomment-279593218 :

https://github.com/sklam/py2nb/blob/master/py2nb/reader.py

[ ] ENH: read(filename): split on # In[\d*]:
[ ] TST,REF: read_(fileobj): accept a file object w/ .read() to make testing easier (StringIO.read)

https://github.com/sklam/py2nb/blob/master/py2nb/converter.py

[x] IPython.nbformat.v3
[ ] IPython.nbformat.v4

jupyter/nbformat#58 "Document functionality for creating notebooks programmatically "

[ ] tokenize and transform "get_ipython()..." magics

Are you planning to implement it into nbconvert?

I suppose someone could
On Tuesday, February 14, 2017, Siu Kwan Lam<EMAIL_ADDRESS>wrote:

Are you planning to implement it into nbconvert?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sklam/py2nb/issues/2#issuecomment-279774653, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADGy1QB6wiyGNKyqU0oyYAif3kkOckiks5rceMXgaJpZM4MAAz7
.

I am not really spending time on this project at the moment.  So, if anyone would like to work on this or take over this project, let me know.


[tensorparallel] Updated TP layers

Polished tensor parallel implementation
Achieved the same 1D throughput as the latest Megatron

Please add some unitests!

Please add some unitests!

We already have tests for tensor parallel layers


Use yarn  instead of npm install in 45.0.1 version

  **Issues that do not describe a bug or do not fill out the template below will be closed**
We use GitHub Issues exclusively for tracking bugs in React Native.

If you're looking for help with your code, consider asking on Stack Overflow instead: http://stackoverflow.com/questions/tagged/react-native
Want to know more about future plans? Check out the roadmap: https://github.com/facebook/react-native/wiki/Roadmap
Have a feature request that is not covered in the roadmap? Submit it here: https://react-native.canny.io/feature-requests

Reporting bugs
Want to report a bug? Please read the bug reporting guidelines: https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md#bugs

Description
Environment
"react": "16.0.0-alpha.12",
"react-native": "0.45.1",
"react-native-swiper": "^1.5.4"
when nmm install in  this environment,  It give me error ReactCurrentUser.
However, 'yarn' is not come with error.
Reproduction Steps
'npm install'
'rm -rf node_modules'
'yarn'
Sample Code
An example of your code or a reproduction of the problem using Snack is REQUIRED.
Solution
use 'yarn'
Additional Information

React Native version: 0.45.1
Platform: Android
Development Operating System: Mac
Build tools:Yarn, android studio

What version of yarn did you use? Can you include more details about the failure?


Placate GHC 9.2's Deprecation Warnings

There's fair amount of spew from composite-base due to deprecated warnings turned on in GHC 9.2:

A Monad instance's return must be consistent with its own Applicative pure implementation. (Discussion here and here).
The use of * as the kind of "zeroth order types" is deprecated in favour of Data.Kind.Type.

Tests passing with GHC 8.10.7 and GHC 9.2.3.


Arcana Famiglia -La storia della Arcana Famiglia- Ancora [PCSG00751]

App summary

App name: Arcana Famiglia -La storia della Arcana Famiglia- Ancora
App serial: PCSG00751
App version: 1.0

Vita3K summary

Version: v0.1.5
Build number: 2631
Commit hash: https://github.com/vita3k/vita3k/commit/aa88739b
CPU backend: Dynamic

Test environment summary

Tested by: othmanead
OS: Windows 11
CPU: Intel i5-10300H
GPU: RTX 3060 mobile
RAM: 16 GB

Issue:

Black boxes on top of characters, no issues besides this

Screenshots:

Log
vita3k.log
Recommended labels

Ingame +
Graphic bug

Black box issue is gone as of latest version, label can be changed to playable.


Add a troubleshooting section for the converter guidance

As titled.

No changes needing a change description found.

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs

Synced offline. We will add suppression by default. https://github.com/Azure/azure-sdk-tools/pull/8827


optimize for duplicate samplers and textures

The wrapper tends to duplicate the same samplers and textures when the sampler or image is used multiple times.

PR was created and merged: #47


Lyrics command

The current lyrics command seems to only work if you search lyrics for a song. Is it possible to also make it find lyrics for the song playing and produce a message if lyrics are not found for the song playing? Most music bots with lyric commands use both features.

it will requires ksoft api

If that was added, would it change the whole base of the code or is it just simple downloading from npm?

@joeyk710 just a simple coding

i supposed to do it a few months ago, now it's added on the commit. the lyrics may couldn't be found or even mismatch anyway