panic: runtime error: invalid memory address or nil pointer dereference

This is almost 100% my fault. I signed in with my email (josh@ my username .com) then ctrl-c'd out because I wanted to use a different email address, for my business, before changing my mind again and using my personal account. I wiped the .plandex-home directory since I was already logged in and re-installed (which recreated the directory) but I keep getting this error.
josh@MacBook-Pro frontend % plandex new
? 👋 Hey there!
It looks like this is your first time using Plandex on this computer.
What would you like to do? Sign in, accept an invite, or create an account
? Use Plandex Cloud or another host? Plandex Cloud
✔ Your email: … <REMOVED>
✉  You'll now receive a 6 character pin by email. It will be valid for 5 minutes.
✔ Please enter your pin: … ******
🧐 You don't have access to any orgs yet.

To join an existing org, ask an admin to either invite you directly or give your whole email domain access.

Otherwise, you can go ahead and create a new org.
Create a new org now? (y)es | (n)o> y
✔ Org name: … <removed>
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x18 pc=0x1009544d4]

goroutine 1 [running]:
plandex/auth.createOrg()
	/Users/ds/projects/plandex/app/cli/auth/org.go:67 +0x84
plandex/auth.promptNoOrgs()
	/Users/ds/projects/plandex/app/cli/auth/org.go:55 +0xc4
plandex/auth.resolveOrgAuth({0x0?, 0x14000028288?, 0x14?})
	/Users/ds/projects/plandex/app/cli/auth/org.go:16 +0x98
plandex/auth.signIn({0x14000028288, 0x14}, {0x1400000f110, 0x6}, {0x0, 0x0})
	/Users/ds/projects/plandex/app/cli/auth/account.go:217 +0x9c
plandex/auth.promptSignInNewAccount()
	/Users/ds/projects/plandex/app/cli/auth/account.go:178 +0x278
plandex/auth.SelectOrSignInOrCreate()
	/Users/ds/projects/plandex/app/cli/auth/account.go:53 +0x38
plandex/auth.promptInitialAuth()
	/Users/ds/projects/plandex/app/cli/auth/account.go:33 +0x124
plandex/auth.MustResolveAuth(0x1)
	/Users/ds/projects/plandex/app/cli/auth/auth.go:26 +0x330
plandex/auth.MustResolveAuthWithOrg(...)
	/Users/ds/projects/plandex/app/cli/auth/auth.go:13
plandex/cmd.new(0x1400050a900?, {0x10138c440?, 0x4?, 0x1009df147?})
	/Users/ds/projects/plandex/app/cli/cmd/new.go:35 +0x2c
github.com/spf13/cobra.(*Command).execute(0x101331dc0, {0x10138c440, 0x0, 0x0})
	/Users/ds/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987 +0x814
github.com/spf13/cobra.(*Command).ExecuteC(0x101332f00)
	/Users/ds/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
	/Users/ds/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039
plandex/cmd.Execute()
	/Users/ds/projects/plandex/app/cli/cmd/root.go:23 +0x24
main.main()
	/Users/ds/projects/plandex/app/cli/main.go:55 +0x90

Related, trying to switch to the plan an anonymous account is now giving me this:
josh@MacBook-Pro frontend % plandex new
? 👋 Hey there!
It looks like this is your first time using Plandex on this computer.
What would you like to do? Start an anonymous trial on Plandex Cloud (no email required)
🚨 Error creating plan
  → Project does not exist in org
josh@MacBook-Pro frontend % plandex new
🚨 Error creating plan
  → Project does not exist in org

I assume there is some other config I need to delete to do a full "reset". It was working at one point (anon account) but I deleted the home folder so I could login (I hit enter by accident when setting it up again, yeah, I'm batting 1000 today...) and now I can't get back to that working-anon state either.
Sorry, this is 100% user-error.

Sorry about that! It should definitely recover smoothly after a ctrl+c rather than failing like that.
You can reset fully with rm -rf $HOME/.plandex-home and rm -rf .plandex from the current directory, then run plandex new again.

If you're still having any issues, let me know and I can remove your account from the cloud as well in order to give you a totally fresh start.

I tried removing both the home directory and product directory files but I still get this error when entering my org name. I think my org name is burned somehow (joshstrange). I used a different name and now it's working. Thank you!
josh@MacBook-Pro frontend % plandex new
? 👋 Hey there!
It looks like this is your first time using Plandex on this computer.
What would you like to do? Sign in, accept an invite, or create an account
? Use Plandex Cloud or another host? Plandex Cloud
✔ Your email: … <REMOVED>
✉  You'll now receive a 6 character pin by email. It will be valid for 5 minutes.
✔ Please enter your pin: … ******
🧐 You don't have access to any orgs yet.

To join an existing org, ask an admin to either invite you directly or give your whole email domain access.

Otherwise, you can go ahead and create a new org.
Create a new org now? (y)es | (n)o> y
✔ Org name: … <REMOVED>
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x18 pc=0x1009b04d4]

goroutine 1 [running]:
plandex/auth.createOrg()
	/Users/ds/projects/plandex/app/cli/auth/org.go:67 +0x84
plandex/auth.promptNoOrgs()
	/Users/ds/projects/plandex/app/cli/auth/org.go:55 +0xc4
plandex/auth.resolveOrgAuth({0x0?, 0x140000a2378?, 0x14?})
	/Users/ds/projects/plandex/app/cli/auth/org.go:16 +0x98
plandex/auth.signIn({0x140000a2378, 0x14}, {0x14000399770, 0x6}, {0x0, 0x0})
	/Users/ds/projects/plandex/app/cli/auth/account.go:217 +0x9c
plandex/auth.promptSignInNewAccount()
	/Users/ds/projects/plandex/app/cli/auth/account.go:178 +0x278
plandex/auth.SelectOrSignInOrCreate()
	/Users/ds/projects/plandex/app/cli/auth/account.go:53 +0x38
plandex/auth.promptInitialAuth()
	/Users/ds/projects/plandex/app/cli/auth/account.go:33 +0x124
plandex/auth.MustResolveAuth(0x1)
	/Users/ds/projects/plandex/app/cli/auth/auth.go:26 +0x330
plandex/auth.MustResolveAuthWithOrg(...)
	/Users/ds/projects/plandex/app/cli/auth/auth.go:13
plandex/cmd.new(0x14000112800?, {0x1013e8440?, 0x4?, 0x100a3b147?})
	/Users/ds/projects/plandex/app/cli/cmd/new.go:35 +0x2c
github.com/spf13/cobra.(*Command).execute(0x10138ddc0, {0x1013e8440, 0x0, 0x0})
	/Users/ds/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987 +0x814
github.com/spf13/cobra.(*Command).ExecuteC(0x10138ef00)
	/Users/ds/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
	/Users/ds/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039
plandex/cmd.Execute()
	/Users/ds/projects/plandex/app/cli/cmd/root.go:23 +0x24
main.main()
	/Users/ds/projects/plandex/app/cli/main.go:55 +0x90

Ok strange about the org name, will investigate that. Glad to hear it's working for you now.


Add a rule to the component checklist to run containers as non-root

How to categorize this PR?

/area documentation
/kind enhancement
What this PR does / why we need it:
Newly introduced components should run as non-root, if possible.
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
N/A
Release note:

NONE

Thanks 😄
/lgtm
/approve


Fixed cert requirement in case of edge pool

https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/947 @yogkumgit

@MicrosoftHeidi should be the person to approve this

Merging per Heidi's approval.


Use java.util.Base64

Use java.util.Base64 for encoding and decoding, instead of the apache lib. Depends on #457.

Help needed?

@XakepSDK yes that would be great! One thing I'm not so sure about is if this truly can be done in a way that doesn't involve a breaking change in behavior. We should be able to find out with our existing tests, but we need to be careful that we don't introduce a breaking change in v3.

Do you know when this might be released?

3.15.0 uses java.util.Base64 instead of commons-codec.


Add basic webpack and browserify example

We need to have a common place to demonstrate basic usage of deck.gl using browserify and webpack, and be able to point directly at the code.

From #231 Thanks for working on this. That config did not work - I keep getting regeneratorRuntime is not defined errors at the call var _webglRenderer = require('./webgl-renderer');. I'll post more in ticket #247

@jefffriesen
FWIW, these are missing babel polyfills. Sounds like you need to add babel-polyfill or babel-runtime to your app.
Also there is a babel plugin that includes necessary polyfills in the transpiled code. If deck.gl added that it could make consuming deck.gl a little easier (apps wouldn't have to deal with it), but last time I tried it had issues with wildcard exports.
I opened a separate issue on this #249

If we're using https://gist.github.com/tehwalris/606dcc8d8974e4e48740ed204e166bac as a starting point for the webpack example, I think there are some problems with it.
This is from the worker-loaded docs:
var MyWorker = require("worker-loader!./file.js");
var worker = new MyWorker();

Here is the webpack config:
{
    test: /\.js$/,
    include: path.resolve(__dirname, 'node_modules/webworkify/index.js'),
    loader: 'worker-loader'
},

I think that webpack is setting up a web worker for every js file in the app?
Regardless, I'm running into other problems with this config. I keep getting this error:
Uncaught ReferenceError: regeneratorRuntime is not defined at
var _webglRenderer = require('./webgl-renderer');
Here is a working webpack config that works with react-map-gl (this is an electron app).
https://gist.github.com/jefffriesen/76e370bd5031c982f8aae7606fa21788
Here is one attempt at getting deck.gl working base on that other gist. They all give regeneratorRuntime errors.
https://gist.github.com/jefffriesen/187418ac5b5fd34e34728e22ac98db64

Like @ibgreen said, you just need to import babel-polyfill to get rid of
the regenerator error
On Dec 1, 2016 9:31 AM, "Jeff Friesen"<EMAIL_ADDRESS>wrote:

If we're using https://gist.github.com/tehwalris/
606dcc8d8974e4e48740ed204e166bac as a starting point for the webpack
example, I think there are some problems with it.
This is from the worker-loaded docs
https://github.com/webpack/worker-loader/blob/master/README.md#usage:
var MyWorker = require("worker-loader!./file.js");var worker = new MyWorker();
Here is the webpack config:
{
test: /.js$/,
include: path.resolve(__dirname, 'node_modules/webworkify/index.js'),
loader: 'worker-loader'
},
I think that webpack is setting up a web worker for every js file in
the app?
Regardless, I'm running into other problems with this config. I keep
getting this error:
Uncaught ReferenceError: regeneratorRuntime is not defined at
var _webglRenderer = require('./webgl-renderer');
Here is a working webpack config that works with react-map-gl (this is an
electron app).
https://gist.github.com/jefffriesen/76e370bd5031c982f8aae7606fa21788
Here is one attempt at getting deck.gl working base on that other gist.
They all give regeneratorRuntime errors.
https://gist.github.com/jefffriesen/187418ac5b5fd34e34728e22ac98db64
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/uber/deck.gl/issues/247#issuecomment-264238137, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFwPwVtP4xH2u7uBsT3xEAVaGkEFEg4mks5rDwRzgaJpZM4LBFdh
.

I was already using babel-polyfill for my own modules, so I wasn't aware that deck.gl requires it too. Hopefully that change will be all that's needed.

As long as the babel-polyfill import comes before the import of deck.gl, you shouldn't have an issue though.

@ibgreen @Apercu yup - babel-polyfill was it. I should have caught that. I've run into it before and I thought I had set that up with this repo. #249 would be a great addition though.
Now I have this error:
Uncaught Error: Cannot create headless WebGL context, headlessGL not available

I can't tell if this is deck.gl misconfigured or webpack. I'm just trying to get the most basic layer rendered:
import React, {Component, PropTypes} from 'react'
import MapGL from 'react-map-gl'
import DeckGL from 'deck.gl/react'
import {ScatterplotLayer, Viewport} from 'deck.gl'
const viewport = new Viewport()
const data = []

render() {
  const {viewport} = this.state
  const common = {
    width: 1000,
    height: 1000,
    mapboxApiAccessToken: MAPBOX_TOKEN,
    onChangeViewport: this.onChangeViewport
  }
  const mapProps = {...common, ...viewport}
  return (
    <div style={mapViewportStyles}>
      <MapGL {...mapProps}>
        <DeckGL
          debug
          height={1000}
          width={1600}
          viewport={viewport}
          layers={[new ScatterplotLayer({data})]} />
        {/* ScatterplotOverlay from react-map-gl works */}
        {/* <ScatterplotOverlay
          {...mapProps}
          locations={locations}
          dotRadius={2}
          globalOpacity={1}
          compositeOperation="screen"/> */}
      </MapGL>
    </div>
  )
}

@jefffriesen You should not be using new Viewport() directly. Let me quickly create a full working webpack demo.

Please try to limit the noise of this issue with unrelated problems.
@tehwalris I'm currently in the process of doing so, dunno if it's necessary for you to do so in the same time.


Messages size limits?

Please add to this article max message size limits for a) bot messages and b) user messages (if different), so we know the limits and can handle them instead of receiving (213) PayloadTooLarge unexpectedly.

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

