Standardize Hub Dropdown Menus

Feature
Hub
Expected outcome
All dropdowns look like the 'Filter' dropdown - same background color, same spacing, same highlighting.
Actual outcome
Filter, Profile, and Sort by all have different styles. (if changing 'Sort by' to dropdown styles if difficult, then leave as is).
Browser
Chrome
Screenshots and context

We should also address this issue reported by @7helles:
Expected Behavior
When clicking "Settings" under "More" in the top nav, the dropdown displaying "Settings" should close automatically when the user moves to the new page, and "More" should look active/selected.
Actual Behavior
When clicking "Settings" under "More" in the top nav, the dropdown continues to stay open until the user clicks somewhere on the page, and "More" does not appear to be active or selected.

Wait for hub build

The last two, the difference is a select and a buttonDropdown.
The first example likely won't be in the final build


Fix client metrics lacking the temporal_ prefix

What was changed
Client metrics were emitted missing this prefix, by accident.
Why?
Not what we say on the tin.
Checklist

Closes https://github.com/temporalio/sdk-core/issues/483

How was this tested:
Existing test

Any docs updates needed?
Potentially a breaking change for users depending on the incorrect names. There is an existing flag to not use the prefix, but that'll apply to all metrics, including ones that maybe they expected to find the prefix on.

IMO, we should go with this and just call it out in release notes, as emitting multiple metrics is uggo - but if needed we can add another flag for specifically this issue.

Would like @bergundy's opinion on if there are concerns just fixing this.

TBH I don't know how much users are relying on these client metrics but to be on the safe side we might want to add a separate prefix for these.
We had a similar issue with worker metrics and we added this flag in case users wanted to preserve the buggy behavior.
https://typescript.temporal.io/api/interfaces/worker.TelemetryOptions#notemporalprefixformetrics

Right, that same flag (of course) exists in Core, and I mentioned in the description ("There is an existing flag to not use the prefix...")
I think another flag is overkill and uglies up our options for an indeterminate period of time to little benefit, but we can add it if we feel the extra safety is needed.


Example of loading spinner after submit (without javascript)

Hi,
Would you happen to have an example of how to show a spinner after a form is submitted?
I'm working on an instant search, currently, after my new search term is submitted, the current results remain on page with no signs of activity.
I'm looking to change such that the current results are replaced with a spinner once the form is submitted and further replaced when the server responds. Would be even better if this can be achieved without javascript.
Thank you!

Hey, if your search form targets the turbo frame of the search result, Turbo adds a busy attribute to the Turbo Frame. You could style the current results while the search is being processed by targeting that attribute, something like:
turbo-frame[busy] {
  opacity: .5;
}

Or, if you're on the latest TailwindCSS (>=3.1) and want to use the new arbitrary variants:
<x-turbo-frame id="search-results" class="[[busy]]:animate-pulse">
</x-turbo-frame>


Add specialized directory asserts

Check List:

Fixes #1325
Unit tests : YES
Javadoc with a code example (API only) : YES

Method names are indicative - if there is a better/rather variants, then I'm ready to rename them.
Which version I should declare at API's JavaDoc?
Currently I declare 3.13.0.
I plan to add (in a new PR) methods converting FileAssert/PathAssert to IterableAssert<File>/IterableAssert<Path> - what do you think about this?

@joel-costigliola ping

Thanks, I will review your PR shortly ! like by the end of the month likely

@joel-costigliola ping

@valery1707 sorry, I was too busy, hopefully I can have a look this weekend.
thanks for the reminder

@valery1707 I had a look at the PR, I feel it provides too many assertions at the moment, I would prefer to narrow them down to the minimum, the rationale being that once added it is complicated to remove an assertion.
A good strategy in that regard is adding the most useful assertions first and let users ask for missing ones.
I suggest we discuss what are the most useful assertions in #1325 to get feedback from users.
There is clearly some overlapping assertions in the PR:

isDirectoryContains(Predicate<Path> filter)
isDirectoryContains(PathMatcher filter)

