Parallelize chain function calls in SPHINCS+ spec

This change replaces sequence comprehensions involving the chain function with equivalent parmap expressions. The resulting WOTS implementation is significantly faster when run with multithreading enabled. To enable multithreading, invoke cryptol with the following runtime system option:
$ cryptol +RTS -N<threads> -RTS

I tested this change by running :check wotsCorrectness and :check wotsPKCheck, both of which pass.

@bboston7 Do you still need review on this before merging? Or are there additional commits planned

Ideally yes, a review would be nice

No additional commits are planned. This is ready to go


Ignore some codeception files

Coverage decreased (-0.04%) to 63.913% when pulling 7120ed4c6cf507d9c87f2ab3b00906afc47ec6c4 on ignore_some_codeception_files into 98501ab487b31544420e2ce8b62f6267e113b048 on master.


Postgres Introspection occasionally removes "Unique" Constraint

Love the library and very appreciative of all the work that goes into this  <3
Bug description

I have a Next.js project with a prisma directory with a schema.sql file with the following PostgresQL syntax:
CREATE TABLE IF NOT EXISTS "public"."Athlete" (
  id SERIAL PRIMARY KEY NOT NULL,
  "espnId" INTEGER,
  "olympediaId" INTEGER,
  "firstName" VARCHAR(255),
  "lastName" VARCHAR(255),
  "nativeName" VARCHAR(255),
  description TEXT,
  "popScore" INTEGER,
  status VARCHAR(255),
  heritage VARCHAR(2) ARRAY,
  slug VARCHAR(255) UNIQUE NOT NULL
);

CREATE TABLE IF NOT EXISTS "public"."User" (
  id SERIAL PRIMARY KEY NOT NULL,
  name VARCHAR(255),
  email VARCHAR(255) UNIQUE NOT NULL
);

As you can see, the slug column in the Athlete table should be created with a @unique constraint when I introspect the schema.prisma. However, this does not happen when I run npx prisma introspect.
model Athlete {
  id              Int               @id @default(autoincrement())
  espnId          Int?
  olympediaId     Int?              @default(0)
  firstName       String?           @db.VarChar(255)
  lastName        String?           @db.VarChar(255)
  nativeName      String?           @db.VarChar(255)
  sport           String            @db.VarChar(3)
  description     String?
  popScore        Int?
  status          String?           @db.VarChar(255)
  heritage        String[]          @db.VarChar(2)
  slug            String            @db.VarChar(255)
  Sport           Sport             @relation(fields: [sport], references: [id])
  FavoriteMoments FavoriteMoments[]
}

How to reproduce
Steps to reproduce the behavior:

Start from this template repo
Run npx prisma init to create prisma folder
Change datasource to as follows:

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

Add schema.sql file with the above information

Expected behavior

Running npx prisma introspect should return the following:
model Athlete {
  id              Int               @id @default(autoincrement())
  espnId          Int?
  olympediaId     Int?              @default(0)
  firstName       String?           @db.VarChar(255)
  lastName        String?           @db.VarChar(255)
  nativeName      String?           @db.VarChar(255)
  sport           String            @db.VarChar(3)
  description     String?
  popScore        Int?
  status          String?           @db.VarChar(255)
  heritage        String[]          @db.VarChar(2)
  slug            String            @unique @db.VarChar(255)
  Sport           Sport             @relation(fields: [sport], references: [id])
  FavoriteMoments FavoriteMoments[]
}

model User {
  id              Int               @id @default(autoincrement())
  name            String?           @db.VarChar(255)
  email           String            @unique @db.VarChar(255)
  FavoriteMoments FavoriteMoments[]
  Post            Post[]
  Profile         Profile?
}

The slug on the Athlete model should contain the @unique constraint, but it has disappeared. Meanwhile, the User model has kept the @unique constraint for email.
Prisma information

Full schema.prisma file as follows:
generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

model Athlete {
  id              Int               @id @default(autoincrement())
  espnId          Int?
  olympediaId     Int?              @default(0)
  firstName       String?           @db.VarChar(255)
  lastName        String?           @db.VarChar(255)
  nativeName      String?           @db.VarChar(255)
  sport           String            @db.VarChar(3)
  description     String?
  popScore        Int?
  status          String?           @db.VarChar(255)
  heritage        String[]          @db.VarChar(2)
  slug            String            @db.VarChar(255)
  Sport           Sport             @relation(fields: [sport], references: [id])
  FavoriteMoments FavoriteMoments[]
}

model FavoriteMoments {
  id          Int      @id @default(autoincrement())
  createdAt   DateTime @default(now()) @db.Timestamp(6)
  userId      Int?
  athleteId   Int?
  description String?
  url         String?
  Athlete     Athlete? @relation(fields: [athleteId], references: [id])
  User        User?    @relation(fields: [userId], references: [id])
}

model Post {
  id        Int      @id @default(autoincrement())
  title     String   @db.VarChar(255)
  createdAt DateTime @default(now()) @db.Timestamp(6)
  content   String?
  published Boolean  @default(false)
  authorId  Int
  User      User     @relation(fields: [authorId], references: [id])
}

model Profile {
  id     Int     @id @default(autoincrement())
  bio    String?
  userId Int     @unique
  User   User    @relation(fields: [userId], references: [id])
}

model Sport {
  id      String    @id @db.VarChar(3)
  sport   String    @db.VarChar(255)
  gender  String?   @db.VarChar(255)
  olympic Boolean?
  Athlete Athlete[]
}

model User {
  id              Int               @id @default(autoincrement())
  name            String?           @db.VarChar(255)
  email           String            @unique @db.VarChar(255)
  FavoriteMoments FavoriteMoments[]
  Post            Post[]
  Profile         Profile?
}

Environment & setup

OS: macOS 11.1
Database: PostgreSQL 11.7
Node.js version: v14.15.0
Prisma version:

prisma               : 2.17.0
@prisma/client       : 2.17.0
Current platform     : darwin
Query Engine         : query-engine 3c463ebd78b1d21d8fdacdd27899e280cf686223 (at node_modules/prisma/node_modules/@prisma/engines/query-engine-darwin)
Migration Engine     : migration-engine-cli 3c463ebd78b1d21d8fdacdd27899e280cf686223 (at node_modules/prisma/node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine : introspection-core 3c463ebd78b1d21d8fdacdd27899e280cf686223 (at node_modules/prisma/node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary        : prisma-fmt 3c463ebd78b1d21d8fdacdd27899e280cf686223 (at node_modules/prisma/node_modules/@prisma/engines/prisma-fmt-darwin)
Studio               : 0.353.0

I am unable to reproduce with 2.18. Here is the schema I got:
model User {
  id    Int     @id @default(autoincrement())
  name  String? @db.VarChar(255)
  email String  @unique @db.VarChar(255)
}

model Athlete {
  id          Int      @id @default(autoincrement())
  espnId      Int?
  olympediaId Int?
  firstName   String?  @db.VarChar(255)
  lastName    String?  @db.VarChar(255)
  nativeName  String?  @db.VarChar(255)
  description String?
  popScore    Int?
  status      String?  @db.VarChar(255)
  heritage    String[] @db.VarChar(2)
  slug        String   @unique @db.VarChar(255)
}

Hey, thanks for reporting this. I also tried to reproduce and could not. Here is what I tried since your reproduction is not 100% clear @alexnakagawa.
I took the example repo you provided, created a new dummy migration with prisma migrate dev --create-only and then switched out the content of the migration.sql to the one you provided. I then applied this with prisma Migrate dev. I then ran prisma Migrate introspect which gave me the expected datamodel.
I also manually applied the sql to a postgres instance and then introspected and again I got the correct datamodel.
Can you please retry with a minimal example and give a step by step reproduction?

Hi @do4gr and @pantharshit00 !! Thanks so much for testing this out for me.
I believe I have figured out what the problem was. Before running the code above, I generated my schema.prisma file with a previous version of the @prisma/engine when I initially ran prisma migrate dev --preview-feature. Unfortunately, I do not know which version of the engine I ran this with, but I just ran a minimal example similar to yours and got the same ouput as you 💯
model User {
  id    Int     @id @default(autoincrement())
  name  String? @db.VarChar(255)
  email String  @unique @db.VarChar(255)
}

model Athlete {
  id          Int      @id @default(autoincrement())
  espnId      Int?
  olympediaId Int?
  firstName   String?  @db.VarChar(255)
  lastName    String?  @db.VarChar(255)
  nativeName  String?  @db.VarChar(255)
  description String?
  popScore    Int?
  status      String?  @db.VarChar(255)
  heritage    String[] @db.VarChar(2)
  slug        String   @unique @db.VarChar(255)
}

Apologies for the inconvenience! I'll be sure to test a bit more rigorously next time.

No problem! Thanks for the feedback.


40 % /fill and server restart !!

i have a small problem whit WB i do a "/wb (world) 20 208 true" but after 40% the server restart !! no log in console, just server restart !
you have suggestion ? or another command for me ?
(server 1.13.1 spigot last version worldborder)

There should be something in your server log. Otherwise, you probably have something more seriously wrong with your server.

ok I found it was the memory blocking.
it is possible to add an option in the plugin that would offer us not to exceed a certain number of memory or to be able to tell him that we have 8, 12, or 32 gig of memory? and if reached the maximum of memory the plugin slow down, I do not know lol it was an idea :)

for the moment it's very long, I have maps of 7000 x 7000 and to have a 'Fill' I must restart the server before it reaches the maximum of memoir if the server starts again with errors and the 'Fill' must start at zero again.

The Fill process by default automatically pauses when the available memory (out of the total memory allocated to the Spigot server process) drops below 200 MB.
When it automatically pauses, it tries to force garbage collection on the server to free up memory, and then waits for enough free memory (500 MB by default) before continuing. This can be configured by editing the value for "fill-memory-tolerance" in the config.yml file.
The Fill process skips over chunks which it sees are guaranteed as fully generated. It still has to process chunks very near the edge of what is currently at least partly generated to make sure they get fully generated, but anything inside of that is very quickly skipped.

ok I understand, I'm with 'omgserv', the problem comes from them I imagine because this server says 'unlimited' gives the memory if necessary, the host should not give the memory at the right time and restart the server before that the plugin can stop and restore memory.


Improve feature filtering

Feature filtering used to highlight selected features is slow when there are many fields. This is because the app filters based on the value of every field. It would be more efficient to attempt to identify a unique ID field (or generate one with GeoServer if possible) and filter only on that field.

6789ff601bf4905ab4c774287780283f105d93a9


WSL should use & for getting a ^ and @ for getting a []

Migrated from https://bugs.webkit.org/show_bug.cgi?id=176245:
At 2017-09-01T21:49:33Z<EMAIL_ADDRESS>wrote:
Patch forthcoming.

At 2017-09-01T21:51:31Z<EMAIL_ADDRESS>wrote:
Created attachment 319646
the patch

At 2017-09-02T00:57:44Z<EMAIL_ADDRESS>wrote:
Landed in https://trac.webkit.org/changeset/221511/webkit

At 2017-09-27T19:41:49Z<EMAIL_ADDRESS>wrote:
rdar://problem/34693779


publish alpha to npm

This is an action item from last TC call.

As per yesterday's dev meeting, a few more details

[x] creating an alpha branch using stretchy-cells and tex_input_typescript
[ ] update package.json

change: main: ./mathjax3/mathjax.js
add: types: ./mathjax3/mathjax.d.ts
set version to 3.0.0-alpha.0

[ ] add travis setup
[ ] tag a release

3.0.0-alpha.0 off the alpha branch

The npm package will be ~850kb (tar.gz)

Travis set up tested cf https://travis-ci.org/mathjax/mathjax-v3/builds/300054517

FYI I've update the alpha branch with the latest TeX input. The code is now ready.


Error with Akka

I have this error:
[warn] a.u.ManifestInfo - You are using version 2.6.10 of Akka, but it appears you (perhaps indirectly) also depend on older versions of related artifacts. You can solve this by adding an explicit dependency on version 2.6.10 of the [akka-remote, akka-pki] artifacts to your project. See also: https://doc.akka.io/docs/akka/current/common/binary-compatibility-rules.html#mixed-versioning-is-not-allowed
[error] java.lang.IllegalStateException: You are using version 2.6.10 of Akka, but it appears you (perhaps indirectly) also depend on older versions of related artifacts. You can solve this by adding an explicit dependency on version 2.6.10 of the [akka-remote, akka-pki] artifacts to your project. See also: https://doc.akka.io/docs/akka/current/common/binary-compatibility-rules.html#mixed-versioning-is-not-allowed
[error]         at akka.util.ManifestInfo.checkSameVersion(ManifestInfo.scala:176)

I use

Scala 2.12.12
Play 2.8.2
Akka 2.6.9

This plugin has a dependency on Play 2.8.7, which is being selected over your dependency on 2.8.2. I think this plugin should instead depend on 2.8.0, but maybe there's a better way.

Since all Akka 2.6.x versions are backwards-compatible, it should be completely safe to upgrade to the latest version of all your Akka libraries in your build. As mentioned in the Akka docs (https://doc.akka.io/docs/akka/current/common/binary-compatibility-rules.html#mixed-versioning-is-not-allowed):

The fix is typically to pick the highest Akka version, and add explicit dependencies to your project as needed.

It's not something that a library author can completely solve, since users can always have other libraries that pull in various versions of other Akka libraries. Even forcing Play 2.6.0 wouldn't solve it if someone happened to depend on an Akka 2.6.0 library.


Numbered equations break display of ipynb in github's built in viewer

Take one of the generated notebooks from sphinx with equation numbers, check it into github, and then go to the repo.   You will see that the html around the equation ends up breaking display.  See the attached

@mmcky  I checked this in nbviewer and it seems to not be an issue there.

thanks @jlperla nbviewer is much closer to nbconvert output. Github is a more limited viewing platform for notebooks. I have had a few things break on GitHub.

OK, then let me close this.  If the numbering works in nbviewer, then no need to force it to support the github viewer (since links using nbviewer are so easy to add on README)


Misalignment between config_lora.yaml and the model card

Hi, I noticed that in the  model card. It says Adam optimizer is used.
However, in the config_lora.yaml file, it uses optim: rmsprop. Could you tell me which one is the actual training configuration?
I don't if there are other hyperparameters I didn't notice. Can you align the scripts with the correct model training configuration, please?

I also noticed this.


Kanban Board

https://github.com/users/danifromecuador/projects/5/views/1
we are 2 in our team @gersonhiggins , @danifromecuador.

Hi @gersonhiggins & @danifromecuador, 👋
STATUS: Changes Required :recycle:
Good job so far!
There are some issues that you still need to work on to go to the next project but you are almost there!

Good Points 👍

Task properly assigned ✔
Kanban board created ✔
Descriptive issues summary✔

Changes Required

You have done great so far 👍 However, there are a few requirements you still need to meet.

[ ] You did great sharing the task with each student, but just as you have done before in your previous group project, the columns in your kanban board are missing the In Review column as this column will serve as a space where your project will be moved when reviewing each other's pull request before the final submission. I would kindly suggest you add the In Review column in between the In Progress and Done column.

[x]  Please check the comments under the review.

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me on( @brainconnect93 ) in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Hi Team,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights 💯

Descriptive info ✔

Optional suggestions
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Parts and stock tabs do not show complete information after updating

Please verify that this bug has NOT been raised before.

[x] I checked and didn't find a similar issue

Describe the bug*
Parts and stock tabs do not show complete information after updating to 16.5
Steps to Reproduce
Main website click on upper parts tab or stock tab do display proper information, which was there before update the bill tab by and Cell or probably working
Expected behaviour
On the PC, through the web browser, the parts and stock categories are not fully functioning as they were before the update I have tried deleting the cash multiple times Everything else seems to be functional except for those two sections.
Deployment Method

[x] Docker
[ ] Package
[ ] Bare metal
[ ] Other - added info in Steps to Reproduce

Version Information
16.5
Please verify if you can reproduce this bug on the demo site.

[ ] I can reproduce this bug on the demo site.

Relevant log output
No response

Try this first - https://docs.inventree.org/en/stable/faq/#feature-x-does-not-work-after-update
Otherwise, please provide some screenshots. It is hard to know exactly what you mean

I have the same Issue. My parts/stock pages look like this:

Additionally, clicking on "edit" on a selected stock location does nothing

Nvm, was able to fix this by migrating the database via docker compose run --rm inventree-server invoke update and reloading the browser cache 👍


Update jsoniter-scala-core, ... to 2.1.0

Updates

com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-core
com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-macros

from 2.0.4 to 2.1.0.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.plokhotnyuk.jsoniter-scala" } ]

labels: library-update, semver-minor

Codecov Report

Merging #38 into master will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff          @@
##           master   #38   +/-   ##
====================================
  Coverage       0%    0%
====================================
  Files          24    24
  Lines         229   229
  Branches        8     7    -1
====================================
  Misses        229   229

Continue to review full report at Codecov.

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


Overhaul deployer documentation

This is the working draft PR for issue #54

I have marked this reviewable (and I think it might be merged) despite being, in some ways incomplete.   The current status:

The new specification document is written.  It might need some revisions but it's hard to say what's needed without a pass around some other parts of the doc
Other parts of the documentation have been touched in only a few places (this includes the sidebar, so the new document is reachable).  The next step ought to be to more thoroughly revise other parts of the documentation to reference and supplement the new document more gracefully.
Most notably, the old configuration section still exists and is still referred to so some things are explained in more than one place: the old configuration section, which stale as to facts but possibly friendlier in some ways, and the new specification section which has made an attempt to be accurate and up to date.  I need reconcile these.

This is not likely to all get done in the short remaining time in which I will be a  Nimbella employee.  But, this is an open source repo to which I will continue to have access and so I can do further work on this area of the doc (more intermittently) unless someone else picks it up.   I think it might help the mechanics of moving the work forward if we can clean up and merge this PR in the next two days, after which smaller ones can be opened for additional changes.

the old configuration section still exists and is still referred to.  Thus, many configuration options are documented twice.

I removed the reference-like material from configuration.md and adjusted any specific links from elsewhere to point to the spec document instead.   But, configuration.md remains for its overview and example sections and is still pointed to from other documents where it seems like a high-level overview is called for.
I still have the outtakes from configuration.md and am starting to comb through them for useful explanations that ought to be folded into the spec.  Once that pass is over I will consider this work complete for the moment.


fixed increment and decrement on wrist for horizontal slides. should …

…be good to merge.
Before issuing a pull request, please see the contributing page.

merged (reviewed with Braelyn)


WebSocket client read message from server.

I need webSocket client. I'm find only send message method. How will i get message from server?

See the documentation: https://www.javadoc.io/doc/org.java-websocket/Java-WebSocket/1.4.0
You should create your own class that extends WebSocketClient and implements the onMessage method. This method will be called whenever the server sends something to you.

Thanks!


Execute multiple queries in a stateful way

Hello, I just wanted to double check something. I need to execute multiple queries in a stateful way so that statements like USE [DATABASE] work across batches. That's impossible with this package right? Even if I went around the database/sql interface to keep a single connection, everything is ultimately executed with sp_executesql, which doesn't maintain state by design.
For context, I'm trying to write something that can run batch scripts like sqlcmd.

What you want is the sub package batch.

My question was more would that even work? Splitting up batches isn't the issue, running them statefully like batch scripts expect is. Maybe I'm not understanding though.

Yes. First grab a connection from db, then run each in the same connection.

Queries without parameters will be executed as raw batch.  Driver would only use sp_executesql for queries with parameters.

Thanks! I'm not sure how I didn't see that 😅


Doe not start

I have just downloaded installed the plugin. It gives a register error. I am not very familiar with kodi. I do not know how to provide more information. I attach a screenshot with the information of my system.

Does it happen when you install it, or when you play an episode, or when you first open it after installing? Can you give a screenshot or the text of the error?

The error happens when starting the add-on. The error appears in Spanish, in English is somthing like: Revise registry information. May this helps, in order to watch the espisodes in firefox, I have to log in in the platform. Otherwise, a lock appears in the videos.

The new version I posted, 0.4.2, will let you login through kodi to view the locked ones.  Maybe try installing 0.4.2?
In the English version of kodi the error reads "check the log for more information".  If you're able to do that then that would help a lot to figure out what's gone wrong.... it would probably be in /tmp/kodi.log on this machine.  But if you don't know how then just installing the newer release is probably you best bet.

Ah, I see.  Sorry for the confusion.  This is caused by an incompatibility with Kodi v19. Since that's now 3 versions behind, I don't think I can easily fix it.  If you want to use this addon, you'll have to upgrade your kodi to 20+ (or LibreELEC 11+).
I will change the addon.xml so that the addon will not install on 0.19 so no one else gets confused.  Sorry I can't support it, kodi completely changed how menu item labels work in 20+.

Thank you. I will try to upgrade kodi.
El lun, 17 jun 2024 22:32, b-pass @.***> escribió:

Ah, I see. Sorry for the confusion. This is caused by an incompatibility
with Kodi v19. Since that's now 3 versions behind, I don't think I can
easily fix it. If you want to use this addon, you'll have to upgrade your
kodi to 20+ (or LibreELEC 11+).
I will change the addon.xml so that the addon will not install on 0.19 so
no one else gets confused. Sorry I can't support it, kodi completely
changed how menu item labels work in 20+.
—
Reply to this email directly, view it on GitHub
https://github.com/b-pass/plugin.video.the-chosen/issues/8#issuecomment-2174370623,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALEWYAAC5IIJDYN7AIGCZ3ZH5BU3AVCNFSM6AAAAABJMMLQM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZUGM3TANRSGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


C# bindings: crash when accessing a chromatogram product or precursor

I'm trying to get information from the precursor and product ion from a Shimadzu MRM data file. However as soon as I get hold of the precursor object the program crashes at exit. Here is the data converted to mzML:
https://we.tl/t-VwFlV7CAM1
Here is a minimal example of my code (with latest pw 3.0.20135, compiled against .Net 4.8 with VS 2019):
using System;
using pwiz.CLI.msdata;

namespace TestCVParamCrash
{
    class Program
    {
        static void Main(string[] args)
        {
            var msFile = new MSDataFile(@"E:\ConvertedMSDataFile.mzML");

            for (int i = 0; i < msFile.run.chromatogramList.size(); i++)
            {
                var chromatogram = msFile.run.chromatogramList.chromatogram(i, true);
                var precursor = chromatogram.precursor;

                bool isPrecursorEmpty = precursor.empty();
                Console.WriteLine($"IsPrecursorEmpty: {isPrecursorEmpty}");
            }
            Console.ReadLine();
        }
    }
}

When native code debugging is enabled the call stack shows:

... leading me to believe the crash happens when the precursor object gets disposed by the GC. You can accelerate the crash if you enclose the precursor calls inside a using statement. It also happens with the product object.
On the same subject but related to Skyline, if I remove the product and precursor from the .mzML Skyline is still able to integrate the file correctly, meaning that Skyline must parse the ID of the chromatogram to identify them. Is there a reason to do this rather than using the product and precursor objects?

Fixed in #1081


Respect prefers-reduced-motion

I'm not sure if this is currently supported, I haven't been able to find anything in the codebase or docs about it. I was thinking it might be a good idea to have an option to respect the prefers-reduced-motion preference.

Hey @wheatjs ;
This is in the list of the things I need to implement inside @vueuse/motion. 😄
I'll just add a plugin parameter that replaces every transition by an instantaneous styling update.
Thank you for the reminder, I'm keeping this open until I implement that.

Awesome, didn't know if it was on your todo list so I thought I'd bring it up 😄

@wheatjs ; if you have time to implement that or at least make a draft PR, go for it!
I would be glad to add you as a contributor. 😄

Sure I'd love to! I'll spend some time getting familiar with the codebase and hopefully send one in this weekend


Numeric ramp does not "find" the target column

Working within builder but not in the embed
Example: https://team.carto.com/u/abel/builder/aa9b66ae-0d41-11e6-bcde-0e31c9be1b51/embed
CartoCSS:
#layer {
  marker-comp-op: lighten;
  marker-width: ramp([total], 5, 10, quantiles);
  marker-fill: ramp([total], (#f3e79b, #fac484, #f8a07e, #eb7f86, #ce6693, #a059a0, #5c53a5), quantiles);
  marker-allow-overlap: true;
  marker-line-width: 0;
  marker-line-color: #fff;
  marker-line-opacity: 1;
}

Message:
"Failed to process "marker-width" property: unable to compute ramp, column "total" does not exist"
The column is there: abel.imd_2013

It doesn't work in the editor either. It seems to be related with the fact that it has a hexgrid style applied, so the SQL wrap query is not exposing the column from the original dataset.

At the end, I need to delete the layer and recreate it. I wasn't able to disable the hexgrid!!


Increase stack space on posix 64bit architectures.

Here is a commit that fixes my core dump.

Thanks!


get_processed_data() of GFS forecasting model returns KeyError: 'temp_air'

Describe the bug
I am trying to use the GFS forecasting model. With get_processed_data(), I get a
KeyError: 'temp_air'

error.
To Reproduce
Steps to reproduce the behavior:

Code:

forecast_model = GFS()

start = pd.Timestamp(datetime.date.today(), tz='UTC')
end = start + pd.Timedelta(days=1)

raw_forecast_data = forecast_model.get_processed_data(latitude, longitude, start, end)

See error

---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
File ~/.pyenv/versions/3.11.3/lib/python3.11/site-packages/pandas/core/indexes/base.py:3652, in Index.get_loc(self, key)
   [3651](https://file+.vscode-resource.vscode-cdn.net/Volumes/Expeon/Scene_repos/PVlib-forecast_solar/~/.pyenv/versions/3.11.3/lib/python3.11/site-packages/pandas/core/indexes/base.py:3651) try:
-> [3652](https://file+.vscode-resource.vscode-cdn.net/Volumes/Expeon/Scene_repos/PVlib-forecast_solar/~/.pyenv/versions/3.11.3/lib/python3.11/site-packages/pandas/core/indexes/base.py:3652)     return self._engine.get_loc(casted_key)
   [3653](https://file+.vscode-resource.vscode-cdn.net/Volumes/Expeon/Scene_repos/PVlib-forecast_solar/~/.pyenv/versions/3.11.3/lib/python3.11/site-packages/pandas/core/indexes/base.py:3653) except KeyError as err:

File ~/.pyenv/versions/3.11.3/lib/python3.11/site-packages/pandas/_libs/index.pyx:147, in pandas._libs.index.IndexEngine.get_loc()

File ~/.pyenv/versions/3.11.3/lib/python3.11/site-packages/pandas/_libs/index.pyx:176, in pandas._libs.index.IndexEngine.get_loc()

File pandas/_libs/hashtable_class_helper.pxi:7080, in pandas._libs.hashtable.PyObjectHashTable.get_item()

File pandas/_libs/hashtable_class_helper.pxi:7088, in pandas._libs.hashtable.PyObjectHashTable.get_item()

KeyError: 'temp_air'

The above exception was the direct cause of the following exception:

KeyError                                  Traceback (most recent call last)
Cell In[6], [line 6](vscode-notebook-cell:?execution_count=6&line=6)
      [3](vscode-notebook-cell:?execution_count=6&line=3) start = pd.Timestamp(datetime.date.today(), tz='UTC')
      [4](vscode-notebook-cell:?execution_count=6&line=4) end = start + pd.Timedelta(days=1)
----> [6](vscode-notebook-cell:?execution_count=6&line=6) raw_forecast_data = forecast_model.get_processed_data(latitude, longitude, start, end)
...
   [3657](https://file+.vscode-resource.vscode-cdn.net/Volumes/Expeon/Scene_repos/PVlib-forecast_solar/~/.pyenv/versions/3.11.3/lib/python3.11/site-packages/pandas/core/indexes/base.py:3657)     #  InvalidIndexError. Otherwise we fall through and re-raise
   [3658](https://file+.vscode-resource.vscode-cdn.net/Volumes/Expeon/Scene_repos/PVlib-forecast_solar/~/.pyenv/versions/3.11.3/lib/python3.11/site-packages/pandas/core/indexes/base.py:3658)     #  the TypeError.
   [3659](https://file+.vscode-resource.vscode-cdn.net/Volumes/Expeon/Scene_repos/PVlib-forecast_solar/~/.pyenv/versions/3.11.3/lib/python3.11/site-packages/pandas/core/indexes/base.py:3659)     self._check_indexing_error(key)

KeyError: 'temp_air'

Versions:

python: 3.11.3

Unfortunately we do not support the forecasting code anymore.  It was deprecated in 2022 and removed from pvlib in 2023.


[bug] config vars not available after include

Hi, I just updated to the latest develop. And now I get this error (did not have this error before):
Unable to determine what should be displayed. A default route has not been specified in the routing file.
I believe it has to do with this commit from @gaker : https://github.com/EllisLab/CodeIgniter/commit/5c1aa631c5f5ec2f6b75ba1158178418e50ba11a
The problem is that on line 146 (https://github.com/EllisLab/CodeIgniter/blob/develop/system/core/Router.php#L146) of Router.php, the var $route is not set (I think the include does not work correctly?). If I manually include it in Router.php, it works....
Mmm I see this also happens with mimes.php... Is it because the config vars are not Global?

I reverted this commit.  Thanks

@gaker Maybe you can use this approach of loading mimes... https://github.com/EllisLab/CodeIgniter/issues/626


Ndp new course unavail #2cyufrn

What
https://app.clickup.com/t/2cyufrn

New course unavailable messages updated as per ticket.

How to review

View course comparison with AA course for architecture involved
Hover over unavailable reason in one of the accordions
It should have the new course message.

Task linked: CU-2cyufrn Unistats 22 -Update UNAVAIL messages for new courses


Issue with jalFaizy/detect_chess_pieces when running datasets-cli test

Link
https://huggingface.co/datasets/jalFaizy/detect_chess_pieces
Description
I am trying to write a appropriate data loader for a custom dataset using this script
When I run the command
$ datasets-cli test "D:\workspace\HF\detect_chess_pieces" --save_infos --all_configs
It gives the following error
Using custom data configuration default
Traceback (most recent call last):
  File "c:\users\faiza\anaconda3\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\faiza\anaconda3\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\faiza\anaconda3\Scripts\datasets-cli.exe\__main__.py", line 7, in <module>
  File "c:\users\faiza\anaconda3\lib\site-packages\datasets\commands\datasets_cli.py", line 39, in main
    service.run()
  File "c:\users\faiza\anaconda3\lib\site-packages\datasets\commands\test.py", line 132, in run
    for j, builder in enumerate(get_builders()):
  File "c:\users\faiza\anaconda3\lib\site-packages\datasets\commands\test.py", line 125, in get_builders
    yield builder_cls(
  File "c:\users\faiza\anaconda3\lib\site-packages\datasets\builder.py", line 1148, in __init__
    super().__init__(*args, **kwargs)
  File "c:\users\faiza\anaconda3\lib\site-packages\datasets\builder.py", line 306, in __init__
    info = self.get_exported_dataset_info()
  File "c:\users\faiza\anaconda3\lib\site-packages\datasets\builder.py", line 405, in get_exported_dataset_info
    return self.get_all_exported_dataset_infos().get(self.config.name, DatasetInfo())
  File "c:\users\faiza\anaconda3\lib\site-packages\datasets\builder.py", line 390, in get_all_exported_dataset_infos
    return DatasetInfosDict.from_directory(cls.get_imported_module_dir())
  File "c:\users\faiza\anaconda3\lib\site-packages\datasets\info.py", line 309, in from_directory
    dataset_infos_dict = {
  File "c:\users\faiza\anaconda3\lib\site-packages\datasets\info.py", line 310, in <dictcomp>
    config_name: DatasetInfo.from_dict(dataset_info_dict)
  File "c:\users\faiza\anaconda3\lib\site-packages\datasets\info.py", line 272, in from_dict
    return cls(**{k: v for k, v in dataset_info_dict.items() if k in field_names})
  File "<string>", line 20, in __init__
  File "c:\users\faiza\anaconda3\lib\site-packages\datasets\info.py", line 160, in __post_init__
    templates = [
  File "c:\users\faiza\anaconda3\lib\site-packages\datasets\info.py", line 161, in <listcomp>
    template if isinstance(template, TaskTemplate) else task_template_from_dict(template)
  File "c:\users\faiza\anaconda3\lib\site-packages\datasets\tasks\__init__.py", line 43, in task_template_from_dict
    return template.from_dict(task_template_dict)
AttributeError: 'NoneType' object has no attribute 'from_dict'

My assumption is that there is some kind of issue in how the "task_templates" are read, because even if I keep them as None, or not include the argument at all, the same error occurs
Owner
Yes

Hi @faizankshaikh
Please note that we have recently launched the Community feature, specifically targeted to create Discussions (about issues/questions/asking-for-help) on each Dataset on the Hub:

Blog post: https://huggingface.co/blog/community-update
Docs: https://huggingface.co/docs/hub/repositories-pull-requests-discussions

The Discussion tab for your "jalFaizy/detect_chess_pieces" dataset is here: https://huggingface.co/datasets/jalFaizy/detect_chess_pieces/discussions
You can use it to ask for help by pinging the Datasets maintainers: see our docs here: https://huggingface.co/docs/datasets/master/en/share#ask-for-a-help-and-reviews
I'm transferring this discussion to your Discussion tab and trying to address it: https://huggingface.co/datasets/jalFaizy/detect_chess_pieces/discussions/1

Thank you @albertvillanova , I will keep that in mind.
Just a quick note - I posted the issue on Github because the dataset viewer suggested me to "open an issue for direct support". Maybe it can be updated with your suggestion

Thank you pointing this out: yes, definitely, we should fix the error message. We are working on this.


Improve associations handling between entities in Data Jdbc/R2dbc

In contrast to Micronaut Data, another weakness in Spring Data Jdbc/R2dc is it lacks the entity relation handling.
Spring Data JPA is based on JPA which has great strategy for handling the relation and  cascade.
I have noticed there are some effort added in Spring Data Jdbc eg. there is a Aggregate concept introduced. I also notice there is jmolecules project which tries to handle the relations in a DDD way. For jmolecules support in Spring Data, I only found JPA/Jdbc examples, hope it is available for R2dbc.

R2dbc indeed doesn't handle  relationships between entities so far.
Spring Data JDBC does it very well and in my personal opinion significantly better than Hibernate.
See https://spring.io/blog/2018/09/24/spring-data-jdbc-references-and-aggregates
Please clarify what you are looking for.

I hope both R2dbc and Jdbc woks using the same model,

Simple project the aggregate query result  to custom DTOs.
Bulk operations(a series of save, update, delete actions on items with an aggregate root) on aggregate root.

I can not find an R2dbc example with jmolecules now.

Port same behavior(associations, AggregateReference, Embedded, EmbeddedCollection etc) of the existing Data Jdbc to Data R2dbc.
Like the Micronaut Data Jdbc/R2dbc, they used the same annotations, similar JpaSpecification for typesafe queries, the difference is returning the blocking result in Jdbc and ReactiveStreams query result in Data R2dbc.

@schauder are you going to use this issue to improve the heavy loading of relations of the aggregate root, or should I open another one?

There is ongoing effort to synchronise the behaviour of Spring Data JDBC and that of Spring Data R2dbc. This will be more than a single issue.
Also there is ongoing effort to improve bulk operations in Spring Data JDBC. Tickets and PRs are work in progress.
If a specific feature is missing in one or the other feel free to create an issue for it.

Also there is ongoing effort to improve bulk operations in Spring Data JDBC. Tickets and PRs are work in progress.
Are you referring here to Multiple inserts for a single aggregate get batched. which is part of Spring Boot 2.7?


Documentation

Hi!
With exception of pretty nice example, do you have any (even unofficial) documentation for the UI part of the SDK? The AptoSDK itself has several pretty nice explanations.

Hi @leondobnik, documentation has been added to the SDK. Thanks!


[netif] fix bug in print statement with no corresponding argument

Because there is no corresponding argument, a crash occurs when outputting the log.

you'll need to sign a Contributor License Agreement (CLA).

I signed regarding CLA.


Response type mismatch when using customFetch with output.httpClient set to "fetch"

here's my config

import { defineConfig } from "orval";

export default defineConfig({
  shop: {
    input: {
      target: "http://localhost:8080/v3/api-docs",
    },
    output: {
      client: "react-query",
      target: "./api",
      mode: "tags-split",

      override: {
        mutator: {
          path: "./api/custom-fetch.ts",
          name: "baseFetch",
        },
      },
      prettier: true,
    },
  },
});

What are the steps to reproduce this issue?

Use Orval with a custom fetch (custom-fetch.ts) as the mutator.
Set httpClient to fetch in the Orval config.
Generate API clients
Notice that the response is wrapped in an extra response object.

What happens?
The response is being wrapped with another response object, which's structure is:
export type originalResponse {
  data: OriginalResponse;
  status: number;
  headers: Headers;
}

What were you expecting to happen?
I expected to get original response without it's being wrapped into another response which causes type mismatch
Any logs, error output, etc?
N/A
What versions are you using?
Orval version 7.3.0
Please execute npx envinfo --system --npmPackages orval,zod,axios,msw,swr,@tanstack/react-query,@tanstack/vue-query,react,vue and paste the results here.
System:
OS: Windows 11 10.0.22631
CPU: (16) x64 AMD Ryzen 9 8945HS w/ Radeon 780M Graphics
Memory: 1.93 GB / 15.29 GB

I guess there should be validation if config has both httpClient and mutator(custom fetch). Because now when I remove httpClient the generated api's are different
with httpClient and mutator(custom fetch) set:
export type registerResponse = {
  data: RegisterResponse;
  status: number;
  headers: Headers;
};

export const getRegisterUrl = () => {
  return `/auth/register`;
};

export const register = async (
  registerRequest: RegisterRequest,
  options?: RequestInit,
): Promise<registerResponse> => {
  return baseFetch<Promise<registerResponse>>(getRegisterUrl(), {
    ...options,
    method: "POST",
    headers: { "Content-Type": "application/json", ...options?.headers },
    body: JSON.stringify(registerRequest),
  });
};

mutator only:
export const register = (
  registerRequest: RegisterRequest,
  options?: SecondParameter<typeof baseFetch>,
  signal?: AbortSignal,
) => {
  return baseFetch<RegisterResponse>(
    {
      url: `/auth/register`,
      method: "POST",
      headers: { "Content-Type": "application/json" },
      data: registerRequest,
      signal,
    },
    options,
  );
};

@AlmazHecker
Hmm, so when using cutom-fetch, do you want to return a Promise response instead of using the auto-generated response type?
Or is the problem that RegisterResponse does not exist in case of mutator only?

They'll run into problems if users configure things in an inconsistent way.
I think the CLI could detect that and notice they, but i don't have any plans to address it.
If you create a PR, we'll be happy to accept it.


Seeding Random dropout

Hello, is it possible to seed (initialize) the random dropout regularization in the MLP classifier?
Thanks

I presume you tried seed as constructor argument and it's not deterministic?

Seed works but it seeds the whole function. For instance if I use a randomized search for the meta parameters it will seed the searched parameters as well as the dropouts and the weights. I was wondering if it is possible to only seed the random dropout part of the classifier.

No, it's not currently possible. Could you share why you need dropout-only seed?

I want to use the seed of the weights and the randomized search as another "hyper" parameter.

I'm not sure I would support dropout as separate seed, it shouldn't make any difference as the iterations increase. More important is to expose the weight initialization strategy!


Support for GTDB v220

Support for the latest release of GTDB would be nice to have.
I've experimented with it. So far the hinder is in download_gtdb_metadata. The file name for the metadata file has changed, going from {domain}_metadata_r{version}.tar.gz to {domain}_metadata_r{version}.tsv.gz. I haven't verified that the files are then similar.

Thanks for highlighting the new GTDB release, I have started to look at how this could be solved. In 220 they have completeness and contamination estimates from both CheckM and CheckM2.


tests/net: ieee802154: fragment: Fix build error

Commit ac92a01f5ada7b8139353d6ad3b99bebcfd46d6e changed the net_ipv6_hdr
definition.  The ieee802154 fragment test wasn't updated to match this
change.
Signed-off-by: Kumar Gala<EMAIL_ADDRESS>

@ozhuraki fyi

Codecov Report

Merging #9447 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9447   +/-   ##
=======================================
  Coverage   52.17%   52.17%
=======================================
  Files         212      212
  Lines       25892    25892
  Branches     5561     5561
=======================================
  Hits        13508    13508
  Misses      10126    10126
  Partials     2258     2258

Continue to review full report at Codecov.

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


Add support for ingesting from BigQuery SQL statement / View

Currently Feast only support ingesting feature from BigQuery Table.

This issue isn't clearly described. Feast supports ingesting features from BigQuery, CSVs, as well as streams.

My bad. Yes, feast supports ingesting features from all those sources, although currently for BigQuery case it is still limited to consuming a table. Adding supports to ingest from BQ view or SQL query could add more flexibility of data source.

Any updates on this? It would be really useful to be able to ingest views

Any updates on this? It would be really useful to be able to ingest views

Hi Beth,
We are currently making some significant breaking changes to Feast, after which we expect to be able to ingest BQ views.


[WinForms] Modernize FolderBrowserDialog

Modernize FolderBrowserDialog
Use a newer COM-based FolderBrowserDialog that was introduced in Windows Vista.
Version introduced
3.0
Old behavior
.NET Framework folder browser dialog:

New behavior
The Vista-style dialog:

Reason for change
The Windows Forms FolderBrowserDialog used an old folder picker control. A newer COM-based control was introduced in Windows Vista, since .NET Core is limited to Windows 7 SP1 it made sense to update the dialog.
Recommended action
The dialog will be upgraded automatically.
If you desire to retain the original-style dialog set AutoUpgradeEnabled property to false before showing the dialog:
var dialog = new FolderBrowserDialog();
dialog.AutoUpgradeEnabled = false;
dialog.ShowDialog();

Category

Windows Forms

Affected APIs
Not detectable via API analysis

Issue metadata

Issue type: breaking-change

/cc: @OliaG @merriemcgaw


Make OperationShape::NAME more structured

Currently, OperationShape::NAME is a &'static str.
We should create a dedicated ShapeId structure, which would have a form equal to OperationExtension and use it here instead.
This would remove the need for users to split the shape IDs themselves at runtime.

https://github.com/awslabs/smithy-rs/pull/2717


Error while using Kitchen Create

Getting error with aws, please help me to solve this.

Having the same error.Hope someone will respond with a solution

Please paste the transporter below verifier and check, for your reference i am pasting my yml file please check below.

After changing the transporter also,still the same error is showing

you need to install aws cli and configure the user,

Please read the complete documentation at https://directdevops.blog/2019/04/02/test-kitchen-setup-with-aws/

@DivyasreeYanala - Resloved this error by edit ENV varilable.Kitchen.yml read access id and access key from ENV varialbles.My ENV details showing previous configuration so i have edited with new details and restarted git bash.it is working for me now and can see instance created in aws account.let me know how you getting on with this.

Solved the issue, Thank you


Joining viewer is buggy

Players can be double joined if they type !join twice before starting a game. Do a pass on the joining / spawning logic to make sure it cannot happen.

I am on it. I also refactor the viewers autoload. So that we fix that problem in all games.


adding php metrics docs

Initial basic metrics documentation for PHP instrumentation.

thanks @brettmc! To create consistency I would like to discuss if we can merge this page and the one about logging into https://opentelemetry.io/docs/instrumentation/php/manual/ (see how Java, C++ and others have it

can merge this page and the one about logging

We sure can do that. I've merged those two pages into manual, and changed a few heading levels around so that the TOC looks ok. (Hopefully not too many other changes required - I'm just about to head out on vacation for a couple of weeks)

can merge this page and the one about logging

We sure can do that. I've merged those two pages into manual, and changed a few heading levels around so that the TOC looks ok. (Hopefully not too many other changes required - I'm just about to head out on vacation for a couple of weeks)

thanks, I think we should be good here :-) Enjoy your vacation!


Little Confused

So I followed the steps below self-hosting and all that works. But when I do v!control and then bot comes in and tells you to say bot play shape of you I do and it records my voice in console but throws out an error I'm not sure how to solve
Here is the error:

is there a .pcm file inside the /temp folder
?

Hi Sorry for late response but yes there is

oh ur on windows, it's not tested on windows, prolly not working try on linux

Sorry I didn't respond my PC broke the day I posted the picture. Thanks for letting me know its not tested on windows though


Remove pipeline extras when running Pipeline.processJSON

@lasalvavida can you review?

This looks fine to me. Could you add an integration test to PipelineSpec that checks for extras removal?

Done, also noticed the same problem in Pipeline.processFile so that's fixed too.

Okay, looks good to me, thanks @lilleyse!


Give overlay content tabability

There's no story.
This is a PR to address the problem where nothing other than the close button is keyboard accessible. With this change the content of the overlay should be accessible by tabbing/keyboard.
Added content of the overlay to the focusable nodes to make all the my-courses stuff focusable.
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

It works much better. Woo!
Might be for a different reason than expected though; focusableNodesOverride (which is what creates the array of focusable nodes in the overlay) returns an empty array right now because the d2l-course-tile query will return no elements as they were moved into another component (d2l-course-tile-grid) a while ago, so the overlay manager (iron-overlay-behavior) didn't know about the course tiles. By pushing the content node onto the array, it doesn't get stuck on the close button because it doesn't think it's both the first and last element anymore, but it also will never wrap around (which is also making me rethink the accessibility of infinite scrolling..)
Incidentally, this does "solve" #57 which we were waiting to be fixed, but after looking at https://github.com/PolymerElements/iron-overlay-behavior/pull/199, the fix we were waiting for might actually be in! (Note: Did not look too hard at this yet.)

It does wrap the close-button - I'll look more at how it wraps the end of the list and see if invalidateTabbables() can help with that wrapping

@trevorjonesd2l Hrm, I wasn't seeing it - but I'll check that I didn't make a mistake somewhere.
If it does work correctly, then I think we can get rid of the focusableNodesOverride code above it as well.

It would always make me a bit nervous accessing behavior's private members:
focusables = Polymer.IronOverlayBehaviorImpl.__lookupGetter__('_focusableNodes').call(this);
For what it's worth, we have a few focus management helpers in d2l-polymer-behaviors that work on composed DOM regardless of shady/shadow enabled.  I am guessing since we're relying on the iron-overlay stuff here, it's necessary to use the focus management that comes with it?  We found it limiting with respect to composed DOM, I think especially when shadow-DOM is enabled.
Re accessibility and infinite scrolling: at the risk of getting into design most accessibility reviews suggest its usually always bad.  One of the biggest issues is making the content that follows difficult to access for keyboard users because they may never reach the end of the list.

I'm finding the focus-wrapping actually works as I'd expect it to, even with the infinite-scroll.
I think the accessibility concerns around the infinite-scroll would actually be a separate issue. I remember we had the same issue when working on binder web and ended up finding a way to address it. I'll see how it worked on binder and talk to the designer and see what can be done for that infinite-scroll accessibility in my courses. If things move smoothly I'll put up another PR this week to address those accessibility concerns.

I agree about the hacky getter access that was added a while ago - it's never called in practice and can be removed (and looks like it has been now). The infinite scroll issue you listed is one of the ones that concerned me as well, but as Trevor said, I should make a separate issue for that - thanks for the input!
I'm still not quite sure how wraparound would work, and in my testing it doesn't - eg. I can't shift+tab on the close button to focus on the last focusable element in the dialog; focus will stay on the close button (Chrome, Firefox). In Firefox, it will wrap around to the beginning of the dialog from the end, but only after first tabbing through elements on the main page behind the overlay because it doesn't know it's reached the last element (ie, focus is not confined to the overlay).
So, I think there are fixes for this (ensure that the correct first/last focusable elements are set, and maybe use invalidateTabbables where necessary), but we should probably replace this at some point with our own behavior because theirs seems very prone to issues.

Yeah, I've only really read through the iron-overlay code, so I don't have too much knowledge of what works and what doesn't (besides that it's method of identifying focusable elements was not going to work for us).
That being said, the approach used in Nav (here) to trap the focus in the mobile slide-out utilizes a focusable element before and after, and when focus lands on those elements the focus is programmatically set either to the last or first expected focusable elements respectively.  It effectively traps the focus.  @dlockhart : is this still the approach you'd recommend?
If the above approach was used in a custom overlay implementation, initial focus would need to be placed on the first expected focusable element.  In such case I would implement focus on the overlay component to handle that, and I would probably use getFirstFocusableDescendant and getLastFocusableDescendant to identify the elements to focus on.

The focus trapping approach is recommended for things that are intended to be modal, like a modal dialog or in the case you mentioned with the slide-out menu in navigation. The underlying page is shimmed out and not meant to be "visible" to AT.
In terms of making infinite scrolling accessible, I'd recommend placing an off-screen (visible to AT only) button below the last item that when clicked, loads in the next "page" of items, just as scrolling would have. That gives AT users a way to load the items while interacting with the virtual DOM, since they won't actually be scrolling the page.

LGTM


Add a Constructor to LeggedProblemData

It must take in data like surfaces and distribute them to member data like FrictionConeConstraint and VelocityConstraint.

Done!


Cannot add or update a child row: a foreign key constraint fails

I have a lot of errors in /logs/elephant/dr_elephant.log and therefore I have no processed jobs in web UI
07-08-2019 17:00:41 WARN  [dr-el-executor-thread-1] com.linkedin.drelephant.ElephantRunner : Add analytic job id [application_1562254467554_23925] into the retry list.
07-08-2019 17:00:41 INFO  [dr-el-executor-thread-1] com.linkedin.drelephant.analysis.AnalyticJobGeneratorHadoop2 : Retry queue size is 11
07-08-2019 17:00:41 INFO  [dr-el-executor-thread-1] com.linkedin.drelephant.ElephantRunner : Analyzing MAPREDUCE application_1562254467554_23937
07-08-2019 17:00:41 INFO  [dr-el-executor-thread-1] com.linkedin.drelephant.util.Utils : Truncating [FETCHER] Content parser, INFO_RELIABLE,RSS,URLS_DISCOVERY,SITEMAPS_DISCOVERY,NAILS batches,  (AutoPut m
ode) to 100 characters for application_1562254467554_23937
07-08-2019 17:00:41 INFO  [dr-el-executor-thread-1] com.linkedin.drelephant.util.InfoExtractor : No Scheduler found for appid: application_1562254467554_23937
07-08-2019 17:00:41 ERROR [dr-el-executor-thread-1] com.linkedin.drelephant.ElephantRunner : ERROR executing DML bindLog[] error[Cannot add or update a child row: a foreign key constraint fails (`drele_pr
od`.`yarn_app_heuristic_result`, CONSTRAINT `yarn_app_heuristic_result_f1` FOREIGN KEY (`yarn_app_result_id`) REFERENCES `yarn_app_result` (`id`))]
07-08-2019 17:00:41 ERROR [dr-el-executor-thread-1] com.linkedin.drelephant.ElephantRunner : javax.persistence.PersistenceException: ERROR executing DML bindLog[] error[Cannot add or update a child row: a
 foreign key constraint fails (`drele_prod`.`yarn_app_heuristic_result`, CONSTRAINT `yarn_app_heuristic_result_f1` FOREIGN KEY (`yarn_app_result_id`) REFERENCES `yarn_app_result` (`id`))]
        at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.execute(DmlBeanPersister.java:97)
        at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.insert(DmlBeanPersister.java:57)
        at com.avaje.ebeaninternal.server.persist.DefaultPersistExecute.executeInsertBean(DefaultPersistExecute.java:66)
        at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeNow(PersistRequestBean.java:448)
        at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeOrQueue(PersistRequestBean.java:478)
        at com.avaje.ebeaninternal.server.persist.DefaultPersister.insert(DefaultPersister.java:335)
        at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveEnhanced(DefaultPersister.java:310)
        at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveRecurse(DefaultPersister.java:280)
        at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveAssocManyDetails(DefaultPersister.java:851)
        at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveMany(DefaultPersister.java:734)
        at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveAssocMany(DefaultPersister.java:631)
        at com.avaje.ebeaninternal.server.persist.DefaultPersister.insert(DefaultPersister.java:339)
        at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveEnhanced(DefaultPersister.java:310)
        at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveRecurse(DefaultPersister.java:280)
        at com.avaje.ebeaninternal.server.persist.DefaultPersister.save(DefaultPersister.java:248)
        at com.avaje.ebeaninternal.server.core.DefaultServer.save(DefaultServer.java:1568)
        at com.avaje.ebeaninternal.server.core.DefaultServer.save(DefaultServer.java:1558)
        at com.avaje.ebean.Ebean.save(Ebean.java:453)
        at play.db.ebean.Model.save(Model.java:91)
        at com.linkedin.drelephant.ElephantRunner$ExecutorJob$1.run(ElephantRunner.java:399)
        at com.avaje.ebeaninternal.server.core.DefaultServer.execute(DefaultServer.java:699)
        at com.avaje.ebeaninternal.server.core.DefaultServer.execute(DefaultServer.java:693)
        at com.avaje.ebean.Ebean.execute(Ebean.java:1207)
        at com.linkedin.drelephant.ElephantRunner$ExecutorJob.run(ElephantRunner.java:397)
        at com.linkedin.drelephant.priorityexecutor.RunnableWithPriority$1.run(RunnableWithPriority.java:36)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`drele_prod`.`yarn_app_heuristic_result`, CONSTRAINT `yarn_app_heuristic_result_f1` FOREIGN KEY (`yarn_app_result_id`) REFERENCES `yarn_app_result` (`id`))
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:400)
        at com.mysql.jdbc.Util.getInstance(Util.java:383)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:973)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3847)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3783)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2447)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2594)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1901)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2113)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2049)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2034)
        at com.jolbox.bonecp.PreparedStatementHandle.executeUpdate(PreparedStatementHandle.java:205)
        at com.avaje.ebeaninternal.server.type.DataBind.executeUpdate(DataBind.java:55)
        at com.avaje.ebeaninternal.server.persist.dml.InsertHandler.execute(InsertHandler.java:134)
        at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.execute(DmlBeanPersister.java:86)

I commented out oozie scheduler in app-conf/SchedulerConf.xm and the error has disappeared. But data is not saved into db and hence still nothing in web UI. Any ideas?

@omicron8 sorry for the late follow-up, can you let me know if you are still facing this issue?

@omicron8 sorry for the late follow-up, can you let me know if you are still facing this issue?

Yes, the problem still presents

Are you getting any exceptions in the dr_elephant.log or dr.log or logs/application.log? Any type of application getting analyzed?

Nothing except the error above.

Are you able to log messages like Analysis of MAPREDUCE application application_xxxxxxxx took XYZ ms?

I did grep all logs and nothing found.

Is  logs/elephant/dr_elephant.log is getting populated(logs are written)? If yes, can you confirm if X is non-zero in Job queue size is **X** log statement? It would be helpful if you can share your log file with masking all the private details like RM Address etc.

Yes, it's being populated. Here is line with job queue size:
02-03-2020 16:41:08 INFO  [Thread-10] com.linkedin.drelephant.ElephantRunner : Job queue size is 150726

This shows that Dr.Elephant is able to fetch finished applications but they are not getting processed which can be confirmed if the Y in Second Retry queue size is Y is increasing.Try to look for log matching Drop the analytic job. Reason: reached the max retries for application id = [XYZ].
Also what type of jobs are you analyzing?

