Python dependency added to TorchVisionConfig.cmake despite building with -DUSE_PYTHON=off

🐛 Describe the bug
Despite building libtorchvision.so with the flag -DUSE_PYTHON=off, when building a program that depends on it (infer-masts), cmake throws an error due to a missing Python dependency:
$ Torch_DIR=~/.local/lib/python3.9/site-packages/torch/share/cmake/Torch cmake -DTORCH_CUDA_ARCH_LIST="5.3;6.2;7.2" -Wno-dev -GNinja ..
...
CMake Error at CMakeLists.txt:24 (add_executable):
  Target "infer-masts" links to target "Python3::Python" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?

Changing line 61 of TorchVisionConfig.cmake from
set_target_properties(TorchVision::TorchVision PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${${PN}_INCLUDE_DIR}" INTERFACE_LINK_LIBRARIES "torch;Python3::Python" )

to
set_target_properties(TorchVision::TorchVision PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${${PN}_INCLUDE_DIR}" INTERFACE_LINK_LIBRARIES "torch" )

allows my program to build without issues.
Versions
Collecting environment information...
PyTorch version: 1.11.0a0+gitbc2c6ed
Is debug build: False
CUDA used to build PyTorch: 10.2
ROCM used to build PyTorch: N/A

OS: Ubuntu 18.04.6 LTS (aarch64)
GCC version: (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0
Clang version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
CMake version: version 3.20.4
Libc version: glibc-2.27

Python version: 3.9.10 (main, Mar 16 2022, 15:59:07)  [GCC 8.4.0] (64-bit runtime)
Python platform: Linux-4.9.201-tegra-aarch64-with-glibc2.27
Is CUDA available: True
CUDA runtime version: 10.2.89
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Probably one of the following:
/usr/lib/aarch64-linux-gnu/libcudnn.so.8.0.0
/usr/lib/aarch64-linux-gnu/libcudnn_adv_infer.so.8.0.0
/usr/lib/aarch64-linux-gnu/libcudnn_adv_train.so.8.0.0
/usr/lib/aarch64-linux-gnu/libcudnn_cnn_infer.so.8.0.0
/usr/lib/aarch64-linux-gnu/libcudnn_cnn_train.so.8.0.0
/usr/lib/aarch64-linux-gnu/libcudnn_ops_infer.so.8.0.0
/usr/lib/aarch64-linux-gnu/libcudnn_ops_train.so.8.0.0
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: False

Versions of relevant libraries:
[pip3] numpy==1.21.5
[pip3] numpy-quaternion==2<IP_ADDRESS>.20.39
[pip3] torch==1.11.0a0+gitbc2c6ed
[pip3] torchvision==0.12.0a0+9b5a3fe
[conda] Could not collect

Note: This is on a Jetson Nano device. Python3.9, torch and torchvision were built with gcc-8, not gcc-7 as indicated by the collect_env.py script. Relevant environment variables are:
export BUILD_CAFFE2_OPS=OFF
export USE_FBGEMM=OFF
export USE_FAKELOWP=OFF
export BUILD_TEST=OFF
export USE_MKLDNN=OFF
export USE_NNPACK=OFF
export USE_XNNPACK=OFF
export USE_QNNPACK=OFF
export USE_PYTORCH_QNNPACK=OFF
export USE_CUDA=ON
export USE_CUDNN=ON
export TORCH_CUDA_ARCH_LIST="5.3;6.2;7.2"
export USE_NCCL=OFF
export USE_SYSTEM_NCCL=OFF
export USE_OPENCV=OFF
export MAX_JOBS=2
export PATH=/usr/lib/ccache:$PATH
export CC=gcc-8
export CXX=g++-8

torchvision was configured with the above environment variables and the command
torchvision-0.12.0/build$ cmake -Wno-dev -DWITH_CUDA=on -DTORCH_CUDA_ARCH_LIST="5.3;6.2;7.2" -DUSE_PYTHON=off -GNinja -DCMAKE_INSTALL_PREFIX=~/.local ..

I forgot to add, this is the CMakeLists.txt file:
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
project(infer-masts)

if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
        # require at least gcc 8.4
        if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8.4)
                message(FATAL_ERROR "GCC version must be at least 8.4!  " ${CMAKE_CXX_COMPILER_VERSION})
        endif()
endif()
set(CMAKE_CXX_STANDARD 20)
add_compile_options(-fPIC -Wall -Wextra -pedantic -Werror -Wno-unknown-pragmas -Wno-missing-field-initializers)

find_package(Torch REQUIRED)
find_package(TorchVision REQUIRED)
find_package(fmt REQUIRED)
find_package(Boost COMPONENTS system REQUIRED)
find_package(OpenCV COMPONENTS opencv_core opencv_imgproc opencv_highgui REQUIRED)
find_package(Threads REQUIRED)
find_package(nlohmann_json REQUIRED)

include_directories("~/github/date/include") # https://github.com/HowardHinnant/date for ease of formatting timestamps.

add_executable(infer-masts src/main.cpp src/utils.cpp src/net_base.cpp src/masts.cpp src/components.cpp src/traverse.cpp src/communication.cpp src/inference_engine.cpp)
target_link_libraries(infer-masts PRIVATE TorchVision::TorchVision fmt::fmt ${Boost_SYSTEM_LIBRARY} Threads::Threads nlohmann_json::nlohmann_json ${OpenCV_LIBS})

Copy, I'm trying to run the detectron2 deployment example and seeing the same thing. Same fix as above (removing the Python3::Python target from the set_target_properties example works.

Hello all, any progress regarding this issue ?


Pandas automatically interprets string as datetime

I have a dataframe that looks like this:

Index
IssueId
AppName
IssueStatus
IssueDescription
IssueCreatedTime

9965
239578
abc
New
'Rewards'
2015-11-15 14:25:40

9966
219878
abc
Resolved
'\u0414'
2015-10-27 13:35:03

9967
239580
abc
New
'I'm still having problems with the game I log out of Facebook and now it will not let me back in saying that my farm is already register with a Facebook account.'
2015-11-15 14:28:07

9968
132141
abc
In Progress
'Where do you get capers'
2015-07-08 00:20:40

9969
209387
abc
Resolved
'3.3.0'
2015-10-18 11:32:08

If I do this, the '3.3.0' gets recognized as a date for some reason, and I get the following:
ex2 = ex.groupby('IssueId').apply(lambda x: x.iloc[-1])

IssueId
AppName
IssueStatus
IssueDescription
IssueCreatedTime

132141
abc
In Progress

2015-07-08 00:20:40

209387
abc
Resolved
2000-03-03 00:00:00
2015-10-18 11:32:08

219878
abc
Resolved

2015-10-27 13:35:03

239578
abc
New

2015-11-15 14:25:40

239580
abc
New

2015-11-15 14:28:07

If I drop the column 'IssueCreatedTime', everything is normal again. Is this a bug? How can I suppress this behavior?

pls show a copy-pastable example along with pd.show_versions()


ng-file-upload with multer, success not called, and upload called repeatedly

I'm using ng-file-upload to upload an image to a node/express server from an  Angular client.
The image is being loaded, however the 'success' method is not being called and the image upload seems to be called multiple times, causing the image to be repeatedly uploaded to the server.
Here's my HTML form:
<form accept-charset="UTF-8" ng-submit="uploadPic(picFile)" name="myForm">

Photo:
            <input type="file" ngf-select ng-model="picFile" ngf-multiple="false" name="file" accept="image/*" ngf-max-size="2MB" required />

            File too large {{picFile.size / 1000000|number:1}}MB: max {{picFile.$errorParam}}

            <button class="btn btn-info" type="submit">Submit</button>
            = 0">

            Upload Successful
        </form>

Here's my JS:
    $scope.uploadPic = function (file) {

        file.upload = Upload.upload({
            url: '/uploads',
            method: 'POST',
            fields: {
                username: $scope.username
            },
            file: file,
            fileFormDataName: 'photo'
        });

        file.upload.then(function (response) {
            console.log("Postcontroller: upload then ");
            $timeout(function () {
                file.result = response.data;
            });
        }, function (response) {
            if (response.status > 0)
                $scope.errorMsg = response.status + ': ' + response.data;
        });

        file.upload.progress(function (evt) {
            // Math.min is to fix IE which reports 200% sometimes
            file.progress = Math.min(100, parseInt(100.0 * evt.loaded / evt.total));
            console.log("PostController: upload progress " + file.progress);
        });

        file.upload.success(function (data, status, headers, config) {
            // file is uploaded successfully
            console.log('file ' + config.file.name + 'is uploaded successfully. Response: ' + data);
        });
    }

Here's my server side code:
var multer = require('multer');
var upload = multer({ dest: './public/images'});

router.post('/uploads', upload.single('file'), function(req,res,next){
  console.log("Server: got file ");
});

I read somewhere that the shim library must be included first, but I've tried swapping the load order and no joy. Here are my import lines:

Also, looking in the Chrome debug tools - the upload shows a status of 'pending'. The image is definitely on the server and the progress bar (in the html) shows 100%. Yet, a minute or so later, another copy of the image appears in the folder (this behaviour seems to loop) and the ng-file-upload 'success' event is never called.
Grateful for help.

Sorry, just saw your reply on stackoverlow:
http://stackoverflow.com/questions/32634793/ng-file-upload-with-multer-success-not-called-and-upload-called-repeatedly
Will maintain the thread there.

same problem


UI: theme-dependent icons/images Step 2-5

There are now individual folders for icons and images for each wallet-theme, so adding new themes will be much easier in the future.
Steps to add a new theme:

optionsdialog.cpp: add your new theme to the Options dialogue: ui->theme->addItem(QString("DASH-<visible_theme_name>"), QVariant("<theme>"));
create CSS file: res/css/<theme>.css and do whatever CSS-magic you need to make the wallet look good
create folders res/icons/<theme> and res/images/<theme> and copy your icons/images there. The file names must stay the same
add resources to src/qt/dash.qrc and src/Makefile.qt.include

Limitations:

For obvious reasons the icons for the executables cannot be made theme-dependent (res/icons/*.ico are always used)
networkstyle.cpp and rpcconsole.cpp use static arrays for (some of) their icons. If someone finds a simple(!) way to make this theme dependent please do. If not I'll replace the arrays somewhere in the future
helpmessagedialog.ui always uses (hardcoded) res/images/drkblue/about.png. I'll change that later, I think we can live with that for a while

Tested with Linux, OSX and Windows, builds fine with Gitian. As a simple test whether you're using my new coding or not  switch back to the traditional theme, the old and ugly Bitcoin-icons for the in/outgoing transactions are used there :-)
Feedback appreciated.

Everything works fine now, from my point of view it's ready to merge.
If you want to see it "in use", here's my test-implementation: https://github.com/crowning-/dash/tree/Crownium

Tested and works as expected :+1:
PS. Crownium theme is... o_O
:smile:

It's...ahem...different :alien:
The kids like it, though...

Missed that make_windows_icons.sh needs not only icons/bitcoin*.ico but also icons/bitcoin*.png in the res/icons folder.
Added them back there.
Now it's REALLY ready to merge :smile:
We apologize for the inconvenience...


Add vscode-carbon.now.sh to the list

Name of an extension you are adding
vscode-carbon.now.sh
...
Why do you think this extension is awesome?
it uses https://carbon.now.sh and carbon and the Dawn Labs team is awesome!
...
Make sure that:
[x] Screenshot/GIF included (to demonstrate the plugin functionality)
[x] ToC updated

LGTM. Merging


fix: crash when converting invalid JSON object on Swift SDK

Description

fix crash when converting invalid JSON object on Swift SDK

General Checklist

[ ] Added new tests to cover change, if needed
[ ] Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
[ ] Documentation update for the change if required
[x] PR title conforms to conventional commit style
[ ] If breaking change, documentation/changelog update with migration instructions

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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

Project coverage is 100.00%. Comparing base (e9e2110) to head (83494c5).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #12   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines           99        99
=========================================
  Hits            99        99

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


[docs] remove unused async

I'm not an expert at promises, but I believe this async is unnecessary since we don't do any await inside the function

Not necessary, no, but I'm wondering whether it might be pedagogically helpful. When users write this function, it returns a promise, and so they can make it async if they want to. I'm not sure.

Yeah, that's true. At the same time, I'm not sure what you would do where you'd actually want to add an await to this function

I'm in favour of this change — I think it's easy enough to discover that you can make the function async, either by experimentation or looking at the HandleFetch type


Tooltip on data name ? How to ?

http://stackoverflow.com/questions/36525550/data-name-adding-data-html-tag?noredirect=1#comment60656125_36525550

I left a comment on stackoverflow - we can follow up here.
Can you clarify a little bit more? Specifically - the way I understood this question is that you have very long legend names (the way too long bit at the bottom of your donut chart is the legend), and instead of legend names you want a tooltip? Tooltips are already supported in c3. Or did you mean that you want your legend to be "hello" and hover the legend item and display "hello from america"?

I replied to your question on SO - http://stackoverflow.com/questions/36525550/data-name-adding-data-html-tag/36559342#36559342

Marvellous !! Now, pull request that feature lol !!

That seems like a bit of an edge case. Closing as resolved?


[feat]: Relations / references

Feature description
I have a table with userId field, but it is not helpful to display it as is, instead It would be nice to have the ability to easily add columns from the referenced table (user.name):
export const users = pgTable("users", {
  id: serial("id").primaryKey(),
  createdAt: timestamp("created_at").defaultNow().notNull(),
  updatedAt: timestamp("updated_at").default(sql`current_timestamp`),
})

export const tasks = pgTable("tasks", {
  id: varchar("id", { length: 30 })
    .$defaultFn(() => generateId())
    .primaryKey(),
  // ...
  userId: integer("user_id").notNull().references(() => users.id),
  createdAt: timestamp("created_at").defaultNow().notNull(),
  updatedAt: timestamp("updated_at").default(sql`current_timestamp`),
})

export const tasksRelations = relations(tasks, ({ one }) => ({
  user: one(users, {
    fields: [tasks.userId],
    references: [users.id],
  }),
}));

p.s. I've tried it myself, it did work, but it's very hacky and also type for DataTableFilterField.value had to be changed to string, because the id of my column was user_name as a result of referencing
Additional Context
Also, maybe we can utilize dynamic query building for better types and more reusability:
https://orm.drizzle.team/docs/dynamic-query-building
Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues and PRs

you can just do a left join. to join the tasks table with the user table.
you can show whatever that way

you can use the accessor function in the column definition to transform the key


[Event Request] Page 5199 - Attendee Scheduling -> Add an event publisher on Page Action "Send Invitations"

Dear Microsoft,
I'm opening this issue to request an event publisher for the Page Action "Send Invitations" (Action43), Page 5199 (Attendee Scheduling), just before the function SendMAPIInvitations(Rec,FALSE) like shown in the picture:

The purpose is to change the current behaviour of the Action and apply a different logic.
Thank you in advance.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Short solution needed: "Get evenly spaced values from given interval" (python-numpy)

Please help us write most modern and shortest code solution for this issue:
Get evenly spaced values from given interval (technology: python-numpy)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Get evenly spaced values from given interval


Change image repo location

Changed the location from docker.io/trustedseriviceidentity to docker.io/tsidentity

This is fixing issue #80


Bazel extractor: Promote input classification to a method. [phab:D1786]

Created by fromberger at 2017-07-19 20:00:08:
No functional change; this just makes it easier to reuse.

fromberger wrote at 2017-07-19 20:04:30:

Fix a typo.

salguarnieri commented inline (context lost during migration) at 2017-07-19 20:05:11:
I think this is an incomplete thought.

salguarnieri accepted this revision at 2017-07-19 20:05:11

fromberger commented inline (context lost during migration) at 2017-07-19 20:06:28:
Haha, yes, thanks—fixed. :)

fromberger closed via commit 6f40b3b4378af1d907cee33fcff06a833e188f54 at 2017-07-19 20:06:52


feat: freeCodeCamp

Related Issue
Closes #886

Description

Add freeCodeCamp Website in product.json File for Learning Web Development with Huge Collection of Challenges

Screenshots

Checklist

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

@NarendraKoya999, please revert all the changes and only add FreeCodeCamp. You can review all the changes you made in the "Files Changed" section, so take a look and create the pull request correctly. Make sure not to add anything more or less than what is necessary in the PR.

Okay @JasonDsouza212 .Sorry for making Big Mistake. I have Fully Trapped in JSON Checker. I did not Repeat these above Guidelines

@NarendraKoya999 ,still not satisfied with your PR

@NarendraKoya999 ,still not satisfied with your PR

I think You Tell Needed Small Changes in this freeCodeCamp related PR ?. Please elaborate What the Issue?

This Is how the PR should look like

This is how your PR looks,Your PR is changing unnecessary lines , and also deletes many tools too

@NarendraKoya999 ,still not satisfied with your PR

Ok Got It @JasonDsouza212

Hi @JasonDsouza212 . I will start Freshly. Because of All Unnecessary Changes made with Individual Commits. So, I can revert Back with Changed code along with related Commits . It's Huge Work. I can Proceed Create a New PR Till Now.

@NarendraKoya999 OK

Hi @JasonDsouza212 . I have Some Doubt.  In my Codebase of freehit Project Directory, Shown Whatever closed PR and That all My Pushed Changes Code Appeared. How Should I go Further Proceed Include this Closed freeCodeCamp Object shows in DB JSON File Also. How to Move It for Create a New PR?

Hi @JasonDsouza212 . Please Help. I have Less Knowledge on Git and GitHub.


Protractor 5.4.2 is not compatible with Chrome 77

Chrome 77 just got released, which is not compatible with Protractor 5.4.2:
[15:06:46] E/runner - Unable to start a WebDriver session.
[15:06:46] E/launcher - Error: SessionNotCreatedError: session not created:
  This version of ChromeDriver only supports Chrome version 75
  (Driver info: chromedriver=75.0.3770.90 (a6dcaf7e3ec6f70a194cc25e8149475c6590e025-refs/branch-heads/3770@{#1003}),platform=Mac OS X 10.14.6 x86_64)

Specifying later version of chromedriver works, but it is pretty much not a robust solution, as it requires to specify the exact version of driver:
/webdriver-manager update --versions.chrome=77.0.3865.40
--versions.chrome=77 doesn't work

Issue also reported here: https://github.com/angular/webdriver-manager/issues/420

Okay this should work now. You'll need to get the latest webdriver-manager version 12.1.7. This should work from here on in to get the latest release of chromedriver.

To get the latest you might need to remove the node_modules folder and redownload your node modules or do a force install of your node modules (npm i -f)

Okay this should work now. You'll need to get the latest webdriver-manager version 12.1.7. This should work from here on in to get the latest release of chromedriver.

Upgrading webdriver-manager to 12.1.7 works for me. Thanks

For those using Travis, you'll also need to change your distribution to Xenial because Chrome 77 stopped supporting Trusty , ie. in travis.yml:
dist: xenial
addons:
   chrome: stable

I'm still seeing this issue, I'm running ng e2e
In the logs I'm seeing that it is using the correct driver:
[22:05:30] I/update - chromedriver: chromedriver_77.0.3865.40 up to date
[22:05:31] I/launcher - Running 1 instances of WebDriver
[22:05:31] I/direct - Using ChromeDriver directly...
[22:05:33] E/runner - Unable to start a WebDriver session.
[22:05:33] E/launcher - Error: Error: Server terminated early with status 127

Any thoughts?

I kept hitting blockers after updating chrome driver to latest with the error ```
"E/launcher - session not created: This version of ChromeDriver only supports Chrome version 75
(Driver info: chromedriver=75.0.3770.90"
but reinstalling protractor globally worked for me.

@DesHorsley I had this obscure error message when CI (Bamboo in my case) was trying to run e2e tests. This was due to Linux X11 being not loaded for automatic builds. You need to run the e2e tests with a headless Chrome to avoid needing X11. My protractor.conf.js :

capabilities: {
    'browserName': 'chrome',
    'chromeOptions': {
      'args': ['--headless']
    }
  },


Refactor plugin extension execution framework in Maven/Gradle

Dependencies were already being injected through the constructor of Maven/GradleProjectProperties. I think it's less tidy to create another similarly-named method only to enable testing.

Resolved merge conflicts. This one's ready for review now.


planning to publish soon?

Hi there, are you planning to publish soon? I need my change, but I'm building my project via CI so i cant patch locally. I've tried building my fork with tsc, but I'm getting an error about missing the "turnstile-types" definitions. thanks

but I'm getting an error about missing the "turnstile-types" definitions

Install the (dev) dependencies?
Release soon:tm: because there are a few things I want to do, but I don't have time atm:

add ua to languages in the types packages (https://github.com/cloudflare/cloudflare-docs/pull/10116)
add turnstile.isExpired  (https://github.com/cloudflare/cloudflare-docs/pull/10117)
revert 66633ccd63b079e6e0d0c2b3ed9b505466f1e9fc (fix no longer required)

oh duh, just needed to run npm install
cool, building from a built fork now 👍, thanks!
On Fri, Aug 25, 2023 at 2:44 AM Leo Developer @.***>
wrote:

but I'm getting an error about missing the "turnstile-types" definitions
Install the (dev) dependencies
https://github.com/Le0Developer/react-turnstile/blob/main/package.json#L30
?
Release soon™ because there are a few things I want to do, but I don't
have time atm:

add ua to languages in the types packages (
cloudflare/cloudflare-docs#10116
https://github.com/cloudflare/cloudflare-docs/pull/10116)
add turnstile.isExpired (cloudflare/cloudflare-docs#10117
https://github.com/cloudflare/cloudflare-docs/pull/10117)
revert 66633cc
https://github.com/Le0Developer/react-turnstile/commit/66633ccd63b079e6e0d0c2b3ed9b505466f1e9fc
(fix no longer required)

—
Reply to this email directly, view it on GitHub
https://github.com/Le0Developer/react-turnstile/issues/17#issuecomment-1693085287,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABBJY44Q6SM2QR4UK4HNSTXXBXWFANCNFSM6AAAAAA34B5WHI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Released


armsubscriptions newListPager doesn't return all subscriptions

Bug Report

import path of package in question, e.g. .../services/compute/mgmt/2018-06-01/compute

github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions

SDK version e.g. master, latest, 18.1.0

Specify the exact commit if possible; one way to get this is the REVISION
column output by go list -m <module>, for example go list -m github.com/Azure/azure-sdk-for-go/sdk/azcore.

github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions v1.3.0

output of go version
tested in both go version go1.20.5 darwin/arm64 and go version go1.21.6 linux/arm64

What happened?
Having trouble pulling all subscription with in a tenant using below sample code

cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}

	clientFactory, err := armsubscriptions.NewClientFactory(cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewClient().NewListPager(nil)
	totals := make([]string, 0)
	totalPages := 0
	for pager.More() {
		ctx := context.Background()
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			totals = append(totals, *v.ID)
		}
		totalPages++
	}
	log.Println("total subscriptions:", len(totals), totalPages)

What did you expect or want to happen?
Expected to see all subscription. Above code doesn't move to second page. Interestingly, when version of armsubscription is downgraded to v1.1.0 , it returns all subscriptions.

doesn't work -- > github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions v1.3.0
works  -- > github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions v1.1.0

How can we reproduce it?
above code with github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions v1.3.0 should be able to reproduce. Make sure to choose tenant that has subscriptions beyond single page.

Anything we should know about your environment.
I was able to test this behavior on newly built container to rule out potential local conflicts.

@Alancere , could you try to repo this issue to confirm whether this is a regression？

Hi @rajholla, could you try again? armsubscriptions/v1.2.0 and armsubscriptions/v1.3.0 NewListPager use the same api-version: 2022-12-01

@Alancere  @lirenhe
This issue was limited to 19th & 20th Jan 2023. I was able to pinpoint the issue to RestAPIs.
Subscriptions: List API returned incomplete results when the latest API version was used ('2022-12-01'). It returned the correct results when the previous version was used, '2021-01-01'.
I have opened a ticket with Azure support. Awaiting RCA.
Feel free to close the issue since it is not related to SDK.

Close this one as this is a service issue.


cache: simplify cache manager by removing FsDriver

The FsDriver field is never used, so remove it.

Codecov Report

Merging #468 (77dc73c) into main (81765b5) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #468   +/-   ##
=======================================
  Coverage   37.05%   37.05%
=======================================
  Files          60       60
  Lines        6904     6904
=======================================
  Hits         2558     2558
  Misses       4046     4046
  Partials      300      300

FsDriver is associated with cache manager because fuse driver and fscache driver organize local cache files in different manner. So method CacheUsage has to distinguish what fs driver it is working on. Currently we don't implement how to count disk usage for fscache driver  which means some client tools like nerdctl can't report disk usage under fscache driver.
I think rather than remove the field, we can go further to implement it for fscache driver
See the SIZE is zero:
REPOSITORY                                   TAG                IMAGE ID        CREATED           PLATFORM       SIZE     BLOB SIZE
cr-cn-guilin-boe.volces.com/vci_qa/golang    latest-nydus-v6    08fe692dc892    33 seconds ago    linux/amd64    0.0 B    346.8 MiB

My plan is to use the same cache directory for all of tarfs/fusedev/fscache, and enhance CacheManager to understand the directory structure of fscache/cachefiles. It won't depend on FsDriver anymore.

At present, fusedev and fsache actually use the same cache directory. I am curious how the cache manager can distinguish how to count disk usage for different drivers. Ideally, nydus-snapshotter can query the cache size of fscache via API to nydusd as such how cache is deleted for fscache

My plan is to use the same cache directory for all of tarfs/fusedev/fscache, and enhance CacheManager to understand the directory structure of fscache/cachefiles. It won't depend on FsDriver anymore.

At present, fusedev and fsache actually use the same cache directory. I am curious how the cache manager can distinguish how to count disk usage for different drivers. Ideally, nydus-snapshotter can query the cache size of fscache via API to nydusd as such how cache is deleted for fscache

The fscache/cachefiles driver saves actual data file under /var/lib/containerd-nydus-grpc/cache/cache/with_magic__directory_and_file_name.
We only need to decode the magic directory and file, then we can stat disk space usage.


Update references to 23.10.4

Thanks for the speed here @rjhenry, especially on ones like this where a vulnerability is made public :heart:

You got lucky - I was away and happened to check my mail and saw @reddexx's PR and your release notes!

Ah, didn't see that other PR, Thank you too @reddexx!


solves #4098

Required for all non-trivial PRs

[x] Rebased/mergable
[x] Tests pass
[x] CHANGELOG.md updated
[x] Sign CLA (if not already signed)

@vedantrathore has signed the CLA.

@vedantrathore it looks like you have plagiarised another Pull Request on the project. If that's the case, please don't do that—it wastes my time during the reviewing process.
Closing in favour of #7541.


Failed to match codes between repo and fixes.yml.

In my action, the running log shows that "No warnings found in files changed in this pull request". This error also happened in #17 .

@kenji-miyake All file paths in your fixes.yaml begin with /__w/... (probably because clang-tidy is running self-hosted) while this action expects the GitHub directory layout (/home/runner/...), so it can't normalize paths and is not able to find all these files from your PR.
Originally posted by @oleg-derevenetz in https://github.com/platisd/clang-tidy-pr-comments/issues/17#issuecomment-1038393661

Thanks @oleg-derevenetz points out that there is another file system in a custom actions container.
I wonder is there a proper way to avoid modifications on fixes.yaml? Maybe GitHub environment variable GITHUB_WORKSPACE helps, creating a symlink from  from /home/runner/... to /__w/... .

This might because the job is run in a container, and the working directory defaults to /__w/ in it. ref

Actions that run in Docker containers have static directories under the /github path. ref

If you have steps that use both script and container actions, the container actions will run as sibling containers on the same network with the same volume mounts. ref

What confuses me is the file system and mapping strategy among these two containers and the host system. After all, the fixes.yml is read normally.

@caic99 Yeah, just like I suspected, it seems that the GITHUB_WORKSPACE variable points to the different directory inside a custom action container:
https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#file-systems

Originally posted by @oleg-derevenetz in https://github.com/platisd/clang-tidy-pr-comments/issues/17#issuecomment-1101316733
A tested workaround goes here.


[ES6 class] Update MesosLogStore to es6 class

ℹ   This branch depends on features that will be introduced with #275, thus it will fail until the respective branch is merged.

Update store to es6 class – this is part of series of PRs to update all the stores as discussed in https://github.com/dcos/dcos-ui/pull/246/files/b4b52fcdb5f899fd74f9bd68cfa3d216177fcecf#r64962494

Reviewer: @kennyt


[wip] [freetype] fix DLL install on Windows

new patch fails with "error: unrecognized input" and I don't know why

Patch files should be UTF-8 encoded and have Linux style line endings (LF).
Can you check if the patch's format is correct?

ah yes, was UTF-16LE (I think because of PowerShell 🤔) thanks

Merged, thanks for the PR


Attempting to make a calendar widget

Hi,
I was tinkering with your calendar code and I can't seem to make it work.  It is to my presumption that it is unfinished.  Is this someone you could work on?

did you manage to work it out?

Hi,
I was wondering the same thing and maybe getting some assistance with getting the calendar to work. I am able to see the "Calendar Events" on the mirror. I did follow the instructions in the developers google calendar quick start mentioned in the smartmirror.py script. I successfully ran the quickstart.py example, but where I am stuck is intergrading the quickstart.py in to the smartmirror.py to pull the calendar information. Can anyone help out!!

@tony1550 could you please leave a link to the google guide as I would like to try figure this out please


Add PermanentRestriction tests

What ❔
This PR adds tests for PermanentRestriction contract.

I am not sure why coverage fails, I'll assume it is some CI bug and will merge


Mobile

 It won't allow me to submit my html code and continue- I am using a mobile phone

Challenge Name

Issue Description

Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code

Screenshot

While completing the exercise ut wouldn't allow me to submit & move
forward. I'll try with a laptop. I was using my mobile phone. Not sure what
could've been the issue.
On Jan 7, 2017 2:14 PM, "mrugesh mohapatra"<EMAIL_ADDRESS>wrote:
Closed #12422 https://github.com/FreeCodeCamp/FreeCodeCamp/issues/12422.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/12422#event-915027608,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AX0A-sg2YDauuIeKbJx0uGseG6jXwoK-ks5rP-QMgaJpZM4LdfiG
.

@Che89 apologies for the inconvenience, please report back if you are still facing this on a mobile device with the challenge details, code screenshots, the device you are on.
We will definitely help you out with your query and reopen this.
Thanks and happy coding!


Something wrong with GO Bot?

We now have regulation of leucine import across plasma membrane (Q27303095) subclass of regulation of leucine import (Q22303228), which is in turn a subclass of regulation of leucine import across plasma membrane (Q27303095) thanks to your recent edits - in this case both relations are referenced to "Gene Ontology", the first dated 9 May 2017, and the second dated 6 March 2018. The new relation doesn't make sense to me given the labels - maybe something's gone wrong with the ID's?
https://www.wikidata.org/wiki/User_talk:ProteinBoxBot#More_subclass_loops_from_imported_ontologies

Do you have any more details on the issue? Is it an issue with import code or issue with updating the existing Ontology structure in WD? Or an issue with pruning of outdated relations in the ontologies?  Could that be one reason

Yes, this commit was introduced because the bot was overwriting other people's 'subclass of' statements (https://www.wikidata.org/wiki/User_talk:ProteinBoxBot#Do_not_remove_statements_automatically_created_by_other_users), and so it now shouldn't overwrite them. I see now the pruning now needs to be fixed to remove the old statements, but keeping other people's statements..

yes, that's going to be slightly complicated to implement. Bc first we need to determine who contributed what. How many useful and valid contributions to GO and DO did you encounter so far?

There are many useful and valid contributions, but either way, we shouldn't overwrite other people statements automatically. I've implemented this with the DO bot.
https://github.com/SuLab/scheduled-bots/blob/master/scheduled_bots/disease_ontology/DOID_obographs_bot.py
It first updates the references on existing statements to use the new release (with "stated in"), and then afterwards, goes through and only removes statements with the old DO release.

Issue is (I hope) fixed now.
Code: https://github.com/SuLab/scheduled-bots/blob/master/scheduled_bots/ontology/obographs_GO.py
Example revision: https://www.wikidata.org/w/index.php?title=Q177708&type=revision&diff=677304566&oldid=676928965 ('part of' was updated without touching 'human development')

looks good, using obographs seems like a clever solution


Can we have Two rows of slides when the screen is small ?

I am using the responsive option, it's working fine on large device but and I was wondering If I could have two rows of slides when displaying the carousel in mobile/small screens as shown in the below screenshot
Example:

There is a rows options in slick library which is not yet implements in react-slick.
rows feature will meet yours requirements

Are you planning to implement rows feature in react-slick ?
If yes when are planning to do that ?
Thanks for your answers

👍

Has there been any update to this?

I am also in need of this feature.

Has there been any progress on adding the rows functionality? Also looking to use in the plugin.

@j-baconator this has been taken into account, this should be in place very soon.

What status?

This feature will be implemented very soon.

The rows and slidesPerRow has been implemented and the changes will be released soon enough. You can check if on dev branch.

Will this be merged in master "soon"?

@akiran @laveesingh, I also encounter an with rows setting. When I set the rows to 0, it crashes. I am using nextjs and when using rows: 0, it runs out of memory.

having issue when rows 2 and slides to show  to 2 and try to click next button den also it is repeating the same item in it


Investigate grouping of endpoints

Example:
Linodes into Instances, Backups, Disks, etc.

Initial implement here: https://github.com/linode/manager/pull/1696
Follow up for account here: https://github.com/linode/manager/issues/1819
closing


Scrollmagic support

Hey there!
I love using this library because it's free and lightweight and professional.
The only thing that I wish is if you could make an additional plugin so that we'll be able to use Scrollmagic and anime.js together. GSAP has one now, and it works perfectly smooth with Scrollmagic!
I'll definetley leave GSAP when anime.js and Scrollmagic become pals! ASAP.
I'm not sure is it you who should make the plugin or Scrollmagic guys; but either way it will be awesome!
Regards, Ershad

I'm also looking for a solution to this. I found one that partially solves. But the problem is that it does not work correctly for blocks that are already on the screen when the page loads. The seek jumps straight to the end of the animation of that block that is on the screen.
Here

I found this plugin. But I do not know if it's reliable to use on a live site.
Here plugin
@juliangarnier With all my respect, what can you tell us? I switched the greenSock plugin to animejs and the only thing I missed was the junction with magic scroll. And animations that interact with the scroll of the site are very attractive. Thank you!

I think it's just calling the seek api method. Given then percentage, you can call seek to animate. I tested without any plugin, works great.

It does seem to becoming a standard of websites to highjack the scroll percentage to play an animation - I'll tag it for now and see if it's worth offering within the engine or offering a plugin version.


[1.23] repo: Dev v1.23.7

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

pushing this through to fix/reopen the branch


update codecov install in test_env

Codecov is now also available on the defaults channel of Anaconda. Should the it be moved from the pip installation to the conda installation?

template test_env on main brach


Layout bug - Settings panel moves off screen

See details on video:
https://drop.me/M03AV3 (31.43 Mb)

Hi, I've just updated the beta to Beta 3. In this update I changed the options panel to be back closer to the look of the original version. I think this should hopefully solve this issue. Please let me know if you still see this after being updated to Beta 3.


Enhance IndexingConfig to have SegmentPartitionConfig.

The current indexing config has a map of column to partition function
name, which is not sufficient information. Also, it imposes the burden
on client of IndexingConfig to parse this info and build
SegmentPartitionConfig. This change embeds SegmentPartitionConfig inside
of IndexingConfig, thus solving both the problems.

Added partition config inside of indexing config.
Separated out number of partitions as a first class member of
partition config, as opposed to embeded in partition function string.
Moved the config classes to config, as IndexingConfig resides there.
Enhanced unit tests to cover the changes.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@1e627d0). Click here to learn what that means.
The diff coverage is 75%.

@@            Coverage Diff            @@
##             master    #1264   +/-   ##
=========================================
  Coverage          ?   67.28%
=========================================
  Files             ?      774
  Lines             ?    37627
  Branches          ?     4928
=========================================
  Hits              ?    25316
  Misses            ?    10648
  Partials          ?     1663

Impacted Files
Coverage Δ

...indexsegment/generator/SegmentGeneratorConfig.java
58.56% <ø> (ø)

...converter/stats/RealtimeSegmentStatsContainer.java
91.66% <ø> (ø)

...n/pinot/core/segment/creator/impl/V1Constants.java
33.33% <ø> (ø)

...t/creator/impl/SegmentIndexCreationDriverImpl.java
85.56% <ø> (ø)

.../pinot/core/realtime/impl/RealtimeSegmentImpl.java
70.16% <ø> (ø)

...loader/defaultcolumn/BaseDefaultColumnHandler.java
92.14% <ø> (ø)

...m/linkedin/pinot/common/config/IndexingConfig.java
67.27% <100%> (ø)

...kedin/pinot/core/segment/index/ColumnMetadata.java
83.87% <100%> (ø)

.../core/data/partition/PartitionFunctionFactory.java
72.72% <100%> (ø)

...ment/creator/impl/SegmentColumnarIndexCreator.java
91.34% <100%> (ø)

... and 10 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 1e627d0...8c3d35a. Read the comment docs.


Given:
-- Dockerfile --
FROM golang:1.23.0

WORKDIR /app
COPY . ./

RUN go build -o asdf ./blah

-- blah/main.go --
package main

func main() {

}
-- go.mod --
module mod.example

go 1.23.0

Running:
docker buildx build --platform linux/amd64 .

What did you see happen?
[+] Building 0.8s (8/8) FINISHED                                                                                docker-container:container-builder
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 110B                                                                                0.0s
 => [internal] load metadata for docker.io/library/golang:1.23.0                                                                                0.4s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 271B                                                                                0.0s
 => CACHED [1/4] FROM docker.io/library/golang:1.23.0@sha256:613a108a4a4b1dfb6923305db791a19d088f77632317cfc3446825c54fb862cd                                                                  0.0s
 => => resolve docker.io/library/golang:1.23.0@sha256:613a108a4a4b1dfb6923305db791a19d088f77632317cfc3446825c54fb862cd                                                                         0.0s
 => [2/4] WORKDIR /app                                                                                0.0s
 => [3/4] COPY . ./                                                                                0.0s
 => ERROR [4/4] RUN go build -o asdf ./blah                                                                                0.3s
------
 > [4/4] RUN go build -o asdf ./blah:
0.268 runtime: lfstack.push invalid packing: node=0xffffa45142c0 cnt=0x1 packed=0xffffa45142c00001 -> node=0xffffffffa45142c0
0.268 fatal error: lfstack.push
0.270
0.270 runtime stack:
0.270 runtime.throw({0xaf644d?, 0x0?})
0.271   runtime/panic.go:1067 +0x48 fp=0xc000231f08 sp=0xc000231ed8 pc=0x471228
0.271 runtime.(*lfstack).push(0xffffa45040b8?, 0xc0005841c0?)
0.271   runtime/lfstack.go:29 +0x125 fp=0xc000231f48 sp=0xc000231f08 pc=0x40ef65
0.271 runtime.(*spanSetBlockAlloc).free(...)
0.271   runtime/mspanset.go:322
0.271 runtime.(*spanSet).reset(0xfe7680)
0.271   runtime/mspanset.go:264 +0x79 fp=0xc000231f78 sp=0xc000231f48 pc=0x433559
0.271 runtime.finishsweep_m()
0.272   runtime/mgcsweep.go:257 +0x8d fp=0xc000231fb8 sp=0xc000231f78 pc=0x4263ad
0.272 runtime.gcStart.func2()
0.272   runtime/mgc.go:702 +0xf fp=0xc000231fc8 sp=0xc000231fb8 pc=0x46996f
0.272 runtime.systemstack(0x0)
0.272   runtime/asm_amd64.s:514 +0x4a fp=0xc000231fd8 sp=0xc000231fc8 pc=0x4773ca
...

My setup here is my host machine is linux/arm64, Qemu installed, following the approach described at https://docs.docker.com/build/building/multi-platform/#qemu, to build for linux/amd64.
This has definitely worked in the past which leads me to suggest that something other than Go has changed/been broken here. However I note the virtually identical call stack reported in https://github.com/golang/go/issues/54104 hence raising here in the first instance.
What did you expect to see?
Successful run of docker build.

Related Issues and Documentation

Issue building go on docker arm/v/7 with alpine image #35254 (closed)
Go 1.17+ crashes on Docker Desktop (M1) when running with "--platform=linux/amd64" platform #48439 (closed)
runtime: various crashes running ARM 'go' command under qemu #29325 (closed)
runtime: docker build failure with go-1.6.2/musl libc on armhf #16081 (closed)
cmd/link: regression on building an app with `GOOS=wasip1 GOARCH=wasm` #65786 (closed)
cmd/buildid: failures in cmd/go introduced in commit afd090c on multiple platforms including ppc64le, s390, and arm64 #23339 (closed)
cmd/compile/internal/gc: FAIL: TestReproducibleBuilds; runtime: unexpected return pc for cmd/compile/internal/ssa.Compile called from 0x0 #35900 (closed)
cmd/compile: arm64 fatal error when compiling docker #13854 (closed)
cmd/go: get in docker buildx gets SIGSEGV error #40969 (closed)
cmd/go: build failure on a machine with gccgo installed after commit 38431f1044 #32060 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

Do you think this is this similar or related to issue #68976? (It wasn't listed in the comment above, but it feels similar from a very quick look.)
CC @prattmic, @matloob.

Do you think this is this similar or related to issue #68976?

I don't know I'm afraid. That said the stack trace and symptoms seem quite different. I will however defer to @prattmic

I agree, it looks quite different. #68976 is very specific to pidfd use in os/syscall. This looks like some form of corruption.
Do you know if this build is running a full Linux kernel in a VM, or using QEMU user mode Linux emulation?

Does the same issue occur on Go 1.22?

Does the same issue occur on Go 1.22?

Yes. Indeed similar looking stacks for 1.21.13,  1.22.6,  1.23.0. Confirmed via:
cat <<EOD > template.txtar
-- Dockerfile --
FROM golang:$GOVERSION

WORKDIR /app
COPY . ./

RUN go build -o asdf ./blah

-- blah/main.go --
package main

func main() {

}
-- go.mod --
module mod.example

go $GOVERSION
EOD
for i in 1.23.0 1.22.6 1.21.13
do
        mkdir $i
        pushd $i > /dev/null
cat ../template.txtar | GOVERSION=$i envsubst | txtar-x
docker buildx build --platform linux/amd64 . > output 2>&1
popd > /dev/null
done
cat */output

I'm miles out of my depth here, but in case this is useful:
$ qemu-amd64-static --version
qemu-x86_64 version 9.0.2 (Debian 1:9.0.2+ds-2+b1)
Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers

... but just to be super clear, I'm doing this via Docker:
https://docs.docker.com/build/building/multi-platform/#qemu
(so I'm actually unsure whether the host system qemu is used or not)

I will see if I can reproduce when I get a chance.
As a workaround, do you actually need to do linux-amd64 builds via QEMU emulation? Go can cross-compile on its own well, though perhaps you have cgo dependencies that make it difficult?

We did end up with a two-stage Dockerfile where the builder is on the host platform, cross-compiles to the target platform without cgo, and then the second stage builds an image for the target platform. So while we are not blocked by this bug as there's a workaround, it's probably worth keeping it open for a fix.

We did some investigation for: https://gitlab.com/qemu-project/qemu/-/issues/2560 and we suspect the fault comes down to aarch64 only having 47 or 39 bits of address space while the x86_64 GC assume 48 bits. Under linux-user emulation we are limited by the host address space. However I do note 48 was chosen for all arches so I wonder how this works on native aarch64 builds of go?

Thanks for taking a look!
cc @mknyszek who can speak more definitively about the address space layout, but I don't a smaller address space  should be a problem. Go is pretty lenient about what it gets from mmap. I don't think we ever demand to be able to get a mapping with the 47th bit set.
If you haven't already seen it, take a look at https://github.com/golang/go/issues/69255#issuecomment-2329736628. My suspicion is that this is some sort of sign-extension bug given the only difference between the expected and actual output is the value of the upper bits.

That said, on further thought, the input address 0xffffa45142c0 does look pretty weird. That isn't a typical heap address (the other addresses in the stack trace, e.g., sp=0xc000231ed8 do look like typical Go heap addresses), so I wonder how we got this one?

https://cs.opensource.google/go/go/+/master:src/runtime/malloc.go;l=149-210 this comment is about the heap address layout. We do use smaller address spaces on a few platforms, e.g. ios/arm64 is 40-bit, but the bits are set as constants so it would probably equally apply to native build and QEMU. (We could consider a qemu build tag?)

I think nothing would break if the OS never returns high addresses. The heapAddrBits is an upper limit, I think.

Are there any runes for running the Go test cases (nothing jumped out at me). If we can trigger the failure with a direct testcase rather than deep in a docker image we can take a look at verifying the instruction behaviour.

I have not personally reproduced, but in https://github.com/golang/go/issues/69255#issuecomment-2329869813 it is the compiler itself crashing, so theoretically it should reproduce by:

Download a copy of Go and extract somewhere (which I'll call $EXTRACT_DIR): https://go.dev/dl/
Create folder containing go.mod and main.go:

go.mod:
module example.com/app

go 1.23.1

main.go:
package main
func main() {}

In the directory with go.mod/main.go, run $EXTRACT_DIR/bin/go build.

This will hopefully crash somewhere in the toolchain/compiler.
That said, go build does invoke multiple subprocesses, which I imagine could make debugging annoying. If you want literally just a single binary, you could try building a single test binary:
From outside QEMU (on any type of host), run GOOS=linux GOARCH=amd64 go test -c sort. This will build a sort.test linux-amd64 binary that contains the unit tests for the sort. I selected that package mostly arbitrarily: it is fairly complex so I hope it will trigger the bug and it has no dependency on external testdata files.
sort.test is a standalone, statically-linked binary, so you can copy it wherever and just run it. I do recommend passing ./sort.test -test.count=10 just to make it run long enough to run the GC.

I stumbled upon this issue and found a solution (at least for my setup).
The host is an arm-64 ubuntu host.
 docker:
    runs-on: ubuntu-latest-arm64-kong # our private arm64 runner instance
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - name: Set up QEMU
        uses: docker/setup-qemu-action@v3

      - name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v3
        with:
          install: true

      - name: Build mailbox Container
        uses: docker/build-push-action@v6
        with:
          context: .
          file: cmd/Dockerfile
          push: true
          cache-from: type=gha
          cache-to: type=gha,mode=max
          platforms: linux/amd64,linux/arm64
          tags: foo

ARG BUILDPLATFORM
FROM --platform=$BUILDPLATFORM golang:1.23-bullseye AS build // this is really important
ARG TARGETARCH

COPY . .

RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build \
    -o /build/my-binary ./cmd/main.go

So what happens in an arm64 environment is you want to build the image by pulling the arm64 image by specifying the --platform in the FROM statement, without it it doesn't seem to work; it generates segfault on some libs. I assume it "can" work but as said some libs my break.
Then when checking the build progress you'll notice those instructions:
[linux/arm64->amd64 build 7/7] RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build
[linux/arm64 build 7/7] RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build

hope this helps

Possibly related, Go is failing to compile any non-trivial application on a Vultr virtual machine running FreeBSD as a guest on FreeBSD 14.1 and 14.2-RELEASE, tested on 1.21 and latest, 1.23.4.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283314
On real hardware, no issues compiling or running; however when I move the binary to the VM, unpredictable panics happen and eventually a seg fault in the application (mox, a full stack mail server).
I stumbled across an old discussion that raised using GODEBUG=asyncpreemptoff=1 and this does seem to have a positive effect on compilation; I'm running mox compiled with this option and so far so good but it is unclear to me what the overall impact of this is.

I stumbled across an old discussion that raised using GODEBUG=asyncpreemptoff=1 and this does seem to have a positive effect on compilation

This usually indicates that the virtual machine (or the OS running on it) has some bug in handling asynchronous signals. You could probably test it with a C program that sends itself a lot asynchronous signals. (See also #46272, and some test programs linked from it.) Are you also running an AMD64 VM instance on an ARM64 machine?

The problem VM is an AMD64 VM instance on what appears to be AMD64; the provider is Vultr.com;  the actual hw is said to be Xeon CPUs. Reported by the VM:
❯ sysctl hw
hw.machine: amd64
hw.model: Intel Core Processor (Skylake, IBRS)

From #46272 I ran the @kostikbel 's avx_sig.c code from this comment on the problematic VM; it reliably SIGABRTs  on every single run, more or less instantly.
The code runs without apparent issue (10 minutes each before I interrupted) on:

on a different VM host provider using kvm/qemu; guest is 14.2-RELEASE (hw.model: Intel Core Processor (Skylake, IBRS))
real hardware running 14.2-RELEASE (hw.model: Intel(R) Core(TM) i9-14900K)
on a Bhyve VM  running 14.2-RELEASE, on ^ real hardware host

I first noted unusual behaviour on FreeBSD 14.1 on the VM in question with random panics that didn't make sense from a Go mail server (SMTP, IMAP etc) that I migrated in November to FreeBSD from Linux on that very same VM instance.  There were no panics on Linux.
cc @emaste @kostikbel from the runtime: possible memory corruption on FreeBSD issue.

It sounds like you have more-or-less narrowed this down to a VMM bug on Vultr's side, likely related to save/restore of FPU state. If you have no already you should definitely take this up with them.


Doesn't compile under swift-corelibs-foundation and OSS Swift

There are a hand full (maybe about 20) of compile errors under open source swift.  I'm not sure if this is any kind of priority, but it would be cool for it to work! :)

Closing as duplicate of https://github.com/SwiftyJSON/SwiftyJSON/issues/413 which has a longer comment thread


Mail cleanup

This introduces a bit strange calls into the main, I will refactor the main in another pr, dont wanted to do this also in this one, since this would have been very messy

what about disabling stuff? Is the docker-config ok without modifications?

havent changed anything on that. should run like before


Add git requirement for windows

add git requirement for windows.

Hey, thanks for the pull request. Can you move the note to a new line and add info about Linux and Mac OS also?
__NOTE__: You need to restart the Command Prompt (Windows) / Terminal Emulator (Mac OS X, Linux) to apply the new Environment variables.

@satya164 Done as you said

Could you squash your commits for documentation PRs?

@sunnylqm Sorry for the trouble, but can you add instructions for Linux and Mac OS X also? (See my note). Also, squash your commits as @ide said.
Thanks a lot for improving the docs :+1:

Also I feel like the Git stuff should come before the Android SDK configuration. Thoughts @ide ?

I'm going to learn how to squash first...

git rebase -i -> squash, squash, squash!

@ide   Am i doing right?...

There are hundreds of commits in this PR, not sure what happened...

@sunnylqm May be it would be better to create a clean fork again and just copy the changes.

Fine. I'll start over again.


Fixing the log level when for webhooks GetHookTaskByID.

Attemp fix: #25744
Fixing the log level when we delete any repo then we get error hook not found by id. That should be warn level to reduce the noise in the logs.

I am open for suggestions.

Maybe you need to check whether the error is record does not exist.

Maybe you need to check whether the error is record does not exist.

you mean error message == "record does not exist" ??

Maybe you need to check whether the error is record does not exist.

you mean error message == "record does not exist" ??

I mean if it's a record doesn't exist error, then create a warn log, otherwise still create an error log?

But I have doubt

There is a hook if Repo is deleted then we should post that event. But we are logging error.
Thoughts??

Can I get one more approval on this PR.

+1 approval more to go

Backport?

Backport?

Yes


Remove broken go 1.23.1

Almost all builds of go 1.23 are getting stuck installing govulncheck and we haven't had a successful promoion since 1.23 landed as all jobs timeout (#60)
https://prow.scylla-operator.scylladb.com/view/gs/scylla-operator-prow/logs/post-scylla-operator-images-master-images/1834147040985092096
https://prow.scylla-operator.scylladb.com/view/gs/scylla-operator-prow/logs/post-scylla-operator-images-master-images/1834211463124750336
https://prow.scylla-operator.scylladb.com/view/gs/scylla-operator-prow/logs/post-scylla-operator-images-master-images/1834566857709850624
https://prow.scylla-operator.scylladb.com/view/gs/scylla-operator-prow/logs/post-scylla-operator-images-master-images/1834571381312851968
this seems to be similar to github.com/golang/go/issues/68976
This PR removes the broken golang 1.23.1 until there is a new version with fix.
Resolves #60

/lgtm

/hold
seen with go 1.21.6 as well

It got stuck on other versions as well and turned out to be an issue with qemu-user-static binary that has been addressed by compiling a newer version from source and disabling LTO.


add functions to detect spikes

calc_spike_threshold(spike_filt_data) - to calculate an appropriate threshold on filtered data
args:
spike_filt_data(nt, nch): filtered data
returns:
float: threshold value

detect_spikes(spike_filt_data, threshold) - to yield spike times and waveforms from filtered data
args:
spike_filt_data(nt, nch): filtered data
threshold (float): threshold to detect spikes (maybe need separate positive and negative thresholds?)
waveform_length?
returns:
spike_times (n_events, nch)
waveforms (waveform_length, n_events, nch)

also plot_waveforms
args:
waveforms (waveform_length, n_events)
plots a mean waveform on top of all the waveforms, or maybe an option to show the variance

we may want to have different methods for automatic thresholding. figured it would be easiest to do that in a separate function.
also for online spike detection you may want to set the threshold once (or maybe manually every once in a while) and then use that threshold repeatedly to detect spikes, rather than calculating a new threshold every time.


Support automatic tagging of errors with location?

This is somewhat related to the existing backtrace support. For user-facing application logs, it's useful to log two locations:

Where the error itself was logged,
Where the error object itself was created.

Right now, the second point is caught in the backtrace, but it'd be useful if we could pull out just the location where the error object itself was constructed (as opposed to the whole stack).
There was some discussion in https://github.com/dtolnay/anyhow/issues/22 around handling this is user code via e.g. an extension trait, but it would be helpful if this could be part of the default behavior -- that is, any error object converted to anyhow::Result<> via ? could automatically be tagged with an error location (if backtraces are enabled), and users could decide whether to include that error location when logging those errors.
(In theory, users of anyhow could post-process the backtrace message and figure out which line is relevant, but I'm hoping there's some tooling in the backtrace crate that would make it easier to do when the trace itself is constructed.)

Duplicate of #139.


Add developer API to mirror triggerHandler behavior

Add developer API to mirror triggerHandler behavior

Fixed in v1.23

See API doc here

@afawcett I've tried to get this developer API to work and I just can't seem to get it to work.
I have a custom object "Order_Item__c" that should roll up sum of all costs to an "Order__c" object. So, I have a pre-existing trigger on order item. should I just be able to write one line of code "dlrs.RollupService.rollup(trigger.oldMap,trigger.newMap,Order_Item__c.SObjectType);"
Is that correct? I feel like I tried that and I didn't see it work. Perhaps I just need to pay better attention. But, can you confirm I'm doing what should be possible?
Thanks!

Please remove<EMAIL_ADDRESS>from this list serv  Thanks
From: Wes Weingartner<EMAIL_ADDRESS>Sent: Wednesday, April 06, 2016 11:46 AM
To: afawcett/declarative-lookup-rollup-summaries
Subject: Re: [afawcett/declarative-lookup-rollup-summaries] Add developer
API to mirror triggerHandler behavior (#236)
@afawcett https://github.com/afawcett I've tried to get this developer
API to work and I just can't seem to get it to work.
I have a custom object "Order_Item__c" that should roll up sum of all costs
to an "Order__c" object. So, I have a pre-existing trigger on order item.
should I just be able to write one line of code
"dlrs.RollupService.rollup(trigger.oldMap,trigger.newMap,Order_Item__c.SObjectType);"
Is that correct? I feel like I tried that and I didn't see it work. Perhaps
I just need to pay better attention. But, can you confirm I'm doing what
should be possible?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/236#issuecomment-206436487

Yes this should be the one, have you set your rollups to type Developer?


Add Pricing Feature

Hello @RituKumari98
If adding pricing feature where user become premium member, Also you can earn money
(GSSoC'24)

@RituKumari98 I am enthusiastic about working on this project to adding pricing feature where user become premium member gold member and platinum member.. Could you please assign it to me?

Hello @RituKumari98 PTAL

Please assign me this issue under GSSOC 2024.


File delete fails for files in the format ##9999.csv

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.33.1
Regression From
No response
Architecture
x64
Storage Explorer Build Number
20240410.2
Platform
Windows
OS Version
Windows 10
Bug Description
File delete fails for files in the format ##9999.csv
Steps to Reproduce
Create ADLS G2 storage account
create folder
add a file called ab9f89ba-f069-44b1-84a6-7dda8da39147##7587.csv
try to delete file using storage explorer
Actual Experience
Error message in storage explorer:
Deletion of 'ab9f89ba-f069-44b1-84a6-7dda8da39147##7587.csv' from 'landing/Transactional/upload_api_sandbox/20240430/' failed: 0 completed, 1 failed (used name and key)
Started at: 01/05/2024 08:17, Duration: 4 seconds
Error in log:
2024/05/01 07:17:14 ERR: [P#0-T#0] https://adlsdatahubraw.dfs.core.windows.net/landing/Transactional/upload_api_sandbox/20240430/ab9f89ba-f069-44b1-84a6-7dda8da39147%23%237587.csv: 404: DELETE ERROR -404 The specified path does not exist.. X-Ms-Request-Id:4666f2af-401f-000c-0997-9b4c15000000
Expected Experience
File is deleted
Additional Context
Other files can be deleted without issue it is just files in the format ([GUID]##9999.csv) above that cannot be deleted.
The problem files can still be deleted by other mechanisms - I usually use the Azure portal.

@maps-mike My guess is the double hash (##) is what's causing the issue. Some characters need special handling. Strange, though, as the URL in the error message looks correct. Can you confirm that URL of the blob used by Storage Explorer is the same one used by the Azure portal? You can check this by looking at the file's properties both in Storage Explorer and the portal.

@maps-mike I am not able to reproduce this issue, either by deleting one or multiple blobs. Can you add any more details about what exactly you were doing? When you refresh the explorer view, are the blobs you're trying to delete still present?

@maps-mike Have you had a chance to reproduce this issue and gather more information? Anything you can provide can help us investigate further.

Hi Craig – I’ve just done a test this morning, the exact process is:

Upload 2 CSV files to a file path “landing/Transactional/error”
*   Note path is an ADLSG2 file system, NOT Blob storage

Performance: Standard
Replication: LRS
Account Kind: StorageV2 (general purpose v2)
Firewall IS enabled.

 *   Files:
    *   35ba9a88-09d6-4c9b-bf7f-3231a283c443##7580.csv
    *   2237f762-77f7-4039-a531-968a442359b5##7581.csv
       *   Files contain 2 lines of CSV data (header & 1 row)
       *   File size is just over 1K

I click “delete” in Storage Explorer
Storage explorer confirms “are you sure” with correct file name
I click “Yes”
Failure message returned, file still present in filesystem.
@.***

Copy AZ command to clipboard gives me this (XXX for sensitive info)
$env:AZCOPY_CONCURRENCY_VALUE = "AUTO";
$env:AZCOPY_CRED_TYPE = "SharedKey";
$env:ACCOUNT_NAME = "XXX";
$env:ACCOUNT_KEY = "XXX";
./azcopy.exe remove https://XXX.dfs.core.windows.net/landing/Transactional/error/35ba9a88-09d6-4c9b-bf7f-3231a283c443%23%237580.csv --from-to=BlobFSTrash --recursive --log-level=INFO;
$env:AZCOPY_CONCURRENCY_VALUE = "";
$env:AZCOPY_CRED_TYPE = "";
$env:ACCOUNT_NAME = "";
$env:ACCOUNT_KEY = "";
Log contains this:
2024/05/13 06:20:02 AzcopyVersion  10.23.0
2024/05/13 06:20:02 OS-Environment  windows
2024/05/13 06:20:02 OS-Architecture  amd64
2024/05/13 06:20:02 Log times are in UTC. Local time is 13 May 2024 07:20:02
2024/05/13 06:20:03 ISO 8601 START TIME: to copy files that changed before or after this job started, use the parameter --include-before=2024-05-13T06:19:57Z or --include-after=2024-05-13T06:19:57Z
2024/05/13 06:20:03 Authenticating to destination using SharedKey
2024/05/13 06:20:03 Authenticating to source using SharedKey
2024/05/13 06:20:03 Job-Command remove https://XXX.dfs.core.windows.net/landing/Transactional/error/35ba9a88-09d6-4c9b-bf7f-3231a283c443%23%237580.csv --output-type=json --cancel-from-stdin --from-to=BlobFSTrash --recursive --log-level=INFO
2024/05/13 06:20:03 Number of CPUs: 8
2024/05/13 06:20:03 Max file buffer RAM 4.000 GB
2024/05/13 06:20:03 Max concurrent network operations:  will be dynamically tuned up to 3000 (Based on auto-tuning limit. Set AZCOPY_CONCURRENCY_VALUE environment variable to override)
2024/05/13 06:20:03 Check CPU usage when dynamically tuning concurrency: true (Based on hard-coded default. Set AZCOPY_TUNE_TO_CPU environment variable to true or false override)
2024/05/13 06:20:03 Max concurrent transfer initiation routines: 64 (Based on hard-coded default. Set AZCOPY_CONCURRENT_FILES environment variable to override)
2024/05/13 06:20:03 Max enumeration routines: 16 (Based on hard-coded default. Set AZCOPY_CONCURRENT_SCAN environment variable to override)
2024/05/13 06:20:03 Parallelize getting file properties (file.Stat): false (Based on AZCOPY_PARALLEL_STAT_FILES environment variable)
2024/05/13 06:20:03 Max open files when downloading:<PHONE_NUMBER> (auto-computed)
2024/05/13 06:20:03 Final job part has been created
2024/05/13 06:20:03 Trying 4 concurrent connections (initial starting point)
2024/05/13 06:20:03 Final job part has been scheduled
2024/05/13 06:20:03 WARN: [P#0-T#0] Displayed file count will be either 1 or based upon list-of-files entries, and thus inaccurate, as deletes are performed recursively service-side.
2024/05/13 06:20:04 ==> REQUEST/RESPONSE (Try=1/396.6515ms, OpTime=619.7381ms) -- RESPONSE SUCCESSFULLY RECEIVED
HEAD https://XXX.blob.core.windows.net/landing/Transactional%2Ferror%2F35ba9a88-09d6-4c9b-bf7f-3231a283c443%23%237580.csv
X-Ms-Request-Id: [774e3d22-101e-0087-25fd-a44878000000]
2024/05/13 06:20:04 ==> REQUEST/RESPONSE (Try=1/39.9697ms, OpTime=260.7882ms) -- RESPONSE SUCCESSFULLY RECEIVED
DELETE https://XXX.dfs.core.windows.net/landing/Transactional/error/35ba9a88-09d6-4c9b-bf7f-3231a283c443?recursive=false#%237580.csv
X-Ms-Request-Id: [19fc7ae5-301f-0016-05fd-a42dca000000]
2024/05/13 06:20:04 ERR: [P#0-T#0] https://XXX.dfs.core.windows.net/landing/Transactional/error/35ba9a88-09d6-4c9b-bf7f-3231a283c443%23%237580.csv: 404: DELETE ERROR -404 The specified path does not exist.. X-Ms-Request-Id:19fc7ae5-301f-0016-05fd-a42dca000000
2024/05/13 06:20:04 JobID=d2cd78e0-5bab-0444-6f05-3f610e137603, Part#=0, TransfersDone=1 of 1
2024/05/13 06:20:04 all parts of entire Job d2cd78e0-5bab-0444-6f05-3f610e137603 successfully completed, cancelled or paused
2024/05/13 06:20:04 is part of Job which 1 total number of parts done
2024/05/13 06:20:05 PERF: primary performance constraint is Unknown. States: T:  0, GRs:  4
2024/05/13 06:20:05 100.0 %, 0 Done, 1 Failed, 0 Pending, 0 Skipped, 1 Total,
2024/05/13 06:20:05 Closing Log

Using portal to try delete:
*   Go to Stroage account
*   Choose Storage Browser
*   Blob containers ->
*   Click tick box next to file
*   Click delete, get confirmation message:
*   @.***
*   Click Yes, file deleted in Portal & Storage explorer

Comparing URL in Storage Explorer & portal:
Portal
https://PATH/35ba9a88-09d6-4c9b-bf7f-3231a283c443##7580.csv
Storage Explorer:
https://PATH/35ba9a88-09d6-4c9b-bf7f-3231a283c443%23%237580.csv
I agree that its got to be the ## characters – I’m not convinced the correct escape sequence is being used in the command, or maybe its my version of AZCopy?
Anyways, hope this helps.
Mike
From: Craig Alvord @.>
Sent: Friday, May 3, 2024 7:20 PM
To: microsoft/AzureStorageExplorer @.>
Cc: Michael Knee @.>; Mention @.>
Subject: Re: [microsoft/AzureStorageExplorer] File delete fails for files in the format ##9999.csv (Issue #7916)
@maps-mikehttps://github.com/maps-mike I am not able to reproduce this issue, either by deleting one or multiple blobs. Can you add any more details about what exactly you were doing? When you refresh the explorer view, are the blobs you're trying to delete still present?
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/AzureStorageExplorer/issues/7916#issuecomment-2093532939, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6TSO6O35W7TAAYM6K7RVWTZAPINVAVCNFSM6AAAAABHBTAUM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJTGUZTEOJTHE.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>This communication and any attachments contain information which is confidential and may be subject to legal privilege. It is for intended recipients only. If you are not the intended recipient you must not copy, distribute, publish, rely on or otherwise use it without our consent. If you have received this email in error please notify @.*** immediately and delete the email from your computer. This email is not intended to nor should it be taken to create any legal relations or contractual relationships. This email has originated from Money & Pensions Service, Borough Hall, Cauldwell St, Bedford, MK42 9AP United Kingdom, Registered as a Limited Company in England and Wales No. 07172704 Registered Office as above.

@maps-mike For testing purposes, can you upload and delete some files with some variations? For example, does the issue still reproduce if:

You only have one "#" character
You have no "#" characters
You change the directory structure, such as moving the file to the root
You delete multiple files at once

Strictly speaking, "#" characters are not legal in a URL path. Azure portal might be un-escaping characters for display convenience.
The fact that I still can't repo the issue suggests we are escaping the "#" characters correctly:
./azcopy remove "https://XXX.dfs.core.windows.net/test01/01234567-89ab-cdef-0123-456789abcdef%23%231234.csv" --from-to=BlobFSTrash --recursive --log-level=INFO;

Hi Craig – results & observations below:

You only have one "#" character.
*   [Mike] Same problem – error deleting.
You have no "#" characters
*   [Mike] Success – deletes as expected.
You change the directory structure, such as moving the file to the root
*   [Mike] Same problem – error deleting (from root & other folder paths)
You delete multiple files at once
*   [Mike] Same problem – error deleting.

I have observed the problem only occurs on ADLS Gen2 Storage accounts – if I upload ## files to a Blob storage account the delete works as expected.
Note – I copied & renamed the same file in all tests so all other factors should be consistent.
Short file name cush as “3#.csv” fail as well.
No worries if this one goes down as “cannot reproduce”, I have a workaround, though I’m equally happy to try more tests.
Mike
From: Craig Alvord @.>
Sent: Monday, May 13, 2024 5:50 PM
To: microsoft/AzureStorageExplorer @.>
Cc: Michael Knee @.>; Mention @.>
Subject: Re: [microsoft/AzureStorageExplorer] File delete fails for files in the format ##9999.csv (Issue #7916)
@maps-mikehttps://github.com/maps-mike For testing purposes, can you upload and delete some files with some variations? For example, does the issue still reproduce if:

You only have one "#" character
You have no "#" characters
You change the directory structure, such as moving the file to the root
You delete multiple files at once

Strictly speaking, "#" characters are not legal in a URL path. Azure portal might be un-escaping characters for display convenience.
The fact that I still can't repo the issue suggests we are escaping the "#" characters correctly:
./azcopy remove "https://XXX.dfs.core.windows.net/test01/01234567-89ab-cdef-0123-456789abcdef%23%231234.csv" --from-to=BlobFSTrash --recursive --log-level=INFO;
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/AzureStorageExplorer/issues/7916#issuecomment-2108199132, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6TSO6KRRLI3ES46MTB5LWDZCDVJ7AVCNFSM6AAAAABHBTAUM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBYGE4TSMJTGI.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>This communication and any attachments contain information which is confidential and may be subject to legal privilege. It is for intended recipients only. If you are not the intended recipient you must not copy, distribute, publish, rely on or otherwise use it without our consent. If you have received this email in error please notify @.*** immediately and delete the email from your computer. This email is not intended to nor should it be taken to create any legal relations or contractual relationships. This email has originated from Money & Pensions Service, Borough Hall, Cauldwell St, Bedford, MK42 9AP United Kingdom, Registered as a Limited Company in England and Wales No. 07172704 Registered Office as above.

@maps-mike Thank you for that information!
Ah ha! Sorry, I should have tried this first: I was able to reproduce the issue using our 1.33.0 release. It doesn't reproduce in our working builds now, so I suspect the issue has already been addressed (by updating our version of AzCopy, probably).
Here is a link to a private build. Can you download, install, and give it a try to see if the problem persists?
https://cralvordtest02.blob.core.windows.net/share/1.34.0/StorageExplorer-windows-x64.exe?sv=2023-01-03&si=accessibility&sr=b&sig=ilDJKrD1AGNE1BNE3hAREYcjNVhP%2BCTChuLDEHzkgZs%3D

Thanks Craig, I’ll do that – the install needs .Net 8 (& admin rights) so I’ll need to get IT to do that install so might take a little while to get back but sounds like it’ll be sorted!
Mike
From: Craig Alvord @.>
Sent: Tuesday, May 14, 2024 6:39 PM
To: microsoft/AzureStorageExplorer @.>
Cc: Michael Knee @.>; Mention @.>
Subject: Re: [microsoft/AzureStorageExplorer] File delete fails for files in the format ##9999.csv (Issue #7916)
@maps-mikehttps://github.com/maps-mike Thank you for that information!
Ah ha! Sorry, I should have tried this first: I was able to reproduce the issue using our 1.33.0 release. It doesn't reproduce in our working builds now, so I suspect the issue has already been addressed (by updating our version of AzCopy, probably).
Here is a link to a private build. Can you download, install, and give it a try to see if the problem persists?
https://cralvordtest02.blob.core.windows.net/share/1.34.0/StorageExplorer-windows-x64.exe?sv=2023-01-03&si=accessibility&sr=b&sig=ilDJKrD1AGNE1BNE3hAREYcjNVhP%2BCTChuLDEHzkgZs%3D
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/AzureStorageExplorer/issues/7916#issuecomment-2110780010, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6TSO6P57ZZXGR4E434UMDTZCJD3DAVCNFSM6AAAAABHBTAUM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJQG44DAMBRGA.
You are receiving this because you were mentioned.Message ID: @.>
This communication and any attachments contain information which is confidential and may be subject to legal privilege. It is for intended recipients only. If you are not the intended recipient you must not copy, distribute, publish, rely on or otherwise use it without our consent. If you have received this email in error please notify @. immediately and delete the email from your computer. This email is not intended to nor should it be taken to create any legal relations or contractual relationships. This email has originated from Money & Pensions Service, Borough Hall, Cauldwell St, Bedford, MK42 9AP United Kingdom, Registered as a Limited Company in England and Wales No. 07172704 Registered Office as above.

@maps-mike Any progress? If you need a new link, please let me know.

Hi Craig – sorry I was a bit slow, got the new version installed now & can confirm the issue is resolved, I can delete these ## files as expected!
Thank You!
From: Craig Alvord @.>
Sent: Tuesday, May 21, 2024 10:39 PM
To: microsoft/AzureStorageExplorer @.>
Cc: Michael Knee @.>; Mention @.>
Subject: Re: [microsoft/AzureStorageExplorer] File delete fails for files in the format ##9999.csv (Issue #7916)
@maps-mikehttps://github.com/maps-mike Any progress? If you need a new link, please let me know.
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/AzureStorageExplorer/issues/7916#issuecomment-2123483890, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6TSO6JRXQE6WPFKIS464GDZDO5HRAVCNFSM6AAAAABHBTAUM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRTGQ4DGOBZGA.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>This communication and any attachments contain information which is confidential and may be subject to legal privilege. It is for intended recipients only. If you are not the intended recipient you must not copy, distribute, publish, rely on or otherwise use it without our consent. If you have received this email in error please notify @.*** immediately and delete the email from your computer. This email is not intended to nor should it be taken to create any legal relations or contractual relationships. This email has originated from Money & Pensions Service, Borough Hall, Cauldwell St, Bedford, MK42 9AP United Kingdom, Registered as a Limited Company in England and Wales No. 07172704 Registered Office as above.

Excellent! Our next release (1.34.0) contains an AzCopy update, so that means the next release should resolve your issue.


What does your grunt do?

Hey all,
We had an issue earlier where we discussed grunt tasks and saw there wasn't really any uniformity in what grunt tasks did what.
This is what @anselmbradford has found from other projects.:

I browsed through some other projects to see what they did around their building tasks. Owning-a-home has build, release, ship, and deploy tasks that are related to building and releasing steps. Eregs uses test, test-js, build, squish. Dash uses build and test, with a default of those two run together (like what Jimmy mentioned). Sentia uses test, testServerSide, frontEndTest, frontAndServerSideTest, and build, which runs the frontAndServerSideTest task. So... the short of it is there's no real cfpb standard that I can see.

Right now this is what Flapjack has

grunt build - cs, js tasks
grunt test - unit, macro tests
grunt - build and test

Does anyone have any strong thoughts on what grunt tasks should do what for front-end projects or if it makes sense to standardize the basic ones like grunt or grunt build?

@jimmynotjim pointed out linting and some testing should happen on the source code, while some testing should happen on the production code. So a pipeline would look something like lint > test:unit (done on source code) > build > test:integration (done on production code)

It's worth noting that in Building Your Projects Front-End we attempted to recommend guidelines around this:

Only require three commands to install dependencies and build all static assets:

npm install
bower install
grunt build
These three commands (and any additional commands if there's a strong argument for them) should be stored in a setup.sh file to make things easier for our CI environments.

That doesn't make any recommendations about what other tasks should do or be named though.

We've standardized on using the generated Gulp or Grunt file from generator-cf.


GEODE-852: refactor gemfire-pulse not to generate a pulseverion.prope…

…rties file but copy it from gemfire-core

To avoid confusion, do not rename the properties file copied from gemfire-core

Looks good! One minor point - I think this is missing something that will tell gradle what the copyPulsePropFile  task depends on. You could either add a dependsOn to the task, or maybe add an inputs.dir to the task:
inputs.dir project(':gemfire-core').sourceSets.main.output
Try running
/gradlew  gemfire-pulse:copyPulsePropFile
or
/gradlew  gemfire-pulse:war
and you'll see what I mean; it won't generate the original properties file.

Good point. Will create another pull request for this


[resotocore][feat] Allow alias templates

Description
Allow expandable alias commands: a command line with template parameters.
For the moment the list of template commands is hard coded.
First example: discord  - allows to send results to discord with title, webhook_id and token.
Example:
> search is(volume) limit 50 | discord title=Test, webhook_id=123, access_token=234

will be expanded to:
> search is(volume) limit 50 | jq {name:.kind, value:.name} | chunk 25 | jq {content: "🔥🔥🔥 Resoto found stuff! 🔥🔥🔥", embeds: [{title: "Test", fields:.}]} | http POST https://discord.com/api/webhooks/123/234

Command line help
discord: Send result of a search to discord
discord key=<value>, value=<value>, message=<value>, title=<value>, webhook_id=<value>, access_token=<value>, discord_endpoint=<value>

Parameters

access_token: The access token to call this webhook.
discord_endpoint [default: https://discord.com/api/webhooks]: The url to call.
key [default: .kind]: The field of the resource to show as key
message [default: 🔥🔥🔥 Resoto found stuff! 🔥🔥🔥]: User defined message of the post.
title: The title of the post.
value [default: .name]: The field of the resource to show as value
webhook_id: The id of the discord webhook.

Template
> jq {name:{{key}}, value:{{value}}} | chunk 25 | jq {content: "{{message}}", embeds: [{title: "{{title}}", fields:.}]} | http POST {{discord_endpoint}}/{{webhook_id}}/{{access_token}}

Example
# Executing this alias template
> discord title="test_title", webhook_id="test_webhook_id", access_token="test_access_token"
# Will expand to this command
> jq {name:.kind, value:.name} | chunk 25 | jq {content: "🔥🔥🔥 Resoto found stuff! 🔥🔥🔥", embeds: [{title: "test_title", fields:.}]} | http POST https://discord.com/api/webhooks/test_webhook_id/test_access_token

To-Dos

[x] Add test coverage for new or updated functionality
[x] Lint and test with tox

Issues Fixed

Fixes #XXXX

Code of Conduct
By submitting this pull request, I agree to follow the code of conduct.

Codecov Report

Merging #719 (d987751) into main (81ae21b) will increase coverage by 0.09%.
The diff coverage is 98.59%.

@@            Coverage Diff             @@
##             main     #719      +/-   ##
==========================================
+ Coverage   89.44%   89.53%   +0.09%
==========================================
  Files          68       68
  Lines        9513     9568      +55
==========================================
+ Hits         8509     8567      +58
+ Misses       1004     1001       -3

Flag
Coverage Δ

resotocore
89.53% <98.59%> (+0.09%)
:arrow_up:

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

Impacted Files
Coverage Δ

resotocore/resotocore/cli/cli.py
93.81% <97.05%> (+1.81%)
:arrow_up:

resotocore/resotocore/__main__.py
87.85% <100.00%> (ø)

resotocore/resotocore/cli/__init__.py
92.68% <100.00%> (ø)

resotocore/resotocore/cli/command.py
86.64% <100.00%> (+0.02%)
:arrow_up:

resotocore/resotocore/cli/model.py
96.76% <100.00%> (+0.33%)
:arrow_up:

resotocore/resotocore/web/api.py
66.56% <100.00%> (+0.10%)
:arrow_up:

Continue to review full report at Codecov.

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


[SPARK-32497][INFRA] Installs qpdf package for CRAN check in GitHub Actions

What changes were proposed in this pull request?
CRAN check fails due to the size of the generated PDF docs as below:
...
 WARNING
‘qpdf’ is needed for checks on size reduction of PDFs
...
Status: 1 WARNING, 1 NOTE
See
  ‘/home/runner/work/spark/spark/R/SparkR.Rcheck/00check.log’
for details.

This PR proposes to install qpdf in GitHub Actions.
Note that I cannot reproduce in my local with the same R version so I am not documenting it for now.
Why are the changes needed?
To fix SparkR CRAN check failure.
Does this PR introduce any user-facing change?
No, dev-only.
How was this patch tested?
GitHub Actions will test it out.

Okay, the SparkR build now passes successfully (https://github.com/apache/spark/runs/928060018).

I will see if we really need qpdf at https://github.com/apache/spark/runs/928145820. If the tests pass at https://github.com/apache/spark/pull/29306/commits/772f7102a5f5ddfd62154a84ca1151518660f4fd, we can remove qpdf  installation and merge.
If that fails, we could just merge as is.
cc @dongjoon-hyun

Thanks @dongjoon-hyun. Merged to master.

GitHub Actions build should all pass now.

cc @ScrapCodes and @zhengruifeng FYI. The CRAN check might fail with the error in the PR description with R 4.0.0. In that case, qpdf will have to be installed. I can't reproduce in my local but it fails in GitHub Actions.


docs(dart): update to b12

Also update dart_to_js_script_rewriter dependency to ^1.0.1, and change most angular2.dart imports to be core.dart instead.
The pipes example broke without the angular2.dart import, so I let it be.
The server-communication sample has never worked for me, so I changed it but might have broken it further.

Looks lovely. Merging!


Do not install “doc” in site-packages (fix #877)

Tested in a clean git checkout:
python3 -m build
python3 -m wheel unpack dist/param-*.whl
find param-*/doc/

find: ‘param-*/doc/’: No such file or directory

Hi @musicinmybrain, thanks for spotting that, it's indeed pretty bad :/ I was surprised to see that though as in pyproject.toml the target folders were explicitly specified. Except that not quite like hatch expected it! Prefixing them with a slash fixed it, which is the real fix.

Hi @musicinmybrain, thanks for spotting that, it's indeed pretty bad :/

As a Linux distribution packager, I’ve seen it dozens of times, including in official projects from billion-dollar companies. Don’t feel bad! It’s easy to miss stray files in a virtualenv.

Prefixing them with a slash fixed it, which is the real fix.

I agree that this is a much better fix. Thank you!


Use alloy_chains::Chain instead of vendoring own implementation

Describe the feature
Use alloy_chains::Chain instead of vendoring our own implementation in reth_primitives::Chain. Both Chain and NamedChain should be able to be replaced easily.
Additional context
alloy_chains

on crates.io
on docs.rs

I would like to take up this issue

assigned

I can take this if available

I can take this

Hey @supernovahs, I have recently started working on it. :)

@mattsse basically instead of reth-primitives:: I need to use alloy-chains:: where they appear and change the associated logic accordingly right?

yeah remove reth_primitives::Chain and reexport alloy_chains::Chain instead


Loosen version constraints for numpy (currently ==1.23.5)

Issue
I recently encountered version conflicts between pylife and other packages due to the pinned numpy version.
Is there a reason why the numpy is pinned to ==1.23.5?
If not, is it be possible to loosen the version constraints so that more recent numpy versions are supported?
The test suite passes with all python/numpy combinations (except python3.8 which is only supported for numpy<1.25)

Python | numpy
1.24
1.25
1.26

3.8
✔
not supported
not supported

3.9
✔
✔
✔

3.10
✔
✔
✔

3.11
✔
✔
✔

BTW: version 1.23 will each its end of life by 24 Jun 2024.

Thanks for reaching out.
We are actually watching this in #39. Maybe the numba issues have been resolved in the meantime so that we can do a release with an uplifted dependency.

Fixed in #39


Clearer install instructions & general readability

Love the project!
I changed some stuff in the README.md to make it easier for beginners to use the plugin. Now it clearly states what's needed and gives an overview of what the user needs to do in order to use the addon.

Thanks for your contribution!


[crawler] Add timing to crawldata.json

crawldata.json should have a duration (in milliseconds) and memory (in mb, if it's available and easy to get).
Of course, this should be done after #2, since once we're using the programmatic login we can drop goutte.
        "/en/blog/": {
            "path": "/en/blog/",

           "duration": 250,
           "memory": 12.2,

            "seen": true,
            "depth": 1,
            "linkStatus": null,
            "username": "jane_admin",
            "route": "blog_index",
            "rp": {
                "page": "1",
                "_format": "html",
                "_locale": "en"
            },
            "statusCode": 200,
            "foundOn": "/"
        },

In addition to the timing, please also add the current request locale ($requestion->getLocale()) and the innerHTML of each a tag, e.g. The link text.


Ntrnl 439 add feature flag to cookies banner

JIRA link
Resolves NTRNL-439
Description

Add FEATURE_FLAG_ENABLE_COOKIE_BANNER env variable
Add logic to conditionally display the cookie banner depending on the value of FEATURE_FLAG_ENABLE_COOKIE_BANNER

Work checklist

[x] Tests added where applicable
[x] No vulnerability added

README.md needs updating with new env variable 👍


Disable analytics for server exception on dev server

@milkypostman

https://github.com/webrtc/apprtc/issues/21

lgtm

You should probably remove the import just to be safe as well.


Wrong row count passed to NLS.bind() method in ResultSetViewer.java

System information:

Operating system (distribution) and version: Windows 10 Enterprise Edition (Simplified Chinese), 21H1
DBeaver version: 21.3.3-SNAPSHOT (The latest development version at the time of posting)
Additional extensions: none

Describe the problem you're observing:
I found an accidentally caused bug that didn't exist in the last release (21.3.2). The buggy code is at line 2065 of plugins/org.jkiss.dbeaver.ui.editors.data/src/org/jkiss/dbeaver/ui/controls/resultset/ResultSetViewer.java, as shown in the screenshot below:

In version 21.3.2, these codes are still like this:

Hello @bianyun1981,
Thanks for the report.
That was an unintended typo.

Verified


How to pass scope parameter to rn-carousel-transition ?

My code is like following:
$scope.transition = "zoom";

also tried

But neither seems to work

Hi, sorry this only works with strings at the moment... do you really need this to be dynamic ?

Would be nice so it's more customizable. Great carousel by the way.


Endpoint to list only locally loaded plans

To differentiate the fast iterative experiments from the well-tested ones
Would need to have more than 1 way to store the plans and devices, or a tag to browse by the origin.
acceptance criteria

by going to /local_devices and /local_plans I can see only the locally loaded devices and plans respectively

I can see a way to tag plans being generally useful, then it can be left to the user to tag stuff as "experimental", "production" etc. as they see fit

I think this should be a query on the existing endpoint rather than a new endpoint entirely e.g. /plans?local=true

Related https://github.com/DiamondLightSource/blueapi/issues/760


Add footer with links to Nunavut docs and this repo

The objective is to lower the contribution barriers and make the docs more discoverable.
@bbworld1 can you do this, please?

Of course. Give me a few minutes.

Closed by #10 .


24 title page coordinates

Fixes #24 #23

Pushed to hub.ncsa.illinois.edu/clowder/extractors-pdf2text:0.9.0


papercut fix: change unique id generation to be during the pipeline, …

…preventing re-use between jobs
Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Can one of the admins verify this patch?

run python postcommit

Is this ready for another round of review?

No, I'll convert it back to draft. I haven't hade time to fix this


Fix README ruby-style

Replaced double-quoted strings without interpolation with single ones

https://github.com/bbatsov/ruby-style-guide#strings

Replaced [] arrays with space delimited array - %w()

Based on the .rubocop.yml configuration, it appears that double quotes and the %w[ ] syntax are preferred in this project, though it looks like the Gemfile is not included in the rubocop spec.

The authors of a project get to decide on its style. Deal with it. Please don't send this kind of PR, it's pretty obnoxious.


Type inference doesn't work for switch-case of 'constructor' property

Search Terms
constructor type inference switch case
Suggestion
Let a switch (XXX.constructor) correctly infer types in case blocks.
Example
c.f. the following snippet (the Router is the Angular Router btw)

In case NavigationError: block it should be clear that event is indeed a NavigationError instance and I would like to get IntelliSense for that.
As NavigationError has an error property (c.f. following image) I would expect to get that shown in the IntelliSense tooltip in the image above -- but I get console.error() only!

There's nothing special about switch here; the pattern foo.constructor just isn't recognized for narrowing at all: https://www.typescriptlang.org/play/#src=declare var e%3A Event%3B

if (e instanceof MouseEvent) {
  e.pageX%3B %2F%2F works
}

if (e.constructor %3D%3D%3D MouseEvent) {
  e.pageX%3B %2F%2F doesn't work
}

Duplicate of https://github.com/microsoft/TypeScript/issues/23274

As #23274 does not fix the case for switch I think this one should be re-opened.


Notebook: grouping, filtering, and visualization for Polars

Unclear this where fits; likely between Typical Workflow and More Examples

Notes: This is the docs/P1.ipynb file in the PR`

Closed in #1836. We still have #1846 open for filter.