config.addcollection(notes) already exist

Hi, following my question in your theme project eleventy-garden, I tried your plugin and got an error :
[11ty] 1. Error processing the `BacklinksPlugin` plugin (via EleventyPluginError)
[11ty] 2. config.addCollection(notes) already exists. Try a different name for your collection. (via UserConfigError)

My steps

I added your plugin in my .eleventy.js :

const eleventyBacklinks = require('eleventy-plugin-backlinks');

module.exports = function(eleventyConfig) {

  // plugin to add backlinks
  eleventyConfig.addPlugin(eleventyBacklinks, {
		folder: '/notes', // The folder with your notes
                getData: 'description'
    });
[…]
}

I installed the plugin with npm install eleventy-plugin-backlinks
I commented notes.11tydata.js to avoid conflicts
In the include backlinks.html, I tried to get the description passed through with getData ?

  Backlinks

{%- if backlinks.length > 0 -%}

  {%- for link in backlinks -%}

        {{- link.title -}}
          {{- link.preview | markdownify -}}

  {%- endfor -%}

{%- else -%}

  Aucun backlink trouvé !

{%- endif -%}

And I got the collection error. Does your code is adding a collection note by itself then ?
How do we do to resolve this collection conflict ?
My .eleventy.js is indeed adding a collection, I don’t know if it’s your theme or the code I picked elswhere, but I’m pretty sure it’s needed elswhere in the code :
  eleventyConfig.addCollection("notes", function (collection) {
    return collection.getFilteredByGlob(["notes/*.md", "notes/Journal/*.md", "notes/Fakes/*.md"])
    .sort((a, b) => b.data.date - a.data.date);
  });

If I comment the collection code, I get another error linked to your plugin :
[11ty] options.getData is not a function (via TypeError)

Do I have to declare a getData function by myself to get the note.description I just want to get ?
Again, sorry for being such a newbie, I don’t understand js very well when it’s at this scope u_u
Thanks in advance,
Yazae

Ok so I don’t need this plugin anymore since your theme works with the very simple modification I found at least, so you can close this issue if needed. I still feel that the documentation should be a bit clearer that the note collection is handled by your plugin, but yeah I’m a newbie.
Thanks for your works, plugins and theme, it helps a lot navigating in eleventy!
Yazae


UI Adjustments

Adjust application to present results in a better UI/UX for others to debug/test without console.log

https://github.com/SAP/openui5/issues/873#issuecomment-439440641


Cannot watch demo video on homepage

Youtube says the video is "private".

@djmaze  sorry! fix it!

Thx. Now it says the video cannot be viewed in Germany because it may contain music by UMG which is not permitted by the German GEMA. That means licensing issues with the music in the video ;-/


Add APIs for InPlace upgrade

Description of changes:
/hold
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/close


Spike: Identify v0 and v1 path impact on the v2 path

Goal
The /v0/ and /v1/ have unit tests and possibly other functionality is impacting the /v2/ paths. Identify all of the legacy code that blocks and/or impacts the /v2/ path/testing and create ticket(s) to remove it.
Checklist

[ ] Tickets created to remove /v2/ blockers

Timebox
2 days.
Assumptions

This is not a spider web, if it is, reach out.

Additional Info/Resources

The work done in this ticket and the associated PR. Some of it had to change due to the /v0/ and /v1/ stuff.

Out of Scope

Fixing anything

Oops, ticket was duplicated.
That ticket is a little more descriptive, closing this one.


Dummy of Time should colour based on its wire colour

ie: not white - blue, red, or green

done in #257


Don't perform heavy computations on GUI Thread

Since we're using Qt5 anyway, might as well use its threading capabilities.
https://doc.qt.io/qt-5.10/thread-basics.html

Examples of appropriate solutions:
If we want to show progress:

Place the function in a reimplementation of QThread::run() and start the QThread. Emit signals to update progress.
OR Place the function in a reimplementation of QRunnable::run() and add the QRunnable to a QThreadPool. Write to a thread-safe variable to update progress.
OR Run the function using QtConcurrent::run(). Write to a thread-safe variable to update progress.

If we don't care about the progress:
Run the function using QtConcurrent::run(). Have a QFutureWatcher emit the finished() signal when the function has returned, and call QFutureWatcher::result() to get the function's return value.

TBH I feel showing 'progress' would be quite useful. e.g. our Delaunay algorithm is very slow. I kinda wanna see how slow.
Also, if we show 'progress'; it may be possible to "show" the current state of the algorithm?


netlink_linux type mismatch with go 1.5

When performing a build from Master on Power with the latest golang changes, I get the following error during a build:
mchasal@ubuntu1504:~/src/github.com/docker$ AUTO_GOPATH=1 ./hack/make.sh dynbinary
---> Making bundle: dynbinary (in bundles/1.7.0-dev/dynbinary)
github.com/docker/libcontainer/netlink
vendor/src/github.com/docker/libcontainer/netlink/netlink_linux.go:1261: cannot use ifrDataByte(hw[i]) (type int8) as type uint8 in assignment
Adding a typecast to the assignment clears the error. PR forthcoming with that change.

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

@mchasal make sure you create that PR in the right repository. Libnetwork is a "vendored" package; the repository can be found here; https://github.com/docker/libnetwork

Ehm, wrong "lib"; libcontainer can be found here; https://github.com/docker/libcontainer :)

Thanks for the repository pointer, I was creating it in the wrong places since it's in the docker tree.
#dibs and Additional info:
mchasal@ubuntu1504:~/src/github.com/docker$ uname -a
Linux ubuntu1504 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:13 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
mchasal@ubuntu1504:~/src/github.com/docker$ docker version
Client version: 1.7.0-dev
Client API version: 1.20
Go version (client): devel +70cf735 Tue Jun 2 13:55:40 2015 +0000
Git commit (client): 63b5d5f-dirty
OS/Arch (client): linux/ppc64le
Server version: 1.7.0-dev
Server API version: 1.20
Go version (server): devel +70cf735 Tue Jun 2 13:55:40 2015 +0000
Git commit (server): 63b5d5f-dirty
OS/Arch (server): linux/ppc64le
mchasal@ubuntu1504:~/src/github.com/docker$ docker info
Containers: 19
Images: 19
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 57
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.19.0-15-generic
Operating System: Ubuntu 15.04
CPUs: 1
Total Memory: 7.974 GiB
Name: ubuntu1504
ID: DH4G:2YEH:YPCX:RHP4:GY6D:TGDM:CYRK:RYO3:5UTB:2V5X:HXIO:QVMT
WARNING: No swap limit support

PR #625 in libcontainer created with a fix for this.

Great, @mchasal. Once that is merged in libcontainer and a new version is tagged, you can create a PR here to update the vendored version of libcontainer. This is done by updating the vendored version in hack/vendor.sh, and running that script.
An example of such a PR can be found here; https://github.com/docker/docker/pull/13893

ping @mchasal Is this something you still want to work on?

I'll check again, but I had looked a while ago and thought that it had already been pulled in. Perhaps during the changeover to runc. So I think this is complete.

Closing. Seems like solved.


Can't uninvite person when accidentally starting a private chat.

you can remove the invitee but he will still receive the invitation.

The invite cannot be removed. Probably because the invitee is also made admin, but it should still be possible to cancel the invite somehow.

right, there is no way by now to do it.


[Fix]:Fix active tab issue in light mode

Javascript selected

Typescript selected

@lauragift21 I added back the short code so you can see what it looks like now here https://fix-active-tab-issue.cloudflare-docs-7ou.pages.dev/pages/platform/functions/

Updated the description as well


[firebase_messaging] [IOS]Token invalid when I restart my App

I meet a problem when I use firebase_messaging plugin in iPhone 6 plus.
I can get valid token when I first open my App.
But when I kill my app and reopen it, token invalid.
This situation only happen in iPhone 6 and iPhone 6 plus
I try to mark all  firebase_messaging code, and reopen my app, token still invalid.
Does anyone meet this situation? How to solve it?
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.4 18E226, locale
zh-Hant-TW)
• Flutter version 1.2.1 at /Library/flutter
• Framework revision 8661d8aecd (3 months ago), 2019-02-14 19:19:53 -0800
• Engine revision 3757390fa4
• Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/jerry/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling
support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.2.1, Build version 10E1001
• ios-deploy 2.0.0
• CocoaPods version 1.6.1
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 31.3.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1136-b06)
[✓] IntelliJ IDEA Community Edition (version 2018.3.4)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 32.0.3
• Dart plugin version 183.5429.25

Hi,
i got this issue on an iPad 3 (iOS 9.3.5) and want to share some observations. On first install everything works fine. After restarting the app (via Android Studio, XCode or directly on the device) the token gets invalidated. In XCode (with -FIRDebugEnabled set) i get following logs on the second launch (not complete, just logs i think are relevant):
May 10 11:04:45  Runner[428] : 5.20.0 - [Firebase/InstanceID][I-IID013006] App reset detected. Will delete server registrations.
May 10 11:04:45  Runner[428] : 5.20.0 - [Firebase/InstanceID][I-IID021000] Unregister request to ...
May 10 11:04:46  Runner[428] : 5.20.0 - [Firebase/InstanceID][I-IID014007] Successfully deleted GCM server registrations on app reset
After the token is invalidated i always get "NotRegistered" errors when sending push notifications to this device. But the fcm token always stays the same so the only way to get a new fcm token is to deinstall the app and do a fresh install to trigger the fcm token recreation.
So it looks like APNs is invalidating the APNs token for some reason.
@falll2000 Do you get logs like this too? Just to get an indicator if we really got the same issue.
(Just for completeness: I thought i got another issue and commented here #30486  but now i think this is my real issue)
Thanks for any help
Jonas

So..., i hope i solved my issue. For me it looks like it was a CamelCased iOS bundle id. I am not completely certain but after changing the bundle id to just lower characters the issue disappeared.

No, I don't get "App reset detected. Will delete server registrations." message.
I update firebase_messaging's version to 5.0.1+1 and clean project build, the issue not show again. Maybe you can try to update your firebase_messaging version.
I am android engineer, so about apn server setting, I can't support you.
Hope you can solve this issue. :)

I think it's safe to close the issue.


use env defaults if unset for docker build clone

allows docker-compose up with no env variables to build from default repo/branch

