SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax

Hello,
I'm trying to add a product to the cart using the $cart->add(Product::findOne($id) method, but it throws the following exception:
Error Info: Array (     [0] => 42000     [1] => 1064     [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '{{cart}}                 SET                     cartData = 'a:1:{i:1;O:18:\' at line 1 )
It seems to me that the "" character is not allowed in MySQL database.
I have the following setup, and your latest composer version of the cart (yii2mod/yii2-cart  v1.4):

PHP: PHP 7.4.9 (cli) (built: Aug  7 2020 19:23:06) ( NTS )
Yii2: Version 2.0.34
Server version: Apache/2.4.41 (Unix)
Server built: Oct  1 2019 10:31:38

Is there anything that needs to be changed?

Sorry to have bothered you but i have found the way to resolve the issue. In the DatabaseStorage.phpfile in the yii2mod/ii2-cart/storagefolder you need to modify the line 135 as follows:
REPLACE {{{$this->table}}} ---> REPLACE {$this->table}
That should be enough to keep the cart working properly regarding this issue


Empty response when query contains only unresolvable curies

When posting to https://nodenormalization-sri.renci.org/1.2/get_normalized_nodes, a query containing only unresolvable curies will receive an empty response.
Unresolvable only:
{
  "curies": ["NCBIGene:ABCD", "NCBIGene:GENE:1017"]
}

response:
{}

With resolvable curie, response is as expected:
{
  "curies": ["MESH:D014867", "NCBIGene:ABCD", "NCBIGene:GENE:1017"]
}

response
{
  "MESH:D014867": {
    "id": {
      "identifier": "PUBCHEM.COMPOUND:962",
      "label": "Water"
    },
    "equivalent_identifiers": [
      {
        "identifier": "PUBCHEM.COMPOUND:962",
        "label": "Water"
      },
      {
        "identifier": "CHEMBL.COMPOUND:CHEMBL1098659",
        "label": "WATER"
      },
      {
        "identifier": "UNII:059QF0KO0R",
        "label": "WATER"
      },
      {
        "identifier": "CHEBI:15377",
        "label": "water"
      },
      {
        "identifier": "DRUGBANK:DB09145"
      },
      {
        "identifier": "MESH:D014867",
        "label": "Water"
      },
      {
        "identifier": "CAS:7732-18-5"
      },
      {
        "identifier": "HMDB:HMDB0002111",
        "label": "Water"
      },
      {
        "identifier": "KEGG.COMPOUND:C00001",
        "label": "H2O"
      },
      {
        "identifier": "INCHIKEY:XLYOFNOQVPJJNP-UHFFFAOYSA-N"
      },
      {
        "identifier": "UMLS:C0043047",
        "label": "Water"
      },
      {
        "identifier": "UMLS:C0991883",
        "label": "purified water"
      }
    ],
    "type": [
      "biolink:SmallMolecule",
      "biolink:MolecularEntity",
      "biolink:ChemicalEntity",
      "biolink:NamedThing",
      "biolink:Entity",
      "biolink:PhysicalEssence",
      "biolink:PhysicalEssenceOrOccurrent",
      "biolink:ChemicalOrDrugOrTreatment",
      "biolink:ChemicalEntityOrGeneOrGeneProduct",
      "biolink:ChemicalEntityOrProteinOrPolypeptide"
    ],
    "information_content": 85.7
  },
  "NCBIGene:ABCD": null,
  "NCBIGene:GENE:1017": null
}

This seems to be working as expected now:
Query:
curl -X 'POST' \
  'https://nodenorm.transltr.io/1.3/get_normalized_nodes' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "curies": ["NCBIGene:ABCD", "NCBIGene:GENE:1017"]
}'

Response:
{
  "NCBIGene:ABCD": null,
  "NCBIGene:GENE:1017": null
}

Closing.


Next Hop address might be wrong

Next Hop address in the picture might be wrong.
I think it should be:
RoutesForVNet1-rt
Address Prefix <IP_ADDRESS>/16
Next Hop <IP_ADDRESS>
and
RoutesForVNet2-rt
Address Prefix <IP_ADDRESS>/16
Next Hop <IP_ADDRESS>
Same comment is applied to:
https://docs.microsoft.com/en-us/azure-stack/user/network-howto-vpn-tunnel-gre?view=azs-2008
https://docs.microsoft.com/en-us/azure-stack/user/network-howto-vpn-tunnel-ipsec?view=azs-2008

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

ID: 45cb846a-5db5-94b3-3e49-5d86f5884640
Version Independent ID: 7c8ef065-2909-4888-47f1-2c3a7150fd60
Content: Connect two Azure Stack Hub VNETs - Azure Stack Hub
Content Source: azure-stack/user/azure-stack-network-howto-vnet-peering.md
Service: azure-stack
Sub-service: azure-stack-hub
GitHub Login: @mattbriggs
Microsoft Alias: mabrigg

Thanks for the feedback! We are currently investigating and will update you shortly.

@mihiguch Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@mihiguch Thanks for your feedback.
#in-progress

Updated.
#please-close


Electric Cooktop

Thank you so much for creating this integration, 5 of my 6 appliances loaded instantly and work perfectly. One device that doesn't show up is my ErdApplianceType.ELECTRIC_COOKTOP. I looked at some of the other requests and saw to use gehome-appliance-data from https://github.com/simbaja/gehome
Here are the relevant results:
2024-05-05 00:34:44,534 DEBUG    Setting ErdCode.COOKTOP_CONFIG to ErdCooktopConfig.PRESENT
2024-05-05 00:34:44,536 DEBUG    Setting ErdCode.COOKTOP_STATUS to CooktopStatus(status=<ErdCooktopStatus.OFF: 0>, burners={'leftFront': <gehomesdk.erd.values.oven.burner.Burner object at 0x00000196AF3843B0>, 'leftRear': <gehomesdk.erd.values.oven.burner.Burner object at 0x00000196AF3844D0>, 'centerFront': <gehomesdk.erd.values.oven.burner.Burner object at 0x00000196AF384260>, 'centerRear': <gehomesdk.erd.values.oven.burner.Burner object at 0x00000196AF384BF0>, 'rightFront': <gehomesdk.erd.values.oven.burner.Burner object at 0x00000196AF384650>, 'rightRear': <gehomesdk.erd.values.oven.burner.Burner object at 0x00000196AF3849B0>}, raw_value='000300030000FF010001000100')
2024-05-05 00:34:44,536 DEBUG    Setting 0x576F to b'p\x01\x00\x00'
2024-05-05 00:34:44,536 DEBUG    Setting ErdCode.CLOSED_LOOP_COOKING_CONFIGURATION to b'\x04'
...
2024-05-05 00:34:44,539 DEBUG    received event: appliance_update_received, processing callbacks...
2024-05-05 00:34:44,539 DEBUG    Got initial appliance type for GeAppliance(010000FC9762) (ErdApplianceType.ELECTRIC_COOKTOP)
2024-05-05 00:34:44,539 DEBUG    received event: appliance_got_type, processing callbacks...
2024-05-05 00:34:44,539 DEBUG    processing callback: <function detect_appliance_type at 0x00000196AEF9D9E0>
2024-05-05 00:34:44,539 DEBUG    Appliance state change detected in GeAppliance(010000FC9762) (ErdApplianceType.ELECTRIC_COOKTOP). Updated keys: ErdCode.MODEL_NUMBER, ErdCode.SERIAL_NUMBER, ErdCode.TEMPERATURE_UNIT, ErdCode.APPLIANCE_TYPE, ErdCode.SOUND_LEVEL, ErdCode.UNIT_TYPE, ErdCode.BRAND, ErdCode.WIFI_MODULE_SW_VERSION, ErdCode.WIFI_MODULE_SW_VERSION_AVAILABLE, ErdCode.ACM_UPDATING, ErdCode.APPLIANCE_SW_VERSION, ErdCode.APPLIANCE_SW_VERSION_AVAILABLE, ErdCode.APPLIANCE_UPDATING, ErdCode.END_TONE, ErdCode.UPPER_OVEN_KITCHEN_TIMER, ErdCode.COOKTOP_CONFIG, ErdCode.COOKTOP_STATUS, 0x576F, ErdCode.CLOSED_LOOP_COOKING_CONFIGURATION, 0x5771, 0x5772, 0x5773, 0x5774, 0x5775, 0x5776, 0x5777, 0x5778, 0x5779, 0x577A, 0x577B, 0x577C, 0x577D, 0x577E, 0x5780, 0x5781, 0x5782, 0x5783, 0x578A, 0x578B, 0x578C, 0x6200, 0x6201, 0x6202, 0x6203, 0x6204
2024-05-05 00:34:44,539 DEBUG    Appliance state change detected in GeAppliance(010000FC9762) (ErdApplianceType.ELECTRIC_COOKTOP)

I think turned the 'rightFront' burner on set the temp and turned it off while the program was running:
2024-05-05 08:01:45,187 DEBUG    < TEXT '{"item":{"applianceId":"010000FC9762","erd":"0x...rId":"0dadec3cmrc9pep"}' [221 bytes]
2024-05-05 08:01:45,187 DEBUG    Setting ErdCode.COOKTOP_STATUS to CooktopStatus(status=<ErdCooktopStatus.BURNERS_ON: 1>, burners={'leftFront': <gehomesdk.erd.values.oven.burner.Burner object at 0x00000189201FB980>, 'leftRear': <gehomesdk.erd.values.oven.burner.Burner object at 0x00000189201FB830>, 'centerFront': <gehomesdk.erd.values.oven.burner.Burner object at 0x00000189201FBA70>, 'centerRear': <gehomesdk.erd.values.oven.burner.Burner object at 0x00000189201FBA40>, 'rightFront': <gehomesdk.erd.values.oven.burner.Burner object at 0x00000189201FB9E0>, 'rightRear': <gehomesdk.erd.values.oven.burner.Burner object at 0x00000189201FBB90>}, raw_value='010300030000FF010041000100')
2024-05-05 08:01:45,188 DEBUG    received event: appliance_state_change, processing callbacks...
...
2024-05-05 08:01:45,188 DEBUG    Appliance state change detected in GeAppliance(010000FC9762) (ErdApplianceType.ELECTRIC_COOKTOP).   Updated keys: ErdCode.COOKTOP_STATUS

It seems like the SDK already has knowledge and code around the ELECTRIC_COOKTOP, it's just not plumbed through the HA project. Let me know if this would be relatively easy and something you are willing to do (if so, let me know what other data you might need or when I can test for you). Otherwise, if you'd like me to try at creating a pull request, do you have an example of another device I should try to "copy"?
Thanks again for all you do!!!

Should be good in the dev branch now and will be part of the next release.  Was missing a mapping (had the mapping for cooktop but not electric_cooktop - no idea why there's a difference).  Feel free to manually install the dev (copy the files) or wait for the next release candidate.  Let me know if it doesn't work for you!  Thanks for your help!

Awesome... I really appreciate it. I'll let you know if I find any issue with it. Thanks again!!


Random_StyleIAMDataset bug?

https://github.com/dailenson/One-DM/blob/bc705c0842a13ffabd8deaeda8bfef97bbbd50b4/data_loader/loader.py#L203-L217
Why is this function looping all the images instead of just picking one? It slows down the inference by quite a lot.

This function isn't looping through all the images. It stops once it finds an image with a width greater than 128 pixels. The reasoning behind this is that longer images help ensure more stable performance.


Multiple hosts in 2.2.1

Description
Multiple hosts does not work
Steps to Reproduce

Enable multiple hosts
Open >2 projects
Connect to second project
You are connected to first project :D

Expected behavior: [What you expect to happen]
Connect to second project
Actual behavior: [What actually happens]
You can only connect to the first project
Reproduces how often: [What percentage of the time does it reproduce?]
is always
Versions
2.2.1
Additional Information
You are a great developer!
I used this plugin and it is the fastest!
Thanks you;

Hi!
Unfortunately, it never worked. Long time ago added, but in Beta state.
Thanks the report, but I close this issue, because it is duplicated. Related of https://github.com/icetee/remote-ftp/issues/815

Hi!
Unfortunately, it never worked. Long time ago added, but in Beta state.
My old desire to be able to work this way.
Thanks the report, but I close this issue, because it is duplicated. Related of #815

it great works in 2.2.0 and it is very important function for me :)
If you can, please, fix it


Using the Nylas Java SDK, list last 10 calendar events that contain a keyword, like 'coffee'

Using the Nylas Java SDK, list last 10 calendar events that contain a keyword, like 'coffee'

@relaxedtomato , please assign this to me.

@isanketsaha There you go 😄

I have two questions.

Calender and events are two different types of objects. So for this issue should I perform the operation on the calendar or event?
the search keyword should I be searching in the description or title or both?

@atejada  @relaxedtomato

@isanketsaha You need to pick a Calendar first, then search on the events that have the keyword, for example, "coffee" and display them. Where would you search? It depends on you 😄 Although the title should be enough.

@atejada, can you please review my PR. #99

Merged and issue closed.


adding local references to fonts

Type of change?

[x] Bug fix
[ ] New feature
[ ] Enhancement
[ ] Breaking change (breaks backward compatibility)

Description, Context, Motivation
The fonts were specified on a website that is no longer available.
I have implemented the fixes in:
https://github.com/Azure/azure-iot-pcs-remote-monitoring-dotnet/issues/165
Its took me a long time to realise that it was a font issue and not an SVG issue.
This change needs to be in the main version otherwise everyone that uses this app is going to have mission icons
...
Checklist:

[x ] All tests passed
[x ] The code follows the code style and conventions of this project
[x ] The change requires a change to the documentation
[x ] I have updated the documentation accordingly

 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.:x: akingscote sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@ppathan Can you take a look at this? Looks like the projects pipelines are broken


Velocity not sending usage if invalid argument, forwards command to backend instead

Unsure if this is intended but this behavior surely did change after moving from 1.8.4 to 2.0.0-SNAPSHOT

This is not new in v2, it's Velocity behavior to forward invalid commands insofar as Brigadier is concerned to the backend. This behavior is not under cloud's control.

This is not new in v2, it's Velocity behavior to forward invalid commands insofar as Brigadier is concerned to the backend. This behavior is not under cloud's control.

Am I implementing something wrong here?

This is because the command structure passed to Brigadier is now more accurate. See the conversation below from the Discord:


App is denied by iOS App Store due to dlopen invoked

Hi, our iOS app is denied by iOS security team due to some Software Requirements issues.
One of the potential cause is that Flutter app loads Flutter frameworks and apps through dlopen interface as below, and iOS security team may concern the app dynamic loaded a downloaded executables.

Is there any way to recover that? Any other flutter apps met same issue?

NativeLibrary::NativeLibrary(const char* path) {
  ::dlerror();

  //dlopen method
  handle_ = ::dlopen(path, RTLD_NOW);

  if (handle_ == nullptr) {
    FML_LOG(ERROR) << "Could not open library '" << path << "' due to error '" << ::dlerror() << "'.";
  }
}

@guoguo338 Can you describe the issue in more detail by pointing out the context of this issue? For eg, you are calling native libraries with Dart FFI but it doesn't pass iOS security check, etc.
Please try to provide all or some of the information indicated in the template so that we can address this issue properly. Thanks!

Issue Template
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
- https://flutter.dev/
- https://api.flutter.dev/
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent

If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill our the template below. Please read
our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports

Steps to Reproduce

Please tell us exactly how to reproduce the problem you are running into.

Please attach a small application (ideally just one main.dart file) that
reproduces the problem. You could use https://gist.github.com/ for this.

If the problem is with your application's rendering, then please attach
a screenshot and explain what the problem is.

1. ...
2. ...
3. ...

Please tell us which target platform(s) the problem occurs (Android / iOS / Web / macOS / Linux / Windows)
Which target OS version, for Web, browser, is the test system running?
Does the problem occur on emulator/simulator as well as on physical devices?

Target Platform:
Target OS version/browser:
Devices:

Run your application with `flutter run --verbose` and attach all the
log output below between the lines with the backticks. If there is an
exception, please see if the error message includes enough information
to explain how to solve the issue.

Run `flutter analyze` and attach any output of that command below.
If there are any analysis errors, try resolving them before filing this issue.

Finally, paste the output of running `flutter doctor -v` here.

@guoguo338 Can you describe the issue in more detail by pointing out the context of this issue? For eg, you are calling native libraries with Dart FFI but it doesn't pass iOS security check, etc.
Please try to provide all or some of the information indicated in the template so that we can address this issue properly. Thanks!
Issue Template

Actually, we currently have no reproduced steps for this issue. The app is just denied and as you know the information provided by iOS is too little, so that we just scan the whole iOS app and get a not secure API list, the dlopen in flutter is just one of them.
As dlopen is not secure API which is forbidden by iOS, is that possible to just using Obfuscate to change the API's name?

@guoguo338
This doesn't sound specific to Flutter framework, as there have been similar reports from other frameworks as well as below:
https://github.com/facebook/react-native/issues/13011
https://github.com/openssl/openssl/issues/8353
So I suggest you to reach out to Apple support for further resolution, as this may be coming from native iOS itself.
Closing from here. If you disagree, write in comments and I'll reopen it.


a file with the same name as a directory

When enable recursive option, can not be acquired correctly if there is a file with the same name as the directory
e.g.
foo
--bar.js
--hoge.js
foo.js
buzz.js

any solutions? Thanks in advance!

Hi @syuilo ! In the current version of this module, there are three possible ways to resolve this naming overlap:

Provide a filter option that keeps the file extension in the key name. For example filter: /^([^\.].*\.js(on)?)$/
Provide a map option where your function will someone differentiate the names of files and folders so they don't end up with the same key. You can read more about this here: https://github.com/felixge/node-require-all#alternative-property-names
Rearrange your files and folders to not encounter this situation.

I hope this helps!

Thank you very much @dougwilson!


async* stream never ends if the generator's return is caused by an exception

Dart SDK version: 2.14.2 (stable) (Wed Sep 15 12:32:06 2021 +0200) on "linux_x64"
OS: Linux
Platforms: desktop (working), web on chrome (bug)
Code:
int idx = 0;
Future<int> getValueExceptionOnEnd() async {
  if (idx < 4) {
    return idx++;
  } else {
    throw RangeError("no more ints for you!");
  }
}

Stream<int> onlyWorksOnDesktop() async* {
  try {
    while (true) {
      yield await getValueExceptionOnEnd();
    }
  } on RangeError {
    print("all done! dart should close the stream after this.");
    return;
  }
}

Future<int?> _allPlatformsHelper() async {
  try {
    return await getValueExceptionOnEnd();
  } on RangeError {
    return null;
  }
}

Stream<int> worksOnAllPlatforms() async* {
  while (true) {
    final value = await _allPlatformsHelper();
    if (value == null) break;
    yield value;
  }
  print("all done! dart should close the stream after this.");
}

void bugDemo() async {
  idx = 0;
  await for (var value in worksOnAllPlatforms()) {
    print(value);
  }
  print("worksOnAllPlatforms()'s stream closed.");

  idx = 0;
  await for (var value in onlyWorksOnDesktop()) {
    print(value);
  }
  //This never runs when developing for the web with flutter
  //(though, interestingly, it does work with dart2js.)
  print("onlyWorksOnDesktop()'s stream closed.");
}

bugDemo is being run in a Flutter app targeting desktop & the web.
Desktop output (expected):
0
1
2
3
all done! dart should close the stream after this.
worksOnAllPlatforms()'s stream closed.
0
1
2
3
all done! dart should close the stream after this.
onlyWorksOnDesktop()'s stream closed.

Web output:
0
1
2
3
all done! dart should close the stream after this.
worksOnAllPlatforms()'s stream closed.
0
1
2
3
all done! dart should close the stream after this.

I'm not seeing the reported web output in dart2js (dartpad.dev or tip-of-tree dart2js).
Are you using dartdevc to compile for the web?

Yes, this only affects dartdevc. I also cannot reproduce the issue when using dart2js.


Windows support

I have fixed two problems that were occurring in Windows.

HOME environmental variable is usually not set, and USERPROFILE is commonly used.
: is forbidden for the filename.

Sorry, I noticed that this is a duplicate of #45. However, it might be wiser to get the home path already obtained on the vim side rather than branching with an if statement. Therefore, I will still leave it open.

I Added https://github.com/jackMort/ChatGPT.nvim/pull/148 which supersedes it (includes it). I think it is not a trouble to support windows, as everything seems to work right now (other than this).  So I strongly suggest to support.


[MySQL] Foreign key with SET DEFAULT option cannot be created

System information:

Operating system (distribution) and version Win10
DBeaver version 7.2.0

Connection specification:

Database name and version MySQL

Describe the problem you're observing:

Create a valid table foreign key via UI (SQL Editor gives the same error)
Select SET DEFAULT on on delete or on update field
Save the FK.

Actual result: error appears:
"eclipse.buildId=unknown
java.version=11.0.5
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=ru_RU
Framework arguments:  -runTask @test:composite_import_import
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -runTask @test:composite_import_import
"

https://stackoverflow.com/questions/20943459/innodb-mysql-unable-to-set-on-delete-set-default-how-to-set

You can't use ON DELETE SET DEFAULT or ON UPDATE SET DEFAULT with InnoDB

Thank you


Stable docs do not show API docs

This is dead for stable: https://docs.metal-stack.io/stable/apidocs/metal-api/index.html

Just updating to Documenter v0.25 and then moving the tag seemed to help.


Cloud 2: PaperCommandManager plugin's own command (ex: plugin:command) is not working correctly.

When you create a command normally using the command map and extending Command.class you can register to the command map. Registering to the command map allows usage of your-plugin:command-name.
Example registering a bukkit command to the server
public class ExampleCommand extends Command {
	public ExampleCommand() {
		super("example-bukkit-command");
	}

	@Override
	public boolean execute(@NotNull CommandSender commandSender, @NotNull String s, @NotNull String[] strings) {
		commandSender.sendMessage("You executed "+ s);
		return true;
	}

	public void registerCommand(Plugin plugin){
		plugin.getServer().getCommandMap().register(plugin.getName(), this);
	}
}
// .. Main class
@Override
public void onEnable(){
     new ExampleCommand().registerCommand(this)
}

But when you use cloud it registers the commands to the command map too. Only problem is when you(player) execute command /your-plugin:command-name it does not execute the command properly and just goes to "Unknown Command". When I tested this issue it only was for players and not console.
Creating cloud commands
		// Creating command manager
		PaperCommandManager<CommandSender> commandManager = new PaperCommandManager<>(
				this,
				ExecutionCoordinator.asyncCoordinator(),
				SenderMapper.identity());
		commandManager.registerAsynchronousCompletions();
		commandManager.registerBrigadier();

                // This is the player specific command
		// Creating command named "/ping"
		commandManager.command(
				commandManager.commandBuilder(
						"ping"
				)
						.senderType(Player.class)
						.handler(context->{
							Player sender = context.sender();
							sender.sendRichMessage(
									"<yellow>Your ping is <white>"+sender.getPing()+"ms<yellow>.");
						})
		);
		// This can be used by everyone in the server including console
		commandManager
				.command(commandManager
						.commandBuilder("randomcommand")
						.handler(context->{
							CommandSender sender = context.sender();
							sender.sendMessage("You have executed the random command!");
						})
				);

Results:
Bukkit: Executing the command from console and from player works fine.
Proof:

Cloud: When player executes a player only command it does not work the same as the bukkit one.
When player uses /ping it works fine but when you try to use the plugin's own command (fluffy:ping) it just sends "Unknown Command.".  When player uses /randomcommand it has the same behavior as /ping. Again /fluffy:randomcommand returns "Unknown Command." to the player

Now lets execute the same commands from console
/ping
/fluffy:ping
As expected the command has blocked the usage of the command from the console

/randomcommand
/fluffy:randomcommand
Now something different has happened and the console can execute fluffy:randomcommand but the player couldn't do that.

Change?
The plugin specific commands should always work (if player can execute them) and not just block the player from using the command with "Unknown Command." message.

It's not at all clear what you are asking or what problem you are having, maybe you can try to rephrase it and include some relevant example code? Also make sure to read the docs & Javadocs, registering brig & async completions together does not make sense and this is noted in many places.

I'll make example tomorrow when I get on my pc

I have rewritten the issue


longhorn-post-upgrade job in helm release not deleted or overwritten

I use flux/helm-operator to install und upgrade longhorn. It looks like the post upgrade job is not deleted after an installation:
kubectl get jobs -n longhorn-system                                                                                ±[verified-deployment]
NAME                    COMPLETIONS   DURATION   AGE
longhorn-post-upgrade   1/1           3s         71m

These are the corresponding operator logs:
fluxcd/helm-operator-7b5c4d498c-mln6p[flux-helm-operator]: ts=2020-02-14T21:50:43.238416154Z caller=helm.go:66 component=helm version=v3 info="warning: Upgrade \"longhorn\" failed: post-upgrade hooks failed: warning: Hook post-upgrade longhorn/templates/postupgrade-job.yaml failed: jobs.batch \"longhorn-post-upgrade\" already exists"
fluxcd/helm-operator-7b5c4d498c-mln6p[flux-helm-operator]: ts=2020-02-14T21:50:43.283542391Z caller=release.go:214 component=release release=longhorn targetNamespace=longhorn-system resource=longhorn-system:helmrelease/longhorn helmVersion=v3 error="Helm release failed" revision=9da52004a5053b8a2b0cf45e8355efbc7c7d0d43 err="failed to upgrade chart for release [longhorn]: post-upgrade hooks failed: warning: Hook post-upgrade longhorn/templates/postupgrade-job.yaml failed: jobs.batch \"longhorn-post-upgrade\" already exists"
fluxcd/helm-operator-7b5c4d498c-mln6p[flux-helm-operator]: ts=2020-02-14T22:01:01.383164451Z caller=operator.go:307 component=operator info="enqueuing release" resource=longhorn-system:helmrelease/longhorn
fluxcd/helm-operator-7b5c4d498c-mln6p[flux-helm-operator]: ts=2020-02-14T22:01:05.926964865Z caller=release.go:329 component=release release=longhorn targetNamespace=longhorn-system resource=longhorn-system:helmrelease/longhorn helmVersion=v3 warning="unable to sync release with status failed" action=skip

I think this is fixed by https://github.com/longhorn/longhorn/pull/1066


Navigating through calendar breaks maximumDate prop

Environment
System:
OS: macOS 12.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 28.47 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 8.1.0 - ~/.nvm/versions/node/v16.13.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
Android SDK:
API Levels: 28, 29, 30
Build Tools: 29.0.2, 29.0.3, 30.0.3
System Images: android-30 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.87<IP_ADDRESS>53283
Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_271 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.64.2 => 0.64.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Platforms
Only tested Android
Versions
9.2.3

Android: 11
iOS:
react-native-modal-datetime-picker: 9.2.3
react-native-community/datetimepicker: 3.5.0
react-native: 0.64.2
react: 17.0.1

Description
I open the modal with a default date of 2021-03-01
When I navigate to the year 2022, the header of the modal still shows the same month and day e.g 2022-03-01, even if the maximumDate is 2022-01-20. However, the maximum selectable date is 2022-01-20.  So if I click on "confirm" and I don't click on the date inside the calendar, my date will not respect the maximumDate and the output will be 2022-03-01.
Reproducible Demo
Link to the code: https://github.com/sap-labs-france/ev-mobile/blob/filter_my_car/src/components/search/filter/controls/date/DateFilterControlComponent.tsx
reproductible demo: https://snack.expo.dev/@alixh/react-native-modal-datetime-picker

@AlixH did you already try using directly the community component?
Please see the issue template:

NOTE: Under the hood react-native-modal-datetime-picker uses react-native-community/datetimepicker.
Before reporting a bug, swap react-native-datetime-picker with react-native-community/datetimepicker to check if the problem persists. If it does please report the issue in the react-native-community/datetimepicker repo instead. -->
Please notice that WE WON'T SUPPORT ISSUE IF YOU HAVEN'T TRIED USING THE COMMUNITY COMPONENT ALONE.

👍 thanks for reporting


messages: ReplyTo is a string timestamp, not an int

This is different from the reply_to on websocket ACKs - reply_to in a
message refers to the globally-unique message timestamp of another
message represented as a string.  I don't see this explicit in the
docs, but I get unmarshal errors on a specific object:
{
"reply_to": "1430355230.67",
"type": "message",
"channel": "D04JWB1TW",
"user": "U03A807KY",
"text": "...",
"ts": "1430355230.000009"
}
FWIW this message came from a client using the IRC bridge on a "direct
message" channel - could be why other people don't seem to be
experiencing this.

ugh, it sometimes does return an int.  what hell

Yeah, I know. Frustrating. I haven't figured out a way to have this properly researched.

I am really not sure what to do here. Unless more people complain, I will leave this open.

Here's what we did to tackle this:
type IntOrString struct {
	Kind   IntstrKind
	IntVal int
	StrVal string
}
// IntstrKind represents the stored type of IntOrString.
type IntstrKind int

const (
	IntstrInt    IntstrKind = iota // The IntOrString holds an int.
	IntstrString                   // The IntOrString holds a string.
)

type SlackRtmMessage struct {
	ReplyTo util.IntOrString `json:"reply_to"`
        …
        …
}

The rest of the implementation we borrowed from https://github.com/GoogleCloudPlatform/kubernetes/blob/master/pkg/util/util.go#L122
It has worked fine for us, might be a "fix" here too?

due to age.


Don't provide unusable examples without caveats

Attempting to use a LabelText element inside any control hosted inside the SystemControls block yields the following error:
The element 'Control' cannot contain child element 'LabelText' because the parent element's content model is empty.
According to TF237070 this is NOT a bug, but a message that will be given if LabelText is used inside a control hosted on the SystemControls block.
This being the case, why does Microsoft provide an example (Example: Add a hyperlink to a field) of using this in an property (System.Title) that pretty much only is ever used inside the SystemControls block?
Could you have at least put this down as a warning (or better still, used another, none SystemControls used property, such as Microsoft.VSTS.Scheduling.Effort) ?

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

ID: 5a199127-c2cc-bcbb-31b8-0fb4c74b0875
Version Independent ID: c397bf57-c7ee-77f9-7211-baa52f3425dc
Content: Link and Param XML elements reference
Content Source: docs/work/customize/reference/link-param-xml-elements-reference.md
Service: unspecified
GitHub Login: @erickson-doug
Microsoft Alias: kaelli

@rachel-msft - Thank you for your comment. I've updated this topic and the example to better reflect what is supported. The updates should be live later today.


added permission for control docker sshkey

Added the ssh-key permission bug fix.

Fixes #1

Is everything looks good?

I am good with this fix.

If everything looks good, good to merge 👍

@acoderninja I'm waiting to find the time to test this locally, sorry for the delay :)

Done thank you @acoderninja for the fix!


code

In your code,I noticed that you used momentum update the same as ALBEF, but in your paper you didn't mention it.Why?

We have mentioned it in the BLIP paper:
"We follow the ITC loss by Li et al. (2021a), where a momentum encoder
is introduced to produce features, and soft labels are created
from the momentum encoder as training targets to account
for the potential positives in the negative pairs."


No auth after openvpn SIGHUP

Current Behavior
To change the openvpn's server config, the process needs to be signalled SIGHUP, which will basically restart. After that, no OAuth2 auth takes place until the openvpn-auth-oauth2 service is restarted.
Checking the management interface using telnet, I see >HOLD:Waiting for hold release:0 after SIGHUP. I guess the auth service will release the hold only on first connect, not expecting holds later.
Expected Behavior
No response
Steps To Reproduce
No response
Environment
No response
openvpn-auth-oauth2 logs
No response
openvpn server logs
No response
Anything else?
No response

The management-hold option in OpenVPN together with systemd introduces the issue here.
In general, if the connection to the management interface terminate, openvpn-auth-oauth2 terminates, too.
openvpn-auth-oauth2 does not support reconnecting. This is necessary, because if OpenVPN service is restarted, client id start from zero again.
If management-hold is configured, then systemd blocks the start until the state is resolved.
Since OpenVPN is a dependency of openvpn-auth-oauth2. systemd will start the openvpn-auth-oauth2 service, after the management lock is released. But the management lock will never released. Thats a deadlock.

On SIGHUP, openvpn isn't restarted, so systemd doesn't see the necessity to restart openvpn-auth-oauth2. Somehow, openvpn-auth needs to restart itself... I guess forgetting all cached tokens would be sufficient, but a complete re-init would be on the safe side.

But SIGHUP is documented as "hart restart", I would expect that the management connection will be terminated. Normally. openvpn-auth-oauth2 should also terminate here and restarted by systemd.
Ref: https://openvpn.net/community-resources/controlling-a-running-openvpn-process/

Well that hard restart doesn't change the PID, no chance for systemd to detect.

That fine. But openvpn-auth-oauth2 should die anyways and the unit setting
https://github.com/jkroepke/openvpn-auth-oauth2/blob/ca5aefa5627bc4526fb55f290da7643c0de6b16c/packaging/openvpn-auth-oauth2.service#L21
should trigger if openvpn-auth-oauth2 dies.
What are the logs?

openvpn-auth-oauth2 doesn't die.
Zero syslog entry when SIGHUPing openvpn.

I looked into the issue and issue a kill -HUP does not terminate the management connection. It surprises me, that SIGHUP is documented as hart restart while the connection to the managed client will be alive. I could reproduce the issue and looking forward to implement a fix.

Side note:
It's not intensional that management clients are not dropped at SIGHUP, see also https://github.com/OpenVPN/openvpn/issues/499#issuecomment-1942454477


Don't set nil config when seeding topics in kfake cluster

Setting the configs to nil causes it to panic later when trying to alter the topic configs, as it only checks for entry in the map not being present, not for it not being nil.

I don't see any tests here, I'd be happy to add one, but then I'd have to import kgo and kadm from kfake, is that ok?

Looks good, sorry I missed this. No tag necessary since kfake is not tagged yet. Tests eh............. we'll leave that question for later (kfake is largely used for tests at the moment)


Add edition to rustfmt.toml

This is to make rustfmt understand async/.await (and other modern things) when running in Vim with rust.vim. Ref.: https://github.com/rust-lang/rust.vim/issues/368

Hold on, it is probably already solved.


Add class for APRV (Airway pressure release ventilation)

Currently APRV is a synonym of CPAP, but I think this is different enough to be given its own class, see https://en.wikipedia.org/wiki/Airway_pressure_release_ventilation
It's sometimes described as a type of CPAP, or CPAP with release, but I find this definition confusing because often Plow is set to 0 (https://emcrit.org/squirt/aprv/ https://emcrit.org/ibcc/covid19/#invasive_mechanical_ventilation)
BiPAP is also listed as an exact synonym for CPAP, but I would argue it should be narrow or related.

Thanks for the input. I'll have to look into it further: Most of those terms were taken from MeSH concepts in an answer to an earlier ticket.  Good to have someone review these.

Let me know if I can help out with any ventilation related terms.  I'm a little rusty and not at all clinical, but I used to work for a physician who pioneered the use of APRV for patients with ARDS so this topic is near and dear.

Okay, I've been reviewing a bit. Nearly all rare disease recommends CPAP or BiPAP, but with the expansion of terms for COVID19, APRV does seem to be a necessary term.  And looking at this, it should be a child term of CPAP. Would you agree with that?
Also, glad you caught that BiPAP is listed as a synonym to CPAP...since MAXO_0000511 is a separate term for BiPAP.  (there aren't the same stringent checks that HPO has) .
Also, BiPAP should have also been listed as positive-pressure respiration, but was only listed as noninvasive ventilation.  So...plenty of mistakes!  I'll correct this and merge these to the master soon.  Maybe you could check a bit closer when I'm done.  Thanks for this catch!

Okay I'm dusting off the cobwebs :) it might be useful to get an ICU respiratory therapist or physician to weigh in here. I'll share what I remember and some of this is likely incorrect:
Classifying modes of ventilation as invasive or non-invasive will break down at some point.  For example, CPAP is commonly non-invasive but is used on patients prior to extubation - I think these are called weaning trials.  Determining if ventilation is invasive or not could be logically inferred (eg if a patient or patient population in a study are intubated).
There are also modes of ventilation and protocols of those modes.  Broadly, there are two parent modes of ventilation: volume controlled and pressure controlled.  There are also other ventilation settings that can impact outcomes, such as PEEP (Positive End Expiratory Pressure) and ATC (automatic tube compensation). And then various protocols around these modes of ventilation that we'll want to capture.  And even within protocols there are differences depending on the patient (eg ARDS patients with COPD are treated differently).
For example, APRV is a type of pressure controlled ventilation that has evolved to have different protocols.  The inventor, John Downs proposed a protocol.  There is another common protocol informally called Habashi APRV.  Then there are other protocols in journals that have led to confusion around the method. Similarly, there are different protocols for volume controlled ventilation (eg ARDSNet is a low volume ventilation protocol for ARDS patients).
I'm unsure how to best represent this all in MAxO, but it's possible we could consider a protocol the medical action and have these be logically defined by ventilator modes?
TL;DR I don't think APRV makes sense as a subclass of CPAP.  Maybe I'm being pedantic but if pressure changes during ventilation it is no longer continuous, and if it drops to 0 it's no longer positive.  That said, APRV is commonly called CPAP with release, so it's likely clinicians are not as overly concerned about this distinction.

I think the easiest thing is to keep the terms 'flat' then, until (1) logical definitions are introduced or (2) a respiratory therapist is available.  I do need terms like 'noninvastive ventilation' and 'invasive ventilation', but I won't bog down with child terms.   This is the current structure (or lack thereof).  @pnrobinson do you have any  thoughts? ›

It also makes it confusing that APRV is trademarked by Draeger, so on some vents this is called Bilevel, which shouldn't be confused bipap (which is mostly used as a non-invasive mode of ventilation)

My suggestion would be to change "positive pressure respiration" to "pressure controlled ventilation" (https://en.wikipedia.org/wiki/Pressure_control), and as a sibling we should have volume controlled ventilation.  APRV (or Bilevel) would be a subclass of pressure controlled ventilation.

Okay, this does seem to be the current convention, so I will change it.  I will retain other terms as synonyms, since it does seem they are used (but possibly dated).


Support Windows and OS X

Currently the location of the rawfiles defaults to the Linux default location.
Should use a smarter default, according to the platform in use.
Might need to change other things too to fully support the other platforms.

See: https://en.bitcoin.it/wiki/Data_directory#Default_Location

Also, some parts of the cython code probably only work on 64bit archs.  Should support 32bit.


Added a notice about relative file paths

@charlesmilette,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


make recordlist scrollable

won't be a great experience but it looks weird when the sidebar is taller than the form (this is particularly obvious when style="pages" is set #38)

doesn't belong here


Overhaul editor landing page

Replaces buttons with tabs and input fields---no more alert boxes or random file selection dialogs!
Adds a footer.

It would be nice if the whole tab were a link, rather than just the text. Otherwise, seems functional!

Yes I noticed that too and plan to address it in a future PR.


Minutes increment

Is it possible to increment hours when passing from 59 to 00 ?
Now : 12:55 + 5 -> 12:00
Expected : 12:55 + 5 -> 13:00

I've made the time picker as simple as possible.
If a user wanted to increment the hours, he'd increment the hours.

Ok, in fact if I remove arrows to "navigate" in numbers, I couldn't use what I asked :)

@chmln  i am facing an issue i am using react-flatpickr and flatpickr be default it increments minutes by 5 can you help me how could i control it.


The whole editor quits if you double click a dialog window's close button

Godot version
4.0.dev (092a28612)
System information
5.15.2-2-MANJARO (KDE if that matters for this issue)
Issue description
If you double click on a dialog window's close button (the one offered by the WM), the editor quits.
This is only easily reproduced via the Editor Settings dialog, since it takes a while to close after clicking the window manager's close ("X") button (but not if you click the button named "Close" at the bottom of the Editor Settings dialog), giving enough time for double clicking.
I have confirmed that this line is executed as a result:
https://github.com/godotengine/godot/blob/bdf8340e5993ec3f86e4bf1d5ede48df7d023a12/editor/editor_node.cpp#L677-L678
So the second request to close the dialog somehow makes its way into the editor node, closing the whole editor.
Note: This is not related to any alignment with the main editor window's close button. It happens regardless of the positioning of the dialog window.
Steps to reproduce
Double click instead of single clicking on the window manager's close button ("X") for the Editor Settings dialog.
Minimal reproduction project
Happens with any project

Can't reproduce it on Windows 10.

I'm able reproduce it in Arch Linux somewhat consistently. It crashes sometimes with a segmentation fault.
Here's the backtrace:
#0  0x00007ffff7d12424 in pthread_mutex_lock () from /usr/lib/libpthread.so.0
#1  0x000055555592c69b in __gthread_mutex_lock (__mutex=0x190) at /usr/include/c++/11.1.0/x86_64-pc-linux-gnu/bits/gthr-default.h:749
#2  0x000055555592c71a in __gthread_recursive_mutex_lock (__mutex=0x190) at /usr/include/c++/11.1.0/x86_64-pc-linux-gnu/bits/gthr-default.h:811
#3  0x000055555592c856 in std::recursive_mutex::lock (this=0x190) at /usr/include/c++/11.1.0/mutex:108
#4  0x000055555951112c in MutexImpl<std::recursive_mutex>::lock (this=0x190) at ./core/os/mutex.h:47
#5  MutexLock<MutexImpl<std::recursive_mutex> >::MutexLock (p_mutex=..., this=<optimized out>) at ./core/os/mutex.h:66
#6  SceneTree::queue_delete (this=0x40, p_object=0x55557128b840) at scene/main/scene_tree.cpp:1037
#7  0x00005555594cf67b in Node::queue_delete (this=0x55557128b840) at scene/main/node.cpp:2549
#8  0x000055555954709f in Viewport::_gui_cancel_tooltip (this=0x555564cabe00) at scene/main/viewport.cpp:1131
#9  0x0000555559541d35 in Viewport::_notification (this=0x555564cabe00, p_what=11) at scene/main/viewport.cpp:442
#10 0x000055555610bed7 in Viewport::_notificationv (this=0x555564cabe00, p_notification=11, p_reversed=true) at ./scene/main/viewport.h:89
#11 0x000055555610c810 in Window::_notificationv (this=0x555564cabe00, p_notification=11, p_reversed=true) at ./scene/main/window.h:42
#12 0x000055555610d180 in AcceptDialog::_notificationv (this=0x555564cabe00, p_notification=11, p_reversed=true) at ./scene/gui/dialogs.h:45
#13 0x00005555581f94f9 in EditorSettingsDialog::_notificationv (this=0x555564cabe00, p_notification=11, p_reversed=true) at editor/settings_config_dialog.h:44
#14 0x000055555ca16351 in Object::notification (this=0x555564cabe00, p_notification=11, p_reversed=true) at core/object/object.cpp:846
#15 0x00005555594b6331 in Node::_propagate_exit_tree (this=0x555564cabe00) at scene/main/node.cpp:266
#16 0x00005555594b5d13 in Node::_propagate_exit_tree (this=0x555564db6a60) at scene/main/node.cpp:257
#17 0x00005555594b5d13 in Node::_propagate_exit_tree (this=0x555564ac42d0) at scene/main/node.cpp:257
#18 0x00005555594b5d13 in Node::_propagate_exit_tree (this=0x5555632542c0) at scene/main/node.cpp:257
#19 0x00005555594b5d13 in Node::_propagate_exit_tree (this=0x5555630a6460) at scene/main/node.cpp:257
#20 0x00005555594cec0c in Node::_set_tree (this=0x5555630a6460, p_tree=0x0) at scene/main/node.cpp:2487
#21 0x000055555950d546 in SceneTree::finalize (this=0x555562f42950) at scene/main/scene_tree.cpp:567
#22 0x0000555555925b37 in OS_LinuxBSD::run (this=0x7fffffffdb80) at platform/linuxbsd/os_linuxbsd.cpp:347
#23 0x000055555592184d in main (argc=2, argv=0x7fffffffe088) at platform/linuxbsd/godot_linuxbsd.cpp:58

Here's full backtrace.

Interesting. I just noticed "crash" label was added after my initial comment (which apparently can happen per @Rubonnek's comment). To clarify my case: It never crashes for me, and always does what the actual close ("X") button of the main editor window would do. For example, it asks to save if I have unsaved changes in a scene etc.

I remember seeing this issue reported already, but I can't find it right now.

Oh, found it #49977

Closing as duplicate of #49977.


video skips to end when using es6 modules on ios9

assuming we have a video like:
    <video
      id='videoId'
      muted
      playsInline
      src="vid-src"
   />

when using the library through es6 modules
import enableInlineVideo from 'iphone-inline-video';

    function refVideo(video) {
        enableInlineVideo(video, {
            iPad: true,
        });
        video.addEventListener('ended', function () {
            console.log('the video has ended', video.currentTime);
        });

        setInterval(function() {
            console.log(video.currentTime);
        }, 300);

        setTimeout(function() {
            console.log(video);
            video.play(); // works
            setTimeout(function() {
                video.pause(); // works
                setTimeout(function() {
                    video.play(); // JUMPS TO THE END
                } , 5000);
            }, 10000);
        }, 1000);
    }
    refVideo(document.getElementById('videoId'));

the video jumps to the end when hitting play again.
It works fine if i require the compiled script through the source.
<script src="http://dist/iphone-inline-video.min.js"></script>

Os is ios 9, device is an ipad, user agent:
"Mozilla/5.0 (iPad; CPU OS 9_3_5 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13G36 Safari/601.1"
I removed my node_modules and reinstalled without effect

Thank you for the report! How long is the video you're testing it with?

about 30s and mp4, unfortunately i cant share it with you in the public

to add to this, i would guess this is due to a dependency being updated. Maybe add a yarn lockfile in the future?

@bfred-it i found it. The newest release of your https://github.com/bfred-it/intervalometer breaks it. If i change the dependency in the readme to
 "intervalometer": "1.0.2"
it works again.

I reverted intervalometer; iphone-inline-video should automatically take the new version if you run:
npm rm iphone-inline-video
npm i iphone-inline-video

Does that work?

will check tomorrow, thx for your quick response

seems this fixed everything. Thanks.

Excellent! Thanks again!


Repository username and password should not be required

Description
The ArtifactRepo verify that repository_username and repository_password must be set before uploading the distribution.
Use cases
Google Artifact Registry Python repository does not use username and password for authentication (as describe in https://cloud.google.com/artifact-registry/docs/python/authentication#keyring) so it should be possible to not specify username and password for custom repository.
Possible implementation
The repository_username and repository_password should not be required.

@worawatwi have you tried setting the config option repository_pass_var = "GOOGLE_APPLICATION_CREDENTIALS"? (From a cursory look at the docs) I assume this request isn't about supporting some kind of totally unauthenticated upload.

As of v8, PSR no longer handles twine upload configurations.


PyCharm plugin target directory excluded when defined by user

When user defining his own dir_target for pybuilder project IntelliJ does not recognize such directory as excluded. This means that custom output is taken into sources. Small fix applied.

I'm quite surprised as those pycharm plugin unittests are passing on ubuntu 16.06 (running from pycharm). I obtain build failure BUILD FAILED - Unable to install batch dependencies.

I've discovered dependency failure - custom python (permission issues). The unittest for pycharm_plugin works on OSX

Coverage decreased (-1.8%) to 71.332% when pulling 81d7c572767ed56b1b187929cbb35c00fa587c46 on szymonlyszkowski:pycharm-plugin-target-directory-excluded-when-defined-by-user into 293c54d24a56efe8548cbc3d58ea87ff8440fb89 on pybuilder:master.

Coverage increased (+0.02%) to 73.103% when pulling 8de1bc96fcb37f870f6c47765ce44780894b667a on szymonlyszkowski:pycharm-plugin-target-directory-excluded-when-defined-by-user into 293c54d24a56efe8548cbc3d58ea87ff8440fb89 on pybuilder:master.

Please squash

Coverage increased (+0.02%) to 73.103% when pulling a9d8407097cdc1c1771c9f209beca280c9392485 on szymonlyszkowski:pycharm-plugin-target-directory-excluded-when-defined-by-user into 293c54d24a56efe8548cbc3d58ea87ff8440fb89 on pybuilder:master.

Is such squash fine? Don't you squash when you merge PR branch into master?

Coverage decreased (-0.6%) to 72.503% when pulling d5d2d7570b89d2addbc97f89eb65f9444f74ad8f on szymonlyszkowski:pycharm-plugin-target-directory-excluded-when-defined-by-user into 293c54d24a56efe8548cbc3d58ea87ff8440fb89 on pybuilder:master.

Coverage increased (+0.006%) to 73.091% when pulling ce7adc7d5d13bf4b222efe1018ef7c8b63ec4f40 on szymonlyszkowski:pycharm-plugin-target-directory-excluded-when-defined-by-user into 293c54d24a56efe8548cbc3d58ea87ff8440fb89 on pybuilder:master.

Coverage increased (+0.006%) to 73.091% when pulling ce7adc7d5d13bf4b222efe1018ef7c8b63ec4f40 on szymonlyszkowski:pycharm-plugin-target-directory-excluded-when-defined-by-user into 293c54d24a56efe8548cbc3d58ea87ff8440fb89 on pybuilder:master.

Coverage increased (+0.006%) to 73.091% when pulling ce7adc7d5d13bf4b222efe1018ef7c8b63ec4f40 on szymonlyszkowski:pycharm-plugin-target-directory-excluded-when-defined-by-user into 293c54d24a56efe8548cbc3d58ea87ff8440fb89 on pybuilder:master.

Coverage increased (+0.006%) to 73.091% when pulling ce7adc7d5d13bf4b222efe1018ef7c8b63ec4f40 on szymonlyszkowski:pycharm-plugin-target-directory-excluded-when-defined-by-user into 293c54d24a56efe8548cbc3d58ea87ff8440fb89 on pybuilder:master.

Coverage increased (+0.006%) to 73.091% when pulling ce7adc7d5d13bf4b222efe1018ef7c8b63ec4f40 on szymonlyszkowski:pycharm-plugin-target-directory-excluded-when-defined-by-user into 293c54d24a56efe8548cbc3d58ea87ff8440fb89 on pybuilder:master.


Working example of cookies?

General Question
Form
Put an [x] if you meet the condition, else leave [ ].

[x] I've searched the Issues
[x] I've read the basic concepts
[x] I'm using the latest version

Question
Is there a working example of storing/loading cookies so I don't have to login every time? I sometimes get logged out on my actual device and I have the feeling that sooner or later I will need to complete challenges again. I want to avoid this by storing/loading cookies but I can't find a working example. The session example is just a regular login example.

How can I create a cookie, save the user's information, then log in with that information? Can you share your own code?


logo inconsistent

Awesome project with a great sense of humor! However I am personally against AI Generated logos for projects on Github.

 Again great project, just thought I'd give my two cents, feel free to ignore as it is your thing! Thanks!

Hey, Hiya @SylvanFranklin,
Thanks so much for your feedback on this. I made it as a quick bit of fun so the logo, was also done quite quickly. I hear you though.
If you've got the cycles and would like to have a crack at making a logo then it would be more than welcome! Only if you've got time though, again, this was meant as a fun project, even though it serves a great purpose also!
Kind Regards
James

@SylvanFranklin, I have a freepik subscription which allows the creation of SVG's as icon's under their AI offering, these are less in your face than the standard AI images like the one I'm using now. Also, with them being SVG's they are ultra small. What do you think of some of these as options? (as they are svgs, I can edit and remove aspects of them also). Excuse the size, they are big in the preview but these could be made smaller on the readme.

Great idea those are all a huge improvement. I agree with you about #3 in both points. I think that the rotation of #1 and #4 nicely forward facing, which could be what you mean by Z positioning. Ideally the aspect ratio of #3, rotation of #4, and possibly white text on a non-blue background of #2. Don't go crazy on a project that is just fun, but that's my two cents haha!

Thanks! It's quite hit and miss trying to get the AI to do this well and as they are not 3D objects, I'll go with #3 and see if I can get the white outline, I liked that a lot. Appreciate your candid feedback on it!

After some tweaks @SylvanFranklin

Perfect that looks awesome!

This is complete @SylvanFranklin, again, appreciate your candid feedback and discussion. I've added a thanks section also with your GitHub id 🚀

Thank you! I'm just starting my open source career and that's super helpful for traction on my projects! Glad to help!

My pleasure @SylvanFranklin - This is what this community is all about, best of luck with your projects and look forward to future collaborations!


Respring loop on iPhone 8+, ios 12.1

Describe the bug
When I am jailbreaking with option „Reload deamons” I got respring loop, without this option all is good but sometimes I got system freezes and it restart after ~60sec
Device (please complete the following information):

iOS Version: 12.1
iOS Device: iPhone 8+
unc0ver Version: 3.4.2

Place an "x" between the brackets if true:

[ ] this is a bug others will be able to reproduce
[ ] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[ ] this issue is present after a rootfs restore
[ ] this issue is present on the latest version of unc0ver

Logs
I’ll attach it later

logs.txt

Disable loads tweaks in unc0ver and delete your last tweak installed

It keeps repeating


[BugFix]Ensure that bf16 arrays are created as expected

If we use the bfloat16 type of ml_dtypes to create an array of tvm.ndarray, the result of the created tvm.ndarray will be wrong.
x = np.random.uniform(low=0.3, high=13.3, size=shape).astype(ml_dtypes.bfloat16)
# The values of x_ndarray and x are inconsistent!
x_ndarray = tvm.nd.array(x)

I understand that the reason for this error is that we have not considered that the input passed in is ml_dtypes.bfloat16. The np_float2np_bf16 function that has been used in the past (this function will convert the fp32 type numpy array into a uint16 numpy array)

Hi @masahi @Hzfengsy , could you please help me review this PR? Thank you!

@tvm-bot rerun


Resource management

This pull request implements functionality for the Resource Management page that enhances the user experience both in rearranging resource cards and modifying text fields. In addition to tracking the initial order of the cards to manage the "Publish Changes" button state, we have also updated the Modify Collections section to monitor text changes. When users edit a resource's name or URL, the "Publish Changes" button is activated to indicate modifications. If the user reverts the text back to its original state, the button will automatically deactivate, ensuring that the UI accurately reflects the state of modifications. This cohesive behavior across both card arrangements and text fields provides users with clear visual feedback on their actions, significantly improving the usability of the application. Closes #385

All requested changes address as explained:

Add Collection button doesn't work until a change gets made. I believe this was added in error. ✔

The toaster was removed from each page during a previous refactor. Look at how it is used in other pages (and the prior version of ResourceManagement) and adopt that pattern. ✔

Several eslint-disable-next-line comments were introduced. Those were not necessary in the prior version of this page. Look to see if we can move forward without them. If it's necessary to add them, then include comments explaining why they are necessary. ✔

We removed axios from most of the pages and created an API wrapper library to handle the repetitive work associated with reading the responses and looking for errors. ✔


Re-enable kotlin tests

Reverts https://github.com/github/codeql-action/pull/1473

Hmmm...now it's failing, but because there's an even newer version of kotlin. We are going to need to choose a specific version of kotlin based on the version of the CLI.

Converting to draft mode since I won't be able to work on this. If someone else wants to pick it up, please do so.

Not going to be able to get to this.

This should now be working properly. The version of kotlin is fixed to 1.8.21. We can consider upgrading the version in the future, or even running against multiple versions if we like.


Create unit tests

Also add CI

Add code coverage
https://codecov.io/
https://coveralls.io/github/antonleliuk/spring-social-botFramework
https://github.com/kt3k/coveralls-gradle-plugin

https://codebeat.co


Error connecting to Device: 69, [Errno 6] No such device or address

Hi,
I am running the example in Renesas RZV2L SBC.
When i run i2cdetect -y 3 , I see the device listed in the adress 68.

But when i run the example code, I see the terminal log as :
SparkFun 9DoF ICM-20948 Sensor  Example 1  Error connecting to Device: 69, [Errno 6] No such device or address The Qwiic ICM20948 device isn't connected to the system. Please check your connection

Hi there! The default address of that board is 0x69, so since you're scan shows the secondary address of 0x68, I'm guessing you've soldered closed the ADR jumper, yes? If so, you'll need to update the code to use the secondary address like so:
IMU = qwiic_icm20948.QwiicIcm20948(0x68)
I'm pretty sure this will resolve the problem, so I'm going to close this issue. But if not, please reply and we'll see if we can get you sorted!

Hi there! The default address of that board is 0x69, so since you're scan shows the secondary address of 0x68, I'm guessing you've soldered closed the ADR jumper, yes? If so, you'll need to update the code to use the secondary address like so:
IMU = qwiic_icm20948.QwiicIcm20948(0x68)
I'm pretty sure this will resolve the problem, so I'm going to close this issue. But if not, please reply and we'll see if we can get you sorted!
Hi,
No, I didnot solder the IMU, but connected it to the GPIO pin using a custom adapter given by the same company.

I tried your solution, but in vain.
The address in the error ms has changed as `Error connecting to Device: 68, [Errno 6] No such device or address.
P.S : The Renesas RZV2L board is booted with yocto image. I am right now running the example inside a docker container of ubuntu focal. I had tested the same code in a docker container in RPi and it works. I get the error when running it in RZV2L SBC.

Thanks for the update, sorry that didn't resolve it!
Do you happen to be using any other SparkFun Qwiic drivers, or just this one? I wonder if the Qwiic_I2C_Py driver just doesn't work on your platform. Could you please run the following Python code:
import qwiic_i2c
print(qwiic_i2c.getI2CDriver().scan())

If this prints out a list of I2C devices connected to your system, then that driver is most likely working fine, and I'm not sure what the root problem is. If it does not print the list of devices, then that's most likely the root problem, and I would ask you to open a new issue there.
Thank you!

Hi,
The device was actually being listed in bus#4 and the driver code was just scanning for the device in bus#1. I changed the iBus to 4 and now it works fine.
Thanks @sfe-SparkFro  for your help!

Glad you got it working!


Zeitwerk mode

We might need to consider prioritizing changing our loader to Zeitwerk. Besides occasionally having to patch loading (like in https://github.com/SpeciesFileGroup/taxonworks/commit/7768b7e3f11e38ef8e2dbd167f99416026f605d2), it will be mandatory Rails 7

We definitely need to do this, it will also help cleanup our autoload.
Can we start/work on it in a Rails 7 branch?

You think we should go all the way now and not just have zeitwerk working with current rails?

I guess I'm predicting that the refactor required will be large enough that it makes sense to undertake it when we also move to 7, but I could be wrong.  I'm fine with a seperate branch tackling the problem pre 7.

Related: https://github.com/SpeciesFileGroup/taxonworks/issues/2981
@LocoDelAssembly let's make 2 PRs for now.  This alone, and 7 alone, and see where it goes from there?


More tooltips in UI

These tooltips can be added to create-target-system & create-experiment components.
e.g. to guide user in selecting data scales, providing values for "number of samples to ignore" etc.
Resource for data scales:
https://communitymedicine4asses.wordpress.com/2013/01/13/scales-of-measurement-nominal-ordinal-interval-ratio/

most of the tooltips & experiment strategy explanations are implemented here
examples for ordinal and ratio scales are still to be discussed

should be done after the user study (around May or June)

only metric and nominal (boolean) scales are supported


chore(main): release 0.17.0

:robot: I have created a release beep boop
0.17.0 (2024-09-10)
Features

StaticWebsite supports integrating Lambda functions. changed API of StaticWebsite (81ec91a)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.17.0
:sunflower:


(sysinternals) ShellRunAs.exe Prompted For Eula

Expected Behavior

I'd prefer to accept all Eula's during install.
Current Behavior

I was asked to accept the Eula when running ShellRunAs.exe
Possible Solution

The registry key added was ShellRunas - Sysinternals: www.sysinternals.com at path of HKCU:\SOFTWARE\SysInternals\ with EulaAccepted value at 1. Here is an article discussing in more detail.
Steps to Reproduce (for bugs)

Install sysinternals fresh
Run ShellRunAs.exe without any flags.

Context

It was a minor inconvenience.
Your Environment

Package Version used: Unknown. I have the latest sysinternals version and used choco upgrade.
Operating System and version: Windows 10 1909 ( OS Build 18363.1377 )
Chocolatey version:0.11.3
Install/uninstall gist:

I've double check this, and yup, the wrong registry key for license acceptance was specified in the helper function.


Unrecognized option: --data_dir

When I try to run the command
bazel run -c opt <...>/models/rnn/translate/translate.py
  --data_dir [your_data_directory]

I get the error:
Unrecognized option: --data_dir
Is my syntax wrong?

you need to add a '--' after translate.py to distinguish options passed to the python script vs options passed to bazel:
bazel run -c opt <...>/models/rnn/translate/translate.py --
  --data_dir [your_data_directory]

Yeah, bazel run syntax requires -- to separate.

When I try to run this command:
bazel run -c opt tensorflow/models/rnn/translate/translate.py -- --   data_dir ../data/translate/
I get the following error:
...................
ERROR: Cannot run target //tensorflow/models/rnn/translate:translate.py: Not   executable.
INFO: Elapsed time: 1.537s
ERROR: Build failed. Not running target.

Any ideas how to resolve?

Drop the .py from the end of the bazel run command.
On Nov 13, 2015 11:49 PM, "mikeconnors909"<EMAIL_ADDRESS>wrote:

When I try to run this command:
bazel run -c opt tensorflow/models/rnn/translate/translate.py -- --
data_dir ../data/translate/
I get the following error:
...................
ERROR: Cannot run target //tensorflow/models/rnn/translate:translate.py: Not   executable.
INFO: Elapsed time: 1.537s
ERROR: Build failed. Not running target.
Any ideas how to resolve?
—
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/191#issuecomment-156664411
.


Add a new workflow which automatically adds issues to our project board

Issue
https://github.com/simplybusiness/silversmiths/issues/5
What & Why
Automatically add any new issues to our projects roadmap

Closing as this Action does not support new projects


PR of sympy__sympy-17655 did not resolve the problem

Describe the bug
The merged PR does not resolve the core issue in sympy-17655, leaving the bug unaddressed.
Suggested Next Steps:

Provide the correct patch.
Remove the task.

Trajectory link
Steps/Code to Reproduce
https://github.com/sympy/sympy/pull/17655#issuecomment-2453326583
Expected Results
No error
Actual Results
Error
System Information
No response

Closing, see #264 for explanation.


add tests specification index file

This PR adds an index file that could be consulted remotely by any plugin to know which specification files must be loaded in any given features directory. This is used by the Sublime Text 3 test runner as it directly loads the specifications from Github using an HTTP request to raw.githubusercontent.com.
In this way the plugin doesn't need to have a copy of the code or use submodules that needs some maintenance. I think loading the specs directly on each run is the most effective way to execute this automated tests and the less intrusive from the stack point of view.
Another advantage of this approach is that anyone can be working in adding a new test specification file and push the data into the repository to share even if the spec is a work in progress because the file is not gonna be loaded and used unless it is added to the specifications index.
@abe33 and @jansorg let me know what you think about this, I really will love to have this added to the repository even if no other plugin uses this approach.

@DamnWidget Thanks for the PR!
At the moment VSCode and Atom use the node/npm way to configure a dependency to the editors-json-test. The git repo is released and published to NPM already.
PyCharm uses Git submodules. See the file "test-spec" at https://github.com/kiteco/intellij-plugin-private for the submodule.
Using HTTP instead of git submodules is a valid approach, although I didn't expect that it'll be used (the spec is unclear here).
I'd prefer a non-HTTP solution, though. This is to keep the number of ways to retrieve the test spec files low.
Is there a reason why git submodules are not possible with the sublime plugin?
You can checkout a branch in the submodule if you want to test your own modifications (or a PR) to editors-json-test.
A disadvantage of this index-file base solution is that every change (create/rename/delete) to spec files needs an update of the index files. This is easily forgotten, even if a script is used.
I'm happy to merge this PR when there's a reason why git submodules can't be used.
Let me know what you think!

There is no reason for what git submodule can't be used but I need to accommodate the current implementation.


make live reload work on github codespaces

🚀 Feature request
Command (mark with an x)

[ ] new
[ ] build
[x] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
I would like to be able to develop using GitHub Codespaces without losing core features of the Angular CLI.
Describe the solution you'd like
The websocket connecting should work
Describe alternatives you've considered
This might require extending the webpack config to change ports/other config

UPDATE: this works by running the following command:
ng serve --publicHost=${CODESPACE_NAME}-4200.githubpreview.dev:443
here are the relevant parts:

CODESPACE_NAME is the unique url built from org, repo, username
-4200 is the default port
githubpreview.dev is the codespaces host
:443 is required to ensure the HTTPS port is used

I don't think there's any alteration required to the CLI -- but this issue should help others trying to use Codespaces with Angular.


False positive for function-component-definition when function returns null

I hava a function which react/function-component-definition is falsely reporting as a function component. This only seems to occur when null is returned at the end of a function.
My rule config is:
'react/function-component-definition': ['error', {
  namedComponents: 'function-declaration',
  unnamedComponents: 'arrow-function',
}],

function that triggers a false positive:
const selectAvatarByUserId = (state, id) => {
  const user = selectUserById(state, id)

  if (user) {
    return user.attributes.image || `//api.adorable.io/avatars/${user.id}`
  }

  return null
}

Removing return null or returning any other value fixes the error. I was able to get around this by reversing my if statement, but I'm still reporting this as a potential bug.

Had the same issue with a generator (while using sagas):
export function getLoadMoreSaga(schema) {
  function* saga(action) {
    const { key, url } = action.payload;
    if (!isNil(url)) {
      return yield getSaga(key, [schema], url, action.type, true);
    }
    return null;
  }

  return saga;
}

We are also hitting issues with this as the auto-fix breaks the code when "fixing" generators into arrow functions. I tried having a look in the Components detection code (lib/util/Components.js), but could not find any tests for it? or any way of testing the detect function it exposes directly?

@osmestad it's not tested directly, only by virtue of rules.
A PR with failing test cases would be an ideal minimum, if also including the fix wasn't an option.

I might be able to try next week, but the root cause seems to be the heuristic that assumes a return null; means it is a React Component :-)

In general, that it's a generator should automatically invalidate it as being a component - that's probably the easiest fix here.

True, generators should be easy to fix, and I guess they are the worst part, as that breaks the code. But as in the original report there are also other functions that are not React related that get transformed, here are some examples from our code-base (which uses Flow):
export function getItemIdAtIndex(mediaSession: Media, index: number): ?number {
  if (Array.isArray(mediaSession.items) && mediaSession.items[index]) {
    return mediaSession.items[index].itemId;
  }

  return null;
}

function ensureValidSourceType(sourceType: string) {
  switch (sourceType) {
    case 'ALBUM':
    case 'PLAYLIST':
    case 'MIX':
    case 'ARTIST':
    case 'SEARCH':
    case 'MY_TRACKS':
    case 'MY_VIDEOS':
      return sourceType;
    default:
      return null;
  }
}

export function actionToStartReason(action: StartActions): ?PlayLogStartReason {
  switch (action.type) {
    case playQueueActions.ADD_NOW:
      return 'EXPLICIT_PLAY';
    default:
      return null;
  }
}

I think it’s also helpful to try to consider that functions that are named starting with a lowercase letter, aren’t components.


Usage info

Hey there 👋
This is a great plugin and I've been able to test it out locally against our chef server with promising results so far. Thanks for publishing it!
I'm curious how you handle the client auth portion. Do you have a library cookbook for custom resources that handle the auth via the vault api? Do you use the vault as the api client by setting gem 'vault' in the metadata.rb or do you have another approach for handling that communication?

@webframp I've added example of usage:) I hope it will help:)

Very helpful! Thanks @svagner
I’d guess you’re needs are very similar to ours from looking at that, even down to the GitLab CI usage.

@webframp, we provided UI interface for users who wrote cookbooks for their services for hide vault command line toolkit as well. I can't check it now, because I don't have this environment since I finished this project, but may be it will be useful for you as well - https://github.com/svagner/vault-ui. I've added support for chef/ldap to this ui (look at last commit).

Really helpful examples, thanks for that!
Could you please elaborate the function of mapping roles btw. Chef and Vault also a bit more? I suspect that there is a regex matching based on the Chef run list role and a matching Vault role implemented, but I miss a backend support for roles.
Guess then it works differently...
Thanks!

@universam1, you are welcome:)
Basically here we are really getting roles from run_list of node.
Procedure of query of secret from vault looks like:

via plugin we set relations between roles and vault policies + hostnames and vault policies (RolesMap and HostsMap)
client node submit query and chef client key
plugin is trying to receive node run_list from chef server using received key
plugin parse run list and apply regexp to filter only roles from run list and get roles names
plugin assign vault policies for hostname and roles that was received from preview step based on RolesMap and HostsMap
plugin return token to client node (this token assigned with policies from preview step)
client query vault secrets using this token


Fix Error In README.md Example Program

Add main function to the program and put the ui window code in it.

Hey @csubrahmanyam,
for a single-v-file program the main function can be omitted. Just as the minimal example does.
https://github.com/webui-dev/v-webui/blob/fa43fbaae1f480bc922991acaaafd4ab6bc5d9c1/examples/minimal.v#L1-L5

fn main() declaration can be skipped in one file programs.

Ref. https://github.com/vlang/v/blob/master/doc/docs.md#hello-world

But this is the output I am getting when I run the above simple example.

But this is the output I am getting when I run the above simple example.

In case of a single file program specifying the filename is required.
v -cc gcc run hello.v

AFAIK, there isn't an idiomatic way to add or not add the main function in the case of a simple example; it comes down to preference. We omit it in the minimal example, and I don't have a strong preference, so we can add it :+1: .


Declare size of subnet?

Was trying to look for ways to define the size of the subnet but to no avail.

Hello there, currently plumbery is using a fixed size of /24 for VLANS. What kind of subnet are you looking for?

Anywhere inbetween /16 - /24. It would be great if that could be defined when creating the subnets.

So, to clarify the requirement, the target statement would be for example:
ethernet:
    name: myNetwork
    subnet: <IP_ADDRESS>/16

In other terms, the size of the subnet would come last, after a '/' character. Would you be ok with this syntax?

perfect.

Thanks Ming. This is now an official enhancement request, waiting for some developer to work on it. :-)

This has been integrated into the new PyPi release of plumbery.
pip install plumbery --upgrade
python -m plumbery -v
Last command should display 17.5.22, which is the label of the new version.

Thanks bernard! 👍


Avoid unidecode

See https://github.com/wagtail/wagtail/issues/3311:

The problem comes from Unidecode, which is GPL v2 (https://github.com/avian2/unidecode/blob/master/LICENSE). This license is a so-called contaminant license. All derivative works resulting from the integration of the software component are therefore theoretically contaminated and should therefore be distributed with the same license. Wagtail should be GPL v2.

Unfortunately, this license is very contaminating and therefore poses many integration problems - which limits the possibilities of use and integrate your piece of software."

We will follow what Wagtail does:

If Wagtail doesn’t require unidecode but uses it when installed, then this project will have the same behaviour.
If Wagtail decides to avoid transliteration, we will use the unaccent PostgreSQL extension if available. I suggest by the way that we detect if it’s present only when loading the app to avoid extra SQL queries.

We currently don't require unidecode in setup.py so a small shim could be added to define it conditionally.

I propose we keep this issue open until we have a better solution.

Unidecode might also be too aggressive in transliteration, i.e. '北亰' converts to 'Bei Jing'. This might be unexpected behaviour for people trying to search using non latin characters.

@jaap3, could you explain why it’s a problem that '北亰' converts to 'Bei Jing'? I know nothing about ideograms, so I’d like to know to find a proper solution :)


render furnace smelting and some improvements

This makes the furnace (and smoker and blast furnace) render the fire and the arrow symbol to show the smelting progress.
It also fixes a bug i created in my last PR in server/mod.rs. Where we would get a crash if the server send a WindowProperty packet after the Inventory had already been closed. These packets are now ignored if the associated inventory is not open.
The texture_coords of all ui elements are expected to be divided by 256 by the renderer, which led to some boilerplate whenever the texture_coords were set or modified, so i made the function do the division internally to remove a lot of "/ 256.0"
Along the way i also simplified some of the int to float Conversion in renderer/hud.rs by making the texture_offset variable a float.

I think this can be merged, i have another PR ready that depends on this one.

Oh, yea sry for the delay

Thx for your work!


Remove default youtube video

When I run video id that error (In my case is error code 150). Sometime it fallback to video https://www.youtube.com/watch?v=50kklGefAcs and I found that this video id had defined in lib/src/player.dart
Should it be removed?
Example video error

https://www.youtube.com/watch?v=yilfICzwrSM
https://www.youtube.com/watch?v=-j9YNUsBgDE

Test base on

youtube_player_flutter : 5.0.0+1
Flutter : 1.9.1+hotfix.2
Physical android device (Android 9)

@up2code I forgot to remove it. Thank you! Will remove it.

Yes, I'm going to report default movie issue.
VideoData {"duration":608.401,"videoUrl":"https://www.youtube.com/watch?v=yhrLHNFF8Ig","availableQualityLevels":["hd1080","hd720","large","medium","small","tiny","auto"],"videoEmbedCode":"<iframe width="100" height="100" src="https://www.youtube.com/embed/50kklGefAcs\" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen>"}
New Nepali Movie - 2017/2074 | Bhanchhu Aaja || Ma Yesto Geet Gaauchu || Ft Pooja Sharma, Paul Shah
Also I get Error code 400 No connection when the player starts play and 1-2 seconds later.

@SayaGames are you sure internet was working correctly? Can you provide with code snippet to recreate the issue ?

I tried at home wifi, at work wifi and mobile network. (real device and android emulator)

First: Player is shown correctly, (when page is loaded)

but 2-3 seconds later, player status is changing to error display

It's weird that, if I back to previous page and re-enter the player page again, everything is normal.

Normal is: Error display is gone. And I also mentioned in the issue #94, intermittent playback is (sometimes) gone. Playing correctly.

My Player code is below:
Stack(
children: [
Center(
child: YoutubePlayer(
context: context,
videoId: url1,
inFullScreen: false,
flags: YoutubePlayerFlags(
mute: false,
autoPlay: false,
loop:  false,
forceHideAnnotation: true,
showVideoProgressIndicator: true,
disableDragSeek: false,
hideThumbnail: false,
isLive: false,
),
progressIndicatorColor: Color(0xFFFF0000),
topActions: [
Text(globals.title,
style: TextStyle(
color: Colors.white,
fontSize: 13,
fontWeight: FontWeight.normal
),
),
],
bottomActions: [
CurrentPosition(),
ProgressBar(isExpanded: true),
TotalDuration(),
],
onPlayerInitialized: (controller) {
_controller1 = controller;
},
),
),
             ],
           ),

It looks like it's same behavior as mine https://github.com/sarbagyastha/youtube_player_flutter/issues/79#issuecomment-542138560

Hi,
Newly encountered for me: I also saw the video instead of black error display now:
New Nepali Movie - 2017/2074 | Bhanchhu Aaja || Ma Yesto Geet Gaauchu || Ft Pooja Sharma, Paul Shah

Does the issue persist on Version 5.1.0 ?

@sarbagyastha On version 5.1.0 fallback video not show anymore. Thank you very much! but now for video error sometime it display only play button or circle progress indicator instead of error message.
I had tested by create playlist screen with two ListTile (2 youtube url with error) and tap to change videoId value.  But that minor issue for me. So maybe we can close this?

@up2code With version 5.2.0, there's slight change in API. And it should fix your problem.

@sarbagyastha Thank you so much for your hard work! It show error now when tap on video with error. But when I tap back to load playable url, player not update and still display previous error message and below is exception log that throw in console.
E/flutter ( 3207): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: MissingPluginException(No implementation found for method evaluateJavascript on channel plugins.flutter.io/webview_0)
E/flutter ( 3207): #0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:7)
E/flutter ( 3207): <asynchronous suspension>
E/flutter ( 3207): #1      MethodChannelWebViewPlatform.evaluateJavascript (package:webview_flutter/src/webview_method_channel.dart:90:21)
E/flutter ( 3207): #2      WebViewController.evaluateJavascript (package:webview_flutter/webview_flutter.dart:626:39)
E/flutter ( 3207): #3      YoutubePlayerController._evaluateJS (package:youtube_player_flutter/src/utils/youtube_player_controller.dart:155:30)
E/flutter ( 3207): #4      YoutubePlayerController.load (package:youtube_player_flutter/src/utils/youtube_player_controller.dart:170:5)
E/flutter ( 3207): #5      _YoutubePlaylistPageState.buildPlayer.<anonymous closure> (package:vocadb/pages/youtube_playlist/youtube_playlist_page.dart:130:29)

Test on android 9 physical device with version 5.2.0

Could you please attach code snippet, how you're loading videos?

@sarbagyastha Sure, below I test with simple stateful widget with 2 valid and 1 error video. No problem when try tap ListTile to load valid videoId. But if I tap on error one error message will display on player (But no exception yet) and when I try to tap on valid one, Exception message will show in console. Did I used api correctly?
class _TestWebViewState extends State<TestWebView> {
  YoutubePlayerController _controller;

  @override
  void dispose() {
    _controller.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Test playlist'),
      ),
      body: Column(
        children: <Widget>[
          YoutubePlayer(
            context: context,
            initialVideoId: 'AufydOsiD6M',
            flags: YoutubePlayerFlags(
              autoPlay: false,
              showVideoProgressIndicator: true,
            ),
            onPlayerInitialized: (controller) {
              _controller = controller;
            },
          ),
          Expanded(
            child: ListView(
              children: <Widget>[
                ListTile(
                  title: Text('Valid 1'),
                  onTap: () {
                    _controller.load('AufydOsiD6M');
                  },
                ),
                ListTile(
                  title: Text('Valid 2'),
                  onTap: () {
                    _controller.load('V-189K9CcQw');
                  },
                ),
                ListTile(
                  title: Text('Error video'),
                  onTap: () {
                    _controller.load('j9YNUsBgDE');
                  },
                ),
              ],
            ),
          )
        ],
      ),
    );
  }
}

I guess it should be fixed with 5.2.0+1, have you tried with that ?

@sarbagyastha I just tried with 5.2.0+1. Now valid video can play after previous error video, but error message won't show up if next one I tap on error video. I had tested and found it will display error message when I play error video first. If I tap valid one and tap to error video, It show only play button.
You can try on my code snippet on above one.

Oh! I think a reload action should be added for such scenario, will look at it once i get free.

Should fix with Version 6.0.0.

Seem like it fixed now. Thank you so much!


terraform.mkProvider: include rev in src

This invalidates fixed-input derivation after bumping a version.
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

rev should be always a sane value due to semantic versioning.

@ofborg build terraform-full


fix: upgrade lit-labs/react version

adopts the fix for boolean getters and setters from https://github.com/lit/lit/issues/2799#issuecomment-1203178300
fixes an issue introduced in PR #130 where cds-pagination-button was getting disabled="false" rendered

PR Checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] If applicable, have a visual design approval

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] clarity.design website / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?
Upgrades to the latest version of lit-labs/react, and includes a fix for #151
What is the new behavior?
Fixes property accessors (props with get/set) in react. Adds a unit test for the disabled="false" issue
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@kevinbuhmann yeah i don't entirely understand them either, I think it has to do with some of the changes with how lit treats properties. I before the snapshot happens before the lit elements have finished running and can sync properties back to attributes. The snapshots are mostly useless, a holdover from the previous tests using Enzyme,  but are good quick check when changing code. I took a quick glance in react and the components all looked fine


Visualize DP Traversal of Tree

Create button that allows you to toggle between a DFS and a DP traversal of the recursive function call tree.

Nice tool! But while this issue isn't closed, the example notebook should not state "toggle the DP button" as there is none.


[release request] Invalid component name test

Component
OpenTelemetry.Exporter.Invalid
Version
1.10.0-rc.1
Additional context
No response

The version specified on the issue is invalid. Please create a new issue or edit the issue description and set a valid version.


Fix "DMA Channels Input" Unit Test Failling for LabVIEW 2021

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?

Fixes the FPGA Addon DMA Channel Unit Tests: test_DMA Channels Input unit test that is failing in LabVIEW 2021.
The unit test is failing because of a Close Reference error.

Why should this Pull Request be merged?

To have this unit test passing for all LabVIEW supported version for FPGA Addon.

What testing has been done?

Unit Test run successfully on all LabVIEW supported versions: 2019, 2020 and 2021.

The test now works, so I'm approving.
However, can we just remove the case structure in Source/Tests/Unit Tests/DMA Channels Testing/DMA Channel Testing/private/CD Storage Library Load.vi? It seems like it will just make us change it each major release otherwise... Unless I'm missing some other reason to limit the version.

The test now works, so I'm approving. However, can we just remove the case structure in Source/Tests/Unit Tests/DMA Channels Testing/DMA Channel Testing/private/CD Storage Library Load.vi? It seems like it will just make us change it each major release otherwise... Unless I'm missing some other reason to limit the version.