I would probably remove the PathMatcher one as it looks like isDirectoryContains(String syntaxAndPattern) is covering it anyway.
We will also have to find a better name for ``isDirectoryContains` but let's discuss that in #1325.
Thanks for work!

@valery1707 after the discussion in #1325, could you update your PR with the following changes:

remove isDirectoryContains(PathMatcher filter)
rename isDirectoryContains to isDirectoryContaining
remove all negative assertions like doesNotDirectoryContains

Thanks!

@joel-costigliola, done:

Removed asserts with FileFilter, FilenameFilter and PathMatcher
Renamed isDirectoryContains to isDirectoryContaining
Renamed doesNotDirectoryContains to isDirectoryNotContaining
Rebased onto current master
Tag @since still have value 3.13.0

@joel-costigliola ping

Integrated thanks @valery1707! (I improved some part of it FYI).

Waiting for release 3.13


fix(backuptarget): backuptarget update skipped when enqueued by engineimage update

Which issue(s) this PR fixes:

Issue longhorn/longhorn#8045
What this PR does / why we need it:
Do not update the LastSyncedAt when the controller marks the BackupTarget unavailable.
Special notes for your reviewer:
Additional documentation or context

@mergify backport v1.6.x v1.5.x

Test result:
# ./run.sh -xs -k test_backuptarget_available_during_engine_image_not_ready --count=50
        if not 200 <= r.status <= 299:
>           raise ApiException(http_resp=r)
E           kubernetes.client.exceptions.ApiException: (422)
E           Reason: Unprocessable Entity
E           HTTP response headers: HTTPHeaderDict({'Audit-Id': 'bcfbd500-6056-4a81-a79c-42dc4d586083', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Kubernetes-Pf-Flowschema-Uid': '29bd88d4-8939-437a-abfe-8a43412279fe', 'X-Kubernetes-Pf-Prioritylevel-Uid': '9786bc1c-ed26-431d-a010-7e3bb4098f5b', 'Date': 'Tue, 27 Feb 2024 11:37:26 GMT', 'Content-Length': '187'})
E           HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"the server rejected our request due to an error in our request","reason":"Invalid","details":{},"code":422}

/usr/local/lib/python3.9/site-packages/kubernetes/client/rest.py:235: ApiException

= 1 failed, 50 passed, 18550 deselected, 1 warning in 3668.55s (1:01:08) =

Test at commit before https://github.com/longhorn/longhorn-manager/compare/bf0b1597cd311009183b4e45b1ba761d0c4d9703..88d3366bb4c062ff1e877a97cb1f7c43a73f44b8):

test_backup* : https://ci.longhorn.io/job/private/job/longhorn-tests-regression/6537/
test_backuptarget_available_during_engine_image_not_ready: https://ci.longhorn.io/job/private/job/longhorn-tests-regression/6535/console

The failures are all similar, seems like a test case issue.

Fix in https://github.com/longhorn/longhorn-tests/pull/1783.


providing resource for alt attribute guidance

linking to resource for determining alt attribute
also modified alt attributes used in sample code to something more appropriate for the example images

Fantastic! Thanks!


refactoring serverside async logic

I've also swapped out isomorphic fetch + es6 promise polyfill for axios, which is a better (simpler) lib.
Take a look and let me know what you think!

@charlieclark Thanks very much for this! Will go through the code tomorrow! :+1: :smile:

Oh yeah one weird thing I encountered, import * as types from 'constants was acting weird and importing a bunch of constants from a node_module I think.
I didn't spend much time on it and just renamed the import to contstants/index. Worth looking into though. It does bring up the debate of whether absolute imports for user code is a good idea.

@charlieclark Sorry about that, I just merged a PR for linting (as it was just linting errors). I wanted to go through this PR more thoroughly, so could you pull from master again?

import * as types from 'constants

I thought that was weird when I saw that you changed it to constants/index. Will have a look now.

Excellent work!!
I really like the promise middleware approach + your fetchData from component approach :+1: for your reduce function :)
Couple of comments:

Using axios requires us to pass data as config I believe. It works for increment, decrement, but for destroy topics, we need to convert {id:id} into {data:{id:id}}

{data: { [Object] }}

We will need to update the tests [ can be fixed after the PR is merged]
Unify all requests to use the promise middleware to avoid confusion [can be fixed after PR is merged]

I'm really happy with how this is turning out. I'm happy to merge once we fix 1. and pull master to resolve linting conflicts.

Ok I've made the updates.
I looked into why the destroy call wasn't working. One thing I noticed is that your implementation of the REST API is a bit atypical, and standard REST apis typically don't expect a payload with on remove/delete ( which is why axios doesn't allow data to be sent via the destroy/remove method).
I made a few updates, let me know what you think.

Very good!

One thing I noticed is that your implementation of the REST API is a bit atypical, and standard REST apis typically don't expect a payload with on remove/delete ( which is why axios doesn't allow data to be sent via the destroy/remove method).

Good pick up.
Will be merging in a bit!

@charlieclark Thanks! :)
I will fix the tests (as I m planning to slowly increase test coverage) + give this a version bump! :D


EADDRINUSE instead of finding a free port

As per #18, if the default port 8080 is in use, some other free port should automatically get found and used. However, this doesn't happen (Node 5.1, Windows 7 x64).
d:\foo>http-server
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE <IP_ADDRESS>:8080
    at Object.exports._errnoException (util.js:856:11)
    at exports._exceptionWithHostPort (util.js:879:20)
    at Server._listen2 (net.js:1234:14)
    at listen (net.js:1270:10)
    at net.js:1379:9
    at doNTCallback3 (node.js:463:9)
    at process._tickCallback (node.js:369:17)
    at Function.Module.runMain (module.js:459:11)
    at startup (node.js:138:18)
    at node.js:974:3

Works on node 0.10.41 ... Not working on node 4.2.2

Havn't checked any versions in between but looks like it can't find a port on 4.2.2 or greater

you can refer to that url
http://superuser.com/questions/262942/whats-different-between-ctrlz-and-ctrlc-in-unix-command-line/262948#262948

This is fixed when using the default port via the portfinder upgrade in 989fa1c7f5727da92ac727f673a2d4b7a121124a. It does not handle fallbacks when using the -p option. There's a pending/possible option for that which is under discussion in #363.


Apc1

Here is a summary of the errors and recommendations for correction:

Your project is missing an Automation Hub URL. To fix this, go to "Project Settings" and add the required information.

The Activity Log Message has a default name. Consider using a more descriptive title to make it easier to understand the activity's purpose.

The Workflow Main.xaml file does not have any assigned Test Cases. Creating Test Cases for your workflows helps in identifying potential issues early on. Assign Test Cases to the workflow.

The project has a total of 1 Folder and 1 workflow.

The dependency package UiPath.Excel.Activities is not used. Remove unused packages to improve process execution time.

The dependency package UiPath.Mail.Activities is not used. Remove unused packages to improve process execution time.

The dependency package UiPath.Testing.Activities is not used. Remove unused packages to improve process execution time.

The dependency package UiPath.UIAutomation.Activities is not used. Remove unused packages to improve process execution time.

Please refer to the provided links for more information on each error and how to address them.

Here is the summary of the errors:

Your project should have an Automation Hub URL defined. To add the missing information, go to "Project Settings".
The workflow "Main.xaml" does not have any assigned Test Cases. Creating Test Cases allows you to identify potential issues before they impact your production environment.
The activity "Log Message" has a default name. Consider adding a more descriptive title to improve clarity.
There is 1 folder and 1 workflow in your project.
The dependency package "UiPath.Excel.Activities" is not used. Remove unused packages to improve process execution time.
The dependency package "UiPath.Mail.Activities" is not used. Remove unused packages to improve process execution time.
The dependency package "UiPath.Testing.Activities" is not used. Remove unused packages to improve process execution time.
The dependency package "UiPath.UIAutomation.Activities" is not used. Remove unused packages to improve process execution time.

Summary of Errors:

An Automation Hub URL is required for your project. Add this information in the "Project Settings". Learn more.

The activity log message has a default name. Consider using a more descriptive title to improve understanding. Learn more.

The workflow "Main.xaml" does not have any assigned test cases. Create test cases to identify potential issues early on. Learn more.

There is one folder and one workflow in the project.

The dependency package "UiPath.Excel.Activities" is not used. Remove unused packages to improve process execution time. Learn more.

The dependency package "UiPath.Mail.Activities" is not used. Remove unused packages to improve process execution time. Learn more.

The dependency package "UiPath.Testing.Activities" is not used. Remove unused packages to improve process execution time. Learn more.

The dependency package "UiPath.UIAutomation.Activities" is not used. Remove unused packages to improve process execution time. Learn more.


Update shift-drawer-management.md

Added explanations on the behaviour of the CRT when a drawer is marked as "Shared shift drawer" and the general notes on the dependencies of some POS operations on the drawer(s) states (open vs. closed)

incorrect PR


"make" command error

Please help me fix this error that occurs when I type
make -j 2
I tried the fix on the website. It seems to be some sort of "Boost" error, WTF is Boost!?!!?
This error occurs when trying to install EmulationStation Standalone for Raspbian on a Raspberry Pi 3 v1.2.
It's also occurred multiple times.
Here's a pastebin link to the error: https://pastebin.com/8gy12MEk

https://github.com/Aloshi/EmulationStation/pull/594/files
DID NOT WORK.

I'm having the exact same issue when following the instructions from EmulationStation.  Were you ever able to solve the problem?


Feature Request - Openvas9 with postgresql

I know there was an option to build openvas 8 to work with postgresql instead of mysqlite.
I guess that the same is possible for openvas 9. It will be nice to have openvas9 docker image that support this feature.

I certainly would be open to this but as I personally don't need the scalability of postgres for OpenVAS, the chances of me getting the time to implement this are slim.  Feel free to open a PR if you figure it out, otherwise I'm marking this a Feature Request for future documentation. Thanks!

I'll work on it soon. I'll release it once it will be complete.
On Sun, Mar 26, 2017 at 1:08 AM, Mike Splain<EMAIL_ADDRESS>wrote:

I certainly would be open to this but as I personally don't need the
scalability of postgres for OpenVAS, the chances of me getting the time to
implement this are slim. Feel free to open a PR if you figure it out,
otherwise I'm marking this a Feature Request for future documentation.
Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mikesplain/openvas-docker/issues/112#issuecomment-289242886,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXtfsPjFS7Qqqi9z9qSoN3myw6ry5INgks5rpZB5gaJpZM4MNMqk
.

@udiromano Hi, did you have time to work on this? I am thinking of doing the same thing here :)
Regards Falk

did it complete ???

@gopherine Hi, Are you asking me, or @udiromano ?

@falkowich i was asking anyone :D who did it so if you did it i would appreciate some help here


remove contributor in metadata page

I'm using the web form to create the metadata file, and I don't think it is currently possible to remove a contributor entry once it is created. If you accidentally duplicate a contributor entry, what is the workflow for removing the extra one? Would it be possible to create a mechanism for this?

Which dandiset?

I ran into this problem with https://gui.dandiarchive.org/#/dandiset/000035/draft. To be clear, I can fix this myself by editing the metadata file in Girder or by uploading a YAML file that I manually edit. I'm more thinking about the user experience of someone who does not have access to Girder and wants to create the metadata entirely with the UI.

Got it, thanks for clarifying--I was going to point you to Girder metadata editor to solve your immediate problem, but you are good there it seems.

i believe this is now addressed with the new meditor.


Add fallback profile proof order

Add a fallback ordering for clients that aren't fetching proof configs (almost everyone).
Also turns out admins on macos probably aren't fetching proof config because setting KEYBASE_FEATURES for most shells doesn't set it for launchd.

I think it's less complicated with less fake stuff. This preserves that display configs come only from the server


#9 Version instructions misleading

Challenge Name
Manage Packages with npm
https://www.freecodecamp.com/challenges/manage-packages-with-npm
Issue Description
The "09 Version" section says to update your version with the command "npm version". The actual command is "npm version patch" which you find by running "npm help version" but otherwise impossible to figure out with just the tutorial. Just thought an easy text update would fix the confusion.

@jondan1986 unfortunately, freecodecamp does not manage the learn-you-npm and other similarly named workshoppers. Feel free to report the issue on their repo here:
https://github.com/workshopper/how-to-npm/issues


gnumeric 1.12.22

Fixes Homebrew/homebrew#39764.

@mistydemeo I already had an open pull request for this one from a couple of weeks ago (#64). Yours doesn't deal properly with the schemes file: you shouldn't delete it, just stop it from being generated by make using the configure option --disable-schemas-compile, followed by a post_install step that will produce the correct file based on all formulas that support it. Your solution will probably impact correct functioning of gnumeric.
Also, this version doesn't appear to work at all as I already mentioned in my PR: it segfaults immediately on startup due to some upstream issue.
Keep in mind that this formula should be put back in the main Homebrew tap since it doesn't rely on X11 anymore due to gtk+3 only having the quartz backend since 3.16.0

Sorry about that - I missed your earlier PR.
It looks like this crash is coming from goffice, within the go_quad_constant8 function.

I've found a fix for the goffice fix; will apply tomorrow.

brew update and reinstall goffice, and this should work now. Also adapted your commit from #64 for the new version.

Thanks!
Dr. Tom Schoonjans
Research Fellow
Bundesanstalt für Materialforschung und -prüfung (Federal Institute for Materials Research and Testing)
Richard-Willstätter-Strasse 11, 12489 Berlin
Germany
Telephone +49 (0) 30-8104-5612
Tom.Schoonjans<EMAIL_ADDRESS>www.bam.de
On 16 May 2015, at 18:01, Misty De Meo <notifications<EMAIL_ADDRESS>wrote:
brew update and reinstall goffice, and this should work now. Also adapted your commit from #64https://github.com/Homebrew/homebrew-x11/pull/64 for the new version.
—
Reply to this email directly or view it on GitHubhttps://github.com/Homebrew/homebrew-x11/pull/72#issuecomment-102654353.


[WIP] [CI:DOCS] Use automation-lib v4.0 w/ $DEBUG fix

Companion to https://github.com/containers/automation/pull/96
Signed-off-by: Chris Evich<EMAIL_ADDRESS>

Note to me: Waiting for F36 PR to merge.


Add eventing hooks for the file storage module

The problem faced currently?
Not possible to do asynchronous operations based on file uploads
How can we solve it?
We can use an intent and stage pattern like we have done for the db module.
We should also add a meta field to the upload payload. The contents of this field can be made available in the payload of the webhook

If you want this feature to be implemented, give it a thumbs up reaction, so that we can determine which features are important to you.
👍

Coming in v0.15.0


[Help Request] Can not find lane_position from observations

High Level Description
I want to use the lane_position information for RL training. But, even if I have set the lane_position=True, explicitly, I still not get the lane_postion from the env output variables.
Version
1.4.0
Operating System
ubuntu20.04
Problems

I want to use the lane_position information for RL training. But, even if I have set the lane_position=True, explicitly, I still not get the lane_postion from the env output variables.

Hello @JiyuanTHU, apologies for this oversight, the formatted observations do not yet contain lane position. You can still still currently get that information from the unformatted observations that are included in info:
info[AGENT_ID].env_obs.ego_vehicle_state.lane_position

#2143 fixes this.


fix: JSON Serialization Casing

Description
Upstream superchain-registry only specifies toml casing for serialization for a bunch of objects resulting in a strange mix of casings including pascal, camel, and snake casings.
This ticket it to add consistent json casings across go types in the upstream superchain registry like the ChainConfig type for example. This will require making the changes in upstream superchain-registry first and then updating the superchain bindings in this repo for the new format.

Fixes in https://github.com/alloy-rs/op-alloy/pull/122


Plugins loading twice in newer rocket updates.

The plugins on the server will load twice when you startup the server, which may mess up some of the plugins.
Edit: Apparently it's the commit that allows plugins to be loaded from sub directories that causes that. As I'm running the servers on windows, so I can't replace plugin dll's without shutting down the server first, but they can be moved, so I end up moving the old dll to a sub directory to replace it(To spend as little time as possible to have the server down when updating plugins.). I wonder if you can make it so that it prioritizes plugins in the top level plugin directory first, then ignores plugins in the sub directories if they have the same plugin name as the ones that were previously loaded.

or just remove it as I see no need for subdirectory plugins.


[Linux] Monitored app crashes application

logs:
./wakatime-linux-x86_64.AppImage

(desktop-wakatime:462009): Gtk-WARNING **: 14:29:19.291: Theme parsing error: gtk.css:6691:68: Invalid name of pseudo-class
[WakaTime][DEBUG] Electron's autoUpdater does not support the 'linux' platform. Ref: https://www.electronjs.org/docs/latest/api/auto-updater#platform-notices
[WakaTime][DEBUG] Starting WakaTime
[WakaTime][DEBUG] Registered as login item
[WakaTime][DEBUG] Fetching code time: /home/yan-fesf/.wakatime/wakatime-cli-linux-amd64 --today,--today-hide-categories,true,--plugin,linux-wakatime/0.5.0

(desktop-wakatime:462009): Gtk-WARNING **: 14:29:19.540: Theme parsing error: gtk-dark.css:6691:68: Invalid name of pseudo-class
thread '<unnamed>' panicked at x-win-rs/src/linux/api/wayland_extension_api.rs:207:6:
called `Result::unwrap()` on an `Err` value: MethodError("org.freedesktop.DBus.Error.UnknownMethod", Some("O objeto não existe no caminho “/org/gnome/Shell/Extensions/XWinWaylandExtension”"), Msg { type: Error, sender: ":1.20", reply-serial: 2, body: Signature: [
	s (115),
] })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[WakaTime][DEBUG] Skip checking for wakatime-cli updates because recently checked 32 minutes ago
thread '<unnamed>' panicked at x-win-rs/src/linux/api/wayland_extension_api.rs:207:6:
called `Result::unwrap()` on an `Err` value: MethodError("org.freedesktop.DBus.Error.UnknownMethod", Some("O objeto não existe no caminho “/org/gnome/Shell/Extensions/XWinWaylandExtension”"), Msg { type: Error, sender: ":1.20", reply-serial: 2, body: Signature: [
	s (115),
] })
fatal runtime error: failed to initiate panic, error 5
[1]    462009 IOT instruction (core dumped)  ./wakatime-linux-x86_64.AppImage

I managed to get the Monitoring app's rendering properly; however, every few seconds my desktop is slowing down:

How did you manage to fix it? What do you mean by 'not working correctly'? This information can help fix the bug... This is impacting some functionalities of my portfolio that depend on this API.

@yan-pi then let's hope the owner fixes it.

@zackdavidson I’m talking about you contributing to the solution or providing guidance on how the problem occurs, and not just “I fixed it but it doesn’t work properly”. And I’m not asking you to help me with my portfolio, LOL.

Unfortunately there is no push access - the issue seems to be a lack of access on x-win-rs module on rust that can't access /proc/{}/exe.
What i done was the following:
import { exec } from "child_process";
import fs from "fs";
import path from "path";

import { AppData } from "../../utils/validators";

export async function getInstalledAppsLinux(
  directory = "/usr/share/applications",
): Promise<AppData[]> {
  const directoryContents = await getDirectoryContents(directory);
  const appsFileInfo = getAppsFileInfo(directoryContents);
  return (
    await Promise.all(
      appsFileInfo.map((appFileInfo) => getAppData(appFileInfo)),
    )
  ).filter(Boolean) as AppData[];
}

function getDirectoryContents(directory: string) {
  return new Promise<string[]>((resolve, reject) => {
    exec(`ls ${directory}`, (error, stdout) => {
      if (error) {
        reject(error);
      } else {
        try {
          resolve(getAppsSubDirectory(stdout, directory));
        } catch (err) {
          reject(err);
        }
      }
    });
  });
}

function getAppsSubDirectory(stdout: string, directory: string): string[] {
  let stdoutArr = stdout.split(/[(\r\n)\r\n]+/);
  stdoutArr = stdoutArr
    .filter((o) => o.endsWith(".desktop"))
    .map((i) => {
      return `${directory}/${i}`;
    });
  return stdoutArr;
}

function getAppsFileInfo(appsFile: readonly string[]) {
  // Just return the file paths for desktop files
  return appsFile.map((file) => [file]);
}

async function getAppData(singleAppFileInfo: string[]) {
  const filePath = singleAppFileInfo[0];
  if (!filePath) {
    return;
  }

  const appInfo = parseDesktopFile(filePath);
  if (!appInfo || !appInfo.Name) {
    return;
  }

  const name = appInfo.Name;
  const execName = appInfo.Exec?.split(" ")[0] || name;
  const iconPath = appInfo.Icon ? findIconPath(appInfo.Icon) : null;
  const version = null; // Version is not typically found in desktop files

  return {
    path: filePath,
    icon: iconPath ? `file://${iconPath}` : null,
    name,
    bundleId: filePath,
    id: appInfo.Name,
    isBrowser: false,
    isDefaultEnabled: true,
    isElectronApp: false,
    version,
    execName,
  } satisfies AppData;
}

function parseDesktopFile(filePath: string): Record<string, string> {
  const content = fs.readFileSync(filePath, { encoding: "utf-8" });
  const lines = content.split(/\r?\n/);
  const record: Record<string, string> = {};

  lines.forEach((line) => {
    const [key, ...value] = line.split("=");
    if (key && value.length) {
      record[key.trim()] = value.join("=").trim();
    }
  });

  return record;
}

function findIconPath(iconName: string): string | null {
  // Try to find the icon in common icon directories
  const iconDirs = [
    "/usr/share/icons",
    "/usr/share/pixmaps",
    path.join(process.env.HOME || "", ".local/share/icons"),
  ];

  for (const dir of iconDirs) {
    const iconPathPng = path.join(dir, `${iconName}.png`);
    const iconPathSvg = path.join(dir, `${iconName}.svg`);

    if (fs.existsSync(iconPathPng)) {
      return iconPathPng;
    }
    if (fs.existsSync(iconPathSvg)) {
      return iconPathSvg;
    }
  }
  return null;
}

Which was very similar to the mac.ts and windows.ts and i changed the following:
import { AppData } from "../../utils/validators";
import { getInstalledApps as getInstalledAppsMac} from "./mac";
import { getInstalledApps as getInstalledAppsWindows } from "./windows";
import {getInstalledAppsLinux} from "./linux.ts";

export async function getApps(): Promise<AppData[]> {
  let apps: AppData[] = [];

  if (process.platform === "win32") {
    apps = await getInstalledAppsWindows();
  } else if (process.platform === "darwin") {
    apps = await getInstalledAppsMac();
  } else if (process.platform === "linux") {
    apps = await getInstalledAppsLinux();
    console.log('####### ' + JSON.stringify(apps));
  }

  return apps;
}

The problem lie's with the tracking, whenever i enable an application on the menu, it does nothing. It does not track this properly.

Same issue here with Ubuntu 22.04, Gnome 42.9, Wayland.

I'm having the same issue with Pop!_OS 22.04 LTS x86_64. Is there like a config file where we can use to configure the monitored apps? So at least we can try going that route?

Today downloaded v1.0.0
Crash when try to load list of applications on Debian 12
vitex@gamer:~/Downloads$ chmod +x wakatime-linux-x86_64.AppImage

vitex@gamer:~/Downloads$ ./wakatime-linux-x86_64.AppImage
[WakaTime][DEBUG] Failed to read file: /home/vitex/.config/WakaTime/desktop-wakatime.cfg. Error: Error: ENOENT: no such file or directory, open '/home/vitex/.config/WakaTime/desktop-wakatime.cfg'
[WakaTime][DEBUG] Starting WakaTime v1.0.0
[WakaTime][DEBUG] Registered as login item
Checking for update
[WakaTime][DEBUG] Checking for update
[WakaTime][DEBUG] Fetching code time: /home/vitex/.wakatime/wakatime-cli-linux-amd64 --today,--today-hide-categories,true,--plugin,linux-wakatime/1.0.0
thread '<unnamed>' panicked at x-win-rs/src/linux/api/wayland_extension_api.rs:207:6:
called `Result::unwrap()` on an `Err` value: MethodError("org.freedesktop.DBus.Error.ServiceUnknown", Some("The name org.gnome.Shell was not provided by any .service files"), Msg { type: Error, sender: "org.freedesktop.DBus", reply-serial: 2, body: Signature: [
        s (115),
] })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Generated new staging user ID: 03a76133-a75c-5c96-ba26-22cbf8fb8ed2
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
[WakaTime][DEBUG] Latest wakatime-cli release: v1.102.3
Update for version 1.0.0 is not available (latest version: 1.0.0, downgrade is disallowed).
[WakaTime][DEBUG] Update not available
checkForUpdatesAndNotify called, downloadPromise is null
thread '<unnamed>' panicked at x-win-rs/src/linux/api/wayland_extension_api.rs:207:6:
called `Result::unwrap()` on an `Err` value: MethodError("org.freedesktop.DBus.Error.ServiceUnknown", Some("The name org.gnome.Shell was not provided by any .service files"), Msg { type: Error, sender: "org.freedesktop.DBus", reply-serial: 2, body: Signature: [
        s (115),
] })
thread '<unnamed>' panicked at library/core/src/panicking.rs:221:5:
panic in a function that cannot unwind
stack backtrace:
   0:     0x7f4bbe1f7861 - <unknown>
   1:     0x7f4bbe19742b - <unknown>
   2:     0x7f4bbe1c71b2 - <unknown>
   3:     0x7f4bbe1fc3c7 - <unknown>
   4:     0x7f4bbe1fd665 - <unknown>
   5:     0x7f4bbe1fce32 - <unknown>
   6:     0x7f4bbe1fcdc9 - <unknown>
   7:     0x7f4bbe1fcdb4 - <unknown>
   8:     0x7f4bbe188874 - <unknown>
   9:     0x7f4bbe1888dc - <unknown>
  10:     0x7f4bbe188889 - <unknown>
  11:     0x7f4bbe24ca10 - <unknown>
  12:     0x5558b44d82e8 - <unknown>
thread caused non-unwinding panic. aborting.
Aborted (core dumped)

Just updated to v1.0.1, it now works!

Just updated to v1.0.1, it now works!

Unfortunately, it's not really working properly. I was able to launch the monitored apps BUT the apps I selected are not really being monitored. It's not showing up on the stats. When I'm on Mac, it can monitor zoom, notion etc and being logged properly. But in Ubuntu it's not really recording those activities.
Also, I noticed that if I have another application that is also an Electron (like Ferdium) app, Wakatime desktop will crash.


Add ClickHouse adapter to README

Hi! ✋We created Ecto adapter for ClickHouse database (https://clickhouse.yandex/) some days ago. It works and we use it in our projects. It would be nice if it were in the adapters list in REAME.

Before adding the adapter to the list, we generally require it to pass at least some tests from the integration suite that is distributed with ecto itself https://github.com/elixir-ecto/ecto/tree/master/integration_test. This allows us to make sure that the features that are supported by the particular adapter work the same across all adapters.
If there are some features that the database does not support and the tests are not tagged properly, we're open to adding necessary tags to the integration suite.

Ok, thank you for the answer. Yes, this database doesn't support a lot of things (it sounds strange, but it doesn't support data updating or deleting). But we'll try to do our best 👍

@santaux there is a lot of tags in integration tests, just start with simple ones and create a PR if you need an additional tag.

Hi @santaux! I will go ahead and close this but let us know when you have the test suites integrated or if you have any questions!


添加插件后报错

