text:
How to set active Tab from a navigation link from another page?

Hi,
How can I set the active Tab from a navigation from another page? Eg. quicklinks from my homepage to be redirected to products page with intended tab selected.

On your homepage,  after creating link to product page with the specific tab selected, you can pass active tav as parameter in url or store it in a state management solution like redux
  import { Link } from 'react-router-dom';

  const Homepage = () => {
    const activeTab = 'products'; // Or fetch from state management

    return (
      <Link to={`/products?activeTab=${activeTab}`}>Go to Products</Link>
    );
  };

Then on the products page, u can access query params from url and use them to determine active tab in ur nav component; In the example we use:  React Router's useLocation hook and URLSearchParams
import { useLocation } from 'react-router-dom';

const ProductsPage = () => {
  const location = useLocation();
  const searchParams = new URLSearchParams(location.search);
  const activeTab = searchParams.get('activeTab') || '';

  // Render your navigation component and pass the activeTab as a prop
  return <Navigation activeTab={activeTab} />;
};

And now from nav component, we use activeTab prop to know the tab that should be marked twice
const Navigation = ({ activeTab }) => {
  return (

Products

Services

        {/* Render other navigation items */}

  );
};

When you click on Go to products  homepage link, it redirecta you to the products page  with the   activeTab=products query params in the url. Products Page will read  query params and pass it to the nav component to set the active tab accordingly. Please note this solution assumes you are using react router for routing, implementation may differ if u are using another routing method e.g the nextJS file based routing

I wrote a version of Tabs that is compliant with the API from https://ui.shadcn.com/docs/components/tabs
"use client";

import { cn } from "@/lib/utils";
import Link, { LinkProps } from "next/link";
import { usePathname, useSearchParams } from "next/navigation";
import * as React from "react";

interface Context {
	defaultValue: string;
	hrefFor: (value: string) => LinkProps["href"];
	searchParam: string;
	selected: string;
}
const TabsContext = React.createContext<Context>(null as any);

export function Tabs(props: {
	children: React.ReactNode;
	className?: string;
	/**
	 * The default tab
	 */
	defaultValue: string;
	/**
	 * Which search param to use
	 * @default "tab"
	 */
	searchParam?: string;
}) {
	const { children, className, searchParam = "tab", ...other } = props;
	const searchParams = useSearchParams()!;

	const selected = searchParams.get(searchParam) || props.defaultValue;

	const pathname = usePathname();
	const hrefFor: Context["hrefFor"] = React.useCallback(
		(value) => {
			const params = new URLSearchParams(searchParams);
			if (value === props.defaultValue) {
				params.delete(searchParam);
			} else {
				params.set(searchParam, value);
			}

			const asString = params.toString();

			return pathname + (asString ? "?" + asString : "");
		},
		[searchParams, props.searchParam],
	);

	return (
		<TabsContext.Provider value={{ ...other, hrefFor, searchParam, selected }}>

{children}

		</TabsContext.Provider>
	);
}

const useContext = () => {
	const context = React.useContext(TabsContext);
	if (!context) {
		throw new Error(
			"Tabs compound components cannot be rendered outside the Tabs component",
		);
	}

	return context;
};

export function TabsList(props: {
	children: React.ReactNode;
	className?: string;
}) {
	return (

	);
}

export const TabsTrigger = (props: {
	children: React.ReactNode;
	className?: string;
	value: string;
}) => {
	const context = useContext();

	return (
		<Link
			{...props}
			className={cn(
				"inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",
				props.className,
			)}
			data-state={context.selected === props.value ? "active" : "inactive"}
			href={context.hrefFor(props.value)}
			scroll={false}
			shallow={true}
		/>
	);
};

export function TabsContent(props: {
	children: React.ReactNode;
	className?: string;
	value: string;
}) {
	const context = useContext();

	if (context.selected !== props.value) {
		return null;
	}

	return (

	);
}

I wrote a version of Tabs that is compliant with the API from https://ui.shadcn.com/docs/components/tabs
"use client";

import { cn } from "@/lib/utils";
import Link, { LinkProps } from "next/link";
import { usePathname, useSearchParams } from "next/navigation";
import * as React from "react";

interface Context {
	defaultValue: string;
	hrefFor: (value: string) => LinkProps["href"];
	searchParam: string;
	selected: string;
}
const TabsContext = React.createContext<Context>(null as any);

export function Tabs(props: {
	children: React.ReactNode;
	className?: string;
	/**
	 * The default tab
	 */
	defaultValue: string;
	/**
	 * Which search param to use
	 * @default "tab"
	 */
	searchParam?: string;
}) {
	const { children, className, searchParam = "tab", ...other } = props;
	const searchParams = useSearchParams()!;

	const selected = searchParams.get(searchParam) || props.defaultValue;

	const pathname = usePathname();
	const hrefFor: Context["hrefFor"] = React.useCallback(
		(value) => {
			const params = new URLSearchParams(searchParams);
			if (value === props.defaultValue) {
				params.delete(searchParam);
			} else {
				params.set(searchParam, value);
			}

			const asString = params.toString();

			return pathname + (asString ? "?" + asString : "");
		},
		[searchParams, props.searchParam],
	);

	return (
		<TabsContext.Provider value={{ ...other, hrefFor, searchParam, selected }}>

{children}

		</TabsContext.Provider>
	);
}

const useContext = () => {
	const context = React.useContext(TabsContext);
	if (!context) {
		throw new Error(
			"Tabs compound components cannot be rendered outside the Tabs component",
		);
	}

	return context;
};

export function TabsList(props: {
	children: React.ReactNode;
	className?: string;
}) {
	return (

	);
}

export const TabsTrigger = (props: {
	children: React.ReactNode;
	className?: string;
	value: string;
}) => {
	const context = useContext();

	return (
		<Link
			{...props}
			className={cn(
				"inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",
				props.className,
			)}
			data-state={context.selected === props.value ? "active" : "inactive"}
			href={context.hrefFor(props.value)}
			scroll={false}
			shallow={true}
		/>
	);
};

export function TabsContent(props: {
	children: React.ReactNode;
	className?: string;
	value: string;
}) {
	const context = useContext();

	if (context.selected !== props.value) {
		return null;
	}

	return (

	);
}

Wow~ that works well! Thanks, @KATT
Well~ can you redefine this code like default Tabs component so that it seems default components of shadcn UI?

@KATT code is working well on the development environment.
But that is not working on the next build mode

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

Probably some people arriving to this issue are trying to use tabs for navigation. In NextJS, I went with another approach that uses asChild and passes a link to the trigger:
const TabsLinkTrigger: React.FC<{ href: string; children: React.ReactNode }> = ({
	href,
	children,
}) => (
	<TabsTrigger value={href} asChild>
		<Link href={href}>{children}</Link>
	</TabsTrigger>
);

Here is example usage of this in NextJS:

// SettingsTabs.tsx
"use client"
export const SettingsTabs = () => {
	const path = usePathname();

	return (
		<Tabs defaultValue={path}>
			<TabsList>
				<TabsLinkTrigger href="/settings">Settings</TabsLinkTrigger>
				<TabsLinkTrigger href="/settings/members">Members</TabsLinkTrigger>
				<TabsLinkTrigger href="/settings/billing">Billing</TabsLinkTrigger>
			</TabsList>
		</Tabs>
	);
};

// layout.tsx
const SettingsLayout = async ({ children }) => {
	return (
		<>
			<SettingsTabs />
			{children}
		</>
	);
};

authors: Danazumi KATT cupid20103 francisceril jleclanche shadcn


text:
Today's date is being recorded wrong.

It is showing up as yesterday instead of today. Perhaps a timezone issue?

It was recorded correctly, but displayed wrong. This is fixed now.

source: gharchive/issue

repo: shagreel/games-ui

license: MIT

license_type: permissive

license_source: github-api


text:
Add required files

Added 3 files (each one in a separate commit):

index.html file that includes a header with the text "Hello Microverse!". Used the h1 tag for that.
style.css file that includes one class with styles for the header (make it in favorite color).
test.md file with the text "This file should be ignored by git".

Completely finish requiring task and review done

source: gharchive/pull-request


text:
Revert PR #4371 and find a long-term solution

PR #4371 is a temporary solution to make the project compatible with a future compiler version.  We should get access to that compiler internally, work to understand the nature of the errors it produces without these suppressions, and come up with long-term fixes.
Unfortunately, this can't be done with any current version of the open source compiler at this time.

Since our plan is to migrate to TypeScript, @joeyparrish, are you okay if we close this issue?

Yes, sounds good.

authors: avelad joeyparrish

repo: shaka-project/shaka-player


text:
Include our changes to the main stream but leverage changes since we forked

What's this PR about?

Sorry Justin, accidentally submitted this upstream—thanks for all your work on this!


text:
How to change variables

There are two themes in my project and I want to switch between them.
Themes are implemented as 2 scss styles with variables

how can i implement this?

I don't think your question is specific to this package.
I think you either will have to switch at build time, via some Webpack magic, or at runtime by using different variable names.

repo: shakacode/sass-resources-loader


text:
🛑 Shakedown Social - Uploads is down

