ENOENT: ../../node_modules/.prisma/client/query-engine-darwin-arm64 --enable-raw-queries cli dmmf

Bug description
@Prisma/Client v4.9.0
Prisma fails with the following error when running any CRUD api methods while using binary type engine.
generator client {
  provider = "prisma-client-js"
  engineType = "binary"
  binaryTargets = ["native","debian-openssl-1.1.x"]
}

Tried manually pasting the generated engine file in all the possible locations for it to be accessed on this path ../../node_modules/.prisma/client/query-engine-darwin, but correct path is not the issue.
Tried updating openssl@1. to openssl@3
Tried upgrading prisma version to 4.11.0 & downgrading to 4.3.0
Tried using @prisma/cli@alpha instead of prisma as this is clearly a cli command that fails
Stack Trace:
`"Error: ",
  "Invalid `prisma.xxxx.create()` invocation:",

  "Command failed with ENOENT: ../../node_modules/.prisma/client/query-engine-darwin--enable-raw-queries cli dmmf",
  "spawn ../../node_modules/.prisma/client/query-engine-darwin ENOENT",
  "    at RequestHandler.handleRequestError (webpack-internal:///../../node_modules/@prisma/client/runtime/index.js:31932:13)",
  "    at RequestHandler.handleAndLogRequestError (webpack-internal:///../../node_modules/@prisma/client/runtime/index.js:31904:12)",
  "    at eval (webpack-internal:///../../node_modules/@prisma/client/runtime/index.js:32449:25)",
  "    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
  "    at async PrismaClient._executeRequest (webpack-internal:///../../node_modules/@prisma/client/runtime/index.js:33011:22)",
  "    at async PrismaClient._request (webpack-internal:///../../node_modules/@prisma/client/runtime/index.js:32983:16)"`

How to reproduce
Just change engineType to binary
generator client {
  provider = "prisma-client-js"
  engineType = "binary"
  binaryTargets = ["native","debian-openssl-1.1.x"]
}

Expected behavior
No response
Prisma information

// Add your schema.prisma

NON schema related issue, works fine on local without binary engineType
// Add your code using Prisma Client

Environment & setup

OS: Ubuntu & MacOS & MacOS intel64
Database: Postgresql
Node.js version: 18.12 & 18.14

Prisma Version
4.9.0, 4.11.0, 4.3.0

Tried using @prisma/cli@alpha instead of prisma as this is clearly a cli command that fails

That package is outdated and completely irrelevant. Prisma CLI, also prisma is in no way related to what you are reporting.
Why do you want to use engineType=binary?
Does node_modules/.prisma/client/query-engine-darwin-arm64 or node_modules/.prisma/client/query-engine-darwin (your issue includes both...) exist in your project? If yes, what happen when you execute the command from the title manually in your terminal?

if I don't use binary prisma crashes on Ubuntu and server restarts.
Yes the problem occurs on both arm and arm64 arch
When I run that command
{"is_panic":false,"message":"Datamodel should be provided either as path or base64-encoded string.","backtrace":"   0: __mh_execute_header\n   1: __mh_execute_header\n   2: __mh_execute_header\n   3: __mh_execute_header\n   4: __mh_execute_header\n   5: __mh_execute_header\n   6: __mh_execute_header\n   7: <unknown>\n"}

Yes, that issue is already reported here with the solution that worked for many. i.e. using engineType: 'binary'
App details:
Node v18
webpack 5.7
Graphql 15
inversify 6
Only difference is that we are using inversify to inject prisma. however even with simple no-hoist implementation (i.e. without inversify) we faced same issue.
This exact implementation works with engineType library ONLY on local and crashes as the thread attached above on docker (Ubuntu 18).

Ok, then the original error is indeed covered well enough in the other issue(s).
You should never have to copy/paste any files anywhere. It should just work.
Can you provide a reproduction of your project setup that could help us reproduce your problem? With yarn workspaces and inversify that is pretty specific.

@NoumanHumayun, I have an implementation on a personal project which has had no problems post-build:
For context, this is running on windows (reason for atypical path construction), but I did need to specifically COPY the .prisma module (since I didn't want to yarn prisma generate or whatever) within the build process, I expect it to be done upfront.
Not sure if any of this pet stuff will help.
Dockerfile
FROM node:18

WORKDIR /usr/awesome-bot

COPY package*.json ./

RUN yarn --production=true

COPY ./dist .
COPY .env .
COPY ./node_modules/.prisma ./node_modules/.prisma
VOLUME ["/usr/awesome-bot/prisma"]

CMD ["node", "index.js"]

docker-compose.yml
version: '3.4'

services:
  awesomebot:
    image: awesomebot
    build:
      context: .
      dockerfile: ./Dockerfile
    environment:
      NODE_ENV: production
      DATABASE_URL: file:/usr/awesome-bot/prisma/dev.db
      TZ: "America/Toronto"
    volumes:
      - "D:/Projects/awesome-bot/prisma:/usr/awesome-bot/prisma"

schema.prisma
generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-1.1.x"]
}

datasource db {
  provider = "sqlite"
  url      = "file:./dev.db"
}

// Rest of the file is the models.

Hi @NoumanHumayun, did @alexander-joinlane's comment help you figuring out how to solve this issue? Can you please report back about it - also by trying with the latest available Prisma version? Thanks!

Hey @NoumanHumayun, I saw you noticed our latest comment 👀😄
Can you please confirm that this issue is indeed solved in Prisma 5? Thanks

Hey @NoumanHumayun, we're closing this issue due to inactivity, as we consider this being the solution to the reported problem. Should that not suffice, please leave a comment asking to re-open this issue.


README

README
User Story
As a boot camp student,
I want the prework notes to be structured on a webpage,
So that I can easily find and read the information.
Acceptance Criteria
GIVEN the prework project repository,
WHEN I view the README for the repository,
THEN I can see a professional README that provides information on the project and how to use it

Updating project readme file #10


Feature/new contact system

[UPDATED] all thing that I can do

@flukerbooker Be sure to pull 'dev' branch and resolve all the conflict before trying to merge!


[Gradle] JDK17 targets shouldn't try to build on older JDKs

Not sure why this wasn't breaking before, but after the latest JDK update, these two targets will fail to build when ./gradlew publishtoMaven[Local|Central] is attempted on a JDK < 17. Recall that we are still releasing by building with JDK8 for compatibility reasons.

This alone doesn't seem enough to fix publishToMavenLocal after all the recent gradle changes, seeing the following follow up issue:
* What went wrong:
Execution failed for task ':jar-infer:android-jarinfer-models-sdk31:publishMavenPublicationToMavenLocal'.
> Failed to publish publication 'maven' to repository 'mavenLocal'
   > Invalid publication 'maven': artifact file does not exist: '/home/user/NullAway/jar-infer/android-jarinfer-models-sdk31/build/publications/maven/pom-default.xml.asc'

On an M1 Mac, I cannot reproduce these problems.  Even on the master branch, ./gradlew publishToMavenLocal succeeds, on JDKs 8, 11, and 17.  @lazaroclapp can you try ./gradlew clean publishToMavenLocal --no-build-cache?

This one doesn't seem necessary right now, after #767. Might be part of fixing #768, but closing for now.

Looks like I spoke too soon, this still reproduces on a Linux Devpod, with JDK 11 or 8. It doesn't happen on Mac OS...

Update (for documentation purposes):
This seems to be ultimately due to where our Linux install/container puts the different JDKs available to it. It is not a path where the gradle toolchain mechanism looks into by default. An easy fix, as documented here, is to add the paths to a org.gradle.java.installations.paths property on the user-home level gradle.properties file (~/.gradle/gradle.properties), which is the fix we are implementing internally. This means no change is needed or desired in NullAway itself and this can be closed.


motion comments in the motion detail view

@tsiegleauq Ping! Additional things: the meta-text-block component and the personal note component/service

@tsiegleauq Should work now.


Add the "by record id" search form component

Added SzSearchByIdFormParams interface
Added SzSearchByIdComponent Component
Added SzEntityRecordViewerComponent Component
Added ngx-json-viewer dependency for SzEntityRecordViewerComponent

Related to: GDEV-2239

Issue number: #110

Issue number: #115


Remove typo

@r0bfr : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Correction confirmed; thanks.


Move sync mirror actions to mirror service package

As title.

Codecov Report

Merging #8518 into master will increase coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #8518      +/-   ##
==========================================
+ Coverage   41.59%   41.59%   +<.01%
==========================================
  Files         522      523       +1
  Lines       67763    67763
==========================================
+ Hits        28184    28188       +4
+ Misses      35970    35965       -5
- Partials     3609     3610       +1

Impacted Files
Coverage Δ

models/action.go
62.85% <ø> (+6.96%)
:arrow_up:

services/mirror/sync.go
0% <0%> (ø)

services/mirror/mirror.go
18.93% <0%> (ø)
:arrow_up:

modules/sync/unique_queue.go
78.57% <0%> (-10.72%)
:arrow_down:

modules/log/event.go
65.64% <0%> (+1.02%)
:arrow_up:

models/repo_indexer.go
68.36% <0%> (+1.81%)
:arrow_up:

Continue to review full report at Codecov.

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

make lg-tm work


Automatic git export not working on Automatic export of Collection on Mac to Overleaf

Debug log ID
XU4TTGU2-euc/6.7.193-6
What happened?
I followed the instructions to use the automatic export with auto push to git (overleaf git in my case). my .git/config says true for push.
The automatic export to .bib file works, but is not committed. If I do pull, commit, push in terminal on folder I get the expected result.
I did not find any additional information that the auto process is done or not. I restarted Zotero and terminal a few times, without any change in result.

Can you test build 6273?

Thanks a lot, this works. It now asks for the password of git.overleaf.com and automatic syncing is working. Thanks for your quick help! Do you need any further information?

No, just conformation that it works is good.

A new release will go out today.

Can you try this build to see if it solves the problem for you?

It's still not working on my end, either: Z7FMWNCU-euc/6.7.207-7

The new update is not staged and commited automatically:

It's trying to run
/usr/bin/git -C /Users/sebastianschaper/Diss/Paper/Theory-nkd-decoupling/OverleafProject/65d72359067c2d4e421e8a52 commit -m "BibTeX updated by Better BibTeX for Zotero"

can you run that from a directory that is not /Users/sebastianschaper/Diss/Paper/Theory-nkd-decoupling/OverleafProject/65d72359067c2d4e421e8a52 and see what it reports.

Please try this.

@retorquere I am sorry, but I am a different user who's experiencing this issue on Windows. I have left my log above. Your comment does not apply to me.

@jooyoungseo I see no auto-export activity in your log. You have to trigger an export so the log will show what goes wrong.