ID: 905e2c09-ef3e-07cc-0809-6ff171157c47
Version Independent ID: c0d33162-183d-fff8-32e9-a999f391ea51
Content: Limits and specifications for Microsoft Teams
Content Source: Teams/limits-specifications-teams.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@dgancho Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hi @dgancho, thank you for your feedback.
Maybe I don't understand you, but there is a chat size limit: "Approximately 28 KB per post":
https://docs.microsoft.com/microsoftteams/limits-specifications-teams#chat

@dgancho Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Use Open Sans as typeface

Since we now use Open Sans as typeface for ownCloud, the website and any assets should be done with Open Sans as well.
You can use the code and font files for that from the core: https://github.com/owncloud/core/blob/master/core/css/fonts.css (font files in the font folder. You might need the regular italic cut in addition.)
cc @tomneedham @MariekevC @kelleybrooks @jospoortvliet

@jospoortvliet can you add it? As said above, you simply need to do this:

You can use the code and font files for that from the core: https://github.com/owncloud/core/blob/master/core/css/fonts.css (font files in the font folder. You might need the regular italic cut in addition.)

And then somewhere in the CSS say body { font-family: "Open Sans"; }

will put this on my todo then ;-)

Done :trophy:

AWESOME!


Use v<IP_ADDRESS>

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

This ought to have the main build changes in the jump from <IP_ADDRESS> to 4.17.4.x as seen in #5 and #6.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Looks like Linux failed, may need to re-render (wanted to see what happened first)

@conda-forge-admin, please rerender

Need make explicitly for Linux, but macOS changed:
x86_64-apple-darwin13.4.0-clang   -o jjove commands.o keys.o argcount.o ask.o buf.o jctype.o delete.o disp.o insert.o io.o jove.o marks.o misc.o re.o screen.o termcap.o unix.o util.o vars.o list.o keymaps.o mouse.o jtc.o abbrev.o rec.o para.o fmt.o c.o wind.o fp.o move.o extend.o macros.o iproc.o reapp.o proc.o scandir.o term.o case.o   `./buildflags.sh --libs`
Undefined symbols for architecture x86_64:
  "_BC", referenced from:
      _ForTab in screen.o
      _getTERM in termcap.o
      _meas in termcap.o
  "_PC", referenced from:
      _getTERM in termcap.o
  "_UP", referenced from:
      _UpMotion in screen.o
      _meas in termcap.o
      _CapLenTab in termcap.o
     (maybe you meant: _UPlen)
  "_ospeed", referenced from:
      _ttysetattr in unix.o
      _settout in unix.o
  "_tgetent", referenced from:
      _getTERM in termcap.o
  "_tgetflag", referenced from:
      _getTERM in termcap.o
  "_tgetnum", referenced from:
      _getTERM in termcap.o
  "_tgetstr", referenced from:
      _getTERM in termcap.o
  "_tgoto", referenced from:
      _Placur in screen.o
      _i_lines in screen.o
      _d_lines in screen.o
      _putmulti in termcap.o
  "_tputs", referenced from:
      _putmulti in termcap.o
      _putpad in termcap.o
ld: symbol(s) not found for architecture x86_64
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [jjove] Error 1

macOS worked, but as expected from #6, seems to fail while building docs on Linux.


eth_getTransactionReceipt returning null for certain transaction hashes

Description
One of our customers has reported issues on testnet with transaction hashes that were returned from the export blocks and transaction methods failing when querying them using eth_getTransactionReceipt RPC method.
Some follow-up discussion with the Swirlds team included mention of a potential known issue of synthetic transactions being listed in a block's transactions which may be a cause.
Steps to reproduce
On testnet the eth_getTransactionReceipt returns null for certain transaction hashes.
Example transaction hashes:
0xb39e77ab273c7f15421e08357a94d3763493e04ff6dc15343412256066b6a26a
0x86cc47921f479b7bbd0faa58a7a9123becdad319e7fc8ab2e5a848ee823229e4
0x5a53839382af994dd19ab16290214d9444fe493bdf5bea0bdcc26fb9c37c9518

We have confirmed this on our node and also the hashio public endpoint.
We also couldn't find these transaction hashes using an explorer, e.g. https://hashscan.io/testnet/search-result/0xb39e77ab273c7f15421e08357a94d3763493e04ff6dc15343412256066b6a26a?errorCount=0
Example request:
curl --request POST \
  --url https://testnet.hashio.io/api \
  --header 'Content-Type: application/json' \
  --data '{
	"id": 1,
	"jsonrpc": "2.0",
	"method": "eth_getTransactionReceipt",
	"params": [
		"0xb39e77ab273c7f15421e08357a94d3763493e04ff6dc15343412256066b6a26a"
	]
}'

Example response:
{
	"jsonrpc": "2.0",
	"result": null,
	"id": 1
}

Expected result:
Return the transaction receipt data for the given transaction hash.
Additional context
No response
Hedera network
testnet
Version
v0.48.0
Operating system
None

Thanks for the issue @aaron-cottrell-vc
By any chance due you have any of the blocks identifiers that the customers believe to contain the said transaction?
A block to transaction hash pair would assist investigation of those specific instances.

@aaron-cottrell-vc Yes, these are synthetic transactions.

@aaron-cottrell-vc We're exploring options.  We'll get back to you.

@aaron-cottrell-vc latest issue to track is https://github.com/hashgraph/hedera-mirror-node/issues/8759
We have a direction but it requires a HIP and time to implement. The team is working on it. Thanks

Resolved in release v0.53.0
 curl --request POST \
  --url https://testnet.hashio.io/api \
  --header 'Content-Type: application/json' \
  --data '{
        "id": 1,
        "jsonrpc": "2.0",
        "method": "eth_getTransactionReceipt",
        "params": [
                "0xb39e77ab273c7f15421e08357a94d3763493e04ff6dc15343412256066b6a26a"
        ]
}'
{"result":{"blockHash":"0x590b9697a9b81711149e6fe768d6667ad4bf8111a9ab4f4738b458f32bc307a9","blockNumber":"0x479b2f","contractAddress":"0x00000000000000000000000000000000003cbc98","cumulativeGasUsed":"0x0","effectiveGasPrice":"0xbeebcf0800","from":"0x0000000000000000000000000000000000000000","gasUsed":"0x0","logs":[{"address":"0x00000000000000000000000000000000003cbc98","blockHash":"0x590b9697a9b81711149e6fe768d6667ad4bf8111a9ab4f4738b458f32bc307a9","blockNumber":"0x479b2f","data":"0x000000000000000000000000000000000000000000000000000000000002ba86","logIndex":"0x0","removed":false,"topics":["0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925","0x000000000000000000000000000000000000000000000000000000000028a4a2","0x00000000000000000000000000000000000000000000000000000000003cbca5"],"transactionHash":"0xb39e77ab273c7f15421e08357a94d3763493e04ff6dc15343412256066b6a26a","transactionIndex":"0x1"}],"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","root":"0x0000000000000000000000000000000000000000000000000000000000000000","status":"0x1","to":"0x00000000000000000000000000000000003cbc98","transactionHash":"0xb39e77ab273c7f15421e08357a94d3763493e04ff6dc15343412256066b6a26a","transactionIndex":"0x1","type":null},"jsonrpc":"2.0","id":1}%


Extensive testing and unit tests for state and property resets on account switch

Hello @borisyankov, you claimed this issue to work on it, but this issue and any referenced pull requests haven't been updated for a week. Are you still working on this issue?
If so, please update this issue by leaving a comment on this issue to let me know that you're still working on it. Otherwise, I'll automatically remove you from this issue in 3 days.
If you've decided to work on something else, simply comment @zulipbot abandon so that someone else can claim it and continue from where you left off.
Thank you for your valuable contributions to Zulip!


[BUG]:(0 , import_pg_core.enum) is not a function

Report hasn't been filed before.

[X] I have verified that the bug I'm about to report hasn't been filed before.

What version of drizzle-orm are you using?
0.38.2
What version of drizzle-kit are you using?
0.30.1
Other packages
No response
Describe the Bug
1-Does not generate tables
2-just create a user schema and add an enum role that can be user or admin and run npx drizzle-kit generate
import { pgTable, serial, varchar, text, timestamp, pgEnum } from "drizzle-orm/pg-core";
const roleEnum = pgEnum("roles", ["client", "profissional"])
export const users = pgTable(
"users", // Nome da tabela
{
id: serial("id").primaryKey(),
name: varchar("name", { length: 100 }).notNull(),
email: varchar("email", { length: 100 }).notNull().unique(),
passwordHash: varchar("password_hash", { length: 255 }).notNull(),
phone: varchar("phone", { length: 15 }),
address: text("address"),
userType: roleEnum("roles").notNull(),
createdAt: timestamp("created_at", { withTimezone: true }).defaultNow(),
updatedAt: timestamp("updated_at", { withTimezone: true })
.defaultNow()
.$onUpdateFn(() => new Date()),
}
);
3- user table created
4- Postgres
5-It only happens when I work with node and express, in nextjs it works fine, (pg and neon )
6- I'm not using monorepo
7- I'm using javascript
8- using node

