Powershell commands to make this work are missing

Enable the flow log can be done with commands like Set-AzureRmNetworkWatcherConfigFlowLog however there seem to be no parameter for the traffic analysis part aka OMS settings etc.
Do i miss something here or will this be added later? Here is a code sample I use for NSG Flow settings.
$resourceLocation = 'westeurope'
$FlowLogStorageAccountNamePrefix = "flowlogsstorage"
Login-AzureRmAccount
$Subscription = Get-AzureRmSubscription | where {$.Name -like ""}
$Subscription| Select-AzureRmSubscription
$NW = Get-AzurermNetworkWatcher | where {$.Location -eq $resourceLocation} #-ResourceGroupName NetworkWatcherRg -Name NetworkWatcher_westcentralus
if ((Get-AzureRmResourceGroup -Name NetworkWatcherRG).count -gt 0) #Check to see network watcher is enabled (this by default creates this RG
{
$StorageAccountName = ($FlowLogStorageAccountNamePrefix + $Subscription.id.Replace("-","")).Substring(1,24)
if ((Get-AzureRmStorageAccount -ResourceGroupName NetworkWatcherRG).count -eq 0)
{
$storageAccount = New-AzureRmStorageAccount -Location $resourceLocation -Name $StorageAccountName -ResourceGroupName NetworkWatcherRG -SkuName Standard_LRS -Kind StorageV2
}
else
{
$storageAccount = Get-AzureRmStorageAccount -ResourceGroupName NetworkWatcherRG -Name $StorageAccountName
}
foreach ($nsg in Get-AzureRmNetworkSecurityGroup)
{
    if ((Get-AzureRmNetworkWatcherFlowLogStatus -NetworkWatcher $NW -TargetResourceId $nsg.Id).Enabled -eq $false)
    {
        Set-AzureRmNetworkWatcherConfigFlowLog -NetworkWatcher $NW -TargetResourceId $nsg.Id -StorageAccountId $storageAccount.Id -EnableFlowLog $true -RetentionInDays 31 -EnableRetention $true
    }
}

}

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

ID: 59a0b9f5-9071-5e89-5f52-ca8fb2dbc90b
Version Independent ID: 61a1736f-56c1-7950-72b3-907f32689ca4
Content: Azure traffic analytics
Content Source: articles/network-watcher/traffic-analytics.md
Service: network-watcher
GitHub Login: @jimdial
Microsoft Alias: jdial

Enabling Traffic Analytics via Powershell using NW cmdlets is coming soon. In the mean time you could enable Traffic Analytics by following below documentation:
https://docs.microsoft.com/en-us/azure/network-watcher/traffic-analytics

@CharlPels Please communicate any questions or issues you encounter. If you do not have anything additional, I will move forward with closing this issue. If you need to continue the dialog, you may reopen this.
Regards,
Mike

Failed to update flow logs settings for 'ACVWBSVR'.{
"error": {
"code": "FlowAnalyticsNotSupportedInThisRegion",
"message": "Flow analytics is not supported in this region.",
"details": []
}
}.
Resources are in West US 2 and Log Analytics is in East US. Am I missing something?
Because both the things are in supported regions.

Hello Mike,
The answer of YajvendraGupta is clear, there is now Powershell support for this, the site he is referring to is only for manual gui steps, not usefull is you have many NSGs.
For now the question can be closed i guess although the issue is still there :-)
Lets wait for Powershell support.
Regards,
Charl Pels

@vikaskumawat80, we have noted this and will soon roll out a fix to resolve this error. Please try again after one week.

Failed to update flow logs settings for 'aks-agentpool-48852131-nsg'.{ "error": { "code": "InternalServerError", "message": "An error occurred.", "details": [] } }
This error comes when I try to enable to OMS workspace

@kasynsjc, in which region you are enabling OMS workspace? The OMS log analytics workspace must exist in the West Central US, East US, West Europe, Australia Southeast, or South UK region.

Its on Southeast Asia. I created a new workspace in east us and now it works hope they will support southeast asia soon

@kasunsjc New regions will be added to the list as they become available.  Thanks for your interest in traffic analytics.  #please-close


Circle component stopped working

A few days ago Circle stopped working, before that everything worked fine.

I have the same problem, could someone explain where is a problem?

There is some issue since few days with Google map API. Try to fixe the API version to v=3.26 .
I had an issue with onClick on OverlayView children, and v=3.26 fixed my problem.
See also this: https://github.com/tomchentw/react-google-maps/issues/773

👍


Error Artifact ID#2 on Scanning

Current Behavior
I get an error on scanning genshin impact with Inventory Kamera.

Another bug is there too, Nahida is tagged as Geo.
Expected Behavior
The scanner continues to scan
Reproducing a Behavior

This Item causes the Problem
Device OS
Windows 10
Genshin Impact Version
3.6
Inventory Kamera Version
1.3.9
Screen resolution, screen mode, and UI scale
1600*900
Additional notes and remarks
No response
Evidence
InventoryKamera.debug.log
Preflight Checklist

[X] I have checked for similar issues in the issue page, and I have not found any similar to mine.
[X] I am using the latest version of the scanner.
[X] I tried setting the scanning delay to maximum, and it still doesn't work.
[ ] I have attached the video recording to the bug report.
[X] I have attached the error log to the bug report.
[X] I am available to later explains the issue.
[X] I have disabled all screen filtering software or plugins (i.e. HDR, Image Sharpening) while scanning.
[X] I use default in-game keybindings or have configured keybindings for the scanner.

See #40


fix: multus macvlan ipvlan use kube-ovn ipam，but  ip not inited in init-ipam

[x] Make sure you have followed Kube-OVN Code Style.

What type of this PR

Bug fixes

fix: multus macvlan ipvlan use kube-ovn ipam，but  ip not inited in init-ipam

fix: ip-list-recovery-ipam skips all non StatefulSet ip and pod-list-recovery-ipam skips non-ovn subnet, which cause nat-gw-pod (other cni using kube-ovn ipam, such as macvlan,ipvlan) lost ipam after kube-ovn-controller crashed

经沟通，大多数ip ipam恢复的数据源以pod为准，ip list 只处理sts ip（包含join ip和业务sts pod ip）
Which issue(s) this PR fixes:
Fixes #1840

已回合 release-1.10  releas-1.9 和 release-1.8 分支


Skip default browser check (closes #1926)

\cc @AlexanderMoskovkin

@AndreyBelym Is it handled in Chrome?

It should be handled by --no-first-run flag in browser tools, but some dialog was reported in the issue. I'm checking it on Linux.


OT2 arrived, requires setup to point of remote access color matching

Starting point: https://support.opentrons.com/s/ot-2/get-started-guide

OT2 device is now connected to the AC-IoT network.
Pipette is required to run the calibration.

P300 to be picked up tomorrow from organic chemistry lab

P300 Single channel pipette was mounted on the right mount and calibrations were carried out for the deck, the pipette offset and the tip length with 300 µL Tip Rack. Attached is the calibration data JSON file.
opentrons-OT2CEP20240218R04-calibration.json

SSH access for OT-2 (initial SSH set up for new keygen)
https://support.opentrons.com/s/article/Setting-up-SSH-access-to-your-OT-2
Note: To generate RSA2048 key as shown in the support article:
ssh-keygen -t rsa -b 2048 -f ot2_ssh_key
USB connection is required to install the key pair to OT-2, I installed my key pair on the device and the key pair file on the PC side can be shared to other computers to establish the SSH connection in the future.
Connecting OT-2 with SSH
https://support.opentrons.com/s/article/Connecting-to-your-OT-2-with-SSH
OT-2 have a built-in camera(resolution of 640x480px for still images and 320x240px for video):
https://support.opentrons.com/s/article/Using-the-OT-2-s-camera

Awesome! Like we talked about, it would be nice to know what can be run directly on the OT-2 vs. what needs to happen through the GUI / PC side. Ideally, we'd be able to have an arbitrary Python file running on the OT-2 (i.e., the one that exposes remote access).

I have written a protocol file matching our lab-ware and setup and successfully have two trial runs via the PC app and via the Jupyter Notebook on the web bowser. (syntax is a little bit different)
To run it directly on OT-2, I think this documentation may be helpful,
https://support.opentrons.com/s/article/Integrating-the-OT-2-with-other-lab-equipment
I would look it up and have some trial lately.

Awesome! When you get a chance, do you mind taking a short video?

Here is a video of a trial run via Jupyter Notebook (Pick up tip, move liquid from A1 to B1, drop tip)
https://github.com/user-attachments/assets/b1995e20-23bb-4595-b11d-8bc507aa9187

I have successfully run a python code on the OT-2 via SSH with:
opentrons_execute /path/protocol.py
but the robot ran without loading the calibration file, perhaps some initialising codes should be added prior to the run() code.

Though the documentation recommend install PyVisa to establish connection between devices, I think we can retain our practice on other devices (MQTT) without PyVisa since OT-2 is based on Raspberry Pi:

The core of the OT-2 is a Raspberry Pi 3+ running a custom Linux distribution.

Have some ideas for the color sensor setup:

Design a custom housing for the sensor and control board, matching the size of Opentrons labware. The control board will be positioned underneath the support/housing. Additionally, integrate custom labware into the OT-2 system to avoid collisions with moving tips. (This can likely be done by setting up a block with a specific height.)

The color sensor can be picked up and moved to different slots (1, 2, 3) if it’s out of range.（the range of the color sensor needs to be tested first)

The sensor labware can be easily relocated if the labware arrangement changes in the future, as the housing is designed to match the size of standard labware.
Some sketching help to understand

Power could be supplied via a battery (either integrated with the same labware or standalone) or through other potential wireless charging solutions. One quick idea is to charge the battery when the tip moves to the idle position (top-right corner).

We can discuss together later to see if any new ideas come up.

Nice! Looking forward to chatting. I'm somewhat leaning towards a 6-point kinematic connection similar to what's done for Science Jubilee (except all 3D printed) for the pickup.

For the most part, we've moved our discussion to the other issue about the color sensor tool.
Simultaneous to this, Jackie from Alan's group plans to try out some things with Prefect and the OT-2.

A demo run of 1 color measurement and 1dispense cycle:
https://github.com/user-attachments/assets/65ea91c4-4bda-48e4-9894-d84f507308ca