@retorquere I have triggered again in this log: NE57HNEI-euc/6.7.207-7

@jooyoungseo please try this in cmd.exe in a directory that is not C:\overleaf\assets24\maidr:
"C:\Program Files\Git\cmd\git.EXE" -C C:\overleaf\assets24\maidr checkout references\hci.bib

@retorquere Thanks. Still does not work: IUKLYCBX-euc/6.7.207-7
AdAdministrator: C:\WINDOWS\system32\cmd.exe

C:\>"C:\Program Files\Git\cmd\git.EXE" -C C:\overleaf\assets24\maidr checkout references\hci.bib

Updated 1 path from the index

C:\>

AdAdministrator: C:\WINDOWS\system32\cmd.exe

Is this an administrator shell? If so, please run in a regular shell

No. Executing the command in the user shell does not make any change. I have removed all the  connected auto-exported bibs and started from scratch, but still see the same issue: TK8SMITH-euc/6.7.207-7

Please send a new debug log from 6464. This is not expected to fix anything, it just adds more information to the log.

Yes, here you go: 69FTRVHD-euc/<IP_ADDRESS>82.6464-7

Yes, here you go: 69FTRVHD-euc/<IP_ADDRESS>82.6464-7

Build 6467 will show the git output in a window, I need to see what it is. You might want to use a screen recorder, I don't know how long the window stays up.

Here is a new log: VE46GRJM-euc/<IP_ADDRESS>82.6467-7
Below is the screen capture:

It looks like you're running some things as admin, others as a regular user. That's a really hard environment to support.

@SebusFu if you don't respond in going to have to close this issue.
@jooyoungseo you have a rights issue. If you've resolved that, and it still doesn't work, please open a new issue.

@SebusFu if you don't respond in going to have to close this issue.
@jooyoungseo you have a rights issue. If you've resolved that, and it still doesn't work, please open a new issue.

@jooyoungseo and please don't follow the suggestion by git above. That would just have git proceed with the problem present, and I don't want to debug windows ownership issues. You have mixed ownership of that repo, that's not supported. The git repo should be unambiguously owned by the user Zotero runs as.

@retorquere Thanks for your help with debugging this issue. I have resolved this on my end. However, I think other Windows users who save their repo under C drive will face the same issue because C drive is owned by admin by default. Zotero, on the other hand, is run with the current user power. To address this issue, users will have to either adjust their zotero.exe property to elevate the run permission to admin or add the repo under C drive to their git safe.directory list.
Another possible issue that I have found that the bbt push option needs to be removed from the git global level. I have noticed that auto push does not work when the option exists in the git global config.
I have jot down the following simple batch script for my own use that can be executed inside the target repo and this addresses the issue above.
zotero_bbt_auto_push.cmd:
@echo off

rem Allow Zotero to push updated references
rem Remove bbt setting from `--global` git config because it must be set on a local level
git config --global --unset zotero.betterbibtex.push
git config zotero.betterbibtex.push true

setlocal enabledelayedexpansion

rem Get the current directory
set "dir=%cd%"

rem Add the current directory as a safe directory in Git
git config --global --add safe.directory "!dir!"

endlocal

@retorquere Thanks for your help with debugging this issue. I have resolved this on my end. However, I think other Windows users who save their repo under C drive will face the same issue because C drive is owned by admin by default.

You can, however, create a directory there that as admin and then change ownership to the regular user.

Zotero, on the other hand, is run with the current user power. To address this issue, users will have to either adjust their zotero.exe property to elevate the run permission to admin

PLEASE DON'T DO THIS. This will get you in all sorts of problems since now the Zotero directory will also be admin-owned, and this will make diagnosis nasty work.
If you are going to do this nonetheless (and I'm saying: don't), and you want to report problems for plugins or Zotero itself, mention that you are running Zotero as admin, because a) that complicates everything, and b) it is guaranteed to be unexpected to the developer. That is aside the fact that just generally, running things as admin that are not directly related to system administration is not advisable.

or add the repo under C drive to their git safe.directory list.

Also no. Just create a directory on C:, give ownership to the regular user, and do all your work as non-admin in that directory.

Another possible issue that I have found that the bbt push option needs to be removed from the git global level.

It doesn't need to be removed, but BBT won't read it there.

I have noticed that auto push does not work when the option exists in the git global config.

That is correct.

Hi, sorry for the late response, I've been away. It currently works for me. Thank you very much for your great support and the great tool!


Bitsandbytes precision plugin

What does this PR do?
Fixes #18295
Closes #18559
Some minor improvements are added to the transformer engine integration. I thought about these as I was working on this plugin, since they work very similarly.
Before:
import torch
import torch.nn as nn
import bitsandbytes as bnb
from bitsandbytes.nn import Linear8bitLt, LinearNF4

model = Linear8bitLt(64, 64, has_fp16_weights=False)
print(model.weight.device)  # cpu
print(model.weight.dtype)  # float32
model = model.to(0)  # quantization happens here
print(model.weight.device)  # cuda
print(model.weight.dtype)  # int8

model = LinearNF4(64, 64)
print(model.weight.device)  # cpu
print(model.weight.dtype)  # float32
model = model.to(0)  # quantization happens here
print(model.weight.device)  # cuda
print(model.weight.dtype)  # uint8

After:
import torch
import torch.nn as nn
import lightning as L
from lightning.fabric.plugins import BitsandbytesPrecision

fabric = L.Fabric(devices=1, plugins=BitsandbytesPrecision("int8", dtype=torch.float16))
with fabric.init_module():
    model = nn.Linear(64, 64)
print(model.weight.device)  # cuda (init_module already inited on device)
print(model.weight.dtype)  # int8 (model is already quantized)
model = fabric.setup(model)  # won't do anything new
print(model.weight.device)  # cuda
print(model.weight.dtype)  # int8

fabric = L.Fabric(devices=1, plugins=BitsandbytesPrecision("nf4", dtype=torch.bfloat16))
with fabric.init_module():
    model = nn.Linear(64, 64)
print(model.weight.device)  # cuda (init_module already inited on device)
print(model.weight.dtype)  # uint8 (model is already quantized)
model = fabric.setup(model)  # won't do anything new
print(model.weight.device)  # cuda
print(model.weight.dtype)  # uint8

If the user request to skip=... submodules, quantization will only happen in fabric.setup

:books: Documentation preview :books:: https://pytorch-lightning--18655.org.readthedocs.build/en/18655/

cc @borda @carmocca @justusschock @awaelchli

@awaelchli Opened https://github.com/Lightning-AI/lightning/issues/18679. Also working to update lit-gpt in https://github.com/Lightning-AI/lit-gpt/pull/596


next build can't load css from external libraries

Hello,
my next.config looks like this:
withAntdLess({
    publicRuntimeConfig: {
      environment: process.env.ENVIRONMENT,
      mainUrl: process.env.MAIN_URL,
    },
    i18n,
    rewrites: () => rewritedUrlsCompatible,
    redirects: () => redirectedUrls,
    lessVarsFilePath: './src/less/variables.less',
    webpack: (config, opts) => {
      // Storybook publishing
      config.module.rules.push({
        test: /\.html$/i,
        use: [
          {
            loader: 'html-loader',
            options: {
              // Disables attributes processing
              sources: false,
            },
          },
        ],
      });

      // Reduce the Size Of Moment.js
      config.plugins.push(
        new opts.webpack.ContextReplacementPlugin(
          /moment[/\\]locale$/,
          /cs|de|en|es|fr|hu|pl|ru|sk|uk|zh/,
        ),
      );

      if (process.env.SENTRY_AUTH_TOKEN) {
        config.plugins.push(
          new SentryWebpackPlugin({
            // sentry-cli configuration
            authToken: process.env.SENTRY_AUTH_TOKEN,
            release: process.env.ENVIRONMENT,

            // webpack specific configuration
            include: '.',
            ignore: ['node_modules', 'webpack.config.js'],
          }),
        );
      }

      return config;
    },
  })

module.exports = withLess;

And next dev works as expected.
But when I run next build, it fails and informs me that I have no css loader - css file from external library can't be loaded:
./node_modules/react-intl-tel-input/dist/main.css
HookWebpackError: Module parse failed: Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders

I would say css is bundled in next.js itself. Or am I wrong?
My dependencies:
{
    "@material-ui/core": "^4.12.3",
    "@material-ui/lab": "*",
    "@react-google-maps/api": "^2.2.0",
    "@sentry/react": "^6.11.0",
    "@tailwindcss/jit": "^0.1.18",
    "@tailwindcss/line-clamp": "^0.2.1",
    "@web/shop-logic": "^7.7.5",
    "classnames": "^2.3.1",
    "currency-symbol-map": "^5.0.1",
    "formik": "^2.2.9",
    "html-loader": "^2.1.2",
    "husky": "^7.0.1",
    "i18next-icu": "^2.0.3",
    "moment": "^2.29.1",
    "next": "^11.1.0",
    "next-i18next": "^8.6.0",
    "next-plugin-antd-less": "^1.3.0",
    "next-react-svg": "^1.1.3",
    "nprogress": "^0.2.0",
    "pm2": "^5.1.0",
    "qrcode.react": "^1.0.1",
    "qs": "^6.10.1",
    "react": "^17.0.2",
    "react-animate-height": "^2.0.23",
    "react-countdown": "^2.3.2",
    "react-dates": "^21.8.0",
    "react-dom": "^17.0.2",
    "react-google-recaptcha-v3": "^1.9.5",
    "react-gtm-module": "^2.0.11",
    "react-inlinesvg": "^2.3.0",
    "react-intl-tel-input": "^8.0.5",
    "react-markdown": "^7.0.0",
    "react-multi-carousel": "^2.6.3",
    "react-select": "^5.0.0-beta.0",
    "react-use": "^17.2.4",
    "redux-persist": "^6.0.0",
    "strapi-generate-types": "^0.1.4",
    "tailwindcss": "^2.2.7",
    "typescript": "^4.3.5",
    "webpack": "^5.50.0",
    "yup": "^0.32.9"
}

This problem looks a bit complicated, and I haven't used next.js for a year, so see if you can solve it yourself?

