WIP - First incomplete attempt at supporting DecorationRelaxedPrecision in MSL.

This is a first attempt at adding support for the DecorationRelaxedPrecision in MSL. The purpose is to allow GLSL medump declarations to appear as 16-bit precision short, ushort, and half declarations in MSL.
As currently designed...this is turning out to be quite an intrusive enhancement...because there are many, many areas where type_as_glsl() is invoked...including textures, assignments, math ops, etc.
It is currently broken on shaders-msl/frag/constant-array.frag because the shader contains a number of constant declarations such as vec4 and vec4[] that are NOT decorated with DecorationRelaxedPrecision and it then breaks the MSL compiler when it tries to use those constants to assign, or operate on (e.g.- add, subtract) variables that ARE decorated with DecorationRelaxedPrecision.
To illustrate...simply run ./test_shaders.py --msl shaders-msl.
I'm throwing this up here to solicit suggestions for one of...

Ensuring we can deal with all declarations (variables, constants, spec constants, inputs, outputs, uniforms, texture) correctly and consistently.
Throwing this approach away in favour of a more elegant and less intrusive solution that is immediately available.
Postponing this update, in favour of a later refactoring, that might make a different solution much more elegant and feasible.

Regarding the latter two options...I have been thinking of the following possible alternate design...
Replace the SPIRType in any object that has relaxed precision with an invented SPIRType that looks like the original...but has it's width cut to 16 bits. Then type_as_glsl() would just work.
This seems clean and elegant...except for SPIRType inheritance and decorations...which might get in the way...hence my thinking of possible refactoring...in this case decoration support or how SPIRType inheritance works...which can sometimes get in the way of other things too...like pointers and arrays.
The lack of decoration on the constants described above would still be a problem with this design too.

The CI-Travis failure is expected. It's failing for the reason described above.

Thanks, I will have a look tomorrow.

Hm ... Alright, so if I understand this correctly:
float v = 2.0;
half h = v;

is not legal MSL because you cannot get implicit conversion between float and half? That sounds almost like a deal breaker, because the main idea behind RelaxedPrecision is that you get implicit conversions, but the type remains the same. If MSL is very strict about this conversion, things will certainly get quite messy.

The simple case of scalars is not an issue because the constants get compiled by glslang into literals. It's the vectors and arrays that cause problems.
Your custom struct idea is interesting. I have a bunch of custom functions already in CompilerMSL that are spit out when needed...so we could follow the same pattern of spitting out custom struct definitions.
How would we handle when it is on the RHS of a math operator?
float + myhalf

Perhaps something like overriding operator+, -, *, / and so on, but yes, I agree this is going to rather extreme lengths to support an optional optimization feature.
I am fine with deferring this until there is a real use case which is proven to show a real uplift by going to half. The case we are dealing with here is related to ESSL fragment shaders indeed.

Overriding operators might work for the LHS math...
myhalf + float

...but I don't see how it would work for RHS math...
float + myhalf

...unless we also created an enhanced float class as well.

You could make a global operator overload perhaps?
float operator+(float, half)

I'll assume this is abandoned.


Move ValidateToken to Provider, implement LinkedIn correctly

Per @balshor's comment in #88, the current ValidateToken() implementation won't work with LinkedIn. This should solve the problem, though I still need to manually test it to be sure.
cc: @jehiah

Hmm, seems there's still a little race in the file watcher test. I'll see what I can do about that.

Now that #93 is in, I rebased this branch and got Travis to pass. I'll try to grab some LinkedIn app credentials to manually try out these changes--though if @balshor wants to pull this branch and beat me to it, that would be wonderful. ;-)

thanks @mbland this looks good. Want to squash this down? (you knew i was going to ask that, right?) :wink:

commited as 8471f972e141a44f2319e7c7f35ad10c6195c2fa

Ah, see you beat me to it. :-)


Support rackaware for deployment across multi data centers

make sure the replicas be deployed in multi data centers.

done


Nufft with DFT option not running on GPU

Hello,
I tried running the nufft on GPU in "DFT" mode with options "-g -s". This leads to an error "Command exited with error code -11".  If I run the adjoint DFT with options "-g -s -a", the code runs. I believe, this is because in the adjoint mode, the GPU wrapper for the linear operator is not called in the case of selecting the DFT option. In the forward mode however, it is called and leads to the aforementioned error.
Is the NUDFT not supposed to run on a GPU?
Thanks in advance.
Marten

Hi Marten,
the nuDFT is currently not implemented on the GPU. We'll add an error message which forbids use of the nuDFT with gpu selected.
Best,
Moritz


Allow Trainer to accept dictionary as input?

I searched issues and the forum but couldn't find anyone who mentioned this, so here I'm asking: can we allow Trainer to accept dictionaries as an input argument?
This came up as I'm writing a script to run experiments under various configurations. For each experiment, I'm passing a configuration file (in JSON) into an experiment runner which builds callbacks, Trainer, and models internally. At the moment, I'm doing something that looks like:
trainer = pl.Trainer(
                gpus                = config.trainer.gpus,
                auto_select_gpus    = config.trainer.auto_select_gpus,
                precision           = config.trainer.precision,
                deterministic       = config.trainer.deterministic,
                max_epochs          = config.trainer.max_epochs,
                auto_lr_find        = config.trainer.auto_lr_find,
                gradient_clip_val   = config.trainer.gradient_clip_val,
                logger              = logger,
                callbacks           = callbacks,
            )

However, I would like to be able to do:
trainer = pl.Trainer(config.trainer)

I think running experiments would be so much more flexible this way unless there is a technical reason that prevents this from happening.

trainer currently supports namespace/argparse, check out:
https://pytorch-lightning.readthedocs.io/en/stable/trainer.html#trainer-in-python-scripts

Sure, I can certainly convert dict to argparse namespace like this:
trainer_params = {
        # some params
    }

    parser = Trainer.add_argparse_args(argparse.ArgumentParser())
    args = parser.parse_args()
    vars(args).update(trainer_params)
    Trainer.from_argparse_args(args)

But this looks unnecessarily complicated. There should be an easier/cleaner way to do this? I just can't find one upfront.

@cheulyop is config.trainer a dict type?

@ydcjeff when I opened this issue, I thought it should be. But thinking of it now, it doesn't have to be?
Actually, in my code, config is a dict of dicts, such as experiment, data, early_stop, trainer, and hparams. I store config as json and load it with a hook converting dicts and their values into an object, i.e., namespace.
If it is namespace, I suppose the whole thing can be as simple as Trainer.from_argparse_args(config.trainer).
I don't think the documentation is very clear about this, neither the name from_argparse_args :/

If config.trainer is a dict, you could use double asterisk, right?

@ydcjeff yes you can do Namespace(**config.trainer)

How about in this? pl.Trainer(**config.trainer) that can be used too?

Yes that works as well 👍

Thank you for confirming!
Closing it as it is resolved, feel free to reopen if needed


Implement get_possible_types for Uniform, Coercible, Variadic, Numeric and String

Which issue does this PR close?

Closes #13271
Rationale for this change

As mentioned on the issue, the implementations for information_schema.routines and information_schema.parameters will need to be able to list all possible combinations of argument types.
What changes are included in this PR?

Implement get_possible_types for Uniform, Coercible, Variadic, Numeric and String.

Are these changes tested?
Yes

Are there any user-facing changes?
No

FYI @goldmedal

@goldmedal Thanks for the review, I've committed your suggestions


I had a issue about isolate.

Hi , i had a question about isolate, is when i use isolate in flutter app, it only can by Isolate.Spawn(function), if i generate by Isolate.spawnUri(), will cause a error, why?
thanks for help me. :)

Hi @bladeofgod,
There's similar open issue describing your case, 10564.
Please follow-up there for updates and any questions.
Closing this as duplicate. If you disagree, write in comments and I'll reopen.
Thanks.


fix the concurrency model of ResponseRouter that results in NullPoint…

resolves #53
Here's the entire explanation of the problem
Netty guarantees that a ChannelHandler will be handled by a Executor with fixed set of Threads (changed in 5.0 before this it was one Thread per ChannelHandler) and also guarantees that the it won't be accessed concurrently and somehow manages the variables to be consistent across the given set of Threads held by the executor (by guess it has its own version of ChannelLocal similar to ThreadLocal).
These guarantees go away when a ChannelHandler is used outside the context of Netty which was the case with ResponseRouter since call methods were accessing it outside the context of Netty and hence the messageMap had inconsistent values across the two threads.
Queued <RawRequest id=9 service=some-service transportHeaders={as=json, cn=ping-client} arg1=ping arg2={} arg3={"request":"ping?"}> ChannelHandlerContext(ResponseRouter,            [id: 0x8c78ba72, /<IP_ADDRESS>:53491 => europa-13.local/<IP_ADDRESS>:53490]) Thread: 12

Success <RawResponse id=90 transportHeaders={as=json, cn=ping-client} arg1=ping arg2={} arg3={"response":"pong!"}> ChannelHandlerContext(ResponseRouter, [id: 0x8c78ba72, /10.       32.166.102:53491 => europa-13.local/<IP_ADDRESS>:53490]) Thread: 17

From the above log its pretty clear that the thread queuing the values in the messageMap is thread: 12 and the thread removing from it thread: 17, which is what causes the inconsistencies.
The other change remove await which is not really required and all it was doing earlier was reducing the probability of the NullPointerException.
This also results in improved QPS on the response queuing side as much as 400x is some cases !
Before Benchmark:
Benchmark                                    (sleepTime)   Mode  Cnt     Score     Error  Units
PingPongServerBenchmark.benchmark                      0  thrpt   10  7469.815 ± 803.796  ops/s
PingPongServerBenchmark.benchmark:actualQPS            0  thrpt   10  7397.594 ± 985.218  ops/s
PingPongServerBenchmark.benchmark                      1  thrpt   10   766.573 ± 234.731  ops/s
PingPongServerBenchmark.benchmark:actualQPS            1  thrpt   10   744.960 ±  27.373  ops/s
PingPongServerBenchmark.benchmark                     10  thrpt   10    83.319 ±  21.779  ops/s
PingPongServerBenchmark.benchmark:actualQPS           10  thrpt   10    86.660 ±   0.757  ops/s

After Benchmark:
# Run complete. Total time: 00:02:10

Benchmark                                    (sleepTime)   Mode  Cnt      Score       Error  Units
PingPongServerBenchmark.benchmark                      0  thrpt   10  22743.757 ±  8792.381  ops/s
PingPongServerBenchmark.benchmark:actualQPS            0  thrpt   10   7420.606 ±  2772.464  ops/s
PingPongServerBenchmark.benchmark                      1  thrpt   10  30050.651 ± 11778.476  ops/s
PingPongServerBenchmark.benchmark:actualQPS            1  thrpt   10    728.472 ±   278.103  ops/s
PingPongServerBenchmark.benchmark                     10  thrpt   10  32986.252 ±  5484.128  ops/s
PingPongServerBenchmark.benchmark:actualQPS           10  thrpt   10     87.853 ±     6.092  ops/s

Although there might better way to do this as mentioned in #67 lets do this for now to unblock other people.
cc @willsalz @brandoniles

Damn. I should have left in that ConcurrentHash map…


Failed deployment to Vercel: with build unknow error, but working as expected in local server

Discussed in https://github.com/prisma/prisma/discussions/21870