Hold off on this -- found an issue with it..

Now it's ready.....


Add sentence tokenizer.

did you not want to merge this anymore?

Had a fatal typo in my changes (index.js).  Do you want to make a new pull request?

Its saying that the source repo is deleted so you'll need to resubmit it i think


Extending route with path params fails

Example from docs fails:
const {defineRoute, createRouter, param} = require("type-route")

const user = defineRoute(
    {
        userId: param.path.string
    },
    p => `/user/${p.userId}`
);

const { routes, listen } = createRouter({
    home: defineRoute("/"),
    userSummary: user.extend("/"),
    userSettings: user.extend("/settings"),
    userPostList: user.extend("/post"),
    userPost: user.extend(
        {
            postId: param.path.string
        },
        p => `/post/${p.postId}`
    )
});

TR1009 · All path parameters must be used in path construction.

- This problem occurred when building the route definition for the "userSummary" route.
- The path was constructed as `/user/undefined`
- The following parameters were not used: userId

Thanks for the PR! The fix is now released in v0.5.3


[Bug]: [React Native + Typescipt + React Native Responsive Screen] Jest encountered an unexpected token

Version
28.1.0
Steps to reproduce
Create a new React Native project, then add two file like this:
__tests__/demo.test.tsx
import { render } from "@testing-library/react-native";
import * as React from "react";
import MyComponent from "../src/components/MyComponent";

it("test MyComponent", () => {
  const { getByTestId } = render(<MyComponent />);
});

src/components/MyComponent
import * as React from 'react';
import {Text, View} from 'react-native';
import {heightPercentageToDP} from 'react-native-responsive-screen';

const MyComponent = () => {
   return (
    <View style={{flex: heightPercentageToDP('123')}}>
      <Text>Demo</Text>
    </View>
  );
};
export default MyComponent;

Expected behavior
Jest will work
Actual behavior
I got the following error:
Jest encountered an unexpected token

    Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

    Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

    By default "node_modules" folder is ignored by transformers.

    Here's what you can do:
     • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
     • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
     • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
     • If you need a custom transformation specify a "transform" option in your config.
     • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

    You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/configuration
    For information about custom transformations, see:
    https://jestjs.io/docs/code-transformation

    Details:

    <ROOT_DIR>/node_modules/react-native-responsive-screen/index.js:2
    import { Dimensions, PixelRatio } from 'react-native';
    ^^^^^^

    SyntaxError: Cannot use import statement outside a module

    > | import { heightPercentageToDP } from "react-native-responsive-screen";

Additional context
No response
Environment
System:
    OS: macOS 12.0.1
    CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
  Binaries:
    Node: 16.14.1 - ~/.nvm/versions/node/v16.14.1/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 8.5.0 - ~/.nvm/versions/node/v16.14.1/bin/npm
  npmPackages:
    jest: ^28.1.0 => 28.1.0

Here is my package.json:
"react": "17.0.2",
"react-native": "0.67.2",
"typescript": "^4.4.4"
"react-native-responsive-screen": "^1.4.2",

"@testing-library/jest-native": "^4.0.4",
"@testing-library/react-native": "^9.1.0",
"@types/jest": "^27.5.0",
"jest": "^28.1.0",
"ts-jest": "^28.0.2"

Here is my jest.config.js:
/*
 * For a detailed explanation regarding each configuration property, visit:
 * https://jestjs.io/docs/configuration
 */

module.exports = {
  // Indicates whether the coverage information should be collected while executing the test
  collectCoverage: true,

  // The directory where Jest should output its coverage files
  coverageDirectory: 'coverage',

  // A preset that is used as a base for Jest's configuration
  preset: 'react-native',
}

You need to either transpile node_modules to CJS or use ESM mode

@SimenB
Can you show me how?
The code?

This issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.


Add tutorial categories and filtering

What changed? Why?
Add tutorial categories and filtering

Notes to reviewers
N/A
How has it been tested?
Manually
Does this PR add a new token to the bridge?

[x] No, this PR does not add a new token to the bridge
[ ] I've confirmed this token doesn't use a bridge override
[ ] I've confirmed this token is an OptimismMintableERC20

Please include evidence of both confirmations above for your reviewers.

Review Error for jacob-moore-cb @ 2024-04-04 17:23:22 UTC
User failed mfa authentication, see go/mfa-help


[ZEPPELIN-1228] Make z.show() work with Dataset

What is this PR for?
z.show() does not work in spark 2.0
What type of PR is it?
Bug Fix
Todos

[x] - Make z.show() work with dataset
[x] - add a unittest

What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1228
How should this be tested?
case class Data(n:Int)
val data = sc.parallelize(1 to 10).map(i=>Data(i)).toDF
data.registerTempTable("data")
z.show(spark.sql("select * from data"))

Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

CI failure is irrelevant to this change.
Merge it to master and branch-0.6 if there's no more discussion.


Can't skip validation of self signed certificate

In my development environment my upstream server has a self signed certificate. I have tried using the --ssl-insecure-skip-verify=true option, but I still receive the following error:
2017/06/12 16:46:22 reverseproxy.go:316: http: proxy error: x509: certificate signed by unknown authority

I am seeing the same issue.

@ediaz030, which provider are you using? I encountered this with the OIDC provider (#389) due to a bug in Validate in options.go.

Same issue here using Gitlab as a provider

#362 added this option by setting a custom http.DefaultClient, but it looks like what needs to be changed is http.DefaultTransport because that's what httputil.ReverseProxy uses if a custom Transport is not set for it.
(DefaultClient defaults to DefaultTransport, but it looks like ReverseProxy does not use DefaultClient)
There appear to be no pull requests that attempt to fix this yet, yours could be the first. (No promises on review or merging though, this repo is somewhat under-maintained.)


How can I disable klog output?

Client-go always outputs a lot of unnecessary logs， Like the following
E0529 09:26:16.674605   39112 v2.go:105] sockjs: session not in open state
E0529 09:26:16.715718   39112 v2.go:147] sockjs: session not in open state

How can I disable the output?

/reopen

I think default forced logging should be disabled to let users choose whether they need

If some will looking for workaround
func loadKubeconfig(kubeconfig string) (*rest.Config, error) {
	if kubeconfig != "" {
		kubeconfigBytes, err := ioutil.ReadFile(kubeconfig)
		if err != nil {
			return nil, err
		}

		return clientcmd.RESTConfigFromKubeConfig(kubeconfigBytes)
	}
	return rest.InClusterConfig()
}

I encountered this problem.
In my case, I sometimes get the following error message in https://github.com/kubernetes/client-go/blob/master/tools/leaderelection/leaderelection.go#L330 via https://github.com/kubernetes-sigs/aws-load-balancer-controller like:
E0922 09:08:30.126551       1 leaderelection.go:320] error retrieving resource lock kube-system/aws-load-balancer-controller-leader: etcdserver: leader changed

However, since there is no problem on the caller side, I would like to ignore this log.


Setuid/Setgid for VM Templates

Enhancement Request
Description
This feature intends to enhance the user and group ownership of a VM instantiated from a particular VM Template.
This entails the creation of a new way of defining special permission for owners (similar to setuid in unix filesystems) and groups (similar to setgid in unix filesystems).
Use case
This feature enables the use case of a VM Template that will get instantiated always under a particular username or group, inheriting the permissions and visibility of those users/groups.
Interface Changes
This new setting would be available through special attributes in the VM Template, that will be made available in Sunstone in the VM Template editions and VM instantiation from VM Template dialogs, as well as in the CLI “onetemplate instantiate” command
Sunstone extensions
The following dialogs would be enhanced to offer the setuid/setgid functionality:
VM Template instantiation. Two dropdowns to select instantiate as user and/or group.
VM Template update. Two dropdowns to select instantiate as user and/or group.
CLI extensions
Two new flag for the “onetemplate instantiate” operation:
--instantiate_as_uid
--instantiate_as_gid
Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

duplicated #1913


fix #196, yet better statement selection logic

refactor the statement selection logic with https://github.com/JuliaDebug/LoweredCodeUtils.jl/pull/65
add a simple control flow analysis to find a "loop" region, and require every statement involved with the loop if there is any critical initial requirement involved
also enable analysis even with un-concretized exceptions: https://github.com/JuliaDebug/JuliaInterpreter.jl/pull/482
as a consequence, this PR fixed many broken test cases

make concretization_patterns configuration work on surface-level AST, and fix the concretization of @enum macro expansion !
It turns out that it's so hard to setup a generalized statement
selection logic which works correctly on the expression expanded from
@enum macro; I'd like to omit the detail here, but it's fairly complex
and especially the let insts = (Any[ $(esc(typename))(v) for v in $values ]...,)
part requires the logic to choose statements that only pushes elements
into a slot representing an array (insts), which is very hard to be
generalized.
So to fix this issue, I'd like to handle it as one of pre-defined
concretization patterns.
Since it works on macro, now concretization_patterns needs to work on
surface level AST, and the most of the changes in this commit comes
from that part. It's breaking but it should be more user-friendly if
the configuration works o surface level AST instead of lowered representation.

Codecov Report

Merging #201 (1d32abb) into master (6357c9a) will increase coverage by 1.20%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #201      +/-   ##
==========================================
+ Coverage   86.43%   87.64%   +1.20%
==========================================
  Files          11       12       +1
  Lines        1460     1522      +62
==========================================
+ Hits         1262     1334      +72
+ Misses        198      188      -10

Impacted Files
Coverage Δ

src/JET.jl
73.09% <ø> (-0.13%)
:arrow_down:

src/abstractinterpretation.jl
98.25% <100.00%> (+2.13%)
:arrow_up:

src/graph.jl
100.00% <100.00%> (ø)

src/virtualprocess.jl
98.08% <100.00%> (+0.08%)
:arrow_up:

src/typeinfer.jl
90.72% <0.00%> (-0.10%)
:arrow_down:

src/tfuncs.jl
98.03% <0.00%> (-0.08%)
:arrow_down:

src/reports.jl
90.05% <0.00%> (-0.06%)
:arrow_down:

... and 1 more

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 6357c9a...1d32abb. Read the comment docs.

This PR will require https://github.com/FluxML/MacroTools.jl/pull/161 to be merged.

Pretty good in shape, will merge once CI passes.