TLDR
If I understood the issue correctly you need to export the enum as well, e.g:
export const roleEnum = pgEnum("roles", ["client", "profissional"])

Longer explanation:
I'm not sure I'm understanding you correctly.
When I copy the code you've provided the table is generated but without the enum resulting in error when running the actual migration on the database. (On postgres it is code: 42704 which means UNDEFINED OBJECT which refers to the line "roles" "roles" NOT NULL in the generated sql),
I've assumed this is the issue you have, and in order to make the enum "work", you have to export it from your schema as well:
export const roleEnum = pgEnum("roles", ["client", "profissional"])

After adding the export the generated SQL looks like:
CREATE TYPE "public"."roles" AS ENUM('client', 'profissional');--> statement-breakpoint
CREATE TABLE "users" (
	"id" serial PRIMARY KEY NOT NULL,
	"name" varchar(100) NOT NULL,
	"email" varchar(100) NOT NULL,
	"password_hash" varchar(255) NOT NULL,
	"phone" varchar(15),
	"address" text,
	"roles" "roles" NOT NULL,
	"created_at" timestamp with time zone DEFAULT now(),
	"updated_at" timestamp with time zone DEFAULT now(),
	CONSTRAINT "bla_email_unique" UNIQUE("email")
);


DeepSpeed

Does not yet support checkpointing
configs/olmo-small-ablation-lumi-deepspeed.yaml is the same as configs/olmo-small-ablation-lumi.yaml except for deepspeed: true & init_device: cpu
scripts/lumi/olmo-small-ablation-on-lumi-test.sh is the same as scripts/lumi/olmo-small-ablation-on-lumi-test-deepspeed.sh except for export CONFIG_PATH=configs/olmo-small-ablation-lumi-deepspeed.yaml

For future reference, this PR works but we are not merging it as there's no speed-ups and it's not clean yet. Attached is a comparison of the throughput with this integraton vs FSDP :)


Feature: Commands API

Closes #6

:+1: I like this approach to handling the distinction between top-level and device-level command endpoints, which is the main aspect I was worried about how we would handle.  I'll mimic this style in the m2x-elixir library when I get the chance to finish that update.


Compressed cubemap textures end up black on Android

