Localizations showing as key:  at runtime and designtime

I have installed WPFLocalizationExtension using NuGet to my VS2013 .NET 4.5 VB application.  I added the namespace and initialization to my window definition:
xmlns:lex="http://wpflocalizeextension.codeplex.com"
lex:ResxLocalizationProvider.DefaultDictionary="Strings"
lex:ResxLocalizationProvider.DefaultAssembly="TheRandomizerWPF"
lex:LocalizeDictionary.DesignCulture="en"

I added a resx file named Strings.resx and one named Strings.en-US.resx to my project that use the PublicResXFileCodeGenerator custom tool.  I set them to be a public embedded resource and added a key "tools_menu" => "Tools" to both.
I added a binding to my menu item:
<MenuItem x:Name="mnuTools" Header="{lex:Loc Key=tools_menu}">

Yet when my menu item now displays "Key: toolsmenu" in both designtime and runtime.

I have the same issue as melance.
I am using VisualStudio 2015 with .NET 4.6

Have you tried the same key on a simple TextBlock in your window? If it works there, then MenuItem itself or its container - the tool menu - is the problem (refer to various discussions on that topic before). In that case, try to use the full notation at the key, like in your case: "TheRandomizerWPF:Strings:tools_menu". It should work then.

Thanks
OK, i have created a new Project and now it works. But in VS 2015 is have not Designtime support. Is it right?

I'm working with VS2015 and it works even during design time :-o.

Sorry it's taken me so long to reply.  I've been very busy with other things.  I tried what you mentioned and created a TextBlock with the following tag:
<TextBlock Text="{lex:Loc Key=TheRandomizerWPF:Strings:tagslabel}" Foreground="{DynamicResource IdealForegroundColorBrush}" FontWeight="Bold" />

I also tried with {lex:Loc Key=tagslabel} which also didn't work.  Presently the textblock displays Key: TheRandomizerWPF:Strings:tagslable in both runtime and designtime.
Thanks.

@SeriousM  If I remember correctly, we once had some issues with VB.NET projects due to their nature of assembly and/or namespace naming. Is this correct and if yes, what was the result?

I recently ran into this problem. For me, it was because I upgraded from ~2.1.2 to the latest NuGet package and had previously been using the Loc markup extension (e.g., Text="{localize:Loc key.path}") but it was fixed when I switched to using BLoc. YMMV.

I too am having a similar issue.  Although it only seems to fail at Design Time.

I tried switching from Loc to BLoc but it only made the key name disappear at Design Time. Although it continued to work at Runtime.
I installed via the NuGet package into Visual Studio 2015 Update 2.

Hi, maybe you should try to restart designer. You can configure this process as external tool like this:

That is a great tip, however I have had this problem since yesterday, across multiple reboots, and restarts of VS.
Interestingly the problem partially goes away when using Blend instead of VS Designer.  Some fields are working at DesignTime while others are no longer working.
VS Designer:

Blend:

OK.  After killing all XDesProc.exe processes I am now getting a uniform behavior between both Blend and VS Designer.  But there are still a few items that show keys rather than the default translations.

In my case I fixed the problem by checking "Enable Project Code" option in XAML Designer of VS2015

Yes.  Also if you have any design-time exceptions caused by your ViewModel
it will crash the XDesProc.exe causing it to reload with code disabled.
Thank you.
On Sat, Feb 11, 2017 at 8:15 AM Ruslan Gilmutdinov<EMAIL_ADDRESS>wrote:

In my case I fixed the problem by checking "Enable Project Code" option in
XAML Designer of VS2015
[image: image]
https://cloud.githubusercontent.com/assets/8816279/22854305/a45c555e-f095-11e6-82e5-278ac294c9cd.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SeriousM/WPFLocalizationExtension/issues/75#issuecomment-279146339,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABgCQg4iHoMCmlw44gmgA24fXxWIOo31ks5rbcJmgaJpZM4GF2Ku
.

Got this issue when passing from 2.3.2 to 2.3.4
my {lex:Loc ch.infodev.srunner.infrastructure:Ressources:Open}" binding were working but now they don't resolve...


Protobuf with bazel

I download the Protobuf repo to my local computer,
and in the workspace how do I configure it to compile with Bazel.
Workspace has the following contents
local_repository(
name = "com_google_protobuf",
path = "/home/ws/protobuf-3.12.3/",
)
What else do I need to configure.Thanks