In 47208db, Shakedown Social - Uploads (https://files.shakedown.social/accounts/avatars/109/357/389/718/265/462/original/dd80d2c95e48cfd2.jpeg) was down:

HTTP code: 403
Response time: 487 ms

Resolved: Shakedown Social - Uploads is back up in cae3f59.

repo: shakedown-social/upptime


text:
🛑 Shakedown Social - Uploads is down

In d2218f5, Shakedown Social - Uploads (https://files.shakedown.social/accounts/avatars/109/357/389/718/265/462/original/dd80d2c95e48cfd2.jpeg) was down:

HTTP code: 403
Response time: 794 ms

Resolved: Shakedown Social - Uploads is back up in f0ca93d.


text:
🛑 Shakedown Social - Uploads is down

In 59d4a72, Shakedown Social - Uploads (https://files.shakedown.social/accounts/avatars/109/357/389/718/265/462/original/dd80d2c95e48cfd2.jpeg) was down:

HTTP code: 403
Response time: 492 ms

Resolved: Shakedown Social - Uploads is back up in fd4c8ee.


text:
🛑 Shakedown Social - Uploads is down

In 506e794, Shakedown Social - Uploads (https://files.shakedown.social/accounts/avatars/109/357/389/718/265/462/original/dd80d2c95e48cfd2.jpeg) was down:

HTTP code: 403
Response time: 278 ms

Resolved: Shakedown Social - Uploads is back up in caf52d9.


text:
Topic recognition

Per specifications guidelines, a Siamese network for the Kaggle ICIS 2020 Challenge dataset for Melanoma Skin Cancer Detection and Classification have been developed. The algorithms run successfully, with performance and result metrics automatically produced and saved.
The required four python files are present, alongside two yaml files for hyperparameter editing and environmental setup. A plots folder is also present with three training and evaluation plots.
Thank you,
Lehan Ling - 48023467

This is an initial inspection, no action **is required at this point
Recognition Problem : total : 18**
Solves problem: The solution is well-suited to the problem (3).

pre-trained resnet is used
no visualization plot of the embeddings

the classifier shows promosing performance, as reflected by the accuracy and reported confusion matrix.
+Both training and validation AUC-ROC scores improve, with training AUC-ROC reaching nearly 0.9, showing the model's ability to distinguish between classes.
Triplet loss is utilized, which is suitable for the problem.
Class imbalance is addressed through oversampling of malignant cases.

Implementation functions as intended (3)
Good design: Well-designed (1)
Commenting: Clear and sufficient comments throughout the code. (1)
Difficulty: Hard (10)
Note:

Accuracy is 81.8% , specificity 82% and sensitivity 72.6%,  the model succeeded in differentiating between the two classess.

The difference between training and validation loss indicates possible overfitting.
Validation accuracy and AUC-ROC show instability, which could be improved with regularization techniques or tuning.

Marking

Good/OK/Fair Practice (Design/Commenting, TF/Torch Usage)
Good design and implementation.
Spacing and comments.
No Header blocks. -1
Recognition Problem
Good solution to problem.
Driver Script present.
File structure present.
Good Usage & Demo & Visualisation & Data usage. -1
Module present.
Commenting present.
No Data leakage found. Has data splits.
Difficulty : Hard.  Siamese network (Hard Difficulty)
Commit Log
Good Meaningful commit messages.
Good Progressive commits.
Documentation
Readme :Good.
Model/technical explanation :Good.
Description and Comments :Good.
Markdown used and PDF submitted. PDF Checked.
Pull Request
Successful Pull Request (Working Algorithm Delivered on Time in Correct Branch). On time.
No Feedback required.
Request Description is adequate. -1
TOTAL-3

Marked as per the due date and changes after which aren't necessarily allowed to contribute to grade for fairness.
Subject to approval from Shakes

Pretrained resnet used -3


text:
gulp-svg-sprites generates blank svg sprite

No errors but the sprite looks like this:
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="0" height="0" viewBox="0 0 0 0"></svg>

duplicate with https://github.com/shakyShane/gulp-svg-sprites/issues/61

authors: grippado meecrobe

repo: shakyShane/gulp-svg-sprites


text:
 doesnt always morph

Consider this example:
function textarea (value) {
  return yo`<textarea>${value}</textarea>`
}
var el = textarea('foo')
yo.update(el, textarea('bar'))

foo will still be displayed in the textarea. This is because morphdom compares el.value of textarea nodes and bel sets it by appendChild(document.createTextNode()). The browser takes a little bit to compute the textContent into a value, so if you update immediately after, morphdom doesn't get the new el.value.

Fixed by https://github.com/maxogden/yo-yo/commit/73416171dd8fb687ed80a7d7ed135557334499ba

repo: shama/bel


text:
Sync : Invalid / Expired GitHub Token. Please generate new token with scopes mentioned in readme. Exception Logged in Console.

🐛 Describe the bug
When I am trying to upload the token into vscode, an error message is shown in right bottom of the vscode that "Sync: Invalid / Expired Github Token...
🌴 Visual Studio Code Version : [ 1.28.2 ]
🌴 Code Settings Sync Version : [ 3.2.2]
🌴 Standard or Insiders : [  ]
🌴 OSS or Portable : [ here ]
🌴 Operating System : [ Windows 10 ]
🌴 Occurs On: [Upload & Download]
🌴 Proxy Enabled: [ No]
🌴 Gist Id: [ 50f37fc18c74e4b8c77c53295d815766567c78c2 ]
📰 To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

💪 Expected behavior
Able to upload gist token & sync settings via token.
📺 Console Error Log
Nothing
📺  Additional context
Hope it will be fixed soon for your extension better user experience. Thanks.

Duplicate of #689

authors: SPurno shanalikhan

repo: shanalikhan/code-settings-sync


text:
NSData category，symbol(s) not found for architecture i386

-[NSData(zlib) inflate:error:] in NSData+zlib.o
ld: symbol(s) not found for architecture i386

add ’libz.1.2.5.tbd‘ system framework can resolve this problem

repo: shaojiankui/iOS-Categories

license: mit

license_source: bigquery


text:
⚠ uploadapi has degraded performance

In f955fe3, uploadapi ($UPLOADAPI_URL) experienced degraded performance:

HTTP code: 200
Response time: 1764 ms

Resolved: uploadapi performance has improved in ff8a2ed after 23 minutes.

repo: shaowenchen/upptime


text:
DOCS: refactor census income classification notebook

Overview
Works towards #3036
Description of the changes proposed in this pull request:

Fixed the early_stopping_rounds keyword for xgboost to use early_stopping_round in params.
Fixed a couple typos.

Checklist

[x] All pre-commit checks pass.
~[ ] Unit tests added (if fixing a bug or adding a new feature)~

This looks good. It looks like the cell output numbers do not increase monotonically, specifically the last cell. We might enforce this in future as a pre-commit hook, so may I suggest using "restart kernel and run all cells" to re-run everything?

This looks good. It looks like the cell output numbers do not increase monotonically, specifically the last cell. We might enforce this in future as a pre-commit hook, so may I suggest using "restart kernel and run all cells" to re-run everything?

Done.
Thanks for the review.

authors: CloseChoice connortann

repo: shap/shap


text:
AttributeError: module 'shapely' has no attribute 'affinity'

Expected behavior and actual behavior.
I am trying to scale my circles to ellipses using shapely.affinity.scale() but am receiving:
AtributeError: module 'shapely' has no attribute 'affinity'
Steps to reproduce the problem.
using the basic circle to ellipse example:
circle = Point(10, 10).buffer(1, c_sides)
ellipses = shapely.affinity.scale(circle, 5, 10)

my code:
rx = 3.438e-6 # m
ry = 3.438e-6 # m
c_sides = 360/4
h_sides = 6/4

mc11 = Point(rx, ry).buffer(distance=1, resolution=c_sides, cap_style="round")
mc12 = shapely.affinity.scale(Point(2*rx, ry).buffer(distance=1, resolution=c_sides, cap_style="round"))
mc13 = shapely.affinity.scale(Point(3*rx, ry).buffer(distance=1, resolution=c_sides, cap_style="round"))

Operating system
MacOSX 13.3.1 (a)
Shapely version and provenance

initially installed using pip
uninstalled using pip
re-installed using conda --channel conda-forge

shapely                   2.0.1           py311h7f8cfc4_1    conda-forge

didn't import shapely.affinity
once i ran import shapely.affinity
successful!

repo: shapely/shapely


text:
Which version?

I think there're 2 versions available on Internet Archive:

1999-08-11
2001-10-06

So which version did you reverse-engineered?

This was based on the 1.0 beta, which is the last version which was made available. The original author has since released the source code for the 1.0 alpha, though, which is available here: https://gitlab.com/ddewey/laserkombat/-/tree/master
I'm trying to port this code to modern operating systems and a newer version of C++ at the moment, but it has been a slow process so far. I have the code here: https://github.com/sharkwouter/laserkombat
I have some tiles loading and the game starting. I have an input system, but nothing related to movement has been implemented yet and only a couple of tiles load.

Thank you for the information.

authors: sharkwouter zhangyoufu

repo: sharkwouter/laser-kombat-love


text:
Regex.matches does not exist

I was testing the Regex object and the README has an example using matches but it does not exist.
Regex("Custom from:([0-9]+) to:([0-9]+)").matches(value) //error

Another thing, is it normal the first capture to be the full value?
let matchResult = Regex("Custom from:([0-9]+) to:([0-9]+)").match(value)
// value e.g.: Custom from:1451811437 to:1452329837

print(matchResult.captures.count) //prints 3
print(matchResult.captures[0]) //prints Custom from:1451811437 to:1452329837
print(matchResult.captures[1]) //prints 1451811437
print(matchResult.captures[2]) //prints 1452329837

Hi @ricardopereira!
What version of Regex do you have installed / how did you install it?
I just tried to reproduce this, but wasn't successful. Everything seemed to work as expected with this test case (which I've pushed to this branch):
final class Issue30Spec: QuickSpec {
  override func spec() {

    let regex = Regex("Custom from:([0-9]+) to:([0-9]+)")
    let value = "Custom from:1451811437 to:1452329837"

    it("matches") {
      expect(regex.matches(value)).to(beTrue())
    }

    it("captures as expected") {
      let captures = regex.match(value)?.captures.flatMap { $0 }
      expect(captures).to(equal(["1451811437", "1452329837"]))
    }

  }
}

import Quick
import Nimble
import Regex

Also, you said you get an error:

Regex("Custom from:([0-9]+) to:([0-9]+)").matches(value) //error

What was the error message?

Wow, I am using 0.3.0 but I noticed that the Pods/Regex/Regex.swift is different from your tag 0.3.0.
//
//  Regex.swift
//  Regex
//
//  Created by bryn austin bellomy on 2/10/2015
//  Copyright (c) 2015 bryn austin bellomy. All rights reserved.
//
...

Is that you: bryn austin? 😬
My podfile
platform :ios, '8.0'
use_frameworks!

target 'Money' do
  pod 'Fabric'
  pod 'Crashlytics'
  pod 'Regex'
end

Sorry, I am so stupid.
The pod is STRegex :facepalm:

You're not stupid, it's certainly not ideal that the pod has a different name!

authors: ricardopereira sharplet

repo: sharplet/Regex


text:
Talked to dimplex customer service... (This is critical)

Hi,
First of all let me say I love this plugin. That's why I'm here actually. I think we won't be able to use it for long. Lately I've had issues with my controller. I contacted the customer service at dimplex to ask them for a replacement unit as it was still under warranty and basically I've been told that they were about to discontinue the wifi features of the system... I'm not kidding, I still have the email proving what I'm saying.
I don't know how hard it would be or how long it would take, but I think this plugin should be modified to work locally. I must point out that unfortunately I'm absolutely not able to code anything, I can't help out at all with this, I'm so sorry for that...
I think once they shut down everything it might be more difficult or even impossible to do anything anymore. I also fear that they might screw up everything for us at the last minute with a software update or something. I hope you or someone can do something so we don't lose this plugin, it would be both sad and infuriating.
Thank you

Thanks Samuel for alerting everyone to this unfortunate situation.  I recently purchased my Dimplex baseboard and the wifi controller specifically to use this plugin to enable HomeKit control via Homebridge.  I also very much hope that there will be some way to enable our hardware to remain functional in this way after Dimplex discontinues the app!  Thanks to the writer(s) of this plugin, which I really appreciate.

You all might want to have a look at https://github.com/NorthernMan54/homebridge-connex/issues/8 for a potential workaround based on DNS rewrites.

Thank you kindly @johannrichard !  I added a note about what has ended up working for me in that plugin's discussion thread.

@Rousseau648 @awarburt I am so sorry for my late response here.
Honestly, I don't know there is anyway to adjust settings via locally.
When I was developing this plugin, I took some time to inspect their service/device, and seemed like the wifi remote was pulling data from server to set current configuration repeatedly. I tried to find any local api endpoint of the device, but I couldn't find it except a page for setting wifi..
This is what I remember. I may be wrong tho. I no longer use their products after moving out..
However, the company opens their secret api endpoint (if any exists), I can of course update this plugin to make working locally.
Best,
Shawn

@awarburt is the dns trick still working? maybe I can try to update my plugin works without modifying extra DNS record.

@awarburt is the dns trick still working? maybe I can try to update my plugin works without modifying extra DNS record.
EDIT: actually, nvm. I can't change where the device is connecting, so I think DNS trick is required :(

I can't check this right now.  Hopefully someone else can comment.  Would be great to have continued functionality!

authors: Rousseau648 awarburt johannrichard shawnjung


text:
Update MacOS from keyLabel to characters

Changed the MacOS implementation to use characters instead of keyLabel.

Since I don't have time (and this will not change in foreseeable future) to do a decent review I'm merging this.
Since package isn't at version 1.0 now, I believe that it's lesser evil than doing no updates.
And I'm currently without access to MacOS to actually test this.
Just ping me when you think it's time to publish package (now?)
Thank you for hard work.

@danielroek Is this ready to be published as a package?

authors: danielroek shaxxx


text:
Enable connection to DockerHub via HTTP (without Credentials)

I would like to access our DockerAPI which is available via HTTP (not protected, not HTTPs).

@alenkacz can you pick this issue?

authors: fritzrichter shekhargulati

repo: shekhargulati/rx-docker-client


text:
Module currently doesn't color the modifiers correctly when using PF2E Pathfinder UI v3

I'm having an issue when using Modifiers Matter with PF2E Pathfinder UI v3. The modifiers effecting the outcome turn gray making it hard to tell the difference. Not sure why the colors aren't working.
Anyways, great module keep up the good work. Let me know if you need anymore info.
UI ON

UI OFF:

Module List
Note: I checked the "Disable Pathfinder UI" in the PF2E UIv3 settings menu that is why it is checked in the screenshot below.

I spoke with the Pathfinder  UI creator. They said that there is not be much they can do since Modifiers Matter uses some of the same interface code to modify the UI. If there is nothing that can be done about it you might want to list the Pathfinder UI v3 as a conflict for now.

Sasmira was able to modify the Modifiers Matter CSS file to seemingly fix the above issue. I'm going to provide it here in case in can help you. Although they said they are going to incorporate the fix in the code. Not sure exactly how. The only minor issue I have is that the dark green text is still a little bit hard to read but not a huge deal. Would it be possible to add color pickers to the module settings? That way  users the choose the colors that work best for them.

pf2e-modifiers-matter-workaound.zip

Wonderful, I love it when things get resolved while I'm on break :)
Thanks for including so much information!  <3


text:
chart.min.js reference invalid

I don't know if anyone still maintains this project, but this url has expired
https://github.com/shen-yu/hugo-chart/blob/32cef4e86d23e8fffdb5f35f12995864fbff92d7/layouts/shortcodes/chart.html#L9

@shikingram Thanks, i'v merged this PR.

authors: shen-yu shikingram

repo: shen-yu/hugo-chart


text:
有考虑支持动态embedding么

现在的embedding初始化都是固定vocab size的，tf有了一个https://github.com/tensorflow/recommenders-addons，支持动态vocab size，有考虑支持么，这样后续可以方便item、user迅速迭代的在线学习了。

Great ideas.

repo: shenweichen/DeepCTR


text:
Improve support for file: URLs

Added

path.js with methods for normalizing paths & converting from/to
file: URLs

Fixed

File operations now work with file: URLs or paths

Description and issue

Please add relevant sections (Added, removed, changed, fixed) to CHANGELOG.md

List of significant changes made

I've basically decided to primarily work with file: URLs internally since that normalizes a lot, is somewhat typed (being URL objects with file: protocols).
However, this requires using node:url a lot for converting to and from URLs across Windows and Linux/Unix. It was easy enough with Unix-style paths that directly map to file: URLs, but Windows has different path separators and paths will begin with a drive (C:), so I pretty much have to use node:url, which means this will no longer work in browsers.

this is now tested with shgysk8zer0/rollup-import and should resolve shgysk8zer0/rollup-import#42. Have not and cannot test on Windows though.


text:
Add content to Networking

Networking section only has information about first 3 OSI layers.
I would like to update it and add information about the other layers as well.

@ishashukla183 Sure

@all-contributors add @ishashukla183 for doc.


text:
Document how shmux compares to GNU Make

From reddit.

Closed by #14

repo: shikaan/shmux


text:
CameraCalibrate2 parameter issue

Correct me if i'm wrong, but the imagepoints and objectpoints should be like:
int numOfImages = 20;
int rows = 9;
int cols = 6;
objectPointsList = new CvPoint3D32f[numOfImages * rows * cols];
imagePointsList = new CvPoint2D32f[numOfImages * rows * cols];
//... and i'm create matrices
CvMat objectPointsMat = new CvMat(objectPointsList.Count,3,MatrixType.F32C1,objectPointsList.ToArray());
CvMat imagePointsMat = new CvMat(imagePointsList.Count, 1, MatrixType.F32C1, imagePointsList.ToArray());

Am i right?
Thanks,
Gabor

It looks like almost correct.
.ToArray is not necessary. You cannot get objectPoints' data through .NET array because ToArray makes different instance.

authors: Soulskater shimat

repo: shimat/opencvsharp


text:
cant read property promptwithargs

How do I fix this. My prompt is not working

Solved

run react-native link first

repo: shimohq/react-native-prompt-android


text:
2023 missed folder

in the installation it says you have to put in the fonts folder but there is not that folder.

Uncomfortable, that's true. Thanks for reaching out.

license: ISC


text:
[Bug]: BLE Android peripheral renaming does not update peripheral advertisement name

Component/Nuget
BluetoothLE Client (Shiny.BluetoothLE)
What operating system(s) are effected?

[ ] iOS (13+ supported)
[ ] Mac Catalyst
[X] Android (8+ supported)

Version(s) of Operation Systems
Android 14 - API 34
Hosting Model

[X] MAUI
[ ] Native/Classic Xamarin
[ ] Manual

Steps To Reproduce

Pair to BLE Device
Rename the Device (through the application)
disconnect the device
stop / restart scan
Device advertises still with the old name

Expected Behavior
after renaming the device it should advertise with the new name.
Actual Behavior
after renaming the device it still advertises with the old name. after restarting the application I can see the device with the changed name. Before upgrading to MAUI things worked as expected.
Exception or Log output
No response
Code Sample
As the app is customer specific and not public I am not able to provide a repo.
Code of Conduct

[X] I have supplied a reproducible sample that is NOT FROM THE SHINY SAMPLES!
[X] I am a Sponsor OR I am using the LATEST stable/beta version from nuget (v3.0 stable - ALPHAS are not taking issues - Sponsors can still send v2 issues)
[X] I am Sponsor OR My GitHub account is 30+ days old
[X] I understand that if I am checking these boxes and I am not actually following what they are saying, I will be removed from this repository!

I have supplied a reproducible sample that is NOT FROM THE SHINY SAMPLES!

authors: aritchie matthiasleonhardt

repo: shinyorg/shiny


text:
laravel.log: Permission denied.

On first install, after vessel start.
Visiting http://localhost
Immediately get Whoops error:
The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied

OpenSUSE 42.3
Docker version 17.04.0-ce, build 78d1802
ZSH shell
I know it's newly released. Just a quick observation.
Edit:
Connecting to app container:
./vessel exec app bash
and then manually running:
chown -R www-data: /var/www/html
Resolves this issue. Not sure it's not running from the dockerfile.

It's actually not released yet at all!
I need to sort out permissions on Linux hosts, just haven't gotten that in
place yet.
Thanks
On Sat, Oct 7, 2017 at 9:08 PM, Michael Faas notifications@github.com
wrote:

On first install, after vessel start.
Visiting http://localhost
Immediately get Whoops error:
The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied
OpenSUSE 42.3
Docker version 17.04.0-ce, build 78d1802
ZSH shell
I know it's newly released. Just a quick observation.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/shipping-docker/vessel/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAch0wvfN4jzVIYkNTFSm-gS1a3BXfBYks5sqC6tgaJpZM4Pxj-4
.

@fideloper ....My BAD! :-/
I guess I read you saying "check it out" and figured it may have been partially released!
I'm still very much looking forward to playing with this but will wait for an official release!
👍

No problem!
I have some work towards this on the linuxperms branch but need to finish
testing some NodeJS stuff.
On Sun, Oct 8, 2017 at 20:42 Michael Faas notifications@github.com wrote:

@fideloper https://github.com/fideloper ....My BAD! :-/
I guess I read you saying "check it out" and figured it may have been
partially released!
I'm still very much looking forward to playing with this but will wait for
an official release!
👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/shipping-docker/vessel/issues/1#issuecomment-335053831,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAch05wYr2bqpz6-j_ZVJxQlKLSUw6tNks5sqXnqgaJpZM4Pxj-4
.

@fideloper What do you think about passing current UID and GID to Dockerfile through Vessel script file.
Vessel file
export PUID=$(id -u `whoami`)
export PGID=$(id -g `whoami`)

# Users of the docker containers
DOCKER_USER_APP="www-data"
DOCKER_USER_NODE="node"

So we can pass the use to compose command..
$COMPOSE run --user="$DOCKER_USER_APP" --rm $TTY \
            -w /var/www/html \
            app \
            composer "$@"

Dockerfile
# Set permissions
ARG PUID=33
ARG PGID=33
RUN groupmod -g $PGID www-data \
    && usermod -u $PUID www-data

RUN chown -R www-data:www-data /var/www
RUN chmod 755 /var/www

Hi @lkmadushan - thanks!
I'm currently doing that for the Node container, although I haven't finished testing it, but I think that will get us where we need to be.
I'm doing similar for the app container, however I'm not doing that at build-time with the Dockerfile, but instead I'm doing it when the container spins up dynamically.
See the commits on the https://github.com/shipping-docker/vessel/tree/linuxperms branch to see more.
I may make this consistent to do the same way on each (Node and App images/containers). The only thing I don't like about the Dockerfile is the UID/GID gets hard-coded. However that's probably not an issue for more people using this on their dev machine. So, I think we'll likely end up going with your suggestion, but I want to play with it more to make sure it's a solid way to go about it.
Thanks again!

@fideloper you're welcome.
I like the idea of changing the user when the container spins up. need to check that out :)
Really enjoyed your shipping docker course and learned a lot from it. I was waiting for another episode that contains using docker in production with rancheros.
Thank you very much for sharing knowledge with others.
FYI: I had an issue when I'm using current user's UID/GID of host machine to fix linux permission, it's already allocated for an another application in the container.

PR #3 should settle this.

PR #3 should settle this.

This fixes this problem when php-fpm generates the file, but when you to vessel art make:... or an artisan command generates the log file, it still gets permission problems, right?
I think it still needs what you did on node regarding to UID.

Hmmm I'll check it out - it's possible that CLI-run php is still being run
as user root instead of the correct user. Thanks!
On Tue, Oct 17, 2017 at 12:49 PM, Daniel Polito notifications@github.com
wrote:

PR #3 https://github.com/shipping-docker/vessel/pull/3 should settle
this.
This fixes this problem when php-fpm generates the file, but when you to vessel
art make:... or an artisan command generates the log file, it still gets
permission problems, right?
I think it still needs what you did on node regarding to UID.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/shipping-docker/vessel/issues/1#issuecomment-337306958,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAch018hhUa5fVjDxJ7as9sxtFRyJWHbks5stOidgaJpZM4Pxj-4
.

I just installed vessel and have this problem from the first run, also it's not mapping ports to localhost (Mac Os).

@vedmant The latest release should resolve that, however you'll need to rebuild your images if you previously installed Vessel.
Also, the docs say what is likely happening on localhost, but I won't know without you letting us know what error output you get, if any. You likely have the EADDRINUSE issue: https://vessel.shippingdocker.com/docs/common-issues/#eaddrinuse

@vedmant  and @fideloper, I haven't seen this issue since the latest update, as Chris said. I have been using it non-stop since updating and rebuilding the boxes. It's a beautiful project!

Composer installed version "1.1.3", that's latest, according to releases list. No, I don't have any EADDRINUSE issues, it's not important, I open my app on "http://192.168.99.100/". Just tried to delete and reinstall everything, according to instructions, have the same error: "The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied".

Gotcha - Any reason not to use localhost? Sounds like if that doesn't work, something else might be going on (perhaps localhost is changed to something else in your /etc/hosts file, or maybe localhost is bound to port 80 but your 192...* network is not).
I've never had a permission issue in MacOS, Docker for Mac tends to make that Just Work™ since it works within a virtualized layer. Something on your system is different but I'm not sure what. Note that the version of Docker will matter more than the version of Docker-Compose.
Here's what I'm using:
Head to About Docker in this menu:

And see if perhaps you're on an older version of Docker?

@vedmant should also note that if you're not using Docker for Mac, and are instead using something like Docker Toolbox (running Docker within a virtualbox vm), then you'll run into errors like this, as the user ID it's attempting to run commands as may not match up to the user owning the files within the virtualbox VM. Vessel just won't work properly using Docker Toolbox (or while running Docker through a VM and using docker-machine to control it).

Thanks a lot, I think I installed docker somehow differently, yes, it's running on my Virtualbox and instead of Docker.app I have folder "Docker" in Applications with "Docker Quickstart Terminal" and "Kitematic (Beta)". I'll reinstall Docker completely.

Ah ha, that'll definitely do it! The "Docker for Mac" installer is a newer way they have to install it that should work better overall if you're able to try it out! https://docs.docker.com/docker-for-mac/install/

我也遇到类似的问题！不过我的做法是根据将容器内部的www-data用户和组的id改为一致，然后容器以www-data的身份运行。这时挂载就没有问题了啊！这是我自己做的php镜像，希望对遇到同样问题的朋友有帮助。

我也遇到类似的问题！不过我的做法是根据将容器内部和外部的www-data用户和组的id改为一致，然后容器以www-data的身份运行。这时挂载就没有问题了啊！这是我自己做的php镜像，希望对遇到同样问题的朋友有帮助。

Ok, I'm also having this issue and yes, I'm running vessel through docker-machine. Any advice on what to do?

authors: colynb dbpolito faasie farmercode fideloper lkmadushan vedmant

repo: shipping-docker/vessel


text:
Login validation, multi-service removal and image name shortening

Added login form validation and split into form and view components
Multi service remove action and shorten image names

/cc @ehazlett @cloutiertyler

Added a few more things to this:

Fitted status icons to save some space in our tables
Shorten long content trust image names to save some screen space, otherwise they often end up overflowing off the screen in list views
Fleshed out container inspect page

lgtm

authors: ehazlett tombee

repo: shipyard/shipyard


text:
Discard too old buffers

Currently, the buffer_tokens and buffer_mel is being used again in a later process.
However, when they become too large, the processing will take too long and exhaust VRAM.
Therefore, it is necessary to discard old buffers in them at the appropriate time.

--condition_on_previous_text is added in the original Whisper
https://github.com/openai/whisper/commit/5d8d3e75a4826fe5f01205d81c3017a805fc2bf9
That is related to here.
https://github.com/shirayu/whisper_streaming/blob/11a895606af52953a73e9acd903875d317eba6f5/whisper_streaming/transcriber.py#L223-L226


text:
Update mongodb@7.0

Build mongodb@7.0

:beers: @BrewTestBot has triggered a merge.

repo: shivammathur/homebrew-extensions


text:
Update imap@8.3

Build imap@8.3

:beers: @BrewTestBot has triggered a merge.


text:
Update imap@7.4

Build imap@7.4

:beers: @BrewTestBot has triggered a merge.

:beers: @BrewTestBot has triggered a merge.


text:
Update php@8.3-debug

Build php@8.3-debug

:beers: @BrewTestBot has triggered a merge.

repo: shivammathur/homebrew-php


text:
Task List

Inital Setup and Work

[x] Creating a new conda environment
[x] Installing necessary libraries
[x] Creating a project structure using cookiecutter or manually
[x] #2

Completed basic setup and work


text:
Domains niet included when grouped

Describe the bug
I'm not sure to report it as a bug or as a feature-request, but...
Entities of domains, other than light, aren't picked up by the plugin if they're in a furniture-group.
To Reproduce
Steps to reproduce the behavior:

Place multiple furniture, other than a light-source on the map.

Name the furniture to entitiy0names of your HASS. E.g. binary_sensor.presence, climate.livingroom, etc.

Start the plugin.

See the entities listed.

Group the furniture together.

Start the plugin.

See the entities other than light, not listed.

Expected behavior
All entities of the light domain and the domains listed at https://github.com/shmuelzon/home-assistant-floor-plan?tab=readme-ov-file#preparation listed.
Additional context
I would very much be able to group furniture together to keep things organized.
Think of grouping furniture for devices with multiple entities, like a Hue motion sensor.
Or a custom build cabinet which consists of multiple models (compartments, decoration, but also switches and such).

Thanks, it's fixed now. I'll create an official release soon

authors: DigiLive shmuelzon

repo: shmuelzon/home-assistant-floor-plan


text:
clean up splitting strategies

the base class should not take CLabels, but just "number of data", "number of folds"
sub-classes can take "number of classes", i.e. stratified splitting. This avoids checking label type etc
Maybe a different data structure should be used for the index vectors
If the index vectors are precomputed anyways, why not just return them?
the "inverse" vector methods should be called train/test
general code decluttering

Hey @karlnapf ! This is the first time I'm contributing to Shogun and this is my first issue! Could you help me out in this?

This task is a good entrance task, but not the easiest, it requires some c++ experience

@karlnapf I have contributed to mlpack in the past, so I think I can give a shot to this  😄 . So, how exactly should I go about it? It would be great if you could help me out :)

There is a number of points mentioned above. Also make sure to read the "getting started" guide on the wiki

I am getting this error while building Shogun:
Could NOT find ViennaCL (missing: VIENNACL_INCLUDE_DIR VIENNACL_ENCODED_VERSION) (Required is at least version "1.5.0")
I have built ViennaCL-1.7.1 and also copied it to /usr/include and in /usr/local/include/

This is not the right place to discuss such build problems. Pls do in irc or the mailing list

repo: shogun-toolbox/shogun


text:
add a meta example for serializing and loading trained models

The example should be should be under "base_api/serialization" or similar
Related to #3555, and #4463
see e.g. the unit tests on how to save/load:
https://github.com/shogun-toolbox/shogun/blob/develop/tests/unit/base/trained_model_serialization_test.cc
Use the "new" API (see e.g. #4463), and it might be necessary to add a bit of base-api for that

Can I look into this issue?

Is it still open @karlnapf

authors: Jasmine2612 karlnapf sparkingdark


text:
modの追加をインストール時に行いたい

pluginディレクトリにダウンロードしたjarを入れればOK
ただ、以下のmodのjarがwgetでダウンロードできない

ChestSort
TreeAssist

#23 でpluginsなどをマウントする仕組みになったため、対応しない

repo: shokkunrf/gretel


text:
Correct bundle administration javascript paths

1. Why is this change necessary?
The Shopware administration is unable to load a bundle's resources (CSS & JS) if the bundle's name contains bundle. This pr adjusts the path determination logic so that these resources can be loaded.
When installing a bundle's (e.g. MyBundle) assets, the asset installer copies all public files into a public/bundles/ directory. It does, however, remove bundle from the directory name so that all files are copied to public/bundles/my (https://github.com/shopware/platform/blob/master/src/Core/Framework/Plugin/Util/AssetService.php#L79-L84). The administration does not alter the url when trying to load the resources (https://github.com/shopware/platform/blob/master/src/Core/Framework/Api/Controller/InfoController.php#L221-L233). As a result the administration is unable to load these files.
2. What does this change do, exactly?
This change adapts the path used to load bundle javascript files.
3. Describe each step to reproduce the issue or behaviour.

Create a bundle which ends with bundle.
Add an administration javascript or css resource to the bundle.
Install the bundle and reload the administration.

4. Please link to the relevant issues (if any).
5. Checklist

[x] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Depends on https://github.com/shopware/development/pull/145

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Niklas Buechner seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Niklas Buechner seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@JoshuaBehrens didn't you do this in past PR, too? :thinking:

@JoshuaBehrens didn't you do this in past PR, too? :thinking:

Indeed. I had a PR called something like do bundle:dump like symfony does

Indeed. I had a PR called something like do bundle:dump like symfony does

It is basically 1000 PRs old :D https://github.com/shopware/platform/pull/650

It is basically 1000 PRs old :D https://github.com/shopware/platform/pull/650

Hey @niklasbuechner , thank you for investing the time 🙂 Regarding testing - I presume you mean testing this end-to-end is not feasible? I think it should suffice to mock the filesystem and make sure that the deleteDir/copy methods are called with the correct $targetPath when providing a bundle name containing "bundle" to the copyAssetsFromBundle method. Please correct me if I missed something here, I have not looked into this behaviour very deeply as of now.

Hey @niklasbuechner , thank you for investing the time 🙂 Regarding testing - I presume you mean testing this end-to-end is not feasible? I think it should suffice to mock the filesystem and make sure that the deleteDir/copy methods are called with the correct $targetPath when providing a bundle name containing "bundle" to the copyAssetsFromBundle method. Please correct me if I missed something here, I have not looked into this behaviour very deeply as of now.

No disappointment guys @fixpunkt @niklasbuechner . We should merge our changes as we are both not covering everything so far. It'll just be a win-win for all of us :)

No disappointment guys @fixpunkt @niklasbuechner . We should merge our changes as we are both not covering everything so far. It'll just be a win-win for all of us :)

Do you need any further information regarding testing this @niklasbuechner ? As discussed via Slack, my previous comment does not apply here, since I checked the wrong file.

Do you need any further information regarding testing this @niklasbuechner ? As discussed via Slack, my previous comment does not apply here, since I checked the wrong file.

@philipgatzka I have added a test for this code.

I just updated this pr fix the tests. The tests do need the mikey179/vfsstream package which I have added to the development template since the platform's development dependencies are not installed for the unit tests.
As a result, this pr now depends on the pr in the https://github.com/shopware/development repository: https://github.com/shopware/development/pull/145

@philipgatzka I have found a solution to implement the test without an extra bundle and without having to clean up temporary folders.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-13733
Please use this issue to track the state of your pull request.

Hey @niklasbuechner thanks for the PR : )

authors: CLAassistant J-Rahe JoshuaBehrens mitelg niklasbuechner philipgatzka shopwareBot

repo: shopware/platform


text:
Fix LanguageLocaleCodeProvider when working with inherited languages

1. Why is this change necessary?
When using a child language, multiple parts in shopware (like the twig currency filter) cause issues
2. What does this change do, exactly?
Adds IFNULL(code, parent.code) check to Shopware\Core\System\Language\LanguageLoader::loadLanguages(). This ensures that other methods expecting ::loadLanguages()[...]['code'] to contain the locale code will not fail anymore. This was the case especially with child languages inheriting the locale code from its parent.
3. Describe each step to reproduce the issue or behaviour.

Add a new child language (language.parentId)
Open the storefront in that language

The storefront now replies with an error 500: Return value of Shopware\Core\System\Locale\LanguageLocaleCodeProvider::getLocaleForLanguageId() must be of the type string, null returned
5. Checklist

[X] I have written tests and verified that they fail without my change
[X] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[X] I have read the contribution requirements and fulfil them.

What is the difference to this PR? :)
https://github.com/shopware/platform/pull/2461
I mean I am totally in favor of this change and would like to see it happen, just curious. And maybe extend the discussion from the other PR, as I do not agree with the current outcome, as the code field is optional for inherited languages.
Also it might be reasonable to add the tests from the other PR as well.