Yep, I see messages like that
dr-elephant-2.1.7/logs/elephant/dr_elephant.log.2020-01-04:01-04-2020 04:58:48 ERROR [dr-el-executor-thread-0] com.linkedin.drelephant.ElephantRunner : Drop the analytic job. Reason: reached the max retries for application id = [application_1575530104012_328247].
We analyze mr2 jobs only.

Can you provide some logs before and after the log you gave above?

dr_elephant.log.2020-01-04.txt

hey, any news?

Are you able to log messages like Analysis of MAPREDUCE application application_xxxxxxxx took XYZ ms?

I see messages like this
02-26-2020 15:19:33 INFO  [dr-el-executor-thread-2] com.linkedin.drelephant.ElephantRunner : Analyzing MAPREDUCE application_1581418441444_240970

Keep oozie scheduler in app-conf/SchedulerConf.xml commented out, and then attach the respective logs here, if your application is still not getting processed then there must be some error and need to find that out from logs.

Here is log for last hour
dr_elephant.log

@omicron8 I can't see any errors in the log provided, but seems like you have made few changes to the code. Can you provide the diff of changes you made?


Is there simple way to get Metadata of Datasource?

hi, i'm trying to make some webpage using druid, and i want to get metadata of (dataSourceName, numOfColums, latestUpdate)
which show in imply datasource list.
I searched druidAPI and what i can found was "/druid/coordinator/v1/datasources?full" .
this API get too much data - every segments of each datasource
so, i wonder if there are some ways to get  (dataSourceName, numOfColums, latestUpdate) with less data.
thank you