Allow to force baseURL

Does not override EMBER_CLI_INJECT_LIVE_RELOAD_BASEURL if already defined.
This allows an independent development server (not the express one bundled with ember-cli)  to serve several apps while being live-reloaded.

Was going to do something similar. This is actually pretty handy in some weird contexts, such as ember-cli-deploy's lightning fast development method. When the template is pulled in via redis and injected into a local rails app, the path to livereload points to an asset relative to the rails app, where if the URL is http://localhost:4200/ember-cli-live-reload.js it works fine. The current plugin doesn't allow this change.

:+1: Happy to see someone else with the same use case.

@jbescoyez : @typeoneerror just pointed me at this one.
I was working on something similar with @elucid a while ago but never got to finish the PR
https://github.com/ghedamat/ember-cli-inject-live-reload/commit/10f19d580785c6f99573703dd51703bd1f5444ae
Definitely a use case we encountered with ember-cli-deploy and development workflows

@rwjblue Do you think this one could be merged?

One thing I'd like to mention: the other options here can be configured via .ember-cli, whereas with the above solution, you must use an environment variable. I would prefer to have something where this can be set in .ember-cli.

Updated in order to allow configuration through .ember-cli. Related to: https://github.com/ember-cli/ember-cli/pull/5132

Hi all,
Following @elucid suggestion, I made it available through ember-cli.
@stefanpenner just approved my PR in ember-cli: ember-cli/ember-cli#5132 .
The last step is to make it happen here.
@rwjblue Do see any objection to merge this PR? Tnx.

Published as 1.4.0

:boom: thanks!

:muscle: this is awesome!


Landing page: new header for "Built with AMP Start"

Current text would make sense with external sites, but it's hard to understand how these templates differ from the baseline themes. New text could help contextualize in the short term

this needs new copy.


(De) serialize resources in scenes

Objective
Fixes #3576.
Adds a resources field in scene serialization data to allow de/serializing resources that have reflection enabled.
Solution
Most of this code is taken from a previous closed PR: https://github.com/bevyengine/bevy/pull/3580. Most of the credit goes to @Davier , what I did was mostly getting it to work on the latest main branch of Bevy, along with adding a few asserts in the currently existing tests to be sure everything is working properly.
This PR changes the scene format to include resources in this way:
(
  resources: {
    // List of resources here, keyed by resource type name.
  },
  entities: [
    // Previous scene format here
  ],
)

An example taken from the tests:
(
  resources: {
    "bevy_scene::serde::tests::MyResource": (
      foo: 123,
    ),
  },
  entities: {
    // Previous scene format here
  },
)

For this, a resources fields has been added on the DynamicScene and the DynamicSceneBuilder structs. The latter now also has a method named extract_resources to properly extract the existing resources registered in the local type registry, in a similar way to extract_entities.

Changelog
Added: Reflect resources registered in the type registry used by dynamic scenes will now be properly de/serialized in scene data.
Migration Guide
Since the scene format has been changed, the user may not be able to use scenes saved prior to this PR due to the resources scene field being missing. To preserve backwards compatibility, I will try to make the resources fully optional so that old scenes can be loaded without issue.
TODOs

[x] I may have to update a few doc blocks still referring to dynamic scenes as mere container of entities, since they now include resources as well.
[ ] I want to make the resources key optional, as specified in the Migration Guide, so that old scenes will be compatible with this change. Since this would only be trivial for ron format, I think it might be better to consider it in a separate PR/discussion to figure out if it could be done for binary serialization too.
[x] I suppose it might be a good idea to add a resources in the scene example so that users will quickly notice they can serialize resources just like entities.

I'm not sure writing a scene to a world should always write the resources. Unlike entities, this would overwrite existing resources. This seems like a desirable behaviour sometimes but not always.

I'm not sure writing a scene to a world should always write the resources. Unlike entities, this would overwrite existing resources. This seems like a desirable behaviour sometimes but not always.

Theoretically this should only overwrite the resources selected by the user in their passed AppTypeRegistry, right? Is there a reason they would choose to serialize a resource but not have it be deserialized? I guess if you want to write just the entities to a particular world, but I'm not sure 🤔

Yes, but that would mean having multiple registries depending on what you would want to do. It's easier to think with one registry per scene.
I am not sure having the same behavior for entities and resources makes sense, writing the entities only create new ones, writing resources replace them. Having that being implicit doesn't feel nice, I may be wrong.

A reason to not want to rewrite them would be for a reusable scene that can need a few resources on its first spawn, but can reuse them after

Yeah this is what I think this is really needed for. For scenes that are more like save files, this really helps restore the full world state (well, more or less).
But I think this type of scene will generally be treated much differently than a transient one (e.g. networking) or ones that are written to a world multiple times (e.g. prefabs). So in these cases, we can expect them to rely on different filters. And this can be made a lot nicer with something like #6793 where we have an actual filter type rather than multiple registries.
So imo this PR would be really nice to have.

I'm not sure writing a scene to a world should always write the resources. Unlike entities, this would overwrite existing resources. This seems like a desirable behaviour sometimes but not always.

Sorry for the late answer. I understand this might not always be the desired behaviour, but I think it's an acceptable default behaviour. The reason for this is that resources represent globally unique data in a Bevy app, therefore it seems natural to me that deserialization implies overwriting the current values with the loaded ones. The only other ideas that I can think of would be either manually handling deserializing a resource, or having some sort of scene-scoped resource.

The manual deserialization doesn't seems to be doable right now in an easy way, if I understood correctly. There needs to be some sort of hook prior to writing a dynamic scene to a world, to allow the user to be able to access both the old resource data and the loaded one, to decide what the final data should be. Since DynamicScene.write_to_world_with has a mutable ref to World, this should be doable I think.
Scene scoped resources sound complex to do and I'm honestly not sure if it would be worth it and what changes it would imply for bevy_ecs.

