RawSql issue with inheritance - PersistenceException: Inheritance type for discriminator value

query.setRawSql(RawSqlBuilder.unparsed("select" +
		" ScheduledAssignments.scheduledAssignmentId," +
		" Roles.roleTypeId," +
		" Roles.roleId," +
		//" Roles.name as roleName," +
		" ScheduledAssignments.userId" +
		" from ScheduledAssignments" +
		" join Roles on Roles.roleId = ScheduledAssignments.roleId" +
		" join Users on Users.userId = ScheduledAssignments.userId" +
		" where ScheduledAssignments.scheduledAssignmentId = " + sa.getId()
		)
		.columnMapping("scheduledAssignmentId", "id")
		.columnMapping("roleTypeId", "role.roletypeid")
		.columnMapping("roleId", "role.id")
		//.columnMapping("roleName", "role.name")
		.columnMapping("userId", "user.id")
		.create());

This works as-is. If you uncomment those 2 lines it fails with this:
javax.persistence.PersistenceException: Inheritance type for discriminator value [170] was not found?
at com.avaje.ebeaninternal.server.deploy.InheritInfo.readType(InheritInfo.java:202)
at com.avaje.ebeaninternal.server.deploy.InheritInfo.readType(InheritInfo.java:188)
at com.avaje.ebeaninternal.server.query.SqlTreeNodeBean.load(SqlTreeNodeBean.java:210)
at com.avaje.ebeaninternal.server.query.SqlTreeNodeBean.load(SqlTreeNodeBean.java:296)
170 is a roleId. Should I not be able to select and map properties of a relation when said relation requires a discriminator? The "name" property is in the super class, but I tried a different property in the subclass with the same result.

Effectively the fix here was in SqlTreeNodeBean buildRawSqlSelectChain() to add the discriminator property to the select chain (as it is required and must immediately proceed the id column in order to determine the inheritance type prior to reading/building the bean).
That means that CQueryPlanRawSql now no longer tries to add the discriminator into the indexPositions array (as the select chain now always contains the discriminator).


Naming conventions were not followed

C# Coding convention( https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions) suggests the following:
Use camel casing ("camelCasing") when naming private or internal fields, and prefix them with _.
But this page does not follow this suggestion. Am I correct?
And what about arrays? I do not see this for arrays too(https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/arrays/)

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

ID: c7aa6134-64e2-28a7-f7d0-d0c1512f4520
Version Independent ID: 3317fd4a-9cd3-57cd-66f7-abb271e302e8
Content: Strings - C# Programming Guide
Content Source: docs/csharp/programming-guide/strings/index.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

In the docs you linked these are local variables, not fields. So the naming is following the guidance.
To clarify:
public class Foo
{
    private string _thisIsAFieldOfTypeString;

    public string Bar()
    {
        string localVariableOfTypeString = _thisIsAFieldOfTypeString;
        return localVariableOfTypeString;
    }
}

In the docs you linked these are local variables, not fields. So the naming is following the guidance.
To clarify:
public class Foo
{
    private string _thisIsAFieldOfTypeString;

    public string Bar()
    {
        string localVariableOfTypeString = _thisIsAFieldOfTypeString;
        return localVariableOfTypeString;
    }
}

Yes.You are correct.I missed this.

@Vaskaran so this issue is resolved?
Can you close it then please?


MAINT: Remove unecessary requirements

pytables is not a standalone requirement but is included in pandas.

Coverage decreased (-65.4%) to 23.077% when pulling 0ce732e6b128e56d2b55601980f43ba4414f81be on Ydmir:master into dfca0996109828744f42d7420d9ce6b83044d23a on scienceopen:master.

Coverage decreased (-65.4%) to 23.077% when pulling 0ce732e6b128e56d2b55601980f43ba4414f81be on Ydmir:master into dfca0996109828744f42d7420d9ce6b83044d23a on scienceopen:master.


Retry Policy is not Respected

I am receiving this error message:
Azure.Messaging.ServiceBus.ServiceBusException: 'The operation did not complete within the allocated time 00:00:30 for object xxxxxxx.servicebus.windows.net:5671. (ServiceTimeout)'
notice the allocated time is 30 seconds.
My retry policy:
                var options = new ServiceBusClientOptions
                {
                    TransportType = ServiceBusTransportType.AmqpTcp,
                    RetryOptions = new ServiceBusRetryOptions()
                    {
                        Mode = ServiceBusRetryMode.Exponential,
                        Delay = TimeSpan.FromSeconds(1),
                        MaxDelay = TimeSpan.FromSeconds(59),
                        MaxRetries = 10,
                        TryTimeout= TimeSpan.FromSeconds(59),
                    }
                };

It is supposed to give an error that the allocated time is 00:00:59
If I change the value to anything less than 30 seconds, it works as expected.
Please advise if 30 seconds is the maximum.
Thanks.

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Service Bus:0.5525177,Storage:0.17022647,Event Hubs:0.022390159'

Hi @xbaha.  Therre's not much context for me to work from; if you'd like to share some additional samples of your code, we may be able to provide greater insight.   Based on the discussion, I believe what you're seeing is normal and expected behavior.
The TryTimeout is the interval allowed for all steps needed to perform the requested operation.  In scenarios where multiple steps are needed - such as opening a connection/link to make the service request, the portion of the TryTimeout that is left after doing so is passed to the service as the limit for the operation itself.   Often, differences like this are due to establishing the connection, link, and authorization needed for the operation.  In your scenario, it may be this or it may be something else - there's not enough information to do more than speculate.
There's a couple of things that would be helpful to understand:

I'm not sure what is meant by "If I change the value to anything less than 30 seconds, it works as expected."   Can you elaborate a bit on what you're seeing in that case?

A ServiceTimeout is a retriable error; if you're seeing that propagate to your application, that indicates all retries have been exhausted.  That there's a disparity in this case may indicate a problem with being able to establish the connection.  Can you collect verbose SDK logs for a +/- 2-minute period around the behavior?


fix issue #7646

re-index the toolbar buttons array after removing one or more toolbar buttons

[ ] Changes have been thoroughly tested to not break existing functionality.
[ ] New functionality has been documented or existing documentation has been updated to reflect changes.
[x] Visual changes are explained in the PR description using a screenshot/recording of before and after.

Example of code for disabling buttons

Markdown Editor Component before the fix

Markdown Editor Component after the fix

Nice. Thank you


isMounted is deprecated when using tab views

I get this whenever I go into my tabbed scene ever since I added it. If I view the two components separately they work fine, it's adding the tabs which cause it to break. I've tried various things like unmountScene={true} (pretty sure it doesn't do anything)
Should I mute this error, because everything seems to work okay. I'm just wondering if there is something I'm doing wrong, or if this is an actual issue with the package.
    "react-native-router-flux": "^4.0.0-beta.28",
    "react-navigation": "^1.5.11",

const AppRouter = () => {
	return (
		<Router>
			<Modal key="modal">
				<Stack key="root" hideNavBar >
					<Drawer key="Drawer" hideNavBar contentComponent={Sidebar} drawerWidth={deviceWidth/1.38}>
						<Stack key="MainStack" navBar={Layout} >
							<Scene key="Main" component={Main} />
							<Scene key="Settings" component={Settings}/>
							<Scene key="TVInfo" component={TVInfo}/>
							<Scene key="Login" component={Login} />
							<Scene key="TabBar" tabs={true} hideTabBar={false}>
								<Scene key="Info" hideNavBar={true} title="Info" icon={TabIcon} component={MovieInfo} />
								<Scene key="Cast" hideNavBar={true}  title="Cast" icon={TabIcon} component={Cast} />
							</Scene>
						</Stack>
					</Drawer>
				</Stack>
			</Modal>
		</Router>
	)
}

Sorry for formatting, Markup seems to take my two space tabs as if they were like 4 or 5 spaces.

Guys, I have the same issue! How can we fix it?

@januswel @andrew @daviscabral @joenoon Is there any solution for this guys?

Warning: isMounted(...) is deprecated in plain JavaScript React classes. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.

@guangyuzhihun What do you mean bro? Is there any solutions for this issue? did you fixed it?

@aksonov How can I solve this issue dear Pavel?
Thanks!

That's not an error - it is a warning. Even a few official packages still make references to isMounted yet.
By the way, this is not even used by react-native-router-flux anywhere. I believe that react-navigation is the culprit here.

@daviscabral Thanks buddy.
But I don't wanna ignore the warning and want to solve it. The warning says that it might cause memory leakage.

That's fine. Please provide a pull-request with your solution.

I have the same issue too.

This may be coming from within react itself:
https://github.com/facebook/react-native/issues/18868#issuecomment-396631905

Btw, hide the warning is not a solution. I don't consider a warning a blocker in a release, just a heads-up about possible out of date packages and future unsupported code.

Same issues here !

Please try to reproduce it with Example project and latest version 4.0.0-beta.40 (and RN0.56). Feel free to open if the issue still exists

Thank you sir! 👍🏻👊🏻


Bugfix/issue 924b

This is technical part 16 of the node job, but never mind :-)
This does not really fixes #924 because since the node job PR part 15 was merged such behavior has not been seen, but I've revealed what I mentioned in a comment of #924, which is leaking unfinished clients.
This had to do with incomplete shutdown and cleanup sequence of the client.
So in this PR we

make couple of minor improvements in comments, logs, renaming etc.
change the shutdown sequence of the peer clients
and thus fix the connected client leak
replace disconnected event with slim version
network peer loggers are prefixed with network client ID which is very handy while debugging issues like those we fixed in this PR