I think '/druid/indexer/v1/supervisor/history' matches what you need. Its response contains a date formatted string as version and meta data of that version of datasource


Register Domains

How are domains registered programatically via an API?

Please see https://docs.ens.domains/dapp-developer-guide/registering-and-renewing-names

Any documentation on how to interact with the .eth registrar via one of those libraries?

There aren't libraries specifically for interacting with the registrar, but you can use a standard web3 library for interacting with the contracts.


child-router.js wrong class name

Hi,
following the getting started I noticed that you have the wrong class name "Welcome" in skeleton-navigation/src/child-router.js. It should be ChildRouter to be consistent with the getting started code.
Kind regards
Joscha

Fixed in 93f9bfc9076a7e950d667d50c9ac75e9efb3e1f5


[material-ui][Accordion] First/Last of type styles do not work with other components as siblings

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example: https://codesandbox.io/p/sandbox/accordion-rounded-edges-issue-phdcxr?file=%2Fsrc%2FDemo.tsx%3A17%2C41
Steps: Add a TextField as a sibling of an Accordion with rounded edges - notice the rounded edges no longer exist.
Current behavior 😯
When another component like a TextField is a sibling of an Accordion, the rounded edges and other styling from first/last-of-type styles no longer appear:

or

Expected behavior 🤔
I would expect those styles to be applied to the first and last Accordion even if there are other siblings around it like this:

Context 🔦
The workaround is to wrap the Accordions in a div to give them their own parent so this isn't a huge issue, but not sure if this is the intended behavior when rendered next to other components.
Thanks!

@sydneyjodon-wk I believe it should work without needing to wrap it with a div. The issue arises because the :first-of-type and :last-of-type pseudo-classes apply to elements of the same type among siblings. Since both TextField and Accordion are rendered as div, they fall under the same type, causing the styling issue.
One potential solution, which I am not sure if it's robust, could be to use data-* attributes to mark the first and last accordion elements, similar to what's done in Joy UI Accordion. @DiegoAndai @siriwatknp, what do you think? It's surprising that there hasn't been a similar issue reported on GitHub before.
As a temporary "workaround," you can wrap it with a div until a better solution is implemented.

One potential solution, which I am not sure if it's robust, could be to use data-* attributes to mark the first and last accordion elements

This would require the introduction of AccordionGroup. I think is a good idea we could consider for v7. Instead of data-* attributes, I would use classes similar to https://github.com/mui/material-ui/pull/38520.


Nyuu config not respected

--out {fnamebase}.nzb ignored. NZBs save as filename.ext.nzb instead of filename.nzb

This is not exactly a bug, it's just how I made it. The naming has a bit of logic behind it which is why it's not left up to the user. There was point where I was discarding extensions but that soon caused issues which is why I'm forcing extensions

Nyuu doesn't like backticks, but filenames with backticks are valid in pretty much every common fs. Altering filenames is bad practice, so juicenet handles it by making an intermediate nzb with invalid characters replaced and renames the nzb to it's original name after it's done uploading.
Folders and filenames can be identical minus the extension. /Big Buck Bunny/ and /Big Buck Bunny.mkv will end up as identically named nzbs (and overwritten) with {fnamebase}.nzb.
Different files with the same filename but different extensions are also valid and discarding extensions here will once again end up with identically named nzbs (and overwritten) with {fnamebase}.nzb.
File extension is quite important info that must not be omitted because it can decide whether something is compatible on your system or not (common example would be Dolby Vision Profile 5 releases, which were mostly mp4 in the era of mkv).
The foldername of BDMVs is quite useless, you can have several BDMVs that are just titled "BDMV" or "DISC1" or something vague like that. Again, juicenet has a bit of logic here to avoid this and provide better naming by going up the path and grabbing the parent folder's name. This sort of goes against my point 1 (never alter name) but this is a situation where altering is the only choice to avoid collisions.

Due to the above reasons, juicenet currently overrides nyuu's config for --out and "decides" on it's own.

I see, makes sense. Hope there will be a feature implemented someday to be able to use nyuu config as-is but with resume capability

I would recommend just letting juicenet name the files, since it already follows best practices and handles problematic cases as mentioned above


OCM-3875 | feat: remove printing operator roles, and oidc provider on…

@gdbranco what was the motivation to print the commands in the past? Was wondering why we did not just omit them if the user passed in an oidc?

@gdbranco what was the motivation to print the commands in the past? Was wondering why we did not just omit them if the user passed in an oidc?

The user might not have pre created the resources even though the configuration exists. If we go to this route we need to at least check within AWS then


Get proper cased method names

get_class_methods will return only public accessible method
Visibility example from the docs
Usage in laravel ecosystem

If possible, it'd be nice to see some memoization here as not to run get_class_methods for every column. This really only needs to be run once for the entire lifecycle (i.e. static).

@jasonmccreary would it be ok for you to store it in the container?
app()->instance('faker-methods', [])
we could do this in getNamesFromProvidor

This isn't part of a Laravel app. So there is not app().
You can make the method static and track a static variable. Here's a good article if you're not familiar.

@jasonmccreary done


Mistake in example 2

V is missing in line 7  :
WHSInboundLoadPackingStructureLine3Entity must be WHSInboundLoadPackingStructureLineV3Entity

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 28fb49b8-8af5-f273-b3cb-65a12161afb9
Version Independent ID: 5fb0a55d-5604-eb4d-8d9a-e4f89e53d6f7
Content: Import inbound ASNs through the V3 data entity - Supply Chain Management | Dynamics 365
Content Source: articles/supply-chain/warehousing/import-asn-data-entity.md
Service: dynamics-365-supply-chain
GitHub Login: @GalynaFedorova
Microsoft Alias: gfedorova

Bug 786424 has been logged to address this issue.


WIP: Suggested improvements