As @MrGVSV stated, using a specific AppTypeRegistry is the most obvious answer to circumvent this problem. I think this issue is similar to the one I had in my project, where using the world AppTypeRegistry caused the resulting serialized scene data to be bloated with components which the user may want to omit to, instead, recreate them on load manually (like in my case for my app). With my limited use of registries, I also think it should be unique and creating one for each use case within a single app feels confusing. In my opinion, the registry should specify which reflected types are registered, not which ones the user might be interested in de/serializing at a specific time.
For this reason. I believe moving the latter functionality to a filter type like @MrGVSV suggested in his draft PR (#6793) is the best solution for both problems (component serialization bloat and specifying which resources to de/serialize). Maybe manual deserialization for resources could also be implemented so that the user can implement some sort of trait (or reuse something like FromReflect?) to specify exactly what data a loaded resource should have.

I resolved the conflicts, added a test in the dynamic_scene_builder.rs to test the extract_method in detail and removed the world argument in favor of self.original_world to be consistent with the extract_entities method. The PR should be ready, I believe.


Update translations: fix typos

According to the translation rules, attraction buildings need a short name and blank line before the description. Since the lighthouses and the central park were missing them, the long description was used in the auto-generated station names.
I also found a few other typos.

Hello Andreas,
thank you very much for your work! Unfortunately this mirror repository of simutrans pak128 became stale. (As there was no interest whatsoever in a mirror on github). The current version is on SourceForge: https://svn.code.sf.net/p/simutrans/code/pak128/
The translation file has been updated considerably since:
https://svn.code.sf.net/p/simutrans/code/pak128/pak128.prototype/text/en.tab
Could you please check if the errors you found are still in it and patch against it? You can then post that patch either yourself to forum.simutrans.com, or I can do it on your behalf.
regards
gs

Okay, thanks. I'll check the SourceForge repository.

Most fixes still apply. I posted the patch here:
http://forum.simutrans.com/index.php?topic=14837.0
(I hope this is the right place and format.)

Hi Andreas,
I've seen that thread and that an_dz has helped you. Sorry for the extra
complication, that it is not directly patched into it, but goes through an
antique translation management system. At some point the (new) maintainer
of pak128 has to download the files from simutranslator and replace those
in the svn with them. The project was started 20 years ago, and therefore
there are a lot of legacies involved.
I've just read in the forum that others seen tried to fix the same or
similar things in June but didn't get it through because of the translator
page.
regards,
gs
ps.: I shall have a look into syncing the git repo with the svn manually,
after all updates to the svn are infrequent.
On Sun, 18 Oct 2015 at 13:44 Andreas<EMAIL_ADDRESS>wrote:

Most fixes still apply. I posted the patch here:
http://forum.simutrans.com/index.php?topic=14837.0
(I hope this is the right place and format.)
—
Reply to this email directly or view it on GitHub
https://github.com/simutrans/pak128/pull/1#issuecomment-149034045.

No worries! Thanks for pointing me in the right direction!


pm2: init at 4.5.0

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build pm2

Resolved by https://github.com/NixOS/nixpkgs/pull/99992


Allow access to inspect the "spec" of a Deployment

Description of the feature or enhancement:
While it's nice to be able to view some of the attributes on the Deployment like api_version and kind it would also be nice to be able to look at the spec.
Use Case:
I'm trying to create some "standard" resource functions to make it easier for my coworkers to create k8s deployments.
One thing I would like to do is ensure that the "liveness_probe" and the "readiness_probe" on Deployments have been set.
I would like to be able to have the ability to view the rest of the constructs that create the Deployment.
ie:
deployment.spec.template.spec.containers.liveness_probe

Maybe there's a way that I can access this information and it's just not apparent to me :(
Proposed Solution:

Other:

[ ] :wave: I may be able to implement this feature request
[ ] :warning: This feature might incur a breaking change

This is a :rocket: Feature Request

@fxdgear You can actually achieve this right now. If you're using the L1 construct, i.e KubeDeployment, you can do:
const livenessProbe = kubeDeployment.toJson().spec.containers[0].liveness_probe

If you are using the L2 construct, you can do:
const livenessProbe = ApiObject.of(deployment).toJson().spec.containers[0].liveness_probe

I will leave this issue as a feature request though because we might consider adding more natural support for this.
Thanks!

Duplicate of https://github.com/cdk8s-team/cdk8s-core/issues/36

Doing this in golang is a bit harder though

But if toJson works, why can't it just be exposed then?
deployment.toJson() as KubeDeploymentProps
Why can't the props be accessed directly?

@iliapolo


Update constants.py

added a few comments in file for readability.

I think they're pretty obvious, we can do without them.


runtime: segmentation fault on linux/arm when GODEBUG=sbrk=1

What version of Go are you using (go version)?

$ go version
go version go1.12.5 linux/amd64

Does this issue reproduce with the latest release?
i can reproduce with go version devel +5bc46cb712 Wed Jul 17 17:34:32 2019 +0000 linux/amd64.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/mischief/.cache/go-build"
GOENV="/home/mischief/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/mischief/code/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/mischief/src/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/mischief/src/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/mischief/src/go/src/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build205075811=/tmp/go-build -gno-record-gcc-switches"

What did you do?
i compiled this code (example code from log/syslog) https://play.golang.org/p/at82pgxjDf1 with GOARCH=arm GOARM=7 from linux/amd64, and executed it on a arm system.
if i execute the program normally, it succeeds. if i execute the program with GODEBUG=sbrk=1, the program will panic:
# ./syslogger
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x4 pc=0x123d0]

goroutine 1 [running]:
internal/poll.(*fdMutex).rwlock(0x66c63024, 0xabe00, 0x66c64a50)
        /home/mischief/src/go/src/internal/poll/fd_mutex.go:132 +0x68
internal/poll.(*FD).writeLock(...)
        /home/mischief/src/go/src/internal/poll/fd_mutex.go:239
internal/poll.(*FD).Write(0x66c63024, 0x66c64a90, 0x4a, 0x80, 0x0, 0x0, 0x0)
        /home/mischief/src/go/src/internal/poll/fd_unix.go:255 +0x40
net.(*netFD).Write(0x66c63024, 0x66c64a90, 0x4a, 0x80, 0x115245, 0x0, 0xa4b40)
        /home/mischief/src/go/src/net/fd_unix.go:220 +0x38
net.(*conn).Write(0x66c64208, 0x66c64a90, 0x4a, 0x80, 0x0, 0x0, 0x0)
        /home/mischief/src/go/src/net/net.go:189 +0x58
fmt.Fprintf(0x66c64968, 0x66c64208, 0x115239, 0x13, 0x204fe30, 0x6, 0x6, 0x66c64930, 0xf, 0x0)
        /home/mischief/src/go/src/fmt/print.go:205 +0x78
log/syslog.(*netConn).writeString(0x66c6420c, 0x1c, 0x66c62f80, 0x4, 0x1130c4, 0x7, 0x66c644e0, 0x26, 0x11298e, 0x1, ...)
        /home/mischief/src/go/src/log/syslog/syslog.go:289 +0x1d8
log/syslog.(*Writer).write(0x66c62f84, 0x1c, 0x66c644e0, 0x26, 0x26, 0x66c644b0, 0x0)
        /home/mischief/src/go/src/log/syslog/syslog.go:273 +0xa8
log/syslog.(*Writer).writeAndRetry(0x66c62f84, 0x1c, 0x66c644e0, 0x26, 0x0, 0x0, 0x0)
        /home/mischief/src/go/src/log/syslog/syslog.go:254 +0x134
log/syslog.(*Writer).Write(0x66c62f84, 0x66c644b0, 0x26, 0x30, 0x0, 0x0, 0x205afc0)
        /home/mischief/src/go/src/log/syslog/syslog.go:175 +0x64
fmt.Fprintf(0x135228, 0x66c62f84, 0x119201, 0x26, 0x0, 0x0, 0x0, 0x66c62f84, 0x0, 0x0)
        /home/mischief/src/go/src/fmt/print.go:205 +0x78
main.main()
        /home/mischief/code/go/src/github.com/mischief/crap/cmd/syslogger/main.go:14 +0xcc

What did you expect to see?
no panic.
What did you see instead?
a panic.

@aclements @mknyszek Do we expect GODEBUG=sbrk=1 to work?

Not especially, no.
That said, the panic is actually an unaligned 64-bit atomic access to fdMutex.state. I'm pretty sure that's because sbrk mode takes the alignment from the type if it can, and the alignment of uint64s is only 4 bytes on 32-bit (issue #599, sigh). The type is large enough that with the normal allocator it will always be at least 8 byte aligned, but sbrk mode has weaker alignment.

this still occurs with cl 186919 (go version devel +f518a96e00 Fri Jul 19 20:08:48 2019 +0000 linux/amd64). is that expected because of #599?

No, that commit should have fixed it... Could you post an updated traceback (or a few so I can look for patterns)?
Also, what's the reason for using sbrk mode? Do you actually need it, or was this just an experiment? I can't even recall the last time we used that to debug something, so another option is to just remove it.

@aclements i was interested in sbrk mode because i was experimenting with putting hard caps on memory use for go programs. we have an old (3 series right now, maybe 4.4 soon :cry:) kernel, and it seems that setrlimit(2) with RLIMIT_DATA does not apply to mmap until linux 4.7.

here's syslog.test executing natively on arm, cross-compiled with go version devel +f518a96e00 Fri Jul 19 20:08:48 2019 +0000 linux/amd64.
# ls -l syslog.test
-rwxr-xr-x 1 root root 3880115 Jul 22 17:46 syslog.test
# file syslog.test
syslog.test: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, not stripped
# ./syslog.test
PASS
# export GODEBUG=sbrk=1
# ./syslog.test
--- FAIL: TestFlap (5.00s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x4 pc=0x123d0]

goroutine 34 [running]:
testing.tRunner.func1(0x66c7c278)
        /home/mischief/src/go/src/testing/testing.go:874 +0x360
panic(0x172310, 0x2b07c8)
        /home/mischief/src/go/src/runtime/panic.go:679 +0x194
internal/poll.(*fdMutex).rwlock(0x66c7dc34, 0x0, 0x66c7e250)
        /home/mischief/src/go/src/internal/poll/fd_mutex.go:132 +0x68
internal/poll.(*FD).writeLock(...)
        /home/mischief/src/go/src/internal/poll/fd_mutex.go:239
internal/poll.(*FD).Write(0x66c7dc34, 0x66c7e290, 0x37, 0x40, 0x0, 0x0, 0x0)
        /home/mischief/src/go/src/internal/poll/fd_unix.go:255 +0x40
net.(*netFD).Write(0x66c7dc34, 0x66c7e290, 0x37, 0x40, 0x19811f, 0x0, 0xb8d0c)
        /home/mischief/src/go/src/net/fd_unix.go:220 +0x38
net.(*conn).Write(0x66c7de28, 0x66c7e290, 0x37, 0x40, 0x0, 0x0, 0x0)
        /home/mischief/src/go/src/net/net.go:189 +0x58
fmt.Fprintf(0x66c7df98, 0x66c7de28, 0x19811f, 0x16, 0x144fdc4, 0x7, 0x7, 0x66c7df50, 0x14, 0x0)
        /home/mischief/src/go/src/fmt/print.go:205 +0x78
log/syslog.(*netConn).writeString(0x66c7de2c, 0xe, 0x66c7db90, 0x4, 0x195953, 0xb, 0x1942e3, 0x5, 0x193f1c, 0x1, ...)
        /home/mischief/src/go/src/log/syslog/syslog.go:295 +0x3c8
log/syslog.(*Writer).write(0x66c7db94, 0xe, 0x1942e3, 0x5, 0x0, 0x0, 0x4)
        /home/mischief/src/go/src/log/syslog/syslog.go:273 +0xa8
log/syslog.(*Writer).writeAndRetry(0x66c7db94, 0x6, 0x1942e3, 0x5, 0x0, 0x0, 0x0)
        /home/mischief/src/go/src/log/syslog/syslog.go:254 +0x134
log/syslog.(*Writer).Info(...)
        /home/mischief/src/go/src/log/syslog/syslog.go:236
log/syslog.TestFlap(0x66c7c278)
        /home/mischief/src/go/src/log/syslog/syslog_test.go:184 +0x1ec
testing.tRunner(0x66c7c278, 0x19ee18)
        /home/mischief/src/go/src/testing/testing.go:909 +0xa8
created by testing.(*T).Run
        /home/mischief/src/go/src/testing/testing.go:960 +0x2ac
#

@mischief, sbrk=1 mode isn't going to help with hard caps on memory use. sbrk=1 mode means that nothing ever gets freed or garbage collected, so the heap size just grows monotonically. However, it does not actually mean Go uses the brk system call, so RLIMIT_DATA shouldn't have any effect on Go processes prior to Linux 4.7.
Even as of Linux 4.7, RLIMIT_DATA doesn't make much more sense than RLIMIT_AS. All of these memory rlimits apply to mapped address space, but mapped address space costs nothing, so it doesn't make much sense to limit it. That said, Go does try to be somewhat conservative with address space, but will grab 64MiB at a time and never returns address space to the OS (even if it is returning memory to the OS).
The only effective way to limit a process' physical memory use on Linux that I'm aware of is to use memory cgroups.
What is the output of go version syslog.test?
(For my own reference, the implementation and description of the RLIMIT_DATA change is in torvalds/linux@84638335900f1995495838fe1bd4870c43ec1f67)

$ go version syslog.test
syslog.test: devel +f518a96e00 Fri Jul 19 20:08:48 2019 +0000

FYI this still crashes with an alignment error, but it seems that GODEBUG=sbrk=1 is not really something to be supported, so i will just close this out.
mischief@beast:~/code/go $ vim syslog.go
mischief@beast:~/code/go $ go version
go version go1.21.4 linux/amd64
mischief@beast:~/code/go $ GOARCH=arm GOARM=7 go build syslog.go
mischief@beast:~/code/go $ qemu-arm ./syslog
2023/12/11 19:02:30 dial tcp [::1]:1234: connect: connection refused
mischief@beast:~/code/go $ GODEBUG=sbrk=1 qemu-arm ./syslog
panic: unaligned 64-bit atomic operation

goroutine 17 [running]:
runtime/internal/atomic.panicUnaligned()
        /usr/lib/go/src/runtime/internal/atomic/unaligned.go:8 +0x24
runtime/internal/atomic.Load64(0x3789170c)
        /usr/lib/go/src/runtime/internal/atomic/atomic_arm.s:280 +0x14
internal/poll.(*fdMutex).increfAndClose(0x3789170c)
        /usr/lib/go/src/internal/poll/fd_mutex.go:73 +0x20
internal/poll.(*FD).Close(0x3789170c)
        /usr/lib/go/src/internal/poll/fd_unix.go:91 +0x20
net.(*netFD).Close(0x3789170c)
        /usr/lib/go/src/net/fd_posix.go:37 +0x44
net.(*conn).Close(0x378917d0)
        /usr/lib/go/src/net/net.go:203 +0x30
net.srcAddrs({0x37891680, 0x2, 0x2})
        /usr/lib/go/src/net/addrselect.go:54 +0x1f8
net.sortByRFC6724({0x37891680, 0x2, 0x2})
        /usr/lib/go/src/net/addrselect.go:18 +0x38
net.goLookupIPFiles({0x111c97, 0x9})
        /usr/lib/go/src/net/dnsclient_unix.go:583 +0x2a8
net.(*Resolver).goLookupIPCNAMEOrder(0x1c7d40, {0x137ad4, 0x3788df10}, {0x1104bc, 0x3}, {0x111c97, 0x9}, 0x1, 0x3788e1f4)
        /usr/lib/go/src/net/dnsclient_unix.go:598 +0x6c
net.(*Resolver).lookupIP(0x1c7d40, {0x137ad4, 0x3788df10}, {0x1104bc, 0x3}, {0x111c97, 0x9})
        /usr/lib/go/src/net/lookup_unix.go:72 +0x120
net.glob..func1({0x137ad4, 0x3788df10}, 0x3788def8, {0x1104bc, 0x3}, {0x111c97, 0x9})
        /usr/lib/go/src/net/hook.go:23 +0x4c
net.(*Resolver).lookupIPAddr.func1()
        /usr/lib/go/src/net/lookup.go:324 +0x5c
internal/singleflight.(*Group).doCall(0x1c7d48, 0x3788dfe8, {0x3788df50, 0xd}, 0x3788df60)
        /usr/lib/go/src/internal/singleflight/singleflight.go:93 +0x1c
created by internal/singleflight.(*Group).DoChan in goroutine 1
        /usr/lib/go/src/internal/singleflight/singleflight.go:86 +0x324


option: remove IngressPolicy and EgressPolicy endpoint options

These options are no longer configurable. Remove them from the list of configurable options for endpoint accordingly.
When I removed these options, when I restored endpoints, I discovered a nil-pointer deference bug in pkg/option. Fixed that as well.
Fixes: 05f6441ade8b ("endpoint: remove POLICY_*GRESS ifdefs")
Signed-off by: Ian Vernon<EMAIL_ADDRESS>

This change is

test-me-please


cannot pass key prop to ListGroupItem

components: ListGroupItem
reactstrap version 7.1.0

Warning: Each child in a list should have a unique "key" prop.

Cannot reproduce: https://stackblitz.com/edit/reactstrap-1433?embed=1&file=Example.js
Every prop that reactstrap doesn't use gets passed down. Just pass key prop to the ListGroupItem component.
https://github.com/reactstrap/reactstrap/blob/2f5edcc6841dd6f506fb7c440821bdf9261d21ce/src/ListGroupItem.js#L24-L51

I can confirm the mentioned problem persists with version 8.0.0

What was the problem with the structure of the components?


USB:  cdc_acm: Fixes sample

Write all data in a loop fixing remaining data missing for the sample.

CC @IvanSanchez

Codecov Report

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

@@           Coverage Diff           @@
##           master    #6608   +/-   ##
=======================================
  Coverage   53.51%   53.51%
=======================================
  Files         437      437
  Lines       41420    41420
  Branches     7935     7935
=======================================
  Hits        22165    22165
  Misses      16038    16038
  Partials     3217     3217

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 d6e3f22...8e5290d. Read the comment docs.

CC @sundar-subramaniyan

Updated commit message


Error when creating new pull request

I click on "plus" icon to create new pull request. Branch name defaults to the "Master". If i type in the branch name i want and choose any option (commit branch, custom) i get and error
Creating pull requests for 'BeamSuntoryInc:AKTest' failed: Validation Failed: Value "undefined" cannot be set for field undefined (code: custom)

I get the same issue, even trying open PR to master by default, the error is completely unhelpful


Add options to LogMiddleware instead of having two versions

LogMiddleware and DebugLogMiddleware

Also remove the extra new line

closed by https://github.com/Zewo/LogMiddleware/pull/1 https://github.com/Zewo/LogMiddleware/pull/2


Bug #1 - Login and Registration Issue

I encountered an issue while attempting to log in and register on the website. Whenever I click on the input field, it automatically redirects me to the home page. This problem is consistent in both the login and registration processes.
Possible Solutions:
I recommend trying the following steps to resolve the issue:
Clear the caches: Run the following command in your terminal:

php artisan cache:clear
Clear the routes: Execute the following command:
php artisan route:clear
Clear the views: Use the following command:
php artisan view:clear
Clear the configuration cache (if necessary): Use the command:
php artisan config:clear
These commands should help clear any cached data that might be causing the redirection problem. After executing these steps, please try logging in and registering again to see if the issue persists.
Please let me know if you need any further assistance or if there's any additional information that would be helpful in resolving this issue.

The Error is due to Session.

Check the Image:
The Sessions are created and a href link is added automatically! checkout in the image

Re-created the Module


pasta

Add pasta
[ ] Done
pasta
好用的剪切板
Issue Checklist
Put an x in the boxes once you've completed each step. You can also fill these out after creating the issue. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before responding to the issue.

[x] I have checked for other similar issues
[ ] I have explained why this change is important
[ ] I have added necessary documentation (if appropriate)

Nevermind


Write Kafka Connect SMTs for OpenCDC <-> other formats

Feature description
Write Kafka Connect SMTs to transform OpenCDC to Kafka Connect, Debezium, and Debezium Mongo formats. Vice versa is also needed (Kafka Connect, Debezium, Debezium Mongo to OpenCDC).

We don't really have a timeline on the schema normalization work so this can be delayed and doesn't need to be in the next conduit release.


No force setting a cookie in localStorage when theme mode stays at default

[x ] I have searched the Issues to see if this bug has already been reported
[ x] I have tested the latest version

Steps to reproduce

Create a gatsbyjs project
Install Flowbite and Flowbite-react
Implement  component without setting a theme
Develop with 'Gatsby develop'
Take a look into local storage in browser

Current behavior
The 'flowbite-theme-mode' cookie is ALWAYS being set even if no theme mode being used.
Expected behavior
Having control over what cookie being set or at least fix a default value somewhere else preventing a cookie being set, when no theme mode is being used. I expect a default value written in the codes core not in a cookie.
Context
I tried to remove the cookie by code. Since I am using multiple templates, I tried removing it with onClientEntry and onInitialClientRender which will only succeed once. As soon as the site being reloaded, the cookie is back.
There seems to be no option to control this cookie. Searching the code also results in nothing. I could not find anything to control this cookie. I do use a custom theme but with no theme mode. It should be light by default, but it should definitely not being read from the local storage but being set internally. It does not make much sense to force write a default value into a cookie when this value will never ever change.
No dark mode, just default light mode.
If you dont respect GDPR because it is annoying we can team up: I dont like the rules either!
But reading  default values from a cookie which is written by default does not make a lot of sense. Store the default values in the core, not in a cookie.
NOTE: I know some people are allergic on this specific issue. You can detach this from the GDPR topic and focus on NOT setting a cookie when there is no theme mode.

Hey there, I agree with u on this one.
There is an amount of work regarding this issue as well in the #1498 PR that is coming soon, offering full control over the "subscribe" method and local-storage sync.
So stay tuned.

Great! Is there any temporarily workaround avoiding the cookie to be set at all?

Currently the LocalStorage value is being set by the hook called useThemeMode() which is also rendered inside <Flowbite /> react component.
Currently the only way to avoid it is to avoid using <Flowbite /> and useThemeMode(), until we get the PR going.


terminal.integrated.env cant' change PATH correctly for tasks

Can't change PATH correctly for tasks.
Version: 1.96.0
Commit: 138f619c86f1199955d53b4166bef66ef252935c
Date: 2024-12-11T02:29:09.626Z (4 days ago)
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin x64 24.1.0
Steps to Reproduce:
settings.json
    "terminal.integrated.env.osx": {
        "PATH": "env:is:here:${env:PATH}"
    }

tasks.json
        {
            "label": "test",
            "group": {
                "kind": "test",
                "isDefault": true
            },
            "type": "shell",
            "command": "echo $PATH"
         }

Result when running task:
/usr/local/bin:/System/Cryptexes/App/usr/bin: ...:env:is:here:/Users/someuser/.local/opt/make/libexec/gnubin:...
Expected:
env:is:here:/usr/local/bin:/System/Cryptexes/App/usr/bin:/Users/someuser/.local/opt/make/libexec/gnubin...
Real problem is that i can't change for vscode tasks system make (which is in /usr/local/bin) to gnumake (which is .local/opt/make/libexec/gnubin) because i can't get full control of PATH variable from vscode.

Solved my problem when find out how to force tasks use login shell:
    "terminal.integrated.profiles.osx": {
        "zsh": {
            "path": "/bin/zsh",
            "args": [
                "-i"
            ]
        }
    }

That's not the best decision but at least now i can add something to begin of my PATH variable through .zshrc


Would be nice to have a flag for bots

Yes, this can be a nice feature, I will investigate a bit whether we can determine easily from the user agent string if the agent is a bot.

I've researched a bit, the cheap option would be to check for the string "bot" case insensitive. The other option is to get the list of bot useragents from somewhere...


AMBARI-25767: Upgrade Flink for BIGTOP to be compatible with bigtop-select

What changes were proposed in this pull request?
Upgrade Flink to be compatible with bigtop-select
How was this patch tested?
Tested in local virtual machines cluster, including kerberos authentication
(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)
Please review Ambari Contributing Guide before opening a pull request.

Service check fails in different reasons sometimes, could you help check it?

@kevinw66 Thanks for your review. Pull request is updated.


When will the training code released?

Hello!
Thanks for your amazing work!!
I want to ask that when the training code will be released, which can help for my research?
Best regards~

请问你在测试时输出的图像是彩色的吗

Hi,
Thanks for following our work, as we are now working on improving the performance of URetinex-Net,
the training code may not be available for now. However, we will release it in the near future.
Regards

不知道为什么，测试图片输出是这样

 不知道为什么，测试图片输出是这样

你是用的LOL数据集测试的吗，有对输入图片做修改吗

使用的LOL数据集测试的，没有对输入图片进行修改

运行完是这样


Consumer can not extract user-define properties which were added in SendMessageHook from the message that were produced in batch way

BUG REPORT

Please describe the issue you observed:

What did you do (The steps to reproduce)?
Trying to use SendMessageHook to add user-define properties in order to pass them on to their consumers.

What did you expect to see?
Consumers should be able to get those user-define properties from each "MessageExt".

What did you see instead?
It doesn't work when using batch message

the following code is the "sendMessageBefore" implementation of SendMessageHook
`
public void sendMessageBefore(SendMessageContext context) {
    // neither of the following approaches work when message is actually MessageBatch
    // 1. using contextProps
    Map<String, String> currentPorps = context.getProps();
    if (currentPorps == null) {
        currentPorps = new HashMap<>();
    }
    currentPorps.put("key", "value");
    context.setProps(currentPorps);

    // 2. using userProperty
    context.getMessage().putUserProperty("key", "value");

    // 3. using userProperty for each message
    if (context.getMessage() instanceof MessageBatch) {
        for (Message message : (MessageBatch) context.getMessage()) {
            message.putUserProperty("key", "value");
        }
    }
}

`

Please tell us about your environment:
rocketmq-all-4.7.0-release

Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
It seems like property in the "MessageExtBatch" will not be handled in method
"org.apache.rocketmq.store.CommitLog.DefaultAppendMessageCallback#doAppend(long, java.nio.ByteBuffer, int, org.apache.rocketmq.common.message.MessageExtBatch)"

Good catch! You are right. The doAppend method does not handle properties, so could you submit a pr to fix the issue, I am willing to follow the pr.

#2343

I've submitted a pr.  thanks for reviewing it! #2343


Add color customization!

Enable to customize colors of every TextView and EditText!
I am needing it! :smile:

working on it

done in version 0.1.3 !
In the future will be possible to get each view in order to have a complete costumization


GET SOAP REQUEST

How I get soap request from titanium ?

A SOAP request is just XML inside request body. You should read the body as a string and parse the XML as usual.


Fix sumo-phonon-bandplot bug for band.yaml plotting

One or two misplaced lines of code (e.g. poscar = Poscar.from_file(poscar) missed because it was in a separate if statement) which meant that plotting from a pre-generated band.yaml file (whether from sumo or phonopy) didn't work.
Tested and seems to fix the issue.

Actually never mind, I made the edits myself in d07c63b0b9f4946e502f960ebd9d64975bbb1b8b.
Thanks again for fixing this.


Disable istio injection for builder

What this PR does / why we need it:
Fixes that fairing-builder causes an error on kubeflow installed on Amazon EKS when:

it runs on istio-injection enabled namespace
it uses EC2 instance profile to access ECR and S3

and turn off istio injection for fairing-builder pod.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #347
Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:

This change is

/ok-to-test

/retest

Notes: It seems to be the same as https://github.com/kubeflow/fairing/pull/322#issuecomment-522452547
Your build timed out. Use the [--timeout=DURATION] flag to change the timeout threshold.
ERROR: (gcloud.builds.submit) build f8c81fbd-2d41-431a-9e75-5e2b686d135e completed with status "TIMEOUT"

@aflc just waiting for a moment, I'm fixing the problem in #353

pls rebase and then we can test, some presubmit problem has been fixed.

@jinchihe presubmit passed, thx!

/lgtm
/approve
Thanks @aflc


Nomic Map Rebuilding

Beam function to periodically rebuild all Nomic maps.

This has been superseded by our other Nomic PRs: https://github.com/UIUC-Chatbot/ai-ta-backend/pull/328

This has been superseded by our other Nomic PRs: https://github.com/UIUC-Chatbot/ai-ta-backend/pull/328, https://github.com/UIUC-Chatbot/ai-ta-backend/pull/333


Which leading characters should be escaped?

As noted in https://github.com/tc39/proposal-regex-escaping/issues/58#issuecomment-1827185269 , an unescaped non-digit leading character could still be interpreted as part of an escape sequence spanning concatenated RegExp.escape output.

consider e.g. new RegExp("\\c" + RegExp.escape("J")) in a web browser implementing |ExtendedAtom|, where the result should match "\\cJ" and [unlike /\cJ/] fail to match "\n"

The explainer argues that the output of RegExp.escape is not put "in a place where it would obviously mean something else". See also #17 and #29.

#29 is indeed analogous, and https://github.com/tc39/proposal-regex-escaping/issues/29#issuecomment-118876667 is a concise explanation of affected scenarios. However, I don't see a clear decision on this question in either that issue or #37.

Sounds like we're in agreement here, so I'll close this, but will reopen if that's inaccurate.

Reopening pending confirmation from @gibson042 and @erights.

To clarify for those watching this thread. Template tags would enable safe context sensitive escaping. I originally objected to RegExp.escape because it does not. I knew that there was an unsolvable even-vs-odd backslash problem, and thought there were others. After @bakkot clarified that the only such hazard was even-vs-odd backslash, I felt this was safe enough, because the exceptional unsafe case was narrow, easy to state, easy to remember, and easy to check by eyeball. To get there, as far as I am concerned, we gave up on the goal that the output of RegExp.escape be readable.
Later on in the current tc39 meeting, we'll discuss Array.isTemplateObject. Whatever my opinion on this specifically is (which is complicated), I strongly support the motivation for the proposal: To enable programmers (authors and reviewers) to reason clearly about the distinction between the literal parts that were authored as part of the program, vs attacker-controlled less-trusted data handled by that more-trusted program.
Therefore, I feel strongly that the first character needs to be adequately escaped to restore that simple safety property. My concern does not hinge on whether one would write \c${v} on purpose. It might be written by accident, in which case the RegExp may be buggy, in the sense that it does not mean what its author thought it meant. But even that case should not compromise this safety property. Reviewers who don't otherwise care about what the RegExp means should still be able, by eyeball and without an unrealistic memory burden, to reason about the impact of attacker-controlled less-trusted data, simply.


the cast msg should be receive_state, match the handle_cast() below

+1 de247b7
thanks for catching this, @getong

@he1000 retry


Update online-resources.asciidoc

Course on Debezium - Atlas mongodb on Udemy

@gunnarmorling I actually shared the course URL from my udemy dashboard! 😅

Hi @Amitbhave, I'm inclined to suggest we remove the referral code unless there is some requirement for it to exist.

@Naros done!


Minor fix for DEFAULT constraint and refactor postgresparser

This PR adds the missing part for parsing constant DEFAULT constraint #644 and refactor postgresparser by adding ExprTransform for all expression nodes for better modularity.

Coverage decreased (-0.4%) to 67.063% when pulling 3244f1b48227410378fcdd006a4faba74dfeb164 on hzxa21:parser into 73fa9dec33f54a798006e01829a679c6b8e944eb on cmu-db:master.

Coverage decreased (-0.3%) to 67.158% when pulling 615c229fb81e38d43a3e6486aa3b7e90cd459b0b on hzxa21:parser into 73fa9dec33f54a798006e01829a679c6b8e944eb on cmu-db:master.

Coverage decreased (-0.2%) to 67.038% when pulling c9bd2d1f955b22dd06d8c6dd63c2ff672b7809a5 on hzxa21:parser into 75aa418cab07eea1a9e4c51b68c3b935023fedb8 on cmu-db:master.

Coverage decreased (-0.02%) to 68.345% when pulling efc5848e8dfa88e2694c662024e3a997f008f6aa on hzxa21:parser into 2c8c78412cdb9d865920f72e9a397a704d7d3c66 on cmu-db:master.

Coverage decreased (-0.03%) to 71.464% when pulling a81cc5153080b4e44f0895b7a5379db543ab837c on hzxa21:parser into adf8745dadb2616a0e7cc9939d9d54801be0d1af on cmu-db:master.


builtin module name changed

Description
Changes made :-

syntax of print statement
builtin module has been renamed to builtins in python 3

Fixes # (issue)
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)

@gupta-niharika Thanks Niharika, for raising your first PR.
Can you please create an issue for the same?
@Kashish121 Can you please verify this by running locally? Was it breaking any existing flow?

Hello @gupta-niharika,
If you're a participant of HackinCodes, please introduce yourself in #48! It'll be easier for us to keep track of contributor's progress.


Get zero latitude and longitude

Both latitude and longitude is 0.0.

Right after creating the instance, can you add
mySimpleLocation.setListener(new SimpleLocation.Listener() {});

and implement the method from that interface SimpleLocation.Listener? This way, you should be informed as soon as the location has been detected.
Apart from that, please check the permissions, as always.
Does that help?

I'm having the same problem. In some cases it works perfect and others returns 0.

@jorgecasariego Did you try the same solution (suggested above)?

Yes, I read also other issues here. I'm testing now. It isn't always but in some places I receive 0 0

mySimpleLocation.setListener(new SimpleLocation.Listener() {});
It worked like charm. :-)
But i suggest please add this in the documentation.

