Uncaught Error: dlopen(/private/var/folders/qv/7p50_2px67g73qtxvcz8l0l80000gn/T/AppTranslocation/...

[Enter steps to reproduce:]

...
...

Atom: 1.57.0 x64
Electron: 9.4.4
OS: macOS 11.4
Thrown From: Atom Core
Stack Trace
Uncaught Error: dlopen(/private/var/folders/qv/7p50_2px67g73qtxvcz8l0l80000gn/T/AppTranslocation/6742A6EE-CD22-4179-A471-D40E1728E128/d/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node, 1): image not found
At electron/js2c/asar.js:140

Error: dlopen(/private/var/folders/qv/7p50_2px67g73qtxvcz8l0l80000gn/T/AppTranslocation/6742A6EE-CD22-4179-A471-D40E1728E128/d/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node, 1): image not found
    at process.func [as dlopen] (electron/js2c/asar.js:140:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1034:18)
    at Object.func [as .node] (electron/js2c/asar.js:149:18)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:74:18)
    at customRequire (/private/var/folders/qv/7p50_2px67g73qtxvcz8l0l80000gn/T/AppTranslocation/6742A6EE-CD22-4179-A471-D40E1728E128/d/Atom.app/Contents/Resources/app/static/<embedded>:1:756278)
    at get_KeyboardLayoutManager (/private/var/folders/qv/7p50_2px67g73qtxvcz8l0l80000gn/T/AppTranslocation/6742A6EE-CD22-4179-A471-D40E1728E128/d/Atom.app/Contents/Resources/app/static/<embedded>:14:2890405)
    at get_manager (/private/var/folders/qv/7p50_2px67g73qtxvcz8l0l80000gn/T/AppTranslocation/6742A6EE-CD22-4179-A471-D40E1728E128/d/Atom.app/Contents/Resources/app/static/<embedded>:14:2890507)
    at Object.getCurrentKeyboardLayout (/private/var/folders/qv/7p50_2px67g73qtxvcz8l0l80000gn/T/AppTranslocation/6742A6EE-CD22-4179-A471-D40E1728E128/d/Atom.app/Contents/Resources/app/static/<embedded>:14:2890633)
    at e.keystrokeForKeyboardEvent (/private/var/folders/qv/7p50_2px67g73qtxvcz8l0l80000gn/T/AppTranslocation/6742A6EE-CD22-4179-A471-D40E1728E128/d/Atom.app/Contents/Resources/app/static/<embedded>:14:1118314)
    at KeymapManager.keystrokeForKeyboardEvent (/private/var/folders/qv/7p50_2px67g73qtxvcz8l0l80000gn/T/AppTranslocation/6742A6EE-CD22-4179-A471-D40E1728E128/d/Atom.app/Contents/Resources/app/static/<embedded>:11:1224088)
    at KeymapManager.handleKeyboardEvent (/private/var/folders/qv/7p50_2px67g73qtxvcz8l0l80000gn/T/AppTranslocation/6742A6EE-CD22-4179-A471-D40E1728E128/d/Atom.app/Contents/Resources/app/static/<embedded>:11:1222073)
    at WindowEventHandler.handleDocumentKeyEvent (/private/var/folders/qv/7p50_2px67g73qtxvcz8l0l80000gn/T/AppTranslocation/6742A6EE-CD22-4179-A471-D40E1728E128/d/Atom.app/Contents/Resources/app/static/<embedded>:11:286551)

Commands
     -7:39 core:cut (span.syntax--text.syntax--plain.syntax--null-grammar)

Non-Core Packages

Is there a way to turn Atom.app/Contents/Resources/app/static/<embedded>:11:286551 into the actual repo path?

Huh, this looks the same as https://github.com/atom/atom/issues/14461, but that issue's closed...

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/atom/issues/21285. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Method references for Optional trigger raw type false positive

Thanks for a great tool! I found this bit of funniness today.
Error Prone's compiler warns about missing type arguments for the following method:
static long foo(Stream<String> stream, Function<String, ? extends Optional<Integer>> fn) {

    // Does not trigger
    long a = stream.map(fn)
    .filter(opt -> opt.isPresent())
    .count();

    // Triggers Error Prone
    long b = stream.map(fn)
    .filter(Optional::isPresent)
    .count();

    return a + b;
}

        .filter(Optional::isPresent)
                ^
  missing type arguments for generic class Optional<T>

As far as I can see this is a false positive.  The method reference line does not trigger Error Prone when fn's second type parameter is Optional<Integer> and not ? extends Optional<Integer>.

I see this appears to be a duplicate of https://github.com/google/error-prone/issues/569.

@andrewparmet I'm not so sure this is a dupe of #569. To me, it looks like #569 is about enums, whereas this issue is about non-enum classes like Optional. Thus I'd think this issue is sufficiently different and worth reopening.

I thought this was more of an issue regarding instance methods on generic classes (such as Optional and Enum), but I'll reopen and see if anyone else has anything to say.

Sorry, I linked to the wrong OpenJDK bug in #569. This is the same issue, thanks for reporting.


The result of brach sam will be involved by HQ-Output Token

Hello,
I find that the output of sam mask in network "HQ-SAM" is different from the original network SAM's output.
Is the reason that the tokens interact on each other ？
Thanks

hi, this is because the original sam's output tokens will perform attention with hq-token during decoder's self-attention stage. However, the influence is very minor. We made quantitative experiments comparison and find that the change on mask AP is negligible.

Thanks for your reply.
In your code
masks = masks_sam + masks_hq
if don't add them, what is the result?


fix: Center detection affine

Fix incorrect behavior of affine transform when applied to images of resolution bigger than the target one

LGTM


The sound stops when I navigate to another viewcontroller

Sound is playing correctly in background but when i want to navigate to another vc, sound stops. By the way i am going to another vc with "dismiss" method.

This is probably because you create an instance and store it in the viewcontroller itself. When you dismiss and deallocate your viewcontroller, the sound is deallocated, too.


XLSX.read always read sheetname as sheet1

I have problem when run XLSX.read its always return sheet name as Sheet1, even though the sheet name has been changed to 'data',

Maybe can help with below clues:

my laptop use linux xubuntu 20.04 x64 with latest Google Chrome version, before opened by WPS Spreadsheet / Libre Calc it keeps read sheet name as sheet1,
before read by XLSX, i did converted file object to base64, then read file with syntax:
const workbook = XLSX.read(convertFileToBase64, { type: 'base64' });

Solved.
Caused by File Object must Converted to Binary String, then set XLSX.read type to binary

@consciousnessdev How did you convert your file to a binary string? I am having the same issue.

@consciousnessdev How did you convert your file to a binary string? I am having the same issue.
With this Code @robhoff-laerdal

const fileObjectToBinary = fileObj => new Promise((resolve, reject) => {
    const reader = new FileReader();
    reader.readAsBinaryString(fileObj);
    reader.onload = () => resolve(reader.result);
    reader.onerror = error => reject(error);
});

Hope its help you :)


[DOCS] How to develop

There is currently no documentation on how to develop, run unit tests etc.

This should probably include a proper contribution guide. Including info from #91


feat(web-app): add banner component

closes #1365
Changelog
New

banner component

Testing / reviewing
Make sure banner only shows on homepage and matches spec. (discussed in slack that it will stay sticky at the top)
http://localhost:3000/

updated @francinelucca


VS code settings

The following should be added to .vscode/settings.json so that the IDE always uses the workspace version so that diagnostic errors will be displayed in the IDE.
{
  "typescript.tsdk": "node_modules/typescript/lib"
}

Nevermind, according to https://github.com/nonara/ts-patch#notes

This alters diagnostics during emit only. If you want to alter diagnostics in your IDE as well, you'll need to create a LanguageService plugin to accompany your source transformer

We will have to do a language service plugin. So, instead, we need to have the following plugins in tsconfig.json.
"plugins": [
      {
        "transform": "functionless/lib/compile"
      },
      {
        "name": "functionless/lib/language-service-plugin"
      }
    ]


Could not find com.didi.foundation:sdk:1.2.0

D:\download\VirtualAPK-master>gradlew clean iR
Incremental java compilation is an incubating feature.
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':app'.

Could not resolve all dependencies for configuration ':app:_debugCompile'.
Could not find com.didi.foundation:sdk:1.2.0.
Searched in the following locations:
https://repo1.maven.org/maven2/com/didi/foundation/sdk/1.2.0/sdk-1.2.0.pom
https://repo1.maven.org/maven2/com/didi/foundation/sdk/1.2.0/sdk-1.2.0.jar
https://jcenter.bintray.com/com/didi/foundation/sdk/1.2.0/sdk-1.2.0.pom
https://jcenter.bintray.com/com/didi/foundation/sdk/1.2.0/sdk-1.2.0.jar
file:/D:/as/Android/sdk/extras/android/m2repository/com/didi/foundation/sdk/1.2.0/sdk-1.2.0.pom
file:/D:/as/Android/sdk/extras/android/m2repository/com/didi/foundation/sdk/1.2.0/sdk-1.2.0.jar
file:/D:/as/Android/sdk/extras/google/m2repository/com/didi/foundation/sdk/1.2.0/sdk-1.2.0.pom
file:/D:/as/Android/sdk/extras/google/m2repository/com/didi/foundation/sdk/1.2.0/sdk-1.2.0.jar

demo里面是没有引用这个lib的吧？

@caokunhk 那个是个例子，并不存在那个aar，请换成自己的aar。


NTR:virus particle binding/host virus attachment protein activity

Could I request a term to describe the activity of host virus attachment proteins i.e. those that bind virus particles (via a sometimes unspecified protein) and enhance virus entry but are not the main receptor?
e.g. PMID:16051304 - ACE2 is the receptor but other cell surface proteins can augment attchment/entry.
I am thinking something like - virus particle binding or host virus attachment protein activity
is_a
exogenous protein binding
??
Def: Combining with a virus particle component and mediating attachment of the virus to the cell.
PMID:16051304
GOC:ha

Is it considered a co-receptor ? Just wondering if we could have a more specific activity.

They don't use the term co-receptor, but the GO definition of coreceptor GO:0015026 "Combining with an extracellular or intracellular messenger, and in cooperation with a nearby primary receptor, initiating a change in cell activity." is compatible with the assayed activity, so I think that 'virus coreceptor activity' would be fine.

Thanks @hattrill


Define what's in/out of scope vs. filtered

The GSD doesn't define "vulnerability", so it may be unclear to others what is in and out of scope.
I believe we want to have a superset, and let the user filter based upon what they find useful.  The ability to parse -- thus filter -- is a killer feature IMO.

Just to put in my $0.02 for the conversation, I think "security finding" would be a good term.  Any "security finding" can be committed, and we have an extended "status" attribute such as whether "accepted", "wont fix", "resolved", "open", "in progress", and so on. Similar to when you file a bug report.

Agreed. Having as much data as possible, but all clearly labeled and filterable, is the intent of the project from my perspective; providing a centralized open-source place to discover, process/parse, and discuss security findings.

I use "finding" in this same way at my company, fairly successfully.  I agree that having structured context which is easily parsable is important, allowing recipients of the information to interpret it however best fits their needs.


