VS Code opening after at least 3 tries

Type: Performance Issue
Hi,
I am using VS code for a long time and have experienced no performance issues, but recently my VS code is taking a very long time to open and it also doesn't open in a single try. A dialog box keeps popping up saying either to wait or to close the editor and another option of "don't restore editors" is also present in the dialog box.
I have an SSD and a decent amount of ram.
What to do?
Email<EMAIL_ADDRESS>VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:57:04.379Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (8 x 2419)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
7.73GB (1.71GB free)

Process Argv
--crash-reporter-id 4bc9d94e-7023-4881-ac2a-78e2f89d5afe

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    0	    97	 10936	code main
    0	    27	  5012	   crashpad-handler
    0	   100	  7360	shared-process
    0	    49	 10288	   utility-network-service
    0	    87	 16224	window [3] (Issue Reporter)
    0	    92	 20244	fileWatcher [1]
    3	   221	 20344	window [1] (Untitled (Workspace) - Visual Studio Code)
    0	    80	 25112	ptyHost
    0	   110	 25836	extensionHost [1]
    0	   168	 26088	   gpu-process

Workspace Info
|  Window (Untitled (Workspace) - Visual Studio Code)
|    Folder (Python Drop): 18 files
|      File types: py(16)
|      Conf files:
|    Folder (HTML): 136 files
|      File types: html(39) webp(35) jpg(7) download(6) pdf(5) css(4) jpeg(1)
|                  py(1) loaded_0(1) png(1)
|      Conf files:
|    Folder (C): 0 files
|      File types:
|      Conf files:
|    Folder (C++): 25 files
|      File types: exe(8) cpp(8) c(1)
|      Conf files:
|    Folder (JavaScript): 4 files
|      File types: html(2)
|      Conf files:
|    Folder (Java): 1 files
|      File types: java(1)
|      Conf files:;

Extensions (10)

Extension
Author (truncated)
Version

python
ms-
2023.10.1

vscode-pylance
ms-
2023.6.30

java
red
1.19.0

intellicode-api-usage-examples
Vis
0.2.7

vscodeintellicode
Vis
1.2.30

vscode-java-debug
vsc
0.51.0

vscode-java-dependency
vsc
0.23.0

vscode-java-pack
vsc
0.25.11

vscode-java-test
vsc
0.39.0

vscode-maven
vsc
0.41.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263:30773603
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
2i9eh265:30646982
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
a2ce3375:30757347
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixshowwlkth:30771522
hideindicator:30766889
pythongtdpath:30769146
gsof1:30774496
dh2dc718:30770000
pythonidxpt:30772539
pythondjangots:30772535
pythonnocebcf:30773527

Probably https://github.com/microsoft/vscode/issues/178962

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


MM-60425 Making clickable images work inside Markdown

Summary

The following ticket reported that images that were wrapped into a link inside Markdown were not triggering the link itself, but just opened the image.
Previous behavior:
https://github.com/user-attachments/assets/6260c2d1-c831-40d3-9835-ac602ca8c70b
I changed the behavior, now if an image is inside a link in Markdown, the user will be able to navigate to the link:
https://github.com/user-attachments/assets/c69ed639-3f00-49ab-b586-7fcdd9dbffb1
Ticket Link

https://mattermost.atlassian.net/browse/MM-60425
https://github.com/mattermost/mattermost-mobile/issues/8208
Checklist

[ ] Added or updated unit tests (required for all new features)
[X] Has UI changes
[X] Includes text changes and localization file updates
[X] Have tested against the 5 core themes to ensure consistency between them.
[ ] Have run E2E tests by adding label E2E iOS tests for PR.

Device Information
This PR was tested on:

iOS Simulator 17.2
Android Simulator API 33

Screenshots

It doesn't have any UI changes
Release Note

Images inside Links within Markdown are now clickable for link navigation.

Thanks for the feedback!!
I'll work on the changes this week!

Thanks for all the feedback :) That was great! Code is much better now.
Can you review it again?

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!


Array parameters shown as "[I" in region method summary

Description
Region description for method under test improperly displays parameter arrays. For instance when int[] is passed as parameter it becomes [I in region description.
To Reproduce

Install UnitTestBot plugin built from main in IntelliJ IDEA
Generate tests for following code

    int sum(int[] array) {
             return Arrays.stream(array).sum();
    }

Expected behavior
Region description with tests for that method looks like this
///region FUZZER: SUCCESSFUL EXECUTIONS for method sum(int[])

Actual behavior
///region FUZZER: SUCCESSFUL EXECUTIONS for method sum([I)

Environment
IntelliJ IDEA version - 2023.2.1
UTBot Plugin - 2023.9.520
Additional context
In Utbot plugin 2023.3 it looks normal, so I consider this as regression problem.

Another note is about nested enums used as parameter, now it's separated with dollar sign, while previously it was dot. For example generate tests for org.utbot.examples.enums.ClassWithEnum#nullEnumAsParameter
// now
///region FUZZER: SUCCESSFUL EXECUTIONS for method nullEnumAsParameter(org.utbot.examples.enums.ClassWithEnum$StatusEnum)

// previously
   ///region SYMBOLIC EXECUTION: SUCCESSFUL EXECUTIONS for method nullEnumAsParameter(org.utbot.examples.enums.ClassWithEnum.StatusEnum)

Caused by #2459


New version: Bosyun.BoardMix version 1.3.1 [FP-D]

Result: Installation Successful

Manifest
Add/Remove Programs

Name
BoardMix
BoardMix 1.3.1

Version
1.3.1
1.3.1

Publisher
BoardMix
BoardMix

ProductCode

b9464f48-5337-57a6-aa1d-adc298f5233d

Auto-updated by vedantmgoyal2009/winget-pkgs-automation in workflow run 3763

I added the preview version manifest here: https://github.com/microsoft/winget-pkgs/pull/87531. It's merged in so you can close this if you'd like, thanks!

@vedantmgoyal2009 not yet, but about to be very soon!


Anything chef-brigade can do to help?

Is there anything @chef-brigade can do to help out? We're probably going to start using this in our infra, so we want to keep it awesome.
If you need any administrative help, want a slack channel, website, testing infra &c, just let us know. It doesn't need to have the brigade name anywhere on it.

@gmiranda23 @tas50 I am also happy to help. I have not implemented ntp support in the system cookbook and would prefer to simply consume this one on the high level as a dependency. Would like to help ninja the issues and pull requests.

@josephholsten and @flaccid we're welcome to any help on this cookbook.  I'm co-maintainer now and I'm prioritizing keeping up on the PRs / issues during work hours.  If you open up a PR I'll be sure to get back to you.


GHE instance not generating labels

The GHE instance of this isn't working for me 😕
First thing - homepage (before login) js error, possibly unrelated:
app.js:187 - Uncaught TypeError: Cannot read property 'addEventListener' of undefined
Steps to reproduce:

login
switch to different org
select 1 repo
add a few labels
delete some other labels
delete whole "environment" label group
click generate
💥
refreshes/redirects back to my repos.

Labels are unchanged on the repo, no style guide wiki generation, no branch, no PR.
Not getting any errors client side during submission, so I'm a bit stumped. Wondering if it's something server side? On post to https://reparo.mybluemix.net/labels, I get a 302 status. Request payload details here because it's a wall of text. Image for reference:

If it's not confidential, can you post the name of the org/repo you're trying to use this on? Does it effect all repos you try with, or just one?

Unfortunately confidential. 😕 That said, I tested it on a test personal repo, and I didn't have any issues. The repo I'm attempting to configure is owned by an org that I'm an admin within.
I thought the issue might somehow stem from having the master branch protected, but I removed that and still no dice.


GromovWasserstein API unclear compared to Sinkhorn

The GromovWasserstein solver hides quite a lot of arguments in *args and **kwargs.
For a new user it is unclear that you can set an implicit_diff argument for example, since they would have to navigate first to WassersteinSolver, then to Sinkhorn.
This could be fixed either by making some arguments explicit, or by expanding the documentation to make it just as nice as the Sinkhorn solver.

Hi Geert, thanks for your great comment.
I think you are right, this is worth refactoring a bit.
We have args, kwargs and kwargs_init. It's also true that the WassersteinSolver class is a bit obscure, and needs better context. It's essentially used to solve problems where various (e.g. barycenter) or one (GW) linear solver is repeatedly used. Will keep this issue open until we find a better solution.

I'm not that familiar with the codebase, but would it be possible to remove default values in the parent class WassersteinSolver and just repeat the arguments explicitly in GromovWasserstein?
Actually, some arguments seem repeated in GromovWassersteinBarycenter already! So regardless of the chosen solution, this should be harmonized.


Static Images wrong mapping in some devices

Description
I used static images that are all png files and are stored within the assets folder from src that are created by me all are and then created .js file to export all the images like  export const Im_ico_lock = require('../assets/lock.png'); and then import the Im_ico_lock file from that js file and used in <Image source={Im_ico_lock} /> in the rendering component and it is working fine but when make apk file using
npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
then cd android and lastly ./gradlew assembleDebug
In most devices images are okay but in some devices these static images are wrongly mapped i.e, instead of lock image there is another image displayed ...not understand that please explain this behaviour was happening and please help what is the wrong and what is the  solution here to remove that problem.
React Native Version
0.70.6
Output of npx react-native info
It is the related issue of UI rendering static images that are stored in are displayed but wrongly mapped in UI in some devices.
Steps to reproduce
when i make apk file using
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
making an assets directory in the following src/main/ directory
'cd android' and ./gradlew assembleDebug
to produce the apk file and install in the devices and produce this behaviour in some of the devices
Snack, code example, screenshot, or link to a repository
images are exported from somewhere like export const Im_ico_lock = require('../assets/lock.png') after storing the .png file in assets directory and then import {Im_ico_lock} from '../location';
and used in <Image  source={Im_ico_lock} />

upgraded to the latest one already but the problem still exist please help what may be the wrong here? for that type behaviour

this a problem with Fresco, duplicate of: https://github.com/facebook/react-native/issues/32884
only solution is to uninstall the app and reinstall.

@efstathiosntonas  i already added  implementation 'com.facebook.fresco:animated-gif:2.5.0' i have to upgraded it to 3.0.0 ??

@iasreact1 yes but I could not make it build on rn 0.71.6
@cortinico is there something we can do or we’ll have to wait for 0.72+? Thanks

@cortinico is there something we can do or we’ll have to wait for 0.72+? Thanks

You can manually update the Fresco version in your project to 3.x, you don't have to wait for us to do it. We won't be updating the default Fresco version till we've fully tested it and make sure there are no major regressions.

Please fix this issue. fresco 3.0.0 crashseh my app


Prepare for 4.0.1 release.

Prepare for 4.0.1 release.

Changed lib version from 4.0.0 to 4.0.1.
Updated to doxygen config for better content generation.

Linux test PASSed.

Windows test PASSed.


Ollama pull model without internet when run with docker

When I run Ollama run gemma:2b inside docker, it will download blobs folder and manifests folder in /root/.ollama/models.
In private enviroment without interner, I copy blobs & manifests folders, when I run ollama run <name model>, it not working.
How can I achieve this?

The Ollama cache is really difficult to manually move because the manifest files for each model implement a symlink-like reference to the underlying blob files that is different from OS-level symlinking; moving the files or changing any of the parent directories' names will break the cache completely.
Note that my solution assumes that your Docker installation binds /root to your $HOME directory. If your virtual storage is configured differently, you may have to tweak this a bit.
To accomplish what you're asking, you would need to first (prior to downloading models) create your own symlink at $HOME/.ollama/models that points to a directory that you intend to use for your downloaded models. For example:
mkdir -p "$HOME/.ollama/sandbox/models"
ln -s -F "$HOME/.ollama/sandbox/models" "$HOME/.ollama/models"

Ollama will still look for models at $HOME/.ollama/models (and that symlink pointer will need to persist), but you could conceivably use this technique with your own setup; tweaks may be required depending on what you're doing with your environments.
Alternatively, you can set the OLLAMA_MODELS environment variable to point to a different download directory. Again, you can't move the cache files or change the names of parent directories, but you could set this to a directory that has shared access with your internet-accessing environment.

thanks

Hey, for using Ollama offline, you can import the models privately (or pull in advance of disconnecting from the internet)
https://github.com/ollama/ollama/blob/main/docs/import.md
Let me know if this helps! Thank you so much!


Add binder transport benchmark

This PR implements binder transport benchmark using the same framework as HTTP/2 benchmark.

Ready for review. TransportStreamRecv benchmark is not ported yet due to the ExecCtx issue mentioned in #27052 which causes stackoverflow due to an excessive depth of recursion.

looks like the microbenchmarks build is failing:
ERROR: Skipping '//test/cpp/microbenchmarks:bm_binder_transport': no such target '//test/cpp/microbenchmarks:bm_binder_transport': target 'bm_binder_transport' not declared in package 'test/cpp/microbenchmarks' defined by /tmpfs/src/github/grpc/test/cpp/microbenchmarks/BUILD
WARNING: Target pattern parsing failed.
ERROR: no such target '//test/cpp/microbenchmarks:bm_binder_transport': target 'bm_binder_transport' not declared in package 'test/cpp/microbenchmarks' defined by /tmpfs/src/github/grpc/test/cpp/microbenchmarks/BUILD

looks like the microbenchmarks build is failing:

Isn't that because the CI is trying to run bm_binder_transport on the current master to calculate the difference? I'm not 100% sure but judging from the output it was failing at bm_build.build(old, args.benchmarks, args.jobs, args.counters) when it was trying to build the benchmark on the diffbase.

Ping @sifmelcara. Can you take a look at this again? Thanks!


Add example proving knowledge of cubic equation solution

The example of knowing a solution to the cubic equation of x^3 + x + 5 = y
is effectively the first thing you come across when dissecting the zkSNARKs
knowledge if your background is in blockchain. This is probably thanks
to Vitalik who decomposes the problem into the primitives in his blog
post here.
This commit adds this as a working example to Spartan repo.

cc @srinathsetty

Thanks @kubkon for adding the example!
Could you please sign the CLA so I can merge.

EDIT: @srinathsetty I've added a build step to the CI config so that examples are also always built. In the meantime, it seems there's been a regression in the nightly compiler and one of the project's deps fails to build anymore (packed_simd to be exact). As a temp solution I've made sure the CI uses the latest toolchain that was known to have been still functional (nightly-2020-09-15 to be exact).

Great, thanks! I’ll merge this shortly.
I had a quick question: in your example, it seems like x is a public input. Wouldn’t it make sense to have y as public input and x as secret input?

@kubkon Great, thanks! I’ll merge this shortly.
I had a quick question: in your example, it seems like x is a public input. Wouldn’t it make more sense to have y as public input and x as secret witness?

You're absolutely right, thanks for spotting that one @srinathsetty! I've now fixed it :-)