As I was a bit involved in the creation of the other PR, I can tell, that exactly the thing you mentioned was the reason for that PR.
We also started just by fixing the getLocaleForLanguageId, but than realized that the issue was also present in other cases (the ids function), it is just not stated like this in the PR message :)
The reasoning was than, that the mapping (language <-> locale via translated_code_id) should be unique, which makes no sense in my opinion, as you can only leave the translation code empty for inherited languages.
As I do not fully understand the reasoning, why the mapping should be unique in this case, it could also be that I misunderstand something, but the problem, which the other PR tried to solve, is exactly the same :) and I think the optimal way to fix this is via the LanguageLoader.

@aragon999 nice catch, i was not aware of the previous PR, that it does exactly the same thing, i only was aware that the previous PR started an internal discussion. But as this came already up the second time here i guess we have to fix something.
The reason the translation code id needs to be unique comes from the API/DAL as we allow writing translations by specifying the locale code so something like this works:
$productRepository->upsert([
    [
        'id' => $id,
        'name' => [
            'en-GB' => 'test product',
            'de-DE' => 'Testprodukt',
       ],
   ],
], $context);

In that case i would say that the expected behaviour would be that the translation value will be written for the parent language and if you want to override a value for a child language (that inherits the translation code) you would have to provide the correct language id, either in the payload directly or set it in the context. As already described by @aragon999 in the previous PR.
@silviokennecke can you add a test case (in the \Shopware\Core\Framework\Test\DataAbstractionLayer\Write\TranslationTest) that verifies the behaviour i described regarding writing translated data? And please provide a second test case that you can write the translation over the child language over the id of that language.

