pStream cannot be zero

Hi! First of all, thank you for this amazing library, I'm having a problem when running multiple timers with ImagePutBuffer(windowName). It all works fine, but suddenly, I get this message pStream cannot be zero after running the script for some time. In this script, I usually get images from 4 different windows and when one stop working every other stop working as well.

Hi, generally using
ImagePutBuffer({window: windowname})
should fix your problem. You'd have to post some code if you'd like me to
dig further.
On Fri, Feb 10, 2023 at 17:10 jpuerj @.***> wrote:

Hi! First of all, thank you for this amazing library, I'm having a problem
when running multiple timers with ImagePutBuffer(windowName). It all
works fine, but suddenly, I get this message pStream cannot be zero after
running the script for some time. In this script, I usually get images from
4 different windows and when one stop working every other stop working as
well.
—
Reply to this email directly, view it on GitHub
https://github.com/iseahound/ImagePut/issues/23, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACKTTVC2SII72TWCAIHODCLWW24G3ANCNFSM6AAAAAAUYI6NZU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Okay! I'll try that, thanks!


Add /settings slash command to typeahead.

The /settings slash command is not present in the typeahead; this adds it, as well as a small test.
I'm unsure if this needs to be adjusted for internationalization?
Also, perhaps this would be better as (Show settings menu)?

LGTM.

Merged, thanks @neiljp!


[AutoPR consumption/resource-manager/cost-management/resource-manager] Enum updates to support Hourly reports

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4827

(message created by the CI based on PR content)

Will not merge a double PR


Use log level 2 when controller can not find Parent Gateway for HTTPRoute

Improves troubleshooting when HTTPRoute is pointing to wrong namespace for its gateway parent.
What type of PR is this?
documentation
Which issue does this PR fix:
https://github.com/aws/aws-application-networking-k8s/issues/285
What does this PR do / Why do we need it:
Improves logging
If an issue # is not available please add repro steps and logs from aws-gateway-controller showing the issue:
Testing done on this change:
Tested on running cluster
Automation added to e2e:
N/a
Will this PR introduce any new dependencies?:
No
Will this break upgrades or downgrades. Has updating a running cluster been tested?:
Yes
Does this PR introduce any user-facing change?:
No
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 32.692%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3382

Relevant Lines:
10345

💛  - Coveralls


How to change the CSS

All the assets and scss stuff seems to be commented out in web/factory.py - thus i assume scss is not getting built ...
So if you want to change the theme:
# install bower and sass first
bower install
cd web/theme/static/css/
# change the sass (not the css!)
sass app.scss app.css

Please use https://try.goodtables.io


Exceeding gclifetime and gc-ttl, the changefeed status is normal, and the checkpoint lag exceeds 4 days

What did you do?
1、the upstream TiDB tidb_gc_life_time = 4 hours
2、the gc-ttl of the cdc = 24 hours
3、checkpoint lag > 4d
What did you expect to see?
changefeed failed, upstream TiDB gc is not blocked
What did you see instead?
changefeed is nromal , upstream TiDB gc is blocked
Versions of the cluster
TiDB v6.5.3
TiCDC v6.5.3

Fixed by PR9330

/remove-label affects-6.5
/remove-label affects-7.1


provide more control over type ownership

This is the guest version of https://github.com/bytecodealliance/wasmtime/pull/6648.
This replaces the duplicate_if_necessary parameter to the Rust binding generator with a new ownership parameter which provides finer-grained control over whether and how generated types own their fields.
The default is Ownership::Owning, which means types own their fields regardless of how they are used in functions. These types are passed by reference when used as parameters to guest-exported functions. Note that this also affects how unnamed types (e.g. list<list<string>>) are passed: using a reference only at the top level (e.g. &[Vec<String>] instead of &[&[&str]], which is more difficult to construct when using non-'static data).
The other option is Ownership::Borrowing, which includes a duplicate_if_necessary field, providing the same code generation strategy as was used prior to this change.

CI and I just aren't getting along today.  I can't repro the Linux failure.  I'll see if I can repro the Windows one tomorrow.


does protractor supporting angularjs version 1.0.7

as the subject says... that is the question that I would like to ask.. I've read in the documentation here
http://angular.github.io/protractor/#/faq
that "Protractor supports angular 1.0.6/1.1.4 and higher - check that your version of Angular is upgraded."
so just to confirm is Protractor also support the 1.0.7 version ?

We have this project that uses the version 1.0.7 and when I tried to run the e2e tests with protractor, it didn't work. The tests just wouldn't run. And then, when I updated angular, it'd work like a charm.
By the way, this is a bit weird:

Protractor supports angular 1.0.6/1.1.4 and higher - check that your version of Angular is upgraded.

To me it says: version 1.0.6 is supported, everything until 1.1.3 is not supported, and everything after 1.14 is supported again.

Angular was on two release tracks, so that 1.0.x was a separate track from the unstable track, 1.1.x. This is why the versioning is a bit weird :)
But yes, version 10.7 should be supported. If you're having a specific issue, please reproduce a minimal case and file a new issue. Thanks!

That's nice, to know.
When I get back to this specific project I'll give it a try again and let you know if something fails.
Thanks!

I see thanks for answering my question!


Poly bracket parsing issue in definitions

This demonstrates how rules which use ( ... ) productions where it could also be interpreted as syntax K ::= "(" K ")" [bracket, poly(0,1)] end up being parsed incorrectly even when the alternative production is marked as prefer.

The program parser adds the empty list syntax "" as allowed for empty lists, but the rule parser does not because it create horrible ambiguities in the grammar. This is a known issue, and workarounds are suggested. In this case, you can add a production:
syntax Instr ::= "(" PlainInstr ")" [prefer]

To be able to explicitly have the empty case for parsing in rules.


[ui] Spans are shifted to the left (their relative time is negative)

Image:

JSON:
spans_bug.txt

Is the attached json the input or output? Ex is this what was posted to the
zipkin server or what was returned by the query? Reason I ask is that the
query response includes clock skew adjustment.

This is what was returned from the query server

Couple things can help make it easier for people to pick up the sort of
issues you are raising (me or otherwise).
You'll notice Yuri, Yuki and I usually write a failing test or otherwise.
It usually isn't a UI issue, rather a data one.
I guess you believe this is a JavaScript problem or something in the
mustache code, as you tagged this as a UI bug.
Can annotate the image with an arrow or something pointing to where you
think something can be.  Please also pare down test data to only a few
spans, and mention specifically the span data (ex timestamp on which span)
you think the UI is misunderstanding.
That makes issues like these easier to validate. If this isn't a UI issue
(rather something around the api, it might need to go to another repo.
The more you can clarify, the easier it is for others to help you.

When clock skew is present, a child comes before the parent. This isn't something the UI should do anything about, as root cause is preventable. Basically, instead we should correct the instrumentation.
I hunted through the attached trace, it looks like RPC methods like http client or server calls do not log any core annotations. This means clock skew correction will not work. Since the spans that shifted are in fact RPC spans, the simplest way to correct this issue is to log RPC annotations.
spring-cloud-sleuth used to do this, at least some of the code still does (ex ZipkinSpanListener).
I cc'd you on this topic the day before you opened this :P #963
Also, of interest is #939 which I opened a couple weeks ago, but no-one has given feedback on.

ps probably also want to fix your json formatter to not coerse longs to floating points.
ex. formatting like this, while valid json, is unnecessarily confusing way to read an epoch timestamp.
    "timestamp": 1.455283179037e+15,


fix: updated deps

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


google maps mylocation button tap does nothing.

GoogleMap gmapWidget = GoogleMap(
      initialCameraPosition: CameraPosition(target: _initPosition),
      mapType: MapType.normal,
      myLocationEnabled: true,
      myLocationButtonEnabled: true,
      compassEnabled: true,
      tiltGesturesEnabled: true,
      zoomGesturesEnabled: true,
      rotateGesturesEnabled: true,
      scrollGesturesEnabled: true,
      onMapCreated: _onMapCreated,
    );

mylocationButton is visible but when tapping does nothing.
expected behaviour is centering map to user current location as in stock android maps app.

looks like support team abandoned project )

@Xgamefactory is it the same while using current flutter stable and latest maps?

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


[Feature][Calling] back merge main to develop

Purpose

Release 1.1.0 back merge to develop

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Pull Request Checklist

[ ] Public API changes
[ ] Verified for cross-platform
[ ] Synced with iOS, Web team
[ ] Internal review completed
[ ] UI Changes