Originally posted by kelmedev November  9, 2023
Question
Can someone please help me identify what error is going on with my deploy to Vercel?
log below:
[11:47:31.201] Cloning completed: 1.286s
[11:47:31.595] Running "vercel build"
[11:47:32.077] Vercel CLI 32.5.3
[11:47:32.892] Installing dependencies...
[11:48:06.901]
[11:48:06.902] ><EMAIL_ADDRESS>postinstall
[11:48:06.902] > prisma generate
[11:48:06.903]
[11:48:07.559] Environment variables loaded from .env
[11:48:07.561] Prisma schema loaded from prisma/schema.prisma
[11:48:08.055]
[11:48:08.056] ✔ Generated Prisma Client (v5.5.2) to ./prisma/generated/client in 71ms
[11:48:08.057]
[11:48:08.057] Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
[11:48:08.057] ```
[11:48:08.057] import { PrismaClient } from './prisma/generated/client'
[11:48:08.057] const prisma = new PrismaClient()
[11:48:08.058] ```
[11:48:08.058] or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
[11:48:08.058] ```
[11:48:08.058] import { PrismaClient } from './prisma/generated/client/edge'
[11:48:08.058] const prisma = new PrismaClient()
[11:48:08.058] ```
[11:48:08.059]
[11:48:08.059] See other ways of importing Prisma Client: http://pris.ly/d/importing-client
[11:48:08.059]
[11:48:08.121]
[11:48:08.122] added 828 packages in 35s
[11:48:08.122]
[11:48:08.122] 167 packages are looking for funding
[11:48:08.122]   run `npm fund` for details
[11:48:08.169] Detected Next.js version: 14.0.1
[11:48:08.170] Running "prisma generate && next build"
[11:48:08.827] Environment variables loaded from .env
[11:48:08.832] Prisma schema loaded from prisma/schema.prisma
[11:48:09.263]
[11:48:09.264] ✔ Generated Prisma Client (v5.5.2) to ./prisma/generated/client in 73ms
[11:48:09.264]
[11:48:09.264] Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
[11:48:09.264] ```
[11:48:09.265] import { PrismaClient } from './prisma/generated/client'
[11:48:09.265] const prisma = new PrismaClient()
[11:48:09.265] ```
[11:48:09.265] or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
[11:48:09.265] ```
[11:48:09.266] import { PrismaClient } from './prisma/generated/client/edge'
[11:48:09.266] const prisma = new PrismaClient()
[11:48:09.266] ```
[11:48:09.266]
[11:48:09.266] See other ways of importing Prisma Client: http://pris.ly/d/importing-client
[11:48:09.266]
[11:48:09.974] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[11:48:09.974] This information is used to shape Next.js' roadmap and prioritize features.
[11:48:09.975] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
[11:48:09.975] https://nextjs.org/telemetry
[11:48:09.975]
[11:48:10.080]    ▲ Next.js 14.0.1
[11:48:10.080]    - Environments: .env
[11:48:10.081]
[11:48:10.082]    Creating an optimized production build ...
[11:48:31.622]  ✓ Compiled successfully
[11:48:31.624]    Linting and checking validity of types ...
[11:48:39.938]    Collecting page data ...
[11:48:40.377] Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.
[11:48:40.378] In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues
[11:48:40.378]     at new PrismaClient (/vercel/path0/node_modules/.prisma/client/index.js:43:11)
[11:48:40.378]     at 23758 (/vercel/path0/.next/server/chunks/758.js:1:129)
[11:48:40.379]     at __webpack_require__ (/vercel/path0/.next/server/webpack-runtime.js:1:146)
[11:48:40.379]     at 29821 (/vercel/path0/.next/server/app/api/auth/[...nextauth]/route.js:1:1254)
[11:48:40.379]     at __webpack_require__ (/vercel/path0/.next/server/webpack-runtime.js:1:146)
[11:48:40.379]     at __webpack_exec__ (/vercel/path0/.next/server/app/api/auth/[...nextauth]/route.js:1:1838)
[11:48:40.380]     at /vercel/path0/.next/server/app/api/auth/[...nextauth]/route.js:1:1876
[11:48:40.380]     at __webpack_require__.X (/vercel/path0/.next/server/webpack-runtime.js:1:1638)
[11:48:40.380]     at /vercel/path0/.next/server/app/api/auth/[...nextauth]/route.js:1:1851
[11:48:40.380]     at Object.<anonymous> (/vercel/path0/.next/server/app/api/auth/[...nextauth]/route.js:1:1919)
[11:48:40.381]
[11:48:40.381] > Build error occurred
[11:48:40.386] Error: Failed to collect page data for /api/auth/[...nextauth]
[11:48:40.387]     at /vercel/path0/node_modules/next/dist/build/utils.js:1211:15
[11:48:40.387]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
[11:48:40.387]   type: 'Error'
[11:48:40.387] }
[11:48:40.442] Error: Command "prisma generate && next build" exited with 1
[11:48:40.975]

How to reproduce (optional)

{
	"name": "ensiene-webapp",
	"version": "0.1.0",
	"private": true,
	"scripts": {
		"dev": "next dev",
		"build": "prisma generate && next build",
		"start": "next start",
		"lint": "next lint"
	},
	"dependencies": {
		"@headlessui/react": "^1.7.15",
		"@heroicons/react": "^2.0.18",
		"@next-auth/prisma-adapter": "^1.0.7",
		"@nextui-org/react": "^1.0.0-beta.13",
		"@prisma/client": "^5.5.2",
		"@radix-ui/react-dropdown-menu": "^2.0.5",
		"@radix-ui/react-label": "^2.0.2",
		"@radix-ui/react-navigation-menu": "^1.1.3",
		"@radix-ui/react-popover": "1.0.6",
		"@radix-ui/react-slot": "^1.0.2",
		"@tremor/react": "^3.6.0",
		"@types/react": "18.2.15",
		"@types/react-dom": "18.2.7",
		"@vercel/postgres": "^0.5.0",
		"autoprefixer": "10.4.14",
		"bun": "^1.0.11",
		"class-variance-authority": "^0.7.0",
		"clsx": "^2.0.0",
		"eslint": "8.45.0",
		"eslint-config-next": "^14.0.1",
		"framer-motion": "^10.16.4",
		"iconoir-react": "^6.10.0",
		"lucide-react": "^0.263.1",
		"next": "^14.0.1",
		"next-auth": "^4.24.4",
		"next-themes": "^0.2.1",
		"nextjs-toploader": "^1.4.2",
		"postcss": "^8.4.31",
		"prisma": "5.3.1",
		"react": "^18.2.0",
		"react-dom": "^18.2.0",
		"shadcn-ui": "^0.3.0",
		"sharp": "^0.32.6",
		"tailwind-merge": "^1.14.0",
		"tailwindcss": "3.3.3",
		"tailwindcss-animate": "^1.0.6"
	},
	"prisma": {
		"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
	},
	"devDependencies": {
		"@types/node": "^20.4.4",
		"prisma": "^5.3.1",
		"ts-node": "^10.9.1",
		"typescript": "^5.2.2"
	}
}

Expected behavior (optional)
I expect that it would correctly be deployed to vercel, sense it's "next build" on local server is working pretty well. I configured "prisma generate && next build" at vercel and configurated "postinstall" in "package.json".
Information about Prisma Schema, Client Queries and Environment (optional)
//npx prisma studio
//npx prisma migrate dev --name init
//npx prisma db push
generator client {
  provider = "prisma-client-js"
  output   = "./generated/client"
}

datasource db {
  provider = "postgresql"
  url = env("POSTGRES_PRISMA_URL") // uses connection pooling
  directUrl = env("POSTGRES_URL_NON_POOLING") // uses a direct connection
}

// NextAuth Schema

model Account {
  id                 String  @id @default(cuid())
  userId             String
  type               String
  provider           String
  providerAccountId  String
  refresh_token      String?  @db.Text
  access_token       String?  @db.Text
  expires_at         Int?
  refresh_token_expires_in Int?
  token_type         String?
  scope              String?
  id_token           String?  @db.Text
  session_state      String?

  user User @relation(fields: [userId], references: [id], onDelete: Cascade)

  @@unique([provider, providerAccountId])
}

model Session {
  id           String   @id @default(cuid())
  sessionToken String   @unique
  userId       String
  expires      DateTime
  user         User     @relation(fields: [userId], references: [id], onDelete: Cascade)
}

model User {
  id            String    @id @default(cuid())
  name          String?
  bio           String? @db.Text
  age           Int?
  email         String?   @unique
  emailVerified DateTime?
  image         String?
  accounts      Account[]
  sessions      Session[]
}

