Frequency of update of data in Home Assistant too Low

I hope I'm doing this correctly - First time I've raised an issue.
I'm trying to eliminate the need to have the Trio IHD close by in order to see changes in Electricity Usage as an when they happen.
I have nodeRed running inside Home Assistant and have a dashboard that monitors and controls all my energy usage. I only recently found the Geo Home integration and see that it provides me with all the information I need except....
The data in Home Assistant only appears to be updated every 4 or 5 minutes. The Geo Apps themselves update almost instantaneously with The IHD - even when the app is being run in an emulator on a PC.
Cost Data seems to be updated even less frequently but I'm not too worried about that. I just want to be able to see what impact on immediate usage, turning an appliance on or off has.
Hope this explains the problem and that a resolution is forthcoming

The data is updated every 120 seconds at the moment (including the cost data). I do have a concern that, unlike the app, this is running 24x7. So while the app may update faster, you only keep the app open for a shorter time, so the overall api calls per day may be lower. If everyone starts hitting the server very frequently due to this integration polling too rapidly, there is a danger that Geo Home shut down api access completely. This limit is an attempt to be responsible about the frequency for the sake of everyone.


This Awesome project

But i cant find how to get data from phoenix news ? notting end point

i have removed the phoenix news


Merge/Contract close instructions

The instruction generation does not know much about the context of the route, it knows the last and the next edge. Also it considers surrounding edges, but not the whole path.
When knowing the whole path we can check instructions that are close to each other if one instruction might make the second instruction redundant (or vice versa).
For example roundabouts:
Some roundabouts have an extra lane, meant to be used for shortcutting the first exit of the roundabout. If we don't take the shortcut we oftimes create "KEEP_LEFT" followed by the roundabout instruction. http://localhost:8989/?point=48.680077%2C9.367062&point=48.679121%2C9.366644
The same might happen when leaving a roundabout. I think it would be obvious to everyone that when leaving the roundabout via the 2nd exit, the shortcut should not be taken.
Also see @karussell comment in #955:

if turns are <10m away should we consider merging them or how to properly guide a walking person?

http://localhost:8989/?point=49.942248%2C11.545016&point=49.942438%2C11.543326&locale=de&vehicle=foot
http://localhost:8989/?point=49.936265%2C11.530414&point=49.9366%2C11.529974&locale=de&vehicle=foot

I think we have to collect a couple of use-cases where merging/contracting Instrucions makes sense, to decide what steps we should take.
TODO: Replace localhost links once the improved instructions are deployed

Probably that handling is more appropriate in app level (where the requirements vary) than being forced by the library?
So an option to turn it on / off could be useful via e.g. request hint.

Maybe @devemux86 is right. Also you @boldtrn mentioned that you would prefer this (in another issue)?

Probably that handling is more appropriate in app level (where the requirements vary) than being forced by the library?

Also you @boldtrn mentioned that you would prefer this (in another issue)?

Yes, generally speaking I think this is still true. But there might be situations where we always want to contract/remove turn instructions.
So my idea was to have a correction loop after creating the instructions that uses the knowledge about the graph + the context of all instructions. In this loop we could for example remove the unnecessary instruction at roundabouts. It would be wrong to remove all slight_turns that are closer than 50m to a roundabout instruction (that's what I could do on app level), but it might be good to remove all of the slight turn instructions before a roundabout that do not include a street name change.
I added your comments (@karussell) to the issue because they seem to be related. For example how about instructions that are only 1m away? For example I could think of this scenario:
|    <-- Road A
--------    <--- Road B
|    <-- Road A
|
|     [ Travel direction is bottom up ]
At the crossing of Road A and B, Road A is only slightly displaced (to the right).
The instructions would be: Turn right, After 50 cm turn left.
So if the road name stays consistent and Road B is a different highway type, we could completely ignore the instruction. This is obviously made up and I don't know if such a situation exists in real life, but I think we will see a couple of these issues that are solvable by knowing the context. So we should collect a couple of them to get a better feeling of the issue.
I think I will update my description above to better match my thoughts :).


CollisionObject3D Gizmo not updated after changing collision with shape_owner_* functions in a @tool script

Godot version
v4.1.2.stable.arch_linux
System information
Arch Linux
Issue description
When using shape_owner_* functions to add/remove collision shapes on a CollisionObject3D (and classes derived from it) in a tool mode script, the new shape is not visible in the editor until after deselecting & reselecting the node, or after the scene (tree) is reloaded. (Either by closing and reopening it, or by switching scene tabs.)
Most likely because the gizmo that handles showing this shape (CollisionObject3DGizmoPlugin) is not redrawn when the shape owners and their shapes change. The function responsible for drawing the shapes is:
https://github.com/godotengine/godot/blob/4c96e9676b66d0cc9a25022b019b78f4c20ddc60/editor/plugins/gizmos/collision_object_3d_gizmo_plugin.cpp#L60-L86
Steps to reproduce

In a new scene, create a CollisionObject3D derived node (Like StaticBody3D) and attach the following script to it:

@tool
extends CollisionObject3D

var shape_owner:int
var shape
@export var collision:Shape3D:
    get:
        return shape
    set(value):
        shape = value
        if get_shape_owners().size() == 0: shape_owner = create_shape_owner(self)
        shape_owner_clear_shapes(shape_owner)
        if shape: shape_owner_add_shape(shape_owner, shape)

Set the exported variable in the editor by adding a collision shape.

Notice how the visualization of the collision shape has not changed

Deselect and reselect the node, or change scene tab between another scene and this scene, or save, close and reopen the scene

Notice that the new collision shape is now visible

Minimal reproduction project
collisionobject3d-gizmo-test.zip

Confirmed.


[EDCO-15] Header Component

Description
Adds Header Component & related stories
Fixes # (edco-15)
Type of change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

[x] Storybook
[x] Visual testing

Note that the dropdown and mobile designs are currently missing. The dark theme is also missing but I added it by replicating the design of the other components.

Note that the dropdown and mobile designs are currently missing. The dark theme is also missing but I added it by replicating the design of the other components.

I see some update on Figma about the Header Component. I think now you have more elements to work on.
https://www.figma.com/file/6Hn7Wxmvg6eCSqsMrIP7VU/CMS---UI-Components-%26-Templates?node-id=1084-71992&t=qWePooSLePxT4gGx-0

Added a default mobile and desktop Dropdown item in addition to accepting any jsx element and refactored the DialogBubble as a separate component


Fixes to Russian page for Traceroute

Translation mistakes fixed
grammer fixed
local title fixed

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


Installation does not work using homebrew-installed boost-python

Get this message: ld: library not found for -lboost_python-py34
Here's what I got in /usr/local/lib I have after installing boost-python via homebrew:
libboost_python3-mt.a
libboost_python3-mt.dylib
libboost_python3.a
libboost_python3.dylib
I was able to workaround the issue by symlinking: sudo ln -s /usr/local/lib/libboost_python3.a /usr/local/lib/libboost_python-py34.a
I should note that I'm also using virtualenv. I can try to do some more troubleshooting later.

Hi @garyjohnson - I haven't tried building this in a virtualenv before, so that might explain the issue. It might also depend on whether you installed python 3 with brew, but I'm not sure. If I get some time I'll try and look into the issue for you.


Multiple database support

Knex.js allows us to use multiple database configurations at the same time. Developers should be able to select a different connection for models.
Model Example
import { Model } from "axe-api"

class User extends Model {
  get connection() {
    return "database-1"
  }
}

export default User

import { Model } from "axe-api"

class Post extends Model {
  get connection() {
    return "database-2"
  }
}

export default Post

Configurations
Database.js
export default {
  "database-1": {
    client: process.env.DB_CLIENT,
    connection: {
      filename: "./db-1.sqlite",
      host: process.env.DB_HOST,
      user: process.env.DB_USER,
      password: process.env.DB_PASSWORD,
      database: process.env.DB_DATABASE,
    },
  },
  "database-2": {
    client: process.env.DB_CLIENT,
    connection: {
      filename: "./db-2.sqlite",
      host: process.env.DB_HOST,
      user: process.env.DB_USER,
      password: process.env.DB_PASSWORD,
      database: process.env.DB_DATABASE,
    },
  },
};

Application.js
import { LOG_LEVEL } from "axe-api";

export default async () => {
  return {
    env: process.env.NODE_ENV,
    port: process.env.APP_PORT,
    logLevel: LOG_LEVEL.INFO,
    defaultDatabase: "database-1"
  };
};

Discussions
I have no idea how we manage multiple databases for the migration files.

This issue will be reopened if requested in the future.


Is  cache remained if using goofys as multi mount in shell scripts ?

I use goofys in multi mount like one s3 bucket and two servers using goofys.
I think in multi mount environment, goofys can not operate  correctly.
For example, look at the below scripts and commands. In this case, goofys can not delete cache, and still maintain cache. However, when I execute same script in command lines, goofys delete cache correctly. In short, this problem is occurred only in using shell scripts.
So, let me know how I can use goofys correctly. Is this  my mistake in  goofys settings?
Thank you.
Server Unit 1
$ ./lsTest.sh
testFile
testFile　←This file should be already deleted because this cache should be expired.

#!/bin/bash
goofys -o allow_other -uid 0 -gid 0 --dir-mode=077 --file-mode=0777 --type-cache-ttl 10s --stat-cache-ttl 10s --cheap /mnt/goofys
ls /mnt/goofys/dir
touch /mnt/goofys/dir/testFile
ls /mnt/goofys/dir/tesrfile
sleep 15
ls /mnt/goofys/dir

Server Unit 2 (This is executed when Server Unit 1 execute sleep commnd.)
$ rm /mnt/goofys/dir/testfile

you are not using --cache so this is mostly just the linux vfs cache and inode caching within goofys. In that case yes you cannot expect goofys to know that you've deleted the file from another server/mountpoint. goofys is not a perfect replacement for NFS.

Hmm I didn't notice the 10s ttl in the command line. I am currently traveling so won't be able to look at this for another week or so.

Thank you for your reply. Ok, enjoy your traveling.


NetKVM: Prevent hanging in SendControlMessage