@silviokennecke i just dug deeper into it and sadly the LanguageLoader is also used when we handle write payloads, that means in the current implementation you would get inconsistent writes because the DAL would write the translation values for the first language that it finds with that locale.
So i guess the best solution would be to switch back and solve the issue in the LanguageLocaleCodeProvider directly.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-21596
Please use this issue to track the state of your pull request.

@silviokennecke thanks again for the contribution! :blue_heart: Your changes are merged. :tada:

authors: aragon999 keulinho shopwareBot silviokennecke


text:
OneToManyAssociation: EntityReader fails loading if no "id" column exists if retrieving paginated content, e.g. translations

PHP Version
8.1
Shopware Version
6.4.7.0
Expected behaviour
If one adds a one-to-many association when retrieving an entity and adds a pagination limit, then the query should not result in a SQL exception, if the primary key is not an id column, e.g. translations but the same is true for custom entities that might not have id as primary keys.
Actual behaviour
SQL exception is thrown Column not found: 1054 Unknown column 'product_translation.id' in 'field list'
How to reproduce
As an easy example translations can be used. Therefore, add the PHP code as command, and add it as service using autowiring/autoconfigure, then execute bin/console check:query and the exception is thrown.
<?php declare(strict_types=1);

namespace Shopware\Production\Command;