We do not yet document this as the end goal is to merge NPConnection class with NPClient class into one class and outside of NP.cs file. So it will change again, but should now be done correctly.

not to be merged yet

and we should be good to go


Waiting for postgres to become available..

Now this time it is showing this error. what should i do now?

Stop spamming
This is not a Q&A section
Learn the basics and start with less movable parts as possible. If this is your first time docker & django? Start with a django project without docker & postgres.


Set blockstore.type when no config-file exists

Part of fixing treeverse/lakefs#2363: blockstore.type will be required once
we fix that!

Thanks!  Pulling...


Does not return the value of the attribute in the function getEntityAttributeValue

Hello...!
Implement the function of the ocb-sender module (getEntityAttributeValue) and execute the following code:
cb.getEntityAttributeValue("Device_Smartphone_40bbcd9c6cae67c0", "batteryLevel")
.then((result) => console.log(result))
.catch((err) => console.log(err))
The response result is as follows:
{ statusCode: 200,
message: 'Se estableció conexión con el ContextBroker' }
{ value: Promise {  }, attribute: 'batteryLevel' }
They could help me ... because the value does not return the result.

Hi Fer thanks for the comment, it was solved in the current version 2.1.1


Bun plugin does not set bun/bin path like it does for go and python

Describe the bug
After successfully installing bun with mise use -g bun and installed some global package like bun add -g @biomejs/biome I cannot run biome directly from my shell via $ biome --version because ~/.bun/bin is not on my $PATH
For example with go I can install go with mise, run go install <some package>, and immediately be able to run the package in my shell with <some package> --version
To Reproduce
From a fresh mise install run the following
~$ mise use -g bun
~$ mise use -g go
~$ bun add -g @biomejs/biome
~$ biome --version
zsh: command not found: biome
~$ .bun/bin/biome --version
Version: 1.6.1
~$ go install github.com/tomwright/dasel/v2/cmd/dasel@master
~$ dasel --version
dasel version development-v2.7.1-0.20240318190008-1cbdc830b263

Expected behavior
I would expect globally installed bun packages to be accessible in my shell by having ~/.bun/bin on my path. The official bun install script sets this for you and emits a command to add to your bashrc in case the automatic path update didn't work.
mise doctor output
version: 2024.3.7 linux-x64 (3bde772 2024-03-21)
activated: yes
shims_on_path: no

build_info:
  Target: x86_64-unknown-linux-gnu
  Features: DEFAULT, NATIVE_TLS, OPENSSL
  Built: Thu, 21 Mar 2024 00:54:44 +0000
  Rust Version: rustc 1.76.0 (07dca489a 2024-02-04)
  Profile: release

shell:
  /usr/bin/zsh
  zsh 5.8.1 (x86_64-ubuntu-linux-gnu)

dirs:
  data: ~/.local/share/mise
  config: ~/.config/mise
  cache: ~/.cache/mise
  state: ~/.local/state/mise
  shims: ~/.local/share/mise/shims

config_files:
  ~/.config/mise/config.toml
  ~/dotfiles/.mise.toml

plugins:
  bun      (core)
  deno     (core)
  fzf      https://github.com/kompiro/asdf-fzf.git#d19eb67
  go       (core)
  java     (core)
  lazygit  https://github.com/nklmilojevic/asdf-lazygit.git#78e04f1
  node     (core)
  python   (core)
  ruby     (core)
  shfmt    https://github.com/luizm/asdf-shfmt.git#a42c5ff

toolset:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
env_vars:
  MISE_SHELL=zsh

settings:
  activate_aggressive = true
  all_compile = false
  always_keep_download = false
  always_keep_install = false
  asdf_compat = false
  cargo_binstall = true
  color = true
  disable_default_shorthands = false
  disable_tools = []
  experimental = false
  go_default_packages_file = "~/.default-go-packages"
  go_download_mirror = "https://dl.google.com/go"
  go_repo = "https://github.com/golang/go"
  go_set_gopath = false
  go_set_goroot = true
  go_skip_checksum = false
  jobs = 4
  legacy_version_file = true
  legacy_version_file_disable_tools = []
  node_compile = false
  not_found_auto_install = true
  paranoid = false
  plugin_autoupdate_last_check_duration = "7d"
  python_compile = false
  python_default_packages_file = "/home/fjorn/.default-python-packages"
  python_pyenv_repo = "https://github.com/pyenv/pyenv.git"
  raw = false
  trusted_config_paths = []
  quiet = false
  verbose = false
  yes = false
  ci = false
  debug = false
  trace = false
  log_level = "info"
  python_venv_auto_create = false

  [status]
  missing_tools = "if_other_versions_installed"
  show_env = false
  show_tools = false

1 problem found:

1. shims are missing, run mise reshim to create them
   Missing shims: dasel

The dasel shim missing is irrelevant to the bun bin packages not being on path
Additional context
Add any other context about the problem here.

npm adds symlinks to ~/.local/share/mise/installs/node/18/bin/ and that's typical behavior for languages in mise. This effectively locks the node version to the globally installed packages which is useful in case they're not compatible with future versions.
It looks like we could probably retain this behavior via something that uses the install.globalDir config, though I didn't see an env var way to configure that at first glance.
@Jarred-Sumner any thoughts on the best way to support bun? Can we use a single directory for all bun versions?
I am a little hesitant to use ~/.bun just because no other language uses a global directory like that but it could probably be done.

Ah yea that makes sense - I'm not really used to considering having multiple versions installed simultaneously so the global ~.bun/bin dir didn't seem like a concern. For now I manually added it to my path so I can use global bun packages and I don't plan on having multiple bun version simultaneously installed so it won't cause any issues.
I guess optimally bun would place it's bin dir alongside itself like does golang and python.


Update README.md

Fixed grammatical errors

@all-contributors please add @Cyebukayire for content

@Cyebukayire  You have received an email to join, or press this link - https://github.com/App-Choreography - , and you'll see a banner, for you to join the organisation! 🎉
You can also show that you are part of this org, by making yourself public. This will show our profile org on your profile:
Follow This:

After you join the organisation, search your name in the list of people. 🔍
Follow this below: ⬇

alright, Thank you so much:)
I've done that


@DisabledInNativeImage does not work with @WireMockTest

Proposal
Having a JUnit 5 test that uses @DisabledInNativeImage and the WireMockExtension produces the following exception when running tests in GraalVM native-image:
=> java.lang.ExceptionInInitializerError
   java.base@17.0.5/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
   java.base@17.0.5/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
   org.junit.platform.commons.util.ReflectionUtils.newInstance(ReflectionUtils.java:552)
   org.junit.platform.commons.util.ReflectionUtils.newInstance(ReflectionUtils.java:527)
   org.junit.jupiter.engine.extension.MutableExtensionRegistry.registerExtension(MutableExtensionRegistry.java:146)
   [...]
 Caused by: java.lang.IllegalArgumentException: resource keystore not found.
   com.google.common.base.Preconditions.checkArgument(Preconditions.java:220)
   com.google.common.io.Resources.getResource(Resources.java:194)
   com.github.tomakehurst.wiremock.core.WireMockConfiguration.<init>(WireMockConfiguration.java:82)
   com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig(WireMockConfiguration.java:158)
   com.github.tomakehurst.wiremock.core.WireMockConfiguration.options(WireMockConfiguration.java:162)
   [...]