Sure, I also do not see any reason to leave it there.


EVENT - Integrate polling into live event page

Right now we are using mentimeter for the events taking place outside the website. Research to see if we can integrate.

Research Team will use Kahoot on October 21 to implement polls during event.  Mentimeter on October 26 Event.  We are inclining adopting Mentimeter.
Kahoot: https://kahoot.com/
Mentimeter: https://www.mentimeter.com/


When responding to a SocketMessageComponent with another component in the response, the sent message will have no components.

Please update Discord .Net Labs to version 2.3.6 and try again

Working now, thanks!


fix: allow non-secure GitLab url

In many companies it's normal to use HTTP for intranet sites.
We should allow to access this types of installations

Sorry, just thought that its already merged after your approve but not closed.

idk im no maintainer

i think the project is abandoned


Task: Change Beneficiary and Lender Name

As a User, I want to change the names from the IOU and put whatever I want in every PDF generated.

Done with the Task "Make UI"


[absent] Bump version 0.3.1

Describe the pull request
This PR bumps the version of the port absent to its latest release 0.3.1.

What does your PR fix? Fixes #
N/A

Which triplets are supported/not supported? Have you updated the CI baseline?
I believe it should work fine for all triplets as long as the compiler supports C++17 or greater.

Does your PR follow the maintainer guide?
I hope it does. Please let me know if otherwise.