Is there a typo in release version?

The release on 21st Jan 2019 has version 2.6.1. The release before this one, on 15th Jan 2019, had version 2.8.0.
Did you mean to release 2.8.1 or am I missing something?

We did release a bugfix for multiple releases, however the last one is 2.8.0


Insufficient_quota error

Hi,
I am using three different openAI accounts, which all have API credit, however MatGPT is responding "Insufficient_quota" from two days ago for all the accounts.
I would be greatly appreciate it if you can help me through this.
Regards,

Check this forum thread and see if this applies to you. https://community.openai.com/t/429-error-insufficient-quota/492350
MatGPT cannot fix the issues you have with OpenAI account.

Thank you very much for your response. It was a billing problem for my openAI account.


Add a snapshot structure and add commitLineChange table

Summary
In This PR,I update a snapshot structure to store each commit code-snapshot.Using this structure,we can get some history message such as who is the previous author in each deleted line,how long do these deleted lines exist and so on.
Does this close any open issues?
related to #1771
Screenshots

This structure is similar to git-import tool in clickhouse repo
Other Information
Any other information that is important to this PR.

Hi, @xgdyp, thank you very much for the contribution.
Would you mind fixing the golangci-lint error reported from the Github Action?

OK, now I'm fixing it.

hi @klesh , I've done these work. Please review it again,thanks


drivers: GPIO Added GPIO for SAM family.

Added GPIO driver for SAM family of SoCs.
Signed-off-by: Justin Watson<EMAIL_ADDRESS>

I tested these changes on the SAM E70 Xplained hardware and the SAM4S Xplained Hardware. I used the samples "blinky" and "button".

@galak Can you get @mnkp on the reviewer list?

Codecov Report

Merging #6437 into arm will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              arm    #6437   +/-   ##
=======================================
  Coverage   53.05%   53.05%
=======================================
  Files         430      430
  Lines       41020    41020
  Branches     7908     7908
=======================================
  Hits        21764    21764
  Misses      16032    16032
  Partials     3224     3224

Continue to review full report at Codecov.

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

@fallrisk I foobar'd this PR.  I was trying to rebase it and accidentally pushed the wrong branch.  Can you push the GPIO change again.  Sorry about that

SAM E70 goes up to E.

So shouldn't the driver go up to E as well?

Yes, will fix that in a few mins.

Looks like you are out of date w/upstream arm branch.  I rebased and pushed an update against it.


[Snyk] Upgrade tslib from 1.14.1 to 2.4.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade tslib from 1.14.1 to 2.4.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

Warning: This is a major version upgrade, and may be a breaking change.

The recommended version is 10 versions ahead of your current version.
The recommended version was released 3 months ago, on 2022-10-31.

Release notes

Package name: tslib

2.4.1 - 2022-10-31This release contains fixes for early returns and throws invoked on generators.

2.4.0 - 2022-04-22This release includes the __classPrivateFieldIn helper as well as an update to __createBinding to reduce indirection between multiple re-exports.

2.3.1 - 2021-08-11This release updates the __spreadArray helper for TypeScript 4.4 to correctly operate on collections that are not "concat-spreadable" such as the DOM's NodeLists and HTMLCollections.

2.3.0 - 2021-06-11This release updates tslib to use TypeScript 4.4's upcoming __spreadArray helper which correctly preserves sparse array inputs (e.g. arrays containing "missing" elements like [1, 2, , 4]). This new version of __spreadArray is backwards-compatible and is often also faster. See #151 for more details.

2.2.0 - 2021-04-05This release supports TypeScript 4.3's new functionality for ECMAScript private methods and accessors, and private static class members.
It does so by expanding the scope of __classPrivateFieldGet and __classPrivateFieldSet. See #146 for more details.

2.1.0 - 2021-01-05This release adds a new __spreadArray helper which avoids side-effects compared to the now-deprecated __spreadArrays and __spread helpers. See #133 for more details.
This release also provides a more-specific error message when extending from a type which is not a function and not null. See #138 for more details.

2.0.3 - 2020-10-09Full discussion in the webpack issue

2.0.2 - 2020-10-06This release adds support for using tslib in Node using esmodule imports, further context in #126 and the related issues.

2.0.1 - 2020-08-06

2.0.0 - 2020-05-13

1.14.1 - 2020-10-09Long discussion in the webpack issues

    from tslib GitHub release notes

Commit messages

Package name: tslib