我在安装插件之后报错开始了，请告诉我解决办法，非常感谢！！！
[ERROR] nonebot | Failed to import "nonebot_plugin_apscheduler"
Traceback (most recent call last):
File "/usr/local/bin/nb", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/nb_cli/commands/main.py", line 30, in run
run_bot(file, app)
File "/usr/local/lib/python3.9/site-packages/nb_cli/handlers/deploy.py", line 20, in run_bot
module = importlib.import_module(module_name)
File "/usr/lib64/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/root/AweSome-Bot/./bot.py", line 29, in
nonebot.load_from_toml("pyproject.toml")
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/load.py", line 119, in load_from_toml
return load_all_plugins(plugins, plugin_dirs)
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/load.py", line 53, in load_all_plugins
return manager.load_all_plugins()
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 172, in load_all_plugins
return set(
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 173, in
filter(None, (self.load_plugin(name) for name in self.available_plugins))
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 148, in load_plugin
module = importlib.import_module(
File "/usr/lib64/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 237, in exec_module
super().exec_module(module)
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/root/AweSome-Bot/./awesome_bot/plugins/nonebot_plugin_auto_teenstudy/init.py", line 18, in
scheduler = require('nonebot_plugin_apscheduler').scheduler
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/load.py", line 163, in require
plugin = load_plugin(name)
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/load.py", line 28, in load_plugin
return manager.load_plugin(module_path)

File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 144, in load_plugin
module = importlib.import_module(name)
File "/usr/lib64/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'nonebot_plugin_apscheduler'
09-21 19:45:47 [ERROR] nonebot | Failed to import "nonebot_plugin_auto_teenstudy"
Traceback (most recent call last):
File "/usr/local/bin/nb", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/nb_cli/commands/main.py", line 30, in run
run_bot(file, app)
File "/usr/local/lib/python3.9/site-packages/nb_cli/handlers/deploy.py", line 20, in run_bot
module = importlib.import_module(module_name)
File "/usr/lib64/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/root/AweSome-Bot/./bot.py", line 29, in
nonebot.load_from_toml("pyproject.toml")
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/load.py", line 119, in load_from_toml
return load_all_plugins(plugins, plugin_dirs)
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/load.py", line 53, in load_all_plugins
return manager.load_all_plugins()
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 172, in load_all_plugins
return set(
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 173, in
filter(None, (self.load_plugin(name) for name in self.available_plugins))
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 148, in load_plugin
module = importlib.import_module(
File "/usr/lib64/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 237, in exec_module
super().exec_module(module)
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/root/AweSome-Bot/./awesome_bot/plugins/nonebot_plugin_auto_teenstudy/init.py", line 18, in
scheduler = require('nonebot_plugin_apscheduler').scheduler
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/load.py", line 165, in require
raise RuntimeError(f'Cannot load plugin "{name}"!')
RuntimeError: Cannot load plugin "nonebot_plugin_apscheduler"!
09-21 19:45:47 [SUCCESS] nonebot | Running NoneBot...
09-21 19:45:47 [DEBUG] nonebot | Loaded adapters: OneBot V11
09-21 19:45:47 [INFO] uvicorn | Will watch for changes in these directories: ['/root/AweSome-Bot']
09-21 19:45:47 [INFO] uvicorn | Uvicorn running on http://<IP_ADDRESS>:8080 (Press CTRL+C to quit)
09-21 19:45:47 [INFO] uvicorn | Started reloader process [40059] using WatchFiles
09-21 19:45:48 [SUCCESS] nonebot | NoneBot is initializing...
09-21 19:45:48 [INFO] nonebot | Current Env: dev
09-21 19:45:48 [DEBUG] nonebot | Loaded Config: {'driver': '~fastapi', 'host': IPv4Address('<IP_ADDRESS>'), 'port': 8080, 'log_level': 'DEBUG', 'api_timeout': 30.0, 'superusers': set(), 'nickname': set(), 'command_start': {'/'}, 'command_sep': {'.'}, 'session_expire_timeout': datetime.timedelta(seconds=120), 'fastapi_reload': True, 'environment': 'dev'}
09-21 19:45:49 [DEBUG] nonebot | Succeeded to load adapter "OneBot V11"
09-21 19:45:49 [SUCCESS] nonebot | Succeeded to import "echo"
09-21 19:45:49 [SUCCESS] nonebot | Succeeded to import "single_session"
09-21 19:45:49 [ERROR] nonebot | Failed to import "nonebot_plugin_apscheduler"
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib64/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "/usr/lib64/python3.9/multiprocessing/spawn.py", line 129, in _main
return self._bootstrap(parent_sentinel)
File "/usr/lib64/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib64/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.9/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started
target(sockets=sockets)
File "/usr/local/lib/python3.9/site-packages/uvicorn/server.py", line 60, in run
return asyncio.run(self.serve(sockets=sockets))
File "/usr/lib64/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.9/site-packages/uvicorn/server.py", line 67, in serve
config.load()
File "/usr/local/lib/python3.9/site-packages/uvicorn/config.py", line 479, in load
self.loaded_app = import_from_string(self.app)
File "/usr/local/lib/python3.9/site-packages/uvicorn/importer.py", line 21, in import_from_string
module = importlib.import_module(module_str)
File "/usr/lib64/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/root/AweSome-Bot/./bot.py", line 29, in
nonebot.load_from_toml("pyproject.toml")
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/load.py", line 119, in load_from_toml
return load_all_plugins(plugins, plugin_dirs)
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/load.py", line 53, in load_all_plugins
return manager.load_all_plugins()
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 172, in load_all_plugins
return set(
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 173, in
filter(None, (self.load_plugin(name) for name in self.available_plugins))
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 148, in load_plugin
module = importlib.import_module(
File "/usr/lib64/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 237, in exec_module
super().exec_module(module)
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/root/AweSome-Bot/./awesome_bot/plugins/nonebot_plugin_auto_teenstudy/init.py", line 18, in
scheduler = require('nonebot_plugin_apscheduler').scheduler
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/load.py", line 163, in require
plugin = load_plugin(name)
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/load.py", line 28, in load_plugin
return manager.load_plugin(module_path)
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 144, in load_plugin
module = importlib.import_module(name)
File "/usr/lib64/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'nonebot_plugin_apscheduler'
09-21 19:45:49 [ERROR] nonebot | Failed to import "nonebot_plugin_auto_teenstudy"
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib64/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "/usr/lib64/python3.9/multiprocessing/spawn.py", line 129, in _main
return self._bootstrap(parent_sentinel)
File "/usr/lib64/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib64/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.9/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started
target(sockets=sockets)
File "/usr/local/lib/python3.9/site-packages/uvicorn/server.py", line 60, in run
return asyncio.run(self.serve(sockets=sockets))
File "/usr/lib64/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.9/site-packages/uvicorn/server.py", line 67, in serve
config.load()
File "/usr/local/lib/python3.9/site-packages/uvicorn/config.py", line 479, in load
self.loaded_app = import_from_string(self.app)
File "/usr/local/lib/python3.9/site-packages/uvicorn/importer.py", line 21, in import_from_string
module = importlib.import_module(module_str)
File "/usr/lib64/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/root/AweSome-Bot/./bot.py", line 29, in
nonebot.load_from_toml("pyproject.toml")
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/load.py", line 119, in load_from_toml
return load_all_plugins(plugins, plugin_dirs)
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/load.py", line 53, in load_all_plugins
return manager.load_all_plugins()
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 172, in load_all_plugins
return set(
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 173, in
filter(None, (self.load_plugin(name) for name in self.available_plugins))
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 148, in load_plugin
module = importlib.import_module(
File "/usr/lib64/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 237, in exec_module
super().exec_module(module)
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/root/AweSome-Bot/./awesome_bot/plugins/nonebot_plugin_auto_teenstudy/init.py", line 18, in
scheduler = require('nonebot_plugin_apscheduler').scheduler
File "/usr/local/lib/python3.9/site-packages/nonebot/plugin/load.py", line 165, in require
raise RuntimeError(f'Cannot load plugin "{name}"!')
RuntimeError: Cannot load plugin "nonebot_plugin_apscheduler"!

请安装nonebot官方定时任务插件nonebot_plugin_apscheduler
指令 pip install nonebot_plugin_apscheduler
github仓库

Thank you.


Sk.chats is not  getting all the chats like sk.contacts does

As i do with sk.contacts to get all the contacts
For contact in sk.contacts:
Contact.id
I can't itterate over sk.chats to get all the conversations ( chats , groups )
For chat in sk.chats:
chat    #is not returning anything i want to get all the chats and groups and itterate through all of them so i can delete the all sent messages from groups and chats

Iterating SkypeChats will only give you what's in the cache; you need to use recent().

Iterating SkypeChats will only give you what's in the cache; you need to use recent().


584 user overview ui

Coverage remained the same at 100.0% when pulling caeb65785d97c43ca2af1dc5a3be4a0890b6cd34 on 584_UserOverview into d275a42448b9aa31f58781968b6c30f174b1e49d on dev.

Coverage remained the same at 100.0% when pulling caeb65785d97c43ca2af1dc5a3be4a0890b6cd34 on 584_UserOverview into d275a42448b9aa31f58781968b6c30f174b1e49d on dev.

Coverage remained the same at 100.0% when pulling 5aefe17aa05d18e5bdf07f20836da8d0dda35509 on 584_UserOverview into 94d07b054f289bb05815205d6c397c93e8468a2f on dev.

Coverage remained the same at 100.0% when pulling 63549a5c43556daf25d8652434df642e1e01a4a0 on 584_UserOverview into 3d9259217f1f285953effb05b879731911f96e16 on dev.


Update to 6.7.0

@conda-forge-admin please rerender

ERROR: Qt Wayland Client requires QtGui to be build with support for wayland

I was trying to avoid adding new dependencies to QtGui.
I've personally been experimenting with Wayland, but in my application, I've had to force fallback to X11....

Why close?

I though I'd just drop wayland and try to update pyside without it

hmm ok. i feel like that is a mistake long term, but I don't have the bandwidth to investigate fixing this right away.

@conda-forge-admin, please restart ci

Oh I see. You had tried to build this in the past. Just the bot and CDN was taking time.


Add font-weight tokens to WDS provider

We need to develop a mechanism to change font-weight(CSS var value) depending on the color mode.

Hello, I am interested in picking up this issue as part of my first open source contribution. I am a student contributing as an assignment in university so any guidance as to where to start would be much appreciated. Thank you!

Hi @zoispyridi. Thank you for your interest.
I think this task may be a bit difficult as a first issue. I would recommend choosing something from this list.


Can't install Bootstrap gem

Hey everyone,
I tried to add Bootstrap to my Jekyll project via the Gemfile. When using the jekyll/jekyll or jekyll/builder image, this leads to the following error:
/usr/local/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/runtime.rb:319:in `check_for_activated_spec!': You have already activated concurrent-ruby 1.1.5, but your Gemfile requires concurrent-ruby 1.1.9. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)

So I tried the jekyll/minimal image but it failed as well because the minimal image doesn't support C based gems.
So what else can I do?
Thanks in advance
Fred

Running the minimal image like this:
docker run --rm --volume "$PWD:/srv/jekyll" -p 4000:4000 --env JEKYLL_ENV=development jekyll/minimal:3.8 sh -c "apk add libc-dev g++ make &&  jekyll serve --future -s src"

fixed the missing support for C based gems. But it brought me back to the initial error.
The error message says
Prepending `bundle exec` to your command may solve this.

So where do I need to add this?

Adding bundle exec before jekyll serve leads to another error:
/usr/local/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/spec_set.rb:87:in `block in materialize': Could not find rake-13.0.6 in any of the sources (Bundler::GemNotFound)

Did I mention that I have no idea how Ruby works (that's why I wanted to lock it away in a container in the first place) and that I hate to learn the very specific errors of a new language to be able to use it?


The autostart setting is lost during an update

Microsoft PowerToys version
0.56.x and before
Running as admin

No

Area(s) with issue?
Settings
Steps to reproduce
Setup:

I'm running PowerToys as a normal user without admin rights.
The "Run at startup" feature works in general

Steps to reproduce

Login as a user without admin rights
Start PowerToys installation
Enter admin credentials
Enable "Run at startup"

A few reboots later there is an update

Login as the same user without admin rights
Start Update PowerToys
Enter admin credentials

✔ Expected Behavior
After the update, "Run at startup" is still active.
❌ Actual Behavior
While all other settings of my configuration are applied correctly, "Run at startup" is disabled after each update.
I noticed this with the last updates.
Other Software
No response

/dup #16951


[ENH] (Re)implement complex data support for Spectrum and SpectrumArray classes

Reference issue
Addresses #12728 & discussed in chat with @larsoner & @drammock
What does this implement/fix?
Idea is to:

re-implement support for complex coefficients in (Epochs)Spectrum classes present before #12265
implement support for complex coefficients in (Epochs)SpectrumArray classes which was a WIP in #11803 before decision to drop support was made
also re-implements support for output="complex" as a kwarg in compute_psd() methods to bring API in line with compute_tfr() (@drammock this wasn't much more work beyond the other constructor changes)

As I understand, the decision to initially drop support was that complex coeff support does increase the complexity of the code somewhat and the use-cases perhaps weren't so clear. However, we would like to make some changes in MNE-Connectivity where having Spectrum objects support coefficients would be really useful (in addition to some uses mentioned in #11803).
Will include some comments for particular changes below. Also very open to discussion/suggestions.
Additional information
I can't take much credit for this since it's mainly re-implementing the work of others, so big thanks to the original authors @drammock @larsoner @alexrockhill!

Will add a changelog entry when the extent of the changes being made is clearer.

Couple failures for the to_data_frame method for the pip-pre tests I'll need to look into.

Couple failures for the to_data_frame method for the pip-pre tests I'll need to look into.

If you want you can ignore them here. It looks unrelated to your changes. I can open a quick PR to fix them unless you're already on it!

Oh wait they are related... I was looking into it anyway so pushed a tiny fix, but feel free to force-push over it if you have a better one

I suggest adding those three as co-authors on at least one commit (adding them on 0d8d09c would have made the most sense, but in the end we squash-merge so it won't matter, any commit will do).

Yeah sorry, I overlooked this at the time. Have added in 43ad99277b7b58f496e161d9b3886024abe8deee everyone whose code I restored/used.

Apart from that, the unit tests are better (fewer re-runs of individual tests with same coverage), so I think the big questions are:

whether people are happy with how I've implemented this dimnames param
what others think the docstring entry for weights is appropriate

Was implementing stuff in MNE-Connectivity using these changes and realised .__getstate__() could not be called for (Epochs)SpectrumArray objects (was trying to manipulate and repackage some data).
This raised an error when trying to identify the string represenation of the object type, since there were options for those based on Raw, Epochs, or Evoked objects, but nothing for ndarray. New code:
https://github.com/mne-tools/mne-python/blob/85ef415352c544fff29494fdb3289795a6695866/mne/utils/spectrum.py#L18-L30
I don't think being able to call __getstate__ on spectrum objects derived from arrays violates any rules, right??

Thanks for the latest round of reviews @drammock!
Do you think it's also worth adding a versionadded tag to the dimnames and weights params in the array classes?

Do you think it's also worth adding a versionadded tag to the dimnames and weights params in the array classes?

Sure, we should.

Okay, have included version info for new params/attrs.
I also updated the Notes section of the array classes to reflect the changes in this PR.

Sorry, realised some of my docs formatting was inconsistent with MNE conventions so have fixed now.

It also suggested passing in e.g. amplitude or phase data could have unintended consequences beyond incorrect axis labels, however having gone through the code I don't see what these other effects could be. It's just the typical add/drop_channels, pick, to_data_frame that will work regardless.
Personally I don't think the docs need to be so cautious.

I think the previous caution was reflecting "besides axis labels, we haven't thought carefully about what else might break if you pass ampl. instead of power".  Since you've now read through the code and not found anything, I think your less stern warning is fine.

circleCI error is unrelated: looks like TownCrier can't handle Sphinx 7.4.7 ?  Or maybe it's a transient thing :shrug:

@tsbinns maybe now if you add a changelog entry, the towncrier failure will magically go away :)

@tsbinns maybe now if you add a changelog entry, the towncrier failure will magically go away :)

Unfortunately not...

Looks like https://github.com/sphinx-contrib/sphinxcontrib-towncrier/issues/92 I'll add a pin

@tsbinns is this ready to go in?

@drammock Just had a look back over and yes, seems like everything has been addressed!

Damn, that one test for Win 3.10 just ran over the time limit, but I don't have permission to re-run.

Restarted!

Yay, thanks for all the help with this @drammock & @larsoner !

Yay, thanks for all the help with this @drammock & @larsoner !

Now we can work on the mne-connectivity stuff :)


One big patch

Patch adding BLE client #7, fixing latest changes in pathHandling, and the best, addressing lack of heap #8.

One big patch merged :-)


Poetry hook

cleanup ordering in pyproject.toml
add pre-commit hooks for poetry check and poetry lock

Poetry lock slows down the pre-commit hooks considerably.

Note, the failed linting is probably due to https://github.com/klen/pylama/issues/232

Note, the failed linting is probably due to klen/pylama#232

Can we lock the pydocstyle version in poetry?

Yes, locking the version of pydocstyle to 6.1.x should be effective, judging from the root cause analysis in https://github.com/PyCQA/pydocstyle/issues/621. I tried locking its version but for some reason this did not help, not sure why... maybe pre-commit did not use poetry to resolve the version of pydocstyle.

I tried locking its version but for some reason this did not help, not sure why... maybe pre-commit did not use poetry to resolve the version of pydocstyle.

Works for me when using poetry add 'pydocstyle<6.2'. How did you do it?


Parallel processing of EM model fit

This applies to pooling modes "celltype" and "individual"

Resolved with c18196d


usb device

Hi, is it possible to pass a usb device to a VM?

Although I have not specifically tested passing a USB device to a guest, iohyve does have the ability to pass through PCI devices.
Info on iohyve specific pass through is located in the man page.
You can also find out more information on bhyve pass through in general at their man page or their wiki on the subject.
If you get it working, document it! We would love to add it to the wiki.

Yes, the problem was the bhyve pass through, I was able to pass a ethernet device but not a usb 3.0 device, the xhci1 won't become a ppt so the problem is not in iohyve. I think the first problem is the xhci driver but I don't know how to disable it from FreeBSD, I've tried to disable from the bios but no way, the xhci1 become xhci0 so the driver is still load...

Done!!
I 'll document it, but my english is not good, can I sent you my steps here and you make the wiki?

Il giorno 25 nov 2015, alle ore 18:20, pr1ntf<EMAIL_ADDRESS>ha scritto:
Although I have not specifically tested passing a USB device to a guest, iohyve does have the ability to pass through PCI devices.
Info on iohyve specific pass through is located in the man page.
You can also find out more information on bhyve pass through in general at their man page or their wiki on the subject.
If you get it working, document it! We would love to add it to the wiki.
—
Reply to this email directly or view it on GitHub.

Hooray! :smile:
I have temporarily opened the wiki to editing. You should have the ability to create a new page.

Great work!
I'm going to fix the formatting just a bit, but your English is great!

Thank you,
Hope to be useful and Google translater help me a little bit :)

Il giorno 01 dic 2015, alle ore 20:58, pr1ntf<EMAIL_ADDRESS>ha scritto:
Great work!
I'm going to fix the formatting just a bit, but your English is great!
—
Reply to this email directly or view it on GitHub.

where can i find the documentacion of pass a usb device to a VM (bhyve) ?

https://github.com/pr1ntf/iohyve/wiki/USB-3.0-PCI-Controller-Pass-through
Try to look at this
Inviato da iPhone

Il giorno 30 ago 2018, alle ore 16:50, itchk<EMAIL_ADDRESS>ha scritto:
where can i find the documentacion of pass a usb device to a VM (bhyve) ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


update README links fixes #224

Updated README links.  Original links gave a 404 error due to partially being in lowercase.
Fixes
https://github.com/charleszipp/azure-pipelines-tasks-terraform/issues/224

Thanks @scott-doyland-burrows and @favoretti for fixing this!

Yeah, my apologies for being rude, I lack a lot of sleep :) Thanks @scott-doyland-burrows for pushing these changes!


added panel.hpp

simple change for overlapping windows

Can you add this header to cxxcurses.hpp?

Hi Chris,
The reason I didn't is because it uses the additional libpanel (which for me came with ncurses).
I don't think it's a problem to simply include the header without using panels but I didn't want to break anything with unresolved symbols.
If the panel class is used, libpanel has to be linked. Is this a problem?

The reason I didn't is because it uses the additional libpanel

Oh okay I wasn't aware.

If the panel class is used, libpanel has to be linked. Is this a problem?

I think there ought to be a second CMake target that depends on the current target but also links to libpanel so that no users has to manually link to libpanel themselves.

Hi Chris,
I added a new target cxxcurses_panel/cxxcurses::panel. I'm not sure about the name but it seems to be working.
Unfortunately FindCurses.cmake does not look for libpanel so I added a find_library call as well.
I also added sample/panel.cpp with a really dumb(but working) example. It's basically just a tweaked main.cpp.

I'm having issues building your branch:
Consolidate compiler generated dependencies of target cxxcurses_panel_sample
[ 25%] Building CXX object sample/CMakeFiles/cxxcurses_panel_sample.dir/panel.cpp.o
In file included from /Users/Thrasher/Projects/cxxcurses/sample/panel.cpp:1:
In file included from /Users/Thrasher/Projects/cxxcurses/include/cxxcurses/cxxcurses.hpp:18:
/Users/Thrasher/Projects/cxxcurses/include/cxxcurses/panel.hpp:53:86: error: use of undeclared identifier 'ceiling_panel'
    [[nodiscard]] static auto ceiling(raw::screen_ptr sp) -> raw::panel_ptr { return ceiling_panel(sp); }
                                                                                ^
/Users/Thrasher/Projects/cxxcurses/include/cxxcurses/panel.hpp:54:86: error: use of undeclared identifier 'ground_panel'
    [[nodiscard]] static auto ground (raw::screen_ptr sp) -> raw::panel_ptr { return ground_panel(sp); }
                                                                                ^
2 errors generated.
make[2]: *** [sample/CMakeFiles/cxxcurses_panel_sample.dir/panel.cpp.o] Error 1
make[1]: *** [sample/CMakeFiles/cxxcurses_panel_sample.dir/all] Error 2
make: *** [all] Error 2

if(CURSES_NEED_WIDE)
    find_library(CURSES_PANEL_LIB "panelw")
else()
    find_library(CURSES_PANEL_LIB "panel")
endif()

I think this may be removed since cxxcurses doesn't use wide character/unicode support. https://cmake.org/cmake/help/latest/module/FindCurses.html

New in version 3.10: Set CURSES_NEED_WIDE to TRUE before the find_package(Curses) call if unicode functionality is required.


Consul broken ?

Hi,
I started my picosluter and clusterlab with sd-card-rpi-v0.5.14.img and upgraded it.
As notice in #36, I saw that docker was no longer working. So I removed the /etc/docker/daemon.jsonfile but anyway. Docker and Cluster-lab starts well but consul container is always restarting.
For what I can see on my master node:
HypriotOS/armv7: pirate@pico-master in ~
$ docker ps
CONTAINER ID        IMAGE                      COMMAND                  CREATED             STATUS                         PORTS                    NAMES
c0398b11ece3        hypriot/rpi-swarm:1.2.2    "/swarm manage --repl"   9 seconds ago       Up 7 seconds                   <IP_ADDRESS>:2378->2375/tcp   cluster_lab_swarmmanage
7495b4163adb        hypriot/rpi-swarm:1.2.2    "/swarm join --advert"   11 seconds ago      Up 9 seconds                   2375/tcp                 cluster_lab_swarm
82457f97e74d        hypriot/rpi-consul:0.6.4   "/consul agent -serve"   15 seconds ago      Restarting (1) 2 seconds ago                            cluster_lab_consul

$ docker logs cluster_lab_consul
==> Starting Consul agent...
==> Starting Consul agent RPC...
==> Joining cluster...
==> dial tcp <IP_ADDRESS>:8301: getsockopt: connection refused
==> Starting Consul agent...
==> Starting Consul agent RPC...
==> Joining cluster...
==> dial tcp <IP_ADDRESS>:8301: getsockopt: connection refused

and:
$ sudo systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/etc/systemd/system/docker.service; enabled)
   Active: active (running) since Fri 2016-05-27 21:34:19 UTC; 55s ago
     Docs: https://docs.docker.com
 Main PID: 1116 (docker)
   CGroup: /system.slice/docker.service
           ├─1116 /usr/bin/docker daemon --storage-driver overlay --host fd:// --debug --host tcp://<IP_ADDRESS>:2375 --cluster-advertise <IP_ADDRESS>:2375 --cluster-sto...
           ├─1121 docker-containerd -l /var/run/docker/libcontainerd/docker-containerd.sock --runtime docker-runc --debug --metrics-interval=0
           ├─1395 docker-containerd-shim 7495b4163adb8d323bfb41671212d75aef65d04ca5264519aa90f4dbd0f91e12 /var/run/docker/libcontainerd/7495b4163adb8d323bfb41671212d75aef65d...
           ├─1476 docker-proxy -proto tcp -host-ip <IP_ADDRESS> -host-port 2378 -container-ip <IP_ADDRESS> -container-port 2375
           └─1480 docker-containerd-shim c0398b11ece30d3c24cc0c8c5ec1851302dff382b983472719dbecb0ba64036a /var/run/docker/libcontainerd/c0398b11ece30d3c24cc0c8c5ec1851302dff...

May 27 21:34:48 pico-master docker[1116]: time="2016-05-27T21:34:48.214344343Z" level=debug msg="logs: begin stream"
May 27 21:34:48 pico-master docker[1116]: time="2016-05-27T21:34:48.219792562Z" level=debug msg="logs: end stream"
May 27 21:34:53 pico-master docker[1116]: time="2016-05-27T21:34:53.723090296Z" level=debug msg="received containerd event: &types.Event{Type:\"start-container\",...x5748bd7d}"
May 27 21:34:53 pico-master docker[1116]: time="2016-05-27T21:34:53.726771710Z" level=debug msg="event unhandled: type:\"start-container\" id:\"82457f97e74d5251a6...464384893 "
May 27 21:34:53 pico-master docker[1116]: time="2016-05-27T21:34:53Z" level=debug msg="containerd: process exited" id=82457f97e74d5251a6f5b5a619f7bd61db00b1c5c92e...temPid=1784
May 27 21:34:53 pico-master docker[1116]: time="2016-05-27T21:34:53.924103578Z" level=debug msg="received containerd event: &types.Event{Type:\"exit\", Id:\"82457...x5748bd7d}"
May 27 21:34:58 pico-master docker[1116]: time="2016-05-27T21:34:58.647580399Z" level=warning msg="Registering as \"<IP_ADDRESS>:2375\" in discovery failed: can...n sessions"
May 27 21:34:58 pico-master docker[1116]: time="2016-05-27T21:34:58.683884447Z" level=error msg="discovery error: Get http://<IP_ADDRESS>:8500/v1/kv/docker/node...on refused"
May 27 21:34:58 pico-master docker[1116]: time="2016-05-27T21:34:58.684968644Z" level=error msg="discovery error: Put http://<IP_ADDRESS>:8500/v1/kv/docker/node...on refused"
May 27 21:34:58 pico-master docker[1116]: time="2016-05-27T21:34:58.686406219Z" level=error msg="discovery error: Unexpected watch error"
Hint: Some lines were ellipsized, use -l to show in full.

$ sudo systemctl status cluster-lab -l
● cluster-lab.service - hypriot-cluster-lab
   Loaded: loaded (/etc/systemd/system/cluster-lab.service; enabled)
   Active: active (exited) since Fri 2016-05-27 21:34:30 UTC; 12min ago
 Main PID: 888 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/cluster-lab.service
           └─975 dhclient eth0.200

May 27 21:33:36 pico-master cluster-lab[327]: dpkg-query: error: error writing to '<standard output>': Broken pipe
May 27 21:33:46 pico-master cluster-lab[327]: Device "eth0.200" does not exist.
May 27 21:33:46 pico-master cluster-lab[327]: dpkg-query: error: error writing to '<standard output>': Broken pipe
May 27 21:33:47 pico-master cluster-lab[327]: dpkg-query: error: error writing to '<standard output>': Broken pipe
May 27 21:33:49 pico-master cluster-lab[888]: dpkg-query: error: error writing to '<standard output>': Broken pipe
May 27 21:33:49 pico-master cluster-lab[888]: dpkg-query: error: error writing to '<standard output>': Broken pipe
May 27 21:33:53 pico-master dhclient[965]: DHCPREQUEST on eth0.200 to <IP_ADDRESS> port 67
May 27 21:33:53 pico-master dhclient[965]: DHCPACK from <IP_ADDRESS>
May 27 21:34:30 pico-master systemd[1]: Started hypriot-cluster-lab.

What else do you need ? How can I fix it ?
Thanks,
Nicolas

Please paste the output of cluster-lab health.
Does eth0.200 exist?

Hi,
$ sudo cluster-lab health

Internet Connection
  [PASS]   eth0 exists
  [PASS]   eth0 has an ip address
  [PASS]   Internet is reachable
  [PASS]   DNS works

Networking
  [FAIL]   eth0.200 exists
  [FAIL]   eth0.200 has correct IP from vlan network
  [FAIL]   Cluster leader is reachable
  [FAIL]   eth0.200 has exactly one IP
  [PASS]   eth0.200 has no local link address
  [PASS]   Avahi process exists
  [FAIL]   Avahi is using eth0.200
Cannot find device "eth0.200"
  [FAIL]   Avahi cluster-leader.service file exists
Cannot find device "eth0.200"

DNSmasq
  [PASS]   dnsmasq process exists
  [FAIL]   /etc/dnsmasq.conf backup file exists

Docker
  [PASS]   Docker is running
  [FAIL]   Docker is configured to use Consul as key-value store
  [FAIL]   Docker is configured to listen via tcp at port 2375
  [FAIL]   Docker listens on  via tcp at port 2375 (Docker-Engine)

Consul
  [PASS]   Consul Docker image exists
  [FAIL]   Consul Docker container is running
  [FAIL]   Consul is listening on port 8300
  [FAIL]   Consul is listening on port 8301
  [FAIL]   Consul is listening on port 8302
  [FAIL]   Consul is listening on port 8400
  [FAIL]   Consul is listening on port 8500
  [FAIL]   Consul is listening on port 8600
  [FAIL]   Consul API works
  [PASS]   No Cluster-Node is in status 'failed'
  [FAIL]   Consul is able to talk to Docker-Engine on port 7946 (Serf)

Swarm
  [FAIL]   Swarm-Join Docker container is running
  [FAIL]   Swarm-Manage Docker container is running
  [PASS]   Number of Swarm and Consul nodes is equal which means our cluster is healthy

As output of ifconfig, eth0.200 no longer exists :(
Thanks,
Nicolas

If I do a cluster-lab stop and then cluster-lab start, then eth0.200 exists but consul still fails to start.
My master is now <IP_ADDRESS> but consul tries to connect on <IP_ADDRESS>. It seems to be now my "worker 4".
I stopped cluster-lab on all nodes, then restarted cluster-lab from master node. From this point it worked well.
Is there any difference between systemctl cluster-lab start|stop and cluster-lab start|stop ?

The important thing is that you first start what will become your leader
node... It will announce its presence via Avahi. After one or two minutes
you can start the follower nodes which then should join the leader to form
a cluster.
Stopping the Cluster-Lab on all nodes was the right thing to do as it
resets the configuration on all nodes.
Am 28.05.2016 22:20 schrieb "Nicolas Steinmetz"<EMAIL_ADDRESS>If I do a cluster-lab stop and then cluster-lab start, then eth0.200 exists
but consul still fails to start.
My master is now <IP_ADDRESS> but consul tries to connect on <IP_ADDRESS>.
It seems to be now my "worker 4".
I stopped cluster-lab on all nodes, then restarted cluster-lab from master
node. From this point it worked well.
Is there any difference between systemctl cluster-lab start|stop and
cluster-lab
start|stop ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hypriot/cluster-lab/issues/42#issuecomment-222327882,
or mute the thread
https://github.com/notifications/unsubscribe/AAkiJtzUOM0pV89GEN6T6sso-HkZOh7Gks5qGKN8gaJpZM4Io46x
.

Hmm thanks, in fact, my issue happened due to an electrical issue at home. So all nodes restarted when electricity was back.
I thought that the 2mn issue was only for the 1st run and that for 2nd and later run, there were not this 2mn delay. I understand better now ; thanks !
But I tried to restart it (but not with shutting down all nodes indeed) with systemctl cluster-lab stop and start but seems that I had the docker issue (cf #36) and the eth0.200 issue that was no longer working.

Seems this issue is solved.

Yes indeed ; I forgot to close it - I was only expecting  a answer on the difference between systemctl cluster-lab stop/start vs cluster-lab stop/start.


TypeError: (0 , crypto_1.randomUUID) is not a function

I use soap 1.1.5 version. My node version is 14.16.1 where "crypto.randomUUID" function is not added yet (see https://nodejs.org/api/crypto.html#cryptorandomuuidoptions). In soap 1.1.5 version "engines.node" says ">=14.0.0" which seems to be wrong since "crypto.randomUUID" added for the first time in node  v14.17.0
crypto.randomUUID" used in '/soap/lib/client.js' line 367():
const eid = options.exchangeId || (0, crypto_1.randomUUID)();
package.json:
"name": "soap",   "version": "1.1.5",   "engines": {     "node": ">=14.0.0"   },
I believe this issue is present in the latest version as well.

Hi @TarasKomaryshyn
Sorry for the wrong info about minimal node version.
It was major work in version 1.1.0 to fix all the security issues and remove unwanted dependencies.
I am happy to update package.json to the correct node version.
Would you be able to upgrade your node to 14.17.0?

Hi @w666,
Yes, I think it'll be the best solution.
Thanks.


Remove fetching committer GitHub account name in seed job

Fixes #26602
Since May 8, Jenkins slave nodes can no longer access to the LDAP server and seed job permared since them. In addition to that, LDAP no longer hosts beam committers' GitHub usernames (https://issues.apache.org/jira/projects/INFRA/issues/INFRA-24579?filter=allopenissues). This PR removes the changes made in #12407 and brings seed job back green.
For now, unless manually populate Committer.groovy, comment trigger will not work for the following jobs:

seed_00_job
seed_job_standalone
beam_Publish_Docker_Snapshots
beam_Dependency_Check
beam_Metrics_Report

the latter 3 defined enablePhraseTriggeringFromPullRequest(prPermitAll=false)
Committers can still trigger these jobs against a PR via Jenkins UI. The steps is:

In https://ci-beam.apache.org/ choose the task to run, in Configure tab, Add Parameter -> Add String parameter, add a parameter named ghprbPullId and Save
In Build with Parameters tab, fill sha1 with origin/pr/4001/head and ghprbPullId as 4001 then build.

Note that this method build the seed job directly from the PR branch, not that the PR branch merged onto master (as the triggers originally did). So rebase onto the latest master before running the seed job is recommended
We may still want to find a new way to fetch committer github user names. However the recommendation in https://issues.apache.org/jira/projects/INFRA/issues/INFRA-24579?filter=allopenissues (INFRA provided a relay to pass the trigger to Jenkins GitHub hook only the author is committer) does not quite fit the current workflow
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:

[ ] 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.

Triggered seed job: https://ci-beam.apache.org/job/beam_SeedJob/11557/console
R: @damccorm @kennknowles

Thanks, sent https://lists.apache.org/thread/f9koxtfytldz1hr78zhdn5f8g8tzcc3q to the devlist


Inconsistent error message during APEX compilation, for missing colon, between deploy and run Anonymous Apex

Summary
For the same code run as Anonymous Apex or deployed on class save to org, there are different error messages. This one from Anonymous run is misleading.
Steps To Reproduce
Having this apex code:
private static Contact createTestContact(Account acc) {
	Contact newContact = new Contact();
		newContact.AccountId = acc.Id;
		newContact.FirstName = 'Bob';
		newContact.LastName = 'Smith';
		newContact.Status__c = 'Active';
		newContact.Phone = '+49012345678';
		newContact.Email =<EMAIL_ADDRESS>		newContact.Academic_Title__c = 'Dr.';
		newContact.Gender__c = 'Male' // <-- It is missing semicolon here.

		insert newContact;
		return newContact;
}

Create an apex class paste this code and try to save it to Salesforce. (I did that in VSCode).

Create anonymous apex file, paste it and run with command  sf apex run --file xTemp.apex

Expected result

In both cases I expect to get the error: "Unexpected token 'insert'." as the semicolon is missing before insert (in the line above).
Actual result

When code is run in Anonymous Apex I get the error: "Unexpected token 'private'." which refers to the whole block of the code. Then I am confused about what is wrong with this block. Need to do a deeper search.
System Information

{
  "architecture": "win32-x64",
  "cliVersion"<EMAIL_ADDRESS>  "nodeVersion": "node-v20.10.0",
  "osVersion": "Windows_NT 10.0.22631",
  "rootPath": "C:\\Users\\pwozn\\AppData\\Local\\sf\\client\\2.23.20-50cd2d8",
  "shell": "cmd.exe",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.0.4 (core)",
    "@oclif/plugin-commands 3.1.0 (core)",
    "@oclif/plugin-help 6.0.9 (core)",
    "@oclif/plugin-not-found 3.0.7 (core)",
    "@oclif/plugin-plugins 4.1.14 (core)",
    "@oclif/plugin-search 1.0.10 (core)",
    "@oclif/plugin-update 4.1.7 (core)",
    "@oclif/plugin-version 2.0.11 (core)",
    "@oclif/plugin-warn-if-update-available 3.0.8 (core)",
    "@oclif/plugin-which 3.0.14 (core)",
    "@salesforce/cli 2.23.20 (core)",
    "apex 3.0.14 (core)",
    "auth 3.1.0 (core)",
    "data 3.0.13 (core)",
    "deploy-retrieve 2.2.12 (core)",
    "info 3.0.13 (core)",
    "limits 3.1.0 (core)",
    "marketplace 1.0.15 (core)",
    "org 3.2.0 (core)",
    "packaging 2.1.1 (user)",
    "schema 3.1.0 (core)",
    "settings 2.0.14 (core)",
    "sobject 1.0.7 (core)",
    "source 3.0.10 (core)",
    "telemetry 3.1.8 (core)",
    "templates 56.0.8 (core)",
    "trust 3.2.5 (core)",
    "user 3.2.0 (core)",
    "@salesforce/sfdx-scanner 3.20.0 (user)",
    "sfdmu 4.32.2 (user)",
    "sfdx-essentials 2.12.0 (user)",
    "sfdx-git-delta 5.33.0 (user)",
    "sfdx-hardis 4.25.0 (user)",
    "texei-sfdx-plugin 2.2.4 (user)"
  ]
}

Additional information

Side note for error message improvement. It would be useful actually to get an error "Missing semicolon at the end of the line 119". I think it is extremely uncommon in those days to have many statements in one line. Then it is safe to assume that when we have a line break and the line is not ended with a semicolon it is this syntax error.

Going to transfer this to the salesforcedx-vscode repo. Seems to be related to the Apex language server.


Update citadel.md

Project Abstract

Please replace these instructions with a brief description of your project summarising key points (1-2 paragraphs).
If your application is a follow-up to a previous grant, please mention which one in the first line of the abstract and include a link to previous pull requests if applicable.

Grant level

[ ] Level 1:  Up to $10,000, 2 approvals
[x] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x] I have read the application guidelines.
[x] A BTC, Ethereum (USDT/USDC/DAI) or Polkadot/Kusama (aUSD) address for the payment of the milestones is provided inside the application.
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[ ] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
[ ] The initial PR contains only one commit (squash and force-push if needed).
[ ] I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @_______:matrix.org (change the homeserver if you use a different one)

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

I believe, in this case, it was a misunderstanding. I’m sorry for this. I think there is no need for you to update the application at this stage (open the PR again) since you successfully delivered the milestone. Let me know if you need anything else. Also, something to be aware of, Ashley who evaluated your milestone no longer works for us.

Okay, thanks for the clear explanation.  We are interested in the period for which you plan to allocate assets for the first milestone.  If it has already been, I would like to inform you that we have not received them yet.

@citadeldao Sorry for the delay and thanks for chasing us. However, it looks like your invoice is denominated in BTC. Could you send us one in USD and we use the exchange rate on the day of the payment? (see https://github.com/w3f/Grants-Program/blob/master/applications/citadel.md, Total Costs: $22200)

Hi, thanks for the answer. This is our payment address:
USDC ERC20
0x0834bBD1c425C4610e4b1Dc1145636c9E3B64dE0
Also, should we change it in our milestone or it's enough to write it here?

@Noc2 We've updated our payment address. Here is our new PR: https://github.com/w3f/Grants-Program/pull/1216
Thanks


[Backport for 2.6.x] Execute shell on workload page not work correctly

Backport of issue https://github.com/rancher/dashboard/issues/6982, resolved in 2.7 via https://github.com/rancher/dashboard/pull/6981
It's a small fix (1 new line, 1 edited line) and should be straight forward to backport

Completed via https://github.com/rancher/dashboard/pull/7718

Ticket #7274 - Test Results - ✅
With Docker on a single-node instance:
Verified on rancher v2.6-ac694c9cd0b0e2e89e894e0b92050e76cdc1fe33-head:

Fresh install of rancher v2.6-head
Provision a downstream cluster - [ I used RKE2 AWS Node driver w/ k8s v1.24.8+rke2r1 ]
Once active, create three namespaces under default project - [ a, b, c ]
Create the same deployment in each namespace
For each namespace, filter by namespace and execute shell
Verified - filter successfully filters namespaces; execute shell launches in correct pod
Filter only a + b (excluding c), and launch execute shell for each namespace deployment
Verified - filter successfully filters namespaces; execute shell launches in correct pod
Filter a + b + c , and and launch execute shell for each namespace deployment
Verified - filter successfully filters namespaces; execute shell launches in correct pod

Screenshot:
Step 9


[TDX][Kernel] Evaluate and optimize OHCL-Linux configuration

Optimize the Linux kernel configuration for memory/performance/security using the latest settings including ones specific to the SPR+ generations of processors.

Following configurations were proposed in email. Some like the CPU frequency and tickless kernel configuration are already in use.
CONFIG_NO_HZ_FULL=y – enables “tickles kernel” mode. Omits scheduling clock tick on CPU that are either idle or that have only one runnable task. This is done in conjunction with isolating CPUs.
CONFIG_CPU_ISOLATION=y – avoids kernel scheduling threads into isolated CPUs where real-time tasks are run.
CONFIG_RCU_NOCB_CPU=y This kernel config option will disable RCU callbacks on the CPUs specified in the rcu_nocbs kernel command line parameter.
CONFIG_CPU_FREQ=n This disables CPU frequency scaling support.
CONFIG_KSM=n Disables Kernel Samepage Merging.
CONFIG_HZ_1000 This config item enables the highest tick frequency on x86, which should be useful for decreasing scheduling latency
CPU isolation involves configuring system by isolating tasks to some CPUs that are not let to go idle and RCUs, IRQs and kernel threads offloaded to other CPUs.  This is done using isolcpus and irqaffinity kernel parameters.  Cgroups can be used to partition the CPUs as well.  Disabling cstates and pstates using intel_idle.max_cstate=0, processor.max_cstate=0, idle=poll, intel_pstate=disable keeps the CPUs always active.  These configurations are done to increase real-time performance and response of CPUs. This removes power savings and may reduce thermal protection in favor of CPU performance.
Another option proposed by Ravi was RDT (Resource Director Technology). This involves partitioning of resources in the system to optimize use of cache and memory bandwidth. My initial findings show this may help in systems with multiple applications sharing the resources.

Could you assign this to me so that I can be evaluated.


Use new lock-free data structures for capture storage

This PR stacks on #61 to reimplement capture storage on top of the new lock-free stream primitive.
First, we add new stream types which build on the basic stream implementation:

data_stream provides storage for arbitrary Pod types.
index_stream provides storage for monotonically increasing values that can be represented as a u64.

Next, we make several interdependent changes together in a single commit:

Replace all FileVec instances with data streams.
Replace all HybridIndex instances with index streams.
Split Capture into CaptureReader and CaptureWriter.
Split EndpointTraffic into EndpointReader and EndpointWriter.
Reimplement data structures which must be shared between writers and readers, e.g. DeviceData, by using:

Atomics from std::atomic.
The ArcSwap and ArcSwapOption types.
A SingleWriterRcu helper trait implementing read-copy-update.

Remove the capture argument from decoder methods, since the decoder can now own the CaptureWriter directly.
Remove the lock calls previously needed to access the capture, since each reader can now have its own read handle.

These changes complete the transition to lock-free capture access, but using uncompressed indexes.
Finally, we add a compact_index implementation which reimplements the compression scheme from HybridIndex on top of data_stream and index_stream, and use this to replace the uncompressed indexes.

Rebased on main after merge of #61.


Error when using TTA strategy for test: box and score lengths are not equal

When I run test using the TTA strategy I get an error:
python test.py --cfg_file cfgs/det_model_cfgs/centerpoint_1sweep.yaml --ckpt <PATH_TO_CKPT> --set DATA_CONFIG.TTA True
Exception has occurred: ValueError
Length of boxes not equal to length of scores.
File "/workspace/DetZero/detection/detzero_det/utils/ensemble_utils/wbf_3d.py", line 16, in prefilter_boxes
raise ValueError("Length of boxes not equal to length of scores.")
File "/workspace/DetZero/detection/detzero_det/utils/ensemble_utils/wbf_3d.py", line 151, in weighted_boxes_fusion_3d
filtered_boxes = prefilter_boxes(boxes_list, scores_list, labels_list, weights, skip_box_thr)
File "/workspace/DetZero/detection/detzero_det/utils/ensemble_utils/ensemble.py", line 17, in wbf_online
boxes, scores, labels = weighted_boxes_fusion_3d(
File "/workspace/DetZero/detection/detzero_det/models/centerpoint.py", line 207, in test_time_augment
boxes, scores, labels = wbf_online(boxes, scores, labels)
File "/workspace/DetZero/detection/detzero_det/models/centerpoint.py", line 299, in post_processing
final_boxes, final_scores, final_labels = self.test_time_augment(batch_dict, pred_dicts)
File "/workspace/DetZero/detection/detzero_det/models/centerpoint.py", line 38, in forward
pred_dicts, recall_dicts = self.post_processing(batch_dict)
File "/workspace/DetZero/detection/tools/eval_utils.py", line 73, in eval_one_epoch
result = model(batch_dict)
File "/workspace/DetZero/detection/tools/test.py", line 68, in eval_single_ckpt
eval_utils.eval_one_epoch(
File "/workspace/DetZero/detection/tools/test.py", line 203, in main
eval_single_ckpt(model, test_loader, args, eval_output_dir, logger, epoch_id, dist_test=dist_test)
File "/workspace/DetZero/detection/tools/test.py", line 207, in
main()
ValueError: Length of boxes not equal to length of scores.

You can refer to this link： https://github.com/PJLab-ADG/DetZero/issues/34#issuecomment-1800922639

You can refer to this link： #34 (comment)

thanks

You can refer to this link： #34 (comment)

thanks


sh: 1: [COMMAND]: not found when executing command

I'm running into these errors on Debian 11
copilot show history
>  history
    execute
    copy
    explain shell

execute :
sh: 1: history: not found

copy :
> history
> copied
Traceback (most recent call last):
  File "/home/[USER]/.local/bin/copilot", line 8, in <module>
    sys.exit(main())
  File "/home/[USER]/.local/lib/python3.9/site-packages/copilot/copilot.py", line 95, in main
    subprocess.run(["pbcopy"], input=cmd, encoding="utf-8")
  File "/usr/lib/python3.9/subprocess.py", line 505, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pbcopy'

Copilot is not always correct, and I am guessing the history command dosent work in your shell?
Can you run 'history' separately i the shell?
Also try running copilot again and change your prompt slightly like "get the history in Debian" and see if that works.

I am on Pop_OS (Ubuntu) and I got the " No such file or directory: 'pbcopy'" error when I attempted to select "Copy". I didn't see pbcopy as a requirement, and I don't think I have ever even heard of it before.  A quick search of it looks like that might be a Mac only command? Linux typically uses xclip or xsel.

I put together a pull request for this change here: https://github.com/Methexis-Inc/terminal-copilot/pull/19

Awesome!