model VerificationToken {
  identifier String
  token      String   @unique
  expires    DateTime

  @@unique([identifier, token])
}
```</div>

Same error when deploy to Vercel:
`
info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
05:38:05.915 | Collecting page data ...
05:38:06.544 | TypeError: Cannot read properties of undefined (reading 'level')
05:38:06.545 | at /vercel/path0/node_modules/@prisma/client/runtime/library.js:123:2259
05:38:06.546 | at Array.reduce ()
05:38:06.546 | at gl (/vercel/path0/node_modules/@prisma/client/runtime/library.js:123:2215)
05:38:06.546 | at new t (/vercel/path0/node_modules/@prisma/client/runtime/library.js:128:4002)
05:38:06.546 | at 29730 (/vercel/path0/.next/server/app/api/auth/[...nextauth]/route.js:1:4114)
05:38:06.547 | at t (/vercel/path0/.next/server/webpack-runtime.js:1:128)
05:38:06.547 | at 75788 (/vercel/path0/.next/server/app/api/auth/[...nextauth]/route.js:1:3722)
05:38:06.547 | at t (/vercel/path0/.next/server/webpack-runtime.js:1:128)
05:38:06.547 | at 22072 (/vercel/path0/.next/server/app/api/auth/[...nextauth]/route.js:1:1283)
05:38:06.547 | at t (/vercel/path0/.next/server/webpack-runtime.js:1:128) {
05:38:06.547 | clientVersion: '5.5.2'
05:38:06.548 | }
05:38:06.549 |
05:38:06.549 | > Build error occurred
05:38:06.552 | Error: Failed to collect page data for /api/auth/[...nextauth]
05:38:06.559 | at /vercel/path0/node_modules/next/dist/build/utils.js:1217:15
05:38:06.559 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
05:38:06.560 | type: 'Error'
05:38:06.560 | }
05:38:06.638 | Error: Command "prisma generate && next build" exited with 1
`

See https://github.com/prisma/prisma/discussions/21870


swarmctl: Use filters to avoid listing all tasks in queries

This makes "task inspect", "service inspect", and "node inspect" query
the API for only a subset of tasks, not every task in the system.
cc @aluzzardi

[Current coverage][cc-pull] is 53.62%

Merging [#996][cc-pull] into [master][cc-base-branch] will increase coverage by 0.02%

@@             master       #996   diff @@
==========================================
  Files            75         75
  Lines         11568      11568
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           6200       6203     +3
+ Misses         4479       4478     -1
+ Partials        889        887     -2

[][cc-pull]

Powered by Codecov. Last updated by [2bdabaf...46f19f3][cc-compare]
[cc-base-branch]: https://codecov.io/gh/docker/swarmkit/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/docker/swarmkit/compare/2bdabaf84adc00d84adf1375751e7957f7ddf5e0...46f19f32bcc1681d1ba100d5fc5f0766d30c0797
[cc-pull]: https://codecov.io/gh/docker/swarmkit/pull/996?src=pr

LGTM

Rebased

LGTM


scripts: get-coreos pulls a clean, current alpha by default

The proposed change automatically pulls image assets from /current rather than a pinned version. That means that maintainers won't have to chase versions to keep the script up to date.
The change requires that the get-coreos script clean up before pulling new assets, since current doesn't have a unique name and a mix of old and new assets could end up in the pulled directory if the script or internet connection failed in the right way.

There is a coupling between the version of the OS and the config that is provided. There is going to need to be a bit more version-skew detection logic to make this robust.

Closing this, it turns out we'll need to be a bit more deliberate about how this works.


perf(deps): updated all deps to latest

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

npm package (@latest dist-tag)
npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Non-pending blocking tasks should not appear in reports as dependencies

Say you have task 1 blocking task 2
Vit shows among other:

ID
Deps
Virtual tags

(BG)
1

BLOCKING PENDING READY UNBLOCKED

2
1
BLOCKED PENDING

If you now mark 1 as done, you get

ID
Deps
Virtual tags

2
uuidOld1
PENDING READY UNBLOCKED

The completed task 1 shouldn't appear in the reports (list, next, etc) as dependency of task 2, to be consistent with TaskWarrior: finished blocking tasks aren't really blocking anymore. It doesn't appear in task 2 info anymore anyway.
Note uuidOld1 appears in task 2 export { "id":2,"depends":"uuidOld1",... } in all cases, whether task 1 is pending or not, so filtering should be done on displayed dependencies to only include those with pending status, and not completed/deleted/...

In order to look at this, I'll need a test case. You can use https://github.com/scottkosty/vit/blob/2.x/scripts/generate-dummy-install.sh as a starting point, and configure and post a script that sets up a TaskWarrior instance with the necessary data for me to see and work with the problem.

You can spot this issue with reports showing the depends column. In attached test case, you can see it happen with the long, next, overdue and unblocked reports.
generate-non-pending-deps.sh.txt

I'm pretty sure I got this fixed, but some testing to make sure it works, and that I didn't break anything, would help!


[Improvement] Decent default signature

Hey! I maintain a project that depends on pogobuf to make API calls. Since yesterday, we've noticed that every request has been failing, even when we try to use a hashing server. I was wondering if this pull request would do anything to alleviate that, or if I should open an issue.
For details about what we've tried/error messages, you see this issue: eric-carlton/PokemonGoReader#102

Hi @Eric-Carlton. Try to use 'pogosandbox/pogobuf#0.57.2' in your app and you'll be able to test an almost stable version.
Use 'pogosandbox/pogobuf' to test latest.
Tell me if it correct your issue.

Replaced by #132


Bug

When I first installed this, I accidentally changed the 'use bandage' bind to LMB. I've changed it to something random since, but whenever I'm under 75 health and whenever I try to shoot with LMB, it still tries to use the bandage. The new keybind that I set for the bandage doesn't work as well either. Thanks for your effort on this

You can reset all your bindings by deleting the "cheat2Setting" entry in your local storage. Hit F12, click the Application tab, on the left, click "Local Storage" , click "surviv.io" and delete the cheat2Setting key

Do I have to delete the cheat2Setting every time? Thats what it looks like.
Also any plans on adding alt movement to the arrow keys?

I'll explain more I do not know if you will understand, like when I enter the hack the focus of it is right, I'm talking about the business of focusing the player closer to the cursor I change the config of the aimbot he buga or know it there he focuses one and so it defocuses the player and focuses on another when it comes out of rendering or I kill it and it's really annoying, if I can help thank you!

No, it should only have to be removed once

Still doesn't fix the issue.

So if you still haven't fixed this, try unbinding all your keys. Are you sure deleting cheat2setting isn't working? Even so, delete cheat2setting and then reinstall the hack. I really don't know what else you can do.

yes does not work yes


Investigate  chunking strategies

We need to investigate chunking strategies that can help the assistant provide better answers:

[ ] Investigate whether chunking libraries already exist
[ ] Investigate whether chunking features are available on some of the libraries/frameworks that we use
[ ] Create a Java library/project that implements typical [strategies](https://www.rungalileo.io/blog/mastering-rag-advanced-chunking-techniques-for-llm- applications) for chunking
[ ] Use chunking features from a different language (i.e.: Python) and externalize chunking to a different component.

IMHO, this work should end up being part of lanchain4j and we can eventually use is as one of the tokenize strategy  in Apache Camel

I don't think it's something that should go in Camel. Camel is an integration framework, tokenizing is a feature related to something else.

I would then move this discussion to the langchain4j issue tacker so they may provide some additional info/suggestion as they may have had the chance to think about it already

For reference, here's a discussion with the Langchain4j project. Their suggestion is to look at the DocumentSplitter interface and work on top of that.
https://github.com/langchain4j/langchain4j/issues/1081


Pack multiple stdin outputs into a single snapshot

Output of restic version
restic 0.9.3 compiled with go1.11.1 on linux/amd64
What are you trying to do?
I would like to run several 100 mysqldumps commands (backup separate tables instead the whole db) and I run into several issue that makes backups very unpractical and hard to use

Every stdin backup becomes its own snapshot making the list very cluttered and hard to read. The only way to pack them together would be to use tags with dates included. Not very practical tbh.
The main problem: the execution of restic takes 10-20s before it actually starts doing its job (due to index loading
Instead of restoring all mysqldump at once you have to take every single snapshot ...

What should restic do differently? Which functionality do you think we should add?
I would like to propose an alternative way to backup multiple stdin outputs into a single snapshot

Please provide a --stdin-commands-file <file> to the backup task
The --stdin-commands-file would contain a list of backup jobs/commands (one per line) with the resulting filename as first argmument: <filename><whitespace><command that stdin should be saved><newline> (one filename + command per line). A config file with other syntax is also okay.
Example:

db01.sql mysqldump [...] "db01"
db02.sql mysqldump [...] "db02"
db03.sql mysqldump [...] "db03"

The path name for the whole snapshot could be the basename of the stdin-command-file or the --stdin-filename parameter
restic itself would execute every single command and pipes the stdout into the archiver code internally with the given filename

This way a commandfile can be prepared prior to the execution of restic and a single restic instance could save multiple stdins into a single snapshot. Not only is it more easy to handle mysqldump backup jobs (or something similar), you also end up with faster executing (only 1x the index loading instead of multiple hundred) and be done in minutes rather then hours.
Maybe this could help #1873 aswell. In my case I would like to avoid piping mysqldumps to the disks first before backuping them as a single snapshot.
Did restic help you or made you happy in any way?
Sure. I'm about to switch to restic for my private servers (from rsnapshot) and I'm already using restic in a different environment to backup 100+ servers, but struggling with database dumps and other performance related things (like loading of indexes, memory usage etc. But it has become far better in the last year)

Maybe it makes more sense to use a --commands-file parameter to not confuse with the --stdin mode. Basically the backup would execute commands and then backup the stdout of the output. This has nothing to do anymore with the original stdin.

Looking at the code for too long I can see a following possible way to go:
Clone the fs_reader Code to provide a directory of fake files with their commands, or enhance the fs_reader object to support multiple fake files incl. optional stdout of commands instead of stdin.
The scanner will get a list of all fake files which are defined in the commands-file and hands them over to the Archiver. When the Archiver code calls Open() or OpenFile()? and fs.Command is given for this fake file entry, we would have to execute the given command and pipe the cmd.stdout to the read output so the archiver code can actually store it until the cmd execution reaches EOF. Then the scanner would continue with the next given fake entry and call the next Open()
It sounds possible without too much of a change, apart from messing up with the fs.Reader for fake stdin files.
Any ideas?

Related to https://github.com/restic/restic/issues/4804


nc4nix: init at unstable-2022-08-06

Description of changes
nc4nix is a packaging helper script for Nextcloud apps on NixOS, see https://git.helsinki.tools/helsinki-systems/nc4nix
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@dasJ @ajs124 Could you please add a license information upstream?

I'm not the author so no

Since there's no upstream information about the license, I'm adding this here as unfree

The repo does not seem to be available anymore.

@onny could you make a follow up PR to remive this ?

@onny could you make a follow up PR to remive this ?

here's my update https://github.com/NixOS/nixpkgs/pull/200885

For future reference, we should refrain from adding packages that have either:

no release - this means the project is not stable yet
no license - this causes some concerns regarding the distribution of the project

If you encounter this situation, try to work with upstream, or use your personal repository to hold the package. After all, Nix makes it easy to maintain different package sets.

understood, thanks for taking the time to come here and explain.


New getLoadingOrNotReady method since v6.13 failing when getRenderer does not return an object

Describe the bug
OL 6.13 introduced a new method getLoadingOrNotReady in PluggableMap that expects layer.getRenderer() to always return an object.
The basic ol/layer/Layer, however returns null, which causes errors.
To Reproduce
Steps to reproduce the behavior:

Go to https://openlayers.org/en/latest/examples/mapbox-layer.html
Open dev tools
See error

Expected behavior
The library either should not expect layer.getRenderer() to always return an object or improve the checking in getLoadingOrNotReady.

Thanks @rdewit for this clear bug report. #13424 will fix this issue.

Thank you @ahocevar, for the extremely quick resolution for this!


Add new fine_tuning/jobs endpoints!

https://platform.openai.com/docs/api-reference/fine-tuning/create

I made a PR for this https://github.com/alexrudall/ruby-openai/pull/316

I added a list endpoint and renamed the current list to list_events because that is more accurate. It is an undocumented endpoint that I found in the python client library, so I mimicked what they were doing. There is some pagination functionality in there as well but maybe that can come later.

Thanks @lancecarlson! Released in v6


Add Staffan and Nic to list of developers

Current coverage is 51.37% (diff: 100%)

Merging #1045 into master will decrease coverage by 0.01%

@@             master      #1045   diff @@
==========================================
  Files           275        275
  Lines         13085      13085
  Methods           0          0
  Messages          0          0
  Branches       1694       1694
==========================================
- Hits           6725       6723     -2
- Misses         5859       5860     +1
- Partials        501        502     +1

Powered by Codecov. Last update 049d285...e62ca85


Inconsistent plantuml names

With the latest version (1.8.4, and I think this is the exporter repo) naming changed completely and broke all my build system.
I sometimes use the C4-plantUML exporter, and sometimes the structurizr plantUML (should I distinguish which one in each case? It's quite a lot of work).
This is an example of what I get now:

Trying to get a pattern, seems that dynamic diagrams (structurizr plantUML) preserves the name, whereas C4 lost the names and just gets enumerated. [EDIT] No, this is not correct.
I always explicit a view key.
Also note that these changes are breaking changes when structurizr is used in a build system as we have.

FYI I just modified the build system to be able to use a fixed structurizr/cli tag rather than latest, and do a controlled and planned upgrade in order to avoid this.


feat: classic client implementation for wrappers

This change contains classic client wrapper implementation of Admin, BulkMutation, BulkRead.
These implementations simply delegate calls to their existing implementation present in bigtable-core-client.
Note: I will add BigtableDataClassicApi once this PR is merged.

Also, lets mark this as a chore...we are changing implementation details. Endusers aren't getting any new features


some error occurred when its wrapped in a singlechildscrollview that scrolls horizontally.

its a listview.custom inside this widget , when i replace it with column no error occurred but its difficult to scroll to a specific treenode ,to fix that is gonna need more efforts.
any solution?

Hey @pickupsb, thank you for using the package!
I don't think I quite understand the issue here. Could you provide a code sample or a simple reproducible example?


ci: Add a slack notifier workflow

Add a workflow based on slackapi/slack-github-action, that lets us rate-limit messages sent to slack to avoid spamming.

Working test run: https://github.com/CQCL/tket-json-rs/actions/runs/11516969832/job/32060744921?pr=84

Marking as draft until I solve how to keep track of timeouts.
The current "file artifact" solution only works if this workflow is called on each parent workflow run.
Otherwise, download-artifacts will not find any files in the previous run so the rate limiting would be ignored.

It should be working now. See https://github.com/CQCL/tket-json-rs/actions/runs/11520657348/job/32072548437?pr=84


[Suggestion] Bans/Sync

Since Nameless site has a complete and semi-advanced bansystem in it, why not add a bansystem in Namelessplugin?
Bansystem is an addon in nameless, but you have to use BAT or any other banplugin. Almost everybody will use the bansystem, so why not add it in the basic plugin to have it integrated the full 100%?
Besides of that: Group sync for as well BungeeCord as Spigot. BungeeCord will be usefull to give players certain permissions based on their group (instead of manually adding a player to a group and having to restart/reload everything). For Spigot it is a solution to sync ranks for Donators and give them a private form or something on the website.

There is a group sync.

Also there is a group sync.
It sets the group on the website.
We could do set group on the server too.
The Ban system hopefully comes in 1.1. But the group sync will come in 1.0 (First release)

Could you do the same permission thing you use for groups right now? If a user has a certain permission they're in a certain group, and you could make it so if a user has a certain permission in-game, they're banned from the website as well.


Upgrade Besu from Java 11 to Java 17

Move Besu code build requirements from Java 11 to Java 17

CircleCI
GitHub
Gradle
Docker

Blocked by compatibility, h/t @atoulme
https://docs.gradle.org/current/userguide/compatibility.html
A Java version between 8 and 16 is required to execute Gradle. Java 17 and later versions are not yet supported.

@usmansaleem - ok to close?

@non-fungible-nelson Yes, this ticket is good to close. The work is being tracked under https://github.com/hyperledger/besu/issues/3320


crossOrigin is hardcoded.

Can you please remove the hardcoded value of crossOrigin?

If your issue is because of resizing have a look at this:
https://github.com/JamesDorrian/react-image-cropper-dynamic

The image I am trying to access is visible only to authenticated users. Setting crossOrigin to anonymous is causing conflict.

I am having problem because  of cross origin  any solutions

should set node at this:
res.header('Access-Control-Allow-Origin', "*");

No solutions? ...


Remote notebook becomes increadibly slow, can't save

Issue Type: Bug
When working in an ipynb file on a remote instance ( via remote ssh extension) clicking excecute becomes increadibly slow often taking 20-30 seconds to respond untill it won't repond at all and I am unable to save the file at all.
A cell with a single variable assignment (a = 'hello') took nearly 30 seconds.
Additionally something seems wrong with the language server/intellisence computation because it will appear to not keep up with the code I'm entering and complain about unclosed brackets long after I have finished typing and closed them.
VS Code version: Code 1.64.2 (f80445acd5a3dadef24aa209168452a3d97cc326, 2022-02-09T22:02:28.252Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No
Remote OS version: Linux x64 3.10.0-1160.53.1.el7.x86_64

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz (8 x 1498)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.57GB (3.75GB free)

Process Argv
--crash-reporter-id f5e57d2e-08b0-4730-bc6d-6f3810e38c82

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: lin2dv2ap158

OS
Linux x64 3.10.0-1160.53.1.el7.x86_64

CPUs
Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz (4 x 2599)

Memory (System)
62.76GB (45.16GB free)

VM
9%

Extensions (22)

Extension
Author (truncated)
Version

jupyter-keymap
ms-
1.0.0

remote-containers
ms-
0.217.4

remote-ssh
ms-
0.74.0

remote-ssh-edit
ms-
0.74.0

remote-wsl
ms-
0.64.2

vscode-svgviewer
css
2.0.0

github-linker
gim
0.2.3

vscode-pull-request-github
Git
0.36.2

r
Iku
2.3.8

vscode-graphviz
joa
0.0.6

vscode-azureresourcegroups
ms-
0.4.0

vscode-azurestorage
ms-
0.13.0

vscode-docker
ms-
1.19.0

python
ms-
2022.0.1814523869

vscode-pylance
ms-
2022.2.3

jupyter
ms-
2022.1.1301854968

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.6

azure-account
ms-
0.10.0

github-links
rit
2.0.0

html-preview-vscode
tht
0.2.5

markdown-all-in-one
yzh
3.4.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30425749
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30438340
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30433507
vsclayoutctrc:30437038
vsrem710cf:30416617
dsvsc009:30440023
vsbas813:30436447
vscscmwlcmt:30438805
helix:30440343

@BStai when you were seeing the perf issue, do other VS Code features work as expected? For example, is file creation in file explorer instant, is typing in the Integrated Terminal responsive?  You can also try run "Measure Extension Host Latency" when this happens. It would be great if you can share info about I posted here to help troubleshoot, thanks in advance!

Appreciate the tip about measuring the extension host latency - currently I'm not experiencing a full lock up (unable to save) but am having non-execution clicks on execute cell and have the following latency (takes several clicks to actually execute the cell)
Roundtrip latency: 8.500ms
Up: 754.7 Mbps
Down: 1600.0 Mbps
Authority: ssh-remote+lin2dv2ap158
Roundtrip latency: 51.800ms
Up: 19.8 Mbps
Down: 349.3 Mbps
I believe the integrated terminal has been responsive but I'd have to check again when a full lock-up occurs

This could be caused by some intermittent network issue, or something happening on your remote. Could be some extension locking up the EH process, or another process unrelated to vscode using all the resources. Check process activity on the remote when this happens, and please test which features are working or not in vscode.
It might also help to grab logs from Jupyter in the output channel. There is a setting to enable verbose logging for Jupyter as well.


New compute shaders are much slow on macOS

Do you plan to generate non-compute shaders? Performance has tanked on macOS for me.

Yeah this is a known issue. The compute shaders are often slower depending on the api/gpu.
Im currently travelling and I don't remember whether I've saved the trained weights somewhere before leaving, but it's honestly pretty easy to "convert" them yourself in the meanwhile if they're really that bad.
Just remove the COMPUTE directives, replace void with vec4 for the main function of each shader pass, and return the result directly instead of calling imageStore.

Just remove the COMPUTE directives, replace void with vec4 for the main function of each shader pass, and return the result directly instead of calling imageStore.

This worked. Performance is back to normal. Thank you.

I'll keep this open so I remember to look at this again later. I think the current compute shaders are only faster on Vulkan and perhaps only on AMD.

I think there's potential for better performance with compute shaders if you use shared sampling.  I'll try it when I have time to figure out WorkGroupID, InvocationID, etc...

I think I tried it. Ended up slower than fetching when needed due to how big the shared memory needs to be (I think).

I think I tried it. Ended up slower than fetching when needed due to how big the shared memory needs to be (I think).

Do you still have the code for that? Maybe changing the workgroup size will help with shared memory size.
The other thing to try is storing multiple outputs per pass. That should cut down on the number of passes, too. From the libplacebo doc, it seems like it should be possible: https://github.com/haasn/libplacebo/blob/master/docs/custom-shaders.md#storage

This comment has the version with all meme optimisations: https://github.com/Artoriuz/ArtCNN/issues/4#issuecomment-2051785754

Thank you. ArtCNN_C4F16_DEV.txt should keep me busy for a while...

There are a few caveats with how it's currently laid out (listed in the linked comment). I will eventually get back to it, but I've been a bit busy lately.
Personally I still think the ideal approach is probably using a real ML inference engine. I'll try experimenting with the existing options when I have some time (best option is probably vs-mlrt).

I've reverted the "normal" shaders back to fragment shaders and added the "new" compute shaders as additional options under the compute directory. I'll close this issue for now, but feel free to open another or submit a PR if you have any improvements to share!


Authorize Resource APIs written in PHP, Node.js and Ruby On Rails (with Reference Token)

I have a situation where I have some Resource APIs written in PHP, Node.js and Ruby On Rails.
Then came across this reference:
https://github.com/IdentityServer/IdentityServer4/issues/1029
Adding to the answer in the question mentioned above, if I choose reference token for a Client, is it possible to write authorizing a php, node.js or ruby on rails Resource using the REFERENCE TOKEN.
If possible, any reference available?
Thanks

You can validate reference tokens using introspection
https://tools.ietf.org/html/rfc7662
Don't know if any libraries exist for your platform though (but is easy to implement).


Unable to get diagnostic-setting details for Azure Key vault resource

Hi Team, we are using NewDiagnosticSettingsClientWithBaseURI client's List api of the package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2021-07-01-preview/insights for getting the diagnostic-settings details of the key vault but the api does not return any data, though we have added the diagnostic-settings to the resource.
Can you guys please suggest me if I am using the wrong package or anything else?
I have also tried 2021-04-01-preview/insights , 2021-07-01-preview/insights, 2021-09-01-preview/insights  and 2019-11-01-preview/insights packages those are also not seems to be working.

Hi team, Any update for this issue how ever the azure rest api supports this in version 2021-05-01-preview but the GO SDK does not support this, any plan or any  ETA when you people are going to release this version? I am not able to see this version.

Hi, does Azure SDK support the version 2021-05-01-preview yet?


Metric depth recovery part

Hello! Thank you for your amazing work! I already read the paper and I might miss some information, I would appreciate your answers, thus I have several questions:

For the backbone, as stated in the paper, you used DINO v2-reg as the encoder and DPT as the decoder. Did you freeze the encoder when training?
When preprocessing the data, did you normalize the dataset to relative depth before inputting it to the model? If so, which part of the pipeline emphasizes the recovery of metric depth? Which part from the source code did those roles?
As stated in the supplementary materials, you used depth bins ranging from [0.1m,200m] for ViT models. Could you elaborate more what kind of depth bins processing that you did?

As far as I know, DINOv2 normalized the input to extract the features. Thus, if we froze the encoder, the output from the DPT decoder would be in relative depth too. I am still new to this, so please correct me too if I am wrong :)
Thank you!

Hello! Thank you for your amazing work! I already read the paper and I might miss some information, I would appreciate your answers, thus I have several questions:

For the backbone, as stated in the paper, you used DINO v2-reg as the encoder and DPT as the decoder. Did you freeze the encoder when training?
When preprocessing the data, did you normalize the dataset to relative depth before inputting it to the model? If so, which part of the pipeline emphasizes the recovery of metric depth? Which part from the source code did those roles?
As stated in the supplementary materials, you used depth bins ranging from [0.1m,200m] for ViT models. Could you elaborate more what kind of depth bins processing that you did?

As far as I know, DINOv2 normalized the input to extract the features. Thus, if we froze the encoder, the output from the DPT decoder would be in relative depth too. I am still new to this, so please correct me too if I am wrong :)
Thank you!

Thank you for your interest, I hope the following answers help:
(1) Not frozen. We observe the loss converges much faster and to a lower level if all the parameters are trained.
(2) No, but all metric depth maps are normalized according to the camera focal length ratio and size ratio. Please refer to class LableScaleCanonical for more details.
(3) Uniform bins in log space, which is a common practice stressed in DORN (Fu etal CVPR2018). Please refer to its definition here.
(4) A normalized feature input does not necessarily mean the predicted depth should also be normalized relative depth.

@JUGGHM Hi, Im trying to use your model for outdoor scene to get metric depth to eventually get a sense of scale at the specific location, but the depth values are too varied, can you help me with this more details here


Mcedit can't open world. Please help

Description of Issue: Fails to open world
MCEdit Version: latest
Minecraft Version the world was last opened in: 1.13
MCEdit version: 2.0.0-beta14
Python version: 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]
Platform: win32
System version: Windows-10-10.0.17134
Processor: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
Obtained a GL context with this format:
Valid: True
Version: 4.6
Hardware Accelerated: True
Depth buffer: True, 24
Double buffer: True
Rendering profile: PySide.QtOpenGL.QGLFormat.OpenGLContextProfile.CompatibilityProfile
Driver info:
GL_VERSION: 4.6.0 NVIDIA 398.11 (4, 6)
GL_VENDOR: 'NVIDIA Corporation'
GL_RENDERER: 'GeForce GTX 960/PCIe/SSE2'

Unhandled Exception
Traceback (most recent call last):
File "mcedit2\worldview\worldview.py", line 480, in mouseMoveEvent (self is a CameraWorldView)
File "mcedit2\worldview\worldview.py", line 527, in augmentMouseEvent (self is a CameraWorldView)
File "mcedit2\worldview\camera.py", line 330, in augmentEvent (self is a CameraWorldView)
File "mcedit2\util\profiler.py", line 73, in _wrapper (self is a Profiler)
File "mcedit2\worldview\worldview.py", line 548, in augmentEvent (self is a CameraWorldView)
File "mcedit2\worldview\worldview.py", line 615, in rayCastInView (self is a CameraWorldView)
File "mcedit2\util\raycast.py", line 30, in rayCastInBounds
File "mcedit2\util\profiler.py", line 73, in _wrapper (self is a Profiler)
File "mcedit2\util\raycast.py", line 77, in rayCast
File "mcedit2\util\raycast.py", line 215, in advanceToChunk
File "mceditlib\worldeditor.py", line 831, in getChunk (self is a WorldEditorDimension)
File "mceditlib\worldeditor.py", line 499, in getChunk (self is a WorldEditor)
File "mceditlib\cachefunc.py", line 77, in call (self is a lru_cache_object)
File "mceditlib\worldeditor.py", line 477, in _getChunkDataRaw (self is a WorldEditor)
File "mceditlib\anvil\adapter.py", line 922, in readChunk (self is a AnvilWorldAdapter)
AnvilChunkFormatError: [Errno Error loading chunk: KeyError('Key Blocks not found.',)] None: <traceback object at 0x0000023278BFBA08>
Can someone help me understand why i can't open my world?

This is a bug report for MCEdit 2.0 which is totally separate to this project. Please report it at the correct github repository. https://github.com/mcedit/mcedit2


[PL] Translation of umbrella lesson

In scope of issue #202
@kdebowski :)

We have implemented a new feature that automatically generates the table of contents: #356.
This may help you avoid copypaste, typos and broken anchors. In order to use it you can replace the manually written TOC with {% include toc.html %}.


Add support for running/creating Ballerina Tests in VSCode

[ ]  Run tests directly from VSCode editor
[ ]  Generate tests for a particular function/service
[ ] Show test results (figure out a way to properly show)

We are starting the work on running tests and displaying results. Test generation work is already in progress and @rasika is working on it.


The Monterey Merge

This PR brings the FOSS portions of Core Foundation on par with with macOS Monterey, iOS 15, watchOS 8 and tvOS 15. This includes the changes shipped during the previous releases.
Most of the changes include bug fixes and performance improvements, but some are useful to highlight:

This patch adds the Core Foundation code that underlies Foundation's ListFormatter and RelativeDateTimeFormatter to the FOSS subset.

Several Emoji fixes are included that update CFString (and thus NSString and the Foundation methods on Swift.String) support for correctly decoding and iterating over emoji introduced during the Big Sur and Monterey timeframes. The corresponding character maps in CharacterSet have been updated.

Certain parsing functions, most notably those that implement property list parsing, now have a maximum recursion depth to prevent resource abuse from malicious input.

Some architectural changes have been introduced that are used on Darwin to support Pointer Authentication. For more information on the topic, see Preparing Your App to Work with Pointer Authentication. Note that the FOSS subset does not ship on architectures that require this support, but the architectural changes have been merged for simplicity and synchronization between Darwin and FOSS builds.

Parameter checking has been improved for several CF functions.

Some implementations have been streamlined or consolidated, especially for CFPlugIn and CFBundle. CFBundle also adds support for "Wrapper"-style bundles (for example, the kind of bundle produced when installing iOS applications on Macs with Apple silicon).

@swift-ci please test

cc @parkera

cc @compnerd — This has a few bits that I know we need Windows expertise on; can we kick testing and see if there's anything that breaks?

Sure, I can kick off a build for this

For _CFGetPathFromFileDescriptor, something along the lines of the following should do the trick:
HANDLE hFile = _get_osfhandle(fd);
WCHAR wszPath[MAX_PATH + 1];
DWORD dwLength = GetFinalPathNameByHandleW(hFile, &wszPath, ARRAY_SIZE(wszPath), FILE_NAME_NORMALIZED);
if (dwLength == 0)
  return false;
/* do `wcstombcs` dance */

I'll let the first run go through so we can do a single pass with other Windows fixes as needed, but definitely will have a follow-up with that.

@compnerd This is ready for another try on Windows.

@swift-ci please test

cc @drexin This adds dependencies on new ICU symbols, do you see anything that may be alarming?

@millenomi
Sorry for a little digressing.
You said, just one year ago, that small CF changes were temporarily stopped from being merged. However, they are not merged yet as of now.
When should (or shouldn't) such changes be merged?

It's been a hard year. The hope was to do this merge earlier, but we ended up skipping a release.
Once this patch is merged, by and large.

@3405691582 I applied your suggestions, can you give another quick look?

@swift-ci please test

@3405691582 I think things are okay, and I'm happy to make follow-ups for BSD if needed, but I think my next priority is to close this up for Linux & Windows for now.

@millenomi I merged back your changes and it built OK so all is well anyway :) Thanks for applying the fixes!
There are some unrelated buildfixes I'll chase in other PRs.

@3405691582 please ping me on those PRs and I'll expedite them.

Ah, it looks like my concern was dealt with by #3060 already, so I think we're good.


Rspack test

Adds experimental support for rspack as a drop in replacement for webpack, though it currently lacks compatibility for all of our plugins, the fact that it is rust-based but is attempting to build webpack compatible api's made it the most straightforward of all the alternate bundlers to support.
For now i kept this out of the docs and only accessible from a function marked as unsafe so we can monitor support, but it has a real improvement in cold starts - with the example app we go from

to

Currently the blockers are the plugins, and that it currently can't parse any css with this older syntax filter: alpha(opacity=0) so ive had to delete that from availity-uikit after each install to get it up and running. Still looking into where the defect for that is since rspack doesn't support css-loader and style-loader but claims to do those transforms internally. not sure if rspack or sass-loader here that is behaving unexpectedly.

a better configured test app with esbuild-loader replacing babel-loader has a cold startup of closer to 11-12 seconds

but this is still a significant speedup over that.

simply removing the eslint plugin adds a significant speedup to the existing webpack build, maybe a separate issue to break out into its own discussion

Based on the build you might need to push a yarn.lock?

Based on the build you might need to push a yarn.lock?

i tried but all my yarn installs don't touch the yarn lock - can we push a build with the cache step disabled or is there any other way?

it was the half-completed changes to example/project.json what was doing it, nx errors can be so difficult to diagnose, speaking of which we are a couple of major versions behind our nx setup for this project if we can add that to our to do list


Apify performs actions when imported

Description
When importing Apify it performs some actions since v2.3.0, which it didn't with <2.3. I noticed this, because I define the environment variables dynamically. But now when I start my program it outputs the following warning immediately:
WARN  Neither APIFY_LOCAL_STORAGE_DIR nor APIFY_TOKEN environment variable is set, defaulting to APIFY_LOCAL_STORAGE_DIR="[…]/apify_storage"

To Reproduce

import Apify
define the environment variable with process.env.APIFY_LOCAL_STORAGE_DIR = '…'
execute the program

Expected behavior
It shouldn't output this warning until I initiated the RequestQueue.
System information

OS: ArchLinux (Linux 5.15.33-lts)
Node: 16.14.2
TypeScript: 4.6.3
Apify: 2.3.0

Additional context
Now I need to dynamically import Apify to avoid this warning. I mean it works without the dynamic import, but the senseless warning will confuse the user.
Some simplified code as requested, just to show the general structure of my project:
main.ts:
import startCrawling from './scraper.js';

async function main() {
	// ask some questions, if I set my breakpoint here, the warning is already there

	await startCrawling(options);
}

scraper.ts:
import Apify from 'apify';
const { utils } = Apify;

export default async function startCrawling(options) {
	process.env['APIFY_LOCAL_STORAGE_DIR'] = options.localStorage;

	const requestQueue = await Apify.openRequestQueue(`QUEUE-${options.id}`);
	requestQueue.addRequest({ /* … */});

	const cheerioCrawler = new Apify.CheerioCrawler({requestQueue});

	cheerioCrawler.run();

	// …
}

Can you share a bit more about your setup? Node version? CJS/ESM/TS? Ideally share some simplified code for your entrypoint (e.g. main.js).
cc @barjin please take a look at this, it needs to be coming from instantiation of the global config probably, see what exactly we did that it behaves differently now.

I am fairly positive it comes from the new way of instantiating the exported apifyClient. This was added/changed in 91d152a.
Trying to get the apifyClient from the global configuration invokes the Configuration constructor, which returns the warning message.

Of course, I hate this global so much :D
Too bad we don't have a Utils class instead, so we could just convert this to a getter :/ Maybe we could use Proxy class here to achieve the same?

Thank you! Keep up the good work! :smile:


Getting errors when I try to run the program, need help setting it up

I need help writing my ldap2pg.yml
Hi everyone, I'm new to LDAP and I'm trying to understand and apply ldap2pg into my company.
We have over 300 servers running PostgreSQL and we want to be able to include and delete roles into all of those servers as needed.
I'm trying to follow the documentation on the website, but I'm struggling a little.
I want to use the LDAP over TCP mode, and login as cn=admin.
If I run the ldapwhoami -x -D cn=admin,dc=ldap,dc=company,dc=it -W in the postgres server, it asks me to put the password, and the execution proceeds correctly.
Running echo $LDAPPASSWORD gives my password too.
There is a ldaprc file with "URI" and "BINDDN" values.
I'm using the https://github.com/dalibo/ldap2pg/blob/master/ldap2pg.yml as a base, and a modified little things to test it, but I'm getting errors:
ldap2pg -v
[ldap2pg.config        INFO] Starting ldap2pg 5.8.
[ldap2pg.config       DEBUG] Trying ./ldap2pg.yml.
[ldap2pg.config        INFO] Using /home/synsuite/tmp/ldap/ldap2pg.yml.
[ldap2pg.config       DEBUG] Read verbosity from argv.
[ldap2pg.config       DEBUG] Read version from YAML.
[ldap2pg.config       DEBUG] Read ldap:uri from YAML.
[ldap2pg.config       DEBUG] Read ldap:binddn from YAML.
[ldap2pg.config       DEBUG] Read ldap:password from YAML.
[ldap2pg.config       DEBUG] Read postgres:dsn from YAML.
[ldap2pg.config       DEBUG] Read postgres:managed_roles_query from YAML.
[ldap2pg.config       DEBUG] Read postgres:owners_query from YAML.
[ldap2pg.config       DEBUG] Read postgres:schemas_query from YAML.
[ldap2pg.config       DEBUG] Read privileges from YAML.
[ldap2pg.config       DEBUG] Read sync_map from YAML.
[ldap2pg.config       DEBUG] Drop unused inactive privilege __default_execute_on_functions__
[ldap2pg.config       DEBUG] Drop unused inactive privilege __execute_on_all_functions__
[ldap2pg.config       DEBUG] Drop unused inactive privilege __global_default_execute_on_functions__
[ldap2pg.config       DEBUG] Configuration loaded.
[ldap2pg.script       DEBUG] Setting up LDAP client.
[ldap2pg.ldap         DEBUG] Ignoring: [Errno 2] No such file or directory: '/etc/openldap/ldap.conf'
[ldap2pg.ldap         DEBUG] Found rcfile /etc/ldap/ldap.conf.
[ldap2pg.ldap         DEBUG] Read TLS_CACERT from /etc/ldap/ldap.conf.
[ldap2pg.ldap         DEBUG] Found rcfile /home/synsuite/ldaprc.
[ldap2pg.ldap         DEBUG] Read URI from /home/synsuite/ldaprc.
[ldap2pg.ldap         DEBUG] Read BINDDN from /home/synsuite/ldaprc.
[ldap2pg.ldap         DEBUG] Ignoring: [Errno 2] No such file or directory: '/home/synsuite/.ldaprc'
[ldap2pg.ldap         DEBUG] Ignoring: [Errno 2] No such file or directory: '/home/synsuite/tmp/ldap/ldaprc'
[ldap2pg.ldap         DEBUG] Read URI from YAML.
[ldap2pg.ldap         DEBUG] Read BINDDN from YAML.
[ldap2pg.ldap         DEBUG] Read PASSWORD from YAML.
[ldap2pg.ldap          INFO] Connecting to LDAP server ldap://ldap.server.it:389.
[ldap2pg.ldap          INFO] Trying simple bind.
[ldap2pg.ldap         DEBUG] Authenticating: ldapwhoami -x -D cn=admin,dc=ldap,dc=company,dc=it -W
[ldap2pg.script       ERROR] Unhandled error:
[ldap2pg.script       ERROR] Traceback (most recent call last):
[ldap2pg.script       ERROR]   File "/usr/local/lib/python3.5/dist-packages/ldap2pg/script.py", line 37, in main
[ldap2pg.script       ERROR]     exit(synchronize(config))
[ldap2pg.script       ERROR]   File "/usr/local/lib/python3.5/dist-packages/ldap2pg/script.py", line 93, in synchronize
[ldap2pg.script       ERROR]     ldapconn = ldap.connect(**config['ldap'])
[ldap2pg.script       ERROR]   File "/usr/local/lib/python3.5/dist-packages/ldap2pg/ldap.py", line 309, in connect
[ldap2pg.script       ERROR]     conn.simple_bind_s(options['BINDDN'], options['PASSWORD'])
[ldap2pg.script       ERROR]   File "/usr/local/lib/python3.5/dist-packages/ldap2pg/ldap.py", line 257, in simple_bind_s
[ldap2pg.script       ERROR]     return self.wrapped.simple_bind_s(binddn, password)
[ldap2pg.script       ERROR]   File "/usr/local/lib/python3.5/dist-packages/ldap/ldapobject.py", line 454, in simple_bind_s
[ldap2pg.script       ERROR]     msgid = self.simple_bind(who,cred,serverctrls,clientctrls)
[ldap2pg.script       ERROR]   File "/usr/local/lib/python3.5/dist-packages/ldap/ldapobject.py", line 448, in simple_bind
[ldap2pg.script       ERROR]     return self._ldap_call(self._l.simple_bind,who,cred,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls))
[ldap2pg.script       ERROR]   File "/usr/local/lib/python3.5/dist-packages/ldap/ldapobject.py", line 324, in _ldap_call
[ldap2pg.script       ERROR]     result = func(*args,**kwargs)
[ldap2pg.script       ERROR] TypeError: a bytes-like object is required, not 'int'
[ldap2pg.script       ERROR] Please file an issue at https://github.com/dalibo/ldap2pg/issues with full log.

Can please someone points me in the right direction?
Thanks in advance!
PS: The yml file is correctly formatted on the server, but I couldn't figure it out how to paste here without losing the correct format.
ldap2pg.yml
ldap2pg.yml
version: 5
postgres:
managed_roles_query: |
SELECT 'public'
UNION
SELECT DISTINCT role.rolname
FROM pg_roles AS role
LEFT OUTER JOIN pg_auth_members AS ms ON ms.member = role.oid
LEFT OUTER JOIN pg_roles AS ldap_roles
ON ldap_roles.rolname = 'ldap_roles' AND ldap_roles.oid = ms.roleid
WHERE role.rolname IN ('ldap_roles', 'readers', 'writers', 'owners')
OR ldap_roles.oid IS NOT NULL
ORDER BY 1;
owners_query: |
SELECT DISTINCT role.rolname
FROM pg_catalog.pg_roles AS role
JOIN pg_catalog.pg_auth_members AS ms ON ms.member = role.oid
JOIN pg_catalog.pg_roles AS owners
ON owners.rolname = 'owners' AND owners.oid = ms.roleid
ORDER BY 1;
schemas_query: |
SELECT nspname FROM pg_catalog.pg_namespace
WHERE nspname NOT LIKE 'pg_%' AND nspname <> 'information_schema'
ORDER BY 1;
ldap:
uri: ldap://ldap.server.it:389
binddn: cn=admin,dc=ldap,dc=company,dc=it
password: 332211
privileges:
ro:

connect
select_on_tables
select_on_sequences
usage_on_schemas
usage_on_types

rw:

temporary
all_on_tables
all_on_sequences

ddl:

create_on_schemas

sync_map:

description: "Setup static roles and grants."
roles:

names:

ldap_roles
readers
options: NOLOGIN

name: writers
parent: readers
options: NOLOGIN
name: owners
parent: writers
options: NOLOGIN

grant:

privilege: ro
role: readers
schemas: all
privilege: rw
role: writers
schema: all
privilege: ddl
role: owners
schema: all

description: "Query LDAP to create superusers."
ldapsearch:
base: ou=company,dc=ldap,dc=company,dc=it
filter: "(cn=dba)"
role:
name: '{member.cn}'
options: LOGIN SUPERUSER
parent:

ldap_roles
owners
comment: "From LDAP group {dn}"

description: "Query LDAP to create writers."
ldapsearch:
base: ou=groups,dc=ldap,dc=ldap2pg,dc=docker
filter: "(cn=team*)"
on_unexpected_dn: warn
role:
name: '{member.cn}'
options: LOGIN
parent:

ldap_roles
writers
comment: 'From LDAP groupe {dn}'

description: "Query LDAP to create readers."
ldapsearch:
base: ou=groups,dc=ldap,dc=ldap2pg,dc=docker
filter: "
(&
(cn=bi)
(objectClass=*)
)"
role:
name: '{member.cn}'
options: LOGIN
parent:

ldap_roles
readers

Hi @bersace I removed all the "ldap:" part of the yaml.
And I configured the "/etc/ldap/ldap.conf" file and removed "ldaprc" file.
After that, it worked correctly.


How about add some support to process not only choreography?

It's will be useful for simple edit of processes.

Hi there, our library is based on bpmn-js, which already provides support for BPMN 2 process and collaboration diagrams. With chor-js, we fill the gap of BPMN 2 choreography diagrams. 🙂


OJ-1398: Imposter config

Proposed changes
What changed
Added 2 new files:

public-api-config.yaml
private-api-config.yaml

Changed X-Forwarded-For header to be a String and not UUID as this header is supposed to contain an IP address.
Added sample values to some of the properties, that match up with the Imposter happy paths.
The following test scenarios are added:
Scenario 1
201 > 200 > 200 > 200 (happy path)
200 > 400 (partial happy path, fail at auth with 400)
200 > 500 (partial happy path, fail at auth with 500)
Scenario 2
201 > 200 > 400 (fails at the /token API)
Scenario 3
201 > 200 > 200 > 400 (fails at the /credential-issue)
These scenarios create the bases for custom defined scenario if needed e.g. follow the a bad path from scenario but then deviate to scenario 1 or 3.

Why did it change
Testing

Issue tracking

OJ-1398

Closing in favour of #10


Support for live reload

Via air package hot reload can be possible on different files such as .go, .tpl, .tmpl, .yaml.
Air package can be installed in many different ways mentioned here: https://github.com/air-verse/air
Best way if you're on go 1.22+
go install github.com/air-verse/air@latest
Or
# binary will be $(go env GOPATH)/bin/air
curl -sSfL https://raw.githubusercontent.com/air-verse/air/master/install.sh | sh -s -- -b $(go env GOPATH)/bin

Please include instructions to use the hot reload feature in the README. Let's try to keep it as simple as possible to run the dev server (ideally a single command)

Added steps to install and run using the Air package. And yes once it's installed on the system, it's just a single-word command air in the desired directory.
$ git clone https://github.com/dicedb/dice
$ cd dice
$ air

Requested changes are completed. Please check @JyotinderSingh thanks for the suggestions.


Documentation misleading - NoTrackingWithIdentityResolution vs NoTracking. Please correct

[Enter feedback here]

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

ID: 36e6e00e-5cef-be1c-e2ea-adb97e356755
Version Independent ID: 6333e2cc-32d7-ef36-4198-926eb45a4255
Content: QueryTrackingBehavior Enum (Microsoft.EntityFrameworkCore)
Content Source: dotnet/xml/Microsoft.EntityFrameworkCore/QueryTrackingBehavior.xml
Product: ef-core-api
GitHub Login: @dotnet-bot
Microsoft Alias: avickers

Note for triage: the problem here is that we have "summary" and "remarks" in our XML docs, but only the summary is shown for enum members.


Getdropdownview displays nothing when MaterialSpinnerBaseAdapter is extended

I have tried to use the following code:
public class EnglishSpinnerAdapter extends MaterialSpinnerBaseAdapter {
private List list;
private Context ctx;

public EnglishSpinnerAdapter(Context context, List items) {
    super(context);
    ctx = context;
    list = items;
}

@Override
public Object getItem(int position) {
    return list.get(position);
}

@Override
public int getCount() {
    return list.size();
}

@Override
public Object get(int position) {
    return list.get(position);
}

@Override
public List getItems() {
    return list;
}

@Override
public View getView(int position, View convertView, ViewGroup parent) {
    TextView textView = new TextView(ctx);
    textView.setTypeface(S.engFont);
    textView.setTextSize(18);
    textView.setGravity(Gravity.CENTER);
    textView.setTextColor(ContextCompat.getColor(ctx, R.color.black));
    textView.setText(list.get(position).toString());
    return textView;
}

@Override
public View getDropDownView(int position, View convertView, ViewGroup parent) {
    TextView textView = new TextView(ctx);
    textView.setTypeface(S.engFont);
    textView.setTextSize(18);
    textView.setGravity(Gravity.CENTER);
    textView.setTextColor(ContextCompat.getColor(ctx, R.color.black));
    textView.setText(list.get(position).toString());
    return textView;
}

}`
I get this output. Get drop down view is blank. But if I select an item, it gets displayed properly. So if I selected the place where February should have been displayed, I get February as the output. So the issue is in just the rendering of the view.

