Implement Binary Search

can I solve this issue?

Hey @nitkrahul, can I work on this?

@ywalia01 go ahead

Could you please assign me for this task ?

Please assign this task to me @nitkrahul


🐛 Bug ➾ Fail to start local sandbox

🚥 Status (Internal Taqueria Team Use Only)

[ ] 🔬 Investigated and Verified
[ ] ⚗ Solution Identified and Designed
[ ] 🧫 Dev Implementation of Fix
[ ] 🧪 Fix Tested and Validated
[ ] 🏆 PR Merged

🆘 What happened?
I created my first Taqueria project with taq init then I installed some plugins:
taq install @taqueria/plugin-ligo
taq install @taqueria/plugin-flextesa

I try to start the local sandbox with taq start sandbox local
I get the following error:
Booting sandbox...
Configuring sandbox...
Error: Command failed: sh -c "docker exec taq-flextesa-local-27b80 node index.js --sandbox local --configure"
qemu: uncaught target signal 11 (Segmentation fault) - core dumped

{
  kind: 'E_EXEC',
  context: 'tezos-client --endpoint http://localhost:20000 config update',
  previous: Error: Command failed: flextesa_node_cors_origin='*' tezos-client --endpoint http://localhost:20000 config update
  qemu: uncaught target signal 11 (Segmentation fault) - core dumped

      at ChildProcess.exithandler (node:child_process:400:12)
      at ChildProcess.emit (node:events:513:28)
      at maybeClose (node:internal/child_process:1093:16)
      at Socket.<anonymous> (node:internal/child_process:451:11)
      at Socket.emit (node:events:513:28)
      at Pipe.<anonymous> (node:net:757:14) {
    code: null,
    killed: false,
    signal: 'SIGSEGV',
    cmd: "flextesa_node_cors_origin='*' tezos-client --endpoint http://localhost:20000 config update"
  }
}

    at ChildProcess.exithandler (node:child_process:402:12)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1100:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) {
  code: 255,
  killed: false,
  signal: null,
  cmd: 'sh -c "docker exec taq-flextesa-local-27b80 node index.js --sandbox local --configure"'
}

It stucks on Configuring sandbox... for many minutes, then error happens.
In the meanwhile, if I try taq list accounts local in another terminal, I get:
Command failed: sh -c "docker exec taq-flextesa-local-27b80 tezos-client get balance for bob"
qemu: uncaught target signal 11 (Segmentation fault) - core dumped

Command failed: sh -c "docker exec taq-flextesa-local-27b80 tezos-client get balance for alice"
qemu: uncaught target signal 11 (Segmentation fault) - core dumped

Command failed: sh -c "docker exec taq-flextesa-local-27b80 tezos-client get balance for john"
qemu: uncaught target signal 11 (Segmentation fault) - core dumped

Command failed: sh -c "docker exec taq-flextesa-local-27b80 tezos-client get balance for jane"
qemu: uncaught target signal 11 (Segmentation fault) - core dumped

Command failed: sh -c "docker exec taq-flextesa-local-27b80 tezos-client get balance for joe"
qemu: uncaught target signal 11 (Segmentation fault) - core dumped

┌─────────┬─────────┬──────────────────────────────────────┐
│ Account │ Balance │ Address                              │
├─────────┼─────────┼──────────────────────────────────────┤
│ bob     │ Error   │ tz1aSkwEot3L2kmUvcoxzjMomb9mvBNuzFK6 │
├─────────┼─────────┼──────────────────────────────────────┤
│ alice   │ Error   │ tz1VSUr8wwNhLAzempoch5d6hLRiTh8Cjcjb │
├─────────┼─────────┼──────────────────────────────────────┤
│ john    │ Error   │ tz1Zwoh1QCVAvJ4sVTojMp9pLYp6Ji4NoZy6 │
├─────────┼─────────┼──────────────────────────────────────┤
│ jane    │ Error   │ tz1aHUAC4oviwJuZF1EvVSvFz7cu9KMNYBph │
├─────────┼─────────┼──────────────────────────────────────┤
│ joe     │ Error   │ tz1MVGjgD1YtAPwohsSfk8i3ZiT1yEGM2YXB │
└─────────┴─────────┴──────────────────────────────────────┘

🆘 Steps to Reproduce?
See above
🪵 Relevant log output
No response
🐘 How impactful is this bug?
No response
⏱ Prevalance
No response
💻 Operating System
MacOS
🕸 System Architecture
arm64 (M1 Macs)
🌮 Taqueria Version
v0.22.2
🌿 Node.js Version
v16.18.0
☎ Contact Details
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @avysel, thanks for reporting this
Are you working with a new project, or one that was possibly created using an older version of Taqueria or it's plugins? If the plugins installed on that project are out of date, you can update them using:
plugins=$(jq -r '.plugins[].name' .taq/config.json) && echo $plugins | xargs -n 1 taq uninstall && echo $plugins | xargs -n 1 taq install

Another thing to check is what project the sandbox was started in. When you start a sandbox, it creates the required accounts and keys for that particular project in config.json. If you then try to use that running sandbox in another project, things will fail as the accounts on the sandbox are not relevant for the other project. In this case, simply stopping all running sandboxes, and then starting one again from the current project should help
Let us know if these suggestions resolve your issue. If not we can dive in further
Thanks!

It's a new project, and it's my first Taqueria project, so there is no older version or other project on my computer.
I've run the command to update plugins, but I still have the problem

@avysel do you have docker installed and running?

Yes, Docker is running. And a container with taq-flextesa-local-xxxxxxxxxx image is also running on port 20000

@avysel cleaning the docker image might help. Try that and see. I recall having this issue and it was resolved by cleaning the image.
I am on MacOS arm64 M1 as well.

Hi @avysel, Taqueria v0.24.1 has been released and has a new plugin @taqueria/plugin-core which has a new task taq clean which will clear stale images and state. You can find instructions for updating Taqueria on the release page: https://github.com/ecadlabs/taqueria/releases/tag/v0.24.1

Thanks for the update @avysel, let us know how you make out with that

No problem any more after Taqueria reinstall

Glad you were able to get this working, @avysel.
Feel free to touch base if you run into any other issues.


Edge case not accounted for that will cause a server to crash on startup

with the current code on update apiimpl/network/Network.java line 173
world.setBlockState(pos, world.getBlockState(pos).with(ControllerBlock.ENERGY_TYPE, energyType));

is called, in the rare case where the block you are setting the state of is actually no longer a controller this causes a crash because of a java illegal argument exception.
although for the most part this shouldn't happen I have seen it, specifically in the case where the mod has been removed and re added, the node and network data files still exist and point to a location in world being a controller but said location is now minecraft:air.
Issue description:
edge case causing server crash
What happens:
attempt to assign an enum property on a block that doesn't contain that property
What you expected to happen:
check that the block is in fact what it is meant to be
Steps to reproduce:

unknown
...

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

Minecraft: 1.14.4
Forge: 28.1.107
Refined Storage:

Does this issue occur on a server? [yes/no] yes
If a (crash)log is relevant for this issue, link it here:
java.lang.IllegalArgumentException: Cannot set property EnumProperty{name=energy_type, clazz=class com.raoulvdberge.refinedstorage.block.ControllerBlock$EnergyType, values=[off, nearly_off, nearly_on, on]} as it does not exist in Block{minecraft:air}
	at net.minecraft.state.StateHolder.func_206870_a(SourceFile:106) ~[?:?] {re:classloading,pl:accesstransformer:B}
	at com.raoulvdberge.refinedstorage.apiimpl.network.Network.update(Network.java:173) ~[?:1.7.1] {re:classloading}

full link
https://pastebin.com/s4ZSfaJe

The ATM4 (All The Mods 4) Test Server is currently in a crash loop due to this...not sure how it happened, or even where the block is to try to fix it.

for servers already in the crash loop a not ideal work around to get them booted again would be to go to the world/data/ folder and move the minecraft_overworld_refinedstorage_networks.dat and minecraft_overworld_refinedstorage_nodes.dat out to a backup folder elsewhere, then start the server.
this will have the server recreate those nodes and networks from the blocks in the region files, but you'll loose the current links and although the disk data still exists the disk items will no longer be linked in world.
similar procedure applies if you have a rs system in one of the other dimensions just the path becomes world/DIM{something}/data/
and overworld is replaced with the dimension name in the data file names.
you can then use something like nbtexplorer to manually copy the disk drive inventory data from the nodes backup to the newly generated files to restore the disk links.

After trying all that, I decided to add a line of code and compile my own version of the mod to fix the issue... :P

yea that's definitely the simpler option. I'm not sure how minecraft threading works or if its a thing at all, but a race condition of two threads hitting the same block should be significantly less common than the current edge case anyway.

I'm not intimately familiar with the code, and only skimmed the sections I saw on EnergyType...but unless I'm mistaken, in your race condition, and it's a Controller block that the server thinks is an Air block, it'll revert to the default Energy Type (which is OFF)...right?  Compared to what's currently happening where it's an Air block the server thinks should be a Controller, and the mod is creating the java.lang.IllegalArgumentException crash.

I'll try to get a build out with this issue fixed in a few hrs.


Default display settings

This display settings should be default for new users. Trust me.

The default setting in Max Page width is none. This actually shows everything on the page without having to scroll left and right.

My bad for not being more specific. The image above refers to:
Max Page width = Medium
Theme = ChakraUI
Nostrudel is the most advanced client for Nostr, but users' first impressions might be misled by its appearance.
Full width is too much for reading on desktop. ChakraUI looks prettier than the current default.
Besides that, a simpler logo might be better for the masses like this:

https://github.com/1l0/logo/tree/master/nostrudel

By the way, why not "Nostrudel" instead of "noStrudel"?

@1l0 close issue/question?

I do. Thanks for the response.


Trojan Coin Miner found in VSCode cache

VSCode Version: 1.34
OS Version: Windows 10

Steps to Reproduce:

Install plugins below:

Scan your user folder with windows defender.
C:\Users<myuser>\AppData\Roaming\Code

Does this issue occur when all extensions are disabled?: Yes, I physically have to delete the cache folder.