Remove --column from ag and rg opts, unnecessary
Use smart case or ignore case with grep commands
Increase ASYNC_STEP to 10000, better performance
Add syntax highlighting for filetypes known to vim
Add support for fdfind (fd binary on Debian/Ubuntu)
Make FuzzyFiles respect .gitignore by default
Rename g:files_respect_gitignore to g:fuzzyy_files_respect_gitignore
Use git-grep as fallback for FuzzyGrep when no ag or rg found
Ignore binaries when using grep, git-grep, findstr
Rename fuzzyy_files_ignore_{file,dir} to fuzzyy_files_exclude_{file,dir}
Change default match hl from CurSearch to Special
Fix cursor restore in MacVim (don't change &guicursor, change hi-Cursor instead)
Fix FuzzyCommands for commands with arguments
Support rg for finding files when no fd installed
Rename enable_fuzzyy_keymaps to fuzzyy_enable_mapping
Remove default value for g:fuzzyy_buffers_exclude, unnecessary
Add custom fuzzyy highlight groups with defaults
Fudge smart-case for grep, git-grep, findstr

TODO:

add g:fuzzyy_grep_exclude_{file,dir} (similar to 5e7a4cd14a3702792d677416a207199ee8d1a001)
support more custom highlighting options, results cursorline, individual popup borders etc.
prefer rg to ag and fd for FuzzyGrep and FuzzyFiles (faster than ag, one less external dependency)
allow files and grep commands or options to be overridden somehow
don't enable leader mappings by default, or at least add fewer mappings, this is seriously opinionated territory

Hi @Donaldttt,
First, thank you for Fuzzyy, it's a great plugin, I love the aim to have something that just works out of the box, that's exactly what I was looking for after using fzf.vim for years and leaderf for a while recently.
I think it's time I asked for your feedback on some of these suggested changes before going much further. They are mostly either minor bug fixes or changes aiming to improve the out of the box experience so it "just works" as expected for new users (as expected being obviously highly subjective). They are driven by my personal use over a couple of weeks and my thoughts on how this should work as a plugin I would recommend to relative newcomers to Vim (I have recommended it btw!).
If you have a little time could you take a look at let me know what you think. I don't expect you to agree with every change, but I hope I have explained each one adequately and you can understand why I've made it, if not, please let me know and I'll clarify.
Thanks!

Hi, thank you for all the work you have done. I have been very busy lately. I will take a look of these change soon.


Extensions store perpetually loads

Application version: 2.7.3
OS: Windows 10

Steps to Reproduce:

Click on plus sign
Click on "All Extensions"
Watch cool satellite animation... for eternity

#195


got ride of 3 extraneous commas and ran makemigrations

Took me a bit to spot the problem.  Diagnosis is accidental tuplization due to an extra comma.  You had a couple of lines that were app_label = 'fpiweb', the comma at the end meant you were assigning a tuple to this variable rather than a string.  The framework isn't checking that that value is a string and yielding the weird results we saw.  I know I've accidentally turned things into tuples a bunch of times, it's an easy mistake to make.

Thanks John!  Yet another mistake for me to try to avoid in the future.
Travis
On Thu, Jun 27, 2019 at 10:49 PM, John Cassidy<EMAIL_ADDRESS>wrote:

Took me a bit to spot the problem. Diagnosis is accidental tuplization due to an extra comma. You had a couple of lines that were app_label = 'fpiweb', the comma at the end meant you were assigning a tuple to this variable rather than a string. The framework isn't checking that that value is a string and yielding the weird results we saw. I know I've accidentally turned things into tuples a bunch of times, it's an easy mistake to make.

You can view, comment on, or merge this pull request online at:
https://github.com/deeppunster/Food-Pantry-Inventory/pull/1
Commit Summary

got ride of 3 extraneous commas and ran makemigrations

File Changes

A fpiweb/migrations/0017_location_locbin_locrow_loctier_profile.py (76)
M fpiweb/models.py (6)

Patch Links:

https://github.com/deeppunster/Food-Pantry-Inventory/pull/1.patch
https://github.com/deeppunster/Food-Pantry-Inventory/pull/1.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


plumb through canSelectNoDevice flag

The daemon tells us if we can login with user/pass so we can stop people from going down a bad flow
@keybase/react-hackers
cc: @patrickxb

The commits 305baeab95d5...8f22f2a1170b introduce visual changes on linux. :mag_right: 1 new

Added: Select_Other_Device-No_User_Pass_Login

The commits 305baeab95d5...8f22f2a1170b introduce visual changes on linux. :mag_right: 1 new

Added: Select_Other_Device-No_User_Pass_Login


Stack to hyperstack error

Hi-
I've tried to run the estimate+apply on a single channel image with 6 time points and 29 z slices per time points (hyperstack). On running the plugin and choosing the best for live options, the script errors at line 289

I played around with copying the macro and editing lines, and it seems like the issue is arising from the various sections that are swapping channels to time. If I comment all of these out, I have no issues. I was also getting lots of NanoJ warnings about it being optimized for pure stacks with the base plugin that went away when I commented out the hyperstack reordering.
I didn't try too hard to follow why the stacks might get reordered. Is this an issue with my input file format, or something I'm missing in the file organization? From what I'd read, the plugin would take a c=1 z=n slices t=n frames hyperstack.
Here is the debug output:
Memory	*	1920MB of 7749MB (24%)
nImages()	*	8
getTitle()	*	"AllStarStack"
extend_stack_to_fit (g)	*	1
time_z (g)	*	1
crop_output (g)	*	1
projection_type_xy (g)	*	"Max Intensity"
z_registration (g)	*	1
reference_z (g)	*	"previous frame (better for live)"
max_z (g)	*	0
max_xy (g)	*	0
ram_conservative_mode (g)	*	0
projection_type_z (g)	*	"Max Intensity"
files (g)	*	array[1]
exp_nro (g)	*	1
time_xy (g)	*	1
XY_registration (g)	*	1
reslice_mode (g)	*	"Top"
reference_xy (g)	*	"previous frame (better for live)"
MonthNames	*	array[12]
year	*	"2022"
month	*	9
week	*	5
day	*	14
hour	*	15
min	*	59
sec	*	24
msec	*	620
timeStamp	*	"2022-Oct-14-001"
t_start	*<PHONE_NUMBER>620.0000
p	*	0
p_start	*<PHONE_NUMBER>620.0000
options	*	"open=[/Users/(username)/Desktop/untitled folder/C3.tif] autoscale color_mode=Default ..."
width	*	1024
height	*	1024
channels	*	6
slices	*	29
frames	*	1
filename_no_extension	*	"C3"
results	*	"/Users/(username)/Desktop/untitled folder/C3_2022-Oct-14-001/"
settings_file_path	*	"/Users/(username)/Desktop/untitled folder/C3_2022-Oct-14-001/C3_settings.csv"
DriftTable_path_XY	*	"/Users/(username)/Desktop/untitled folder/C3_2022-Oct-14-001/C3-Max Intensity_xy_"
DriftTable_path_Z	*	"/Users/(username)/Desktop/untitled folder/C3_2022-Oct-14-001/C3-Max Intensity-Top_z_"
thisTitle	*	"C3.tif"
i	*	29

Error:		channels x slices x frames <> stack size in line 289:
	run ( "Stack to Hyperstack..." , "order=xyctz channels=1 slices=" + slices + " frames=" + frames + " display=Color" <)>...

hi @GolgiWhillikers ,
Thanks a lot for reaching out and for trying Fast4dReg,
Could you confirm that your hyperstack metadata is correct? (In image - properties)  a correct number of Z frames, channels, and time points?
Cheers
Guillaume

Hi @GolgiWhillikers ,
Thanks so much for testing Fast4DReg!
I did a bit of testing and was able to reproduce your error. It seems like you are using the wrong script for your data type. For time-lapse videos (which you have), you should use the time_estimate+apply script, not the channels_estiimate+apply script.
Please try if this fixes the error - and if not, let's find a solution together!
Cheers,
Joanna

Ah, yes. This does, of course, work totally correctly when I choose the correct script. Perhaps I should read the directions a bit more closely...
Thanks


Service Preview only works in default namespace

Describe the bug
While doing the example as described on https://www.getambassador.io/docs/latest/topics/using/edgectl/
if the namespace is changed to anything other than "default" then service preview doesn't works and cannot intercept the call.
To Reproduce
Steps to reproduce the behavior:

create a new namespace "dev"
Follow the tutorials
While creating the traffic agent change it to namespace "dev"

apiVersion: v1
kind: ServiceAccount
metadata:
name: traffic-agent
namespace: dev
labels:
product: aes
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: traffic-agent
labels:
product: aes
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: ambassador
subjects:

kind: ServiceAccount
name: traffic-agent
namespace: dev

deploy hello-intercept on dev
k apply -f hello-intercept.yaml -n dev

Now try and intercept the service, it doesn't works.

Expected behavior
Service intercept should work in other namespaces as well
Versions (please complete the following information):
Client v1.4.3 (api v1)
Daemon v1.4.3 (api v1)

Kubernetes environment [e.g. Minikube, bare metal, Google Kubernetes Engine]
Version [e.g. 1.15]

Sorry, there is no issue with namespaces that was a typo on my side. It works now.
But my other service is still not running as expected. I have everything setup traffic manager is in the ambassador namespace. Service account is in the dev namespace and I am trying to deploy my with the following yaml. Whenever I am using a custom header the response I receive is upstream timeout. When I do not, I do get a response from the service. It is just not hitting the breakpoint when using custom header. Is there something wrong with the deployment yaml?
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Values.label }}-deployment
labels:
app: {{ .Values.label }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ .Values.label }}-pod
template:
metadata:
labels:
app: {{ .Values.label }}-pod
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
spec:
containers:
- name: {{ .Values.label }}
image: {{ .Values.image.repository }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
ports:
- containerPort: 80 #{{ .Values.service.port }}
env:
- name: "ASPNETCORE_ENVIRONMENT"
value: {{ .Values.enviroment }}
volumeMounts:
- name: config-volume
mountPath: /app/config
readOnly: true
- name: traffic-agent       # Traffic Agent container (note 3)
image: quay.io/datawire/aes:1.4.2 # (note 4)
ports:
- containerPort: 9000 #{{ .Values.service.targetport }}   # Traffic Agent listen port
env:
- name: AGENT_SERVICE     # Name to use for intercepting (note 5)
value: {{ .Values.service.intercept }}
- name: AGENT_PORT        # Port on which to talk to the microservice (note 6)
value: "80" #"{{ .Values.service.port }}"
- name: AGENT_MANAGER_NAMESPACE # Namespace for contacting the Traffic Manager (note 7)
value: ambassador
- name: AMBASSADOR_NAMESPACE # Namespace in which this microservice is running (note 8)
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: AGENT_LISTEN_PORT # Port on which to listen for connections (note 9)
value: "9900" #"{{ .Values.service.targetport }}"
serviceAccountName: traffic-agent
volumes:
- name: config-volume
configMap:
name: appsettings-{{ .Values.label }}-config


[VMVX] Add support for arith.maxnumf and arith.minnumf lowering.

Similar to what is done in CPU backend, it adds a ArithExpandOps pass to the late stage of the pipeline. This drops the local llvm revert (i.e., https://github.com/llvm/llvm-project/commit/fa066687) because the VMVX backend can emulate the ops.
Note: the arith.maximum and arith.minimum ops are also expanded with the change. They become a seq of cmp + select ops.
Existing local patches carried over:

https://github.com/llvm/llvm-project/commit/f6431f0c
https://github.com/llvm/llvm-project/commit/bbd4af5d

Fixes https://github.com/iree-org/iree/issues/17779

Oh, the cuda lit test needs an additional upstream fix. The upstream vectorizer does not support maxnumf/minnumf reduction type at this moment. It should be an easy fix, I'll send it out for review soon; get back to it when the change is pulled into IREE.
https://github.com/llvm/llvm-project/blob/38e671ab5221ec3d355fe4e3f70fdcd6f4809532/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp#L521-L527

The upstream commit (https://github.com/llvm/llvm-project/commit/6d02f62e4af90295a6e0386e3e96afe518777c17) is landed. We'll be able to drop the local revert when it's in IREE.

rebased, and waiting for CI results. I'll land it once it's green.


dreamview: ERROR (spawn error)

Hi, everyone.
I have successfully compiled the apollo by using
bash apollo.sh build.
However, when I wanted to start apollo by using
bash scripts/bootstrap.sh
There is one problem:
joelin@in_dev_docker:/apollo$ bash scripts/bootstrap.sh
Started supervisord with dev conf
Start roscore...
scripts/roscore.sh: line 28: /apollo/data/log/roscore.out: Permission denied
voice_detector: started
scripts/voice_detector.sh: line 28: /apollo/data/log/voice_detector.out: Permission denied
dreamview: ERROR (spawn error)
Does anyone know how to fix this problem.
I think it is maybe I have a docker containing apollo 3.5 in my PC
I also need one docker to have apollo 3.0.

@JoelinChee I believe you are correct. It is because of multiple docker containers. Unfortunately this is not supported, but we have had developers run 2 instances before, please look up similar issue threads for support on how to do so. Thank you!

@JoelinChee sudo rm -rf /apollo/data/log


Update RunAroundLikeCrazyGoalMixin::tick to match vanilla impl

Updated another outdated overwrite that I noticed while working on Loofah.

This should be easy to change to just use redirects instead and avoid the overwrite?

Yea the reason i was even working on this is because I'm rewriting it like that since the overwrite is conflicting with Architechtury API on fabric. I can send a PR with the rewritten version once I finish that after dinner if wanted.

We would like to get rid of overwrites as much as possible.

There we go now it's replacing the overwrites with injects instead

There you go :)


Cannot export mesh with BackSide material

I added a dome sphere into the scene, but this sphere can't be exported in pano.
But if I make size smaller without BackSide be set, it is able to exported.
So is there something special to export mesh with BackSide material?
const material = new THREE.MeshBasicMaterial({
				map: textureLoader.load('images/skybox.jpg'),
				emissive: 0x000000,
				transparent: true
			})
			material.side = THREE.BackSide

			scene.add(new THREE.Mesh(
				new THREE.SphereGeometry(3000, 32, 32),
				material
			))

The default CubeCamera has a far range of 1000, so your sphere is probably being clipped. 3000 is a lot of distance for VR, but whatever: read the Unmanaged CubemapToEquirectangular section and create a CubeCamera with the right range for your scene, and it should work.

Thanks for your tip, it helped


Test authentication fails with revoked grant

This test that fetching with a revoked grant fails.
This currently fails, because the agent running the test has access without requiring the access grant.

Superceded by #535


Getting error when loading library

I have a site that uses Chartjs and the everything was working fine 2 days ago. But now for some reason I'm getting an error in the Chartjs file when it loads. I've tried loading both a local copy and a copy from the cdn provided in the docs. Both with the same result. I haven't changed the code since it was working so I'm a bit confused as to what happened. You can see this if you go to http://dev-economic-development-commission.pantheonsite.io/why-talbot/. The other piece I'm confused about it that on the local version of the site everything is working correctly. Which makes it very difficult to troubleshoot as I can't replicate the issue. But even after many trials of updating code and clearing caches I'm still getting the error. I have added the error below for reference as well.
If there is more information I can provide please let me know and I will happily do so. Thanks!
Chart.min.js?ver=1.0.0:10 Uncaught TypeError: e.labels.map is not a function at n.generateLabels (Chart.min.js?ver=1.0.0:10) at Object.callback (Chart.min.js?ver=1.0.0:10) at n.buildLabels (Chart.min.js?ver=1.0.0:10) at n.update (Chart.min.js?ver=1.0.0:10) at Chart.min.js?ver=1.0.0:10 at Object.each (Chart.min.js?ver=1.0.0:10) at Object.update (Chart.min.js?ver=1.0.0:10) at t.updateLayout (Chart.min.js?ver=1.0.0:10) at t.update (Chart.min.js?ver=1.0.0:10) at t.construct (Chart.min.js?ver=1.0.0:10)

@yoxalld looks like there is an issue with the data you send to Chart.js, data.labels is a (partial?) string but should be an array:

Your canvas DOM looks quite strange:

Do you use any lib on top of Chart.js?

Certainly an issue with this extra quote inside the array values:

Ah! Thank you so much! The charts content is tied into a CMS and I forgot to strip out quotes properly. Thanks for the second pair of eyes! I would have been digging for days trying to find that.

Closing as resolved.


refactor: optimize code for bundle size

Types of changes

[x] Chore (a non-breaking change which is related to package maintenance)
[ ] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

(I guess a refactor is like a chore?)
Description
Refactors the client to optimize bundle size. There likely are still areas that can be optimized further, but this is a good first effort and brings the code below 3 KB.

Before PR: 3250 B (minified, gzipped, excluding @prismicio/helpers)
After PR: 2921 B (minified, gzipped, excluding @prismicio/helpers)

Note: This PR removes the ability to provide a custom Integration Fields ref. This is something that should not be user-facing so it was removed.
Checklist:

[ ] My change requires an update to the official documentation.
[x] All TSDoc comments are up-to-date and new ones have been added where necessary.
[x] All new and existing tests are passing.

🐇

I was able to reduce the bundle size further by refactoring how predicates were exported. We were already exporting them using * as predicate which converts it to a single object, so we can do it manually to save a lot of bytes.
This means we can move the inline awaits and restore the RefStateType enum (renamed to RefStateMode) without going over 3 KB.
With the latest changes, we are down to 2921 KB. Good enough to stop optimizing for now I think!

@lihbr I'll let you take a last look at it before merging.


Best practices

I need more information how to develop php app using composer or other tools for ngx_php7.
Any documentation and guide ?

Using composer ?
Compine php extensions into embeded ? Which one ? Bad extensions?

This packages is awesome compare to lua/resty php is far better scripting language but need documentation website.
Thanks for developing this awesome package btw

I need more information how to develop php app using composer or other tools for ngx_php7.
Any documentation and guide ?

Using composer ?
Compine php extensions into embeded ? Which one ? Bad extensions?

A composer example:
content_by_php_block {
		$rootdir = '/sample_project';
		require_once $rootdir.'/vendor/autoload.php';

		require $rootdir.'/index.php';
}

And php extensions, also need to test.
Thank you for your attention and welcome your feedback.

about using composer is how php work as embed mode in php, for example we have opcache in fpm layer but not in php cli so, composer show different performance using cli and fpm.
In php 7.4 we have preload : https://stitcher.io/blog/preloading-in-php-74
Different environment need different mind set about how to use scripting language.

I still not finished to optimize the configurations, but php-ngx-pgsql is :rocket:
https://www.techempower.com/benchmarks/#section=test&runid=79d56671-150b-4653-9513-337cade8b1e1&hw=ph&test=fortune

When I finish the configuartion, I will update the link.

I still not finished to optimize the configurations, but php-ngx-pgsql is 🚀
https://www.techempower.com/benchmarks/#section=test&runid=79d56671-150b-4653-9513-337cade8b1e1&hw=ph&test=fortune

When I finish the configuartion, I will update the link.
I think that is time to create an organization in github.

Good work, we have new results.


Update extensibility docs

Fixes #569.

This PR also proposes to change the Extensibility name to Using Components.
PR Checklist

[ ] Tests
[ ] Tried the feature on a public network
[x] Documentation

Let's not forget to add the entry to the CHANGELOG, even when this PR was created before and has not the updated PULL_REQUEST_TEMPLATE.


Typescript project build failing due to missing type declarations

The type declarations are not there for the lodash packages and when installed, build is failing with the following error:
node_modules/@apollo/datasource-rest/src/RESTDataSource.ts(11,23): error TS7016: Could not find a declaration file for module 'lodash.clonedeep'. '/home/runner/work/project/node_modules/lodash.clonedeep/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/lodash.clonedeep` if it exists or add a new declaration (.d.ts) file containing `declare module 'lodash.clonedeep';`

This had happened for isplainobject dependency as well and we had to install the types separately even though we do not use it in project. The type declarations and exports should ideally be the handled by the package itself and not cause users to install dependencies separately.

This seems like a tsconfig issue in your project. I can install this package and build without issues in a simple typescript project (and no need to install those types packages myself).
Can you provide a small reproduction? I'm going to close this issue since I genuinely don't think there's an issue with the package, but happy to continue helping here and reopen if we find there's actually a problem.


Adding a rake rule to build static boringssl libraries.

Can one of the admins verify this patch?

Can one of the admins verify this patch?


chore: fixing some docs

Description:
Fixing some docs, especially the need for --recursive parameter when cloning the repo.
Related issue(s):
Fixes later compilation errors if you don't include submodules in the repo.
   Compiling hedera-proto v0.8.1 (/home/developer/workspace/hedera/hedera-sdk-rust/protobufs)
error: failed to run custom build command for `hedera-proto v0.8.1 (/home/developer/workspace/hedera/hedera-sdk-rust/protobufs)`

Caused by:
  process didn't exit successfully: `/home/developer/workspace/hedera/hedera-sdk-rust/target/debug/build/hedera-proto-1822a64e67ed6dbd/build-script-build` (exit status: 1)
  --- stderr
  Error: No such file or directory (os error 2)
warning: build failed, waiting for other jobs to finish...

Notes for reviewer:
N/A
Checklist

[x] Documented (Code comments, README, etc.)
[x] Tested (unit, integration, etc.)

@Neurone Just need you to sign the commit then we can get this merged!

Yep, sure. Done!


OAuth authentication

Added the ability to use OAuth authentication so a user won't have to use username/password and therefore can give apps access to specific scopes so they can't access all parts of a user's account.

Very nice! Thank you :smile:

Published as a part of 1.8.0-SNAPSHOT.