@huxaiphaer Thanks! You're right, that is definitely needed. Sorry that it was missing so far. A paragraph has been added to the documentation in https://github.com/delight-im/Android-SimpleLocation/commit/adf899da6b9fd55f860979e88e9c247554377683.

That's fantastic, great Macro.
On Aug 6, 2017 2:08 AM, "Marco"<EMAIL_ADDRESS>wrote:

@huxaiphaer https://github.com/huxaiphaer Thanks! You're right, that is
definitely needed. Sorry that it was missing so far. A paragraph has been
added to the documentation in adf899d
https://github.com/delight-im/Android-SimpleLocation/commit/adf899da6b9fd55f860979e88e9c247554377683
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/delight-im/Android-SimpleLocation/issues/15#issuecomment-320475397,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANpjOc2hnPuDcoLnko5FhHithvQmGid_ks5sVPXQgaJpZM4M1sVC
.


Add GHC Haskell compiler plugin

Daniel Campoverde wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/vim/vim/pull/1291
-- Commit Summary --

Add GHC Haskell compiler plugin

-- File Changes --
A runtime/compiler/ghc.vim (26)

I'll include it, thanks.
--
hundred-and-one symptoms of being an internet addict:
58.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


FIDO2 key requirements incomplete

https://docs.microsoft.com/en-us/azure/active-directory/authentication/concept-authentication-passwordless#fido2-security-keys is more comprehensive in its requirements and with references to CTAP. This document as is conflicts with the other and implies lesser requirements.

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