use Shopware\Core\Framework\Context;
use Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryInterface;
use Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

class CheckQueryCommand extends Command
{
    protected static $defaultName = 'check:query';

    protected EntityRepositoryInterface $productRepository;

    public function __construct(EntityRepositoryInterface $productRepository, string $name = null)
    {
        parent::__construct($name);

        $this->productRepository = $productRepository;
    }

    protected function execute(InputInterface $input, OutputInterface $output): int
    {
        $criteria = new Criteria();
        $criteria->setLimit(1);

        $criteria->addAssociation('translations');
        $criteria->getAssociation('translations')->setLimit(1);

        $this->productRepository->search($criteria, Context::createDefaultContext())->first();

        return 0;
    }
}

Another way to reproduce it would be to e.g. use the product listing store API route and add translations as association, as there a limit is always added.

OK. It is extremely easy to reproduce.

Create product (main product not variant).
Assign it to a sales channel.
Do not assign images to it.

Execute a fetch to its product detail store api and join media:
fetch("https://<host>/store-api/product/<id>", {
  "headers": {
    "content-type": "application/json",
    "sw-access-key": "<access-key>"
  },
  "body": "{\"associations\":{\"media\": {\" \": 1}}}",
  "method": "POST",
});

and the error occurs.

Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know.
Thank you again for your valuable feedback.

authors: AndreasA MarcelSchmaeing

repo: shopware/shopware


text:
Elasticsearch Analyzer used for customFields etc. does not support special chars in queries

Description:
When querying custom fields eg. like:
$criteria = new Criteria();
$criteria->addState(Criteria::STATE_ELASTICSEARCH_AWARE);
$criteria->addFilter(new ContainsFilter('customFields.field1', 'my-cool-value'));

ES wont return entities that actually contain the string my-cool-value because ES tries to split the string by - during the indexing process.
There is no way to "escape" the search query here so the custom field is still not queryable here.
Im pretty sure that this also applies to other fields containing special chars.
The problem is also described here:
https://stackoverflow.com/questions/44043372/match-string-with-minus-character-in-elasticsearch
It would be great if SW could use another Analyzer here.

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-31685.
[created from NEXT-31685, comment 485490]

[public] Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know. Thank you again for your valuable feedback.
[created from NEXT-31685, comment 501303]


text:
Adding "shopware mail template name" to zend mail object

1. Why is this change necessary?
There is only one real Event for checking the Mail before sending it Enlight_Components_Mail_Send - other events are only notify-events. Therefore it would be nice to know which Mail will be sent (sORDER / sREGISTERCONFIRMATION etc.) in case you want to send a mail with third party (mailchimp, emarsys etc.)
Right now there is no indicator whatsoever which mail will be sent. You can only differ these mails by their subject, which will eventually change (subshop, some admin etc.)
2. What does this change do, exactly?
It sets the MessageId ot the Zendmail object, which is never used anyways. It also catches Zend_Mail_Exceptions of setFrom.
3. Describe each step to reproduce the issue or behaviour.
Set setMessageId -> have the Shopware Template Name (sORDER / sREGISTERCONFIRMATION etc.) in the mail Object which can be accessed in Enlight_Components_Mail_Send
4. Please link to the relevant issues (if any).
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist

[x] I have written tests and verified that they fail without my change
[ ] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Removed setMessageId and added the value to the header instead.