Hi @RevoluPowered ,
It appears to be related to this post https://code.visualstudio.com/blogs/2018/11/26/event-stream. Looking closer, based on the reported extensions in that post, I see tomoki1207.pdf as being on of the detected, so you should contact the author (and any extension) to update its extension. Better yet, uninstall the extension(s), until it has been fixed.
Hope this helps

@RevoluPowered as @alefragnani suggest please uninstall vscode-pdf.
@auchenberg can you do another scan of the extensions.

In future, I would expect the extensions which are released and distributed in the application are automatically scanned. before they can make it onto a machine through an approval process.
In my opinion it's standard practice to scan anything you distribute using a tool like vscode before allowing a extension publisher to push out potentially malicious code to users.
Please can you look into this as this can be mitigated in future, if the vscode extensions are scanned before they can be pushed to machines.
370,000 installs could have that coin-miner, the issue is with the security model adopted for extensions and I believe it needs looked into.

Also, what if someone does this to a C/C++ extension and it distributes something worse than just a coin miner?

It looks like this was raised when the extension was removed by MS, but the extension may have just been re-published as-is?
https://github.com/tomoki1207/vscode-pdfviewer/issues/33

Also, what if someone does this to a C/C++ extension and it distributes something worse than just a coin miner?

Right now extensions have full access to your machine - I think you should treat them like downloading any random executable code from the internet - don't do it if you don't trust the author. There's an issue at https://github.com/microsoft/vscode/issues/52116 asking for sandboxing of extensions, but I suspect it's a big job (and for things like language servers/debuggers it's likely they'll always need full access).

Right now extensions have full access to your machine - I think you should treat them like downloading any random executable code from the internet - don't do it if you don't trust the author. There's an issue at #52116 asking for sandboxing of extensions, but I suspect it's a big job (and for things like language servers/debuggers it's likely they'll always need full access).
@DanTup I agree but I think we do need stronger measures to prevent this kind of thing in future.

Approval route for all publishes on the extension server.
A basic antivirus scan of build artefacts before a publish/approval of an extension can be executed, much like Google Play app submissions.

I don't disagree, I was just saying how it was today (and I linked an issue that is also requesting something in this area - though I've on idea whether it's that feasible or likely to happen).

Ah okay, yeah it would be neat if this was implemented. I think it will be a good proactive measure to prevent it happening in future.
Yeah I don't know either if they will implement this, but it might save them a headache in the future.

I cannot reproduce this and I've verified that the pdf viewer extension has version 3.3.4 of event-stream, which does not have the vulnerability.
Extensions are virus scanned when they are published to the Marketplace.

I have just confirmed that the version has not changed since I posted this reply and the infection doesn't seem to be caused by that extension.
What else could be the cause of the cache containing the bitcoin miner?

The foldername has "cache" in it - could it just be old unused stuff? (I've no idea how to verify that, or if it's safe to remove it though..)

The local/code/cache is generated by electron when it loads up - its spit out by the chromium framework.
It is unlikely to be unused stuff, more likely it was loaded at some point by electron and not thrown away.

Will be closing this after a full scan completes as this is not part of the most recent update.


Add matcher to assert object matches snapshot shape

🚀 Feature Proposal
We have a need on my project to verify that an object matches the general shape of a shapshot. We don't care about any of the property values - just that they're the correct type.
Motivation
I'd like to match the shape of an object instead of its values.
Example
Effectively we are looking for a matcher that given this:
const test = {
  a: 1,
  b: 'foo',
  c: {
    d: [0, 1, 2, 3],
  },
};

expect(test).toMatchSnapshotShape();

would create a shapshot like this:
`
Object {
  "a": Any<Number>,
  "b": Any<String>,
  "c": Object {
    "d": Array [
      Any<Number>,
    ],
  },
}
`

Pitch
It would make using snapshots for this use-case easier! I understand that matchers are typically not accepted into core. We actually already created our own matcher for this, I'm more wondering if it's worthwhile to opening a PR to add it to Jest core. If not, I'll open a PR against jest-extended.

Have you seen property matchers? https://jestjs.io/docs/en/snapshot-testing#property-matchers

Hi! Thanks for the quick response. Yes, I'm familiar. This request is to create a matcher that effectively automates the creation of property matchers. Here is a quick example of what an implementation of this might look like:
const buildPropertyMatcher = (received) => {
  const mapFunction = Array.isArray(received)
    ? _.map
    : _.mapValues;

    return mapFunction(received, (value) => {
      switch (typeof value) {
        case 'number':
          return expect.any(Number);
        case 'string':
          return expect.any(String);
        case 'boolean':
          return expect.any(Boolean);
        case 'object':
          return buildPropertyMatcher(value);
      }
    });
};

expect.extend({
  toMatchSchemaSnapshot(received) {
    const propertyMatcher = buildPropertyMatcher(received);
    return toMatchSnapshot.call(this, propertyMatcher);
  },
});

Any update on this? I'm happy to open a PR for this if it's something the Jest team finds valuable.

Hi @kschat, and thanks a lot in advance for your contribution to the ecosystem! My opinion on this is that because it's rather niche and can easily be implemented outside of core, it is not worth adding to core (and I am quite certain the other team members will agree, so I'll go ahead and close). But asking over at jest-extended, or publishing a package for the matcher, definitely sounds great to me, please absolutely do that! :smile:

Sounds good, thanks for the response. I'll send this over to jest-extended.


Allow overriding test images

Some of the tests can't run on an isolated network. Make the images overridable.

Reworked https://github.com/spiffe/helm-charts/pull/155. It had some github issue that made us have to abandon it.

Some inline suggestions to pin to the semver version of the image. Do we need a global.tests.bash to align with the pattern as well?

The other images don't have overrides at that level either. Just global.spire.image.registry to set them all at once to a mirror server, which should work here too.

I suggest we move all back to the valuews.yaml and use the approach from this PR https://github.com/spiffe/helm-charts/pull/311 to exclude them from docs.

Rolled back.


⚠ Bofrost.fr has degraded performance

In 320378c, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1465 ms

Resolved: Bofrost.fr performance has improved in d3ac236.


Add Client detail

Add birthday field
Add key milestone field
Add policy purchased field

This is not going to be completed.


Pascal Triangle

I have done the implementation with comments

This one looks like a right-angled triangle. Can you create a equilateral version?

sure, I can pretty print the pascal triangle

Kindly check my new PR "Pascal Triangle with Pretty Print"

I have merged it.


Only use update_cdf_4_sse2 on x86_64.

Fixes #1179.

Coverage increased (+0.6%) to 82.263% when pulling f92be5dd53e80faf379fff08ce8c1255553a7320 on tdaede:fix_x86 into 157b353c42263e1c29ecb3cd8cbcc24f7d8a2461 on xiph:master.


Check rosout logs for errors

I'm seeing some possible errors in the rosbags, related to video and audio:
name: /video1
msg: [left] does not match name narrow_stereo/left in file /root/work/ros-icreate-bbb/src/camera/calibration/left_calibration.yaml
file: /root/build/ros_catkin_ws_kinetic/src/image_common/camera_info_manager/src/camera_info_manager.cpp
function: CameraInfoManager::loadCalibrationFile
line: 280
topics: ['/rosout', '/video/left/compressed', '/video/left/camera_info']

Same for the right camera
name: /mic2
msg: Unable to read audio stream!
file: capture.py
function: spinOnce
line: 106
topics: ['/audio/right/raw', '/rosout']

Same for the left microphone
It should be investigated if these are relevant or not to ignore.

It is possible to use rqt_console to have a quick view of the log messages:

Here is a log format (CSV) supported by rqt_console:
log_rqt.zip
I will write a short script to produce that CSV log file directly from a rosbag file.

See commit 866440d for the script to produce a CSV log file readable with rqt_console directly from a rosbag file. Note that rqt_console still requires a running roscore instance, so you may have to create a new instance manually on the host before running rqt_console.

Concerning the mic one, I see it pop up sometimes. I think its only a USB timing thing and it adjusts itself. If it appears, its always on service startup. I ignore it because all topics are created correctly and the error stops. Will still investigate to make sure.

For the camera calibration-related messages, I think we just need to rename the camera names in the YAML calibration files. Although these are just a warnings, I'm not sure if there is any effect.

Camera name in calibration files ajusted in 9540f936d55c866161e2d62997be640eeb5904fa


User boopathy

Entity model design
APIConstants added
getter and setter removed
podspec version changed

Remove ZCRMAttachmentDelegate, ZCRMCustomViewDelegate, ZCRMNoteDelegate
ZCRMAttachment - attachmentId should be public
ZCRMCustomView - cvId should be public
ZCRMEventParticipant - have second constructor
ZCRMInventoryLineItem(lineItemId) - internal constructor
ZCRMJunctionRecord - internal constructor & apiName should be internal
ZCRMJunctionRecord.setRelatedData -> ZCRMJunctionRecord.setField
ZCRMLayoutDelegate.layoutId should be public
ZCRMModule.moduleAPIName & ZCRMModuleDelegate.apiName - why two?
ZCRMModuleDelegate.apiName should be public
ZCRMModuleRelation constructors should be internal
ZCRMNote - all properties must be public
ZCRMOrgTax(id, name) constructor shall be internal
Remove constructor of ZCRMOrganization
ZCRMOrganizationDelegate constructor be internal
ZCRMPickListValue constructor be internal
ZCRMPriceBookPricing(id) constructor be internal
ZCRMProfile & ZCRMProfileDelegate constructors be internal
ZCRMRecordDelegate.recordId be public
ZCRMRole & ZCRMRoleDelegate constructors be internal
ZCRMSection constructor be internal
ZCRMSubformRecord constructors be internal
ZCRMSubformRecord.apiName be internal
ZCRMTrashRecord constructor be internal
ZCRMUser constructor be internal

To check

ZCRMStage
ZCRMTag
ZCRMTax
ZCRMAnalytics related classes