Bringing this issue from the old repository because it is still there. If I import a Cubemap texture (.dds in A8R8G8B8 format created with DirectX Texture Tool) then check the "Compress" option in Xenko Editor, the resulting texture will be completely black in game (I load the texture asset using Content.Load(...) and don't rely on the skybox asset). The texture format in game is correctly ETC2_RGBA_SRgb but the contents is all black with any texture quality setting (Fast, High, Best, etc.). If I don't check "Compress", it shows up correctly. If I manually compress the texture in PVRTexTool and import as a RawAsset it also works correctly (althrough the gamma is off).

Found the source of the problem. I have tweaked the code too much in my branch to submit a PR but essentially the issue was with mipmapped cubemaps and the TransposeFaceData call not doing the correct thing because the PixelFormatExtensions doesn’t initialize the sizeOfInBits array for the Android specific texture compressions. Solution is to initialize the array to proper values for the ETC and other compressions.


Support sparse for dd.get_dummies

Currently, we raise when users pass `dd.get_dummies
In [80]: s = pd.Series(['a', 'a', 'b'], dtype=pd.api.types.CategoricalDtype(['a', 'b', 'c']))

In [81]: dd.get_dummies(dd.from_pandas(s, 2), sparse=True)

We should be able to support this. Currently working around a pandas bug (https://github.com/pandas-dev/pandas/issues/21993)

This was fixed by #3792


Unbreak finding gstreamer plugins in $NIX_PROFILES

Motivation for this change
Making gst-launch and friends find plugins is a generally useful thing. It used to work but got broken with the multiple-outputs change. This PR fixes it.
Also lower the priority on plugins found in $NIX_PROFILES by using --suffix instead of --prefix. This is the saner priority setting IMHO.
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Maybe a separate .bin output would be useful, as .dev won't be installed into standard environments by default.

@dezgeg added the outputBin = "dev" change. Perhaps there was a good reason for using dev instead of bin? @dezgeg, do you expect any breakage if we remove outputBin = "dev" and change --exec-prefix from $dev to $bin?

He just refactored; it was @ttuegel who split gstreamer and started moving binaries to $dev 6a64edfa.

Note that the derivation has no $bin ATM.

I put the binaries in $dev because their intended audience seems to be developers working on GStreamer-based applications. If they are useful to end-users, then we should move them into $bin.
As for finding plugins in $NIX_PROFILES: do we want the binaries to find plugins there when the library will not? That might make debugging other applications more difficult for users.

@ttuegel: Good point. But I don't know when I'll have time to move the lookup from the binaries to the libraries. (It's not high priority for me.)
How about merging this now and improve things more later?

I think we should merge as is, so we can backport to stable without risk.

OK, picked to 16.09 as well. Still, multiple outputs generally behave differently than intended due to the default nix version not containing some relatively old patches https://github.com/NixOS/nixpkgs/issues/19761#issuecomment-255533511. When/if that gets fixed, people will no longer get the $dev outputs in environments by default...


Update instructions on running notebooks

Signed-off-by: Shrey<EMAIL_ADDRESS>

@Shreyanand: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

aicoe-ci/prow/pre-commit
bc2ce688612738a0b7d281ba6b6148db02959521
link
true
/test pre-commit

Full PR test history. Your PR dashboard. Please help us and open an issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


RFE: unluckier support

I would like to recommend adding support for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>support.  This will allow unlocking of non / partitions upon boot.

@sergio-correia Was this fixed as part of https://github.com/linux-system-roles/nbde_client/pull/79 and https://github.com/linux-system-roles/nbde_client/pull/81 ?

Yes, I was just looking into this. This can be closed.


VPN Zip File information incorrect

Whenever I attempt the steps on our existing P2S VPN gateway, i only get the following 3 folders: generic, WindowsAmd64, and WindowsX86.  Is there some setting that is required within the P2S VPN Gateway?  Otherwise this doesn't work and I cannot get the new Azure VPN Client to work properly.

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

ID: e0713cee-b339-39f2-96af-8068a04a208b
Version Independent ID: 5acb2c00-a87c-e87d-6e6e-2c3d4372e425
Content: About point-to-site VPN client profiles: Azure VPN Gateway
Content Source: articles/vpn-gateway/about-vpn-profile-download.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

You need to enable OpenVPN and Azure AD authentication on the gateway. Please see https://azure.microsoft.com/updates/aad-support-in-vpn/preview for details

You need to enable OpenVPN and Azure AD authentication on the gateway. Please see https://azure.microsoft.com/updates/aad-support-in-vpn/preview for details

@szolla can you link the steps that you are following and what you expect to be in the folder?

I have now followed the step in https://azure.microsoft.com/updates/aad-support-in-vpn/preview, but i am still running into problems on Step 8 listed on this page: https://docs.microsoft.com/en-us/azure/vpn-gateway/openvpn-azure-ad-tenant.  I get an error: Set-AzVirtualNetworkGateway : Vpn client configuration for gateway gatewayResourcid can have only one of the RadiusServer or vpnclient certificate or AAD Authentication settings.

Please make sure that there are no other configuration options set, also no certificates etc. are there.

@anzaman Thanks for your help. I was able to resolve this issue by the guidance i was given as part of #42636 and with opening up a support case with Azure support.  I have this working now thanks.

@szolla We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Is the Wishart mechanism (and the LinearRegression model built on top of it) really private?

The documentation of the Wishart mechanism references the paper "Symmetric matrix perturbation for differentially-private principal component analysis" by Imtiaz and Sarwate.
Yet, two subsequent papers (at least) note that the analysis of this mechanism is incorrect and that it does not in fact guarantee differential privacy:

Footnote 4 of http://proceedings.mlr.press/v98/sheffet19a/sheffet19a.pdf, which references a different work by Jiang et al.  that proposed the same mechanism
Section 1.2. of http://papers.nips.cc/paper/9567-differentially-private-covariance-estimation.pdf, which claims that the mechanism of Jiang et al. / Imtiaz and Sarwate is not private.

For some linear regression applications, I've tried replacing the Wishart noise with Laplace noise (as proposed in https://arxiv.org/pdf/1705.10829.pdf), and got consistently worse results, thus further suggesting that the noise added by the Wishart mechanism may be too optimistic.

Dear Florian,
Thank you for bringing this to our attention, we were not aware of it until now. We will review the literature as a matter of urgency. Feel free to contribute your own alternative solution with a Pull Request if you have one to hand.
Best wishes,
Naoise.

Hi Florian,
I have opened PR #25 that resolves this issue. Your feedback on that PR would be much appreciated.

Hi,
Thanks for following up on this!
I'm not familiar with the work of Amin et al. so I can't give an expert
opinion on this change.
One thing I could suggest is to check whether the logistic regression and
linear regression mechanisms give "comparable" results for some toy
classification tasks. From the theory at least, I think that either should
perform roughly the same so if there's huge discrepancies between the two
there might be a problem.
On Tue, Sep 8, 2020 at 10:44 AM Naoise Holohan<EMAIL_ADDRESS>wrote:

Hi Florian,
I have opened PR #25
https://github.com/IBM/differential-privacy-library/pull/25 that
resolves this issue. Your feedback on that PR would be much appreciated.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/IBM/differential-privacy-library/issues/23#issuecomment-688718891,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADDGNZVVKBSFCN6YIKPLVGLSEXVIVANCNFSM4PWFDO2Q
.


Add backups metrics for monitoring

Add new file backups_collector.go in monitoring for backups state and size.

@PhanLe1010 could you please review this PR? Especially check if the metrics naming follows the Longhorn metrics naming convention, thank you.


Feature/sq lite database

TODO:

[x] check database.read method for nans and missing values, how does this affect asha
[x] update README

closes #11


Image skipping when switching

When I'm fast switching between images with pressed right/left arrow, I notice that Pictus is skipping some images, probably because CPU is not processing images fast enough. My suggestion to fix it is somehow force Pictus to show every image. (wait for CPU to show the image and then switch to next image)

If you are using ALT+arrow keys (which by default is bound to "Next/Previous few images"), then that is intended behavior. It instantly jumps five images in either direction, not attempting to load anything in between.

No, I'm using just arrow keys without ALT. In a large folder of images I hold down right/left arrow key to fast switching between all images. But Pictus is skipping some images, so I have to go slowly with arrow keys to view every image from the folder. I'm only experiencing this problem on a PCs with slow CPUs.


Domain doesn't work

The website is temporarily closed because the project has not yet reached a usable version. Soon it will be open with documentation + discourse platform for discussions (https://discourse.kubectyl.org)
When it will be available I will announce it on discord, so stay tuned.


 Please be patient.
Ideally pull requests will respect the underlying intrastructure of pylj and agree with PEP8, etc. However, please do not let this put novice programmers off contributing.

Trying to squash issue #34

Pull Request Test Coverage Report for Build 170

2 of 3 (66.67%)  changed or added relevant lines in 1 file are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.1%) to 80.337%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pylj/util.py
2
3
66.67%

Files with Coverage Reduction
New Missed Lines
%

pylj/sample.py
2
100.0%

pylj/md.py
3
78.5%

Totals

Change from base Build 168:
-0.1%

Covered Lines:
251

Relevant Lines:
312

💛  - Coveralls


Getting started with Database recovery

Topic Suggestion
Database recovery
Proposed title of article
Getting started with Database recovery
Proposed article introduction
[Database]Damage to a database may occur due to one or some of the following causes;  human initiated errors, invalid or incorrect  inputs,  viruses in the computer, natural catastrophes or program errors. Besides one or some of the above  mentioned risks occurring, the organization still depends on the database. It is up to the database management system to have a way of restoring  the database  quickly  and accurately after  damage
Key takeaways
1.What is Database recovery
2.Types of Database failures
3.Recovering facilities
Article quality
Since most articles focus on database creation and usage and forget on the key point that databases also fail at some point,
This article will help readers understand everything to do with database failures and how to recover the database
References
N/A

Will you cover a specific type of database (SQL vs NoSQL) or several?

Several databases in general

Just wanted to follow up on this topic, as we will be clearing up the queue where possible.
Just and FYI I will be closing this topic form just to help clear up the queue where possible - can be REOPENED at anytime when ready. 👍


chore(main): release 0.34.1

:robot: I have created a release beep boop
0.34.1 (2023-06-22)
Bug Fixes

main file (c2f5d00)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/samuele-cozzi/obsidian-marp-slides/releases/tag/0.34.1 :sunflower:


Denormalize entityCount

This PR stores the entityCount as an attribute of the SubgraphDeployment, and keeps it updated as entities are added and removed from the subgraph.
I have not tested this at all, and need to add some unit tests around this functionality, but since it is time-sensitive, I wanted to get what I have so far out there.

I just realized one problem with the PR: the count should not be set from count_entities since that's not on the write path, and the cached count will be incorrect.

I revamped the PR a bit. Changes include:

a migration to initialize the entityCount property of all existing SubgraphDeployment
initialize entityCount for new deployments with 0
remove special treatment of entityCount from GraphQL resolver
it is possible to force a recount, which has to happen from the subgraph writer to ensure accuracy, by setting entityCount to NULL or to the string "00" (since BigInt is stored as a string)
added some checks to the unit tests

I also tried this out with a production dump, where I let it run for a bit and verified that the entity count after some changes was still accurate.

There's a small typo in the 54f4efcbe9e0f74c0370677a2aa5f4e57112e85c commit message that's worth updating before we merge (revresion -> reversion).

Updated PR and addressed all the comments so far.

Rebased to latest master


Distinct use cases of RCLs and Application Parts not explained

The Razor Class Library section states "Razor views, pages, controllers, page models, Razor components, View components, and data models can be built into a Razor class library (RCL). The RCL can be packaged and reused."
The Application Parts section just below states "Using Application Parts, you can share an assembly (DLL) containing controllers, views, Razor Pages, razor compilation sources, Tag Helpers, and more with multiple apps."
It's absolutely oblivious to me which method of modularization should be used in what scenario, and digging deeper, especially into the application parts article,  just adds more confusion.

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

ID: 9fd019c7-ceb7-6ef3-26ba-6b44341b6fc5
Version Independent ID: fd116d00-0dc7-efaf-c714-34d77b345a05
Content: Reusable Razor UI in class libraries with ASP.NET Core
Content Source: aspnetcore/razor-pages/ui-class.md
Product: aspnet-core
Technology: aspnetcore-razorpages
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Moved to Container issue: Create reusable UI using the RCL project #16639


[Site Request] Support translated/localized YouTube titles and descriptions

Checklist

[x] I'm reporting a site feature request
[x] I've verified that I'm running yt-dlp version 2021.06.08
[x] I've searched the bugtracker for similar site feature requests including closed ones

Description
An official feature of YouTube is allowing uploaders to provide translated titles/descriptions for their videos. Which title displays depends upon the language you have YouTube set to display in. When writing the infojson file or the description file youtube-dl and its forks only have the title/description in the original language and has no mentions of other languages. This feature should be included for the sake of those who use this program for archiving purposes. A solution would be to turn "title" in the infojson into a tree instead of a string, or to not break compatibility have a separate tree named "title_translated" or similar and use the language identifier (en_US, ja_JP, etc) as the key for objects in the tree.

Additional note: the title of the channel itself as well as the channel descriptions can also have translated versions.

Related upstream PR for titles: https://github.com/ytdl-org/youtube-dl/pull/28538

I am against implementing https://github.com/ytdl-org/youtube-dl/pull/28538 as-is. This only converts the issue of not having the translated title to not having the original title instead. We could instead put the translated title in alt_title. Not sure what to do with the description

have a separate tree named "title_translated" or similar and use the language identifier (en_US, ja_JP, etc) as the key for objects in the tree.

A seperate webpage will need to be requested just for each language afaik, not to mention there is no list of translated languages available

Perhaps this is something that could be added as a command line switch then, such as --langs "en_US,ja_JP" for example. YouTube killed off the community submitted translations feature, so in theory the only translated titles and descriptions should be ones set by the uploader themselves, and users will probably be able to make educated guesses about what languages a creator uses on their channel.

@msikma Lol, that endpoint worked on Innertube API key from MWEB client, meaning we don't need to get an API key just for it for now.

Oh, that's interesting. I'm not familiar with it, is that like a "free" internal API that Youtube uses in its frontend?

@msikma Lol, that endpoint worked on Innertube API key from MWEB client, meaning we don't need to get an API key just for it for now.

Oh, that's interesting. I'm not familiar with it, is that like a "free" internal API that Youtube uses in its frontend?

Funny thing is, as @nao20010128nao found, a few of the Innertube API keys also work with the official YouTube data API :wink: (but they tend to hit their quota, so not much use)
AFAIK we cannot use the YouTube Data API in yt-dlp, so we are stuck to Innertube.

#1018 added some boilerplate that would allow us to set the language used for webpages/API calls for all YouTube extractors. Currently it is set to English to prevent metadata parsing issues in a few places.
Currently we could probably add a way of users specifying the language for extraction to get the localised title and description for that language, with the cost of missing some other metadata.
Extracting all localised titles I still don't believe is possible atm- I am not aware of any Innertube endpoints that do not require auth and do not require you to be the owner of the video to get translations.

We could probably add a way of users specifying the language for extraction to get the localised title and description for that language, with the cost of missing some other metadata.

I'm thinking, at least for now, we should do this since it shouldn't be too hard to do.
Right now we are currently extracting the original and english translated fields (preferring original where applicable).
We could add an extractor arg that takes a supported language code (as per YouTube's list). In which when set, extraction will prefer the translated fields where applicable.
Something like --extractor-args youtube:lang=ja
It's not the best solution but should be enough for those just wanting the translated title for yt.
Of course, as mentioned before, there will be metadata extraction issues in some places (e.g. relative time text, but should be rather limited)

Alright, you can implement it. But do warn that metadata may be missing


modify invalid links

Coverage remained the same at 95.278% when pulling c49fa59ddeda9e222e9875b000ab1290231a5527 on cloveryl:lei into 14923aeb77ffb0c200b07fa7e66571b3ba8e28ca on ServiceComb:master.

fix #80


docs: Added a link that leads to the crowd.dev blogs

Changes proposed ✍
What
Added a link that leads to the blogs in the documentation
Screenshot:
Before making changes:

After making changes:

How

Why
Since all other relevant links were added, adding a link leading to the official blogs improved consistency.
Checklist ✅

[x] Label appropriately with Feature, Improvement, or Bug.
[x] Add screenshots to the PR description for relevant FE changes
[ ] New backend functionality has been unit-tested.
[ ] API documentation has been updated (if necessary) (see docs on API documentation).
[x] Quality standards are met.

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

Hello @garrrikkotua @joanagmaia , can you check if the changes made are alright and merge the PR if no further changes are needed to be made?


Problem in SSL and WSS connection on HTTPS Server

I'm trying to use this project on https server using wss/SSL connection but I'm getting an error in chrome:
WebSocket connection to 'wss://...:port/' failed: Error in connection establishment: net::ERR_CONNECTION_CLOSED
and if I use ws to connect then
WebSocket connection to 'ws://...:port/'  failed: Connection closed before receiving a handshake response

// SSL context
$context = array(
    'ssl' => array(
        'local_cert' => '/etc/nginx/one.pem',
        'local_pk'   => '/etc/nginx/one.key',
    )
);

What is one.pem and one.key?
Please help me with this solution.

Please use https://certbot.eff.org/ to create ssl pem file and key.
What is pem file look this.
https://serverfault.com/questions/9708/what-is-a-pem-file-and-how-does-it-differ-from-other-openssl-generated-key-file


⚠ Bofrost.lu has degraded performance

In 44cd979, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1576 ms

Resolved: Bofrost.lu performance has improved in 465bfbb after 31 minutes.


[DO NOT MERGE] Auto PR to update dependencies of istio

This PR will be merged automatically once checks are successful.
none

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
6f1bb03745ed5bea745b40d801989bcbe8bacbc8
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
6f1bb03745ed5bea745b40d801989bcbe8bacbc8
link
/test istio-unit-tests

prow/istio-presubmit.sh
6f1bb03745ed5bea745b40d801989bcbe8bacbc8
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Broken link in css compiler readme

In the readme for css-compiler it points at a TODOs example.
https://github.com/Urigo/angular-meteor/tree/master/packages/angular2-meteor/atmosphere-packages/css-compiler#examples
But that link is no longer correct (still points at angular2-meteor project).
There's also broken links in: https://github.com/Urigo/angular-meteor/tree/master/packages/angular2-meteor/atmosphere-packages/angular2-compilers

Fixed! Thanks @sdarnell


stripCommands should strip ">>"

That's not the purpose of stripCommands. >> appears nowhere in messages received; it appears in console to mark what messages appear. Even if it did appear in the message, it wouldn't show up in arg in the commands that use it.

In the event a bot has access to eval on a server, any user with access to .say (or .choose) would be able to use eval through the bot. This function would already strip out /eval and !eval, so why not >>?

Also, >>> is a thing, too.
The point is that this is a huge vulnerability issue if the bot has console access, as pretty much anyone that has access to the commands jd listed can ultimately take control over the server.  I'm confused why this isn't being corrected ?_?
Also Morfent, could you explain the purpose of stripCommands?

Oh, I see what you're talking about. I thought you were talking about the >> that appear in browser console at first, not eval. I don't think adding a space in front of all messages from those commands is the best solution though. I'd only add the space if the text starts with /, !, or >>.

I changed it to only add a space if the text starts with /, !, or >>.


sys: bumped to 0.6.1

Goal
Fix security warnings.
Approach

Fix activesupport.
Fix rack.
Fix rubocop.

Coverage remained the same at 100.0% when pulling 17830a7df493dd257af6fbfaf50283734072635b on bump-0.6.1 into 8f2a35c78bec10ef2eb20c0ead32dfe64490381d on master.


SPManagedMetadataServiceApp: ServiceApp proxy not created when it does not exist

Details of the scenario you tried and the problem that is occurring
When the service app proxy of the MMS service app doesn't exist, doesn't this resource create it. The Test-TargetMethod does not test on proxy name.
Verbose logs showing the problem
Due to an issue the service app proxy wasn't created. All consecutive runs did not create the proxy.
Suggested solution to the issue
Add Proxy to the tested values
The DSC configuration that is used to reproduce the issue (as detailed as possible)
Any config for MMS
The operating system the target node is running
Windows Server 2012 R2
Version of SharePoint that is used (e.g. SharePoint 2016)
SP2016
Version and build of PowerShell the target node is running
v5.1
Version of the DSC module that was used ('dev' if using current dev branch)
dev

Adding issue #936 as they are related.


Black ego vehcihle is not in predicted visualization

when i predict over given sample data, we are not able to see any black vehicle in the output visualizations, can anyone explain this behaviour ?

I encountered the same problem. Have you solved it?


Not making the exe

Describe the bug
When the compile is finished, the dist folder opens but no exe is created
To Reproduce
Steps to reproduce the behavior:

Run Pysilon.bat
Wait

Expected behavior
I expected an exe
Screenshots

Desktop (please complete the following information):

OS: Windows 11
Python Version: 3.11.0

Additional context
No.

My windows defender is disabled

Describe the bug When the compile is finished, the dist folder opens but no exe is created
To Reproduce Steps to reproduce the behavior:

Run Pysilon.bat
Wait

Expected behavior I expected an exe
Screenshots

Desktop (please complete the following information):

OS: Windows 11
Python Version: 3.11.0

Additional context No.

Delete the existing pysilon folder and re-extract pysilon zip and then run PySilon.bat again.

Describe the bug When the compile is finished, the dist folder opens but no exe is created
To Reproduce Steps to reproduce the behavior:

Run Pysilon.bat
Wait

Expected behavior I expected an exe
Screenshots

Desktop (please complete the following information):

OS: Windows 11
Python Version: 3.11.0

Additional context No.

Delete the existing pysilon folder and re-extract pysilon zip and then run PySilon.bat again.

tysm


Segment-Component weird rendering

react-native, react and native-base version
react-native: 0.52.2
react: 16.2.0
native-base: 2.3.7
Expected behaviour
correct rendering of segment component
Actual behaviour
segment component not rendered correctly when it has first-prop
Steps to reproduce (code snippet or screenshot)

      <Segment>
        <Button
          first
          onPress={() => this.setState({ activeSection: 0 })}
          active={this.state.activeSection === 0}>
          <Text>Events</Text>
        </Button>
        <Button
          onPress={() => this.setState({ activeSection: 1 })}
          active={this.state.activeSection === 1}>
          <Text>Email</Text>
        </Button>
        <Button
          last
          onPress={() => this.setState({ activeSection: 2 })}
          active={this.state.activeSection === 2}>
          <Text>SMS</Text>
        </Button>
      </Segment>
    </Header>

Screenshot of emulator/device

Is the bug present in both ios and android or in any one of them?
only on a real ios device

#1400
facebook/react-native#11897
facebook/react-native#17998


Not working with Krita 5.2.1

Describe the bug

I just upgraded Krita to 5.2.1 and the plugin does not work anymore.
There is no dock to show, even on the menus, they are just disappeared.

I've tried to fresh re-install the extension, also Krita. But no hope.
Screenshots

Any1 know how to fix it?

I had the same issue with Krita 5.1.5, and was able to get it working using the actively maintained fork: https://github.com/poipoi300/auto-sd-krita-ext-xl
A1111 doesn't support uninstalling extensions cleanly, simply deleting the current extension can easily lead to a broken A1111 environment. Careful use of git commands can avoid needing to reinstall A1111 completely

Heads up for the alternatives for this plugin:

Acly's ComfyAI based complex solution. Love it a lot
DrCyanide's robust solution that works much better than auto-sd-paint ever did

Good idea, and bad implementation.((

I had the same issue with Krita 5.1.5, and was able to get it working using the actively maintained fork: https://github.com/poipoi300/auto-sd-krita-ext-xl
A1111 doesn't support uninstalling extensions cleanly, simply deleting the current extension can easily lead to a broken A1111 environment. Careful use of git commands can avoid needing to reinstall A1111 completely

Good idea, and bad implementation, with v5.2.2 the same(.

Same issue here. I tried with this plugin and the poipoi fork. No chance.
Krita v. 5.2.2
Auto1111 v.1.7.0

Likely a krita issue as I have been using it with A1111 1.7.0 since release no issues. I'll look for a fix tomorrow.

Unable to recreate the issue on my fork currently. Only thing I can do right now is recommend people to delete their config files as instructed in the wiki.


Add component : Notifications

As an MVP component, I suggest to provide some basic notifications:

Duplicate the style of the Sidebar component

And use the same animation delays
On large screens, add borders to the borders that are not on the viewport edge
max-width: 500px

Have a delay prop

4000 ms by default
Can be set to 0 for no delay

Have a position prop: top, top-right, right, etc.
Have a direction prop: top, right, bottom, left (direction of the animation)
Have an opened prop
No Header/Footer handling but a simple title prop
The content is handled by the children
Two possible CTA props

No CTA: Display a cancel button
1 CTA: Display the cancel button and the CTA
2 CTA: Display the 2 CTA buttons
Set opened to false when clicking on a CTA

No cross to close the notification

The delay prop
Is it the delay before it appears ? 4000 ms by default seems a bit long to me, 2000 ms might be better.
The opened prop
I don't see the purpose of having an opened' prop. Do you intend to make this component a permanent one, like the sidebar ? I would rather have it mounted only when necessary (decision made as stateatRootlevel), and in that case there is no need for this prop. If you still prefer to have it mounted permanently, I would suggest to haveopenedas localstate` rather.
Children
Do we really need to implement children ?
Basically, this component would only be a title, some text, maybe an icon, and CTA buttons, all passed as props.
Making the Notification potentially more complex make little sense to me (why not use the Modal then ?)
Closing
Why would you not have a cross to close it ? It uses less space than a "Cancel" button.
The cross would not be available if a CTA is required (in the case of 2 CTAs).
Props suggestions

type: "Error", "Warning", "Validation"..., this would serve as "title". A icon could be display along with the type.
text: the actual text to display
delay: the delay before it appears, in ms
position
direction
optional ctas: a list of CTAs, display only the first 2, log a warning if more than 2 CTAs.

The delay is about the time before closing a notification when the user does not interact with it. I don't think an appearing delay is relevant in the notification case. But I certainly am missing a point... You can distinguish the two delay props if you think we have to add it.
You're right about the opened, it's not really appropriate here ^^
I really like the children approach because it has an easier readability IMHO... You can add other components to have a "rich" content with your own disposition. You can do that with props but, I don't know, I prefer the other way :)
By the way it is the approach used in the Sidebar component.
In the mobile world you rarely meet close cross in the UI. Maybe because it is tricky to reach it with your finger when walking the field. I try to stick with that kind of code and I would like to add swipe/gesture handling to open/dismiss/close things in the UI.
About the no cancel button when two CTAs thing, I was thinking about to give the responsability to the developer to close the notification when the user is clicking on a CTA rather than display three buttons for example (2 CTAs and the cancel one).
About the props suggestions:

type: great, just stick to the actual context used in the other components for the moment (eg: Alert component)
text: see the comments above
delay: see the comments above
position: ok
direction: ok
ctas: Great for the behavior, I would prefer callToActions for the name though

Thank you!

The delay is about the time before closing a notification when the user does not interact with it. I don't think an appearing delay is relevant in the notification case. But I certainly am missing a point...

You're not. I misunderstood the delay prop.
By the way it is the approach used in the Sidebar component.

While it makes sense for Sidebar to have rich content, I can't find a proper reason for rich Notifications, but I totally can be convinced with examples.

In the mobile world you rarely meet close cross in the UI. Maybe because it is tricky to reach it with your finger when walking the field. I try to stick with that kind of code and I would like to add swipe/gesture handling to open/dismiss/close things in the UI.

I kind of agree. But I believe you could think of a design where the cross would be accessible even on mobile and still take less space than a "Cancel" button.
The touch capability would be the perfect option indeed, but it seems this is not yet supported on IE and Safari (and Opera).
For the time being, I will try different approaches and I'll let you know.

I was thinking about to give the responsability to the developer to close the notification when the user is clicking on a CTA

What if the user never clicks on a CTA ? Does the notification stay forever ? If the notification requires the user to react, shouldn't we display the Modal instead, so that the user has no other option than to react ?
Or if there is a notification with 2 choices, but the choice can wait, we might close it after an extended delay (say 10-20s) and leave it available in a possible "Notification Center". This would imply adding an pending prop to the component so that it stays alive pending the user to react.
Anyway, we can leave this for further thinking. I'll implement the component so that it stays on until a CTA is clicked.

Oh... You're totally right on the last point ^^' I did not think about that.
Ok, for that point and the previous one I think that adding a cross is reasonable :P
I don't really have good examples for the rich content subject. Just that the current API is to use children for the main content rather than to use props... I would prefer to stick with the same choices for all the components.

Alright, I'll do that.
Bringing up another topic: Transitions.
With current CSSTransitionGroup, it is not possible to fade out and then unmount the component.
The API has changed with version 2.0 of the package.
You can check out examples here.
The CSSTransition component is quite similar to the current classname approach, but I can't get to make it work properly with our code.
The Transition works with the style attribute, and I find it more elegant in the end.
I would like to have your opinion on the (draft) code I'm working on:
https://github.com/iOiurson/react/blob/notification/src/components/Notification/Notification.jsx
I think we need to apply the v2 version of ReactTransitionGroup in any case, and there will be some adjustments on current code anyway, whether we agree on Transition philosophy rather than CSSTransition.

Great! The new Transition approach is far better indeed. Go for it!
Your draft seems good, but it remerbers me that we did not talk about the pause when the user hover over the notification. The setTimeout of the onEntered prop has to be cleared when the user hover the notification, and get relaunched when he leaves it. Do you agree with that?

Oopsy, this is clearly important !
Yes obviously, I'll do that.

I'm about to push some code.
I have a problem with tests though...
Testing my Notification component, I get the following error.
I do not use jQuery, nor Bootstrap (or I think I'm not).
What is weird is that I have updated the component Modal (that uses Transition too) and there is no problem...
Does this problem ring a bell ?
 FAIL  src/components/Notification/__tests__/Notification.test.jsx
  ● Test suite failed to run

    ReferenceError: jQuery is not defined

      at Object.<anonymous> (node_modules/bootstrap/js/transition.js:59:3)
      at Object.<anonymous> (node_modules/bootstrap/dist/js/npm.js:2:1)
      at Object.<anonymous> (src/index.js:2:1)
      at Object.<anonymous> (src/components/Notification/Notification.jsx:9:14)
      at Object.<anonymous> (src/components/Notification/index.js:1:185)
      at Object.<anonymous> (src/components/Notification/__tests__/Notification.test.jsx:3:9)
          at Generator.next (<anonymous>)
          at Promise (<anonymous>)
      at handle (node_modules/worker-farm/lib/child/index.js:44:8)
      at process.<anonymous> (node_modules/worker-farm/lib/child/index.js:51:3)
      at emitTwo (events.js:125:13)
      at process.emit (events.js:213:7)
      at emit (internal/child_process.js:768:12)
      at _combinedTickCallback (internal/process/next_tick.js:141:11)
      at process._tickCallback (internal/process/next_tick.js:180:9)

Bootstrap is used in the project and it requires jquery... I know...
Can I see your branch?

I kind of fixed it...
The problem comes from src/components/index.js, that requires jQuery and Bootstrap.
I fixed it by importing directly src/component/Button/index.js rather than ``src/component/index.js`, but would love another idea.

It's weird, all the other tests use the index import and there is no problem :/ I will check it when the PR will be ready.


Sum of digits dart

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Code for sum of digits using dart added
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Fixes #5415

@bhav09 Changes made


Prep version 2.0.1

Coverage remained the same at 71.264% when pulling 8a65aca13df1235172b6ebca6736fdf7a2b2fa8f on prep-version-2.0.1 into 19cdf7a00ab943377f24b315e31f26a9b61d9c38 on master.

Fixes #155


Support for precompilation with version check

@ViralBShah

Would be great to merge this and tag a new version. Came up in the precompilation of AWS.jl, and will certainly help in many other places.

Bump @dcjones @tkelman

I don't have commit access here. Would love to see Travis turned on though, so we can see whether or not the package is precompile-safe. If we don't see any signs of @dcjones for, dunno, a week? we could consider temporarily redirecting Metadata to the mirror at https://github.com/JuliaPackageMirrors/Zlib.jl which can be more actively maintained.

Have you checked that the package passes Pkg.test("Zlib") after making this change?

Yes, I checked it on Mac & Ubuntu and it was fine. I will ask @bmharsha to test the same on Windows as well.
Regards,
Pradeep

On 12-Jan-2016, at 3:54 PM, Tony Kelman<EMAIL_ADDRESS>wrote:
Have you checked that the package passes Pkg.test("Zlib") after making this change?
—
Reply to this email directly or view it on GitHub https://github.com/dcjones/Zlib.jl/pull/25#issuecomment-170866357.

Okay great. In the absence of the package's author (I hope he's okay?) we may need to change the Package URL in Metadata to point to the mirror for a little while.

I tested this version on Windows using the default test file provided within the package, all tests passed without any issues.

bump


Fix conv layers and train only FC layers

What I would to do is loading a pre-trained model (on imagenet) and train only its last fully connected layers on a new dataset, maintaining fixed all the weights of the convolutional layers (in order to use the first part of the network as a feature extractor). Can someone explain me how can I do this, in particular fix the conv layers?
Thanks!

Check fine-tune.py under example/image-classification

Thanks!

@howard0su @No41Name I took a look at the fine-tune.py example and got it working for my own dataset. However it wasn't clear how to freeze/unfreeze particular layers. Perhaps I missed something?


Add search plus some other design updates

@rkuchan @beckettsean @kostasb Is this good to merge?

:+1:
We need to make a blog post about it, and mention:
"Currently the lookahead feature of the search box returns 0.9 and 0.10 results independently, which leads to seemingly duplicate results. We are working with the Algolia, the search service provider, to improve the experience. We hope that even an imperfect search tool is better than none, and we welcome your feedback."
or something like that.


Restructuring

fixes https://nexcess.atlassian.net/browse/NSD-12214

@robertology please review so Cal can move ahead


Add PowerToys Shortcuts to the Shortcut Guide

Description of the new feature / enhancement
The ShortCut Guide only shows the standard Windows ShortCuts. The PowerToys ShortCuts are not shown here, even though this Guide is a PowerToys tool.
Scenario when this would be used?
Discoverability of all PowerToys ShortCuts would be greatly enhanced. There are several tools I user rarely, because I do not remember the ShortCut and finding it is often too much hassle. Only add enabled Tools with their choosen ShortCut.
Supporting information
Try to group the ShortCuts by similar functionality and do not sort them alphabetically. People use this to find a shortcut, not to discover what a key does. When PowerToys ShortCuts are added the view will (automatically) be more cluttered.

Duplicate of #15405 - will close.

Closed as Dup


Support hiding UI elements in the Excalidraw embed package

This is concerning the packaged version.
I want to constrain what the user can do. For example, I want to remove a few drawing tools except the most basic ones, hide the button that lets me customize styles, and so on. The end result I want is this:

I did this with some gnarly css but it feels pretty fragile:
.Island .Stack .Shape:nth-child(3),
.Island .Stack .Shape:nth-child(6),
.Island .Stack .Shape:nth-child(9),
.ToolIcon__lock,
.App-toolbar-content button[aria-label="Edit"],
.App-toolbar-content button[aria-label="Duplicate"] {
  display: none !important;
}

/* In a special mode, hide all toolbars */
.ExcalidrawReadonly .Island {
  display: none !important;
}

If I could somehow customize which UI elements are hidden through props, that would have been much better.

yep, we should allow the host to customize the UI. Similar feature request https://github.com/excalidraw/excalidraw/issues/2513.

We can have 3 props canvasActions, selectedShapeActions and shapes each prop can have an attribute for each item with value true/ false  as shown 👇. By default, all will be true. Passing false or not passing will be treated the same.
canvasActions: { save: true, saveAs: true, delete: false, export: false}
shapes: { selection: true, square: true, freeDraw: true }
selectedShapeActions: {stroke: true, backrground: true, fontSize: true, fontFamily: true }

Thoughts ? cc @dwelle

Sound reasonable.
It'll also require modifying keyboard shortcut handlers, contextMenu, drag&drop etc., so may become fairly involved. Ideally we shouldn't pepper conditionals and ternaries everywhere coz the codebase is getting too unreadable as it is. We'll figure it in the PR.
Also, let's not allow to disable selection as that would impact too much internal code (apart from not making much sense), although I'm sure you listed it above just as an example.

It'll also require modifying keyboard shortcut handlers, contextMenu, drag&drop etc., so may become fairly involved. Ideally we shouldn't pepper conditionals and ternaries everywhere coz the codebase is getting too unreadable as it is. We'll figure it out in the PR.

Yep we need not push/release all at once, all 3 props can go in individual PR's.

Also, let's not allow to disable selection as that would impact too much internal code (apart from not making much sense), although I'm sure you listed it above just as an example

yep that was just an example. Selection we won't allow the host to disable


👷 Add SonarCloud scan to PR workflow

📝 Description
Adds a job to PR workflow: SonarCloud scan
💥 Is this a breaking change (Yes/No):

[x] No
[ ] Yes (please describe the impact and migration path for existing Lume users)

📝 Additional Information
--
Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

Closing since SonarCloud was introduced as an app instead.


Simplify the spec text of dialect handling

close https://github.com/tc39/intl-displaynames-v2/issues/23

ping


refactor: backend

#2963

Reviewers
Functional: @danieljhegeman @ashin-czi
Readability: @ebezzi

Changes

move backend/corpora/api_server -> backend/api_server
move backend/corpora/lambda/api -> backend/portal
move backend/corpora/dataset_processing -> backend/dataset_pipeline/processing
move backend/corpora/dataset_submissions ->  backend/dataset_pipeline/submissions
move backend/corpora/upload_failures -> backend/dataset_pipeline/upload_failures
move backend/corpora/upload_success -> backend/dataset_pipeline/upload_success
move backend/corpora/common -> backend/common
move backend/corpora/lambda/api/v1/curation -> backend/curation/api/v1/curation
move backend/wmg/cube_pipeline.py -> backend/wmg/pipeline/cube_pipeline.py
move backend/corpus_dataset_pipeline -> backend/wmg/pipeline
move backend/ontology_files -> backend/common/ontology_files
rename corpora-api.yml -> portal-api.yml
Update docker files
Update docs
Update python import paths
fix test_crossref_provider tests

Update the test directory to match the above changes
QA steps (optional)
Ran in happy path and check API works and processing a dataset works.
Notes for Reviewer
The easiest way to review is to pull the repo and look at the new files structure and see if the files are where you'd expect them.
Tip: Many directories will be left empty after git pull, and removing them will reduce confusion (remove echo when confident):
# First remove any __pycache__ dirs
find backend -type d -name '__pycache__' -exec echo rm -r {} \;
# Next, remove empty leaf directories; repeat the command until all are gone.
# Note: `find` reports errors for rm'd dirs, but it seems to work anyway
find backend -type d -empty -exec echo rmdir {} \;

Great suggestions. I actually started moving the API stuff around in a separate PR, but it can all be rolled into this one.

should config/*-api.yml files go under {portal,gene_info/wmg}/api/, respectively?

I have no strong opinions either way.

should curation be a sibling of portal/api/v1? Doesn't it need to be versioned independently of the (private) portal API?

I moved this to backend

should we merge backend/corpus_asset_pipelines into wmg/? The intermediate corpus building and tightly tied to the wmg cube building pipeline steps, so it seems better to keep them together.  We can move apart if/when the corpus building becomes a producer for multiple downstream consumers.

If we do this then we should we also move the dataset processing pipelines closer to the portal and curator apis?

move ontology_files under common?

I have not strong opinions about this.

dataset_{submissions,processing}, upload_{success,failures} are steps of the same dataset processing pipeline, so should we house them under a backend/dataset_pipeline/ dir?

I think we should go shallow in the directory paths first and then add more depth if it's needed.

I moved them closer to the handlers under the API path


Functional Prototype

Functional prototype running in the kitchen.
Allows user to:
:coffee: badge in
:coffee: create user
:coffee: grind beans
:coffee: track coffee usage
:coffee: get credit for bringing in coffee based materials

Add appropriate license file

Could you add the Microsoft copyright headers with the MIT License?


Bug: 'WindowState', 'PostsType' and 'CommentReplyMode' settings are not saved

Fixed by 0e34d78 commit


Added more support for Terra transactions.

Additional support includes:

Distribute transactions
Submitting proposals
Pylon Gateway withdrawals
Exclusions for Astroport, Valkyrie, and Spec contracts
Astroport lockdrop
Various RandomEarth NFT transactions
Anchor minting + backwards compatibility for older transactions

Thanks for awesome contribution!
I added a comment for an anchor fee in question.  Let me know if you may disagree.
I'll get to making this little change, after a little confirmation with you.  Feel free to beat me to this, if convenient.

Added a couple minor fixes with a little refactoring in new PR https://github.com/hodgerpodger/staketaxcsv/pull/72 and merged it.  Closing this PR only for that reason.
Thanks!


gRPC route matching

Currently Envoy allows matching a gRPC request by matching on the content-type. It would be nice with first-class gRPC matching support to 1) make it less cumbersome to match gRPC traffic and 2) make it easier to handle gRPC content type variations such as application/grpc+proto.
I'm imagining it would just be another option on RouteMatch which calls into Envoy::Grpc::Common::hasGrpcContentType

@snowp seems reasonable, Envoy should have first-class gRPC support here. FWIW, there is a little known and used experimental ALPN for gRPC grpc-exp. The Google C++ and Java (but not Go) clients support this.

@htuch, @snowp, was support added for the grpc-exp ALPN token, or no? just wondering as it seems dispatching grpc over h2 works but not grpc-exp.

ALPN is configurable on Envoy, so you can just list this in alpn_protocols. But, this isn't a reliable way to route or select for gRPC, since it's not a real standard.

@htuch thank you for the swift reply :)
understood, and i am successfully advertising grpc-exp using the config you mention. Envoy even selects grpc-exp upstream with my Java-based gRPC server.
however, i'm hitting the routing issue - i can't properly route gRPC through envoy, from a client, unless i force the client to select h2, either by prioritizing it on the client end or withholding advertisement of grpc-exp on Envoy's side.
we have gRPC-Java on both sides, and we control the ecosystem end-to-end in our use case. so we want to use grpc-exp if we can. is there a way to do this? and if not, would Envoy be open to a contribution to allow it?
after inspecting with wireshark, Envoy itself selects grpc-exp upstream, advertises it downstream, but just doesn't route with it once it is selected (the log line from envoy ends up as HTTP/1.1 which is of course not the case).

@sgammon good point, we probably don't have the ability to switch to H2 codec. @mattklein123 would it be reasonable to also support grpc-exp here?
FWIW, some historical context. grpc-exp is something I completely made up when working on something internally which needed client side support for upgrading, and I was involved in making the gRPC client side changes to support this. That specific use case went away over time, but this support still exists in gRPC clients. I would love there to be a standard ALPN method that we know going forward will be supported. CC @markdroth do you have any thoughts?

The best person on our team to comment about ALPN-related issues is @ejona86.

@htuch thank you for the context on that. i have a question, then, because mostly my concern here is a failure to handshake between gRPC Java and our production systems (AFAIK, grpc-exp is supported in Java and C++ clients).
we host on google cloud in GKE, and we front our stuff with GSLB (using the new network endpoint groups feature). GSLB advertises grpc-exp, in front of h2 no less (see here), curiously only over NPN and not ALPN, though:

this is why we're hoping to support routing via grpc-exp, just in case clients decide to use it. the grpc-java SDK still includes it here via both ALPN and NPN.
anyway, here is my question. when negotiating grpc-exp, is there any functional difference with h2? or is it just a hint that grpc is being used over the wire? i'm only curious if there is any expected performance loss, or something, if we force h2.
thank you again for the quick response

depending on your answer @htuch,  i'm not sure if the right move is to propose removing grpc-exp from grpc-java, vs. patching envoy somehow to allow routing by various ALPN tags, vs. some other approach i am not thinking of
we are happy to contribute or test or otherwise help however needed :shipit:

You're talking about GCLB I think, right? We use both GSLB and GCLB to mean different but related things. I know why GCLB advertises grpc-exp, since this is code I wrote, but as mentioned above, it was there to address a use case that doesn't exist today, but it hasn't been turned down.
I'm pretty surprised this only happens only over NPN; gRPC is strictly HTTP/2, which is strictly ALPN, NPN is deprecated.
It's purely a hint, telling the content is HTTP/2 and also gRPC. gRPC only expects h2 as per its wire format.
I think it all comes down to what gRPC team (@ejona86) think we should do long term about ALPN. Is this going to be a thing, will grpc-exp get replaced or just turned down?

@htuch i will defer to you regarding terminology, i am assuming GCLB == Google Cloud LB in which case yes. i am trying to illustrate that we use layer 7 LB not NLB but i presume that is obvious at this point.
thank you, i have what i need for us, but i'll keep monitoring here in case we can test or upgrade

Sorry I think I'm missing something here, but how is grpc-exp different from h2? Can't we still route in content-type?

grpc-exp would let you make the route decision earlier, e.g. at filter chain match.

But isn't that already supported? I thought we allow matching on along name? Or is the issue that we just have to alias grpc-exp to h2 during codec selection? If so that is a trivial change.

Yes, I think you would need to alias during codec selection, and it's probably trivial. The question is whether it's worth supporting at all given that grpc-exp is not standardized.

To be clear to everyone, the "exp" in grpc-exp means "experimental". It was added to play with things like this, but to be productionized I was expecting to replace it with a new string.
grpc-exp is the same as h2 from grpc's perspective. The assumed semantics would be that it only contains grpc, but otherwise speaks normal HTTP/2. There should probably never be protocol differences; any protocol differences should probably be negotiated with SETTINGS.
@sgammon, the difference in NPN and ALPN is likely because ssllabs can't detect unknown protocols with ALPN. With NPN the server returns the full list of protocols it supports. With ALPN the client sends the list and the server just selects one. To form its list, ssllabs is probably trying all the currently defined protocols and seeing which ones the server selects.

@ejona86 thank you, that makes a ton of sense. i am really not worried about it now that i understand its intended purpose. for our own sake, forcing prioritized negotiation of h2 in grpc-java fixes the issue.
perhaps it would be good to remove grpc-exp from the clients if there isn't going to be support for it moving forward. i am not 100% certain that it was causing our handshake errors (it seems like it would have to be on JDK SSL which we don't use), but they did clear up once i installed an ALPN configuration that omitted grpc-exp or placed it after h2 in the proposed list of protocols from the client.
in any case, thank you all for your quick responses and insight, it's cool to know what it's for.

for our own sake, forcing prioritized negotiation of h2 in grpc-java fixes the issue.

but they did clear up once i installed an ALPN configuration that omitted grpc-exp or placed it after h2 in the proposed list of protocols from the client.

@sgammon, that really sounds like a bug in the server. The server should select h2 if it doesn't understand grpc-exp. I'd suggest running wireshark and looking at the server's reply (ServerHello ideally, but it may be an error instead). The ALPN protocol selected is in the ALPN extension.

(This is a recording of a grpc-java client talking to a grpc-java server.)
It would probably be fair to remove grpc-exp since nothing has really happened with it, and apparently we are selecting it today when we didn't intend to...

@ejona86 if memory serves, it was originally a TLS alert, post-handshake. i've caught it over wireshark. ill try and dig up the screenshot.
in the meantime, it's easy when reading the source to interpret grpc-exp as needing to be prioritized, because that's what grpc-java itself does (see here, where it is prioritized both for NPN and ALPN, and here where a test makes sure it's prioritized, as long as i'm reading the code correctly).
meanwhile, because GCLB priotizes it over NPN, it seems from a developer's perspective that ALPN should match. but this explanation makes a ton of sense (i.e. Qualys doesn't know to offer it over ALPN in the ClientHello, so it consequently doesn't show up in the ServerHello coming back in diagnostics). maybe the solution is to document the difference somewhere, perhaps in SECURITY.md, which java devs have a practice of checking? i could file a PR. that is, if the ALPN tag for grpc-exp should stay in at all.
in any case, this was the behavior we were seeing (best guess until i dig up that screenshot. numbers were observed behavior):

1: grpc-java <- TLS with ALPN "grpc-exp, h2" -> GCLB
2: negotiates grpc-exp
GCLB <- TLS presumably with selected ALPN from client "grpc-exp" -> ESP
GCLB <-- TLS alert (presumably) --> ESP
3: grpc-java <-- TLS alert after handshake success --> GCLB

we haven't been able to solve the above TLS alert for quite some time. we also noticed that this only occurred when traversing GCLB with external traffic - within our networks, i.e. direct gRPC over TLS, worked fine.
this is why @htuch's comment above caught my eye: because we only see this issue with our Java layer from the client side (rather than Swift, for instance, which doesn't support negotiating grpc-exp, because iirc it calls into Cgrpc, rather than C++ gRPC). we later switched to Envoy, and this surfaced again after noticing the following behavior locally, which also failed:

1: grpc-java <- TLS with ALPN "grpc-exp,h2" -> Envoy
2: Envoy is configured to select grpc-exp, so they agree on grpc-exp
3: Envoy doesn't match grpc-exp to our backend, or doesn't route it, or whatever, and fails the handshake (hence, the handshake errors i am talking about originally itt)

what prompted me to request that it be routable from the frontend, was that we observed the following behavior too (after removing grpc-exp from our own ClientHello):

1: grpc-java <- TLS with ALPN "h2" -> Envoy
2: only h2 is listed on both sides, so that is what is selected
3: Envoy <- TLS with ALPN "grpc-exp, h2" -> grpc-java server
4: they select grpc-exp and everything is great and nobody got hurt

in particular point 4 in that final flow above is what inspired me to say, well, if GCLB supports it and priotizes it, and Envoy negotiates it upstream, all i need is Envoy to route it on the frontend and i can use my grpc-exp all the way up and down my stack.
but after the explanation above, which totally makes sense, i've forced h2 to priotize from the client-side (that final flow above), and things work fine for now. we do this with the following patch to our gRPC clients in Java, when they are communicating externally (which, for us, traverses through GCLB):
/**
   * Prepare the SSL context for this service client.
   */
  protected open fun prepSSLContext(sslContext: SslContextBuilder): SslContextBuilder {
    // set ALPN config
    sslContext.applicationProtocolConfig(ApplicationProtocolConfig(
      ApplicationProtocolConfig.Protocol.ALPN,
      ApplicationProtocolConfig.SelectorFailureBehavior.CHOOSE_MY_LAST_PROTOCOL,
      ApplicationProtocolConfig.SelectedListenerFailureBehavior.ACCEPT,
      "h2"  //, "grpc-exp" ISSUE: Envoy does not route based on this
    ))
   // ...
}

@ejona86 sorry for the russian novel but TLS is thorny 😄
hope that makes sense

@sgammon thanks for the analysis. @ejona86 WDYT about either standardizing grpc-exp or dropping it? It wold be great if we can avoid this pitfall when using a mix of Google gRPC libs and non-Google.


Added kms:Tag* permission to key to allow tagging

The permissions in version 0.4.0 do not grant kms:Tag* permissions. When keys have tags applied, it fails due to the lack of permission

/codefresh run test

Also need kms:UntagResource for when the KMS key is rotated through this module or renamed.

/test all

/test all

@erikdj can you rebase off master -- I believe that will fix your tests and then we can get this merged. Also if you can add the Untag* permissions then that would be appreciated as well.

Closed #6

Rebased and added kms:Untag* permissions per request from @0verc1ocker

/test all


docs: update use-async-data.md

🔗 Linked issue
https://github.com/nuxt/nuxt/issues/24332
📚 Description
Note that getCachedData does not work with watch and execute/refresh (for now)

Unless you are close to fixing it, I would have appreciated this behaviour to be documented. It would have saved some time 🥲

If it is documented, then changing it becomes a breaking change.

All right ✅


Fix dynamic instrumentation reconfiguration

fixes #1125

Codecov Report

Merging #1128 into master will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1128      +/-   ##
============================================
- Coverage     59.77%   59.75%   -0.02%
  Complexity       87       87
============================================
  Files           327      327
  Lines         14868    14868
  Branches       2084     2084
============================================
- Hits           8887     8885       -2
- Misses         5381     5386       +5
+ Partials        600      597       -3

Impacted Files
Coverage Δ
Complexity Δ

...java/co/elastic/apm/agent/bci/ElasticApmAgent.java
73.75% <100.00%> (ø)
0.00 <0.00> (ø)

...pm/agent/profiler/asyncprofiler/AsyncProfiler.java
60.46% <0.00%> (-4.66%)
0.00% <0.00%> (ø%)

...o/elastic/apm/agent/profiler/SamplingProfiler.java
77.93% <0.00%> (ø)
0.00% <0.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 3db86de...2418b5f. Read the comment docs.


Merge label-refactor branch and refactor the annotations into kubernetes decorator

As part of the previous discussions, I mentioned that there was a need to start refactoring how the Kubernetes labels are being handled, moving much of the logic into the decorator instead of spreading logic across argo_workflows.py and kubernetes.py
As the annotations is going to follow the same patterns, this is a good opportunity to rework those at the same time to be handled inside the Kubernetes decorator as much as possible.
This PR:

branches off your annotations_dev
merged https://github.com/Netflix/metaflow/pull/1471 on top of it (branched later, hence some of the unrelated commits in it)
refactored the custom annotations into the Kubernetes decorator.

LGTM


Drag and Drop events not working in element ui

Hi folks,
i just working in the Vue.js, Vue events like (drag , dragstart ....) this type of events not working in the element ui components. and its working in the normal  HTML elements.
Element ui ==> https://element.eleme.io/#/en-US

@prasanthmaran1 Binding Native Events to Components


What is your airline configuration: https://github.com/mcandre/dotfiles/blob/master/.vimrc
if you are using terminal:
terminal: bash
$TERM variable: xterm-256color
color configuration (:set t_Co?): t_Co=256

actual behavior
Error detected while processing function airline#extensions#branch#get_head[1]..airline#extensions#branch#head[6]..<SNR>68_update_untracked[28]..airline#util#system:
line    1:
E91: 'shell' option is empty
Press ENTER or type command to continue
Error detected while processing function airline#extensions#branch#get_head[1]..airline#extensions#branch#head[6]..<SNR>68_update_untracked[28]..airline#util#system:
line    1:
E484: Can't open file /var/folders/53/300vy1ys7tv8h8fr_z3tm8gr0000gn/T/vfe9RgF/0
Press ENTER or type command to continue
Error detected while processing function airline#extensions#branch#get_head[1]..airline#extensions#branch#head[6]..<SNR>68_update_untracked[28]..airline#util#system:
line    1:
E91: 'shell' option is empty
Press ENTER or type command to continue
Error detected while processing function airline#extensions#branch#get_head[1]..airline#extensions#branch#head[6]..<SNR>68_update_untracked[28]..airline#util#system:
line    1:
E484: Can't open file /var/folders/53/300vy1ys7tv8h8fr_z3tm8gr0000gn/T/vfe9RgF/1

I can't reproduce this. Are you sure that it is the latest version that's causing it and not any before?
What is the value of your $SHELL environment variable?

Hm, what is your 'shell' option? You should probably set it. I wonder why it is empty

any update here?

closing for being inactive.


Header color change, fixes long list click

a UI update which includes following:

change of header color based on type of template selected. Provides more continuity and feel to app.

Refactors some code

fixes #364

@opticod it is done.
Changes made -

Header color change based on type of template
Refactoring of some code.

@opticod I have made the changes. Thanks for reviewing.


Phiola unable to split 192Khz/32bit float .wv file into .flac files nor .wav

Phiola unable to split 192Khz/32bit float .wv file into .flac files nor .wav.
I'musing phiola-cli on Ubuntu 22.04.
phiola convert '{path_to_cue}' -o "@tracknumber @title.flac" (I'm sorry for the guy I mentioned by mistake XD)
file info:

φphiola v2.2.7 (linux-amd64)

#1 " - " "/content/Iron Maiden/1980 - Iron Maiden (EMI - EMS-81327, Japan)/Iron Maiden - Iron Maiden (LP).wv" 1585.01MB 37:49.438 (435,732,241 samples) 5859kbps WavPack float32 192000Hz stereo

[................................................................] 0:00 / 37:49

Output:
Detected encoding: UTF-8-SIG
File converted to UTF-8 and overwritten: /content/Iron Maiden/1980 - Iron Maiden (EMI - EMS-81327, Japan)/Iron Maiden - Iron Maiden (LP) WV.cue
φphiola v2.2.7 (linux-amd64)

#1 "Iron Maiden - Prowler" "/content/Iron Maiden/1980 - Iron Maiden (EMI - EMS-81327, Japan)/Iron Maiden - Iron Maiden (LP).wv" 1585.01MB 3:54.000 (44,928,000 samples) 5859kbps WavPack float32 192000Hz stereo

#2 "Iron Maiden - Remember Tomorrow" "/content/Iron Maiden/1980 - Iron Maiden (EMI - EMS-81327, Japan)/Iron Maiden - Iron Maiden (LP).wv" 1585.01MB 5:28.000 (62,976,000 samples) 5859kbps WavPack float32 192000Hz stereo

[========================........................................] 1:29 / 3:5415:31:06.388 #8829 ERROR  dbus-sleep: ffps_systimer()
[=========================.......................................] 1:35 / 3:54
15:31:06.720 #8832 INFO   file-write: *3: 02 Remember Tomorrow.flac: written 63324KB

#3 "Iron Maiden - Running Free" "/content/Iron Maiden/1980 - Iron Maiden (EMI - EMS-81327, Japan)/Iron Maiden - Iron Maiden (LP).wv" 1585.01MB 3:16.000 (37,632,000 samples) 5859kbps WavPack float32 192000Hz stereo

[==========================......................................] 1:36 / 3:549:22
[===============================================================.] 3:53 / 3:54
15:31:16.583 #8829 INFO   file-write: *2: 01 Prowler.flac: written 161998KB
phiola crashed: /tmp/phiola-crashdump-67112dca.txt
"phiola" "convert" "/content/Iron Maiden/1980 - Iron Maiden (EMI - EMS-81327, Japan)/Iron Maiden - Iron Maiden (LP) WV.cue" "-o" "@tracknumber @title.flac"
phiola v2.2.7 (linux-amd64)
Signal:11  Address:0x00007d3268188002  Flags:2  Thread:8832

CUE:
REM GENRE Heavy Metal
REM DATE 1980
REM COMMENT EMI - EMS-81327, Japan, VINYLRIP by bruk67
PERFORMER "Iron Maiden"
TITLE "Iron Maiden (LP)"
FILE "Iron Maiden - Iron Maiden (LP).wv" WAVE
  TRACK 01 AUDIO
    TITLE "Prowler"
    PERFORMER "Iron Maiden"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Remember Tomorrow"
    PERFORMER "Iron Maiden"
    INDEX 01 03:54:69
  TRACK 03 AUDIO
    TITLE "Running Free"
    PERFORMER "Iron Maiden"
    INDEX 01 09:23:35
  TRACK 04 AUDIO
    TITLE "Phantom Of The Opera"
    PERFORMER "Iron Maiden"
    INDEX 01 12:40:30
  TRACK 05 AUDIO
    TITLE "Transylvania"
    PERFORMER "Iron Maiden"
    INDEX 01 20:05:56
  TRACK 06 AUDIO
    TITLE "Strange World"
    PERFORMER "Iron Maiden"
    INDEX 01 24:15:37
  TRACK 07 AUDIO
    TITLE "Charlotte The Harlot"
    PERFORMER "Iron Maiden"
    INDEX 01 29:57:66
  TRACK 08 AUDIO
    TITLE "Iron Maiden"
    PERFORMER "Iron Maiden"
    INDEX 01 34:11:34

Hi!
Looks like phiola crashed (probably due to some multithreading bug) after it has processed 2 files successfully.
Please try adding -workers 1 option to your command -- does it fix the issue?
In any case, can you post the contents of /tmp/phiola-crashdump-....txt file so I can see the details about the crash?
Also, debug log would be useful -- please add -D switch so that your command looks like this:
phiola -D -L phi.log convert path_to_cue -o "@tracknumber @title.flac"

and then post phi.log here.

Sorry for being late, I will do it tonight.

Hi! Looks like phiola crashed (probably due to some multithreading bug) after it has processed 2 files successfully.
Please try adding -workers 1 option to your command -- does it fix the issue?
In any case, can you post the contents of /tmp/phiola-crashdump-....txt file so I can see the details about the crash?
Also, debug log would be useful -- please add -D switch so that your command looks like this:
phiola -D -L phi.log convert path_to_cue -o "@tracknumber @title.flac"

and then post phi.log here.

using --workers 1 also gave the same problem, and about phi.log, it's 305K+ long.
https://pixeldrain.com/u/KKdWEHB9

Can you also post phiola-crashdump file?
The log file doesn't contain this info, so 2 files are needed together.
Github allows to post zip archives, so there should be no problem about text file size.

So my best guess is that phiola crashes when trying to parse a specific data chunk from your .wv file (maybe my wvpack parser bug), but I won't be able to reproduce this without your file.
Please reopen the issue when you have more info.