Hey @Isengo1989 ,
thank you for your Contribution.
We see your need here, but please find another way to solve this.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-22414
Please use this issue to track the state of your pull request.

Wrong rebase? :D

Wrong rebase? :D

WTF - was hab ich getan o.O

Sorry my bad, I am not sure what I did. But I guess it was wrong. It was no rebase tho. I fetched the upstream as usual, merged the upstream/5.5 in my fork and then.
Well anyways - new PR is done ^^

@mitelg what happend to the PR?

@Isengo1989 I don't know what you have done 🙂 you closed the PR somehow and I only closed the related things 😉
maybe you could just reopen a new clean PR

@Isengo1989 I don't know what you have done  you closed the PR somehow and I only closed the related things
maybe you could just reopen a new clean PR

I think I forced annother PR/Change and overwrote my changes here -.- The changes are nowhere to be found - damn it
Well I will have to create a new one I guess

yeah I think so :frowning_face:
Unfortunately I cannot even re-open the PR

authors: Isengo1989 mitelg shopwareBot shyim


text:
fix: Default layout assignments

1. Why is this change necessary?
The ACL permissions system_config.editor and system_config.read do not exist.
2. What does this change do, exactly?
Correct the ACl permissions and cleanup some minor other stuff in the sw-cms module. See changelog for all changes.
3. Describe each step to reproduce the issue or behaviour.
Try to work with ACL rules.
4. Please link to the relevant issues (if any).
-
5. Checklist

[x] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Your Pull Request has been merged! :tada:
Thanks for your contribution! :blue_heart:


text:
[Refactor] Replace hard-coded auth token valid duration with value from env variable

Currently, auth token valid duration is hard-coded in wire.go. This value should be extracted from environmental variable to avoid unnecessary code changes in the future.

@byliuyang Can I work on this issue?

authors: arberiii byliuyang

repo: short-d/short


text:
Update annoy.mdx

corrected spelling of mapped

@ChetnaGuptaShorthillsAI mmapped is a function name not a typo.
Closing the PR

authors: ChetnaGuptaShorthillsAI ShorthillsAI

repo: shorthills-ai/langchain


text:
Quoted names

Added quoted name parsing,
Changed version from 0.1.1 to 0.2.0

[ ] Requires tree-sitter-cql3 parser v 0.1.0

I suspect this might be your last PR?
I wont be able to review till monday but thankyou for this!

authors: Claude-at-Instaclustr rukai


text:
Enable Github code blocks inside block quotes.

Including test. Similar to how it is done for lists. Looks good in my tests (already using that code).
I also wondered whether the call to showdown.subParser('githubCodeBlocks') should be better part of the blockGamut parser as it seems to make sense whenever a block is processed. But I am not deep enough into the showdown code to see the possible side effects.

The reason github is not called inside blockGamut is because it needs to be parsed and hashed before  parsing linkDefinitions.

@thanks for your contribution. I've merged it into develop branch

authors: phw tivie

repo: showdownjs/showdown


text:
2d and 3d joints positions

I tried to use the smpl parameter to calculate the position of 3d joints in order to compare with the data under the 3d_joints key, but found that the two data are different. At the same time, when I visualized the 2d joints on the original image, I also found that their positions did not match the actual ones. So I want to know how the 3d joints and 2d joints are calculated. Thanks in advance

You can follow the code in the forward_step to see how we calculate the 3D joints and project them to the image.
In what way were the 3D and 2D joints different from the ones you calculated?

Thank for your reply. This is the code i use to visualize the first 25 predicted 2d joints on the original frame.  `import joblib
import cv2
import matplotlib.pyplot as plt
import numpy as np
data = joblib.load('/home/markusc/Videos/panda_test/video/output2/webvid/medium/3/4dhumans/3_4dhumans.pkl')
first_key = next(iter(data.keys()))
joints_2d_1 = data[first_key]['2d_joints'][0]
joints_2d_2 = data[first_key]['2d_joints'][1]
image_path = '/home/markusc/Videos/panda_test/video/3/json_files/multiple/3/0.png'
image = cv2.imread(image_path)
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
img_height, img_width, _ = image.shape
dimensions
joints_2d_1 = joints_2d_1.reshape(-1, 2)
joints_2d_2 = joints_2d_2.reshape(-1, 2)
joints_2d_1[:, 0] *= img_width
joints_2d_1[:, 1] *= img_height
joints_2d_2[:, 0] *= img_width
joints_2d_2[:, 1] *= img_height
plt.figure(figsize=(10, 10))
plt.imshow(image)
for idx, joint in enumerate(joints_2d_1[:25]):
size = 100 if idx == 0 else 30  # Make the 0th joint larger
color = 'green' if idx == 0 else 'red'
plt.scatter(joint[0], joint[1], s=size, c=color, marker='o')
plt.text(joint[0], joint[1], str(idx), fontsize=12, color=color)
for idx, joint in enumerate(joints_2d_2[:25]):
size = 100 if idx == 0 else 30  # Make the 0th joint larger
color = 'yellow' if idx == 0 else 'blue'
plt.scatter(joint[0], joint[1], s=size, c=color, marker='o')
plt.text(joint[0], joint[1], str(idx), fontsize=12, color=color)
plt.title('2D Joints on Image - First Frame')
plt.axis('off')
plt.show()
`
And the result is as follow

output['pred_keypoints_3d'] = pred_keypoints_3d.reshape(batch_size, -1, 3)
The output is 44 keypoints. Is there any joint map?

@Marlod390 Hello, I would like to ask, for example, the following is the 3d_joints part of the information I extracted in the .pkl file, there are 45 lines in total, the last line looks like the origin, do you know how each line of information corresponds to each of the 44 joints? Do you know how each line of information corresponds to each of the 44 joints? For example, which joint is the first line of data?

@Marlod390


text:
[问题反馈]Docker镜像启动失败

Docker info:
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  compose: Docker Compose (Docker Inc.)
    Version:  2.16.0
    Path:     /usr/lib/docker/cli-plugins/docker-compose

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 2
 Server Version: 23.0.1
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc io.containerd.runc.v2
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 2456e983eb9e37e47538f59ea18f2043c9a73640.m
 runc version:
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.1.12-x64v1-xanmod1-1
 Operating System: Arch Linux
 OSType: linux
 Architecture: x86_64
 CPUs: 12
 Total Memory: 15.38GiB
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

相关信息：
Docker更新了以后，舍去了原来的Storage Driver,我手动配置更换了Storage Driver以后重新pull容器启动出现如下错误信息。
Error Message:
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: unable to apply apparmor profile: apparmor failed to apply profile: write /proc/self/attr/apparmor/exec: no such file or directory: unknown.

这是来自QQ邮箱的假期自动回复邮件。你好，我最近正在休假中，无法亲自回复你的邮件。我将在假期结束后，尽快给你回复。

authors: Hinanawimoko OnlyblackTea

repo: shuyangzhang/Kyouka


text:
SystemClock  高并发场景下System.currentTimeMillis()的性能问题的优化

单线程测试
1. System.currentTimeMillis();
2. SystemClock.now();

2 消耗的时间是 1的两遍。
测试代码
    public static void main(String[] args) {
        Date d = new Date();
        for (int i = 0; i < 100000000; i++) {
            System.currentTimeMillis();
        }
        Date d1 = new Date();
        System.out.println(d1.getTime() - d.getTime());

        Date d2 = new Date();
        for (int i = 0; i < 100000000; i++) {
            SystemClock.now();
        }
        Date d3 = new Date();
        System.out.println(d3.getTime() - d2.getTime());

    }

结果
38
300

请问是我测是代码有问题，还是什么情况？

测试方法有问题，通过多线程的方法测试 System.currentTimeMillis(); 性能确实弱于SystemClock.now();  和 new Date()
测试代码:
public class A {

    public static void main(String[] args) {
        Date d1 = new Date();
        Thread1 thread1 = null;
        for (int i = 0; i < 100000; i++) {
            thread1 = new Thread1();
            thread1.start();
        }
        Date d2 = new Date();
        System.out.println(d2.getTime() - d1.getTime());

        Date d3 = new Date();
        Thread2 thread2 = null;
        for (int i = 0; i < 100000; i++) {
            thread2 = new Thread2();
            thread2.start();
        }
        Date d4 = new Date();
        System.out.println(d4.getTime() - d3.getTime());

        Date d5 = new Date();
        Thread3 thread3 = null;
        for (int i = 0; i < 100000; i++) {
            thread3 = new Thread3();
            thread3.start();
        }
        Date d6 = new Date();
        System.out.println(d6.getTime() - d5.getTime());
    }
}

public class Thread1 extends Thread {
    @Override
    public void run() {

        System.currentTimeMillis();

    }
}

public class Thread2 extends Thread {
    @Override
    public void run() {

        new Date();

    }
}

public class Thread3 extends Thread {
    @Override
    public void run() {

        SystemClock.now();

    }
}

结果：
8204
8329
8176

这个 issue 直接关闭，谢谢

多线程这样些，不能确保获取第二个时间的时候，所有线程都执行完毕吧？

发送自 Windows 10 版邮件应用
发件人: Sam
发送时间: 2018年3月10日 16:48
收件人: shuzheng/zheng
抄送: Subscribed
主题: Re: [shuzheng/zheng] SystemClock 高并发场景下System.currentTimeMillis()的性能问题的优化 (#119)
多线程这样些，不能确保获取第二个时间的时候，所有线程都执行完毕吧？
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

测试方法有问题，通过多线程的方法测试 System.currentTimeMillis(); 性能确实弱于SystemClock.now();  和 new Date()
测试代码:
public class A {

    public static void main(String[] args) {
        Date d1 = new Date();
        Thread1 thread1 = null;
        for (int i = 0; i < 100000; i++) {
            thread1 = new Thread1();
            thread1.start();
        }
        Date d2 = new Date();
        System.out.println(d2.getTime() - d1.getTime());

        Date d3 = new Date();
        Thread2 thread2 = null;
        for (int i = 0; i < 100000; i++) {
            thread2 = new Thread2();
            thread2.start();
        }
        Date d4 = new Date();
        System.out.println(d4.getTime() - d3.getTime());

        Date d5 = new Date();
        Thread3 thread3 = null;
        for (int i = 0; i < 100000; i++) {
            thread3 = new Thread3();
            thread3.start();
        }
        Date d6 = new Date();
        System.out.println(d6.getTime() - d5.getTime());
    }
}

public class Thread1 extends Thread {
    @Override
    public void run() {

        System.currentTimeMillis();

    }
}

public class Thread2 extends Thread {
    @Override
    public void run() {

        new Date();

    }
}

public class Thread3 extends Thread {
    @Override
    public void run() {

        SystemClock.now();

    }
}

结果：
8204
8329
8176

这个测试例子有用？
你的例子里面的三个时间是创建 100000 Thread的时间。

repo: shuzheng/zheng


text:
getUserDetails 404 error

I am trying to retrieve the username, profile picture, followers, and following for the logged in user.
 self.instagramEngine.sharedEngine().getUserDetails(InstagramMedia().user.Id, withSuccess:{ _ in print("success") }, failure: { print($0) })
The code above returns a 404 error and I am unsure why.
InstagramMedia().user.Id does not return anything which may be the problem. I have also tried InstagramUser().user.Id which does not return anything as well.
Error:
 status code: 404, headers {     "Cache-Control" = "private, no-cache, no-store, must-revalidate";     "Content-Language" = en;     "Content-Length" = 13208;     "Content-Type" = "text/html";     Date = "Wed, 16 Dec 2015 18:37:50 GMT";     Expires = "Sat, 01 Jan 2000 00:00:00 GMT";     Pragma = "no-cache";     Vary = "Accept-Language, Cookie";     "x-frame-options" = SAMEORIGIN; } }