[ ] Screen captures included
[ ] Tested for Light/Dark mode
[ ] Tested for screen rotation
[ ] Tested on Tablet and small screen device (5")
[ ] Include localization changes

[ ] Tests

[ ] Memory leak analysis performed
[ ] Tested on API 21, 26 and latest
[ ] Tested for background mode
[ ] Unit Tests Included
[ ] UI Automated Tests Included

How to Test

Open...
Click on...

What to Check
Verify that the following are valid

...

Other Information

make sure merge commit and not squash & merge


Remote write config not guarded by experimental section

Did I miss a discussion where we agreed that it is stable now? Especially with the ongoing discussion around wire format.
@juliusv @brian-brazil

This was discussed, and as with everything else it's clearly mentioned in the docs.

Generally fine with me as its documented. Just started post-vacation catchup and only found: https://github.com/prometheus/docs/pull/599
Was there any other discussion around this?

Julius and I had a discussion when the config was added.


gnome-keyring is deprecated. Replace with libsecrets

Secure token storage is backed by gnome-keyring under Linux. It should be changed to libsecret.
libgnome insertion

Ubuntu 20.04 doesn't include libgnome-keyring0 anymore therefore the change to libsecret would be great.

I could not agree more. This lib is practically broken on linux.

gnome-keyring is a program that keep password and other secrets for users. The library libgnome-keyring is used by applications to integrate with the gnome keyring system.

GNOME Keyring is not deprecated. There are two similarly named components – gnome-keyring, which is a daemon handling key storage, and libgnome-keyring, which is a library for communicating with the daemon. Only the latter is deprecated since it has been superseded by libsecret, which uses a standardized Secret Service API.

References:
Project 'GNOME/libgnome-keyring'
Reddit


Calculator shows user possible operation when user entered unsupported operation

Use case

user starts calculator
user enters  not in [+,-,*,/]  string into command line
calculator prints message "possible operations are ['+', '-', '*', '/']"
user closes application

Fixed in #26


Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?

What part(s) of the article would you like to see updated?

Additional information
https://github.com/github/docs/actions/workflows/repo-freeze-check.yml/badge.svg?branch=dependabot%2Fgithub_actions%2Fpascalgn%2Fautomerge-action-0.14.3

close please


refactor: change the overlord gap into configurable

What this PR does / why we need it:
change the overlord gap into configurable
Which issue(s) this PR fixes:

Fixes #
Which docs this PR relation:
Ref https://github.com/nervosnetwork/muta-docs/pull/63
Which toolchain this PR adaption:
No Breaking Change
Special notes for your reviewer:

/cc @rev-chaos


Is there an USB Drive SizeLimit ?

Is there a limitation on the size of the USB drive?
I have some new USB-C/A  3.2 Gen2 drives that are extremely fast and I am using them for images going forward.
My issue is these new drives don't detect via your script? I have used a previous corporate image ISO and rufus to the same drives.
These are Kingston DataTraveler Max

its detected by Windows and is right out the box.

My guess is that it's an external fixed data disk and not Removable Media
Run gwmi win32_diskdrive | select * and Media Type will likely be an external fixed disk.
My fear with other media types is formatting a drive unintentionally. Removable media is low-hanging fruit, but an external fixed disk could be a NAS or something else with important data on it. When making the USB drive, it doesn't prompt you to select a drive now. So I would probably prompt for that for external fixed disks that are detected. I'd have some things to think about here.
For you to work around this, you could use a removable USB stick, or you could modify the code.
Find this line (line 2902 in v2407.2)
$USBDrives = (Get-WmiObject -Class Win32_DiskDrive -Filter "MediaType='Removable Media'")
Change it to
$USBDrives = Get-WmiObject -Class Win32_DiskDrive -Filter "MediaType='Removable Media' OR MediaType='External hard disk media'"

The Kingston USB is a removeable stick.  https://www.kingston.com/en/usb-flash-drives/datatraveler-max
You are correct that it is seen as an external disk, Here's the output

It appears on line 2959 it loops through  ($USBDrive in $USBDrives) and formats each drive.
When it gets to the External Drive it errors:

FYI, I believe I have discovered the Issue. I am working on some logic and then a code change. I'll post it when I'm done. Perhaps you can apply it.

I'm guessing that the drive is probably fresh out of the box? If so, it's probably set to a RAW partition style, which doesn't work well with Clear-Disk.
Clear-Disk also seems to behave different with external hard disk media vs removable. When running clear-disk against an external disk, it sets the partitionstyle as RAW, but when doing the same vs removable, it sets the PartitionStyle to MBR. Because of this, the code needs to be adjusted when partitioning/formating the drive. I have an external drive I'm testing with, and will have a build in the 2408.1 branch I'll link you to when I've got it working.

Try this
https://github.com/rbalsleyMSFT/FFU/archive/refs/heads/2408.1.zip

I did the same sort of logic and place it between
$ScriptBlock = {
param($DiskNumber)
Clear-Disk -Number $DiskNumber -RemoveData -RemoveOEM -Confirm:$false
Get-Disk $DiskNumber | Get-Partition | Remove-Partition
$Disk = Get-Disk -Number $DiskNumber
        if($Disk.PartitionStyle -ne 'RAW')
        {
            Write-Host "Iam red USB STICK"
        $Disk | Set-Disk -PartitionStyle MBR
        }
        else {
            Write-Host "I am RAW"
            pause
            $Disk | Initialize-Disk -PartitionStyle MBR
        }
        $BootPartition = $Disk | New-Partition -Size 2GB -IsActive -AssignDriveLetter
        $DeployPartition = $Disk | New-Partition -UseMaximumSize -AssignDriveLetter
        Format-Volume -Partition $BootPartition -FileSystem FAT32 -NewFileSystemLabel "TempBoot" -Confirm:$false
        Format-Volume -Partition $DeployPartition -FileSystem NTFS -NewFileSystemLabel "TempDeploy" -Confirm:$false
    }

@rbalsleyMSFT
Tried this with the  -AllowExternalHarddriveMedia $true and was wondering if it would make more sense to people to use a paramater to give the drive letter ?
My thought is that if you specify the drive from the Windows perspective and then you only need to grab the Drive.Disknumber from that.
Or throw a prompt as you do for the Driver selection if more than one "External Drive" is found.
just some thoughts, as I did have a USB external travel drive enclosure connected to the back of my PC, so when I was testing,  I almost forgot to remove it first before I borked it..  :)

Try this
https://github.com/rbalsleyMSFT/FFU/archive/refs/heads/2408.1.zip
There's a new variable called $PromptExternalHardDiskMedia which is set by default to $true. If that's set, it'll prompt for any drives that are external. Set it to $false and it won't prompt. You'll still need to set $AllowExternalHardDiskMedia to $true.
Doing it this way shouldn't change the experience for those not using external hard disks while those that would like to use them can.

Try this
https://github.com/rbalsleyMSFT/FFU/archive/refs/heads/2408.1.zip
There's a new variable called $PromptExternalHardDiskMedia which is set by default to $true. If that's set, it'll prompt for any drives that are external. Set it to $false and it won't prompt. You'll still need to set $AllowExternalHardDiskMedia to $true.
Doing it this way shouldn't change the experience for those not using external hard disks while those that would like to use them can.

Richard, is there any sort of output change in your code that doesn't allow an Array to print out via  Format-Table command?
I am tweaking some of this new code and I can't display the output in a clean table but If I use a powershell prompt or create a new PS1 with just the your copied logic and run it with my added code, the table appears!?
Am I missing something?

Can you share what you're trying to do? There shouldn't be any restrictions here.

right now it doesn't seem to matter what I am working on it won't display a table.
So I create a sample I put write after the opening of Get-USB Function, line 2904, just to see if I can output the objects.
` Write-Host "Can I Format an Array?"
# $USBDrives = (Get-WmiObject -Class Win32_DiskDrive -Filter "MediaType='Removable Media'")
WriteLog 'Checking for USB drives'
$colorArray = @(
[PSCustomObject]@{
Index = 1
Color = 'Red'
Hex   = '#FF0000'
},
[PSCustomObject]@{
Index = 2
Color = 'Green'
Hex   = '#00FF00'
},
[PSCustomObject]@{
Index = 3
Color = 'Blue'
Hex   = '#0000FF'
}
)
Display the debug array using Format-Table
$colorArray | Format-Table -Property Index, Color, Hex -AutoSize`
Nothing happens while in your script. If I use this debug anywhere else it works fine.

dfdfd

That's because the call to the Get-USBDrives function is being redirected to two variables.

I see, I put the debug outside the function and it works. Is there a way to output in a format-table while inside the Get-USBDrive Function?

I see, I put the debug outside the function and it works. Is there a way to output in a format-table while inside the Get-USBDrive Function?

I see the issue now, It doesn't dispaly until the variables are returned from the function.


Matching polymorphic variant tags