Were you able to solve this ?
I am facing the same error but with another lib (leaflet react)
Module parse failed: Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders```

I did this and it is working. I don't know why honestly 😅
webpack: (config) => {
config.module.rules.push(
  {
    test: /\.(png|jpg|gif|svg)$/,
    use: [
      {
        loader: 'url-loader',
        options: {
          limit: 25000,
          name: '[name].[hash:7].[ext]'
        }
      }
    ]
  }
)
return config;
}


Adding gas technologies

Nothing to fancy.
Fixes: #555

@ChaelKruip Is this to be merged now? I'm guessing the technologies aren't of much use yet if we have no profiles or behaviours for them?

@ChaelKruip Is this to be merged now? I'm guessing the technologies aren't of much use yet if we have no profiles or behaviours for them?

I agree. Let's keep this PR open for now. Just good to know that the actual work is done.


[Turbopack] Parsing css source code failed

What version of Turbopack are you using?
latest
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Describe the Bug
error -
  [parse]
    src/styles/dist.css
      src/styles/dist.css:2484:45  Parsing css source code failed
        2480     align-items: center;
        2481     justify-content: space-between;
        2482     gap: 1rem;
        2483     --tw-bg-opacity: 1;
        2484 >   background-color: hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));
        2485     padding: 1rem;
        2486     border-radius: var(--rounded-box, 1rem);
        2487   }

Some other error that was ok to work with
  [rendering]
    [root of the dev server]/
      Error during SSR Rendering
      timed out waiting for the Node.js process to connect

  [resolve]
    /wode/packages/utils/lib/crypto
      Error resolving URI imports: not implemented yet
      unable to resolve uri "node:" "crypto"

Expected Behavior
css working
To Reproduce
for project https://github.com/wenerme/wode under demo dir
Then
pnpm tailwindcss -i src/styles/globals.css -o src/styles/dist.css --watch

src/pages/_app.tsx change import '../styles/globals.css'; to import '../styles/dist.css';
Reproduction Repo
https://github.com/wenerme/wode

/cc @kdy1

Should be fixed by https://github.com/swc-project/swc/pull/6260

Is this resolved in recent versions of Next.js?

Also getting this with the leaflet package as a dependency of react-leaflet.
 ⨯ ModuleBuildError: error - node_modules/leaflet/dist/leaflet.css:538:15  Parsing css source code failed

  536 |
  537 |         -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
> 538 |         filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
      |                       ^
  539 |         }
  540 |
  541 | .leaflet-oldie .leaflet-control-zoom,
Expected Declaration value

This seems to be a IE (or Edge?) specific style definition, which might not be part of the CSS standard. Can this error be fixed without adjusting the leaflet library source? Otherwise I will open an issue on their repository.

Also getting this with the leaflet package as a dependency of react-leaflet.
 ⨯ ModuleBuildError: error - node_modules/leaflet/dist/leaflet.css:538:15  Parsing css source code failed

  536 |
  537 |         -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
> 538 |         filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
      |                       ^
  539 |         }
  540 |
  541 | .leaflet-oldie .leaflet-control-zoom,
Expected Declaration value

This seems to be a IE (or Edge?) specific style definition, which might not be part of the CSS standard. Can this error be fixed without adjusting the leaflet library source? Otherwise I will open an issue on their repository.
Edit: This is with NextJS 14.0.2 using npx next dev --turbo

Same with NextJS 14.0.3

node_modules_next_3f8f89._.js?ts=1702321002203:18337 Uncaught Error: ./app/globals.css:977:22
Parsing css source code failed
  975 | }
  976 | .max-w-\[container\.sm\] {
> 977 |   max-width: container.sm;
      |                       ^
  978 | }
  979 | .max-w-lg {
  980 |   max-width: 32rem;

Expected Declaration value

    at <unknown> (Error: ./app/globals.css:977:22)
    at Object.getCompilationErrors (file://C:\Users\4ranc\Documents\github\aipictors\node_modules\next\dist\server\lib\router-utils\setup-dev-bundler.js:980:37)
    at DevBundlerService.getCompilationError (file://C:\Users\4ranc\Documents\github\aipictors\node_modules\next\dist\server\lib\dev-bundler-service.js:36:55)
    at DevServer.getCompilationError (file://C:\Users\4ranc\Documents\github\aipictors\node_modules\next\dist\server\dev\next-dev-server.js:582:42)
    at DevServer.findPageComponents (file://C:\Users\4ranc\Documents\github\aipictors\node_modules\next\dist\server\dev\next-dev-server.js:541:43)
    at async DevServer.renderErrorToResponseImpl (file://C:\Users\4ranc\Documents\github\aipictors\node_modules\next\dist\server\base-server.js:2050:26)

The above-mentioned error is occurring with Next.js 14.0.5-canary.6 (turbo) + shadcn/ui.
It does not occur with the regular next dev.
https://github.com/aipictors/aipictors/issues/77#issuecomment-1850602476

Getting the same error with the turbopack and as mentioned by @Katsuyuki-Karasawa  does not occur with normal next dev
Leaflet 1.9.4
Next 14.0.4

Actually, this is a bug of leftlet. It's not a valid syntax

Same here. Trying to use code for antd as:
.ant-dropdown-menu-item-selected {
  span {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  span::after {
    content: url('../assets/icons/common/check.svg');
    margin-inline-start: 0.285rem;
  }
}

and its giving:
Parsing css source code failed
  59 |
  60 | .ant-dropdown-menu-item-selected {
> 61 |   span {
     |        ^
  62 |     display: flex;
  63 |     justify-content: space-between;
  64 |     align-items: center;

Expected ":"

Any update on this issue?

Having the same issue regarding react-leaflet. Opened an issue at react-leaflet: https://github.com/PaulLeCam/react-leaflet/issues/1122

pls fix 😭

going to close this for now as this discussion is no longer related to the original reported issue
the syntax was removed from leaflet itself more than a year ago https://github.com/Leaflet/Leaflet/commit/2daebbb4390b8e52c0b8c7bfc2074fe577f8bf73
if you're encountering any other problems, feel free to open a new issue in the next.js repo

I'm also getting a similar error

Hey, got the same problem with Next 14.1.3 and tailwind 3.4.1 :
Parsing css source code failed
    1272 | }
    1273 | .\[a-zA-Z0-9\:\\\\-\\\\\._\$\] {
 >  1274 |   a-z-a--z0-9: \\-\\. $;
         |                     ^
    1275 | }
    1276 | .before\:absolute::before {
    1277 |   content: var(--tw-content);

 Expected Declaration value

I wanted to import a css file from a package to my app, in a turborepo monorepo

@walid-mos Please file a new issue with a minimal reproducion

For what it's worth, it's fine on my side on latest Next.js (14.2.3) and Tailwind v3.4.0.

FWIW, I just decided to try out the @nextui-org/react (@nextui) component lib in a new project.
Getting this w/ dev turbo:
./src/styles/globals.css:421:30
Parsing css source code failed
  419 |     --background: ({ opacityVariable, opacityValue }) => {
  420 |           if (!isNaN(+opacityValue)) {
> 421 |             return `hsl(var(${nextuiColorVariable}) / ${opacityValue})`;
      |                              ^
  422 |           }
  423 |           if (opacityVariable) {
  424 |             return `hsl(var(${nextuiColorVariable}) / var(${nextuiOpacityVariable}, var(${opacityVariable})))`;

Unexpected token Delim('$') at [project]/src/styles/globals.css:420:29

"tailwindcss": "^3.4.3"
"next": "14.3.0-canary.28"
"@nextui-org/react": "^2.3.6"

@kdy1 is there a related issue open?

FWIW, I just decided to try out the @nextui-org/react (@nextui) component lib in a new project. Getting this w/ dev turbo:
./src/styles/globals.css:421:30
Parsing css source code failed
  419 |     --background: ({ opacityVariable, opacityValue }) => {
  420 |           if (!isNaN(+opacityValue)) {
> 421 |             return `hsl(var(${nextuiColorVariable}) / ${opacityValue})`;
      |                              ^
  422 |           }
  423 |           if (opacityVariable) {
  424 |             return `hsl(var(${nextuiColorVariable}) / var(${nextuiOpacityVariable}, var(${opacityVariable})))`;

Unexpected token Delim('$') at [project]/src/styles/globals.css:420:29

"tailwindcss": "^3.4.3"
"next": "14.3.0-canary.28"
"@nextui-org/react": "^2.3.6"

Same exact error for all new nextjs releases after 14.1.4, @connorblack  did you found a work around?

It turned out my issue was caused by a custom tailwind plugin:
function addVariablesForColors({ addBase, theme }) {
  let allColors = flattenColorPalette(theme("colors"));
  let newVars = Object.fromEntries(
    Object.entries(allColors).map(([key, val]) => [`--${key}`, val]),
  );

  addBase({
    ":root": newVars,
  });
}

Once removed then all worked out fine with turbo & latest Next & nextui

@Elmosh that code looks familiar...

same here
./src/styles/globals.css:1991:9
Parsing css source code failed
  1989 | }
  1990 | .\[-\:\.T\] {
> 1991 |   -: .T;
       |         ^
  1992 | }
  1993 | .\[appearance\:textfield\] {
  1994 |   -webkit-appearance: textfield;

Unexpected token Semicolon at [project]/src/styles/globals.css:1990:8

"tailwindcss": "^3.4.7"
"next": "14.2.5"

does anyone been able to solve it, cus I am still having issues with it
"bootstrap": "^5.3.2"
"next": "14.2.3"

If there's a similar issue, file a new issue with a minimal reproduction


Branch could not be found. Replacing {branch} with main

Click the button: "AI Commit", and it keeps prompting as follows.

current branch is dev
version：2.7.1
why？

After upgrading to version 2.7.1, my custom prompt and LLM client have been reset!

Hi @yidasanqian,
regarding the branch; the plugin tries to compute the branch name by finding the git repositories of the files that are staged for commit. If the plugin can't get any repositories for any of the files, it falls back to branch name "main".
Do you have a git repository and do you have any files staged for commit?
Regarding the second statement about custom prompt and LLM client being reset; what exactly do you mean by reset? Were they deleted or just unset? Are they project specific?
Furthermore, from which version did you upgrade to 2.7.1?

The first issue was resolved by restarting IDEA.
The second issue involved configuring both Azure OpenAI and OpenAI LLM clients, with Azure OpenAI client specified. However, after the upgrade, it was replaced with the OpenAI client.
The third issue pertains to my custom prompt containing emojis, which seem to be lost rather than reset. The emojis in the content input box disappear after clicking "Update" and reopening the prompt.

I hadn't noticed this before, so it probably isn't due to an upgrade.
When there are emojis in the prompt, after clicking the "Update" button and saving, when you reopen it, the emojis in both the content and preview input fields disappear, leaving just a few scattered emojis behind.

The second issue might happen because of the upgrade. In the previous version there was a bug and the project specific settings were not saved properly. Please test this with the latest version v2.7.1 and report back if it happens again.
Regarding the issue with emojis; I'll have to test it and see.

Same for me with 2.9.0.

Same for me with 2.9.0.

Hey @antonio-petricca, can you please explain what exactly do you mean? The comments in this issue mention different issues. If it's regarding the branch notification, please check that you have a git repository and files staged for commit.

Hi, sorry, the issue about the not found branch.
Thank you dir your great plugin.


Create a script for migrating a tenant between OAE instances

Smaller tasks:

[x] Promisify everything
[x] Use proper logs with this
[x] Split code into several modules
[x] Reset the T&C flag
[x] Copy the data from server to server

Migration completed. Repo at https://github.com/oaeproject/tenant-migration


Settings: GUI needs more polish on Ubuntu

Currently a line of text isn't displayed in complete.

Update on 6/11/2018:
This behavior remains the same.

Cannot test due to issue #1082

Fixed.


Problem with container.execute() timeout/connection reset

Hi,
We are having some issues with timeout/connection reset.
Basically we are trying to build a script that deploys a MongoDB cluster and it seems like everything is working but in the middle of the script pylxd just times out or whatever. All of a sudden the script just pauses and then continues but shows this error message. After entering the containers it seems like it successfully started MongoDB and everything is fine but still we get this error when we run the script?
Versions:
lxd 3.03
pylxd 2.2.10

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/ws4py/websocket.py", line 394, in once
    b = self.sock.recv(self.reading_buffer_size)
  File "/usr/lib64/python3.7/ssl.py", line 1056, in recv
    return self.read(buflen)
  File "/usr/lib64/python3.7/ssl.py", line 931, in read
    return self._sslobj.read(len)
ConnectionResetError: [Errno 104] Connection reset by peer
Failed to receive data
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/ws4py/websocket.py", line 394, in once
    b = self.sock.recv(self.reading_buffer_size)
  File "/usr/lib64/python3.7/ssl.py", line 1056, in recv
    return self.read(buflen)
  File "/usr/lib64/python3.7/ssl.py", line 931, in read
    return self._sslobj.read(len)
ConnectionResetError: [Errno 104] Connection reset by peer
ContainerExecuteResult(exit_code=0, stdout='Success: MongoDB started sucessfully\n', stderr='')

Excerpt from script that deals with container.execute():
def push_file(conName, impPath, expPath):
    filedata = open(impPath).read()
    container = client.containers.get(conName)
    container.files.put(expPath, filedata)
def start_mongodb(conName):
    if 'query' not in conName:
        container = client.containers.get(conName)
        container.execute(["systemctl","start","mongod"])
        print(container.execute(["systemctl","status","mongod"]))
    else:
        container = client.containers.get(conName)
        container.execute(["systemctl","start","mongos"])
        print(container.execute(["systemctl","is-active","mongos"]))

It looks like lxd is closing the connection (Connection reset by peer). 3.0.3 is quite an old (but still maintained) version of lxd, (I'm guessing the bionic packaged version). Does it happen with the snap version (3.17)?

It's better with 3.18 but we seem to always get timeout on the first execute when running this block:
    for entry in containerList:
        if 'query' not in entry:
            container = client.containers.get(entry)
            if 'Active: active (running)' in str(container.execute(["systemctl","status","mongod"])):
                print('MongoDB Service (mongod) is active [',entry']')
            else:
                print('MongoDB Service (mongod) is not active [',entry']')
        else:
            container = client.containers.get(entry)
            if 'Active: active (running)' in str(container.execute(["systemctl","status","mongos"])):
                print('MongoDB Service (mongos) is active [',entry']')
            else:
                print('MongoDB Service (mongos) is not active [',entry']')

In total we do 7 executes about half of them timeout. Can't really find a pattern sometimes multiple executes are OK in a row and sometimes multiple timeouts in a row. However we have not seen any timeouts when running this block: (also 7 times)
        container = client.containers.get(conName)
        container.execute(["systemctl","start","mongod"])

There's been a range of issues around the container.execute() method, but I had thought we'd ironed them out; but it still may be a pylxd issue. It would be great if you could collect some timings around how long the script is running, etc., to see if it's (maybe) a keepalive issue or something similar.

This script takes quite a long time to run. 5+ minutes, but it's only the last part of the script that is causing timeouts. (output of systemctl status)
Also after upgrading to 3.18 we now receive these warnings:
/home/admin/.local/lib/python3.7/site-packages/pylxd/models/operation.py:79: UserWarning: Attempted to set unknown attribute "location" on instance of "Operation"
  .format(key, self.__class__.__name__))

/home/admin/.local/lib/python3.7/site-packages/pylxd/models/_model.py:137: UserWarning: Attempted to set unknown attribute "type" on instance of "Container"
  key, self.__class__.__name__

Ah, so this is some variation of the repeat of the long running test issue that's come back to bite, several times now.  It seems that the websocket code is particularly sensitive to changes how lxd handles and closes its websockets, during long running processes.
Is it possible to isolate what's happening into a test (like in the integration-tests or contrib-testing directories).  It's not clear whether it's an idle connection that resets (and whether pylxd or lxd does that), or an overflowing buffer/too much data causing a reset, or something else?  If you can't isolate the test into a 'test', can you get any logs or stack traces?
Incidentally, master with lxd 3.18 is also currently broken on container.execute() due to a broken pipe error: see #379 for more details.  is it the same thing?

Still happens, LXD 5.8, pylxd 2.3.1
minimal reproducible code on my system:
from pylxd import Client
client = Client()
container = client.get("test")
print(container.execute(["ls", "/"]).stdout)
""" =>
Failed to receive data
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/ws4py/websocket.py", line 394, in once
    b = self.sock.recv(self.reading_buffer_size)
ConnectionResetError: [Errno 104] Connection reset by peer
bin
dev
etc
home
lib
...
"""

So it does return result of execution, but shows that error in the middle of execution. Is there any way to at least silently handle that?

Hi! I have a similar issue when executing any command on instance:
/usr/local/lib/python3.10/dist-packages/pylxd/models/_model.py:146: UserWarning: Attempted to set unknown attribute "project" on instance of "Instance"
  warnings.warn(
Failed to receive data
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/ws4py/websocket.py", line 394, in once
    b = self.sock.recv(self.reading_buffer_size)
ConnectionResetError: [Errno 104] Connection reset by peer
2023-04-20 12:52:28.2129 [ERROR from Sirkadirov.Overtest.Daemon.ScriptingPlatform.ScriptingPlatform] Python.Runtime.PythonException: __enter__
  File "/home/sirkadirov/projects/overtest/overtest-daemon/bin/Debug/net7.0/scripts/lxc_template_gen.py", line 113, in generate_template
    with template_container.execute(['apt-get', '-y', '-q', 'install', 'python3', 'python3-pip']) as exec_result:

Now I'm trying to figure out how to bypass or resolve it.


allow overwrite of all variables by using !default in scss files

I needed to overwrite some variables in my project. From my point of view all values should be treated as default values so that the can be overwritten.

I guess that makes sense, thanks!


[Question]: Shape must be rank 1 but is rank 0

Description
Problem with the boolean_mask() method. Here is the error:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> Tensorflow.InvalidArgumentError: Shape must be rank 1 but is rank 0 for '{{node boolean_mask/concat}} = ConcatV2[N=3, T=DT_INT32, Tidx=DT_INT32](boolean_mask/strided_slice_1, boolean_mask/Prod, boolean_mask/strided_slice_2, boolean_mask/concat/axis)' with input shapes: [0], [], [1], [].
The code I'm trying to migrate from python to c#:
`
    def get_type_fc_and_mask(self, input, unit_categoy_batch, unit_attack_mask, type_constant, scope, layer_size):
        feature_bool_mask = tf.reshape(tf.math.equal(unit_categoy_batch, tf.constant(type_constant)), [-1])
        feature_raw = tf.boolean_mask(input, feature_bool_mask) //Normal works in python

        mask = tf.boolean_mask(unit_attack_mask, feature_bool_mask)
        mask = tf.cast(mask, dtype=tf.int32)
        feature_raw = self.fc_layer(feature_raw, layer_size, scope, ln=True, activation=tf.nn.relu)

        return feature_raw, mask