Windows with NetKVM has a little chance hang during shutdown.
If the NetKVM has not initialized yet (or reset), QEMU will ignore
the control message. It will cause driver hanging in infinite while loop
for waiting response (which leads to windows hang in shutdown). In our
test, there is a little chance to receive an OID for setting multicast list
after device reset. To make symptom more clear, I have added some log.
Below is the log and call stack when this situation happens:
Logs:
[ParaNdis_OnShutdown]=>
Common [ParaNdis_ResetVirtIONetDevice] Done
[ParaNdis_OnOidSetMulticastList] Go
[ParaNdis_UpdateDeviceFilters] Do
[CParaNdisCX::SendControlMessage] enter: 4277 - cls: 0, cmd: 0
CParaNdisCX::SendControlMessage - ERROR: in while
Assertion: *** DPC watchdog timeout
This is NOT a break in update time
This is most likely a BUG in an ISR
Perform a stack trace to find the culprit
The period will be doubled on continuation
Use gh to continue!!
Call stack:
kd> k
ChildEBP RetAddr
8b582530 83ab50be nt!KeAccumulateTicks+0x3c5
8b582570 83ab4f6b nt!KeUpdateRunTime+0x145
8b5825c8 83ab9c17 nt!KeUpdateSystemTime+0x613
8b5825c8 83a10122 nt!KeUpdateSystemTimeAssist+0x13
8b582680 8e16db70 hal!HalpTscStallExecutionProcessor+0xc0
WARNING: Stack unwind information not available. Following frames may be
wrong.
8b582700 8e16b216 netkvm+0x4b70
8b582730 8e16c418 netkvm+0x2216
8b582740 8e16f219 netkvm+0x3418
8b582750 8e17740f netkvm+0x6219
8b5827a8 880fc32b netkvm+0xe40f
8b5827f0 880a8ce3 ndis!ndisMDoOidRequest+0x3a1
8b582818 880a87ff ndis!ndisFQueueRequestOnNext+0x21e
8b582880 8df21086 ndis!NdisFOidRequest+0x181
8b5828a0 880fc961 pacer!PcFilterRequest+0x78
8b582900 880a8c5c ndis!ndisFDoOidRequest+0x1a2
8b582928 880a87ff ndis!ndisFQueueRequestOnNext+0x197
8b582990 8df15b22 ndis!NdisFOidRequest+0x181
8b5829b0 880fc961 wfplwf!FilterOidRequest+0x50
8b582a10 880a7799 ndis!ndisFDoOidRequest+0x1a2
8b582a3c 8810d602 ndis!ndisQueueRequestOnTop+0x224
8b582ab0 8810d686 ndis!ndisMOidRequest+0x1dd
8b582ac0 882a4646 ndis!NdisOidRequest+0xf
8b582b7c 88254d1d tcpip!FlpNdisRequestUnderReference+0x7d
8b582bb8 8825523b tcpip!FlpMulticastListSet+0xa1
8b582bc4 88251a2e tcpip!FlpSerializedNdisDeleteGroupWorker+0xd
8b582bec 83c4f460 tcpip!FlpSerializedNdisRequestWorkerRoutine+0x41
8b582c00 83ab7aab nt!IopProcessWorkItem+0x23
8b582c50 83c43f5e nt!ExpWorkerThread+0x10d
8b582c90 83aeb219 nt!PspSystemThreadStartup+0x9e
00000000 00000000 nt!KiThreadStartup+0x19
Signed-off-by: yuchenlin<EMAIL_ADDRESS>

How to reproduce:
Doing the following testing:
while (true):
    1. Poweron a VM (I used Win7SP1x32 here)
    2. Wait for guest agent up and we can get IP through agent
    3. Shutdown VM

In average, the problem will happen in about 100 rounds. Sometimes, it will occur after 700 rounds.
Version of driver and QEMU will be affected:
The problem is due to commit 483778149, it will affect all driver version after this commit. I think the version is 0.1-146.
In QEMU side, when the device reset, all the virtqueue's vring.desc will be set to zero. The behavior is shown in virtio_reset at QEMU hw/virtio/virtio.c. After this, if we receive the control message, QEMU will do nothing and the problem happens. The code in QEMU is:
void virtio_queue_notify(VirtIODevice *vdev, int n)
{
    VirtQueue *vq = &vdev->vq[n];

    // oops...
    if (unlikely(!vq->vring.desc || vdev->broken)) {
        return;
    }

    // handle the message
    trace_virtio_queue_notify(vdev, vq - vdev->vq, vq);
    if (vq->handle_aio_output) {
        event_notifier_set(&vq->host_notifier);
    } else if (vq->handle_output) {
        vq->handle_output(vdev, vq);
    }
}

The behavior of QEMU existed in a long time. At least in 2009-05-18 the code existed...
Testing result:
After apply the patch:

I am running above test on four Win7SP1x32 with vhost=on (-netdev tap,ifname=tap,script=no,id=hostnet0,vhost=on,vhostfd=25 -device virtio-net-pci,netdev=hostnet0), and all VMs have run 300 rounds now.
I also tested it on Win7SP1x32 with vhost=off (-netdev tap,ifname=tap,script=no,id=hostnet0 -device virtio-net-pci,netdev=hostnet0) and it worked fine.

I don't know how many time of trying is best. What do you think?