https://api.instagram.com/v1/users/?access_token=somenumber    SLocalizedDescription=Request failed: not found (404), com.alamofire.serialization.response.error.data=

I needed to use getSelfUserDetailsWithSuccess to get the desired result for the current user. Got confused with the methods.

repo: shyambhat/InstagramKit


text:
add: vishal065 profile and public data added

Description

Hello, I have added my Profile in the Data section please review, This is my first contribution to open source, and the first time a pull request was created I completed all the instructions as it was given CONTRIBUTING.md and README.md hope it soon gets merged into the main
Related Issues

Changes Proposed

Checklist

[✔] I have read and followed the Contribution Guidelines.
[✔] All new and existing tests passed.
[✔] I have updated the documentation to reflect the changes I've made.
[✔] My code follows the code style of this project.
[✔] The title of my pull request is a short description of the requested changes.

Screenshots
Note to reviewers

@vishal065 Sorry for reviewing late.
Thank you so much for your contribution! Your efforts are greatly appreciated and will go a long way in improving our project. Please feel free to share it with others and help us grow even further!

repo: shyamtawli/devFind


text:
src/include not found and another error when run ./bin/build_tracer.py

@**-Inspiron-3670:/path/to/BranchNet$ ./bin/build_tracer.py
makefile:14: /path/to/BranchNet/src/tracer/source/tools/Config/makefile.config: No such file or directory
make: *** No rule to make target '/media/zhoueg/BranchNet/src/tracer/source/tools/Config/makefile.config'.  Stop.

Closing this issue due to inactivity.  Feel free to reopen if needed.

I'm having the same issue and I have installed Pin through SDE toolkit/Pinplay and set the PIN_ROOT environment variable

authors: RobKlock huzhoudaxia siavashzk

repo: siavashzk/BranchNet


text:
Markdairy logo and icon

favicon guidance https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs
logo can be used on a main page in https://github.com/siavol/markdairy-web/issues/7

logo candidate - https://www.svgviewer.dev/s/jHRgVbX2

repo: siavol/markdairy-web


text:
mobGriefing - Creepers deal no damage in claims

Not sure if this is a conflict or how the GriefDefender plugin works, but Creepers do not deal explosive damage when they explode in claims. Grief prevention, afaik, aims to prevent loss of machinery or placed blocks. I think preventing creepers from hurting you is a little much.
Is this possible to address? If not I guess we can just close the issue.

Let's get some discussion on pro/con of this.

Let's get some discussion on pro/con of this.

In my experience, I haven't used the claims system, and I haven't had any insane trouble with creepers. However, I can see a scenario where a malicious player might use creepers to circumnavigate claims and invade someone's base.

In my experience, I haven't used the claims system, and I haven't had any insane trouble with creepers. However, I can see a scenario where a malicious player might use creepers to circumnavigate claims and invade someone's base.

Yeah, I guess allowing them to even do damage to players in claims is a bad idea in that regards. It is possible for a griefer to probably just carefully lure one into someone's base while someone is AFK, I suppose...

Yeah, I guess allowing them to even do damage to players in claims is a bad idea in that regards. It is possible for a griefer to probably just carefully lure one into someone's base while someone is AFK, I suppose...

Considering that players could do that, I think it best to leave as-is. I suspect if you are making claims, you have made (or are making) efforts to prevent mobs from spawning there anyways, so at that point it would be irrelevant.

Considering that players could do that, I think it best to leave as-is. I suspect if you are making claims, you have made (or are making) efforts to prevent mobs from spawning there anyways, so at that point it would be irrelevant.

authors: Drakonas SamHarris2020 sibomots

repo: sibomots/FooFarm


text:
Testability is compromised

We are using a Selenium based test environment for years without problem, but the structure of the iX design requires a lot of effort to test.
In many points the structure seams overcomplicated (select vs ix-select to mention one) and the overuse of shadow-roots makes it almost impossible to reach UI elements.
What is the test concept and/or preferred automated tool for testing this UI?
Is it possible to remove the unnecessary shadow layers and simplify the DOM?

@nuke-ellington do you have any news/reply for our concern?

We are using playright for testing it has no issues with shadow-dom it all.
There are also some other tools like Cypress wich can handle shadow-dom (https://github.com/cypress-io/cypress-example-recipes/tree/master/examples/testing-dom__shadow-dom)
If Selenium can handle shadow-dom correct please contact the maintainer of Selenium.

Alright, thanks for the feedback!

@idanko501 @ZsomborEvo - can you please provide a more detailed explanation for what you mean by overcomplicated/overuse of shadow DOM?
Maybe an example would help clarify the issue at hand.
Also ich you where able to find a solution for working with Selenium in the meantime, it would be great if you could share that as well.

@nuke-ellington - here is an example: a simple list item of a menu is embedded in two shadow roots. Why is it necessary?

The shadowDOM is an essential part of our Web Components architecture. Shadow DOM provides encapsulation for components, isolating their styles and markup within a dedicated DOM subtree. This ensures predictable and maintainable styling, while enabling seamless integration of self-contained and reusable components into various projects without conflicts or interference with existing styles and functionality. Also components have better performance due to the browser's optimized rendering of the encapsulated DOM subtree. This results in faster initial rendering and improved overall responsiveness of the components.
We try to reduce the complexity of the components itself to keep the structure as clean as possible.

authors: ZsomborEvo danielleroux idanko501 nuke-ellington

repo: siemens/ix


text:
passing data with link

Last time I open Issue if route does not exist, I following the Readme.md
I want to ask, do you have any documentation for pass parameter or data based on input field?
I mean on nova we have default button 'Submit' to save it on DB
Can this Packages Button do action like default submit button nova?
So, I want to create button using this package to save the data on Table A
and default nova button to save data on Table B
It's possible for do it?

@adityadees  this package is not meant as a replacement for Nova's default create/save etc buttons. You can make links and supply parameters to them using the link method for outside of nova and create detail index methods for routes inside nova.

@adityadees this package does not provide such functionality. Perhaps it can be build in, but I would have to research that when I have some time.


text:
Terarium tests and examples

Adds a terarium directory to the repo with some scripts to support running examples locally by using the same docker container that is running within terarium. This includes a terarium/README.md with an initial set of instructions for how to run the example scripts.
The goal was to make the examples require the minimal set of dev requirements (docker/python/requests) and nothing else.
This also has related changes:

Makes the API support an empty request object (no query defaults to QueryTrue)
Adds a resources/terarium_tests.json file that drives both the examples and the new test/test_terarium.py test. This should help a bit with example code falling out of sync with ongoing changes

Notes:

The docker example script targets the latest release of funman (using the version for the tag). This is intended to make the examples scripts stay in sync with the latest stable version. More thought could be put into testing examples on code in develop but for now the focus is on releases.

This should resolve #17

repo: siftech/funman


text:
Azure Active Directory integration

The aim of this PR is to add Azure Active Directory (AAD) integration with the AKS cluster created by the installer to allow RBAC fine-grained control using users and groups from AAD. I think this is an essential feature for our enterprise customers.
⚠ Warning:
the first time the user will try to create the cluster, the process will fail because the "server" application that connects to AAD needs to be granted consent from a directory administrator. This could be automated in hackish ways (using local-exec) but it won't always work because it's not granted that who is creating the cluster is also an AAD admin, furthermore I don't think it's worth to automate it because it defeats the whole purpose of manually granting access to sensible resources in AAD.

 Fury AKS Installer - Azure Active Directory integration

Final question. Did you tested? :)

Yes, I tested it and AAD integration is working as expected with users and groups. 😄

I miss an important part.... you mentioned it should be a "human" interactions... Can we document it? (at least a couple of links to the official documentation, what do you think?)

I've added a PR to the documentation site to document what you're asking @angelbarrera92.
Is the link pointing to the documentation portal enough or should I add something also to this repository?
Thank you.
Ref: sighupio/kfd-docs#38

repo: sighupio/fury-aks-installer


text:
Switch e2e test docker-compose to docker compose

Summary

Many cosign pull requests have e2e test failing, such as https://github.com/sigstore/cosign/actions/runs/10238677353/job/28323361888?pr=3808.
Apparently this is because docker-compose was removed from the ubuntu-latest and windows GitHub Actions runners late last week:
https://github.com/actions/runner-images/issues/9692
I don't follow the ecosystem closely enough to understand it, but apparently docker compose is what most people are using to work around this.
Release Note

NONE
Documentation

N/A

Let's work on https://github.com/sigstore/cosign/pull/3809 instead.

repo: sigstore/cosign


text:
invisible badge option?

this is my first ever "issue", I write on github. And to be honest - I use git more or less as a backup and versioning-tool.
I looked at the service you provide at hits.sh and this is exactly, what I was looking for.
The only change, I would need is an option for an invisible badge.
what is the best way to proceed? Should I click on "pull request", change the java source code and use the new code on my own server? What if someone else also needs this option?
I am really sorry, if this is a stupid question.
Christian

Thank you for registering the issue. However, there are currently no plans to provide the feature you mentioned in this service.
A quicker way, rather than creating and modifying the invisible option yourself, would be to add the opacity style to the image tag you want to apply, as shown below.
<img alt="Hits" src="https://hits.sh/github.com/silentsoft/hits.svg" style="opacity: 0;">

