Add support for ORC reader

Currently there are no ORC reader support yet:
presto:tpch_1_partitioned> show create table lineitem_short;
Create Table
CREATE TABLE hive.tpch_1_partitioned.lineitem_short (
"orderkey" bigint,
"partkey" bigint,
"linenumber" integer,
"suppkey" bigint,
"linestatus" varchar(1),
"returnflag" varchar(1)
)
WITH (
format = 'ORC',
partitioned_by = ARRAY['linestatus','returnflag']
)
(1 row)
presto:tpch_1_partitioned> select count(*) from hive.tpch_1_partitioned.lineitem_short;
Query 20220109_005204_00007_65utr failed: Unknown file format org.apache.hadoop.hive.ql.io.orc.OrcInputFormat
VeloxRuntimeError: Unknown file format org.apache.hadoop.hive.ql.io.orc.OrcInputFormat
Note: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat is for ORC, com.facebook.hive.orc.OrcInputFormat is for DWRF

@yingsu00 I would like to attempt this and get it done. Still pretty new to the library but I hope to be able to contribute with guidance. Let me know if this is okay.

@ankur4369 Thank you for offering help! ORC reader is crucial and performance critical. Some functionality may already be supported in DWRF reader but many are not. It will take several months to make it work and performant. How's your time commitment on it?
@mbasmanova @pedroerp What's Meta's plan on this? Will XLDB folks work on ORC reader?

@yingsu00 I have started to understand the code. I am already up to speed with developer docs on Velox. But still wrapping my head around the implementation details.
In terms of time commitment, I should easily be able to spend ~4-5 hours daily going up to 10-12 hours/day if required. However, being new to the code base, I may need some guidance to speed up.

@ankur4369 It would be very nice if you could help add support for the ORC format. ORC is similar to DWRF and we have support for DWRF already. I hope it would be just a handful of tweaks to add support for ORC. We should be able to help by answering questions, brainstorming and reviewing the PRs. I'm CC-ing Zhenyuan and Orri who should be able to provide guidance as well.
I suggest to first figure out how to make ORC work without worrying too much about performance. Perf optimizations can come after basic support is in place.
CC: @zzhao0 @oerling

@ankur4369 Is there any update on this?

@mbasmanova @pedroerp Does Velox have any plan to support ORC reader? I saw the above message, seems this feature didn't finish, right?

@wpleonardo It would be nice to add support for ORC. Would you like to help build that?

Re-opening since ORC support is still relevant.

Hi, what's the status now?

I don't know of anyone actively working on this. @wubiaoi, is this something you would be interested in contributing?

@pedroerp Now I mainly use online use cases to do some performance tests. First, I will convert the format to parquet format. If the performance is good, I will develop orc format support, because online Hive tables are mainly in orc format.


Configure route without buttons

Need to add opportunity to configure route with map touches instead of buttons.
For example: click on map means "add key point to route", click on key point -- "remove point", drag -- "move point"

#21


Can't use SQLQueryStress on servers with wildcard certificates

Because of the way my company does things, 2 of the servers I want to test have wildcard certs (*..com) instead of proper certs.  This causes SQS to refuse to connect, throwing the following error into the System error log:

The certificate received from the remote server does not contain the expected name. It is therefore not possible to determine whether we are connecting to the correct server. The server name we were expecting is .. The TLS connection request has failed. The attached data contains the server certificate.

Is there, or is it possible to add, a work around for this?
Thanks!
-dennis

Whitecloud

@124me  ???

@124me Can you connect to the database using Microsoft.Data.SqlClient from a console app, and if so, what does your connection string look like?

According to this, SQLClient is on v5.0.1...should I try with that?

@djshelto  I prefer you try with 3.1.1 as that is the version used by the tool

Ok, I figured out how to get that version.  Here're the results.

Yeah, I'm mostly a SQL/SSIS developer :)
adding that to the connection string got it working.

Thanks, I was able to tweak the source code to connect to the 2 servers in question!
Have a great one!
-dennis


[WIP] Add support to dark mode

closes: #25061
Almost working ...
Just not sure whether we want to tweak the PRE and/or CODE tags as well.

It looks like we're trying to build our own mechanism to decide which color scheme the user prefers.

That is not true. This PR aims at providing the support to dark mode with minimal new code. There are two files related to the so called "colore scheme":

File 'assets/scss/_sidebar-tree.scss' is copied from the docsy theme for overriding. The hard-coded color (e.g. $gray-700) is not suitable for dark mode. The sidebar tree becomes invisible if we don't change it. This PR changes it to $gray-500.
File static/css/dark-mode.css introduces only 4 color changes and those 4 are the core color toggling proposed in this PR.

I believe what the users want is just a readable dark mode. It is not about a full-fledged color scheme. If you dive into the many style customization we have today (1. bootstrap; 2. docsy; 3. custom scss; 4. custom css), you will realize that devising a color scheme on top of it is impractical.

In the preview, I see an in-page control for choosing the color mode. I'd strongly prefer to make that control act as an override for the standardized mechanism (prefers-color-scheme). I don't think we should make our own.
Either way, the issue is about providing a readable “dark mode”. When a visitor sets their browser to prefers-color-scheme: dark (as opposed to the default which is prefers-color-scheme: light), let's honor that. It's likely to play well with any upstream enhancement to support the same mechanism. If we then want to add a control let users override their browser-specified preference, even better.

@sftim So your primary concern is about the initial default, right? If the user has chosen dark mode as default for his/her operating system/browser, we should use that as the default.
Other than this, providing a toggle button to override the "default" is okay?
Let me check how to script that.