8acd4b3 Bump version to 2.4.1.
5f7365e Remove extra line in generator.md
b1d38ee Fix early call to return/throw on generator (#186)
4e27e9f Merge pull request #181 from microsoft/users/GitHubPolicyService/201dd6b7-4ca8-49f3-9744-61af1a7eb442
7af3973 Microsoft mandatory file
5bfaf87 Merge pull request #172 from microsoft/add-test-vite
a7129c7 Update bower.json
5b7da89 Update package.json
f541748 Drop node@10 from test matrix, add node@16
8860d61 Add a test for vite
c827964 Merge branch 'EB-Forks-docs/add-tsdoc'
fbf48a8 Merge branch 'docs/add-tsdoc' of https://github.com/EB-Forks/tslib into EB-Forks-docs/add-tsdoc
15f98b6 optimize `__createBinding` (#168)
06853a8 Update package.json: changed pattern "./" to "./*" (#135)
7012efc Merge pull request #164 from penx/license-update
5b8af4e Update license within js files
7def9b5 Merge pull request #160 from penx/patch-1
f0563d9 Don't require license to be included by bundlers
481d352 Merge pull request #157 from bloomberg/private-fields-in-in
c1fbc71 [squash] add export to index.js
ad11408 adds __classPrivateFieldIn
251802e Bump version to 2.3.1.
ffb6938 Merge pull request #155 from microsoft/fixSpreadArrayForNonConcatSpreadables
dc0616a Fix __spreadArray for non-concat-spreadables

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@cs-raj version bump missing.

@cs-raj version bump missing.

Added Version Bump


Improve typings related to partial object returns

Describe the bug
The QueryDatabaseResponse type as defined in api-endpoints.d.ts does not expose the properties field on the objects within the results array. The results array is typed as a large union which does not allow type discrimination to narrow the result type.
To Reproduce
Node version: 14
Notion JS library version: 1.0.4
Typescript version: 4.4.5
This snippet will generate the type issue - this is intended for reproduction of the typing issue, and not as validly executable code.
import { Client } from '@notionhq/client';

const client = {} as Client;
const data = await client.databases.query({ database_id: 'foo' });
const resultObject = data.results[0];
if (resultObject.object === 'page') {
  resultObject.properties; // <-- a type error is generated here
}

TS error:
TS2339: Property 'properties' does not exist on type '{ parent: { type: "database_id"; database_id: string; } | { type: "page_id"; page_id: string; } | { type: "workspace"; workspace: true; }; properties: Record<string, { type: "number"; number: number | null; id: string; } | ... 17 more ... | { ...; }>; ... 9 more ...; url: string; } | { ...; }'.   Property 'properties' does not exist on type '{ object: "page"; id: string; }'.

Expected behavior
I would expect optional properties that are available on the returned results objects to be typed as optional, or a field to be present which can be used to discriminate the union, and allow access to the properties field.
Additional context
The type is defined as such:
export declare type QueryDatabaseResponse = {
    type: "page";
    page: EmptyObject;
    object: "list";
    next_cursor: string | null;
    has_more: boolean;
    results: Array<{
        parent: {
            type: "database_id";
            database_id: IdRequest;
        } | {
            type: "page_id";
            page_id: IdRequest;
        } | {
            type: "workspace";
            workspace: true;
        };
        properties: Record<string, { /** truncated here */}>;
        /** removed some properties here for brevity */
        object: "page";
        id: string;
        created_time: string;
        last_edited_time: string;
        archived: boolean;
        url: string;
    } | {
        object: "page";
        id: string;
    }>;
};

I believe that the last union is the issue - as it has the effect of removing all the previously declared types, and because object: "page"; is shared by both types in this union there is no property that can be used as a discriminator, in order to get access to the other fields.
Two solutions that I see:

add a type discriminator to the response
modify this type such that fields that may be optional are defined as optional. For example:

export declare type QueryDatabaseResponse = {
    type: "page";
    page: EmptyObject;
    object: "list";
    next_cursor: string | null;
    has_more: boolean;
    results: Array<{
        object: "page";
        id: string;
        parent?: {
            type: "database_id";
            database_id: IdRequest;
        } | {
            type: "page_id";
            page_id: IdRequest;
        } | {
            type: "workspace";
            workspace: true;
        };
        properties?: Record<string, { /** truncated here */}>;
        /** removed some properties here for brevity */
        created_time?: string;
        last_edited_time?: string;
        archived?: boolean;
        url?: string;
    }>;
};

I think 2 is simpler as it does not require any changes to the underlying api - whereas 1 may require an extra field be returned to allow type discrimination.

This problem is also present with the PartialUserObjectResponse type - which is defined as:
declare type PartialUserObjectResponse = {
    id: IdRequest;
    object: "user";
} | UserObjectResponse;

Because there is no property which can act as a type discriminator, this type does not allow access to any of the properties defined on UserObjectResponse except what is common to the union (eg: id and object).
Would you be open to a PR which fixes this through making the types an intersection of partials rather than a union?
for example:
PartialUserObjectResponse = {
  id: IdRequest;
  object: "user";
} & Partial<UserObjectResponse>

This would allow access to the properties defined on UserObjectResponse with each being optionally present.

Running into that issue as well

I hope this gets solved soon. I'm also having this problem

This seems to be working for me, maybe this will help somebody:
type PageResult = Extract<QueryDatabaseResponse['results'][number], {parent: {}}>;
type PageProperty<T> = Extract<PageResult["properties"][string], { type: T }>;

Just facing this issue when playing around with Notion API 💥

This also happens for the SearchResponse. If you try searchResponse.results[0].properties TS throws an error. Looks like the only valid props are id and object. I tried to scope the access by doing searchResponse.results[0].object === "page" && searchResponse.results[0].properties but didn't work as well.

Hi! In our last release we added some helper and utility functions.
https://github.com/makenotion/notion-sdk-js#typescript
Here is an example:
const fullOrPartialPages = await notion.databases.query({
  database_id: "897e5a76-ae52-4b48-9fdf-e71f5945d1af",
})
for (const page of fullOrPartialPages) {
  if (!isFullPage(page)) {
    continue
  }
  // The page variable has been narrowed from PageObjectResponse | PartialPageObjectResponse to PageObjectResponse.
  console.log("Created at:", page.created_time)
}

Please re-open this or open a new issue if there are other utilities you find are lacking here and thank you for the feedback.


How to use IExternalStorageProvider?

Issue description:
I am trying to implement IExternalStorageProvider in my mod to address pkmnfrk/equivalentintegrations#12, but it's behaving weird.
I suspect that I'm doing something wrong, but I do not know what.
My implementation is here: https://github.com/pkmnfrk/equivalentintegrations/tree/rscompat/src/main/java/com/mike_caron/equivalentintegrations/integrations/refinedstorage
What happens:
It seems to count each item I present twice. Eg, if I say there are 1000 Cobblestone, it shows 2000.
I believe it is combining the IStorageExternal with the usual IItemHandler capability, and showing both as external storage.
What you expected to happen:
If an IStorageExternal is present, ignore the IItemHandler.
Steps to reproduce:

Install my mod (if you check out the repo, it includes a dependency on RS, so you can fire it up)
Obtain a Soulbound Talisman, and right click to bind yourself
Obtain an Alchemical Algorithms
Place a Transmutation Chamber, and place the talisman and algorithms inside
Hook up a Refined Storage External Storage to the Transmutation Chamber
Put some items into the system, they will show double.
...

Version (make sure you are on the latest version before reporting):

Minecraft: 1.12.2
Forge: 2732
Refined Storage: 1.6.4-279

Does this issue occur on a server? yes

I'm not sure myself, looking at your code. What debugging did you do yourself?

I did two big things:

I validated that my update method was tracking the correct values. It was.

I changed my tile entity to pretend not to have the Item Handler capability. When I did that, the numbers in RS suddenly became correct.

The second one was what made me realize that adding an external storage handler was not enough. Am I really expected to not have an Item Handler on the same tile entity? Do I need to create a separate block just for Refined Storage?

No, a external storage handler should be enough. That's the entire reason that API was brought into life.
Number 2 is vital information. Let me check.

Ah, looks like it adds any tile that returns true for canProvide.
Fixing that so we have a priority based system.
https://github.com/raoulvdberge/refinedstorage/blob/mc1.12/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/network/node/NetworkNodeExternalStorage.java#L233-L237

Fixed! Just implement getPriority.


Throw error with stack trace when launching with an invalid executablePath option

When puppeteer is used as a dependency or sub-dependency of another project that exposes the puppeteer API, an invalid executablePath option should be reported appropriately. Currently, if an invalid executablePath is provided to puppeteer.launch(...), it is unclear where the actual error is coming from. It could be from any module. This error should be propagated with a stack trace directly from puppeteer. I have a fix for this and I will put up a PR momentarily.

Steps to reproduce
Tell us about your environment:

Puppeteer version: 0.11.0-alpha
Platform / OS version: macOS 10.12.6

What steps will reproduce the problem?
Please include code that reproduces the issue.

await puppeteer.launch({ executablePath: 'random-path' })

What is the expected result?
An error containing a stack trace clearly describing the issue e.g.
Error: Error launching Chromium process with executable path "random-path"
    at fs.stat (/puppeteer/lib/Launcher.js:147:23)
    at FSReqWrap.oncomplete (fs.js:152:21)

What happens instead?
events.js:182
      throw er; // Unhandled 'error' event
      ^

Error: spawn random-path ENOENT
    at exports._errnoException (util.js:1016:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:189:19)
    at onErrorNT (internal/child_process.js:366:16)
    at _combinedTickCallback (internal/process/next_tick.js:102:11)
    at process._tickCallback (internal/process/next_tick.js:161:9)

Fixed in: https://github.com/GoogleChrome/puppeteer/pull/751


no prettiers?

also when making selection my arrow key does not work consistently, I have to try all four directions to pick Yes or No differently for each option on ubuntu gnome-terminal

Hey @laoshaw,

Prettier support will be added in the next release.
I will do my research on why the arrow keys don't work consistently on Ubuntu gnome-terminal and get back to you ASAP.


Ignore and save in vector unknow args

 Issue by forkbomb9
Wednesday Jan 23, 2019 at 23:53 GMT
Originally opened as https://github.com/clap-rs/clap/issues/1404

Affected Version of clap

2.32.0

Bug or Feature Request Summary
It would be great to have a way to save unknow args into a Vec<> or slice. For example, an Arg::with_name() option, e.g. Arg::with_name('unknow').unknow_args() or something like this.
Maybe it could be that instead of calling get_matches() on the arg list, add a get_know_matches() that returns a tuple, the first element being what would be get_matches() and the second a vector of the unknow args... Something like Python's argparse:
args, unknown = parser.parse_known_args()

let (matches, unknow_matches) = App::new("myprog")
    .version("0.1")
    .author("You<EMAIL_ADDRESS>    .about("Something about your program")
    .arg(Arg::with_name("debug")
        .short("d")
        .multiple(true)
        .help("Turn debugging information on"))
     .arg(Arg::with_name("quiet")
         .short("q")
         .long("shut-up")
         .help("Shut up"))
      .get_know_matches();

And then, if you call myprog -d --something, you have in matches the normal clap behaviour, and in unknow_matches a vector containg '--something'
I don't know if I'm explaining it well, as English is not my primary language.
EDIT: Save unknow in vector or slice instead of ignoring them
The reason for this is that i'm building a program that has "subargs" (e.g. myprogram -Xh is the message help for myprogram -X, but not the same help as myprogram -Yh or myprogram -h.) I can build this by adding -X and -Y arguments, and run another function based on which arg was used, but clap needs to know all arguments, and that's why this would be nice.

 Comment by forkbomb9
Sunday Feb 03, 2019 at 20:36 GMT

I found this: https://github.com/clap-rs/clap/issues/1361 It's exactly what I was looking for... maybe we should focus on that issue.

 Comment by zkat
Sunday Dec 15, 2019 at 04:57 GMT

I could still quite use this: I want to be able to pass-through the args to a specific subcommand to a child process, ignoring all the direct args to the subcommand itself.

 Comment by cecton
Thursday Jan 30, 2020 at 14:32 GMT

It would be useful for me too

 Comment by cecton
Thursday Jan 30, 2020 at 14:58 GMT

I just found out how to do it! I used: AppSettings::TrailingVarArg, AppSettings::AllowLeadingHyphen
I did it with structopt but you can translate to the clap equivalent.

 Comment by Urhengulas
Monday Mar 29, 2021 at 20:00 GMT

Hi @CreepySkeleton, @pksunkara,
I'd be interested in implementing this, if there is some guidance in how to approach this best. My idea would be to do it very similar to AppSettings::TrailingVarArg and put all the "ignored arguments" into the final trailing positional argument.
What do you think?

 Comment by pksunkara
Monday Mar 29, 2021 at 20:47 GMT

I don't think anything needs implementation here. As @cecton says, you can use those app settings to allow the end users to add extra arguments.

 Comment by Urhengulas
Tuesday Mar 30, 2021 at 13:30 GMT

I don't think anything needs implementation here. As @cecton says, you can use those app settings to allow the end users to add extra arguments.

Hi @pksunkara, I've tried that, but this only ignores arguments "at the end", not "in the middle". Let me outline my situation:
What I want
Let's assume I have following app:
use std::path::PathBuf;
use structopt::StructOpt;

#[derive(Debug, StructOpt)]
struct Opt {
    #[structopt(short = "-L", long, parse(from_os_str))]
    library_path: Vec<PathBuf>,

    #[structopt(short, long, parse(from_os_str))]
    output: PathBuf,

    #[structopt(short = "T", long)]
    script: Vec<String>,
}

fn main() {
    let opt: Opt = Opt::from_args();
    dbg!(opt);
}

Therefore my cli can be invoked like this:
$ cli -T memory.x -o odir/ -L ldir/ -T memory2.x
[src/main.rs:29] opt = Opt {
    library_path: [
        "ldir/",
    ],
    output: "odir/",
    script: [
        "memory2.x",
        "memory.x",
    ],
}

But now I also want to allow the user to add arbitrary arguments at all positions, like this (which is the short form of this):
$ cli \
    --eh-frame-hdr \
    -flavor gnu \
    -L ldir1/ \
    file.o \
    -o odir/ \
    --gc-sections \
    -L ldir2/ \
    -L ldir3/ \
    -Tmemory.x \
    -Bdynamic

In my software I only care about -L, -T, -o, but all the other arguments should be accepted anyways, since I want to pass them through to another cli. Tbh, I don't necessarily need to capture them, but could also drop them,  since currently I obtain all arguments to be passed further with fn std::env::args().
Therfore I'd like aboves invocation to result in sth like this:
[src/main.rs:29] opt = Opt {
    library_path: [
        "ldir1/",
        "ldir2/",
        "ldir3/",
    ],
    output: "dir/",
    script: [
        "memory.x",
    ],
    # `_rest` is nice to have, but actually not needed in my case
    _rest: [
        "--eh-frame-hdr",
        "-flavor",
        "gnu",
        "file.o",
        "--gc-sections",
        "-Bdynamic",
    ]
}

Why &[AppSettings::TrailingVarArg, AppSettings::AllowLeadingHyphen] doesn't work
I've tried the solution suggested above, but this didn't work for me for two reasons:

It only accepts arguments added at the end, but not in the middle of the argument list

gets accept: cli -T memory.x -o odir/ -L ldir/ -T memory2.x -Bdynamic
get rejected:  cli -T memory.x -Bdynamic -o odir/ -L ldir/ -T memory2.x

Needed arguments after the first unknown argument don't get captured anymore

If I invoke the cli like this: cli -T memory.x -o odir/ -L ldir/ -T memory2.x -Bdynamic -T memory3.x, the last -T memory3.x gets not added to script, but rather _rest.

After having written all of this down it sounds like a AppSettings::IgnoreAdditionalArgs. What do you think?

 Comment by pksunkara
Tuesday Mar 30, 2021 at 13:43 GMT

You are welcome to try implementing it but I think this would need a complete parsing logic refactor since we need to design the new logic from ground up.

 Comment by Urhengulas
Tuesday Mar 30, 2021 at 15:03 GMT

You are welcome to try implementing it but I think this would need a complete parsing logic refactor since we need to design the new logic from ground up.

@pksunkara I am not familiar with the clap parsing logic, but that is what I feared.. Do you know some workaround or other crate which could help in my case by any chance?

 Comment by cecton
Tuesday Mar 30, 2021 at 16:52 GMT

@pksunkara I am not familiar with the clap parsing logic, but that is what I feared.. Do you know some workaround or other crate which could help in my case by any chance?

You can ssk the user to provide the parameters for the inner process separately:
./my_program --my-argument --my-other-argument -- --inner-process-argument1 --inner-process-argument2

That's what -- is usually for in Unix-like command lines.

 Comment by pksunkara
Tuesday Mar 30, 2021 at 15:35 GMT

Implementing #1880 might help you with this. You can try researching that direction.

 Comment by Urhengulas
Wednesday Mar 31, 2021 at 11:15 GMT

You can ssk the user to provide the parameters for the inner process separately:
./my_program --my-argument --my-other-argument -- --inner-process-argument1 --inner-process-argument2

That's what -- is usually for in Unix-like command lines.

@cecton Thank you for the tip. The problem is that I want to provide compatibility with another cli, ld to be precise (man page), and allow the user to invoke it just like they would invoke ld. Therefore I can't enforce additional usage rules.
But I only want to capture some of the arguments to do some preprocessing and then hand over all the arguments to ld.

The approach I am trying to go for now, is to preprocess the args to only include the ones i am interested in and then parse this with StructOpt::from_iter<I: IntoIterator>(iter: I).

 Comment by Urhengulas
Wednesday Mar 31, 2021 at 14:30 GMT

Implementing #1880 might help you with this. You can try researching that direction.

This feature actually looks like a possible solution for me!


Conflicting sETH Uniswap contracts

There are two different sETH contracts registered with Uniswap ("old" and "new").  Both appear in the dropdowns, but it seems like the "old" one is being displayed regardless of which one is selected.

Fixed.


Seeds generating the same words

Using a seed that contains a sequence of repeating patterns generates the exact same game.
For instance:
"aa" and "aaa" generates the same list as "a"
"abab" and "ababab" generates the same list as "ab"
"abcabc" and "abcabcabc" generates the same list as "abc"

This is a known bug that the seed library produces. Since it is an edge case and the work around is easy, this is a lib bug that I am not interested in fixing. But thank you for taking the time to point it out to me. Please continue to have a good time with the game.


lime : The term 'lime' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again

Describe your problem here.
lime : The term 'lime' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Nope

haxelib run lime setup


[MM-49166] Setup CircleCI config for release

Summary
This PR adds the required CircleCI configuration to publish releases to GitHub.
Ticket Link
https://mattermost.atlassian.net/browse/MM-49166

CircleCI still needs to be enabled. Workin on that.


page and menu item for stats

Create new page for "Resource Metrics"
Link to curation statistics page (Canto) immediately
Link to web stats when available (see #69)
Add "Resource Metrics" item to "About" menu

on dev, as done as possible until web stats are available (new ticket then)


Minor changes to use SSL and provide a basic dockerfile.

Updated  the run.sh script to use SSL for nodejs URLs & check sha1 sums.
Made additional changes to simplify deployment via docker including:

Added a very basic dockerfile based on Ubuntu 14.04 LTS
Added an install only option to the run.sh script
Added a settings.ssl.json file to demonstrate what needs to be changed to add certificates.

:+1: Thanks Pete!


jenkins url

The jenkins.nemerle.eu is not working.

Indeed, I had to take the site down, Jenkins was being unreasonable  ( jvm was taking huge amounts of ram ). On the other hand, it was not used all that much

I think we should add periodic CI job to upload the documentation to GitHub Pages some day. I'm closing this issue because this can be done using e.g. Travis CI, but I think this is a separate issue.


csort modifies input file

I am trying to use cooler csort  (version cooler==0.5.3) without much success. My pairs file pairs.txt has the following format:
chr12   74054834        +       chr17   37101300        -
chr10   107716614       +       chr8    74236985        +
...

and the chromosome size file (hg19_chromsizes.txt):
chr1    249250621
chr10   135534747
...

When I run cooler csort hg19_chromsizes.txt pairs.txt I get the following output:
Enumerating chroms...
chr1	1
chr10	2
chr11	3
chr12	4
chr13	5
chr14	6
chr15	7
chr16	8
chr17	9
chr18	10
chr19	11
chr2	12
chr20	13
chr21	14
chr22	15
chr3	16
chr4	17
chr5	18
chr6	19
chr7	20
chr8	21
chr9	22
chrM	23
chrX	24
chrY	25

and after a few seconds my 14GB contact pairs file is converted into a useless 28 byte binary file, along with a new file pairs.txt.tbi, which I guess it's the failed attempt to index the former with tabix.
Did I misunderstand the usage of cooler csort? Why does it modify the input file?
Thanks!

It seems that it was treating your input pairs file as if it were compressed and tried to gunzip it. cooler csort should accept uncompressed pairs files as well, so that's a bug.
Why the output path would end up being identical to the input path and be overwritten is weird and I couldn't reproduce it. The output path is supposed to have a .sorted.gz or .sorted.txt.gz appended to it. In any case, you can specify a different output path with the --out option (but don't use the same name as the input file, of course).
Could you try again with the fixes in the develop branch and reply if you still encounter problems?

The last version in develop works smoothly. I tried the last commit in master and I wasn't able to reproduce the input replacement either -- the buggy version was the one provided by pip install.
btw, It would be useful to give cooler a version argument in order to ease the debugging process.
Thanks
Eduard

Great! Absolutely right about the --version argument. Will open a new issue.

Btw, note that the order of chromosomes listed in the chromsizes file you provide determines the global ordering in the contact matrix produced, e.g. you might prefer the more "aesthetic" ordering of chr1-22,X,Y,M.

Indeed :)
Thanks!


Weaviate support Arabic language

Add Arabic language to weaviate.
System information

Programming language: Python
Are you willing to contribute it (Yes/No): I will do my best

Describe the feature and the current behavior/state:
This feature allows users to use the Arabic language in Weaviate which is a useful thing and make more people use it.
Will this change the current API? How?
This will be a new feature added to python library and no changes in the API will occur
Who will benefit from this feature?
The end-user of Weaviate will surely benefit from this since Arabic is mostly carried out. so much a feature will also help in the organization's growth.

Hi @omarzain27,
thanks for your comment. Could you elaborate a bit on where you are looking for Arabic support? Weaviate is generally agnostic of languages, so I'm wondering what's keeping you from using it with Arabic already?

Are there any issues occurring when using Arabic characters which don't occur with Latin characters?
Are you looking for Arabic text2vec-models that can be integrated as part of a Weaviate module?


Album title too long

Tried to play a song, here's what DRP has to say: (Length of string is out of range. Expected a value with a maximum length of 32)

Thus resulting to this:

Here is what the album title looks like lmao:

And it's written in the .dat file as "dinnerisnotovertheressomethinghappeningkeymancupid" (50 characters). Is there a workaround for this?

😂 ill look into it

Discord doesnt support image assets longer then 32 characters so you will have to change the key. Workaround Dinner Is Not Over / There's Something Happening / Keyman / Cupid=dinnerisnotover

Check recent commit and close if fixed

Ah, I see, so I just needed to change the name of the art in the discord app, why didn't I realize that? lmao
So I'm still waiting for the album art to appear on rich presence, I have some questions for the meantime.
I can include special characters in the AlbumName like the slash, period, comma, or spaces and the program will just ignore them except for the equal sign. Is that correct?
Also, in the unfortunate case where two albums have the same name, what happens then?

Sweet! It's working

I'm closing this issue now but I'm leaving the questions above open.


Remove go mod vendor from Makefile

I removed vendoring in #29 but forgot this command in the makefile.
Users who were used to run make vendor end up putting stuff back to vendor/, see #67

should we remove the docs from https://github.com/kubecfg/kubecfg/blob/main/CONTRIBUTING.md#managing-vendor ?


AuthenticationValidated event should now be TokenValidated event

There are a places in this page and the others in the whole article that refer to the "AuthenticationValidated" event, which doesn't exist. The code snippets shown refer to the "TokenValidated" event, so I assume the former has been renamed to the latter and thus the web page content needs to be updated.

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

ID: 33051532-cd1d-75bb-9f62-10a21648e50f
Version Independent ID: 0cf085c9-1e62-5231-6e21-beed6aaf7d41
Content: Sign-up and tenant onboarding in multitenant applications - Azure Architecture Center
Content Source: docs/multitenant-identity/signup.md
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @MikeWasson
Microsoft Alias: pnp

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#244095

@Jawvig the reference to "AuthenticationValidated" comes from https://github.com/mspnp/multitenant-saas-guidance/blob/master/src/Tailspin.Surveys.Web/Logging/SurveyAuthenticationEventsLoggingExtensions.cs

@absheik I'm afraid I think you missed the point here. You've pointed out a logging extension called AuthenticationValidated, but the text is referring to an event, not a logging extension. In fact, I think the logging extension also needs to be renamed to TokenValidated

When a new tenant signs up, the Surveys application writes a tenant record to the database. This happens inside the AuthenticationValidated event.

The call to the logging extension event happens within the TokenValidated method, which is the event handler for the TokenValidated event.


Call to hunspell failed with a code of 127.

The error: Call to hunspell failed with a code of 127. shows immediately after I enabled the plugin.
I have compiled hunspell using Cygwin on Windows 10 and tried to make sure the hunspell.exe running properly in CMD.  At least some features of hunspell are working. For example:

hunspell.exe -D
SEARCH PATH:
.::/usr/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts:/Library/Spelling..\share\hunspell:..\share\myspell:..\share\myspell\dicts::/home/Loren/.openoffice.org/3/user/wordbook:/home/Loren/.openoffice.org2/user/wordbook:/home/Loren/.openoffice.org2.0/user/wordbook:/home/Loren/Library/Spelling:/opt/openoffice.org/basis3.0/share/dict/ooo:/usr/lib/openoffice.org/basis3.0/share/dict/ooo:/opt/openoffice.org2.4/share/dict/ooo:/usr/lib/openoffice.org2.4/share/dict/ooo:/opt/openoffice.org2.3/share/dict/ooo:/usr/lib/openoffice.org2.3/share/dict/ooo:/opt/openoffice.org2.2/share/dict/ooo:/usr/lib/openoffice.org2.2/share/dict/ooo:/opt/openoffice.org2.1/share/dict/ooo:/usr/lib/openoffice.org2.1/share/dict/ooo:/opt/openoffice.org2.0/share/dict/ooo:/usr/lib/openoffice.org2.0/share/dict/ooo
AVAILABLE DICTIONARIES (path is not mandatory for -d option):
..\share\myspell/default
..\share\myspell/en_AG
..\share\myspell/en_AU-large
..\share\myspell/en_AU
..\share\myspell/en_BS
..\share\myspell/en_BW
..\share\myspell/en_BZ
..\share\myspell/en_CA-large
..\share\myspell/en_CA
..\share\myspell/en_DK
..\share\myspell/en_GB-ise
..\share\myspell/en_GB-ize
..\share\myspell/en_GB-large
..\share\myspell/en_GB
..\share\myspell/en_GH
..\share\myspell/en_HK
..\share\myspell/en_IE
..\share\myspell/en_IN
..\share\myspell/en_JM
..\share\myspell/en_MW
..\share\myspell/en_NA
..\share\myspell/en_NG
..\share\myspell/en_NZ
..\share\myspell/en_PH
..\share\myspell/en_SG
..\share\myspell/en_TT
..\share\myspell/en_US-large
..\share\myspell/en_US
..\share\myspell/en_ZA
..\share\myspell/en_ZM
..\share\myspell/en_ZW
LOADED DICTIONARY:
..\share\myspell/default.aff
..\share\myspell/default.dic
Hunspell 1.6.2

and

hunspell.exe -d en_GB
Hunspell 1.6.2

To reach these I only changed some dictionary path strings in hunspell's source codes to Window style, as seen in the SEARCH PATH output.
I set the full path of hunspell.exe manually in linter-spell's preferences with a default language of en_GB, then the error arose.
Windows 10 (16299.64)
Atom 1.22.1 x64
linter-spell 0.15.0

Managed to progress a little and now the error is "Call to hunspell failed with a code of 1".
Previously the hunspell could only run when I cd to the folder containing hunspell.exe while typing the full path of the exe didn't work in another dictionary. Because some dependency was missing.


Error in plugin screen when 2 plugins have the same name

It's a very unlikely scenario, but here's the issue:
I installed homebridge-mqttgaragedoor from the Plugin Screen search. Then I uninstalled it.
Next I installed this different plugin that has the same name. I had to clone it locally because it doesn't show up in Plugin Screen search.
The plugin installs fine and shows up in Plugins now, but the npm url, the author's name etc. links to the previous plugin, the old one.
Is there some cache I can clear to make ConfigUI forget all about the previous plugin? Thanks

Plugin names are unique as npm only allows one module with that name.  You have cloned down a fork of the same plugin which is why the UI is showing the details from the published version on npm.
The plugin author needs to rename their plugin and publish it under a different name.


Create zaghouan.txt

hello, here's my institut website: http://www.isetzg.rnu.tn/
have a good one.
bye.

@radhouene101 Pull request merged. Thank you!


Web - Chat - An extra line added after sending a code block message

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing PR https://github.com/Expensify/App/pull/14822
Action Performed:

Go to URL https://staging.new.expensify.com/
log in with any account
Go to any chat
Add a comment as a code block message -> Send

Expected Result:
An extra line NOT added after sending a code block message
Actual Result:
An extra line added after sending a code block message
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] Windows/Chrome
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/220516602-4eb1da9c-5411-453e-8cb9-b0e8e7e222f5.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Triggered auto assignment to @maddylewis (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

reviewing

okay actually doing this now - trying to reproduce.

test

im not able to reproduce this:
https://user-images.githubusercontent.com/38016013/221631192-4bd9972e-f0ca-4077-baf3-98bd26f427f1.mp4

dupe - resolved https://github.com/Expensify/App/issues/15195


Double quote gets transformed.

Copy and paste works fine, but when typing double quotes into the JSON formatter, macOS transforms them to /slanted/ quotes.
{ "test": "darn" } becomes { “test”: “darn” } resulting in invalid JSON.

I dug a deep into this problem and to me (unexperienced Swift developer) it seems that the problem is the Smart Quotes feature that Mac has enabled by default. Disabling it in the System Preferences fixes this issue.
I tried to code something to fix this without needing to disable the Smart Quotes feature, but ran into a few problems:
There's a flag that can be used to disable this behavior programmatically, called isAutomaticQuoteSubstitutionEnabled but it's only available for the NSTextView view. Since the textView attribute of the TextViewSectionBase is actually of type NSView we can't directly access it (At least I think we can't, I tried a few things and got nowhere), nor convert it to a NSTextView.
One thing that worked was to use the replaceOccurrences function, but I didn't create a PR since to me seems kinda ugly to use it for this problem, and I don't know if there's another way to do it. The code ended up like:
    var string = "" {
        didSet {
            // using two replacingOccurrences since both quotes have actually different from one another
            self.textView.string = string.replacingOccurrences(of: "“", with: "\"").replacingOccurrences(of: "”", with: "\"")
            self.copyButton.stringContent = string
        }
    }

If anyone got any ideias on how to solve this problem more elegantly, let me know, I'll gladly create the PR fixing this 😄

I have standard keyboard settings as well for an English OS in Japanese region.

@jacola @DanielSouzaBertoldi
I was able to reproduce and fix the bug. Thanks for your help!

@DanielSouzaBertoldi @jacola Thank you for your support! I can fix this bug!
You can get fixed version on
https://github.com/ObuchiYuki/DevToysMac/releases/tag/<IP_ADDRESS>


How to obtain the 86.9% mIoU in validation set?

Thanks for the great project. I am using python 2.7 and tensorflow 1.2. I trained the code with deeplab_resnet_init.ckpt after 20k iterations:
python train.py --random-mirror --random-scale
Loss:
step 19999 	 loss = 1.358, (1.004 sec/step)
The checkpoint has been created.
step 20000 	 loss = 1.456, (8.148 sec/step)

My Mean IoU is 75.1% in single scale and 76.3% in multiple scale case in the validation dataset. I tried using both trand+val dataset as for training but it only got 83% that lower than your report as 86.9% mIoU (as trainval was likely to be used for final training). Could you give me some tips to achieve your performance? Thanks

Refer to train_msc
On 7 Dec 2017 10:45 pm, "John1231983"<EMAIL_ADDRESS>wrote:

Thanks for the great project. I am using python 2.7 and tensorflow 1.2. I
trained the code with deeplab_resnet_init.ckpt after 20k iterations:
python train.py --random-mirror --random-scale
Loss:
step 19999 	 loss = 1.358, (1.004 sec/step)
The checkpoint has been created.
step 20000 	 loss = 1.456, (8.148 sec/step)
My Mean IoU is 75.1% in single scale and 76.3% in multiple scale case
in the validation dataset. I tried using both trand+val dataset as for
training but it only got 83% that lower than your report as 86.9% mIoU (as
trainval was likely to be used for final training). Could you give me some
tips to achieve your performance? Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DrSleep/tensorflow-deeplab-resnet/issues/147, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHemmEg2mxWZxmBM2wff0AznVB03AoGEks5s99bNgaJpZM4Q5dAS
.

Thanks. But in the README, you said that "The single-scale model shows 86.9% mIoU...", it means it trained in single-scale as python train.py --random-mirror --random-scale. Am I right?

It also says 'converted pre-trained model'; pre-trained model, in this
case, has been trained with multi-scale.
On 8 December 2017 at 13:17, John1231983<EMAIL_ADDRESS>wrote:

Thanks. But in the README, you said that "The single-scale model shows
86.9% mIoU...", it means it trained in single-scale as python train.py
--random-mirror --random-scale. Am I right?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/DrSleep/tensorflow-deeplab-resnet/issues/147#issuecomment-350157255,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHemmGpRIxud48yePLzfnbxOOhLaBnAnks5s-KMsgaJpZM4Q5dAS
.


I have modified the Bowtie mapper class because the index for bowtie2…

… was not being set and was picking up the bowtie index dir

@sebastian-luna-valero  I have made the changes you suggest. Thanks

@sebastian-luna-valero Done, many thanks

Thanks @Acribbs


removed error-chain from 'Calculate SHA1 sum of iso files concurrently'

addresses #506
removed error-chain from 'Calculate SHA1 sum of iso files concurrently'

That should be all of them.

This is amazing.  I need a bit more time on the review though.


Swift 4.2

Hey there,
are you guys going to create a new version and add it to the pod spec to reflect the new Swift 4.2. version changes?
Not that big of a deal, but it would kill the SWIFT4.2. warning without having to set the swift version manually in the pod file.
Cheers,
Evangelos

The podpec’s Swift version has been updated to 4.2, but for some reason pod lib lint is failing so we haven’t been able to publish it yet. In the meantime, you can point your Podfile to this repo’s master to fetch the latest podspec of this library.

1.2.0 is released.


Reflect name change of repo in library.properties on Arduino Library Manager

Hello,
The following repo is already added to Arduino Library Manager:
https://github.com/Seeed-Studio/Seeed_Arduino_LSM6DS3
Here is the entry:
https://github.com/arduino/library-registry/blob/main/repositories.txt#L3323
However, when the last PR was done, the library name in library.properties was "Accelerometer And Gyroscope LSM6DS3"
Now the library name in library.properties is changed to "Seeed Arduino LSM6DS3"
https://github.com/Seeed-Studio/Seeed_Arduino_LSM6DS3/blob/master/library.properties#L1
Can you help reflect this change in Arduino Library Manager?
Would appreciate the help!

Hi @lakshanthad. The requested change is now in progress: https://github.com/arduino/library-registry/pull/930
Unlike submissions, this type of request is still handled manually. The Library Manager index maintainer occasionally comes through to clear all the outstanding requests and closes those issues/PRs when that is done. If you are subscribed to this issue, you'll get a notification at that time.
After that, you can monitor the indexing of the library via its dedicated logs web page.
Information about that here:
https://github.com/arduino/library-registry/blob/main/FAQ.md#can-i-check-on-library-releases-being-added-to-library-manager

Thank you

Solved in #930


gopass-jsonapi: Move to separate repo

The implementation of the gopass-jsonapi differs a lot from the style and conventions used in other parts of gopass.
This frequently slows down changes to gopass itself.
If possible (wrt. visibility and such) we should move gopass-jsonapi to it's own repo, e.g. github.com/gopasspw/gopass-jsonapi

Makes sense, I think this would also allow us to define a clean API that can be used from all other tools as well.

I will create a new repo but gopass-jsonapi needs some internals atm. How do we proceed?
go build
package github.com/gopasspw/gopass-jsonapi
        jsonapi.go:11:2: use of internal package github.com/gopasspw/gopass/cmd/gopass-jsonapi/internal/jsonapi not allowed
package github.com/gopasspw/gopass-jsonapi
        jsonapi.go:12:2: use of internal package github.com/gopasspw/gopass/cmd/gopass-jsonapi/internal/jsonapi/manifest not
allowed                                                                                allowed
package github.com/gopasspw/gopass-jsonapi
        jsonapi_windows.go:13:2: use of internal package github.com/gopasspw/gopass/internal/out not allowed
package github.com/gopasspw/gopass-jsonapi
        jsonapi.go:13:2: use of internal package github.com/gopasspw/gopass/internal/termio not allowed
package github.com/gopasspw/gopass-jsonapi
        imports github.com/gopasspw/gopass-jsonapi/internal/jsonapi
        internal\jsonapi\responses.go:11:2: use of internal package github.com/gopasspw/gopass/internal/clipboard not allowedpackage github.com/gopasspw/gopass-jsonapi
        imports github.com/gopasspw/gopass-jsonapi/internal/jsonapi
        internal\jsonapi\responses.go:12:2: use of internal package github.com/gopasspw/gopass/internal/otp not allowed
package github.com/gopasspw/gopass-jsonapi
        jsonapi_windows.go:13:2: use of internal package github.com/gopasspw/gopass/internal/out not allowed
package github.com/gopasspw/gopass-jsonapi
        jsonapi.go:13:2: use of internal package github.com/gopasspw/gopass/internal/termio not allowed
PS C:\Users\Martin\workspace\gopasspw\gopass-jsonapi> go build
package github.com/gopasspw/gopass-jsonapi
        imports github.com/gopasspw/gopass-jsonapi/internal/jsonapi
        internal\jsonapi\responses.go:11:2: use of internal package github.com/gopasspw/gopass/internal/clipboard not allowedpackage github.com/gopasspw/gopass-jsonapi
        imports github.com/gopasspw/gopass-jsonapi/internal/jsonapi
        internal\jsonapi\responses.go:12:2: use of internal package github.com/gopasspw/gopass/internal/otp not allowed
package github.com/gopasspw/gopass-jsonapi
        jsonapi_windows.go:13:2: use of internal package github.com/gopasspw/gopass/internal/out not allowed
package github.com/gopasspw/gopass-jsonapi
        jsonapi.go:13:2: use of internal package github.com/gopasspw/gopass/internal/termio not allowed
```

I will create a new repo but gopass-jsonapi needs some internals atm. How do we proceed?
go build
package github.com/gopasspw/gopass-jsonapi
        jsonapi.go:11:2: use of internal package github.com/gopasspw/gopass/cmd/gopass-jsonapi/internal/jsonapi not allowed
package github.com/gopasspw/gopass-jsonapi
        jsonapi.go:12:2: use of internal package github.com/gopasspw/gopass/cmd/gopass-jsonapi/internal/jsonapi/manifest not
allowed                                                                                allowed
package github.com/gopasspw/gopass-jsonapi
        jsonapi_windows.go:13:2: use of internal package github.com/gopasspw/gopass/internal/out not allowed
package github.com/gopasspw/gopass-jsonapi
        jsonapi.go:13:2: use of internal package github.com/gopasspw/gopass/internal/termio not allowed
package github.com/gopasspw/gopass-jsonapi
        imports github.com/gopasspw/gopass-jsonapi/internal/jsonapi
        internal\jsonapi\responses.go:11:2: use of internal package github.com/gopasspw/gopass/internal/clipboard not allowedpackage github.com/gopasspw/gopass-jsonapi
        imports github.com/gopasspw/gopass-jsonapi/internal/jsonapi
        internal\jsonapi\responses.go:12:2: use of internal package github.com/gopasspw/gopass/internal/otp not allowed
package github.com/gopasspw/gopass-jsonapi
        jsonapi_windows.go:13:2: use of internal package github.com/gopasspw/gopass/internal/out not allowed
package github.com/gopasspw/gopass-jsonapi
        jsonapi.go:13:2: use of internal package github.com/gopasspw/gopass/internal/termio not allowed
PS C:\Users\Martin\workspace\gopasspw\gopass-jsonapi> go build
package github.com/gopasspw/gopass-jsonapi
        imports github.com/gopasspw/gopass-jsonapi/internal/jsonapi
        internal\jsonapi\responses.go:11:2: use of internal package github.com/gopasspw/gopass/internal/clipboard not allowedpackage github.com/gopasspw/gopass-jsonapi
        imports github.com/gopasspw/gopass-jsonapi/internal/jsonapi
        internal\jsonapi\responses.go:12:2: use of internal package github.com/gopasspw/gopass/internal/otp not allowed
package github.com/gopasspw/gopass-jsonapi
        jsonapi_windows.go:13:2: use of internal package github.com/gopasspw/gopass/internal/out not allowed
package github.com/gopasspw/gopass-jsonapi
        jsonapi.go:13:2: use of internal package github.com/gopasspw/gopass/internal/termio not allowed
```

Either there is an easy replacement (e.g. out can certainly be replaced by fmt or log) or we need to move the package from internal to pkg.

Either there is an easy replacement (e.g. out can certainly be replaced by fmt or log) or we need to move the package from internal to pkg.

I'd like to be very careful with moving packages to pkg because these can be used by anyone and I don't want to encourage people to use internal packages.
I've taken a first attempt at removing internal references from the non-core binaries in #1677, but there are still a few missing.

I'd like to be very careful with moving packages to pkg because these can be used by anyone and I don't want to encourage people to use internal packages.
I've taken a first attempt at removing internal references from the non-core binaries in #1677, but there are still a few missing.

termio and out can be replaced but is that the intention for gopass as well? If not, I would prefer to have a consistent interface for the user here and use the same functionality as gopass uses for gopass-jsonapi.
For clipboard, we could expose the functionality via the API to get consistent behavior as CopyTo is not using a gopass secret.
Calculate from the otp package uses a gopass secret. Here the Calculate part could be exposed then.

termio and out can be replaced but is that the intention for gopass as well? If not, I would prefer to have a consistent interface for the user here and use the same functionality as gopass uses for gopass-jsonapi.
For clipboard, we could expose the functionality via the API to get consistent behavior as CopyTo is not using a gopass secret.
Calculate from the otp package uses a gopass secret. Here the Calculate part could be exposed then.

@martinhoefling Once #1709 is merged you should be good to go wrt. moving jsonapi.

@martinhoefling Once #1709 is merged you should be good to go wrt. moving jsonapi.


filtering pipeline fails with error related to scanpy/preprocessing/_pca.py

https://github.com/DendrouLab/panpipes/actions/runs/8006360043/job/21867908763?pr=188#step:14:395
ValueError: svd_solver: {svd_solver} can not be used with sparse input. \
#                                   Use "arpack" (the default) or "lobpcg" instead. \

Not sure what's going on there :)

good that this worked! we wouldn't have known otherwise that scanpy changed the default from auto to arpack
https://github.com/DendrouLab/panpipes-tutorials/pull/38

this is sorted now so i'm closing the issue.


A new grant message should be generated when a credential is presented

Is your feature request related to a problem? Please describe.
Currently, when a credential is presented, the timestamp for the grant message is taken from the credential's issuance datetime credResult.acdc.ked?.a?.dt. As a result, identical grant messages are generated for every presentation of the credential. This potentially makes Origin susceptible to a reply attack.
This is a function I took from the Chrome DevTools.
export async function multisigGrantCredential(
  client: SignifyClient,
  groupName: string,
  memberName: string,
  recipientPrefix: string,
  credResult: IssueCredentialResult
) {
  const mHab = await client.identifiers().get(memberName)
  const gHab = await client.identifiers().get(groupName)
  const members = await client.identifiers().members(groupName)

  const [grant, gsigs, end] = await client.ipex().grant({
    senderName: groupName,
    recipient: recipientPrefix,
    datetime: credResult.acdc.ked?.a?.dt,
    acdc: credResult.acdc,
    anc: credResult.anc,
    iss: credResult.iss
  })

  await client
    .ipex()
    .submitGrant(groupName, grant, gsigs, end, [recipientPrefix])

  let mstate = gHab['state']
  let sner = new CesrNumber({}, undefined, mstate['ee']['s'])
  let seal = [
    'SealEvent',
    { i: gHab['prefix'], s: sner.num, d: mstate['ee']['d'] }
  ]
  let sigers = gsigs.map((sig: any) => new signify.Siger({ qb64: sig }))
  let ims = signify.d(signify.messagize(grant, sigers, seal))
  let atc = ims.substring(grant.size)
  atc += end
  let gembeds = {
    exn: [grant, atc]
  }

  const recipients = members.signing
    .map((m: { aid: string }) => m.aid)
    .filter((aid: string) => aid !== mHab.prefix)

  if (recipients.length > 0) {
    consoleLog(
      `Sending join grant credential exn message to other members : `,
      recipients
    )

    await client
      .exchanges()
      .send(
        mHab.name,
        'multisig',
        mHab,
        '/multisig/exn',
        { gid: gHab['prefix'] },
        gembeds,
        recipients
      )
  }
}

Describe the solution you'd like
When a credential is presented, a current datetime should be used when the "Present" button is clicked. This datetime must also be propagated to and used by other multisig members (if any) in the notification.

[from twin in jira]
This issue is being tracked in jira at https://eipi.atlassian.net/browse/DF-2565.
To send new comments there, start them with 'Tell jira:'.
The issue is assigned in jira to Cal Warshaw.
As of 2024-11-04T07:23Z, the status of the issue in jira is 'to do'.

[from twin in jira]
As of 2024-12-04T08:44Z, the status of the issue in jira is 'doing'.

[from twin in jira]
The issue is assigned in jira to Arshdeep Singh.
As of 2024-12-04T13:31Z, the status of the issue in jira is 'done'. Code with the fix has been deployed in production.
At 2024-12-04T13:09Z, Arshdeep Singh said: this issue has been fixed and tested. @Nuttawut fix has been deployed to Asia instance. Please test and let us know if there is any concern.


Test 1 2 3

What is this supposed to be?

Without a description provided and no information given anywhere else, I'm going to close this PR. Reopen and add an appropriate explanation with details if you want us to merge it. However from a first glance at the contents, it doesn't seem like this PR would be helpful for the repository.


Remove unnecessary +x file modes - Issue 470

Description
For some unknown reasons many files in the project are said to be executable when they are not. This includes go files, documentation tiles, and many others.
This PR fixes all that (although there could be a bit more pruning possible but I erred on the safe side). The remaining files with +x are:
./.git/hooks/applypatch-msg.sample
./.git/hooks/commit-msg.sample
./.git/hooks/post-update.sample
./.git/hooks/pre-applypatch.sample
./.git/hooks/pre-commit.sample
./.git/hooks/pre-push.sample
./.git/hooks/pre-rebase.sample
./.git/hooks/prepare-commit-msg.sample
./.git/hooks/update.sample
./.gitattributes
./.gitignore
./core/crypto/crypto_profile.sh
./core/ledger/benchmark_scripts/buckettree/buckettree.sh
./core/ledger/benchmark_scripts/ledger/db.sh
./core/ledger/benchmark_scripts/ledger/randomTransactions.sh
./core/ledger/benchmark_scripts/ledger/singleKeyTransaction.sh
./core/ledger/benchmark_scripts/statemgmt/cryptoHash.sh
./devenv/baseimage/scripts/common/golang_crossCompileSetup.sh
./devenv/baseimage/scripts/common/init.sh
./devenv/baseimage/scripts/common/setup.sh
./devenv/baseimage/scripts/docker/init.sh
./devenv/baseimage/scripts/vagrant/init.sh
./devenv/baseimage/scripts/vagrant/vagrant.sh
./devenv/baseimage/scripts/vagrant/virtualbox.sh
./devenv/compile_protos.sh
./devenv/installGolang.sh
./devenv/setup.sh
./devenv/tools/chaintool
./scripts/infiniteloop.sh
./scripts/provision/common.sh
./scripts/provision/docker.sh
./vendor/github.com/BurntSushi/toml/session.vim
./vendor/github.com/gocraft/web/cover.sh
./vendor/google.golang.org/grpc/codegen.sh
Motivation and Context

Fixes #470
How Has This Been Tested?

Yes. Ran make checks.
Checklist:

[x] I have added a Signed-off-by
[x] Either no new documentation is required by this change, OR I added new documentation
[x] Either no new tests are required by this change, OR I added new tests
[ ] I have run goimports, go vet, and golint. I have cleaned up all valid errors and warnings in code I have added or modified. These tools may generate false positives.  The goal is clean, consistent, and readable code.

Signed-off-by: Arnaud J Le Hors<EMAIL_ADDRESS>

Thanks @lehors.  LGTM, merge pending travis confirmation that nothing broke.
Reviewed-by: Greg Haskins<EMAIL_ADDRESS>


Script dont work for me

Describe the bug
I put the Script on my Server and started it, but when i on my Server the indicator for speak dont work and i cant hear other people what i do wrong?
Server Info:

Server Version: 4030
Client Version: canary
Client Build: b2189

As cadburry stated, this script requires you to use OneSync (as every other mumble script probably will)

i have FiveM Element Club Aurum and activated onesync in txadmin and as start command but nothing change


Emit launch events

With this PR binder gets pending spawn (launch) events from jhub's progres api and sends them to bhub' UI.
First commit is copy of what @minrk showed to me during the workshop, thank you :)

thanks for the review @minrk. I made the suggested change.
I also extended test_build function, so it counts launching events from spawner and checks if count is more than 2. But I am not sure about it.

@minrk could you make a new review? I am not happy with the test I added, but I don't have a better idea now. I am open to get help :)

Hey @bitnik and @minrk! I'm going through various PRs hoping to help them resolve one way or another or perhaps get an updated description about the current status of things. What do you think about this PR?

I think we should absolutely do it, and I feel really bad to have dropped the review for so long. I'll take a stab at rebasing and resolving the conflicts and finishing it up.

Thanks for taking it over and finishing it up! I am closing this PR :)