ZCRMAttachment - all properties except parentRecord are public
ZCRMCustomView - sysName & isDefault are public
ZCRMDataProcessingDetails - all properties are public
ZCRMDataProcessBasicDetails - constructor with id should be internal and other should be public right?
ZCRMInventoryLineItem - id is public
ZCRMEventParticipant - constructor with id is internal
ZCRMLayout & ZCRMLayoutDelegate - all properties are public
ZCRMModule - all properties are public & constructor is internal. addAllowdProfile spelling mistake.
ZCRMModuleDelegate - all methods are public
ZCRMModuleRelation - all methods are public
ZCRMNote - all properties except parentRecord are public
ZCRMOrganizationDelegate - all methods are public
ZCRMPickListValue - sequenceNumber is public
ZCRMPriceBookPricing - id is public
ZCRMProfile - all properties are public
ZCRMProfileDelegate - all properties are public
ZCRMRecord - all properties are public & constructor is internal
ZCRMRole & ZCRMRoleDelegate - all properties are public
ZCRMSection - all properties are public & remove getSequence()
ZCRMSubformRecord - all properties except apiName & layout are public
ZCRMTrashRecord - all properties are public
ZCRMUser, ZCRMUserDelegate - all properties are public

ZCRMLayoutDelegate constructor is internal
ZCRMOrgTax - all properties are public


Add missing language strings for v5.0.0: it

Checking the file I realized that I have not translated two strings. Correct

Thank you @elax46 !


chore: import repository https://github.com/Pranathi0608/golang.git

this commit will trigger a pipeline to generate the CI/CD configuration which will create a second commit on this Pull Request before it auto merges

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Update vi.coffee

Coverage remained the same at 62.14% when pulling 997da62638e2d90cb06540ba676164e882aca69b on anhnguyen999:patch-1 into cfd84adafac4c57293a9c93e235d753758a81b8c on codecombat:master.

@anhnguyen999 Could you sign our CLA so we can accept your PR?


SSR compatibility?

vue-multiselect doesn't work in server-side rendering, vue-multiselect has compatibility with ssr?

I gave it a shot yesterday, after some trial and error I think the plugin itself is working fine, the problem is that the style-loader for webpack in the bundle relies on the window object and therefore the script throws an error during SSR.
I made a custom bundle without the Style Loader and SSR was working, problem then was just the styling which could be resolved by using an external stylesheet.

Hey @martinherweg! Thanks for trying it and the suggestion. I will try to resolve this issue after finishing groups.

@martinherweg Hi! Is there any way to workaround or patch it until this issue will be resolved?