https://stuffandnonsense.co.uk/blog/redesigning-your-product-and-website-for-dark-mode explains how to write CSS (or Sass) that takes end-user preferences for dark vs. light mode into account.
I would literally do this with 2 commits: the first adding support for honoring the user preference, and the second adds overrides via JavaScript (for people with old browsers or who aren't sure how to set that preference).
Ideally, the 2nd commit is quite small because the 1st commit has anticipated this need and has used mechanisms such as CSS custom properties to make that easier.

This PR isn't perfect, but I want to thank you @tengqm  as I've been using the netlify preview of this for docs reference to keep my eyes sane. Great job on this, can't wait to see you finish and get this merged.

Hey @tengqm , thanks for your work on this so far! Are you still working on the prefers-color-scheme portion?

Hey @tengqm , thanks for your work on this so far! Are you still working on the prefers-color-scheme portion?

No. No cycle to look into that yet.

/remove-lifecycle rotten

/remove-lifecycle stale


Documenting Additional Downward APIs

There are a couple awesome enhancements that would benefit from being documented here:

spec.nodeName for obtaining the host name
spec.serviceAccountName for obtaining the name of the service account the pod is running under

Right now these enhancements are documented only in a couple of issues and pull requests:

kubernetes/kubernetes#27880
kubernetes/kubernetes#24657
kubernetes/kubernetes#21317 (I suggested this change here and it got a few thumbs up)

I have verified the functionality in the latest codebase:

https://github.com/kubernetes/kubernetes/blob/master/pkg/api/v1/conversion.go#L200

This change is

@chrislovecnm @jroberts235 @gg7 @kris-nova  - FYI

@pmorie  Can you review this?

Tech lgtm, please squash.

@bcole can u squash the commit?

/LGTM

Reviewed 1 of 2 files at r1, 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Just updated the branch.  The Travis build seemed to have a hiccup earlier today.  If there's anything I can do to help move this along please let me know @chrislovecnm @mikedanese

Travis failed.

@brandoncole @chrislovecnm I updated the branch, which fixed the Travis check. That was broken because of an unrelated issue that has since been resolved. Cheers.

Thanks everyone - much appreciated!


Update minimal.tsx

helper for noobs
crazy waste of time when i quickly incorrectly configured the .env with an extra = equals.  NEXT_PUBLIC_LK_SERVER_URL==wss://talkinghead-.livekit.cloud

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


🎨 Reduced favicon requirements

refs TryGhost/Team#1652

Warning
Requires https://github.com/TryGhost/Ghost/pull/14918

Support picking new image types in the favicon image uploader.
Added support for non-square and not resizable files (e.g., svg files) as favicon (cover background image).

Codecov Report

Merging #2408 (17ba562) into main (a53e99e) will decrease coverage by 0.09%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2408      +/-   ##
==========================================
- Coverage   38.58%   38.48%   -0.10%
==========================================
  Files         603      602       -1
  Lines       23989    23928      -61
  Branches     4161     4150      -11
==========================================
- Hits         9255     9208      -47
+ Misses      14734    14720      -14

Impacted Files
Coverage Δ

app/components/gh-image-uploader.js
94.00% <100.00%> (-1.34%)
:arrow_down:

app/components/gh-html-iframe.js
45.45% <0.00%> (-38.64%)
:arrow_down:

...ditor/addon/components/koenig-card-before-after.js
0.91% <0.00%> (-0.02%)
:arrow_down:

app/controllers/settings/labs.js
42.05% <0.00%> (ø)

app/controllers/settings/general.js
78.08% <0.00%> (ø)

app/components/modal-portal-settings.js
0.98% <0.00%> (ø)

...oenig-editor/addon/components/koenig-card-image.js
1.02% <0.00%> (ø)

...nig-editor/addon/components/koenig-card-gallery.js
1.29% <0.00%> (ø)

...nig-editor/addon/components/koenig-card-product.js
0.59% <0.00%> (ø)

... and 3 more

Continue to review full report at Codecov.

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


Ability to detect system clock change?

I should add that I realize this isn't an 'Issue', more of a feature request, and could be a large effort, especially since this is cross platform.
Am I at least able to add my own assertion if I come up with my own mechanics for detecting system clock change?

At time this library was developed it was not possible to open a network socket in the PCL profile, so i was not abel to check the tie of a remote ntp server.
You've two options:

just the the AssertThat() method to check with your own ntp client for time differences
write your own extension, like any other in LicenseValidationExtensions.cs

But be aware that not every user has network access, ntp is a UDP protocol, etc. Do not annoy your users so much. Because if someone changes his system clock he has other problems like not working SSL websites, etc. So the user is not abel to open google, read his mail, etc.
So i don't know if it is value to write a ntp client to check time differences ;)
See also #11


non-existent cursor user experience

Problem
Right now, If we provide a cursor that does not exist in the table (and the table contains records) Prisma returns null even when though there are elements after and before the cursor and a take was specified.
this.prismaService.brand.findMany({
    cursor: {
        id: body.cursor,
    },
    take: body.take ? body.take : DEFAULT_TAKE,
    include: {
        pdf: true,
        variants: true,
    },
    orderBy: {
        id: 'asc',
    },
})

Suggested solution
Update the docs, specifically the cursor-based pagination guide to indicate that supplying a non-existent cursor will yield null.
Alternatives
Another possible behavior is to return the closest next elements to the cursor. here is an example implementation using where.
this.prismaService.brand.findMany({
    where: {
        id: {
            ...(body.take < 0 && {
                lt: body.cursor,
            }),
            ...(body.take > 0 && {
                gt: body.cursor,
            }),
        },
    },
    take: body.take ? body.take : DEFAULT_TAKE,
    include: {
        pdf: true,
        variants: true,
    },
}),

Additional context
None.

I think just mentioning it in the docs is enough so developer know what to expect as they are writing their code. Clear documentation of current behavior should take priority before discussing further implementation detail IMHO.


viewer.scene.screenSpaceCameraController.inertiaTranslate invalid

I want to disable inertial animation for swipe action
I set viewer.scene.screenSpaceCameraController.inertiaTranslate = 0,but it didn't work as expected

oh, yes! now the Works as I expected, thank you so much.


Create Workflow for Continuous Integration

:tada: This issue has been resolved in version 2.5.1 :tada:
The release is available on:

GitHub Release
NuGet Package
Chocolatey Package


[oadp-1.4] fix: automate upgrade tests

Why the changes were made
Automate upgrade tests process, with focus in 1.4.0.
How to test the changes made
Follow E2E testing documentation and run
make catalog-test-upgrade
TEST_UPGRADE=true make test-e2e

To run tests manually, check upgrade testing documentation.

/hold
Want to run CI, not ready yet

I am happy with CI results. Will break PR in 2 now: one for refactoring and other just for upgrade test

fixed bucket region, tests passing.

/unhold


fix std::min

/cc @jessesleeping, jiexi found the same bug on peloton logging.
// Note: std::min pass a const & of into the function. We need to first copy the shared
// into a local variable before calling std::min. Otherwise we will have a Heisenbug where std::min first check which one is smaller,
// and before it returns, other thread modify the variable and we actually return the larger one.

/cc @wangziqi2013
Signed-off-by: runshenzhu<EMAIL_ADDRESS>

Coverage decreased (-0.004%) to 12.819% when pulling 27d8e30d37b2b3082c70d28612cf8b101b25ffd0 on runshenzhu:min-fix into b673369ca63405ac3e7276e3e0eb12114785c1db on wangziqi2013:master.


cmake.parallelJobs doesn't effect building parallel

This is my .vscode\settings.json
{
    "cmake.configureArgs": ["-DCMAKE_TOOLCHAIN_FILE=path/tp/vcpkg/scripts/buildsystems/vcpkg.cmake"],
    "cmake.parallelJobs": 8
}

I build with msvc19
Builds are not parallel although I think I'm settings them. What am I missing?
Platform and Versions

Operating System: Win10
CMake Version: 3.20.1
VSCode Version: 1.56
CMake Tools Extension Version:  1.7.3
Compiler/Toolchain: vs pro, 16.9.5
vcpkg: 2021-05-05

Do you have presets on? If yes, define parallelJobs as a cache variable in your configure preset.

Where and how? I'm not familiar with cmake tools, I'm still just evaluating it (against VS).

My mistake, not a cache var. It looks that the documentation (https://cmake.org/cmake/help/latest/manual/cmake-presets.7.html) allows for the keyword "jobs" in a build or test preset.

What version of cmake do you have? Is it older than 3.14? Do you confirm the same problem with presets off?
I have this PR on my mind, maybe something is not working right with presets on.
If you have at least cmake 3.14, the extension prefers to use the CMake parallelism so it will invoke -j and not -maxcpucount which is specific to msvc.

CMake Version: 3.20.1

Do you confirm the same problem with presets off?

Remind how to set presets on/off?

Define "cmake.useCMakePresets": "never" in your .vscode/settings.json.

I confirm, when not using presets, the build isn't parralallel.
maybe this will help, It's the build command
cl /c /I... /W3 /WX- /diagnostics:column /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D HAS_BOOST /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /openmp /std:c++17 /Fo"..." /Fd"..." /Gd /TP /errorReport:queue


pkg: init holochain-launcher-bin at v0.5.1; license: init CAL at 1.0

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Also, regarding your commit messages, please follow the contribution guidelines.

thanks for the review @WolfangAukang. i considered all your comments and made changes or replied accordingly.

thanks for the reviews both of you. AFAICT all conversations have been resolved now.

@SuperSandro2000 PTAL


docs: Use Markdown footnotes in README.md

Thanks for this cool project. I tried it out today on one of my projects and really like it. Especially the fast feedback loop as it has way less dependencies than Criterion and compiles much faster (very noticable when LTO is turned on).

While reading through the docs I noticed the kind of manual way of creating footnotes.
Both GitHub and rustdoc/docs.rs support Markdown footnotes, so they can be used in the README.md instead of the manual variant of it.

Sweet, thanks for the contribution! I actually didn't realize that docs.rs supports markdown footnotes, which was why I went with the manual route. Does crates.io as well? Asking since I want the footnotes to also work there but that's not a blocker.

Ah good point, I didn't check for crates.io support. Will try to find a repo that uses footnotes in the readme and see if it works there too (have footnotes in my own crates but not in the readme).

As it turns out, crates.io currently does NOT render footnotes. But I made a PR to enable it for readmes, so let's see how it goes.


option to ignore first commit on check

Is your feature request related to a problem? Please describe.
I have trouble using the check command because usually my initial commit doesn't follow conventional commits.
Describe the solution you'd like
It would be nice to be able to ignore that and only check subsequent commits.
Describe alternatives you've considered
Use a conventional commit message for the first commit

There is an option --max-count that can be used to limit how much commits are checked.
 In a bash script you could use convco check $(git rev-list --max-parents=0 HEAD)..HEAD


Update to Angular 7

Seems that circle CI have troubles installing gradle as it's now failing on all PRs, can you take a look @Ekhozie ?

Yes I will check, seems to be a problem with cordova or gradle

More info here: https://github.com/apache/cordova-android/issues/521

Yes I tried to upgrade gradle version, without success :)

Seems to be fixed today


Easy stylus import

Is there a way to easily @import 'papier' in stylus sheets like nib?
Thanks.

Yes! While it seems like making @import 'papier' work would require an index.styl file to be added, you can simply npm install and @import from node_modules.

But that requires a relative path from my stylesheet to the node_modules dir: @import '../../node_modules/papier'. What if the paths will change? Is there a way for a simple @import 'papier' which will resolve itself? I have no idea how it works for nib.

Yes, that's true. Adding an index.styl (equivalent to index.js) to papier would solve this problem. Feel free to send a PR if you like, otherwise I'm going to add this when I have time.


Getting boringssl_session_read error

Expected Behaviour
Before adding the latest version of the plugin this was working.  Files were unzipped and put into the app and loaded.
Actual Behaviour
Now I am getting this error....
2018-01-03 09:55:22.270110-0600 Lineman-App[414:198345] Resetting plugins due to page load.
2018-01-03 09:55:23.376159-0600 Lineman-App[414:198345] Finished load of: file:///var/containers/Bundle/Application/E75D6F37-04CC-458C-9D95-E404FCEFC9ED/Lineman-App.app/www/index.html
2018-01-03 09:55:24.274513-0600 Lineman-App[414:198345] device ready
2018-01-03 09:55:24.274646-0600 Lineman-App[414:198345] device ready
2018-01-03 09:55:36.965866-0600 Lineman-App[414:198345] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2018-01-03 09:55:36.967644-0600 Lineman-App[414:198345] [MC] Reading from public effective user settings.
2018-01-03 09:55:37.334458-0600 Lineman-App[414:198345] API error: <_UIKBCompatInputView: 0x1068a5840; frame = (0 0; 0 0); layer = <CALayer: 0x101ea7c20>> returned 0 width, assuming UIViewNoIntrinsicMetric
2018-01-03 09:55:37.334975-0600 Lineman-App[414:198345] API error: <_UIKBCompatInputView: 0x1068a5840; frame = (0 0; 0 0); layer = <CALayer: 0x101ea7c20>> returned 0 width, assuming UIViewNoIntrinsicMetric
2018-01-03 09:56:00.944289-0600 Lineman-App[414:198345] loadJavascripts() from app index.html
2018-01-03 09:56:01.622078-0600 Lineman-App[414:198345] appPath file:///var/mobile/Containers/Data/Application/E53197BB-2DC2-4EDE-BDB6-1F03B033955C/Library/NoCloud/www
2018-01-03 09:56:01.622415-0600 Lineman-App[414:198345] Creating app directory /var/mobile/Containers/Data/Application/E53197BB-2DC2-4EDE-BDB6-1F03B033955C/Library/NoCloud/www
2018-01-03 09:56:01.624598-0600 Lineman-App[414:198629] copyCordovaAssets
2018-01-03 09:56:01.625000-0600 Lineman-App[414:198629] Copying Root App
2018-01-03 09:56:01.625832-0600 Lineman-App[414:198629] - mergeFolders: /var/containers/Bundle/Application/E75D6F37-04CC-458C-9D95-E404FCEFC9ED/Lineman-App.app/www
intoPath: /var/mobile/Containers/Data/Application/E53197BB-2DC2-4EDE-BDB6-1F03B033955C/Library/NoCloud/www
2018-01-03 09:56:01.627701-0600 Lineman-App[414:198629]  subPath: cordova-js-src
2018-01-03 09:56:01.629965-0600 Lineman-App[414:198629]    create directory
2018-01-03 09:56:01.631358-0600 Lineman-App[414:198629]  subPath: cordova-js-src/exec.js
2018-01-03 09:56:01.631729-0600 Lineman-App[414:198629]    copyItemAtPath
2018-01-03 09:56:01.646431-0600 Lineman-App[414:198629]  subPath: cordova-js-src/platform.js
.
.
.
2018-01-03 09:56:06.871404-0600 Lineman-App[414:198629]    copyItemAtPath
2018-01-03 09:56:06.876831-0600 Lineman-App[414:198629]  subPath: themes/webdemo.css
2018-01-03 09:56:06.877491-0600 Lineman-App[414:198629]    copyItemAtPath
2018-01-03 09:56:06.909110-0600 Lineman-App[414:198629]  subPath: themes/webdemo.min.css
2018-01-03 09:56:06.909715-0600 Lineman-App[414:198629]    copyItemAtPath
2018-01-03 09:56:07.309856-0600 Lineman-App[414:198759] [BoringSSL] Function boringssl_session_errorlog: line 2871 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert
2018-01-03 09:56:07.310697-0600 Lineman-App[414:198759] [BoringSSL] Function boringssl_session_errorlog: line 2871 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert
2018-01-03 09:56:07.310755-0600 Lineman-App[414:198759] [BoringSSL] Function boringssl_session_errorlog: line 2871 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert
2018-01-03 09:57:08.474592-0600 Lineman-App[414:198345] Resetting plugins due to page load.
Any ideas what might be causing this?
Reproduce Scenario (including but not limited to)
Steps to Reproduce
This is my sync call with options set as such...
var sync = ContentSync.sync({src:localStorage.ims_url+"/uploaded_files/LinemanApp.zip", id:"www", type:"merge", copyRootApp:true, copyCordovaAssets:true, header:false});
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
iOS 11.2.1
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
NA
Cordova CLI version and cordova platform version
Kimberlees-MacBook-Pro:dvLinemanAppSDK kimberleearmstrong$ cordova -version
8.0.0
Kimberlees-MacBook-Pro:dvLinemanAppSDK kimberleearmstrong$ cordova platform ios version
Installed platforms:
ios 4.5.4
Available platforms:
android ~7.0.0
browser ~5.0.1
osx ~4.0.1
windows ~5.0.0
www ^3.12.0
Kimberlees-MacBook-Pro:dvLinemanAppSDK kimberleearmstrong$
Plugin version
Kimberlees-MacBook-Pro:dvLinemanAppSDK kimberleearmstrong$ cordova plugin ls
com.googlemaps.ios 2.4.0 "Google Maps SDK for iOS"
cordova-background-geolocation-lt 2.9.1 "BackgroundGeolocation"
cordova-plugin-actionsheet 2.2.2 "ActionSheet"
cordova-plugin-background-fetch 5.1.1 "CDVBackgroundFetch"
cordova-plugin-camera 4.0.1 "Camera"
cordova-plugin-cocoalumberjack 0.0.4 "CocoaLumberjack"
cordova-plugin-console 1.0.2 "Console"
cordova-plugin-device 2.0.1 "Device"
cordova-plugin-dialogs 1.2.0 "Notification"
cordova-plugin-file 5.0.0 "File"
cordova-plugin-file-transfer 1.7.0 "File Transfer"
cordova-plugin-googlemaps 2.0.10-beta-20170919-1445 "cordova-plugin-googlemaps"
cordova-plugin-network-information 2.0.1 "Network Information"
cordova-plugin-urlhandler 0.7.0 "URLHandler"
cordova-plugin-whitelist 1.2.1 "Whitelist"
cordova-spatialite-storage 1.1.0 "Cordova sqlite/spatialite storage plugin"
phonegap-plugin-barcodescanner 7.0.0 "BarcodeScanner"
phonegap-plugin-contentsync 1.4.2 "content-sync"
phonegap-plugin-push 1.8.1 "PushPlugin"
uk.co.workingedge.phonegap.plugin.launchnavigator 3.1.1 "Launch Navigator"
Sample Code that illustrates the problem
see above
Logs taken while reproducing problem
see above

So did you figure out what was wrong?


Frame Count issue

CV good, but when I try to do:
vc = cv2.VideoCapture("foo.mp4")
I find that:
vc.get(cv2.CAP_PROP_FRAME_COUNT)
Is always returning 0.0

I think this is related to this issue. You would need to link OpenCV against FFMPEG when building since AWS Lambda does not have FFMPEG by default and this package does not include it.


Add map support in constants

Purpose
This PR adds map support in constants.
Eg -
const map<string> m1 = { "k": "v" };

const value = "val";
const map<string> m2 = { "k": value };

const map<map<string>> m3 = { "k": m2 };

Closing since some design level changes have been discussed.


T8.5.1 Integration of Wallet BE and launcher

Integration of Wallet BE and launcher

the launcher will only launch wallet FE, not BE.


Update setup-nats-streaming.md

Thank you for helping make the Dapr documentation better!
Please follow this checklist before submitting:

[ ] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[ ] Read the contribution guide
[ ] Commands include options for Linux, MacOS, and Windows within codetabs
[ ] New file and folder names are globally unique
[ ] Page references use shortcodes instead of markdown or URL links
[ ] Images use HTML style and have alternative text
[ ] Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:
Description
Fix URL scheme and a couple of Markdown wrappers.
Issue reference
N/A

Thanks for your contribution


HTTP status code cannot be u16

RootSpanBuilder tries to record the HTTP status code as u16; see here and here. However, this is not supported by OpenTelemetry. Per the protocol specification, only signed integer types are recognized; see proto file.
The side effect of this is that the status code field is shipped as a string value over OTLP instead of an integer, causing some issues with downstream tooling. I believe an easy fix here is to change u16 to i16.

Thanks for noticing this - we could probably go down to i16 as well without any issue.


Problem with clustering of fasta consisting of duplicates

Expected Behavior
Producing a cluster
Current Behavior
Error of clustering
Steps to Reproduce (for bugs)
Please make sure to execute the reproduction steps with newly recreated and empty tmp folders.
mmseqs createdb test.faa test.db
mmseqs cluster test.db test.clu tmp --min-seq-id 0.9
test.faa is attached in the gist
MMseqs Output (for bugs)
Please make sure to also post the complete output of MMseqs. You can use gist.github.com for large output.
https://gist.github.com/matveykolesnik/43a90e7404e11881c29e2c80d79c5fec
Context
Providing context helps us come up with a solution and improve our documentation for the future.
I am using mmseq2 for clustering of protein sequences in automatic pipeline, and I faced with the problem when mmseq2 fails to process fasta files that consist of repeated same sequences, like this:

record1
MALYNISEKILTTLEKTSFTIERLQERYDLQEAIKKNIDIVAPGCLVISEEFSDWEDSRR
record2
MALYNISEKILTTLEKTSFTIERLQERYDLQEAIKKNIDIVAPGCLVISEEFSDWEDSRR
...
Perhaps it would be worth to add handling of such fasta files.

Your Environment
Include as many relevant details about the environment you experienced the bug in.

Git commit used (The string after "MMseqs Version:" when you execute MMseqs without any parameters):
Which MMseqs version was used (Statically-compiled, self-compiled, Homebrew, etc.):
For self-compiled and Homebrew: Compiler and Cmake versions used and their invocation:
Server specifications (especially CPU support for AVX2/SSE and amount of system memory):
Operating system and version:

Same error as https://github.com/soedinglab/MMseqs2/issues/181


Chores for PROD Readiness

[x] Make jobshippo.com.sg point to PROD server
[x] Redirect jobshippo.sg to jobshippo.com.sg
[x] Create<EMAIL_ADDRESS>[x] #181 - Make sure FAQ lists are ready
[x] Update Sendgrid no-reply email and details on Sendgrid
[x] Update texts on Email template
[x] #180 - Replace logo in the email
[x] Auth0 pointing to jobshippo
[x] Logo changes on Auth0
[x] Logo changes on LinkedIn
[x] Change app name on LinkeIn
[x] Deploy latest code on PROD

Closing this as this is done.


Make header smaller if it is empty

closes #488

which views is this meant to affect? i build the app in iPhone SE simulator from this branch. And the space still looks significant in the views I'm checking. See below:

@j28 I think you have missed build:cordova script. After running npm run serve:ios -- --target="iPhone-SE, 12.1" I got:


test(react/editable): write test code for verifying activationMode=focus

I thought focus was the same as hover, but it wasn't.
Focus realized through the test code that it means the same as click.
I wrote a test code because I thought it would be good to have a test code for focus so that other people wouldn't get confused

I will make other PR ! 😁 with some additional test code for editable


printf_config.h not included in printf.h

printf.h tests for PRINTF_ALIAS_STANDARD_FUNCTION_NAMES , but can't see it as it's defined in printf_config.h

This is intentional. printf_config.h is a build artifact, for setting the preprocessor defines. printf.h takes defines, and otherwise has its defaults. That's how mpaland's version worked, and I don't think I should change that... a three-file library is a lot more files than a two-file library...


Implement custom OAuth and control route access

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[x] I commit to help with one of those options 👆

Example Code
I don't have any code.

Description
Hello there,
I'm discovering FastAPI. I'm desperately trying to implement the OAuth of my association to protect specific routes. I really spent a lot of time to look for a solution on the Internet, without success. It is a very standard OAuth 2.0 without OpenID (exactly like the Github one https://docs.github.com/en/developers/apps/building-oauth-apps/authorizing-oauth-apps).
I can do the implementation myself, create the middleware, but I was totally unable to find something to store session easily. With Express, I just had to import express-session with a Redis DB, I could create/access variables very easily. It seems there's nothing to do similar things. Should I go with JWT instead of session to store state variable for instance ?
As I use FastAPI, it would be nice to use the auto-generated doc with the "padlock" stuff.
In summary, with what should I go to implement an OAuth ?
A huge thanks in advance.
Operating System
macOS
Operating System Details
No response
FastAPI Version
0.70.0
Python Version
Python 3.9.7
Additional Context
No response

FWIW we use dependencies to check auth status.
class OAuth2PasswordBearerCookie(OAuth2):
  async def __call__(self, request: Request):
    header_authorization = request.headers.get("Authorization")
    # ...

oauth2_scheme = OAuth2PasswordBearerCookie(tokenUrl="/api/auth/token", auto_error=False)

async def is_admin(
    token: str = Depends(oauth2_scheme)
):
  # do things to check token, raise if not

@app.route("/", dependencies = Depends(is_admin))
async def get_protected_route():
  # do route things


Description
I havent changed my code for awhile and everything has been working fine. as soon as i updated this package to 3.1.2 and flutter to 3.22 the redirect stopped working. It goes to the html page but never redirects back to the org tab like it always did.
Minimal Reproduction
Steps to reproduce the behaviour:

Use the following code:<Paste your code here>

[...]

Exception or Error
No visible error messages
Expected Behaviour
redirect properly
Screenshots
No response
Additional context
No response
Device
Flutter web
OS
Windows 12
Browser
Chrome, EDGE
Flutter version
3.22
flutter_web_auth_2 version
3.1.2
Checklist

[X] I have read and followed the entire troubleshooting guide and it has not provided the solution I need.
[X] I have provided all the information I can.

Please fill in all the fields

What else do you need to know specifically?

actually i see this error in the console from chrome: logindirect.html?code=codehere
Uncaught TypeError: Cannot read properties of null (reading 'postMessage')
at logindirect.html?code=codehere

So i downgraded to version 2.1.4 and it works again. it was the upgrade that broke something. Can you please check that out.

When upgrading to 3.x, have you applied the current version of the Web setup like this?

That was it. Thank you. Needed the new web setup. Didnt know that changed with the new version. thank you

You're welcome :)
For the 4.x versions, the Web setup should be the same, by the way (if you want to test it out)


twister: use enum for the arch field in Twister platform schema

This commit adds an enum to the arch field of the Twister platform schema. This helps better filter boards for testcases which use architecture-based filters, and helps maintain uniformity in naming convetion.

I'm keeping this PR as a draft until #70214 is merged. I didn't want to combine these two changes in case the added enum would prove to be controversial.

Won't this break support for out-of-tree architectures?


Set dataview source as a AnalysisModel and get rid of layer

Related to https://github.com/CartoDB/cartodb.js/issues/1761
Still in development. 🐣

retest this please

I'm resolving conflicts!


d2l-list dragging between two different instances of d2l-list shows a blue line even though it should not be possible

If you have two instances of d2l-list on the same page and try to drag one element from one list to another list the blue line shows up implying it would be possible to do even though it should not be (note: dragging the item to another list is properly rejected, its only a visual bug).

The feature was actually implemented with this in mind - that it would be possible to drag & drop items between any lists on the page, although preventing this behaviour was not because it was thought it would be unlikely that would have multiple lists on the page with drag & drop enabled.

We can possibly make some changes so that d&d is only valid in the same list hierarchy for now, and figure out the API for x-root-list d&d when the time comes.


Finish implementing #4 (format string)

@SebiTimeWaster's proposal in #4 looks very useful, so I've implemented @avrelian's suggestions:

I've moved the new functionality to a separate function: formatString().
I've renamed the placeholders to #{expected} and #{actual} for clarity.
I've also used a RegExp with a global flag to perform the replacements, so that each placeholder can be used multiple times in the format string.

Thank you, Michael.


no cub/device/device_radix_sort.cub

i got a problem when i executed the “make” command on the nano, the error is " no cub/device/device_radix_sort.cub", how to fix it.

Hello, please use 20.03 branch for Nano or any Jetson device.

thanks for your reply, did that mean i must have a PyTorch container 20.03  in the nano. sorrry, i am beginner.


Documentation is outdated

I tried using zxcvbn and almost none of the result properties that the documentation says are available under usage are available - only the calc_time. It looks like the final result is a bit more complex and I'm not entirely sure how to use it to implement password scoring in my application - is there any chance the documentation can be updated to reflect that?
https://github.com/dropbox/zxcvbn#usage
https://jsfiddle.net/dh0uxd12/

Hi @alexschneider -- the issue is I sometimes push changes to github before updating the documentation and tagging a release.
If you use npm or bower to install zxcvbn, the documentation should match the code.
If you use github, just update to the latest tag:
for example:
git checkout tags/3.5.0

Sorry for the confusion! I'll try to avoid pushing changes w/o updating docs in the future.

@lowe Thanks for responding - I used the manual instalation steps here: https://github.com/dropbox/zxcvbn/#manual-installation
Perhaps the link can be linked to the latest tag rather than to master?

That's a great idea -- I'll do that next time I update the docs.
-Dan
On 13 October 2015 at 14:06, Alexander Schneider<EMAIL_ADDRESS>wrote:

@lowe https://github.com/lowe Thanks for responding - I used the manual
instalation steps here:
https://github.com/dropbox/zxcvbn/#manual-installation
Perhaps the link can be linked to the latest tag rather than to master?
—
Reply to this email directly or view it on GitHub
https://github.com/dropbox/zxcvbn/issues/98#issuecomment-147853958.


wesnoth: 1.14.6 -> 1.14.7

Motivation for this change
Updating to latest version.
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

The build failure on darwin is not a new issue: https://hydra.nixos.org/job/nixpkgs/staging-next/wesnoth-dev.x86_64-darwin
Thanks @lightbulbjim for your contribution :-)


deprecate package in favor of ember-auto-import and setting up chai directly?

Ember CLI Chai has served us well, but its functionality could be replicated by using ember-auto-import. This addon is using several deprecated babel plugins/npm packages that would just be more maintenance over time, and nice to remove from the tree of packages. I'd be happy to submit a PR to the README with the replacement instructions, which are:
Add Ember Auto Import:
ember install ember-auto-import
Remove ember-cli-chai from package.json
import chai and plugins into your test-helper.js:
import chai from 'chai';
// any other chai plugins from your package.json
import chaiJquery from 'chai-jquery';

chai.use(chaiJquery);

sounds reasonable to me.
@rwjblue any objections?

None. I plan to do something similar with ember-qunit: moving qunit and @ember/test-helpers into the application blueprint, setting them up as peerDependencies, and allowing ember-auto-import to discover and bundle the qunit dependency.

resolved by #363


Improve License message

" (License keys will be sent to and stored by Neo4j. This information will only be used for the purposes of product activation.)"
I'm not sure what this message is trying to get across.  I'd suggest removing it.

this was a request from the aws marketplace team to mention the details as per the below document
https://docs.aws.amazon.com/marketplace/latest/userguide/product-and-ami-policies.html#customer-information

I dont think we can remove it @benofben ....removing it will lead to adding the same from the AWS team

Closing Issue.  As @harshitsinghvi22 has stated, this was a request direct from the AWS MP team.


Azure Signed URL Support

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

https://github.com/apache/arrow-rs/pull/4876 added support for generating S3 URLs, via the Signer trait. This ticket tracks implementing Signer for MicrosoftAzure
Describe the solution you'd like

Azure calls this functionality a Shared Access Signature.
Depending on the type of credential available to MicrosoftAzure there are different ways to generate a signed URL:

AzureAccessKey - Service SAS
BearerToken - User Delegation SAS
SASToken - not supported (I think)

In both cases, there are a lot of options for further restricting the signatures with access policies, encryption, IP restrictions, etc... an initial implementation should stick to using the defaults as a first step.
Describe alternatives you've considered

Additional context

Split out from https://github.com/apache/arrow-rs/issues/3027

label_issue.py automatically added labels {'object-store'} from #5259


Question about "shred" terminology

The Invoke-ForensicBinShred cmdlet parses a binary file and retrieves its contents. But, when I looked up "shred" and "shredding," I found articles, tools, and algorithms for erasing or zeroing out files and drives, not parsing.
Can you please link me to the definition of "shred" that you're using in this cmdlet? Thanks.

I'll run this by Lee to see what his thought process was on the name.  I'd imagine he is using some sort of colloquialism for "shredding" binary data into structured data.

Great. Thanks.

From Lee "Shredding: Breaking a monolithic thing into its constituent parts.
Invoke-BinShred is a crappy name. It should be something like ConvertFrom-BinaryData, with an alias 'binshred'"

Thanks for checking on it. Are you going to change the name?

Yes, a name change makes sense. I'll close this issue when it happens :)

Fixed with https://github.com/Invoke-IR/PowerForensics/commit/61035a89a456c5d0886cf64c321472eefe4560e3


Language generation problems

Thanks for making this opensource.
I am writing this specifically from the view point of text generation using XLNet. I have experimented with generating text, and the samples can be seen here https://github.com/rusiaaman/XLnet-gen/blob/master/samples/conditional_top-p-0.9.txt
Issues:

There has to be a long context for XLNet to generate meaningful samples. This is most probably because of the way XLNet was trained: 85 tokens out of 512 are predicted at a time.

Fortunately, due to the presence of <eod> token, having a (grammatically correct) random paragraph followed by <eod> seems to give good results even for short prompts. But if we give no prompt, the random context influences the predictions a lot.

Due to the way perm_mask was generated during pre-training, all context tokens can attend to each other. During text generation, if we let the context tokens attend to only the past context tokens, the output is gibberish. On the other hand if let the context tokens attend to each other, the first sampled token will be of high quality.

Can the above two problems be reduced if in pretraining we have causal attention mask for context tokens too? Or a middle ground where a block of context tokens have bi-directional attention and the rest uni-directional?

If we let all context tokens attend to each other, but not the sampled tokens, the output quickly degrades after 3-4 tokens. To rephrase, let there be 250 context tokens with bi-directional attention, followed by 3 sampled tokens with causal attention, the next sampled token will not be a good sample. But the same is not true if we sample two tokens, and in next iteration make them a part of the context with bi-directional attention, and then sample next two tokens, and so on. Then the samples are indistinguishable from the case where we make each new token a part of the context immediately (instead of two at a time).

This is probably because of the way n-grams are masked. On an average 2.2 consecutive tokens are masked (5 max n-grams, with inverse probability of generation) and are surrounded by 2.2*(alpha-1) = 11 context tokens. During text generation the scenario of more than 3-4 tokens being the target tokens (having causal attention masks) is not very friendly. And I suspect the quality degrades quickly as we sample more tokens due to a cascading effect.
Can this problem be solved if we have a initial block of context followed by continuous target-tokens?

I would like your thoughts on this, and if my understanding of the whole mechanism is correct.

Closing this issue due to the discovery of a mistake in my code. Autogressively generating text leads to acceptable results now instead of gibberish.


Add Microsoft.AspNet.Configuration targeting default configuration schema

•	Create a new Microsoft.AspNetCore.Configuration that will contain all of our default config schema/setup which lives only in the meta package.
•	It will provide a single services.ConfigureAspNetDefaults() [naming TBD] which will add all of the default config conventions, none of the existing AddXyz() methods will use IConfiguration (and we should potentially remove any overloads that exist today)
•	Implementation detail: a ConfigureAspNet that implements IConfigureOptions for all things we want to configure by default
•	For preview 2, this will consist of whatever is being configured in the templates today (Authentication, IdentityService, Kestrel)
•	Longer term: Have intellense/schema for the important config settings.
•	The structure of the config will be nested: example using today’s indidual Auth template
  "Microsoft": {
    "Logging": {
      "IncludeScopes": false,
      "Debug": {
        "LogLevel": {
          "Default": "Warning"
        }
      },
      "Console": {
        "LogLevel": {
          "Default": "Warning"
        }
      }
    },
    "AspNetCore": {
      "Authentication": {
        "IdentityService": {
          "ClientId": "C06ACE17-3212-454B-84AB-14DDB2FC58E0",
          "TokenRedirectUrn": "urn:self:aspnet:identity:integrated"
        }
      },
      "Hosting": {
        "Kestrel": { // https://github.com/aspnet/MetaPackages/blob/dev/src/Microsoft.AspNetCore/KestrelServerOptionsSetup.cs
          "Endpoints": {
            "Localhost": {
              "Address": "<IP_ADDRESS>",
              "Port": "5000"
            },
            "LocalhostWithHttps": {
              "Address": "<IP_ADDRESS>",
              "Port": "44333",
              "Certificate": {
                "Source": "Store",
                "StoreLocation": "LocalMachine",
                "StoreName": "My",
                "Subject": "CN=localhost"
              }
            }
          }
        }

Does it really have to be that nested? This looks very XMLy 😄
The "Microsoft" and "AspNetCore" containers seem to be unnecessary because they probably won't have properties on their own. Would be nicer if we could just use "Logging", "Authentication", "Hosting" (or maybe even "Kestrel") as top-level entries. People will be smart enough to use different titles for their own areas.
It would also make it easier/more readable for flat-item providers -
Microsoft:AspNetCore:Hosting:Kestrel:Endpoints:LocalhostWithHttps:Certificate:StoreLocation is a pretty long key.

After discussing with @davidfowl and @danroth27 updated implementation plan:
Introduce a new Options.Intrastructure.ConfigureDefaultOptions<TOptions>
ConfigureAspNetDefaults() will add an open generic IConfigureOptions<TOptions> that consumes ConfigureDefaultOptions, and features that want to participate in the default configuration setup will just always add a ConfigureDefaultOptions<XyzOptions> as part of AddXyz similar to today.
cc @Eilon @DamianEdwards @ajcvickers @divega  @glennc

4b18cf52ae3c22c7124fd9cb35ae0253b390b28e has added ConfigureAspNetCoreDefaults() which is now called by WebHost.CreateDefaultBuilder.  Auth has already switched over to registering ConfigureDefaultOptions by default.
Templates and Kestrel still need to be updated to use the new config schema shown in https://github.com/dotnet/templating/pull/862

We decided not to introduce any default config binding like this across the board since its already possible to easily bind a config section to an options, something like this is a pattern which works across already:
   AddXyz(o => config.GetSection("something:xyz").Bind(o))

Ah, yeah, I have been wondering about that since this didn’t actually add functionality that wasn’t already available in a slightly different form before. But this being organized on a large-scale and then unshipped a month later made me curious. Thanks for the clarification! :)

Yeah the feature that was driving all that config coordination was cut, which let us roll this back


feat(#37): agglomerative, dbscan, gmm for numerics.csv, simple plots

ref #37

PR-Codex overview
This PR introduces new clustering algorithms (Agglomerative, DBSCAN, GMM) and updates existing KMeans clustering with improved data visualization features like saving cluster members to .txt files.
Detailed summary

Added Agglomerative, DBSCAN, and GMM clustering algorithms
Updated KMeans clustering with enhanced data visualization
Introduced a function to save cluster members to .txt files

The following files were skipped due to too many changes: steps/dbscan_numerical.py

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@rultor merge

@rultor merge

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


i have some questions on the processing of datasets

hello,in your code,you use the "<extra_id_0>" as a PLACEHOLDER_MASK.I wonder if I can replace it with something else,for example,"" without modifying other code.Moveover,using differnet PLACEHOLDER_MASK  whether have a significant impact on the prediction of the model?
I am a noob in DL,I am very interested in your research.SO these quetions seems silly.Thank you very much.

Hello!
If you are talking about the pre-training phase, then you should have several <extra_id_xx> tokens for the masked part.
It might happen that if the comment that we mask is featured just by few tokens, then only one <extra_id_xx> token will take the place of the raw token.
As for fine-tuning, only one <extra_id> token is needed seen the way we instantiate the model for the task of code comment completion.
In general, the <extra_id_xx> token has a specific meaning and is a reserved token for the model. Thus, if you replace the <extra_id> with double quotes, the model does not know anymore what it has to be done.
On a similar note, I think you can define your own PLACEHOLDERS and replace the <extra_id_xx> with these, but the tokenizer must be re-trained to include your EXTRA PLACEHOLDERS.


IPV6 defrager

Hi all. I am writing a PcapParser which requires IPV6 defragmentation. Seems gopacket do not have this method, I write one myself based on it. I wonder whether it is possible and meaningful for me to send a pull request of my code to this repository.

Hi
Yes, that would be a great idea... Even if normally IPv6 is not supposed to be fragmented by design!
Do you have a large network to test it?

Hi, my program(https://github.com/RunxiaWan/PcapParser) is a part of ymmv program(https://github.com/shane-kerr/ymmv) which will be used to mirror DNS traffic of large network for yeti project(http://www.yeti-dns.org/). So it should be fine for the testing network.

Hi,
Wow yo do have a large project to test it !
That's great.
I would do what needed to help you.  Please advice.
If you implement a new defrag for IPv6, please submit a PR, even an early draft to get feedback.
I would suggest we keep the same high level interface as for IPv4. I would also suggest that you integrate it inside pcapdump example.
Kind regards,

IPv6 is designed not be fragmented by the devices in the middle but by the end system. The IPv6 fragment do introduce some problem. FYI, there is a test : http://www.potaroo.net/ispcol/2016-05/v6frags.html .

Thanks for your reply. I do not really no how to write a PR, would you give me any format or example then I can try to write one? The reason I use whole packet rather than IPV6 layer as a parameter is that in gopacket ipv6 fragment next header is indeed a separate layer, it is a bit complex to get it from IPV6 layer

Hi
First you should have a look to github recommandation : https://github.com/blog/1943-how-to-write-the-perfect-pull-request
Next regarding the specifics source code management we use at Gopacket, there are all inhttps://github.com/google/gopacket/blob/master/CONTRIBUTING.md
If there is still question, please ask.

Hi. Does my last comment make sense for you?

Hi, lhausermann. Your comments helps a lot. I have already sent a letter to<EMAIL_ADDRESS>but still do not get any reply yet. Do I miss anything?

Should we close this one?

Well wouldn't be bad to have an IPv6 defragger. I think we can leave it open as example for new contributions.


poster added for Imagine AI

Poster added for Imagine AI in main events

@Spandan-Mishra prettier checks are failing

@Srish-ty fixed the issues


Apple Account Login Error 503 (Apple Refusing SRP Password)

I've tried deleting all config data and starting from scratch, and I've confirmed I can login to account.apple.com successfully with the credentials I'm using with iCloud3. Here's the debug log:
`11-24 18:13:38 [start_ic3_co:0161] STAGE3 ⡇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⡇    STAGE 3 > DEVICE CONFIGURATION
⡇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
11-24 18:13:38 [start_ic3_co:0174] STAGE3  Data Sources > iCloud, MobApp
11-24 18:13:38 [pyicloud_ic3:0112] STAGE3  Verify Apple Account Username/Password
11-24 18:13:38 [pyicloud_ic3:0526] STAGE3  MYUSERNAME, Checking Username/Password validity
11-24 18:13:38 [pyicloud_ic3:0202] STAGE3
🔺 MYUSERNAME, POST, REQUEST,  VALIDATE_USERNAME_PASSWORD/541
❗   items={'url': 'setup.icloud.com/setup/authenticate/MYUSERNAME@…………', 'retry': 0, 'data': None, 'json': None}
❗   headers={'Authorization': 'Basic ……5JTkc='}
11-24 18:13:39 [pyicloud_ic3:0259] STAGE3
🔻 MYUSERNAME, POST, RESPONSE, VALIDATE_USERNAME_PASSWORD/541
❗   items={'code': 409, 'ok': False}
11-24 18:13:39 [pyicloud_ic3:0544] STAGE3  MYUSERNAME, Validate Username/Password Results, Valid-True
11-24 18:13:39 [start_ic3_co:0198] STAGE4 ⡇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⡇    STAGE 4 > DATA SOURCE DEVICE ASSIGNMENT
⡇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
11-24 18:13:39 [start_ic3_co:0210] STAGE4  Data Source > Apple Account used-True
11-24 18:13:39 [start_ic3_co:0211] STAGE4  Data Source > HA Mobile App used-True
11-24 18:13:39 [pyicloud_ic3:0167] STAGE4  APPLE ACCT SETUP > MYUSERNAME, Step-0, Login Started, PyiCloud=<PyiCloudService: 18:13:00-MYUSERNAME>PyiCloud.is_DeviceSvc_setup_complete=False PyiCloud.DeviceSvc=<PyiCloud.DeviceSvc: 18:13:00-18:13:01-MYUSERNAME>PyiCloud.RawData_by_device_id.values()=dict_values([])
11-24 18:13:39 [pyicloud_ic3:0669] STAGE4  MYUSERNAME, Initialize PyiCloud Service, Set up iCloud Location Services connection
11-24 18:13:39 [pyicloud_ic3:1162] STAGE4  MYUSERNAME, , Session file does not exist (/config/.storage/icloud3.apple_acct/MYUSERNAME.session)
11-24 18:13:39 [pyicloud_ic3:1182] STAGE4  MYUSERNAME, Load Cookies File (/config/.storage/icloud3.apple_acct/MYUSERNAME)
11-24 18:13:39 [pyicloud_ic3:0776] STAGE4  MYUSERNAME, Authenticating with Token
11-24 18:13:39 [pyicloud_ic3:0851] STAGE4  MYUSERNAME, Authenticate with Token > Failed, Invalid Session Data
11-24 18:13:39 [pyicloud_ic3:0784] STAGE4  MYUSERNAME, Authenticating with Password SRP
11-24 18:13:39 [pyicloud_ic3:0992] STAGE4  MYUSERNAME, Authenticating with Password SRP, Send Credentials
11-24 18:13:39 [pyicloud_ic3:0202] STAGE4
🔺 MYUSERNAME, POST, REQUEST,  _AUTHENTICATE_WITH_PASSWORD_SRP/993
❗   items={'url': 'idmsa.apple.com/appleauth/auth/signin/init', 'retry': 0, 'json': None}
❗   data.items={'accountName': 'MYUSERNAME@…………', 'a': 'XXXX'}
11-24 18:13:40 [pyicloud_ic3:0259] STAGE4
🔻 MYUSERNAME, POST, RESPONSE, _AUTHENTICATE_WITH_PASSWORD_SRP/993
❗   items={'code': 503, 'ok': False}
11-24 18:13:40 [pyicloud_ic3:0851] STAGE4  MYUSERNAME, Authenticate with Token > Failed, Invalid Session Data
11-24 18:13:40 [pyicloud_ic3:0823] STAGE4  MYUSERNAME, Authentication Failed, Connection Error, Secure Password Validation Data was not returned from Apple. ErrorCode-503
11-24 18:13:40 iCloud3 v3.1.3
Traceback (most recent call last):
File "/config/custom_components/icloud3/support/pyicloud_ic3.py", line 655, in init
self.authenticate()
File "/config/custom_components/icloud3/support/pyicloud_ic3.py", line 824, in authenticate
raise PyiCloudFailedLoginException(err_msg)
custom_components.icloud3.support.pyicloud_ic3.PyiCloudFailedLoginException: MYUSERNAME, Authentication Failed, Connection Error, Secure Password Validation Data was not returned from Apple. ErrorCode-503
11-24 18:13:40 [pyicloud_ic3:0242] STAGE4  APPLE ACCT SETUP > MYUSERNAME, Step-3, Setup PyiCloud, MYUSERNAME, Complete=False,
11-24 18:13:40 [pyicloud_ic3:0243] STAGE4  Apple Acct > MYUSERNAME, Login Successful
11-24 18:13:40 [start_ic3_co:0367] STAGE4  Apple Acct > MYUSERNAME, All Devices Located
11-24 18:13:40 [pyicloud_ic3:1543] STAGE4  MYUSERNAME, Create iCloud object MYUSERNAME)
11-24 18:13:40 [start_ic3………:1713] STAGE4  Apple Acct > MYUSERNAME, 0 of 0 tracked
`

apple must have changed something as i am seeing this as well.  I tried deleting my apple account, restarting HA, then re-adding it, but iCloud3 shows no devices registered.

Can also confirm this exact issue:
11-24 13:07:45 CONFIG  username, Authentication Failed, Connection Error, Secure Password Validation Data was not returned from Apple. ErrorCode-503

For me the same error. I changed my password twice now, deleted the .storage/icloud3 folder, removed the integration totally and reinstalled. Still the same error again.

I am getting the same 503 Connection Error and have no idea why.
It appears that Apple has made some changes once again, this time rejecting password requests made using the Secure Password Request protocol it implemented in October. I have changed the title to reflect the issue.
There is nothing that can be done at this time but wait to see if they open it up again.

Wow, yeah, this is a hard down.  Last time I managed to skate thru without impact but it's def very impacting now.

I have the same Problem. My Devices are not updating. And i dont get an new Verification Code.

Some guys posted on the iCloud3 repo that downgrading to v<IP_ADDRESS> let them get back up and running again. That uses the login routines before Apple broke everything at the end of October when they changed to the SRP password authentication protocol.
At the moment, I am on a cruise ship off the west coast of Africa for another couple of weeks so an updated release is not going to happen until I get back.
Plus, who knows how long before Apple changes it’s mind again and goes back to the new way of validating passwords. And I am also getting 503 errors on my real and test accounts with the v3.1.3 password routine, a 503 on my main account and on accounts that do not exist and cannot generate a verification code for my test account. My devices can not be located because I’m using Starlink, in airplane mode and have no cell service.

Confirmed, rolling back to <IP_ADDRESS> allowed me to reauth against Apple and I have my devices back again.
Enjoy that trip, @gcobb321 !!

Confirmed, rolling back to <IP_ADDRESS> allowed me to reauth against Apple and I have my devices back again.
Enjoy that trip, @gcobb321 !!

For me too.

I have downgraded to <IP_ADDRESS> and restarted Home Assistant. But I do not get Apple ID verification code dialog on my mobile device when I request it. Please share the exact steps that you have done for downgrading

Yes, please detail the steps for rolling back. (Is this something we can download from HACS?)

Yes, please detail the steps for rolling back. (Is this something we can download from HACS?)

Go to HACS.
Find icloud3 developer edition
Choose redownload from menu
Choose the version noted above

Got mine working again but had to go all the way back to 3.0.6b1.  Not perfect, but at least its tracking.

Got mine working again but had to go all the way back to 3.0.6b1. Not perfect, but at least its tracking.

Confirmed. <IP_ADDRESS> is working again for me.

I was having these same issues, I deleted the official integration, re-installed <IP_ADDRESS> via HACS, and am now seeing some weird behaviour. The Apple Account is authenticated successfully via 6-digit code, but both of my 2x tracked devices were showing up as being "FamShr Device: None". I deleted one and tried to re-add it as a new device - but I now just get the same error every time I try to re-add it: "Unknown error occurred". I get the same error when trying "UPDATE DEVICE" for the other device I'd been tracking, which I did not delete. Any ideas on how to get this working again?

@joeu1998
Go to _Configure > Data Sources-Apple Accts & MobApp _ screen and enable iCloud/Family Sharing as a data source

When does the issue of login with the last version is going to be addressed ?

@ronwar
I am on a cruise ship off the west coast of Africa with starlink Internet service. I have not been able to log into any of my Apple accounts for 2-weeks and constantly get 503 errors trying to log in.   I return home on 12/10 and will address it then with an update that, hopefully, won’t take too long to get out. Stay tuned.

Appreciate your quick response

YES!  Confirmed, rolling back to <IP_ADDRESS> allowed me to reauth against Apple and I have my devices back again

Thank you for this thread!  Rollback worked!

In addition to the logging issue (I've stayed in the current version until being corrected) ,I've upgraded to python 3,13 and got
the following (homeassistant version 2024.12.1) :
2024-12-07 12:00:48.381 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration 'icloud3': Unable to import component: No module named 'nacl'
File "/home/homeassistant/.homeassistant/custom_components/icloud3/init.py", line 36, in
from .support.v2v3_config_migration import iCloud3_v2v3ConfigMigration
File "/home/homeassistant/.homeassistant/custom_components/icloud3/support/v2v3_config_migration.py", line 113, in
File "/home/homeassistant/.homeassistant/custom_components/icloud3/support/config_file.py", line 42, in
File "/home/homeassistant/.homeassistant/custom_components/icloud3/support/start_ic3.py", line 65, in
File "/home/homeassistant/.homeassistant/custom_components/icloud3/support/mobapp_interface.py", line 20, in
iCloud3EventLogCard._btnActionHandler (/local/custom_cards/icloud3-event-log-card.js:1876:37)
HTMLSelectElement. (/local/custom_cards/icloud3-event-log-card.js:978:62)
iCloud3EventLogCard._getButtonDevicename (/local/custom_cards/icloud3-event-log-card.js:1854:37)
iCloud3EventLogCard._nameButtonPress (/local/custom_cards/icloud3-event-log-card.js:1824:42)
HTMLUnknownElement. (/local/custom_cards/icloud3-event-log-card.js:973:66)
iCloud3EventLogCard._btnActionHandler (/local/custom_cards/icloud3-event-log-card.js:1876:37)
HTMLSelectElement. (/local/custom_cards/icloud3-event-log-card.js:978:62)

This is fixed in v3.1.4

when will 3.14  released?

@Holck1971
I released it this morning on the iCloud3 Developers Repo. No one has reported any issues. I'll update the regular repo tomorrow.
But here it is.

Go to the Configure > Other Parameters Menu > Waze screen. Check the Waze server location selection and make sure it is correct for your location. This is just a config issue to get the route info from Waze. Your devices are still being tracked.

Upgraded to 3.1.3, can"t have it working ...
Vérification code I request is not sent to the device

@cedricdelecole
The new version is v3.1.4. v3.1.3 does not work..

Ok, I will wait for it then ...

This is fixed in v3.1.4

Where docs folder goes ? (Near custom_component folder ?)

This is fixed in v3.1.4

Where docs folder goes?(I think that is by mistake...). Succeed to log into the account (Gets code) but Get acount_name-> 0 of 0 iCloud devices tracked()

What "docs" folder?
I just looked at what I pulled down as v3.1.4 and there's no "docs" folder.

This is fixed in v3.1.4

Where docs folder goes?(I think that is by mistake...). Succeed to log into the account (Gets code) but Get acount_name-> 0 of 0 iCloud devices tracked()

What "docs" folder?
I just looked at what I pulled down as v3.1.4 and there's no "docs" folder.

Look here https://github.com/gcobb321/icloud3

This is fixed in v3.1.4

Where docs folder goes?(I think that is by mistake...). Succeed to log into the account (Gets code) but Get acount_name-> 0 of 0 iCloud devices tracked()

What "docs" folder?
I just looked at what I pulled down as v3.1.4 and there's no "docs" folder.

Look here https://github.com/gcobb321/icloud3

That's not part of the code.  You should be pulling it down from HACS at this point.  It's available, I just now checked.


Initialize with TarArchiveInputStream

Hi @RomanIakovlev,
I really like your project! Thanks for the great work!
Since a couple of hours I try to initialize your TimeZoneEngine with data generated by your builder module. The builder module works just fine. At least the output is a ~20MB file (input was timezones-with-oceans.geojson.zip 2019b). But when I try to initialize TimeZoneEngine with TarArchiveInputStream(FileInputStream("file.zip")) I always receive a error:
Error detected parsing the header
Invalid byte 110 at offset 0 in 'n���Fg&' len=8

Any idea or recommendation? I already tried it with Java 1.8 and 11. Also on Win and Mac. :-/

Hi @jnickels, and thanks for your kind words! I appreciate you enjoy using Timeshape, and, as a side note, I would love to hear what kind of application/service you build with it.
Regarding your problem, it's quite difficult to pinpoint what's going on. I presume you're calling this function: public static TimeZoneEngine initialize(TarArchiveInputStream f). One possible thing would be that you don't decompress the file first. Builder module produces the Tar archive compressed with Zstd algorithm, and to read it in the main module, you need to decompress the Tar first. The javadoc of this function gives an example of how to call it:
try (InputStream resourceAsStream = new FileInputStream("./core/target/resource_managed/main/data.tar.zstd");
     TarArchiveInputStream f = new TarArchiveInputStream(new ZstdCompressorInputStream(resourceAsStream))) {
        engine = TimeZoneEngine.initialize(f);
    } catch (NullPointerException | IOException e) {
        throw new RuntimeException(e);
    }

Here the ZstdCompressorInputStream is first used to decompress the file, and then the TarArchiveInputStream is used to read the archive contents.
If you do this and it still doesn't work, maybe you could prepare a minimal reproducible example, so that I could have a deeper look?

Hi @jnickels, were you able to solve this problem? I'm curious if there's anything in Timeshape that doesn't play well with initializing from file, but if there's nothing to fix here, I'd rather close this issue.

This is probably solved by now, so I'll just go ahead and close this issue. Please feel free to open another one if you see this problem again.


Allow for insertion case when saving frames

Adds an optional insert flag to the private fiftyone.core.Frames._save() method.
This flag can be used to use insert_many when we are sure that the frames are new and can be inserted (not replaced).

This changed the ingestion time from ~30 seconds to ~2 seconds for the video dataset I am using.


Content test: windows dll / lib with ABI version

The openjph package installs dll / lib files with a ABI version like foo.0.17.dll and foo.0.17.lib.
Should we support that?

https://github.com/conda-forge/staged-recipes/pull/25772#issuecomment-2409033956

Isuru pointed out on Element:

A common pattern is foo.lib and foo.0.17.dll which are equivalent to libfoo.so and libfoo.so.0.17 in linux

Another common pattern from GMP:
https://github.com/conda-forge/gmp-feedstock/blob/6f7078d255019fadadb8081a8c51bd5829231f8b/recipe/meta.yaml#L45-L54
    - test ! -f ${PREFIX}/lib/libgmp.a      # [unix]
    - test -f ${PREFIX}/lib/libgmp.dylib    # [osx]
    - test -f ${PREFIX}/lib/libgmp.so       # [linux]
    - test ! -f ${PREFIX}/lib/libgmpxx.a    # [unix]
    - test -f ${PREFIX}/lib/libgmpxx.dylib  # [osx]
    - test -f ${PREFIX}/lib/libgmpxx.so     # [linux]
    - if not exist %LIBRARY_BIN%\libgmp-10.dll exit 1  # [win]
    - if not exist %LIBRARY_LIB%\libgmp.dll.a exit 1   # [win]
    - if not exist %LIBRARY_LIB%\gmp.lib exit 1        # [win]

but is it common to have the lib file with these .0.0.17? i don't think so right?

I'd say that most of the time there is no version in the .lib filename. When there is a version, it's usually in the form mylib-2.lib.

FWI, i patched out the "lib" in the offending project and requested input from upstream https://github.com/aous72/OpenJPH/issues/155

@jaimergp can we use your tool to run a query for the names of all *.dll and *.lib files in the conda-forge universe?
I am not sure if enforcing a naming rule makes a lot of sense. I imagine that, if the CMake find_package works correctly, things will be found no-matter-what their name ends up.
So we could also change the regex to something like foo*.dll and foo*.lib ...

can we use your tool to run a query for the names of all *.dll and *.lib files in the conda-forge universe?

The sqlite dumps are downloadable for this kind of large query that wouldn't be efficient in a public server. Some links:

The DB dump is at https://github.com/Quansight-Labs/conda-forge-paths/releases/tag/latest
The Python package and datassette config is at https://github.com/Quansight-Labs/conda-forge-paths


Add jumplink to deleted messages

Closes #1280
Implements jumplinks to deleted messages in logs.

Coverage remained the same at 56.675% when pulling 555c1a8a4543f051b950c72a4b89805db988ca76 on feat/1280/deleted-jumplink into 5ade0dc777ddde862121a547b7aedc3a732f6648 on master.


MonadMask Support

My MTL stack includes ExceptT and I want to leave the door open for StateT too, but UnliftIO doesn't support it. I poked around a bit and got it working by making versions of inSpan and bracketError that rely only on MonadMask instead
Would you accept a PR that adds a new version of inSpan that doesn't require UnliftIO?
Great project btw! Glad to see someone finally tackling this issue in Haskell.

Awesome, I'll submit one soon then :+1:
Sure, maybe something like hs-opentelemetry-masked?
Thanks for a link to some interesting discussion! I've actually read his FPComplete article before and I respectfully disagree with his argument (with regards to ExceptT at least). I'm glad you're open to at least supporting this style even if you don't prefer it though!  If it takes extra work to maintain or whatever, then sure, but people refusing to provide basic instances to control the way I choose to code really rubs me the wrong way.
Also, I'll also try to flesh out the B3 propagator if I have extra time. Again, great work on this library, so good to finally have some visibility into my Haskell services!

IIRC the instance comes from the exceptions library, so maybe hs-opentelemetry-util-exceptions?

 If it takes extra work to maintain or whatever, then sure, but people refusing to provide basic instances to control the way I choose to code really rubs me the wrong way.

Yeah, I understand. Ideally the hs-opentelemetry set of packages (especially the underlying hs-opentelemetry-api library) should be usable in any Haskell codebase due to the significant network effects that come from thorough instrumentation, so it'd be self-defeating to make it harder for people to use 😄. That being said, I don't want to cause subtle new issues crop up in people's instrumented code, so I just want to be conservative with the base offerings.


create python package

Follow the instruction from:
https://packaging.python.org/en/latest/tutorials/packaging-projects/

also, add dependency information


Alpine images failing to build for arm32vN and arm64v8

Here's a snippet of the relevant log:
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| linux | arm
gyp info find Python using Python version 3.11.6 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/var/lib/ghost/versions/5.75.2/node_modules/re2/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/var/lib/ghost/versions/5.75.2/node_modules/re2/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/var/lib/ghost/versions/5.75.2/node_modules/re2/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/node/.cache/node-gyp/18.19.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/node/.cache/node-gyp/18.19.0',
gyp info spawn args   '-Dnode_gyp_dir=/var/lib/ghost/versions/5.75.2/node_modules/re2/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/node/.cache/node-gyp/18.19.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/var/lib/ghost/versions/5.75.2/node_modules/re2',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/var/lib/ghost/versions/5.75.2/node_modules/re2/build'
  CXX(target) Release/obj.target/re2/lib/addon.o
  CXX(target) Release/obj.target/re2/lib/new.o
  CXX(target) Release/obj.target/re2/lib/exec.o
  CXX(target) Release/obj.target/re2/lib/test.o
  CXX(target) Release/obj.target/re2/lib/match.o
  CXX(target) Release/obj.target/re2/lib/replace.o
  CXX(target) Release/obj.target/re2/lib/search.o
  CXX(target) Release/obj.target/re2/lib/split.o
  CXX(target) Release/obj.target/re2/lib/to_string.o
  CXX(target) Release/obj.target/re2/lib/accessors.o
  CXX(target) Release/obj.target/re2/lib/util.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/bitmap256.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/bitstate.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/compile.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/dfa.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/filtered_re2.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/mimics_pcre.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/nfa.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/onepass.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/parse.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/perl_groups.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/prefilter.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/prefilter_tree.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/prog.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/re2.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/regexp.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/set.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/simplify.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/tostring.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/unicode_casefold.o
  CXX(target) Release/obj.target/re2/vendor/re2/re2/unicode_groups.o
  CXX(target) Release/obj.target/re2/vendor/re2/util/pcre.o
  CXX(target) Release/obj.target/re2/vendor/re2/util/rune.o
  CXX(target) Release/obj.target/re2/vendor/re2/util/strutil.o
  CXX(target) Release/obj.target/re2/vendor/abseil-cpp/absl/base/internal/cycleclock.o
  CXX(target) Release/obj.target/re2/vendor/abseil-cpp/absl/base/internal/low_level_alloc.o
In file included from ../vendor/abseil-cpp/absl/base/internal/low_level_alloc.cc:26:
../vendor/abseil-cpp/absl/base/internal/direct_mmap.h:75:25: error: 'off64_t' has not been declared
   75 |                         off64_t offset) noexcept {
      |                         ^~~~~~~
make: *** [re2.target.mk:230: Release/obj.target/re2/vendor/abseil-cpp/absl/base/internal/low_level_alloc.o] Error 1
make: Leaving directory '/var/lib/ghost/versions/5.75.2/node_modules/re2/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/var/lib/ghost/versions/5.75.2/node_modules/re2/node_modules/node-gyp/lib/build.js:203:23)
gyp ERR! stack     at ChildProcess.emit (node:events:517:28)
gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:292:12)
gyp ERR! System Linux 5.10.0-21-cloud-arm64
gyp ERR! command "/usr/local/bin/node" "/var/lib/ghost/versions/5.75.2/node_modules/re2/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /var/lib/ghost/versions/5.75.2/node_modules/re2
gyp ERR! node -v v18.19.0
gyp ERR! node-gyp -v v9.4.0
gyp ERR! not ok

Oh strange, fails on arm64v8 too in the same way :thinking:

Minimally reproducible with:
docker run --rm -it node:18-alpine sh

apk add --no-cache --virtual .gyp python3 make g++ > /dev/null
npm install -g re2 > /dev/null

This fix upstream could help: https://github.com/gperftools/gperftools/issues/693#issuecomment-173898629

@tianon I isolated it even further
docker run --rm -it node:18-alpine sh
apk add --no-cache --virtual .gyp git python3 linux-headers make g++ > /dev/null
git clone https://github.com/uhop/node-re2.git && cd node-re2/
git checkout 1.20.1
git submodule init && git submodule update
npm install

In file included from ../vendor/abseil-cpp/absl/base/internal/low_level_alloc.cc:26:
../vendor/abseil-cpp/absl/base/internal/direct_mmap.h:75:25: error: 'off64_t' has not been declared
   75 |                         off64_t offset) noexcept {
      |                         ^~~~~~~

I think https://github.com/abseil/abseil-cpp/issues/1473 is the fix for this off64_t compilation error and node-re2 has already updated their vendor copy of abseil-cpp (https://github.com/uhop/node-re2/commit/bea0c0041b0c7c9614d3ff4b91bf17f344fefb80) which would mean that it needs to be using 1.20.5+ of node-re2.

https://github.com/microlinkhq/metascraper/pull/681

This was closed as completed: https://github.com/abseil/abseil-cpp/issues/1473
This was merged: https://github.com/microlinkhq/metascraper/pull/681
Please update on what's missing for this issue.

https://github.com/TryGhost/Ghost/pull/19401 :+1:

Thank you. I'll track that one.

@tianon These failures started just after the update from Alpine 3.17 to 3.19, here: https://github.com/docker-library/ghost/commit/123735dbbb5a717a71ff941d85cc0ee0ca0717f4. Could that update be reverted until Ghost's fix is merged so that the most recent version of Ghost can be available on Alpine again?

As per the upstream PR, a fix for this should be release on Friday so hopefully we can have this fixed early next week!

Should be fixed in https://github.com/docker-library/official-images/pull/16782

https://oci.dag.dev/?image=oisupport/staging-arm32v6:6039183ab8b1d76ab7d580b06b2bd0d91b3481646648a83dc295c55694cb2701 :metal:
(coming soon to a library/ghost near you)


Update SearchOptionServlet.java

Corrected the position of an end region tag.

@lesv Merging. Please put comments if you have any concerns

LGTM.

Coverage remained the same at 24.895% when pulling 607f3a35f8fa965b397ab19c5e5f09787f21c620 on fix-region-tag into cc3bdee760d24d3c2f52e6dc0476c3ac21f54693 on master.


add pyproject.toml to declare numpy as build dependency

Solves https://github.com/atztogo/phonopy/issues/53

Do you know what are these warnings appearing in pip install?
  WARNING: Missing build requirements in pyproject.toml for file:///Users/togo/code/phonopy.
  WARNING: The project does not specify a build backend, and pip cannot fall back to setuptools without 'wheel'.

You are right, I forgot to include wheel in the requirements, I'll add them.

I replace this PR by https://github.com/atztogo/phonopy/pull/98

I just don't know these stuffs. Thanks.

 I didn't know about this as well, until recently when I started using poetry to package my python projects. poetry is a great tool, but also very strict and picky with dependencies, which forced me to look into the business of python packaging a bit more.
But also I'm far from being an expert, for sure.


NoMethodError on Windows platforms when invoking Logging::Logger.trace

Describe the Bug
When running acceptance tests for a module on a Windows platform via Litmus, using v2.28.0 of the bolt gem, we are seeing the following NoMethodError thrown:
     Failure/Error: LitmusHelper.instance.apply_manifest(pp)
     NoMethodError:
       undefined method `trace' for #<Logging::Logger:0x00007f9faa9df868>

     # ./.bundle/gems/ruby/2.5.0/gems/bolt-2.28.0/lib/bolt/analytics.rb:228:in `event'
     # ./.bundle/gems/ruby/2.5.0/gems/bolt-2.28.0/lib/bolt/executor.rb:208:in `report_transport'
     # ./.bundle/gems/ruby/2.5.0/gems/bolt-2.28.0/lib/bolt/executor.rb:121:in `block in queue_execute'
     # ./.bundle/gems/ruby/2.5.0/gems/bolt-2.28.0/lib/bolt/executor.rb:119:in `each'
     # ./.bundle/gems/ruby/2.5.0/gems/bolt-2.28.0/lib/bolt/executor.rb:119:in `flat_map'
     # ./.bundle/gems/ruby/2.5.0/gems/bolt-2.28.0/lib/bolt/executor.rb:119:in `queue_execute'
     # ./.bundle/gems/ruby/2.5.0/gems/bolt-2.28.0/lib/bolt/executor.rb:174:in `batch_execute'
     # ./.bundle/gems/ruby/2.5.0/gems/bolt-2.28.0/lib/bolt/executor.rb:317:in `block in upload_file'
     # ./.bundle/gems/ruby/2.5.0/gems/bolt-2.28.0/lib/bolt/executor.rb:182:in `log_action'
     # ./.bundle/gems/ruby/2.5.0/gems/bolt-2.28.0/lib/bolt/executor.rb:314:in `upload_file'
     # ./.bundle/gems/ruby/2.5.0/gems/bolt-2.28.0/lib/bolt_spec/run.rb:225:in `upload_file'
     # ./.bundle/gems/ruby/2.5.0/gems/bolt-2.28.0/lib/bolt_spec/run.rb:110:in `block in upload_file'
     # ./.bundle/gems/ruby/2.5.0/gems/bolt-2.28.0/lib/bolt_spec/run.rb:152:in `block in with_runner'
     # ./.bundle/gems/ruby/2.5.0/gems/bolt-2.28.0/lib/bolt_spec/run.rb:150:in `with_runner'
     # ./.bundle/gems/ruby/2.5.0/gems/bolt-2.28.0/lib/bolt_spec/run.rb:109:in `upload_file'
     # ./.bundle/gems/ruby/2.5.0/gems/puppet_litmus-0.18.4/lib/puppet_litmus/puppet_helpers.rb:139:in `block in create_manifest_file'
     # ./.bundle/gems/ruby/2.5.0/gems/honeycomb-beeline-2.2.0/lib/honeycomb/client.rb:68:in `start_span'
     # ./.bundle/gems/ruby/2.5.0/gems/puppet_litmus-0.18.4/lib/puppet_litmus/puppet_helpers.rb:119:in `create_manifest_file'
     # ./.bundle/gems/ruby/2.5.0/gems/puppet_litmus-0.18.4/lib/puppet_litmus/puppet_helpers.rb:71:in `block in apply_manifest'
     # ./.bundle/gems/ruby/2.5.0/gems/honeycomb-beeline-2.2.0/lib/honeycomb/client.rb:68:in `start_span'
     # ./.bundle/gems/ruby/2.5.0/gems/puppet_litmus-0.18.4/lib/puppet_litmus/puppet_helpers.rb:41:in `apply_manifest'
     # ./spec/spec_helper_acceptance_local.rb:29:in `setup_test_directory'
     # ./spec/acceptance/backup_spec.rb:5:in `block (2 levels) in <top (required)>'

Expected Behaviour
There should be NoMethodError exception thrown from Bolt.
Steps to Reproduce
Steps to reproduce the behaviour:

Clone and check out the puppetlabs-iis module (PLEASE NOTE: puppetlabs-concat was the original module the issue was discovered in by @daianamezdrea - any module running acceptance tests on Windows should be OK)
bundle install
bundle exec rake 'litmus:provision_list[default]' (PLEASE NOTE: You'll need Vagrant and either VirtualBox/VMWare Fusion installed for this step to work)
bundle exec rake 'litmus:install_agent'
bundle exec rake 'litmus:install_module'
bundle exec rake 'litmus:acceptance:parallel'

Environment

Version: 2.28.0
Platform All Windows OSs

Additional Context

Unix OSs seem to be unaffected
Looks very similar to this issue: https://github.com/puppetlabs/bolt/issues/2117

I am seeing a similar issue @sanfrancrisko

It sounds like this was fixed by #2191 - can we close this issue?

@lucywyman We can - I thought my comment here using the 'Closes' keyword would have done that automatically when that PR was merged, but apparently not.


[v1.1] Updated UG for Hide feature

Coverage remained the same at 92.174% when pulling d78043c254dbb4798ba01503c1d5e5cdafc98fa3 on wynkheng:UpdateUGHide into 6cd5adc0931f164d002f7519c68da91dc11420a3 on CS2103AUG2017-T15-B4:master.


Origin moves- Feature Request

Is it possible to have it continue from the end point along the edges to the lower left corner? Or maybe out to the nearest edge, then along them home? If it is rough I do not mind adding the 2-3 lines in by hand, just an idea.
If run in reverse this lets us home the machine and not over run the current pattern, without having to add in 2-3 lines of code by hand.
If run from the center it would make it end at the home point.
This just let you stack designs more easily. As it is I run the first in reverse (from "home" to the center) then the next from the center out by cutting and pasting them together. This seems to keep my table media really level.

This would be a decent option. I agree that it would be useful. I wouldn't want it to be always on. The pattern generation is open ended. It doesn't know about the limits and it doesn't stop when it reaches them. So this would have to compute the right path based on the last vertex and the machine limits. I think that's pretty simple, just compute which side is closest, move there and then trace around to the start.

The more I play with this, the more this is becoming my biggest problem.

What are you running into? I'd guess dealing with patterns that are smaller than the available space, so you end somewhere other than an edge or the center? Can you do a comparison between the center position and current position to determine the closest edge, then move there before tracking around the edges?

I think I'm just wanting the patterns to all start and stop at the same place. So if the star pattern expands all the way to the edge, but ends up along the right, it would move out to the right edge, and then along the edge to the lower left.
Then I could turn off the machine, and home later without any trouble.
I'll make it an option, similar to the polar force endpoints option. Should I force lower left? I would want it to be flexible, but I can't really imagine why someone would want a different corner. I'll try a few things.

As for detemining which side to drive toward, I'll compare the last coordinate to the lines y=mx and y=-mx. M would be the ratio of y size to x size. That should tell me which side is closest.

I was actually thinking about this yesterday. Since we home Y before X all you need to do is make sure you do not stop at the top edge. Any of the three others are much more ideal. Right now I just edit the code by hand, looking at the last position and adding a line if needed.
For a center ending pattern it would be nice to for the pattern to stop in the exact center of the table so you can power down and know a center starting pattern is in the exact center at the start. Currently I only run a center starting pattern without powering down to avoid hitting a limit.

Ah....right the Roundies.

Well, the polar machine has a decent function for that, but there have been some other xy machines using sandify. Like the one you found on HAD.

That is why you are the smart one! I have a narrow field of view.

I have this working in a branch.  I ended up scaling the last point so it was on the circle made by the 4 corners. Then it's easy to compare to min_x, max_x, etc. to find which side it went out on, then I always trace counter clockwise until I reach the origin. I added buttons to choose the origin, and other than them being a little ugly, they are working.


Fix using secret for EU accounts

as the endpoint is auto-determined by the provided
license key, but secrets are opaque to helm,
the wrong URL would be used when using the license
key from a secret.
extend documentation and values.yaml to allow configuration
of the ENDPOINT environment variable

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

This looks good to me! Thanks for your contribution.


Can I use flowdock to score existing co-modelled protein-ligand structures

For example, I have
Protein:A
Ligand:B
And, I use Alphafold3, to predict the complex of A, B. Now, I have alphafold3 output pdb file "AB_model.pdb", and I want to compute the B ligand's affinity score for protein A providing the alphafold's output file as input. Is there a way to score the alphafold's predicted protein-ligand complexes using flowdock?

Hi, @hopanoid.
Yes, this is possible with the current version of the codebase. In fact, this is similar to what my team and I did (to some success) in the recent CASP16 competition. To do so, you first need to separate AF3's predicted protein chain(s) into a separate (singular) PDB file, and similarly, you need to separate AF3's predicted ligand chain(s) into a separate SDF file (combining each multi-ligand into a single Chem.Mol object via Chem.CombineMols() before exporting this singular SDF file). Once you have done this, you can do something like the following to provide these separate protein (PDB) and ligand (SDF) files to FlowDock for affinity prediction.
python flowdock/sample.py ckpt_path=checkpoints/esmfold_prior_paper_weights_EMA.ckpt model.cfg.prior_type=esmfold sampling_task=batched_structure_sampling input_receptor='$PATH_TO_PROTEIN_PDB' input_ligand='$PATH_TO_LIGAND_SDF' input_template='$PATH_TO_PROTEIN_PDB' sample_id='$PDBID' out_path='./$PDBID_sampled_structures/' n_samples=5 chunk_size=1 num_steps=40 sampler=VDODE sampler_eta=1.0 start_time='1.0' use_template=true separate_pdb=true visualize_sample_trajectories=false auxiliary_estimation_only=true esmfold_chunk_size=null trainer=gpu

For reference, the key logic via which this is possible can be found here.

Thanks @amorehead

@hopanoid, let me know if you have any follow up questions. In the meantime, I'll close this issue, but feel free to reopen if and whenever you'd like.


Event when user changes selected hotbar slot?

Is there any event for this action?
Tried those but they seems to be not implemented, or are not firing.
ChangeEntityEquipmentEvent.TargetPlayer
ClickInventoryEvent.NumberPress

try ChangeInventoryEvent.Held

that worked.
due to the class name NumberPress - it will be possible in future to distinguish between mouse scroll and number key press?

ClickInventoryEvent.NumberPress is a ClickInventoryEvent those happen on open containers.

Answered, closing


Fix EOL management on Windows

This aims at resolving an issue where the license header hook changes line endings on Windows and reports the year as updated.
Solves #232
See last paragraph here for why this is necessary.
TLDR; on Windows, opening and writing to files basically changes the EOL by default, unless using a binary read/write mode.
In this PR I open the file as "rb" (see second paragraph here) so that EOL is not automatically changed.

Ok so my strategy of opening the file as rb seems to clash with the use of inplace=True and print as the print method only produces str while the file is expecting bytes.

@klmcadams just saw your draft PR. I guess there is a choice to be made between replacing line endings after the fact like you do, or stop using fileinput and open the file as binary as I am proposing.
I do not want to change everything so I'll let you decide which course is best.
I'll mark this PR as draft in the meantime.


Fix function and default regions

Rename Examples
Fix path examples
Patch for Class C 915Mhz
Update CI

This seems not right.
We now have duplicated settings CLASS_C in Config.h and lora.setDeviceClass(CLASS_C);
https://github.com/ElectronicCats/Beelan-LoRaWAN/pull/177/commits/6b7bad7c24ca54223efa5e04eb02ed41f7bee292

This seems not right. We now have duplicated settings CLASS_C in Config.h and lora.setDeviceClass(CLASS_C); 6b7bad7

This seems not right. We now have duplicated settings CLASS_C in Config.h and lora.setDeviceClass(CLASS_C); 6b7bad7

that's right, this is just a patch, because that DEFINE was added in previous changes by mistake.


compile with pfring_zc error

$ cmake -DWITH_PFRING=ON -DENABLE_DEVELOPMENT=OFF .
$ make
...
[ 11%] Built target zmaplib
[ 15%] Built target zblacklist
[ 16%] Building C object src/CMakeFiles/zmap.dir/send.c.o
In file included from /home/millken/zmap/src/send.c:43:
/home/millken/zmap/src/send-pfring.h: In function ‘send_packet’:
/home/millken/zmap/src/send-pfring.h:30: error: ‘pfring_zc_pkt_buff’ has no member named ‘data’
make[2]: *** [src/CMakeFiles/zmap.dir/send.c.o] Error 1
make[1]: *** [src/CMakeFiles/zmap.dir/all] Error 2
make: *** [all] Error 2

https://github.com/ntop/PF_RING/blob/dev/userland/lib/pfring_zc.h
/**
 * Buffer handle.
 */
typedef struct {
  u_int16_t len;         /**< Packet length. */
  u_int16_t flags;       /**< Packet flags. */
  u_int32_t hash;        /**< Packet hash. */
  pfring_zc_timespec ts; /**< Packet timestamp (nsec) */
  u_char user[];         /**< Start of user metadata, if any. */
} pfring_zc_pkt_buff;

What version of PFRING are you using?

Master branches on GitHub：https://github.com/ntop/PF_RING/

Can you try building against PF_RING ZC 6.0.1 instead?

I can confirm same issue.


Not Launching

Hi there
I just installed Code-OSS on my Debian-arm64-stretch (that is running on my phone via linuxdeploy and connect to it via vnc)
its just installed easily but when i type code-oss in terminal it do nothing , no error , no app launching, so i
run code-oss --verbose and it gives me these lines
android@localhost:~$ code-oss --verbose Xlib:  extension "XInputExtension" missing on display ":0.0". Xlib:  extension "RANDR" missing on display ":0.0". Xlib:  extension "XInputExtension" missing on display ":0.0". [30534:1201/114316.667961:ERROR:gl_surface_glx.cc(408)] glxQueryVersion failed [30534:1201/114316.668104:ERROR:gl_initializer_x11.cc(153)] GLSurfaceGLX::InitializeOneOff failed. [30534:1201/114316.683917:ERROR:gpu_child_thread.cc(252)] Exiting GPU process due to errors during initialization [30492:1201/114316.736984:ERROR:browser_gpu_channel_host_factory.cc(103)] Failed to launch GPU process. [main 11:43:16 AM] Starting VS Code [main 11:43:16 AM] from: /usr/share/code-oss/resources/app [main 11:43:16 AM] args: { _: [],   help: false,   h: false,   version: false,   v: false,   wait: false,   w: false,   diff: false,   d: false,   add: false,   a: false,   goto: false,   g: false,   'new-window': false,   n: false,   'unity-launch': false,   'reuse-window': false,   r: false,   'open-url': false,   performance: false,   p: false,   'prof-startup': false,   verbose: true,   logExtensionHostCommunication: false,   logStorage: false,   'disable-extensions': false,   disableExtensions: false,   'list-extensions': false,   'show-versions': false,   nolazy: false,   issue: false,   'skip-getting-started': false,   'skip-release-notes': false,   'sticky-quickopen': false,   'disable-restore-windows': false,   'disable-telemetry': false,   'disable-updates': false,   'disable-crash-reporter': false,   'skip-add-to-recently-opened': false,   status: false,   s: false,   'file-write': false,   'file-chmod': false,   'driver-verbose': false,   trace: false } [main 11:43:16 AM] Resolving machine identifier... [main 11:43:16 AM] Resolved machine identifier: 3e6854502d7e8b3e2736492f246d15be5ea7b8d306956cf4aa2df3ad89052eca [main 11:43:17 AM] windowsManager#open Xlib:  extension "XInputExtension" missing on display ":0.0". Xlib:  extension "XInputExtension" missing on display ":0.0". [30492:1201/114318.164311:ERROR:browser_main_parts.cc(139)] X IO error received (X server probably went away) android@localhost:~$
anyone know what should i do?

--disable-gpu

Hi thanks for reply, i tested with that but still no luck :( same errors appeard

same problem

https://github.com/Microsoft/vscode/issues/3451

duplicate #24