`
The input receives:
feature_unit_all_feature_2 = Tensor("all_shared_part/feature_unit_global_tran_2/Relu:0", shape=(?, 100), dtype=float32)
Rank of feature_unit_all_feature_2: 2
unit_categoy_batch = Tensor("all_shared_part/Reshape:0", shape=(?, 1), dtype=int32)
type_constant = 4
My c# code:
public (Tensor, Tensor) get_type_fc_and_mask(Tensor input, Tensor unit_categoy_batch, Tensor unit_attack_mask, int type_constant, string scope, int layer_size)
{
      var equal_tensor = tf.equal(unit_categoy_batch, tf.constant(type_constant));
      var feature_bool_mask = tf.reshape(equal_tensor, new Shape(-1));
      var feature_raw = tf.boolean_mask(input, feature_bool_mask); //Error

      var mask = tf.boolean_mask(unit_attack_mask, feature_bool_mask);
      mask = tf.cast(mask, dtype: tf.int32);
      feature_raw = FC_layer(feature_raw, layer_size, scope, true, tf.keras.activations.Relu);
      return (feature_raw, mask);
}

My logs:
input shape (None, 100) input rank 2
feature_bool_mask shape (None,) feature_bool_mask rank 1
I roughly understand what my problem is, but I don't know how to solve it correctly. I didn't have any errors in python with the same passed values. Did I understand correctly that due to the fact that I have a Tensor of rank 2, not 1. Yes, the error signals the presence of a Tensor of rank 0, but I don't seem to have such.
l will appreciate any help!
Alternatives
No response

@Wanglongzhi2001 Could you please take a look at this issue? It seems the codes are equivalent.

@Wanglongzhi2001 Could you please take a look at this issue? It seems the codes are equivalent.

Certainly.

@Wanglongzhi2001 This python project uses tensorflow.compat.v1. I don't know how important it is, it seems like they are the same, but just in case

@Wanglongzhi2001 This python project uses tensorflow.compat.v1. I don't know how important it is, it seems like they are the same, but just in case

I'm sorry, it looks like there exist some problem with the implementation of the tf.boolean_mask in TensorFlow.NET, this test can not be passed, and it will throw the same wrong message with yours. And I will fix it.
https://github.com/SciSharp/TensorFlow.NET/blob/079b9a334be2a81c511c6148cd2788f165bc7a6d/test/TensorFlowNET.Graph.UnitTest/Basics/TensorTest.cs#L63-L72

Hello,  I have fixed this bug. But for now, please use this API in eager mode.


Fix packagename

Codecov Report

Merging #691 into master will increase coverage by 0.03%.
The diff coverage is 97.18%.

@@            Coverage Diff             @@
##           master     #691      +/-   ##
==========================================
+ Coverage   72.49%   72.53%   +0.03%
==========================================
  Files          50       50
  Lines       16023    16057      +34
==========================================
+ Hits        11616    11647      +31
- Misses       4407     4410       +3

Impacted Files
Coverage Δ

tests/test_misc.py
92.5% <100%> (+3.21%)
:arrow_up:

tests/test_analysis.py
99.47% <100%> (ø)
:arrow_up:

androguard/core/bytecode.py
43.84% <100%> (+0.37%)
:arrow_up:

androguard/core/bytecodes/dvm.py
62.63% <100%> (+0.03%)
:arrow_up:

androguard/core/bytecodes/apk.py
63.28% <100%> (+0.11%)
:arrow_up:

androguard/core/analysis/analysis.py
76.9% <94.87%> (-0.09%)
:arrow_down:

Continue to review full report at Codecov.

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

Codecov Report

Merging #691 into master will increase coverage by 0.03%.
The diff coverage is 97.18%.

@@            Coverage Diff             @@
##           master     #691      +/-   ##
==========================================
+ Coverage   72.49%   72.53%   +0.03%
==========================================
  Files          50       50
  Lines       16023    16057      +34
==========================================
+ Hits        11616    11647      +31
- Misses       4407     4410       +3

Impacted Files
Coverage Δ

tests/test_misc.py
92.5% <100%> (+3.21%)
:arrow_up:

tests/test_analysis.py
99.47% <100%> (ø)
:arrow_up:

androguard/core/bytecode.py
43.84% <100%> (+0.37%)
:arrow_up:

androguard/core/bytecodes/dvm.py
62.63% <100%> (+0.03%)
:arrow_up:

androguard/core/bytecodes/apk.py
63.28% <100%> (+0.11%)
:arrow_up:

androguard/core/analysis/analysis.py
76.9% <94.87%> (-0.09%)
:arrow_down:

Continue to review full report at Codecov.

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


Isolation matching

What changed?

Why?

How did you test it?

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 01874efa-05f8-4ae8-8fe7-1c9640cf7daa

88 of 111 (79.28%)  changed or added relevant lines in 8 files are covered.
90 unchanged lines in 10 files lost coverage.
Overall coverage increased (+0.02%) to 57.097%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

service/matching/config.go
9
13
69.23%

service/matching/taskReader.go
11
16
68.75%

service/matching/matcher.go
39
46
84.78%

service/matching/taskListManager.go
15
22
68.18%

Files with Coverage Reduction
New Missed Lines
%

service/history/execution/mutable_state_util.go
2
35.95%

common/cache/lru.go
3
90.73%

common/persistence/dataManagerInterfaces.go
3
58.66%

common/persistence/statsComputer.go
3
94.29%

common/task/fifoTaskScheduler.go
3
84.54%

service/history/queue/timer_queue_processor_base.go
3
77.26%

service/history/task/transfer_standby_task_executor.go
4
87.34%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
6
59.1%

service/history/execution/mutable_state_task_refresher.go
29
62.03%

common/persistence/nosql/nosqlplugin/cassandra/workflowParsingUtils.go
34
79.18%

Totals

Change from base Build 01874eaa-bf90-4923-acc0-80c4769a6dac:
0.02%

Covered Lines:
85694

Relevant Lines:
150085

💛  - Coveralls


Accessibility Issue using narrator

Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
Enable narrator
Observe narrator cursor when the widget updates, use an auto update widget like CPU widget to make the testing easier.
Expected result
Whenever a widget updates while the narrator is on, the narrator cursor should stay on the widget.
Actual result
Whenever a widget updates while the narrator is on, the narrator cursor behaves incorrectly. Instead of staying on the widget, the cursor moves to the DevHome menu.
Included System Information
No response
Included Extensions Information
No response

Is this tied to this adaptative card issue?


Remove lifetime elision in type parameter position

Remove lifetime elision in type parameter position.
Rendered
Original RFC
cc @aturon

:+1: I've avoided eliding these kinds of lifetimes for this reason.

I like this, but how should it interact with the plans to support lifetime elision for user-defined reference types?

I'm not aware of such plans.

https://github.com/rust-lang/rfcs/blob/master/text/0599-default-object-bound.md#detailed-design

Maybe @aturon can provide clarity.

I personally am quite fond of this form of elision. I haven't actually had to write a lifetime parameter on a method in quite some time now which I find to be quite powerful and expressive. Some example APIs that are leveraging this elision are:

SliceExt::iter
Mutex::lock
git2::Repository::remote (and almost all other APIs on Repository)

Generally this RFC would imply that all forms of "return a guard" or "return an iterator" would now require lifetime annotations.
I'm also not sure I find the "Motivation" section of this RFC that compelling.

It is not clear from a method signature if the return value is borrowing self

I would argue that it is less clear for newcomers if you are bombarded with lifetime annotations whenever you're looking at an iteration method. I've found that putting lifetimes to the side (and allowing them to get inferred) greatly improves readability as there's not a number of 'a annotations sprinkled throughout.

One has to look at the statements inside the function body or the definition of X to find out if X borrows self.

I don't think that this is quite true, one just needs to look at the definition of the return type and you can deduce from there whether the input will be borrowed or not.

this was already listed as a drawback in the original RFC

I think that this in itself does not serve as justification. I'd prefer to see this statement omitted entirely and for you to talk about the specific reasons that the original RFC chose to take the current route and why you think they should be changed.

In general, rust favors explicit over implicit syntax unless the benefits greatly outweigh the disadvantages

It would be much more compelling if you made a case here beyond reiterating a design principle. For example I personally believe that the benefits outweigh the disadvantages here but from reading this section it is not clear why you think that the disadvantages outweigh the benefits.

@mahkoh

Maybe @aturon can provide clarity.

Oops, I missed this before, sorry! I think the basic point is that the new elision rules for trait objects suffer from the same potential downsides this RFC is trying to address, because they include cases beyond just &. In both cases the design is in part intended to ensure that derived notions of a "reference-like" type can be treated in a first-class way.


"Decindea", "Urziceanca", "Vizurești" are listed in the drop-down menu

Description:
When user writes ” Decindea”, "Urziceanca" and "Vizurești" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Decindea"

Expected results
The location appears in the drop-down menu as "Sat Decindea, DÂMBOVIȚA (Ciocănești)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Urziceanca"

Expected results
The location appears in the drop-down menu as "Sat Urziceanca, DÂMBOVIȚA (Ciocănești)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Vizurești"

Expected results
The location appears in the drop-down menu as "Sat Vizurești, DÂMBOVIȚA (Ciocănești)".


[Feature-#4014][server-UI] start a processInstance from random node of processInstance

[Feature-#4014][server-UI] start a processInstance from random node of processInstance
At the page of processInstance , we can chose the random node and start the processInstance.If you want to change the param of this process instance ,just modify the param value in the page of start.

Codecov Report

Merging #5265 (43f45a7) into dev (faa1116) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #5265      +/-   ##
============================================
- Coverage     47.43%   47.39%   -0.04%
+ Complexity     3749     3746       -3
============================================
  Files           570      570
  Lines         24115    24115
  Branches       2805     2805
============================================
- Hits          11438    11429       -9
- Misses        11610    11619       +9
  Partials       1067     1067

Impacted Files
Coverage Δ
Complexity Δ

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
3.00% <0.00%> (-1.00%)

...inscheduler/service/zk/CuratorZookeeperClient.java
70.73% <0.00%> (-4.88%)
9.00% <0.00%> (-1.00%)

...eduler/server/worker/runner/TaskExecuteThread.java
56.83% <0.00%> (-4.32%)
14.00% <0.00%> (-1.00%)

Continue to review full report at Codecov.

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

Thank you for your contribution, but since this issue has not been dealt with for a long time, I will close it. If you still have problems in the future, you can re-submit a new issue.


LCFS - Move Fuel codes to main navigation and Analyst role

Description: AS an IDIR user I should not have to be in the Administrator role to manage fuels codes.

Add a 'Fuel codes' tab to main navigation bar between Compliance reporting and Administration.
This new navigation tab and entire component will be accessible to the Analyst role.
Remove Fuel code tab from the administration page navigation bar
Remove access to the Fuel codes component from the Administrator role

Wireframe:
https://preview.uxpin.com/da68049c0af15edd7ce4e47e4bee431fed40c30d#/pages/168739509?mode=m&zoom=fit-to-width
Purpose and benefit to user:
Administration is better refined as being for user management and admin functions. Fuel codes are managed by staff that should not have other admin functions.
Acceptance Criteria:

[x] Given I am a IDIR Administrator I no longer see Fuel codes as an admin option or have access to the component.
[x] Given I am a IDIR Analyst I have access to the Fuel codes component from the main navigation.

Development Checklist:

[x] A Update the main navigation bar to include a 'Fuel codes' tab between Compliance reporting and Administration.
[x] B Ensure the 'Fuel codes' tab and its components are accessible to users with the Analyst role.
[x] C Remove the Fuel codes option from the Administrator role's access.
[x] D  Implement role-based access control to ensure only Analysts can manage Fuel codes.
[x] E Test the navigation updates to confirm correct tab placement and access rights.
[x] F Validate that the Analyst role can fully interact with the Fuel codes component as expected.
[x] G Verify that the Administrator role no longer sees or can access the Fuel codes option.

Notes:

Code changes all look good but there is a bug when trying to add a new fuel code. On selecting the fuel code value, the app get a value error. Can you please investigate this issue.

perfect, nice, thanks


Create Principle.app v0.0.79

Thank you for the contribution. It needed some fixes, so they were made in dde48a934c9f4341eaa7f967b6d8591427628604. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.

How did you figure that out? I saw the redirect happening but couldn't figure out how to capture it.

Two simple way:

curl --head {{link here}}. -I is the shorthand for --head.
In Google Chrome, after you start the download do ⌘⇧J (Window → Downloads) and it shows the true link.

@victorpopkov thanks a lot.  And thanks for even giving me credit; never been a concern of mine to get credit. I love Homebrew; it's like my lifeblood toolchain.  I'm curious as to what the appcast part is?
@vitorgalvao thanks for that.

I'm curious as to what the appcast part is?

The appcast is used for updating the app, but this functionality is not implemented so it's not actually used in HBC at the moment. However, it helps to find the latest version of the app.
Thank you for all the time and patience!


Update Developers Guide

There are many issues in the developers guide, that nee to be managed.  Many of these are outlined in the discussion as part of https://github.com/edmcouncil/fibo/pull/888
That PR is about broken links, and not about all the issues that need to be fixed in the developers' guide.  I will try to sort those issues out as part of this issue, but I want to approve the broken links in the meantime.

I want to start by bringing over my synopsis comment from #888
A short synopsis of the history that led to many of these issues is that I created a number of scripts and a workflow that was to be followed by FIBO developers. But getting those scripts to run in various environments turned out to be much more complicated than just including them in the git repo (which is what I planned). As @MikeHypercube pointed out, there are some operational things that some of us take for granted that are challenging for people who use their computers differently.

See also a bunch of things in #862

Closed to the lack of activity.


Redirect .ipfs and .ipns files

Hello, I recently added to Sweet IPFS a way to "export" an ipfs/ipns hash to a .ipfs/.ipns file (it is just a plain text file with the hash written)
Example:
https://ipfs.eternum.io/ipfs/QmRrNxz28cn4xm8kXHffMNqYqRh2JUPQPvaB3W8ietwrn6
Could you please add a way to redirect .ipfs/.ipns files when accessed from the browser, so IPFS Companion automatically redirect the URL to the hash content
This would be great in order to reference an IPFS content from another IPFS content without needing to download it or suggesting a certain gateway, or even in order to reference a mutable content via .ipns files
Sharing an IPFS content via .ipfs/.ipns files would be like sharing a Torrent via .torrent files
If possible, it would be great to also allow this redirect from any website, not just IPFS gateways. Examples:
https://www.my-website.com/photos/my-cat.ipfs
https://www.my-website.com/links/my-distributed-blog.ipns

And also, if it could support path to a certain file in an IPFS folder
Example: the content of my-cat.ipfs is "Qm.../cats/cat.png" so the browser redirect to /ipfs/Qm.../cats/cat.png
Thanks for your hard work on improving the world ;)

This was stale for a long time, and  seems unlikely given that:

Is sending .ipfs via email really a thing people would benefit from?
Sounds like sending a link to https://dweb.link/ipfs/{cid} is way better UX-wise.
FYSA we are looking into adding support for _redirect files on gateways, which is more dev-friendly way of doing redirects on the web.

I'm closing this but can reopen if there is an interest in pursuing this.
Please comment if anyone using this: what are your use cases?


[BUG]: WHO Covid19 data link requires updating

Update WHO covid19 sample dataset link in the documentation. Old link now redirects to a dashboard. A suitable new link (aggregated by week) is here: https://srhdpeuwpubsa.blob.core.windows.net/whdh/COVID/WHO-COVID-19-global-data.csv

Resolved by #377


Sorting reverts to default when paginating

I'm currently working with 1.2.0, but confirmed this is not an issue on 1.1.2.
Any sorting options (column and direction) is lost and reverts back to the default sorting when a new page is chosen. I just created a new project with the github tutorial code as the basis. If I downgrade back to 1.1.2, it works as expected.
Did anything on the interface side change between these two versions that requires a different setup in order for this to work properly?

I am seeing the same behavior. Can't figure out why it's happening. I'm losing params after clicking a pagination button.

Try this: https://github.com/vincenzodev/smart_listing

Can you check if this thing still happens for you with the newest gem version?

In version 1.2.1 same problem


[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add speak property to AdaptiveCard in shared model and UWP renderer

Also fixes the Property name for Adaptive Card Background Image in the WinRT projection

@riarenas,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

References #585

Also #319

In reply to: 325810517 [](ancestors = 325810517)


Update README for Tokio 1 and reflecting new maintenance status

Fixes #23

LGTM in general, but I'm not entirely sure if we want to "remove all credit" by e.g. deleting the Patreon supporters section. Maybe put it into a expandable box?

Jon doesn't even have the Patreon anymore by the looks of it so I think your rewording is good.
We definitely want to keep the credit.

LGTM, for what it's worth :)

Jon doesn't even have the Patreon anymore by the looks of it so I think your rewording is good. We definitely want to keep the credit.

I vaguely remember there being something about his student visa not allowing him to earn money and hence the Patreon had to be switched off ..... or similar.


⚠ Bofrost.at has degraded performance

In 924dac3, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1391 ms

Resolved: Bofrost.at performance has improved in cd7428d after 42 minutes.


Adding baseline Tour machinery

In concert with #3, this will load the Tour whenever someone opens up sorter mode. Every time. While not ideal, this is good enough for right now, and we can do better after we have some content to work with.
Feel free to PR against this PR... it won't go into master until it's semi-useful.
This just has the steps right in JS... this is also fine.
Looking over the tour API, it's funny how much of what nbpresent does could be done with tour... but that's another story.

The history is looking a little crazy, going to resubmit.


"Push Notification Tester" asking To "Update Google Play Services"

Hi,
I'm using microg on ominrom.  As per the thread on XDA I was trying to test push notifications but I'm receiving "Update Google Play Services" message on "Push Notification Tester" app.  It also has red X next to "Play Services Installed" in the check list. Everything else is green ticks.  Even in microg setting everything is checked green in "Self Check".  Please help.

Update to latest preview build or wait for 0.2.5 release, probably next weekend

Many thanks.

Try update it to 0.2.4-28 here.

I guess I already use this version.

@theScrabi no you don't. If you look next to the "starten" button it says version 0.2.4 is installed and 0.2.4-28 is available (but that part is truncated). Then to the bottom of the string you see that version 0.2.4-28 is "nicht installiert" (not installed).
It happens because this release is not automatically selected as update by fdroid, if you tap the 0.2.4-28 entry that you see at the bottom of the screen it will update.

Ah I see It's a common layer 8 error. Hm may have to fix that one day :)
thanks


[Doc] error when following Bundling guide rollup example

There are some issues in the rollup example at https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/Bundling.md#rollup-with-javascript

rollup-plugin-node-resolve is deprecated, we should now use rollup-plugin-node-resolve
when running rollup --config, I hit an error

e:\working\rollup-example>npx rollup -c

src/index.js → dist/bundle.js...
[!] Error: 'CanonicalCode' is not exported by<EMAIL_ADDRESS>https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module
<EMAIL_ADDRESS>(5:9)
3: // Licensed under the MIT License.
4: import { NoOpSpan } from "../noop/noOpSpan";
5: import { CanonicalCode } from "@opentelemetry/types";
            ^
6: /**
7:  * A mock span useful for testing.
Error: 'CanonicalCode' is not exported by<EMAIL_ADDRESS>    at error (e:\working\rollup-example\node_modules\rollup\dist\shared\node-entry.js:5400:30)
    at Module.error (e:\working\rollup-example\node_modules\rollup\dist\shared\node-entry.js:9820:16)
    at handleMissingExport (e:\working\rollup-example\node_modules\rollup\dist\shared\node-entry.js:9721:28)
    at Module.traceVariable (e:\working\rollup-example\node_modules\rollup\dist\shared\node-entry.js:10159:24)
    at ModuleScope.findVariable (e:\working\rollup-example\node_modules\rollup\dist\shared\node-entry.js:8766:39)
    at FunctionScope.findVariable (e:\working\rollup-example\node_modules\rollup\dist\shared\node-entry.js:3065:38)
    at ChildScope.findVariable (e:\working\rollup-example\node_modules\rollup\dist\shared\node-entry.js:3065:38)
    at FunctionScope.findVariable (e:\working\rollup-example\node_modules\rollup\dist\shared\node-entry.js:3065:38)
    at ChildScope.findVariable (e:\working\rollup-example\node_modules\rollup\dist\shared\node-entry.js:3065:38)
    at MemberExpression.bind (e:\working\rollup-example\node_modules\rollup\dist\shared\node-entry.js:6530:49)

It looks like we should add the following line to the rollup.config.js, like other libraries do in their rollup.base.config.js.
    cjs({
      namedExports: {
        events: ["EventEmitter"],
+       "@opentelemetry/types": ["CanonicalCode", "SpanKind", "TraceFlags"]
      }
    })

However, even with the line added, I am still getting the same error.
Need to investigate further.

You're also expected to add "@opentelemetry/types" in the dependencies.
/cc - @xirzec

still getting the same error after npm -i<EMAIL_ADDRESS>

This needs more investigation into rollup's behavior, marking this as up for grabs if anyone wants to take a look at it.

Migration to Rollup 2 and the new version of @rollup/plugin-commonjs should fix this, as it removed namedExports entirely and should provide better facilities for handling transitive dependencies in the bundles. So, track https://github.com/Azure/azure-sdk-for-js/issues/9066 for status on fixing this.


Define ganularity of logging

Hi.
It is great that you "save" the file only every X-Seconds to moderately "use" the SD-Card.
Nevertheless it would be great to have an option to summarize the values to a given timeframe and only log that specific value.
I am doing this currently with an SQLite Database, but collecting a lot of data to then eg. get it down to a minute base, would be more efficient to only log what I need.
e.g. 1 Minute, Average of the temperature (mayb one digit rounded), average of humidity (rounded on one digit), Battery (Min-Value)
here is my SQL Import I use for filtering it to minute base:
select strftime('%Y-%m-%d %H:%M:00',timestamp) as timestamp,'$LOCATION' as location,'$ID' as id,round(AVG(temp),2) as temp,round(AVG(humidity),2) as humidity,MIN(battery) as battery from import group by strftime('%Y-%m-%d %H:%M:00',timestamp)

My choice to save every incoming announcement is based on two items.

Arriving announcements are not predictable. In some environments I've gone half an hour without receiving an announcement and then gotten several within a second.
It's more important to me to not lose data and to not manipulate data. Based on that I didn't want to be choosing an averaging scheme which would be important if filtering the data. By logging all the data, it can be manipulated elsewhere, and the raw data is still available in case results are not as expected. My SVG graphing routines do some level of data averaging to get to the base 5 minute average of the daily graph.


Added in-memory audio stream and audio level event

I plan to implement an app using Plugin.AudioRecorder that will use a continuous stream of audio. I won't necessarily need to store the audio in files on disk, so I've added a MemoryStream option to Plugin.AudioRecorder. I have not changed the default behaviour of storing audio to a file, so the changes should not affect any existing users of Plugin.AudioRecorder.
I would also like my app to display a visual representation of the current audio level, so I've added an event that is invoked when the audio level is updated.
I would greatly appreciate if these changes could be added to the next release of Plugin.AudioRecorder. Thank you!

@NateRickard is it possible to merge and release this PR? For security reasons, we can't store audio as a file on the device. It would be nice if we could use this (awesome) library.

Thanks for the ping on this. I'm definitely interested in getting it merged in, but I'll have to recreate my build environment to generate the NuGet - I no longer have VS 2017 and the VS plugin I was using to properly generate the package is no longer maintained/exists for 2019. I'll try to revisit this shortly, stay tuned.

Thanks for the response. I looked a bit at this PR and discovered this solution may not work for me either. I need to make long recordings, which I want to send to a server. So a memory stream may not be the right choice. I decided to implement my own solution, where you can give a stream to the StartRecording function:
var audioRecordTask = await recorder.StartRecording (myStream);
If no stream is provided, it falls back to writing a file. It will then write the data to the provided stream.
I will make a PR for this functionality by the end of the week, if that's ok.
It should also cover this scenario, by giving a memorystream to the function.

I can't remember if I had to make further changes to my pull request to get it working, but I can check when I have a chance. Let me know if there are any issues.


Spare pieces count

First of all: this is very useful for the crazy house variant and is a bit complicated to work around for the moment so I decided to take a look at it.
In the end, I updated the https://github.com/oakmac/chessboardjs/pull/128 PR (the UI is different for example).
Also: the first commit is just a cleanup for some weird \r in the code (made automatically by my text editor).
Here's a screen of what it looks like:

Thanks for the pull request. I checkout your code and tried it but I don't see the counts.
I used the code for example 2006 but tried  to initiate the board like this:
var board = Chessboard('myBoard', {
  draggable: true,
  dropOffBoard: 'trash',
  sparePieces: true, // I even removed this line
  spareCounts: { 'wK':0, 'wQ':0, 'wR':0, 'wB':0, 'wN':2, 'wP':1, 'bK':0, 'bQ':0, 'bR':0, 'bB':0, 'bN':0, 'bP':0 }
})

Any clue?

It seems to be a bug. Since I opened this PR, I heavily updated the code in my own fork (removed jquery, turned a lot of the code into async so I can await for moves to be done, simplified DOM a bit, etc). I'll try to fix it again.

Thanks. Just a feature request beyond what you have accomplished. It would be great if you entirely remove spare pieces with count==0

Ah no, my bad. Moving off the board is not supposed to increase the spare count. Just double-checked locally.
As for not displaying pieces with count==0, I can do it in follow-up PR with a specific config if you want.

Thank you for this! Exactly what I needed.


SWIGRegisterExceptionCallbacks_DatabaseInternal

Hello I have been having trouble lately with the Firebase database.
So I recently(23 hours ago) installed Firebase Auth to Unity, and it works as well as the others(Storage, Analytics, etc) except Database.
At first I kept getting the error
"[Error] WebSocket: ws_0 - WebSocketException during handshake
[Error] WebSocket: ws_0 - could not connect"
But I fixed it with the answer from this post
However I reverted the player settings back to(I changed it back since the Firebase.database.dll used .NET 3.5 (and not .NET 4x) so I thought it was the most logical option to revert it).
scripting Runtime .NET 3.5
scripting backend Mono
API Level .NET 2.0
(Note : I still got the same error below before it was reverted from
scripting Runtime 4.x
scripting backend IL2CPP
API Level 4.x)
Which now leaves me to this error
"EntryPointNotFoundException: SWIGRegisterExceptionCallbacks_DatabaseInternal"
which is caused when trying to get the reference to the firebase database.
My database rules are set to
{   "rules": {     ".read": true,     ".write": true   } }
so I do have access to read and write.
(Note : when I run "Debug.Log(FirebaseApp.DefaultInstance.Options.DatabaseUrl);" in the Test.cs
it returns my firebase url, meaning I'm not getting a null databaseUrl)
(I'm using Firebase SDK 5.3.0, Unity 2018.2.10f1, and the quickstart-unity)
here is my project files to replicate the problem : https://www.dropbox.com/s/nc4tyi37puutzz2/Project Files.rar?dl=0
(In the MainScene.scene, the UIHandler gameobject has the Test.cs attached to it(for debug purposes), simply remove it and add the UIHandler.cs on to it instead(you'll obviously still get the same error) if you want to see how the quickstart example preformed. )
Full error log of  SWIGRegisterExceptionCallbacks_DatabaseInternal
EntryPointNotFoundException: SWIGRegisterExceptionCallbacks_DatabaseInternal Firebase.Database.Internal.DatabaseInternalPINVOKE+SWIGExceptionHelper..cctor () Rethrow as TypeInitializationException: An exception was thrown by the type initializer for SWIGExceptionHelper Firebase.Database.Internal.DatabaseInternalPINVOKE..cctor () Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Firebase.Database.Internal.DatabaseInternalPINVOKE Firebase.Database.Internal.InternalFirebaseDatabase.GetInstance (Firebase.FirebaseApp app, System.String url) Firebase.Database.FirebaseDatabase.GetInstance (Firebase.FirebaseApp app, System.String url) Firebase.Database.FirebaseDatabase.GetInstance (Firebase.FirebaseApp app) Firebase.Database.FirebaseDatabase.get_DefaultInstance () Test.Start () (at Assets/Test.cs:14)

here is another thread I posted on stackoverflow, explaining the same thing.

So just figured out, if I don't do the fix on this error
"[Error] WebSocket: ws_0 - WebSocketException during handshake
[Error] WebSocket: ws_0 - could not connect"
obviously I still get the error however when I build it(android) and run it on an android device I'm able to write and read data on my firebase database. So it only seems to be something wrong with the editor.

Okay, so I built the .apk then I ran it on the Android Studio Emulator, and it works.
So it is not a router problem which PathToLife "I can confirm that this issue is tied into network problems related with routers.." on thread #106.

@Whenami It's something to do with the handshake connection from Unity to Firebase.
Since I do not have another Internet connection in my area nor do I have an Android Device, so my only work around is to build the apk's and run them on the Android Studio Emulator until the issue is fixed.

You run ASE to see what was going on these codes and to debug.Because you dont have android device then you created a virtual one on ASE and this was best solution for you. i got it ,as far as i know ,ASE doesnt fix any error ,so how did u fix it this error then?What was your solution ?did you change any code or did u realize what causes this problem?i would like to know the magic touch there.i ve been searching this issue for 3 days and still got this error and this makes me mad.

@HarrieDaPothead I assumes you run on Windows.
So first of all, the WebSocketException is caused by the old C# implementation, which seems pretty picky to the network environment.  We've changed to utilize native Android/iOS implementation but not for desktop yet.
And unfortunately the solution described in https://github.com/firebase/quickstart-unity/issues/106#issuecomment-421110341 does not work for you because we excluded the C++ Windows library, which causes the Editor to freeze.  Note that this solution is NOT intended anyway.
Therefore, your best bet right now is to try to develop under different network environment, or try to change your router/wifi setting.  I'll see what we can provide in short term.
Shawn

Firstly , thanks for your answers
the right thing to do now is changing wifi settings but i dont know what settings i have to change.In Zxhn modems(neighbors modem),it seems this issue doesnt come out.I am using Huawei and if anybody knew what i need to change in modem , i'd be grateful to hear.

@Whenami I used Log viewer on the Asset Store to Fix and to monitor my errors(inApp) and debug.log(s) on an Android build.

Thanks Harrie , i'll try

Thanks for your reply @chkuang-g.

Ok I'll assume that things are as good as they're going to get until we've finished migration of the Realtime Database to our C++ implementation on desktop.  https://github.com/firebase/quickstart-unity/issues/106 is tracking desktop Realtime Database networking issues.

Hello, what's the situation with this? I'm still getting this error :(

@kantagara: We're aware of the issue but don't have a fix for it yet. Have you looked at #106? You may be able to configure your wifi settings to work around the issue.

@alexames yes but I can't use wifi, and also I'd like to support the desktop platform as well, so I decided to write a small backend for that purpose, instead of using firebase.


Feature/sg 13 detection metrics update

3rd PR as part of Yolox integration to SG- holds minor changes in detection metrics to support Yolox training.

if I understand correctly, the entire change was the normalize_targets.
I think that normalization belongs in the callback (in fact it is the callback that scales the predictions to image size, we can just tell him not to do that maybe)

Notice we are normalising the GT targets. This is due to the fact that our Yolox loss expects them to be unnormalized, so either this  piece of code would goes here, or we add denormalising in Yolox loss.
I could also add something targets_prep_fn but I honestly think that since this code is soon to be legacy this won't matter so much and just add more code to get rid of...


Amendment fix : fixTrustLinesToSelf

https://xrpl.org/known-amendments.html#fixtrustlinestoself
Remove the mentioned trustline in existing db.

Looks like nothing needed from Clio side to support this.


Update timestamping to use full URL

Summary

As requested by https://github.com/sigstore/sigstore-go/pull/186#issuecomment-2125782482.
By supplying the full URL, in the future we can add freetsa.org to the staging Sigstore TUF root, which would then let us verify bundles that are produced by examples/signing/main.go with -tsa.
Release Note

NONE - signing is not released yet
Documentation

N/A

Ah, I misunderstood your comment:

Edit: Concretely, all that needs to change is that when you specify BaseURL when initializing the TSA client, you would just provide the entire API, e.g. https://timestamp.githubapp.com/api/v1/timestamp, which is a reasonable tradeoff to support all TSAs imo.

It does work, but because https://github.com/sigstore/timestamp-authority/blob/main/pkg/client/timestamp_client.go#L27-L33 takes the provided URL, calls url.Parse, and just uses url.Host.
So we want to use a client that actually uses the entire URL, not just the host. Here's a few options for how we could do that:

Instead of calling GetTimestampClient(), we could make our own wrapper around sigstore/timestamp-authority/pkg/generated/client that uses the entire URL
We could upstream the cosign TSA client into sigstore/timestamp-authority and then use that
... other ideas welcome!


No water, no life

Thanks @sykezz, for your contributions towards open source and climate change awareness


Breakdown of deaths / confirmed cases

Are you aware of a dataset that breaks down deaths (and confirmations) by age, gender, pre-existing health conditions, ethnicity, etc?

There's a report here: https://www.icnarc.org/About/Latest-News/2020/03/27/Report-On-775-Patients-Critically-Ill-With-Covid-19, found via https://twitter.com/alimanfoo/status/1243667524807462914

Hi Tom I found this after seeing on tele there more graph data, and icnarc is annoying I would not bother looking their, I searched with 'patients critically ill' as part of the google.  My sister is ill with covid19, just dropped off some liquid meals to her, so far she has not had to go to hospital but I think I would feel awkward mapping deaths I'll have to think about it.  Probably if you watch bbc news on iplayer you can pick up some other search terms to find other data from the graphs.
source:
https://www.england.nhs.uk/statistics/wp-content/uploads/sites/2/2020/04/COVID-19-total-announced-deaths-10-April-2020.xlsx
Do you want a pull request I manually swapped tabs for commas but maybe you have better format in mind.  In theory I can process this into map, but not checked integrity.   Its difficult to get hold of though. You need to get the big json file their webpage uses. which is found here:
https://c19downloads.azureedge.net/downloads/data/data_latest.json
Within this there is a couple of paths
tmp.countries.E92000001.maleCases
tmp.countries.E92000001.femaleCases
I can;t find a timeseries though.


Dummy file added to test ci workflow at github

@woensug-choi Safe to delete this branch?

@woensug-choi Safe to delete this branch?


Likely because it tries to place all the sorted functions even if position is correct

See https://github.com/kevslinger/bot-be-named/commit/e89bdf506d9e817ecbc24a236825606f33e88a75, skips channels that are already in correct position

Still not quick enough.
Probably needs Longest increasing subsequence Algo? Probably something else?
https://www.google.com/amp/s/www.geeksforgeeks.org/minimum-insertions-sort-array/amp/

New feature idea.
Change sorted to reorder by only categorization(back solved etc) but not by name
Then integrate it into a single channel sorted command.
If that works well enough, we can probably re-make ~chancrabsorted etc

Sortcat has been removed.


Specifying links under "Create Container Settings"?

Is there a way to specify links to other containers (docker create --link value1 --link value2 ...) when creating the container to be used by YADP (0.1.0-rc24)?  My created container needs access to another docker container's hostname.
Is there a way to use the Docker Command field to specify arbitrary arguments?  (I wasn't clear what this field is used for; I didn't understand the help text referring to Jenkins Launchers).  Unless this refers to the command run in the created container, in which case this isn't relevant.
Maybe instead of looking for links, I can achieve the same thing using a shared docker network with service discovery.
Thanks!

-link value                  Add link to another container (default [])
Is it only String value or you need to do additional actions before?

I think it is just a string (it becomes a hosts file alias on the created container), but the argument can be repeated multiple times to end up with an array of Strings.

It missing now in yad, it available in docker-java https://github.com/docker-java/docker-java/blob/master/src/main/java/com/github/dockerjava/api/command/CreateContainerCmd.java#L340. I will try add.

That's it.  Thank you!

https://github.com/KostyaSha/yet-another-docker-plugin/pull/92

Released, please try.

Thanks @KostyaSha. I updated the YAD plugin to the new 0.1.0-rc25 release and restarted Jenkins, but when I try to change the "Create Container Settings", I don't see the newly added "Links" field.  I was expecting to see it just below the "Cpuset constraint: MEMs" field, but that is still the last field in the section.  I've tried restarting and refreshing the configuration pages several times, and deleting and recreating the Docker Template and Cloud blocks.  Is there a step I'm missing?

Are you sure that you updated to -rc25? please open http://yourjenkins/about page.

That's what I was expecting to see too @KostyaSha, but this is what I see (even after uninstalling the plugin, deleting the old configuration file, and reinstalling the -rc25 version:

Weird!

Could you stop jenkins, remove plugins/yet-another-docker-plugin directory and hpis, download fresh and place here and run jenkins?

I'm sorry to report that after stopping, manually removing all YAD plugin directories, and downloading new versions repeatedly (both from Maven Central and the hpi file directly), I still don't see the Links field (I've also tried various browsers) when I try to add/configure a new YAD cloud/template. :-(
Is it possible that the various plugin repos have an older version of -rc25 before you added the Links feature?  Can you send me directly the hpi file you were testing with?

I will test more and reply.
2016-10-01 21:30 GMT+04:00 Gary Bartlett<EMAIL_ADDRESS>
I'm sorry to report that after stopping, manually removing all YAD plugin
directories, and downloading new versions repeatedly (both from Maven
Central and the hpi file directly), I still don't see the Links field
(I've also tried various browsers) when I try to add/configure a new YAD
cloud/template. :-(
Is it possible that the various plugin repos have an older version of
-rc25 before you added the Links feature? Can you send me directly the hpi
file you were testing with?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KostyaSha/yet-another-docker-plugin/issues/91#issuecomment-250925237,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOIuwNQExjqBdeUMbVv8D0brURwHzOwks5qvpingaJpZM4KLg9_
.

reproduced, shit happened with release from wrong branch.

And now? :)

That did the trick, thanks @KostyaSha!
It appears, though, that docker-java does not support the --link <name or id> form, but only the --link <name or id>:alias form (see https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/).  Passing a single container name leads to an IllegalArgumentException:
Oct 02, 2016 1:02:12 AM com.github.kostyasha.yad.DockerCloud provision
INFO: Asked to provision load: '1', for: 'docker' label
Oct 02, 2016 1:02:12 AM com.github.kostyasha.yad.DockerCloud provision
INFO: Will provision 'jenkins_slave', for label: 'docker', in cloud: 'Docker Cloud'
Oct 02, 2016 1:02:12 AM com.github.kostyasha.yad.DockerCloud addProvisionedSlave
INFO: Provisioning 'jenkins_slave' number '0' on 'Docker Cloud'; Total containers: '0'
Oct 02, 2016 1:02:12 AM com.github.kostyasha.yad.DockerCloud provisionWithWait
INFO: Trying to run container for jenkins_slave
Oct 02, 2016 1:02:12 AM com.github.kostyasha.yad.DockerCloud lambda$provision$0
SEVERE: Error in provisioning; template='DockerSlaveTemplate[id=9885ba47-5145-4b42-b431-eb51d07909c9,labelString=docker,launcher=com.github.kostyasha.yad.launcher.DockerComputerJNLPLauncher@b548dce0,remoteFs=/home/jenkins,maxCapacity=5,mode=EXCLUSIVE,retentionStrategy=com.github.kostyasha.yad.strategy.DockerOnceRetentionStrategy@27f,numExecutors=1,dockerContainerLifecycle=com.github.kostyasha.yad.DockerContainerLifecycle@4d8bf65c[image=jenkins_slave,pullImage=com.github.kostyasha.yad.commons.DockerPullImage@e3fd4439,createContainer=DockerCreateContainer[command=,hostname=,dnsHosts=[],volumes=[],volumesFrom=[],environment=[],bindPorts=,bindAllPorts=false,memoryLimit=0,cpuShares=<null>,privileged=false,tty=false,macAddress=<null>,extraHosts=[],networkMode=<null>,devices=[],cpusetCpus=,cpusetMems=,links=[jenkins_master_1]],stopContainer=com.github.kostyasha.yad.commons.DockerStopContainer@27f,removeContainer=com.github.kostyasha.yad.commons.DockerRemoveContainer@5aea],nodeProperties=[]]' for cloud='Docker Cloud'
java.lang.IllegalArgumentException: Error parsing Link 'jenkins_master_1'
	at com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.model.Link.parse(Link.java:70)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at com.github.kostyasha.yad.commons.DockerCreateContainer.fillContainerConfig(DockerCreateContainer.java:541)
	at com.github.kostyasha.yad.DockerCloud.runContainer(DockerCloud.java:151)
	at com.github.kostyasha.yad.DockerCloud.provisionWithWait(DockerCloud.java:197)
	at com.github.kostyasha.yad.DockerCloud.lambda$provision$0(DockerCloud.java:120)
	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Oct 02, 2016 1:02:22 AM hudson.slaves.NodeProvisioner$2 run
WARNING: Provisioned agent jenkins_slave failed to launch
java.lang.IllegalArgumentException: Error parsing Link 'jenkins_master_1'
	at com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.model.Link.parse(Link.java:70)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at com.github.kostyasha.yad.commons.DockerCreateContainer.fillContainerConfig(DockerCreateContainer.java:541)
	at com.github.kostyasha.yad.DockerCloud.runContainer(DockerCloud.java:151)
	at com.github.kostyasha.yad.DockerCloud.provisionWithWait(DockerCloud.java:197)
	at com.github.kostyasha.yad.DockerCloud.lambda$provision$0(DockerCloud.java:120)
	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

I can easily work around that, though.  Thank you again!

@gcbartlett i will add UI verification and you can check/open issue in docker-java, then it will appear in yad.

Thanks, I created https://github.com/docker-java/docker-java/issues/718.


Cleanup some flawed trait definitions

This fixes flawed traits definitions and changes is_wrapper from false to true in the case of BalancedBaggingClassifier. Since the model includes another model as a hyperparameter, this is more technically correct and saves us some headaches in MLJTestIntegration. jl.
I'd regard these changes as bug fixes - a patch release should suffice (0.1.4).

Alright. Sorry for missing these while I worked on this and thank you for the fixes.

⚡ ⚡ Thanks for the lightning response. :zap: :zap:


[Feature Proposal] Adding triton-lsp-server for viewing

MLIR LSP server is a tool for IDE to understand .mlir files of various dialects. By integrating with mlir-lsp related tools, we can make IDE aware of triton-related dialects, for better exploration of triton.
If the team welcomes it, I can send a patch to implement the feature. The procedure would look like other tools like triton-reduce.

Seems like a reasonable idea to me. Would like to see how much code it takes.

It's quite easy. Here is how it looks like:

When I hover over tt.get_program_id, it will show some helpful information.
The modification is that we have to rename .llir / .ttir to .mlir.

I think this would be very nice if it makes it easier to read and write tests.

Is that a limitation of the language server or of your editor? If it's the editor, presumably we can teach it that .llir / .ttir means mlir?

We can configure the editor to know that .llir / .ttir means mlir. But I suppose a better practice would be to use .mlir, as it would work better out of the box.

@jlebar how do you like the filename extension .ttir.mlir? It clearly indicates this is mlir file and can easily fit into IDEs, and we can know it is a ttir dialect of mlir.
cc @ThomasRaoux @Jokeren @ptillet for the discussion of proposal for changing the filename extension.

I don't have an opinion on the file extension, I think @ptillet needs to make a decision one way or another.

It may impact on torch inductor

FYI if you want to tell vscode to associate .ttir and .llir with the MLIR filetype, that lives under the Files: Associations option.

This language server is very cool, thank you!!  I'm also going to build the tablegen language server now that I see that's an option.  I'll take whatever help I can get when writing tablegen, lol.

@jlebar I don't think you need to build a tablegen language server. The builtin mlir-lsp-server in LLVM is good enough. Typically we don't modify the syntax of tablegen.
We need to build triton-lsp because it is dialect-specific, but tablegen is dialect-agnostic.

It may impact torch inductor

Can you elaborate on that? Or maybe @jansel can tell if inductor would be impacted when we change the filename extension?

How would inductor know about MLIR filenames?  Seems internal to Triton unless I am missing something...

How would inductor know about MLIR filenames? Seems internal to Triton unless I am missing something...

I was just wondering whether inductor reads triton IRs for analysis. If not, please ignore my comments

The benefit of changing the filename extension to .ttir.mlir:

It will work out of the box.
It makes clear that ttir is a kind of mlir

Potential drawback:

Might break someone's code

But since these should be internal details of triton, I don't think anyone would depend on the filename extension.
Therefore, I would suggest the change. Anyway, it is just my suggestions, and you are free to take it or not :)


Rename Library.fs to Validations.fs

In order to accommodate using paket source dependency

Folded into f#+