That is a brilliant idea. Thank you!
mit den besten Grüßen,
Christian Petersen
Am Di., 30. Mai 2023 um 23:49 Uhr schrieb Hyesung Lee <
@.***>:

Thank you for registering the issue. However, there are currently no plans
to provide the feature you mentioned in this service.
A quicker way, rather than creating and modifying the invisible option
yourself, would be to add the opacity style to the image tag you want to
apply, as shown below.

—
Reply to this email directly, view it on GitHub
https://github.com/silentsoft/hits/issues/15#issuecomment-1569152238,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIIOKMWLR6ZYI3BFPGIZP3XIZTQDANCNFSM6AAAAAAYUPVIDM
.
You are receiving this because you authored the thread.Message ID:
@.***>

authors: ChristianPetersen silentsoft

repo: silentsoft/hits


text:
PHP 7.0 tests broken on Travis CI due to phpunit 6.x

I've submited a PR and the tests for PHP 7.0 travis failed due to phpunit error. Checking more, I found that it's using phpunit 6.0.8, which has updated classes.
Perhaps a solution would be to include specific version of phpunit in require-dev instead of relying on phpunit version that Travis CI has.
The tests usually run on phpunit 4.5.x (4.5.0) otherwise and pass. In the 6.x series the class names have been updated, thus phpunit throws an error when trying to run tests.
Example:

Tests pass on PHP 5.x / phpunit 4.5.0: https://travis-ci.org/silexphp/Silex-WebProfiler/jobs/219888582
Tests fail on PHP 7.0 / phpunit 6.0.8: https://travis-ci.org/silexphp/Silex-WebProfiler/jobs/219888583

Affected PR #109

fixed in #113

repo: silexphp/Silex-WebProfiler


text:
Log job IDs for remote jobs to a file

It probably isn't reasonable to expect that people will remember or write down the UUID which gets printed at a start of a job run.
Previously, the ID wasn't something that the user needed to worry about. Now that we're adding a way to interact with remote jobs asynchronously though, it seems like it would be a good idea to store the ID somewhere that users can find it later.
For a longer-term solution, maybe in the next release, we could also consider stashing the ID somewhere in the schema, and using -cfg instead of -jobid as an argument to the sc-remote CLI app.

Lets discuss this tomorrow. I don't know if writing it to a file is going to be that helpful if there is no indication that the information is there.

Closing in favor to making dedicated schema key to store this information

authors: WRansohoff gadfort

repo: siliconcompiler/siliconcompiler


text:
При перегенерации epf-файлов пропадают созданные реквизиты формы

При перегенерации epf-файлов пропадают созданные реквизиты формы
Макеты и модули остаются, а реквизиты формы пропадают.

Тест интеграции путем комментария

authors: allustin artbear

repo: silverbulleters/vanessa-behavoir


text:
Feature Request: Simplify Space Script Development by Loading a separate .js file

I suggest enabling users to develop space scripts in external .js files before loading them into SilverBullet.
This approach simplifies the development process, improves version control, and facilitates outside testing.
Additionally, this feature could allow developers to create a JavaScript library of pure functions, test it externally, and then integrate it with SilverBullet by wrapping these functions in SilverBullet-specific calls.

Yes, that shouldn't be hard to add, but this makes the line between space script and plugs (https://silverbullet.md/Plugs) even more blurry. Effectively plugs do what you describe (although doing things like defining custom functions are a bit tricky to do from a plug at the moment, that can be fixed though).

Yes, I like the idea of using a Plug for external JavaScript.
I haven't looked into plugs, but I understand I cannot use the space script silverbullet.registerFunction etc..?

In the end, I solved my use case by creating a plug: https://github.com/simone-viozzi/silverbullet-meeting-notes
Fell free to add it to the list of plugs if you want, but it's very specific for my use case.

authors: simone-viozzi zefhemel

repo: silverbulletmd/silverbullet


text:
Add the ability to redirect a user to a custom page

User currently is either directed to the backurl or the default login url.
This adds the option of setting a config on Security redirecting the user to a custom page

seems like a fair addition... @tractorcow ?

It actually fixes a ToDo I ran in to last week, that annoyed the hell outta me :D Hence, the PR :)

Done @tractorcow

Looks like it needs a rebase on the correct branch @Firesphere

I just rebased on branch 4.0, I think it was the base it wanted to merge in to was wrong? This should be the right one, right?

@Firesphere can you please make sure you tag your commits with the correct change type? E.g. ENHANCEMENT / API / BUG

shouldn't this target the 4 branch as it's a new API/feature?
@Firesphere renaming the issue isn't the same as amending your commit message ;)

Oh yeah, maybe 4 is better.

Yep, sure enough :)

Gah, rebasing once again does weird things :| I'll fix that tonight

@GitHub, Remind me next weekend (not the upcoming one) to fix this.

@Firesphere does that reminder even work? I'd love it if it did lol.

@Firesphere do you want me to rebase this for you and get it over the line, or will you do it?

@tractorcow I hoped it did, but it didn't. I'll have to rebase and fix this though :| still :|

You're free to rebase it and get it over the line :) I just have too much to do in too little time

@tractorcow There you go :)

authors: Firesphere dhensby tractorcow

repo: silverstripe/silverstripe-framework


text:
Reverse 5b6a39e71a61fd595a913788c412b8e249611bff

Same as https://github.com/silverstripe/silverstripe-framework/pull/7190

I've created a 3.7.1 milestone.


text:
Document drop of official support of numpy < 1.12 in next versions in 0.10.0 release notes.

silx 0.10.0 will be the last version officially supporting numpy 1.8.0

done

authors: payno vasole

repo: silx-kit/silx


text:
Fix silx.math setup.py paths.

Pointed out by @kif: in silx/silx/math/setup.py os.path.join should be used to generate the paths.
IIRC os.path.join wasn't used because distutils handles both slash and backslash on windows (I think...). But still, it's better to use os.path.join.
histo_src = ['/'.join([histo_dir, srcf])
                 for srcf in ['histogramnd.pyx',
                              'src/histogramnd_c.c']]
histo_inc = ['/'.join([histo_dir, 'include']),
                 numpy.get_include()]

Closed by #27

authors: dnaudet vasole


text:
shrinking FIFO insert throws IllegalStateException "dataCount has not been initialized RecordHeader"

Test coverage was missing the inserting at the end of the region area for FIFO like work.

fixed in 0.9.4


text:
Support for xcframework (macos, ios, tvos, catalyst)

Hi,
We need the xcframework for plataforms (macos x64, macos arm64, ios arm64, ios simulator x64 and arm64, tvos simulator and device x64 and arm64, catalyst x64 and arm64)

Create a library for each platform and use cmake platform selector to specify the correct library for each:
https://github.com/leetal/ios-cmake/blob/master/ios.toolchain.cmake#L353-L374

Create an IF that check effective platform, example:
https://github.com/tdlib/td/blob/master/CMake/iOS.cmake#L66-L119

Create a xcframework that is a simple command that unify all .a or .so or .dylib files after you use lipo:
Do a lipo to join all simulators x64 and arm64 into one lib and after, create the xcframework:

xcodebuild -create-xcframework \
  -library ./libxyz_macos.a \
  -headers ./include/ \
  -library ./libxyz_iossimulator.a \
  -headers ./include/ \
  -library ./libxyz_maccatalyst.a \
  -headers ./include/ \
  -library ./libxyz_tvos.a \
  -headers ./include/ \
  -library ./libxyz_ios.a \
  -headers ./include/ \
  -output XYZ.xcframework

Thanks.

Thanks!


text:
Incorrect models (duplicated columns) generated when view contains literal columns

In a drift file, I have declared a view which returns a literal, as well as a set of columns:
CREATE VIEW Test AS   SELECT 'client' literal, * from Table;
The resulting generated model looks like this (snippet)
class TestData extends DataClass {
  final String literal;
  final Guid id;
  final String name;
  final String literal1;

Note how the literal column 'literal' is repeated as 'literal1'.

Hey @simolus3
Sorry, I wasn't clear enough...
'literal' is not a column in the table 'Table'.
It doesnt matter what you name the literal column, XXX, Foo, the code generator will create a duplicate column, XXX1, Foo1.

You can also work around this by mentioning the star first (*, 'client' literal)

Thank you @simolus3, you're an absolute machine.
Also confirmed the workaround as good.
Gratitude coming your way!

Thanks!!


text:
Type references that use <doc:SomeType> syntax within docblocks end up rendering <doc:SomeType> in source completion

Describe the bug
It seems like the docstrings that Xcode uses for it's own autocomplete don't match up what's in the generated DocC. Specifically, this only happens with references like <doc:TextView>, such at the one:
https://github.com/simonbs/Runestone/blob/922003263562cffa0f53ba92a17a89b2049e06de/Sources/Runestone/TextView/TextViewState.swift#L24
To Reproduce

Within the project in Xcode, type TextViewState(
Press ctrl+space

Expected behavior
Autocomplete within Xcode renders "Creates state that can be passed to an instance of TextView"
Actual behavior
Autocomplete within Xcode renders "Creates state that can be passed to an instance of doc:TextView"
Screenshots

Additional context
I think that these references can use the `` syntax, but I'm not too familiar with the DocC implications here 😅

Here's a snippet from Apple's docs on "Formatting your Documentation Content"

When referencing symbols that appear within your Swift framework or package, use symbol links instead. To create a symbol link, wrap the symbol name in a set of double backticks (``).
In the following example, DocC renders the referenced methods in a monospace font and wraps them in links to the corresponding documentation pages:
You can increase the sloth's energy level by asking them to
``eat(_:quantity:)`` or ``sleep(in:for:)``.

I think that `` should do the job here! I'll put a pull request up for ya.

repo: simonbs/Runestone


text:
Panic during decryption if the first share field is empty

On the decryption tab, if you leave it set to two or more shares, then fill in a share that is NOT the first text field, it will cause a panic in the Go WASM code.
If the first value is empty, when the code get to revertShareSlices, the function takes the length of the first value in the slice, which will be nil as the value was empty.  This causes a panic: runtime error: index out of range [0] with length 0 as the out variable is actually 0 in length.
I'm working on a pull request to just dump out of the recoverShares function if any of the text fields are empty.

Thanks for that issue and your pull request! Nice that we have it fixed now :D
It is also already deployed in my hosted version (y)

authors: kenXengineering simonfrey