This seems to happen because the WiremockExtension initializes a static field when the class is loaded (WireMockExtension#L40):
private static final Options DEFAULT_OPTIONS = WireMockConfiguration.options().dynamicPort();

I'd expect the combination of both annotations to work so that i can disable wiremock tests only when running in native-image.
A workaround is to not use the WiremockExtension and instantiate the WireMockServer manually.
Reproduction steps

Create a project that uses GraalVM native-image, JUnit 5 and Wiremock. (for example a Spring Boot 3 based application)
Write a test that uses @WireMockTest and @DisabledInNativeImage.
Run tests in native-image (mvn clean native:test)

Example test: BotCompanionClientTest
Example run: https://github.com/DarkAtra/v-rising-discord-bot/actions/runs/5169211506/jobs/9311323624#step:4:579
References
No response
Possible Patch
Subject: [PATCH] chore: fix @WireMockTest not working with @DisabledInNativeImage
---
Index: src/main/java/com/github/tomakehurst/wiremock/junit5/WireMockExtension.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/src/main/java/com/github/tomakehurst/wiremock/junit5/WireMockExtension.java b/src/main/java/com/github/tomakehurst/wiremock/junit5/WireMockExtension.java
--- a/src/main/java/com/github/tomakehurst/wiremock/junit5/WireMockExtension.java	(revision 38151bf88a265f7da2c435fa5a4ef2d83435355f)
+++ b/src/main/java/com/github/tomakehurst/wiremock/junit5/WireMockExtension.java	(revision 278b2892ffa9879cb51c79de007d990fe5abd050)
@@ -37,8 +37,6 @@
         AfterEachCallback,
         AfterAllCallback {

-  private static final Options DEFAULT_OPTIONS = WireMockConfiguration.options().dynamicPort();
-
   private final boolean configureStaticDsl;
   private final boolean failOnUnmatchedRequests;

@@ -189,6 +187,7 @@
   }

   private Options resolveOptions(ExtensionContext extensionContext) {
+    final Options defaultOptions = WireMockConfiguration.options().dynamicPort();
     return extensionContext
         .getElement()
         .flatMap(
@@ -197,7 +196,7 @@
                     ? AnnotationSupport.findAnnotation(annotatedElement, WireMockTest.class)
                     : Optional.empty())
         .<Options>map(this::buildOptionsFromWireMockTestAnnotation)
-        .orElse(Optional.ofNullable(this.options).orElse(DEFAULT_OPTIONS));
+        .orElse(Optional.ofNullable(this.options).orElse(defaultOptions));
   }

   private Options buildOptionsFromWireMockTestAnnotation(WireMockTest annotation) {

@tomakehurst should i raise a PR for the patch suggested above or do you have a different solution in mind?


i have a problem

when im trying to run script i get an error message saying that i dont have winsdk

You do not have the winsdk package installed.
use your favorite environment manager
poetry add winsdk
pipenv install winsdk
pip install winsdk

Sorry, but I can't help with this error.

all right thank for the help, ill wait for someone to reply then

Good luck.
P.S. I entered the code into an empty text file.txt, renamed it to .pyw and launched it... Everything works. But while searching for solutions to display notifications on Python, I found an error, as in your first message, and found the solution that I suggested to you. I did everything on Windows 11
P.S. 2
I am not a programmer at all.

Please. I am also waiting for an answer to the problem, which you can read above... https://github.com/GitHub30/win11toast/issues/45

I hope your issue gets fixed


Linking and expo

Description
React Native Linking documentation:

The following section only applies to projects with native code exposed.

Expo Linking documentation:

This module is an extension of the React Native Linking module, meaning that all methods in the RN module can be accessed via Linking, on top of the extra methods provided by Expo (detailed here).

I think its confusing, that React Native docs states that section applies only for project with native code. I can use Linking from 'react-native' in my Expo managed project and it will work.
Documentation version
0.60, 0.61, 0.62, 0.63

Hi @sa1dai, thank you for bringing this issue up, let me clarify that:

Linking module from react-native will not work in Expo app,
Not every Linking module method from expo will work in bare React Native app.

The sentence on the React Native website is correct (it warns Expo users that they can't uses that module from the core), but how Linking module from Expo works or what it mimics, it's just the Expo developers decision.
The source of the problem is in the sentence in Expo documentation so I think that you should create the issue in the Expo repository instead and ask for or propose a rephrase in there.

Linking module from react-native will not work in Expo app,

It's not  true.  Linking module from react-native can work in Expo app in managed flow (without native code). That is why I opened issue in RN docs.


Spelling mistake

Propeties of a Blob

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

ID: aee2a111-1d68-f5a5-5e90-24c9567d74a3
Version Independent ID: ee336e90-0a99-0068-1af3-3c44e75327d2
Content: BlobProperties Class (Azure.Storage.Blobs.Models) - Azure for .NET Developers
Content Source: xml/Azure.Storage.Blobs.Models/BlobProperties.xml
Service: azure
GitHub Login: @CamSoper
Microsoft Alias: casoper

Thank you for your feedback.  Tagging and routing to the team best able to assist.

Thank you for your feedback.  Tagging and routing to the team best able to assist.

Thanks for catching this, we will look to correct this as soon as we can.

Thanks for catching this, we will look to correct this as soon as we can.


tomcat9_9.0.31-1~deb10u3_all.deb -- is gone from your FTP source.  deb10u4_all.deb exists.

conf/tomcat9_deb.src
SOURCE_URL=https://ftp.debian.org/debian/pool/main/t/tomcat9/tomcat9_9.0.31-1~deb10u3_all.deb
change to
SOURCE_URL=https://ftp.debian.org/debian/pool/main/t/tomcat9/tomcat9_9.0.31-1~deb10u4_all.deb
and update all instances of deb10u3 to deb10u4.

Still appears to be pulling deb10u3 - which I guess is my primary question; why is it pulling u3 if we're directly linking to u4?
https://paste.yunohost.org/raw/yetaxivolo
2021-07-14 13:59:49,052: DEBUG - + local src_url=https://ftp.debian.org/debian/pool/main/t/tomcat9/tomcat9_9.0.31-1~deb10u3_all.deb


lightstep-tracer-cpp: mark as broken

needs an update + https://github.com/opentracing/opentracing-cpp
Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: lightstep-tracer-cpp
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: lightstep-tracer-cpp
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on x86_64-linux (full log)
The following builds were skipped because they don't evaluate on x86_64-linux: lightstep-tracer-cpp
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

applies to 18.03 as well, please backport


!!/unwatch purevpn

Too many FPs: https://metasmoke.erwaysoftware.com/search?body=purevpn and too high risk, almost 500 hits on StackExchange: https://stackexchange.com/search?q="purevpn"

!!/approve


Bug - World visually ignores time skipping or adding

Very bizarre, but if you use any time related commands or even just sleep in a bed, the game will acknowledge time being skipped, but won't show the change (exception being clocks) until you reload the world by going back into it.
https://www.youtube.com/watch?v=63jZE8eEhNM
https://www.youtube.com/watch?v=Mvw6Hr6i2Zw
First video is of the game acknowledging the time change but not showing it and the second video is showing it actually being the case with a reload

Are you using other mods with Legacy4J? What options did you use to create the world?

I've tested this on its own-- this is the fabric 1.20.4 version if that means anything. It's a standard world as well

(standard as in no datapacks messing with anything)

I didn't have this bug in any test I did, so for now I can't help you

I'll see if it's just an issue with fabric 1.20.4 on my end by seeing if it continues in the other versions of the mod available

Fabric 1.20.2 - Doesn't have this issue
Forge 1.20.2 - Doesn't have this issue
Forge 1.20.4 - Doesn't have this issue
This means there's something on Fabric's side for the 1.20.4 version since it's not an issue for me with the other three available versions of the mod. Just makes this case even weirder.. since it works fine on Forge 1.20.4

You can try the latest update, the 1.2 version

Addendum, I have no idea how I missed this, but turns out the game properly acknowledges the time change visually if you pause and then unpause after sleeping/using /time?

For me, it's working normally
https://clipchamp.com/watch/NA4YCmJpzYD

~That's weird.. If it's working for you and not me (Heck, I even tried using the same specific versions of fabric, fabric api, and architectury as you) then I dunno what's going on. Maybe it's some sorta spec related thing?~
Ok so I dunno what or why this is the case, but I managed to figure out the culprit-- I reset options.txt and.. now it works. It just works. I dunno why that of all things was the reason why this was happening but it works now. I even compared it to the old options.txt that had something to do with it and nothing seemed off whatsoever. Heck, I even enabled all the same options as the old options.txt and it STILL works. Dunno what's going on there but it's fixed.

I found out what the problem was, simply the Autosave Interval option was changing the singleplayer server tick value, i.e. this was only affecting the client


Textures not rendering in Pinocchio 2 and PyBullet

Textures don't render properly when loading the JVRC model with:

Pinocchio 2 + visualization in MeshCat
PyBullet (edit, see below)

Expected behavior
Either textures or (if not present) colors should appear. I'm not sure if we can realize this if-then-else behavior in URDF though :thinking:
Reproduction steps
Steps to reproduce the behavior:

Close robot_descriptions.py
Go to the examples directory
Run python ./show_in_meshcat.py jvrc_description
Check out the opened web-browser tab

Additional context
For Pinocchio: this is likely due to Pinocchio 2 not loading textures properly. I tried in Pinocchio 3 and textures are loaded fine there:

System

OS: Ubuntu 22.04
Pinocchio version: 2.7.0
PyBullet version: 3.25

If it's only in Pinocchio 2 we may actually skip this, as it will be fixed in future releases. I'll check if the issue happens with any other visualizer.

OK, well I hate to be the bearer of bad news, but the same happens in PyBullet :sweat_smile:

Reproduction steps: same as above, with:
python ./show_in_pybullet.py jvrc_description

I tried the pinocchio 2 + meshcat version locally and it fails indeed. If you look at the javascript console, it fails to fetch the texture files from the server. So I'm guessing this has more to do with the meshcat version or the meshcat/pinocchio integration. I stumbled upon this: https://github.com/meshcat-dev/meshcat-python/pull/112 which has some version of it integrated in https://github.com/duburcqa/jiminy/pull/533 so maybe this somehow also made its way into pinocchio 3?
I'm less familiar with bullet but the collada importer might be a little limited?

Yes, no worries about Pinocchio 2, texture loading will be fixed and released.
I don't know more about Bullet's collada importer. Feel free to close this issue if you are OK with both outcomes.

This issue is now fixed in Pinocchio. I've updated the issue title accordingly.


⚠ Bofrost.com has degraded performance

In 67d8ec4, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 459 ms

Resolved: Bofrost.com performance has improved in 0ac5afa.


docs: add community health files and license

https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/creating-a-default-community-health-file
CODE_OF_CONDUCT.md
Modified from https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/blob/249548292549b40233e81b1decd1164274ac188a/CODE_OF_CONDUCT.md

Updated from v1.4 to v2.1.

CONTRIBUTING.md
Modified from https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/blob/249548292549b40233e81b1decd1164274ac188a/CONTRIBUTING.md

Fixed for Autoware Core/Universe.
Updated the style of copyright notice based on Google's rule.

DISCLAIMER.md
Modified from https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/blob/249548292549b40233e81b1decd1164274ac188a/DISCLAIMER.md

Fixed for Autoware Core/Universe.

LICENSE
Modified from https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/blob/249548292549b40233e81b1decd1164274ac188a/LICENSE

Replaced {} by [] seeing here.

@kenji-miyake Review completed. Since the vast majority of these files were copied from elsewhere, minimal review was required in the end.

@xmfcx I've updated the rules. Could you check it again?
@LalithVipulananthan Could you check my English in these new commits?

@mitsudome-r @xmfcx By the way, can I merge this before confirming at TSC and will update after TSC's discussion if necessary?
I'd like to add these files as soon as possible so that developers/users won't be confused.

@mitsudome-r @xmfcx Since I've moved the license part to autoware-documentation, I believe we can merge this without waiting for the decision of license notations. Please approve if it's okay.


Integers Becoming Floats Beyond 31 Bits

A user of one of my pyjq-enabled programs observed that large integers we being returned from his filters as floats, causing validation that happened downstream to fail.  I narrowed the problem to this example (seen on 2.1.0 and 2.2.0 with Python 2.7.5 and Cython 0.29.1):
import pyjq

for script in [
        ".x =<PHONE_NUMBER>",
        ".x =<PHONE_NUMBER>"
]:
    filt = pyjq.compile(script)
    print script, "->", filt.all(None)

.x =<PHONE_NUMBER> -> [OrderedDict([(u'x',<PHONE_NUMBER>)])]
.x =<PHONE_NUMBER> -> [OrderedDict([(u'x',<PHONE_NUMBER>.0)])]

Jq does not exhibit this behavior:
% jq -n '.x =<PHONE_NUMBER>'
{
  "x":<PHONE_NUMBER>
}

% jq -n '.x =<PHONE_NUMBER>'
{
  "x":<PHONE_NUMBER>
}

...at least not until the numbers get considerably larger:
% jq -n '.x =<PHONE_NUMBER>999998'
{
  "x":<PHONE_NUMBER>999998
}

% jq -n '.x =<PHONE_NUMBER>999999'
{
  "x": 1e+16
}

Because the misbehaving numbers start life as text in a script, I don't think they're being turned into floats on the way in.  If I run a filter of .x =<PHONE_NUMBER> | .y = (.x | tostring), the string is correct, so at least to that point jq still understands it as an integer.
The best I can tell is that this is happening on the way out in this code:
cdef object jv_to_pyobj(jv jval):
    kind = jv_get_kind(jval)
    ...
    elif kind == JV_KIND_NUMBER:
        v = jv_number_value(jval)
        if jv_is_integer(jval):
            return int(v)
        return v
    ...

Any thoughts on whether this should be done differently, or should I look for a bug in the code Cython generates?
Thanks.

It seems impossible to fix.
While Python's int have unlimited precision,  jq's (and JavaScript's), Number have limited (32bit?) precision.

The best way to find a solution to a problem is to be told there isn't one.  :-)
See https://github.com/perfsonar/pscheduler/issues/717#issuecomment-472962004 for an update.

I got the same problem. Is this issue going to be solve?

I got the same problem. Is this issue going to be solve?
No. This issue is due to bug of jq. It is not going to be solved unless jq if fixed

It seems that this bug's cause is that small INT_MAX and INT_MIN are set by cython.

I have a working fix for this problem that's not in production yet but has been tested well enough that it's in the pipeline.  Because this is a hybrid jq/PyJQ problem, both packages have to be changed:

The fix for jq has already been submitted as a pull request and sounds like it will end up in the next release (which may be awhile at the rate they do releases):  https://github.com/stedolan/jq/pull/1862
Once a version of jq containing that change has been released, I will submit the change to PyJQ and PyJQ will have to depend on the new version of jq.

The perfSONAR project, where these changes originated, required an immediate fix, so we build and supply our own versions of both.  The patches can be found in the project sources:

jq 1.6 with patch:  https://github.com/perfsonar/pscheduler/tree/4.2.0/jq
PyJQ 2.3.0 with patch:  https://github.com/perfsonar/pscheduler/tree/4.2.0/python-pyjq.  Note that our version includes a patch to prevent the build process from downloading anything (we install the prerequisites ahead of time), but the patches don't conflict and you can skip that one if you want.

Alternately, you could use something similar to the stopgap fix I built into perfSONAR's PyJQ wrapper class while the problem was solved:   https://github.com/perfsonar/pscheduler/blob/4.1.6/python-pscheduler/pscheduler/pscheduler/jqfilter.py

What I found:
Jq and JavaScript holds any number (both of integer and float point number) as single number type Number. Number is implemented double in Jq.
So, It looks reasonable that pyjq never convert Number to int ( and always convert Number to float) where current pyjq convert Number to int if the value is in range [INT_MIN, INT_MAX].

Please give us your opinion:
Will "To convert Number to float always" work? Do you have a code which is broken by the strategy ?

I do have code in the field that will break if integers start coming out of PyJQ as floats but can continue running my patched PyJQ if necessary.
ECMA-404 is careful not to dictate internal representation, but it does treat JSON as a sequence of characters.  From that standpoint, my take would be that PyJQ should make an effort to preserve type going into and coming out of jq in the interest of making sure data won't come out as a different sequence when converted from JSON to text.  For example, if I give PyJQ input of 1234 and process it with a jq filter of ., converting to float by default would result in output of 1234.0, which wouldn't be the same sequence.
At the moment, jq is unable to handle the arbitrarily-large numbers that Python does, although there is an effort underway for that which has not yet been merged with the code.  It might be worth maintaining the current state of things until that effort is complete.

I'm sorry if this is a bit long - I tried to summarize roughly a day of investigation as concisely as I could without losing any relevant information.
We just stumbled on this issue as well.  I'm not sure if this is relevant, but per RFC-7159, implementations should agree on the representation of anything between [-(2^53)+1, (2^53)-1] when the software supports IEEE 754-2008 (IEEE Standard for Floating-Point Arithmetic) binary64.
Assuming I'm reading that correctly, shouldn't both jq and pyjq correctly handle 2**53-1 as some type of int and represent it the same way?  It looks like jq does this correctly:
$ jq --version
jq-1.6
$ echo '{"foo":<PHONE_NUMBER>740991}' | jq '.'
{
  "foo":<PHONE_NUMBER>740991
}

but pyjq does not:
$ pip list | grep pyjq
pyjq                      2.4.0
$ python3 -c 'from pyjq import compile; x = compile("."); print(x.first({"foo":<PHONE_NUMBER>740991}))'
{'foo':<PHONE_NUMBER>740991.0}

I saw a comment re: Cython and INT_MAX, but I didn't understand why that would be the issue here.  INT_MAX in Cython is from limits.h and would be in the range of 2^15.  LONG_MAX would be 2^31 and LLONG_MAX would be 2^63.  So if anything, the issue would seem to be related to LONG_MAX rather than INT_MAX.
I'm not a Cython expert (barely a novice) so the following may be completely wrong, but the above led me to look in in _pyjq.c to try and understand what may be going on.
When looked in _pyjq.c, I found something that didn't make sense.  The two functions I looked at that confused me are static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value) and static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value).  Both are doing similar things to convert a C int type into a Python int type.
In __Pyx_PyInt_From_int at around line 6591 in the case where an int is a signed int, it checks to see if an int is smaller than a long before finally checking to see if an int will fit in a long long before returning PyLong_FromLongLong((PY_LONG_LONG) value).
In __Pyx_PyInt_From_long, however, at around line 6644 it checks to see if sizeof(long) <= sizeof(long).  I think that will always be true independent of the architecture so the else clause will never be be used.  Essentially, I think that code will always result in __Pyx_PyInt_From_long returning PyInt_FromLong((long) value) and never trying to return PyLong_FromLongLong((PY_LONG_LONG) value).
I found a similar construct in static CYTHON_INLINE long __Pyx_PyInt_As_long at line 6985 where it is converting a Python int to a C int.
The above would seem to fit the pattern of results - a C long is converted from a long long and always forced to fix back into a long due to sizeof(long) <= sizeof(long) always being true (and I think maybe vice versa).

OK - I think I have this figured out.  It's not the above (but at least I learned some cool stuff about how Cython works).
When pyjq builds, its using the jq from the dependencies folder and that is version 1.5.  You can see that in setup.py around line 32.  That version has a problem in that the "jv_is_integer()" function does this:
int jv_is_integer(jv j){
  if(jv_get_kind(j) != JV_KIND_NUMBER){
    return 0;
  }
  double x = jv_number_value(j);
  if(x != x || x > INT_MAX || x < INT_MIN){
    return 0;
  }

  return x == (int)x;
}

The 1.6 version of jq doesn't do that - it does this:
int jv_is_integer(jv j){
    if(!JVP_HAS_KIND(j, JV_KIND_NUMBER)){
        return 0;
    }
    double x = jv_number_value(j);
    double ipart;
    double fpart = modf(x, &ipart);
    return fabs(fpart) < DBL_EPSILON;
}

I think the solution here is to update the tar ball for jq in dependencies to 1.6.

Any progress on that one? I saw efforts to bring pyjq to jq version 1.6 which would solve the issue. Any update?


CI: Test failure output doesn't point at the code

The way we use Ginkgo at the moment results in output like this:
13:36:30  • Failure [798.823 seconds]
13:36:30  K8sDatapathConfig
13:36:30  /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/k8s-1.17-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:395
13:36:30    ManagedEtcd
13:36:30    /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/k8s-1.17-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:395
13:36:30      Check connectivity with managed etcd [It]
13:36:30      /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/k8s-1.17-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:430
13:36:30
13:36:30      cilium pre-flight checks failed

Namely, we see file:line reference like test/ginkgo-ext/scopes.go:430, which is not where the tests are, it's the helper function. This can be fixed by using Gingko matchers instead of helper functions.

Here are some example matchers in eksctl unit tests, and here is an example of the usage:
https://github.com/weaveworks/eksctl/blob/68c3bce3e2540ec423665dab2fb79f9319fe6d07/pkg/cfn/template/api_test.go#L55-L80

@errordeveloper it would be helpful to have a link where this situation occurred. The output might be tricky to get it first.

@aanm this is not a question about the particular error, I'm suggesting how the output can be improved.
The output currently says the error occurred at test/ginkgo-ext/scopes.go:430, inside of wrapItFunc.
While it should be referring to test/k8sT/DatapathConfiguration.go:433.
This can be fixed, we are just not using Ginkgo properly.

This can be fixed, we are just not using Ginkgo properly.

That would be awesome if it gets fixed!

Fixing this would imply reworking most of ginkgo-ext.

Unstale.
On Fri, 3 Jul 2020, 7:43 pm stale[bot]<EMAIL_ADDRESS>wrote:

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cilium/cilium/issues/10637#issuecomment-653646837,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB5MSZTLF7H6OGTANBZ3ZLRZYRFXANCNFSM4LPNWLPA
.


chore: add repo settings

@jpoehnelt can you give a bit more context on this change? Will this override GitHub repo settings?

It is supposed to, it seems the bot is limited to the cloud github orgs though...


Current state of the component library from the initial clean up

Please check out the state of the CL and flag any changes that should be made before we start with our specific component work.
Thanks

Here's another component reference that needs to be removed:
ERR! Module not found: Error: Can't resolve '../../Molecules/Blocks/StatsPanel/StatsPanel' in '/home/runner/work/undrr-mangrove/undrr-mangrove/stories/Organism/Stats'

Here's another component reference that needs to be removed:
ERR! Module not found: Error: Can't resolve '../../Molecules/Blocks/StatsPanel/StatsPanel' in '/home/runner/work/undrr-mangrove/undrr-mangrove/stories/Organism/Stats'

fixed and committed

Adding a note: this branch includes outputs of yarn run lint which has aggressive changes:
    "lint": "npm run lint:css && npm run lint:js",
    "lint:css": "stylelint ./stories/**/*.scss --fix",
    "lint:js": "eslint --ignore-pattern '*.mdx' --ignore-pattern '**/Table.jsx' ./stories --fix"


Hyperion stops after a while

Hi All,
I am running xbmc on ubuntu os.
everything worked fine until recent xbmc update (now running 13.1) or other ubuntu update.
now, if I reboot my computer, leds are working fine, but after a while (comp is always on) it stops working and only return if I reboot my system.
even restarting hyperion from command line or other solutions didn't work.
any idea where to start?

Due to age i will close this issue. Please open a new one if you have questions
Than you


Make Utterance and AnnotatedUtterance dataclasses?

These classes might be replaced by dataclasses to remove hashing methods. Similar to #186.

Yes please


Feature Suggestion: Vertical Row reward set <3

Please and thank you much love here's a picture of my dog

Added in a recent version
Very cute doggo :)


Client Allocation Request for: Fei Yan - kernelogic

Client Allocation Questions
Core Information

Name: Fei Yan - kernelogic
Website / Social Media: Slack @feiya200
Region: North America
DataCap Requested: 5TiB
Addresses to be Notarized: f3rfb7aarwmrulwc4rqy4526zvopnsnbsmcfokhbi743kq2shaybo46cbjqezvmhhjkejpk6xqbafixvplq5xa
Notary Requested: ann-shin

pls, open a new issue.


Should we use more tags for identifying component model commits for cloning?

I have just worked on an issue with CLM5 externals that are loaded by using tags and I came to think that it may be beneficial to clone TSMP2 component models from tags as well.
Mostly the advantage would be that the cloned component models always stay constant making room for active development on the branches without messing up any running setups.
ParFlow, is already cloned from tags: git clone -b v3.12.0 https://github.com/parflow/parflow.git. Therefore my question is, whether to adopt cloning from tags for all component models, for which this is possible.
If I get positive feedback - I will start adopting "clonging from tags" for the PDAF-patched component models.

+1 to tagging component model versions. It encourages stable and reproducible setups. Also the tag would be logged during the configure step:
-- ══════════════════════════════════════════════════
-- Building »eCLM-ParFlow« DEBUG version
--   OASIS3-MCT: aug-2023
--   eCLM: 58a94da
--   ParFlow: v3.9.0-90-g9ab87ecd
-- ══════════════════════════════════════════════════

Added tag-based cloning in README for ParFlow (PDAF-patched): https://github.com/HPSCTerrSys/TSMP2/commit/ac73fea9ed97ad9fb76063faffa8ceef8ff4cc2f

I have now added tags in the README for:
Two component models

ParFlow (PDAF-patched)
CLM3.5

Coupler

OASIS3-MCT

Data assimilation

PDAF

For the currently non-tagged component models, I will open issues in the corresponding repositories and close this issue

ICON (internal)
eCLM: https://github.com/HPSCTerrSys/eCLM/issues/28


Recurrent Cells added

RNNCell, LSTMCell, GRUCell added

You can have an RNNCell cell after and/or before a Dense Layer, Embedding Layer, RNN Layers. So most likely you need to modify those files also to add the layer name entry


Make arrows on nav bar actually work as expected

The arrows on the nav bar should be useable to go between pages on the site.

The arrows should be white if there is a valid previous/next page to go to, and dark otherwise. Clicking the arrows should send you to your previous/next page.
Acceptance Criteria:

Clicking the back arrow sends you to previous page, and forward arrow to next page
The arrows are gray when there is no page to go to, and white when there is

some dev notes/issues

originally was going to use middleware to detect page change. This is annoying because when the back/forward arrows are used to change pages, you don't want the middleware to handle things.

making things work with the browser forward/backwards arrows is also an issue. having trouble detecting a back arrow click by browser vs a forward arrow click. can't look at array of pages to determine if click is back or forward arrow because of loops making it ambiguous (i.e. search -> / -> search, if a forward/back click is done while at /, we can't decipher which action it was based on the new page)

video -
https://streamable.com/oj1754

rewrote it to get it working as expected with browser navigation
https://streamable.com/z2arhn


Memory leak?

What version of WebTorrent Desktop? (See the 'About WebTorrent' menu)
0.17.2
What operating system and version?
macOS 10.12.1
What did you do?
Open the app xD
What did you expect to happen?
Use as normal xD
What actually happened?
Freeze the mac . I open the monitor and the CPU use of the WebTorrent Helper process was 240%

Hello @gperdomor
It's normal for applications to use more then 100% CPU, because torrent it's concurrent protocol.

WebTorrent Version:
Version 0.17.0 (0.97.1) (64-bit)
OS:
Ubuntu 16.04
What did you do?
Downloading a large torrent (30GB) which has been partially downloaded and then resumed leads to memory consumption of more than 20GB!

@the-solipsist Wow, that's intense. Probably because we're reverifying the incomplete pieces as quickly as possible. We used to cache the verified pieces so they wouldn't be reverified, but I think that stopped working at some point and now reverification always happens.

What would the possible solution be?  I tried adding the same magnet link (with the same download location) in Transmission, but that doesn't seem to realize that a partial download has already happened.


A benchmark framework for FHIR Tools

This PR uses Benchmark.dotnet framework to add benchmarks tests.
It was used to compare the run time with and without Presidio.
@navalev , @cobypeled

close it temporally,  can you contact boya if you want it get merged in this repo?


Turn on Discussions?

Can you turn on GitHub's Discussions feature so we can talk about models and use cases etc. without filing issues about them?

Great idea — just started it! 🎉
https://github.com/freedmand/semantra/discussions/51


Overriding default IndexNameResolver

Is your feature request related to a problem? Please describe.
Not so much a problem, but I own a personal Elasticsearch cluster that hosts a personal project. I'd like to test some other projects on the same cluster (since I'm paying for it anyway, and nothing is super mission-critical), but I'd like to avoid naming collisions between two deployed applications.
SQL could handle this using namespaces, but Elasticsearch already exposes a comparable feature through index prefixes.
It would be nice if I could store a setting in my project, so that some deployments would utilize a constant index prefix.
E.g. if I set a prefix of "my-app-", then call:
await this._conn.IndexAsync(new IndexRequest<MySpecialType>("special-types", "1234")
{
    Document = ret
}).ConfigureAwait(false);

It would turn into a request to:
POST /my-app-special-types/1234

Describe the solution you'd like

Create an interface IIndexNameResolver exposing the same contract as the current IndexNameResolver
Make methods on IndexNameResolver, virtual
Allow custom overriding of that default implementation with a custom class implementing that interface

I would then implement something like:
public class PrefixedIndexNameResolver : IndexNameResolver
{
    private readonly string prefix;

    public PrefixedIndexNameResolver(IConnectionSettingsValues connectionSettings, string prefix)
        : base(connectionSettings)
    {
        this.prefix = prefix;
    }

    private string PrependPrefix(string indexName) => this.prefix + indexName;

    public string Resolve<T>() where T : class => PrependPrefix(base.Resolve<T>());

    public string Resolve(IndexName i) => PrependPrefix(base.Resolve(i));

    public string Resolve(Type type) => PrependPrefix(base.Resolve(type));
}

The use could be very similar to SourceSerializerFactory, if ConnectionConfiguration<T> added:
public delegate IIndexNameResolver IndexNameResolverFactory(IConnectionSettingsValues values);

public T UseIndexNameResolver(IndexNameResolverFactory factory);

Describe alternatives you've considered
I originally thought a simple GlobalIndexPrefix would make a nice argument to IConnectionSettingsValues, but looking at the source code, I think a much cleaner solution would be to avoid this special-case behavior, and simply allow a custom implementation.
Additional context
I recognize this use-case is niche, but I can imagine other cases where someone may want to implement a special IndexNameResolver that, say, did some default transformations given the full type name, or even stored some form of mapping in a configuration dictionary. Not saying that sounds like a good idea, but this would open a lot of options up.
Additionally, this would be another step toward a more .NET Core philosophy of dependency injection, by allowing core functionality to be swapped out using interfaces.
I do see IConnectionSettingsValues also exposes Inferrer Inferrer { get; }, maybe there's a way to set that directly? All I see is ConnectionSettingsBase<TConnectionSettings>.DefaultIndex and such, which would presumably pass into the creation of a default Inferrer.
It should also be noted: I have runtime-defined index mappings for some document types, so I can't depend on CLR mappings to handle this completely. But even otherwise, this would be much more foolproof.

This sounds like an interesting feature, if perhaps niche as you say. How many different POCOs do you have? I'm wondering if using DefaultMappingFor<T>, although repetitive, might suffice?

Closing due to age/inactivity. Please let us know if this issue is still a relevant priority for your usage?


Unable to Fetch Custom Atrributes, using Swift

Hi Guys,
I am successfully getting a standard response using "getDetails().." , but unable to trace Custom Attribute with the same response, do i have to go additional task to get Custom Attributes.

I am facing the same issue. My App client has read and write access to all the attributes including the custom ones. I am able to see the only sub, email_verified, phone_number_verified, phone_number, and email attributes in the response. Any solution to this one, please?


TODO is not ignoring folders

I have added dst/ to Ignored Names of prefs and it isn't working. Also tried dst/** in case it was because file is nested; doesn't work either. I have tried restarting Nova again as I noticed it didn't seem to load anything to initially and alerted a No command found with the name "todo.refresh". That seems working now but could be a bug in there somewhere.

Hi @Amparose. This preference does not accept relative paths, only file and directory names. So, adding dst will ignore that directory and its contents.
As for the error, it does sound like something hadn't quite finished loading yet. If you are able reproduce the "no command found" error, please let me know and I'll take a look.

Ah yep, removing the trailing slash fixed it. Thanks.


update compat to cats-0.7.2 in 0.5.0-SNAPSHOT

Aloha :)
Do you mind updating the 0.5.0-SNAPSHOT to use the latest cats version?