the same problem in my drop list

I have the same problem. Did you find a solution?

I had to use the other adapter...MaterialSpinnerAdapter I think that is
it's name
On 21-Jan-2017 2:06 PM, "LiaoFuYun"<EMAIL_ADDRESS>wrote:

I have the same problem. Did you find a solution?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jaredrummler/material-spinner/issues/20#issuecomment-274248624,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQwED8e43LLwVZ_1WPSI08W74kYEV0xqks5rUcODgaJpZM4Jjzpv
.

I solved it, thank you very much

@LiaoFuYun I have the same problem. How did you solve it?

just call setTextColor,like this:
yourAdapter.setTextColor(Color.parseColor("#333333"));

@LiaoFuYun  Sorry, I use ths way that you answer, but no change.

@LiaoFuYun is right. Fixed here: a062680b0c9aac61af52fe29796b13cf435f0c82


canonical-kubernetes - Adding worker get stuck

Hi Guys,
Today I was able to correctly deploy a kubernetes-cluster, but somehow it seems that adding a worker fails, here you have an extract of the juju debug-log.
2018-04-27 15:30:23 INFO juju-log Reactive main running for hook update-status
2018-04-27 15:30:24 INFO juju-log Initializing Snap Layer
2018-04-27 15:30:24 DEBUG update-status none
2018-04-27 15:30:24 INFO juju-log Invoking reactive handler: reactive/kubernetes_worker.py:257:charm_status
2018-04-27 15:30:24 INFO juju-log Invoking reactive handler: reactive/docker.py:341:enable_grub_cgroups
2018-04-27 15:30:24 INFO juju-log Invoking reactive handler: reactive/kubernetes_worker.py:301:send_data
2018-04-27 15:30:25 INFO juju-log Invoking reactive handler: reactive/tls_client.py:60:store_client
2018-04-27 15:30:25 INFO juju-log Invoking reactive handler: reactive/kubernetes_worker.py:234:set_app_version
2018-04-27 15:30:25 INFO juju-log Invoking reactive handler: reactive/tls_client.py:15:store_ca
2018-04-27 15:30:25 INFO juju-log Invoking reactive handler: reactive/kubernetes_worker.py:977:catch_change_in_creds
2018-04-27 15:30:26 INFO juju-log Invoking reactive handler: reactive/kubernetes_worker.py:965:request_kubelet_and_proxy_credentials
2018-04-27 15:30:26 INFO juju-log Invoking reactive handler: reactive/kubernetes_worker.py:956:notify_master_gpu_not_enabled
2018-04-27 15:30:26 INFO juju-log Setting gpu=False on kube-control relation
2018-04-27 15:30:26 INFO juju-log Invoking reactive handler: reactive/tls_client.py:36:store_server
2018-04-27 15:30:26 INFO juju-log Invoking reactive handler: reactive/kubernetes_worker.py:1007:fix_iptables_for_docker_1_13
2018-04-27 15:30:26 INFO juju-log Invoking reactive handler: reactive/kubernetes_worker.py:424:apply_node_labels
2018-04-27 15:30:27 INFO juju-log Skipping malformed option: .
2018-04-27 15:30:27 DEBUG update-status Error from server (NotFound): nodes "ip-10-0-3-204.ec2.internal" not found
2018-04-27 15:30:27 INFO juju-log Failed to apply label juju-application=kubernetes-worker. Will retry.
2018-04-27 15:30:28 DEBUG update-status Error from server (NotFound): nodes "ip-10-0-3-204.ec2.internal" not found
2018-04-27 15:30:28 INFO juju-log Failed to apply label juju-application=kubernetes-worker. Will retry.
2018-04-27 15:30:29 DEBUG update-status Error from server (NotFound): nodes "ip-10-0-3-204.ec2.internal" not found
2018-04-27 15:30:29 INFO juju-log Failed to apply label juju-application=kubernetes-worker. Will retry.
2018-04-27 15:30:30 DEBUG update-status Error from server (NotFound): nodes "ip-10-0-3-204.ec2.internal" not found
2018-04-27 15:30:30 INFO juju-log Failed to apply label juju-application=kubernetes-worker. Will retry.

