Example domain is not registered in public DNS

The example domain used in this page (contoso100.com) has not been registered in the public DNS, as have other contoso-related domains (eg, contoso.com). If this domain were to be registered by a malicious actor or security researcher, then users running the documented commands without substituting their own values could lead to serious system compromise. I recommend that this domain name be registered by Microsoft, and any other documented-but-not-active domains as well.

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

ID: ffffb136-b73f-2b2a-728d-b4c57f08ee5b
Version Independent ID: 9a7bac18-2601-1a24-21b3-0f3134277ed6
Content: Azure Active Directory Domain Services: Join an Ubuntu VM to a managed domain
Content Source: articles/active-directory-domain-services/active-directory-ds-join-ubuntu-linux-vm.md
Service: active-directory
GitHub Login: @mahesh-unnikrishnan
Microsoft Alias: maheshu

@enetics-eugene
Thanks for your feedback! We will investigate and update as appropriate.

Hi @MohitGargMSFT,
A change to the documentation to make this situation clearer will not deal with the underlying security problem: Microsoft is referring to currently un-registered domains in documentation, which could be bought and made to serve any arbitrary content to future users. Historically, domains used in documentation are registered by the company using them, or otherwise reserved to prevent mistaken use. See RFCs 6761, 1034, 5735, and several others. Either the domain referenced in this document should be changed to a more standard example (eg, contoso.com), or Microsoft should take ownership before a malicious party does.

@enetics-eugene Sure, we will check on it.
@mahesh-unnikrishnan Please note that this issue is assigned to you. Please check on it and make necessary required modifications.

@DiegoRamirez-MSFT Please assign to me.

Sorry for the delay on this, @enetics-eugene
I've update all references throughout the Azure AD DS docs to reflect the registered FQDN of contoso.com. These updates should publish in the next few days.
#please-close


How can I get the trained weight?

Hi, thanks for the project, it is very helpful for me.
But I cannot get the pretrained model in the google driver, only config and log inside.
How can i get the pretrained model?

What model did you try to download? They should all be there.


32-bit int overflow in heap profile

Originally https://github.com/golang/go/issues/48580, and bounced from https://github.com/google/tcmalloc/issues/100
I'm profiling a long-running program using LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtcmalloc_and_profiler.so.4 HEAPPROFILE=shadow.heap HEAP_PROFILE_TIME_INTERVAL=180
The initial profiles are parsed fine by pprof, but after a point pprof refuses to parse any subsequent profiles.
Inspecting the profiles themselves, it looks like a 32-bit integer is overflowing.
First line from the last parseable profile:
heap profile: 2237252: 888238604 [2144665071:<PHONE_NUMBER>38] @ heapprofile

And from the first un-parseable profile:
heap profile: 2250136: 892383061 [-2147316050:<PHONE_NUMBER>94] @ heapprofile

I've confirmed that editing the files to change the negative number to a positive number allows pprof to parse it. It also works if I put a number there too large to be represented by a 32-bit int, suggesting that pprof supports a larger integer size.

I ran into this exact issue today

is that responsible for this nonsense?

This looks easy to fix:
diff --git a/src/heap-profile-stats.h b/src/heap-profile-stats.h
index 1e0359a4d7df..7fb4884c4e5b 100644
--- a/src/heap-profile-stats.h
+++ b/src/heap-profile-stats.h
@@ -58,10 +58,10 @@ struct HeapProfileStats {
         alloc_size - free_size == other.alloc_size - other.free_size;
   }

-  int32 allocs;      // Number of allocation calls.
-  int32 frees;       // Number of free calls.
-  int64 alloc_size;  // Total size of all allocated objects so far.
-  int64 free_size;   // Total size of all freed objects so far.
+  uint64 allocs;      // Number of allocation calls.
+  uint64 frees;       // Number of free calls.
+  uint64 alloc_size;  // Total size of all allocated objects so far.
+  uint64 free_size;   // Total size of all freed objects so far.
 };

 // Allocation and deallocation statistics per each stack trace.
diff --git a/src/heap-profile-table.cc b/src/heap-profile-table.cc
index 93d592c3b7fe..938aa19db929 100644
--- a/src/heap-profile-table.cc
+++ b/src/heap-profile-table.cc
@@ -288,7 +288,7 @@ int HeapProfileTable::UnparseBucket(const Bucket& b,
     profile_stats->free_size += b.free_size;
   }
   int printed =