Thanks! Will do.

@felher FYI - I think I may switch atto to use the approach I'm using with doobie, which is a preprocessor that compiles everything "natively" without requiring shims.

Ok the new snapshot should be out there.

@tpolecat Great, thanks! :)
Why do you want to switch away from shims? Not that I have anything against it. Just curious if there are any non-obvious problems.

Technically it's ok but it imposes extra work on the user, which I don't want to do. I see compatibility as the library author's problem, not something the user should have to think about.

@tpolecat I understand.
Speaking of compatibility: Truly sorry to bug you again, but did you also publish the compat-cats part?  Here it seems that the depedency of the compat is cats 0.5.0 (can be checked by clicking on "pom" on the left).

hell. i'll look at it in the morning


mise install precompiled python fails in macOS Monterey running on Intel CPU

Describe the bug
Trying to mise install precompiled python fails in macOS Monterey running on Intel CPU.
To Reproduce
~/.config/mise/settings.toml should contain:
experimental = true

~/.config/mise/config.toml should contain:
[tools]
python = ['3.12']

Run mise install:
% mise install
mise installing precompiled python from indygreg/python-build-standalone
mise if you experience issues with this python, switch to python-build
mise by running: mise settings set python_compile 0
Error:   × no precompiled version found for<EMAIL_ADDRESS>
Expected behavior
Expected mise to install precompiled cpython 3.12.1 for x86_64-apple-darwin from https://github.com/indygreg/python-build-standalone/releases
Also, shouldn't the warning above say mise settings set python_compile 1 (instead of 0) to switch to python-build?
mise doctor output
mise version:
  2024.1.14 macos-x64 (2024-01-09)