Please update the version in the CONTROL file too.

Please update the version in the CONTROL file too.
Good catch! Thanks for noticing.
Done.

Thanks for the PR!


Move JWT related code to API

Current coding guides say private fields are no longer prefixed with "_" and private methods are all lowercase.
In my opinion tokens are the concern of the api project.
Let me know what you think.
Thanks for the content.

I don't agree with you. Current official coding guidelines still emphasize the use of _ for fields and method should be PascalCase no matter if public or private:
https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions
Identity management should usually be an infrastructure concern. Issuing tokens is for sure part of that. In a clean architecture paradigm with CQRS the API should just be responsible to create a query/command, dispatch it and get the result. Other then this, the API is also responsible for all stuff related to MVC like filters, exception responses, extension methods on the HttpContext and so on.

Ok thanks


a small bug with trocr example and large model

Hi,

Problem : The example works well with the base model, but not with the large model.

cargo run --example trocr --release --  --which large --cpu --image candle-examples/examples/trocr/assets/trocr.png
model: "/huggingface/hub/models--microsoft--trocr-large-handwritten/snapshots/f07eb3a73a9b06a73141dba2ae1f1671c5c346af/model.safetensors"
Error: shape mismatch for encoder.embeddings.cls_token, expected: [1, 1, 768], got: [1, 1, 1024]

the trouble came from :
let encoder_config = match args.which {
        Which::Base => candle_transformers::models::vit::Config::microsoft_trocr_base_handwritten(),
        Which::Large => {
            candle_transformers::models::vit::Config::microsoft_trocr_base_handwritten()
        }
    };

Which::Large is build with the same config as Which::Base

Solution : Building encoder_config and decoder_config using https://huggingface.co/microsoft/trocr-large-handwritten/blob/main/config.json solve the problem.

Thanks for head up, already made a PR with printed supported.
Working
cargo run --example trocr --release --  --which base-hand-written --cpu --image candle-examples/examples/trocr/assets/trocr.png
cargo run --example trocr --release --  --which large-hand-written --cpu --image candle-examples/examples/trocr/assets/trocr.png
cargo run --example trocr --release --  --which base-printed --cpu --image candle-examples/examples/trocr/assets/printed-number.jpg

Remain bug
cargo run --example trocr --release --  --which large-printed --cpu --image candle-examples/examples/trocr/assets/printed-number.jpg

got
Error: cannot find tensor decoder.model.decoder.embed_positions.weight

Any idea on this one?

Closing this now as hopefully it's all good, feel free to re-open if you run into further issues.