results-2018-04-27-15-29-04.tar.gz
Any thoughts?

I'm pretty sure you're hitting this: https://github.com/conjure-up/spells/issues/102
When you deploy canonical-kubernetes via conjure-up on AWS, the spell enables cloud native integration by attaching IAM profiles to the instances, and configuring Kubernetes services with cloud-provider=aws. This allows some features of Kubernetes to work that otherwise wouldn't: LoadBalancer service type, EBS persistent volumes, maybe other features too.
The downside is, Juju isn't aware of the IAM profile, so when you juju add-unit kubernetes-worker, the new instance does not have the profile attached. Kubelet initially succeeds at registering as a node, but shortly after, kube-controller-manager deletes the node because it doesn't recognize instances without the profile. This results in the nodes "ip-10-0-3-204.ec2.internal" not found error that you're seeing from the debug log.
I can think of two potential workarounds, though I've tested neither so your mileage may vary.

Option 1: If you don't need the extra functionality, you can disable AWS cloud native integration by removing cloud-provider=aws from the service arguments:
juju config kubernetes-master api-extra-args="" controller-manager-extra-args=""
juju config kubernetes-worker kubelet-extra-args=""

Option 2: You can manually attach the IAM profile to the new instance (you can see how the spell does it, here), and then restart kubelet with
juju run --application kubernetes-worker -- service snap.kubelet.daemon restart