run-length-encoding: create test case generator

Add .meta/gen.go to generate cases_test.go.
Update test program to use generated test case arrays.
Put FAIL and PASS in test result output.
For #605.

Thanks @ferhatelmas


AS A payroll manager I WANT AN employee payroll tracker SO THAT I can see my employees' payroll data and properly budget for the company

Acceptance Criteria
GIVEN an employee payroll tracker
WHEN I click the "Add employee" button
THEN I am presented with a series of prompts asking for first name, last name, and salary
WHEN I finish adding an employee
THEN I am prompted to continue or cancel
WHEN I choose to continue
THEN I am prompted to add a new employee
WHEN I choose to cancel
THEN my employee data is displayed on the page sorted alphabetically by last name, and the console shows computed and aggregated data

This is complete.


Add tokio 1.0 support

https://tokio.rs/blog/2020-12-tokio-1-0

Is it planned to build stream feature based on bytes v1?

@loyd no, my current plan is to deprecate stream, probably later today. Take a look at the discussion from https://github.com/Nemo157/async-compression/pull/107#issuecomment-751285504 down for how to use tokio-util to map between streams-of-byte-vectors and io-streams.


Fix import for logging in Enviro Urban board definition

There is no logging module in enviro.

Good spot, thank you!


Staging Area