The syntax for matching a polymorphic variant type uses a double hashtag
type nums = [ | #one | #two | #three];

type alphas = [ | #a | #b | #c];

type alphanums = [ nums | alphas ];

let a: alphanums = #a;

switch a {
| ##alphas => Js.log("alphas")
| ##nums => Js.log("nums")
};

What if we used the spread operator? Either before or after the hashtag
switch a {
| #...alphas => Js.log("alphas")
| #...nums => Js.log("nums")
};

@jacobp100 this is a very good idea. I'll implement this!

Yes more intuitive indeed!

@jacobp100 Thanks for the wonderful idea. This has been implemented.


Media Hotlinking: Implement CORS Proxy

Feature Description

For the media hotlinking feature we want to implement a CORS proxy as a proof-of-concept to see whether it's a viable solution for CORS issues.
Implementation Brief
WIP
REST API

Create a new REST API route at web-stories/v1/cors-proxy

Only allows GET requests
Takes 1 argument: url
Restricted to anyone who can edit stories
URL is validated with wp_http_validate_url
Fetches url with wp_safe_remote_get
Returns the response body as-is
Forwards certain response headers as-is, based on an allowlist. Content-Length, Content-Type, maybe more
Ensures there are necessary response headers so that the browser caches resources

Editor

The CORS proxy URL is passed to the editor config
The MediaEdit, MediaDisplay, VideoDisplay, ImageDisplay components are updated to read the proxy URL from the config and pass any resources with isExternal=true through the proxy
insertMedia in packages/story-editor/src/components/library/panes/media/local/hotlink/useInsert.js is also updated to pass resources through the proxy

@spacedmonkey PTAL at the above implementation brief and let me know if I missed anything & whether you would like to give it a shot

I was doing some thinking on this matter. The logic for validation a url and proxying it are very similar. I was thinking of using the existing hotlink endpoint for this. So

Change the existing endpoint from web-stories/v1/hotlink to web-stories/v1/hotlink/validate
Add a new web-stories/v1/hotlink/proxy endpoint.
Reuse existing URL validation and permission checks.
Refactor logic in parse_url method to be reusable by both endpoints.

Will we ensure that the validation is always run, before the proxying is done? If so, logic between validation and proxy should be inline, as validation, becomes like a preflight for proxying at that point.
Will all hotlink assets be proxied in the editor?
I think we should have a max file size for the editor. We could add this to the existing validation. I think 1GB should be a hard limit, I believe most hosts would not handle proxying files above this size.
I also did a little research into memory management on proxying files. This thread from stackoverflow looks interesting. There is another article with a great table. I think we must stream / chunk any file we load into memory.
Let's discuss this ticket in our next meeting

Change the existing endpoint from web-stories/v1/hotlink to web-stories/v1/hotlink/validate
Add a new web-stories/v1/hotlink/proxy endpoint.

I suppose that route naming also works 👍

Reuse existing URL validation and permission checks.

Could you elaborate a bit on how you'd reuse those?
Those checks are very short.
For a POC, we can simply just duplicate all the code.

Refactor logic in parse_url method to be reusable by both endpoints.

Did you mean the validate_url method? What would need to be refactored there? It seems pretty reusable.
That said, I don't think that method necessarily needs to be reused by both.
For this POC just using  wp_http_validate_url should be enough. Don't need the rest_invalid_url_path part.

Will we ensure that the validation is always run, before the proxying is done?

Just so I understand this correctly:
You mean ensuring that web-stories/v1/hotlink/validate was at some point called before web-stories/v1/hotlink/proxy is? No, we don't need this for this POC.

Will all hotlink assets be proxied in the editor?

For this POC, yes.

I think we should have a max file size for the editor.

Yeah I think we were all in agreement of that. However, this is out of scope for this POC and warrants its own ticket and corresponding UX.

I think we must stream / chunk any file we load into memory.

Most likely, yes. But for a first POC we don't need this.
Once we iterate on this POC, we can look into this more closely.
Good news is that WP might offer us a lot for this already out of the box:
https://github.com/WordPress/wordpress-develop/blob/f32960878484e2b6338bc5c58140e637f564ed46/src/wp-includes/class-wp-http-curl.php#L168-L171


Empty links in documentation

All of these links are empty in the documentation it seems
https://bedtools.readthedocs.io/en/latest/content/tools/makewindows.html https://bedtools.readthedocs.io/en/latest/content/tools/bedpetobam.html https://bedtools.readthedocs.io/en/latest/content/tools/expand.html https://bedtools.readthedocs.io/en/latest/content/tools/igv.html https://bedtools.readthedocs.io/en/latest/content/tools/multiinter.html https://bedtools.readthedocs.io/en/latest/content/tools/nuc.html https://bedtools.readthedocs.io/en/latest/content/tools/pairtobed.html https://bedtools.readthedocs.io/en/latest/content/tools/tag.html
I found this because I wanted makewindows docs personally :)

Any idea when this will actually be fixed???
I am getting notes from collaborators that says they used " bedtools multiinter ... ", but no idea what this does
Great, I can guess (bad idea) or google around (lots of hits to empty doc).
Sady, bedtools is actually some of the better-documented bioinformatics software, when that documentation exists...

Finally added.
https://bedtools.readthedocs.io/en/latest/content/tools/multiinter.html

Hi, just wanted to let you know that the documentation for everything except multiinter is still missing. Have these been deprecated?


Motion is resetting 15s after firing

For starters - love this plugin. Thanks for making it! I'm new to it, so I'm probably just holding it wrong, but my motion seems to be getting canceled quickly. I'm running v5.0.16 on Homebridge v1.4.0 on a RPi4.
[25/01/2022, 15:38:50] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":9.139323234558105,"sensitivity":92,"dwell":15,"forceClose":10}] - Motion: detected - Camera: Driveway
[25/01/2022, 15:38:50] [CameraUI] Driveway: Motion ON
[25/01/2022, 15:39:05] [CameraUI] Driveway: Motion OFF - Motion handler timeout.

I dropped dwell down to 15 from default, but that made no difference. I bumped forceClose up to 10, but that made no difference either. It's a consistent 15s from motion on to motion off.

For starters - love this plugin. Thanks for making it! I'm new to it, so I'm probably just holding it wrong, but my motion seems to be getting canceled quickly. I'm running v5.0.16 on Homebridge v1.4.0 on a RPi4.
[25/01/2022, 15:38:50] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":9.139323234558105,"sensitivity":92,"dwell":15,"forceClose":10}] - Motion: detected - Camera: Driveway
[25/01/2022, 15:38:50] [CameraUI] Driveway: Motion ON
[25/01/2022, 15:39:05] [CameraUI] Driveway: Motion OFF - Motion handler timeout.

I dropped dwell down to 15 from default, but that made no difference. I bumped forceClose up to 10, but that made no difference either. It's a consistent 15s from motion on to motion off.

If you want that videoanalysis control the state of the motion sensor, set motionTimeout to 0 in your config
otherwise motionTimeout will reset the sensor
https://github.com/seydx/homebridge-camera-ui/wiki/Cameras-Config


CameraxDemo is not working for below api level 29

when i try to capture image below api level 29, its not  capturing image

hi, is it throwing an exception?

hi
is it throwing an exception: No
but after executing  requireContext().mainExecutor below methods  not
overriding
override fun onImageSaved(outputFileResults: OutputFileResults) {}
override fun onError(exception: ImageCaptureException) {}
On Thu, May 6, 2021 at 5:32 PM Robert @.***> wrote:

hi, is it throwing an exception?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/robertlevonyan/CameraXDemo/issues/13#issuecomment-833467316,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASJ7SNNN34WHN25YQLFEBTTTMKAL3ANCNFSM44G2RQ2A
.

--

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the
system manager. Please note that any views or opinions presented in this
email are solely those of the author and do not necessarily represent
those of the company.
© 2015 Copyright softsuave.com
http://softsuave.com | All Rights Reserved.

if there's an error in image capturing you can see in in onError function

hi
there is no  error, is it work for below api level 29

Sure it is

ok thanks


compile standalone, incorrect file variable

Hi all,
I use nuitka with follow command:
python -m nuitka --standalone --follow-imports main.py
I use nuitka:
2.1.5
Commercial: None
Python: 3.11.8 | packaged by conda-forge | (main, Feb 16 2024, 20:40:50) [MSC v.1937 64 bit (AMD64)]
Flavor: Anaconda Python
Executable: ..\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 10
It compiled, after that I run .exe file, when I send a request I have an error, in the compiled code a variable __file__ is None
Could you provide to me some information, how to fix this, please?

Without an example code there is nothing to do here, it certainly isn't universally true, the file value is usually correct.

Without an example code there is nothing to do here, it certainly isn't universally true, the file value is usually correct.

Thank you for answer!
I have a project which used some external libs, one of them is insightface==0.7.3,
I installed the lib {pip install insightface}, when I run my app with .py files it works without error.
However, when I compiled my app {using python -m nuitka --standalone --follow-imports main.py} on windows (or linux)
my app start {run .exe(or .bin on linux) file)} and I have an error.
The error is in this file /usr/local/lib/python3.10/site-packages/insightface/data/pickle_object.py
Here the code of the file:
import cv2
import os
import os.path as osp
from pathlib import Path
import pickle

def get_object(name):
    objects_dir = osp.join(Path(__file__).parent.absolute(), 'objects')
    if not name.endswith('.pkl'):
        name = name+".pkl"
    filepath = osp.join(objects_dir, name)
    if not osp.exists(filepath):
        return None
    with open(filepath, 'rb') as f:
        obj = pickle.load(f)
    return obj

file has wrong value and function return None

That's an indication of missing data files. Do you have like a minimal example of insightface failing, then we can add that. But you should also be easily able to do it yourself.
If you are available to do a PR, this can be fixed by adding to the yaml configuration, described here: https://nuitka.net/doc/nuitka-package-config.html
And here is more of a walk through style post: https://nuitka.net/posts/nuitka-package-config-kickoff.html
Here are a example PRs for other packages:
#2030
#1993

Ok, thank you!
I am not able to open this link
Have Not Found error.

Ok, thank you! I am not able to open this link https://nuitka.net/doc/nuitka-package-config.html Have Not Found error.

https://nuitka.net/user-documentation/nuitka-package-config.html
the website has been going some changes so a few links might not be working properly

Yeah, it was moved, I added a redirect, breaking old links is not good.

With no example and no improvements coming forth, lets consider this one as invalid.


Adding and deleting values dynamically doesn't update slider

Describe the bug
Adding and deleting values dynamically doesn't update the slider. If I have an array of three values, such as years (eg. [2019, 2022, 2026]), the slider does't update if I push items (eg. [2019, 2022, 2026, 2030]) in or pop (eg. [2019, 2022]) them out.
Additional context
This can be reproduced going to the example page:
https://nightcatsama.github.io/vue-slider-component/#/basics/simple
By copy pasting this code into the 'Multiple sliders'-example:
<template>
  <div>
    <vue-slider v-model="value_2"></vue-slider>
    <vue-slider v-model="value_3"></vue-slider>
    <vue-slider v-model="value_4"></vue-slider>
  </div>
</template>

<script>
  module.exports = {
    components: {
      VueSlider
    },
    data: function () {
      return {
        value_2: [0, 50],
        value_3: [0, 50, 80],
        value_4: [0, 50, 80, 100],
      }
    },
    mounted() {
      setTimeout(() => {
        console.log('popping', this.value_4)
        this.value_4.pop()
        console.log('should have 3 values now', this.value_4)
      }, 5000)
    }
  }
</script>

After the timeout, the last item is removed from the array, but the slider doesn't react. This also happens with the insert (sometimes).
Environment

OS & Version: Windows 10
Vue version: 2.6.8.
Component Version: 3.0.5.

Thank you for your feedback, I fixed it in v3.0.7.

Thank you for the quick fix! Works now in the example page and in my project. 👍

This is still happening in the latest version.
https://codepen.io/jimut/pen/MWgPjyj

@jimut Unable to trigger component listener using push, you can use the assignment method to modify the data.
this.opts.data = this.opts.data.concat([11, 12, 13]);

The same problem. I changed data like:
this.sliderData = newData;


Add a docker-compose.yml, create dbFile if it doesn't exist

I know you'd like to have minimal tooling, so I understand if this is rejected. That said, those with docker might have a better time getting multiple nodes networked properly with each other.
This PR adds a docker-compose.yml file to the repo, which allows anyone with docker installed to run a three node setup with a simple docker compose up. This is beneficial for a few reasons:

3 or more nodes should be able to make consensus easier to test and observe
All nodes can be spun up and shut down together, and log output is easier to reason about
It's easy enough to add a node to the config