I believe @johnsca has work in progress that will fix this issue, though it's a fairly hefty change and I imagine it will take us some time (weeks or months, perhaps) to get it out to stable. @tvansteenburgh @johnsca feel free to correct me if I'm wrong on that.

Good question, I've never tried so I'm not sure. You're right that you'll need to manually add the role for new masters too. I'm not aware of any reason you'd need to restart the master services, but if you need to, here's how you would:
juju run --application kubernetes-master -- service snap.kube-apiserver.daemon restart
juju run --application kubernetes-master -- service snap.kube-controller-manager.daemon restart
juju run --application kubernetes-master -- service snap.kube-scheduler.daemon restart

You should only need to restart the kube-apiserver, neither controller
manager nor scheduler use cloud integration flags.
On Fri, Apr 27, 2018 at 4:53 PM George Kraft<EMAIL_ADDRESS>wrote:

Good question, I've never tried so I'm not sure. You're right that you'll
need to manually add the role for new masters too. I'm not aware of any
reason you'd need to restart the master services, but if you need to,
here's how you would:
juju run --application kubernetes-master -- service snap.kube-apiserver.daemon restart
juju run --application kubernetes-master -- service snap.kube-controller-manager.daemon restart
juju run --application kubernetes-master -- service snap.kube-scheduler.daemon restart
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/565#issuecomment-385091281,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAET1cDyr9eA_2i7u3mmuKKYoLQ7CbDgks5ts4VjgaJpZM4Tq3Vk
.