With RYB colors water:
https://github.com/user-attachments/assets/92a1e66f-6047-4ec4-8e00-3254414f7d0d
Noticing remaining liquid in tip after dispensing and droplets on the OT-2 deck, a blow-out process for the tip may be required during the procedure

Added a blow-out step to a waste vial before returning the tip, with 25% speed control when moving to the waste vial.
https://github.com/user-attachments/assets/5496f83b-298b-46e8-9eb2-f117069cfed5
https://github.com/user-attachments/assets/c3e9a3e0-6de0-4824-8d7d-e7363f83deca


[FR]: Add setting to change "File" name linking from absolute to relative

Currently, your plugin has a default File column, which is the filename of the file, which under the hood manifests as [[absolute/path/to/file.md|alias]]
However, I am finding this conflicts with my workflow. I want to reference this File column with other columns and tables, but I do not want the absolute path to transfer over to that Relation field. What I need is the relative path, i.e. [[file|alias]] or perhaps just [[file]]
This would prevent issues in the future, if the file is ever moved, the Relations to the File column will not break due to having the absolute path encoded into the file value.

If this is not technically possible, then the backup idea would be to allow creating a new column which references the File column perhaps as ${row.__file__} (which I have already tried) with some code or even js which strips the absolute path and leaves only the filename in plain text, which can be added to another formula field with [[ ]] added around it, to finally manifest as a relative link.
I need this to work with Relation fields in this way: I have a relation field which points to a db folder (self or other), and when selections are made, the resulting output is the [[relative]] file rather than the absolute one. As aforesaid, this is to prevent any breaks in the absolute path, if the file is ever moved or renamed.
For which platform do you request this request??
Desktop

an option could be interesting.
This behaviour was decided to avoid duplicate filenames inside the vault. The plugin can not determine which is the original file if not when its read.
How about a dropdown with:

Absolute
Absolute (alias)
Relative
Relative (alias)

That is an understandable issue to avoid, the duplication of filenames via not knowing which was the original.
A question about your proposal to add options for (alias). Would choosing the alias option manifest as a relative [[file]]? If so, that would work for me, as I can already avoid duplicate filenames as my primary use for DB Folders is always for files with unique names.

Ah yes sorry I misunderstood for a moment, but see what you mean now. Is this correct?

Absolute = the current result, without the |alias added
Absolute (alias) = the current result
Relative = the filename only, without the |alias added
Relative (alias) = the filename only, with |alias added

Thank you!
One more tangentially related question, if I may.
I would like to be able to call the File column using a Relation column, but have the result be only plain text. No link whatsoever. Is this currently possible using js code? Or would this need to be added as a FR?
Example:

File column = [[Filename]]
Relation column, pointing to File column = Filename

we can add a similar solution for rollups (future version) https://github.com/RafaelGB/obsidian-db-folder/issues/758


Updated Windows 11 Install Instructions

Updated Windows 11 Install Instructions
New Windows 11 Docker without Docker Desktop Install Instructions
May address some concerns as discussed in #63
Have changed absolute to relative references in README.md to enable testing links on forked repo.

Thanks Bernard for the great instructions!
I'm going to test following the Running without Docker Desktop instructions on my Windows test machine and see how I go.

I'm going to test following the Running without Docker Desktop instructions on my Windows test machine and see how I go.

Thanks.
I just remembered there's one more step to add in.  I'm going to add it to the commit chain in a moment - it's to change iptables to legacy:
sudo update-alternatives --config iptables
  Selection    Path                       Priority   Status
------------------------------------------------------------
  0            /usr/sbin/iptables-nft      20        auto mode
* 1            /usr/sbin/iptables-legacy   10        manual mode
  2            /usr/sbin/iptables-nft      20        manual mode

choose iptables-legacy (should be option1)
I also realised that my start WSL scheduled task included a bash script that calls backfill.sh which in turn calls your backfill script - so I need to change that :)

Changes made - WINDOWS.md updated for your testing @mcbirse

One more thing @mcbirse, if you're doing this on your windows test machine where you were previously running Docker Desktop, you'll need to clean up docker desktop config.  I've got to run out the door now, but if you get an error about docker auth, you'll need to blow away the docker config, and do a docker login, having set up a docker auth.

One more thing @mcbirse, if you're doing this on your windows test machine where you were previously running Docker Desktop, you'll need to clean up docker desktop config. I've got to run out the door now, but if you get an error about docker auth, you'll need to blow away the docker config, and do a docker login, having set up a docker auth.