Sadly not yet. :(

@shilka I made a fork and changed webpack to extract the stylesheet instead of injecting it.
Not the best way so i did'nt submit a PR
https://github.com/martinherweg/vue-multiselect/tree/2.0

@shentao Does it work with SSR now?

@shentao  I tried this with SSR. I am using nuxt.js for SSR. It still doesn't work. It shows
ReferenceError: window is not defined
I wanted to use this plugin in my project. Could you please tell when you are planning to fix this.

Hey. It was supposed to be fixed already, just have to publish the new version. But just can't find the time to do it. I hope I can make it today or tomorrow.

@shentao Thanks for the quick reply.This is the best plugin I could find which covers all the use cases. It will be really helpful if you can do it soon.

@shyamchandranmec @martinherweg @RezaHaidari @pitersky beta.14 released and should fix this problem. Sorry you had to wait so long :(
Please read: https://github.com/monterail/vue-multiselect/blob/2.0/README.md
Breaking change regarding the styles.

Are you saying that's a breaking change from beta 13? I thought that was the same before.

Yeah, I published the package to not make anyone wait any longer. Some of the fixes were already done a month ago, just the release took so long to happen.
Today I will prepare the release notes and update the docs, freeze the development on 2.0 apart from small bug fixes and release it as the new stable version (tagged as latest) in the coming days. The current master will become 1.x which will be mostly for small fixes and community contributions, though I would recommend everyone to migrate to Vue 2.0.
After already having a stable 2.0 release I could release the beta/dev versions much more often. And then regularly (if there are no crucial bugs) – update the stable release.

Source branch
New branch
Release tag

master
1.x
1.x

2.0
master
latest (default)

2.0
dev
next (currently known as beta)

I hope that those changes will help improve the time between releases and the release cycle in general. Those should reduce the pressure on making sure the new beta has no known bugs before a new release, as using it will be completely opt-in,

You're doing great work


Unable to drag and drop email variables

Expected behavior:
As an admin of the application, I would like to have the ability to drag and drop variables within my email template as suggested by the UI.
Actual behavior:

The variables cannot be dragged, and they do not show nicely in the UI

Reproduce steps:

Access the admin side
Click on Mail templates
Try to drag any variables from the side bar

Video of issue: https://www.loom.com/share/9672419bd8514f1286ad5a3a8d8fe37a
Version:
latest beta as at 28/11 (I think it is beta 245, I cannot find the version easily ont eh UI)
Additional Information:

It would also be beneficial to actually show the text as it is supposed to be written in the email (for example, I have added email and telephone in the email (from the order data), and the variable menu would show {{ $email }}, when in reality the markdown would need: {email}

Its on the roadmap for final v3 - https://github.com/tastyigniter/TastyIgniter/issues/442
It would be a great one to contribute to if you wanted to take it on.

You can drag and drop the variables by first selecting them, see the gif

{email} is the old email syntax which still works, but we've moved to blade syntax for email templates, so {{ $email }} would work fine.

Using the actual blade values did not work when I tried to use then, but I
will give it another try.
For the drag and drop, you would really want to implement a proper drag and
drop functionality.
I will try to work on it this week if I manage too..
On Mon, 30 Nov 2020, 2:01 pm Sam Poyigi<EMAIL_ADDRESS>wrote:

You can drag and drop the variables by first selecting them, see the gif
[image: Screen Recording 2020-11-30 at 1 56 25 PM]
https://user-images.githubusercontent.com/6567634/100618903-56968680-3314-11eb-8739-5fd26d897acc.gif
{email} is the old email syntax which still works, but we've moved to
blade syntax for email templates, so {{ $email }} would work fine.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tastyigniter/TastyIgniter/issues/607#issuecomment-735803506,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACE7HAXPWDKZJX2EGQAE5JTSSOQUHANCNFSM4UF4CZPA
.

For the drag and drop, you would really want to implement a proper drag and drop functionality.

Agreed but I decided to stop there with hope to get help from the community so I'd definitely accept a PR.


Importing JSON files?

Led here from:
https://esdiscuss.org/topic/importing-json-files
Looking through the issues and discussion, unable to find a clear answer.
There is a ticket discussing Import non-JS code from the import declaration.
Considering ubiquity of JSON, has there been any discussion on giving it native support?

This sort of thing can be done through a custom format loading with the loader hooks.
In SystemJS the above method is provided via SystemJS.config({ meta: { 'app/*.json': { format: 'json' } } }).
Any spec inclusion is of course separate to the above, but just to mention this approach.

yeah. I suspect that the default loader implemented in each engine will support json, but we haven't get to define that just yet.


Sphinx docs build fails

I am afraid #264 is back... :worried:
@audreyr @pydanny any idea whether the latest release of binaryornot may cause the following error on Read the Docs?
Running Sphinx v1.3.1
making output directory...

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/cookiecutter/envs/latest/local/lib/python2.7/site-packages/sphinx/cmdline.py", line 244, in main
    opts.warningiserror, opts.tags, opts.verbosity, opts.jobs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/cookiecutter/envs/latest/local/lib/python2.7/site-packages/sphinx/application.py", line 143, in __init__
    self.setup_extension(extension)
  File "/home/docs/checkouts/readthedocs.org/user_builds/cookiecutter/envs/latest/local/lib/python2.7/site-packages/sphinx/application.py", line 433, in setup_extension
    err)
ExtensionError: Could not import extension docs.ccext (exception: No module named binaryornot.check)

Extension error:
Could not import extension docs.ccext (exception: No module named binaryornot.check)

Last docs build success was a week ago, please see [readthedocs builds] (https://readthedocs.org/projects/cookiecutter/builds/).

Fixed. I told rtfd to use python setup.py for determining requirements.

Many thanks @pydanny! :bow:


Lockf

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

about the errors: it seems the constants are already defined for several platforms.
could you try to just keep the lockf function definition ?
please, do not open a new issue, but amend your branch, and push force it (git push --force): it will "update" the current PR.

@semarie I moved it to another branch then it creates a new issue.


Pass project-id-version as parameter

I'd like to "version" the pot files by giving it the project name and the commit hash at which the i18n.pot file was generated. Those aren't really details that xgettext should extract itself, so perhaps let the build system pass that as an option.

I think setting project-id-version in the pot file doesn't matter much, because:
The normal workflow is like this:
Create language files for the first time:

Generate English pot file: i18n.pot
Copy it to create various languages: fr.po, de.po, cs.po etc. Then translate those files.
If you want, you can set project-id-version to those files.

Regularly, when strings in the program source code are updated, you want to update the above files:

Regenerate the English pot file: i18n.pot
Use tools like Poedit to automatically merge i18n.pot to fr.po, de.po, cs.po etc. that have already been translated.
If project-id-version is in i18n.pot, that may or may not be what you want to overwrite to the po files. This may bring headache.

Another headache is that the po files are part of a bigger thing, like a program or a jar file. That bigger thing is usually already versioned. Setting project-id-version may cause the problem that versions in po files are not in sync with version of the bigger thing (inconsistent).
In short, setting project-id-version may bring much headache.

Should that header then be removed from the default header, or commented out, if it is not required to be set?

If it doesn't cause problem, I think just leave it.


apply bettertransformer by default for causallm

What does this PR do?
align stateful and stateless IRs for causallm

@echarlaix sorry, I forgot to mark this as draft there were no intention to merge it right now, we wanted validate these changes internally  to make decision that it does not affect stateless models


Remove duplicate section from faq.md

Remove duplicate section about deleting resources no longer in git repo

Thank you @DenseComet 👑


Error starting

I do get "sh: 1: migroose: not found" on "npm start" on Ubuntu 14.04.1 LTS

What version of node and npm do you have?
Also is this a fresh install?

You might need to run npm install

both i had installed via apt-get yesterday
node -v v0.6.12
npm -v 1.1.4

oh, I see now the fail. I do need Node.js (0.10.x)

ah cool, let me know what happens.


Fix manually triggered release workflow logic

The intention here iiuc is to always do a release if the release workflow was triggered manually. This wasn't working, but should be working now.
Noticed this while testing some wip for EC-522 in my fork.
Ref: EC-522

https://console.redhat.com/preview/application-pipeline/workspaces/rhtap-contract/applications/ec-main-ci/pipelineruns/ec-main-ci-z2qn9-4wplm/detail is green, so not sure why it's still yellow and spinning above.
The "checks" failure is something about uploading codecov results, so should be safe to ignore.

This is pretty safe to merge without review. See notes above about the failure.


Fixed remnant reminder bug

When users delete an event, the reminder would still be in storage after the event is gone. I have now fixed the bug by adding an additional function call in the delete event method.

Codecov Report

Merging #249 into master will decrease coverage by 0.00%.
The diff coverage is 27.27%.

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


fix: added status in the query

I forgot to add the status as a parameter in the query when I extended the car-sales data.
https://reporting-service.preprod.carforyou.ch/swagger-ui/index.html#/Reporting/getDealerCarSalesUsingGET

Thank you 🔪

@GutierrezGo Does that mean we need to make 2 requests to display the data in the overview, maybe it would make sense do discuss with backen if we can change the interface so we can pass multiple states to get the required data for the overview in one request?

Ok we should be good here

Each CarSale returned from API will have embedded rejection object. If it's null it means it's not rejected and opposite if it's not null it means CarSale is rejected. However this does not affect CarSale status, they will a be in DRAFT status, no matter is rejection=null or not. So you just need to send one singe request with query param status=draft and you need to handle this embedded rejection in order to display correct action on UI (reject/undo-reject)


Revert "Shave 1 gas using msize instead of push1 32 "

Merged this w/o much discussion. Open to possibly reverting this. It is certainly hacky, but if this invariant were to change in the EVM, there would be a lot of trouble with all kinds of contracts I think.

I don't feel too strongly either way, and Martin made some good points here: https://github.com/lightclient/4788asm/pull/10#issuecomment-1670797328
I'll go ahead and merge this to be on the safe side.


Collated result for V0.5rc

Coverage remained the same at 84.399% when pulling db7ca8c02c867c2f46064792f46643c19ebcb6a4 on master_V0.5rc into ccf36b778817845f6cbe5ef4533b83fb01221484 on master.


Update string conversion

Node 20 now validates the type of input parameters for the sign API and our current implementation is throwing in our test environment as the buffer we are passing is the wrong type. This PR addresses this error.

Codecov Report

Merging #6162 (a7d46e8) into dev (81d34b4) will increase coverage by 10.64%.
The diff coverage is 96.65%.

Flag
Coverage Δ

msal-angular
96.73% <96.65%> (+0.22%)
:arrow_up:

msal-browser
?

msal-common
?

msal-core
?

msal-node
?

msal-node-extensions
?

msal-react
94.24% <ø> (-0.45%)
:arrow_down:

node-token-validation
?

Impacted Files
Coverage Δ

lib/msal-angular/src/msal.guard.ts
90.78% <90.78%> (+0.64%)
:arrow_up:

lib/msal-angular/src/msal.navigation.client.ts
93.33% <92.85%> (+0.47%)
:arrow_up:

lib/msal-angular/src/constants.ts
100.00% <100.00%> (ø)

lib/msal-angular/src/msal.broadcast.service.ts
100.00% <100.00%> (ø)

lib/msal-angular/src/msal.interceptor.ts
100.00% <100.00%> (ø)

lib/msal-angular/src/msal.module.ts
100.00% <100.00%> (ø)

lib/msal-angular/src/msal.redirect.component.ts
100.00% <100.00%> (ø)

lib/msal-angular/src/msal.service.ts
100.00% <100.00%> (ø)

lib/msal-angular/src/packageMetadata.ts
100.00% <100.00%> (ø)

... and 219 files with indirect coverage changes


can't build cutorch with nvidia's cuda-7.0 (on ubuntu 14.04)

Hello. I am trying to build cutorch on an ubuntu machine, not using ubuntu's cuda packages. Everything seems to work when I use ubuntu's packages, but when I install cuda-7.0 from nvidia into /usr/local, I can't get it to build. Any ideas why one works and the other doesn't? Other things that use cuda (like caffe) seem to work.
I know I could just use the ubuntu packages, but this is for a lab, and we would rather install cuda into /usr/local and mount it via NFS to all lab machines.
-- jeff
DISTRIB_RELEASE=14.04
cuda-7.0 from nvidia
using https://github.com/torch/distro.git to install torch and cutorch
below is some of log from luarocks install cutorch
I think the CMake Warnings are harmless, as they also happen when using ubuntu's cuda pkgs
I don't know what the cublas.h errors mean, but am guessing they are the problem
Cloning into 'cutorch'...
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is Clang 3.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Torch7 in /local/torch/install
-- Found CUDA: /usr/local/stow/cuda-7.0 (found suitable version "7.0", minimum required is "5.5")
-- Compiling with MAGMA support
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/luarocks_cutorch-scm-1-569/cutorch/build
[  4%] [  6%] [  9%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorSort.cu.o
[ 13%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir//./THC_generated_THCBlas.cu.o
[ 16%] [ 18%] Generating TensorMath.c
Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir//./THC_generated_THCStorageCopy.cu.o
Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorCopy.cu.o
Scanning dependencies of target cutorch_static
[ 20%] Building C object CMakeFiles/cutorch_static.dir/Storage.c.o
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
   Removing non-existent dependency file: generic/THStorage.h

CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
   Removing non-existent dependency file: generic/THStorageCopy.h
...
.../usr/local/stow/cuda-7.0/include/cublas.h(90): error: more than one instance of overloaded function "cublasGetVersion_v2" has "C" linkage

/usr/local/stow/cuda-7.0/include/cublas.h(102): error: more than one instance of overloaded function "cublasSnrm2_v2" has "C" linkage

/usr/local/stow/cuda-7.0/include/cublas.h(103): error: more than one instance of overloaded function "cublasDnrm2_v2" has "C" linkage
...
...
Error limit reached.
100 errors detected in the compilation of "/tmp/tmpxft_00000606_00000000-7_THCTensorMathMagma.cpp1.ii".
Compilation terminated.
CMake Error at THC_generated_THCTensorMathMagma.cu.o.cmake:264 (message):
  Error generating file
  /tmp/luarocks_cutorch-scm-1-569/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMathMagma.cu.o

hey Jeff. What you are seeing here is that the includes of the found CUDA version (in /usr/local/stow/cuda-7.0) are cross-referencing the includes from some other CUDA version. Do you have any other versions of CUDA on your machine? any headers in /usr/local/include or /usr/include etc...?

Thanks for the info. I am closing this, since I've found a workaround. cutorch seems to build fine
if I use the ubuntu/cuda packages. As I mentioned on the torch list, I was trying to use stow to
install cuda into /usr/local and then NFS-mount that to my lab machines. If I do that, I get the above
errors. If I skip stow and NFS and just install locally, it all works.


Backend category tree at user defined link/category link isn't visible

PHP Version
8.2
Shopware Version
<IP_ADDRESS>
Affected area / extension
Platform(Default)
Expected behaviour
Categorie tree with all categories that are not from the category type structure elements has to be shown.
Actual behaviour
Categories with a link to a category underneath that one will not be shown in the categorie tree.
How to reproduce
Create categories under the main web category. Generate some categories under one of these categories. Use the tab "General" at the 1st category and link to one of the categories underneath that category. Choose in tab "General" the category type "link" an try to search under userdefined links in the category tree under Category for that category. You won't find the category.

[public] Shopware automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-38076.
This link is only intended for Shopware employees and for internal use only.
[created from NEXT-38076, comment 490638]


Delete Template from DockingManager style.

Fix error then try resize autohide panel in Gemini.

Hi Kibnet,
Could you please explain why did you need remove the template and what problem you are trying to fix?
Thanks!

Of course!
If you use this style together with GeminiWpf framework, you get error caused crash of the whole application. This occurs when you try to resize the panel, which was set to autohide mode. Removed template repeats exactly the parent and not semantic meaning. But it causes the above error.

Ok, sounds reasonable, thanks! I'll merge your pull request now...

Thank you!

I've also updated NuGet package. Should be available soon...


Updating license and adding 3rd party notices text.

Adding THIRDPARTYNOTICES.TXT which contains the license text for all 3rd Party OSS used in RTVS

Hi @jflam, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (John Lam (WINDOWS)). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

libzip and other stuff that's in R-Host should go into that repo - we already have a bunch of notices there, directly in LICENSE:
https://github.com/Microsoft/R-Host/blob/master/LICENSE

@jflam, can you split the list?
These should be in R-Host repo:

Boost: Boost Software License 1.0 [1]
picojson: Simplified BSD License [2]
libzip: New BSD License [3]
zlib: zLib License [4]
minhook: Simplified BSD License [5]

These should be in RTVS repo:

libuv: MIT License [6]
Newtonsoft.Json: MIT License [7]
ASP.NET Core: MIT License [8]

All the build-time stuff should also be in RTVS repo.
Also, this list seems to be missing R itself?

This PR is months old. Reopen if needed still.


xdai: network does not support ENS

Gnosis Safe CSV Airdrop app doesn't work on xdai :cry:
network does not support ENS (operation="ENS", network="xdai", code=UNSUPPORTED_OPERATION, version=providers/5.4.0)
Even without ENS I would expect that I can send to addresses without ENS.

Thanks for reporting this issue.
I won't be able to work on it this week, but will fix this bug the week after and publish a new version.

I won't be able to work on it this week, but will fix this bug the week after and publish a new version.

We should probably also double check that it's still works with rinkeby at the same time as I suspect this is probably a current issue there as well.

We should probably also double check that it's still works with rinkeby at the same time as I suspect this is probably a current issue there as well.

On Rinkeby everything works fine for me.
But fixing this on xdai will also fix it on any other network where ens is not supported.

The issue is fixed in the next release. I'll ping here when the next version is published and available in the gnosis safe apps.

@PeterTheOne
The app has been updated in the gnosis safe apps.
You should be able to use it now on xDai network.
Thanks for submitting this bug report!


Add more DVG4013 features

The documentation seems to indicate that this meter supports more registers than currently implemented. It would be great to add those.
I would appreciate if anybody with a corresponding meter would get in contact.

i have this meter and i am very interested in improvements regarding more support for the DVG4013.
Especially the current wattage would be intersting to view.
What information do you need? I attached a screenshot from the vendor-software so that you can see which values can be read.

Ouch, seems they are defined in https://github.com/gonium/gosdm630/blob/master/meters/impl/dzg.go#L24 but not used. Will add asap.

https://github.com/gonium/gosdm630/blob/master/meters/impl/dzg.go#L25 isn't
correct: 0x000 is Import (active) power and 0x0002 is Export (active) power.
All DZG meter reading are unsigned integers (uint32). To get a signed power
reading you have to calculate Import - Export.

0x000 is Import (active) power and 0x0002 is Export (active) power.

Right. This was never tested before, implementation was done blindly.
@ionfan would it be possible to get remote access to your meter, e.g. using ssh or vpn, for testing? Please pm me at<EMAIL_ADDRESS>


Add .DS_Store to .gitignore

Simple update: add .DS_Store to the .gitignore file and remove from the git cache

Thanks, I deleted the assets/.DS_Store file manually. .gitignore already lists .DS_Store so I think this was just something that got missed at some point.


Configure dpu repo

Make dpu operator repo / branch configurable

Allow users to specify the repo/branch they want to build and deploy
from in the CDA config file.

i.e.
    - name: "dpu_operator_dpu"
      dpu_operator_repo:
"https://github.com/SalDaniele/cluster-deployment-automation.git"
      dpu_operator_branch: "my_branch"

We will merge Vrinda's PR first. Hers can pull from GH. Yours is useful too but we need to rebase on top of hers.

Closing, this was addressed elsewhere


Htmlpage.getPage() returns empty webpage

I'm getting a blank page when I try to access the following URL with HtmlUnit
https://register.dpma.de
It's the Official Publications and Register Database of the German Patent and Trademark Office. No such problems while trying to access the central Homepage https://www.dpma.de or the online patent publication search database https://depatisnet.dpma.de.
It makes no difference if JavaScript is enabled or not. I guess the JavaScript code running on the site is erroneous or is currently maybe not supported in HtmlUnit?
Any pointers would be much appreciated.

It makes no difference if JavaScript is enabled or not. I guess the JavaScript code running on the site is erroneous or is currently maybe not supported in HtmlUnit?

At least the page makes a redirect to https://register.dpma.de/DPMAregister/Uebersicht and this page seems to make some magic page protection stuff. Will have a deeper look but no idea if i can get this working.

looks like you are facing F5 Network’s Javascript detection - they like to protect pages from bots ....


[CI] Enable jq for pre-built binaries and packages

Enable jq for pre-built binaries and packages.
Resolves #25.

Signed-off-by: Azeem Sajid<EMAIL_ADDRESS>

MinGW build has a runtime dependency on libwinpthread-1.dll.
Can be downloaded from https://wikidll.com/mingw-w64/libwinpthread-1-dll.


Content Label "Sexually Suggestive (Cartoon)" is complete bogus

here's everything wrong with it:

it will only be applied by the moderation service, it can't be self-labelled
it will be applied incorrectly by the moderation service

more specifically, it will be applied to cartoon images that would otherwise fit into "Adult Content," for example if they contain nudity that isn't covered by "Non-sexual Nudity." this is, of course, because there's no "Adult Content (Cartoon)" label to go along with it.

it's completely ignored by the user's "Sexually Suggestive" content filter setting. so if you want to show suggestive content, it will still be hidden. there's no way to show it by default.

besides, even if it did show together with non-cartoon suggestive content, it would then also show cartoon adult content, which would be wrong since this label is frequently (and incorrectly) applied to the latter.

personally, i think the label should just be removed because it's clearly not doing anything right.
alternatively, add "Cartoon" variants for ALL labels, and allow for proper filtering of these, as well as self-labelling.
feel free to edit the title to something less, well, bogus.

it's completely ignored by the user's "Sexually Suggestive" content filter setting. so if you want to show suggestive content, it will still be hidden. there's no way to show it by default.
Just to note on this: There is in fact a way to show this content by default. The issue is, there is a second level of moderation settings that can be easily overlooked.

Go to Settings > Moderation, and then scroll down to the Advanced header to find Bluesky Moderation Service.

Here, you'll find many more settings, including a control for "Sexually Suggestive (Cartoon)".

I hope that the Bluesky team finds a way to make it more immediately apparent that these settings exist.

*(side note: a separate BMS that's required in your region sounds so bad for so many reasons. we're on a decentralized network here and there should honestly be no expectation that i'm really logging in from the country bsky thinks i'm in, for privacy and other reasons. this also seems like a slippery slope into region-based censorship, if it isn't that already. i also don't see any explanation anywhere as to what it's even meant to be for, and what it does that the global BMS doesn't. but alas, that's another issue for another day)

Afaik there are currently only two "additional moderation authorities" as they're called, for Brazil and Germany. I'm pretty sure they've only been added because they're necessary to comply with local laws. E.g. if there's a post or account that the Brazilian or German government orders Bluesky to block from being viewed in that country, then I don't think Bluesky has a choice in the matter, they have to block access to that post or account for users detected to be from that country or else they would probably face financial penalties, legal sanctions, etc, perhaps eventually leading to a situation where Bluesky is entirely blocked, like X was in Brazil.
Of course, users in that country could get around that by simply using a VPN ¯_(ツ)_/¯


A way to create and execute prepared statements

We are not willing to cache prepared statements any more but re-binding a var eliminates all the efficiency of prepared statements.
So instead we can come up with a couple of functions that:

Return a prepared statement
Execute it

Re: preparing statements and keeping them around:
Won’t something like this work? (not an existing API, might contain discrepancies of all sorts)
(def insert-user (cql/prepare (cql/insert session :users [:uid :name :email [:admin false]])))

where cql/prepare returns a memoized function that expects a session as an argument and returns a prepared statement (an instance of DefaultPreparedStatement). That way we’d get a query-level session-dependent cache that we can push into a separate namespace, shove into another datastructure, and generally pass around explicitly.
Having that prepared statement at hand, we have to a) call .bind at it and b) pass the result into client/execute. Assuming that query params are passed as a vector and are in correct order, we can implement something like (cql/bind insert-user ["uuid-str" "Max" "email@test.com"]), passing its result to client/execute.
Additionally this way we’d have a transparent way to build BATCH statements (re: #86) since driver >= 2.0 has a neat BatchStatement object we can .add both raw and prepared (& binded) queries to, having an api akin to
(->> [["uuid1" "Max" "email1"]
      ["uuid2" "Alex" "email2"]
      ["uuid3" "Michael" "email3"]]
     (map (partial cql/bind insert-user))
     cql/batch
     (client/execute session))

wdyt?

This looks close to what I had in mind.

+1 vote

@arr-ee @michaelklishin I've started working on that one in branch. JFYI

:+1:

Currently working version:
(let [prepared (client/prepare (insert s :users
                                                 {:name ?
                                                  :city ?
                                                  :age  ?}))
                r        {:name "Alex" :city "Munich" :age (int 19)}]
            (println
             (client/execute
              (client/bind prepared (to-array ["Alex" "Munich" (int 19)]))
              s))
            (is (= r (first (select s :users))))
            )

cc @arr-ee @michaelklishin
Feedback welcome!

Looks good but I'm not sure what exactly does the to-array thing do. Can we rub some internal protocol-based conversion for all collections types on it?

@michaelklishin ah, that is to be removed, testing/iteration artefact

Looks great!
I’m a bit concerned about those question marks – is that some macro magick or smth?

it's a hayt var, it's fine if you dont :refer :all or use, you can just use :? instead as well.

actually no :? isn't supported, I was sure it was, I ll update this now.

right, I forgot that clojure allows this. thx for the clarification

well in fact I don't think I'll allow :?, keywords already have a different meaning when used in CQL Values, I'd rather not create exceptions and complicate things further.

you can use '? tho, symbols skip all processing and have their string representation used as output.
internally ? is defined as a Raw type https://github.com/mpenet/hayt/blob/master/src/clj/qbits/hayt/utils.clj#L63-L68

@arr-ee I think @mpenet explained it better than I ever could :)

@arr-ee @michaelklishin ok, prepared queries are now completely fixed and working.
Although because async queries don't work anymore, we have to find some good way to execute them. How about we use async macro around the query to make it async instead (which doesn't contradict to the fact we could still have async-* helpers). Thoughts?

@ifesdjeen sounds good.

ok async queries are much improved now. will merge to Master shortly


Adding a new feature

Description of  the change
Currently https://github.com/Vikash-8090-Yadav/Solidity-Pathshala/tree/main/Level1/Coin allows only owner to mint coin.
We can add a feature for
1> anybody to mint
2> putting restrictions on the number of coins to be minted.
Domain

[x] Readme
[x] Solidity
[] Python
[] JavaScript
[] Golang
[] Other , feel free to mention below

Are you contributing under any open-source program ?
SSOC22

ya sure u can modify this ..
Great idea @legendarykamal

yeah thank you
I have completed this task // @Vikash-8090-Yadav


Attempted to send a second callback for ID

I'm using the plugin in an ionic project with angularjs
I'm trying to use the plugin's subscribe method subscribe to multiple topics like code below.
The result is only one of element in array $scope.gateInfo can successfully subscribe to the topic and I found the error message in logcat which says :
W/CordovaPlugin: Attempted to send a second callback for ID: CordovaMqTTPlugin592666074
After some searching I found that to eliminate this error request plugin support asynchronous communication between javascript and plugin. Is it true? Any ideas are welcome.
var mqttSetupSubscribe = function(){
    var arr = [];
    for (var i = $scope.gateInfo.length - 1; i >= 0; i--) {
        arr.push(mqttSubscribe(i));
    }
    return $q.all(arr);
}

var mqttSubscribe = function(index){
    var defer = $q.defer();
    var subTopic = mqttSubDevInfo + $scope.gateInfo[index].serial;

        cordova.plugins.CordovaMqTTPlugin.subscribe({
        topic: subTopic,
        qos:0,
        success:function(s){
            cordova.plugins.CordovaMqTTPlugin.listen(subTopic,
                function (payload, params, topic, topic_pattern) {
              alert(JSON.stringify(payload));
            });
            defer.resolve();
        },
        error:function(e){
            defer.reject();
        }
        });
    return defer.promise;
}

//
mqttSetupSubscribe().then(function(){
alert("done");
})

Hi,
In the plugin, the native part of Cordova architecture allows synchronous and asynchronous communication. The asynchronous communication is allowed only when the native part generates callbacks on its own. Such as messageArrived callback.
In your case, if the topics are in a pattern, I would suggest you to use wildcard topics (#,+)
Because as far as I understand, the subTopic var is having a pattern, where mqttSubDevInfo var is common string between the topics you are trying to subscribe.
Here is a better suggestion

Use Wildcard topics.
Use listen callback once. And use pattern variables as mentioned in ReadMe.
Don't use defer with Cordova plugins where synchronous communication happens between native and JavaScript bridge.

Sent from my iPhone

On 19-Jul-2017, at 8:32 AM, airomyas<EMAIL_ADDRESS>wrote:
I'm using the plugin in an ionic project with angularjs
I'm trying to use the plugin's subscribe method subscribe to multiple topics like code below.
The result is only one of element in array $scope.gateInfo can successfully subscribe to the topic and I found the error message in logcat which says :
W/CordovaPlugin: Attempted to send a second callback for ID: CordovaMqTTPlugin592666074
After some searching I found that to eliminate this error request plugin support asynchronous communication between javascript and plugin. Is it true? Any ideas are welcome.
var mqttSetupSubscribe = function(){
var arr = [];
for (var i = $scope.gateInfo.length - 1; i >= 0; i--) {
arr.push(mqttSubscribe(i));
}
return $q.all(arr);
}
var mqttSubscribe = function(index){
var defer = $q.defer();
var subTopic = mqttSubDevInfo + $scope.gateInfo[index].serial;
    cordova.plugins.CordovaMqTTPlugin.subscribe({
    topic: subTopic,
    qos:0,
    success:function(s){
        cordova.plugins.CordovaMqTTPlugin.listen(subTopic,
            function (payload, params, topic, topic_pattern) {
          alert(JSON.stringify(payload));
        });
        defer.resolve();
    },
    error:function(e){
        defer.reject();
    }
    });
return defer.promise;

}
//
mqttSetupSubscribe().then(function(){
alert("done");
})
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@airomyas You can try this code
var subTopic = mqttSubDevInfo + "/#";
var mqttSubscribe = function(topic){
    var defer = $q.defer();

        cordova.plugins.CordovaMqTTPlugin.subscribe({
        topic: topic,
        qos:0,
        success:function(s){

            defer.resolve();
        },
        error:function(e){
            defer.reject();
        }
        });
    return defer.promise;
}

mqttSetupSubscribe(subTopic).then(function(){
cordova.plugins.CordovaMqTTPlugin.listen(subTopic+"serial",
                function (payload, params, topic, topic_pattern) {
              //you will find a serial key in params object
              alert(JSON.stringify(payload,params,topic));
            });
})

Thank you very much for  your reply.
It works for me.


allow jailed validator to submit system txs?

they are still bonded

Closing as it is already the case.


Support topic-level configurations (Enhancement)

The topic create API currently supports only name, partition count, and replication factor.  It should probably support the rest of the documented topic-level configurations.  This might be as simple as adding a list of optional {key, value} pairs to the createTopic() endpoint.
Our acute use case is we'd like different retention policies for each topic.  We can sneak around and do this outside of the API but that's less clean.

Migrated to JIRA.  Okay to close.

This repo is deprecated and will be archived soon. Please see the latest version of Kafka or Confluent Kafka for DC/OS:
https://docs.mesosphere.com/service-docs/kafka/
https://docs.mesosphere.com/service-docs/confluent-kafka/
The former is based on the code in dcos-commons:
https://github.com/mesosphere/dcos-commons/tree/master/frameworks/kafka


HDDS-9342. OM restart failed due to transactionLogIndex smaller than current updateID

What changes were proposed in this pull request?
takeSnapshot() in OM state machine is updating the TRANSACTION_INFO_KEY in db with old lastAppliedTransaction index, this is causing replay of all transactions and having issue.
The cause of old last applied transaction index is:

some of transaction is failed (butcket is deleted and key can not be added)
In this failure scenario, error response not added to double buffer causing miss of index.
As logic at OM State machine, it mandates the index must be in sequence to update lastAppliedIndex. So its not getting update due to miss.
Further, ratisTransactionMap keep populating with more indexes as pending causing memory leak situation

As solution,

takeSnapshot must not update db with TRANSACTION_INFO_KEY but get term & index from db
update term&index in sequence from applyTransaction and notifyTermIndexUpdated using double buffer
Note: change also impact upgrade Prepare request, covered by existing testcases.

As fix,

DoubleBuffer do callback to OMStateMachine to get the index to be updated and applied
notifyTermIndexUpdated just record new indexes to be applied to ratisTransactionMap and provided to DoubleBuffer over callback

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-9342
How was this patch tested?

existing testcases cover scenario
upgrade prepare impact also verified with existing testcase

@sumitagrawl , when applyTransaction(..) completes could we just update the index at the moment?
In notifyTermIndexUpdated(..), it can keep track with another index, say notifiedTermIndex, which will be used in the prepare command.
The goal is to simplify the update last applied index logic and remove both applyTransactionMap and ratisTransactionMap.

@sumitagrawl , when applyTransaction(..) completes could we just update the index at the moment?
In notifyTermIndexUpdated(..), it can keep track with another index, say notifiedTermIndex, which will be used in the prepare command.
The goal is to simplify the update last applied index logic and remove both applyTransactionMap and ratisTransactionMap.

@szetszwo
We are doing all these to keep update transactionInfo in DB and update lastApplied transaction.

We can avoid applyTransactionMap, passing both term and logIndex to response object, but this needs to change to pass to all response, is it ok to change all request/response? Can be handled with separate JIRA if required.

we need update ratis and applyTransaction Id in db as well in lastAppliedIndex in synch, But with above, there may be wrong view what is actually applied to db and what snapshot we are taking.

Please share move view how this can be achieved ... if we have some better solution .. can handle with another JIRA for this. -- like HDDS-9960 continuing this.

We can avoid applyTransactionMap, passing both term and logIndex to response object, but this needs to change to pass to all response, is it ok to change all request/response? ...

Please review https://github.com/apache/ozone/pull/5860 .  Not sure if you mean something like that.

Is this needed after other recent changes in OM state machine?  If so, please resolve conflicts, otherwise we can close this.

This is handled by https://github.com/apache/ozone/pull/5891

handled as part of HDDS-10026


traefik: also substitute environment variables in dynamic config file

Description of changes

The traefik service provides the option of templating the static configuration file with envsubst and the provided environment variables. I figured the dynamic configuration file could also use the same capability, seeing as it usually holds secrets and whatnot, so I applied the existing logic to it as well.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I don't think this is necessary, traefik already supports go templating: https://doc.traefik.io/traefik/providers/file/#go-templating

I don't think this is necessary, traefik already supports go templating: https://doc.traefik.io/traefik/providers/file/#go-templating

You're right, I'd somehow managed to completely miss that Traefik feature so far 😅
I'll go ahead and close this


npm or yarn nor any dependencies are not installing at all

(Windows user)Seems like i have good internet connection of 210mbps . But any installation process of the dependencies after cloning of the project doesn't work at all.
npm install shows this for hours(image attached below) and yarn install shows you have trouble with your internet connection.
Am i doing something wrong  here?

Hi @nirtutac123, I think you have an issue with your machine. you can try some different projects to check if it's working. thanks

yes i did everything. Cloned again, restart laptop.
After 1 day, somehow it works now. Thank you.


Add ScrollView

ScrollView is a basic scrolling widget that uses the new sliver-based scrolling
machinery. Unlike Scrollable2, the children of a ScrollView are boxes.

@Hixie


Fixed broken links in _index.md

Type of Contribution
Check the item(s) that applies.

[ ] :zap: HOWTO Content update
[ ] 📃 Hugo static site update
[x] :icecream: README or site documentation update

Is this pull request related to an existing issue? If so, which one is it?

[ ] :white_check_mark: Yes! - Issue number:
[x] :x: No, sorry.

Description
I noticed that the links for HOWTO - Contributors and HOWTO - Maintainers were getting a 404 response, so I changed the URL in the markdown and they seem to redirect correctly now.

If possible, could you tell me more about broken links the issue you ran into?
Trying out the site in Chrome, I didn't run into any 404 errors.

However, if there is an issue, I'd like to try to resolve it.  Hopefully, we can continue using relative links, just in case I ever decide to add a domain name, or if GitHub pages stops using the io domain.

Sure. I am using Mac OS and Chrome Browser. I was in the _index.md file and clicked on the links there. I had expected it to take me to the corresponding Markdown files in GitHub, but maybe I misunderstood how the routing is working.

No problem.
The old version is here:
https://github.com/zo0o0ot/hacktoberfest-issue-howto
This new version is stored as markdown files, but Hugo parses it into a static site that is hosted on GitHub Pages at https://hacktoberfesthowto.github.io/

I see! Thanks for the info! I don't quite know what to contribute to this repo I guess. It's cool though! Some nice resources. 🙂

I would love help with #33 if you have time. I see that you made a comment there.

I've assigned you to #33 but because of the good quality conversation on this PR, I'm marking this also as a Hacktoberfest approved PR.


Plugin cannot be uninstalled - annotations-13.0.jar is being used by another process

Description
Plugin cannot be uninstalled - annotations-13.0.jar is being used by another process
To Reproduce

Run the 'UTBotJava' project in IntelliJ Idea 2022.2.3
Install UTBot - utbot-intellij-2022.10.464 - build from unittestbot/rc10202022
Generate a test
Kill IDEA process
Open IDEA
File -> Settings -> Plugins. UnitTestBot - uninstall
Click Apply, select Restart IDEA

Expected behavior
IDEA is restarted. UnitTestBot plugin is successfully uninstalled.
Actual behavior
Plugin Installation Error is displayed:
The IDE failed to install or update some plugins.
Please try again, and if the problem persists, please report it
to https://jb.gg/ide/critical-startup-errors

The cause: java.nio.file.FileSystemException: C:\Users\lWX1182794\AppData\Roaming\JetBrains\IntelliJIdea2022.2\plugins\utbot-intellij\lib\annotations-13.0.jar: The process cannot access the file because it is being used by another process

Visual proofs (screenshots, logs, images)

Environment
Windows10 Pro
IntelliJ IDEA 2022.2.3

Kill idea.exe once again - helped. The plugin is uninstalled.


[SPARK-28739][SQL] Add a simple cost check for Adaptive Query Execution

What changes were proposed in this pull request?
Add a mechanism to compare the costs of the before and after plans of re-optimization in Adaptive Query Execution.
How was this patch tested?
Added UT.

Test build #109134 has started for PR 25456 at commit 4fa256e.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14202/
Test PASSed.

Test build #109134 has finished for PR 25456 at commit 4fa256e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109134/
Test PASSed.

Test build #109142 has started for PR 25456 at commit 74dd386.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14211/
Test PASSed.

Test build #109142 has finished for PR 25456 at commit 74dd386.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109142/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14228/
Test PASSed.

Test build #109159 has started for PR 25456 at commit 74dd386.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14247/
Test PASSed.

Test build #109177 has started for PR 25456 at commit 4048f3a.

cc @cloud-fan @hvanhovell @gatorsmile

Test build #109159 has finished for PR 25456 at commit 74dd386.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109159/
Test PASSed.

Test build #109177 has finished for PR 25456 at commit 4048f3a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109177/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14448/
Test PASSed.

Test build #109387 has started for PR 25456 at commit b381a83.

Test build #109387 has finished for PR 25456 at commit b381a83.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109387/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14453/
Test PASSed.

Test build #109391 has started for PR 25456 at commit b381a83.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14456/
Test PASSed.

Test build #109391 has finished for PR 25456 at commit b381a83.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109391/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14485/
Test PASSed.

Test build #109421 has started for PR 25456 at commit 5ca5185.

Test build #109421 has finished for PR 25456 at commit 5ca5185.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
abstract class FileCommitProtocol extends Logging
class RpcAbortException(message: String) extends Exception(message)
class BindingParquetOutputCommitter(
class PathOutputCommitProtocol(
class DecisionTreeParams(Params):
case class UnresolvedTable(v1Table: CatalogTable) extends Table
 implicit class IdentifierHelper(identifier: TableIdentifier)
class CatalogManager(conf: SQLConf) extends Logging
case class ReuseAdaptiveSubquery(

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109421/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14558/
Test PASSed.

Test build #109501 has started for PR 25456 at commit a40c8b9.

Test build #109501 has finished for PR 25456 at commit a40c8b9.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109501/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14582/
Test PASSed.

Test build #109525 has started for PR 25456 at commit a40c8b9.

Test build #109525 has finished for PR 25456 at commit a40c8b9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109525/
Test PASSed.

Thanks! Merged to master.


[Bug Fix] Use synchronous serial read

As discovered by Mitsudome, the vesc state report and IMU report framerate is not stable. I find this to be related to how the serial driver in ROS2 transport driver handles async serial receive in which there are corrupted buffer data. This fix switches to sync receive and use the size of data received for copying into buffer. Framerate is tested to be stable at 50Hz for both IMU and vesc state.
This fix also brings back the old error handler in ROS1 version of the driver to signal transmission issues.
Also fixed:

Update README
Reduce severity of a constant print statement to debug

It looks good to me. I have also tested with the real hardware and confirmed that the topic is now published at 50hz.


NPM crashes when deleting a few hosts and ssl certs, then resets to default and it is empty without any records

Hi, I am running NPM for more than 1 year now in a proxmox vm from template of ubuntu 22.04.3 server (full updated).
I have installed docker via the official docker instructions and then portainer for gui.
My docker compose file is this:
`version: '3.3'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
goaccess:
image: 'xavierh/goaccess-for-nginxproxymanager:latest'
container_name: goaccess
restart: always
ports:
- '7880:7880'
environment:
- PUID=0
- PGID=0
- TZ=Europe/Athens
- SKIP_ARCHIVED_LOGS=False # optional
- DEBUG=False # optional
- BASIC_AUTH=False # optional
- BASIC_AUTH_USERNAME=user # optional
- BASIC_AUTH_PASSWORD=pass # optional
- EXCLUDE_IPS=<IP_ADDRESS> # optional - comma delimited
- LOG_TYPE=NPM # optional - more information below
volumes:
- ./data/logs:/opt/log
`
to clarify the problem which I will describe happens also before I have added the goaccess to my npm compose.
So I have a few domain names and some subdomains etc and it works perfect and thank you for this amazing project!
The problem happens now that I am moving my websites to another VM running a webhosting software than keeping them in docker compose.
I have migrated all my sites to the new host, change A records to match the new IP and all runs good!
So I go to NPM to delete those sites, if I delete 1-2 domains and their certs, I don't see any problem but when I try to delete more, one at a time of course, NPM is not responding.
So I stop the stack and restart it, when it starts, it is in factory default settings! I have to login with the default info and it doesn't contain any record at all!
So I roll back to the backup I am always taking before I do such actions.
Checklist

Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?

Yes

Are you sure you're not using someone else's docker image?

Yes

Have you searched for similar issues (both open and closed)?

Yes

Describe the bug

NPM crashes when deleting hosts and certs and when re-started it is in factory default state.
Nginx Proxy Manager Version

v2.11.1
To Reproduce
Steps to reproduce the behavior:

Go to 'Hosts>proxy hosts'
Click on '3 dots on a host and delete'
Go to 'SSL Certificates'
Delete the matching record.
Repeat that 5 times or so.
NPM is not responding.
Restart service and NPM is in factory defaults.

Expected behavior

Delete the hosts and certifications and not crash or lose all remaining records after restart
Operating System

Ubuntu 22.04.3 server full updated on proxmox 8.1 host
notes
I had an ARM64 vm debian 12 in hetzner with same installation of docker and portainer and npm with this yaml and it did the same there as well.
It did the same even before i discovered the goaccess

most of them were in the style of domain.com and www.domain.com but some where subdomains such as subdomain.domain.com.
Indeed some of the certs if I go to the certs tab are red and outdated, this is also odd because NPM never updates them there, the certs themselves if you visit the sites, they were autorenew but the certs tab didn't seem to get the update

For now I just want to remove all those domains that I have transferred to the other vm and just keep those that remain in the same portainer instance (they still are plenty).
My workaround for now seems to be to make a record of what I want to keep and the internal ip/port and redo them all since I don't want to create another interruption to the transferred domains to change the A record back, do SSL renew, change A record again.

Is there any update on this issue? if not, it is safe to close it. As an issue, for me it still remains unfortunatelly.


Adds package.json file

Adds missing package.json file. See also #1.
@JakobMiksch please review

@mholthausen looks good. Please merge.


Broken link in docs

A link (these slides) in "Introduction to Boosted Trees" section(https://xgboost.readthedocs.io/en/latest/tutorials/model.html) is broken.

@tqchen Is there an update on the link or we should remove it from the doc?

Fixed by #6455


made required changes to mflog.py

Fixed invalid escape sequence warning on python >=3.6 #680

Fix invalid escape sequence warning on python >=3.6 #680

@Ujjwal29 Can you address the black linting issue.


GP2L

Key
Value

ID
GP2L

Source
Vaaran Bhai Gurdas Ji

Page
36

Line
hir cMdaurI dyiK kY; krdy Brvwsw [

Correction
hir cMdaurI ≠ hircMdaurI

PROOF (EDITION)
Image:

@Sarabveer please confirm duau vs dau
Whether hircMduaurI or hircMdaurI?

hircMduaurI, looks like a compound word/name.


Ability to use multiple connections to upload blob chunks in parallel

Make the  put_block_blob* and put_page_blob* functions optionally upload using multiple connections.

Implemented for v0.10.


Generic NES-like controller always holds down left, and --gamepad_override doesn't seem to fix it

I have a generic NES-like controller branded "retro power" that the game interprets as always holding down left. The controller works fine in AntiMicroX and Taisei, but for some reason AAAAXY seems to misread the controller. I tried running `./AAAAXY-x86_64.AppImage --gamepad_override "0300000079000000110000001001000012117,Retrolink SNES Controller,platform:Linux,a:b2,b:b1,x:b3,y:b0,back:b8,start:b9,leftshoulder:b4,rightshoulder:b5,dpup:a1,dpleft:a0,dpdown:a1,dpright:a0," (I got the gamepad override string from AntiMicroX. The gamepad doesn't really have that many buttons.), but that seemed to have no effect. Actually, I just now noticed it says "[INFO] gamepad mappings from --gamepad_override applied" regardless of whether I actually use the "--gamepad_override" option.
I have tried "AAAAXY 1.2.280+20220822.2294.9ff4b8b7" and "AAAAXY 1.2.321+20220905.2335.e05b1efe", both via the AppImage, and I am using Trisquel GNU/Linux Nabia (10.0.1) as my operating system. Unfortunately, I could not find a controller that actually works with AAAAXY. I have another controller that came with the NES-like one, and it has a similar problem, and I have a couple of Wii remotes, which do not have the holding-down-left problem, but the D-pad is rotated and none of the buttons jump or pause. The Wii remote D-pad controls the entire operating system for some reason though, so I think the D-pad rotation is a operating system problem or something (Actually, the way the D-pad is rotated would make sense if I held the Wii remote like a TV remote.).

First of all, the mappings are, like all non-debug flags, stored in ~/.config/AAAAXY/config.json - so that not specifying the flag still shows that they're used is fine.
My first suspicion is that the override isn't actually applied to this gamepad; I'll add debug logging to show the actual SDL ID.
Once your mapping is applied, you'll probably be able to locate the bad assignment easily. Having both dpleft and dpright assigned to a0 seems a bit suspicious, BTW; normally one is assigned to -a0 and the other to +a0.

Next release will give you the SDLID of the gamepad that the game library uses - this should help with overriding and fixing the mappings.

That release is out - first thing to check is which ID your controller gets. It is possible that the wrong ID is used and that is why your remapping failed.

Yep, the ID was incorrect. AAAAXY shows it as<PHONE_NUMBER>0000001100000010010000, and when I change the ID in gamepad_override to that, it no longer acts like I'm always holding down left (but the D-pad doesn't do anything). (I wonder why AntiMicroX shows what it does?).
I tried ./AAAAXY-x86_64.AppImage --gamepad_override "03000000790000001100000010010000,Retrolink SNES Controller,platform:Linux,a:b2,b:b1,back:b8,start:b9,dpup:-a1,dpdown:+a1,dpleft:-a0,dpright:+a0" and then I get the problem with always holding left again.
In jstest-gtk the controller seems fine.

I wonder if something is odd with how this controller reports axis values.
Fixes to github.com/hajimehoshi/ebiten may be necessary for this.
Last four digits of the ID looks suspicious. Ebitengine comes with an
example program for gamepads - what axis 0 values does it show for left,
nothing pressed and right?
On Thu, Sep 15, 2022, 21:09 JacobKfromIRC @.***> wrote:

Yep, the ID was incorrect. AAAAXY shows it as
03000000790000001100000010010000, and when I change the ID in
gamepad_override to that, it no longer acts like I'm always holding down
left (but the D-pad doesn't do anything). (I wonder why AntiMicroX shows
what it does?).
I tried ./AAAAXY-x86_64.AppImage --gamepad_override
"03000000790000001100000010010000,Retrolink SNES
Controller,platform:Linux,a:b2,b:b1,back:b8,start:b9,dpup:-a1,dpdown:+a1,dpleft:-a0,dpright:+a0"
and then I get the problem with always holding left again.
In jstest-gtk the controller seems fine.
—
Reply to this email directly, view it on GitHub
https://github.com/divVerent/aaaaxy/issues/28#issuecomment-1248802671,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB5NMAKIVD5ASVJ6Q2D4JDV6PCDPANCNFSM6AAAAAAQGIQTHA
.
You are receiving this because you commented.Message ID:
@.***>

So... first of all, we can always use gamepad definitions to turn unwanted axes off.
As for how the game handles multiple inputs: if any left key is pressed, the player moves left, unless there is also any right key pressed. I might change this to differencing logic instead "more left keys than right keys",
The concrete gamepad appears weird indeed, however it seems only the d-pad data that is broken, while the axes are fine?

Another thing I noticed is the "Axes:" value at the top. When I'm not holding anything on the gamepad, it shows "0:-0.00, 1:-0.00" which doesn't seem too weird at first, and interacting with the controller works as you'd expect, with holding left resulting in "0:-1.00, 1:-0.00", holding up resulting in "0:-0.00, 1:-1.00", holding right resulting in "0:+1.00, 1:-0.00", and holding down resulting in "0:-0.00, 1:+1.00".

This actually looks good; I see good chances that this is something that can be made usable somehow.
Try this string then:
03000000790000001100000010010000,Retrolink SNES Controller,platform:Linux,a:b2,b:b1,back:b8,start:b9,leftx:a0,lefty:a1

This isn't quite correct as it treats the D-pad as an analog stick, but for AAAAXY that will work fine.
As for A/B button mapping, this game should play equally well either way; I intended to have jumping on A as that feels more natural on an Xbox-style pad (although one can also play with the X and Y buttons, which have the same but reversed), but on SMB it was exactly the other way round. I guess it's your preference then :)

I found in Ebitengine source code that the function buttonValue only maps the range [-1, 1] to buttons (like dpad); so normally -1 is treated as "not pressed" and +1 is treated as "pressed". The threshold appears to be -0.76. However if you write +a0, Ebitengine maps [0, 1] to [-1, 1] first, making the threshold 0.12, and if you write -a0, Ebitengine maps [-1, 0] to [-1, 1] first. This appears wrong to me, but nevertheless, you might be able to fix the dpad mappings by inverting (using -a0~ instead of -a0). If that works, might be worth reporting a bug to Ebitengine.

Yes, this seems wrong in Ebitengine (after comparing to SDL source), I'll file a bug.

Also, can you try if https://github.com/hajimehoshi/ebiten/pull/2335 fixes everything for you in the gamepad demo of Ebitengine? There was indeed a nasty bug affecting all negative axis mappings.

I released with this fix. Enjoy!

I tried the leftx/lefty mapping and the -a0~ mapping with AAAAXY 1.2.331+20220912.2345.cbfba5a3 and those both worked fine, and I then deleted config.json to clear the mappings and updated to the latest version (AAAAXY 1.2.336+20220919.2350.a525d576), and the controller still worked fine. I haven't gotten around to testing with the updated ebitengine gamepad test (though, not sure if that makes sense to do given it's fixed in AAAAXY which incorporates ebiten).
I guess this issue can be closed now, as the controller works fine by default now.
Currently, the default is that physical A is jump. I tried using physical B for jump as a test and it felt really strange, but that could just be because I've played a lot of Super Mario Bros., so I'm used to holding down B and pressing A. I think the current mapping should stay. I think Super Mario World (which switched to a 4-face-button controller) started using B to jump, with B at the bottom (where A is on the Xbox pad), so A to jump matches Nintendo for NES and Xbox controllers. But then, A and B are swapped compared to Xbox on modern Nintendo controllers, so it might make more sense to define jump as the lower button rather than a letter, if that's possible.


Extend integer register PReg space to 128 registers

This PR steals space from the last currently unused register class to allow PReg to represent more registers, but only in RegClass::Int.
But why?
I'm using regalloc2's support for fixed stack slots (represented as PRegs) to let the register allocator manage VMContext state. This allows this state to be kept in registers as much as possible, even across basic blocks.
Since each piece of regalloc-managed VMContext state needs its own PReg, the current limit of 64 integer PRegs is insufficient: the first 32 are for actual physical registers, which leaves only 32 for fixed stack slots, but I need 46 fixed stack slots.
Better solutions
The code as shown is quite ugly, so I'm open to hearing about better solutions to this. #5 seems relevant here.

I spent some time thinking about what the future API of this crate might look like.
First of all, regarding #5, it is clear that we need more encoding space for Operand. I think the first step here would be to just use a 64-bit Operand and accept the (~3%) performance cost. Later, we can look into potential optimizations with side-tables to see if it is worth the cost in API complexity.
The main change that should happen is renaming PReg (both in the API and in the allocator internals) to Location which is defined as a 16-bit type with the following bit fields:

2: class (Int, Float, Vector)
1: kind (Mem or Reg)
3: reserved for future expansion
10: index (up to 1K values, should be more than enough)

Operand is then changed to be a 64-bit type with the following bit fields:

30 30-bit index for vreg (leaving 2 bits for the register class)
1: kind (Def or Use)
1: pos (Early or Late)
2: class (Int, Float, Vector)
3: constraint (Fixed, Reuse, Reg, Stack, Any)
16: Location for Fixed, index for Reuse.
12: reserved for future expansion, or for size optimizations in the future

Allocation remains mostly the same, except that the 3 allocation kinds become:

None
Location (previously Reg)
SpillSlot (previously Stack)

Overall this is mostly an API/naming change. Most of the regalloc internals remain the same.

That's certainly an option. At least in Cranelift's use-case, though, we wouldn't accept a 3% regression; and also, 10 bits of index-space for custom locations would not be enough (we need to support up to 10K args for Wasm at least, per this implementation-limits discussion). I still think that having an out-of-band data structure (we can still have an OperandConstraint::UserStack(index) in the unpacked type, and push it to the main and side-vecs in OperandCollector) is the right approach here, because it decouples the upward pressure from index users and downward pressure from performance.


SB3 Types

I'm not sure if these types belong in this or not, because while it's not technically a library, it is used by library in methods like this, but it would be helpful if this library contained types for the project.json object in SB3 files.
If you're happy to add these types,  I just wrote some simple ones for my project here that shouldn't be difficult to copy and paste over to here. I will eventually be adding types for each opcode individually to get rid of the records in ProjectSB3BlockBase, but that could be a while.

I don't see any reason not to add them here
I do wonder if it is possible to convert Scratch's official schemas without too much pain: https://github.com/scratchfoundation/scratch-parser/tree/master/lib

When will this be added.

Uhmm, I mean with some review from garbo the types I linked in the original issue should be good, they just don't have explicit types for every block. If we wanna wait a few weeks though I can probably provide types for all the vanilla blocks too.

Oh thank you. I'm working on a project where these would be very helpful.


FAI-532: Update CF UI to use 'fixed' property

See https://issues.redhat.com/browse/FAI-532
I've tested this with real integration with the docker image backend and it works fine.
The mock-server didn't seem to care about Goals or Search Domains; but correct me if I am mistaken.
Many thanks for submitting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Pull Request title is properly formatted: KOGITO-XYZ Subject
[x] Pull Request title contains the target branch if not targeting master: [0.9.x] KOGITO-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

How to retest this PR or trigger a specific build:

Pull Request
Please add comment: Jenkins retest this

Quarkus LTS checks
Please add comment: Jenkins run LTS

Native checks
Please add comment: Jenkins run native

The mock-server didn't seem to care about Goals or Search Domains; but correct me if I am mistaken.

You're right. The mock-server doesn't do any validation of submitted requests.


RAG error

When using RAG, the import package starts throwing errors.
metagpt: 0.8.1

It looks like there's an error with Milvus. You could try the main branch, as the dependency on Milvus has been removed.

It looks like there's an error with Milvus. You could try the main branch, as the dependency on Milvus has been removed.

But we still need milvus.