I am hitting the same thing for CDK 1.15 on a localhost deployment, so no AWS.
unit-kubernetes-worker-3: 10:27:13 DEBUG unit.kubernetes-worker/3.update-status Error from server (NotFound): nodes "juju-ce00c0-11" not found unit-kubernetes-worker-3: 10:27:13 INFO unit.kubernetes-worker/3.juju-log Failed to apply label juju-application=kubernetes-worker. Will retry. unit-kubernetes-worker-3: 10:27:14 DEBUG unit.kubernetes-worker/3.update-status Error from server (NotFound): nodes "juju-ce00c0-11" not found unit-kubernetes-worker-3: 10:27:14 INFO unit.kubernetes-worker/3.juju-log Failed to apply label juju-application=kubernetes-worker. Will retry. unit-kubernetes-worker-3: 10:27:15 DEBUG unit.kubernetes-worker/3.update-status Error from server (NotFound): nodes "juju-ce00c0-11" not found unit-kubernetes-worker-3: 10:27:16 INFO unit.kubernetes-worker/3.juju-log Failed to apply label juju-application=kubernetes-worker. Will retry. unit-kubernetes-worker-3: 10:27:17 DEBUG unit.kubernetes-worker/3.update-status Error from server (NotFound): nodes "juju-ce00c0-11" not found unit-kubernetes-worker-3: 10:27:17 INFO unit.kubernetes-worker/3.juju-log Failed to apply label juju-application=kubernetes-worker. Will retry.
Tried to restart the daemons but no luck.

I am hitting the same thing for CDK 1.15 on a localhost deployment, so no AWS.
Tried to restart the daemons but no luck.

I would suggest a new bug on launchpad, which is where we handle issues now. Be sure to attach the output of juju crash-dump. The error you list is just an error saying that kubelet is unable to register with the api server, but the cause could be many things.

I would suggest a new bug on launchpad

https://bugs.launchpad.net/charm-kubernetes-worker/+bug/1846479
I'm closing this bug since the original cause has been addressed by the integrator charms for each cloud. For more info refer to the Cloud Integration section of the docs: https://ubuntu.com/kubernetes/docs


set_weights taking 40 minutes for a 150x150 matrix

Description
The set_weights function of AnalogLinear takes a lot of time for weight matrices bigger than 50x50 (43 minutes for 150x150) when realistic_read_write is set to True.
How to reproduce
import torch
from time import time
from aihwkit.simulator.presets.configs import PCMPreset, MixedPrecisionPCMPreset
from aihwkit.nn import AnalogLinear
rpu_config = MixedPrecisionPCMPreset()
realistic_read_write = True
init_weights = torch.zeros((150,150))
layer = AnalogLinear(150, 150, rpu_config=rpu_config, bias=False, realistic_read_write=realistic_read_write)
start = time()
layer.set_weights(init_weights, force_exact=False)
end = time()
print((end-start)/60)
Output
42.9 (minutes)
Other information
Pytorch version: 1.13.0
Package version: dev install
OS: macOS Ventura 13.0.1 (Intel)
Python version: 3.8.15
Conda version (or N/A): 4.12.0

Hi @joris-gentinetta,
many thanks for opening the issue.
Realistic write means that the weights are iteratively programmed until convergence. It is almost like a full training simulation. Since the stochastic pulsing and device noise is simulated, it indeed takes time in particular on CPU (it is much faster on GPU) depending on the settings. Note that even in reality iterative programming of analog chips may take a long time.  If you are interested in analog training (with SGD and mixed precision) then it is advisable to just set realistic_read_write=False since the PCM devices are anyway randomly initialized. Note also, that  realistic_read_write is indeed using standard SGD and not mixed precision, so if you really want to study the writing, you could just implement it with AnalogLinear and torch losses (requiring the MSE of target output and actual output to be small) using MixedPrecision.
If you are interested in inference only and want to program a weight matrix, you should use the InferenceRPUConfig and the statistical programming model to program the weights.

Thanks for the fast reply!


Change Android float ABI to hard