I have did the following test:
E:\temp\sameeh\kvm-guest-drivers-windows\NetKVM>git diff
diff --git a/NetKVM/Common/ParaNdis-CX.cpp b/NetKVM/Common/ParaNdis-CX.cpp
index 69516db..e213366 100644
--- a/NetKVM/Common/ParaNdis-CX.cpp
+++ b/NetKVM/Common/ParaNdis-CX.cpp
@@ -105,11 +105,15 @@ BOOLEAN CParaNdisCX::SendControlMessage(
m_Context->m_CxStateMachine.RegisterOutstandingItem();
         m_VirtQueue.Kick();

       int count = 0;
       while (!m_VirtQueue.GetBuf(&len))
       {
           UINT interval = 1;
           NdisStallExecution(interval);

           count++;
       }

       DPrintf(0, "CParaNdisCX::SendControlMessage: The count is: %d", count);

       m_Context->m_CxStateMachine.UnregisterOutstandingItem();

       if (len != sizeof(virtio_net_ctrl_ack))

with vhost off:
The count was mostly 1 and a maximum of 4, the host is not heavy loaded so this number can be higher I believe.
with vhost on:
The count is always zero.
This behavior is expected since we know that with vhost on the queue replies synchronously and asynchronously with vhost off.
I think that number of tries around 100 - 1000 should keep the driver bulletproof. Can you try if the delay is tolerable with high number of tries such as 1000?
Thanks!

Hi, @sameehj
I will start stress test tomorrow.
Thank you for your testing.
Yu-Chen Lin

Hi, @sameehj
Start to test with the following setting:
VMs:

8 Win7SP1x32

Number of tries:

1000

Target

1000 rounds

It may take 2-3 days to achieve, will update once it finishes or some bad things happen.
Thanks,
Yu-Chen Lin

Hi, @sameehj
The 8 VMs run more than 1180 rounds, and everything is fine. I believe that setting number of tries to 1,000 is fine. I have updated the commit to retry 1,000 times. If you have other concern, please contact me.
Thanks,
Yu-Chen Lin

ping?


Peripherals as scoped parameters to main

Hello!
When using cortex-m-rtfm, I found it incredibly useful and intuitive that the peripherals from the respective device crate are passed into the init function. It's like taking argc and argv parameters in a main function.
Would it be possible to have the same for #[entry]-attributed functions? The current Peripheral API, introduced in the [RFC] Peripherals as scoped singletons is comparably clumsy. I dislike that global initialisation flag and the panicky unwrapping of the Option, and even in case the optimiser is able to eliminate them (I haven't checked) it would be cleaner code if one could just omit the static mut DEVICE_PERIPHERALS: bool from the device crates. I am hoping for something like
#[entry]
fn main(peripherals: stm32f30x::Peripherals) -> ! {
    // initialization
    loop {
        // application logic
    }
}

I'm not sure whether this is feasible at all (especially regarding the dependency hierarchy between cortext-m-rt and the device crates), where the right place to discuss this is (svd2rust? embedded-wg?) and what needs to be done to make this happen (should this be a RFC?). Please provide some guidance :-)

IMO this is a much cleaner entry point for peripherals. If you'd like to, please create an RFC even if it has been a lot of time since this issue was started. :)

This also gives the idea of a starting "world context" that can be moved, split, and passed around.
Stealing a bit of RTFM syntax would yield:
#[entry(device = my_pac_crate)]
fn main(core: cortex_m::Peripherals, device: my_pac_crate::Peripherals) -> ! {
    // ...
}

or alternatively:
#[entry(device = my_pac_crate)]
fn main(cx: entry::Context) -> ! {
    let core = cx.core;
    let device = cx.device;

    // ...
}

IMHO, we have two levels of abstraction, cortex-m/cortex-m-rt, which provides the low level HW interaction, and we have RTFM as the lowest level user facing API. So there is no need to extend the level of abstraction provided by cortex-m/cortex-m-rt.
RTFM is designed NOT to stand in your way, and does not by itself imply any overhead (rather the opposite, as it provides zero-cost safe resource sharing).
If you want to build/use other abstractions to concurrent programming (generators/async-await etc.) there is nothing stopping you from do that on-top of RTFM. It just adds the clear advantage of keeping the abstractions sound by construction.
Of course all of these crates are moving targets as we progress, and we (The RTFM team) is very happy to discuss suggestions/improvements facilitating embedded programming in Rust.

@perlindgren Would you mind keeping RTFM diversion and promotions out of the cortex-m-rt context, please?

@therealprof, to be fair the OP is talking about how much they liked cortex-m-rtfm, but let's try and stay on-topic.


FTP error NSURLERRORDOMAIN

When I try to connect by ftp the app, an error appears: NSURLERRORDOMAIN, That’s the sames ID in FileZilla.
Can you help me?

-1001 is a generic timeout error. Are you sure that your ftp server is configured properly?

Ok, I don't know why but now that's work. Thanks


CSP Artemis

This PR includes the OneSDK APIs and theirs test cases for the two cmdlets:

Get-AzureBackupContainer
Unregister-AzureBackupContainer

Can one of the admins verify this patch?

Hi @dragonfly91, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.azure.com.

TTYL, AZPRBOT;

Please increase the package version by updating  "Microsoft.Azure.Management.BackupServices.nuget.proj", build local which will updates the "assemblyinfo.cs" file. Include that 2 files in this PR

Increased the package version in nuget proj and included the 2 files with changes.


Addressed bug in t2pcode.

This fixes some an issue in the t2pcode subroutine.  Previous commits to the branch deactivated a loop on the GPU on t2pcode.  This reactivates this loop which has a iteration dependency by marking the loop as sequential.

I have added several new namelist files to this PR that are scaled versions of already existing files.  Curiously, while some run successfully to completion others do not.  This is likely an indication that they trigger additional branches of the code that have existing bugs.  Here are the list and output of runs on a single v100 GPU:
namelist.baseline.dx=40m.short               Runs successfully
namelist.baseline.dx=10m.short-256        Runs successfully
namelist.baseline.dx=2.5m.short-128       NaNs from domaindiag, out of range numbers from statpack
namelist.baseline.dx=2.5m.short-160       NaNs from domaindiag, out of range numbers from statpack
namelist.baseline.dx=2.5m.short-192       Runs successfully
namelist.baseline.dx=2.5m.short-200      Misaligned address (may be due to memory issues)

Thanks for this PR. @johnmauff . I tested the changes and it worked fine for both single GPU and MPI+GPU runs with asd03-verify namelist. However, with the baseline.dx=40m namelist, the single GPU run fails with an error related to CFL number.


Update version from 0.0.71 to 0.0.72

This is an automated update of version in pyproject.toml. This action is performed by publish.yml.

updated version from 0.0.71 to 0.0.72, @SuleyNL pls review


Where can I download the data set of BlazePose model training?

Where can I download the data set of BlazePose model training?

Closing as duplicate of #4160


Issue-tweaks to transitions between offsets

Automated Review Comments
Issues in examples/streamGraphExample/src/components/Path.js:

(6, 'Hardcoded string found')
Issues in examples/streamGraphExample/src/components/index.js:
(19, 'Line exceeds 80 characters')
(34, 'Hardcoded string found')
(55, 'Hardcoded string found')
Issues in examples/streamGraphExample/src/reducers/exampleReducer.js:
(14, 'Hardcoded string found')
(15, 'Hardcoded string found')

I got it.


Add Performance doc to Java

Fixes #3153.
We've got legal approval to upstream the original doc.

I think the doc could be adapted to other languages with some changes.

Excellent review, thanks @tiffany76 !

/fix:format

/fix:format

@theletterf can this moved from draft state?

Soon. Providing a courtesy last check slot to Legal here.

Message from Legal:

Thank you for your patience! This has been approved. It should be good to go now.

Publishing!


How to cancel Node or Link deletion

My script is not readonly.
How to cancel Node or Link deletion.
Thanks already for your help.

What do you mean by cancel? You want to prevent it happening or undo it? Passing in custom actions/callbacks should give you some flexibility here.


update lodash version per security notification

@dhakiki
Updating lodash": "4.16.4" to "lodash": "4.17.11

@dhakiki Any reason not to update this?

apologies i must have missed this! as it turns out, i've lost write access at this point so i no longer can do it! @kevgo would you mind merging/releasing this?


Upgrade to SDK 7

Upgrade to Kentico Cloud SDK v7 (@kentico/kontent-delivery) + rename Kentico Cloud to Kentico Kontent
Checklist
Code follows coding conventions held in this repo
Automated tests have been added
Tests are passing
Docs have been updated (if applicable)
Temporary settings (e.g. variables used during development and testing) have been reverted to defaults
How to test
Click through the site if every breaking change was handled.
How to test
If manual testing is required, what are the steps?

Fixes #149

I was doing it as for one of my school subject and I've found this issue by searching up-for-grabs tag on github

Cool, if you want to continue with contributions, feel free to pick any of the Kentico Github unassigned issues


Streaming: disconnect on keep_alive()

Hi
I have a use case where I want to connect to the streaming API for a period of time and then disconnect even when no tweet is received during that period.
When no tweet is received, I can check if defined duration has elapsed in StreamListener keep_alive(), but there is no mechanism to disconnect in this case since _read_loop() is not reading any return value from keep_alive() and there is no way to break the loop in this situation.
As a workaround I am rising a custom exception in my implementation of keep_alive() but this is not ideal, I understand that a better solution is to let keep_alive() return a boolean that when is false breaks the read loop, same as on_data(), on_status(), etc.

I support this. I'd too rather have the keep_alive() function return a boolean to determine whether or not the connection continues to exist. Currently, my workaround is to raise an exception in the keep_alive function, and override the on_exception function to return false.

I would also like to see this implemented.

This should be resolved with https://github.com/tweepy/tweepy/commit/37e701e2193dcf617e7235d3b004f790c5ff784e by allowing Stream.disconnect to disconnect the stream on the next keep-alive signal received.
I opted not to use the approach of allowing a False return value from the stream listener's on_keep_alive method to indicate that the stream should disconnect, as I intend to remove this for other stream listener methods in Tweepy v4.0 because it's an unclear functionality that should be considered an anti-pattern / bad practice. When necessary, explicitly calling the Stream.disconnect method in the relevant stream listener method is clearer and more straightforward.
I also intend to merge StreamListener into Stream in Tweepy v4.0, which will make doing this simpler and less recursive, i.e. using self.disconnect in the relevant listener method rather than requiring the Stream instance to be available in the relevant stream listener method.
Afterwards, I anticipate being able to simplify the handling of each line of data, so as to allow the stream to disconnect immediately if Stream.disconenct is called in the on_keep_alive method, rather than waiting until the next keep-alive signal (or other line of data).

This should be resolved with https://github.com/tweepy/tweepy/commit/37e701e2193dcf617e7235d3b004f790c5ff784e by allowing Stream.disconnect to disconnect the stream on the next keep-alive signal received.
I opted not to use the approach of allowing a False return value from the stream listener's on_keep_alive method to indicate that the stream should disconnect, as I intend to remove this for other stream listener methods in Tweepy v4.0 because it's an unclear functionality that should be considered an anti-pattern / bad practice. When necessary, explicitly calling the Stream.disconnect method in the relevant stream listener method is clearer and more straightforward.
I also intend to merge StreamListener into Stream in Tweepy v4.0, which will make doing this simpler and less recursive, i.e. using self.disconnect in the relevant listener method rather than requiring the Stream instance to be available in the relevant stream listener method.
Afterwards, I anticipate being able to simplify the handling of each line of data, so as to allow the stream to disconnect immediately if Stream.disconenct is called in the on_keep_alive method, rather than waiting until the next keep-alive signal (or other line of data).

I intend to remove this for other stream listener methods in Tweepy v4.0

This is now done, with https://github.com/tweepy/tweepy/commit/7fc85f63c1a322439edf667866c94a29fd7b2199, https://github.com/tweepy/tweepy/commit/7756fa84bc97d0dc3c6c54ed75bc27c9297083ad, and https://github.com/tweepy/tweepy/commit/e348c36f435470985026ae7b93de115db1261041.

I also intend to merge StreamListener into Stream in Tweepy v4.0

This is now done with https://github.com/tweepy/tweepy/commit/39abff4520e291180425ac2219d1d8597ac5da96.

Afterwards, I anticipate being able to simplify the handling of each line of data, so as to allow the stream to disconnect immediately if Stream.disconenct is called in the on_keep_alive method, rather than waiting until the next keep-alive signal (or other line of data).

This was also done with https://github.com/tweepy/tweepy/commit/7756fa84bc97d0dc3c6c54ed75bc27c9297083ad.

I intend to remove this for other stream listener methods in Tweepy v4.0

This is now done, with https://github.com/tweepy/tweepy/commit/7fc85f63c1a322439edf667866c94a29fd7b2199, https://github.com/tweepy/tweepy/commit/7756fa84bc97d0dc3c6c54ed75bc27c9297083ad, and https://github.com/tweepy/tweepy/commit/e348c36f435470985026ae7b93de115db1261041.

I also intend to merge StreamListener into Stream in Tweepy v4.0

This is now done with https://github.com/tweepy/tweepy/commit/39abff4520e291180425ac2219d1d8597ac5da96.

Afterwards, I anticipate being able to simplify the handling of each line of data, so as to allow the stream to disconnect immediately if Stream.disconenct is called in the on_keep_alive method, rather than waiting until the next keep-alive signal (or other line of data).

This was also done with https://github.com/tweepy/tweepy/commit/7756fa84bc97d0dc3c6c54ed75bc27c9297083ad.


json_to_sheet() generates too unprecise number for JS date

Edit: I just saw the reply on https://github.com/SheetJS/sheetjs/issues/1522#issuecomment-919639454. I think the problem I am experiencing here is the one described there. If this is true, then this issue can be closed!
Given the following code:
const eightOClock = new Date('2021-09-14T06:00:00.000Z'); // argument is ISO 8601 date string
const testWS = XLSX.utils.json_to_sheet([{firstName: 'John', 'date': eightOClock}], {});
XLSX.utils.book_append_sheet(wb, testWS, 'testWS');
XLSX.writeFile(wb, 'test.xlsx');

console.log('testWS', testWS);

returns
!ref: "A1:B2"
A1: {t: "s", v: "firstName", w: "firstName"}
A2: {t: "s", v: "John", w: "John"}
B1: {t: "s", v: "date", w: "date"}
B2: {t: "n", v: 44453.33375, z: "m/d/yy", w: "9/14/21"}

The time value of const eightOClock is 0.33375. But when formatting it (e.g. using https://customformats.com as linked in the demo), and applying custom format hh:mm:ss to it, 0.33375 is formatted 08:00:36, which is right, but it is wrong for me, as it adds 36 seconds to the time in the date I initially provided. Now my question: Why is a date as number not presented more precisely when converting the actual JS date using json_to_sheet()?
I experience the same issue when doing it like this:
const testWS = XLSX.utils.json_to_sheet([{firstName: 'John', 'date': eightOClock}], {cellDates: true, dateNF: 'dd.mm.yy hh:mm:ss'});

Even when, in the browser, it looks like this:
!ref: "A1:B2"
A1: {t: "s", v: "firstName", w: "firstName"}
A2: {t: "s", v: "John", w: "John"}
B1: {t: "s", v: "date", w: "date"}
B2: {t: "d", v: Tue Sep 14 2021 08:00:00 GMT+0200 (Mitteleuropäische Sommerzeit), z: "dd.mm.yy hh:mm:ss", w: "9/14/21"}

It still shows the date in the excel file as 14.09.2021  08:00:36, even when the date initially was 14.09.2021  08:00:00 in JS. So, 36 seconds have been added to that, even when the type of cell B2 is d and the value is the JS date.
Thank you in advance.
Help is much appreciated!

If the difference is less than a minute and you are in chrome, it is almost certainly the linked timezone inaccuracy issue.


Fix GitHub Action Workflow for Publishing to Maven Central Repository

Attempt to resolve the issue with publishing the "new" artifact to Maven Central Repository.

Checklist
Each item in the list MUST either be checked ([x]) or crossed off (~).

[x] Closes #284
[ ] New Release?

[ ] Update <version> in pom.xml
[ ] Update <version> in README.md and index.md

[ ] Compile the project with mvn clean install
[ ] Commit all new/changed/deleted generated-sources-files
[ ] Documentation (README.md & index.md) have been updated

Duplicate #294


[Form Recognizer] Timeout on China cloud.

We are running live Tests against other clouds like US Gov and Azure China Cloud. The goal is to check whether new azure sdk package work with other clouds or not.
Error Description:
We have updated TimeoutInMinutes from 180 minutes to 400 minutes, but all tests on China cloud are running slowly causing timeout.
The pipeline result is at here.

Expected Behavior:
All tests can be finished in the pipeline.
Shall we increase more time to run the tests, or do you have any better suggestions?
@scottaddie , @AlexGhiondea, @benbp , @maririos, @meeraharidasa , @mayurid   for notification.

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Cognitive - Form Recognizer:0.10228411,Azure.Core:0.08072604,Data Factory:0.07756953'

@scottaddie , @AlexGhiondea, @benbp , @maririos, @meeraharidasa , @mayurid, @jsquire - Do you have any suggestion?

@zedy-wj I think this issue may be waiting to be picked up in the backlog by the NET team?

@AlexGhiondea, @benbp , @maririos, @meeraharidasa , @mayurid, @jsquire - Do you have any plans or progress about this issue?

@scottaddie , @AlexGhiondea, @maririos, @meeraharidasa , @mayurid, @jsquire - There has been no update on this issue for a month. Do you have any plans or progress about this issue?

@v-xuto:  We have no updates at this time.   This issue is being prioritized against the other commitments in this space.  We'll provided updates once someone has bandwidth to pick this up.


Please fix change css property not object-cover: top but object-position: top

Please fix change css property not object-cover: top but object-position: top
Originally posted by @kubil-ismail in https://github.com/IrhamNfrnda/hire-job-web/issues/2#issuecomment-1672530951

Fixed


Level based suppression

The idea of pull request is that:

RateLimitedLogRegistry should log with the same log level as original log messages. Many systems log to the different appenders based on log level, so this will make future investigation much easier.
Actually the same message logged with the different level should be considered as different messages. It really can be the case that the system might log the same message text under different levels based on some internal conditions, so we might log some info messages but miss warning or even errors which were suppressed.

@jmason you can enable building of forks + PR on circleci! :D

Thanks for the PR, and sorry for the delay!
I like it overall, although I would prefer to make an additional change so that RateLimitedLog.get() can be used to get a cacheable object for a string and a level, and cut out the final ConcurrentHashMap lookup -- I'll merge this and take a look at making that change in addition.


Verify host path in addFileSystemBind

d35f2b2f99e8079533b55d8cbdb7d4bc7126e883 added verification for
withFileSystemBind. This covers addFileSystemBind.

Offered upstream in https://github.com/testcontainers/testcontainers-java/issues/2955.

CI failed -- https://github.com/prestosql/presto/issues/3161


[Question] Init buffer size

Hi,
I have a question about the init buffer size settings:
It always take the "Beginnig of file buffer size" value and add 10MB-20MB to this value as init buffer size when starting playing a torrent (or to the value from AdvancedSettings)
What is the meaning of the "End of file buffer size"?

you can find the answer here https://github.com/elgatito/plugin.video.elementum/issues/455

@burekas7 when you open file in Kodi - it takes bytes from the beginning and bytes from the end of file. It is always rounded to actual piece size of that torrent.
If Piece size is 16MB, so even for 1 Kb you need to download the whole 16MB. But we make sure to have the size, we setup in the settings.

Thanks @antonsoroko
@elgatito
So what is the actuall need of having this "End of file" in the setting?
How does changing this impact on the playing/download progress?
(The using of "Begin of the file" I pretty understand)

@burekas7 who knows what you want. It's just a possibility to change how much you want to pre-download before starting the playback.

Ok, thanks.


Evaluate use of external JSON-schema-form generator

See https://github.com/webgme/svelte-jsonschema-form, which didn't exist when we started this part of fractal-web.
Of course there are pros and cons in taking up one more dependency, but the next time that we'll need to review/update our custom form generator (my guess: as soon as we switch to pydantic v2 in fractal-tasks-core) we should also compare the required effort to the option of using an independent library.
The other one we could look at is https://github.com/restspace/svelte-schema-form.

Great, I'm testing it now!
(the actual issue is #413)

A report about some experiments with external libraries.
WebGME Svelte JSON Schema Form
https://github.com/webgme/svelte-jsonschema-form

It's not clear how to import the CSS, I've only made a test without CSS.

It has a lot of dependencies: 17 packages as direct dependency.

It is not clear which draft version of JSON Schema is supported.

Produces some warnings on console:

<ObjectProps> was created with unknown prop 'type' client.js:2098:15
<ObjectProps> was created with unknown prop 'additionalProperties' client.js:2098:15
<ObjectProps> was created with unknown prop 'force'

Using their playground it looks that it has some problems in handling long descriptions, since it puts them inside the section headers. We can probably make the text multiline by adding some CSS but to move it outside from the header we have to modify the library.

Restspace Svelte Schema Form
https://github.com/restspace/svelte-schema-form

Importing the CSS produces a missing file error, even if the file is there. The README states that "you'll likely need to configure your bundler to interpret importing css to make this work", but there are no examples on how to do that. Tried some different Vite settings and to import .css instead of .scss but it didn't work. Needs more investigation.  I've only made a test without CSS.

Error: [postcss] Missing "./dist/css/layout.scss" specifier in "@restspace/svelte-schema-form" package

It doesn't support the case with anyOf and {"type": "null"} produced by Pydantic-v2 generated JSON Schemas.
It is not clear which draft version of JSON Schema is supported.
Produces several accessibility warnings during the build:

9:53:28 AM [vite-plugin-svelte] /home/xonya/code/fractal-web/node_modules/@restspace/svelte-schema-form/dist/editors/ListDetail.svelte:131:2
A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.

JSON Editor
https://github.com/json-editor/json-editor

This library is generic and doesn't depend on a specific framework (Svelte, React, Vue...)

They say to support Version 3 and Version 4 of the JSON Schema draft. Not clear if this is true or if the information on the README is outdated (for example they have only Bootstrap4 in the list of supported themes, but in another section is clear that they also support a Bootstrap5 theme).

It seems to be feasible integrating the library in our app, but we have to consider it has a quite different UI, that can be customized only modifying the library, in particular:

Missing required properties are highlighted in a separated alert box (validation is done at the form initialization, so the red boxes are immediately visible, even before editing).
Descriptions are always visible.
To add a new property one has to click on the "Object properties" button, that opens a menu containing all the existing properties and a text input to add more properties.

I'll open a separate branch to experiment with this library, which seems the one more promising.

Thanks!
For the moment, this exhausts the broad-scope evaluation of 3rd-party libraries. Let's briefly explore json-editor in another branch/issue, and only come back here if we learn about other libraries (or we have compelling reasons to adopt one).

Thanks a lot for this investigation & the screenshots @zonia3000 ! It shows how much we're already covering with our current implementation I'd guess.
There are some interesting layout thoughts in how WebGME displays the schemas. But it's clearly not an overall library we want to move to at such a stage.

It is possible to experiment with json-editor using the Sanbox page in branch external-json-schema-lib.


possible bug in jax.example_libraries.optimizers.adam?

Please:

[x ] Check for duplicate issues.
[ x] Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:

This code generates a Traceback. If I replace jax.opt.adam with jax_opt.sgd, it seems to work fine. That is why I suspect something is wrong in adam.  This is in jax version 0.2.25.
import jax.example_libraries.optimizers as jax_opt
from jax import value_and_grad
import jax.numpy as np

opt_init, opt_update, get_params = jax_opt.adam(1e-2)

opt_state = opt_init(np.array(1.1))

def objective(x):
    return (x**2).squeeze()

def step(i, opt_state):
    value, grads = value_and_grad(objective)(get_params(opt_state))
    return value, opt_update(step, grads, opt_state)

step(0, opt_state)

[x ] If applicable, include full error messages/tracebacks.

I get this resulting error
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-7-caac38fbc2ef> in <module>()
     14     return value, opt_update(step, grads, opt_state)
     15
---> 16 step(0, opt_state)

3 frames
/usr/local/lib/python3.7/dist-packages/jax/example_libraries/optimizers.py in update(i, g, state)
    408     m = (1 - b1) * g + b1 * m  # First  moment estimate.
    409     v = (1 - b2) * jnp.square(g) + b2 * v  # Second moment estimate.
--> 410     mhat = m / (1 - jnp.asarray(b1, m.dtype) ** (i + 1))  # Bias correction.
    411     vhat = v / (1 - jnp.asarray(b2, m.dtype) ** (i + 1))
    412     x = x - step_size(i) * mhat / (jnp.sqrt(vhat) + eps)

TypeError: unsupported operand type(s) for +: 'function' and 'int'

In your definition of the step function, do you mean for the return statement to be the following?
    return value, opt_update(i, grads, opt_state)

The current expression you have passes the step function itself in to opt_update, where an integer is expected.

You are right, that should have been i instead of step. I was thrown off that it worked with the sgd optimizer. Thanks for pointing out the error!

(Just in case you're not aware of it, we often recommend using optax instead of jax.example_libraries.optimizers these days: https://github.com/deepmind/optax )


How do I use derived FloatingPanelPosition insets / invalidate and recalculate the layout ?

Short description
My panel insets will be different depending on iOS device (screen) size, and so far I can only get this to work if I set up some trial-and-error and determine some constants by hand then do a lookup at runtime, which device the user has, then use those pre-determined values.  This sort of works, but isn't 100% perfect because my content can be different for each user's scenario.
I would like to, for example, wait for a table view to finish loading / laying out, THEN tell the FloatingPanel to recalculate these insets in this method of my FloatingPanelLayout subclass.
public func insetFor(position: FloatingPanelPosition) -> CGFloat?
in a custom FloatingPanelLayout subclass.
Expected behavior
I could just call "invalidateLayout" on the FPC.  It would re-calculate then animate the currentPosition to the new values.
Is there a way to accomplish something like this with the existing code?
Environment
Library version
1.6.4
Installation method

[ X] CocoaPods
[ ] Carthage
[ ] Git submodules

iOS version(s)
12
Xcode version
10.2

Yes, it's FloatingPanelController.updateLayout() although I think that naming as invalidateLayout() is better.
And I recognize the public func insetFor(position: FloatingPanelPosition) -> CGFloat? is not best for the purpose. Now I'm planning to release v2 so I welcome any proposal the enhancement!


Shared_Preferences Cannot run with sound null safety

geting this issue white using Shared_preferences on flutter.
ERROR: Error: Cannot run with sound null safety, because the following dependencies
ERROR: don't support null safety:
ERROR:  - package:shared_preferences
ERROR:  - package:shared_preferences_platform_interface
ERROR: For solutions, see https://dart.dev/go/unsound-null-safety

@NewsunBanjade What is your plugin version? The latest version is shared_preferences: ^2.0.15, please retry on the latest version to see if the issue still persists or not.

I used directly add dependencies which added older version of Shared_Preferences. If anyone with same make sure you have latest version of shared_preferences


Browse activity dashboard is missing almost all entires on Google Chrome

With the plugin:

Without the plugin:

This is intended. Duplicate of #561, #747, #822

Even after putting hide-useless-newsfeed-events in I don't see when for instane someone is forking a repository? Is there still another option that I'm missing?

@vanniktech can you see what CSS rule is hiding those fork events?

I can see 'em now again. I've got the following extra features disabled:
hide-useless-newsfeed-events
sort-issues-by-update-time
hide-own-stars
monospace-textareas

So it's all good. I recently added hide-own-stars so maybe that one was causing this - but I'm not sure.


/replaced: new command for answering AI tools taking jobs

Complete the following REQUIRED checkboxes:

[x] I have thoroughly read and understand The Odin Project Contributing Guide

[x] The title of this issue follows the command name: brief description of request format, e.g. /help: add optional @user parameter

The following checkbox is OPTIONAL:

[x] I would like to be assigned this issue to work on it

1. Description of the Feature Request:
The same conversation happens day in day out, with youtubers and the like well understanding that spelling doom drives interaction, people are convinced that all software developers are to be replaced by AI in the near future, and that all their efforts to learn have been wasted. This conversation always yields the same, if not very similar, responses. A command like /replaced to summarise some of the key points could be really helpful to take the work off the helpers to answer these questions each time.
Happy to spend some time collating past responses to these questions and drafting up a message for the bot to deliver if staff think there's any merit to it.
2. Acceptance Criteria:

[ ] New command added to give relevant comments

Yeah, that makes sense. A proper explanation is probably a bit long for the body of a command, so a link to an existing message works. Like the time one

I would love to see a command like this. I think it also merits a disclaimer. Something like: "These are our opinions and no one can tell the future, including the people on Reddit. Even us."


Add required_ruby_version to gemspec

This change leads up to a fix for hanami/hanami#924

agree with @AlfonsoUceda 👏

can you update to jruby <IP_ADDRESS>? it was release some days ago. thanks!

@dogenpunk can you update travis ci file to reference jruby <IP_ADDRESS>? thanks!

Closing this one as outdated. The initial problem was solved in hanami


AuthorizeNetApi_Api, AuthorizeNet_AIM, AuthorizeNet_CIM

I'm trying to make payments with saved payment profiles (not the one-time nonce (Opaque Data) provided by Accept.js).
I'm first using AuthorizeNet_CIM->createCard() with the Opaque Data from my checkout form:
CIM returns:
paymentProfile

customerProfileId
customerPaymentProfileId

These values are stored permanently, and then I need to process two separate payments (which is why I can't use the Opaque Data as that is a one-time token).
What fields must I submit along with amount, currency, and transactionId to get the AuthorizeNetApi_Api->purchase() method to complete a successful transaction?

I've reviewed the Authorize.net API Documentation and it looks like a PROFILE object is passed instead of a CARD object with customerProfileId and paymentProfile->paymentProfileId. I've tried passing these in Omnipay without any luck.
Am I really the first Omnipay/AuthorizeNetApi_Api user to try and perform payments with stored payment details? I feel like I'm missing something obvious, but scratching my head as to where it is documented.
Thanks for any help.

It's a big API that tries to do a lot of things that is often handled by the host application (nobody wants to lock their application workflow to a single payment gateway, well I don't anyway). So yes, you may well be one of a few. The documentation is massive and just about impossible to track changes and fixes they make to it.
Longer term, I'm hoping Authorize.Net will publish some OpenAPI descriptions for their API, then we can move to auto-generated and validated code, and hopefully avoid many problems related to untried paths through the code.
Anyway - every bit of help appreciated, so if you have any PRs, they will be very useful.

Thanks for your reply Jason, and all the work you’ve put in to these libraries. If Omnipay can not make payments with saved payment methods, I’ve definitely selected the wrong package. All of the core Omnipay documentation (https://omnipay.thephpleague.com/api/token-billing/) and online discussion alludes to this being possible. I wouldn’t know where to begin with a PR (apologies), it took me weeks to figure out that AIM is essentially about to be deprecated, API compatible with AIM but is the future, but that it still lacks basic functionality included in CIM which is also scheduled to be EOLed. I honestly think the best thing for anyone forced to use Authorize.net is to use the API directly. I’m pretty sure it’s more work to navigate Omnipay’s documentation, example code, and feature set than Authorize.net’s SDK.

The way I have tackled this package is like this:
Looking through the API docs, I created a bunch of models that cover as much of the API feateres as I could. That's all in academe/authorizenet-objects. That was laborious and lots of work. The documentation was changing all the time, still is, so those models will constantly need updating.
Ideally I would like to auto-generate those models from an OpenAPI description. I did that for Starling Bank Payments from scratch in less than an hour this morning: https://github.com/academe/starling-payments-api-sdk/tree/master/api/src/Model That's my ideal way to go, but I have not yet found any OpenAPI description files for Authorize.Net that work. Once I do, rebuilding the models will be a push-button affair and could even be automated.
Now, those models will probably support what you need. You can use them with or without Omnipay if you want to go to the API directly.
Now Omnipay is a wrapper for those models. It does things the standard Omnipay way, but uses the models underneath to construct the API requests and parse the responses. Those features may support what you need, or may need expanding. It may work, or may have some bugs that need sorting. If a feature you want is described in the Omnipay docs, then this package really should support it, and needs fixing if it doesn't. If the feature you want is not what Omnipay does out of the box for payment gateways in general, then that's fine - it may only need a new method to be added with a few lines of code to map data to the correct models - most of the Omnipay gateways handle some feature that is specific to the gateway they support.
I'm just not sure where we are now.


Vulnerability Keycloak CVE-2021-3424

Vulnerability in Keycloak
References:

https://access.redhat.com/security/cve/cve-2021-3424
https://bugzilla.redhat.com/show_bug.cgi?id=1933320
http://cwe.mitre.org/data/definitions/287.html

Update Keycloak as soon as there is a fix.

Was fixed in Keycloak 18.0.0, and we upgraded.


SEGSAdmin doesn't appear to recognize other DBMS like psql or mysql

Summary
Segsadmin simply checks that the SQLite files exist. We should rewrite to work with other DB drivers like psql and mysql.

Does QT compile MYSQL drivers during the build process? I noticed on my Mac when building, there was no MYSQL driver and I had to build separately. After that, I did run into that issue with Admin not seeing DBs in MySQL. I ended up creating the DBs manually, and then Admin was able to find them and created the new server admin account with no issues.


Proposed Fix to Issue #166

Hi, this is my first contribution so I though I would pick something straight forward.
I have corrected the link within the docs/Installation.md. The link now goes to the correct set level page.
Cheers
Ian

Looks like you edited it to have an absolute URL, I think it would be better to keep it as a relative URL?

Thanks Jeffrey, I'll get that corrected and resubmit.


[FEATURE] Detection of "How to"

Why do you want this feature? What is the problem?
A lot of people ask how to do this, or how to do that. And it becomes a burden to run the []google or []ddg or []bing command.
Describe the solution you'd like
So, to solve this problem. You can check if the content of the message starts with how to, and if this returns as true, the bot can then automatically reply that. At least for the development and help section. This feature can or cannot be useful.

I could see this becoming more of a nuisance than a genuine help.
The []google command was made to be a friendly reminder for people to search for their question on Google first, instead of blatantly asking. If we automate this process, we could get false positives, which would just annoy people.
As for it becoming a burden: No one is obligated to respond to someone wanting help. If we automate the help process to harshly, the process of helping someone becomes unpersonal and stiff, which is something we want to avoid at all costs.
One could argue that the simple existance of these custom helper commands contradicts that, but those are meant as more of a timesaver once a personal helper is already established.

I never thought it that way and I agree. Thanks for the time!


Test gaussian_filter is failing on CI

The gaussian_filter test is failing on CI, but locally (mac M1). Seems like scipy's gaussian filter gives a different result based on the platform, as the version is fixed. Will need to investigate more!

Dang, maybe this is also why you saw differences in the looped FFT stuff? Nice catch.


thanos: 0.6.1 -> 0.7.0

Motivation for this change
https://github.com/thanos-io/thanos/releases/tag/v0.7.0
Things done

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

[x] NixOS
[x] macOS
[ ] other Linux distributions

[x] 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 nix-review --run "nix-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)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@GrahamcOfBorg build thanos
@GrahamcOfBorg test prometheus


Crash when clearing color palette

Steps

Install the latest Sketch Palettes version
Create a new document, draw a Rectangle
download and unzip this file: crash.sketchpalette.zip
Menu › Plugins › Sketch Palettes › Global Palettes › Load Palette... › find and load the palette file from previous point
select the Rectangle and open its Fill Color popover
expand the Global Colors (if it's not expanded already)
Menu › Plugins › Sketch Palettes › Global Palettes › Clear Palette
Collapse the Global Colors and expand them again = crash

Ok, I can reproduce. It happens any time you clear global colors (if you have any) while the color picker is open, and then collapse and expand the global colors section with the color picker still open.

Nothing in the console when it crashes. Any ideas?

Also, and potentially related: one thing I haven't been able to figure out is how to refresh the color picker ui while it is open, to show the new colors that were loaded. Do you know if that is possible?

One possible fix may be to clear any selections before loading a palette file. That would close the color picker, but may also prevent the crash.

Great suggestion. Better yet, would be just closing the color picker, since you might still want your selection. I just haven't been able to figure out how to dismiss the color picker yet (or any other UI changes there for that matter). But avoiding an even infrequent crash is probably worth losing your selection, until we can implement something else.

I just poked around, and I don't see a way to only close the picker either 😞. No action is fired when I manually open and close it, so it doesn't seem like its accessible via an API.

@bomberstudios any chance you could point us in the right direction here?

This crash appears to have been fixed in the latest release. Closing the ticket.


[Doesn't work yet] Use MDX 2

This.. doesn't really work. I don't know why. If someone knows what the missing steps are, would be appreciated!

https://github.com/reactjs/reactjs.org/pull/5107


Ignore model key in the vLLM OpenAI server mode

I use vLLM to serve private AI model on dedicate instance that is consumed by existing infra across many languages. If I retrain model and deploy, I need to also update other databases to request the right model.
I feel like it'd be great if model in the request would actually be ignored. I find this reasonable expectation because vLLM supports serving only one model at a time. That model's name is always shown in the response and thus it's still visible. This way my backend could accept any model that is currently active.
Does this sound reasonable? :)

That helps but causes issue in the tracking. I use model value on the response object to log requests that are rated by people (thumbs up or down). If I use same dummy name, then I cannot scope ratings. :(

I use vLLM to serve private AI model on dedicate instance that is consumed by existing infra across many languages. If I retrain model and deploy, I need to also update other databases to request the right model.
I feel like it'd be great if model in the request would actually be ignored. I find this reasonable expectation because vLLM supports serving only one model at a time. That model's name is always shown in the response and thus it's still visible. This way my backend could accept any model that is currently active.
Does this sound reasonable? :)

Any reason why this is not supported?

You can achieve the same effect by profiding multiple model names to the --served-model-name argument.
i.e. --served-model-name long-specific-name default would allow your backend to always call the model called default and the model field in the response will be long-specific-name.
From the docs:

--served-model-name
The model name(s) used in the API. If multiple names are provided, the server will respond to any of the provided names. The model name in the model field of a response will be the first name in this list. If not specified, the model name will be the same as the –model argument. Noted that this name(s) will also be used in model_name tag content of prometheus metrics, if multiple names provided, metrics tag will take the first one.


:globe_with_meridians: :flags: i18n integration

:globe_with_meridians: i18n module
:mag: browser detection
:hungary: Hungarian translation
:rocket:  translator module - npm run translate

Amazing! Great stuff!  🙌

Can you fix this build error?

Thanks for the quick fix!

I was getting the following warning at build time, which probably caused the text to not output properly.
I have now done an instant rollback.
./node_modules/next-i18next/dist/esm/config/createConfig.js 02:30:33.673 A Node.js API is used (process.cwd at line: 141) which is not supported in the Edge Runtime. 02:30:33.673 Learn more: https://nextjs.org/docs/api-reference/edge-runtime
JAPANESE
./node_modules/next-i18next/dist/esm/config/createConfig.js

You can check the preview below.

https://babyagi-45390ea68-babyagi-ui.vercel.app/

@miurla What should I do with this warning? Can you handle it or should I figure it out how can we resolve this? I've read the docs, but I couldn't find any exact fix for the appeared warning message. Also I've opened the preview deployment from a device which has 🇭🇺 language and I see only untranslated parts, but they are because those aren't translated yet. Maybe we can just avoid this warning...?...?


feat: Making commitlint compatible with dependabot

Dependabot commit subjects generate scoped commit types (scoping type to deps).  We want this behavior, and do not want build to fail on autogenerated dependabot commits due to our rule that prevents scope in commit type.
The second problem this addresses is increasing max body line to 100 characters, allowing dependabot to generate documentation linking to security docs for the update

Here is the example of the failed dependabot created PR that is failing only because our custom commitlint rules:
⧗   input: chore(deps): Bump loader-utils from 1.4.0 to 1.4.2

Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.2)
✖   body's lines must not be longer than [7](https://github.com/g2crowd/ue/actions/runs/4119250269/jobs/7112699203#step:8:8)2 characters [body-max-line-length]
✖   scope must be empty [scope-empty]
⚠   references may not be empty [references-empty]

✖   found 2 problems, 1 warnings
ⓘ   Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint

I believe that scope-empty rule was used incorrectly as scope should be optional and the only example use for this is to make it required with never option and not to make it forbidden with always option the way we use it.
When it comes to line length, our footer and header line length are set to 100, the default line length in the specs is 100 but we are setting it to 72, which messes up dependabot commits, which seems to go up to 80 characters


Update _index.md

Revised text and added missing href links

Summary

Related issue :

Thanks!
Please fix the TORQUE link that is broken: https://github.com/EGI-Foundation/documentation/pull/126/checks?check_run_id=1357513000#step:4:37

@glarocca should we replace it by https://github.com/adaptivecomputing/torque ?
Even  their GitHub repo is pointing to that page that is now broken :/

@glarocca I directly updated the file to fix the issues, should we wait for some more files or can we commit this already?


Missing self.thread object. should be self._thread

2018-11-19 13:48:30,888 - INFO - f.grab_board_py8ch.py - ln.272 - post=<Post /pol/12467804#12467804, has_file: True, has_extra_files: False>
2018-11-19 13:48:30,891 - CRITICAL - f.grab_board_py8ch.py - ln.461 - Unhandled exception!
2018-11-19 13:48:30,891 - ERROR - f.grab_board_py8ch.py - ln.462 - 'Post' object has no attribute 'thread'
Traceback (most recent call last):
  File "grab_board_py8ch.py", line 458, in <module>
    main()
  File "grab_board_py8ch.py", line 450, in main
    dev()
  File "grab_board_py8ch.py", line 435, in dev
    Files=Files,
  File "grab_board_py8ch.py", line 285, in insert_thread
    p_is_op = post.is_op,
  File "C:\Python27\lib\site-packages\py8chan\post.py", line 50, in is_op
    return self == self.thread.topic
AttributeError: 'Post' object has no attribute 'thread'

fixed in v0.0.3 https://github.com/bibanon/py8chan/commit/2efb7625cfb4545da089df8de8debcb7ba23b6aa


Condition adjustment

Create an additional sample function to show another method of determining which assets are due for replacement that is based on asset condition instead of age.
This may need to be coupled with an additional function to determine how asset condition changes over time.

Blocked by #1

This should be able to be implemented easily by the end-user by adding a column to the assets table and then updating user-suppliable functions accordingly. Importantly, creation of the annual_adjustment user-suppliable function in #41 makes this relatively easy to implement.
This is not necessary for completing the core of the model or for a reasonable demonstration. Thus, I am closing this issue.
Providing built-in support for features like this may be re-added in a later phase of the project.


Codeunit "Config. XML Exchange" - ExportPackage

Actually we have the possibility to import a RapidStart package in a SaaS environment by using two possible ways:

Method ImportRapidStartPackageStream in Codeunit "Config. Package - Import"
Method ImportPackageXMLFromStream in Codeunit "Config. XML Exchange"

But there are no methods available for exporting a Rapidstart Package dinamically from AL code.
Codeunit "Config. XML Exchange" has the following methods:

ExportPackage
ExportPackageXML
ExportPackageXMLDocument
but they're all for on-premise usage (cannot be used on SaaS).
Can you add a new method called ExportPackageXMLFromStream that can be used on a SaaS environment to dinamically export a Configuration Package?
Thanks in advance.

Any plans on providing a powershell equivalent allowing to run 'Export-NavConfigurationPackage' to extract package data easily via scripts?

Any plans on providing a powershell equivalent allowing to run 'Export-NavConfigurationPackage' to extract package data easily via scripts?

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Availability update: We will publish a fix for this issue in the next update for release 18.

Thanks @JesperSchulz


get sql state from interface

minimal support pgx for RunInTx

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

Comparison is base (f892c09) 77.76% compared to head (88d55a7) 77.92%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #38      +/-   ##
==========================================
+ Coverage   77.76%   77.92%   +0.15%
==========================================
  Files          22       22
  Lines        1331     1327       -4
==========================================
- Hits         1035     1034       -1
+ Misses        273      270       -3
  Partials       23       23

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


adds installer and updates readme

With this branch you have to change  import statements to be from selenext.selenext.Helpers import Page instead of from selenext.Helpers import Page.  Is this intentional?

It looks like it wasn't adding the submodules.  Now it is.  I wasn't intending to change the import structure.  Basically the setup.py should copy everything in the selenext subfolder to the site-packages for you and in the process install all dependencies specified in setup.py.  I went ahead and just added another commit that pulls in the submodules in the installed folder.

So, if you were installing it manually, you should just need to copy the subfolder to your site-packages.  Most people will prefer not to deal with the installation and dependencies, so setup.py allows new users to install quickly.  All other functionality should stay the same.

@jasonhamilton Gotcha.  Let me get everything tested out and merged.

@jasonhamilton What am I missing?  I'm not used to installing packages like this..  I run python setup.py install and even using python3, but for some reason the library cannot be found now.

@jasonhamilton Oh you know what.  My mac is set up to use python from a different folder than the default. I'll have to see if I can set it up to install to an alternate site-packages folder.

@jasonhamilton I'll have to work on this later.  I have a bunch of things I have to get done in the next couple hours.


What is the purpose of this repo?

What functionality is intended to be added here which can't be done with squid-py? Is it solving a specific Dex use case only? Is it intended for Ocean Protocol community? Read me says "Currently only provide basic account balance information". Why not contribute new features to squid-py instead?
For all users coming to this repo from Google: use Ocean Protocol's official client to connect to one of the networks with Python: https://github.com/oceanprotocol/squid-py

Hi @kremalicious , good question!
Starfish is an open source developer toolkit, based on open standards and designed to enable developers to build applications and use cases making use of decentralised data supply lines. More information on the overall approach is available in DEP3 Architecture document here: https://github.com/DEX-Company/DEPs/tree/master/3
As such, it is not an either/or decision whether to use Squid or Starfish, they serve different purposes. Indeed, Starfish makes use of Squid as a dependency in situations where the user needs to make use of functionality on the Ocean Network.


"/plan" route giving "Internal Server Error" (code 500)

I have set up the TCA service on a remote server and on testing the service, found that the "/health_check" and "/assess" routes are succeeding with code 200 but the "/plan" route is failing with error code 500. Can someone point me to the likely cause and solution of this error?

Found the cause:
In the "service/routes.py" file, the "/plan" route calls the "do_planning" function from the "service/functions.py" file but there is a typo in this file as the function is named "do_plan" instead

Thank you for finding this bug! You were right, we just pushed the function renaming and it will work now. Please let us know if this fixes your problem.


Serious bug or anomaly: Click event fired more than once using ionic module on iOS

Ionic version:
[ ] 1.x
[x] 2.0.0-rc.3 on iOS device, simulator and Ionic View on iOS.
I'm submitting a ...
[x] bug report
[ ] feature request
Current behavior:
In the program, I simply created an ionic module (dummy.module.ts) and create a page that will push another page (a component of a module). The component of the module does nothing beside doing push() another detail dummy page. In the detail dummy page, I created a button which will call a function (tapMe()) when I click on it. The function will print a string I call TapMe to console.log. Here that is the problem appears, the click event is fired twice as a result the text is displayed twice. The problem only appears on iOS simulator, iOS real device & Ionic View.
2016-12-11 21:44:51.123 testapp[3771:105263] I call TapMe
2016-12-11 21:44:51.123 testapp[3771:105263] I call TapMe

In my real application, the click event is fired 12 times. I cant explain why click event is fired 12 times... but the number of times is not important, the expected behavior is that the click event should be fired once.
Expected behavior:
Without the bug described above, the click event should be fired once.
Steps to reproduce:
For Ionic 2 issues [Repo] (https://github.com/sereysethy/testapp.git)
I also tested it against nightly build of ionic, the problem is the same.

the same situation

This is a serious bug, but ionic team seems to ignore it completely. It will affect all the apps on iOS @jgw96

Same issue with RC4

Without module, the app is very messy. Using no module is only for a very simple app.

Hey @jgw96 , any updates?

Having the same problem here!

@sereysethy I solved this issue on my app.
On you custom module import the IonicModule without calling the forRoot() static method.
Like this:
@NgModule({
  imports: [
    IonicModule, // without .forRoot(Component);
  ],

Hope it helps.

@paulogr Thank you very much, it solves my problem. I am not sure it is a bug of ionic or it is by design.

I'd like to add that I also had this problem, specific only to an iOS app running on device.
It occurred in Ionic2 release 2.0.0. due to a mistake I made.
I had IonicModule.forRoot(MyApp) listed twice in my app.module.ts
Once I removed the redundant line, everything worked as expected.

I am unable to reproduce this  in any test.
Could you provide a more complete

I think this issue could be close.

This still happens slot in IOS, i had the same problema with a button inside ion-toolbar, ion-checkbox and many other components. Right now i have the same problem with Ionic 3 on IOS +10 on ion-checkbox, ngModel change twice.

@matheusdavidson Could you please provide an example in the form of a git repo. We have been unable to reproduce.

@matheusdavidson make sure you read the reply above provided by @paulogr, Call IonicModule without calling the forRoot() static method.

Hi @mhartington and @sereysethy, thank you guys for the response.
@mhartington, i created a new issue and will post the repo there(#11881).
@sereysethy, will have a try, but i have some options inside forRoot(), not sure how i'm going to set options without that.

This framework is mind boggling and utter waste of time. Every new release comes with a new set of bugs without fixing the old bugs. I have a page where click events are firing 4 times in a row. While the other pages are fine. This problem is persistent in ion-checkbox on iOS where click event fires twice. If I change the handler to tap event then the scroll freezes on Android. So essentially if I want to support both iOS and Android then I can't use either click or tap events. What a mess.
I am not sure where the ionic team tests the code. They keep saying "We can't reproduce". This bug can be easily reproduced by having a scroll list with checkbox and testing it on iOS and Android devices.

I have this bug everytime i start a new project and use ion-checkbox. I think this happens on iphone 5s (at least for me), the ionic team might be testing on the emulator or later iphone(6, 7).
@asaxena48, the bug with tap and scroll on android is solved, you just need to update your stack.

It also happens to me, in several places around the app. Unfortunately I can use the solution of removing the forRoot() method because I'm passing options to it.

Hi there folks. This issue has been solved some time ago. If this came back though, please open a new issue and provide a minimal example project that has the issue.

If it's been solved, can you please post a specific link or validate this solution? We ran into this with the latest release and we don't know where to begin to solve it.

@megajustice try to call IonicModule without calling the forRoot() static method in each module. By the way we decided to abandon Ionic because it does not support Desktop and there is no lazy loading. The Ionic team starts to announce PWA and shift their efforts from Ionic to PWA, to me Ionic will not get anywhere.

@sereysethy Thanks! We tried removing foroot and it caused a host of other issues. We finally fixed it. We wasted a couple of weeks fighting this and Android 7 lack of support for SQLite with Intercom. We have a specific build script that will get the app functioning with all associated dependancies. Blood, sweat and beers.
We got our app out the door, sure, it worked but the frustration, incompatibilities, build process and multiple developers debugging random device specific issues. Then iOS 11. Ugh.
Ionic 1, 2, 3, 4 and now 5 within a year? Now PWA. Forget it. I'm running a business with developers and customers that need something consistent and repeatable. If I could only go back in time, I could have saved tens of thousands of dollars NOT choosing this framework. It was my decision but we too are abandoning Ionic. Back to native. I love what the Ionic team is doing, they are great people and motivated. There are too many variables to manage and the market has shifted.


nf_tower 132 exit code

Describe the bug
Some components fail to run and have a exit code 132. With the following error message in the log file : .command.sh: line 77:   133 Illegal instruction     (core dumped) python -B "$tempscript"
To Reproduce
Cannot be reproduced locally
Expected behavior
to have an exit code 0.

@mumichae to be sure we might want to remove the scib pacakge just to be sure to remove all the variable that might cause an issue not directly related to the specific method. Is that ok for you ?

seems this issue has been resolved when PR #263 was merged.


ekUIGen Parallel DLL Access

Currently, I have a solution setup that's simplified to something like:
Project A gets an EmptyKeys UI generated for it through its dependent projects.
Project B gets an EmptyKeys UI generated for it through its dependent projects.
Project C depends on both A and B.
A and B have no common dependencies.
Building project A works great, building project B works great. When project C builds, VS parallelizes the builds of projects A and B, which means that ekUiGen attempts to run against two different projects at roughly the same time, which ends up throwing an IOException in the FileInfo.copy method.
The process cannot access the file '<solution path>\packages\EmptyKeysUI_Generator.<IP_ADDRESS>\tools\EmptyKeys.UserInterface.Designer.dll' because it is being used by another process.

Granted, the real solution here is for me to organize my projects better.
However, I tested adding a backoff strategy with a low upper limit around IOExceptions in File.copy - worked great, but pretty hacky.
Feel free to close if this is the wrong forum for this.

I see, will think about this issue


Remove remaining object variables of Loggo

Codecov Report

Merging #133 into master will decrease coverage by 0.04%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #133      +/-   ##
=========================================
- Coverage   95.45%   95.4%   -0.05%
=========================================
  Files           2       2
  Lines         308     305       -3
=========================================
- Hits          294     291       -3
  Misses         14      14

Impacted Files
Coverage Δ

loggo/_loggo.py
95.37% <100%> (-0.05%)
: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 6eea7b0...e8601cc. Read the comment docs.


Feature Request: Policy Remediation

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description
Is your feature request related to a problem?
I'm using the Archetypes to deploy policies which is working great, I can't see a way using the modules to configure remediation. For example, I've deployed Deploy-MDFC-Config with DeployIfNotExists but looks like I need azurerm_policy_remediation resource block to remediate.
Describe the solution you'd like
A bool in the archetype, in order to activate a remediation, set to false by default
Additional context
Love the module, great work as always!

Hey @ChrisTav424,
Thanks for logging.
Out of interest was this on a new subscription by chance that didn't automatically remediate via DINE, when placed in a Management Group?
A cheeky workaround is to move the sub out and back into the management group and that will trigger subscription level policies like this one to trigger as per https://learn.microsoft.com/en-us/azure/governance/policy/how-to/get-compliance-data#evaluation-triggers
For your ask, we would need to add support for azurerm_management_group_policy_remediation. But you could technically add these outside of the module today to trigger remediations
Let us know
Thanks
Jack

Thanks for the quick reply Jack!
The subscription has been around for some time but was built after the management group structure. I'll try moving it out and back in again, I didn't realise that might trigger it!
If that doesn't work, I'll add it using the native resource block you suggested :)


Fix comment in OddOneOut task

disable result caching in om

What is the problem here @samwinebrake?  :sweat_smile:

What is the problem here @samwinebrake? 😅

@linus-md Hahaha since this typo fix is within a model_helpers file, it triggers all of our unit testing suite. I've been using it as a trigger to retest different changes I've been making to fix these tests! Apologies for all of the notifications, we're very close to having everything pass!

testing log changes

testing jenkins restart

removing tf tests for now

@deirdre-k the typo still persist if I am not mistaken

Apologies, I read the git conflict wrong. Reopening now!


[WIP][Feature] Support SPJG materialized view query rewrite

What type of PR is this：

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #11387 #11386
Problem Summary(Required) ：

Support SPJG materialized view query rewrite. Now only join and aggregate are supported. Union and partial partitions rewrite will be added later.
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

starrocks_be_unittest succeeded.

starrocks_be_unittest succeeded.

starrocks_be_unittest succeeded.


How Bifold wallet maintain the security of cryptographic keys?

I have a few questions regarding the cryptographic key security in the Bifold wallet:

How does the Bifold wallet maintain the security of cryptographic keys?
Is it possible to retrieve cryptographic keys and credentials from a rooted Android phone by accessing root files? If so, what are the potential risks and mitigations?
Can we utilize hardware-specific security measures, such as a Hardware Security Module (HSM), to enhance the security of cryptographic keys in the Bifold wallet?

I appreciate any insights or recommendations on these topics. Thank you.

@Arif-Shahriar028, this might help:
https://github.com/openwallet-foundation/bifold-wallet/discussions/374

We use an encrypted database (via Askar). The actual encryption key is securely kept/managed as encrypted records using the wallet key
I would think that almost anything is possible from rooted device. I recommend using App Attestation to check id the app is running on rooted devices
It depends of the crypto being used. Some protocols might be possible, but we do not have HSM support in place

Hi @cvarjao
I was also curious about this.
Can you confirm what you mean by "wallet key".   Is this something that is stored on device, or is it somehow tied to a user entered PIN ?
As I understand, both Android and IOS support some type of Secure OS or something of that nature to store sensitive information that would be much more difficult to retrieve even on a rooted device.
In theory the wallet key could be stored there so it is better protected..  Does that sound correct ?
Thanks

The wallet key is derived from a generated salt + user PIN.

The generated salt is stored in a secure keyckain
If the user has biometric authentication enabled, the wallet key is stored is secured keychain with biometrics protection
if the user has biometric authentication disabled, then the wallet key is re-created by retrieving the salt and combining with the user's PIN

The wallet key is derived from a generated salt + user PIN.
* The generated salt is always [stored in a secure keyckain](https://github.com/openwallet-foundation/bifold-wallet/blob/ea2300f5186539d23cc401b90b92cb859f24a9e6/packages/legacy/core/App/services/keychain.ts#L69)

* If the user has biometric authentication enabled, the wallet key is stored in a [secured keychain with biometrics protection](https://github.com/openwallet-foundation/bifold-wallet/blob/main/packages/legacy/core/App/services/keychain.ts#L61)

* if the user has biometric authentication disabled, then the wallet key is [re-created](https://github.com/openwallet-foundation/bifold-wallet/blob/ea2300f5186539d23cc401b90b92cb859f24a9e6/packages/legacy/core/App/services/keychain.ts#L61) by retrieving the salt and combining with the user's PIN

at the moment , we are using react-native-keychain to provide the keychain abstraction between iOS/Android, but it does leverage platform/OS specific secure Keychain/Keystore

This is perfect, thanks so much

@cvarjao thanks for your response! I have a few more queries regarding your response.
I have rooted my android phone and installed bifold, then issued some credentials. As the phone is rooted, I can explore its root files.

This is the root folder of the application.

I found this sqlite database in the root folder. I also checked it by db browser, but no readable data could retrived. Everything is encrypted.

These are the files of shared_pref folder. Inside that folder there is an rn_keychain.xml file where salt value can be found. But I am not sure are they encrypted or not.

This is the rn_kechain.xml file.
Now my question is:

Can we somehow decrypt the sqlite database using these information found in root folder?
Can somebody retrieve credentials from these root files? Or, is it possible to retrieve wallet-key from keystore somehow using these root files?

Thanks for your time!

Yes, if you have the wallet key you can decrypt the values.
With the user's PIN, you can generate the wallet key

I am wondering if we can make some changes to not have it stored in that file.
We are using Keychain.SECURITY_LEVEL.ANY. There are a lot inconsistence in the way that vendors support hardware encryption (Keychain.SECURITY_LEVEL.SECURE_HARDWARE). I also noticed we are a couple of versions behind, that things have changed in that react-native-keychain library.
Any help in this space would be very much appreciated.

Ideally the salt should be in the keystore backed by the secure area (SE/TEE). This requires a biometric or device PIN/passcode to enable the encryption. There is an option in the core wallet to turn on a feature that requires biometrics (PIN and Biometrics). This has better security at the cost of usability, as not everyone can or wants to use biometric authentication.
Unfortunately, even if the salt is part of the encrypted key store (backed by the secure area), it will still be accessible (with some effort) if you can access the device directly - e.g., you can shim the crypto libraries and extract the salt or the  key directly.
To truly secure the key as a hardware cryptographic device (as per NIST) you need to create the keys in the secure area. This is only supported for EcDSA keys. There is a plugin in development for Askar that will support hardware backed keys.
The solution required depends on the level of assurance that you need for your use case.


Building jless for more architectures

There's a hackernews comment asking for musl versions of this binary:
https://news.ycombinator.com/item?id=30310461

Humble request: musl version
Keeping a glibc chroot directory takes up a fair bit of space, leaving less space available > for other stuff.
Whenever I try compiling Rust programs it exhausts the available space I have.
Hence I am resorting to begging, starting now (because this program sounds potentially > very useful.) Please folks, if possible, include musl versions in addition to glibc. :)

In the spirit of overdoing everything, this workflows file allows you to build a rust version of your binary for common tier 1 and tier targets, using rust-cross if necessary.
Feel free to tweak the file as necessary.
I forked the repo and ran the action on my fork, so you can see what passed and what didn't pass before using it:
You can see how the run fared here:
https://github.com/Takashiidobe/jless/actions/runs/1833862676/attempts/1
And what versions of jless were created here (32 builds passed):
https://github.com/Takashiidobe/jless/releases/tag/v0.7.1-test

seems like a good list of popular architectures.
I'd suggest aarch-apple-darwin, since that's what the m1 macs run on, and some i686 on linux, and some of the arms on linux because people like tinkering with 32-bit stuff, like this person: https://github.com/PaulJuliusMartinez/jless/issues/25.
The vast majority of the other linuxes are pretty rare, (Anybody have a powerpc little endian linux computer in 2022? A 390x?).

On Alpine Linux, we build all these arches by default (s390x not yet, because rust has not been ported yet). We also support riscv64 (though, no rust there yet either).

While I appreciate the enthusiasm, I'm not familiar enough with GitHub Actions, or anything involved with packaging and releasing software for multiple operating systems and architectures to be able to accept this PR.
I've figured out some basic CI workflows on my own, and I'll add a more sophisticated release pipeline as the project matures.


🐛 序号没有垂直居中

🏷 Version

Package
Version

@antv/s2
1.19.0

@antv/s2-react
1.17.0

@antv/s2-vue
1.0.1

Sheet Type

[x] PivotSheet
[x] TableSheet
[ ] GridAnalysisSheet
[ ] StrategySheet

🖋 Description

⌨ Code Snapshots

🔗 Reproduce Link

🤔 Steps to Reproduce

😊 Expected Behavior
😅 Current Behavior
💻 System information

:tada: This issue has been resolved in version @antv/s2-v1.20.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


 with Navigator's NavigationBar

How can i use The NativeBase  component with facebook's NavigationBar ?
I could extend Navigator.NavigatorBar and override the render to use it, should this be the approach?

I would be curious about any documentation related to how to integrate Navigator into native base generally, I have yet to figure out how to deal with push/pop navigation in native base at all.

@tonypee That should work but we have not tested it. If you have tried it, let us know.
@dpehrson NativeBase provides only UI components. It is left up to the user how they implement navigation. What we normally do is add onPress prop to Buttons inside the Header component which will call push/pop on navigator object.


Logic duplication in SearchRequestContext and TimeProvider

Describe the bug
SearchRequestContext and TimeProvider both has Phase Took Map, and they are basically recording the same thing. We can investigate if we can improve these logic to make them simpler.
Related component
Search:Query Insights
To Reproduce
Check the logic in

https://github.com/opensearch-project/OpenSearch/blob/2.x/server/src/main/java/org/opensearch/action/search/TransportSearchAction.java#L358
https://github.com/opensearch-project/OpenSearch/blob/2.x/server/src/main/java/org/opensearch/action/search/AbstractSearchAsyncAction.java#L436

They are updated with the same data.
Expected behavior
Remove this duplication by refactoring the code to improve the maintainability and simplicity of the core search path.
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):

OS: [e.g. iOS]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Closing this issue with resolution in https://github.com/opensearch-project/OpenSearch/pull/11526


Kubelet should keep the original PodStatus.Host when posting the status

I am seeing pod status update failures due to empty Host field. This prevents the pod status from being updated in some cases. Kubelet should always keep the original host.

In the case I saw, all containers of that pod has exited with 1, and the restart policy was never. There seems to be two issues.

kubelet queried docker and [couldn't find the containers] (https://github.com/GoogleCloudPlatform/kubernetes/blob/master/pkg/kubelet/kubelet.go#L1900): "No pod infra container exists for this pod"
kubelet decided to return a pending status with no host set

(2) triggered a status update which attempted to clear the host field. This should not be allowed.

#6127 is a quick fix for 2. There is a broader question about whether "pending" is the best status to return in this case.
Whey kubelet won't report failed (1) still needs more investigation.

I'd be happy if PodStatus.Host were eliminated from v1beta3 and just populated from PodSpec in v1beta1/2.

@bgrant0607, yes, I thought someone was working on that. Filed a issue just in case #6165.


Fix delayed_job cleanup ["pkill", "-9", "-f", "delayed_job"]

I've evened up my fork with the latest release, and re-installing on my local machine I get and error at he end of the invocations section in README-ingestion2.md:
  dev_ingestion_all.yml --extra-vars "initial_run=true"```

The error:
```TASK [api : Stop obsolete delayed_job if it is running] ************************```
```fatal: [dev1]: FAILED! => {"changed": true, "cmd": ["pkill", "-9", "-f", "delayed_job"], "delta": "0:00:00.003681", "end": "2016-01-29 13:10:56.166660" . . .  ```

I try a ```vagrant reload``` to no effect. I'm hoping you could point me in the right direction to solving this.

Thanks for reporting this. I'll have a look soon.
Just to make sure I understand clearly, is this a new installation on a new VM?  (You mentioned re-installing, and you're running with initial_run=true.)

Correct. New VM and with initial_run=true. I'm going to come at this one more time in the interim.

This is probably the problem.  If a process is not running, pkill says "Killed" but returns nonzero. That's getting interpreted (rightly) as failure by ansible.
mb@dev1:~$ ps auxw | grep [d]elayed
mb@dev1:~$ sudo pkill -9 -f delayed_job
Killed
mb@dev1:~$ echo $?
137

I think it'll be safe to have the task ignore errors.

I set it to ignore for now and all is well. Thanks for this!


Hello Rails Backend

Create a new Rails API app called 'hello-rails-back-end'.
Initialize your project with Git.
Make sure that your project has a Postgres database set up.
Create a table for storing your messages and create 5 different greetings.
Create an API endpoint that selects a random greeting from your table

Hi @usmansbk 👋,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, that doesn't have a PR(pull request) for your frontend repo please kindly provide a PR for the frontend which shows changes so that the frontend repo would be reviewed easily as it would be difficult to review without a Pull request with changes
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

@Davidosky007 I understand now. The instructions only specified "In the README file for the Rails API, add a link to your React app."

Hi @usmansbk 👋,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Issue7 pv nodes

Fixes #7.
Thanks to @marcopau!

Something went wrong here. Please do not merge yet. Sorry...

Okay, I fixed this merge request now. Please review and merge. :)