This PR adds a staging area for checkpoints. For most HPC clusters, writing to a local ssd will be multiple orders of magnitude faster than writing to the shared filesystem. We'll use that local ssd as a buffer to write out the initial checkpoint, then move the checkpoint to shared storage over the network. In the process, we can compress the checkpoint aggressively (pickle-based checkpoints should be highly compressible).
Ideally, this transfer from buffer->shared storage should be done in the background off of the hot-path. Currently, this PR does not deal with that asynchrony.

Btw @golnazmes, when you take a look at this PR, it might be easier to look through the changes commit-by-commit (e.g. by clicking the Commits tab at the top). The first commit (moving things to shared Config object) makes the PR very noisy and so is easier to parse in isolation.


Assign Task - "Undefined" Assign Task Appears After Closing and Signing In Again

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Click on the plus sign, select "Assign Task," and fill in the title, assignee, and share location details. Confirm the task
Go to settings > security > Close account. Enter the email and close the account
Sign in again using the same email and observe that the "Undefined" Assign Task appears

Expected Result:
After assigning a task, closing the account, and signing in again, the "Undefined" Assign Task should not appear
Actual Result:
After assigning a task, closing the account, and signing in again, the "Undefined" Assign Task appears
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] Windows / Chrome
[x] MacOS / Desktop