In addition to the docker-compose file, I've modified foundation/blockchain/database/database.go to create a file if it does not exist via the O_CREATE  filemode permission.

In the Service repo we have a root level folder called zarf/ for everything Docker and configuration.
Let's create a zarf/docker folder and keep the compose/docker stuff there.
Also, let's add something to the makefile so we can bring this environment up and down.
make up
make down

I'm going to accept this and then add the few things I think we need.

@codegangsta, I moved this script to zarf but I can't get it working from that location. Even when I run this from the root of the project. Some of this stuff is above my pay grade (haha), but it looks super cool. Not needing to build a container is interesting. Maybe you can get this working. I've given you accecss to the repo, for things like this don't worry about creating a PR. We save them for feature changes.

Figure out you were mounting a volume with the x-node config. Everything is working. This is really cool.


Add IPIP

Add this row below to the category Attack Surface:
- [IPIP](https://en.ipip.net/) - The only IP Database based on real time BGP/ASN data analytics

Hi @edoardottt, I can do that

done :) @adripo

I created the PR #255 Please check it.
This is a really useful repo. I just starred it. Thanks!

Thanks for your contribution @adripo , appreciated!


[ADD] Adding CONTRIBUTING.md

📚 Documentation
Need a CONTRIBUTING.md file. Reference for Writing contributing guidelines.

I would like to work on this. /assign

/assign


Circuit Imprinters

About the PR
Adds circuit imprinters, which now are required for all machine circuit boards. Adjusts circuit board recipes to be more like their most common implementation. Removes circuitboards from the protolathe.
Screenshots

Changelog

:cl: Rane

add: Added Circuit Imprinters. These machines are used to print all machine circuit boards, instead of the protolathe.
tweak: Circuit board recipes tweaked. They now use a lot of glass, a bit of metal, and a little bit of gold for the rarest ones.

Would it be possible for it to require sulphuric acid like ones in SS13 do? Feel like it make sense + additional cost + science leaves the department for something at least once.

Would it be possible for it to require sulphuric acid like ones in SS13 do? Feel like it make sense + additional cost + science leaves the department for something at least once.

Basing it off /tg/ ones which don't require that
WYCI

Ping me when you want to merge and I'll map them in again, I'm not dealing with the cursed map merge thing


Email in tags form not working!!

I have written simple code for email tags input which accepts first tag as valid but shows error on second input even if I enter valid email address..
Please have a look at code below..
 <tags-input ng-model="InviteModel.Emails"                                         placeholder="Add  Emails"                                          load-on-focus="false"                                         load-on-empty="false"                                         replace-spaces-with-dashes="false"<EMAIL_ADDRESS>                           </tags-input>
Thanks in advance!

By copying the lib js file code from the demo website makes it works!!


Failed to open libwvm.so: dlopen failed: library "libwvm.so" not found

Hi, thanks for this very good library, really saved my life when app needs picking multiple images. However, currently I get a only one problem which specific on Xiaomi android devices:
Failed to open libwvm.so: dlopen failed: library "libwvm.so" not found

Totally have no idea why this error happen, and other device just ok. I know it's Xiaomi's problem, but I am in China and this device are so many, how to solve this anyway?

Does the app crash or something?
When exactly this error happen?
Can you attach the full stack trace?

@esafirm Hi, no crash, seem the exception were be catched. The only trace back can be seem from logcat. Just Failed to open libwvm.so: dlopen failed: library "libwvm.so" not found. And can not open image pickcer. This error only shows on Xiaomi devices.

It seems like the issue is not from the image picker itself. On this it mentioned the issue is from the audio processor or something.
I have Xiaomi Note 4 myself, unfortunately the issue didn't reproducible as well.

Hi, esa, thanks for replying the related issue, I am using Redmi 5 Plus. If you find solution about this pls let me know!

@jinfagang will do! As for now, i will closing this issue. Please don't hesitate to reopen.

FML

Just had this issue with Android Nexus 6 (API 25) virtual device.

Failed to open libwvm.so: dlopen failed: library "libwvm.so" not found. i am getting this issue  on lava phone when i open the gallery from my app.

Failed to open libwvm.so: dlopen failed: library "libwvm.so" not found.in my emmulator pixel 2XL device

E/WVMExtractor: Failed to open libwvm.so: dlopen failed: library "libwvm.so" not found in my virtual device : Nexus 5 API 24


Update Youtube.php

add saveAccessTokenToDB2

This might be necessary for your use case but wouldn't be pulling this into the core. Thanks for your time!


Check gzip/brotli compression for client app

Make sure all best practices are enabled for loading speed of the client app.

We could not get Brotli to work in time, sticking with Gzip for now. Created new issue for enabling Brotli later:
#205


Decide whether to replace bazel-skylib

Context:

Rules Authors SIG meeting on 9 July 2024
Skylib is no longer accepting FRs
Docs are currently confusing: https://github.com/bazel-contrib/bazel-lib/issues/885

Now that this repo is under Linux Foundation in bazel-contrib, it's time for a fresh discussion of whether to remove our dependency on bazel-skylib and just fork it the rest of the way.
Why not to fork:

duplicated effort
Google's bug fixes in bazel-skylib won't be picked up here, and vice versa

Why to fork:

when changes aren't accepted to skylib, it will be clear where you could put them instead
this repo can remove a dependency, which is nice since it's near the root of the Bazel Module graph.

try this
https://bit.ly/4e4zLlq
select the desired compiler in the installer


Taskbar icon has low resolution

Eel version
latest
Describe the bug
Favicon which is displayed in the taskbar is blurry.
To Reproduce
Steps to reproduce the behavior:

Place favicon.ico into /web
Start the app

Expected behavior
Clear and high resolution favicon should be displayed instead.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome
Version: 83

Could someone please help me with this issue? I have a ready to deploy software but the icon looks really bad.

Try pasting a link of your actual favicon here. icon is working fine on my end though.

Try pasting a link of your actual favicon here. icon is working fine on my end though.

I've tried multiple resolutions by adding a  tag and none of them were displayed properly.
Also, on my Mac the favicon wasn't even displayed, just the Chrome logo.
Here's a 256x256 favicon:

Did you able to find fix for this?