build:
  Target: x86_64-apple-darwin
  Features: DEFAULT, NATIVE_TLS
  Built: Tue, 9 Jan 2024 02:43:11 +0000
  Rust Version: rustc 1.75.0 (82e1608df 2023-12-21) (Homebrew)
  Profile: release

shell:
  /usr/local/bin/zsh
  zsh 5.9 (x86_64-apple-darwin21.6.0)

mise data directory:
  ~/.local/share/mise

mise environment variables:
  (none)

mise settings file:
  ~/.config/mise/settings.toml

settings:
  {
    "all_compile": false,
    "always_keep_download": false,
    "always_keep_install": false,
    "asdf_compat": false,
    "color": true,
    "disable_default_shorthands": false,
    "disable_tools": [],
    "experimental": true,
    "jobs": 4,
    "legacy_version_file": true,
    "legacy_version_file_disable_tools": [],
    "node_compile": false,
    "not_found_auto_install": true,
    "paranoid": false,
    "plugin_autoupdate_last_check_duration": "7d",
    "python_compile": false,
    "python_venv_auto_create": false,
    "raw": false,
    "shorthands_file": null,
    "task_output": null,
    "trusted_config_paths": [],
    "quiet": false,
    "verbose": false,
    "yes": false,
    "ci": false,
    "cd": null,
    "debug": false,
    "env_file": null,
    "trace": false,
    "log_level": "info"
  }