Version Number: 1.3.57-5
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/7df99d50-b98a-48f2-8885-9e7bb4b97efd
https://github.com/Expensify/App/assets/78819774/181d00a8-6513-4cba-981d-a70912746b0a
Expensify/Expensify Issue URL:
Issue reported by: @TewodrosGirmaA
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692184554384749
View all open jobs on GitHub

After assigning a task, closing the account, and signing in again, the "Undefined" Assign Task should not appear

What are you proposing should appear instead? Should we delete the task? I'm not sure we would do that.


Add page size check in check-config command

Is your feature request related to a problem? Please describe.

When I trying to deploy k3s on my arm64 servers, I noticed an important note in https://docs.k3s.io/installation/requirements#architecture that the OS must use a 4k page size, but nothing abnormal when I run the k3s check-config command. Considering that page size isn't 4k does have serious consequences (https://github.com/k3s-io/k3s/issues/6708), I think it's necessary to add page size check in k3s check-config if the machine architecture is aarch64/arm64.
Describe the solution you'd like

Add page size check in k3s check-config if the machine architecture is aarch64/arm64.
Describe alternatives you've considered

Print  a warning log when k3s service starts.
Additional context

None.

This will likely be fixed in the next release.


light-4j benchmark

light-4j benchmark scores seem to have fallen
https://www.techempower.com/benchmarks/#section=data-r17&hw=ph&test=plaintext
vs
https://www.techempower.com/benchmarks/#section=data-r15&hw=ph&test=plaintext
time for some fixing?
https://github.com/TechEmpower/FrameworkBenchmarks/issues?utf8=✓&q=light-4j