ID: aacf4c87-5c77-1d03-0c60-bc608fabe2f8
Version Independent ID: 70d65968-6f5e-8013-0b0b-6d5d660969e0
Content: Microsoft-compatible security key - Microsoft 365 Security
Content Source: windows/security/identity-protection/hello-for-business/microsoft-compatible-security-key.md
Product: w10
GitHub Login: @mapalko
Microsoft Alias: mapalko

@mapalko Please help us in resolving this issue. Thanks

@yogkumgit can you reassign to @paolomatarazzo


Can't start label-studio after upgrade

Describe the bug
A clear and concise description of what the bug is.
Getting django.db.utils.OperationalError: no such column: project.pinned_at error after updating from 1.5.0post0 to 1.7.0
Similar to https://github.com/heartexlabs/label-studio/issues/3301 but I would like to keep my sqlite db if possible
To Reproduce
Steps to reproduce the behavior:

execute label-studio
get error return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such column: project.pinned_at

Expected behavior
label-studio starts
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: Windows 11
Label Studio Version 1.7.0 running in a Python virtual environment

Additional context
Attempting to use manage.py migrate also results in the same error.
showmigrations output:
$ python manage.py showmigrations
=> Static URL is set to: /static/
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /pypi/label-studio/json HTTP/1.1" 200 54959
Note: NumExpr detected 16 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8.