config files:
  ~/.config/mise/config.toml

plugins:
  bun      (core)
  deno     (core)
  erlang   (core)
  go       (core)
  java     (core)
  node     (core)
  python   (core)
  ruby     (core)

toolset:
<EMAIL_ADDRESS>
1 problem found:
mise is not activated, run mise help activate or
read documentation at https://mise.jdx.dev for activation instructions.
Alternatively, add the shims directory /Users/eric/.local/share/mise/shims to PATH.
Using the shims directory is preferred for non-interactive setups.

Additional context
Using macOS 12.7.2 running on Intel CPU. Not activating mise or using shims because I use mise only with direnv.

I see the issue:
https://github.com/jdx/mise/blob/main/src/plugins/core/python.rs#L368
that "_v3" suffix does not exist for macos builds


Even better README

The README is better off with #2 solved. Here's some more information you can add,

You can put the hosted template link, at the very top of the page in the description of the repository.

No need to code the messy HTML pages. Just make a few changes in user-friendly syntax, and you'll be good to go.

I feel this point should be at the very top. It's the most important reason to use a jekyll template for a course website

Adding data in .yml files

You can link the names of specific .yml files that need to be change the contents of a particular page . As an example, lectures.yml for the Resources page, if I remember correctly, kind of like a tutorial cum guide.

You can mention the p-paf website under a separate sub-heading as Template used in. This is will bring attention to the fact that the template is being used and also allow you to add more websites later.

P.S. I hope you've checked that the use template option automatically handles the changes to the URL of the website, so there isn't a problem like the one we had earlier with PPAF.
P.P.S. You can't merge testing branch with master because they have all the same commits, no difference at all.

A small tip when you make a commit that resolves an issue just write closes #5 in the commit message, it links that commit with this issue and makes it easy to track changes.
You can read more about this at https://help.github.com/en/enterprise/2.16/user/github/managing-your-work-on-github/closing-issues-using-keywords.

Alright, will do that from now on. Thanks for the tip!


M502 writing build script

The python build script is already tested in a fresh installation of Ubuntu 18.04 and 20.04 using VMware. THe cmkae file is changed so paths are not hardcoded.
@riteshsv could you please test it on Linux and if needed update it to work with Mac as well using the same style.

sure I will test it and get back to you
On Sun, Oct 25, 2020 at 7:45 PM idhamari<EMAIL_ADDRESS>wrote:

The python build script
https://github.com/VisSimKoblenz/opensimQt/blob/master/buildOpenSimQt.py
is already tested in a fresh installation of Ubuntu 18.04 and 20.04 using
VMware. THe cmkae file is changed so paths are not hardcoded.
@riteshsv https://github.com/riteshsv could you please test it on Linux
and if needed update it to work with Mac as well using the same style.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/VisSimKoblenz/opensimQt/issues/33, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJQWDLIPZUOQGTFU5YXUWBDSMQXG5ANCNFSM4S6LNBZQ
.


Ability to Print directly from the editor

Like Google Drive is doing it..
Generating a PDF out of it and sending it to print. Then it's up to the user to download as PDF or send it directly to printer. I'm sure people would do that just to post them somewhere on their whiteboards :)

See also #1800 for exporting to PDF.


Fix oad

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[ ] I have read the contribution guidelines.
[ ] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

@vladbarosan Can you share a little bit of context why is this change needed?

@jianghaolu This is just regarding the bug we are having with breaking change tool in CI. I am assigning it to me :)

@veronicagg that one is from an old job where it was still failing. Yes I squashed the commits since it was messy. I saw know that I can squash them on complete PR so will do so in the future :) .

No modification for AutorestCI/azure-sdk-for-ruby

No modification for AutorestCI/azure-sdk-for-python

No modification for AutorestCI/azure-sdk-for-node


fix(snowflake): add memray dep to snowflake [do not merge]

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

should we close this PR now?


Jupyter Inline/Notebook Activity Incompatible with image display (?)

It seems that Jupyter(inline) Notebook Activity is incompatible with Colab ipynb that contains image-display.
For example, this works in my Colab:

However, this activity will never load inside the app.
My question is that whether this is related to the notebook engine we are using for the app, because when I try to collect input() from users, the app also complains that input() is not supported.

Now the notebooks can load, and we are getting this popup:

We can reopen this issue after the coding competition

@Brainenjii hi, we would like to implement image viewing/saving feature for this competition as well. I will reopen this issue.

#436