-    snprintf(buf + buflen, bufsize - buflen, "%6d: %8" PRId64 " [%6d: %8" PRId64 "] @%s",
+    snprintf(buf + buflen, bufsize - buflen, "%6" PRIu64 ": %8" PRIu64 " [%6" PRIu64 ": %8" PRIu64 "] @%s",
              b.allocs - b.frees,
              b.alloc_size - b.free_size,
              b.allocs,

However, there are other places were the cast are just wrong (cast to int, cast to size_t).

Fixed. Thanks.


Allow external processes and file reads in transforms

Fixes #24236

@bot-gradle test this

I've triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you:

PullRequestFeedback build

From my understanding reading these changes:

whenever we cared about work in execution, we were failing to consider artifact transforms.
one specific case (that caused the bug is trying to address) is when deciding whether files read by the build should be considered implicit inputs and part of the CC fingerprint. Files read during tasks are not, but files read during transforms were so.
In order to do that, TaskExecutionTracker, which is used to determine whether we are in the context of a task, was enhanced to also keep track of build operations related to artifact transforms, when before it would only keep track of tasks
in that process, we rename TaskExecutionTracker to WorkExecutionTracker to make it explicit it tracks not only tasks, but "work" in general.

I am guessing artifact transforms are the only kind of work that does not happen in the context of a task (as opposed to WorkActions), so by covering tasks and artifact transforms, we are good.

From my understanding reading these changes...

You're correct. This PR also allows external processes to be executed in transforms (these are not allowed at configuration time in general when CC is enabled), so both tasks and transforms follow the same restrictions.

transforms are the only kind of work that does not happen in the context of a task

We've got FlowActions recently, but these are limited to the end of the build, so they don't mess up with the configuration phase so far.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.


about AppName

Hi, @asticode,I want to  package the app,
Why the AppName call "Electron" on the top-left screen,"test" on dock, but your demo is right.
`
ak@aks-MacBook-Air electron-darwin-amd64 % pwd
/Users/ak/Workspace/zuiyou/test/output/darwin-amd64/test.app/Contents/MacOS/vendor/electron-darwin-amd64
ak@aks-MacBook-Air electron-darwin-amd64 % ls
Electron.app
LICENSES.chromium.html
LICENSE
version
`
//Electron.app ??
bundler.json:
{   "app_name": "test",   "icon_path_darwin": "resources/icon.icns",   "icon_path_linux": "resources/icon.png",   "icon_path_windows": "resources/icon.ico",   "version_astilectron": "0.34.0",   "version_electron": "4.0.1",   "bind": {     "output_path": "core/ark",     "package": "ark"   } }

Hi, @asticode,I want to package the app,
Why the AppName call "Electron" on the top-left screen,"test" on dock, but your demo is right.
`
ak@aks-MacBook-Air electron-darwin-amd64 % pwd
/Users/ak/Workspace/zuiyou/test/output/darwin-amd64/test.app/Contents/MacOS/vendor/electron-darwin-amd64
ak@aks-MacBook-Air electron-darwin-amd64 % ls
Electron.app
LICENSES.chromium.html
LICENSE
version
`
//Electron.app ??
bundler.json:
{ "app_name": "test", "icon_path_darwin": "resources/icon.icns", "icon_path_linux": "resources/icon.png", "icon_path_windows": "resources/icon.ico", "version_astilectron": "0.34.0", "version_electron": "4.0.1", "bind": { "output_path": "core/ark", "package": "ark" } }

I found that the AppName value is setted in the main package by default,can I  move  to another package?

make sure you use the latest versions of astilectron, astilectron-bootstrap and astilectron-bundler
make sure to go install the latest version of astilectron-bundler
remove "version_astilectron": "0.34.0", "version_electron": "4.0.1" from your bundler.json
in your go code, add global exported variables like this and use them in your Options like this

It's could be just HTML page title tag.


use default buffer size for WebsocketUpgrader

Let's use the default for this now so we do less copying. In my tests this
doesn't make a huge difference, but it does shave 2 seconds off of a 50
second or so transfer on average. Presumably bumping this higher when we
know we're going to be dumping a lot of data is a good idea, but that's for
a later set when I've done more experiments.
Signed-off-by: Tycho Andersen<EMAIL_ADDRESS>

go fmt please


Remove Flash Immunity from the Welding Gas Mask

About the PR

Removing Flash Immunity from the welding gas mask,
Why / Balance

Flash immunity is too common, is really strong, and could completely ruin a mode such as Revolutionaries. There was a PR made to remove the sunglasses from the ClothesMate which got merged fairly quickly, then there's https://github.com/space-wizards/space-station-14/pull/28519 which is a great addition, makes the flash protection a trade-off, and not just a straight upside.
As it stands right now, the Welding Gas Mask is a 1:1 copy of the Syndicate gas mask, expect the Welding Gas Mask isn't considered contraband, restricted, or valid. Only difference being that it cannot be toggled up and down. It's a tier 1 Industrial tech, and only costs 6 steel, 2 glass to make, it could appear as your first tech in that tree, practically making this item a Syndicate gas mask that can be made at the start of a shift.
The Welding Gas Mask is still a gas mask, so I don't think that it should follow the same rules of https://github.com/space-wizards/space-station-14/pull/28519 and instead should just have the flash protection removed. Turn the T1 Industrial tech item from a Syndicate gas mask, into engineering goggles that go on the mask slot instead.
Technical details

none
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

none
Changelog

The Welding Gas Mask no longer grants immunity to flashes.

:cl:

tweak: Changed the Welding Gas Mask to not have flash immunity

every single other welding mask has flash immunity on it

There is a PR for restricting your vision if you wear a welding mask #28519
That should be enough to discourage you from wearing it for permanent flash protection.

giving welding gas mask reduced vision would make nobody wear it constantly i.e. breathe from it

Being craftable engineering goggles is kinda worthless as a tech. I mean, ig it lets you have a HUD or something but thats a pretty niche upgrade in a lot of cases for a research unlock

After 2 weeks of having this PR open and forgotten, I decided to re-type the "Why/Balance" just to convince whoever will read this PR that it is indeed a good change, and that it's healthy for the game in the long term.

The welding mask needs to hinder your vision. Removing flash protection from it is silly. It should reduce your vision greatly and be toggleable.

The welding mask needs to hinder your vision. Removing flash protection from it is silly. It should reduce your vision greatly and be toggleable.

read the PR, look at the PR # I linked, THAT one is for the welding mask, MY PR is for the welding GAS mask, you wouldn't want to have it be a toggle with vision because you have to breath out of it, I don't want that.

The welding mask needs to hinder your vision. Removing flash protection from it is silly. It should reduce your vision greatly and be toggleable.

read the PR, look at the PR # I linked, THAT one is for the welding mask, MY PR is for the welding GAS mask, you wouldn't want to have it be a toggle with vision because you have to breath out of it, I don't want that.

Anything with welding protection should hinder your vision regardless.

This PR has been decided to be closed by the maintainer team because it's inconsistent to the other masks and the ideal fix would instead be to make it flip up and block vision.


spec: remove mention of metadata svc on <IP_ADDRESS>

Since the metadata service address is specified in
AC_METADATA_URL env var, there's little value in
setting expectation that the service will be on a
particular IP. From the impl point of view, it may
be much easier to not have it listen on a particular
link-local address.

This makes sense to me. If we are having an environment variable then there is no point in having a convention.

+1
On Sat, Feb 7, 2015 at 12:28 AM, Brandon Philips<EMAIL_ADDRESS>wrote:

This makes sense to me. If we are having an environment variable then
there is no point in having a convention.
—
Reply to this email directly or view it on GitHub
https://github.com/appc/spec/pull/176#issuecomment-73332338.


The manifest version 3 causes bug

In order to fix the hotkey issue that causes by manifest version 3, reverted to manifest version 2 with https://github.com/hankxdev/one-click-extensions-manager/commit/81e6f221e2edd15a211c44b7a05861769b51460d
however, it causes the extension to load an empty popup. to fix this issue, I reverted the above change.
Seems we need to do more to fix the hotkey issue.

Let's just leave it as it is. It works, people have to reload the extension after setting the key. We know this now

Great


Linux : compile doesn't work unless file changes

This issue was supposed to concern Atals but, trying it on a single file didn't change anything.
The Problem: (trying to transpile AtlasFramework)
When running > ./transpile.sh  for the first few time I kept getting
LAUX BUILT atlasui/libs/configurator/ui/entities/row.lua 55.211ms
LAUX BUILT atlasui/libs/configurator/ui/entities/row_settings.lua 42.739ms
LAUX BUILT atlasui/libs/configurator/ui/entities/settings_base.lua 37.655ms
LAUX BUILT atlasui/libs/players/ui/notifications/hud.lua 1.659ms
LAUX BUILT atlasui/libs/players/ui/notifications/main.lua 89.654ms
LAUX BUILT atlasui/libs/players/ui/notifications/row.lua 68.266ms
/usr/lib/node_modules/laux-compiler/dist/codegenerator.js:609
        throw new Error("Tried to print invalid node type '" + type + "'");
              ^
Error: Tried to print invalid node type 'TableSpreadExpression'
    at CodeGenerator.print (/usr/lib/node_modules/laux-compiler/dist/codegenerator.js:609:15)
    at CodeGenerator.printJoin (/usr/lib/node_modules/laux-compiler/dist/codegenerator.js:643:14)
    at CodeGenerator.printSequence (/usr/lib/node_modules/laux-compiler/dist/codegenerator.js:661:19)
    at CodeGenerator.TableConstructorExpression (/usr/lib/node_modules/laux-compiler/dist/codegenerator.js:508:16)
    at CodeGenerator.print (/usr/lib/node_modules/laux-compiler/dist/codegenerator.js:607:46)
    at CodeGenerator.printJoin (/usr/lib/node_modules/laux-compiler/dist/codegenerator.js:643:14)
    at CodeGenerator.printList (/usr/lib/node_modules/laux-compiler/dist/codegenerator.js:621:19)
    at CodeGenerator.CallExpression (/usr/lib/node_modules/laux-compiler/dist/codegenerator.js:418:14)
    at CodeGenerator.print (/usr/lib/node_modules/laux-compiler/dist/codegenerator.js:607:46)
    at CodeGenerator.CallStatement (/usr/lib/node_modules/laux-compiler/dist/codegenerator.js:113:14)
    at CodeGenerator.print (/usr/lib/node_modules/laux-compiler/dist/codegenerator.js:607:46)
    at CodeGenerator.printJoin (/usr/lib/node_modules/laux-compiler/dist/codegenerator.js:643:14)
    at CodeGenerator.printSequence (/usr/lib/node_modules/laux-compiler/dist/codegenerator.js:661:19)
    at CodeGenerator.FunctionExpression (/usr/lib/node_modules/laux-compiler/dist/codegenerator.js:462:16)
    at CodeGenerator.print (/usr/lib/node_modules/laux-compiler/dist/codegenerator.js:607:46)
    at CodeGenerator.TableKeyString (/usr/lib/node_modules/laux-compiler/dist/codegenerator.js:539:14)

Node.js v19.8.1

And after miraculously fixing it, an other problem came up.
Problem 2
When running lauxc ... the build runs but gets stuck
exemple :
LAUX COPIED atlasui/libs/configurator/ui/inputs/toggle.lua
LAUX COPIED atlasui/libs/configurator/ui/entities/entity.lua
LAUX COPIED atlasui/libs/configurator/ui/entities/entity_grid.lua
LAUX COPIED atlasui/libs/configurator/ui/entities/entity_list.lua
LAUX COPIED atlasui/libs/configurator/ui/entities/entity_list_row.lua
LAUX COPIED atlasui/libs/configurator/ui/entities/row.lua
LAUX COPIED atlasui/libs/configurator/ui/entities/row_settings.lua
LAUX COPIED atlasui/libs/configurator/ui/entities/settings_base.lua

and generates the correct files but they are empty, the file tree is good but not the content.
ecept that for each .laux file 2 .lua files are generated one in the same directory as the .laux and one in the new lua/ folder.
Note
When saving a .laux file :
LAUX CHANGE atlasui/core/ui/main.lua 287.334ms
LAUX CHANGE atlasui/core/ui/tab.lua 483.888ms

the related file in the lua/ folder. is updated and filled up with the compiled code :+1: but the rest are still empty.
PS:
I run Manjaro  (based on Arch) if it can help troubleshoot

Hello there! Sorry for the delay in getting back to you, but I wanted to let you know that I've just released a fix for the problem with the TableSpreadExpression not being recognized. If you're still experiencing any difficulties, please don't hesitate to open another issue, and I'll be more than happy to take a look at it.
Thank you for bringing this matter to my attention!

Thank you so much, i'll look at it as soon as possible.

Just letting you know that everything is working now. :+1:


Update Nicks-pallet dependency to new format

Content request
In Nicks-Pallet tutorial, when dependencies code (Listing 1.1) is used as per documentation, it throwing below error (Listing 1.2)

Listing 1.1

Listing 1.2
So I modified format of nicks-pallet dependency as per the existing dependencies in toml.file Please refer Listing 1.3

Listing 1.3
I was able to compile using cargo check -p node-template-runtime then solution compiled successfully. Please refer Listing 1.4

Listing 1.4
Are you willing to help with this request?
Yes!

you are mixing versions in 1.4 as you see, monthly and polkadot based. Ensure you use one version, the docs are very explicit maintained to make sure of this using the latest tag on the template


Allow resource auto-naming

Hello!

Vote on this issue by adding a 👍 reaction
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details
When I create a S3 bucket and don't set the AWS Resource name, the Pulumi name is use and a random suffix is used instead ✔.
This is very helpful because it's easy to avoid name collisions this way. It also makes the code cleaner as the name doesn't need to be specified.
In this provider however, it seems like auto-naming isn't supported and all resources need to be explicitly named.
"""A Python Pulumi program"""

import pulumi
import pulumi_pulumiservice as pulumiservice

pulumi_agent_pool = pulumiservice.AgentPool("agentPoolResource",
    # name="agent-pool-resource",
    organization_name="menfin",
    description="this is to test agent pool id"
)

pulumi.export("agent-pool", {
    'id': pulumi_agent_pool.agent_pool_id,
    'name': pulumi_agent_pool.name,
    'token': pulumi_agent_pool.token_value
})

For the code above 👆 I get the error below 👇 and I'm forced to set the name property.
Previewing update (0001)

View in Browser (Ctrl+O): https://app.pulumi.com/menfin/zendesk/0001/previews/d94adb19-7a08-45c7-a742-501b9154c090

     Type                 Name          Plan       Info
 +   pulumi:pulumi:Stack  zendesk-0001  create     1 error

Diagnostics:
  pulumi:pulumi:Stack (zendesk-0001):
    error: Program failed with an unhandled exception:
    Traceback (most recent call last):
      File "/home/aureq/work/customers/zendesk/0001-xxxxx/a/__main__.py", line 6, in <module>
        pulumi_agent_pool = pulumiservice.AgentPool("agentPoolResource",
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/aureq/work/customers/zendesk/0001-xxxxx/a/venv/lib/python3.11/site-packages/pulumi_pulumiservice/agent_pool.py", line 105, in __init__
        __self__._internal_init(resource_name, *args, **kwargs)
      File "/home/aureq/work/customers/zendesk/0001-xxxxx/a/venv/lib/python3.11/site-packages/pulumi_pulumiservice/agent_pool.py", line 124, in _internal_init
        raise TypeError("Missing required property 'name'")
    TypeError: Missing required property 'name'

It would be great to have feature parity with other providers.

Closing as a duplicate of https://github.com/pulumi/pulumi-pulumiservice/issues/110


[flutter_tools] ProcessException crash during rsync, some files could not be transferred (code 23), "Versions/A/FlutterMacOS": No such file or directory

On stable/2.10.3
Stdout:
building file list ... done
Versions/
Versions/Current -> A
Versions/A/
Versions/A/FlutterMacOS
Versions/A/Headers/
Versions/A/Headers/FlutterAppDelegate.h
Versions/A/Headers/FlutterBinaryMessenger.h
Versions/A/Headers/FlutterChannels.h
Versions/A/Headers/FlutterCodecs.h
Versions/A/Headers/FlutterDartProject.h
Versions/A/Headers/FlutterEngine.h
Versions/A/Headers/FlutterMacOS.h
Versions/A/Headers/FlutterMacros.h
Versions/A/Headers/FlutterPluginMacOS.h
Versions/A/Headers/FlutterPluginRegistrarMacOS.h
Versions/A/Headers/FlutterTexture.h
Versions/A/Headers/FlutterViewController.h
Versions/A/Modules/
Versions/A/Modules/module.modulemap
Versions/A/Resources/
Versions/A/Resources/Info.plist
Versions/A/Resources/icudtl.dat
Versions/A/_CodeSignature/
Versions/A/_CodeSignature/CodeResources

sent 44012360 bytes  received 436 bytes  29341864.00 bytes/sec
total size is 44005581  speedup is 1.00

Stderr:
rsync: stat "/Users/<USERNAME>/Developer/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/.FlutterMacOS.mPqDqp" failed: No such file or directory (2)
rsync: rename "/Users/<USERNAME>/Developer/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/.FlutterMacOS.mPqDqp" -> "Versions/A/FlutterMacOS": No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /System/Volumes/Data/SWE/macOS/BuildRoots/533514bb11/Library/Caches/com.apple.xbs/Sources/rsync/rsync-55/rsync/main.c(996) [sender=2.6.9]

  Command: rsync -av --delete /var/folders/_p/8jlqz_td7z33rbqxl1nkwnzw0000gn/T/flutter_tools.bOi3kZ/flutter_FlutterMacOS.framework.zip.yWUyJR/Versions /Users/<USERNAME>/Developer/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework

at RunResult.throwException(process.dart:124)
at _DefaultProcessUtils.runSync(process.dart:411)
at _MacOSUtils.unzip(os.dart:454)
at EngineCachedArtifact.updateInner(cache.dart:919)
at <asynchronous gap>(async)
at CachedArtifact.update(cache.dart:812)
at <asynchronous gap>(async)
at Cache.updateAll(cache.dart:681)
at <asynchronous gap>(async)
at FlutterCommand.verifyThenRunCommand(flutter_command.dart:1271)
at <asynchronous gap>(async)
at FlutterCommand.run.<anonymous closure>(flutter_command.dart:1161)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at CommandRunner.runCommand(command_runner.dart:209)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand.<anonymous closure>(flutter_command_runner.dart:281)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand(flutter_command_runner.dart:229)
at <asynchronous gap>(async)
at run.<anonymous closure>.<anonymous closure>(runner.dart:62)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at main(executable.dart:94)
at <asynchronous gap>(async)

New stack trace from stable 3.0.0:
ProcessException: The command failedStdout:building file list ... doneVersions/Versions/Current -> AVersions/A/Versions/A/FlutterMacOSVersions/A/Headers/Versions/A/Headers/FlutterAppDelegate.hVersions/A/Headers/FlutterBinaryMessenger.hVersions/A/Headers/FlutterChannels.hVersions/A/Headers/FlutterCodecs.hVersions/A/Headers/FlutterDartProject.hVersions/A/Headers/FlutterEngine.hVersions/A/Headers/FlutterMacOS.hVersions/A/Headers/FlutterMacros.hVersions/A/Headers/FlutterPlatformViews.hVersions/A/Headers/FlutterPluginMacOS.hVersions/A/Headers/FlutterPluginRegistrarMacOS.hVersions/A/Headers/FlutterTexture.hVersions/A/Headers/FlutterViewController.hVersions/A/Modules/Versions/A/Modules/module.modulemapVersions/A/Resources/Versions/A/Resources/Info.plistVersions/A/Resources/icudtl.datVersions/A/_CodeSignature/Versions/A/_CodeSignature/CodeResourcessent 90465203 bytes  received 458 bytes  60310440.67 bytes/sectotal size is 90452678  speedup is 1.00Stderr:rsync: stat "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/.FlutterMacOS.4vLBNt" failed: No such file or directory (2)rsync: rename "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/.FlutterMacOS.4vLBNt" -> "Versions/A/FlutterMacOS": No such file or directory (2)rsync: mkstemp "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/Headers/.FlutterAppDelegate.h.VVGNyO" failed: No such file or directory (2)rsync: mkstemp "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/Headers/.FlutterBinaryMessenger.h.4F2zDq" failed: No such file or directory (2)rsync: mkstemp "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/Headers/.FlutterChannels.h.ZeFFfp" failed: No such file or directory (2)rsync: mkstemp "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/Headers/.FlutterCodecs.h.SBMF3W" failed: No such file or directory (2)rsync: mkstemp "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/Headers/.FlutterDartProject.h.dl0DX5" failed: No such file or directory (2)rsync: mkstemp "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/Headers/.FlutterEngine.h.0gbQzE" failed: No such file or directory (2)rsync: mkstemp "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/Headers/.FlutterMacOS.h.Jm7WYI" failed: No such file or directory (2)rsync: mkstemp "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/Headers/.FlutterMacros.h.HLyARY" failed: No such file or directory (2)rsync: mkstemp "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/Headers/.FlutterPlatformViews.h.UOocTz" failed: No such file or directory (2)rsync: mkstemp "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/Headers/.FlutterPluginMacOS.h.sjrh2L" failed: No such file or directory (2)rsync: mkstemp "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/Headers/.FlutterPluginRegistrarMacOS.h.lOWYcC" failed: No such file or directory (2)rsync: mkstemp "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/Headers/.FlutterTexture.h.Ma5l1a" failed: No such file or directory (2)rsync: mkstemp "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/Headers/.FlutterViewController.h.GasM1l" failed: No such file or directory (2)rsync: mkstemp "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/Modules/.module.modulemap.PACniO" failed: No such file or directory (2)rsync: mkstemp "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/Resources/.Info.plist.GkgIMi" failed: No such file or directory (2)rsync: mkstemp "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/Resources/.icudtl.dat.6qlgRc" failed: No such file or directory (2)rsync: mkstemp "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/_CodeSignature/.CodeResources.MgZPV6" failed: No such file or directory (2)rsync: recv_generator: mkdir "/opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions" failed: No such file or directory (2)*** Skipping everything below this failed directory ***rsync error: some files could not be transferred (code 23) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-55/rsync/main.c(996) [sender=2.6.9]  Command: rsync -8 -av --delete /var/folders/lc/7yngp8pd3zd1wrxfbsd7b_4h0000gn/T/flutter_tools.NbP4rf/flutter_FlutterMacOS.framework.zip.g8p4GJ/Versions /opt/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.frameworkcontent_copy
at RunResult.throwException(process.dart:124)
at _DefaultProcessUtils.runSync(process.dart:411)
at _MacOSUtils.unzip(os.dart:446)
at EngineCachedArtifact.updateInner(cache.dart:919)
at <asynchronous gap>(async)
at CachedArtifact.update(cache.dart:812)
at <asynchronous gap>(async)
at Cache.updateAll(cache.dart:681)
at <asynchronous gap>(async)
at FlutterCommand.verifyThenRunCommand(flutter_command.dart:1293)
at <asynchronous gap>(async)
at FlutterCommand.run.<anonymous closure>(flutter_command.dart:1183)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at CommandRunner.runCommand(command_runner.dart:209)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand.<anonymous closure>(flutter_command_runner.dart:281)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand(flutter_command_runner.dart:229)
at <asynchronous gap>(async)
at run.<anonymous closure>.<anonymous closure>(runner.dart:62)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at main(executable.dart:94)
at <asynchronous gap>(async)

cc @jmagman

Really not sure what's going on here.  If anyone hits this, what's the output of:
$ ls -laR ~/path/to/flutter/bin/cache/artifacts/engine/darwin-x64/

Ahh, the context of adding rsync was so that stale files from previous versions would be deleted: https://github.com/flutter/flutter/pull/85075
Maybe we can do this is in a more low-tech way?

Maybe we can do this is in a more low-tech way?

Probably.  I'm not sure why this only started happening now.  If the file is missing or corrupt I don't think a lower tech way will fix that.
We also have our own rsync implementation 🙂
https://github.com/flutter/flutter/blob/a01424773e80b3136e1bd388be4b812afc93f269/packages/flutter_tools/lib/src/proxied_devices/file_transfer.dart#L222

also consider if these users could be using an alternate storage mirror, and if we're validating integrity checksums of these artifacts (why are we getting no such file or directory?)


gulp release

What sort of workflow are you planning for gulp release?
When I think of a release, I think of an artifact that is built that can be distributed to my servers. Something like a .tgz, .zip, .jar, .deb, .rpm. Right now, the system doesn't really do that. Can we improve on it?
I'd like to propose that we move the system.config.js and index.html into the src folder. These files are then copied into the dist folder. This allows for a gulp prod (which calls gulp release) to just point at the dist folder as the root of the application to serve things from. It also allows us to test the built application easily.
Thoughts?

Gulp release is the command the CI server calls for distro to prod.  We use .net so it packages the files internally.

I've done all this in my project. Take a look if you'd like to port it back over. =)

I think a better approach would be to inject this into the app.js file .  We probably also need to handle the system and config file cache busting too.

Yea, I agree. I'd like to get rid of the whole rewrite of the index.html thing. It is kind of ugly. =)


Performance Improvements

Now that I have a complete workflow functioning for scanning books and have some experience with it, I would like to increase the efficiency. There are two glaring bottlenecks, currently, one being errors that stop the flow and, the other, general slow performance. I'll be posting another issue to try to isolate the cause of those errors that I get and fix them. Here, I'd like to address the performance problems I'm finding.
Ideally, I think, one would expect the mechanical ability of the operator to be the limiting factor in maximum speed of scanning as opposed to the software. But I find that I am limited by software when I'm scanning.
When I hit the Scan button, almost instantly I hear the cameras fire, and I can begin moving to the next page. But then the majority of the time I can easily complete turning the page and lifting the book back up to the platen well before Pi Scan is ready to capture the next scan. The interesting thing is there seems to be quite a bit of variability in the time spent on the "Capturing..." screen, sometimes it matches my mechanical speed, and sometimes, I am waiting for some seconds.
The performance hit I am talking about is I would estimate that I could easily do upward of 1000 pages per hour physically, but currently I am maybe getting 600-700 even not counting the errors that I alluded to.
I guess the first question I have is, are my experiences typical? Or is there something I am doing wrong?
My system is a raspberry pi2 with touch screen, powershot IXUS 160 cameras, cheap class 4 memory cards (I thought these didn't matter? If necessary I can upgrade them to test).

Why is the rpi recommended, when you could have a USB3 Odroid or rockpro64 ?

Am I missing something? Doesn't seem like either of those devices are even being manufactured yet.

There is not that much that is specifically dependent on a Raspberry Pi. Comment out the gpio pin code and it will likely work on most any Linux installation with the right library dependencies installed.
In general, the Raspberry Pi is less expensive, better supported, with a larger community. There are SBC systems that have better specs. But it is unclear how better specs will be much of an improvement. Using a Raspberry Pi and a decently fast SD card for external storage, you can scan as fast as you turn the page safely on an Archivist or Archivist Quill.
If you need a much faster solution, you might try TwoCamControl which runs on a laptop or desktop computer and therefore maximizes speed in a way that no SBC will do. @meelash just commented on another thread that TwoCamControl definitely seems to run faster.

@meelash the XU3/XU4 has been available since 2014.
@duerig The Raspberry Pi is by far the most popular but I found Odroid to be the 2nd most popular and for about double the price one gets about 10 times the speed, so I started using them a few years ago and never looked back.
I only brought this up because the demo video seemed slow, yes I'd use a laptop, but for those who want a dedicated solution I thought I'm mention RPi alternatives I have had positive expereances with, like the RK3399 is a popular choice for upcoming SBCs and it has been used in laptops in the past (~30x faster than a pi for some things like crypto).

The thing that is most tempting about these other models is the
increased RAM. The biggest limitation of the Pi as it stands is the 1 GB
memory limit. Increasing the memory is what I keep wanting to see from
each Pi release. If and when I ever move to one of the competitors, it
would be because of the memory issue.
On Tue, Jun 12, 2018, at 10:35 AM, Tim wrote:

@meelash[1] the XU3/XU4 has been available since 2014.

@duerig[2] The Raspberry Pi is by far the most popular but I found
Odroid to be the 2nd most popular and for about double the price one
gets about 10 times the speed, so I started using them a few years ago
and never looked back.> I only brought this up because the demo video seemed slow, yes I'd use
a laptop, but for those who want a dedicated solution I thought I'm
mention RPi alternatives I have had positive expereances with, like
the RK3399 is a popular choice for upcoming SBCs and it has been used
in laptops in the past (~30x faster than a pi for some things like
crypto).> — You are receiving this because you were mentioned. Reply to this
email directly, view it on GitHub[3], or mute the thread[4].

Links:

https://github.com/meelash
https://github.com/duerig
https://github.com/Tenrec-Builders/pi-scan/issues/11#issuecomment-396654169
https://github.com/notifications/unsubscribe-auth/AA1sTLTBw3dPblm_Z-orUwLf8xmj2ETlks5t7-3JgaJpZM4Rdqax


Example api extension

Example code that extends stratos.
For entity views you must have a kubernetes connected (and then visit /entity-list).

Codecov Report

Merging #246 into master will decrease coverage by 0.01%.
The diff coverage is 19.19%.

@@            Coverage Diff             @@
##           master     #246      +/-   ##
==========================================
- Coverage   51.47%   51.46%   -0.02%
==========================================
  Files         998     1000       +2
  Lines       32071    32114      +43
  Branches     4516     4520       +4
==========================================
+ Hits        16510    16527      +17
- Misses      15561    15587      +26

Superceeded


[bug] Statistic demo page is showing on ux.redhat.com

Describe the bug
The stat demo page (statistic.md) was published on ux.redhat.com at https://ux.redhat.com/components/statistic/. Should be hidden/removed from sidebar nav.
Which Component?
rh-stat
Steps to reproduce
Go to https://ux.redhat.com/components/statistic/
Expected behaviour
There shouldn't be a published Statistic page yet.
Screenshots
No response
Element HTML
No response
Operating System (OS)
macOS
Browser
No response
More browser information
No response
Additional Info
No response

@brianferry, the file extension used to be .mdx and is now showing as .md for the stat demo page. I didn't want to change it back in case it messes with the recent work you've done on the component.

.mdx means markdown-with-jsx, which we dont need.
If the intention in naming it .mdx was to prevent it from being published, then it should just be deleted. You can always copy the code back from a previous commit.

I don't know if that was the intention behind using .mdx, but statistic.md is conflicting with a statistic.njk doc I'm working on in another branch too. I'd be ok with deleting it or moving it somewhere else as long as it doesn't mess with anything you or @brianferry have in progress!

@marionnegp You're good to delete!


Can I load external layouts as standard layouts in Spyder?

Problem Description
Currently I save the layouts in "View/Window layouts/Save current layout" all right. Have how to save the layouts to an external file and load them as the "SpyderLayout, HorizontalSplitLayout, VerticalSplitLayout, RLayout,MatlabLayout " ?
Versions

Spyder version: 5.2.2
Python version: 3.8.12
Qt version: 5.15
PyQt version: 5.12.3
Operating System Windows: 10

I'm trying to do this because our team is reasonably great and everyone uses the plugin.

Hello @dalthviz thank you for your assistance. I'll follow your instructions. If any more questions come up, I'll talk to you. Tks!

Hello @dalthviz've already done a draft here. But when I try to put my plugin in the layout I can not. Can you help?

Hi again @dan123456-eng , sure :+1:, do you have your plugin code in a repo you can share/give us access to or maybe you could post the code here as a .zip file for us to check it locally?

I see, no worries :+1: and regarding the use of the add_area for third-party plugin you will need to pass instead of [Plugins.MyPlugin] the name of your plugin as is declared in the NAME constant I think (so something like ['myplugin_name'] if in your plugin you defined NAME='myplugin_name'). The Plugins class is an utility class that has as attributtes the constants used as names but only for the internal plugins so it doesn't work have the third-party plugins names I think.

I'll try these tips.

@dalthviz I'll post the way it worked here.
from spyder_pymr.dock_log import DockLog
self.add_area([DockLog.NAME], 1, 0, visible=True, default=True)


Unable to establish connection with the sandpack bundler.

Issue: Unable to establish connection with the sandpack bundler. Make sure you are online or try again later. If the problem persists, please report it via email or submit an issue on GitHub.
The Above Issue is appearing at Link : https://react.dev/learn/reacting-to-input-with-state
Thanks for React.js 🧡 and Documentations 📃

This may have been a temporary issue with codesandbox or the connection, if the issue persists please provide some steps to repro or a video and we can take a look!


add support send messages to telegram topics

Hi, i check your issues https://github.com/inCaller/prometheus_bot/issues/92 and i need too this feature.
Maybe your review my solution? Thank you in advance!

Can you confirm it's backward compatible?

Yes, because when we call function getID
topicid := getID(c, "topicid")
chatid := getID(c, "chatid")

I write condition for topic_id, if topic_id doesn't set, return 0 value.
if c.Param(param) == "" && param == "topicid" {
return 0
}

Why exactly topic_id=0, in telegram bot function NewMessage always set ReplyToMessageID: 0 for send message
// chatID is where to send it, text is the message text.
func NewMessage(chatID int64, text string) MessageConfig {
	return MessageConfig{
		BaseChat: BaseChat{
			ChatID:           chatID,
			ReplyToMessageID: 0,
		},
		Text:                  text,
		DisableWebPagePreview: false,
	}
}

For confirmations additionally example:
My curl request for check work backward compatibility:
curl -X POST -H "Content-Type: application/json" -d<EMAIL_ADDRESS><IP_ADDRESS>:9087/alert/$CHAT_ID
Log messages:
  Alert: Test Fisic measure, from KN
  Current value:38.24 EN
  Severity: Warning ⚠
  Active from: 26/01/2017 19:30:00

2024/02/08 15:39:05 +-----------------------------------------------------------+
[GIN] 2024/02/08 - 15:39:05 | 200 |  235.353458ms |       <IP_ADDRESS> | POST     "/alert/$CHAT_ID"

Message in telegram chat:

Curl request for check topic:
curl -X POST -H "Content-Type: application/json" -d<EMAIL_ADDRESS><IP_ADDRESS>:9087/alert/$CHAT_ID/$TOPIC_ID
Log messages:
  Alert: Test Fisic measure, from KN
  Current value:38.24 EN
  Severity: Warning ⚠
  Active from: 26/01/2017 19:30:00

2024/02/08 15:45:56 +-----------------------------------------------------------+
[GIN] 2024/02/08 - 15:45:57 | 200 |  419.795791ms |       <IP_ADDRESS> | POST     "/alert/$CHAT_ID/$TOPIC_ID"

Message in telegram topic:

Great, thanks, I'm going to merge it now. Can't verify myself but the code looks fine to me.


Updation of CLI for AzureStackHCI

Resource Provider
AzureStackHCI
Description of Feature or Work Requested
With api version refresh, we want the CLI to be refreshed as well.
Extension: https://github.com/Azure/azure-cli-extensions/tree/main/src/stack-hci
Minimum API Version Required
2023-08-01-preview
Swagger Link
https://github.com/Azure/azure-rest-api-specs-pr/tree/RPSaaSMaster/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-08-01-preview
Target Date
November, 2023

Thank you for opening this issue, we will look into it.

Will plan it in next sprint

@Jing-song it would be helpful if you could share out a list of the new APIs, we will confirm what all we want to add in this release

Hi @priyjain358 , Additional APIs than the existing version(2023-03-01) include: 3 APIs in edgedevice.json, and 2 APIs in deploymentsetting.json
/{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices
/{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}
/{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}/validate
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/deploymentSettings
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/deploymentSettings/{deploymentSettingsName}
Please help confirm whether to add new commands for them and add preview tags for new commands, thanks!

Update:

Finally decided to use the 2023-08-01 version


fix(network): don't disable cache for auth challenge

#729 introduced _updateProtocolRequestInterception
Objective: Call Network.setRequestInterceptionEnabled for auth challenge or if requested by user
#1154 introduced Network.setCacheDisabled
Objective: Ensure custom user response handling is always called
#4260 introduced _updateProtocolCacheDisabled
Objective: Call Network.setCacheDisabled if requested by user
The cache and request interception work on the network level, while we want the custom user response handling to work independent of the network, which is why we're currently forced to disable the cache in some cases.
As long as there is no custom user response handling, it should be unnecessary to disable the cache for the auth challenge, since it only needs to be called in case of an actual network request anyway.
Related issue: #2905

How about now @mathiasbynens?


magnetism update

prep_for_vasp.py incorporated into magnetism.py

generate_magnetic_configs: generates magnetic configurations using newgenstrYW within ATAT.
essentially moved the functionality of prep for vasp into magnetism.
some functions are likely redundant.
some functions might be kept but moved to another location.
mostly what they do is support generate_magnetic_configs

Workflows

run_configurations: Executes subprocess.run in each configuration directory. This can be used to avoid custodian, if something simpler is desired.

magnetic_single_vasp_run.py

example workflow that will perform a single vasp run for each configuration.

I'm really not sure about
Workflows
run_configurations: Executes subprocess.run in each configuration directory. This can be used to avoid custodian, if something simpler is desired.
and
magnetic_single_vasp_run.py
I think we should only include custodian jobs for now. I am ok with
prep_for_vasp.py incorporated into magnetism.py

Sounds good. I will make a separate branch for those, until I make a custodian job with similar functionality to run_configurations (general and simple). same with magnetic_single_vasp_run.py


Rework .Parse() for Localized Bindables

Adds a method override for Bindable.Parse() to accept different CultureInfo values
Fixes #5176

Calls to the new overload for bindables with custom overrides of Parse(object) will fail.

The virtual flag should probably be removed from the overload without the CultureInfo and those implementation should be moved to the more specific overload.
Alternatively, rather than adding an overload, a nullable CultureInfo parameter could be added to the original one, avoiding the silent failures mentioned above (because it was compile-time fail until fixed).

Calls to the new overload for bindables with custom overrides of Parse(object) will fail.

The virtual flag should probably be removed from the overload without the CultureInfo and those implementation should be moved to the more specific overload.
Alternatively, rather than adding an overload, a nullable CultureInfo parameter could be added to the original one, avoiding the silent failures mentioned above (because it was compile-time fail until fixed).

I tried that originally, but that would mean we would have to implement it in IParseable, which would make it required for the other bindables that don't have to do with strings, so i didnt think that would make sense. I can still do it that way if you like.

I ended up creating a new interface that's used to parse the base bindable types, since having cultureinfo on the list and dictionary types didn't make sense. I also added test cases for doubles and floats.

I think there should be only one interface, and it should match IFormattable.
The interface should be applied to IBindable and IBindable<T> as well.

Will wait for one more check here.


Den Error

Was about to do a HA gible den, as soon as i gmaxed and choose to attack the gible, i got this error and it made the den finish and act like if i failed it. Happened between 12:52-12:56 am, Sunday June 12/2022 Titan server

Do you have proof of it being HA by chance? I can refund the den but I can't promse it'd be HA :(

Sadly no, since i click fast i just tried to grab that error as fast as i could!

Closing, this should now be fixed.


nextjs-mf: getServerSideProps doesn't run on client-side page transitions through next/link

Adding NextFederationPlugin with automaticAsyncBoundary: true into next.config.js breaks standard behaviour of navigation between pages. Expected update of getServerSideProps doesn't work and undefined returned.
Here are examples with and without plugin, where getServerSideProps returns test value
Without NextFederationPlugin in next.config.js
getServerSideProps works on page reload and on client-side page transitions
deployment: https://next-mf-poc.vercel.app/
repo main brunch: https://github.com/alibek-gao/next-mf-poc
With NextFederationPlugin in next.config.js
getServerSideProps works on page reload and on client-side page transitions
deployment: https://next-mf-poc-git-with-mf-no-async-alibekgao.vercel.app/
repo with-mf-no-async branch: https://github.com/alibek-gao/next-mf-poc/tree/with-mf-no-async
With NextFederationPlugin and automaticAsyncBoundary: true in next.config.js
getServerSideProps works only on page reload
deployment: https://next-mf-poc-git-with-mf-alibekgao.vercel.app/
repo with-mf branch: https://github.com/alibek-gao/next-mf-poc/tree/with-mf

Okay, ill have a look at it.

Okay, this is interesting.
So what the loader does is dynamic import the page, but processes it different the second time. It emits exactly this (minus the realpage import path)
import dynamic from "next/dynamic"
const AsyncBoundary = dynamic(() => import("../realpage"), {suspense:true});
export default AsyncBoundary;
export const getServerSideProps = async (ctx) => {
  return import("../realpage").then((mod) => {
    return mod.getServerSideProps(ctx)
  })
}

Without async boundary, the above code is how youd manually do it.
Ill take a deeper look into the loader layers and see if i can find out whats happening, might be my loader overrides another loader on the client build as it "matches" my rule set first - or something.

Okay i mostly found the cause - but not exactly why.
Will require some investigations but i know where to look :)

@yspychala
@alibek-gao
#697 should resolve the problem, can you try it out. Run nx build on the branch then copy/paste nextjs-mf into node_modules to replace current installed version.
From my testing against the repo provided to demonstrate the issue - it looks like this fixes it

@ScriptedAlchemy
I tried to import getServerSideProps from remote two ways:

with await import(...) it works now and data-fetching works during client-side navigation.

export const getServerSideProps = async (ctx) => {
  const page = await import('remote/Page');

  if (page.getServerSideProps) {
    return page.getServerSideProps(ctx)
  }

  return {
    props: {},
  }
}

automaticAsyncBoundary way trows an error

export const getServerSideProps = Page.getServerSideProps;

error - pages/page2.js (9:19) @ getServerSideProps
error - TypeError: mod.getServerSideProps is not a function
    at eval (webpack-internal:///./pages/page2.js:19:20) {
  page: '/page2'
}
   7 |     export const getServerSideProps = async (ctx) => {
   8 |       return import("./page2.js?hasBoundary").then((mod) => {
>  9 |         return mod.getServerSideProps(ctx)
     |                   ^
  10 |       })
  11 |     }
  12 |

host repo & branch: https://github.com/alibek-gao/next-mf-poc/tree/with-mf
remote repo: https://github.com/alibek-gao/next-mf-poc-remote


Arduino Leonardo bricked

Hi, I've used your .NET library with a Leonardo board.
This is the code I used with no errors:
var uploader = new ArduinoSketchUploader(
    new ArduinoSketchUploaderOptions()
    {
        FileName = @"C:\Users\david\Desktop\Blink.ino.hex",
        PortName = "COM11",
        ArduinoModel = ArduinoModel.Leonardo
    });

uploader.UploadSketch();

Now I get my board undetectable in my Device Manager.
I've tried in another computer, another port, another cable without success.
Do you have any clue?
Best regards

Hi,
Thank you for your interest in this library.
The good new is, it's very unlikely that your board has been damaged by using the ArduinoSketchUploader code (which just uses the binary API to communicate with the built in bootloader).
That being said, your sketch contents itself may cause the board to be no longer "visible" (that is, apart from the couple of seconds at the start where the bootloader runs).
To start of the troubleshooting excercise, I would start of with following the suggestions in the following thread: https://arduino.stackexchange.com/questions/5178/arduino-leonardo-is-not-recognized-by-usb-cable-in-windows-8.
Best regards,
Christophe

Hi Cristophe,
Finally the board is alive again using another Arduino as ISP.
The thing is, how may I use your library in order to upload blink.ino sketch, for example?
(I wouldn't like to have an invisible Arduino again)
Do I have to upload when the bootloader runs (at the beginning).
Best regards,
David

Hi David,
I'm happy to hear your board is back! You can use the library to program your device any time. The library will reboot the device, which triggers the bootloader on the board for a couple of seconds. At that time communication using your bootloaders protocol will be initiated, and the sketch transferred.
The library should really not make the device invisible by any means, unless the code / sketch you are uploading (see link above) causes the device no longer to be enumerated (you probably want a Serial.Begin or similar in your code). In other words, you should get the exact same behavior as when programming from the IDE (which would use avrdude under the hood to program the board).
Best regards,
Christophe


Fix delete pattern issue

The problem was that the update action was targeting the Status field of the object, whereas the finalizers are in the ObjectMeta, so in essence the finalizers were never removed from the object by the Update() call.
@beekhof @mbaldessari PTAL

Nice catch, thanks!


Link funktioniert nicht

Nach dem Anklicken erscheint "Seite nicht gefunden"

I guess you are talking about the "beitrag" link. Where does it link to?
In any case it seems we could not fetch the original post for a reason...

The link "Beitrag" points to
https://framasphere.org/posts/399575e0c395013538792a0000053625?zid=holger%40ioh.hfrc.de
a reshare of one of my articles by a diaspora user.

Links like http://quitter.se/notice/21336481?zid=holger%40ioh.hfrc.de
results in a public page only - not the linked article. It's because quitter in this case cannot handle "?zid=holger%40ioh.hfrc.de" ?

The first part is probably fixed in https://github.com/redmatrix/hubzilla-addons/commit/828e3fd9ed6abb3f1001ad97c5fc22cc4e77c538

First part isn't fixed yet. Same problems after updating.

@hfroese reported that the first issue is fixed. The update did not apply at first.
I investigated the quitter issue and it appears that the zid argument is indeed messing up things on the quitter site. That is probably an quitter issue. I wonder though if we can work around by not zidify the links to quitter...

@zotlabs what about filtering by item['app']? Zidify plinks if there is no app only...

Please change "schrieb" to the correct term "teilte" also -  in languages files?

@hfroese since the sentence refers to the original posters post 'wrote' (german 'schrieb') is the correct expression. E.G. [Profile image] Holger wrote the following post about an hour ago

In theory we should only be sending zid to hubzilla sites. We may have broken this rule in some places during the huge body of work on protocol federation. Apologies but I have not been able to follow where and how this link is getting created. If you can point out how to reproduce I'll see if there is something I can do about it.

Every link in link to source (item dropdown menu) is beeing zidifyed atm...

@git-marijus According to the image on top of this thread, the avatar and sentence refers to the sharing user including a link to the original post. "teilte" (shared) is the correct expression.

Wrong link and missing content should be fixed now. What is left to fix is the missing xchan for @hfroese. This actually worked for me in all test cases.

Fixed.


gateway-api: shorten the length of the value of the svc's label.

Fixes #31285
When creating a gateway-api with a name exceeding 64 characters, it is impossible to create svc.
This is because the label of svc references the name of gateway-api.
gateway-api: shorten the length of the value of the svc's label.

/test

/ci-clustermesh

/test

@sayboras is there any way this could cause a collision that then has unexpected behaviour? For instance between two resources with long names, maybe with the same prefix?


[#324] Use Moya as the main Network Layer

https://github.com/nimblehq/ios-templates/issues/324
What happened
Replace Alamofire with Moya as main network layer of the template.
Insight

Remove Alamofire from Pod
Add Moya in Pod
Update networking code to use Moya
Add comments for better readability
Test this branch by creating a separate app from it
Remove common RequestConfiguration as it is not needed, developers can create their own request configuration enum extending Moya's TargetType

Proof Of Work

Created a demo app from this branch, request-response working fine

Create different configurations independently

Sample configuration 1:

Sample configuration 2:

Call using any configuration with any decodable type

Write test with stubbed provider

@Shayokh144 we will have this initiative Replace-Network-Layer-with-Moya to work on before making the change to our ios templates. So I'll close this PR.
cc: @nimblehq/ios-chapter


General Catalog Architecture

Define general architecture for catalog, including setup options, integration with current backend and storages for artifact store.

This is a task completed externally from the repo


doom-themes-ext-visual-bell.el:0:0: error: cl-assertion-failed: ((> (point) output-start))

What happened?
Compilation failed with the following message:
    x There was an unexpected error
      Message: error
      Data: (error . "doom-themes-ext-visual-bell.el:0:0: error: cl-assertion-failed: ((> (point) output-start))")
      Backtrace:
        (error "%s:0:0: error: %s: %s" "doom-themes-ext-visual-bell.el" cl-asserti
        (autoload-generate-file-autoloads "doom-themes-ext-visual-bell.el" nil "/U
        (make-directory-autoloads "/Users/rmirelan/.doom.d/doom.emacs.d/.local/str
        (if (fboundp 'make-directory-autoloads) (make-directory-autoloads (straigh
        (let ((find-file-hook nil) (write-file-functions nil) (debug-on-error nil)
        (if (file-exists-p generated-autoload-file) nil (let ((find-file-hook nil)
        (let ((generated-autoload-file (straight--autoloads-file package)) (backup
        (let* ((--cl-rest-- recipe) (package (car (cdr (plist-member --cl-rest-- '
        (straight--build-autoloads (:type git :flavor melpa :files (:defaults "the
        (run-hook-with-args straight--build-autoloads (:type git :flavor melpa :fi

System Information

Emacs version: 28.0.50
Emacs distro: Doom Emacs
Operating system: MacOS
Installed commit of doom-themes: 9e2680b

Strangely, when I run with the -d flag to the doom command, I don't see this error.

By the way, I'm using nativecomp.
At this point, I had just upgraded my Emacs binary, and was trying to upgrade Doom as well. Even though the version remained the same at 28.0.50, perhaps
Hmm, I was able to fix this and https://github.com/hlissner/doom-emacs/issues/5459 by

Running rm -rf ~/doom.emacs.dir/.local/straight/build*.
Running doom sync -p.

I also saw the following when running the latter command:
      > Purging old native bytecode...
        - Deleting "28.0.50-43e5894e"
        ✓ Purged 1 directory(ies)

So maybe it's worth automatically purging old build artifacts and rebuilding everything (or at least prompting to do so) whenever Doom detects that comp-native-version-dir has changed.


Error with self-intersect Polygon.

I am trying to build crossing buildings validator, but I got error on turf with self-intersect Polygon:
https://gist.github.com/anonymous/a540a1f9a1d94210d2d8
http://www.openstreetmap.org/way/63020994#map=19/43.72569/7.39558
The implemented function is:
turf.intersect(poly1, poly2);
I found this ticket, https://github.com/Turfjs/turf/issues/92 which say to use geojsonhint but it does not work, even I've  tested with https://github.com/craveprogramminginc/GeoJSON-Validation, but does not catch the error as well
maybe there are  other way to fix it or avoid on analyze this polygon.
/home/ruben/apps/osmlint/node_modules/turf/node_modules/turf-intersect/node_modules/jsts/lib/jsts.js:1436
rlayOp.overlayOp(this.geom[0],this.geom[1],opCode);}catch(ex){throw savedExcep
                                                                    ^
Error
    at Object.<anonymous> (/home/ruben/apps/osmlint/node_modules/turf/node_modules/turf-intersect/node_modules/jsts/lib/jsts.js:21:414)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/ruben/apps/osmlint/node_modules/turf/node_modules/turf-intersect/node_modules/jsts/index.js:2:12)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)

cc. @morganherlocker @mourner @aaronlidman @geohacker

@Rub21 turf.kinks can detect self intersections.

thank @morganherlocker , it work fine !


Some filters in Sales Against Targets does not work

https://pie-chart-bug.demo.community.intersystems.com/dsw/index.html#/IRISAPP/KPIs & Plugins/Sales Against Targets.dashboard

While product filters send this:

Looks like the problem in the frontend

It's not a DSW issue


Create a tracer to get fake data drawn into a browser.

the data is random numbers, and the front end is just a plaintext page in a browser

pull request for the branch feature/tracer ready in helpful's repo


haproxy: 2.3.4 -> 2.3.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/haproxy/versions.
meta.description for haproxy is: "Reliable, high performance TCP/HTTP load balancer"
meta.homepage for haproxy is: "https://haproxy.org"
meta.changelog for haproxy is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.3.5 with grep in /nix/store/h80n4pnl5vppzl65jxvhnpz3cxg3cw62-haproxy-2.3.5

directory tree listing: https://gist.github.com/1142b3a28d8b11caec869b8e77b6c0b7

du listing: https://gist.github.com/2dd61f206535d23144b796a14212dd72

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
haproxy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/h80n4pnl5vppzl65jxvhnpz3cxg3cw62-haproxy-2.3.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A haproxy https://github.com/r-ryantm/nixpkgs/archive/2e3cf03ab87412593719ae4b92dee301c2de60f7.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/h80n4pnl5vppzl65jxvhnpz3cxg3cw62-haproxy-2.3.5
ls -la /nix/store/h80n4pnl5vppzl65jxvhnpz3cxg3cw62-haproxy-2.3.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

haproxy

Maintainer pings

Result of nixpkgs-review pr 112297 at 2e3cf03a run on aarch64-linux 1

1 package built:

haproxy

1 warning produced:

warning: unclear-gpl
gpl2 is a deprecated license, check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/tools/networking/haproxy/default.nix:67:5:
   |
67 |     license = licenses.gpl2;
   |     ^


Refactoring how MathRow is laid out into a frame while respecting alignment points

Note: as a collection of MathFragments, struct MathRow--despite its name--can have multiple rows, delimited by MathFragment::Linebreak. Its rows() method returns a vector of those individual rows.

This PR deals with the routine ("the routine" below) that lays out MathRow's rows into a frame with alignment points taken into account.
First, this PR improves the routine while keeping the same behavior:

MathRow.into_aligned_frame() has an argument points: &[Abs], but this argument is only used in the special case where MathRow holds only one actual row, at the method's beginning: https://github.com/typst/typst/blob/0fb2a674841882bac80ea44e7aae1684a4289f6a/crates/typst/src/math/row.rs#L163-L165 and if there are multiple rows, the alignment points are recalculated in this method body, obscuring the method's caller-provided argument points, leading to confusion: https://github.com/typst/typst/blob/0fb2a674841882bac80ea44e7aae1684a4289f6a/crates/typst/src/math/row.rs#L180

In fact, having this one-row special case in this method seems to defeat the method's purpose: the methods intends to lay out multiple rows into a frame, and the alignment points are calculated & applied uniformly for all rows. https://github.com/typst/typst/blob/0fb2a674841882bac80ea44e7aae1684a4289f6a/crates/typst/src/math/row.rs#L180-L184

Some call sites of MathRow.into_aligned_frame() actually build one-row frames. This is evident in the computation of the alignment points (by calling alignments()) before calling that method, and, as mentioned above, caller-provided alignment points points is only used in the one-row special case. Examples:
https://github.com/typst/typst/blob/0fb2a674841882bac80ea44e7aae1684a4289f6a/crates/typst/src/math/underover.rs#L312-L316 https://github.com/typst/typst/blob/0fb2a674841882bac80ea44e7aae1684a4289f6a/crates/typst/src/math/matrix.rs#L478-L484
Unnecessary arguments of the stack() function, which became clear as a result of refactoring.

Second, as a preparation for future dev works, this PR adds an indirection in the routine: instead of directly returning the resulting Frame, the new routine first returns a MathRowFrameBuilder, which can then build itself into a Frame. This way, the intermediate layout arrangement (e.g. the positions and sizes of each row) can be accessed from this builder. Exposing this layout info helps us to do operations for each line in the future, e.g. support numbering an equation block by each line.
Tests are still passing.

Thanks!


Provide more default values in overlay

Considering the high complexity of the default.nix referenced by most projects, it would be nice if we provided more default values in the cargo2nix overlay to reduce the initial boilerplate. Some examples include:

Restoring <nixpkgs> as the default, if left unspecified. This used to be the default value, but was changed to help cross-compilation of cargo2nix specifically. The nixpkgs.nix isn't needed for projects using cargo2nix as a build system, so maybe the generated default.nix would simply use <nixpkgs> as the default (see #18).
Importing the cargo2nix overlay could also re-export the nixpkgs-mozilla overlay, with the latest Rust stable selected as the default and aarch64-unknown-linux-gnu enabled, if left unspecified.
Common patched dependencies such as openssl and macosFrameworks could be re-exported from the overlay, if needed.
resolveResponse and rustPackagesWithResolve could have a default value for simple cases where manual resolution isn't necessary or impractical for a given project.

Any thoughts, @dingxiangfei2009?

I think this is a fair point, especially when I as a user just want to use whichever <nixpkgs> specified by the system.

The Mozilla overlay can be (?) specified as an additional input to the cargo2nix overlay function. Adding aarch64-unknown-linux-gnu is very welcomed, since this will highlight that this overlay is capable of handling cross-compilation.

Very welcomed! Tired of specifying it in every projects I am working on that has remotely depended on cryptography

Yes please. In fact, the expression in default.nix is canonical? I cannot draw useful variants or abstraction so far from my experience.

@ebkalderon How would you assess the current state?

The most recent version of overlay/overrides.nix now provides a very comprehensive list of default overrides for packages, and all of the bullet points in the issue description are either now included in that file or are no longer applicable, such as cargo2nix resolve and resolveResponse which don't exist anymore. The default.nix has been whittled down to such a lightweight and small size that I believe this issue can be safely closed.


Replace domain used for Pod internet connectivity test

Fixes #6432
Use api.github.com as suggested to be more stable in the issue above

/skip-all


Minor Bug in set Scintilla.LexerName

If SetLexerByName(value) fails, then lexerName is not yet set, and so not reported (or the previous version is reported) in the exception message.
            set
            {
                if (string.IsNullOrWhiteSpace(value))
                {
                    lexerName = value;

                    return;
                }

                #if SCINTILLA5
                if (!SetLexerByName(value))
                {
                    throw new InvalidOperationException(@$"Lexer with the name of '{lexerName}' was not found.");
                }
                #elif SCINTILLA4
                if (NativeMethods.NameConstantMap.ContainsValue(value))
                {
                    Lexer = (ScintillaNET.Lexer) NativeMethods.NameConstantMap.First(f => f.Value == value)
                        .Key;
                }
                #endif

                lexerName = value;
            }

Thanks for reporting this - I'll check this out...

Hi,
Could you provide steps to reproduce this. The SetLexerByName method is private so it is not part of the public "API".
So what I need to do to reproduce the issue.
An exception is thrown correctly if the lexer name is not found. E.g. not supported by the Scintilla native.

Apologies - it wasn't terribly clear.
I mean, if you set the public LexerName property to an invalid value, the exception is correctly thrown, but the exception message is incorrect - it uses the private field lexerName.
But lexerName has not yet been set to the new (and invalid) value value, so the wrong name is reported. The message should report value as the invalid name.
In my case, lexerName was null, and so the invalid name was reported as an empty pair of quotes.

Hi,
Thanks for the additional info, fixed, closed and released a new version 👍


2.1.0 Version for UE5.1.1 is not working

If tried downloading and implementing the file into both the Engines Plugin file and my projects file but it continues to come with an error... I have the Socket.io version 2.5.2 would that cause a problem?
Is it on Marketplace to download?

use github releases (.7z downloads, not source), you do not have the required binary files which are included in releases.


Discord link is expired

Describe the Issue
Discord link not working
Expected Behavior
Discord link should work
To Reproduce
find any discord link and click it
Client
Desktop
Browser
Chrome
Relevant Console Log Output
No response
Extra Information
No response

This is strange, it works for me... Do you have more info? Can you try again?

@Shebuka sorry, my bad
for some reason browser shows "expired on invalid link" but I was able to join vie discord app
closing issue


letter in the similarity chord diagram truncated

@baimingze for most of the datasets the ID of the dataset is truncated. We need to find a way to avoid this truncation by decrease the size of the letter or look for other position.

how about use a tooltip to show the full name when the truncated name is hovered on?

Have you adjusted some settings of the omicsdi system or browser? Please refer to another example: http://wwwdev.ebi.ac.uk/Tools/omicsdi/#/dataset/pride/PRD000192

No actually the error was reported from somebody else. Have you try to give other orientation. Probably more vertical in the line with the chord diagram. Please also add the hovered in hte meantime.

tooltip added


multi-gitter: Add bump

If this (sourceforge) works, we'll get a PR -- 4.2ga10 to 4.3ga4.

Failing with 4.2ga10 uses an invalid version format. It doesn't like the ga10. We can strip it out with sed

Should work now, I used the wrong variable in 'get version'.


Right content refinements

📢 This PR is based off #479 and not main. This PR goes further to implement some recent design explorations. It puts all the contents of the page in a card and specifies the colors from our in-progress design system for light and dark mode refinements.

@aaronshekey we should add additional padding to the bottom of the sidebar so that the bottom links are not covered by the browsers link preview interface:

Another thing we should try and figure out is how to make the sidebar scroll hide when not in usage like notion:


⚠ Bofrost.de has degraded performance

In 7f037be, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1553 ms

Resolved: Bofrost.de performance has improved in 3d57fb0 after 10 minutes.


Feature/db delete overwrite

Closes #31

[ ] Discuss on delete and update return type (Bool for now)
[x] Add more tests for deadlocks

Current coverage is 93.77%

Merging #37 into master will increase coverage by +0.02% as of aa92795

@@            master     #37   diff @@
======================================
  Files            7       7
  Stmts          240     257    +17
  Branches         0       0
  Methods
======================================
+ Hit            225     241    +16
  Partial          0       0
- Missed          15      16     +1

Review entire Coverage Diff as of aa92795

Uncovered Suggestions

+5.06% via ...equest+FixCopy.swift#29...41
+0.39% via ...ource/KakapoDB.swift#94...94
+0.39% via ...e/KakapoServer.swift#71...71
See 1 more...

Powered by Codecov. Updated on successful CI builds.

return type bool is fine for me, we can also throwor fatalError as you wish

@MP0w I would you always throw for all failed deletions/updates?

Provably is more swify, what about u?

:+1: after fixing the test for update

@MP0w I don't feel like trying to update or delete an invalid object should raise an exception, but I'm +1 for throwing

Okay ! Merge we can figure it out later


versions, ordered test and dev dependencies;

Codecov Report
Base: 30.26% // Head: 30.26% // No change to project coverage :thumbsup:

Coverage data is based on head (e6c223d) compared to base (7c07c30).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #78   +/-   ##
=========================================
  Coverage     30.26%   30.26%
  Complexity        9        9
=========================================
  Files            10       10
  Lines            76       76
  Branches          3        3
=========================================
  Hits             23       23
  Misses           53       53

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@h1alexbel thanks for contribution!

@rultor merge

@rultor merge

@l3r8yj OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@l3r8yj Done! FYI, the full log is here (took me 1min)


[FEATURE REQUEST] Add support for specifying max execution duration.

Folks should be able to specify, as part of a logic rule, the maximum amount of time a repair can execute. A default maximum execution time will also prevent orphaned/stuck repairs.
This will be added as an optional argument for use in multiple Guan repair predicates.

Currently implemented in develop branch (build 1.1.14).


Move documentation from wiki

Move all docs from the Github wiki to a docs directory in the main repo.

Fixed in #194


CA-365905 (XSI-1215): Create a temporary file in the target download …

…folder instead of the user's temp folder if the latter is in a different drive from the target folder.

Note this is the same fix as https://github.com/xenserver/xenadmin/pull/2993


Always obey --upgrade-package, and allow it together with --upgrade

Fixes #829. Fixes #830.
Allow the two options together, essentially making --upgrade-package a way of passing an extra constraint. Always parse --upgrade-package, regardless of whether the output file exists.
Changelog-friendly one-liner:
--upgrade and --upgrade-package are no longer mutually exclusive.
--upgrade-package now works even if the output file doesn't exist.
Contributor checklist

[x] Provided the tests for the changes.
[ ] Requested a review from another contributor.
[x] Gave a clear one-line description in the PR (that the maintainers can add to CHANGELOG.md on release).
[ ] Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).

As an external contributor, I can't request a reviewer or assign to a milestone 🙊

Thanks for the contribution! I would suggest split it to two PR, since #830 needs to be discussed.

I will split if anyone finds the proposal offensive but I think it's quite an easy win

I will split if anyone finds the proposal offensive but I think it's quite an easy win

At least it would be much easier to review for maintainers.

The fix for #830 is just the removal of the constraint on line 228 of compile.py. The actual behavioural fix is done by the move of code that fixes #829. If I split it will really mean branch-on-branch for #830 which isn't better is it?

The fix for #830 is just the removal of the constraint on line 228 of compile.py. The actual behavioural fix is done by the move of code that fixes #829. If I split it will really mean branch-on-branch for #830 which isn't better is it?

It would be better if this two issues depended on each other. But they look like not depended and can be fixed(implemented) separately. I must emphasise it's not mandatory, just a simple recommendation :)
Have you researched why the options --upgrade and --upgrade-package are mutually exclusive by a deliberate design decision?

It would be better if this two issues depended on each other. But they look like not depended and can be fixed(implemented) separately. I must emphasise it's not mandatory, just a simple recommendation :)

Oh, sorry, they should be fixed by one shot of course.

Have you researched why the options --upgrade and --upgrade-package are mutually exclusive by a deliberate design decision?

It doesn't seem there was too much deliberation in #409 which added --upgrade-package and added the mutual exclusivity. I think it was just easier at the time given the way the code was laid out then.

Thanks @atugushev ! 🎉

@adamchainz thanks great work! I'll prepare a release within 24h.

pip-tools v3.8.0 is released


Cadence HiFi Mini NN Library: Integrated optimized kernels

Integrated Cadence HiFi Mini optimized functions for
fully_connected, softmax and svdf kernels.
These optimized functions gives better performance for keyword_benchmark application.

@bhanuprakashbv Thank you for your contribution. Can you please sign CLA? Thanks!

Hi,
Could you please help me to sign CLA. I did already, which is showing like below.
I don’t know how to add my contributions without CLA issues.
Thanks,
Bhanu
<EMAIL_ADDRESS>From: gbaned<EMAIL_ADDRESS>Sent: Wednesday, May 20, 2020 8:40 AM
To: tensorflow/tensorflow<EMAIL_ADDRESS>Cc: Bhanu Prakash Bandaru Venkata<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [tensorflow/tensorflow] Cadence HiFi Mini NN Library: Integrated optimized kernels (#39691)
EXTERNAL MAIL
@bhanuprakashbvhttps://urldefense.com/v3/__https:/github.com/bhanuprakashbv__;!!EHscmS1ygiU1lA!R4RVTw6SUjDGoAlsGbl1uPagyqAZ0bgLUTCslWMFnPithg7VZ4e6hmOUfGNIZg$ Thank you for your contribution. Can you please sign CLA? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/tensorflow/tensorflow/pull/39691*issuecomment-631208437__;Iw!!EHscmS1ygiU1lA!R4RVTw6SUjDGoAlsGbl1uPagyqAZ0bgLUTCslWMFnPithg7VZ4e6hmMjGO8Lcg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/APAXUL6LKXXYF46UMOBA3R3RSNCZTANCNFSM4NFH2HVA__;!!EHscmS1ygiU1lA!R4RVTw6SUjDGoAlsGbl1uPagyqAZ0bgLUTCslWMFnPithg7VZ4e6hmPmA23P_w$.

@googlebot I signed it!
After signing CLA, status is like below.
I don’t know whether it is completed or anything else do I need to do.
Could you please help me to resolve.
<EMAIL_ADDRESS>From: googlebot<EMAIL_ADDRESS>Sent: Wednesday, May 20, 2020 12:01 AM
To: tensorflow/tensorflow<EMAIL_ADDRESS>Cc: Bhanu Prakash Bandaru Venkata<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [tensorflow/tensorflow] Cadence HiFi Mini NN Library: Integrated optimized kernels (#39691)
EXTERNAL MAIL
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/https://urldefense.com/v3/__https:/cla.developers.google.com/__;!!EHscmS1ygiU1lA!U1CXd1P6PflKpAV07uidcN3heJCkMB2tOgH6Cs1UdcXKrS-NdmGdiJuI_3Bmyg$ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.

What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA datahttps://urldefense.com/v3/__https:/cla.developers.google.com/clas__;!!EHscmS1ygiU1lA!U1CXd1P6PflKpAV07uidcN3heJCkMB2tOgH6Cs1UdcXKrS-NdmGdiJutNgbAwQ$ and verify that your email is set on your git commitshttps://urldefense.com/v3/__https:/help.github.com/articles/setting-your-email-in-git/__;!!EHscmS1ygiU1lA!U1CXd1P6PflKpAV07uidcN3heJCkMB2tOgH6Cs1UdcXKrS-NdmGdiJsY5Zp0-A$.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoothttps://urldefense.com/v3/__http:/go/cla*troubleshoot__;Iw!!EHscmS1ygiU1lA!U1CXd1P6PflKpAV07uidcN3heJCkMB2tOgH6Cs1UdcXKrS-NdmGdiJt3CD3bUA$ (Public versionhttps://urldefense.com/v3/__https:/opensource.google/docs/cla/*troubleshoot__;Iw!!EHscmS1ygiU1lA!U1CXd1P6PflKpAV07uidcN3heJCkMB2tOgH6Cs1UdcXKrS-NdmGdiJvb3g-S6g$).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA datahttps://urldefense.com/v3/__https:/cla.developers.google.com/clas__;!!EHscmS1ygiU1lA!U1CXd1P6PflKpAV07uidcN3heJCkMB2tOgH6Cs1UdcXKrS-NdmGdiJutNgbAwQ$ and verify that your email is set on your git commitshttps://urldefense.com/v3/__https:/help.github.com/articles/setting-your-email-in-git/__;!!EHscmS1ygiU1lA!U1CXd1P6PflKpAV07uidcN3heJCkMB2tOgH6Cs1UdcXKrS-NdmGdiJsY5Zp0-A$.
The email used to register you as an authorized contributor must also be attached to your GitHub accounthttps://urldefense.com/v3/__https:/github.com/settings/emails__;!!EHscmS1ygiU1lA!U1CXd1P6PflKpAV07uidcN3heJCkMB2tOgH6Cs1UdcXKrS-NdmGdiJtkeFYs8Q$.

ℹ Googlers: Go herehttps://urldefense.com/v3/__https:/goto.google.com/prinfo/https*3A*2F*2Fgithub.com*2Ftensorflow*2Ftensorflow*2Fpull*2F39691__;JSUlJSUlJQ!!EHscmS1ygiU1lA!U1CXd1P6PflKpAV07uidcN3heJCkMB2tOgH6Cs1UdcXKrS-NdmGdiJtsx1yGbQ$ for more info.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/tensorflow/tensorflow/pull/39691*issuecomment-631001647__;Iw!!EHscmS1ygiU1lA!U1CXd1P6PflKpAV07uidcN3heJCkMB2tOgH6Cs1UdcXKrS-NdmGdiJvZkOtStw$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/APAXUL7CY6PU3NSCYA2TZE3RSLF67ANCNFSM4NFH2HVA__;!!EHscmS1ygiU1lA!U1CXd1P6PflKpAV07uidcN3heJCkMB2tOgH6Cs1UdcXKrS-NdmGdiJukQBXF9Q$.

@bhanuprakashbv It still shows CLA is pending, can you use please make sure to use same GitHub username and email-id associated with it.

Hi,
I am using same user name and email-id but I don’t know how to sign corporate CLA.
Could you please help/guide me to do that.
Thanks,
Bhanu
From: gbaned<EMAIL_ADDRESS>Sent: Wednesday, May 27, 2020 6:58 PM
To: tensorflow/tensorflow<EMAIL_ADDRESS>Cc: Bhanu Prakash Bandaru Venkata<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [tensorflow/tensorflow] Cadence HiFi Mini NN Library: Integrated optimized kernels (#39691)
EXTERNAL MAIL
@bhanuprakashbvhttps://urldefense.com/v3/__https:/github.com/bhanuprakashbv__;!!EHscmS1ygiU1lA!Rp4jUycEPP-zLbAaIRkAy2GtgzDKaAA-Nli8CnnwL91dRyM2YlOtLcKjER0u_Q$ It still shows CLA is pending, can you use please make sure to use same GitHub username and email-id associated with it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/tensorflow/tensorflow/pull/39691*issuecomment-634660738__;Iw!!EHscmS1ygiU1lA!Rp4jUycEPP-zLbAaIRkAy2GtgzDKaAA-Nli8CnnwL91dRyM2YlOtLcKAtn61Wg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/APAXUL2YKIO3JUPA4YZTER3RTUIMHANCNFSM4NFH2HVA__;!!EHscmS1ygiU1lA!Rp4jUycEPP-zLbAaIRkAy2GtgzDKaAA-Nli8CnnwL91dRyM2YlOtLcLCfY5mzw$.

@googlebot I signed it!

@bhanuprakashbv  Can you please resolve conflicts? Thanks!

@bhanuprakashbv Can you please resolve conflicts? Thanks!

Apologies for the delay. We have shifted optimized kernels around internally to make space for this PR.

Hi njeffrie,
Do I need to do any rebase to resolve the conflicting files?
Thanks,
Bhanu

@bhanuprakashbv yes please rebase and resolve conflicts.

@bhanuprakashbv yes please rebase and resolve conflicts.
@rthadur did rebase and resolved the conflicts.

It's been brought to my attention that we need a tensorflow license in all source files we check in, similar to what you have in tensorfllow/lite/micro/kernels/xtensa-hifimini/*.cc
Please update all files in this change to make sure the tensorflow license text can be found in all of them.

@njeffrie Added tensorflow license in all source files. Please check and let me know.
Thanks,
Bhanu

@bhanuprakashbv can you please make below changes , thank you

@rthadur I have updated code based on your comments. Could you please check and let me know.
Thanks,
Bhanu

Seems auto-merge is not happening but the changes are now committed so we can close this. Thank you for the PR.


fix non-deterministic issue from get_candidates and get_mentions

fix non-deterministic issue from get_candidates and get_mentions caused by parallel candidate/mention generation

No, I don't think it will affect performance too much.


Implement Pylint bad-super-call as PLE1003

Made an attempt at implementing E1003.
Awaiting for changes that will let us see the path of inheritance
https://github.com/charliermarsh/ruff/issues/970

Which requires that you're able to traverse up the inheritance chain, even across files.

Unfortunate. I got the rule working with the first idea (not multiple inheritance), however I am lacking the knowledge to make the unit-test pass even though now the behaviour is correct. I do not know what I am missing to declare which line should fail and which one should pass.
Anyway, I will leave this PR on-hold for now, since to implement Pylint you will be looking into traversing across files. Can look into it whenever I have the GO signal.

Something seems to have changed. CI is running now on my draft when it didnt a few days ago

(I'm going to close for now as I like to keep the PR list actionable to the degree that I can. We can always re-open later, it will continue to exist in the project history here.)

Alright with me


Add DSC NIT Rourkela

Over to you @xprilion
Kindly squash and merge

Fix for #2

That was fast 😜


Error: could not parse datamodel

I have a recent schema (39 models) created via db pull with 3.4.2. Unfortunately no svg is created and with DEBUG=* I see this error message:
  prisma:GeneratorProcess Error: could not parse datamodel +463ms
  prisma:GeneratorProcess     at Object.exports.default [as onGenerate] (C:\Users\Jan\Documents\throwaway\cloud-api\node_modules\prisma-erd-generator\dist\generate.js:146:19) +1ms
  prisma:GeneratorProcess     at processTicksAndRejections (internal/process/task_queues.js:95:5) +0ms
  prisma:GeneratorProcess     at async LineStream.<anonymous> (C:\Users\Jan\Documents\throwaway\cloud-api\node_modules\@prisma\generator-helper\dist\generatorHandler.js:36:24) +1ms

What is the best way to debug this?
(I unfortunately can not share the schema here)

Seem the base64 was too big for the Prisma Query Engine CLI and the param --datamodel, but writing the plain model to a file (could also have used the path instead probably) and using --datasource-path worked and I got a SVG 👍

@janpio It might be related to #16.

@janpio Did you say you fixed this above or was an upgrade to the latest version enough of a fix. The write to temp file was in the latest version last I checked so it should solve the base64 issue.

I installed from Npm, so am/was using "prisma-erd-generator": "^0.5.3". But what I see at https://github.com/keonik/prisma-erd-generator/pull/17/files looks exactly what I did manually as well. Could it be that 0.5.3 somehow does not include these changes?

I'm gonna see if its included in the 0.6.0 release with the m:n

I'm seeing usage of the --datamodel-path in v0.6.0. Assuming that's a similar fix I think we can close this @janpio

Agree 👍

I had the same problem. "Error: could not parse datamodel".
I solved that with a simple solution above.
My directory to the folder project was:
- D:\\Projetos\\Projetos Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

Pay attention that "Projetos Gerais" has a blank space
My solution was replace that space to "_".
- Projetos Gerais
+ Projetos_Gerais

Fixed directory
+ D:\\Projetos\\Projetos_Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

After that, the error was solved for me. I hope this can help someone.

I had the same problem. "Error: could not parse datamodel". I solved that with a simple solution above.
My directory to the folder project was:
- D:\\Projetos\\Projetos Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

Pay attention that "Projetos Gerais" has a blank space
My solution was replace that space to "_".
- Projetos Gerais
+ Projetos_Gerais

Fixed directory
+ D:\\Projetos\\Projetos_Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

After that, the error was solved for me. I hope this can help someone.

Boa, irmão. Resolveu aqui!!

Referen

Thanks, that helped me

https://github.com/keonik/prisma-erd-generator/issues/24#issuecomment-1107362004
Thanks, that helped me

I had the same problem. "Error: could not parse datamodel". I solved that with a simple solution above.
My directory to the folder project was:
- D:\\Projetos\\Projetos Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

Pay attention that "Projetos Gerais" has a blank space
My solution was replace that space to "_".
- Projetos Gerais
+ Projetos_Gerais

Fixed directory
+ D:\\Projetos\\Projetos_Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

After that, the error was solved for me. I hope this can help someone.

Thanks, that helped me

Resolvido aqui também, removendo apenas o espaço!
Vocês são feras!!

I'm on linux and I create the project without space but with a capital letter, does it interfere?
λ notefe server → pwd
/home/fearanha/devs/nlwCopa/server

i had the same issue and solved with

I had the same problem. "Error: could not parse datamodel". I solved that with a simple solution above.
My directory to the folder project was:
- D:\\Projetos\\Projetos Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

Pay attention that "Projetos Gerais" has a blank space
My solution was replace that space to "_".
- Projetos Gerais
+ Projetos_Gerais

Fixed directory
+ D:\\Projetos\\Projetos_Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

After that, the error was solved for me. I hope this can help someone.

I had the same issue and your tip solved my problem.
I really appreciate

I had the same problem. "Error: could not parse datamodel". I solved that with a simple solution above.
My directory to the folder project was:
- D:\\Projetos\\Projetos Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

Pay attention that "Projetos Gerais" has a blank space
My solution was replace that space to "_".
- Projetos Gerais
+ Projetos_Gerais

Fixed directory
+ D:\\Projetos\\Projetos_Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

After that, the error was solved for me. I hope this can help someone.

This solved my problem! Thank you

Eu tive o mesmo problema. "Erro: não foi possível analisar o modelo de dados". Eu resolvi isso com uma solução simples acima.
Meu diretório para o projeto da pasta era:
- D:\\Projetos\\Projetos Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

Preste atenção que "Projetos Gerais" tem um espaço em branco
Minha solução foi substituir esse espaço por "_".
- Projetos Gerais
+ Projetos_Gerais

Diretório fixo
+ D:\\Projetos\\Projetos_Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

Depois disso, o erro foi resolvido para mim. Espero que isso possa ajudar alguém.

Boa, irmão. Resolveu aqui!!

Parabéns, deu certo. (era uma pasta do meu diretório que tinha espaço).

Resolvido também retirando os espaços!
Muito obrigado.

I had the same problem. "Error: could not parse datamodel". I solved that with a simple solution above.
My directory to the folder project was:
- D:\\Projetos\\Projetos Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

Pay attention that "Projetos Gerais" has a blank space
My solution was replace that space to "_".
- Projetos Gerais
+ Projetos_Gerais

Fixed directory
+ D:\\Projetos\\Projetos_Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

After that, the error was solved for me. I hope this can help someone.

Realmente era isso! Smp deixo as pastas sem nenhum espaço, mas deixei escapar um kkkk valeu!!

I am coding into a google drive env, so the path is "C:\Users\kkpho\My Drive\Workdrive..." and I just can not change "My drive". I will try to download it and run it in

I had the same problem. "Error: could not parse datamodel". I solved that with a simple solution above.
My directory to the folder project was:
- D:\\Projetos\\Projetos Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

Pay attention that "Projetos Gerais" has a blank space
My solution was replace that space to "_".
- Projetos Gerais
+ Projetos_Gerais

Fixed directory
+ D:\\Projetos\\Projetos_Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

After that, the error was solved for me. I hope this can help someone.

Thanks, that helped me

=> thanks bro, solve the issue

Almost one year later, saving my project!
Thanks for the tip.

I had the same problem. "Error: could not parse datamodel". I solved that with a simple solution above.
My directory to the folder project was:
- D:\\Projetos\\Projetos Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

Pay attention that "Projetos Gerais" has a blank space
My solution was replace that space to "_".
- Projetos Gerais
+ Projetos_Gerais

Fixed directory
+ D:\\Projetos\\Projetos_Gerais\\fullcycle-prisma\\node_modules\\prisma\\query-engine-windows.exe

After that, the error was solved for me. I hope this can help someone.

Almost one year later, saving my project!
Thanks for the tip.

I am coding into a google drive env, so the path is "C:\Users\kkpho\My Drive\Workdrive..." and I just can not change "My drive". I will try to download and run my project in another env but it is really annoying.. No one have an other solution?

My project was uploaded to a OneDrive folder synched with my desktop, giving me the same error.
Moved to HD and problem solved.

The change of the spaces from folders work for me too, thanks! :)