I've done the experiment of compiling the Android export templates with the hard float ABI instead of soft-fp. I've written a simple test script and measured:
Current soft-fp: 1781 +/- 48 ms
Experimental hard: 1796 +/- 53 ms
Pretty surprising for me. I didn't expect a big gain because GDScript is a large bottle neck compared with the floating point calling convention; but a pessimization?
Maybe my test program is not the best one for this task or maybe this has yielded gains in other aspects (render, sound, etc.) and only a real-word example is appropiate for testing.
Or maybe this change just does not improve things at all and should not be merged. However, as long as Godot is built as a whole and the relevant functions are qualified with JNICALL it should be safe.
At least I've pushed it for the records in case some day this is considered again so both these notes and the relevant compiler flags, etc. could be grabbed from here.
P. S.: The test program is an empty scene with this code:
extends Node2D

func _ready():
	set_process(true)

func _process(delta):
	var start = OS.get_ticks_msec()
	for i in range(0, 1000000):
		i = float(i)
		cos(i) * sqrt(i) + exp(i) / i
	var end = OS.get_ticks_msec()
	print(end - start)

I forgot to tell it's worth noting the -Wl,--fix-cortex-a8 part probably should be kept as it's advised for ARMv7 regardless the float ABI.

Maybe this needed more measuring and testing before merging.
However, you could backtrack anytime if it caused problems.
Theoretically it should improve performance although in a negigible amount.
El 10/9/2016 4:41 p. m., "Juan Linietsky"<EMAIL_ADDRESS>escribió:

Merged #6438 https://github.com/godotengine/godot/pull/6438.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/pull/6438#event-784928203, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALQCticUyS2DeLVTlVwlr1pJcjURTCfnks5qosGEgaJpZM4J490S
.

https://travis-ci.org/godotengine/godot/builds/158971563

I don't understand why @reduz merged and reverted right after.
@mefihl this is an error (not a fail) and happens fairly often for iOS, which is not related to this patch at all. In fact, the PR build itself passed: https://travis-ci.org/godotengine/godot/builds/158711634

Yeah, this PR could break Android builds at most.
Regarding the revert, maybe Juan hurried to merge it and then read my
considerations or my later comment about the experimental status of this PR.


Unable to proxy through HTTPS_PROXY

Hello, I'm trying to use this library with HTTPS_PROXY env variable set,
but no matter what I do I couldn't get it working.
Error message is as following:

"Error: Failed to retrieve verification certificates: Error: write EPROTO 101057795:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\ssl\s23_clnt.c:825:
at OAuth2Client. (D:\Projects\baseball_app_server\jsOut\sphinx\node_modules\google-auth-library\build\src\auth\oauth2client.js:515:31)
at step (D:\Projects\baseball_app_server\jsOut\sphinx\node_modules\google-auth-library\build\src\auth\oauth2client.js:57:23)
at Object.throw (D:\Projects\baseball_app_server\jsOut\sphinx\node_modules\google-auth-library\build\src\auth\oauth2client.js:38:53)
at rejected (D:\Projects\baseball_app_server\jsOut\sphinx\node_modules\google-auth-library\build\src\auth\oauth2client.js:30:65)
at "	string

I use squid 3.5 as proxy server, and I am using the same proxy server to proxy facebook oauth2(https://graph.facebook.com), and it works perfectly well.
I use HTTPS_PROXY env variable to provide proxy information to the library.
For facebook, that env variable doesn't work, so I used the method described here([https://github.com/feathersjs/authentication-oauth2/issues/62]);
And this is the squid log:

1521627064.515    572 <IP_ADDRESS> TCP_TUNNEL/200 4189 CONNECT graph.facebook.com:443 - HIER_DIRECT/<IP_ADDRESS> -
1521627070.050      0 <IP_ADDRESS> TAG_NONE/400 4408 NONE error:invalid-request - HIER_NONE/- text/html

First line is for facebook oauth2 proxy, and second line is for google oauth2 proxy.  As it says, it doesn't receive any information at all, meaning library itself is sending wrong information to proxy server.

Tried a workaround, but it gives the same error.
const oauthCli = new OAuth2Client( { ... } );

const transporter = this.oauthCli.transporter;
const originalRequest = transporter.request;

const proxyConfig = transporter.configure({
    proxy: {
        host: "localhost",
        port: 3128
    },
    headers: {
        "cache-control": "no-cache"
    }
});

const requestInject = function (config, callback?) {
    Object.assign(config, proxyConfig);

    return originalRequest.bind(transporter)(config, callback);
};

try {
    transporter["request"] = requestInject as any;
} catch (e) {
    console.error(e);
}

Seems like axios issue.
[Request to HTTPS with HTTP proxy fails]
https://github.com/axios/axios/issues/925


Chunked request parsing does not properly update examined

Chunked request parsing does not properly update examined

The chunked parsing logic didn't properly update the examined position when parsing the chunked prefix. This started to throw because Pipe now throws if examined is set to the position before the previous.


Fix #334

This includes the following fixes:

Manual merge of #334
Simplify 5to6-perlfunc URL

Cheers
On Fri, 4 Mar 2016 at 6:49 PM, Ahmad M. Zawawi<EMAIL_ADDRESS>wrote:

Merged #409 https://github.com/perl6/doc/pull/409.
—
Reply to this email directly or view it on GitHub
https://github.com/perl6/doc/pull/409#event-577429679.


create controller in Laravel...

Laravel Version:  Laravel Framework 9.11.0
PHP Version:  PHP Version 8.1.4

Description:
Hello, i just installed laraevl-admin , everything was good , when i create controller using this command..
php artisan admin:make BillInfoController --model=app\Models\BillInfo
php artisan admin:make BillInfoController --model=app\Models\BillInfo
show error ...  model does not exists
what is the solution ?
thanks

You can try this
php artisan admin:make BillInfoController --model="app\Models\BillInfo"

You can try this
php artisan admin:make BillInfoController --model="app\Models\BillInfo"

not work same error ... model does not exists.

You can try this
php artisan admin:make BillInfoController --model="app\Models\BillInfo"

not work same error ... model does not exists.

Sorry, try this again
php artisan admin:make BillInfoController --model="App\Models\BillInfo"

I try with case sensitive format but showing  same error and also try after delete model manually and
php artisan make:model billinfo -c
Show message successfully created  model & Controller.
But when i checked model create but controller file not credited.

I try with case sensitive format but showing same error and also try after delete model manually and
php artisan make:model billinfo -c
Show message successfully created model & Controller.
But when i checked model create but controller file not credited.

I used the lower version test earlier and now try to deploy the same environment as yours.
The framework hasn't been updated for two years, your higher-release environment should have more problems.

Laravel Version: Laravel Framework 8.83.10
PHP Version: PHP Version 7.4.28

I try with case sensitive format but showing same error and also try after delete model manually and
php artisan make:model billinfo -c
Show message successfully created model & Controller.
But when i checked model create but controller file not credited.

I used the lower version test earlier and now try to deploy the same environment as yours.
The framework hasn't been updated for two years, your higher-release environment should have more problems.

Laravel Version: Laravel Framework 8.83.10
PHP Version: PHP Version 7.4.28

These version should be used..
Laravel Version: Laravel Framework 8.83.10
PHP Version: PHP Version 7.4.28

have u test it with \\ ?? php artisan admin:make BillInfoController --model=App\\Models\\BillInfo
I got same error with only one backslash
PHP version | PHP/8.0.18
Laravel version | 8.83.1
❯ php artisan admin:make UserController --model=App\Models\User
Model does not exists !

❯ php artisan admin:make UserController --model=App\\Models\\User

Add the following route to app/Admin/routes.php:

    $router->resource('users', UserController::class);

have u test it with \\ ?? php artisan admin:make BillInfoController --model=App\\Models\\BillInfo I got same error with only one backslash
PHP version | PHP/8.0.18 Laravel version | 8.83.1
❯ php artisan admin:make UserController --model=App\Models\User
Model does not exists !

❯ php artisan admin:make UserController --model=App\\Models\\User
App\Admin\Controllers\UserController created successfully.

Add the following route to app/Admin/routes.php:

    $router->resource('users', UserController::class);

My operating system is Windows, linux maybe different

have u test it with \\ ?? php artisan admin:make BillInfoController --model=App\\Models\\BillInfo I got same error with only one backslash
PHP version | PHP/8.0.18 Laravel version | 8.83.1
❯ php artisan admin:make UserController --model=App\Models\User
Model does not exists !

❯ php artisan admin:make UserController --model=App\\Models\\User
App\Admin\Controllers\UserController created successfully.

Add the following route to app/Admin/routes.php:

    $router->resource('users', UserController::class);

My operating system is Windows, linux is different
https://laravel-admin.org/docs/en/quick-start

`

have u test it with \\ ?? php artisan admin:make BillInfoController --model=App\\Models\\BillInfo I got same error with only one backslash
PHP version | PHP/8.0.18 Laravel version | 8.83.1
❯ php artisan admin:make UserController --model=App\Models\User
Model does not exists !

❯ php artisan admin:make UserController --model=App\\Models\\User
App\Admin\Controllers\UserController created successfully.

Add the following route to app/Admin/routes.php:

    $router->resource('users', UserController::class);

have u test it with \\ ?? php artisan admin:make BillInfoController --model=App\\Models\\BillInfo I got same error with only one backslash
PHP version | PHP/8.0.18 Laravel version | 8.83.1
❯ php artisan admin:make UserController --model=App\Models\User
Model does not exists !

❯ php artisan admin:make UserController --model=App\\Models\\User
App\Admin\Controllers\UserController created successfully.

Add the following route to app/Admin/routes.php:

    $router->resource('users', UserController::class);

My operating system is Windows,
Laravel Framework 8.83.11
Composer version 2.3.5
PHP 7.3.11 (cli) (built: Oct 22 2019 11:20:18) ( ZTS MSVC15 (Visual C++ 2017) x64 )

I tried to execute it on window and got this result
--model=App\Models\Moment\Coupon
You should try "App", Instead of "app"
@razaranta

php-8.1.5-Win32-vs16-x64
Laravel Framework 8.83.12
Laravel-admin version 1.8.17

php-8.1.5-Win32-vs16-x64
Laravel Framework 8.83.12
Laravel-admin version 1.8.17

have u test it with \\ ?? php artisan admin:make BillInfoController --model=App\\Models\\BillInfo I got same error with only one backslash
PHP version | PHP/8.0.18 Laravel version | 8.83.1
❯ php artisan admin:make UserController --model=App\Models\User
Model does not exists !

❯ php artisan admin:make UserController --model=App\\Models\\User
App\Admin\Controllers\UserController created successfully.

Add the following route to app/Admin/routes.php:

    $router->resource('users', UserController::class);

Windows requires only a single slash, linux  systems require double slashes


CDCSOURCE 整库同步 源库可不可以是TIDB

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
CDCSOURCE 整库同步 源库可不可以是TIDB
What you expected to happen
CDCSOURCE 整库同步 源库可不可以是TIDB
How to reproduce
CDCSOURCE 整库同步 源库可不可以是TIDB
Anything else
No response
Version
dev
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

你可以通过扩展来实现 , 可以参考 mysql 的实现方式

需求 + 1 ，想支持到TIDB 6.5.2

需求 + 1 ，想支持到TIDB 6.5.2

来实现一下?


Fix mock user properties

@ineswq problem was a merge just before yours that changed the user type

Thanks for taking a look!

I'm going to hit the merge button since this is blocking off further branching off develop for development...