I have made a path with these Colab links as Path Activities:
Path: https://achievements-dev.firebaseapp.com/#/paths/-LKySkg663NzWlsliMcf


--dont-exit-on-error option seems to be broken

Suppose the following input:
int main ()
{
        int *a;
        int *b;
        free(a);
        free(a);
        free(b);
        free(b);
}

symbiotic --prp=memsafety --dont-exit-on-error produces the same output (memory error: invalid pointer: free at line 5) as symbiotic --prp=memsafety.

This is the expected behavior. KLEE terminates a path if there is an error on it. In this program, there is only one path and it is killed on line 5. The --dont-exit-on-error switch tells Symbiotic to try to find as many errors (on different paths) as possible. Without this switch, Symbiotic terminates after it finds any (the first) error. For example:
#include <assert.h>
int main(void)
{
        int a = __VERIFIER_nondet_int();
        if (a > 0) {
                assert(0 && "first");
        } else {
                assert(0 && "second");
        }
        return 0;
}

If you run Symbiotic without --dont-exit-on-error, only one error will be reported (whichever is found first), but with the switch, it should report both.

On Thursday, November 28, 2019 6:54:01 PM CET Marek Chalupa wrote:

This is the expected behavior. KLEE terminates a path if there is an error
on it. In this program, there is only one path and it is killed on line 5.

This is perfectly fine.  There is no point to continue with symbolic execution
on paths where the program would have already crashed.

If you run Symbiotic without --dont-exit-on-error, only one error will be
reported (whichever is found first), but with the switch, it should report
both.

That was exactly my expectation, too.  The problem is that it did not work
for me either.  Could you please paste the output you get out of symbiotic --dont-exit-on-error for the above mentioned input program?

Right, that does not work either. I fixed it in the current development branch. Hopefully, I will merge the master and the devel branches soon.

For those who are surprised by all of sudden missing --dont-exit-on-error, the option seems to be on by default since commit 7e32ff83fba7c994354750151632053690d25067.  I think it could have been kept as deprecated or undocummented no-op for compatibility but there are probably not many users relying on symbiotic's CLI yet.

By the way, 8738e5b9a1ff05e66a0facb17d9a57165c6ad3bc seems to work as expected in terms of reporting multiple errors in one run.  Thank you for making it work!


Failed to precompile aqueduct:aqueduct

Hi,
I'm trying to install aqueduct in Ubuntu.
I follow the steps from https://dart.dev/get-dart to install Dart, and after http://aqueduct.io/docs/getting_started/ to install aqueduct.
The error issue does in pub global activate aqueduct command.

Downloading password_hash 2.0.0...
Downloading open_api 2.0.1...
Downloading codable 1.0.0...
Downloading yaml 2.1.16...
Downloading safe_config 2.0.2...
Downloading pub_semver 1.4.2...
Downloading postgres 1.0.2...
Downloading meta 1.1.7...
Downloading logging 0.11.3+2...
Downloading args 1.5.2...
Downloading charcode 1.1.2...
Downloading pub_cache 0.2.3...
Downloading path 1.6.4...
Downloading crypto 2.1.2...
Downloading isolate_executor 2.0.2+3...
Downloading typed_data 1.1.6...
Downloading string_scanner 1.0.5...
Downloading source_span 1.5.5...
Downloading term_glyph 1.1.0...
Downloading convert 2.1.1...
Downloading analyzer 0.35.4...
Downloading kernel 0.3.14...
Downloading front_end 0.1.14...
Downloading package_config 1.1.0...
Downloading glob 1.1.7...
Downloading watcher 0.9.7+12...
Downloading pedantic 1.8.0+1...
Downloading collection 1.14.12...
Downloading async 2.3.0...
Precompiling executables... (11.4s)
Failed to precompile aqueduct:aqueduct:

Dart version:
dart --version
Dart VM version: 2.4.1 (Unknown timestamp) on "linux_x64"
The server hosted in Amazon Lightsail - Ubuntu 18.04.
How I can install Aqueduct in Ubuntu?

Thank you Joe for reply, I ran the command with -v again
and now exit this:
MSG : Precompiling executables...
IO  : Deleting directory
/home/ubuntu/.pub-cache/global_packages/aqueduct/bin.
IO  : Spawning "/usr/lib/dart/bin/dart
--packages=file:///home/ubuntu/.pub-cache/global_packages/aqueduct/.packages
--snapshot=/home/ubuntu/.pub-cache/global_packages/aqueduct/bin/aqueduct.dart.snapshot.dart2
file:///home/ubuntu/.pub-cache/hosted/
pub.dartlang.org/aqueduct-3.2.1/bin/aqueduct.dart" in /home/ubuntu/dart/.
IO  : Finished /usr/lib/dart/bin/dart. Exit code -9.
| Nothing output on stdout.
| Nothing output on stderr.
ERR : Failed to precompile aqueduct:aqueduct:
|
FINE: Exception type: ApplicationException
FINE: package:pub/src/dart.dart 64:5               snapshot
| ===== asynchronous gap ===========================
| dart:async
_AsyncAwaitCompleter.completeError
| package:pub/src/dart.dart                    snapshot
| ===== asynchronous gap ===========================
| dart:async                                   _asyncThenWrapperHelper
| package:pub/src/dart.dart                    snapshot
| package:pub/src/global_packages.dart 248:15
GlobalPackages._precompileExecutables..
| ===== asynchronous gap ===========================
| dart:async                                   _asyncThenWrapperHelper
| package:pub/src/global_packages.dart
GlobalPackages._installInCache
| package:pub/src/global_packages.dart 125:11
GlobalPackages.activateHosted
FINE: Precompiling executables finished (3.
Em ter, 27 de ago de 2019 às 17:32, Joe Conway<EMAIL_ADDRESS>escreveu:

Not sure why that is happening - might need to clear your pub cache, might
need to try again, there might be something in Dart 2.4.1 that is causing a
conflict. Can you run again with -v option (verbose)?
If that isn't working, run aqueduct CLI via pub:
https://dart.dev/tools/pub/cmd/pub-global#running-a-script-using-pub-global-run
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stablekernel/aqueduct/issues/727?email_source=notifications&email_token=AAIMVCGYO6UABGQWAQPHR6LQGWFOTA5CNFSM4IQMD6I2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5JA2LQ#issuecomment-525471022,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIMVCBUQA6BCFDIUKPKPADQGWFOTANCNFSM4IQMD6IQ
.


Unknown source tracker peut afficher des valeurs négatives

Version of the custom_component
2024.3.2
Configuration

Describe the bug
Le sensor donne parfois des valeurs négatives, impossible.

Additionnal logs:
Logger: homeassistant.components.sensor.recorder
Source: components/sensor/recorder.py:301
integration: Sensor (documentation, issues)
First occurred: 9:45:10 PM (1 occurrences)
Last logged: 9:45:10 PM

Entity sensor.unknown_source_tracker_hilo_energy from integration hilo has state class total_increasing, but its state is not strictly increasing. Triggered by state 0.48 (0.49) with last_updated set to 2024-03-16T01:41:27.697736+00:00. Please create a bug report at https://github.com/dvd-dev/hilo/issues


Handle error response when attempting to rerun an expired job

Once this is versioned and merged into v3.0.2-patch, I will update ApiCommonWebsite/api-build-62.


fix version naming convention to have 'v' prefix

This change is needed to follow vgo guidelines
put forth by Go community.
https://github.com/golang/vgo/blob/master/vendor/cmd/go/internal/semver/semver.go#L6

// semantic version strings must begin with a leading "v"

Supported format style
https://github.com/golang/vgo/blob/master/vendor/cmd/go/internal/semver/semver.go#L11

//	vMAJOR[.MINOR[.PATCH[-PRERELEASE][+BUILD]]]

Fixes #985

Sorry for jumping in here, this change seems to be not related to what I suggested in #985: It was just about the tags in the git repository for minio-go, so from my point of view (and Go's) the string in the library does not matter at all. The version is still 6.0.1, just the version tag (in git) should be v6.0.1... Not sure what to do with this, at least you know now ;)

Now the tag is v6.0.2 we won't be changing the old tags is that needed as well ?

ah, I didn't see that earlier, that's sufficient. Thanks!


Use LocalRest's new API filtering

It should probably be rebased to use the simpler API once https://github.com/Geod24/localrest/pull/11 is rebased.

Updated LocalRest to HEAD.


co hosting with different channel

there are hosts who are broadcasting on different channels how can I combine their broadcasts into one stream or how they can see each other into their leave stream , their audience also can see them

any update on it ?

Sorry for the late reply, pls refer to https://api-ref.agora.io/en/voice-sdk/react-native/4.x/API/rtc_api_overview_ng.html#rtc_api_overview_ng__media_stream_relay_across_channels


Add drawing function

What this PR does / why we need it?
Code editor provides users with drawing tools
Currently, only the line drawing part is provided
-Add board component
-Add function to draw lines on a canvas
Any background context you want to provide?
What are the relevant tickets?

Fixes #
Checklist

[ ] Added relevant tests or not required
[ ] Didn't break anything

Could I ask which part is weird??
The drawing is selected and it is marked in blue.
In the dark mode, I think the pencil color should be white🤔

@ppeeou
Looks like the style is broken in dark mode. How about displaying the pencil button in white like other icons, and drawing lines in white?

@hackerwins apply to it !:)
The material design makes it easy to apply dark mode

@hackerwins Thank you for your comment
I applied to it
I think I can get good habits thanks to you.

@ppeeou
Additionally, when the drawing board is visible, unintended scrolling is created. How about fixing it before merging?


Deleted account is not disabling