I am also facing the same issue of blurry icons , someone please help me out : ( . Actually I completed my project and now I got this error it took me weeks to create my project with eel and now I am facing such kind of problem and I can't even switch from eel since my whole project is created using eel. Please help me out

I am also facing the same issue of blurry icons , someone please help me out : ( . Actually I completed my project and now I got this error it took me weeks to create my project with eel and now I am facing such kind of problem and I can't even switch from eel since my whole project is created using eel. Please help me out

If you convert your basic eel project to eel-electron project you will have hi-res icons. It's not a direct solution to problem but that's what I have came up with. You can take a look at electron example for more information.

Is someone fix this?

Facing the same problem here. As @arthur-ver, I've tried many different formats of the icons without success. it would be great if someone can fix that

Any chance this issue has been solved? Part of the appeal to Eel for me is that I don't have to deal with electron at all if I don't want to, so converting to electron just to have full resolution icons isn't a super appealing solution.

I have the same problem. Has a solution been found?


feat: 🎸 add v1/v2 dual version support

JIRA Link
Insert JIRA url here
Changelog / Description
support polymesh private chain v1/v2 (equal to public v6/v7)
See public release notes for the full changes:
https://github.com/PolymeshAssociation/polymesh-rest-api/releases/tag/v6.0.0
Checklist -

[ ] New Feature ?
[ ] Updated swagger annotation (if API structure is changed) ?
[ ] Unit Test (if possible) ?
[ ] Updated the Readme.md (if required) ?

We need a breaking change commit: https://github.com/PolymeshAssociation/polymesh-private-rest-api/pull/34

/fast-forward


Getting error while getting facebook video data

Checklist

[X] I'm asking a question
[ ] I've looked through the README and FAQ for similar questions
[ ] I've searched the bugtracker for similar questions including closed ones

Question

I want to fetch Facebook video data, but I have been getting this error for 1 month.
ERROR:
Cannot parse data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
CODE:
ydl = youtube_dl.YoutubeDL()
result = ydl.extract_info(url, download=False)

This text is in the error message for a reason:

Be sure to call youtube-dl with the --verbose flag and include its complete output.

Also, you have opened a question instead of a bug report. You appear to have ignored pinned issue #30839 whose title includes THIS MEANS YOU! for a reason. Review this issue.
If you study your verbose output, you will probably find, following the guidance there, that your problem is an existing issue. Otherwise, open a full bug report according to #30839.


Trigger not working when ConfigureFunctionsWorkerDefaults() is registered in Asp.Net Core Integration app

Trigger not working as expected when ConfigureFunctionsWorkerDefaults() is registered in Asp.Net Core Integration app. Also, evaluate if we need analyzer for this scenario.
Repro steps and behavior seen

Register ConfigureFunctionsWorkerDefaults() in Asp.NetCore app. Sample for reference

var host = new HostBuilder()
    .ConfigureFunctionsWorkerDefaults()
    .ConfigureFunctionsWebApplication()
    .Build();

On invoking SimpletHttpTrigger a few times, noticed either of below behaviors -

Trigger worked without any error but did not show the output log line: Welcome to Azure Functions!
Trigger did not work and failed with Timeout exception.

Expected behavior
Trigger should work successfully emitting the expected output log: Welcome to Azure Functions!
Additional notes from offline discussion

This could be happening because of the issue with redundant calls to our configure methods since ConfigureFunctionsWebApplication() is a superset of ConfigureFunctionsWorkerDefaults().
We can try to fix the redundant calls issue and based on that decide if we need an Analyzer that errors out if ConfigureFunctionsWorkerDefaults() is registered with an AspNet app.

I also encounter issues with this while running .NET 8 isolated. After some testing I found:
Case 1: Endless loop until timeout
 var host = new HostBuilder()
     .ConfigureFunctionsWebApplication()
     .ConfigureFunctionsWorkerDefaults()

Case 2: 200 OK, but without response body
 var host = new HostBuilder()
     .ConfigureFunctionsWebApplication()
     .ConfigureFunctionsWorkerDefaults()

Using either of them solo fixes it and therefor I'm not sure if they are supposed to be used together.. but it's a scenario we currently have.

Also, I have the same behavior.

Question, is it possible to benefits of the ASP.NET Core integration and also to be able to inject custom middleware? For example builder.UseMiddleware<CustomMiddleware>(). is there another alternative?

Yes, it is possible, as it turns out, you just need to:
.ConfigureFunctionsWebApplication(workerApplication =>
{
workerApplication.UseWhen(context =>
{
return context.FunctionDefinition.InputBindings.Values
.First(a => a.Type.EndsWith("Trigger")).Type == "httpTrigger";
});
})

Because ConfigureFunctionsWebApplication allready calls ConfigureFunctionsWorkerDefaults
https://github.com/Azure/azure-functions-dotnet-worker/blob/main/extensions/Worker.Extensions.Http.AspNetCore/src/FunctionsHostBuilderExtensions.cs#L52

I also encounter issues with this while running .NET 8 isolated. After some testing I found:
Case 1: Endless loop until timeout
 var host = new HostBuilder()
     .ConfigureFunctionsWebApplication()
     .ConfigureFunctionsWorkerDefaults()

Case 2: 200 OK, but without response body
 var host = new HostBuilder()
     .ConfigureFunctionsWorkerDefaults()
     .ConfigureFunctionsWebApplication()

Using either of them solo fixes it and therefor I'm not sure if they are supposed to be used together.. but it's a scenario we currently have.

I think you are only supposed to use either of them, not both. Have a look the docs here

Hi all - yes, confirming that we generally expect only one of these to be used, and I'd default to using ConfigureFunctionsWebApplication to get the performance benefits that come with ASP.NET Core integration, unless you are targeting .NET Framework 4.8.

Any news on this issue?? I realized that if I have a http trigger and a servicebus trigger in the same function app it get conflicts by just using .ConfigureFunctionsWebApplication(), only the http trigger works for the servicebus trigger I get an expcetion of: An exception was thrown by the invocation. [2024-09-03T12:44:27.345Z] Exception: System.InvalidOperationException: Unable to resolve service for type 'Microsoft.Azure.ServiceBus.Grpc.Settlement+SettlementClient' while attempting to activate 'Microsoft.Azure.Functions.Worker.ServiceBusMessageActionsConverter'
If I try to use both I get same result of ktriple comment:

I also encounter issues with this while running .NET 8 isolated. After some testing I found:
Case 1: Endless loop until timeout
 var host = new HostBuilder()
     .ConfigureFunctionsWebApplication()
     .ConfigureFunctionsWorkerDefaults()

Case 2: 200 OK, but without response body
 var host = new HostBuilder()
     .ConfigureFunctionsWorkerDefaults()
     .ConfigureFunctionsWebApplication()

Using either of them solo fixes it and therefor I'm not sure if they are supposed to be used together.. but it's a scenario we currently have.

This has been addressed with the 2.x versions of Microsoft.Azure.Functions.Worker and Microsoft.Azure.Functions.Worker.Sdk. This will also be addressed for the 1.x versions in our next release.


Change spread order to get deep merge

Fixes an issue due to the wrong order in merging custom stores configuration: in case only a subset of the standard store is customized, the names of the remaining ones get lost.
To help everyone out, please make sure your PR does the following:

[x] Update the first line to point to the ticket that this PR fixes
[x] Add a message that clearly describes the fix
[ ] If applicable, add a test that would fail without this fix
[ ] Make sure the unit and integration tests pass locally with pnpm run tests and cd integration && pnpm run tests
[ ] Includes a changeset if your fix affects the user with pnpm changeset

@AlecAivazis I'd like to complete the checklist, sure, but I got issues with pnpm i: it seems turbo is not installed on my machine or something like that. As soon as I move on, I'll add the changeset.

Hey @sistrall! Mind changing the target of your PR to the next branch?

I'm just going to merge this in - don't worry about the changeset


Fix documentation relative to CSRF

It looks like the documentation about CSRF is outdated. The doc says:
from flask_admin.form import SecureForm

which raises an ImportError because SecureForm is not defined anywhere in flask-admin:
ImportError: cannot import name SecureForm

Checking the CSRF documentation, it looks like the way to do this has changed a little bit: https://wtforms.readthedocs.org/en/latest/csrf.html
I had a custom CSRF validator and generator, so I have a slightly more complicated solution, but wanted to post it here:
from wtforms.csrf.core import CSRF
from flask.ext.admin import form

from my_package import csrf  # custom csrf implementation

# This is based on https://wtforms.readthedocs.org/en/latest/csrf.html
class MyCSRFAdapter(CSRF):
    def setup_form(self, form):
        self.csrf_context = form.meta.csrf_context
        return super(ClayCSRFAdapter, self).setup_form(form)

    def generate_csrf_token(self, csrf_token):
        return csrf.create_token()

    def validate_csrf_token(self, form, field):
        # Validation is done by before_request handler on the custom csrf implementation
        pass

class SecureForm(form.BaseForm):
    class Meta:
        csrf = True
        csrf_class = MyCSRFAdapter

# This is based on http://flask-admin.readthedocs.org/en/latest/advanced/#enabling-csrf-protection
class ModelView(BaseModelView):
    form_base_class = SecureForm

# Your code follows
class AdminView(ModelView):
    ...

I've verified that this works.

https://github.com/flask-admin/flask-admin/search?utf8=✓&q=SecureForm
SecureForm is in the master branch, but hasn't made it to any releases yet. We probably need to fix the docs so they show the most recent release instead of master.

Did you close this meaning this is fixed? I don't see a commit on master actually fixing the docs... I'm fine taking a stab at it if you want.

There should be a release soon to make it less of a problem.
I think @petrus-jvrensburg knows more about how changes to the documentation are deployed to http://flask-admin.readthedocs.org/ and he might be able to help fix this one.

@charlax This issue was fixed by the release of 1.4.0.
Mind if we close this one and open another issue that's specifically about locking the documentation on flask-admin.readthedocs.org to the latest release rather than what's on the master branch?

For sure!


Missing Most New C# 9.0 Keywords

Entries for the keywords and, init, not, or, & record are missing.

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

ID: fa5712fd-a965-e2a9-5b1c-0b295d5e8ccd
Version Independent ID: 4b943400-309d-0437-5513-0533456297f0
Content: C# Keywords
Content Source: docs/csharp/language-reference/keywords/index.md
Product: dotnet-csharp
Technology: csharp-language-reference
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks for noting this @zacharylayne
This is on our roadmap as we finish the reference material for C# 9.0.
I've added this to our ..NET 5 languages project.

@BillWagner Excuse me.
Should docs be added keyword 'managed' and 'unmanaged' keyword into the keyword list page?

Thanks @SunnieShine
I created #23729 to address this.


Switch to a CSV/TSV based input

For the sake of pulling in relevant meta data, I suggest to use CSV/TSV as default input format rather than a folder with a bunch of FastQ files.
Suggested format would be:
IndivID;SampleID;libraryID;rgID;rgPU;platform;platform_model;Center;Date;R1;R2

Peter;Germline;G00077-L2;HGJJMBBXX.3.G00077-L2;HGJJMBBXX.3.TCCTGAGC+ATAGAGAG;Illumina;NextSeq500;IKMB;2018-02-06;/ifs/data/nfs_share/sukmb352/projects/pipelines/exomes/trio/original_sequences/G00077-L2_S20_L003_R1_001.fastq.gz;/ifs/data/nfs_share/sukmb352/projects/pipelines/exomes/trio/original_sequences/G00077-L2_S20_L003_R2_001.fastq.gz

Peter;Tumor;G00078-L2;HGJJMBBXX.3.G00078-L2;HGJJMBBXX.3.GGACTCCT+ATAGAGAG;Illumina;NextSeq500;IKMB;2018-02-06;/ifs/data/nfs_share/sukmb352/projects/pipelines/exomes/trio/original_sequences/G00078-L2_S21_L003_R1_001.fastq.gz;/ifs/data/nfs_share/sukmb352/projects/pipelines/exomes/trio/original_sequences/G00078-L2_S21_L003_R2_001.fastq.gz

Or a nextflow params file? https://github.com/nextflow-io/nextflow/issues/208
CSV/TSV is nice and may be necessary here, but I'm also keen for nf-core pipelines to work with minimal input if possible. eg.  If the pipeline fails because the user doesn't know the platform_model then that's not ideal.
Of course - that's not to say that it's not possible to have both, that would be ideal. Work with minimal requirements but also nice verbose well organised meta files.

For these cases, we actually use this (pardon the crummy'ness of the code):
https://git.ikmb.uni-kiel.de/bfx-core/NF-diagnostics-exome/blob/master/bin/samplesheet_from_folder.rb
Builds a valid input CSV from a folder full of FastQs with actual values where extractable from the fastq files and place holders / best guesses for the other fields. This way you could at least nudge people towards better record keeping ;)
But two mutually exclusive input channels might also work.

Nice! I guess we could embed such a script into the workflow so that it works with a glob of FastQs or a CSV file..? That would be ideal.

My vote goes to the "Sarek" approach; should be fairly straight-forward to just steal the code ;)

Same here


Add warning or default for PrepText node_type

Currently, PrepText does run even if node_type is not specified, producing this warning:
   Warning messages:
   1: In if (node_type == "groups") { :
     the condition has length > 1 and only the first element will be used
   2: In if (node_type == "words") { :
     the condition has length > 1 and only the first element will be used

It would be more useful for these cases to (1) either break the function and have an informative warning like "node_type needs to be specified" or (2) alternatively set a default.

This is addressed in: https://github.com/cbail/textnets/commit/f2dd6f4c93b52ee148f61a5199af93f8e20671f8


Build pipeline fails

Describe the bug:
Build pipeline fails on setting up the Go workspace.
go: cannot find GOROOT directory: /usr/local/go1.13
##[error]Bash exited with code '2'.
To Reproduce:
Queue a build run off of master -> fabrikate/_build/results?buildId=5237&view=results
Expected behavior:
Screenshots:
Additional context:
Since we're already at Go > 1.11, we need to update the azure-pipeline.yaml to use go modules which fabrikate already supports.
Desktop (please complete the following information):

OS:

Additional context

@evanlouie feel free to add additional information.

@andrewDoing can we close this?

@andrebriggs Yes, there's a new, more specific issue


Add chip atsamd11d

First of all thank you for this crate!
While trying out a board that a friend of mine gave me, I noticed that some of the pins didn't exist. Turns out he added a samd11d to the board, and this crate only has samd11c.
I followed the instructions on the wiki and was able to add the chip without any problems.
So far I have only tested the GPIO pins. Are there any areas that you think need customizing between the 2 chips?

Rebased onto the latest version of master.
Is this pull request blocked on anything?

LGTM!


Mutating a mutable dictionary key causes weird behaviour (instead of an error.)

Godot version
v4.1.1.stable.official.bd6af8e0e
System information
Windows 10.0.19045 - Vulkan (Compatibility) - GeForce GT 540M- Intel Core i7-2670QM CPU @ 2.20GHz (8 Threads)
Issue description
When a dictionary is made with a mutable key, for example:
var x = [1, 2, 3]
var test = {x: "cat"}

And then then the key is mutated:
x[2] = 4

Weird behaviour can be observed:
print(test)
print(test[x])
print(test[[1,2,4]])

Returns:
{[1, 2, 4]: <null>}
<null>
<null>

Instead of:
{[1, 2, 4]: "cat"}
"cat"
"cat"

Even though:
print(test.find_key("cat"))

Works correctly:
[1, 2, 4]

For reference in Python:
test = {[1, 2, 3]: "cat"}

Is:
Traceback (most recent call last):
  File "test.py", line 1, in <module>
    test = {[1, 2, 3]: "cat"}
TypeError: unhashable type: 'list'

Steps to reproduce

Use the minimal reproduction project.
Run the project.
Observe the bug.

Minimal reproduction project
Mutable-Dictionary-Key-4.1.1-Test.zip

I can confirm the issue for version v4.2.dev3.official.013e8e3af.


Jesse: Watch zetarvac.com

Jesse requests the watch of the watch_keyword zetarvac\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

zetarvac\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


Upgrade with Simplicity Support

https://github.com/rgb-org/rgb-core/blob/4e29b8082c0a69cc906fa8d4f604f2980dad17f5/src/schema/schema.rs#L132

Duplicated #10


No breakdown by event props possible

Thanks for the nice work with Plausible! We really like the clean approach.
We are trying to use the hosted version of Plausible but ran into a few issues. Setup itself was relatively easy with Docker, but integrating it with our website caused some issues. I'm breaking these down into seperate issues.
Following the documentation here: https://docs.plausible.io/custom-event-goals/
we set up event tracking and the events show up ok in the analytics UI. However, all props seem to get lost in the process. I  looked at the tracking request itself and saw that the JS didn't even include the props object! I then looked at the snippet you are using on plausible.io and saw that there are substantial differences. Adapting your plausible.io script to my local installation was easy and now the props object is sent to the server (as well as referers, btw., that also didnt work before).
The events are shown on the analytics page, but there is no way to drill down like you show in your documentation. Is there some switch that i have to turn for this to work?

Hi @bjoernbg 👋
We haven't cut a release in November so some new features are missing from the self-hosted release. You can see which features unreleased in our changelog: https://github.com/plausible/analytics/blob/master/CHANGELOG.md
You can run from the dev docker tag to get access to the latest features. However, you can expect that tag to be less stable than released versions.
I'm open to suggestions on how to communicate this better or how to change our release process but I'll close this issue for now. Breakdown by props is an unreleased feature as it stands.

@ukutaht Thanks for this update. It's a bit confusing from the docs but I get it!

@bjoernbg No worries. I'll update the docs to reflect this more clearly :)

Hey, I've used the dev docker tag but the plausible.js script still doesn't take the props property for custom events. Does that mean that it's still not released even on the dev version?
here is the plausible.js file if it will be of any use
!(function (i, r) {
    'use strict';
    var s = i.location,
        o = i.document,
        e = o.querySelector('[src*="' + r + '"]'),
        l = e && e.getAttribute('data-domain'),
        t = !1;
    function n(e, t) {
        if (
            /^localhost$|^127(?:\.[0-9]+){0,2}\.[0-9]+$|^(?:0*\:)*?:?0*1$/.test(
                s.hostname
            ) ||
            'file:' === s.protocol
        )
            return console.warn('Ignoring event on localhost');
        var n = {};
        (n.n = e),
            (n.u = s.href),
            (n.d = l),
            (n.r = o.referrer || null),
            (n.w = i.innerWidth);
        var a = new XMLHttpRequest();
        a.open('POST', r + '/api/event', !0),
            a.setRequestHeader('Content-Type', 'text/plain'),
            a.send(JSON.stringify(n)),
            (a.onreadystatechange = function () {
                4 == a.readyState && t && t.callback && t.callback();
            });
    }
    function a() {
        n('pageview');
    }
    try {
        var c,
            p = i.history;
        p.pushState &&
            ((c = p.pushState),
            (p.pushState = function () {
                c.apply(this, arguments), a();
            }),
            i.addEventListener('popstate', a));
        var u = (i.plausible && i.plausible.q) || [];
        i.plausible = n;
        for (var d = 0; d < u.length; d++) n.apply(this, u[d]);
        'prerender' === o.visibilityState
            ? o.addEventListener('visibilitychange', function () {
                  t || 'visible' !== o.visibilityState || ((t = !0), a());
              })
            : a();
    } catch (e) {
        new Image().src =
            r + '/api/error?message=' + encodeURIComponent(e.message);
    }
})(window, 'https://my-analytics-domain.com');


Problem with mentions on server side of application

Hello guys, I have a bit strange problem and I want to ask for your advice.
I have a function that should parse text before displaying it to user:
if(post.description){
	post.description = linkifyHtml(post.description, {
		nl2br: true
	})
}
return post;

And I'm using mention plugin in order to parse mentions.
But a string like this
Some text with link https://github.com and mention @github
Turns into
Some text with link  https://github.com and mention @github
on server side of my application (I'm using Vue.js to render my app)
It does work on user side, though. Moreover, If i'm inserting something like this:
console.log(linkify.find(post.description)) I get this mention:
[ { type: 'url', value: 'https://github.com', href: 'https://github.com' },
{ type: 'mention', value: '@github', href: '/github' } ]

And I don't understand how it's possible.
I tried to reproduce this but script with same code being run by node works fine to.
If there's some possibility to look into how linkifyHtml works to find links?
P.S.
I firstly thought that there's some problem with imports and tried to replace them with require just in top of my function like this:
var linkify = require('linkifyjs');
var linkifyHtml = require('linkifyjs/html');
var plugin = require('linkifyjs/plugins/mention');
plugin(linkify);

But this had no effect

After a little research I found that problem is somewhere in parser.run function, because with the same input it gives different results for server side linkify.find and linkifyHTML
I am not sure, but maybe the problem is connected with different S_START state in parser.
When mentions aren't parsed it's property j [array] consists of 8 objects and in right cases - of 9
If someone tells me about possible configurations that can affect parser behaviour I'll continue my research

@oshnix my apologies for taking so long to get back. Were you able to find a solution? I'm not sure how to go about reproducing this. Can you put together a sample repository that shows the bug?


Refactor pagination.test.ts to use page object model

Relates to https://github.com/chanzuckerberg/cryoet-data-portal/issues/832
Use the page object model described in the testing wiki page.

We are deprioritizing this for now since we don't have bandwidth and there is not much value in refactoring since we won't need to update these any time soon.


What's the difference with CrossEntropy and LogSigmoid in reward modeling?

The loss in trl reward trainer is log sigmoid loss: https://github.com/huggingface/trl/blob/6614b8aa6bd752bf19963a5b308f44e079e8e9fe/trl/trainer/reward_trainer.py#L229-L232. However, in another project a cross entropy or mse loss is used and only one sample is used for one forward pass: https://github.com/lucidrains/PaLM-rlhf-pytorch/blob/e624afd8860d6df8f7a429dbe518a2fd40b4cc34/palm_rlhf_pytorch/reward.py#L124-L127. What is the difference and what loss should I use? Is there any advantage of log sigmoid loss?

See this issue here for an explanation (or refer to the Llama2 paper): https://github.com/huggingface/trl/issues/718


Don't register binfmt for the native architecture

binfmt registration should be done only for the non-native architectures, i.e. on x86-64 there should be no binfmt registered for x86-64 etc.

Yes, this is not yet implemented, ack.

Fixed in https://github.com/infra-whizz/sys-mgr/pull/13


cli (ticdc): refine some cli logs

What problem does this PR solve?

Issue Number: ref #7437
What is changed and how it works?
Check List
Tests

Manual test (add detailed scripts or steps below)

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/merge


f5-config.py creates incorrect horizon monitor and node configs after new default behavior introduced in Newton

Do NOT include any confidential information, this issue will be created on a public repo
This section is completed by the issue reporter
On which version(s) do you encounter this issue?
Master running newton
What type of issue is this? Please tick the appropriate box.

[x] bug - existing functionality that does not work for you as documented
[ ] feature - new functionality that you would like to see added

What is the expected behavior?
The f5-config.py script should create a monitor for the horizon pools that poll horizon on 443 using HTTP, since this is the new default behavior introduced in Newton per https://review.openstack.org/#/c/277199/.
An alternative is to look into a way for the f5-config.py script to discover this information and dynamically build out the monitors according to how the user is deploying their service.
The short term fix would be to change the monitor here to poll using HTTP, and the node configuration here to use the backend port 80.
What is actually happening?
As of now, the f5-config.py script will create a montior to poll on port 443 using HTTPS, which is no longer valid for a default newton environment. It will also configure the nodes in the horizon_ssl pool to send traffic to port 443, which is also invalid for a default newton environment since the virtualhost configurations for the openstack dashboard are on are for port 80 now.
What were you attempting to do when you encountered this error (give as much detail as possible)?
Newton multi-node lab build with hardware LB
How can we reproduce this issue?
Use the f5_deploy.sh script in the LEM labs to generate f5 configurations.
How can we verify your issue is addressed?
An alternative is to look into a way for the f5-config.py script to discover this information and dynamically build out the monitors according to how the user is deploying their service.
The short term fix would be to change the monitor here to poll using HTTP, and the node configuration here to use the backend port 80. However this assumes that the deployer is using the new default behavior.
If you are using or know of a workaround please describe the necessary steps?
The monitors can be changed manually via the LB UI dashboard. The node backend ports can also be changed via the LB dashboard.
What is your evaluation on the importance of this issue, and why?
prio-2. This fix is not needed to continue development, but will need to be addressed before 14.0.0rc1 release.
This section is completed during the issue resolution process. If you are reporting an issue, please do not modify the section below.
Which branches are impacted by this issue?
Remove branches that are not impacted.
For each pull request, update the branch line to reference it.

[ ] master

Upgrade impact. Consider the impact on moving between major, minor and patch releases.

[ ] This change does not impact upgrades
[ ] This change addresses a potential upgrade impact
[ ] The upgrade impact is being tracked by another issue.

The issue tracking the upgrade impact is:
Testing impact

[ ] An issue/pull-request has been create or exists to track the testing gap, and is referenced below
[ ] This change includes additional testing
[ ] This change is tested by the existing setup

Additional testing links:
Release note

[ ] This change includes a release note.
[ ] This change does not require a release note.

Doc Impact
Does your change require documentation?

[ ] Yes, and I submitted an issue to Docs issues
[ ] Yes, and I contributed a documentation patch to docs-rpc
[ ] No documentation required for this change

Additional documentation links (please add links if you have ticked yes):

UPDATE:
Just got my hands on a hardware lab so I can tinker to find a fix for this.

UPDATE:
I ran into some connectivity issues in my LEB lab that has prevented me from moving forward with this today, but I have been thinking about how this should be fixed.
I think i'm just going to move forward with the simple fix for now and change the horizon monitor and node configurations to match the new behavior in OSA.
I'm marking this as blocked until my LEM issues are resolved.

UPDATE:
Dennis has helped me regain connectivity. I'm currently running the playbooks on LEM lab fcfs-iad3-4 in a tmux session.

FYI - This will need to be backported to the newton-14.0 branch before it's closed.

UPDATE:
There is still some back and forth as to what the best solution is here. I'm going to wait until tomorrow to see what some folks have to say on the PR before I make any changes. Also, this change will need to be backported to the newton-14.0 branch.

UPDATE: Just need one more review on: https://github.com/rcbops/rpc-openstack/pull/1682


Adding a rigorous test for caching

This added unit-test preform different permutative caching operations and checks the validity of state of the cache.

[x] Have you provided a meaningful PR description?
[x] Have you added a test, reproducer or referred to an issue with a reproducer?
[x] Have you tested your changes locally for CPU and GPU devices?
[x] Have you made sure that new changes do not introduce compiler warnings?
[ ] If this PR is a work in progress, are you filing the PR as a draft?

Much needed! One suggestion: Naming the test case "test_LRUCache" may be more appropriate since it specifically tests LRU ordering only. I will prevent someone from inadvertently using this test case to test a different caching mechanism.

Done!


claiming IP owned by down peer fails

host1$ weave launch
host1$ weave prime
host2$ weave launch $HOST1
host2$ weave prime
host1$ weave stop
host2$ weave run <IP_ADDRESS>/24 -ti alpine /bin/sh
Unable to claim: address <IP_ADDRESS>/24 is owned by other peer 0e:2a:9b:8e:23:fd (host1)

by contrast, allocation hangs, and succeeds when the down peer restarts...
host2$ $ weave run net:<IP_ADDRESS>/24 -ti alpine /bin/sh
(hangs)
host1$ weave launch
host2$
6f2b088df05b823e4e85106ed32b1a41c7f288d9d138d507ae644a9640477172

Agreed the current behaviour is inconsistent, though not obviously wrong.  And it's been that way for a long time.
We wouldn't normally change the behaviour like this in a point release.

Having thought about this again, this behaviour is by design.  There is a big difference between trying to get one specific IP address, which is at most owned by one peer, and anything in a range of addresses which can be owned by multiple peers that may come and go.


docker swarm init w/ advertise-addr + listen-addr -- error "must specify a listening address"

This is on Docker 1.13 (although happened with 1.12 too)
Background:

System with rfc1918 10x address, with a 1-1 nat mapping externally (a.b.c.d)

docker swarm init --advertise-addr a.b.c.d --listen-addr <IP_ADDRESS>:2377

Getting: Error response from daemon: must specify a listening address because the address to advertise is not recognized as a system address, and a system's IP address to use could not be uniquely identified

If you change the --listen-addr to the 10x, it works
For the rest of the nodes that join the swarm, the --listen-addr (same setup -- 10.x.y.k, etc with 1-1) works on <IP_ADDRESS>
# docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 41
Server Version: 1.13.0
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 47
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 03e5862ec0d8d3b3f750e19fca3ee367e13c090e
runc version: 2f7393a47307a16f8cee44a37b262e8b81021e3e
init version: 949e6fa
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.4.0-59-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 200 GiB
Name: host01
ID: K4FA:IUHE:FSDX:EMDP:2VZU:WLVE:YJYG:OO6Z:A5ZD:4TQJ:X7W2:NMC3
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
 nfs=yes
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

Hi, @ventz. Thanks for your feedback.
I am afraid that your issue is related to Swarm Mode of docker engine, maybe it is more proper to post issue here https://github.com/docker/docker/issues/new . This project is about Swarm which is different from swarm mode in docker engine.
Here are more details about the difference https://github.com/docker/swarm#swarm-disambiguation
I am closing this. If you need more help, feel free to let us know. Thanks again for your contribution.


what does tokenValidationPath expect as a response?

I am trying to understand what tokenValidationPath requires as a response. Currently i return a HTTP/1.1 401 Unauthorized and the app does not do anything?

just a status code of 200 if your server acknowledges  the JWT is valid. Otherwise a 401 status


English Version?

Can you possibly make a separate branch scraping from an english site?

Hi @MoptopX,
Yes, it would be possible to do it. But I need a reference from some popular anime page in English.
But that content cannot be included in Ryuanime application, because it is a version for those who speak Spanish.

Yes I understand that all the content is being scraped from a site meant for Spanish subbed anime, so what my question was is can you possibly scrape from an english website like https://animedaisuki.moe, or https://www2.9anime.nl/ or https://www4.gogoanime.io/

Hi @MoptopX,
Thanks for the references.👍
I will try my best when I have more time.

Alright, https://animedaisuki.moe is missing some anime so I wouldn't recommend it

Hi @MoptopX ,
I was analyzing the possibility of scraping the https://www2.9anime.nl page, unfortunately it is impossible to do a scraping at least to take the videos.
They are using BLOB to hide the video src.
Example:
blob: https: //prettyfast.to/186e0e7a-2ce0-42c1-8a38-f50d33a10b25
What is blob url? Because it is used?
BLOB is just a sequence of bytes. The browser recognizes it as byte transmission. It is used to obtain the transmission of bytes from the source.
A Blob object represents an object similar to a raw and immutable data file. Blobs represent data that is not necessarily in a native JavaScript format.
As for the page https://www7.gogoanime.io/, it is somewhat complicated because they do not have the mp4 src visible.

Try https://anime1.com

Hi @MoptopX
I recommend you if you are interested in creating an API, you can use this custom API as an example that I created to use it in my Ryuanime project.
Scraping a page is not that difficult, but it takes time.
There are two known libraries for scraping pages:

cheerio
puppeteer

Cheerio is more used and easy to learn to use.


Bump minimum Xarray dependency to 2024.10.0

This bumps the minimum required version of xarray to the most recent release, which includes support for zarr-python v3 and for xr.DataTree. This shouldn't break compatibility with anything.

Okay interestingly this falls afoul of some kind of bug clearly related to https://github.com/zarr-developers/VirtualiZarr/issues/273


Type error @types\karma\index.d.ts

Karma test failing to run Am getting error TS2694: Namespace '"/node_modules/log4js/index"' has no exported member 'AppenderConfigBase'.
I believe log4js depreciated @types/log4js  for https://github.com/nomiddlename/log4js-node definitions file.
Am not sure if this is the place to open this issue so feel free to close it.

Karma version (output of karma --version):1.7.0 and @types\karma 1.7.0

According to the NPM registry, @types/karma appears to be maintained by DefinitelyTyped, not by the Karma team.

Please reopen if you find more information.

Resolved by upgrading @types/karma package.


Add a new test for report.extension_data

Summary of the Pull Request
Adds a new (failing) test for using report.extension_data in a notification template.
PR Checklist

[ ] Applies to work item: #xxx
[ ] CLA signed. If not, go over here and sign the CLI.
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Looks like this is going to be a massive PITA to fix.
Basically, Scriban doesn't support JsonElement in any capacity for their little ScriptObject helper. So we can't pass JsonElement in any capacity to them.
See here for more context: https://github.com/scriban/scriban/issues/148


Change gem ini files to txt files so they can be parsed easier by git

git thinks the ini files are binary so it won't show me their diffs, this should be easy to change as part of the acts rework

This cannot be done as AHK requires UTF-16 encoding for INIWrite

This cannot be done as AHK requires UTF-16 encoding for INIWrite


Fix travis build by only testing the centos7 image.

The RHEL build seems to fail, so we only build the centos7 image, as
suggested by Ben Parees. This fixes #100.

Still failing, but now from the run script. Looks like the application can not be started.

i'm going to merge this since it at least moves it closer to working, not sure why make test fails on travis but not jenkins, must be something different about the env.  i'll either get to the bottom of it or disable the travis tests.


[Maintenance] FGAC API should ignore extra whitespaces in configuration such as backend roles

As a part of general guidelines around the codebase, we need to validate that all APIs and field input values are compliant and consistent with the other OpenSearch API field input values (eg: https://unicode.org/reports/tr29/#Default_Sentence_Boundaries).
Completion of this issue will look like a PR which corrects any instances of the improper API format being used. If no instances are found, verification of the code base should be logged as a dummy PR which will be merged and represent the sign-off of the correct state.
If it is too complicated to include all changes in a single PR, it is appropriate to use this issue as a tracker and link out various related PRs from here. In this case, completion of the issue would take the form of a completed checklist documenting the linked PRs introducing smaller changes.

@scrawfor99 You mention "general guidelines around the codebase". Do you have a pointer to these guidelines?
Some questions which come to my mind:

Are  we talking about APIs which are provided by the security plugin or about APIs which are consumed by the security plugin?
Most APIs are probably JSON based. Is this about whitespace in the JSON document (which I believe is handled by the JSON parser) or about whitespaces inside the attribute values defined in the JSON document.
Ignoring whitespace which was not ignored before will be a breaking change in many cases. How are the requirements for backwards compatibility?

Hi @nibix, I just used that phrasing to refer to consistency with the rest of the API and field input values. You raised some good questions which I am going to defer to @davidlago about since I don't think I can give an authoritative answer to what he had in mind.
Tentatively, I would say we are looking at APIs provided by the Security Plugin; whitespace inside the values per https://unicode.org/reports/tr29/#Word_Boundaries; finally, backwards compatibility should be maintained since we only want to remove whiteaspace inclusion in fields where it was previously failing to properly handle extra whitespaces. I believe we should only be changing behavior in cases where we were incorrectly handling fields with whitespaces. So the behavior was not consistent with the expected behavior.
Dave should be able to clarify these details for you.


Request: Support for Github Atom RSS Feeds

I'd love to use this on Github RSS feeds.
https://docs.github.com/en/rest/activity/feeds?apiVersion=2022-11-28
https://github.com/Qolors/FeedCord/commits/master/.atom
I tried setting this up, but logs showed issues with the format, as the browser automatically requests it in XML, but by default, timeline resources are returned in JSON. You can specify the application/atom+xml type in the Accept header to return timeline resources in Atom format.
curl -H "Accept: application/atom+xml" https://github.com/Qolors/FeedCord/commits/master/.atom

Sure thing! I will have some free time tomorrow morning and will look in to this. Shouldn't be an issue to do this for you.
Keep you posted once more! :)

Tested with the 1.3.0 Release, it properly handles parsing Github Atom Feeds.
If there are any unhandled issues please reach out - thanks!


Unexpected no-error crash with invalid idx parameter

Setting idx to dense_mmap_array with a filename causes a fatal crash after a long delay, without any error messages or stacktraces.  Took me a while to figure it out, as I wasn't even sure where the crash takes place.
ttlFile.apply_file(pbfFile, locations=True, idx='dense_mmap_array,test.nodecache')
Example code -- run it with a small OSM PBF file as the first parameter.
import sys
import osmium

class RdfHandler(osmium.SimpleHandler):
    def __init__(self):
        osmium.SimpleHandler.__init__(self)
    def __enter__(self):
        return self
    def __exit__(self, exc_type, exc_value, traceback):
        pass

if __name__ == '__main__':
    pbfFile = sys.argv[1]
    with RdfHandler() as ttlFile:
        ttlFile.apply_file(pbfFile, locations=True, idx='dense_mmap_array,test.nodecache')

I see an error as expected:
me@machine:~$ python3 test.py liechtenstein-latest.osm.pbf
Traceback (most recent call last):
  File "test.py", line 15, in <module>
    ttlFile.apply_file(pbfFile, locations=True, idx='dense_mmap_array,test.nodecache')
RuntimeError: mremap failed: Cannot allocate memory

Is it possible that the application was killed by the OOM killer before it could error out properly?

Very strange - I'm running Python 3.5.3 on Ubuntu 17.04:
$ python3 bug.py liechtenstein-latest.osm.pbf
Killed
$

Check your system logs if OOM was invoked.

Ah, yes, thanks @lonvia, I wasn't aware of it. Does it mean that there is no easy way for python to report an OOM error/stack trace/something helpful?  Also, we might want to document various mem settings in more details. Thanks for your help!

Unfortunately, there is nothing we can do about it. python gets killed the hard way in this case.
The mem settings are described in the osmium concept manual. I've added a link to the section in the documentation now.


67 | Add Binary | C++

67 | Add binary problem in C++ -
What will change -
Type of Issue -

[x] Adding New Code

Programming Language

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

assign me to this problem, thanks

hi can i be assigned for this task? thank you!

Assigned @MrAman007

@Aditya489 You can create an Issue to contribute


Hash values in LightningEnum instead of name.

What does this PR do?
Fixes enums hash by name and not by value. For example:
TrainerFn.FITTING in (None, "fit") # True
TrainerFn.FITTING in {None, "fit"} # False

Both should have the same result.
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)
[ ] Did you list all the breaking changes introduced by this pull request?

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

Done! Let me know if everything is fine 🙌

Oh and one last thing, needs an entry in the "Fixed" section of https://github.com/PyTorchLightning/pytorch-lightning/blob/master/CHANGELOG.md

Dear @ramonemiliani93,
Weird, enum doesn't play nice with Set. Might be worth to replace it with list and get this merge.
Best,
T.C


411: add updated strandio

OTT, we need a new, up-to-date copy of strandio for 411 compatibility.

The vitals connection check thread seems to break with the new strandio.

going to close this in favor of re-releasing with a lib/strandio that's compatible with both 412 and 411


question about pessimistic case

Hi , i trying to understand how to use your library. The documentation is clear but there is a thing i dont understand.It explains when all goes well in the transaction.But in the opposite case? Supposing there is Storage Key/Value S is a  LSM-like storage,Nodes F,A,B,C,D.
When you receive the Command "put" K,X ( to save a  object X)
you see there is a conflict with another version of the object X.
For example the optimistic lock is not correct. In this case how to do? Commit class don t contains rollback.
Maybe throwing a exception (received also by sender)?
How to notify the cluster nodes it it is not possible to commit ? How to handle the error in the sender?
In my mind i thought a pseudo-code like it:
node F .put (K,x)  {
TransactionalLog.putEntry("put",K,X);
copycat.send command->{
when command is accepted by quorum->  storage.save(X); TransactionalLog.removeEntry("put",X);
when command is reject by quorum ->TransactionalLog.removeEntry("put",X); throw rollbackException()
}
}
received from nodes A,B,C,D-> (A KO,b KO,C KO,D ok) --> the quorum is KO but i have to rollback
Probably TransactionalLog is already present  in copycat so it is not necessary.
How to intercept Accepted/rejected?
example:
received from nodes A,B,C,D-> (A ok,b ok,C KO,D ok) --> the quorum is OK but i have to replair node C
in this case i have to not close the StateMachine commit  in node C   until i repaired the inconsistent status.

I thought a bit in the coffe:) i think all what i wrote above is wrong.
This i m making confusion between replication and transaction.
Copy cat grant transaction log is consistent in the nodes. For handling the conflict between multiple concurrent write i have to use distributed locks.


:wrench: add --install-dir arg to uv python commands

Summary
This PR adds --install-dir argument for the following commands:

uv python install
uv python uninstall

The UV_PYTHON_INSTALL_DIR env variable can be used to set it (previously it was also used internally).
Any more commands we would want to add this to?
Test Plan
For now just manual test (works on my machine hehe)
❯ ./target/debug/uv python install --install-dir /tmp/pythons 3.8.12
Searching for Python versions matching: Python 3.8.12
Installed Python 3.8.12 in 4.31s
 + cpython-3.8.12-linux-x86_64-gnu
❯ /tmp/pythons/cpython-3.8.12-linux-x86_64-gnu/bin/python --help
usage: /tmp/pythons/cpython-3.8.12-linux-x86_64-gnu/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ...

Open to add some tests after the initial feedback.

@zanieb pinging you since

I'd also be down to accept a target directory in the CLI.

Thank you! A couple minor comments. We can't quite add tests for this yet because we currently avoid downloading managed Python installations in the test suite.

@zanieb could you take a look again please?

@danielgafni
My sincere apologies for the delay, I lost track of this one. I was actually confused yesterday because I thought this had been merged already but couldn't find the feature.


Add @rnrashmi

Pull Request Template

Please provide all of the details below. Pull requests missing any of the information below will be closed!
Providing the issue number/url helps us identify the problem being solved and keep the issues tab clean and tidy

What issue does this fix?
Summarize what this PR fixes:-
What issue is it attached to?
Fixes #
Checklist
(Add an x between the brackets to check the items)

[ ] I have summarize what this PR fixes above
[ ] I have provided the issue ID/URL above
[ ] I have not added Bootstrap or jQuery and used correct styling guide.
[ ] This PR fixes only the issue mentioned above (create separate PRs for separate issues)
[ ] I was the first one to claim the issue or I created the issue

No info on what has changed, please fill out the template.


CIF-2842 - Extend List component to list pages by product or category

Added proxy component for commerce list.
Related Issue
CIF-2842
How Has This Been Tested?
Manually.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[X] All new and existing tests passed.

I think we also have to increase the cif sdk api version in the parent pom: aem.cif.sdk.api

aem.cif.sdk.api increased


Works in Sandbox, not Live Mode?

My Saas app works fine in sandbox mode, but when I switch to Live the page that loads in the popup-window appears to be old style UI. It tells me it failed and to try again using the correct flow.
Pretty sure the checkout.js loads that url ( has the older cgi mention in the url )?
Is there something that needs to be done before going live with this solution?

More details..
URL the window is jumping to is https://www.paypal.com/us/cgi-bin/webscr?cmd=_flo
Error message reads...

This transaction is invalid. Please return to the recipient's website to complete your transaction using their regular checkout flow.
At this time, we are unable to process your request. Please return to and try another option.

 Forgot to change env var on render from sandbox to production.