NumExpr defaulting to 8 threads.
Initializing database..
Traceback (most recent call last):
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/db/backends/sqlite3/base.py", line 423, in execute
    return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such column: project.pinned_at

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

Traceback (most recent call last):
  File "/Users/vladbakhteev/opt/anaconda3/bin/label-studio", line 8, in <module>
    sys.exit(main())
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/label_studio/server.py", line 291, in main
    _apply_database_migrations()
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/label_studio/server.py", line 67, in _apply_database_migrations
    call_command('migrate', '--no-color', verbosity=0)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/core/management/__init__.py", line 181, in call_command
    return command.execute(*args, **defaults)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/core/management/base.py", line 398, in execute
    output = self.handle(*args, **options)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/core/management/base.py", line 89, in wrapped
    res = handle_func(*args, **kwargs)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/core/management/commands/migrate.py", line 244, in handle
    post_migrate_state = executor.migrate(
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/db/migrations/executor.py", line 117, in migrate
    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/db/migrations/executor.py", line 227, in apply_migration
    state = migration.apply(state, schema_editor)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/db/migrations/migration.py", line 126, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/db/migrations/operations/special.py", line 190, in database_forwards
    self.code(from_state.apps, schema_editor)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/label_studio/data_manager/migrations/0008_manual_counters_update.py", line 27, in forwards
    calculate_stats_all_orgs(from_scratch=True, redis=True, migration_name='data_manager-0008_manual_counters_update')
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/label_studio/tasks/functions.py", line 30, in calculate_stats_all_orgs
    start_job_async_or_sync(
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/label_studio/core/redis.py", line 112, in start_job_async_or_sync
    return job(*args, **kwargs)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/label_studio/tasks/functions.py", line 59, in redis_job_for_calculation
    for project in projects:
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/db/models/query.py", line 280, in __iter__
    self._fetch_all()
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/db/models/query.py", line 1324, in _fetch_all
    self._result_cache = list(self._iterable_class(self))
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/db/models/query.py", line 51, in __iter__
    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1175, in execute_sql
    cursor.execute(sql, params)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/sentry_sdk/integrations/django/__init__.py", line 560, in execute
[2023-01-17 21:18:44,214] [urllib3.connectionpool::_new_conn::1003] [DEBUG] Starting new HTTPS connection (1): o227124.ingest.sentry.io:443
2023-01-17 21:18:44,214 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): o227124.ingest.sentry.io:443
    return real_execute(self, sql, params)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/db/backends/utils.py", line 66, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/Users/vladbakhteev/opt/anaconda3/lib/python3.9/site-packages/django/db/backends/sqlite3/base.py", line 423, in execute
    return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such column: project.pinned_at
Sentry is attempting to send 2 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit
[2023-01-17 21:18:44,386] [urllib3.connectionpool::_make_request::456] [DEBUG] https://o227124.ingest.sentry.io:443 "POST /api/5820521/store/ HTTP/1.1" 200 41
2023-01-17 21:18:44,386 - urllib3.connectionpool - DEBUG - https://o227124.ingest.sentry.io:443 "POST /api/5820521/store/ HTTP/1.1" 200 41

migrations

Not unless they are logged automatically? I downgraded back to 1.5.0 I can upgrade again and produce logs if you tell me how

Yes, it would be very helpful.

Something like this?
https://stackoverflow.com/a/59076760
So should I set it up then run pip update?

I'm also seeing this error when upgrading from version 1.1.0 to 1.7.0. I just ran pip install -U label-studio as the instructions suggest.

I need your logs at the first start of LS right after upgrade

@makseq I installed version 1.7.0 via pip install -U label-studio. Then I start label-studio via label-studio start -b --port 80 --data-dir /home/lsuser/label-studio-root/ &, and the following output is produced:
[1] 4167647
(label-studio) lsuser@hginj-labelstudio:~$ => Database and media directory: /home/lsuser/.local/share/label-studio
=> Static URL is set to: /static/
=> Database and media directory: /home/lsuser/label-studio-root
=> Static URL is set to: /static/
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /pypi/label-studio/json HTTP/1.1" 200 54959
Initializing database..
Traceback (most recent call last):
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/db/backends/sqlite3/base.py", line 423, in execute
    return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such column: project.pinned_at

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

Traceback (most recent call last):
  File "/home/lsuser/anaconda3/envs/label-studio/bin/label-studio", line 8, in <module>
    sys.exit(main())
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/label_studio/server.py", line 291, in main
    _apply_database_migrations()
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/label_studio/server.py", line 67, in _apply_database_migrations
    call_command('migrate', '--no-color', verbosity=0)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/core/management/__init__.py", line 181, in call_command
    return command.execute(*args, **defaults)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/core/management/base.py", line 398, in execute
    output = self.handle(*args, **options)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/core/management/base.py", line 89, in wrapped
    res = handle_func(*args, **kwargs)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/core/management/commands/migrate.py", line 244, in handle
    post_migrate_state = executor.migrate(
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/db/migrations/executor.py", line 117, in migrate
    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/db/migrations/executor.py", line 227, in apply_migration
    state = migration.apply(state, schema_editor)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/db/migrations/migration.py", line 126, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/db/migrations/operations/special.py", line 190, in database_forwards
    self.code(from_state.apps, schema_editor)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/label_studio/data_manager/migrations/0008_manual_counters_update.py", line 27, in forwards
    calculate_stats_all_orgs(from_scratch=True, redis=True, migration_name='data_manager-0008_manual_counters_update')
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/label_studio/tasks/functions.py", line 30, in calculate_stats_all_orgs
    start_job_async_or_sync(
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/label_studio/core/redis.py", line 112, in start_job_async_or_sync
[2023-01-21 16:41:45,779] [urllib3.connectionpool::_new_conn::971] [DEBUG] Starting new HTTPS connection (1): o227124.ingest.sentry.io:443
2023-01-21 16:41:45,779 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): o227124.ingest.sentry.io:443
    return job(*args, **kwargs)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/label_studio/tasks/functions.py", line 59, in redis_job_for_calculation
    for project in projects:
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/db/models/query.py", line 280, in __iter__
    self._fetch_all()
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/db/models/query.py", line 1324, in _fetch_all
    self._result_cache = list(self._iterable_class(self))
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/db/models/query.py", line 51, in __iter__
    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1175, in execute_sql
    cursor.execute(sql, params)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/sentry_sdk/integrations/django/__init__.py", line 500, in execute
    return real_execute(self, sql, params)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/db/backends/utils.py", line 66, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/home/lsuser/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/db/backends/sqlite3/base.py", line 423, in execute
    return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such column: project.pinned_at
[2023-01-21 16:41:45,827] [urllib3.connectionpool::_make_request::452] [DEBUG] https://o227124.ingest.sentry.io:443 "POST /api/5820521/store/ HTTP/1.1" 200 41
2023-01-21 16:41:45,827 - urllib3.connectionpool - DEBUG - https://o227124.ingest.sentry.io:443 "POST /api/5820521/store/ HTTP/1.1" 200 41

Please let me know if you need some other information and how to find it. Thanks!

@teejK @quantumdot could you please check the latest commit from the develop branch? will it migrate correctly?
# Clone repo
git clone https://github.com/heartexlabs/label-studio.git
# Install dependencies
cd label-studio
pip install -e .
# Apply DB migrations
python label_studio/manage.py migrate
# Collect static files
python label_studio/manage.py collectstatic
# Launch
python label_studio/manage.py runserver

Hey @makseq
Still getting:
django.db.utils.OperationalError: no such column: project.pinned_at [2023-01-24 14:30:49,468] [urllib3.connectionpool::_make_request::456] [DEBUG] https://o227124.ingest.sentry.io:443 "POST /api/5820521/store/ HTTP/1.1" 429 198
At python label_studio/manage.py migrate
How do I turn on logging... I can't seem to find the config.yml for Django.

@teejK @quantumdot sorry, please try to update the develop branch to the latest commit and upgrade again. Now it must work. We will release a hotfix soon.

Fixes are here:
https://github.com/heartexlabs/label-studio/pull/3606
https://github.com/heartexlabs/label-studio/pull/3585


ADS: Update notification icon

Task/Issue URL: https://app.asana.com/0/488551667048375/1205246825104933/f
Description
Update notification icon, it was too small
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #3444   👈

This comment was auto-generated by Graphite.

Thanks @joshliebe !


the go sdk to complete fee prediction

could you provide a demo

What do you want to do? Make estimate gas?

yes

and how to set the raw tx expire  time

currentTime := time.Now().UnixMilli()
expire :=  param.Expire

header := &domain.FunctionHeader{Expire: &expire, PubKey: keyPair.Public, Time: new(big.Int).SetInt64(currentTime)}
// use DeploySet only if need to deploy wallet
if param.Deploy {
// gen msg body
body, err := venom.Abi.EncodeMessageBody(&domain.ParamsOfEncodeMessageBody{
Abi:         walletAbi,
IsInternal:  false,
Signer:      domain.NewSigner(domain.SignerKeys{Keys: keyPair}),
SignatureID: &param.SignId,
Address:     address,
CallSet: &domain.CallSet{
FunctionName: "sendTransaction",
Input:        json.RawMessage(fmt.Sprintf({"dest": %s,"value": %d, "bounce": false, "flags":3, "payload":""}, dst, signIn.Amount)),
Header:       header,
},
})   , set this, but has a err , {"code":507,"message":"Message expired. Contract was not executed on chain. Local contract call emulation was successful. Possible reason: message has not been delivered. Try to send it again","data":{"message_id":"014dd5a412f643486aebbd610583148280a28d619869df27edcb534a7d937f52","shard_block_id":"27c46efba59e2350db3ccb06cc3bea526ccb50e4d809b15da664b80314a9638a","core_version":"1.44.3","binding_library":"","binding_version":"","waiting_expiration_time":"Wed, 07 Aug 2024 14:13:49 +0800<PHONE_NUMBER>)","block_time":"Wed, 07 Aug 2024 14:13:50 +0800<PHONE_NUMBER>)","account_address":"0:f113fb05b44532e57e1af7c6c3ffe3098b0d3bcdf819d6b56537749eb200eb7f","config_servers":["https://gql.venom.foundation/graphql"],"query_url":"https://gql.venom.foundation/graphql","query_ip_address":"<IP_ADDRESS>:443"}}


SILGen: Don't skip functions nested in closures in inlinable functions

The logic for walking up the tree of DeclContexts did not handle closures correctly.
Resolves rdar://119350220

https://github.com/apple/swift-package-manager/pull/7169
@swift-ci please smoke test


[BUG]: Pause Screen Over

Description of the bug
You can pause the game during the game over screen when you lose. Might want to check if this happens when you win too.
Steps To Reproduce

Go to YarnBallAttributeTesting branch
Go to in game scene or kitchen scene
Lose
Press escape

Additional Information
No response

#59 was merged


Sidekick Release Candidate

This PR has been auto-generated from https://github.com/adobe/helix-sidekick/.

https://sidekick-rc-9ea65aa--helix-website--adobe.hlx3.page/

Changes in this release:

https://github.com/adobe/helix-sidekick/commit/51b5f94be14998c996e7071ab691c680fd759d05


system.sh: Remove log file written to SD on boot containing the WiFi password

Purpose:

Yi firmware writes a log to the SD card (if present) on boot which contains sensitive information tar'ed up to one file. This file should be removed automatically in order to prevent leaking the WiFi password in case someone takes off the camera from the wall and takes out the sdcard.

This is unrelated to Yi-Hack, but very useful for security matters and should be considered to go in as a workaround.
Testing:

Verified working on my Yi Home 1080p v3 Camera (BFUSY31) with YiHack-allwinner 0.1.6
I've placed the workaround into /tmp/sd/yi-hack/startup.sh for testing

#!/bin/sh
#
# Setup env.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/lib:/home/yi-hack/lib:/tmp/sd/yi-hack/lib
export PATH=$PATH:/home/base/tools:/home/yi-hack/bin:/home/yi-hack/sbin:/home/yi-hack/usr/bin:/home/yi-hack/usr/sbin:/tmp/sd/yi-hack/bin:/tmp/sd/yi-hack/sbin
#
rm -f "/tmp/sd/log/log_wifi_connected.tar.gz"
#
exit 0

Other source of information: https://www.reddit.com/r/homedefense/comments/gfxahv/security_flaw_found_yi_home_camera_dome_and_dome/

Thank you for your pr.

Seen more variations of log files unfortunately and they sometimes get written randomly so needs to be either prevented or deleted regularly:
log_first_login.tar.gz
log_first_login.tar.gz
log_oss_exit.tar.gz
log_oss_fail_x.tar.gz
log_oss_fragment_x.tar.gz
log_oss_success_x.tar.gz
log_p2p_clr.tar.gz
log_wifi_connected.tar.gz
I have just added this to the cron to deal with all logs in the meantime:
echo "  /1 * * * * rm -f -r /tmp/sd/log/ >/dev/null 2>&1" >> /var/spool/cron/crontabs/root
But got to be careful of the FREE_SPACE check which writes a single cron with potential overwrite:
echo "  0  *  *  *  *  /home/yi-hack/script/clean_records.sh $FREE_SPACE" > /var/spool/cron/crontabs/root
I have my SD free space set to 10% so this should be fine for now but not ideal.  My system.sh looks like this:
FREE_SPACE=$(get_config FREE_SPACE)
if [[ $FREE_SPACE != "0" ]] ; then
mkdir -p /var/spool/cron/crontabs/
echo "  0  *  *  *  *  /home/yi-hack/script/clean_records.sh $FREE_SPACE" > /var/spool/cron/crontabs/root
echo "  /1 * * * * rm -f -r /tmp/sd/log/ >/dev/null 2>&1" >> /var/spool/cron/crontabs/root
/usr/sbin/crond -c /var/spool/cron/crontabs/
fi

The last release contains generic crontab implementation.


Getting "AttributeError: module 'modules.hypernetworks.hypernetwork' has no attribute 'apply_strength'"

I'm trying to use the infinity axis generator script from
https://github.com/mcmonkeyprojects/sd-infinity-grid-generator-script
and getting the following error:
getting AttributeError: module 'modules.hypernetworks.hypernetwork' has no attribute 'apply_strength'
any ideas?

check witht that repo for updates, it seems outdated


Support mTLS connections (key and CA signed cert)

I didn't find a way to add a key to sslrootcert, or pass the key in any other way.
Probably because the keystore is created only from X.509 format.
https://github.com/ClickHouse/clickhouse-jdbc/blob/4332286/src/main/java/ru/yandex/clickhouse/util/ClickHouseHttpClientBuilder.java#L194-L199
I see that the idea to use sslrootcert is inherited from the postgresql driver https://github.com/ClickHouse/clickhouse-jdbc/issues/95, https://github.com/ClickHouse/clickhouse-jdbc/pull/96
Maybe also need to support the sslcert, sslkey (for PKCS-8) settings. https://jdbc.postgresql.org/documentation/head/ssl-client.html
It would be desirable to receive a standard possibility to specify the key and CA signed certificate in connection url:
jdbc:clickhouse://localhost:8443/default?ssl=true&sslkey=client.pk8&sslcert=client.crt&sslrootcert=ca.crt

like postgresql too.
Without this, it is not possible to use clickhouse-jdbc with mTLS in products such as gatagrep or dbeaver.

Implemented since 0.3.2-patch8. I didn't check how PostgreSQL JDBC driver implemented the feature, but I think it should be all similar.
Couple of things worthy of mention:

Use RSA key in PKCS8 format
search path of certificate and key files: classpath -> File system(start with ~/.clickhouse first for relative path)
set sslmode to STRICT in JDBC driver - set to NONE will always trust server certificate but turn off client auth

user name(same as server configuration and Common Name in certificate) is still needed, with empty password
users.xml<clickhouse>
 <users>
   <me>
     <ssl_certificates>
       <common_name>me</common_name>
     </ssl_certificates>
   </me>
 </users>
</clickhouse>

I have TLS enabled ClickHouse with user name and password since you have mentioned in the above statement that --

Hi @rajjat0602, you can only pick one from password and certificate for authentication.
It seems the 3 files(tls.crt , tls.key and ca.crt) are only for server setup and you don't have client certificate. If that's the case, I think you just need set ssl=true and sslmode=NONE without specify any certificate or key. If you want to ensure the client is connecting to a trusted server, you can specify root certificate so it's something like ssl=true, sslmode=STRICT and sslrootcert=ca.crt.

hi I am trying to connect to tcp port which is enabled with SSL using clickhouse-jdbc but I am getting below error
OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
I have passed sslrootcert which is a cert file


Add ID to dialog

Adds a unique ID, convex-ai-chat, to the chat window element:

This allows consuming applications to target and customize the chat window’s styles more effectively, such as adjusting the z-index to ensure it sits above other page content:
#convex-ai-chat {
  z-index: 1000; /* Customize as needed */
}

Another approach would be to add an optional className prop, which could be passed through to the same element, and this would allow for classes to be applied directly. I've opted for the simplest method to start with, as we can always add that later if requested.

Closing this PR, as I was able to make the change necessary to fix the docs site directly in the monorepo.


Jannik

Hi,
I see you have been experimenting working with GitHub and that's great, keep it up!
What you are doing when you open a pull request is to add the changes you made to a project into it. So, in this case, you forked the Data mining repository (i.e., the project) - beware that atm your fork is outdated from the main project by one commit - ,  you added a few of your own commits and tried to integrate them into the class' repository.
Of course, since this was an experiment, I will close this pull request. Otherwise, had it been a real contribution an open source project, it would be possibly be accepted and merged into it!
Hope this helps,
Best,
João Fonseca


Update to bevy v0.14

Thank you for the pr, looks good!
However, I'm not sure about #[derive(Event)] for MidiData, as one of the limitations is the delay as Bevy has to poll for the events and MidiData is getting triggered a lot. I'll do some testing add an example using it and update the docs accordingly.


The turn to select the topic is evenly distributed between both players

Gets tested by getRandomTopics_once_success in GameControllerServiceTest.java
Added by commit cec1b91


About Ten Crop Features

Congratulations on the interesting work!
I have a question regarding the dataset. In some previous works, I noticed that the ten crop features are usually concatenated into [T, 10, 1024]. However, it seems that in your code, the desired shape is [T, 1024]. Could you please explain this to me, or have I misunderstood any concepts?
Thank you very much.

Oh, sorry !!!
My mistake, I figure it out.

Have the same question. Do you mind explaning why the train files npy downloaded from the link provided in the Readme file are not 10 cropped?.
Did you use those features or extracted new features?