If admin deletes users, they are able to sign-in still. Have to add condition for IsDeleted property at AccountController/Login action method

What would be best to do if account is deleted?

Redirect to register?
Tell them deleted?

If you redirect to register, they wouldn't able to register with same e-mail/username again. I think, it is a point.

Therefore, best option is latter one, IMO.


Improved test coverage

Describe the feature or enhancement you'd like
Current test coverage is spotty at best. After MVP is complete, we need to improve test coverage and testability. Code will need refactored, and testing strategies and SOPs will need developed.

This can be merged once coverage hits 80%.


encryption at rest configuration

Currently used aescbc encryption is not recomended by the kubernetes project (https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/#providers). I'd like to create my own encryption-config.json. But after I introduced changes k3s failed with:
Jan 12 22:46:59 master k3s[84316]: time="2022-01-12T22:46:59+01:00" level=fatal msg="/var/lib/rancher/k3s/server/cred/encryption-config.json newer than datastore and could cause cluster outage. Remove the file from disk and restart to be recreated from datastore."

This functionality prevents cluster administrator from providing own encryption config. I'd like to provide encryption key from external source (like hashicorp vault) in order to be able to recover cluster in case of disaster from etcd backup. Without control of this key I won't be able to recover it.

If you use --secrets-encryption flag, then the encryption configuration is managed by K3s; you should not modify it yourself. If you want to provide your own configuration configuration, you should use --kube-apiserver-arg=encryption-provider-config=/path/to/config.json` to point the apiserver at a custom configuration file.


[9.x] Adding additional PHP extensions to shouldBlockPhpUpload Function

Adding additional PHP extensions to shouldBlockPhpUpload() Function
Some webserver configurations will treat php7 and php8 as a valid php extensions will execute them as a normal php file.
Laravel by default will block list of php extensions from being uploaded using shouldBlockPhpUpload function.
protected function shouldBlockPhpUpload($value, $parameters)
    {
        if (in_array('php', $parameters)) {
            return false;
        }

        $phpExtensions = [
            'php', 'php3', 'php4', 'php5', 'phtml', 'phar',
        ];

        return ($value instanceof UploadedFile)
           ? in_array(trim(strtolower($value->getClientOriginalExtension())), $phpExtensions)
           : in_array(trim(strtolower($value->getExtension())), $phpExtensions);
    }

Yet by using this function the application can not prevent uploading php files using php7 or php8 extentions which some webservers will treat them as a normal php code and will execute it.
To prevent uploading php7 or php8 files i just added php7,php8 to blocked php extensions.
protected function shouldBlockPhpUpload($value, $parameters)
    {
        if (in_array('php', $parameters)) {
            return false;
        }

        $phpExtensions = [
            'php', 'php3', 'php4', 'php5', 'phtml', 'phar','php7','php8'
        ];

        return ($value instanceof UploadedFile)
           ? in_array(trim(strtolower($value->getClientOriginalExtension())), $phpExtensions)
           : in_array(trim(strtolower($value->getExtension())), $phpExtensions);
    }

Vulnerable webservers
Duirng my research i found out, A lot of cloud and host providers will configure there webservers to execute php7 and php8 file extensions as a normal php file.
Here is an example of vulnrable configured apache2 webserver.
This is contents of /etc/apache2/conf/mime.types file
application/x-httpd-ea-php80 		 php php8
application/x-httpd-ea-php71 		 php php7
application/x-httpd-ea-php56 		 php php5
text/x-registry 		 reg
application/x-httpd-ea-php54 		 php php5
application/x-httpd-ea-php55 		 php php5
text/x-sql 		 sql
application/x-httpd-ea-php74 		 php php7
application/x-httpd-ea-php72 		 php php7
application/perl 		 pl plx ppl perl pm
application/x-gzip 		 tgz
text/x-log 		 log
application/cgi 		 cgi
application/x-img 		 img
application/x-httpd-php-source 		 phps
application/x-httpd-ea-php73 		 php php7
application/ruby 		 rb
text/vbscript 		 vbs
text/x-config 		 cnf conf
application/x-httpd-ea-php70 		 php php7

Fixing Webservers
Make sure your webserver configuration didn't treat other php extension types as a valid php file like example above.
Also you can add .htaccess file to uploads directory to prevent execution of php in uploads directory which is controlled by end users.
Add this to .htaccess file in uploads directory
php_flag engine off

you forgot php6 😄

بەشەرەفم پیاوی


Fixed Poetry problem

Thank you, I've been waiting for someone to fix the poetry bug in this repo.


Stop any loader

It would be nice to have a way to stop any/all loader without a specific identifier.
This can be used inside something like catchError()

Hi @Et3rnal and thank you for submitting your feature request.
It's an interesting feature and we will develop it soon! To sum up, it will be a method to stop any running loader (tell me if I'm wrong with what you thought).
Stay tuned of the release progress of this feature on this issue. 😉
Cheers! 🖖

Yes you are right "a method to stop any running loader"
Thank you :)

Hi @Et3rnal! After this long time, it has been fixed in #12! New 2.0 release soon!
Cheers! 🖖


allow specifying start element

I'm trying to convert http://www.lido-schema.org/schema/v1.0/lido-v1.0.xsd. The starting element for that schema is lidoWrap, as you can see here http://www.lido-schema.org/schema/v1.0/lido-v1.0-schema-listing.html. But afaik, this is not indicated anywhere in the schema.
So I changed the xsl to allow specifying the starting element as a param start, eg:
xsltproc -stringparam start lidoWrap -o lido-v1.0.rng c:\prog\bin\XSDtoRNG.xsl lido-v1.0.xsd

Will submit patch

The fix is not good. jing gives this error:
lido-v1.0.rng:197:45: error: found "element" element but expected "define" or "start" or "include" or "div" element
So more changes are needed to change non-starting elements to define, and to use them with ref

That schema is a strange mix of "Salami Slice" and "Venetian Blind", some elements are defined at top level like Salami Slice and the content of the elements are defined as types like Venetian Blind.
The issue with Salami Slice is that I cannot know which one is the top level tag. Try with the correction of your commit I suggest, and I will integrate it to the code.
Thank you very much for the issue reporting and fixes.

The parentheses in the if are not the problem.
I just committed a better fix: https://github.com/VladimirAlexiev/XSDtoRNG/commit/3239c2326081c37abdd9ddf3a79ddc35ef6183af.
Hmm, can you pull this or should I do something extra toe nable you to pull it?

Ok I think I got the whole case. If the element declaration is at the top of the schema, then in any case it must me surrounded by a rng:define.
Then with the start parameter, we can decide if it is the top element or not.
I prefer spliting totally the case "at the top of the schema" and the other cases, like in my fix.


Allow stubbed classes to receive arbitrary parameters

Currently stubbed classes will raise an error if assigned a parameter value. This should be changed to follow the stub_type function's behavior.

Implemented in PR#16


StackQueues.kt

StackQueues Algorithm Using Kotlin

Forked the Repo and Created all the stackqueues files in folder structure .Please let me know again do i need to create a new Pull request

Forked the Repo and Created all the stackqueues files in folder structure .Please let me know again do i need to create a new Pull request

Please make a new PR


I want my account to persist between sessions

[x] user stays logged in until session timeout
[x] user can refresh the page and stay logged in
[x] on google login, acct is either retrieved or created

thinking 2 will simply be injected user data to save a network request

created api/1/user to get user details instead of injecting


adding PKS solution description and link

Adding Pivotal's PKS to the list of hosted solutions

/assign

@bradtopol since I made this update, would appreciate a second set of eyes reviewing the content and approving it.
/assign @bradtopol

/approve

Great job!
/lgtm


TMS-2128 support for TCP tunnels

This CL adds support for TCP tunnels, with support for either port-based or IP-based routing.

hi @rjeczalik  can you please send refactoring and implementation in two PR, since this is an important feature, lets not have interesting stuff to sneak in :)

@cihangir Done. In another PR I'm going to send tests + refactoring. There may be still old flakes in tests (like https://travis-ci.org/koding/tunnel/jobs/113488281), I'll take them down after both PR are merged.

The failure here is an old flake - we're not waiting in tests for the yamux session to get established before issuing http requests (partially workarounded in some tests). Will get that fixed in separate PR.

there are two points that are not clear for me yet but, will check second pr with tests before commenting on them :)

:+1:


0.2.2 breaks dependency resolution

Hi, as observed in https://github.com/sayanarijit/xplr/issues/208#issuecomment-852115184, the version 0.2.2 broke xplr compilation.
As per https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-cratesio, 0.2.0 is equivalent to ^0.2.0, which means the last upgrade should have been a major version upgrade instead of bugfix release.

Oh thanks for letting me know ! I'll yank the release and publish a v0.3.0

I've now published v0.3.0. And yanked v0.2.2

FIxed. Thanks for your super quick response.


Release 9.1.1

fix text overlapping with counter

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


NAlgebra support passing a matrix instead of separate points?

Currently this KDTree supports passing point separately, is it possible instead to pass a matrix of points, where each column is a single point?

@JulianKnodt It looks difficult.
You can do that for statically sized matrix such as Matrix3<T> (= Matrix<T, U3, U3, ArrayStorage<T, 3, 3>>). The underlying data structure of such statically sized matrix is 2-dimensional array like [[T; R]; C], and you can construct KdSlice for the array.
But this is not meaningful. You want it for dynamically sized matrix s.t. DMatrix.
Unfotunately, the underlying data structure of DMatrix is VecStorage<T, R, C> and it's not a 2-dimensional array.
I don't have any good solution.