How is connection draining supported in Azure Container Apps?

I didn't see related info about this in the public doc. How is connection draining supported?

In single revision mode, I only see health probe for new revision. After a new revision can take traffic, all traffic is moved to the new revision and the old revision is deactivated immediately. For requests that the old revision is still processing, will they just be abandoned? When use AKS directly, we can set connection draining in app gateway. Is there similar support in Azure Container Apps?
In multiple revision mode, I think we can spin up a new revision, after it's ready, allow 100% traffic to the new revision and then wait for several minutes and then deactivate the old revision. But the same question remains. After traffic is allocated to the new revision, can the requests the old revision is still processing still return to client successfully?

In single revision mode, once the new revision passes its probes, traffic is moved to it and the old revision is allowed 30 seconds before it's asked to shutdown. Once it receives the shutdown signal (SIGTERM) it can trap that signal for an additional 30 seconds. But if the app doesn't trap SIGTERM, it'll have 30 seconds to finish active requests.

After traffic is allocated to the new revision, can the requests the old revision is still processing still return to client successfully?

Active requests are not terminated from the loadbalancer side. So yes, existing active requests will remain uninterrupted after the traffic switch.

So, if my understanding is correct, in single revision mode, if our app can handle SIGTERM, it can have at most 1 min to handle requests before it's shutdown.

Correct.

Is there any config that can be used to extend the time? Currently we are using AKS and using 120s as the grace period.

Not at the moment, no.

(are domain socket and UDP supported as a communication way between two containers in the same replica?)

UDP/TCP should be fine. For unix sockets, you'll need to mount a shared tmp directory between the 2 containers (see https://learn.microsoft.com/en-us/azure/container-apps/storage-mounts?pivots=aca-arm#temporary-storage)

In order for this to work correctly, 1 min doesn't seem enough.
Or multiple revision mode is the only way we can use? We don't have the requirement to run multiple revisions side by side. If possible, single revision mode is our preferred way as it's simple to use.

Yes, it seems that you'd need either a way to customize the termination grace period to allow for more than 1 minute, or use multiple revision mode to have control over when to shutdown the revision. only the latter is possible today, but we can track exposing the termination grace period for scenarios like this.

In this case, will all the traffic be moved to this single replica without waiting for the other 9 replicas to be ready? Or will it wait for all 10 replicas to be ready and then move traffic?

Correct, each revision has its own scale meters/counters. The http counters are not inherent or shared between revisions, so it'll go through its own scaling flow. I agree that it'd work better if the new revisions come up with the scale counters of the previous revision

Got it. Thanks a lot for the answers! Looks like multiple revision is our way to go.
As the new revision doesn't scale up automatically to match the old revision replica count before traffic is moved, it might cause an issue when a new revision is created since the new revision might not be able to handle all the traffic in the old revision.
In AKS, this is not an issue as new pods can take traffic together with old pods during deployment. But with Azure Container Apps, this will be an issue.
A workaround I can think of is to change the min replica count with the new revision and change it back later. But this makes it not easy to use.
So, one suggestion I can make is to add a parameter for desired replica count when create a new revision and in single revision mode, before the desired replica count is reached, traffic is not moved, in multiple revision mode, users can manually move the traffic after the replica count is reached without changing the min replica count.

