Simple support for c++ modules

This only works for cmake plugin; only files in include directory with extension of .ixx are considered as module interface units.

This only works for cmake plugin

That's a blocker, IMO. Prefab's only reason to exist is to make packages portable across build systems. If you only care about CMake support, https://github.com/cpp-pm/hunter is fairly popular.

Okay, then let's wait for ndk-build to support c++ module first: https://github.com/android/ndk/issues/1855.


declaration of 'RCTConvert' must be imported from module 'React' before it is required

Steps to reproduce

RN share 1.2.1 on React Native 0.59.3, library linked, libRNShare.a in Link Binary with Libraries
Podfile containing following line under Project-tvOSTests

pod 'RNShare', :path => '../node_modules/react-native-share'

Build or Archive in XCode 10.2.1

Expected behaviour
The project should build without any error
Actual behaviour
Approx. 4 out of 5 timese building fails with followig error while compiling WhatsAppShare.m

declaration of 'RCTConvert' must be imported from module 'React' before it is required

node_modules/react-native-share/ios/WhatsAppShare.m:21:27: error: declaration of 'RCTConvert' must be imported from module 'React' before it is required
        NSString *text = [RCTConvert NSString:options[@"message"]];

A random mix of XCode clean build folder, watchman del, and npm --reset-cache makes it work, but I can't determinate the trick.
Environment

React Native version: 0.59.3
React Native platform + platform version: iOS 12.1

react-native-share
npm 1.2.1
Link to repo (highly encouraged)
https://github.com/

you might try using the legacy build system for a "sometimes fails" ios build error.

@mikehardy unfortunately the process isn't stable even under legacy build system. I am inspecting some kind of collision or effect coming from other libraries. Thank you for your answer, I'll keep you guys posted on the issue

I have similar problems and i found out that under product->scheme->manage shemes->targets i have react (missing)

@jliberacki currently testing your solution, thanks. I'll try a few times because of the randomness of the bug, and let you know

This component cannot be used for 0.59.2

With existing minor patch versions up to 0.59.10 I wouldn't stay on 0.59.2 so that doesn't seem like a restriction really?

@jliberacki  Unfortunately your solution doesn't solve the problem. The library keeps building now and then.
@nubwang @mikehardy when the building succeedes everything works just fine under 0.59.3

@grafosecondo you tried with recent versions?


Create online demo

@timbl mentioned it would be a nice enhancement to create an online demo of the solid-app-set
This would be similar to the previous tabulator online demo
The basic idea would be to have an app with address bar where you type in a data URI.  Solid app set then browses the giant global graph and changes the value in the address bar as you click on hyperlinks.
This could perhaps be combined with a pushstate function which allows limited changing the address bar when links a clicked

I think this does the trick here :
https://linkeddata.github.io/mashlib/dist/browse.html?uri=https%3A%2F%2Ftimbl.com%2Ftimbl%2FPublic%2FTest


Documentation pointing to maxAutoRenewDuration 5-minute limit

Can you please point to the relevant section in the ServiceBus documentation that states this:

The maxAutoRenewDuration is configurable in host.json, which maps to OnMessageOptions.MaxAutoRenewDuration. The maximum allowed for this setting is 5 minutes according to the Service Bus documentation, whereas you can increase the Functions time limit from the default of 5 minutes to 10 minutes.

It seems accurate, as all my function runs generate a MessageLockLost exception if they run for more than 5 minutes. Is this an Azure Functions limit or a ServiceBus limit? An upper-bound of 5 minutes seem rather low - there are plenty of use cases where processing a message can take longer.
Thanks!

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

ID: 1d50399c-0873-e903-35ca-1845c84b6c6c
Version Independent ID: 1a3150b4-5eb9-0ac5-ee2b-d1bb6b6fd63e
Content: Azure Service Bus bindings for Azure Functions
Content Source: articles/azure-functions/functions-bindings-service-bus-trigger.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

Hi @guythetechie Thanks for reaching out. We will review and update as appropriate.

@guythetechie maxAutoRenewDuration is the max limit after which the message pump stop renewing the lock of a message. Until that time it keeps renewing the lock periodically.
For more information follow Github and this SO threads.
For now will proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Hello. It remains unclear why there would be a maximum of 5 minutes. These 5 minutes limitation seems not present anywhere in ServiceBus own documentation.

@DixitArora-MSFT Direct reference as your requested explicitely.


rollback to version 052

What's this? :)

@alexanderwallin apologies for the delay in getting back to you on. This appears to be a mistake on my part that intended for a fork. Closing out.


[BUG] Blocknative Notify doesn't update or complete on Rinkeby deployment

I think this is a non-issue in V2. Closing


Include PR #11224 from cosmos-sdk to fix Ledger/Amino authz signing

Hi,
Would it be possible to include the following PR https://github.com/cosmos/cosmos-sdk/pull/11224 into the next release? This would fix the Ledger/Amino authz MsgGrant signing issues that are currently impacting all Ledger users.
Geo

Hi @george-aj . Taking a look... The desired PR related to this seems to be: https://github.com/cosmos/cosmos-sdk/pull/11680
As a side note, this article was helpful for understanding the context: https://medium.com/confio/authz-and-ledger-signing-an-executive-summary-8754a0dc2a88

@alexanderbez thoughts on whether this is a good idea to add directly to next release, vs wait until a subsequent release with SDK v0.46 ?
i don't understand whats happening with RegisterLegacyAminoJson being added into every module (vs just Authz)

I think @p0mvn's PR introduces the changes we need, but also introduces some API breaking changes. We can get it into v8.


Setting the executablePath setting no longer works

When setting the executablePath directly via the setting it is being overridden to "shellcheck"
resulting in the following error:
Failed to run shellcheck: [undefined] Command failed with exit code 1: shellcheck -V 'shellcheck' is not recognized as an internal or external command, operable program or batch file.
this is due to:
https://github.com/timonwong/vscode-shellcheck/commit/d7598a6560ea0e78ed5edf3657d4fe30b486a754
As if executablePath is set isBundled will be False so executablePath will be overriden to 'shellcheck'
I think to do this properly if executablePath is not set you should check for the existence of shellcheck in the path with a fall back to the bundled version.

Thanks for raising this. https://github.com/timonwong/vscode-shellcheck/pull/257 should solve the issue.

That looks good
Thanks for the quick fix


add sorting by latest entries

This pull should solve #7 . Feel free to give as many feedbacks as possible, i would like to follow your code standards. Thanks!

@erickbelfy Can you please check the build? The CI is breaking. As soon as you do that I can start the code review.

@rafaelrinaldi I forgot to run lint script sorry about that :smile:

@erickbelfy Looking good! As a last request before merging it, can you update the instructions so users can be aware of this feature and how to use it?

@erickbelfy Looking good! Thanks for your interesting in making the project better, that's truly appreciated.

Thank you @rafaelrinaldi for all of your tips! Always good to work with you.
You can count on me :smile:

@erickbelfy I swear to you I was about to send that exact same .gif!


Added dynamic icon count

I noticed the past couple of commits you simply iterate the icon count every time. I thought it'd be good to make it dynamic so you don't have to. The only issue is SEO the Google robot might not pick it up immediately but I don't think the number is necessarily important if it keeps updating.
Feel free to deny this PR if this isn't ideal.

Thanks for the commit, but the icon count is already automatically calculated when the page is built in src/build.js (this builds the page, embeds the SVGs, does the sorting etc). I elected to make the page build a pre-deployment task rather than a client-side task because the sorting is fairly complex.

Ah my bad I should have checked that. Great icons btw :)

Thanks :smiley:


Slack alerts for failed nightly tests

Description
Adding the ability to post to our slack channel when our scheduled run fails. I'll add this to the other adapters if you like this
Checklist

[ ] I have signed the CLA
[ ] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[ ] I have updated the CHANGELOG.md and added information about my change to the "dbt-snowflake next" section.

.clabot

@cla-bot check


feat: make capacityTokenId optional

Description
Making capacityTokenId param optional to make delegating capacity credits easier
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] e2e

DEBUG=true NETWORK=manzano MINT_NEW=true yarn test:e2e:nodejs --filter=test-rli-from-lit-node-client-optional-capacity-token-id.mjs

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Can we close this? Seems like it got replaced by other PRs


iox-#1436 disable heartbeats in apps when not monitoring

Pre-Review Checklist for the PR Author

[x] Code follows the coding style of CONTRIBUTING.md
[x] Tests follow the best practice for testing
[x] Changelog updated in the unreleased section including API breaking changes
[x] Branch follows the naming format (iox-#123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit messages are signed (git commit -s)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[x] Add sensible notes for the reviewer
[x] All checks have passed (except task-list-completed)
[x] Assign PR to reviewer

Notes for Reviewer
RouDi provides already the necessary information if a process should be monitored or not to ProcessManager::addProcess which then responds to the application.
So it was easy to add another parameter isMonitored to the REG_ACK response to the application.
The IPC Runtime Interface stores this in m_sendKeepalive and only sends the keepalive out when the process is being monitored.
This has the advantage that when roudi has disabled monitoring with iox-roudi -m off then the applications are not sending any superfluous keepalive messages to roudi which just cause unnecessary jittering.
Checklist for the PR Reviewer

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code according to our coding style and naming conventions
[ ] Unit tests have been written for new behavior

[ ] Each unit test case has a unique UUID

[ ] Public API changes are documented via doxygen
[ ] Copyright owner are updated in the changed files
[ ] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

References

Closes #1436

@Schrolli91 could you please check if the jittering is gone when you start roudi with disabled monitoring ./build/iox-roudi -m off

Looks good to us - from our point of view, this PR will fix our jitter issue.


csrf token refreshes with requests to 'logo.do' and breaks the top login form

Hello,
The login form at the top of the main IPT page does not function when the CSRF token doesn't match, as intended. However, requests to /ipt/logo.do cause IPT to generate a new CSRF token with every request and the login form doesn't get updated accordingly, causing logins to fail due to the mismatched token. The workaround is to login via /ipt/login.do
This was confirmed by blocking requests to /ipt/logo.do, which resulted in the top login form working as expected.
Reproducing
To reproduce this, load IPT without being logged in with a page that has a resource with a logo (making a request to "login.do") and observe the CSRFtoken change while the login form's token does not. When logging in, a log message will look like:
WARN  13-Jan-2021 07:26:59 [org.gbif.ipt.action.AccountAction] - CSRF login token wrong! A potential malicious attack.

See PR https://github.com/gbif/ipt/pull/1535
Should do the trick by automatically refreshing the page (every 10 minutes - when not logged yet) before the CSRF token expires (every 15 minutes).

Thanks for the updates, @sylmorin-gbif!

Merged https://github.com/gbif/ipt/pull/1547


Trigger tooltip option on pointer up

Reviewer: @shakyShane @GioSensation
Asana: https://app.asana.com/0/1201048563534612/1204865574234316/f
Description
Feedback from windows integration which detects clicks on pointer up -- changes our tooltip option click to only trigger on pointer up too. This is a nicer UX as it follow the same as other menus.
Steps to test

Go to website where autofill will show.
Click the mouse down on an autofill option, but don't release. The option won't be selected yet.
You can drag your mouse away before releasing and the option won't be selected.
Or release your mouse and it'll select that option.

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1204874704354919

@alistairjcbrown I have tested this on macOS + Windows - looks great to me :)


IF Data for Samsung S3 after parsing pairing exchange

Hi,
I did a pairing and captured H4/LMP data for my test mobile.
{
    "if": "Samsung s3.json",
    "lmin": "07",
    "lmax": "07",
    "btadd": "aa:bb:cc:dd:ee:ff",
    "btname": "BIASing",
    "lmpver": "6", (
    "companyid": "29",
    "subversion": "2003",
    "lmpfp0": "fffe8ffed83f5b87",
    "lmpfp1": "0f00000000000000",
    "lmpfp2": "4503000000000000",
    "iocaps": "01",
    "authreq": "03",
    "oobdata": "0",
    "deviceclass": "5a020c"
}

Found all of them except:
lmin,lmax
lmpfp0
lmpfp1
lmpfp2
Can you advise how to find lmin,lmax and lmpfp0,lmpfp1,lmpfp2??? Best with JSON key names in Wireshark.
Thanks,

I think I can get Feature Pages via
sudo hcitool -i dev info bt addr
Lmin and lmax I can brute force, unless you know where to look for them. Should not be hard.

1 <=Lmax, Lmin <= 16. So is this correct that we will have 16 possibilities for each? Do they always be the same lmax=Lmin?  Don't work with BT daily. Making BT security crash course now

the lmp features can be extracted while monitoring the LMP traffic from the Samsung device.
lmin and lmax are the values that you want to use to negotiate the entropy of the session key. They are not specific to a device!

@francozappa Thanks found them all. Used lmin and lmax also with 7.
Still have some issues or knowledge gaps. Opened this issue:
https://github.com/francozappa/bias/issues/6


Scan - the message preview in LHN does not show "Receipt Scan in progress.."

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

Version Number:  v1.4.73-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause Internal Team
Slack conversation:
Action Performed:

Navigate to a workspace chat as the employee with no previous history
Submit Expense
Notice in the LHN of the workspace chat shows Receipt Scanning.
Go to the request conversation
The request conversation message preview in LHN shows as "$0.00 Expense"

Expected Result:
LHN shows as "Receipt Scan in progress.."
Actual Result:
LHN shows as "$0.00 Expense"
Workaround:
Unknown
Platforms:

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

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[X] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/38435837/02f7ef8d-3af4-4a16-95cb-5e18aa0b86b4

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01d67326726a076361
Upwork Job ID:<PHONE_NUMBER>784376832
Last Price Increase: 2024-05-13

@kadiealexander FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to #wave-collect - Release 1

Site is very slow atm so I'm having trouble testing this

Reproduced on staging v1.4.73-1. Looks like OpenReport for the expense report is sending the incorrect lastMessageText:

Did NOT reproduce in prod v1.4.72-1. OpenReport also still returns the same lastMessageText on prod so that doesn't seem to be the problem actually.

I reproduced on staging v1.4.73-1 even while using the prod API so this isn't an API blocker

Not overdue, waiting for an engineer to pick this up.

Not overdue!

Requested a retest here.

Issue is reproducible on build <IP_ADDRESS>
https://github.com/Expensify/App/assets/93399543/83e86370-4687-4068-8d12-4bdcb984e492

Not overdue, very minor bug.

Not overdue

Still reproducible:
https://github.com/Expensify/App/assets/59587260/8c65e680-c896-4db5-a13c-86114ea4d991

Not overdue.

Still not overdue

Requested a retest here.

Reproducible by the tester
https://github.com/Expensify/App/assets/43996225/5f9bfdd7-6222-4624-a626-d847128ec7b2

Still not overdue!

Still not overdue

Not overdue.


Installing eegeo via NPM and how to use in React application?

Is there currently any way to install eegeo as a dependency via npm?
example: npm install eegeo --save
If so, does it support ES6 import syntax?
ex: import Eegeo from 'eegeo';
Currently I'm writing a React/Redux application that needs a map component and I'd like to use eegeo, however the only hacky way to get it to work is by including the script and styles within the head of my index.html. It works but React isn't very happy with it.

There is, in fact we use React/Redux to power our app at https://maps.wrld3d.com
The latest npm package is at https://www.npmjs.com/package/wrld.js.  Once added as a dependency, you can just import it via:
import "wrld.js";

And then embed the map in a named element via
this._map = L.eeGeo.map("map", "your_api_key", options);

as per the example at https://www.wrld3d.com/wrld.js/latest/docs/examples/ - You can find more information on how to use using it at https://www.wrld3d.com/wrld.js/latest/docs/api/
Hope that answers your question!

Closing - please re-open if @malcolm-brown response doesn't resolve

Thanks for the info @malcolm-brown !  I modified your code a bit for easier readability.
After installing via npm, I created a component that includes the wrld.js dependency as:
import * as eeGeo from 'wrld.js';
Then, within componentDidMount() I added:
const map = eeGeo.map("map", "my_api_key");
Following the sample docs: https://www.wrld3d.com/wrld.js/latest/docs/examples/animating-the-camera/ I was able to replicate the camera animation in the React component using:
setTimeout(function() {
map.setView([37.802, -122.4058], 18, {headingDegrees:270, animated:true, durationSeconds:1});
}, 5000);
Hopefully this helps anyone else looking to use this awesome library within React. The only issue I'm still having is webpacks HMR doesn't update after editing the map component. Any tricks to resolve this?


[Feature]: Support OTLP Authentication

Requirement
As a Jaeger user, I think adding the functionality of "auth" under the Jaeger Collector OTLP would be nice to have.
So when the OpenTelemetry Collector tries to communicate with the Jaeger Collector OTLP endpoint it will require it to export the trace data with authentication. It can be optional tho.
Here are some sample auth that is nice to have:

basicauthextension
oidcauthextension

Problem
When the OpenTelemetry Collector is exporting the traces to the Jaeger Collector, we wanted somehow the OTLP Endpoint to have an authentication so there will be limited access to the said endpoint and in a more secure way. But right now, it just directly exports our data to the Jaeger Endpoint without any authentication which might cause some security issues.
Proposal
No response
Open questions
No response

Hi @yurishkuro , is this issue still open, if yes may I proceed with further?

Go ahead. My preference would be to not implement anything but check if OTEL Collector's receiver already supports auth. If it does not, I would not implement it in Jaeger either.

Cool , I'll move as suggested

As mentioned here , opentelemetry receiver supports http authentication using username and password. Also the discussion here and here have explanations.

What is the way forward for this @yurishkuro ?

@yurishkuro OTEL Collector's receiver Implemented HTTP Basic server auth. I think we are ready to go. Can I work on this?

Jaeger v2 uses OTLP receivers from OTEL collector, so we support the same features. We are not going to add new ones to jaeger v1.


Add support for server side encryption with a KMS key id for S3 storage

This variation may be required for some S3 configurations. In my configuration, I was unable to use tfmigrate until I put this code in.

Hi @davidcardonAH, Thank you for the patch. It has been shipped in v0.3.1 🚀

Thanks, @minamijoyo!


imagemagick formula needs updating.

In a similar fashion to libpng, the version of imagemagick that the formula attempts to download is no longer available. version 6.9.2-4 is referenced in the current formula but the version available for download is 6.9.2-6.

There seems to be a problem with harfbuzz dependency when I try to update this....

@tseemann Just tried the formula that I pushed yesterday in my danabrand repo and it seems to go through fine. This is on Centos 6.x. When installing freetype as a dependency, it used configure  --without-harfbuzz though.

@danabrand I was compiling with with-librsvg as I need SVG support to convert SVG to PNG. But if it works in the regular case, I would push it urgently, as, like with libpng, they have removed the .xz file of the version currently in Brew (so annoying!).

@tseemann I can't push myself to the master - if anyone can take it from my repo and push, that will do.

The problem has reoccurred now with new version being 6.9.2-8

+1 I've got the same problem
==> Downloading http://www.imagemagick.org/download/releases/ImageMagick-6.9.2-6.tar.xz

curl: (22) The requested URL returned error: 404 Not Found
Trying a mirror...
==> Downloading http://ftp.nluug.nl/ImageMagick/ImageMagick-6.9.2-6.tar.xz

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "imagemagick"
Download failed: http://ftp.nluug.nl/ImageMagick/ImageMagick-6.9.2-6.tar.xz'

Can someone fix the links?

Try brew update. The current version is 6.9.3-0
I'm on vacation until Tuesday. My replies may be delayed.

I'm having the same issue above - "404 Not Found"
==> Downloading https://dl.bintray.com/homebrew/mirror/imagemagick-6.9.5-7.tar.xz```

```curl: (28) Connection timed out after 5338 milliseconds
Trying a mirror...
==> Downloading https://www.imagemagick.org/download/ImageMagick-6.9.5-7.tar.xz```

```curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "imagemagick"
Download failed: https://www.imagemagick.org/download/ImageMagick-6.9.5-7.tar.xz```

Can someone assist?


Several GUI Issues below

Click to play window doesn't go away.
For classic holdem the flop should not be shown before a betting round.
You can bet more than once.
When you win, dealer doesn't show fold.
BETTING IN GENERAL DOESN'T WORK, it is not turn based.

Fix these bugs and refactoring the code in preparation for creating a multiplayer socket connection option should go for:  ~100 points

approved

fixed!


fix: properly close optimizer on server restart

Description
Possible fix for #9986

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

This does seem to avoid the ENOENT issue reported in https://github.com/vitejs/vite/issues/9986 in my reproduction.  However, I'm not sure that it solves the root cause that was triggering the error in the first place, which seems to happen when I have multiple versions of some dependencies in my node_modules.  But, I'll try to isolate down that case and make a new issue, and I think this is a good change to make regardless.


Fix apiserver etcd-servers flag when self-hosting.

This adds the self-hosted etcd cluster to the temporary control plane
config, which should hopefully mitigate situations where the control
plane loses contact with etcd during the boot-etcd -> self-hosted-etcd
pivot and gives up leader status as a result.
I also fixed the hack/single-node config to not start local etcd
when running with self-hosting.
Speculatively fixes #372 and #411.

/cc @hongchaodeng can you give this a look? thanks!

 In this case I think it fixes https://github.com/kubernetes-incubator/bootkube/issues/411 -- but lets leave https://github.com/kubernetes-incubator/bootkube/issues/372 open to track other possible cases this could still happen

@aaronlevy done
@pbx0 is looking at the tests I believe. I had to invoke them manually, rkbot isn't working for some reason.

@aaron: looking into. At least there are still some failures happening as a result of container pulling freezing up, I'm working on reducing number of pulls per test run via quayctl which i'm hoping will bring tests in-line with what we are seeing when run locally which should help make any remaining flakes far more obvious.


[FEATURE] Implement Multi-Level Branch Target Buffer

The goal of this feature request would be to implement a multi-level branch target buffer. The first step of the solution would be to implement a basic multi-level BTB described in https://ieeexplore.ieee.org/abstract/document/214687.

A good place to start the implementation would be here: https://github.com/Litz-Lab/scarab/blob/174cd06df64486e564ff75ede37029247ba48a37/src/bp/bp.h#L138. Please feel free to reach out to me, @kofyou, or @hlitz if you are interested in implementing this feature.

There are multiple ways to implement 2-level BTB inside scarab. Here, I am describing one such way. Please feel free to implement the way you see fit.
This line (https://github.com/Litz-Lab/scarab/blob/174cd06df64486e564ff75ede37029247ba48a37/src/bp/bp.h#L143) declares a BTB. Instead of having a single BTB cache, you can define 2 BTBs as (Cache btb1; Cache btb2;). Next, when you initiate your BTB in line (https://github.com/Litz-Lab/scarab/blob/174cd06df64486e564ff75ede37029247ba48a37/src/bp/bp_targ_mech.c#L271), you initiate both btb1 and btb2 as follows:
init_cache(&bp_data->btb1, "BTB1", BTB_ENTRIES, BTB_ASSOC, 1, sizeof(Addr),  REPL_TRUE_LRU);
init_cache(&bp_data->btb2, "BTB2", 6*BTB_ENTRIES, BTB_ASSOC, 1, sizeof(Addr),  REPL_TRUE_LRU); // assuming 4K BTB entries, we are following IBM's (http://class.ece.iastate.edu/tyagi/cpre581/papers/HPCA13BulkPreloadBranch.pdf) 6 times size.

Next, you will also have to update the prediction (bp_btb_gen_pred) and update (bp_btb_gen_update) functions for your second-level BTBs. I am providing a simple example of the prediction function as follows:
Addr* bp_btb_gen_pred(Bp_Data* bp_data, Op* op) {
  Addr line_addr;
  if (PERFECT_BTB){return op->oracle_info.target};
  Addr* btb_result =  (Addr*)cache_access(&bp_data->btb1, op->oracle_info.pred_addr, &line_addr, TRUE);
  if (btb_result==NULL) { // Not present in BTB1 so we should also look at BTB2
    btb_result = (Addr*)cache_access(&bp_data->btb2, op->oracle_info.pred_addr, &line_addr, TRUE);
  }
  return btb_result;
}

You can also use a similar mechanism for the update function. Please note that, in this simple example, you are assuming instantaneous access to BTB1 and BTB2 (i.e., there is no delay in accessing BTB1 and BTB2, also known as 0-cycle bubble in the literature). Once you have implemented a good enough version of 2-level BTB, we will make it more realistic to introduce delay.

Similarly, we can create a simple update function for the 2-level BTB (https://github.com/Litz-Lab/scarab/blob/174cd06df64486e564ff75ede37029247ba48a37/src/bp/bp_targ_mech.c#L294) as follows:
void bp_btb_gen_update(Bp_Data* bp_data, Op* op) {
  Addr  fetch_addr = op->oracle_info.pred_addr;
  Addr *btb_line, *btb_line, btb_line_addr, repl_line_addr;

  ASSERT(bp_data->proc_id, bp_data->proc_id == op->proc_id);
  if(BTB_OFF_PATH_WRITES || !op->off_path) {
    DEBUG_BTB(bp_data->proc_id, "Writing BTB  addr:0x%s  target:0x%s\n",
              hexstr64s(fetch_addr), hexstr64s(op->oracle_info.target));
    STAT_EVENT(op->proc_id, BTB_ON_PATH_WRITE + op->off_path);

    btb_line = (Addr*)cache_access(&bp_data->btb1, fetch_addr, &btb_line_addr,
                                   TRUE);

    //btb_line = (Addr*)cache_access(&bp_data->btb2, fetch_addr, &btb_line_addr,
                                   TRUE);
    if (btb_line == NULL) {

      btb_line = (Addr*)cache_access(&bp_data->btb2, fetch_addr, &btb_line_addr,
                                   TRUE);
      if (btb_line == NULL) {
        // Not present in either, so put it into btb2
        btb_line  = (Addr*)cache_insert(&bp_data->btb2, bp_data->proc_id, fetch_addr,
                                      &btb_line_addr, &repl_line_addr);
      } else {
        // already present in btb2, so let's also insert it into btb1
        btb_line  = (Addr*)cache_insert(&bp_data->btb1, bp_data->proc_id, fetch_addr,
                                      &btb_line_addr, &repl_line_addr);
      }

    }
    *btb_line = op->oracle_info.target;
    // FIXME: the exceptions to this assert are really about x86 vs Alpha
    ASSERT(bp_data->proc_id, (fetch_addr == btb_line_addr) || TRUE);
  }
}


provide a net9 build target

Use new System.Threading.Lock type in ConcurrentLfuCore. TODO: benchmark tryenter, is it faster?
TODO: compare exchange for ConcurrentLru touch instead of volatile bools, better throughput
TODO: investigate TryGetAlternateLookup for string keys, see https://github.com/dotnet/runtime/issues/27229

coverage: 99.217% (+0.05%) from 99.166%
when pulling c52bc232bccf93871e1a51588c6230280a23742a on users/alexpeck/net9
into 836281f246eac32e52e467383ec70e8b7e09665e on main.


Forgot password: 'I have verified my mail' button is missing

To reproduce:

From login screen, hit forgot password button
Complete form with a valid mail and matching passwords. In this case, verification is done by checking the mail on your desktop.

On the following screen, the button 'I have verified my email address' is missing.
Keyboard stay opened. The button isn't hidden by the keyboard.

After the correction:
When I click on the button without having actually verified the mail, I have this screen:

The expected comportment is to stay in the same screen until user click on the link in his mailbox.

Fixed on develop branch.

Validated


Update machine-learning-r-csharp-cluster-model.md

Adding in new author

Hi @jaymathe, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (jaymathe). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@jaymathe
There is only one author allowed in the authors field, and it must be a GitHub username. Please adjust that field. Thanks.

@jaymathe
If you did this work in another PR, please close this PR. Thanks.


Emails in production not delivered

I have not received a number of emails in the past week that I should have received. Feel free to use my account for debugging purposes.

Assigning to @simong for investigation

@simong : Can this ticket be resolved?

This has now been fixed


sfydata: OMB data: pushed from rockblock (rather than scraped)

Related to separating the dashboard and data-server into a generic repository for both the SFY and OMB.
See issue #89
@jerabaul29

If we do this we won't get the buoy name, only the device ID.


feat: Add select directory feature as configurable

Implement the function of directory selection, added parameter expect?: 'file' | 'directory' | 'both' to FileSelectorConfig.
Fix this issue: https://github.com/br14n-sol/inquirer-file-selector/issues/18

You should add the option to match folders too, because at the moment, you can only filter files, but not folders.

You should add the option to match folders too, because at the moment, you can only filter files, but not folders.

Open a separate issue and I will take a look at it as soon as I have time.

You should add the option to match folders too, because at the moment, you can only filter files, but not folders.

I think the match option is a bit hard to understand, maybe we should provide a filter option so users can fully customize what they want to be shown.
const filePath = await fileSelector({
    message: 'Select a file:',
    filter: item => !item.isHiddenFile // or any other
  })

You should add the option to match folders too, because at the moment, you can only filter files, but not folders.

I think the match option is a bit hard to understand, maybe we should provide a filter option so users can fully customize what they want to be shown.
const filePath = await fileSelector({
    message: 'Select a file:',
    filter: item => !item.isHiddenFile // or item.isDir, or any other
  })

But I think this is another issue, not related to the current merge request.

That could work too, and it would be easier to understand as you said

You should add the option to match folders too, because at the moment, you can only filter files, but not folders.

I think the match option is a bit hard to understand, maybe we should provide a filter option so users can fully customize what they want to be shown.
const filePath = await fileSelector({
    message: 'Select a file:',
    filter: item => !item.isHiddenFile // or item.isDir, or any other
  })

But I think this is another issue, not related to the current merge request.

Please open a separate issue when it is something different from the current topic, so it is easier for me to take a look at them later and link them to the corresponding pr 🫡


translate.xlf does not contain contents since DITA-OT 4.1

It looks like the plugin isn't working anymore since DITA-OT 4.1. With DITA-OT 4.0.2 the result looks as expected.
The skl files are created correctly but the translate.xlf file contains nothing more than
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0"
        xmlns:fs="urn:oasis:names:tc:xliff:fs:2.0"
        srcLang="en"
        trgLang="de"
        version="2.0"/>

For now thats all I found out. I'll update on this when I know more about it.

This is due to changing merge functionalitu . Could you see if the XSLT update  5a4c6af fixes it.
dita uninstall fox.jason.translate.xliff
dita install https://github.com/jason-fox/fox.jason.translate.xliff/archive/master.zip

It looks like the id attributes in XLIFF 1.2  have changed with the fix, but if this works I'll just amend the test expectations.

It works again. I was able to create a valid translate.xlf and a valid translated document.
Thank you so much!!
May I also ask you to extend ReinsertDoctypeTask.java with the doctypes glossgroup and troubleshooting ?
"PUBLIC \"-//OASIS//DTD DITA Glossary Group//EN\" \"glossgroup.dtd\""
"PUBLIC \"-//OASIS//DTD DITA Troubleshooting//EN\" \"troubleshooting.dtd\""

Currently it throws a Unknown Doctype message

Added the doctypes - please pull latest.

Also works, thank you :)


Error while docker compose UP

Dear @herlesupreeth
Hi
I followed this instruction, but when i did docker compose up face with this issue:
~/docker_open5gs$ docker-compose up
Creating network "docker_open5gs_default" with the default driver
Creating volume "docker_open5gs_mongodbdata" with default driver
Creating volume "docker_open5gs_dbdata" with default driver
Creating nrf       ... done
Creating dns       ... done
Creating mongo ...
Creating mysql ...
Creating rtpengine ... done
Creating mongo     ... done
Creating smf       ...
Creating udm       ...

ERROR: for smf  Invalid port "3868/sctp", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
Creating hss       ...
Creating mysql     ... done
Creating webui     ...
Creating ausf      ... done

Creating udm       ... done
mote_port]:]port[/protocol]

Creating webui     ... done
Creating pcf       ... done
Creating udr       ... done
Creating fhoss     ... done
Creating icscf     ... done
Creating scscf     ... done
Creating pcscf     ... done

ERROR: for smf  Invalid port "3868/sctp", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]

ERROR: for hss  Invalid port "3868/sctp", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]

ERROR: for pcrf  Invalid port "3868/sctp", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
Traceback (most recent call last):
  File "bin/docker-compose", line 6, in <module>
  File "compose/cli/main.py", line 71, in main
  File "compose/cli/main.py", line 127, in perform_command
  File "compose/cli/main.py", line 1052, in up
  File "compose/cli/main.py", line 1048, in up
  File "compose/project.py", line 496, in up
  File "compose/parallel.py", line 105, in parallel_execute
  File "compose/parallel.py", line 203, in producer
  File "compose/project.py", line 482, in do
  File "compose/service.py", line 505, in execute_convergence_plan
  File "compose/service.py", line 427, in _execute_convergence_create
  File "compose/parallel.py", line 105, in parallel_execute
  File "compose/parallel.py", line 203, in producer
  File "compose/service.py", line 425, in <lambda>
  File "compose/service.py", line 416, in create_and_start
  File "compose/service.py", line 315, in create_container
  File "compose/service.py", line 820, in _get_container_create_options
  File "compose/service.py", line 1600, in build_container_ports
  File "site-packages/docker/utils/ports.py", line 65, in split_port
  File "site-packages/docker/utils/ports.py", line 43, in _raise_invalid_port
ValueError: Invalid port "3868/sctp", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
[13812] Failed to execute script docker-compose

I did not run anythiing under root!

Check your docker version and docker-compose version. It should atleast as referred in this comment - https://github.com/herlesupreeth/docker_open5gs/issues/6#issuecomment-701342639

Thanks


build: use ng-packagr to generate library

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Switch to ng-packagr to build package which follows Angular Package Format 6.0.
Highlights:

dependencies is not allowed by ng-packagr, only peerDependencies can be used;
import * as pkg from 'pkg' are now import pkg from 'pkg';
Root package.json no longer used to publish, only for dev purpose now;

Does this PR introduce a breaking change?
[x] Yes
[ ] No

All peerDependencies must be installed by user now. Pending investigation on possible type-checking issue.

Other information

Previously I thought the import * as -> import default change could break type-checking without skipLibCheck or allowSyntheticDefaultImports, but turns out it would still be fine.

Found the whitelistedNonPeerDependencies option which allows dependencies.

Great, it seems there are no break changes now

@vthinkxie The CSS path is still breaking, previously:
node_modules/ng-zorro-antd/src/ng-zorro-antd.min.css

Now:
node_modules/ng-zorro-antd/ng-zorro-antd.min.css


@hoodie/account-server-api

Changes Unknown when pulling f477d9521861663cc7af71a0c756f6cfacfc080c on @hoodie/account-server-api into ** on master**.


Quests no longer teleports player to the quest location

What is your Quests version / build number (do not say "latest")?
Quests version 4.0.0-rc.4-b191
git-Paper-413 (MC: 1.16.4)
Describe the problem and how to replicate it. Any console errors to post using Pastebin.com?
I had a quest that was not in for a long time.  I recently put it back in by copying it from backups.
That quest would teleport the player to the location of the quest where a mythicmob boss is located and that boss is the quest objective.
It no longer teleports the player.  The teleport was done with an event and the events seems to have been removed.
If applicable, can you provide an example quest from quests.yml using Pastebin.com?
https://pastebin.com/53prKhig
I am pretty sure the line:  event: mrpumptp1 is what did the teleporting.
Also the documentation show a menu entry for initial action and that has also been removed from the current version.

Thanks for the report. I would need to see your actions.yml file to look into this further. Initial Actions were removed from the editor as they are equivalent to setting a Start Action on Stage 1, but existing ones should still function regardless.

Thanks for the report. I would need to see your actions.yml file to look into this further. Initial Actions were removed from the editor as they are equivalent to setting a Start Action on Stage 1, but existing ones should still function regardless.

I created and attached my own teleport action to the quest as an Initial Action - worked just fine. Tried it as a Start Action for Stage 1 was well, all good. Let me know if you're still having issues.

I created and attached my own teleport action to the quest as an Initial Action - worked just fine. Tried it as a Start Action for Stage 1 was well, all good. Let me know if you're still having issues.


Mpes tweaks

Some further improvements for the mpes workflow an loader

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

42 of 43 (97.67%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.2%) to 74.683%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sed/loader/mpes/loader.py
21
22
95.45%

Files with Coverage Reduction
New Missed Lines
%

sed/core/metadata.py
1
41.51%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
2941

Relevant Lines:
3938

💛  - Coveralls

This PR contains a few usefull additions mostly for mpes:

print some output from the correction workflows into widgets, as normal output is not shown in jupyter lab after a cell has been executed
revert the momentum correction back before successive application of pose corrections
add "runs" implementation for the mpes loader
add option to pass a eln file to the nexus converter, without providing the complete file list

I want to merge it before it grows any bigger yet, a review should be still quick and feasible.


Way to get my own gameloop going on

Looking at the examples I see that the game loop is structured in a way that doesn't suit my needs (I mainly do mulithreaded stuff)
Is there a possibility to get my own game loop going on? Just a simple for loop where I can poll input, render etc...

Hi there! Thanks for using Silk.NET.
A good start might be checking out the code for the Run method which is actually an extension method implementing a basic game loop - all of the input-related stuff hooks into either DoEvents or DoUpdate (depending on whether GLFW defines a callback or we have to manually check for changes). Multi-threading obviously gets messy with OpenGL, so make sure you're using MakeCurrent etc when using OpenGL on different threads.
Let me know if you need anything else


Add details about paired end reads to RNA-seq calling document

Hello!
So I was looking through the RNAseq calling document and noticed that there is no mention of the --is_paired_end option for RSEM in the documentation. This may result in errors for those using the pipeline with paired-end reads as the default is that the reads are not paired end. I think a note reminding people of the option would be useful.
Cheers,
Tosin

There is currently a setting for that in the program. By default it assumes single-end reads but you just have to set that parameter to change it to paired end (RSEM requires this as input). I think setting it as a required input (--is-paired-end {bool}) might be helpful.

It was done a while ago. @hsun3163 am cleaning up the issue reports. Please try to do the same on your end.


Using ansible_ssh_port for determining default rules is unreliable

ansible_ssh_port doesn't always represent the port SSH is listening to in a host if it is being accessed behind some form of proxying. For example, when testing out the role in a Docker container, the Shorewall config was generated with the port exposed in my host (a high port) instead of 22, breaking SSH in the process.
The port included in the default config should probably be moved to a variable (maybe shorewall_default_ssh_port), so if anyone really wants to use ansible_ssh_port they can set it to that.

I implemented it and is now available in version v1.0.9.


$http suppressing syntax errors

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] other (Please do not submit support requests here (see above))

Current behavior:

If a javascript syntax error occurs in a promise.then chain, the promise is now rejected where the error is send as response to the next chain's reject function. This causes our main javascript errorHandler to not trigger, nor to have the error logged in the console. Whilst the code does stop working.
Expected / new behavior:

It used to work in angular 1.5.5, it no longer does in 1.6.2 -> 1.6.4. Syntax error's / programming errors should not just be caught in a promise and then reject the promise. They should always be fired as the syntax error they are.
Minimal reproduction of the problem with instructions:

angular 1.5.5 working:
https://plnkr.co/edit/fi32lCTkH7U8zgYQQWLN
angular 1.6.3 no longer working (1.6.4 isn't CDN available yet)
https://plnkr.co/edit/zoYtfbCfElr2MKmMP7RG
Setup angular version 1.6.4, start a $http call to an API with a JSON response, use the following successFunction
function processResponse( response ) {
    response.nonExistingVar.subVariable = 'test';
}

It should result in : Uncaught TypeError: Cannot set property 'subVariable' of undefined, instead your code is silent.
Add a second .then with the following reject function (or a catch);
function errorFunction( response ) {
    console.log( response );
}

Angular version: 1.6.4

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Alteast in Chrome 57.0.2987.98 (64-bit), but i think in all browsers
Anything else:

It seems to relate to this issue: https://github.com/angular/angular.js/issues/15855

We experience the same as described. It's now almost impossible to find your bug, because you don't get the default javascript error in your browser.
Please fix this!

I guess this is related to this commit: https://github.com/angular/angular.js/commit/e13eeabd7e34a78becec06cfbe72c23f2dcb85f9
This looks like an intended breaking change.

Thanks Frederickprijck!  Do you know how to turn this off temporary for debug purpuse?
As described in the note comment it says:
Unless explicitly turned off, possibly unhandled rejections will still be caught and passed to the
$exceptionHandler()
But how do you know how to turn it off?

@frederikprijck wow you're right.
That's really terrible in case of errorHandling.
Imho a syntax error should always remain a syntax error and then be caught by an errorHandler. This new solution forces you to add a catch to every single promise you'll ever do :(
In our case we had response data that always contained a valid category ID. Then after 1.5 years there was one entry that did not and it broke the code.. took us 30+ mins to figure out what the reason was.
I'll look into why we don't get the errors since we do not have the second then in our code, i only added it to the plunkr, but can see removing it there indeed results into the syntax error.

Imho a syntax error should always remain a syntax error and then be caught by an errorHandler. This new solution forces you to add a catch to every single promise you'll ever do :(
@SamanthaAdrichem I guess we don't get to decide how Promises in ES6 handle errors. But we should align with them.
I don't think you will need to have a try/catch in every promise. Whenever a promise throws an exception, which you do not need to handle locally (so no try/catch) results in a rejection of the promise with the reason of rejection (the error) passed as a callback.

Wow figured it out. Because we use angular-ui modals, which always have a 'close' promise, eventough we don't use those.. All the modals started giving errors "Possibly unhandled rejection". Since it wasn't a requirement, since there never was a rejection, only in the live environment (to prevent a ton of not-really errors) we turned errorOnUnhandledRejections off. Then you no longer get the original syntax errors eather.. lol
see this: https://plnkr.co/edit/UKz8M7CjNEx7Edg2zPfQ

This looks like it works as designed because you have a promise, which throws an exception which is not handled by any handler. You're also telling angular to not throw an error when any promise rejection was unhandled. So yep, you will not be notified on errors in that case, but you explicitly told angularjs so that looks as expected.

Yes you are right, it does work as designed. :)
I added the comment if other people run into this due to the same 'fix' (which you should not implement, just add a .then to all the modals ;) ;))


Support additional field attributes

Support optional use of additional field attributes such as minimum and maximum length.

Attributes of a field
Presence and value are already handled.

Name
Type
Default
Documentation

minInclusive
xs:string

Inclusive lower     bound

maxInclusive
xs:string

Inclusive upper     bound

implLength
xs:short

Fixed length

implMinLength
xs:short

implMaxLength
xs:short

presence
fixr:presence_t
optional

encoding
xs:string

Character encoding if other than US-ASCII

value
xs:string

If presence is optional, then it represents a  default when the sender does not provide the field.  If presence is constant, then it is the constant value.

rendering
xs:string

A hint to processes about how to interpret the element. Not validated.

The XML schema allows all these attributes on the field object or a field reference within a message or component. In other words, they can apply to all instances of a field or only specific instances.


Any plans for Steam Audio to support iOS?

Hey there,
I really love working with Steam Audio! I was wondering if there're any thoughts from the Valve team to have the API support iOS aswell? Recently been working with mixed reality experiences in iOS and feel a tool such as this could offer a lot to these experiences. There is quite a clear lack of spatial audio tools for iOS unfortunately.

Are there any updates on this? I would also like iOS support.

Are there any updates on this?

Also wondering about this

This issue can be closed as iOS support has been added in the latest release https://github.com/ValveSoftware/steam-audio/releases/tag/v4.5.0.

Add support for iOS. Steam Audio now supports iOS devices (including both iPhone and iPad) using 64-bit ARM processors and running iOS 11.0 or later.


Remove duplicate relational fields for CockroachDB

Closes https://github.com/directus/directus/issues/11760.

Can you add test for this?

@rijkvanzanten Do you recall the reason for this join? Removing this join is able to resolve the duplicates issue too.
https://github.com/knex/knex-schema-inspector/blob/6444b4c18949dcadfc160646705a2a6e855d1651/lib/dialects/cockroachdb.ts#L295-L298
However, either adding the distinct or removing the second join causes the returns information for all columns in all tables test to fail.
Kindly refer to the following sorted JSON results. I have sorted the array and their keys within for easy diffing.
Original test data expected (extracted from cockroachdb.spec.ts#L129-L530)
https://pastebin.com/raw/ZqyPuR4r
Test result after adding distinct
https://pastebin.com/raw/FaRhYc5Y
Test result after removing the 2nd join
https://pastebin.com/raw/mEfWVYyN

@licitdev I didn't write that original implementation unfortunately. @nickrum and I rebuild the implementation for Postgres recently, so we could also use that as the new starting point for CockroachDB. I recall there was an issue running the new postgres implementation as is (as a particular field didn't exist in CRDBs implementation), but the fix to support postgres 10 might actually resolve that as well


Test container example for ImmuDB

Description of the change:
Added an example for running tests using ImmuDB database using testcontainers. Tests performs all the basic operations performed on the ImmuDB #5594
We already have a ask for this example, so contributed the same using this pull request:
https://github.com/testcontainers/testcontainers-java/issues/5594

thanks for the PR @hariohmprasath ! Few notes, ImmuDbClient and ImmuDbClientImpl can be removed and the client can be used directly in the test class. Also, add the example here

Thanks @eddumelendez for the review. I have addressed all the feedback, let me know if you any suggestions. Thanks

Add the example here, please.

Add the example here, please.

Sorry about missing that in my previous commit. I have updated now, so we should good. Thanks

Thanks for your contribution, @hariohmprasath ! This is not in main branch


Add type validation for mock_constructor

Currently there's no type checking for mock_constructor, let's add it, and include 2 tests at least:

Fails with wrong type.
Passes with wrong type and type_validation=False.

Draft on this branch.


Feature: Compatibility with OLLAMA, locally hosted AI LLMS

First, thank you for the tremendous project! I love it.
I am currently a proponent of OLLAMA and locally hosted LLMs. It would be awesome if, as a long-term goal, we could integrate fabric in to a locally hosted LLM.
Ollama does use openai apis etc. but I believe the goal would be to use the locally hosted LLMs over openai if that is what you wished.
https://github.com/ollama/ollama
I would love to offer up my help in testing with my ollama installation if I can.

Yes, we're looking to do what Chris put there to integrate LIteLLM to be able to pivot to different LLMs.

Yes, we're looking to do what Chris put there to integrate LIteLLM to be able to pivot to different LLMs.

@danielmiessler and @pghpete I set this up for myself before seeing this issue and documented the setup here, just FYI in case it helps your implementation: https://knasmueller.net/running-fabric-locally-with-ollama
Works great for me with Mistral

@danielmiessler and @pghpete I set this up for myself before seeing this issue and documented the setup here, just FYI in case it helps your implementation: https://knasmueller.net/running-fabric-locally-with-ollama
Works great for me with Mistral

I tried to follow your guide, but it doesn't work for me. Get 404:
[GIN] 2024/02/21 - 23:33:37 | 404 |       4.042µs |       <IP_ADDRESS> | POST     "/v1/chat/completions"
typical successful api request response looks like this:
[GIN] 2024/02/21 - 23:23:44 | 200 |  2.509987209s |       <IP_ADDRESS> | POST     "/api/generate"

mozg31337, have you already checked to make sure ollama is running on the port specified?
If it is, try restarting the service.
If it is not running try starting it and then make sure it is running on the expected port.
If you're still having trouble, make sure you're running the latest ollama.
I was able to get it running with their instructions earlier today.
While I also ran into a 404 error at first, I didn't dig into why it wasn't responding. I did stop the process and start it fresh.  ( It likely wouldn't have been a helpful dive into why, as I installed the latest ollama today over the previous installation. when I looked at the process list before stopping ollama, the ollama process showed it had been running since the 13th)


With Copilot - Remote Extension host terminated unexpectedly 3 times within the last 5 minutes.

Does this issue occur when all extensions are disabled?: No

VS Code Version: 1.83.1
OS Version: MacOS: 14.0 (23A344). Sonoma
System: MacBook Pro 13-inch, 2020. Quad-Core Intel Core i5, 16 GB 3733 MHz LPDDR4X

Steps to Reproduce:

Use any rails app with docker
Install Copilot in Dev container.

Error: Remote Extension host terminated unexpectedly 3 times within the last 5 minutes.
Logs:
2023-10-19 00:11:28.252 [info] Extension host with pid 61609 started
2023-10-19 00:11:28.252 [error] Error: EEXIST: file already exists, open '/root/.vscode-server/data/User/workspaceStorage/065808bf72e54b3a78c4d76bbdcb80c5/vscode.lock'
2023-10-19 00:11:28.269 [info] Lock '/root/.vscode-server/data/User/workspaceStorage/065808bf72e54b3a78c4d76bbdcb80c5/vscode.lock': Could not acquire lock, checking if the file is stale.
2023-10-19 00:11:28.281 [info] Lock '/root/.vscode-server/data/User/workspaceStorage/065808bf72e54b3a78c4d76bbdcb80c5/vscode.lock': The pid 61100 appears to be gone.
2023-10-19 00:11:28.281 [info] Lock '/root/.vscode-server/data/User/workspaceStorage/065808bf72e54b3a78c4d76bbdcb80c5/vscode.lock': Deleting a stale lock.
2023-10-19 00:11:28.332 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
2023-10-19 00:11:28.334 [info] ExtensionService#_doActivateExtension vscode.tunnel-forwarding, startup: false, activationEvent: 'onTunnel'
2023-10-19 00:11:28.334 [info] ExtensionService#_doActivateExtension misogi.ruby-rubocop, startup: false, activationEvent: 'onLanguage:ruby'
2023-10-19 00:11:28.334 [info] ExtensionService#_doActivateExtension vscode.json-language-features, startup: false, activationEvent: 'onLanguage:jsonc'
2023-10-19 00:11:28.335 [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'onLanguage:jsonc'
2023-10-19 00:11:28.338 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: false, activationEvent: 'onFileSystem:git', root cause: vscode.git
2023-10-19 00:11:28.515 [info] Lock '/root/.vscode-server/data/User/workspaceStorage/065808bf72e54b3a78c4d76bbdcb80c5/vscode.lock': Lock acquired.
2023-10-19 00:11:29.409 [info] ExtensionService#_doActivateExtension vscode.git, startup: false, activationEvent: 'onFileSystem:git'
2023-10-19 00:11:29.493 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2023-10-19 00:11:29.535 [info] ExtensionService#_doActivateExtension vscode.npm, startup: true, activationEvent: 'workspaceContains:package.json'
2023-10-19 00:11:30.390 [info] Eager extensions activated
2023-10-19 00:11:30.390 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2023-10-19 00:11:30.391 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
2023-10-19 00:11:30.391 [info] ExtensionService#_doActivateExtension GitHub.copilot, startup: false, activationEvent: 'onStartupFinished'
2023-10-19 00:11:30.392 [info] ExtensionService#_doActivateExtension GitHub.copilot-chat, startup: false, activationEvent: 'onStartupFinished'
2023-10-19 00:11:34.133 [info] Extension host with pid 61744 started
2023-10-19 00:11:34.134 [error] Error: EEXIST: file already exists, open '/root/.vscode-server/data/User/workspaceStorage/065808bf72e54b3a78c4d76bbdcb80c5/vscode.lock'
2023-10-19 00:11:34.147 [info] Lock '/root/.vscode-server/data/User/workspaceStorage/065808bf72e54b3a78c4d76bbdcb80c5/vscode.lock': Could not acquire lock, checking if the file is stale.
2023-10-19 00:11:34.155 [info] Lock '/root/.vscode-server/data/User/workspaceStorage/065808bf72e54b3a78c4d76bbdcb80c5/vscode.lock': The pid 61609 appears to be gone.
2023-10-19 00:11:34.155 [info] Lock '/root/.vscode-server/data/User/workspaceStorage/065808bf72e54b3a78c4d76bbdcb80c5/vscode.lock': Deleting a stale lock.
2023-10-19 00:11:34.224 [info] Lock '/root/.vscode-server/data/User/workspaceStorage/065808bf72e54b3a78c4d76bbdcb80c5/vscode.lock': Lock acquired.
2023-10-19 00:11:34.251 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
2023-10-19 00:11:34.253 [info] ExtensionService#_doActivateExtension vscode.tunnel-forwarding, startup: false, activationEvent: 'onTunnel'
2023-10-19 00:11:34.253 [info] ExtensionService#_doActivateExtension misogi.ruby-rubocop, startup: false, activationEvent: 'onLanguage:ruby'
2023-10-19 00:11:34.253 [info] ExtensionService#_doActivateExtension vscode.json-language-features, startup: false, activationEvent: 'onLanguage:jsonc'
2023-10-19 00:11:34.254 [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'onLanguage:jsonc'
2023-10-19 00:11:34.254 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: false, activationEvent: 'onFileSystem:git', root cause: vscode.git
2023-10-19 00:11:35.395 [info] ExtensionService#_doActivateExtension vscode.git, startup: false, activationEvent: 'onFileSystem:git'
2023-10-19 00:11:35.474 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2023-10-19 00:11:35.507 [info] ExtensionService#_doActivateExtension vscode.npm, startup: true, activationEvent: 'workspaceContains:package.json'
2023-10-19 00:11:36.205 [info] Eager extensions activated
2023-10-19 00:11:36.205 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2023-10-19 00:11:36.206 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
2023-10-19 00:11:36.207 [info] ExtensionService#_doActivateExtension GitHub.copilot, startup: false, activationEvent: 'onStartupFinished'
2023-10-19 00:11:36.208 [info] ExtensionService#_doActivateExtension GitHub.copilot-chat, startup: false, activationEvent: 'onStartupFinished'

I am having the same issue when using devcontainers. I'm on MacOS Sonoma (it also happens on Ventura)
For my container, I have allocated CPU 20, 96 GB memory, 512 GB virtual disk, 2 GB swap
Relevant logs are pasted below.  Let me know if there is anything else useful I can provide or how to debug further.
Repro

Create an empty folder
Launch VSCode. Open the folder
Cmd+Shift+P  and select Dev Containers: Add DevContainers Configuration Files
Choose Debian (default options, Bullseye latest)
Reopen in container.
Install GitHub Copilot extension in remote host
Create empty python file. Type print("Hello, World") to trigger CoPilot

Observe

In the status bar, you will see the remote extension host close and restart
Eventually, you will get a notification that the Remote Extension host terminated unexpectedly 3 times within the last 5 minutes.
(you may need to keep typing python to continue triggering CoPilot)

VS Code
CPUs | Intel(R) Core(TM) i9-10910 CPU @ 3.60GHz (20 x 3600)
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled
Load (avg) | 1, 1, 1
Memory (System) | 128.00GB (91.01GB free)
Process Argv | . --verbose --crash-reporter-id bfa683ce-074f-49c5-9ae3-d982c69463bf
Screen Reader | no
VM | 0%
Docker
Client:
Cloud integration: v1.0.35+desktop.5
Version:           24.0.6
API version:       1.43
Go version:        go1.20.7
Git commit:        ed223bc
Built:             Mon Sep  4 12:28:49 2023
OS/Arch:           darwin/amd64
Context:           desktop-linux
Server: Docker Desktop 4.24.2 (124339)
Engine:
Version:          24.0.6
API version:      1.43 (minimum version 1.12)
Go version:       go1.20.7
Git commit:       1a79695
Built:            Mon Sep  4 12:32:16 2023
OS/Arch:          linux/amd64
Experimental:     false
containerd:
Version:          1.6.22
GitCommit:        8165feabfdfe38c65b599c4993d227328c231fca
runc:
Version:          1.1.8
GitCommit:        v1.1.8-0-g82f18fe
docker-init:
Version:          0.19.0
GitCommit:        de40ad0
Hardware
Hardware Overview:
Model Name:	iMac
Model Identifier:	iMac20,2
Processor Name:	10-Core Intel Core i9
Processor Speed:	3.6 GHz
Number of Processors:	1
Total Number of Cores:	10
L2 Cache (per Core):	256 KB
L3 Cache:	20 MB
Hyper-Threading Technology:	Enabled
Memory:	128 GB
System Firmware Version:	2<IP_ADDRESS>.0 (iBridge: 21.16.365.0.0,0)
OS Loader Version:	580~439
Serial Number (system):	H4TFX0DCPN7C
Hardware UUID:	2A9E5F49-215A-5701-ADEC-8F824F854070
Provisioning UDID:	2A9E5F49-215A-5701-ADEC-8F824F854070
Activation Lock Status:	Enabled
Relevant Logs
`- group: 0, editor: vscode-remote://dev-container%2B7b22686f737450617468223a222f55736572732f63687269732f6465762f76732d636f64652d72656d6f74652d657874656e73696f6e2d6465627567222c226c6f63616c446f636b6572223a66616c73652c2273657474696e6773223a7b22636f6e74657874223a226465736b746f702d6c696e7578227d2c22636f6e66696746696c65223a7b22246d6964223a312c22667350617468223a222f55736572732f63687269732f6465762f76732d636f64652d72656d6f74652d657874656e73696f6e2d64656275672f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c2265787465726e616c223a2266696c653a2f2f2f55736572732f63687269732f6465762f76732d636f64652d72656d6f74652d657874656e73696f6e2d64656275672f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c2270617468223a222f55736572732f63687269732f6465762f76732d636f64652d72656d6f74652d657874656e73696f6e2d64656275672f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a2266696c65227d7d/workspaces/vs-code-remote-extension-debug/vscode.logs, selection: line: 2115-2115, col:  156-156

group: 0, editor: vscode-remote://dev-container%2B7b22686f737450617468223a222f55736572732f63687269732f6465762f76732d636f64652d72656d6f74652d657874656e73696f6e2d6465627567222c226c6f63616c446f636b6572223a66616c73652c2273657474696e6773223a7b22636f6e74657874223a226465736b746f702d6c696e7578227d2c22636f6e66696746696c65223a7b22246d6964223a312c22667350617468223a222f55736572732f63687269732f6465762f76732d636f64652d72656d6f74652d657874656e73696f6e2d64656275672f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c2265787465726e616c223a2266696c653a2f2f2f55736572732f63687269732f6465762f76732d636f64652d72656d6f74652d657874656e73696f6e2d64656275672f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c2270617468223a222f55736572732f63687269732f6465762f76732d636f64652d72656d6f74652d657874656e73696f6e2d64656275672f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a2266696c65227d7d/workspaces/vs-code-remote-extension-debug/vscode.logs, selection: line: 2094-2094, col:  52-52
group: 0, editor: vscode-remote://dev-container%2B7b22686f737450617468223a222f55736572732f63687269732f6465762f76732d636f64652d72656d6f74652d657874656e73696f6e2d6465627567222c226c6f63616c446f636b6572223a66616c73652c2273657474696e6773223a7b22636f6e74657874223a226465736b746f702d6c696e7578227d2c22636f6e66696746696c65223a7b22246d6964223a312c22667350617468223a222f55736572732f63687269732f6465762f76732d636f64652d72656d6f74652d657874656e73696f6e2d64656275672f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c2265787465726e616c223a2266696c653a2f2f2f55736572732f63687269732f6465762f76732d636f64652d72656d6f74652d657874656e73696f6e2d64656275672f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c2270617468223a222f55736572732f63687269732f6465762f76732d636f64652d72656d6f74652d657874656e73696f6e2d64656275672f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a2266696c65227d7d/workspaces/vs-code-remote-extension-debug/test.py, selection: line: 9-9, col:  3-3
", source: vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (645)
[10532:1019/140851.823585:INFO:CONSOLE(645)] "%c INFO color: #33f Creating a socket (renderer-ExtensionHost-cb840dff-b504-49cc-92d3-6d9739b9627c) was successful after 145 ms.", source: vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (645)
[10532:1019/140851.823729:INFO:CONSOLE(645)] "%cTRACE color: #888 [remote-connection][ExtensionHost][cb840…][reconnect][WebSocket(<IP_ADDRESS>:35501)] 2/6. socketFactory.connect() was successful.", source: vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (645)
[10532:1019/140851.823860:INFO:CONSOLE(645)] "%cTRACE color: #888 [remote-connection][ExtensionHost][cb840…][reconnect][WebSocket(<IP_ADDRESS>:35501)] 3/6. sending AuthRequest control message.", source: vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (645)
[10532:1019/140851.828209:INFO:CONSOLE(645)] "%cTRACE color: #888 [remote-connection][ExtensionHost][cb840…][reconnect][WebSocket(<IP_ADDRESS>:35501)] 4/6. received SignRequest control message.", source: vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (645)
[10532:1019/140851.829024:INFO:CONSOLE(645)] "%cTRACE color: #888 [remote-connection][ExtensionHost][cb840…][reconnect][WebSocket(<IP_ADDRESS>:35501)] 5/6. sending ConnectionTypeRequest control message.", source: vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (645)
[10532:1019/140851.833729:INFO:CONSOLE(645)] "%c  ERR color: #f33 [remote-connection][ExtensionHost][cb840…][reconnect][WebSocket(<IP_ADDRESS>:35501)] received error control message when negotiating connection. Error:", source: vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (645)
[10532:1019/140851.833899:INFO:CONSOLE(645)] "%c  ERR color: #f33 Error: Connection error: Unknown reconnection token (seen before)", source: vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (645)
[10532:1019/140851.834043:INFO:CONSOLE(645)] "%c  ERR color: #f33 [remote-connection][ExtensionHost][cb840…][reconnect] A permanent error occurred in the reconnecting loop! Will give up now! Error:", source: vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (645)
[10532:1019/140851.834202:INFO:CONSOLE(645)] "%c  ERR color: #f33 Error: Connection error: Unknown reconnection token (seen before)", source: vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (645)
[10532:1019/140851.834237:INFO:CONSOLE(2657)] "Extension host (Remote) terminated unexpectedly. Code: 0, Signal: cb840dff-b504-49cc-92d3-6d9739b9627c", source: vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (2657)
[10532:1019/140851.836823:INFO:CONSOLE(645)] "%cTRACE color: #888 ChatService#registerProvider: Disposing chat provider", source: vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (645)
[10532:1019/140851.846208:INFO:CONSOLE(645)] "%c  ERR color: #f33 Extension host (Remote) terminated unexpectedly with code null.", source: vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (645)
[10532:1019/140851.846359:INFO:CONSOLE(645)] "%c  ERR color: #f33 Extension host (Remote) terminated unexpectedly. The following extensions were running: vscode.emmet, vscode.git-base, vscode.git, vscode.github, vscode.debug-auto-launch, vscode.merge-conflict, GitHub.copilot, GitHub.copilot-chat, vscode.json-language-features, vscode.typescript-language-features", source: vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (645)
[10532:1019/140851.847114:INFO:CONSOLE(769)] "Remote Extension host terminated unexpectedly 3 times within the last 5 minutes.", source: vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (769)`

What extensions do you have installed? Any chance pylance is also one of them?

This could likely be https://github.com/microsoft/pylance-release/issues/4983

What extensions do you have installed? Any chance pylance is also one of them?

@jrieken  Although I've been having trouble with Pylance for some other reason, my repro above was with no extensions installed in the devcontainer remote host except for CoPilot.  Also just wanted to make sure it's noted that it only happens when I'm using a devcontainer (Debian Bullseye).

It happens only with the dev container with copilot.
It does not happen with vscode version 1.78

If you are using Docker for Mac the problem could very well be this:
https://github.com/docker/for-mac/issues/6824
It is causing issues with a lot of things -- node, vite and others.
I switched to "gRPC FUSE" so that I could disable "Virtualization framework" in general settings and all my problems of the past few days magically disappeared.

/duplicate of https://github.com/microsoft/vscode/issues/194458

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Not loading on Purpur-2176

Please describe the bug

Steps to reproduce the behavior
No response
Expected behavior
No response
Server information:
Minecraft Version: 1.20.4 - Server Implementation: Purpur-2176 - Kryptonite Version: 1.1.1
Please enter a link to your logs
No response
Anything else?
No response


Update maestro tests to only use preferred infrastructure for privacy test pages

Task/Issue URL: https://app.asana.com/0/488551667048375/1208921164205370/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#5360  👈 (View in Graphite)
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.


[bug] Could not load file or assembly 'wix, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=ce35f76fcda82bad' or one of its dependencies.

Describe the bug
When I build it on Windows, get the error below:
     Running [tauri_bundler::bundle::windows::msi::wix] candle for "main.wxs"
     Running [tauri_bundler::bundle::common] Command `./WixTools\candle.exe  -arch x64 main.wxs -dSourceDir=C:\Users\Mantou-PC\nesbox\target\release\NESBox.exe`
       Debug [tauri_bundler::bundle::common] Stderr:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'wix, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=ce35f76fcda82bad' or one of its dependencies. The system cannot find the file specified.

Error: Try running with --verbose to see command output

Caused by:
    0: failed to bundle project
    1: error running candle.exe
    2: error running candle.exe
    3: `
       Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'wix, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=ce35f76fcda82bad' or one of its dependencies. The system cannot find the file specified.

Reproduction

clone https://github.com/mantou132/nesbox
cd nesbox
cargo tauri build --verbose

Expected behavior
No response
Platform and versions
Environment
  › OS: Windows 10.0.19044 X64
  › Webview2: 102.0.1245.44
  › MSVC:
      - Visual Studio ���ɹ��� 2022
  › Node.js: 18.3.0
  › npm: 8.11.0
  › pnpm: Not installed!
  › yarn: 1.22.19
  › rustup: 1.24.3
  › rustc: 1.63.0-nightly
  › cargo: 1.63.0-nightly
  › Rust toolchain: nightly-x86_64-pc-windows-msvc

Packages
  › @tauri-apps/cli [NPM]: 1.0.0-rc.13
  › @tauri-apps/api [NPM]: 1.0.0-rc.7

Stack trace
No response
Additional context
No response

Can you check the C:\Users\YOUR_USER_NAME\AppData\Local\tauri\WixTools folder? It should have several DLLs in there. If you delete it, we'll redownload it. I'll see if I can make some checks for it. Seems like you're missing the wix.dll file.

Can you delete that folder, update to tauri v1 and try again? We changed it.

Maybe you cleared the folder in a git checkout somehow, I'll improve the check.


mismatching array sizes when reading element_solid_history_variables

🐛 Describe the bug
I am trying to read element_solid_history_variables from my *.ptf files, but when I'm calling D3plot() with state_array_filter or state_filter, I get get an error.
🔢 To Reproduce

take any .ptf file (d3plot files seem to work)
run the following script:

from lasso.dyna import D3plot, ArrayType, FilterType
res = D3plot('GM108.ptf', state_array_filter=[ArrayType.element_solid_history_variables])

get this error message:
ValueError: could not broadcast input array from shape (522,5913,1,11) into shape (522,5913,1,5)

💘 Expected behavior
Function call works without throwing an error message.
🖥 Setup

lasso-python version: 2.0.2
OS: Win11 x64, but also occurs on Linux.

ℹ Additional context
My current workaround is to call D3plot() without arguments. I can then read out the array as expected, but the issue is that this doesn't work with the rest of my infrastructure, where I can only read a set of timesteps at a time.

What is a ptf file?

Its similar to d3plot files. I actually thought it is exactly the same with a different file extension. Except that simply renaming my GM108.ptf to d3plot doesnt make the problem go away. So there must be some difference.
https://help.oasys-software.com/articles/#!d3plot-21-0/the-complete-state-ptf-file-also-rlf-and-d3eigv-files

I created a pull request for this issue (actually noticed this issue after creating the pull request as I came up with the same problem with my d3plot files). You can check the solution here:
https://github.com/honzatomek/lasso-python/tree/bugfix/element_solid_strain
The problem is in _read_states_solid function in d3plot.py file where the i_solid_vars already contains the element_solid_history_variables therefore it is wrong to increment it again. The solid true strain data (element_solid_plastic_strain_tensor, element_solid_thermal_strain_tensor and element_solid_strain) are contained in element_solid_history_variables, if present. When element_solid_strain is requested, it is at the end of solid element data, therefore also at the end of element_solid_history_variables. The element_solid_history_variables are composed of strain data in the following order: [element_solid_plastic_strain_tensor], [element_solid_thermal_strain_tensor], [element_solid_strain].
Excerpt from the docu:


SpatialEditorGizmo add_mesh bindings fix

Fixes an error when trying to use generated api.json to generate GDNative bindings.

You should not commit api.json.

My bad, that shouldn't have been in there 👀
I'll fix it now

Thanks!

Does GDNative's api.json generator not understand Variant() (NIL) when it comes to Reference parameters?


Flatten lookupBatch sort to improve performance.

Added tests to make sure results come back properly when sort is enabled and disabled, and that the sort still works when results are missing.
@tmatsuo running this against your example suite before merge would be much appreciated!

There are a number of assertions, probably more than absolutely necessary, but I wanted to make absolutely sure that nothing was getting dropped or left out where it should be included.

LGTM
500,000 ops to 2,000 ops for 1k entities :)


ECONNRESET when after call end()

I use mysql in PassportJS.
ervery time I login, the ERROR ECONNRESET occur
const client = () => mysql.createConnection(config);
let LocalStrategy = require('passport-local').Strategy
passport.use(new LocalStrategy(function(username, password, done) {
  let dbclient = client();
  const hash = crypto.createHash('sha1');
  hash.update(password);
  const values = [username, hash.digest('hex')];
  dbclient.connect();
  dbclient.query(`select u_id from users where u_name = ? and u_pwd = ?`,
    values,
    (err, result) => {
      if (err) {console.log(err); return done(err);}
      const user = result[0]; //{ key: [Number] } or undefined
      if(user)
        done(null, user); //success
      else
        done(null ,false);  //failure
    });
    dbclient.end();
}))

the error detail is:
(/home/bae/app/controller/auth.js:38:12) is the query line in before code
#Error: read ECONNRESET
# at exports._errnoException (util.js:870:11)
# at TCP.onread (net.js:552:26)
#---------------------------------------------
# at Socket.Readable.on (_stream_readable.js:673:33)
# at Connection.connect (/home/bae/app/.bae/node_modules/mysql/lib/Connection.js:112:18)
# at Strategy._verify (/home/bae/app/controller/auth.js:38:12)
# at Strategy.authenticate (/home/bae/app/.bae/node_modules/passport-local/lib/strategy.js:90:12)
# at attempt (/home/bae/app/.bae/node_modules/koa-passport/node_modules/passport/lib/middleware/authenticate.js:348:16)
# at authenticate (/home/bae/app/.bae/node_modules/koa-passport/node_modules/passport/lib/middleware/authenticate.js:349:7)
# at Object.cont (/home/bae/app/.bae/node_modules/koa-passport/lib/framework/koa.js:132:7)
# at /home/bae/app/.bae/node_modules/co/index.js:136:8
# at new Promise (/home/bae/app/.bae/node_modules/babel-cli/node_modules/babel-polyfill/node_modules/core-js/modules/es6.promise.js:191:7)
# at Object.thunkToPromise (/home/bae/app/.bae/node_modules/co/index.js:135:10)
# at Object.toPromise (/home/bae/app/.bae/node_modules/co/index.js:119:55)
# at next (/home/bae/app/.bae/node_modules/co/index.js:99:29)
# at onFulfilled (/home/bae/app/.bae/node_modules/co/index.js:69:7)
# at /home/bae/app/.bae/node_modules/co/index.js:54:5
# at new Promise (/home/bae/app/.bae/node_modules/babel-cli/node_modules/babel-polyfill/node_modules/core-js/modules/es6.promise.js:191:7)

The error is coming from Node.js core and it's happening on the connect, so seems like perhaps you have a network firewall blocking?

@dougwilson
no, there is no network firewall.
I try  remove the dbclient.end() , and 30s after createConnection() the mysql server turn down the connection, and the same ERROR occur, even the error details are the same as before
The query results returned by mysql are handled by callback correctly,  but the client seems keep reading the socket even the callback fun end, so when  dbclient.end() end the connection, the client still try to read the socket so that the ERROR occur.

Hm. Weird. I can certainly take a look, but need some help to get the issue reproducible if you're not able to come up with a patch.

Gotcha. Also, from taking another look at your code, I think the following change from new connections to a pool will improve your performance and take care of that type of error automatically for you:
const pool = mysql.createPool(config);
let LocalStrategy = require('passport-local').Strategy
passport.use(new LocalStrategy(function(username, password, done) {
  const hash = crypto.createHash('sha1');
  hash.update(password);
  const values = [username, hash.digest('hex')];
  pool.query(`select u_id from users where u_name = ? and u_pwd = ?`,
    values,
    (err, result) => {
      if (err) {console.log(err); return done(err);}
      const user = result[0]; //{ key: [Number] } or undefined
      if(user)
        done(null, user); //success
      else
        done(null ,false);  //failure
    });
}))


Move get_frame methods to MediaType

Closes #186
Get fromo ID not useful: Frame.from_id(id) and Frame.populate(fields) already exist
Get frame by index already exists for Video, moved to MediaType.
Added Image.get_frame

Not the same topic as getting frames but analogous: I see get_annotations() is still in Video. I meant to move that to media long ago, but apparently never got around to it.


Having problems with permissions and Guardian.Plug.sign_in

It is entirely possible that something is configured incorrectly on my end, however I think I followed the setup guides pretty well.
I set my permissions in config like so:
# config.ex

config :guardian, Guardian,
  issuer:        "Apollo",
  ttl:           {30, :days},
  verify_issuer: true,
  secret_key:    "4AvxMVXpO7XjeO+AVPwh1SQi+jz5rd3PtI4I0ifxbuZAshlZ2SZMKPSvr3gqZzXf",
  serializer:    Apollo.GuardianSerializer,
  permissions: %{client:                  [:insert, :update, :delete, :show],
                 client_type:             [:insert, :update, :delete, :show],
                 custom_field_definition: [:insert, :update, :delete, :show],
                 custom_field_section:    [:insert, :update, :delete, :show],
                 event_type:              [:insert, :update, :delete, :show],
                 group:                   [:insert, :update, :delete, :show],
                 item:                    [:insert, :update, :delete, :show],
                 item_type:               [:insert, :update, :delete, :show],
                 location:                [:insert, :update, :delete, :show],
                 location_type:           [:insert, :update, :delete, :show],
                 user:                    [:insert, :update, :delete, :show]}

And I am assigning permissions in the sign_in method like so:
# session_controller.ex

conn
|> AuditAction.record_action
|> put_flash(:info, "Logged in.")
|> Guardian.Plug.sign_in(user, :token, perms: Authentication.perms_for(user))
|> redirect(to: user_path(conn, :index))

Authentication.perms_for/1 seems to be returning permisssions formatted correctly. For example:
%{client:      [:show, :insert],
  client_type: [:show, :insert]}

However, when I try to check permissions, it looks like Guardian is consistently assigning 0 to everything. For example:
# Output from `Authentication.perms_for(Guardian.Plug.current_resource(conn))`
%{client: [:show], client_type: [:show], event_type: [:insert, :update, :show],
  group: [:show], item: [:insert, :update, :show], item_type: [:update, :show],
  location: [:show], location_type: [:show], user: [:show]}

# Output from `Guardian.Plug.claims(conn)`
{:ok,
 %{"aud" => "token", "exp" =><PHONE_NUMBER>, "iat" =><PHONE_NUMBER>,
   "iss" => "Apollo", "jti" => "078330cb-4f97-492a-9cb1-6529e9ca2c9e",
   "pem" => %{"client" => 0, "client_type" => 0, "event_type" => 0,
     "group" => 0, "item" => 0, "item_type" => 0, "location" => 0,
     "location_type" => 0, "user" => 0}, "sub" => "User:922796382408934407"}}

In iex if I run Guardian.Permissions.available, the result is [].
I'm not sure if I am providing enough information to assist, so if not I'd be more than happy to provide more. It sounds similar to #47 however I am using version 0.6.3.
Thanks for the help!

I had a similar issue in a phoenix-based project and fixed it by deleting the project's _build - folder and then recompiling the entire app. Maybe this helps in your case as well.

@chriserik Thanks for the suggestion! It looks like that was it. Bizarre. I probably should have checked that first. Still not used to compiled languages. Thanks again


Stripe sample project and extra setting for test events

Add Stripe Sample Project
Add MS_WebHookStripeInTestMode to enable the user to receive test events (call StripeWebHookHandlers.ExecuteAsync for test events with Id 'evt_00000000000000').
Add StripeEvent and StripeEventData classes. Made some changes on on the InstagramUnixTimeConverter and created a UnixTimeConverter class. Please let me know if you want me to keep these in the library, another possibility is to move these changes to the sample project and revert the changes to the InstagramUnixTimeConverter.

Hi @brianweet, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

Committed: 603c3b1505df38762e1285df04228196422a91fc
Thanks! Henrik


Namespace change and consistent spacing

Should fix MYRIAD-43 and MYRIAD-98

Ship It! :rocket:
@klucar :bow:

Oh thank god that's over with.  Now on to the website
On Wednesday, October 28, 2015, asfgit<EMAIL_ADDRESS>wrote:

Closed #22 https://github.com/apache/incubator-myriad/pull/22 via
101bcad
https://github.com/apache/incubator-myriad/commit/101bcad35c931fcac788edf0712e88e13bf7789a
.
—
Reply to this email directly or view it on GitHub
https://github.com/apache/incubator-myriad/pull/22#event-448183493.


Settings

In this discussion please note. Settings refer to anything that WAS database stored.
Settings have been removed from the settings table and moved to their own autoload config file so they can be stored. However, while doing this they now have a different structure so their usage needs tracked and updated to reflect these changes.
Also, the settings management in the dashboard will need to be updated to provide the proper forms etc. I will be rewriting the editing of settings so that they are written to this file.

This is complete except for the writing of the configuration files upon edit.

Just  as a FYI
Please note that to use the config/autoload/appsettings.php you should create a local file named
config/autoload/appsettings.local.php and copy any the contents of the appsettings.php that you need for local changes into this file because it will hold values that you DO NOT want to pushed to your github account.


Change color of <>

My HTML syntax highlighting looks the way I want it to, with the angle brackets in a lighter color, but the TSX angle brackets are a lot harder to see. Is there any way I can customize this?

Try changing tsxTag? The default highlighting is like this.
highlight def link tsxTag htmlTag

I tried setting the guifg of tsxTag to another color and it still doesn't quite work


Support linking/usage of libraw provided by the system

I'm trying to package your crate for inclusion in Debian. However I noticed that you use/build a local copy of libraw library. This can't be used as such in Debian which already ships the libraw library. In Debian we prefer to use the system library.
Would you add support for linking/using the libraw library of the system?
This would also permit your code to be linked to the version preferred by the user. Currently Debian ships libraw 0.21.2 which is newer than the version you use in your code which is 0.20.1.

I'll try looking into it but I can't guarantee how much I'll take.
Also I'll have to look into whether https://github.com/LibRaw/LibRaw/pull/348 was re-included into 0.21, because in 0.20 it was considered a breaking change in the ABI and it was reverted. The copy in the git submodules is from before the revert.


Remove vending useAsync calls and remove it all together

@kymckay Can you test this, I've done this mostly blind now, due to not having a vending setup here.
I think we'll also need to talk about vending.ts, as it seems it had some logic e.g. DEFAULT_SETUP, that should be part of the backend and not in the client.

Working on this, also made it obvious, that the created names for the endpoints are horrible. I can only figure out what is what by knowing if it's post or get and looking at the params, because the names are soooo cryptic and almost have everything in them.

Got distracted, but testing this now

Followup in https://github.com/flathub/website/pull/2202

Annoyingly Stripe have added additional steps to Express account creation which serve as blockers in test mode

Making payments seem to be working though. I'm getting invalid-appid errors when making tokens and accessing payment settings - which may be related to the lack of express account (we should be handling that better regardless).

Can you test if you run into these without these changes?


Fix create/edit colony metadata handler using wrong ids for motions

This PR is a fix for this issue: https://github.com/JoinColony/colonyCDapp/issues/1560
The pending colony metadata wasn't being stored when you created a motion because the auth proxy used the id of the pending colony metadata, which is not exactly the colonyAddress but ${colonyAddress}_motion-${motionTxHash} so I've added a regex to extract and use only the first address that it founds on the id.
I've tested this by skipping the auth container on dev env startup, running the auth locally, and then making some edit colony details actions and motions.
CDapp counterpart: https://github.com/JoinColony/colonyCDapp/pull/1774

Closing this in favor of https://github.com/JoinColony/colonyCDappAuthProxy/pull/11


nullable boolean?

the docs mention a nullable boolean, but the return type is bool, not bool? (or Nullable<bool>)

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

ID: 07a070db-4bac-b894-f44a-9f0bd601281d
Version Independent ID: e31f861b-2010-a3f0-de4d-ddc5c292c924
Content: DbGeography.IsEmpty Property (System.Data.Entity.Spatial)
Content Source: EF/xml/System.Data.Entity.Spatial/DbGeography.xml
Product: entity-framework
Technology: entity-framework-6
GitHub Login: @dotnet-bot
Microsoft Alias: avickers

Weird response. It’s clearly a docs error

@jaoord it indeed seems to be a docs error - but EF6 as a whole is more or less in archive mode. So we're not spending any time on fixing doc issues for it, but if you'd like to submit a PR fixing this we'll definitely merge it.

@jaoord @roji It's a docs error, but it's in the API docs, which are built from the source. So a normal "docs PR" won't help anything here, and a code PR will only help if we re-build the API docs from the source, which might happen, but isn't currently planned. That's why I used the source code message rather than the docs message.

What is the correct return type here? bool or nullable bool? I can just hand edit the XML for API docs.

bool


Use PyInt::try_to_primitive.

clean up after #3142

An idea. Sometimes, there will be some features we cannot move from BigInt to PyInt. Would it be better if I didn't move try_to_primitive into PyInt but adding trait PyIntExt and impl it for BigInt?

@youknowone are there places that would need that now? try_from_primitive was the last (as far as I can see) in int.rs that was a free-standing public function that accepted a BigInt.

Probably try_f64_to_bigint and try_bigint_to_f64 are one of those example for same relationship. And then I also think try_from_primitive is also one of the member of the group


Not So Much an Issue

I'm New to Rainmeter and  GitHub so forgive my stupidity but I'm trying to install but I cant find where it is that I have to put the path where my steam directory is, could you point me in the right direction please? also I don't no how to just write a comment to ask for help on here, for future reference so I don't have to open a issue, could you tell me how I do that also please?

Short description of the issue

Lauhdutin version

Rainmeter version

Python version

Windows version

Error messages

Steps to reproduce the issue

Python stack traceback

There is a Rainmeter config (\Lauhdutin\Settings.ini) that contains the skin's settings. Load that instead of \Lauhdutin\Main.ini and adjust things to your liking, save, and exit.
As far as I know GitHub doesn't offer a default thread to just post comments so you are forced to open an issue.