@Dmole If you look at the source code there, you will realize nothing changed but the performance numbers are down significantly. I think they have changed the environment. In my opinion, these benchmarks are not close to real business scenarios. Our strength is https/2 with client-side service discovery. We really need to have a service to service benchmark comparing gateway, sidecars, and light-4j.

I checked and there was a 600% drop with no environment change. There are plenty of other http/2 frameworks on that list.
My best guess at the moment is that the java change when they moved to docker is the cause.... but it's just a guess.
https://github.com/TechEmpower/FrameworkBenchmarks/issues/4218

@Dmole Thanks for bringing it up to the attention of TechEmpower team. I think it is a configuration issue and we just need to compare how Undertow is configured in round 16 and later. The performance should be the same.


fix PATH for odo binary

Signed-off-by: anandrkskd<EMAIL_ADDRESS>What type of PR is this:
/kind tests
What does this PR do / why we need it:
This PR will make sure to use correct odo binary for tests even if there are other binary in the PATH
Which issue(s) this PR fixes:
Fixes #5683
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

How to test changes / Special notes to the reviewer:

/lgtm
/approve

@anandrkskd LGTM, but out of curiosity, do you know now what could have caused it to have other binaries in the PATH?

/override ci/prow/v4.10-integration-e2e

/override ci/prow/v4.10-integration-e2e