and what causes this problem
//main:t1.out
//main:t1_lib
//proto:t1_cc_proto
//proto:t1_proto
.-> @com_google_protobuf//:protoc (host)
|   @com_google_protobuf//:protoc_lib (host)
|   @com_google_protobuf//:protobuf (host)
|   @com_google_protobuf//:src/google/protobuf/unittest_proto3_arena.pb.h (host)
|   @com_google_protobuf//:cc_test_protos_genproto (host)
|   @com_google_protobuf//:cc_wkt_protos_genproto (host)
|   @com_google_protobuf//:wrappers_proto (host)
`-- @com_google_protobuf//:protoc (host)
This cycle occurred because of a configuration option
ERROR: Analysis of target '//main:t1.out' failed; build aborted

I download the Protobuf repo to my local computer,
and in the workspace how do I configure it to compile with Bazel.
Workspace has the following contents
local_repository(
name = "com_google_protobuf",
path = "/home/ws/protobuf-3.12.3/",
)
What else do I need to configure.Thanks

This issue is about Protobuf and Bazel. Maybe you should take a look at https://github.com/bazelbuild/rules_proto for how to compile proto targets using Bazel.
If you want to understand how Apollo use Bazel for building proto targets, see: WORKSPACE:L18 , [third_party/protobuf/workspace.bzl] (https://github.com/ApolloAuto/apollo/blob/master/third_party/protobuf/workspace.bzl) and scripts/proto_build_generator.sh.
This issue should be closed now as it has little to do with Apollo. If you has other questions, please feel free to create another issue.


Fix for python3 syntax incompatibility.

Encountered a syntax error while following "Getting started" tutorial with python3:
$ python convolutional.py
Traceback (most recent call last):
File "convolutional.py", line 31, in
import tensorflow.python.platform
File "/Users/povi/Library/Developer/virtual_envs/py3/lib/python3.5/site-packages/tensorflow/init.py", line 23, in
from tensorflow.python import *
File "/Users/povi/Library/Developer/virtual_envs/py3/lib/python3.5/site-packages/tensorflow/python/init.py", line 73, in
from tensorflow.python.training import training as train
File "/Users/povi/Library/Developer/virtual_envs/py3/lib/python3.5/site-packages/tensorflow/python/training/training.py", line 149, in
from tensorflow.python.training.saver import generate_checkpoint_state_proto
File "/Users/povi/Library/Developer/virtual_envs/py3/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1077
except Exception, e:  # pylint: disable=broad-except
^
SyntaxError: invalid syntax
Fixed it, so it would be python 2 & 3 compatible.

Can one of the admins verify this patch?

LGTM. I was about to make the same change to fix a bunch of test failures under Python3.

Jenkins, test this please.

Test failure is not this PRs fault.

merged.


docs(Tabs): New format

Converted Tabs documentation to new format.

I think we should set a default string to the activeTab to simplify what the string looks like when its active. I can fix this later today since Tomas is on holidays! :)


Finder shortcut no longer works

I'm on Atom 1.8.0 and the Toggle Finder command doesn't seem to be working.
According to the Keybindings page Alt-Ctrl-P is used by the command window:run-package-specs. It seems to be occluding the project plus keybinding.
Is there a procedure in place for situations like this? Does someone change their default shortcut?

I have this happen when I install the package for the first time on a fresh atom. Restarting atom completely fixes it for me.


[DISQ-6] Add CONTRIBUTING and SUPPORT files.

Fixes #6.

+1

Ping for review and merge.  I realize these are a bit weak on content, but I'd rather get them in place now and add to them as things settle out.

Created new issues to track suggestions made by @magicDGS, thanks!

Can this be merged now @magicDGS, @heuermh?

:+1:

Yes, this can be merged

Thanks @heuermh and @magicDGS!

Thank you too!

Thank you, @tomwhite


change name to wallet from account

Describe the changes you have made in this PR
In this pull request, I replaced the account name with wallet in the majority of places. However, in some instances where the term wallet might not be suitable based on context, I retained account name. Additionally, I updated some translation variable names to include wallet. Furthermore, I made changes to the account setting screen by adding descriptions and section names. I updated this screen based on design suggested in this figma file.
Link this PR to an issue [optional]
Fixes #2872
Type of change

Change account to wallet name
Add wallet description and general section in wallet settings
Change name to delete_edit_wallet from delete_edit_account
Change name to wallet_view from account_view translation variable name
Change name to confirm_add_wallet from confirm_add_account translation variable name

Screenshots of the changes [optional]

How has this been tested?
I ensured that all the test cases are functioning correctly. Additionally, I tested all the margins, padding, and spacing to ensure they align with the design specifications I received.
Checklist

[X] Self-review of changed code
[X] Manual testing
[X] Added automated tests where applicable
[X] Update Docs & Guides
For UI-related changes
[X] Darkmode
[X] Responsive layout

I think this was done with some other PR by @pavanjoshi914. Sorry it went unreviewed @amitamrutiya2210


Request: Thundering should not sound server wide.

Currently Thundering sets off the thunder sound for everyone on the server regardless of where you are or proximity to the attack. Because this triggers so often, it would be nice to localize the sound effect.

Oops, this looks to be a duplicate of https://github.com/Thelnfamous1/Dungeons-Gear/issues/34. I'm going to close this one.

Oops, this looks to be a duplicate of https://github.com/Thelnfamous1/Dungeons-Gear/issues/34. I'm going to close this one.


Exposed VirtualFlowContent's totalBreadthEstimate & totalLengthEstimate Properties

I didn't know what the final de-skinned form of RichTextFX would look like, so I decided to work one exposing its scroll properties. However, I can't expose the scrolling properties in RichTextFX unless VirtualFlow itself has them exposed.

Looks good. Let's think whether you are going to need other operations as well, that are currently not exposed, like the current position (within the total length/breadth), or navigating to a specific pixel position.
Also, you can notice that VirtualFlowContent uses the words "length" and "breadth", whose meaning depends on the orientation of the control. If the orientation is vertical (as it is for RichTextFX), then length means height and breadth means width. In case of a horizontal VirtualFlow, the meaning would be flipped.
However, VirtualFlow's API hides this and only refers to width and height and does the right thing based on the orientation. So probably what you want instead is to expose
Val<Double> totalWidthEstimateProperty();
Val<Double> totalHeightEstimateProperty();

where they are implemented like this:
public Val<Double> totalWidthEstimateProperty() {
    return orientation.widthEstimateProperty(content);
}

public Val<Double> totalHeightEstimateProperty() {
    return orientation.heightEstimateProperty(content);
}

Looks good. Let's think whether you are going to need other operations as well that are currently not exposed, like e.g. the current position (within the total length/breadth), or navigating to a specific pixel position.

Good point about the other operations! I guess didn't study the code as much as I should have...

Also, you can notice that VirtualFlowContent uses the words "length" and "breadth", whose meaning depends on the orientation of the control. If the orientation is vertical (as it is for RichTextFX), then length means height and breadth means width. In case of a horizontal VirtualFlow, the meaning would be flipped.

I was going to clarify the names in a RichTextFX PR to something like 'estimatedScrollX' and estimatedScrollY,' but I missed the orientation part. I'll get on that.
Tasks to Complete:

[ ] expose current position as property
[ ] add method that scrolls to pixel
[ ] re-implement properties to account for orientation differences

With this most recent commit, do you think some of the method names should be changed to make things clearer? For example, now that there are the two methods
    void scrollX(double deltaX) {
        orientation.scrollHorizontally(this, deltaX);
    }
    public void scrollXToPixel(double pixel) {
        orientation.scrollHorizontallyToPixel(this, pixel);
    }

shouldn't the scrollX(double deltaX) be renamed to scrollXBy(double deltaX) (and the same for the Y scrolling methods?

Let's try to keep the distinction that VirtualFlowContent only works with breadth/length, and VirtualFlow calls the appropriate orientation helper methods to adapt. We can worry about the method names later.

Also, I don't think that IDE specific files should be part of the repository. It's OK though if you add a plugin to the build script to generate those files automatically, as is done here for Eclipse. That line enables to run
gradle eclipse

to generate Eclipse specific files. I'm sure there will be a similar plugin for IDEA.

Let's try to keep the distinction that VirtualFlowContent only works with breadth/length, and VirtualFlow calls the appropriate orientation helper methods to adapt. We can worry about the method names later.

Ok. That's easy to fix.

Also, I don't think that IDE specific files should be part of the repository.

That was actually not intended. :-D I'm still learning how to properly contribute and work with git.
I definitely agree with you there; I'll take it out when I figure out how to do that.

Quick question.
If VirtualFlow should be the one to call orientation helper's methods, that would require exposing the orientation helper as public. Is that really desired?

Hmm, I see I'm not super consistent about who calls orientation methods. It would not necessarily require making orientation public, because it is present in VirtualFlow's constructor, so one might as well assign it to a private field in VirtualFlow. But since VirtualFlowContent needs orientation anyway, it might actually make sense to keep it as you did.

I was just following what was written before me.

I've fixed all of the above, but this specific branch has the gradle.xml file included in one of the commits. So, I'm going to close this and create another PR with a branch that never had that file. That way, should someone wish to go back in history to a different point, they won't have to re-delete that file.


Cross-spec section links?

I'd like to reference algorithms in the ED of CSP from other specs. I don't currently have a good way of doing that. :/
I guess this is two problems:

I'd like to be able to reference headers in other specs.

I'd like to be able to build a definition list from specs that aren't in Shepard. If I had a dollar for each spec into which I copy a list of Fetch and CSP definitions, I could probably buy myself two coffees. Maybe three.

is planned - there's even a comment to that effect somewhere.  I have all the data I need, at least for things either in Shepherd or SpecRef.  (Shepherd things can check your link's validity, but at least with SpecRef things you just need the shortname and the anchor.)

Yeah, I kinda desperately need to put together a metadata that's just "merge these definitions into the linking database normally" and store that in Bikeshed for exposure to everyone.  (The current anchors block is purposely privileged, and treats its dfns equivalent to local dfns, because you put those dfns into your spec on purpose.)

Yay! Cross-spec section links now work as long as the spec is in Bikeshed.  Syntax is [[versioned-shortname-3#heading-id]], and it substitutes in Spec's Abbreviated Name §8.1 Heading Title.  It verifies that the spec and anchor exist.
Next up is putting together a lower-power version that uses biblio data and just trusts that the anchor exists, since anchor data doesn't exist for arbitrary biblio stuff.

And done now - things in the biblio database can be reffed by a cross-spec section link in the same way, it just reuses the anchor as the section name (because it doesn't know the section number or title) and trusts that the anchor exists.


Update dependencies to the latest versions

This updates all dependencies to the latest versions.
I've run some tests on my machine, and nothing seems to be broken. Everything is working in development, testing, and building.
After this is merged, all the following PR can be closed: #220 #218 #215 #213 #203 #199 #197

@rwv also this one, any possibility to merge this and create a new release?


Works on Wi-Fi, but not over cellular?

Hi,
The installation and pairing went smoothly, and I'm able to see the camera's live streaming in the Home app when connected to the home network over Wi-Fi.
However when I'm out of the house, the camera will refresh the still image, and then starts to load for a while, before saying the camera is not responding. An Apple TV is used as the home hub. I've restarted the devices and played with resolution/framerate settings, but the problem remains.
Any idea what could be the issue? Thanks.

Answering my own question:
Turns out, it's the omx fork that's causing it.
Going back to homebridge-camera-ffmpeg resolved the issue. Once camera is set up with this plugin, it's ok to then switch to the omx version if you're running on a RPi.


企业微信遇到的问题

在把我的企业微信账号变成wechaty机器人的时候遇到，

想请教是什么导致的

import { ScanStatus, WechatyBuilder, types } from '@juzi/wechaty'
import QrcodeTerminal from 'qrcode-terminal'
import readline from 'readline'
const token = 'puppet_workpro_xxx' // put your token here
const bot = WechatyBuilder.build({
puppet: '@juzi/wechaty-puppet-service',
puppetOptions: {
authority: 'token-service-discovery-test.juzibot.com',
token,
tls: {
disable: true
// currently we are not using TLS since most puppet-service versions does not support it. See: https://github.com/wechaty/puppet-service/issues/160
}
}
})
const store = {
qrcodeKey: '',
}
async function getVerifyCodeFromUser(): Promise {
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout,
});
return new Promise((resolve) => {
rl.question('Enter the verification code: ', (code) => {
rl.close();
resolve(code);
});
});
}
bot.on('scan', (qrcode, status, data) => {
console.log(`
qrcode : ${qrcode}, status: ${status}, data: ${data}
)   if (status === ScanStatus.Waiting) {     store.qrcodeKey = getQrcodeKey(qrcode) || ''     QrcodeTerminal.generate(qrcode, {       small: true     })   } }).on('verify-code', async (id: string, message: string, scene: types.VerifyCodeScene, status: types.VerifyCodeStatus) => {   // 需要注意的是，验证码事件不是完全即时的，可能有最多10秒的延迟。   // 这与底层轮询二维码状态的时间间隔有关。   if (status === types.VerifyCodeStatus.WAITING && scene === types.VerifyCodeScene.LOGIN && id === store.qrcodeKey) {     console.log(receive verify-code event, id: ${id}, message: ${message}, scene: ${types.VerifyCodeScene[scene]} status: ${types.VerifyCodeStatus[status]})     const verifyCode = await getVerifyCodeFromUser() // 通过一些途径输入验证码     try {       await bot.enterVerifyCode(id, verifyCode) // 如果没抛错，则说明输入成功，会推送登录事件       return     } catch (e) {       console.log((e as Error).message)       // 如果抛错，请根据 message 处理，目前发现可以输错3次，超过3次错误需要重新扫码。       // 错误关键词: 验证码错误输入错误，请重新输入       // 错误关键词：验证码错误次数超过阈值，请重新扫码'       // 目前不会推送 EXPIRED 事件，需要根据错误内容判断     }   } }).on('login', user => {   console.log(
user: ${JSON.stringify(user)}, friend: ${user.friend()}, ${user.coworker()}
) }).on('message', message => {   console.log(new message received: ${JSON.stringify(message)}) }).on('error', err => {   console.log(err) }).on('room-announce', (...args) => {   console.log(room announce: ${JSON.stringify(args)}) }).on('contact-alias', (...args) => {   console.log(contact alias: ${JSON.stringify(args)}) }).on('tag', (...args) => {   console.log(tag: ${JSON.stringify(args)}`)
})
bot.start()
const getQrcodeKey = (urlStr: string) => {
const url = new URL(urlStr);
return url.searchParams.get('key');
}
上面是我写的企业微信demo，node版本在16以上，token申请了

下面是报错

麻烦再帮忙分析一下，现在是找不到思路

Author

The error you're encountering, where the database operation fails because the database is not open, suggests an issue with the initialization of the database or its access before it's fully ready. This is a common problem when operations are attempted on a database before it has been properly initialized and made ready for use.
In the context of your Wechaty application, ensure that any initialization required for the database or the service layer (puppet) interacting with the database is completed before you attempt to perform operations on it. Specifically, if there's an init() method or similar initialization routine for your database connection or the puppet service, make sure it has successfully executed before proceeding with database operations.
If ensuring proper initialization does not resolve the issue, it's possible that other parts of your code might be affecting the database's availability. For example, any methods that stop or disconnect services related to the database could inadvertently cause the database to close or become inaccessible prematurely.
To address this, review your code for any such instances where the database or related services might be stopped or disconnected, especially if these actions are taken before you're done with all database operations. Adjusting the order of operations or ensuring that all necessary tasks are completed before such methods are called can help resolve the issue.
If you continue to face difficulties, providing more specific details about the error message, stack trace, and the parts of your code directly interacting with the database can help in identifying a more precise solution.
Details
To continue the conversation, mention @dosu.

非常感谢，明白您的意思了，我有思路了。


Blocking essential display driver (Intel graphics)

This setting, now enforced in Windows when using UEFI safe boot mode, is now blocking an essential driver required by boot:
Intel Graphics Driver (integrated in the Intel core i7 processor)
Even if this display driver is WHQL signed, and is configured by the BIOS with a UEFI driver and enabled and used during the early boot while loading Windows, the handover during boot is not working, and the display stop working.
We can't use any display driver after boot, not even the basic VGA driver, we finally have no display at all, unless we connect another graphics board on a PCI express bus (possible only in desktop, but graphics adapters are the most costly part of a PC).
Users that wanted several displays (e.g. for the desktop and for an external TV via HDMI) can no longer use the second display.
Microsoft MUST work with Intel to make a compatible Windows driver, or at least be able to use the UEFI driver and its existing configuration (which is locked by UEFI).
The "solution" to boot in non-secure UEFI boot mode is NOT a solution (secure boot is required by lot of domains). Removing safe boot or using an external display board is also NOT an option for any server (that should still be able to have at least a basic display capability.
This is a severe regression of Windows if it can no longer use an essential device built on many PCs with Intel processors. And I don't think that a 4-core Intel Core i7 is a "minor" or antique processor. And it is still sold and advertized as Windows 10 compatible and certified by Microsoft Hardware Labs.

Détails du document
⚠ Ne pas modifier cette section. C’est obligatoire pour docs.microsoft.com ➟ Liaison des problèmes GitHub.

ID: 9f784502-84dc-1122-eab4-1eeeb08da046
Version Independent ID: 21f210a7-4c38-8f62-0226-121562617fef
Content: Intégrité de la mémoire
Content Source: windows/security/threat-protection/device-guard/memory-integrity.md
Product: w10
Technology: windows
GitHub Login: @levinec
Microsoft Alias: ellevin

@officedocsbot assign @jvsam

@verdy-p. Intel  releases only DCH WHQL based driver.  Currently  Intel released graphics DCH driver  <IP_ADDRESS>23 on 18-10-2019 for  end consumers  and  for IT professionals..
.exe  file for  consumers
.zip file for IT professionals
IF you are using  non DCH based driver . uninstall  using display driver uninstall software.
Download the current driver from intel website.
https://downloadcenter.intel.com/download/29113/Intel-Graphics-Windows-10-DCH-Drivers?v=t.
MY asus laptop uses intel i5 7200U processor with HD graphics 620 and with Nvidia geforce 940mx .
I using only  DCH drivers for intel and  nvidia.
Enable  bootlog in msconfig  options , so that we can verify whether intel gpu driver is booted or not.
please disable  driver verification and  disable integrity checks on boot, see below website
https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/driver-verifier#feedback

Intel does NOT provide ANY DCH driver for all its existing Core i3/i5/i7
CPU/APUs. This is only available since generation 6. Previous generations
only have WHQL-certified drivers using kernel drivers. These drivers (last
version published by Intel in May 2019) are certified for Windows 10, but
don't work now with Memory integrity force ON when Secure boot is used.
Having to boot in non secure boot is definitely not an option. The new
Memory integrity requirement needs to be fixed, possibly with
virtualization and serialization support in a Windows kernel, using a
missing "shim", even if this has a small performance impact. Such
requirement is also NOT part of secure UEFI boot where the UEFI driver
really works for loading the OS. It's only the OS itself that now no longer
wants to use the secure UEFI configuration and wants to "play" with memory
allocations.
This was not a problem in past versions of Windows 10 that did not have the
limitations applied now by the new "Memory integrity" feature. I am
convinced that Microsoft can allow a "Memory integrity" compatible working
mode that allows WHQL display kernel drivers to continue working.
Many users don't have a display compatible with DCH drivers working purely
in user mode and virtualization by the windows kernel itself; in Intel
kernel mode drivers, that virtualization was offered by that driver itself,
without delegating all to the default Windows kernel implementation. So
this should continue to work for all Windows 10-WHQL certified drivers.
You are speaking about newer generations of Intel CPUs, there are a lot of
Haswell-class processors in the market, including in servers and in many
professional notebooks.

Note that my comment only applies to the version of Memory Integrity in the current Vibranium preview.
Intel kernel drivers (as well as basic VGA drivers) ARE working with Memory Integrity in the current commercial release.
So this new requirement will break many existing supported installations without notice, at first boot they will no longer have any display if they were already configured with Memory Integrity activated and Secure Boot.

@verdy-p. In my laptop,   having integrated Intel graphics 620 and Nvidia 940mx .
I have installed  both graphics drivers are DCH based whql.
And I have enabled memory integrity and enabled secureboot and UEFI mode.
But I don't have problems , I can able conenct another monitor via VGA port on laptop.
Both the displays are working fine.
Sir how do you know Intel graphics driver is not loading after boot.
please video or screenshots, and upload here.

Sir I am not fighting with you . but I have joined here for discussion.

You simply use an Intel CPU with Generation 6 or higher, whose interel
Intel HD GPU is not the same and has DCH drivers from Intel.
For Gen4/5 Intel Core i3/I5/i7, they only provide WDM kernel drivers, fully
compatible with Windows 7/8/8.1 and all versions of Windows 10 up to May
2019 (including with Memory integrity enabled). But Microsoft has made
internal changes in newer Windows 10 kernels and bus drivers, which enforce
more strict restrictions.
Basically this is a bug caused by more randomized relocation of pages of
physical memory and another virtualization of DMA channels. Some buffers
allocated in kernel drivers spanning and spanning multiple pages (notably
frame buffers) are no longer moved together atomically but page by page
(even if this is supposed to not change the virtual memory addresses in
applications).
The HDK describes the situation. Intel drivers will break in 20H1 and
already break in Insider versions since a few weeks. Microsoft is pressing
now OEMs to fix their display drivers to DCH, but this also includes Intel
for its Core APUs before Generation 4/5.
Intel wants me now to disable Secure boot and Virtual Base Security (VBS)
completely. And in 20H1, not only VBS will be activated by default but also
the new version of Memory integrity (made for a new specification which is
only supported by the most recent processors and still not by any MS
Surface laptop).
Try running 20H1 if you don't have a DCH driver (i.e. your CPU is
Gen4/Gen5, alias Haswell or Broadwell, as is the case of a LOT of servers,
for which there will no logner be any supported display driver, except by
pluggining another display board, which is difficult in many servers or
would require replacing these servers, and resinstalling them, plus
maintenance costs in colocation areas; it's not always possible to plug an
extra GPU on servers whose PCI slots are generally full and used for
storage adapters, and also because adding another GPU causes cooling
problems). With 20H1, theer will be a new need to resintall a very basic
VGA driver at least. On professional notebooks, adding a GPU is simply
impossible without changing the notebook (and many organization are now
using lower ranges of hardware than most people at home, especially for
travelling workers)
Gen4/Gen5 Intel CPUs are still sold today in "Windows 10 certified"
solutions.
Who has a bug ? Intel for not creating DCH drivers whose early
specifications were finalized only 4 years ago, and will soon change again,
or Microsoft for adding a new hardware requirement for Windows 10 and
changing its OS silently to add new restrictions and enforcing them without
even checking if this is compatible, and without creating a compatibility
layer for continuing to use WDM display drivers that are already
WHQL-certified for Windows 10, and approved by Microsoft, including the
most recent drivers made by Intel in last March? and Intel continues
selling Gen4/5 CPUs: there are a lot of users of Haswell and Broadwell CPUs.
Le mer. 23 oct. 2019 à 06:25, VARADHARAJAN K<EMAIL_ADDRESS>a
écrit :

@verdy-p https://github.com/verdy-p. In my laptop, having integrated
Intel graphics 620 and Nvidia 940mx .
I have installed both graphics drivers are DCH based whql.
And I have enabled memory integrity and enabled secureboot and UEFI mode.
But I don't have problems , I can able conenct another monitor via VGA
port on laptop.
Both the displays are working fine.
Sir how do you know Intel graphics driver is not loading after boot.
please video or screenshots, and upload here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/windows-itpro-docs/issues/5216?email_source=notifications&email_token=AAKSUG2WC2IY57TAFOP6RDLQP7G2FA5CNFSM4JCHJKZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECAACRY#issuecomment-545259847,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKSUG6ZDQ5A7Y3KMMOOE6LQP7G2FANCNFSM4JCHJKZA
.

Hello @verdy-p and @RAJU2529, this has been a very interesting discussion. We always want to hear from the community. However, please be informed that this GitHub-based documentation feedback system is intended to help improve the quality of the technical documentation of Microsoft Docs. If you have feedback, suggestions related to this documentation (Memory integrity), or ideas to make it better for users, please let us know and we will submit it for review.
I understand that the issue or bug being discussed here is on the version of Memory integrity on Windows 10 Insider Preview Build 19013 (20H1). For this, kindly submit your feedback via Feedback Hub to tell Microsoft about any problems you run into while using the preview build. Thank you.

Hello again @verdy-p, we will now close this issue. We hope the information we've provided helped. If you have feedback or suggestions to help improve the quality of this documentation, please let us know or use the doc's feedback feature.
Thank you for your feedback and for being part of the Microsoft Docs community!

@officedocsbot close

@officedocsbot assign GITTER126

You still did not provide any solution for users that have internal Intel GPU that CANNOT be changed and that DO NOT have any DCH driver (introduced years after Windows 10 release). These GPU are still highly used today. They were used in PC sold with a Windows 10 certifdication label from Microsoft MHQL. Their supported kernel driver (WDM based) were working flawlessly in Windows 10 until May 2019 when Microsoft changed the requirement.
These Windows 10 certified PC can no longer be used at all on windows 10 since the silent change in Windows 10: they no longer have any working display.
You did not provide any solution for users that cannot change their existing WDM driver to a newer DCH driver. The only solution that these users can do is:

add a secondary GPU and disable the internal GPU (if they can: impossible in most servers, impossible on almost all notebooks, tablets, and most desktop mini-PCs as there's no PCI slot available)
buy a new PC

In both cases, the PC that was certified for Windows 10 are no longer usable at all in Windows 10, as there is no longer any working display driver. Since May 2019, those PC have been killed by Microsoft.
All what their users can do is to UNINSTALL Windows 10 completely, resintall the older version (if they can with their own preserved installable image...) but blocking all version updates after May 2019, or install Windows 7 (even if the PC was not certified at all for windows 7 but only for Windows 10), or abandon Windows  completely and switch to Linux (and change all their softwares...)
It is a fact that Microsoft killed Windows 10 usability on large ranges of PC that were designed and certified for Windows 10.
Microsoft did not provide any replacement DCH driver for those older GPUs. Killing all WDM drivers completely even if they were designed and WHQL-certified for Windows 10 was a really bad decision. Microsoft should have worked with Intel to build a DCH driver for the Gen4/5 Intel Core i3/I5/i7 (still widely used).
Many affected users had to make costly choices:

changing or adding the GPU (only possible with desktops, with available PCI slots but this is generally costly) and change BIOS settings to disable the internal GPU completely (some BIOSes do not allow doing that, the internal GPU must be used and enabled for the correct early boot phase).
if this did no work, changed the motherboard (only possible with dektops, but then Microsoft no longer consider they have a valid licence for Windows 10, which must be purchased again whilst the older mother board no longer has any use for Windows).
buy a new PC (and then reuse the older one on Linux)

Or simply:

not buy anything, but abandon Windows completely: use Linux ! (but then find alternate softwares, may be buy new licences for them, or for the medias that were bound by their sellers to the older PC hardware or the former windows 10 licence: in some cases this is impossible, users will have to rebuy their whole collections of musics or videos using windows-based hardware protection and that have limited or unallowed option to transfer them top another device)


Home view

@Edwardb11 Remember that the we are doing to the pull requests develop branch. If you make a pull request to the main branch Firebase's GitHub action will upload it to production.

@Edwardb11 Remember that the we are doing to the pull requests develop branch. If you make a pull request to the main branch Firebase's GitHub action will upload it to production.

Yes, the branch is not ready for review yet


[flutter_tools] On Windows, running a dart process with an aot snapshot vendored as part of the Dart SDK will cause flutter upgrade to crash

On Windows, running a dart process with an aot snapshot vendored as part of the Dart SDK will cause flutter upgrade to crash. Context for this issue was originally in https://github.com/flutter/flutter/issues/146164#issuecomment-2040805169, my summary of which I have copy pasted here:

The disk i/o implementations of dart.exe foo.appjit.snapshot and dartaotruntime.exe foo.aot.snapshot are different in that the latter will keep the snapshot file open for the duration of VM execution while the former will (presumably) close it after having read the data. I verified this with running a minimal dart program that runs indefinitely from both appjit and aot snapshots, and from another powershell session tried calling Rename-Item on the snapshot file--the rename succeeded on the appjit snapshot but failed on aot snapshot with Rename-Item : The process cannot access the file because it is being used by another process..
version 4.0.0 of frontend_server_client is changing the package:test runner to use an aot snapshot of the frontend_server rather than an appjit snapshot: https://github.com/dart-lang/webdev/pull/2263.
The tool's batch_entrypoint_test is validating the logic in Flutter's update_dart_sdk.ps1 powershell script. Of interest to this issue is that at line 74, before downloading a new version of the Dart SDK, we call Rename-Item on the existing (or old) Dart SDK to move it to a path with dart-sdk.old in the name. I believe we do this because just deleting the old one while the tool is running would fail.
The fact that this test is failing after this change to the frontend_server_client depended on by the test runner is incidental to the specific behavior the test is running, and thus Derek's proposed test changes would make sense there.
The fact that this test is failing inadvertently revealed what I believe would be a real customer regression, in that when calling flutter upgrade, if there is any running dart process that is using an aot snapshot from the Dart SDK within the Flutter SDK's cache, flutter upgrade would likely fail at the step where it tries to download the new version of the Dart SDK. Re-running the flutter CLI tool would likely repeatedly fail as long as said Dart process is running.

At HEAD, the contents of //flutter/bin/cache/dart-sdk/bin/snapshots is:
analysis_server.dart.snapshot
dart2js.dart.snapshot
dart2wasm_product.snapshot
dartdevc.dart.snapshot
dartdev.dart.snapshot
dart_tooling_daemon.dart.snapshot
dds.dart.snapshot
frontend_server_aot.dart.snapshot
frontend_server.dart.snapshot
gen_kernel_aot.dart.snapshot
kernel-service.dart.snapshot
kernel_worker.dart.snapshot
It is my understanding that all of the appjit snapshots above will imminently be migrated to aot snapshots, thus increasing the likelihood that one of them is actively running when a user executes flutter upgrade.
FYI @a-siva @zanderso @derekxu16 @jacob314 @anderdobo

For context, I am fairly confident that this will not affect macOS and Linux users.
With the following main.dart program:
import 'dart:async';

void main(List<String> args) {
  if (args.length == 1) { // training
    return;
  }

  int x = 0;
  Timer.periodic(const Duration(seconds: 1), (_) => print(x++));
}

And this Makefile next to it:
.PHONY: test-aot
test-aot: aot.snapshot
        test -n "$(DART_SDK)" # please set env var DART_SDK to point to your Dart SDK
        $(DART_SDK)/bin/dartaotruntime aot.snapshot &
        sleep 1
        mv aot.snapshot aot.snapshot.backup

.PHONY: test-appjit
test-appjit: appjit.snapshot
        dart run appjit.snapshot &
        sleep 1 # without this we hit error "Could not find file `appjit.snapshot`"
        mv appjit.snapshot appjit.snapshot.backup

appjit.snapshot: main.dart
        dart compile jit-snapshot -o appjit.snapshot main.dart --train

aot.snapshot: main.dart
        dart compile aot-snapshot -o aot.snapshot main.dart

The test-aot target verifies that we can successfully call mv on an aot snapshot that is currently being run in a Dart process.
However, when I ran this same program on Windows, and then called Rename-Item aot.snapshot aot.snapshot.backup I received:

After meeting about this with the VM team, we came up with a proposed solution:

When downloading a Dart SDK, rather than always extracting it to //flutter/bin/cache/dart-sdk, instead namespace it by the engine revision (which today we already use as //flutter/bin/cache/engine-dart-sdk.stamp). We do NOT attempt to rename or delete the previous Dart SDK.
From the //flutter/bin/dart.{bat,sh} shell entrypoints, invoke the dart.exe binary via the namespaced path.
In the flutter tool, we check for stale Dart SDKs (that is, any Dart SDK directory with a namespace not matching the current engine version), and attempt to delete them. If the delete fails with a permissions error, recover silently.

https://dart-review.googlesource.com/c/sdk/+/361985 should fix aot snapshot file locking behavior on Windows.

@christopherfujino  can the 'dependency:dart' label be removed on this issue.


Occasional crashing after AppleSampler.stop()

I have a bunch of AppleSamplers, loaded with single wav file.
10% times, after I stop the samplers, the app crashes with this:
I;m on yesterday's v5-develop, ios14.2 beta, xcode 12.2 beta 2.
CoreAudio/DspBase.mm line 124 with AURemoteIO::IOThread (23): EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
if (pullInputBlock) {
        if (bCanProcessInPlace && inputBufferLists.size() == 1) {
            // pull input directly to output buffer
            inputBufferLists[0] = outputData;
            AudioUnitRenderActionFlags inputFlags = 0;
           - here --->>  pullInputBlock(&inputFlags, timestamp, frameCount, 0, inputBufferLists[0]);
        }

There's a single line from the app log: Not sure where this is even coming from.
MyApp[38441:914469]  Illegal decrement of empty layer bin count

Would definitely need an example app to test this.  I'll close until that can be provided.


ILR calculation from Gram-Schmidt - algorithm (Question)

I was going through the list of methods available in the skbio.stats.composition module. I am mainly interested in the ilr method and specifically in calculating a basis to be used in this method.
Using the Gram-Schmidt approach from here , the basis e can be calculated based on an input NumPy array. In the scikit-bio ilr (or ilr_inv) methods, I noticed scikit-bio only the dimension of the NumPy input array rather than the whole array itself in your calculation of the Gram-Schmidt basis.
It seems like this might be different that the traditional Gram-Schmidt approach (eg. see here - 1 or 2) for deriving a basis using the input data (2D NumPy array). Do you happen to have a literature reference for how scikit-bio calculates the basis for the ilr or ilr_inv methods from the stats.composition module? Is this a custom implementation of the Gram Schmidt process?

Link to the docs as well: http://scikit-bio.org/docs/0.5.0/generated/generated/skbio.stats.composition.ilr.html#skbio.stats.composition.ilr

Many thanks. Is there a reference for how the J. J. Egozcue orthonormal basis can be derived starting from the Gram-Scmidt orthogonalization? i.e. theory or an example?

Hi @edesz , the original paper detailing the ilr transform can be found here. Not going to be lie, it is a pretty dense read.
But here's a more intuitive way to understand the calculation.  All orthonormal bases in the simplex, can be represented by a tree, including the Gram-Schmidt orthogonalization.  In fact, it can be represented as the following tree
>>> from skbio import TreeNode
>>> t = u"(((x1,x2)y3,x3)y2, x4)y1;"
>>> tree = TreeNode.read([tree])
>>> print(tree.ascii_art())
                              /-x1
                    /y3------|
          /y2------|          \-x2
         |         |
-y1------|          \-x3
         |
          \-x4

The balancing elements can be calculated for the internal nodes of the tree using the following equation

So for this particular tree, if I wanted to calculate y3, it would be
k = 2   # there are 2 tips, c, d that are below the y3 subtree
r = 1   # there is 1 tip, b
s = 1   # there is 1 tips, a
t  = 0  # there are no tips above the y3 subtree
a = np.sqrt(s / (r*(r+s))
b = np.sqrt(r / (s*(r+s))

And the rest of the balancing elements, y1 and y2 can be calculated the same way.
See this paper for more information about this procedure.
To actually test this yourself, you can look at the _balance_basis functionality in gneiss.
>>> from gneiss.balance_basis import _balance_basis
>>> basis, nodes = _balance_basis(t)
>>> basis
array([[-0.28867513, -0.28867513, -0.28867513,  0.8660254 ],
       [-0.40824829, -0.40824829,  0.81649658,  0.        ],
       [-0.70710678,  0.70710678,  0.        ,  0.        ]]

If you compare this to the gram_schmidt orthogonalization procedure, it generates reflection of the above basis (its different by a negative sign).
>>> from skbio.stats.composition import _gram_schmidt_basis
>>> _gram_schmidt_basis(4)
array([[-0.70710678,  0.70710678, -0.        , -0.        ],
       [-0.40824829, -0.40824829,  0.81649658, -0.        ],
       [-0.28867513, -0.28867513, -0.28867513,  0.8660254 ]]

Hope this helps!

Ah, thanks! Those last 2 examples are great! This answers my questions about the orthogonalization process.


Update scalafmt-core to 2.5.1

Updates org.scalameta:scalafmt-core from 2.3.2 to 2.5.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, semver-minor

We're going to be hating life if we don't start this on series/0.21.


Need to add section on how to capture WebRTC logs for Browser

Accessing and capturing WebRTC logs
WebRTC logs help developers and support in case of issues with audio or video connections.
Edge (Chromium) web browser
The browser tracks and logs all WebRTC connections, so close all tabs and restart the browser.
Open a new tab and point it to the "edge://webrtc-internals/" URL.
Open the Teams Web application and reproduce the problem.
Go back to the "edge://webrtc-internals/" tab, there will be at least two tabs:
GetUserMedia Requests and https://teams.microsoft.com/url. You'll see logs along with stats graphs.
Choose the tab with the name of the Teams application and save the page content as Web Page, Complete.
Important: Stats graphs are not available in the saved file! We recommend either to analyze graphs while being on the edge://webrtc-internals/ tab, or make screenshots for further analysis.
Chrome web browser
Edge (Chromium) web browser
The browser tracks and logs all WebRTC connections, so close all tabs and restart the browser.
Open a new tab and point it to the "chrome://webrtc-internals/" URL.
Open the Teams Web application and reproduce the problem.
Go back to the "chrome://webrtc-internals/" tab, there will be at least two tabs:
GetUserMedia Requests and https://teams.microsoft.com/url. You'll see logs along with stats graphs.
Choose the tab with the name of the Teams application and save the page content as Web Page, Complete.
Important: Stats graphs are not available in the saved file! We recommend either to analyze graphs while being on the chrome://webrtc-internals/ tab, or make screenshots for further analysis.

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

ID: 97d5e6d3-b7e0-d79f-0dea-ed423186a157
Version Independent ID: ec6e68aa-552f-ab45-3c8e-92eff526b173
Content: Use log files in troubleshooting Microsoft Teams - Microsoft Teams
Content Source: Teams/log-files.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

@greganth1 Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hi @greganth1, thank you for your feedback.
Do you think we should add these instructions to the media logs sections?

That would be the logical choice as it appears to be the appropriate section.
From: Dario Woitasen @.>
Sent: Thursday, August 5, 2021 4:36 PM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness @.>
Cc: Gregory Anthony @.>; Mention @.>
Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] Need to add section on how to capture WebRTC logs for Browser (#7618)
Hi @greganth1https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgreganth1&data=04|01|Greg.Anthony%40microsoft.com|935dc3a54e304eaf267908d958509db8|72f988bf86f141af91ab2d7cd011db47|1|0|637637925541726761|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Q3XM43sehkpZXRlcWwziJKSqeUjSXRR3P3hkXJ4Z4hI%3D&reserved=0, thank you for your feedback.
Do you think we should add these instructions to the media logs sections?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fissues%2F7618%23issuecomment-893778438&data=04|01|Greg.Anthony%40microsoft.com|935dc3a54e304eaf267908d958509db8|72f988bf86f141af91ab2d7cd011db47|1|0|637637925541726761|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=ZZ87BKwDYPZVzMDZ9FgNZdkg%2BBc9R%2BCuEGwKDxYznHw%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAI7EDFXESH2L2N2OR25JPBTT3LY2PANCNFSM5BISCMUA&data=04|01|Greg.Anthony%40microsoft.com|935dc3a54e304eaf267908d958509db8|72f988bf86f141af91ab2d7cd011db47|1|0|637637925541736754|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=IVaEoQzWuxbVR4Wur9LsYLW3gFf1Hsomoyg6BNKS4h0%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|Greg.Anthony%40microsoft.com|935dc3a54e304eaf267908d958509db8|72f988bf86f141af91ab2d7cd011db47|1|0|637637925541736754|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=hhiNSObl%2FIfA0U3nJJH4AmSPcdPD7FOUi3cyf0j%2BnFw%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26utm_campaign%3Dnotification-email&data=04|01|Greg.Anthony%40microsoft.com|935dc3a54e304eaf267908d958509db8|72f988bf86f141af91ab2d7cd011db47|1|0|637637925541746751|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=4IEMZ5TnxC89gduFtDpr0kbFa%2FLEUWXTBlJp17nQTQs%3D&reserved=0.


wip: osmosis multi-hop getTradeQuote

Description

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #4901

PR #4903

PR #4905   👈

This comment was auto-generated by Graphite.


Link broken in RELEASE_PROCESS.md

Describe the bug
It points to https://pypi.org/project/ocean.py/
But should point to https://pypi.org/project/ocean-lib/

Fixed in https://github.com/oceanprotocol/ocean.py/commit/5355f496834ba51e6be44968b4bb629cafbc7a14
by @calina-c


no longer compiles with pre-UNICODE Delphi

Since adding {$DEFINE Unicode} in line 78 the code no longer compiles with pre-UNICODE Delphis, that is Delphi 2007 and older.
This breaks the parts that were using either AnsiString / AnsiChar or UnicodeString / WideChar depending on that cond. define in lines 131 to 147. The symbol Unicode was introduced in Delphi 2009 for exactly that purpose, so unconditionally defining it was not a good idea.
Unfortunately that change was already 2 years ago and I only tried to update to the latest version today.

Can you disable that {$DEFINE UNICODE} in RegExpr?

Yes, but if I do that, I get other compile errors, e.g. in line 5950: where ExecNext is called without parameters. That's another bug: The symbol DefParam is not defined for Delphi 2007.
I'll try to fix that too and see where I get.

Delphi 2007 is completely missing from regexpr_compilers.inc. I'll add that.

I have attached the changes that were necessary to compile with Delphi 2007. If you want I can also check with Delphi 6 and 7, but I don't have 2005 and 2006 available on this computer.
But somebody must have though that Unicode must be defined, so I am afraid undefining it will break something, even if it compiles now.
RegExpr.zip
.

Integrated your change for *compilers.inc. thanks!
Now I want to merge your changes for main code.

function IsPairedBreak(p: PRegExprChar): boolean; // cannot inline with local type declaration {$IFDEF InlineFuncs}inline;{$ENDIF}

can you help change it to something like
function IsPairedBreak(p: PRegExprChar): boolean; {$IFDEF D2009} {$IFDEF InlineFuncs}inline;{$ENDIF} {$ENDIF}
so that 'InlineFuncs' will work here only on D2009+. or D2007+. or D2005+. please adjust that version here.

About 'Unicode'. It is totally safe to disable it! it will give no problems! but regex engine will not work on Unicode strings (WideStrings). so it will handle ASCII/ANSI.

Unfortunately I currently have only Delphi 6, 7, 2007, 10.2 and 11 available. I can therefore only say that the inline compiles with Delphi 10.2 but doesn't with 2007.
But simply moving the type declaration for PtrPair outside the function fixes the problem:
type
  PtrPair = {$IFDEF Unicode} ^LongInt; {$ELSE} ^Word; {$ENDIF}
function IsPairedBreak(p: PRegExprChar): boolean; {$IFDEF InlineFuncs}inline;{$ENDIF}
const
  cBreak = {$IFDEF Unicode} $000D000A; {$ELSE} $0D0A; {$ENDIF}
begin
  Result := PtrPair(p)^ = cBreak;
end;

About 'Unicode'. It is totally safe to disable it! it will give no problems! but regex engine will not work on Unicode strings (WideStrings). so it will handle ASCII/ANSI.

Are you sure? Why was it added back then? For fpc support?

It was added for non-Unicode old Delphi. so one can UNdefine 'inlinefuncs'.

Tried to integrate new change. Pls test it in my fork. I will post the pull-request later.

https://github.com/Alexey-T/TRegExpr

Yes, this compiles, if I remove the define for Unicode again.
There are some compiler hints though:
The declaration for field fLineSepArray should be ifdef'ed like this:
{$IFDEF UseLineSep}
  {$IFNDEF UniCode}
fLineSepArray: array[byte] of boolean;
  {$ENDIF}
{$ENDIF}

In function TRegExpr.FindRepeated the variable i should be ifdef'ed like this:
var
// ...
ArrayIndex: integer;
{$IFDEF UnicodeEx}
i: integer;
{$ENDIF}
and iin procedure TRegExpr.FillFirstCharSet  the variable i should be ifdef'ed like this:
var
// ...
min_cnt: integer;
{$IFDEF UseLineSep}
i: integer;
{$ENDIF}

regarding {$DEFINE Unicode}:
My suggestion would be to rename that symbol to ForceUnicode and later use
{$IFDEF Unicode}
// the compiler defaults to Unicode
{$DEFINE SUPPORT_UNICODE}
{$ENDIF}
{$IFDEF ForceUnicode}
// the user wants to force Unicode support
{$DEFINE SUPPORT_UNICODE}
{$ENDIF}
And later in the code replace {$IFDEF Unicode} with {$IFDEF SUPPORT_UNICODE}
That should solve that issue for all kinds of compilers and the user can still enable it.

There is another problem with the include file: It declares D_105 for delphi 10.5, but that version does not exist. It's Delphi 11 now, so the symbol should probably be D_110 (or D_11). Since that symbol is not used anywhere,  renaming it would not have any consequences.

I corrected my fork regarding your msgs. Except this one

regarding {$DEFINE Unicode}: My suggestion would be to rename that symbol to ForceUnicode and later use

it 's not good idea. We won't be able to UNdefine unicode mode for new Delphi/FPC. it is needed when I want to speedup the engine and avoid unicode.

Hm, OK, maybe add some saveguard for Delphi 2007 and earlier:
{$IFNDEF D2009}
{$UNDEF Unicode}
{$ENDIF}
or
{$IFNDEF D2009}
{$IFDEF Unicode}
'Delphi < 2009 does not support Unicode, disable it above'
{$ENDIF}
{$ENDIF}
There are some more compile errors with Delphi 6. I'll try to fix them.

Delphi 6 problem: The types NativeInt and NativeUInt do not exist. In addition to that the type NativeInt is declared incorrectly as Int64 in Delphi 7 to Delphi 2007 (I found out the hard way).
My proposed fix for this:
{$IFNDEF FPC}
// Delphi doesn't have PtrInt but has NativeInt
// but unfortunately NativeInt is declared wrongly in several versions
{$IF SizeOf(Pointer)=4}
PtrInt=Integer;
PtrUInt=Cardinal;
{$ELSE}
PtrInt = Int64;
PtrUInt = UInt64;
{$IFEND}
{$ENDIF}

Hm, OK, maybe add some saveguard for Delphi 2007 and earlier:
{$IFNDEF D2009}
{$UNDEF Unicode}
{$ENDIF}

updated my fork! Pls see - renamed define Unicode to UnicodeRE so it's separate now with Delphi's define. it seems good to me.

{$IF SizeOf(Pointer)=4}

Will that compile on older Delphi? D7, D6?

{$IF SizeOf(Pointer)=4}

Will that compile on older Delphi? D7, D6?

{$IF SizeOf(Pointer)=4}

Will that compile on older Delphi? D7, D6?

It will work with Delphi and later. Note the {$IFEND} though. {$ENDIF} won't compile.
There is another problem with Delphi 6 and 7: They don't support UTF-8 with BOM. Removing the BOM fixes that problem.

{$IF SizeOf(Pointer)=4}

Merged. thanks. to my fork.

There is another problem with Delphi 6 and 7: They don't support UTF-8 with BOM. Removing the BOM fixes that problem.

How to observe this? can you suggest a fix?

Hm, OK, maybe add some saveguard for Delphi 2007 and earlier:
{$IFNDEF D2009}
{$UNDEF Unicode}
{$ENDIF}

updated my fork! Pls see - renamed define Unicode to UnicodeRE so it's separate now with Delphi's define. it seems good to me.

Yes and no: While there is no longer a conflict with the predefined Unicode symbol, UnicodeRE is defined by default. The user will have do figure out that the compile error much later in the file means that he has to undefine it. With my saveguard suggestion this will be done automatically (first variant) or he will at least get an explicit hint what to do (second variant). But I forgot fpc support, so that safeguard must be more complex.

There is another problem with Delphi 6 and 7: They don't support UTF-8 with BOM. Removing the BOM fixes that problem.

How to observe this? can you suggest a fix?

The compiler complains about an invalid identifier (meaning the BOM at the beginning of the file.
The fix is to remove it. I used Notepad++ for that: Encoding -> UTF-8 did the trick.

The compiler complains about an invalid identifier (meaning the BOM at the beginning of the file).

RegExpr don';t operate on FILES! it operate on strings! so you must skip BOM from the string which you pass!

I used Notepad++ for that

Better use CudaText, and give me feedback on it in my Github. :=) it is much better.

Yes and no: While there is no longer a conflict with the predefined Unicode symbol, UnicodeRE is defined by default. The user will have do figure out that the compile error much later in the file means that he has to undefine it. With my saveguard suggestion this will be done automatically (first variant) or he will at least get an explicit hint what to do (second variant). But I forgot fpc support, so that safeguard must be more complex.

now I dont understand. What compiler error. We don't give any compiler errors now. User can still undef UnicodeRE to return to ASCII mode of engine.

RegExpr don';t operate on FILES!

I was talkting about the unit source code itself. It is UTF-8 with a BOM. The Delphi 6 and 7 compilers don't like that and cannot compile it. Removing the BOM fixes that problem.

Aha, I get it now - removed the BOM now (using CudaText !)

It seems we solved all your issues, right? feel free to post more.

now I dont understand. What compiler error. We don't give any compiler errors now. User can still undef UnicodeRE to return to ASCII mode of engine.

If UnicodeRE is defined, which is the default, Delphi 6 gives the compile error:
"regexpr.pas(1324) Error: Incompatible types: 'Char' and 'WideChar'"
OK, I now understand what you ment: It should still compile even for pre-Unicode Delphis even If UnicodeRE is declared. Well, it doesn't. That's because the ARegExpr paramter of RegExprSubExpressions is a string, not a wide string. Declaring it as RegExprString solves that problem.

good catch. I fixed it as suggested.

There is only a warning left:
regexpr.pas(4119) Warning: Variable 'GrpIndex' might not have been initialized
No idea how to fix that or if it needs fixing at all.

It don;t need fixing (if you look the code flow, it's inited). added initing of it.

Now I get a compile error for Unicode Delphi (10.2), if UnicodeRE is not defined:
[dcc32 Error] regexpr.pas(1259): E2010 Incompatible types: 'Char' and 'AnsiChar'
Should that combination also compile? I'm Not sure it makes sense.

We have at line 152:  REChar = Char;
what if you replace 'Char' to 'AnsiChar'?

  PRegExprChar = PChar;
  RegExprString = AnsiString;
  REChar = Char;

PChar to PANsiChar too!

I did that, see above.

I fixed that obvious moment, now you have err at line 1000. I cannot fix it - I don't have new Delphi! I don't want to install it, sorry, can you see how we work near the line 1000 and fix it?

I think in order to fix this, one the unit AnsiStrings must be added to the uses list. Unfortuately that has quite a lot of side effects.

It makes no sense to disable UnicodeRE on Unicode Delphi, you are right.

Yes, adding the AnsiStrings unit solves the compile error, but produces a lot of warnings.
I suggest to add
{$IFDEF UNICODE}
{$DEFINE UNICODERE}
{$ENDIF}
instead.

adding the AnsiStrings unit

I don't know what Delphi versions support it, we need good IFDEFs for this unit

I suggest to add

Then FPC will fail, and D7 too

AnsiStrings was introduced with Delphi 2009 and got renamed to System.AnsiStrings at some later time. But since the Unit prefix System is always in the list of Unit Scope Names, simply using AnsiStrings would be enough. But as I said above: Adding it would make it compile but leave very many warnings.

Then let us not use AnsiStrings.

Makes little sense, coz we define UnicodeRE by default

Alternatively you could add
{$IFDEF UNICODE}
{$IFNDEF UNICODERE}
{$MESSAGE ERROR 'you cannot undefine UNICODERE for Unicode Delphi versions'}
{$ENDIF}
{$ENDIF}

Okay, added this code

I would have moved that below the last DEFINE that users may set:
{$DEFINE UnicodeRE} // Use WideChar for characters and UnicodeString/WideString for strings
{ off $DEFINE UnicodeEx} // Support Unicode >0xFFFF, e.g. emoji, e.g. "." must find 2 WideChars of 1 emoji
{ off $DEFINE UseWordChars} // Use WordChars property, otherwise fixed list 'a'..'z','A'..'Z','0'..'9','_'
{ off $DEFINE UseSpaceChars} // Use SpaceChars property, otherwise fixed list
{ off $DEFINE UseLineSep} // Use LineSeparators property, otherwise fixed line-break chars
{$IFDEF UNICODE}
{$IFNDEF UnicodeRE}
{$MESSAGE ERROR 'You cannot undefine UnicodeRE for Unicode Delphi versions'}
{$ENDIF}
{$ENDIF}
because otherwise it is more difficult to figure out that there are more user definable symbols.
It's getting late again and I think we have now covered all issues. I will close this ticket now. Thanks again.
btw: I have now added regexpr to GExperts in order to replace an outdated version of that unit that comes with SynEdit. This fixes a problem with case sensitivity described in GExperts Grep as described here: https://en.delphipraxis.net/topic/6608-gexperts-grep-is-always-case-sensitive-when-regular-expressions-are-enabled/


Backport/20.03 jetbrains

Motivation for this change
Backport of #97359
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

It looks like jetbrains mps isn't yet in stable thats why my cherry pick added it :thinking:

@Ma27 Okay so I just noticed I had built this on 20.03 and not 20.09, let me fix that

Replaced by #97477


Flathub Badges for other languages

Now, There is only English Flathub Badge.
For example, Appstore and Playstore have bages for many languages

Adding a selector is not the problem, finding someone to translate and create all those graphics, probably is. Not a graphics guy :/
Other thing is, I don't know where the original files for the badges are kept.


Hide page in sidebar is not working.

When hiding any pages the text only got hidden but the space for that page still remains the same.
Example is shown in below image.

Completed


Add setitem to mobject

Motivation

We normally treat VGroup and mobjects as lists of submobjects. We should give them the same property like a list to get and modify a specific index of element.
Proposed changes

In mobject.mobject.py, added setitem method under getitem

Test

Code:
    def str_list_to_tex_list(self, f: list[str]) -> VGroup:
        return  VGroup(
            *[Tex(s, **self.tex_kwargs)
            for s in f]
        )

    def construct(self):
        formulas = [
            r"f(x)+g(x)=(m_{1}+m_{2})x+(b_{1}+b_{2})",
            r"[f(x)+g(x)]=m_{1}+m_{2}", #
            r"[f(x)+g(x)]=f'(x)+g'(x)", #
            r"f(x)\cdot g(x)=(m_{1}x+b_{1})(m_{2}x+b_{2})",
            r"=m_{1}m_{2}x^{2}+(m_{1}b_{2}+m_{2}b_{1})x+b_{1}b_{2}",
            r"[f(x)\cdot g(x)]=2m_{1}m_{2}+m_{1}b_{2}+m_{2}b_{1}", #
            r"[f(x)\cdot g(x)]=m_{1}(m_{2}+b_{2})+m_{2}(m_{1}+b_{1})", #
            r"[f(x)\cdot g(x)]=f'(x)g(x)+g'(x)f(x)" #
        ]
        formulas = self.str_list_to_tex_list(formulas).arrange(DOWN)
        di = [2, 3, 6, 7, 8]
        for i in di:
            i = i - 1
            cp = derivative_sign.copy().next_to(formulas[i], LEFT)
            self.add(cp)
            formulas[i] = VGroup(cp, formulas[i])

Result:

You'd want to use the method Mobject.replace_submobject instead of self.split().setitem.
In general, you don't want to directly edit the submoject list, since restructuring a mobject often requires other things like bounding boxes and updater lists to be updated.


Date formatting

Date is stored as 2021-06-11 12:54:21.297 which I can't change.
I want to display date and time in this format:
06/11/2021 12:54 pm
The date comes from database server located in US CST timezone.
Any help would be appreciated.

also looking for this, any ideas?


Use country-by-country matrices from CPA to COICOP categories instead of global

This article gives country-by-country matrices: https://www.sciencedirect.com/science/article/pii/S2352340920302894?via%3Dihub
We may be able to use this instead of our European-wide one for the relevant COICOP categories.
N.B. Exiobase categories would need to be translated to CPA to use this. There is a concordance table available here, but there may be better available: http://carbonconsumptionsurvey.eu/wp-content/uploads/2018/09/Tables_de_correspondances.zip

Hey @martincollignon, just as a sidenote/reference: a similar contribution/discussion was ongoing beginning this year on the correspondence tables you refer to: https://github.com/BONSAMURAIS/correspondence_tables/issues/28, in the context of the work of BONSAI to inventory all existing correspondence tables (https://github.com/BONSAMURAIS/correspondence_tables/tree/master/correspondence_tables/data/raw). Maybe @mfastudillo knows more interesting files/links ?

Hi @floriandierickx ! Good to see you here. Right now we're looking at the work of @ghardadi and want to expand that to all countries covered by Eurostat.
Paper: https://onlinelibrary.wiley.com/doi/pdf/10.1111/jiec.13045
Data and code: https://github.com/ghardadi/correspondencematrix
What do you think about that?

Hey @martincollignon, that sounds like a perfect way. Did you get in touch with @ghardadi already? He is the man you need for all things related to household expenditure and carbon footprint! When I have some more time I would be interested to follow-up on this issue and look a bit more in detail, but certainly Gilang knows the hidden 'catches in the deal' of it all.

We've been in touch. I think the next step would be to map all the data that is needed (happy to do that work) and then re-use  @ghardadi 's work to scale from Germany to EUROSTAT covered countries.


Update defender-endpoint-antivirus-exclusions.md

Made changes to submit files for analysis link
Fixes https://github.com/MicrosoftDocs/microsoft-365-docs/issues/12205

@JohanFreelancer9 Please copy review


OpenFM <IP_ADDRESS> keeps playing music

Hi, the OpenFM radio has issue sometimes music keep getting enabled when stopped or radio destroyed. the client keep the current radio music even when disconnecting and going to solo or other servers.
only restarting minecraft fix it.
with 2 players interacting with it at the same time and P1 launch a radio and P2 radio launch another, both will hear the Radio of P1 but P2 can still stop his radio.
forge version <IP_ADDRESS>68

my friend got this issue too , anyone know a fix ?


Warning as error in CLI mode

Having the ability to mark warnings as errors when running publint through the CLI might be pretty useful. Some lint rules such as types not being properly defined via exports come as warnings and being able to promote them to errors (not just them, but just say we forbid errors and warnings) would be great.
I was thinking about some flags such as --warning-as-error or --max-warnings num (see https://eslint.org/docs/latest/use/command-line-interface#max-warnings).

Make sense to me 👍 Maybe a --strict option would be nice too. I should probably re-evaluate what gets to be a warning and error in the next major, they're a bit inconsistent now.

The --strict flag is supported in v0.1.12


Enhancement: Improve the README description.

The project's README is undeniably boring and too vague.
Let's make it comprehensive and give it lots of example use cases to give our users a starting point #77

Will add examples and more badges tonight.

Yes. I too recommend you add examples of the library in use. Common use case code snippets will demonstrate the purpose of the library.

Yes. I too recommend you add examples of the library in use. Common use case code snippets will demonstrate the purpose of the library.

@Cubic-ctrl Working on it right now.
Will share the new draft later this evening!

README has been updated with a more detailed approach of explaining what the project is all about.


Change SwapBody to use a BalanceCommitment proto message

Is your feature request related to a problem? Please describe.
The SwapBody has a bytes fee_commitment: https://buf.build/penumbra-zone/penumbra/docs/3f1a941c1acd4abdbe10a580f8b0f3c7:penumbra.core.dex.v1alpha1#penumbra.core.dex.v1alpha1.SwapBody
This is a legacy holdover and represents the byte-encoding of a BalanceCommitment. But we have a proto type for that, so we should use the BalanceCommitment type instead of raw bytes.

This seems to have been resolved.


update Hello Celo (sending CELO) docs code example

Description
Update the example code to reflect changes associated with the upgrade to ContractKit v1.0.0.

I added instructions for sending cUSD to the "Sending CELO" page per community requests.
cc @marekolszewski

I added instructions for sending cUSD to the "Sending CELO" page per community requests.
cc @marekolszewski


[HOTFIX] Prevent duplicate archiver emails

Purpose
It appears an issue with inconsistent StoredObject instances for the same record was causing multiple emails to be sent for registrations callbacks.
Changes
Force the celery task chain created in website/archiver/listeners.py#after_register to run sequentially (by making the website/archiver/tasks.py#archiver task wait until its chord call completes before returning).

After investigating with @samchrisinger, this doesn't appear to be the correct approach.


Don't treat falsy values as removed properties

Should fix #147, basically all the falsy values got tagged as changed but also as removed in the second check, resuling in values like null 0 false etc. to be removed while they should be valid values.
I could understand if you would like some changes or whatnot since this change could be breaking for people who rely on this behavior.
Cheers!

@DJWassink Excellent PR. Thanks for including a test! We'll make sure it gets into the next release!

Thank you @DJWassink! 🙏


Restructure readme file and add examples for campaigns

Hi Amro. Thanks very much for creating gibbon and keeping it up to date with Mailchimp's v3 API. I thought it might be useful to add a few more campaign examples to the readme file, and I hope this will prevent some issues being raised on your github repo :)

Thanks, @froesecom


Add PEP 660 support

[x] tests
[x] changelog

This should be ready for review/comments.
It is mostly a straightforward copy of the wheel hooks, with a small difference in the prepare_metadata_for_build_editable fallback in case the build_editable hook is missing.
Do not merge just yet as I'll do more integration testing with pip.

I did further testing with pip. This should be good for merging.

Thanks @sbidoul !


DeriveChild Permits Context Handle to Coexist With the Default Context

NCC report page 35

Further fixed by https://github.com/chipsalliance/caliptra-dpe/pull/235


major: update dependencies

major typescript updates

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Bring back changes to secret.sh from IE

Via 465b1c40 in Industrial Edge we updated common/scripts/secret.sh in
the IE repo only.
Let's bring those changes back into common and while we're at it, let's
make the indenting more consistent.

lgtm


Close ticket function block

Add Function block for Closing Tickets in TMS
Issue:
Create a new endpoint open_tms_close_ticket in the backend under the directory backend/open_tms_close_ticket to handle ticket closing in the Ticket Management System (TMS).
Tables:

tickets
ticket_revisions
ticket_activity

Input Signature:

Request Method: POST
Body:{
  "ticket_id": "<ticket id>"
}

Is Authenticated: Yes

Response Signature:

Success:
{
  "meta": {
    "status": 200,
    "message": "Ticket closed successfully"
  }
}

Error in Authentication:
{
  "meta": {
    "status": 401,
    "message": "Unauthorized access"
  },
  "errors": [
    {
      "code": "AUTH_FAILED",
      "message": "Authentication failed for the request."
    }
  ]
}

Error with invalid next stage or assignee data:
{
  "meta": {
    "status": 400,
    "message": "Bad Request"
  },
  "errors": [
    {
      "code": "BAD_REQUESt",
      "message": "Next stage or assignee is invalid."
    }
  ]
}

Any Other Internal Error:
{
  "meta": {
    "status": 500,
    "message": "Something went wrong."
  },
  "errors": [
    {
      "code": "INTERNAL_ERROR",
      "message": "Something went wrong."
    }
  ]
}

Expected Workflow:

Authenticate the request and build the user context in the middleware.
Fetch the latest ticket_revision from the ticket_id
Validate the to stage and assignee with the available process path from current stage
If validated successfully update the ticket table with closed status
Create a new entry in the ticket_activity table with current_stage as "ticket_closed" id from stage table
If validation fails, send proper error message
Capture errors and send appropriate error messages based on the response structure to the frontend.
If the workflow completes successfully, send a success message as per response signature to the frontend.

@uttahb Please look into my PR.

@SrijanSahaySrivastava Sure, will update you

Hey @uttahb, I would like to work on this too.

Hey @ittyjose sure, please go ahead.


'download video' as bot method

Great! Thanks for the pull request!
Can you please fix the Travis-CI code style issues and I'll merge your code.

Codecov Report

Merging #871 into master will decrease coverage by 0.23%.
The diff coverage is 20%.

@@            Coverage Diff             @@
##           master     #871      +/-   ##
==========================================
- Coverage   48.89%   48.66%   -0.24%
==========================================
  Files          26       26
  Lines        2634     2653      +19
==========================================
+ Hits         1288     1291       +3
- Misses       1346     1362      +16

Impacted Files
Coverage Δ

instabot/bot/bot_video.py
12% <11.76%> (-0.5%)
:arrow_down:

instabot/bot/bot.py
76.81% <66.66%> (-0.16%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b86a72b...c23a36a. Read the comment docs.

@ohld fixed import. but now am confused what to do with codecov

also, add download carousels videos. previously bot just crashes

Thanks for your work!


issue with redirect() in controller action - page not found

I am trying to use  " return $this->redirect('/Dashboard/index'); "  but it is not working. I am getting a Page not found error ( #404).
here is the code :
File : Dashboardcontroller.php
render('index');
    }

}

File : Sitecontroller.php

/**
     * Logs in a user.
     *
     * @return mixed
     */
    public function actionLogin()
    {
        if (!\Yii::$app->user->isGuest) {
            return $this->goHome();

        }

        $model = new LoginForm();
        if ($model->load(Yii::$app->request->post()) && $model->login()) {
            //return $this->goBack();
			return $this->redirect('/Dashboard/index');

        } else {
            return $this->render('login', [
                'model' => $model,
            ]);
        }
    }

return $this->redirect('/dashboard/index');

http://www.yiiframework.com/doc-2.0/yii-helpers-baseurl.html#to()-detail
maybe: $this->redirect(['dashboard/index']);
ps: use markdown

Thanks for the help. It worked for me. I think controller name is case sensitive ( Dashboard -> dashboard).


{'index_status': 'Indexing Error', 'error_message': "local variable 'splits' referenced before assignment"}

When I choose the model and complete downloads. I click the index button, but return the error {'index_status': 'Indexing Error', 'error_message': "local variable 'splits' referenced before assignment"}

Hi, if you just want to chat with a model without a document, dont hit Indexing


Add setting to hide .git directory

I believe we should instead add an option to hide any file/directory starting with a dot.
Otherwise, show it with a higher opacity if the setting is disabled.
What do you think?

The idea would be more to hide all files/directories in a .gitignore also

We'll then have two options: one to hide .gitignore files and another for any file starting with a dot.
I'll keep you updated as soon as it's implemented! :)

There are also ci files and environment files with a pre-dot. Files in .gitignore would be great. I think these files are used less then other and cleans the files-structure.

When I started working on the issue, I realized that this could be part of the git integration inside Reacto. This is the next task I'm working on at the moment. :)
It will soon be added, along with the git integration.

I integrated details display for a current working project using git. A screenshot can be seen on #73.
For now, files being ignored are still being shown but a little gray left border will be shown.
Should it be an option to simply not show them inside the file tree? Thanks for letting me know. :)

Added with #77!


Background

Hello
Thanks for this great tool
Is there a way to make the background look like this
https://github.com/rrirower/DP2SceneGraphWizard/assets/141512200/370e275b-7a1f-408e-9443-a2911c4d573c

Possibly.  I would need to look into it further. I'll mark this as an enhancement.


No errors thrown when rate limit is reached

Hello,
When the rate limit is reached the program does not stop but we just get no more events from Tiktok.
Is there a way to know when we reach that limit so we can manage to do things ?

Fixed in https://github.com/isaackogan/TikTokLive/commit/0bb73485e18dc6207a3e249d37d613cba31def65


[Question] When will the latest version be available as a NuGet package?

Hi,
As mentioned in the title, I'm wondering when the latest version that was just pushed will be available as a NuGet package (https://www.nuget.org/packages/My.Extensions.Localization.Json). It doesn't seem to have been updated for a while.

You 're right, I tried yesterday to push them into GitHub Packages first, seems I will push them directly on NuGet
Thanks

I will review the code today to check if there's a breaking changes from the 1st version

Please check this https://www.nuget.org/packages/My.Extensions.Localization.Json/2.0.0

@hishamco Thanks a lot for a quick response and push!
Works very well.

Thanks for pushing me at this time ;)

@hishamco Another question, any plans to support fallback-functionality? E.g. say I have a TestController and the files testcontroller.es-ES.json, testcontroller.es.json and testcontroller.json. The fallback-functionality would first check the testcontroller.es-ES.json for the key, then the testcontroller.es.json and then testcontroller.json.

Could you please move it into a new issue?

Of course!


Fix broken link, fix & add redirects

Fixes #10121
This PR fixes a broken link and updates /static/_redirects/ to prevent other possible related breakages.

Test in staging
Click the link for kubelet certificate rotation:

[ ] Current: https://kubernetes.io/docs/tasks/tls/certificate-rotation/#overview

[ ] Preview: https://deploy-preview-10122--kubernetes-io-master-staging.netlify.com/docs/tasks/tls/certificate-rotation/#overview

/assign @chenopis

/approve
/lgtm


[Serving Catalog] Add llama3-70b support for vllm

Adds llama3-70b for vllm on 8x L4 GPUs.

Please add it to https://github.com/kubernetes-sigs/wg-serving/blob/main/serving-catalog/catalog.md

Is this supposed to get marked approved automatically when I push now? ^^^ @ahg-g

someone still needed to lgtm
/lgtm


bug: Images broken in TechDocs

Seems images embedded in the documentation don't display through TechDocs for the demo instance.
https://demo.backstage.io/docs/default/Component/backstage/overview/logos/

This may be an issue more of how the microsite statically hardcodes to a path, than the demo site itself; I'm not sure.

Yeah the static hardcoded paths make it impossible to render them on TechDocs (and GitHub preview itself). Making them relative like the other image tabs will fix them.
https://github.com/backstage/backstage/blob/master/docs/overview/logos.md


fix: merging arrays should be duplicate free

Resolves: https://github.com/unjs/defu/issues/136

Thanks for PR but it is not a bug (https://github.com/unjs/defu/issues/136) -- a custom merger can be used for dedup per key


Fix permission errors in Pin installation

Update instructions to install in home directory instead of /opt.

LGTM. Thanks!


[FEATURE] Markdown compatability for the Description Field

Implement basic markdown functionality for the "description" field

will be done via https://github.com/KSP-RO/RP1AnalyticsWebApp/pull/10

this seems to only be half-working. In particular, bullet and numbered lists don't actually get rendered as such

It's never been in?

nevermind, seems siimav merged it, despite only negative feedback on that feature because images / etc weren't wanted in the description.


FT2024-2 WIS2 Guide

Dear colleagues, here is the our feedback:.
In section <IP_ADDRESS> Technical considerations
REPLACE
When receiving a message from a WIS centre or Global Service broker, the metric wmo_wis2_gb_messages_received_total will be increased by 1
WITH
When receiving a message from a WIS centre local broker or a Global Service broker, the metric wmo_wis2_gb_messages_received_total will be increased by 1
In section 2.7.4 Global Cache
REPLACE
The metric wmo_wis2_gc_last_metadata will reflect the datetime (in RFC3339 format) of the last metadata resource processed by a given centre.
WITH
The metric wmo_wis2_gc_last_metadata_timestamp_seconds will reflect the datetime (as UNIX timestamp i.e. the number of seconds since the epoch) of the last metadata resource processed by a given centre.
Best regards
Thorsten


[DRAFT] Fix helm templating issues

Purpose

Part of #1989

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (1760b99) 26.43% compared to head (7e5e80f) 80.18%.
Report is 8 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2006       +/-   ##
===========================================
+ Coverage   26.43%   80.18%   +53.74%
===========================================
  Files         124        9      -115
  Lines       14492      550    -13942
  Branches     2575      246     -2329
===========================================
- Hits         3831      441     -3390
+ Misses      10538      109    -10429
+ Partials      123        0      -123

Flag
Coverage Δ

idp-domain-service
80.18% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Working on a library making shamir's secret sharing easier to use

I am contacting you here, as I did not find any twitter/email contact of yours:
I am currently working on bringing Shamir's secret sharing as easy to use web app into the browser as I found there is no GUI for it (as far as Wikipedia knows).
As I am not a cryptographer myself I would love your feedback on the project and if there are errors I made that render the crypto/secret sharing wrong.
s4 (Simple Shamir's Secret Sharing) is implemented with golang and than used in a vue.js frontend via webassembly. The project can be found on https://github.com/simonfrey/s4 and the ready to use frontend is deployed on my page: simon-frey.com/s4/
In manner of "never do roll your own crypto" the crypto is based on two libraries:

Yours for the Shamir's Secret Sharing algorithm
Cryptopasta for the AES usage of golang AES

Navigation in the repo:

The shamir's secret sharing is done in the top level file s4.go
The webassembly combining shamir's secret sharing and AES can be found in frontend/wasm/wasm.go
All the (IMO for the crypto not important) javascript FU can found in frontend/js

Thank you for your help and expertise. I hope we can build a usable GUI for Shamir's secret sharing together in order to bring this amazing math to more people :D

Similiar message I posted to reddit /r/crypto

Hey there!
This is a very nice project. Thanks for sharing!
Sadly I'm not a security expert, just a humble programmer :-)
Cheers!

Hi guys,
are these solutions done over finite GF fields? The wiki says that integer approach is not too much secure.
Check the problem and solution section:
https://en.wikipedia.org/wiki/Shamir's_Secret_Sharing

This library uses math.Big not integer.
Not sure what it means regarding "finite fields". Does that answer the question?

This is the implementation over GF(256) https://github.com/codahale/shamir

Again, I think that the math.Big is acceptable fot that matter, as it can be an arbitrary large number. But I assume that you should have an extra expert set of eyes 👀.

It does not matter how "big" these numbers are imho ... read the wiki article about that here
https://en.wikipedia.org/wiki/Shamir's_Secret_Sharing
Read the section "Problem" which starts with this sentence:
Although the simplified version of the method demonstrated above, which uses integer arithmetic rather than finite field arithmetic, works fine, there is a security problem: Eve gains a lot of information about {\displaystyle S}S with every {\displaystyle D_{i}}D_{i} that she finds.

FYI: I actually changed to the hashicorps shamir algorithm a while back, just as they are a big corp and their implementation is used widely in the industry with vault: https://github.com/hashicorp/vault/blob/main/shamir/shamir.go
They use GF(256)

Interesting.
From what I see from the code, each share is a uint8, no?
But fair enough. If it is widely used it seems more reasonable to be used by your app.
Thanks for letting me know, and thanks for this conversation! Sorry I could not provide you with a good answer.

It seems this conversation was ended


Add .gitignore entries and consolidate into one file

Adds entries and consolidates all rules into one .gitignore in the top level directory.

Thanks.


send nick change from irc to discord

anoy discord user with the nick changes of the irc users

The only thing I would be wary about is if the library sends the list of channels containing every channel, like it does for quit, in which case this (I think) will send to all channels, even ones the user isn't in.
I haven't actually tried it out in practice yet so this might be a nonissue.

Coverage increased (+0.1%) to 98.45% when pulling fd88a992b1a7d5f42246a20ae5e8b9c2527f6a7c on Junky2k:master into fe37ec48a4129ea215c74fac7e2dfe0b7a0353c3 on reactiflux:master.

This should work fine, I think.

Thanks!


Java 8

Hi!
That PR include split changes from #64
Cheers,
Gonchik Tsymzhitov

If it is ok, I am going to split other ones


使用useRoutes 渲染出来的react-canvas-nest 就渲染不出来？

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Please use English to communicate, so that people who have the same problem in the future can quickly solve the problem.
Please provide the code which has the problems, Fill in the information required according to the prompts.


[Improvement][Master]Change Master default zookeeper timeout setting

…eout time use the curator default setting

solve to Local running Master project connection remote zookeeper always reported connection timeout。
This problem, for the new people just started, build the project, may take a lot of time to understand, debugging, and then the normal operation
Purpose of the pull request

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Please update the master/ worker config and update the doc in this one PR.

Please update the master/ worker config and update the doc in this one PR.

OK,It has been adjusted and submitted, please review, thank you

@ruanwenjun  Review and merge code


CHT832X

thanks for the Aruduino libs. are you thinking of adding CHT832X support perhaps? I can test.. re: https://www.elektroda.com/rtvforum/topic4095818.html

Thanks for the request,
Not planned such extension, need to check the datasheet to see if and how complex.
I have several open issues on other libs (due to being ill) so it will take a while before I can dive into it.

Hey that's cool. No pressure. Just a thought.
Here's to a speedy recovery!

Probably already got but anyway: https://github.com/divadiow/Sensylink

Had a quick look at the datasheet CHT832x, and its commands are not compatible with the CHT831x series.
That means it needs to be written from scratch,  the class API can be kept similar of course.


Fix: Increase timeouts for anchor client in SEP-24 e2e test

PR Checklist
PR Structure

[x] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[x] This PR's title starts with name of package that is most changed in the PR, ex.
paymentservice.stellar, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[x] This PR adds tests for the most critical parts of the new functionality or fixes.

What
The default timeout configuration seems to set the socket timeout to a value too low (or null?) for the tests to run on my machine.
This is what I see when I run the tests. I'm not sure why this is passing in the CI build, maybe it's specific to platform.
    io.ktor.client.network.sockets.SocketTimeoutException: Socket timeout has expired [url=http://localhost:8080/sep24/transactions/deposit/interactive, socket_timeout=unknown] ms

	at io.ktor.client.plugins.HttpTimeoutKt.SocketTimeoutException(HttpTimeout.kt:239)
	at io.ktor.client.engine.okhttp.OkUtilsKt.mapOkHttpException(OkUtils.kt:80)
	at io.ktor.client.engine.okhttp.OkUtilsKt.access$mapOkHttpException(OkUtils.kt:1)
	at io.ktor.client.engine.okhttp.OkHttpCallback.onFailure(OkUtils.kt:39)
	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:525)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

Why
Without this change, it is not possible to run the SEP-24 e2e test locally.
Known limitations
N/A

Reference Server Preview is available here:https://anchor-ref-pr940.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr940.previews.kube001.services.stellar-ops.com/

Something went wrong with PR preview build please check


Getting back from wince one came

Is your feature request related to a problem? Please describe.
I can't go back.
Given the domain shift from Senzing.com via pathways from the product page and from developers, a user can't go back to their origin context with the back button.
Describe the solution you'd like
Please add top-level navigation "Products" to our page that links to "https://senzing.com/our-technology/"
Describe alternatives you've considered
We thought of offering a back button but because there is more than one user pathway that lands on this page from subpages within Senzing.com, we have set the "deploy now" button to spawn a tab and are now putting Products back in the top-level nav.
Additional context
As far as I understand, the only way to solve the 'back context break' is to migrate the evaluation page to the main sight framework and off gitpages.  Product isn't prioritizing that page migration for awhile. :)

sort of.. there are what are referred to as "masked redirects", it kind of depends on how @antaenc set up the redirect though, or whether or not that's an option. not sure if it's a DNS or a CMS thing.

sort of.. there are what are referred to as "masked redirects", it kind of depends on how @antaenc set up the redirect though, or whether or not that's an option. not sure if it's a DNS or a CMS thing.


Add UI screenshot gallery

I've previously missed this repo entirely because it had no UI examples. I hope that after adding screenshot gallery & few examples to Readme people will be more aware of UI functionality

Awesome, thank you @dolfinus


feat: code builder performance

Is your feature request related to a problem?
Performance seems to be a little worse on code builder
Do a cpu profile on code builder for a ~20mb log + see if we can make some changes.

Performance loading the file is not as fast. On analysis this was down to enabled chrome extension.
performance can be improved by increasing the priority of fetched resources (bundle.js + log file)
Closing for now but I will apply some of these in #213
Code builder needs to be GA (end of October 2023) to test the changes properly.


Add a permission system for motherships

Also add an option to allow anyone to use the mothership navigation console, and an error message if current player is not allowed to use it.

perhaps a little knockback from the console, when unauthorized plater tries to access it?


Add ability to provide custom emitter

This feature is something I found useful when integrating with redux-batched-actions. Redux-batched-actions allows to publish and reduce all actions in a batch (which is a separate action), rather than going one by one - useful when you send hundreds or thousands of them. At the same time when used with redux-saga it introduces a bit of a leaky abstraction - as TAKE is concerned what gets published is a completely new action. Actual actions are inside of it's payload, and that's what redux-saga needs to be informed with.
I implemented it in my forked repo (https://github.com/pbadenski/redux-saga/commit/80ffb8450b164bb50eabb84b37846a78b2470e79), so if this issue sounds reasonable I can submit a pull request immediately.
See example below:
const emitter_ = emitter();
  const sagaMiddleware = createSagaMiddleware({emitter: {
    subscribe: emitter_.subscribe,
    emit: (action: any) => {
      if (action.type === "BATCHING_REDUCER.BATCH") {
        action.payload.map(emitter_.emit);
      } else {
        emitter_.emit(action);
      }
    }
  }});

It sounds reasonable, please create a PR and we'll continue from there.

Gonna close already in favor of PR discussions.