Thanks! No need to worry though - I went all out to keep a "clean" test machine and backed up the Windows OS to an image with Macrium Reflect, before even installing anything (including WSL). I have restored this backup about 5 times now, lol.
So I have been able to ensure I can test with a pretty clean Windows each time (only thing installed on it was my car ECU tuning software and Motec dash display stuff - that's another story).
I originally tried to set up a Windows VM for testing, but had trouble with WSL due to nested virtualisation. Would have been easier to just restore a snapshot each time...

TL;DR - In summary, we should revise the instructions to remove any references to Windows 10 (heading does say already Windows 11 instructions 👍 ). And, revise the section "The host system will require" and add "Windows 11".

Okay so... I attempted to set up my Windows 10 test laptop following the "Running without Docker Desktop" instructions, and ended up in a world of pain and going down a rabbit hole trying to get WSL to work with the Hyper-V Virtual Network Bridge interface. 😠
The consensus seems to be that this is simply not supported with WSL on Windows 10.
@BJReplay - did you get this working in Windows 10, or was it Windows 11? I'm not a Windows guru so it could just be me.
Given the issues I had though, I think perhaps we should revise the section "The host system will require" and add "Windows 11". Or else some other poor soul will waste hours trying to get it to work, like I did. Especially since the first section about WSL mentions minimum requirement of version 1093 of Windows 10 which may make one think Windows 10 is fine.
WSL2 itself will work in Windows 10, and the main (easy) instructions from the README (using Docker Desktop) do work in Windows 10.
The issues I had under Windows 10 were related to the bridged networking setup, and I could not proceed past that point.
Some details:
I was testing on Windows 10 Pro version 22H2 build 19045.3570 (latest I think). Also updated to latest WSL2 available to me and the pre-release update as well.
First issue I had was with this command: Install-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart
I received an error: The term 'Install-WindowsFeature' is not recognized as the name of the cmdlet
Looking into that it appears I needed RSAT for Windows 10 (which I went and installed) but that didn't fix it. I know I could have probably just gone into Control Panel -> Programs and Features -> Turn Windows features on or off, and tick the Hyper-V box to install, but was looking for the equivalent PowerShell command...
I found this worked instead: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
So, first issue solved.
Next, setting up the Virtual Network Bridge adapter all went fine, and I updated the .wslconfig to use the WSLBridge interface - this is where I got stuck.
When attempting to start Ubuntu, I got the error "The virtual machine or container JSON document is invalid".
This sent me down the rabbit hole of trying to work out why, with the result being if you are on Windows 10 and trying to set up WSL to use a different network interface - don't - give up now - you are better off upgrading to Windows 11 if you can (which I cannot on this laptop, as the hardware is too old).
I did find a workaround, which I did actually get working (but yet to test the rest of the instructions, I got tired and was driven to drink - a nice single malt at least). But it involves setting the default "WSL" interface to External, which is problematic since this interface is dynamically created/removed whenever WSL starts or shuts down. And setting it back to Internal just after shutdown seems critical unless you want a busted network environment in Windows.
So at least we can advise Windows 10 will not work? (happy to be proven wrong with some simple magical workaround)
Windows is a PITA. I probably need to get myself a Windows 11 test machine, but this experience has strengthened my opinion of Windows for these kinds of things (which I'm sure you can guess is not favourable).

Otherwise regarding the instructions and this PR, as mentioned perhaps a couple of revisions around requirements (Windows 11) and remove Windows 10 references, etc. I will review again once I have some more time as I noted a couple of other changes I would suggest.

Out and about today. I didn't try Windows 10, only 11. Sorry.
Agreed suggestion to revise for Win 11 only.
Apologies for the pain.
I hope that you enjoyed the restorative single malt.
Will review and revise when I get back home.

No worries all good - please revert my change.
The many threads I read about WSL on Windows 10 being configured to use a different network interface to the default "WSL" interface, seem to indicate it was not possible.

Hi @BJReplay - I eventually got this mostly working on Windows 10, with Docker starting/running in WSL after following the rest of the instructions, and of course Powerwall-Dashboard all set up and working. Thanks for documenting these instructions!
The only remaining problem I had on Windows 10 was to do with the bridged network setup. It seems it is not possible to configure WSL to use a different network interface (it will use the "WSL" interface only on Win10). At least that was the case for me.
I used a work around which would set the "WSL" interface to external when starting WSL. Not ideal and certainly not recommended, as it sometimes caused network issues on the host, but it mostly worked.

Thanks @BJReplay for putting this together!  This is a great addition to the project. 🙏
Thanks @mcbirse for the testing, updates and... let's be honest... one of the best single malt reviews I've ever seen. 😂

Windows is a PITA. I probably need to get myself a Windows 11 test machine, but this experience has strengthened my opinion of Windows for these kinds of things (which I'm sure you can guess is not favourable).

And I thought it was just me... 🤣

And I thought it was just me...

It is a matter of what you're familiar with, for sure!
I used to enjoy learning new OSes and languages, but I find it harder, now.
Having started with Z80 and 6502 machine code (not assembler, mind you, machine code), then graduated to Apple DOS, CP/M and luxuries such as OSes, System 360 assembler, PL/AS, COBOL, when Windows 3.11 came out and you could have the luxury of a GUI and a command prompt at the same time, I didn't mind it.
I've used that many OSes and languages that I've lost track.
I still have the Wordstar manual from 1981 that provides the information on how to write your printer driver in machine code for an unsupported printer (it supported a total of 6 printers from two manufacturers).


command in readme not working?

I don't really understand why, but running
docker run -v `pwd`/binaries pires/netty-tcnative-alpine

left that directory empty after the container was run.
Im running ubuntu 16.04 with docker 1.11.1
What worked for me was
docker run -v `pwd`/binaries:/output pires/netty-tcnative-alpine

@dimitarg thank you it seems I screwed up the docs. You found the correct way to do it ;)

Thanks for your work. Successfully moved to 4.1.1 final with this repo

By any chance, are you using Spring Boot? Having a hard time getting the boringssl-static binary to run there. It's in the classpath, but it still won't load.
If I do it manually with a simple app JAR + -classpath argument, it works.

Nope, sorry. We're a very lean setup with just a main class and entry point via https://github.com/Transmode/gradle-docker. Almost no external dependencies + homegrown framework

It seems Tomcat is to blame. I've since moved to Undertow but now the JVM crashes:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fcf6e53fb51, pid=6, tid=0x00007fcf58002ab0
#
# JRE version: OpenJDK Runtime Environment (8.0_92-b14) (build 1.8.0_92-internal-alpine-r1-b14)
# Java VM: OpenJDK 64-Bit Server VM (25.92-b14 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [ld-musl-x86_64.so.1+0x4fb51]  memcpy+0x11
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# //hs_err_pid6.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

Update: it sometimes crashes, sometimes don't.


Add the Ollama#chat() method

Ollama now supports the chat() endpoint: https://github.com/jmorganca/ollama/blob/main/docs/api.md#generate-a-chat-completion
Please add the method to the Ollama LLM.

On it.

On it.

@spikex I went ahead and implemented it here: https://github.com/andreibondarev/langchainrb/pull/457. I hope you didn't waste too much time already implementing it!

Sorry, got hung up on testing streaming and then pulled into other things. Thanks for getting it done!
Looks like it's now possible to use the OpenAI APIs with Ollma as well.
https://ollama.ai/blog/openai-compatibility


feat: sign message encoding param

ability to provide encoding to use to sign message

The plan is that will be handled as part of https://github.com/solana-labs/solana/pull/26915 (see the "Message Formats" section) and encoded in the bytes rather than an extraneous parameter.
The above linked spec allows a restricted ASCII charset for display on Ledger. In practice, I've also never seen a use case for interpreting the bytes as anything other than UTF-8.

I searched the existing wallet TS APIs /signMessage\(.*?\):/ and didn't find any results indicating that wallets support this extra argument. If they do, it's not documented here.
I'm closing this for now, but we could see if this makes sense as an optional parameter to the Wallet Standard signMessage feature.


Cannot add a bridged Accessory with the same UUID as another bridged Accessory

Heya,
since today i get the following error when i try to start homebridge, and i have no idea what went wrong.
Could you please help me out, how to fix that?
[2018-1-8 20:30:59] Homebridge is running on port 51826.
[2018-1-8 20:31:00] [Hs100] New Device Online: [Wohnzimmer ] plug [8006230351B3569C197B27A91EC52663170FEB60] <IP_ADDRESS> 9999
[2018-1-8 20:31:00] [Hs100] Adding: [Wohnzimmer ] plug [8006230351B3569C197B27A91EC52663170FEB60]
[2018-1-8 20:31:00] [Hs100] New Device Online: [PC] plug [8006BE4344D89941D949A1ACF8F9EEA6171E2F1F] <IP_ADDRESS> 9999
[2018-1-8 20:31:00] [Hs100] Adding: [PC] plug [8006BE4344D89941D949A1ACF8F9EEA6171E2F1F]
/usr/lib/node_modules/hap-nodejs/lib/Accessory.js:258
throw new Error("Cannot add a bridged Accessory with the same UUID as another bridged Accessory: " + existing.UUID);
^
Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 96734f20-3ef1-427a-9657-be6d55764561
at Bridge.Accessory.addBridgedAccessory (/usr/lib/node_modules/hap-nodejs/lib/Accessory.js:258:13)
at Bridge.Accessory.addBridgedAccessories (/usr/lib/node_modules/hap-nodejs/lib/Accessory.js:284:10)
at Server._handleRegisterPlatformAccessories (/usr/lib/node_modules/homebridge/lib/server.js:451:16)
at Server. (/usr/lib/node_modules/homebridge/lib/server.js:41:10)
at emitOne (events.js:116:13)
at API.emit (events.js:211:7)
at API.registerPlatformAccessories (/usr/lib/node_modules/homebridge/lib/api.js:159:8)
at Hs100Platform.registerPlatformAccessory (/usr/lib/node_modules/homebridge-hs100/lib/platform.js:79:14)
at new PlugAccessory (/usr/lib/node_modules/homebridge-hs100/lib/plug.js:57:16)
at Hs100Platform.addAccessory (/usr/lib/node_modules/homebridge-hs100/lib/platform.js:113:27)
pi@raspberrypi:~/.homebridge $

I had that same issue with a different plugin and the troubleshooting section helped me to solve it - https://github.com/plasticrake/homebridge-tplink-smarthome
"Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory If you get an error about duplicate UUIDs you'll have to either remove your cached configuration files or manually edit them to remove the offending entry. By default they are stored in ~/.homebridge/accessories. In some cases you may also need to remove ~/.homebridge/persist and re-pair homebridge to your home.
You can remove them by running:
rm -rf ~/.homebridge/accessories
rm -rf ~/.homebridge/persist"


V06b6: queue setting menu doesn't refresh

This issue is new since b6. The queue setting menu doesn't refresh when changing settings like repeat. Leaving the menu and revisiting shows the settings where changed

Fixed in beta7


Update 'advance upstream forks' action to use new fine-grained tokens

GitHub has new personal access tokens that allow finer-grained controls
over what can be accessed. We've been asked to migrate to these new
tokens. I've created a new secret with such a token. I'm trying it out here first, since this workflow is not particularly critical. Once all
workflows are migrated to this token, I may duplicate it as
WRITE_ACCESS_TOKEN and switch them all back to that, so that we can
keep the old name, but I didn't want to update the value all at once
and break everything.
skip-ci: Doesn't affect CI workflows.

Success: https://github.com/iree-org/iree/actions/runs/3652729592/jobs/6171440281

(part of https://github.com/iree-org/iree/issues/11479)


Delay after start

as here described: https://hyperion-project.org/threads/no-commands-sent-to-atmoorb.162/#post-8057
is it possible to add an value/solution for this problem?

If Hyperion depends on a network being up, this should be solved using OS init scripts.
Depending on your platform, this will be different but setting a dependency on the network is the right way

You can test the systemd file, which depends on network. But not sure if this is already enough.
However a good led device corrects issues on it's own. AtmoOrb shouldn't quit if target not reachable on startup. What happens if you restart the atmoorb, is it also broken afterwards?
So you see, the device should handle this out of the box gracefully. That a network is not reachable or the target is shortly offline is a common case (might it be bad wlan or short power outage)

Systemd has the after-network-target which is currently part or it.
If there is something atmoorb specific during runtime the leddevice needs to handle that
Closed for the moment


Speed up Summarize tests in CI

#149

Truncate text in CI by looking at GRANITE_TEST env var

PR Checklist

[ ] Commits signed: All commits must be GPG or SSH signed.
[ ] DCO Compliance: Developer Certificate of Origin (DCO) applies to the code, documentation, and any example data provided. Ensure commits are signed off.
[ ] Notebook outputs cleared: Ensure all notebook outputs are cleared.
[ ] Automated testing: Add the recipe to the automated tests.
[ ] Test in Google Colab:

[ ] Test that it works in Google Colab (Python 3.10.12).
[ ] Colab has its own package set and Python version, so ensure compatibility.

[ ] Test locally:

[ ] Ensure the code works in a fresh Python virtual environment (venv).

[ ] Flexible LLM platform support:

[ ] The platform should be easily switchable. Use LangChain for now.
[ ] Include !pip install git+https://github.com/ibm-granite-community/granite-kitchen in the instructions.

[ ] Example data: Follow the example data guidance.
[ ] README.md updates:

[ ] Add a link to the recipe in the Table of Contents (ToC).
[ ] Include a Colab button after that link.

Tests will fail until this is merged:
https://github.com/ibm-granite-community/utils/pull/19


Add new Feature : Dynamic Messages

Problem - Currently we are having all the messages hard coded throughout the app.
Advancements - We can make a constants.js file and add all the error messages as well as other messages and export them and import them in files and use them dynamically, this way we will not need to change error messgaes everywhere.
Ex- if we need to change the error message - "Email and password are required" to "Please fill both fields" or anything else we will need to change it everywhere in code but if we have a common constant.js file we will change there and it will reflect everywhere in code.
Reference -

@Yash-Ainapure  I would like to work on this feature, please assign it to me.

@Yash-Ainapure I would like to work on this feature, please assign it to me.

nice idea.you can work on it

This issue is addressed in PR #2 .

Hi @Yash-Ainapure , I'm happy to contribute to this project, also i had a query, on hacktoberfest it shows this:

Can u please add that label to the PR? or there is something i m missing here?

Hi @Yash-Ainapure , I'm happy to contribute to this project, also i had a query, on hacktoberfest it shows this:
Can u please add that label to the PR? or there is something i m missing here?

ok I'll see


<EMAIL_ADDRESS>hash check failed

Hi Admin,
I tried using scoop in install WinSCP to my machine but the harsh does not meet the actual harsh. Please refer below for the error message encountered:
App:         extras/winscp
URL:         https://downloads.sourceforge.net/project/winscp/WinSCP/5.15.4/WinSCP-5.15.4-Portable.zip
First bytes: 50 4B 03 04 14 00 08 00
Expected:    317eff4325718b51c0fabcd514539af2d1d6db8b8d458a2cc8a724d57d615bd8
Actual:      56d45410cb8c7926d511ad56089530325fdd828bb930375d5acde70edc699b13
Thanks for the help.
Cheers.

Can't reproduce, please try again.

fixed by 5.15.5


python:3.8-buster base images shows a lot of issues when scanned by ECR

My manager is having me look into the list of scanning Vulnerabilities in ECR, and when pushing up an image which is just apt-get upgrade and nothing more, it is reporting 23 Vulnerabilities.  Since these are not related to our own Dockerfile or application stack, but rather upstream, I thought it being appropriate to post the issues here to be resolved.  Below is a list provided by the ECR image scanner of all the issues detected in the base python:3.8-buster image provided via DockerHub as of this time of writing:

bash: CVE-2019-18276
gcc-8: CVE-2018-12886, CVE-2019-15847
gnupg2: CVE-2019-14855
libssh2-1: CVE-2019-17498, CVE-2019-13115
perl: CVE-2011-4116
tar: CVE-2019-9923, CVE-2005-2541
login, passwd: CVE-2019-19882, CVE-2007-5686, CVE-2013-4235
python2.7: CVE-2019-20907, CVE-2019-16935, CVE-2020-8492
imagemagick: CVE-2019-16711, CVE-2019-16710, CVE-2019-16712, CVE-2019-16708, CVE-2019-16713, CVE-2020-10251
expat: CVE-2013-0340
coreutils: CVE-2016-2781

Thank you very much for your time and effort on creating and maintaining the Python 3.8 base Docker images.
 Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

See also https://github.com/docker-library/faq#why-does-my-security-scanner-show-that-an-image-has-cves
And https://github.com/docker-library/openjdk/issues/449#issuecomment-763027011, https://github.com/docker-library/postgres/issues/286#issuecomment-302512767 docker-library/openjdk#161, docker-library/openjdk#112, docker-library/postgres#286, docker-library/drupal#84, docker-library/official-images#2740, docker-library/ruby#117, docker-library/ruby#94, docker-library/python#152, docker-library/php#242, docker-library/buildpack-deps#46, docker-library/openjdk#185.
A CVE doesn't imply having an actual vulnerability, and often is even a false positive (given how most distributions handle versioning/security updates in stable releases). If there are actionable items we can resolve, we're happy to do so (and do so actively). We update all Debian based images to include any updates in apt packages at least monthly (we regenerate the base images and then rebuild all dependent images).

Thank you for that information, I'll double-check if I have the most recent version of the Docker image.  I wasn't using the :latest tag however, I am using :3.8-buster.

I don't think we should add additional variants (the added build load of that is pretty high, not to mention the added user confusion on which versions they should use), but I would definitely be willing to consider dropping the --with-system-... flags entirely.
My primary concern in doing so would be ensuring that Python does do timely releases when bundled dependencies have security issues -- does anyone know if there's an official policy from the project around that?
The system dependencies are attractive because I know (and have seen firsthand) that the Debian security team is very proactive about fixing security issues (although that almost never involves fixing them by bumping the version -- see https://github.com/docker-library/faq#why-does-my-security-scanner-show-that-an-image-has-cves for some more well-thought-out description around that), and that the automatic rebuilds we get from the official images build pipeline thus pull in those Debian security fixes automatically without a Python bump (which is especially important/useful for those older Python versions that might be getting normal bumps less often).

https://discuss.python.org/t/vendoring-third-party-libraries-in-cpython/7844/2 is a useful post around this -- it basically mirrors my sentiment that perhaps this doesn't make sense here because security updates to bundled libraries are not necessarily a priority for them (I'm sure it's not a problem for the actively maintained branches, but for the older maintenance branches it's probably less likely).

https://security-tracker.debian.org/tracker/CVE-2013-0340 is a useful link for the listed expat CVE specifically with some useful notes from the Debian security team as to why it wasn't "fixed" in bullseye or older.


ModuleNotFoundError: No module named 'tflite_runtime'

After following the instructions on https://coral.ai/docs/accelerator/get-started/#on-mac, I get the following error on macOS 10.15, python 3.7.3:
$ python3 classify_image.py --model models/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite --labels models/inat_bird_labels.txt --input images/parrot.jpg
Traceback (most recent call last):
  File "classify_image.py", line 36, in <module>
    import tflite_runtime.interpreter as tflite
ModuleNotFoundError: No module named 'tflite_runtime'

Does anybody have an idea what the issue could be and how it can be fixed?

Do you know where the tflite_runtime package was installed?
It may just not be presented in your python path.
Please show me the outputs of this command:
$ python3 -m pip show --verbose tflite-runtime

And
$ python3 -c 'print(__import__("sys").path)'

Thanks for your quick response, and your offer to help! Much appreciated! The first command outputs nothing, the second provides a bunch of paths.
$ python3 -m pip show --verbose tflite-runtime
$ python3 -c 'print(__import__("sys").path)'
['', '/Users/cburgdorfer/miniconda3/lib/python37.zip', '/Users/cburgdorfer/miniconda3/lib/python3.7', '/Users/cburgdorfer/miniconda3/lib/python3.7/lib-dynload', '/Users/cburgdorfer/miniconda3/lib/python3.7/site-packages']
$

@cburgdorfer Sorry, was in a meeting.
First command outputs nothing either means that you don't have it installed or you have multiple python version installed and only 1 of it knows?
For macOS with python3.7.3, you should be using this:
$ python3 -m pip install https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp37-cp37m-macosx_10_14_x86_64.whl

Can you try that again, take notes of the outputs to make sure we know where it's installed?

Thanks again, @Namburger , I have found out what the problem was thanks to your comment:
The documentation says I should run the pip install ... command, but thanks to your comment, I've found out, I need to call python3 -m pip install ...
This was the output accordingly:
$ python3 -m pip install https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp37-cp37m-macosx_10_14_x86_64.whl
Collecting tflite-runtime==2.1.0.post1 from https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp37-cp37m-macosx_10_14_x86_64.whl
  Using cached https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp37-cp37m-macosx_10_14_x86_64.whl
Requirement already satisfied: numpy>=1.12.1 in /Users/cburgdorfer/miniconda3/lib/python3.7/site-packages (from tflite-runtime==2.1.0.post1) (1.16.4)
Installing collected packages: tflite-runtime
Successfully installed tflite-runtime-2.1.0.post1

Thanks again! Much appreciated!

Ahh I see confusion, your pip is most likely pip2 and not pip3, so then when your python3 try to load the package, it couldn't find it lol


springfox-swagger2 doesn't respect ApiModelProperty#position

When using springfox-swagger2:2.0.0, properties in the model are always ordered in alphabetical order.
Specifying ApiModelProperty.position doesn't change the ordering.
I've created a small project to demonstrate the issue. Properties for Entity model are not ordered.
##How to reproduce

Clone https://github.com/olkulyk/springfox-swagger-property-ordering
run via mvn spring-boot:run
In the browser open http://localhost:8080/v2/api-docs?group=entity-api and find Entity definition. It will be smth like

Entity: {
    required: [
        "id",
        "status"
    ],
    properties: {
        comment: {
            type: "string",
            description: "comment description"
        },
        description: {
            type: "string",
            description: "description"
        },
        id: {
            type: "integer",
            format: "int32",
            description: "id description"
        },
        status: {
            type: "string",
            description: "status description"
        }
    }
}

Expected order according to model definition is id, status, description, comment

This should now be fixed in 2.1.2

Seems to be still an issue.

This issue exists in 2.3.0. Could this be fixed?

This cannot be fixed anymore that it has been. :) the problem is that the
properties are a hashmap and by definition they don't have a sort order.
On Mon, Dec 14, 2015 at 11:43 PM tmalini<EMAIL_ADDRESS>wrote:

This issue exists in 2.3.0. Could this be fixed?
—
Reply to this email directly or view it on GitHub
https://github.com/springfox/springfox/issues/766#issuecomment-164650105
.

Just curious: Couldnt you just sort the properties by their position property in the rendering process?

Ah sorry my bad! I kept seeing postion but reading name. It is currently sorted by name. I'll reopen

Actually I remember why it wasn't possible beyond sorting on name. The problem here is that the swagger-core data structures don't support it.

Since you already use a collection type that supports sorting with TreeMap you could simply pass a comparator that sorts its values using the Property.getPosition() method.

Actually the comparator on the TreeMap  is only for the keys, so that won't work.

Since you already got the Property Map you could lookup the Property by its key or do the comparison upfront and insert the keys into a LinkedHashMap.

PR?

Sure, i will try to figure it out.


LDAP_DOMAIN & LDAP_BASE_DN informations request & brainstorming

Besides what the code is currently doing with this variables, is it possible to get an insight/explanation of what these are really meant for and what relationship they have between each other
The reasons I am asking this is because:

there are many issues linked to these variables (#338, #172, #282, ...)\
these are specific to osixia/docker-openldap and not related to OpenLDAP distribution itself
I have added some more tests and code to fix some issues #341, but I am not the only one #238
looking at #172 made me try using something like --env LDAP_BASE_DN="ou=hazard,o=dummy,c=cz" -e LDAP_DOMAIN=dummy.cz which puzzles me even more as

ou, o & c are replaced by dc

root@b19e90335125:/# slapcat | grep dn:
dn: dc=dummy,dc=cz
dn: cn=admin,dc=dummy,dc=cz

other configuration file are a mix

root@b19e90335125:/# find /etc/ldap/ -type f -print | xargs egrep 'dummy|hazard'
/etc/ldap/slapd.d/cn=config/olcDatabase={1}mdb.ldif:olcSuffix: dc=dummy,dc=cz
/etc/ldap/slapd.d/cn=config/olcDatabase={1}mdb.ldif:olcRootDN: cn=admin,dc=dummy,dc=cz
/etc/ldap/slapd.d/cn=config/olcDatabase={1}mdb.ldif: =admin,ou=hazard,o=dummy,c=cz" write by anonymous auth by * none
/etc/ldap/slapd.d/cn=config/olcDatabase={1}mdb.ldif:olcAccess: {1}to * by self read by dn="cn=admin,ou=hazard,o=dummy,c=cz" writ

I think interested/concerned people should analyse this further deep so that we can exchange and possibly rework on this so that it fits most needs and be non-ambiguous in its usage.
All ideas/comments/... welcome

Well, this stuff doesn't make sense, yepp.
Just found out, that again a "very clever" debian package script is responsible for this garbage - see  /var/lib/dpkg/info/slapd.config .  Because of the very questionable "always config on package install" debian policy, it gets invoked always when package reconfiguration gets requested (on package install, update) or if manually requested e.g. like dpkg-reconfigure -f noninteractive slapd as osixia/docker-openldap does in its startup.sh.
IMHO, osixia should do its own reliable configuration and not use those very questionable and IMHO dangerous debian scripts and should not use /etc/ldap/slapd.d as config dir, because the debian scripts will mangle it ...

Yeah, I definitely agree that this is confusing. At this point I feel like just deleting all the out-of-the-box config in a derivative image and doing all my own ldiff files. Feels like the safest option.

I had many of the above problems as well with setting the LDAP variables and strange happenings afterward, in the end using this helm chart solved my problems: https://github.com/jp-gouin/helm-openldap.git

Here are my two cents:
The relation between domain name and base DN is confusing to many, even more that it is forced on us. OpenLDAP's Debian package simply expects that everyone is doing RFC 2247. That assumption might be OK in majority of use cases, however not in all of them. And there is little to no help available when someone wants their naming context not to be domain based.
I think README should mention RFC 2247 and I think an example should be created that shows how someone can create default database with suffix o=Example. This should be done either by renaming the default database (is that even possible?) or completely dropping it and creating a new one.
Btw. in one of my use-cases I ended up not using this image and created my own with the following dockerfile fragment:
RUN echo "slapd slapd/no_configuration boolean true" | debconf-set-selections \
    && apt-get update \
    && apt-get install -y slapd ldap-utils \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

This allowed me to create initial config to my liking.


Keep or drop FIFO queue checking?

There's a component of the lambda function that checks the FIFO queue to prevent the lambda from launching duplicate infrastructure. Currently, I need to bypass this part of the code to run a lambda function manually. Should this be incorporated into the version of the lambda functions we have, or should we just have instructions/code to create a FIFO queue so it can be used with manual triggering.

AFAIK, we haven't figured out a better way of preventing duplicate starts - if @ErinWeisbart can confirm, then I would say let's just make a FIFO queue. If we (aka she) did, then let's get rid of all the FIFO checking!

I do not have a workaround for the FIFO queue for this workflow. I believe I disabled all auto-triggering of lambda functions, but I'd rather keep it in the code in case we do scale up this workflow again (before I get the chance to make a pooled AUSPICES that will handle the step-by-step handoff more elegantly).
I just put into Distributed-Something the ability to check if a queue exists and then make it if not (for a DeadLetter queue). We can use the same logic here, or you can just add it to the instructions in the beginning to do it manually once (which makes the most sense if we believe I will get around to deprecating this workflow for an AUSPICES workflow sometime in the not too distant future).
https://github.com/DistributedScience/Distributed-Something/blob/b1cc49f2b9f4534e42aca858ddf9bd89516fab17/run.py#L186-L222


Sync with upstream 28-04-2022

will be retested after merging https://github.com/openshift/metallb-operator/pull/80


broadens CI tests to more versions of python

Per #131, this:

creates specific conda environment yml files in ci/deps
simplifies the Travis Pipeline to only use environment.yml files
removes requirements.txt
borrows a script from pandas to auto-create a "requirements-dev.txt" which is entirely created from the base environment.yml file

In this process I have removed some of the hard version-number specifications, because deprecating python 2 has resulted in these no longer being required.

Codecov Report

Merging #137 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #137      +/-   ##
==========================================
+ Coverage   95.92%   95.95%   +0.02%
==========================================
  Files           8        8
  Lines         442      445       +3
==========================================
+ Hits          424      427       +3
  Misses         18       18

Impacted Files
Coverage Δ

pandera/schemas.py
100% <0%> (ø)
:arrow_up:

pandera/checks.py
95.74% <0%> (+0.04%)
:arrow_up:

pandera/hypotheses.py
88.23% <0%> (+0.23%)
:arrow_up:

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 b52e18d...9ef13f5. Read the comment docs.

Back to WIP.
The CI process has been broken for Python 3.5 which has been accidentally upgraded by pip, working on a fix.


stop scan method?

Hi, stop scan barcode method exists?
Thanks

Unbind the event handler.

@lwansbrough We receive multiple (~10x) same barcode in a single camera capture:  using bind and unbind listner approach reduces it for some time but it call again in 2-3 seconds. can you please tell me using code snippet

How to do that?

Unbind the event handler.

Hi, I simplified it with simple var control.
const intoscan = false;
_onBarCodeRead(e) {
if(intoscan==false){
intoscan=true;
....


Non-breaking spaces in French before ":" around words « quoted »

Colons
Colons need a non-breaking space preceding them, otherwise you will see this
: a sad colon alone on the next line.
Quotation marks
Non-breaking spaces are needed inside French quotations marks, also called « guillemets », otherwise they are isolated from the word they quote.
Unicode and html support non-breaking spaces. Markdown doesn’t.

I think this requires a code solution.


chore: brand audit changes

We went through the brand audit today and there are some things to fix. We decided to fix some small things soon but tackle the others when re-working the UI foundation.

Where spacing / layout is concerned we will tackle those in https://github.com/leather-wallet/extension/issues/4165
Add icons to mnemonic page buttons ( will do in https://github.com/leather-wallet/extension/issues/4130 )

Quick fixes for now:

Change font of collectibles header to label 1
Change tab hover BG color to component-bg-hover
Set minimum height of main container in Assets / activity to be the same based on the height of our empty assets screen
Change text colour of BTC address secondary to subdued
Fix colors in Send screen  empty 0 and Enter recipient address

Brand Audit:
https://www.figma.com/file/GU3X88E6UJWA3JtbP7FThe/🔬-Brand-v0-Audit?type=design&node-id=1%3A125&mode=design&t=h0oX07Q0cFocF07j-1
CC @mica000 @markmhendrickson @fabric-8

I fixed all of these issues apart from 'Fix colors in Send screen  empty 0 and Enter recipient address'
I opened a new ticket for that here: https://github.com/leather-wallet/extension/issues/4345


Create MongoDB Database

can I help you to solve this issue?

Thanks for the offer @nitins2332, but I'm using this repo to keep up to date with my full stack development skills.


Merge blockly master

I track blockly master. I see some bugs were fixed that are present in ardublockly.
Due to the static typing stuff, I can't make out though what is a change in blockly master, and what is an update/bug fix in blockly master. Am I correct in assuming some changes too in zoom possibilities, trash can, and perhaps others?
Is it possible to keep on supporting the changes in blockly as present in ardublockly, would it not be good to contribute in blockly directly? I'm somewhat afraid of using ardublockly version, and not having the goodies Google might introduce in blockly.
Suggestion:

can the specific ardublockly changes be indicated with comment blocks?

can the specific ardublockly static type values be via a flag, so that upstream contribution is possible? On glance it seems well coded and well integated, so I believe merge should be possible. Perhaps the type.js, types.js and static_typing.js in subdir core/typing ?

With above, other developers should be able to quickly determine what blockly changes can be merged in ardublockly, and what hits the new code paths present in ardublockly.
As a specific remark on static typing, if no type, void is used in Arduino. It would be better that int is used in those cases for Arduino code, less possibility for bugs. So some default type for null, and actual void in Arduino as a type 'None' or 'NoType' ?

If you have a look at the commit history, you can easily track when was the last time Blockly master was merged into Ardublockly. For instance, the last catch up was done in https://github.com/carlosperate/ardublockly/commit/ec78fb902c9943e44d02f7657a2cbabc961bf62b .
I used to sync more often, when changes were relatively small. Currently the master branch is getting larger merges from the 2016 development branch and I usually spend a little bit of time reviewing the code before I pull from upstream, just to make sure things would still work as expected and no Ardublockly-specific changes are reverted somehow. In fact this weekend I did just that (no conflicts found) and was planning to do the merge tonight.
The general summary of the Ardublockly changes is listed in the blockly folder README file, but if you want to do a proper comparison I would suggest to git clone Blockly on a separe diretcory, check out the last commit  merged (in this case https://github.com/google/blockly/commit/dc1f03a168ecb5873522c3fe232938ec728f3349, as indicated in https://github.com/carlosperate/ardublockly/commit/ec78fb902c9943e44d02f7657a2cbabc961bf62b) and use a comparison tool. Is the only way to really check with complete certainty any code changes and while keeping the codebase clean.

can the specific ardublockly static type values be via a flag, so that upstream contribution is possible? On glance it seems well coded and well integated, so I believe merge should be possible. Perhaps the type.js, types.js and static_typing.js in subdir core/typing ?

I'm not quite sure how a flag would help with merging upstream code as it will still be present in the codebase and git conflicts could still occur. Do you mean you would like to remove all the Ardublockly features and use "plain blockly" with the new blocks? Unfortunately, that would not really be possible (unless you use BlocklyDuino blocks, but then you could just update the blockly version in BlocklyDuino), as the Arduino blocks depend on these features to be present.

Is it possible to keep on supporting the changes in blockly as present in ardublockly, would it not be good to contribute in blockly directly? I'm somewhat afraid of using ardublockly version, and not having the goodies Google might introduce in blockly.

I have submitted pull request for all the bug fixes implemented in Ardublockly, so all those are now part of Blockly upstream. However significant changes like the Static Typing are very specific to this implementation, and would probably require additional work to ensure full compatibility.
Apart from that you'd be able to see that, from inception, Ardublockly has stayed pretty close to Blockly upstream, and I plan to keep it that way. But of course, we never know what is going to happen in the future, so I've tried to keep all changes as "self contained" as possible, so hopefully it should not be an arduous task for other developers to sync more often.

As a specific remark on static typing, if no type, void is used in Arduino. It would be better that int is used in those cases for Arduino code, less possibility for bugs. So some default type for null, and actual void in Arduino as a type 'None' or 'NoType' ?

Do you mean the Blockly.Types.NULL type? I'm not quite sure I've followed the question correctly, could you elaborate a little bit more?

First, I'm not a javascript coder, and only worked on this a couple of days, so I'm not into the code. Just trying to understand how things fit together.
To elaborate, I did not integrate the static typing changes in core blockly blocks for my code yet. All code seems to still works like that, except I need to hack static typing to assign a value of NUMBER
https://github.com/bmcage/blockly/blob/arduino/core/ardublockly/static_typing.js#L66
Unknown stuff then obtain an int value, which is fine in Arduino as long as you don't use it (http://stackoverflow.com/questions/4260048/c-function-defined-as-int-but-having-no-return-statement-in-the-body-still-compi)
There are errors in the branch with that, specifically created variables not showing up in variable drop down boxes. I'll think it over some, and I will probably merge your blockly changes. Nevertheless, having the code work, seems to indicate changes need not be as big to integrate static typing changes back into blockly proper.
This links back to the Blockly.Types.NULL question. As I have blocks that don't use static typing mixed with static typing blocks, those blocks get assigned void as type. Just like blocklyduino, always using int in that case seems a better default than void which will not even compile with Arduino. Once I move to your version of blockly it should not be an issue for me though.
I understand merging static typing upstream would be a difficult task, but refractoring the current type check system (https://developers.google.com/blockly/custom-blocks/type-checks), so that the static typing patch needed ardublockly becomes smaller, seems doable.

I see what you meant now with undefined types in bmcage/blockly/core/ardublockly/static_typing.js#L66, for that I would recommend to keep the UNDEF type where it was originally (as it indicates the variables has not had its type defined yet), an instead change how it gets converted into Arduino code carlosperate/ardublockly/blockly/generators/arduino.js#L360. The problem with having the NUMBER type in the else statement, is that if you have a statement block that is trying to defer type assignment  to any lower block (block list starts from top to bottom), then having that else would just force that variable to be set to a Number.
To see what I mean you can compared in http://ardublockly.embeddedlog.com/demo/ the following two examples:
<xml xmlns="http://www.w3.org/1999/xhtml">
  <block type="variables_set" x="36" y="100">
    <field name="VAR">item</field>
    <value name="VALUE">
      <block type="variables_get">
        <field name="VAR">i</field>
      </block>
    </value>
    <next>
      <block type="variables_set">
        <field name="VAR">i</field>
        <value name="VALUE">
          <block type="variables_get">
            <field name="VAR">i</field>
          </block>
        </value>
      </block>
    </next>
  </block>
</xml>

vs
<xml xmlns="http://www.w3.org/1999/xhtml">
  <block type="variables_set" x="36" y="100">
    <field name="VAR">item</field>
    <value name="VALUE">
      <block type="variables_get">
        <field name="VAR">i</field>
      </block>
    </value>
    <next>
      <block type="variables_set">
        <field name="VAR">i</field>
        <value name="VALUE">
          <block type="variables_get">
            <field name="VAR">i</field>
          </block>
        </value>
        <next>
          <block type="variables_set">
            <field name="VAR">i</field>
            <value name="VALUE">
              <block type="text">
                <field name="TEXT"></field>
              </block>
            </value>
          </block>
        </next>
      </block>
    </next>
  </block>
</xml>

With your change, the second example would probably resolve in an int type for both variables.
When you say the blocks without static typing get assigned "void" as a type, do you mean the blocks get assigned Blockly.Types.NULL? Which would then be "translated" to void in the Arduino code as per https://github.com/carlosperate/ardublockly/blob/master/blockly/generators/arduino.js#L358-L359 ? That would be because the blocks don't have the getVarType() function and get NULL assigned https://github.com/bmcage/blockly/blob/arduino/core/ardublockly/static_typing.js#L153. That is probably the best place to change this behaviour, however for the time being I'd prefer to leave NULL as it indicates the variable has no type assigned, which would indicate a bug on the blocks or the "static typing" parsing of the variables. I do agree with you that having it fall back to int would be much safer, perhaps a new type just to indicate this should be created, so that a fallback can be set up on the builds, but a different C keyword is used during debugging.
About merging into upstream, I think the current static typing implementation needs a bit more testing to ensure it's stable enough. Even though I do believe Neil already has plans for this in the future, so I'm not sure what type of implementation he was thinking for Blockly proper.

Thanks for all the info, I'll try it out the following days.


Solution explorer unusable (show/hide/delete/.. files)

Steps to reproduce (my exact setup is at bottom of this post):
create new blank node typescript project
install the npm packages i have installed ( see bottom of post). do NOT add node_modules to project
how try doing show/hide all files (button at top of solution explorer) multiple times and see how slow it is. this also seems to effect the performance of deleting files from the solution explorer negatively.
further observations:

hiding node_modules folder (in windows) with npm 3.x fixes the problem, but ONLY if there are no typescript files in the project, which obviously is never the case. hide node modules and add 3 files with "import bla = require("./somefile")" (to explorer, not the project) and the problem is there again. only removing node_modules on npm 3.x fixes the problem
using npm 2.x while hiding node_modules in explorer fixes the problem for good. as i said using npm 3.x i have to remove the node_modules folder to fix the problem, but then i can't use node without node_modules..
node.js intellisense is set to "no intellisense" and "save to disk" is set to "disabled"
so obviously NTVS is doing something or too much of which it should not do when performing actions in the solution explorer

	i'm using:
	- windows 7 x64 pro
	- npm 3.3.2
	- visual studio ultimate 2013 update 5
	- NTVS 1.1 RC2
	- NOT using resharper (disabled)
           - typescript 1.6 (the beta that came out)

my packages:
"URIjs": "^1.16.0",
"async": "^0.9.0",
"asyncawait": "^0.7.4",
"beepbeep": "^1.2.0",
"bluebird": "^2.9.33",
"bower": "^1.4.1",
"browser-sync": "^2.0.0-rc9",
"browserify": "^10.2.3",
"browserify-shim": "^3.8.9",
"chai": "^3.2.0",
"chalk": "^1.1.1",
"del": "^1.1.1",
"elementtree": "^0.1.6",
"event-stream": "^3.3.1",
"exorcist": "^0.4.0",
"exposify": "^0.4.3",
"extend": "^3.0.0",
"fs-extra": "^0.16.3",
"globby": "^1.2.0",
"gulp": "gulpjs/gulp#4.0",
"gulp-batch": "^1.0.5",
"gulp-cached": "^1.1.0",
"gulp-concat": "^2.5.2",
"gulp-count": "^0.1.0",
"gulp-debug": "^2.0.1",
"gulp-filter": "^2.0.2",
"gulp-if": "^1.2.5",
"gulp-inject": "^1.1.1",
"gulp-insert": "^0.4.0",
"gulp-order": "^1.1.1",
"gulp-plumber": "^1.0.0",
"gulp-remember": "^0.3.0",
"gulp-rename": "^1.2.2",
"gulp-replace": "^0.5.4",
"gulp-sourcemaps": "^1.5.1",
"gulp-sync": "^0.1.4",
"gulp-tap": "^0.1.3",
"gulp-typescript": "https://github.com/arogg/gulp-typescript/tarball/master",
"gulp-util": "^3.0.4",
"lazypipe": "^0.2.3",
"lodash-node": "^3.5.0",
"longjohn": "^0.2.7",
"main-bower-files": "^2.6.2",
"merge-stream": "^0.1.7",
"microtime": "^1.4.2",
"mocha": "^2.2.5",
"node-windows": "^0.1.7",
"npm": "^2.13.0",
"path-posix": "^1.0.0",
"pretty-data": "^0.40.0",
"promethify": "^0.1.0",
"proxyquire": "^1.7.1",
"ps-node": "0.0.4",
"source-map-support": "^0.3.2",
"stream-series": "^0.1.1",
"stream-to-promise": "^1.0.4",
"temp": "^0.8.1",
"through-pipes": "0.0.4",
"through2": "^0.6.5",
"tsd": "^0.5.7",
"tsify": "^0.11.2",
"typescript": "^1.5.3",
"typescript-require": "https://github.com/arogg/typescript-require/tarball/master",
"underscore.string": "^3.1.1",
"vinyl-source-stream": "^1.1.0",
"watchify": "^3.2.1",
"winston": "^0.9.0",
"xtend": "^4.0.0",
"yargs": "^3.15.0"

Thanks for the report. If you just open the TypeScript file as a loose file (i.e. outside the context of a Node project) do you see the same behavior also? I'm trying to determine if this is purely a TypeScript issue, or if NTVS is involved.
Another useful test would be to add a 'tsconfig.json' file to the root and exclude the node_modules folder, so that TypeScript doesn't crawl it looking for TypeScript files (see https://github.com/Microsoft/TypeScript/wiki/tsconfig.json ).
If you're able to try the above that would be helpful in narrowing the cause, else I'll try and set up a repro when I get time. Thanks!

I've tried to repo this using the provided info on NTVS 1.2 alpha but was unable to. @arogg If you are still running into this problem, please reopen this issue with some additional repo steps so we can better investigate. Thanks.


Kotlin KSP

It would be nice to have a module to use KSP to generate the DSL. Whenever KSP becomes mature, it would be better approach because it supports Kotlin Multiplatform.

it's done in v0.0.3 release


Enabling CORS cfr. documentation does not add the header?

Actual behavior (the bug)
Per the documentation, I try to add the 'Access-Control-Allow-Origin: *' header to my responses.
fun main() {
    val app = Javalin.create { config ->
        config.plugins.enableCors { cors ->
            cors.add { corsPluginConfig ->
                corsPluginConfig.anyHost()
            }
        }
    }.start(8080)
    app.get("/") { ctx -> ctx.status(HttpStatus.OK)}

    Thread.sleep(60000)
}

But the header isn't added:

Expected behavior
Header 'Access-Control-Allow-Origin: *' added to responses
To Reproduce
See above.
Additional context
This is at least bad documentation of the plugin here: https://javalin.io/plugins/cors#getting-started
The literal example that is there for enabling CORS does not do what is expected.
Javalin 5.5.0

@Playacem Am I misunderstanding how this should work, or... ?

Cors is only relevant in a cross origin request situation. Your request is a same origin request. The plugin only at the header when necessary. Your browser sends a origin header in a cross origin request situation. That is not the case in your example.
The mdn article has a very good explanation for this: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
I think there is also an example that shows this in the Javalin code base using two servers.


use mingw g++ take error~~

Duplicate of https://github.com/GodotNativeTools/godot-cpp/issues/376


Added error information to the ConnectionFailed events in USB and Blu…

…etooth.

This pull-request is an improvement and not a fix, and needs to be aimed at develop for the next release.

These changes have been tested and confirmed on Windows 8.1 Desktop and Phone


[autohold playbook] Add missing bracket

https://github.com/openstack-k8s-operators/ci-framework/pull/2607 missed a bracket and that results into an error.
Related-Issue: OSPRH-12508

/approve

/approve


Different bet  Transaction cost & Execution cost

What is the difference between Transaction cost & Execution cost for external function?

Transaction cost is the amount of ether spend to actually send / validate the tx in the network.
Execution cost is the amount of ether spend to actually execute the code that should run the tx.


Update documentation

Add info to the Developer Guide and update Xenos' PPP.

LGTM, but there doesn't appear to be any changes to the DG?

Yup, still in progress! Still working on the DG changes. When I'm done, I'll mark this PR as ready to review


Slack user sees crafted award message

Slack message text should be:
@noah received a 100 coin small contribution award for "great design!" on the 3D Printer Quadcopter project.
:+1:
With description it's:
[slack id] received a [amount] coin [award name] award for "[description]" on the [project_name] project.
:+1:

Without description it's:
[slack id] received a [amount] coin [award name] award on the [project_name] project.
:+1:

Note that the slack id should function as an actual slack id in slack. It should ping the user that they have been mentioned. It looks like the current version treats ids like @noahthorp as just text.

@aquabu I recommend we replace the [project_name] project with just [project_name] -- I think it will work for a much wider variety of names.

@harlantwood ok


[release/1.7] Register imagePullThroughput and count with MiB

/kind bug
Cherry-pick of https://github.com/containerd/containerd/pull/8337 into release/1.7 branch.

Would you please use git cherry-pick -xs ? thanks!

Would you please use git cherry-pick -xs ? thanks!

Done. PTAL.

@ialidzhikov I fixed the ci issue by https://github.com/containerd/containerd/pull/9874. Please rebase and push it again. Thanks!

@ialidzhikov I fixed the ci issue by #9874. Please rebase and push it again. Thanks!

Done.


python: upgrade PromptTemplateEngine (bring back to parity w/ C# version)

Motivation and Context
The C# Semantic Kernel has recently undergone an upgrade to its PromptTemplateEngine. This brings Python back in line with the semantics of Prompt Templates in C#.
Description
Here, unlike the original port, I've tried to make things more pythonic/idiomatic (instead of trying to directly mirror the C# codebase). I've also brought over the corresponding unit tests (and added some of my own as I was building/validating).
Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows SK Contribution Guidelines (https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
[x] The code follows the .NET coding conventions (https://learn.microsoft.com/dotnet/csharp/fundamentals/coding-style/coding-conventions) verified with dotnet format
[x] All unit tests pass, and I have added new tests where possible
[x] I didn't break anything :smile:

Whoops, this got out of sync a bit --- let me close this, bring some things back in line, and open a fresh PR


Unmanaged style layer disappears when sorting

Feature is selected
Layer is dragged below other layer
Feature does not appear selected anymore

In fact, also the hover style is gone.
Peek 2024-01-16 17-09.webm

I feel like this is a general issue with reordering if we have temporary layers. It would be nice to see if it happens with "vanilla" OL manipulation in order to make sure it's not a bug in layercontrol.

I managed to reproduce this issue in a codesandbox: https://codesandbox.io/p/sandbox/temporary-layers-2ccxlx
The issue is not connected to the layercontrol, so I'll go ahead and remove the layercontrol label.

@RobertOrthofer I don't get why the removeAt and insertAt functions should be a non-API-way of removing/adding layers from the viewpoint of ol?  :thinking: How else could we do the layer sorting in vanilla ol? I am aware of map.removeLayer, but it doesn't work in groups, and how to re-add the layer after sorting is done?
Having said that, I can't reproduce the sandbox code issue either in 1.2.0, it seems that the interaction is not removed together with the layer any more (even with map.removeLayer, and even when using the eox-map layers property), so hover etc. still there even if the layer is gone. In 1.1.0 it removes the layer + interaction, but it does not come back after re-inserting the layer.

Fixed in #1078


Textual defintions for the design patterns for cell differentiation and children

Hello,
Working on design patterns this week - these are proposed textual definitions for cell differentiation and children.
Proposed textual definitions patterns:

[ ] GO:0030154 cell differentiation:
-> pattern for children:  The cell differentiation process in which a cell acquires the specialized features of a %s cell.

[ ] GO:0045165 cell fate commitment
-> pattern for children: The cell fate commitment process by which a cell becomes restricted to develop into a %s cell.

[ ] GO:0001709 cell fate determination:
-> pattern for children:  The cell determination process in which a cell becomes capable of terminally differentiating autonomously into a %s cell.

[ ] GO:0001708 cell fate specification
-> pattern for children: The cell fate specification process in which a cell will be committed to terminally differentiate into a %s cell if left in its normal environment.

[ ] GO:0048468 cell development:
-> pattern for children:  The cell development process in which a committed %s cell becomes a mature %s cell.

[ ] GO:0048469 cell maturation:
-> pattern for children:  The cell maturation process in which an immature %s cell becomes a mature %s cell, independent of morphogenetic (shape) change.

[ ] GO:0000904 cell morphogenesis involved in differentiation:
-> pattern for children:  The cell morphogenesis process in which an immature %s cell becomes a acquires the shape of a mature %s cell.

@ukemi
@vanaukenk

I don't think cells need to go from immature to mature in the process of morphogenesis.
The cell morphogenesis process in which a %s cell acquires shape as part of its differentiation. @vanaukenk


Tested latest versions and updated info

Just tested the Sketch Preview plugin with Sketch 3.4 (15575), Skala Preview 2.0 (207), and Skala View for Android 2.0. All behaved as expected. ～(￣▽￣～)

I ran into an issue in my own testing, but it seems to be working in the latest beta. Thanks for the PR!


TypeScript instead?

Consider using TypeScriptToLua. Main difficulties will be related to the use of metatables.

Moved to GObject/Rust instead, Lua wasn't worth the hassle.


Update CUDA/cuDNN libraries on GPU runners

What problem are you trying to solve?
We’re looking to upgrade our tensorflow dependency in 2.8.x. The new version is no longer compatible with the CUDA/cuDNN libraries we have installed on our GPU runners (see here).
We may need to maintain multiple CUDA versions (to support older TF versions/other branches).
What's your suggested solution?
No response
Examples (if relevant)
No response
Is anything blocking this from being implemented? (if relevant)
No response
Definition of Done
No response

Just FYI we're now targeting tensorflow 2.6 (originally the plan was 2.5). Shouldn't make a difference (since it's compatible with the same libraries as 2.5).


Selecting an overline on Windows breaks the overline rendering

Issue Summary
On Windows, when selecting a Mathjax-rendered Latex expression such as overline \overline{AB}, the overline will appear as a dashed line instead of being a continuous line, such as when its unselected.
Steps to Reproduce

On Windows platform
Render the following Latex expression:\overline{AB+CD}
Select the rendered expression with the mouse
Observe the result:

Technical details:

MathJax Version: 2.7.1 (release)
Client OS: Windows 10
Browser: Latest Chrome / Firefox / Internet Explorer / Edge

That's expected behavior.
The overline is, in fact, made up of individual dashes (in HTML-CSS and CommonHTML) and highlighting will make this apparent.


Spearbit 72

Description
Fix https://github.com/spearbit-audits/connext-nxtp/issues/72

Type of change

[ ] Docs change / dependency upgrade
[ ] Configuration / tooling changes
[ ] Refactoring
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Requires changes in customer code

High-level change(s) description - from the user's perspective

Related Issue(s)
Fixes
https://github.com/spearbit-audits/connext-nxtp/issues/72
Related pull request(s)

Closing this.
Should make the changes to inherit OZ ERC20 and ERC20Permit discussed https://github.com/spearbit-audits/connext-nxtp/issues/72#issuecomment-1307061784 in #2350


initialRegion not working on Android

Tried rendering the example for initialRegion. Works fine on ios, but on android the map is zoomed out and centered on (0, 0)
<MapView
    initialRegion={{
      latitude: 37.78825,
      longitude: -122.4324,
      latitudeDelta: 0.0922,
      longitudeDelta: 0.0421,
    }}
  />

@grigored What version are you on?

https://github.com/airbnb/react-native-maps/commit/fd8dc08ffaa0fadbaa73d9e29033a16f808e318f Could be the cause of the issue.
If you're on 0.16.1 can you try 0.16.0 and see if it works?

I had a look at that pr before posting this issue, but i didn't think it can be the cause. Just tested with 0.16.0, and it's the same

I originally had 0.16.1

I'm sorry, I used "^0.16.0" and that actually installed 0.16.1. I tested again and I can confirm on 0.16.0 android is working fine, so https://github.com/airbnb/react-native-maps/pull/1546 broke it.

@pellepersson Was this the breaking change you were referring too?

I've got this problem too, I may have an idea on how to repair my PR but I can only work on it by tomorrow.

Ok keep me posted tomorrow. If not I'll revert and do  a new release until we can figure it out.

@christopherdro should be fixed now in https://github.com/airbnb/react-native-maps/pull/1563 , works for me now

I just tested both Android and iOS and it works fine! Thanks for the quick fix @foyarash

@grigored no problem, that was my mistake so I had to fix it as fast as possible :)

@foyarash , i just noticed there's another bug, but this one happens on 0.16.0 as well: on android, when using initialregion, the map is first centered on 0,0 and zoomed out, as if initialregion was not defined, and then after 2 seconds it centers on the defined initialregion.
My code is as in the example:
<MapView
    initialRegion={{
      latitude: 37.78825,
      longitude: -122.4324,
      latitudeDelta: 0.0922,
      longitudeDelta: 0.0421,
    }}
  />

@grigored I think InitialRegion sets to true coordinates after second render. Becouse If I change Mob-X state, map reloads good, with true coordinates.

same with me.. I replace initialRegion with Region

Should be fixed in https://github.com/airbnb/react-native-maps/releases/tag/v0.16.2

Yes it is fixed in 0.16.2. I ended up making my component controlled, and using region (not initialRegion), and onRegionChangeComplete={region => this.setState({region})}.


Android- SQLITE_IOERR_GETTEMPPATH 6410 on very complex queries

I'm running into an issue that occurs with complex queries on big-ish (~50mb) databases on Android using the ffi/sqlite3 library.
When running the query, I get an error code 6410 (SQLITE_IOERR_GETTEMPPATH):
SqliteException(6410): disk I/O error, disk I/O error (code 6410)
/flutter (17699): #0      throwException (package:sqlite3/src/impl/exception.dart:32:3)
I/flutter (17699): #1      PreparedStatementImpl.select (package:sqlite3/src/impl/statement.dart:59:7)
I/flutter (17699): #2      _VmDelegate.runSelect (package:moor/src/ffi/vm_database.dart:128:25)
I/flutter (17699): #3      _ExecutorWithQueryDelegate.runSelect.<anonymous closure> (package:moor/src/runtime/executor/helpers/engines.dart:41:19)
I/flutter (17699): #4      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:32:26)
I/flutter (17699): #5      _ExecutorWithQueryDelegate._synchronized (package:moor/src/runtime/executor/helpers/engines.dart:22:26)
I/flutter (17699): #6      _ExecutorWithQueryDelegate.runSelect (package:moor/src/runtime/executor/helpers/engines.dart:39:26)
I/flutter (17699): #7      _MoorServer._runQuery (package:moor/src/runtime/isolate/server.dart:89:25)
I/flutter (17699): <asynchronous suspension>
I/flutter (17699): #8      _MoorServer._handleRequest (package:moor/src/runtime/isolate/server.dart:57:14)
I/flutter (17699): #9      IsolateCommunication.setRequestHandler.<anonymous closure> (package:moor/src/runtime/isolate/communication.dart:163:31)
I/flutter (17699): #17     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)

From what I researched, this seems to happen that the intermediate results for sqlite where too big to handle them in-memory, but sqlite could not find a tempory directory to store the result.
Luckily, I found a fix/workaround:
According to https://stackoverflow.com/questions/44766917/sql-logic-error-only-when-querying-on-android ,
this can be fixed by setting a pragma:
if(Platform.isAndroid){
   final cachebase =  (await getTemporaryDirectory()).path;
   db.customStatement("PRAGMA temp_store_directory = '$cachebase';");
}

I'm a little bit concerned though, since this pragma is deprecated according to https://www.sqlite.org/pragma.html#pragma_temp_store_directory
I'm just wondering if we can do anything to have this 'just work' for other users?
Where do you get the sqlite library, that is shipped with sqlite3_flutter_libs, from? Do you compile it yourself? If yes, then maybe it is possible to set a compiler flag so that this does not happen.

Do you compile it yourself? If yes, then maybe it is possible to set a compiler flag so that this does not happen.

Yes, we use a "custom" (some compile-time options set) sqlite, the definition is here.
I added a compile-time option to use an in-memory store for temporary operations because of #667. That fixed a problem with non-small queries, but apparently it's not enough for big databases.

this pragma is deprecated

Fortunately, the underlying sqlite3_temp_directory variable isn't deprecated and we can expose it from package:sqlite3. The documentation warns about using it, but since the default behavior is broken on Android we're pretty much forced to set that variable.
I've just published sqlite3: 0.1.7, in which you can set the temporary directory used by sqlite:
import 'package:sqlite3/sqlite3.dart';

// Do this once, before opening a database
Future<void> init() async {
  if (Platform.isAndroid) {
    final cachebase =  (await getTemporaryDirectory()).path;
    sqlite3.tempDirectory = cachebase;
  }
}

You might need this one as well:
VmDatabase(
  setup: (database) {
    if (Platform.isAndroid) database.execute('PRAGMA temp_store = FILE');
  }
);

It's hard to make this an "it just works" solution since getTemporaryDirectory() is Flutter-only. I could make it a utility function sqlite3_flutter_libs if this improves the situation.

Wait, we already use SQLITE_OMIT_DEPRECATED, so my understanding is that the temp_store_directory pragma shouldn't be available in the first place. Are you using sqlite3_flutter_libs to include libsqlite3.so?

Are you using sqlite3_flutter_libs to include libsqlite3.so?

yes, I'm using
  moor: ^3.3.1
  sqlite3_flutter_libs: ^0.2.0

Maybe the wrong sqlite 3 library gets loaded for some reason? Or the SQLITE_OMIT_DEPRECATED does not actually do what the documentation says?
I get the following sqlite3 library version and set pragmas:
I/flutter (19119): Moor: Sent select sqlite_version(); with args []
I/flutter (19119): dbOpen version: {sqlite_version(): 3.32.3}
I/flutter (19119): Moor: Sent SELECT * FROM pragma_compile_options; with args []
I/flutter (19119): dbOpen - pragma {compile_options: COMPILER=clang-9.0.8}
I/flutter (19119): dbOpen - pragma {compile_options: ENABLE_FTS5}
I/flutter (19119): dbOpen - pragma {compile_options: ENABLE_JSON1}
I/flutter (19119): dbOpen - pragma {compile_options: ENABLE_RTREE}
I/flutter (19119): dbOpen - pragma {compile_options: HAVE_ISNAN}
I/flutter (19119): dbOpen - pragma {compile_options: MAX_EXPR_DEPTH=0}
I/flutter (19119): dbOpen - pragma {compile_options: OMIT_AUTHORIZATION}
I/flutter (19119): dbOpen - pragma {compile_options: OMIT_DECLTYPE}
I/flutter (19119): dbOpen - pragma {compile_options: OMIT_DEPRECATED}
I/flutter (19119): dbOpen - pragma {compile_options: OMIT_GET_TABLE}
I/flutter (19119): dbOpen - pragma {compile_options: OMIT_LOAD_EXTENSION}
I/flutter (19119): dbOpen - pragma {compile_options: OMIT_PROGRESS_CALLBACK}
I/flutter (19119): dbOpen - pragma {compile_options: OMIT_SHARED_CACHE}
I/flutter (19119): dbOpen - pragma {compile_options: OMIT_TCL_VARIABLE}
I/flutter (19119): dbOpen - pragma {compile_options: OMIT_TRACE}
I/flutter (19119): dbOpen - pragma {compile_options: THREADSAFE=2}
I/flutter (19119): dbOpen - pragma {compile_options: UNTESTABLE}
I/flutter (19119): dbOpen - pragma {compile_options: USE_ALLOCA}
```dart

Actually, it seems that SQLITE_OMIT_DEPRECATED does not guarantee to drop support:

> This pragma *may* be omitted from the build when SQLite is compiled using SQLITE_OMIT_DEPRECATED.

Using sqlite 0.1.7 and using
bool _hasInitializedSqlite = false;

// Do this once, before opening a database
// see https://github.com/simolus3/moor/issues/876
Future<void> _ensureSqlite3Initialized() async {
  if(_hasInitializedSqlite){
    return;
  }
  //TODO prevent duplicate execution using synchronized?
  if (Platform.isAndroid) {
    final cachebase =  (await getTemporaryDirectory()).path;
    sqliteLib.sqlite3.tempDirectory = cachebase;
  }
  _hasInitializedSqlite = true;
}

Fixes this for me.


Download Completes with Error

Hi @Seo-Rii
First thanks for the tool
Files are downloaded but the following error message is thrown
λ Webtoon_Downloader -s 9 -f 9 naver 728750 .\dl
  0%|
raceback (most recent call last):
  File "Webtoon_Downloader.py", line 180, in <module>
  File "Webtoon_Downloader.py", line 126, in downWebtoon
UnboundLocalError: local variable 'laRunningThreadNo' referenced before assignment
[10300] Failed to execute script Webtoon_Downloader
  0%|

Fixed on 3b53de1a9999ec8bbd33d2d9251b8abf347c3e05.


src/tcmalloc.cc:283] Attempt to free invalid pointer 0x5b75557939d0

receives this error with the SDXL Finetuning and SDXL Lora Finetuning Colab Notebooks:
src/tcmalloc.cc:283] Attempt to free invalid pointer 0x5b75557939d0
It seen when you reach "3.4. Bucketing and Latents Caching" these return and again when you start the training.
was working before, unsure what caused that?

as recommended elsewhere where other found the same error, i commented out the libtcmalloc.so
def prepare_environment():
#    os.environ["LD_PRELOAD"] = "libtcmalloc.so"
    os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3"
    os.environ["SAFETENSORS_FAST_GPU"] = "1"
    os.environ["PYTHONWARNINGS"] = "ignore"

this fixed the problem for them and it also works here.


Bluebox/sanitizer crash

Was running 10 vdf_clients in sanitize mode on benstl.chia.net and fullnode threw this error and timelord stopped doing anything:
17:37:33.910 full_node root                    : ERROR    unhandled mapping function <function partial_async.<locals>.inner at 0x7f46c3446af0> worker exception on (<StreamReader eof transport=<asyncio.sslproto._SSLProtocolTransport object at 0x7f46a7dbe880>>, <StreamWriter transport=<asyncio.sslproto._SSLProtocolTransport object at 0x7f46a7dbe880> reader=<StreamReader eof transport=<asyncio.sslproto._SSLProtocolTransport object at 0x7f46a7dbe880>>>, None, True, False)
Traceback (most recent call last):
  File "/home/hoffmang/chia-blockchain/venv/lib/python3.8/site-packages/aiter/simple_map_aiter.py", line 27, in simple_map_aiter
    yield await _map_f(_)
  File "/home/hoffmang/chia-blockchain/src/util/partial_func.py", line 21, in inner
    return await f(first_param, *args)
  File "/home/hoffmang/chia-blockchain/src/server/pipeline.py", line 161, in stream_reader_writer_to_connection
    con = ChiaConnection(
  File "/home/hoffmang/chia-blockchain/src/server/connection.py", line 46, in __init__
    self.local_host = socket.getsockname()[0]
AttributeError: 'NoneType' object has no attribute 'getsockname'

debug.log
It seems that timelord stopped launching vdf_clients earlier but I don't see an obvious error.

crash.log
This was with 0.12.25b

And this is a new error running chia-blockchain/master with 0.12.25b0
crash.log

Full debug log from that run:
debug.log

vdf_clients do seem to be stopping now however

I'm going to resolved this as fixed as it seems that the problem was over in peer gossip.


[BUG] The widget does not get zoomed in when typing on mobile.

Currently when typing in the widget on mobile, the widget is zoomed in to show the text input. This means that the 'send' button is not visible until zoomed out again.
Screen recording of the current state:
https://github.com/user-attachments/assets/c17beb15-d219-4c04-a8d6-5aa47850b88b

Acceptance testing blocked since test.buerokratt.ee does not have a mobile view. Will have to be tested in PROD.