@anandrkskd Thanks for this fix. LGTM, but out of curiosity, do you know what could have caused it to have other binaries in the PATH?

I was using the Windows machine to do some testing before enabling the CI, for which I had to put odo binary in the path and I forgot to remove the odo binary after my testing.
With this, I think we won't face this issue again.

@anandrkskd Thanks for this fix. LGTM, but out of curiosity, do you know what could have caused it to have other binaries in the PATH?

I was using the Windows machine to do some testing before enabling the CI, for which I had to put odo binary in the path and I forgot to remove the odo binary after my testing. With this, I think we won't face this issue again.

Thanks.


Devops

Heh, thanks for opening the issue but please leave a little more information if you found any problems or have any suggestions :)

Heh, thanks for opening the issue but please leave a little more information if you found any problems or have any suggestions :)

He was reporting that his version was printed in invisible ink.
;-)

He was reporting that his version was printed in invisible ink.
;-)


Release v5.0.5 -- part Deux

Retrying our previous attempt to release this.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/github/linguist/pull/3479#event-964387149, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ARuaFXcePa7A3q0j4ZAKEbETa4UgGaoQks5rc96lgaJpZM4MCmMX
.

--
<EMAIL_ADDRESS>Sent from Samaung Galaxy S4


Hardware Acceleration Support for Ryzen Mobile CPUs?

I have the AMD NUC that has a Ryzen 7 4600U (https://www.amd.com/en/product/9096).
How do we get frigate HASS addon working w/ hardware acceleration for video decoding?
Home Assistant 2023.2.5
Supervisor 2023.01.1
Operating System 9.5
I found this thread https://github.com/blakeblackshear/frigate/issues/311 , and the solution seems to be to install mesa-va-drivers and update an environment variable ; however HA OS doesn't seem to have the apt package manager to install mesa-va-drivers .  I also connected to the docker container that homeassistant runs in HA OS and no apt package manager either.
Anyone know how to get this setup?

This isn't supported for HA OS addon installs, there's no way to install the driver and the driver is required

Thanks Nick, would my path forward be to go to the HA OS https://github.com/home-assistant/operating-system and ask that they build in support for the driver?

Yes, you can request that it is included, I get the feeling they may push back though


Fix networking naming

Changed .dcos: to .dcos.thisdcos.directory.

@nlsun

@sargun @nlsun can you give it one more review. i've made a lot of changes based on our conversation this morning.

@sascala can you give this a copy/edit


Fix not visible 0 value in editor and graph

70% to @FreePhoenix888
30% to @flakeed

5000 rub reward is paid