What about preStop lifecycle hook?  I understand we can handle SIGTERM in our app code or in a shell script as described above.  Are there plans to support container hooks?  Lifecycle hooks are more explicit and discoverable (i.e. you don't need to go looking at the container Dockerfile/scripts) and they support exec and http handlers.

it's been nearly a year on this -> is there any update? this functionality seems pretty useful


School Addition

The sadly do not have a URL linking to the 4 year high school Computer Programming course they offer.
Email proof: https://drive.google.com/file/d/1gk62NkURxzPeRzQ1NCAB-vSr5MIV0Wkl

I honestly would just like to have a little experience with professional software.

@imcyruskw wvwsd.txt I am sorry, I have to close the request without merging, because you made a mistake in a request and did not specify any filepath. Please ensure that you are familiar with this repository rules located at the bottom of this page and make a new correct request. Thank you for your understanding!

Got it.


UniNotifier doesn't work on Android in sleep mode

We've failed to make app work when device isn't connected to charge and when screen is turned off.
Application still works (doesn't restart or shutdown), but update timer work only when screen is active or power is pluggen in

Additional info: timer of PostDelay () method stops when sleep is enabled and resumes when it is disabled. But sometimes it continues ticking after turning the screen off (maybe in case of processes-'neighbours' awakening)

Problem closed as feature that allows to disable background internet connection to save battery charge

The problem may be taken as feature that allows to disable background internet connection to save battery. But it is still remaining. And we really want to solve it

The problem itself is still remaining. But it's not actual for UniNotifier 3.x. So, we'll close it


Module '"@varlet/ui"' has no exported member 'List', maybe List type exported absent caused it.

Feature request 🚀
Expected:

when I import { List } from '@varlet/ui', the TS give me an error "Module '"@varlet/ui"' has no exported member 'List'", I think the List type not been exported caused it.

Examples:
// the TS Error: Module '"@varlet/ui"' has no exported member 'List'
import { List } from '@varlet/ui';

Programme:
Others:
thanks for your work, I appreciate it.

Solved, please upgrade to the latest version，Thanks for your feedback


Calculator Type Interface documentation

Issue Id you have worked upon -
#245
Briefly explain your program logic -
I have conducted a thorough review of the homepage and landing page interfaces and implemented several modifications aimed at enhancing user interaction. These changes are based on user feedback and best practices in user interface (UI) design. I am confident that these modifications will result in a more engaging and user-friendly experience.
I welcome any feedback you may have on these changes.
Screenshots(Attach 2 screenshots of your own input and output) -
Attach here
https://www.figma.com/file/c2kfKi1qWDuSy2sgL9YnOP/calc_for_everyone-(GITHUB_2)?type=design&node-id=0%3A1&mode=design&t=mAi8P8aZKRgtTFFo-1

By raising this PR I affirm that -

[x] My code follows the guidelines of this project.

[x] I have performed a self-review of my own code.

[x] I have commented my code.

[x] My code gives the correct output.

[x] I affirm that I strictly follow contributing guidelines and code of conduct.

Congratulations 🎉 @Deathanni on your contribution.
Thanks for adding value to this repository. 😊
Let's celebrate this fest 😃 by providing more developers 👨💻👩💻 an opportunity to contribute. Help us make this repository reach far and more by sharing this to your friends and colleagues.
Your efforts can make difference.


docs(devserver.open): add type object.

Feature to document
dev server now supports type object for open option with PR#2492

Author(s)

Additional information

I am willing to work on this issue and submit a pull request.

Fixed in https://github.com/webpack/webpack.js.org/pull/3671


#342 Implemented restart policy

closes #342
📑 Description
Implemented restart endpoint. The endpoint url is resources/restart?group=apps&version=v1&kind=Deployment&name=&namespace=
✅ Checks

[ ] I have updated the documentation as required
[X] I have performed a self-review of my code

ℹ Additional context
Some SS for reference.
Before requesting endpoint

Endpoint calling

After requesting endpoint

If there is any error

Can you please check code and update me?


Proposal: Connections connect function should have no arguments

Is your feature request related to a problem? Please describe.
Right now we have unused arguments in our connections connect(...) function.
Describe the solution you'd like
Currently we ask to capture all of the information we should need to handle the connection to the data source in the constructor of a connection. Also, currently, we don't currently use any arguments in any of our supported connections at the moment such as Outerbase and D1 (albeit, both are HTTP based) but even in the preliminary scaffolding of other providers such as Neon those credentials can be passed in the constructor as well.
This is how an implementation looks today.
constructor(apiKey: string, accountId: string, databaseId: string) {
    this.apiKey = apiKey;
    this.accountId = accountId;
    this.databaseId = databaseId;
}

async connect(details: Record<string, any>): Promise<any> {
    return Promise.resolve();
}

My proposal is for now, until we have a need for it, we shouldn't have code that is just globally unused. So the proposal would go to:
// ...
async connect(): Promise<any>

Describe alternatives you've considered
N/A
Additional context
N/A

Proposal approved to remove arguments from connect


extending latin character range, and adding cyrillic support

resolves #1541 . Our character ranges were not wide enough to support extended latin characters.

Hi!
Looks good to me.
I noticed languages that are not using Latin characters at all (Arabic/Japanese/Chinese/Vietnamese...) are not included.
I suppose it is not a problem though because the characters never gets mixed.

Seems very good, and very nice of you to include Cyrillic as well, considering we have an upcoming Russian translation.
About other languages, from the current translations we have, Arabic, Japanese, Chinese and Korean are not supported by our font, Euclid Square. But as these languages do not contain Latin characters, they all seem accordant with each other. Maybe we might introduce a more foreign language friendly font family in the future, or introduce fonts based on languages selected.
However, Vietnamese is an exception. Vietnamese both have Latin and other special characters. Latin characters are in range, but others are not, and they're also not supported by our font family. This leads to a complicated situation.

Given this source: http://vietunicode.sourceforge.net/charset/ The other vietnamese caracters are in the range U+1EA0-1EF9
And given this source: https://jrgraphix.net/r/Unicode/1E00-1EFF this is Latin Extended Additional
Is it okay to add them @brightiron ?

Given this source: http://vietunicode.sourceforge.net/charset/ The other vietnamese caracters are in the range U+1EA0-1EF9 And given this source: https://jrgraphix.net/r/Unicode/1E00-1EFF this is Latin Extended Additional
Is it okay to add them @brightiron ?

added


We should pre-encode property names we write to JsonWriter

When we write property names to a JsonWriter, it's more efficient to pre-encode them like we did for Key Vault since, for example. WritePropertyName is going to do it each time anyway:
        private static readonly JsonEncodedText s_hsmPropertyNameBytes = JsonEncodedText.Encode(HsmPropertyName);

// ...

            if (Properties._tags != null && Properties._tags.Count > 0)
            {
                json.WriteStartObject(s_tagsPropertyNameBytes);

                foreach (KeyValuePair<string, string> kvp in Properties._tags)
                {
                    json.WriteString(kvp.Key, kvp.Value);
                }

                json.WriteEndObject();
            }

A contributor submitted a PR to this effect as well: https://github.com/Azure/azure-sdk-for-net/pull/10284

I wrote some simple benches using either JsonEncodedText or just a string passed to Utf8JsonWriter.WriteString and the results were a little surprising:
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19041.329 (2004/?/20H1)
Intel Core i7-8650U CPU 1.90GHz (Kaby Lake R), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=3.1.301
  [Host]     : .NET Core 2.1.19 (CoreCLR 4.6.28928.01, CoreFX 4.6.28928.04), X64 RyuJIT
  Job-FKFYJS : .NET Core 2.1.19 (CoreCLR 4.6.28928.01, CoreFX 4.6.28928.04), X64 RyuJIT
  Job-QDPPAY : .NET Core 3.1.5 (CoreCLR 4.700.20.26901, CoreFX 4.700.20.27001), X64 RyuJIT

Method
Job
Runtime
Toolchain
Iterations
Mean
Error
StdDev
Median
Ratio
RatioSD
Gen 0
Gen 1
Gen 2
Allocated

JsonEncodedText
Job-FKFYJS
.NET Core 2.1
netcoreapp2.1
1
806.2 ns
20.11 ns
48.95 ns
796.5 ns
1.73
0.10
0.2174
-
-
912 B

String
Job-FKFYJS
.NET Core 2.1
netcoreapp2.1
1
468.4 ns
8.71 ns
8.15 ns
466.2 ns
1.00
0.00
0.1860
-
-
784 B

JsonEncodedText
Job-QDPPAY
.NET Core 3.1
netcoreapp3.1
1
658.5 ns
2.48 ns
1.94 ns
658.7 ns
1.41
0.03
0.2136
-
-
896 B

String
Job-QDPPAY
.NET Core 3.1
netcoreapp3.1
1
342.5 ns
7.44 ns
9.67 ns
344.0 ns
0.73
0.03
0.1874
-
-
784 B

JsonEncodedText
Job-FKFYJS
.NET Core 2.1
netcoreapp2.1
100
16,457.3 ns
323.78 ns
513.55 ns
16,117.3 ns
0.77
0.03
1.6785
-
-
7096 B

String
Job-FKFYJS
.NET Core 2.1
netcoreapp2.1
100
21,683.2 ns
262.58 ns
219.27 ns
21,572.8 ns
1.00
0.00
1.6479
-
-
6968 B

JsonEncodedText
Job-QDPPAY
.NET Core 3.1
netcoreapp3.1
100
12,500.8 ns
240.50 ns
257.33 ns
12,573.1 ns
0.58
0.01
1.6785
-
-
7080 B

String
Job-QDPPAY
.NET Core 3.1
netcoreapp3.1
100
14,756.0 ns
289.97 ns
476.43 ns
14,840.1 ns
0.68
0.03
1.6479
-
-
6968 B

The single iteration result was expected - there is a one-time overhead cost - but even after a 100 iterations the improvement was negligable.

Per offline discussion, may only be worth opting into (via flag or something) if models are serialized a lot, like maybe in some cases for Storage, etc.

Closing until we find a real need.


Duration of the "two transaction formats allowed" hardfork transition phase

Maybe it's a bit early to discuss things concerning the hardfork to Seraphis and Jamtis, which is of course quite far out, but I think it may still be useful for aspects that may influence early on how we best implement and/or plan things.
If the format of transactions changes Monero hardforks usually take place as two hardforks in rapid succession: After the first one, both transaction formats "old" and "new" are allowed, after the second one only the "new" one. The idea is to make sure no already submitted transactions get lost. After all, when the first block with the first hardfork height gets mined there may be still old-format transaction waiting in the pool, and we want to remain able to process those, at least for a transition phase.
There also may be some transactions still "on the way", e.g. with cold signing, or multisig transactions.
For the last 2 or 3 hardforks the duration of the transition time was merely a single day.
What do we aim for regarding the transition phase between CLSAG transactions and Seraphis/Jamtis transactions?
You could argue that this transition is much more radical than the "usual" Monero hardforks, and because of this it's a good idea to make the phase much longer, maybe even weeks, to give the whole Monero "ecosystem" more time to adjust.
Such a long phase has pros and cons however.
Just one possible positive aspect: The first hardfork that enables Seraphis transactions can be a very strong wake-up call to "laggards" in the ecosystem that did not yet add support for Seraphis.
Just one possible negative aspect: The introduction of new addresses for every existing wallet, and all newly created wallets anyway, is probably already quite a challenge for Monero users. If during a long transition phase one part of them is still only reachable under their "old" address (because they did not yet switch to a Seraphis-supporting wallet and can't receive "new" transactions yet), and the other part is only reachable with "new" addresses, this might heighten the confusion, and complicate the transition instead of making it easier.

There might not actually be too many steps between the current seraphis library and supporting the construction of legacy txs. The seraphis lib already has legacy balance recovery and the ability to make CLSAGs (but not pre-ringct ring sigs for legacy enotes with cleartext amounts; in seraphis those are spent in CLSAGs but in the current protocol they are not). So, it is theoretically possible to have a seraphis wallet that can make legacy txs, and then delete all that code after it is fully deprecated.
One problem with that approach is the 'split balance' UX issue, because only legacy enotes can be spent in legacy txs. So a seraphis wallet that is making seraphis txs will see its available legacy balance decline.

One problem with that approach is the 'split balance' UX issue, because only legacy enotes can be spent in legacy txs. So a seraphis wallet that is making seraphis txs will see its available legacy balance decline.

Yes. I had a small insight about this recently, and maybe it helps people thinking about it: With a long period where both legacy and Seraphis transactions are supported, it's like a blockchain that supports two coins simultaneously.

Not having given it a whole lot of thought, I think about 1 week of grace period would be a good compromise.
A major difference between the Seraphis hard fork and previous hard forks is that the address format will change. With previous hard forks, if a user used fully updated software, they might not have even realized that a hard fork had happened. With Seraphis, a user has to transmit or receive an alternative address. There can be a long time lag between transmitting the address and the construction of the transaction.
Having two transaction formats can diminish privacy by creating two user pools. I don't think we should let that grace period extend too long. By the way, I don't see how the beginning of the grace period sends any explicit warning to any non-updated services. Their transactions would continue to work until the end of the grace period.
Most important is better communication with Monero ecosystem entities. The role of @plowsof or similar could be useful here.


setup command on CLI to generate basic setup

should be able to generate basic setup for:

routes (svelte/kit)
tailwindcss
vitest
storybook

should guarantee that unsupported things would not be generated on standalone create

not needed included as progressive enhancement


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update gem installation instructions

The new version of the ruby gem (5.1.0) allows using turbolinks without the asset pipeline, as discussed here: https://github.com/turbolinks/turbolinks-rails/pull/18
I think it's important to update this documentation, because installing an older version without the asset pipeline throws an error.

Thank you!


[Jetsnack] Use drawWithCache for gradients.

LGTM but it would be nice to see comments on uncommon APIs like these.


On-screen debug controls for Reflex programs

To the extent possible, the on-screen debug UI should be ported to CodeWorld.Reflex.
This one is a bit tricky from a design standpoint.  The time-traveling debugger won't port over at all, since it relies on keeping a log of all past states and being able to revert to one of them, and I don't even know what that means in Reflex.  But play, pause, fast-forward, single-step, pan, and zoom should be fine.  All they do is modify something about the inputs or outputs.
This is a big step before it becomes feasible to think about porting the existing entry points to use Reflex as a backend.

Part 1 is complete.  Updating the description

I think this can be done in two ways.  First, it should be possible to duplicate all existing functionality by reimplementing the debug controls in reflex itself, at the translation layer.  The only change to CodeWorld.Driver that's needed for this is that reactive programs should return two different pictures: one for the raw picture, to use in Inspect mode, and the other for when the program is running (which would include on-screen controls).  All debug controls, including state-based ones, can then be implemented in front of the core reactive code, where we still have a handle on the state.  This would be enough to duplicate all the existing functionality, and move the implementations of CodeWorld entry points over to a reflex backend (#1040).
I will file a separate bug for making some debug controls available during Inspect mode.  This will require a bit more work.

(That second step is already #708, so no new bug.)

I have now added a debugReflexOf, which contains an implementation of zoom controls for reflex programs.  It did not go really nicely.  In fact, the experience has persuaded me that something like #1056 is probably a good idea.


Minimum ios version?

What is the lowest ios version that is supported?
I tried my app on an old ipad (ios 9.3.5 cant be updated anymore) and it crashes, it works fine on my iphone. Im not sure if 9.3.5 is not supported or if there is a bug in my app.

I tried it on a device with ios 10.0.0 and it worked fine, ios 13.3 works fineto. it

Are you certain that the crash you experienced is related to this plugin and not something else in your configuration?
iOS 9 (and honestly, in most situations - I'd argue - iOS 10) should really not be developed for any more, considering there are four major versions ahead of it :)

Are you certain that the crash you experienced is related to this plugin and not something else in your configuration?
iOS 9 (and honestly, in most situations - I'd argue - iOS 10) should really not be developed for any more, considering there are four major versions ahead of it :)

im not sure if it is because of the plugin tbh.
currently we have the minimum version at 10, so it's not a problem for us if 9.* is not supported.

It looks like cordova-ios 5.0.0 still technically supports iOS 9, so iOS9 should also be supported by this plugin based on the README's min requirements: https://github.com/dpa99c/cordova-plugin-firebasex#breaking-api-changes
That assumes you're using cordova-ios 5.0.0 of course.
Still a fair question to ask just to be clear, but it's also probably worth checking into the crash on iOS 9 to see if this plugin is actually the cause of the problem or not :)

It looks like cordova-ios 5.0.0 still technically supports iOS 9, so iOS9 should also be supported by this plugin based on the README's min requirements: https://github.com/dpa99c/cordova-plugin-firebasex#breaking-api-changes
That assumes you're using cordova-ios 5.0.0 of course.
Still a fair question to ask just to be clear, but it's also probably worth checking into the crash on iOS 9 to see if this plugin is actually the cause of the problem or not :)

unfortunately I dont have the ios9 device anymore for testing. It crashed when receiving a push notification,
I agree it's better to support later versions only we have set our minimum at 10 but I tried to test it on an old ipad that was laying around just for testing purposes


Saving prefrences

Hi,
The more I search for the functionality of "Save Preferences", the less I find.
Is there any plans for implementing this functionality?
In the mean time, where does Amphetamine save its configurations, so I can backup and symlink it to my Dotfiles repository?
P.S. Works like a charm btw, I really appreciate the effort put into this application 👍

App preferences are cached in newer versions of macOS (maybe since 10.10?). Simply copying/replacing Amphetamine's .plist file will typically not work. You need to use the defaults tool as you mentioned in your previously comment. I currently do not have plans for implementing an "export prefs" feature. Time Machine backups should take care of most people's needs, and in your case, just make a copy of com.if.Amphetamine.plist. When you need to restore, use your delete and import defaults commands.
com.if.Amphetamine.plist is found here:
~/Library/Containers/com.if.Amphetamine/Data/Library/Preferences/com.if.Amphetamine.plist


set ntp at version 1.10.1 which doesn't require a newer version of cookbook windows

set ntp at the fixed version of 1.10.1 which doesn't require a newer version of cookbook windows

Duplicate of #459


Sidebar Right to Left (RTL)

Hello
How can I change the position of the sidebar to the right side (RTL).
I found this https://github.com/puikinsh/gentelella/issues/272 but it is only for top_nav
any idea?
Thanks

Hi @almayahi,
Well needs some custom work here, but with a little bit of attention it should work so i will try to guide you :)
First of all you must find "!-- top navigation --" section with "top_nav" div in it , once you found it, replace the hole thing with this :

                    John Doe

 Profile

                        50%
                        Settings

Help

 Log Out

                    6

                          John Smith
                          3 mins ago

                          Film festivals used to be do-or-die moments for movie makers. They were where...

                          John Smith
                          3 mins ago

                          Film festivals used to be do-or-die moments for movie makers. They were where...

                          John Smith
                          3 mins ago

                          Film festivals used to be do-or-die moments for movie makers. They were where...

                          John Smith
                          3 mins ago

                          Film festivals used to be do-or-die moments for movie makers. They were where...

                          See All Alerts

   Second, go to your CSS file and put this part right to the bottom ( after your last line of code )
       .nav-md .container.body .right_col 											{ margin-right: 230px;margin-left:0; }
  .nav-md .container.body .col-md-3.left_col 									{ right:0; }
  .top_nav .navbar-left 														{ float:left; }
  .toggle  																		{ float:right; }
  .nav-sm .container.body .col-md-3.left_col 									{ right:0; }
  .nav-sm .container.body .right_col 											{ margin-left:0;margin-right:70px; }
  .nav-sm .main_container .top_nav 												{ margin-left:0;margin-right:70px; }
  .main_container .top_nav 														{ margin-left:0;margin-right:230px; }

  footer 																		{ margin-right:230px;margin-left:0; }

So this should do the trick , i hope this will be helpful for you. If you have another issues don't hesitate to mention it here :)
Cheers !

Hello AndreiCN
What I need is the Sidebar menu to shift it to the right side.
I mentioned your support link(https://github.com/puikinsh/gentelella/issues/272)  for the top_nav
Thanks

Well this will also need some custom work, I will get back to you as soon as I can.

Hi there again @almayahi ,
We already have a RTL ticket opened with enhancement label on it , so this type of version will be released in the near future.
We will just close this ticket for now but feel free to reopen it if you have more to add here.


staging-next 2024-03-24

Helpful links

workflow docs: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#staging
important jobs:
https://hydra.nixos.org/job/nixpkgs/staging-next/unstable#tabs-constituents
https://hydra.nixos.org/job/nixos/staging-next-small/tested
jobsets:
https://hydra.nixos.org/jobset/nixpkgs/staging-next
https://hydra.nixos.org/jobset/nixos/staging-next-small
nix-review reports: https://malob.github.io/nix-review-tools-reports/
previous staging-next: https://github.com/NixOS/nixpkgs/pull/295458

Mass breakages
nothing notable so far

[ ] lxc regressed with a weird reproducible permission error, without the expression getting updated at all
https://hydra.nixos.org/build/254069525/nixlog/1

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/copying-custom-edid/31593/26

This has broken aarch64-darwin:
last 10 log lines:
       >                               ^
       > In file included from bsm_class.c:45:
       > ../compat/strlcpy.h:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
       > /nix/store/16kbg4bnbknh30k9jql69gx8b9a910cz-libSystem-11.0.0/include/secure/_string.h:112:3: note: expanded from macro 'strlcpy'
       >                 __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
       >                 ^
       > 1 warning and 2 errors generated.
       > make[1]: *** [Makefile:331: bsm_class.lo] Error 1
       > make[1]: Leaving directory '/private/tmp/nix-build-openbsm-1.1.drv-0/source/libbsm'
       > make: *** [Makefile:[27](https://github.com/cachix/devenv-nixpkgs/actions/runs/8564942468/job/23472286352#step:6:28)0: all-recursive] Error 1
       For full logs, run 'nix log /nix/store/80xjlz0vajzy7bd4dyvsmizwss21sjx9-openbsm-1.1.drv'.


LINK-2092 | remind user to log out

Description
Remind user to logout and close browser tab at signup/signup group/payment completed page
Closes
LINK-2092
Screenshots

LINKEDREGISTRATIONS-UI branch is deployed to platta: https://linkedregistrations-pr162-ui.dev.hel.ninja :rocket::rocket::rocket:

e2e tests result is success for https://linkedregistrations-pr162-ui.dev.hel.ninja :laughing::tada::tada::tada:

LINKEDREGISTRATIONS-UI branch is deployed to platta: https://linkedregistrations-pr162-ui.dev.hel.ninja :rocket::rocket::rocket:

e2e tests result is success for https://linkedregistrations-pr162-ui.dev.hel.ninja :laughing::tada::tada::tada:


iOS/iPadOS support

Great app!
Are you considering adding support for iOS/iPadOS as well?

Thank you. I looked into iOS/iPad about a year ago and it seemed to require a jailbreak since Apple doesn't let you control the screen as an overlay natively, unfortunately.

https://www.reddit.com/r/iOSProgramming/s/bAR97IkiES
It looks like this may be possible now, potentially. This would probably be a pretty big lift but I'll start investigating further.


Whether your final confidence is composed of clocs confidence and 3D detection confidence.

The code has been released, you could have a look.

The code has been released, you could have a look.


Wrong intellisense on variable member [FSharp]

Describe the bug
While writing code inside cell is possible to call code completion with Tab key, but this feature doesn't work well with variables and instances members. Instead of showing accessible members it complete with a Note tag. If then you press tab again, this time you get initial set of code completion, still missing the variable's members.
I noticed this behaviour both on local kernel and online with Binder.
Locally I have tried both with jupyter and jupyter lab getting the same behaviour.
If it can help I think that IfSharp has a smooth working intellisense (although it only works on jupyter notebooks and not on Jupyter Lab)
Did this error occur while using dotnet interactive?

[x] .NET Jupyter Notebook

Please complete the following:

OS

[x] Windows 10
[ ] macOS
[ ] Linux (Please specify distro)
[ ] iOS
[ ] Android

Browser

[x] Chrome
[ ] Edge
[ ] Safari

Frontend

[x] Jupyter notebook
[x] Jupyter lab
[ ] nteract

We've started working on improving Intellisense for all front-ends.

Addressed in PR #625


z

Somehow there was an extra line in my iframeSizer.min.js file at the bottom:
(window||{});iFrameResize()
Removing this part iFrameResize() fixed my issue.


Update vulnerable and old dependencies in gradle distribution (7.4.2)

There seems to be a great deal of old and vulnerable libraries used in the most recent gradle distribution (7.4.2) that are reported to have vulnerabilities and should be updated:

google-http-client-1.25.0
google-http-client-jackson2-1.25.0
google-oauth-client-1.25.0 (subject to https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-7692)

Please note this list is not comprehensive and is just a showcase of some old libraries used by gradle wrapper.
See picture (these libraries reside in lib/plugins of the gradle distribution):

Further questions:

Where do these libraries even come from to the distribution and how are they managed?
How gradle uses those specified dependencies and are gradle users vulnerable to the security issues related to google-oauth-client-1.25.0 (CVE.2020-7692)?

Thanks!

Preliminary summary of the POTENTIAL issues we might have, still to be examined further:

Any Updates on this?

Hi,
Travis CI also observed the critical issue with outdated dependancies. Any ETA for a fix would be much appriciated.

Update: the above PR bumps the vulnerable Google libraries we have in the distribution and should make it into Gradle 7.6, our next release.

PR has been merged


Is there a way to conditional render the square with specific color with ContributionGraph?

Hello everyone! I'm using ContributionGraph to track the state of the user that can have 4 values (let's say 'N/A', 'good', 'neutral', 'bad'). I would like to conditional select the color on those 4 values for example N/A is grey, good is green, neutral is blue, and bad is red. I love this react-native-chart-kit and would like to continue using it. Is there any way to do that without editing node_modules?
I found the renderSquare props in the type of ContributionGraph but still cannot render the color.
renderSquare(dayIndex: number, index: number): JSX.Element;

Did you find a solution to this? It will only allow me to change the color of the square by editing the 'color' property in chartConfig. Did you figure out a way to edit individual squares?

I did not :(


Use ImmutableSortedSet for growing data

As ImmutableSortedList can be converted to Arrays, it's use will simplify the growing live data cases implementation.

Hi @Minu476, thanks for suggesting this!
I think you're referring to System.Collections.Immutable.ImmutableSortedSet<T>
I haven't looked into it in depth yet, but my concern is that ScottPlot only plots double[] objects. You could use list.ToArray() to convert the ImmutableSortedSet to a double[], but this copies all the elements in the list and must be performed after every addition to the list, and I'm worried about performance if such copying is called frequently. What do you think? If I'm misunderstanding your suggestion, a few lines of sample code might help clarify it.

I made mistake, I wanted to refer to ImmutableSortedDictionary<,> which key will use X as key  and Y as value.
We can add a range of elements  or single element to list.
This will allow ScottPlot to have a method  Add for adding or initializing data. But Render will be used to copy the dictionary even as updating live data can add to dictionary at the same time.
I don't know each Render() will render the whole array every time or only additions? this might be a correct concern in case of the latter.

Multiple Ys also will be easy to implement by using manay instance of this dictionary.

Good morning,
Just few notes from my observations on getting:  Message=Object is currently in use elsewhere.

It happened almost in plotting manual ticks shown in this code segment at very end:
foreach (var gran in _intervals)
{
if (_myDataToPlot.Columns[gran + "_bolL_21"].active)
{
var pl1= formsPlot1.plt.PlotFill(_myDataToPlot.ColumnDataPoints[gran + "_bolH_21"].Keys.ToArray(),
_myDataToPlot.ColumnDataPoints[gran + "_bolH_21"].Values.ToArray(),
_myDataToPlot.ColumnDataPoints[gran + "_bolL_21"].Keys.ToArray(),
_myDataToPlot.ColumnDataPoints[gran + "_bolL_21"].Values.ToArray(),
gran + "_Bol_21", 1.0, _myDataToPlot.Columns[gran + "_bolL_21"].LineColor, true,
_myDataToPlot.Columns[gran + "_bolL_21"].FillColor, 0.40);
_myPlottables.Add(gran + "_bolL_21",pl1);
}
         if (_myDataToPlot.Columns[gran + "_bolL_144"].active)
         {
             var pl2 =formsPlot1.plt.PlotFill(_myDataToPlot.ColumnDataPoints[gran + "_bolH_144"].Keys.ToArray(),
               _myDataToPlot.ColumnDataPoints[gran + "_bolH_144"].Values.ToArray(),
               _myDataToPlot.ColumnDataPoints[gran + "_bolL_144"].Keys.ToArray(),
               _myDataToPlot.ColumnDataPoints[gran + "_bolL_144"].Values.ToArray(),
               gran + "_Bol_144", 1.0, _myDataToPlot.Columns[gran + "_bolL_144"].LineColor, true,
               _myDataToPlot.Columns[gran + "_bolL_144"].FillColor, 0.40);
             _myPlottables.Add(gran + "_bolL_144", pl2);
         }

         if (_myDataToPlot.Columns[gran + "_bolL_233"].active)
         {
             var pl3=formsPlot1.plt.PlotFill(_myDataToPlot.ColumnDataPoints[gran + "_bolH_233"].Keys.ToArray(),
                 _myDataToPlot.ColumnDataPoints[gran + "_bolH_233"].Values.ToArray(),
                 _myDataToPlot.ColumnDataPoints[gran + "_bolL_233"].Keys.ToArray(),
                 _myDataToPlot.ColumnDataPoints[gran + "_bolL_233"].Values.ToArray(),
                 gran + "_Bol_233", 1.0, _myDataToPlot.Columns[gran + "_bolL_233"].LineColor, true,
                 _myDataToPlot.Columns[gran + "_bolL_233"].FillColor, 0.40);
             _myPlottables.Add(gran + "_bolL_233", pl3);
         }

         if (_myDataToPlot.Columns[gran + "_bolL_377"].active)
         {
             var pl4 =formsPlot1.plt.PlotFill(_myDataToPlot.ColumnDataPoints[gran + "_bolH_377"].Keys.ToArray(),
                 _myDataToPlot.ColumnDataPoints[gran + "_bolH_377"].Values.ToArray(),
                 _myDataToPlot.ColumnDataPoints[gran + "_bolL_377"].Keys.ToArray(),
                 _myDataToPlot.ColumnDataPoints[gran + "_bolL_377"].Values.ToArray(),
                 gran + "_Bol_377", 1.0, _myDataToPlot.Columns[gran + "_bolL_377"].LineColor, true,
                 _myDataToPlot.Columns[gran + "_bolL_377"].FillColor, 0.40);
             _myPlottables.Add(gran + "_bolL_377", pl4);
         }
     }

     XLabelPlot(formsPlot1, _myData.Bars["H1"], true);
     formsPlot1.Render();

I later noticed i can call skipIfCurrentlyRendering=true)

It also happened when I was updating with live data and moved the charts with mouse(zoom,pan,..)

Updating live data in financial series should be very easy by calling a method Add(bars), which will add a range of bars at end of data.

Hey @Minu476 thank you for these ideas! I updated the roadmap to include creation of a demo application specifically for finance, and this will demonstrate how to plot live incoming financial data that grows with time. ImmutableSortedDictionary<TKey,TValue> might be the best tool for the job, but I'll explore that further when I start making the demo app.
It's probably a bigger discussion than we should have here, but perhaps an alternative solution is for the OHLC plottable to accept List<OHLC> rather than OHLC[]. This way it would be extremely easy to add data, and you'd eliminate all of your .ToArray() statements 🤔
I'll close this issue for now, but I look forward to working more on the financial charting components of ScottPlot in the near future!


latest(8af7a020) docker container does not contain arm64 arch

Currently, tagged latest docker image, https://github.com/petio-team/petio/pkgs/container/petio/214920072?tag=latest does not contain arm64 architecture image. Is there any chance you could add it? Thank you

@guliashvili I've pushed an image for you where the tag is master and not latest due to the way the old system is made, it's a challenging task to get it rebuild.
There is one change that had to be made which I wasn't able to work around due to docker not fully respecting symlinks, which is that the volume for the config is now /app/config and not /app/api/config, so make sure to change that in your compose file.
let me know how you get on with it.

Oh wow, thank you so much for such a quick response.


adddependencies command may result in invalid manifest.xml

Your environment
OS :  Ubuntu 18.04 (WSL)
Node.js version : 12.16.2
suitecloud-cli version : 1.0.2
Terminal/CMD tool : Webstorm terminal (WSL)
Describe the bug
running project:adddependencies results in the following element added to the <objects> dependency list in manifest.xml:
<object>scriptid=customrecord_ns_ibe_req_types.value_2_t1247005_146|scriptid=customrecord_ns_ibe_req_types.value_4_t1247005_146|scriptid=customrecord_ns_ibe_req_types.value_3_t1247005_146</object>

Subsequently running project:validate results in the following error:
Validation failed.

An error occurred during manifest validation.
Details: The object scriptid=customrecord_ns_ibe_req_types.value_2_t1247005_146|scriptid=customrecord_ns_ibe_req_types.value_4_t1247005_146|scriptid=customrecord_ns_ibe_req_types.valu
e_3_t1247005_146 in the dependencies list contains characters that are not allowed.
File: ~/manifest.xml

Expected Behavior
The project:adddependencies command should never result in a manifest.xml that fails validation.
Additional context
What do I do with this? I'm not sure what that  content means - what's the workaround? Can I just safely remove this as a dependency in manifest.xml?

@ShawnTalbert can you please update the cli to the latest 1.0.4 version. We fixed a similar issue to what you have described in the latest release available.
So it would be interesting to see if you can reproduce it or not.

OK great. it looks like 1.0.4 no longer adds those funky dependency objects to my manifest, but it still adds invalid features, as shown below:
An error occurred during manifest validation.
Details: The VATORTAX_OVERHAULING feature defined in the manifest does not exist.
Details: The PHONETICSORT feature defined in the manifest does not exist.
Details: The PERLINETAXNOTTAX_OVERH feature defined in the manifest does not exist.
Details: The CANADA feature defined in the manifest does not exist.
Details: The RECEIVABLESSALESORDERS feature defined in the manifest does not exist.
Details: The COMMITABLEORDERS feature defined in the manifest does not exist.
Details: The NOTADVANCEDJOBS feature defined in the manifest does not exist.
Details: The CANADANOTTAX_OVERHAULING feature defined in the manifest does not exist.
Details: The VATNOTTAX_OVERHAULING feature defined in the manifest does not exist.
Details: The DOCUMENTS feature defined in the manifest does not exist.
File: ~/manifest.xml

But I think that's being fixed by another issue?

@ShawnTalbert Yes this will be fixed with #124
So seems like updating to the latest version fixed the originaly mentioned issue, i will close this issue.
BTW you can just remove these invalid feature from manifest and the project will be deployed without any issue. This is more like a work around for now.


datasketches quantiles module - implemented makeAggregateCombiner

fix https://github.com/apache/incubator-druid/issues/6877

is there a particular snapshot binary one can download with this fix. without this quantiles sketches are broken in 0.13.0

There isn't (the patch has not made it into a release yet) but you could build one from source. It will be in 0.14.0 which should be out fairly soon.


Star Wars FFG Enhancments Mod, Vehicle Roller option

The window will open up, how ever it is not click able. Only work around for now is to disable this option in the mod

.

Fixed, pending release in 0.2.6.
Thanks for the report!


Fixed send report to ACRA

tryed this pr with FirebaseCraslytics, but still it doesn't log the crash... any suggestions?

Probably this is happening because new FirebaseCrashlytics is using a ContentProvider
This solution is working https://stackoverflow.com/questions/63375005/upgrade-firebase-crashlytics-with-custom-uncaughtexceptionhandler?noredirect=1&lq=1 with custom logic
Perhaps it could be integrated in this library

ACRA must be initialized after CustomActivityOnCrash as stated in the documentation.
Firebase should work correctly if you invoke FirebaseApp.initializeApp(this;) inside your Application.onCreate. This has been documented in the install instructions.


CMakePresets: Preset not shown when a common dependency is inherited more than once

Brief Issue Summary

It seems presets are not shown in the list of available presets if a common dependency is inherited more than once. For example via a transitive inheritance path.

How to reproduce
Using the example CMakePrests.json below. Then do Ctrl+Alt+P then type CMake: Select Configure Preset
{
    "version": 2,
    "configurePresets": [
        {
            "name": "default",
            "displayName": "default",
            "generator": "Ninja",
            "binaryDir": "${sourceDir}/build/default"
        },
        {
            "name": "foo",
            "inherits": "default",
            "displayName": "foo"
        },
        {
            "name": "foobar",
            "inherits": [
                "foo",
                "default"
            ],
            "displayName": "foobar"
        }
    ]
}

Expected Behavior
The above mentioned procedure shows the configure presets: "default", "foo" and "foobar".
Actual Behavior
The above mentioned procedure shows the configure presets: "default" and "foo". "foobar" is not listed.
When calling "cmake --list-presets", the output shows all expected presets.
$ cmake --list-presets
Available configure presets:

  "default" - default
  "foo"     - foo
  "foobar"  - foobar

It seems this behavior is related to inheritance of presets. If "foo" would not inherit from "default" all expected presets would be listed.
CMake Tools Diagnostics

{
  "os": "win32",
  "vscodeVersion": "1.61.2",
  "cmtVersion": "1.9.1",
  "configurations": [
    {
      "folder": "d:\\repos\\defective_preset",
      "cmakeVersion": "3.20.1",
      "configured": false,
      "generator": "",
      "usesPresets": true,
      "compilers": {}
    }
  ],
  "cpptoolsIntegration": {
    "isReady": false,
    "hasCodeModel": false,
    "activeBuildType": "",
    "buildTypesSeen": [],
    "requests": [],
    "responses": [],
    "partialMatches": [],
    "targetCount": 0,
    "executablesCount": 0,
    "librariesCount": 0,
    "targets": []
  },
  "settings": [
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": false
    }
  ]
}

We plan to release the fix for this on Monday. If you would like to verify the fix in a pre-release version of the extension, please do the following:

Download the VSIX here: https://github.com/microsoft/vscode-cmake-tools/suites/4455203062/artifacts/118295075
Unzip the VSIX file from the archive
Invoke the Install from VSIX... command in VS Code and select the VSIX file from step 2.

Thanks for the hint. I tried the fix and for me it works again as expected.

The fix for this has been released in 1.9.2.


fix: Don't destroy the player twice

conn.DestroyOwnedObjects(); already destroys the player object...once is enough.

@MrGadget1024 could you please add a very simple test so we can be sure that it still destroys the player object?
this is great if it works but we need to be 100% sure not to break things :)

I tested with Basic example modified to let player call a Cmd to spawn a bunch of junk assigned to that client and then click StopClient.  Server shows player and junk all gone.  In master OnDestroy fires twice for the player.  This PR eliminates the double firing.  The actual destroy comes at the end of the frame.  No idea how to set up a test for that other than the modified example I did.

@MrGadget1024 please take a look at our existing networkserver tests.
you would have to start the server, add 1 player+connection, then call DestroyPlayerForConnection and check if that player was destroyed

Added test, it needed to be a runtime test to check if Destroy was called

Added test, it needed to be a runtime test to check if Destroy was called

Thanks @James-Frowen :)


Inconsistency with "More technical interview questions" link in "CRUD" question

ISSUE TYPE

[ ] Typo
[x] Bug
[ ] Feature

WHERE / WHAT

The "More technical interview questions" link is the same size as the heading instead of being standard size in @mike8161990's database/SQL question about CRUD.

EXPECTED BEHAVIOR

The link should be the same size as standard text as with other questions.

Thanks @mike8161990 for resolving this!


Add core grid functionality ported from whmii/cask

Pulled in files from whmii/cask as of 3f9b71439c6c96123ee177b1f1d00295968e1eeb
For a complete history see https://github.com/whmii/cask

:-1: I’d rather pull in smaller chunks so we can add tests along the way, as well as documentation. Otherwise we have to backfill all of that and it’s highly likely we’ll introduce either bugs, or leave something out.

Yeah, agree with :-1:, too much too fast. IMO, this introduces too many configuration points and access of global variables. If we handle the features one by one, we should be able to process easier:

Simple grid
Pushing / Pulling / Shifting (are these different?)
Handle zero errors (if needed?)

I love the calc grid, though.
Also, I would like it if we made the example usage in contrib as well, so we can tell how the end user would consume it.

agree, this pr is was meant as a talking point for this very discussion 😘

Makes sense!

:100:


Add write descriptor sample

This sample is the one featuring how to write a value to a Bluetooth GATT descriptor.
Try them live at:
https://beaufortfrancois.github.io/samples/web-bluetooth/
https://beaufortfrancois.github.io/samples/web-bluetooth/write-descriptor.html
https://beaufortfrancois.github.io/samples/web-bluetooth/write-descriptor-async-await.html
R: @scheib

@scheib 2/3 of your feedback is addressed.

LGTM with text changes. I agree mostly with acceptAllDevices, I just didn't know if this sample would be easy for folks to get to work in any case without specifying a service & characteristic.

@g-ortuno Can you review https://github.com/WebBluetoothCG/ble-test-peripheral-android/pull/76 so that we have an android app people can use to play with GATT descriptors?


DO NOT MERGE! Fast Forward stable to 494c50a570e86878bafe0eb7cc0b95ffc6eba90f.

This PR will be merged automatically once checks are successful.

Jenkins job auth/postsubmit passed


ISSUE: No Mail showing up.

Describe the bug
For the last couple of days I have seen no mail or any other deliveries coming in.  I checked this morning (before I usually get notification in gmail) and there is an error in the logs:
Environment (please complete the following information):

OS: Operating System 10.2
Type of device: RPi4 on SSD
Home Assistant version: Home Assistant 2023.5.4
Hassio - Supervisor 2023.05.0, Frontend 20230503.3 - latest
Component version: 0.3.14

Logs
Paste your error logs here.
This error originated from a custom integration.

Logger: custom_components.mail_and_packages
Source: helpers/update_coordinator.py:204
Integration: Mail and Packages (documentation, issues)
First occurred: 3:05:02 AM (1 occurrences)
Last logged: 3:05:02 AM

Timeout fetching Mail and Packages (imap.gmail.com) data

Screenshots
If applicable, add screenshots to help explain your problem.
N/A - All sensors show zero.
Additional context
Add any other context about the problem here.
Please add emails in plain/text format if possible and applicable.
The diagnostics:
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2023.5.4",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.11",
    "docker": true,
    "arch": "aarch64",
    "timezone": "America/New_York",
    "os_name": "Linux",
    "os_version": "6.1.21-v8",
    "supervisor": "2023.05.0",
    "host_os": "Home Assistant OS 10.2",
    "docker_version": "23.0.6",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "asuswrt_custom": {
      "version": "0.7.2",
      "requirements": [
        "aioasuswrt==1.4.0",
        "pyasuswrt==0.1.16"
      ]
    },
    "waste_collection_schedule": {
      "version": "1.40.0",
      "requirements": [
        "icalendar",
        "recurring_ical_events",
        "icalevents",
        "bs4"
      ]
    },
    "mail_and_packages": {
      "version": "0.3.14",
      "requirements": [
        "beautifulsoup4",
        "Pillow>=9.0"
      ]
    },
    "ourgroceries": {
      "version": "1.5.3",
      "requirements": [
        "ourgroceries==1.5.3"
      ]
    },
    "generic_hygrostat": {
      "version": "0.7.1",
      "requirements": []
    },
    "awnet_local": {
      "version": "1.0.1",
      "requirements": []
    },
    "browser_mod": {
      "version": "2.2.2",
      "requirements": []
    },
    "hacs": {
      "version": "1.32.1",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "teamtracker": {
      "version": "0.1",
      "requirements": [
        "arrow",
        "aiofiles"
      ]
    },
    "spook": {
      "version": "0.13.5791",
      "requirements": []
    },
    "garmin_connect": {
      "version": "0.2.16",
      "requirements": [
        "garminconnect==0.1.55",
        "tzlocal"
      ]
    },
    "noaa_tides": {
      "version": "0.1.3",
      "requirements": [
        "noaa_coops>=0.1.8"
      ]
    },
    "places": {
      "version": "2",
      "requirements": []
    },
    "smartthinq_sensors": {
      "version": "0.31.8",
      "requirements": [
        "pycountry>=20.7.3",
        "xmltodict>=0.12.0",
        "charset_normalizer>=2.0.0"
      ]
    }
  },
  "integration_manifest": {
    "domain": "mail_and_packages",
    "name": "Mail and Packages",
    "documentation": "https://github.com/moralmunky/Home-Assistant-Mail-And-Packages",
    "issue_tracker": "https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/issues",
    "dependencies": [],
    "codeowners": [
      "@moralmunky",
      "@firstof9"
    ],
    "config_flow": true,
    "integration_type": "service",
    "requirements": [
      "beautifulsoup4",
      "Pillow>=9.0"
    ],
    "iot_class": "cloud_polling",
    "version": "0.3.14",
    "is_built_in": false
  },
  "data": {
    "image_name": "903c2557-446b-4b32-88db-6a50fffc0845.gif",
    "amazon_image": "0236467f-0230-4e5e-a5f2-c32f529ca516.jpg",
    "image_path": "custom_components/mail_and_packages/images/",
    "amazon_delivered": 0,
    "amazon_packages": 0,
    "amazon_order": "**REDACTED**",
    "fedex_delivered": 0,
    "fedex_delivering": 0,
    "fedex_tracking": "**REDACTED**",
    "fedex_packages": 0,
    "mail_updated": "2023-05-31T09:47:05.367436+00:00",
    "ups_delivered": 0,
    "ups_delivering": 0,
    "ups_tracking": "**REDACTED**",
    "ups_exception": 0,
    "ups_packages": 0,
    "usps_delivered": 0,
    "usps_delivering": 0,
    "usps_tracking": "**REDACTED**",
    "usps_exception": 0,
    "usps_mail": 0,
    "usps_packages": 0,
    "zpackages_delivered": 0,
    "zpackages_transit": 0
  }
}

It has been working for a long time with no issues.
From USPS site

HA only showed the Saturday delivery

Timeout fetching Mail and Packages (imap.gmail.com) data

Increase your IMAP timeout setting.

Seemed to be working now. Had at 90 secs changed to 120.


MadClown01's Processing includes recipes for a device which is unable to craft them.

The garden generation recipes require fluids and are crafted inside a seed extractor. The seed extractor is unable to accept fluids, which leaves the recipes uncraftable.

Thanks for the issue report, I have patched this in the latest update.


That domain though...

Hi Folks!
Got curious about this project but noticed the domain expired: http://vcljs.com
Thought you should know!
(Feel free to delete this issue once resolved)

I guess it is no longer maintained?

correct
On Fri, Oct 19, 2018 at 5:42 PM tcsaddul<EMAIL_ADDRESS>wrote:

I guess it is no longer maintained?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vclteam/VCL.JS/issues/12#issuecomment-431406730, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADWLaEuZL6uyOYw9qzpB2Yx88H8FGzWlks5umfLagaJpZM4Xs2Ka
.

Then perhaps its a good idea to remove all references to it, or replace it with a new domain. That make sense?


(BOLT-338) Add local transport for shell systems

Add a local transport that should work on systems that support shell scripts. Work on Windows support will come later.

Still need to add tests.

CLA signed by all contributors.

Rebased on all the other merged work.

I think I've addressed all the feedback.


Invalid GetDataset Response Error is not Helpful.

Hi!
Thank you for this library. I found a bug that I'd like to offer to fix. When credentials are not correctly set, the following code
import contextlib
import io
import pathlib

import kagglehub

DIR = pathlib.Path(".").resolve()

# NOTE: The ``path`` argument does not specify the path downloaded to, but
#       instead a subpath of the data.
DATA_DOWNLOAD_IO = io.StringIO()
DATA_ID = "anthonypino/melbourne-housing-market"
DATA_DIR = pathlib.Path(kagglehub.dataset_download(DATA_ID))

raises the error
Traceback (most recent call last):
  File "/home/adrian/quarto/temp.py", line 13, in <module>
    DATA_DIR = pathlib.Path(kagglehub.dataset_download(DATA_ID))
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/adrian/quarto/.venv/lib/python3.12/site-packages/kagglehub/datasets.py", line 28, in dataset_download
    return registry.dataset_resolver(h, path, force_download=force_download)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/adrian/quarto/.venv/lib/python3.12/site-packages/kagglehub/registry.py", line 23, in __call__
    return impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/adrian/quarto/.venv/lib/python3.12/site-packages/kagglehub/http_resolver.py", line 43, in __call__
    h.version = _get_current_version(api_client, h)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/adrian/quarto/.venv/lib/python3.12/site-packages/kagglehub/http_resolver.py", line 177, in _get_current_version
    raise ValueError(msg)
ValueError: Invalid GetDataset API response. Expected to include a currentVersionNumber field

It would appear that the library does not catch the 401 response from the API. In my case, the value of json_response is
{'code': 401, 'message': 'Unauthorized access'}

It would be better to give another error message instead of saying that the response is malformed, e.g. just say 401 Unauthorized.

I would also like to say that I am aware that this is the result of not having proper configuration and is a user error, however it was not optimal to have to debug from this message.

Hi this was an issue internally which didn't let non logged-in users access to dataset download.
It has since been resolved.
will closed this issue, but you can re-open if you believe the issue still persists


A few toolchains etc. tweaks to try and get Travis build working

Travis build on master has been down for a bit.  This change:

Sets Travis dist to trusty.
Requires oraclejdk9 in Travis because we now depend on it.
Disables maven-toolchains-plugin when running in Travis, they won't support it, see travis-ci/travis-ci#2727 .

Any feedback on this effort to make the Travis build succeed fir master?


Add mship dashboard link to adm dropdown

Thanks @inventor02 but I don't want to share too much nav between the admin panel and frontend. We'll shortly be decommissioning this admin panel too.


integrate spark into Electron

integrate spark into Electron

@giangnamnabka Could you rebase? We've updated the dependencies and are now using node v20, see 2ba73b0949b982300076f00088335a9a194f9673


[QoI] fix diagnosis of non-Optional enum used in optional pattern

enum Foo { case Bar }
let maybeFoo = Foo.bar

Previously:
error: enum case 'Some' not found in type 'Foo'
guard let foo = maybeFoo else { fatalError() }
          ^

Now:
error: initializer for conditional binding must have Optional type, not 'Foo'
guard let foo = maybeFoo else { fatalError() }
          ^

Resolves SR-1456.

@swift-ci please smoke test

Hmm, there is a strange test case in SILGen/statements.swift where  guard let t = a is expected to work when a is a custom optional type:
enum MyOptional<Wrapped> {
  case none
  case some(Wrapped)
}

Is this something we should still support? cc @lattner

That's weird; we don't want to support anything other than the true optional types in if-let/guard-let.

Renaming MyOptional to Optional might do the trick.

Would removing this be a language change that would need to go through swift-evolution? It seems like a bugfix, but conceivably some people could be using it.

I pre-emptively updated the commit to simply remove that test. 🙂
@swift-ci please smoke test

@swift-ci please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 14dc42248357e4f2f3fcff98b2d390000968dc60
Test requested by - @jtbandes

@swift-ci clean test linux

I don't consider this a language change that needs swift-evolution. And, passing a SourceLoc for the initializer seems totally reasonable here. Thanks!

@DougGregor OK, thanks! If that qualifies as "LGTM", feel free to merge — GitHub won't let me do it for some reason.
What's the procedure for nominating changes for Swift 3.0? Do I just make another PR against swift-3.0-branch?

Merged. You can make a PR against the swift-3.0-branch, given it a 3.0 milestone, and assign to @tkremenek .


Switch CircleCI to v2.0

Version 1 EOLs 31st August 2018

Need to add configuration option to ignore gh-pages builds


sssr: Fix an inferrable timing arc through streamctl FIFO

Closed, since the suspicion of a timing loop arose from incorrect elaboration.


libScanner.so for arm64

Hello there! I really love your work, especially this one! However, how do I get the libScanner.so for arm64 (for 64-bit)?
Thanks!

Is anyone here??? I really need help! Please :(

Hey anyone have libScanner.so for arm64?

Generated native libraries for all architectures as part of https://github.com/jhansireddy/AndroidScannerDemo/commit/d29f33bb0aff512f9c90706f3fcf1804f368c75f


Fix auto-completion for modules when documentation is not displayed

Possible solution for https://github.com/ansible/ansible-language-server/issues/329
It fixes the bug both with VSCodium and Emacs.

@fredericgiquel Have you considered writing a test for it, so we do not accidentally break it in the future?

@priyamsahoo I added my name in dictionary
@ssbarnea I added tests on newText value for all completion tests (not only modules completion)


Suricata error after 24.1.2 update

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
After upgrading OPNsense to version 24.1.2 I'm getting the following errors in Suricata. There errors weren't present prior to the update (version 24.1.1 running Suricata 6)
2024-02-20T23:49:30 | Error | suricata | [100539]  -- failed to obtain number of NUMA nodes in the system
2024-02-20T23:49:30 | Error | suricata | [100539]  -- unable to open /sys/devices/system/node
2024-02-20T23:49:30 | Error | suricata | [100539]  -- failed to obtain number of NUMA nodes in the system
2024-02-20T23:49:30 | Error | suricata | [100539]  -- unable to open /sys/devices/system/node
To Reproduce
Enable Suricata with a ruleset
Expected behavior
Quite obvious, but not showing the errors.
Describe alternatives you considered
I found a similar issue on Reddit (https://www.reddit.com/r/opnsense/comments/1avj9md/opnsense_2412_released/)
There a microcode update was suggested, however as I'm running OPNsense as a VM on Proxmox a microcode update isn't applicable in this case.
Screenshots
N/A
Relevant log files
N/A
Additional context
Looking at the error, it seems Suricata is looking the for the number of NUMA nodes in /sys/devices/system/node.
This location isn't present in OPNsense. This looks more of a location you would expect on a Linux machine.
Perhaps a forgotten line to adjust for the FreeBSD version?
Environment
OPNsense 24.1.2 (running on Proxmox).
Intel(R) Xeon(R) CPU E3-1265L V2

It seems this issue is already known and reported:
https://redmine.openinfosecfoundation.org/issues/6762

Yea, was reported on Reddit also.

Also, I am unable to use opnsense-revert -r 24.1.1 suricata to revert to the previous version of it. What is going on? No way forward....no way back.....this is a MAJOR pain in the A#$.

@mvmazijk  For anyone else looking for something that actually works while not disabling Suricata and killing their network security. Here is what I have tested and seems to work.
The forum links to support this comment are:
https://forum.opnsense.org/index.php?topic=38989.0
https://forum.suricata.io/t/my-traffic-gets-blocked-after-upgrading-to-suricata-7/3745
The links above describe that Suricata 7 has moved for a default of "drop(Close)" instead of "ignore(Open)". This causes exceptions in Suricata causing the packets to be dropped.
What worked for me was editing the file shown at the path below with the code following that. Be sure to have Suricata disabled in the WebUI before applying this fix. Once the file has been edited then re-enable Suricata in the WebUI and test the network. The logs will show the same NUMA errors so that is useless. OISF stated that they are moving the NUMA messages to the infromational channel in logging as it's not supposed to affect functionality.
IMPORTANT: According to the documentation this effectively turns the "applayer" into IDS mode (Off) in the cases of exceptions. They also discuss more about how Suricata will act more like a firewall in this way from version 7 on. More information about this can be found here.
File to edit:
/usr/local/opnsense/service/templates/OPNsense/IDS/custom.yaml
Code to add at the end of the file:
# Uncomment line below to ignore all exceptions (Suricata 6.0.15 Behavier) - You should not need this but use it if the app-layer code does not work
#exception-policy: ignore
app-layer:
  error-policy: ignore

Issue is resolved with Suricata version 7.0.4 / OPNsense version 24.1.4.


route path is out of date!

refer : https://www.w3.org/TR/webdriver/#protocol
6.5 Endpoints
the default path of RemoteWebDriver in 04_WebDriver.jl:
    function RemoteWebDriver(
        capabilities::Capabilities;
        host::AbstractString = "localhost",
        port::Integer = 4444,
        path::AbstractString = "/wd/hub",
        kwargs...,
    )::RemoteWebDriver

should be ""
which is tested.

Hi @deahhh, this is still one of the divergences from the W3 Protocol in the package. The reason for it is that the recommended tool is selenium/standalone-chrome:4. Selenium still hasn't updated its latest release to the current protocol. As soon as that happens, I would be happy to make the change. I have been moving from the Wire Protocol to the W3 based as soon as a Selenium release makes the change.


use special chars in rule name

Hi,
How can use special chars for example comma, dollar sign or double quote in my rule name?

Hi @mjafarpour.
I'm afraid you can't do so easily.
The constraint on rule names is to enable Chevrotain to run it's dark magic
to "compile" the grammar.
You can see more details on the secret sauce here:
https://github.com/SAP/chevrotain/blob/master/docs/tutorial/step2_parsing.md#but-how-does-it-work-skip-if-you-dont-care--
Basically Chevrotain implements "poor" man's macros to analyze the text of the user's rules
to figure out the grammar. The constraint exists to make this hack of text analysis be simpler.
There was some work creating different DSLs for Chevrotain:
https://github.com/kristianmandrup/chevrotain-rule-dsl
Perhaps you can use such an approach to get around the constraint

I'm so novice in used chevrotain. I'll try it. Ok from now i'll effort to ask better questions. Thanks.


test: Introduce ASSERT_PROFILE_EVENT

Signed-off-by: Wish<EMAIL_ADDRESS>What problem does this PR solve?
Issue Number: ref #5237
Problem Summary:
What is changed and how it works?
Introduce a new helper macro to assert the ProfileEvent change for a block of code.
Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/merge


Noise support as alternative to TLS

Supporting Noise encryption instead of TLS reduces reliance on DNS and is faster than TLS which is useful for mobile applications (not available to browsers though).
To do so, we need:

Get server's public IP (from user or Mainline).
Adapt Axum to user Noise somehow! (keep an eye on https://github.com/dignifiedquire/nquinn)
Adapt Ureq to support Noise somehow.

we are going to use TLS over Pkarr in #37


[icu] remove setting triplet

Remove unnecessary settings (maybe fix #18086 ?)

The paraview regression will be fixed by another PR.

Depends on https://github.com/microsoft/vcpkg/pull/19629.

/azp run


Dynamic styles

Hi,
What do you think of adding to props overlayStyle and contentStyle ?
My use case would be having computed property in contentStyle.
Current workaround is creating for loop in sass having classes from products-modal--top30 to products-modal--top0

Hi @dominykasgithub ,
Thanks for your feedback again.

Current workaround is creating for loop in sass having classes from products-modal--top30 to products-modal--top0

The workaround will generate large CSS content in final bundle.

The feature is released in

v0.17.0 for Vue 2
v1.4.0 for Vue 3

thx!


After upgrade to June 2022 (1.69.1) - no extension works

We have writt
Issue Type: Bug
After upgrading to latest June 2022 build 1.69.1, vscode keeps crashing the "extension host (localprocess)"
Extension host termintated unexpectedly 3 times within the last 5 minutes... and then all my plugin including seeing git diff stop working...
 Please paste.

I found related article on how to troubleshoot and pinpoint the problematic plugin. Ref: https://github.com/microsoft/vscode/issues/113415#issuecomment-754487054
After running Bisect a few time...  the issue was the extension Regex Workbench causing the extension host to keep on crashing. Disabling the identified problematic plugin solved my issue.
I created a new issue here instead: https://github.com/stephen-riley/regexworkbench/issues/26


How to add triangle in top of dropdown content

Description
Does anyone know how to add an arrow to dropdovn content so that it appears first?
My problem is that when you add an arrow through the pseudo-element(to dropdown-content) or div with styles ,first appears  the dropdown content and then arrow shows.
Screenshots / Codepen
Example:
http://jsfiddle.net/esjrhg5n/
Example with our loved Materialize CSS (look at arrow)
https://jsfiddle.net/sj2tm8cd/13/
Thank's!!!

If you don't want to use material icons, you can use unicode characters. You use ::before to make it appear before the element, https://jsfiddle.net/sj2tm8cd/17/

I am sorry but your example is not that i ask for.See drop down content top arrow,not button arrow

https://jsfiddle.net/sj2tm8cd/20/


Shared variables must be of protected type

Unsure how others use this but my simulator says that shared variables must be protected types,  2008.
Shared variables must be of protected type:

../src/adaptations_pkg.vhd:71:19     shared_default_log_destination    t_log_destination

../src/adaptations_pkg.vhd:432:19    deprecated_subprogram_list        t_deprecate_list

As "ordinary" shared variables were very useful and very user friendly these have been kept in many testbenches and testbench environments after being removed from the VHDL LRM. This is to my knowledge also the reason why all simulators (at least Modelsim/Questa, Riviera Pro/Active HDL, Vivado and GHDL) are allowing these shared variables - but often with an alert that they are deprecated. You may normally turn this alert off, which is absolutely fine when this is still working perfectly well in the simulator.
In UVVM_3_BETA this has been fixed, but we recommend to keep on using the default UVVM for some time, as UVVM_3_BETA is a beta version - mainly because we are in the progress of adding more important updates there which are not yet properly verified or completed.

I understand the state of things.  I am verifying a new simulator and we encounter these devotions from the 2008  LRM constantly.  If in fact the package is to be2008  compatible, it should meet the LRM requirements.  There are other packages available, I will not name them as you already know them,  they are compliant.
We intend to keep our simulator as compliant with the LRM as possible, and provide switches for users to make the simulator act like the others.
I am in fact not using your package to do verification of RTL, but of the implementation of VHDL in our simulator.
for reference,  this is the simulator.  https://metrics.ca/
The package is providing interesting cases for us,  Thanks for producing it :)

Sounds interesting.
Let us know if you need any info in the future.
To your information - UVVM is great for constrained random testing (which uses a lot of CPU power), but it is also great for directed - far more CPU efficient testing as well.
Best of luck with your tool.


Which supported datatype is best for handling money amounts?

Hi Roland,
As I am starting a small project to begin use of your library, I found decimal and numeric are not allowed data types (but they are the only that allow exact 2 decimal places for money amounts). I guess one could use double, but that is not exact.
I would like to know what you suggest.
Thanks!
Juan

Hi Juan,
I would use bigint or some other integral type and combine it with information about the currency. Not all currencies have a minor unit that represents 1/100th of the main unit.
Best,
Roland

Hi Roland
Just to make sure I get that correctly :
all amounts would be multiplied by 100 for storage purposes
I know of a small library that deals with such representation so all would be well!!
Thanks again!

Hi Juan,
That sounds good to me.
Best,
Roland


Possible Bug identifying Reference comments

    @Test
    public void testBug() {
        final Set<String> referenceTitlesFound = new HashSet<>();
        new NodeVisitor(
            new VisitHandler<>(
                Reference.class,
                ref -> referenceTitlesFound.add(ref.getTitle().toStringOrNull())
            )
        )
        .visit(
            Parser.builder(new MutableDataSet())
                .build()
                .parse(
                    "[//]: # (comment1)\n"
                    + "Why am I up here?\n"
                    + "\n"
                    + "[//]: # (comment2)\n"
                    + "- [For Some Strange Reason](http://imatitle)\n"
                    + "- [and I'm part of the title](http://cool)\n"
                    + "\n"
                    + "[//]: # (comment3)\n"
                    + "[//]: # (comment4)\n"
                    + "\n"
                    + "I'm a description\n"
                    + "\n"
                    + "# Header\n"
                    + "\n"
                    + "Second Level Header  \n"
                    + "------------------      \n"
                    + "\n"
                    + "### Setup\n"
                    + "\n"
                    + "# This is not a valid title\n"
                    + "\n"
                    + "# Help\n"
                    + "\n"
                    + "Support\n"
                    + "\n"
                    + "[//]: # (comment5)\n"
                    + "Guidelines\n"
                    + "========================"
                ));

        Assert.assertEquals(
                new HashSet<String>() {{
                    add("comment1");
                    add("comment2");
                    add("comment3");
                    add("comment4");
                    add("comment5");
                }},
                referenceTitlesFound
        );
    }

Output:
Expected :[comment5, comment4, comment3, comment2, comment1]
Actual   :[comment4, comment3, comment2, comment1]

The last Reference object, "comment5" appears to be getting recognized as part of the Guidelines header. If I change from underline header style to # header style, it parses out the Reference as expected.
  <properties>
    <maven.compiler.target>1.8</maven.compiler.target>
    <maven.compiler.source>1.8</maven.compiler.source>
  </properties>

    <dependency>
      <groupId>com.vladsch.flexmark</groupId>
      <artifactId>flexmark-all</artifactId>
      <version>0.62.2</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.13</version>
      <scope>test</scope>
    </dependency>

Java version 8.0.252 Amazon Corretto

@mmadson, this is part of the CommonMark spec. Reference definitions are only parsed when they are at the start of a paragraph block. Since the last block element is a heading then the leading reference definition is not recognized.
Also, Setext headings can be multi-line, which is the case for your example.
To make it proper syntax you need to add a blank line before the last heading element or use ATX heading syntax.

@vsch Thank you very much for the clarification. I just noticed that my markdown previewer was correctly identifying it as a reference despite being directly before the heading, so wasn't sure why it wasn't parsing as such. I can definitely work around the issue. Much appreciated.


Fixes certs rate limited cns arg

error.domains doesn't exist, this fixes an issue when creating new TooManyCertificates error.

Codecov Report

Merging #2130 into canary will increase coverage by 0.07%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           canary   #2130      +/-   ##
=========================================
+ Coverage    4.39%   4.47%   +0.07%
=========================================
  Files         243     243
  Lines        8686    8693       +7
  Branches      900     900
=========================================
+ Hits          382     389       +7
  Misses       8287    8287
  Partials       17      17

Impacted Files
Coverage Δ

src/util/certs/create-cert-for-cns.ts
0% <0%> (ø)
:arrow_up:

src/util/read-metadata.js
100% <0%> (ø)
:arrow_up:

src/util/hash.js
100% <0%> (ø)
:arrow_up:

src/util/error.js
100% <0%> (ø)
:arrow_up:

src/util/get-files.js
91.53% <0%> (+0.06%)
:arrow_up:

src/util/get-project-name.js
90.9% <0%> (+0.9%)
:arrow_up:

Continue to review full report at Codecov.

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


Fix addresses and hosts for mdns connections, and listen only on ip4

The way we lookup server addresses and socket addresses is not quite correct, and we should only listen on ip4. It means that although everything works on localhost, and works in tests, I do not think that everything will work as expected on a real network.
server.address() as used here returns the address that the server is bound to by the OS. Since we create the server with no options, this will default to <IP_ADDRESS> on ip4 and :: on ip6. On an OS that supports ip6 (my Mac for instance) server.address().address will be ::. We are using this as the host name that we are advertising on mdns.
We should not pass a hostname to mdns, and instead rely on the mdns module to create a correct hostname (which will be a .local address) for the mdns record. In addition we should probably specify server.listen({ host: '<IP_ADDRESS>', port: 0 }) to force the server to only listen on ip4, but to listen on all addresses (e.g. local and non-local).
For connecting to a peer when discovering a service via mdns, we use the service.host property. This will be hostname.local. normally, but since we are specifying host when we advertise the service it will be either :: or <IP_ADDRESS>. This will work in tests (since connecting to this will work locally) it will not work on a real network. We should use the addresses property of the resolved service record. This will always have at least one entry, and any of the entries should work for connecting.
For the address of an incoming connection from a peer, we use socket.address(). This will not be the address of the peer, but rather be the locally bound address - the same same as returned by server.address(). To get the address of the incoming connection we need socket.remoteAddress and socket.remotePort.

I think solving #68 will solve this, so I can assign it to myself.

This should be fixed in the latest implementation


Release 0.2.0

Hi.. sorry for the delay.. but I had some other issue let's do this.. why close it..

I replaced the PR with one with a different date, rebased on master: https://github.com/guzzle/uri-template/pull/14. :)


<EMAIL_ADDRESS>handle css @import which is wrapped in a comment statement

Describe the bug
style.css
div {
  width: 20px;
}
/* @import url@xxx.css); */

main.ts
import 'style.css';
...

As code shown above, when your code try to bundle a css which contains "@import url()"  which wrapped in a comment statement, vite will treat it as an actual import.
This bug does not exist on vite version 2.9.3, issue occurs starting at version 2.9.4.
This bugs seems to related to this function: https://github.com/vitejs/vite/blob/main/packages/vite/src/node/plugins/css.ts#L1118
Reproduction
https://stackblitz.com/edit/vitejs-vite-w9q3fu?file=style.css
System Info
System:
    OS: Linux 3.10 Tencent tlinux 2.2 (Final)
    CPU: (16) x64 Intel(R) Xeon(R) Gold 6133 CPU @ 2.50GHz
    Memory: 12.00 GB / 31.17 GB
    Container: Yes
    Shell: 5.0.2 - /bin/zsh
  Binaries:
    Node: 14.18.0 - ~/.nvm/versions/node/v14.18.0/bin/node
    Yarn: 1.22.18 - ~/.nvm/versions/node/v14.18.0/bin/yarn
    npm: 6.14.15 - ~/.nvm/versions/node/v14.18.0/bin/npm
  npmPackages:
    @vitejs/plugin-vue: ^2.3.1 => 2.3.1
    @vitejs/plugin-vue-jsx: ^1.3.10 => 1.3.10
    vite: ^2.9.5 => 2.9.5

Used Package Manager
pnpm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

https://github.com/vitejs/vite/blob/main/packages/vite/src/node/plugins/css.ts#L1118
@bluwy is need to cleanString 🫣

I think so too. Maybe we can only apply the cleaner regex since it's CSS. I'm hoping this doesn't affect perf too much.

I think just need to cleanComment. I think the CSS string can't affect the regexp match.


Avoid loading bundler 2.4.22 that vendorizes thor 1.3.0

when thor 1.3.0 is vendorized, lcs_diff.rb emits method redefinition warnings as follows:

.../src/github.com/rails/thor/lib/thor/shell/lcs_diff.rb:6: warning: method redefined; discarding old show_diff
.../.rbenv/versions/2.7.8/lib/ruby/gems/2.7.0/gems/bundler-2.4.22/lib/bundler/vendor/thor/lib/thor/shell/lcs_diff.rb:6: warning: previous definition of show_diff was here
.../src/github.com/rails/thor/lib/thor/shell/lcs_diff.rb:21: warning: method redefined; discarding old output_diff_line
.../.rbenv/versions/2.7.8/lib/ruby/gems/2.7.0/gems/bundler-2.4.22/lib/bundler/vendor/thor/lib/thor/shell/lcs_diff.rb:21: warning: previous definition of output_diff_line was here
.../src/github.com/rails/thor/lib/thor/shell/lcs_diff.rb:37: warning: method redefined; discarding old diff_lcs_loaded?
.../.rbenv/versions/2.7.8/lib/ruby/gems/2.7.0/gems/bundler-2.4.22/lib/bundler/vendor/thor/lib/thor/shell/lcs_diff.rb:37: warning: previous definition of diff_lcs_loaded? was here

I forgot to describe what this patch solves. This patch fixes currently failing CI on Ruby 2.7 https://github.com/rails/thor/actions/runs/7106766044/job/19346865013


ValueError: too many values to unpack

Hey! Thanks for the exporter!
This code will fail https://github.com/zerok/celery-prometheus-exporter/blob/7e3d6797f80a459af67c463f6c47672432ed0386/celery_prometheus_exporter.py#L191-L196 with prometheus_client>=0.4.0, because samples are namedtuples now.

No worries :) I've already forked it to add a queue size metric and found this issue.


Instanced rendering?

Hi!
Is there api in lime-next, to make instanced rendering on desktop targets?
glDrawArrayInstanced?
glDrawElementsInstanced?

So far, we have been following the WebGL specification for supporting the GL render API, by following WebGL, we can implement the same behavior on all GL targets (WebGL, GLES and desktop OpenGL)
However, I think that in order to allow better support for certain features beyond this initial set, perhaps we should look at considering support for WebGL 2 APIs, but we'll have to decide how we handle the two in a good way. I don't want to provide code completion for functions that are sure to break in many targets, so this is one we'll have to think out.
It looks like WebGL 2.0 is planned to have draw instance support:
https://www.khronos.org/registry/webgl/specs/latest/2.0/

@jgranick , so when webgl 2.0 will be released, than it will be possible in lime, is it correct?
Hm... Just  interesting, is it possible to make extension for lime (and/or openfl openglview) with supporting desktop-like GL functions? I mean it as not a part of the base part of lime.
Sorry for my English, hope you understand what I trying to say :)

I think we should design some way to expose WebGL 1 and WebGL 2 style APIs, and to allow the developer to switch (with the knowledge this might not work on older systems)
I'm going to close this, as I'm closing TODO items on the issue tracker (I'd rather not track them as defects for now) but happy to discuss this more on the OpenFL Slack (I can send an invite) or elsewhere
Thank you! :smile: