Handle block change

a few fixes and additions to make it work

The bug in the bitwise decoding is my fault, basically a transcription error.
Normally what you're doing here, bitshifting a signed int, is implementation-defined behavior and wouldn't work the way you're expecting it to on all compilers. Thankfully this became defined behavior in C++20 which is the standard we target, so we can handle it this way and simplify the code. Well done, thanks again.

Oooh I see what the problem in my dec_position is, it's from pre-1.14, back when the position bitfield layout was different. Might want to look into generating that from minecraft-data instead of hand coding it...

This should all be fixed now, closing in favor of https://github.com/SpockBotMC/RikerBot/commit/92ce1b39f1cadf182ea1456af5f93a6458bbc049
Thank you Ólafur!

thats why I check if section exists before, nothing happens if it does notSent from my Galaxy
-------- Original message --------From: Vito Gamberini<EMAIL_ADDRESS>Date: 11/30/20  05:23  (GMT+00:00) To: SpockBotMC/RikerBot<EMAIL_ADDRESS>Cc: Olafur Jon Bjornsson<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [SpockBotMC/RikerBot] Handle block change (#15)
@nickelpro requested changes on this pull request.
In src/smpmap.cpp:

@@ -135,6 +135,19 @@ void SMPMap::update(const mcd::ClientboundMultiBlockChange& packet) {
packet.chunkCoordinates.y, packet.records);
}

+void SMPMap::update(const mcd::ClientboundBlockChange& packet) {

std::unique_lock lock(mutex);
if (chunks[{packet.location.x >> 4, packet.location.z >> 4}].sections[packet.location.y >> 4])

What happens if this is getting placed into a chunk section that hasn't been created yet? It's good to check, but the chunk section needs to be .emplaced() if it doesn't already exist. Ideally this should happen inside the relevant ChunkColumn, not SMPMap.
In src/smpmap.cpp:

@@ -135,6 +135,19 @@ void SMPMap::update(const mcd::ClientboundMultiBlockChange& packet) {
packet.chunkCoordinates.y, packet.records);
}

+void SMPMap::update(const mcd::ClientboundBlockChange& packet) {

std::unique_lock lock(mutex);
if (chunks[{packet.location.x >> 4, packet.location.z >> 4}].sections[packet.location.y >> 4])
{
std::vectorstd::int64_t records;
std::int64_t block=packet.type << 12 | ((packet.location.x & 0xf) << 8 | (packet.location.y & 0xf) << 4 | (packet.location.z & 0xf));
records.push_back(block);
chunks[{packet.location.x >> 4, packet.location.z >> 4}].update(

Just create a new update method for single block updates, don't hijack the machinery for multi block updates. Building this vector isn't necessary
In src/smpmap.cpp:

@@ -88,9 +88,9 @@ void ChunkColumn::update(std::uint8_t sec_coord,
const std::vectorstd::int64_t& records) {
auto& section = sections[sec_coord];
for(auto el : records) {

std::uint8_t y = el&0xF;
std::uint8_t z = (el>>=4)&0xF;
std::uint8_t x = (el>>=4)&0xF;

std::int64_t z = el&0xF;
std::int64_t y = (el>>=4)&0xF;
std::int64_t x = (el>>=4)&0xF;

Were these broken? The max value of chunk relative coordinates is 255
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

stil a little shy to change the code to much, but you are right new method is much cleaner :-)


Community maintainer needed for this plugin

We would love some help maintaining this plugin. Please comment here if you have experience with this plugin and would like to help review/merge existing PRs and triage issues. Thanks!
What are community maintainers? See here.

I'm interested in being a maintainer for this plugin

Thanks @vinnyoodles will send you an email tomorrow to follow-up. :)


Feature request - chat stream

There is a method for streaming content generation But not for chat.
It would be good to have the streaming method for chat generation.

I saw the code on the commit. When will it be applied?


Add tvOS support

Thank you for this amazing framework. 👍
A great feature will be ability to use it in tvOS apps.

Hey thanks for this. I'm heading away from my laptop for a week, but will take a look as soon as I'm back :)

Sounds good. :)

Hey, looks good but I think this breaks the podfile? The sources have been moved into a new directory. If you could update the podfile I'm happy to merge.

Hey @adamwaite, I have update .podspec file to reflect new paths. Also change tvOS deplayment target to 9.0 to reflect target from .podspec file.

Thanks man, good work.


MxGraph XML,  load XML correctly when cells have childs, ports and columns?

My interface I use tables as vertex (like schema example) and they have columns as child vertex, ports and overlays. When I use the basic code example for export XML (given in the mxCodec documentation), the cells don't render correctly, the tables (swimlanes) are displayed without anything append to them. Can someone help me with this?

Please post programming questions to https://stackoverflow.com/questions/tagged/mxgraph


config: minor cleanup

link to official SemVer page
link between config.md and config-linux.md and explain relationship
fix typo (arch -> os)
tweak formatting of some special characters

LGTM

LGTM


Add helpful command aliases

Summary
I was recently working with nusex and i was looking at profiles. I wanted to know what profiles, if any, I had up until now. My first thought was to use nusex profile --list or nusex profile ls but these obviously these did not work.
After running nusex --help I realized I could get the information I wanted via nusex list.
Problem
My first instinct was to use a command that does not exist, meaning maybe this is a great place for an alias to help new users get started with nusex.
Parts of nusex that will benefit

[X] CLI
[ ] API

Ideal implementation
Implement helpful command aliases for subcommands. This could also be applied to the nusex template subcommand I think. Maybe others if we give it some thought.
Maybe I could look at contributing this if you like the idea.
Additional information
No response
Contribution

[X] I wish to contribute this feature.

Checklist

[X] I have searched the issue tracker for duplicate issues and couldn't find any. If this is a follow-up issue, I have specified as such.

This would actually be pretty cool! I'm not 100% sure how you'd trigger the other command -- perhaps importing the CLI commands into eachother would work?
Either way, if you wanna give this a shot, go for it.

Cool, I'll take a look this weekend.


Nothing Happens

This is completely broken. When I open the bat it says "C:\Users\Dj674\Documents\steam-vr-wheel-2.5.4a\steam_vr_wheel_dist>python.exe open-vr-wheel.py" I got it to work almost at one point. Was able to open it MULTIPLE times (not sure how not sure what I did) but then couldnt get it working in game and had to restart my pc. now its broken again. which makes no sense nothing is different so if it worked before it should work now and no build works NONE of them the only one that did work for a short time was 2.5.4

I have the same issue, There is no logs debug mode gives nothing. Badly developed debug mode if zero output is a possibility lmao


GH-2387: Fix FallbackBatchErrorHandler Events

Resolves https://github.com/spring-projects/spring-kafka/issues/2387
Events were not published for ConcurrentMessageListenerContainers.
Also resolves a class tangle in https://github.com/spring-projects/spring-kafka/issues/2417 between ErrorHandlingUtils and KMLC.
cherry-pick to 2.9.x, 2.8.x

... and cherry-picked to 2.9.x & 2.8.x after fixing conflicts in tests.


external + optional interactions are not clear, should go into derive tutorial

Reference: https://github.com/pacak/bpaf/discussions/324#discussioncomment-7880879


Is a drop_in_place needed?

There is nothing wrong with types that contain dynamic allocations being InitializableFromZeroed, right?  If I understand, there is nothing in Clear::clear https://github.com/cesarb/clear_on_drop/blob/master/src/clear.rs#L61 that calls <Self as Drop>::drop(self) currently, right?
Is the issue that dropping does not propagate clear quite right?  If say, I wanted to clear a type containing allocations then I should do something like :
struct MyType {
    foo: usize,
    xs: Vec<X>,
    ys: Box<[Y]>
}

impl Clear for MyType {
    clear(&mut mt) {
        self.foo = 0;
        self.xs.clear();
        self.ys.clear();
    }
}

If MyType were an enum then they'd need to call  ptr::write_bytes(mt as *mut u8, 0, size_of(MyType)); themselves even.

I'll close this because I suppose drop calling clear and clear calling drop can produce necessary zeroing regardless.  :)

Actually, yes, a drop_in_place was supposed to be there. It was there while I was experimenting with the write_bytes, but got lost when I decided to start from scratch with a Clear trait.
It won't matter in practice, since IMO almost all use cases will end up with T either being Copy, or not being Copy just to avoid accidental copies, or not being Copy just because it has an array of more than 32 elements somewhere. Also, the consequence is "only" a leak. But it doesn't hurt.


build: bump browsers package

+ regenerated the lock file to avoid vulnerable packages.

Force pushing because it has already passed.


Fix prepend.

Adds elements in the correct order no matter which arguments are passed in, for example:
$( 'div' ).prepend( '
1st paragraph

2nd paragraph
', '
3rd paragraph
', '
4th paragraph

5th paragraph
' );

@aleph1 Sorry I'm only now having the time to take a look at this PR.
I have a few  requests:

While we are at it, could we make sure that prepend, prependTo, append, appendTo, before, insertBefore, after and insertAfter all insert multiple elements in the correct order?
Could you add test cases?
Could you benchmark a bit how reversing those objects impact performance? I think that might be a bit of a problem, we might have to optimize for the common case (if there's only 1 item in the collection there's no need to reverse anything) and/or resort to looping instead. Especially mutating the arguments object I think may not give us great performance 🤔.

I'd like to get this sorted soon, if you prefer I could also do this myself, if you want to contribute even "just" having test cases for all those methods would be hugely beneficial, then I could make sure that those tests are passing in a performant way if you don't currently have the time to take care of that..

@fabiospampinato all of the aforementioned sound good, but I might not get to it until next week. I don't have a workflow setup for compiling from TypeScript. I did look at modifying the insertElement function to be where reversing is done, and to implement a check to see if there is more than one element. However, the other approach that might be more performative and about as much code is adding a reverse iterator.
I am quite sure the only functions that insert in the wrong order are prepend, and prependTo, as the others are always front to back. It will still be worth looking at the test though.

I'm closing this as those methods have been completely rewritten and I'll tackle the issue this PR is supposed to solve tomorrow, probably.


Extension weird behaviour

I recently changed my desktop enviroment to GNOME and discovered this extension. Here is my computer.

After booting, if I open spotify the extension looks like this. Bad song name recognition and bad text color (black instead white).

Changing song after booting. Good text recognition but still bad text color.

If I close Spotify and open it again. Extension is gone.

Changing song. Still gone.

After I restart gnome shell, using ALT + F2, write "r" and press enter, everything seems fine.

Another stange behaviour is when I lock my computer. After unlocking it, extension is gone again.

Enabled extensions in my computer

Thanks in advance!

I forgot to mention, that I found a command to restart gnome shell from terminal and achieve the same result
busctl --user call org.gnome.Shell /org/gnome/Shell org.gnome.Shell Eval s 'Meta.restart("Restarting…")' > /dev/null

Fixed it in the latest release. Sorry for the inconvenience.


Update flexible-server overview.md with links

Add links for other docs overview pages of Azure PostgreSQL services.

#label:"aq-pr-triaged"


SOCManager doesn't work inside sheet

If I tried to present a card using the SOCManager from a Sheet, it doesn't work.
Sample Code:
struct ContentView: View {

    @State private var isShowingCard: Bool = false
    @State private var isShowingSheet: Bool = false

    var body: some View {

        NavigationView {
            VStack {
                Button("Show Sheet") {
                    isShowingSheet.toggle()
                }
            }
            .navigationTitle("Card Test")
            .sheet(isPresented: $isShowingSheet, content: {
                Button("Show Card") {
                    SOCManager.present(isPresented: $isShowingCard) {
                        ZStack {
                            Text("Card")
                        }
                    }
                }
            })
        }
    }
}

Error message in terminal:
2021-06-02 14:54:58.677044+0300 CardTest[53318:3531446] [Presentation] Attempt to present <TtGC7SwiftUI19UIHostingControllerGV13SlideOverCard13SlideOverCardGVS_6ZStackVS_4Text__: 0x7faab5d29920> on <TtGC7SwiftUI19UIHostingControllerGVS_15ModifiedContentVS_7AnyViewVS_12RootModifier_: 0x7faab5f05810> (from <TtGC7SwiftUI19UIHostingControllerGVS_15ModifiedContentVS_7AnyViewVS_12RootModifier_: 0x7faab5f05810>) which is already presenting <TtGC7SwiftUI29PresentationHostingControllerVS_7AnyView: 0x7faab5d12080>.

same for modal presentation

https://github.com/joogps/SlideOverCard/blob/791197c26a0fea83fcf31b1e9fb9a324db7a4b0b/Sources/SlideOverCard/Manager.swift#L22
this is not correct, when you have modal sheet presented already you will pick wrong VC to present agains. You need to iterate over all children to find top most view controller. Something like https://stackoverflow.com/questions/6131205/how-to-find-topmost-view-controller-on-ios

https://github.com/joogps/SlideOverCard/blob/791197c26a0fea83fcf31b1e9fb9a324db7a4b0b/Sources/SlideOverCard/Manager.swift#L36
this is not correct even if you apply same fix as above because developer might call function without SlideOverCard presented and you will dismiss wrong VC


Allow redirection of the scripts folder with an environment variable.

Like in #4883, make scripts folder more flexible.

It's not clear to me why this feature is necessary. The scripts folder is a core part of vcpkg while the downloads folder is more of a tmp directory. What is the value added for you to be able to redirect the scripts folder?

It's a missing part for my build scenarios, a single instance of vcpkg managing distributed port directories.
See also discussion in #114.

In #114 you mention that you want a single instance of vcpkg managing many different port directories. From my perspective the scripts folder is a core part of vcpkg. Is the idea just that the vcpkg binary wouldn't have to live in the same directory as the scripts folder?

Yes, although the dependencies of vcpkg are very low in terms of data sizes, they exist. As you named, the script folder is such a dependency. My workaround is that the script folder is available (through a link or a copy) in a changed vcpkg environment (-vcpkg-root). And this PR would integrate it into vcpkg with no downsides to the average vcpkg user.
The long-term vision/goal would be more towards a solution like npm in nodejs or pip in python environments.

/azp run

@martin-s
I'm not convinced about using an environment variable for this.
I propose changing the implementation to use a command line argument.
See #7053 and #6981 for how to process global command line arguments.

I'm not convinced about using an environment variable for this.

Either am I. Unfortunately, there hasn't been any alignment on this topic, see #4883.

To make it more generic, we could also the .vcpkg-root file to overwrite the folder paths. If nothing is written to the file, it should take the standard paths, otherwise use the overwritten paths from the file.

Hi @martin-s
I made a change to use the --scripts-root=<PATH> format, which is the preferred way to provide argument values in vcpkg going forward (there's an open PR that will change this for --triplet and --vcpkg-root).

@martin-s
Thanks for the PR!


Swift 4 and Cocoapods support

Hi @serhii-londar,
Sorry for not merging your pull-request and my lack of response over the time.
I decided to recreate BinaryKit with a new API, as the previous version was kinda old and sometimes not helpful (crashing the whole app instead of throwing an error..).
Because Xcode 11 now provides a built-in way to add dependencies, BinaryKit is now exclusively available via SwiftPM.


Open Suggestion List above TextInput

Is there a way to open the suggestion list on the top of the input box?
This works if the input box is on the top but for the input boxes near the bottom, the list gets hidden behind the keyboard.
Best case scenario would be to detect the position of the input or maybe available space and then open the suggestion list accordingly.
Thanks.

+1

Hello,
have you tried "re-ordering JSX" ?
I faced something similiar, this helped me:
https://github.com/facebook/react-native/issues/1076
In a short, 'column-reverse' your parent View, then re order sibling (turn them upside down)


Thread 1: exception; unexpectedly found nil while unwrapping an Optional value (lldb)

I'm getting a wrapping error here. I don't think this is an issue however I'm not sure how to safely wrap the frame. Any suggestions?
   let frame = CGRectMake(10, 20, 300, 150)
   let pickerView = AKPickerView(frame : frame)
   //breaks here
    self.pickerView.delegate = self
    self.pickerView.dataSource = self

Closing this, ended up bridging objective-c AKPickerView


Update to MC 1.12.1

Based on http://wiki.vg/index.php?title=Pre-release_protocol&oldid=13287

Thanks a bunch. Made a 1.12 release and merged.


New account has no default role.

The requirement states that new account by default will have visitor role, please fix this behavior.

Step to reproduce:

build the project using "dotnet build".
Run the project using "dotnet run --project Backend --environment Development" in the cmd.
Access the swagger page by using any browser and navigate to "http://localhost:5257/swagger".
Goes to Account section, clicks on the "api/ccount/signup" dropdown.
Press "Try it out" button to activate the Request Body input field.
Paste the following, replace the "[ ]" part with real values.
{
"username": "[your username]",
"password": "[your password]",
"email": "[your email address]"
}
Press "Execute".

Expected behavior:
Newly created account will has visitor role by default.
Actual behavior:
Created account has no role by default.

Fixed in the newest commit. Now using the signup endpoint will create a new user account with default role of Visitor.


[DNM] Test window optimization in Velox

What changes were proposed in this pull request?
https://github.com/facebookincubator/velox/pull/9025
How was this patch tested?
Existing tests

@zhztheplayer The CI is passed. Please help to pick this commit into oap velox in next round rebase. Thanks.

Committed Velox change in https://github.com/oap-project/velox/tree/2024_04_09


Error running demo locally

I just cloned the repo and did an npm install (and yarn install), but there are some errors during the lifecycle events.
ERROR in react-skroll.min.js from UglifyJs
SyntaxError: Unexpected token: name (AnimatedImplementation) [./~/react-native-web/dist/exports/Animated/index.js:10,0]

This is printed when webpack is running.

If I try to run the the demo, then I get a blank screen with this console error:
Uncaught TypeError: Cannot read property 'instanceOf' of undefined
    at eval (index.js:161)
    at Object.<anonymous> (bundle.js:1130)
    at __webpack_require__ (bundle.js:566)
    at fn (bundle.js:97)
    at Object.eval (Demo.jsx:7)
    at eval (Demo.jsx:203)
    at Object.<anonymous> (bundle.js:1226)
    at __webpack_require__ (bundle.js:566)
    at fn (bundle.js:97)
    at eval (index.jsx:11)

Any feedback will be very appreciated!
Thanks!

@arturmiglio Thanks for spotting it. Demo was very outdated, I've pushed a new version let me know if it worked for you. :)


Include new status for SelectBox items

Preview
status: 'deleted'

Timer included
The "deleted" message will hide automatically after 2.5s.

Updated base branch to release-aug-20-26


UnknownNextPeer error on payinvoice

I'm consistently getting this error when trying to send payment from one of my nodes to another, I've restarted both nodes and created lots of invoices to try but the error persists.
Whenever I try to pay a simple invoice I get unable to route payment to destination: UnknownNextPeer. There is an active channel between the two nodes with plenty of balance belonging to the sender. Here's some of the relevant output from the sending node:
$ lncli decodepayreq lntb1u1pd9qaztpp5pat93v4kg7z393ggrvd5r0u9tflxum3f7t9zq56scma3e480smqsdq4f35kw6r5de5kueeqgajk6cqzysx9zgpskkh0y0jxnmwzljtuw54h6g3z7jve0l8s5rhff244epjg8r5eqj7nez8f70psjqkyff5fl7n7z9ksrgjrgsv9k4sm5h2s26cqcqularhs
{
    "destination": "023c1fc1ef2d9a555693cf0fdc39b66d934dfc07bc0b1ee050fd3f4aeb773b9438",
    "payment_hash": "0f5658b2b6478512c5081b1b41bf855a7e6e6e29f2ca205350c6fb1cd4ef86c1",
    "num_satoshis": "100",
    "timestamp": "1515222091",
    "expiry": "3600",
    "description": "Lightning Gem",
    "description_hash": "",
    "fallback_addr": "",
    "cltv_expiry": "144"
}

Here's the active channel (I trimmed the other channels from the listchannels output):
$ lncli listchannels
        {
            "active": true,
            "remote_pubkey": "023c1fc1ef2d9a555693cf0fdc39b66d934dfc07bc0b1ee050fd3f4aeb773b9438",
            "channel_point": "6aa0bada9d2fce57f61d7d93bb4b8fc5189c03e722c963d5aadd52968852f934:0",
            "chan_id": "1381799143597932544",
            "capacity": "1000000",
            "local_balance": "995436",
            "remote_balance": "220",
            "commit_fee": "4564",
            "commit_weight": "600",
            "fee_per_kw": "6000",
            "unsettled_balance": "0",
            "total_satoshis_sent": "220",
            "total_satoshis_received": "0",
            "num_updates": "4",
            "pending_htlcs": [
            ],
            "csv_delay": 4
        }

And here's the error:
$ lncli payinvoice lntb1u1pd9qaztpp5pat93v4kg7z393ggrvd5r0u9tflxum3f7t9zq56scma3e480smqsdq4f35kw6r5de5kueeqgajk6cqzysx9zgpskkh0y0jxnmwzljtuw54h6g3z7jve0l8s5rhff244epjg8r5eqj7nez8f70psjqkyff5fl7n7z9ksrgjrgsv9k4sm5h2s26cqcqularhs
{
        "payment_error": "unable to route payment to destination: UnknownNextPeer",
        "payment_preimage": "",
        "payment_route": null
}

This issue on y environment even with txindex=1 in btcd.conf file.
Problems occurs when I have more than single channel opened. Tried to pay for coffee on starblocks. With single channel opened, it succeeded, but when I opened more channels, I have errors like "unable to route payment to destination: UnknownNextPeer" and "unable to find a path to destination" later on.

To re-iterate: unknown next peer _is not a critical error. It is simply a routing error that can be returned by any peer in the route. It happens in the case that the next peer in the route isn't online. The conditions on testnet are highly dynamic, it possible that a payment works on time, but doesn't the next time around. People restart nodes constantly, as high uptime isn't of value as we're slinging around fake money.

@asocjal Just make a debug dump (maybe use pastebin) of all logs from right before you attempt the payment to after the error is returned :)

Closing for now due to lack of updates. Also a nasty bug was fixed a few months ago where if you had a pending channel, then reconnected, the first payment was guaranteed to either hang, or return unknown peer (as the switch's forwarding index hadn't yet been properly updated).

Sorry to open an older thread, but I have the exact same thing. I am trying to pay an invoice on the Mainnet, with Autopilot switched off.  txindex=1 is in my conf file.
I get:
admin ~ ฿ lncli payinvoice lnbc1500n1pd0gnrhpp5fvwna92w4rrhcnd2yct4wj5s5wstp8st4ha65lscvcd03vzu2dgsdz22fjkzep6yppx2emfdehx2uhzszvhxgz8w45kgefqw3hjpmac3l3f4g2vd9nksarwd9hx0mac3ucqzyswe7y9c0d2mpkpuc6zyyr7724e3xjcygz3j3wyvzx3a3gps8853j9z9v2ultqzajf7ffej6usyzsq8v2uexln3skzy3nmy7yd5t0wgzqpmpc23w
{
"payment_error": "unable to route payment to destination: UnknownNextPeer",
"payment_preimage": "",
"payment_route": null
}
I have 4 funded and active channels:
admin ~ ฿ lncli listchannels
{
"channels": [
{
"active": true,
"remote_pubkey": "02040d058e0504c7d4b1fe2fef510396f33bdabfe36450bbb6c7ea0d567d53a15f",
"channel_point": "ceb83b67957635e7909552ec02d10278335e4a12e40d375ce2016cefcb03ab28:1",
"chan_id": "574003343897001985",
"capacity": "25000",
"local_balance": "24095",
"remote_balance": "0",
"commit_fee": "905",
"commit_weight": "600",
"fee_per_kw": "1250",
"unsettled_balance": "0",
"total_satoshis_sent": "0",
"total_satoshis_received": "0",
"num_updates": "20",
"pending_htlcs": [
],
"csv_delay": 144,
"private": false
},
{
"active": true,
"remote_pubkey": "02a456b816697c6b8407ee2176475d74b790a96143bc30e896e8bf7a8852a8b637",
"channel_point": "81caa1086ed05e3c97c0fe6556dcb609416670f43ea69a935f1d79f6b697fbf6:0",
"chan_id": "574029732201889792",
"capacity": "100000",
"local_balance": "0",
"remote_balance": "99459",
"commit_fee": "541",
"commit_weight": "552",
"fee_per_kw": "748",
"unsettled_balance": "0",
"total_satoshis_sent": "0",
"total_satoshis_received": "0",
"num_updates": "0",
"pending_htlcs": [
],
"csv_delay": 144,
"private": false
},
{
"active": true,
"remote_pubkey": "02b90365acebc10a9ff6a4deec63c638e553ea50e6138c638795e1699c09bc283f",
"channel_point": "62a4eb98982fc5d76d2a5ab6239563fa65ef589c647b471d68428b79eeffe396:0",
"chan_id": "574013239477272576",
"capacity": "25000",
"local_balance": "24095",
"remote_balance": "0",
"commit_fee": "905",
"commit_weight": "600",
"fee_per_kw": "1250",
"unsettled_balance": "0",
"total_satoshis_sent": "0",
"total_satoshis_received": "0",
"num_updates": "1",
"pending_htlcs": [
],
"csv_delay": 144,
"private": false
},
{
"active": true,
"remote_pubkey": "02e9fa6b495d07ce19796b06b5c0f51a401dbb48935c3aafe54067c89299add0ed",
"channel_point": "6f1bf11c6e9816c5e3513d35647ed26266fff309e35ac7100c16be774f5c2fbd:1",
"chan_id": "574020936042545153",
"capacity": "20000",
"local_balance": "19095",
"remote_balance": "0",
"commit_fee": "905",
"commit_weight": "600",
"fee_per_kw": "1250",
"unsettled_balance": "0",
"total_satoshis_sent": "0",
"total_satoshis_received": "0",
"num_updates": "0",
"pending_htlcs": [
],
"csv_delay": 144,
"private": false
}
]
}
This is the invoice I am trying to pay:
admin ~ ฿ lncli decodepayreq lnbc1500n1pd0gnrhpp5fvwna92w4rrhcnd2yct4wj5s5wstp8st4ha65lscvcd03vzu2dgsdz22fjkzep6yppx2emfdehx2uhzszvhxgz8w45kgefqw3hjpmac3l3f4g2vd9nksarwd9hx0mac3ucqzyswe7y9c0d2mpkpuc6zyyr7724e3xjcygz3j3wyvzx3a3gps8853j9z9v2ultqzajf7ffej6usyzsq8v2uexln3skzy3nmy7yd5t0wgzqpmpc23w
{
"destination": "03e50492eab4107a773141bb419e107bda3de3d55652e6e1a41225f06a0bbf2d56",
"payment_hash": "4b1d3e954ea8c77c4daa2617574a90a3a0b09e0badfbaa7e18661af8b05c5351",
"num_satoshis": "150",
"timestamp": "1525959799",
"expiry": "3600",
"description": "Read: Beginner’s Guide to ⚡Lightning",
"description_hash": "",
"fallback_addr": "",
"cltv_expiry": "144"
}
What can be wrong here?

This isn't an implementation issue, rather it's a network level error. This is only the last error returned. For example, if the node you're trying to pay isn't online, then you'll get this error. It just means that in one of the routes (usually the last one) that we attempted, one of the peers wasn't online so we weren't able to proceed. I'd also recommend you run master as there've been several bugs fixed, and they'll be packaged in a new point release soon.

Well, the node I'm trying to pay is Yalls. It is online, and it is a direct peer of me (but I do not have a direct channel with it). Surely with 4 channels I should be able to send to it, right? Is there any log file I can examine/share?

Are you on IRC or the slack? Would likely be easier to give debug info there, as so far there doesn't seem to be an underlying issue.


Update README.md

Closes #2.
Updated Quick Start, Features and Technologies Used in README

Please follow the naming convention for branches.

Please follow the naming convention for branches.
You can make a new Branch and pull this branch code to that and then make a PR.


phagcn_prediction.csv not created in midfolder

Hello,
I have a confusing error where the program seems to run fine but it produces an error that says "FileNotFoundError: [Errno 2] No such file or directory: '/midfolder//phagcn_prediction.csv'. All of the CSV files seem to be generated okay in the out folder, even tho phatyp_prediction.csv produces a file that lists a phage in a contig that has a score of 0 in the phagcn_prediction.csv file

Hi there,
Since It is the first time I have seen this problem. Maybe you can try to run it again? Or if the data is not too large, maybe you can send it to me via email.
Also, you can check whether is a disk usage problem
Best,
Jiayu

Okay, I will send an email

Hi there,
The PhaBOX is upgraded to a 2.0 version with more powerful usage. Besides, it can handle all kinds of viruses now. Feel free to check!
Best,
Jiayu


Sprint 6 - Build/Test/Revise

Team:

Finish the CAD of the second intake iteration
Finish the CAD of the outtake
Mount intake and outtake

Ella:

Begin and finish programming and testing the intake for the yellow sample Autonomous route
Begin and finish programming and testing the intake for the specimen alliance specific Autonomous route
Finish writing the autonomous and business sections of my presentation script
Begin and finish editing the autonomous section of the Engineering Portfolio

Wednesday, December 11, 2024 (Wednesday’s 15 Minute Stand Up Meeting)

Team discussed the new measurements required for our intake

a) what was worked on
Ella

Begin and finish editing the autonomous section of the Engineering Portfolio

b) what will be worked on
Ella:

Begin and finish programming and testing the intake for the yellow sample Autonomous route
Begin and finish programming and testing the intake for the specimen alliance specific Autonomous route
Finish writing the autonomous and business sections of my presentation script

Team:

Finish the CAD of the second intake iteration
Finish the CAD of the outtake
Mount intake and outtake

Friday, December 13, 2024 (Friday’s 15 Minute Stand Up Meeting)

I was away due to illness so I missed today’s 15 Minute Stand Up Meering

a) what was worked on
Ella
b) what will be worked on
Ella:

Begin and finish programming and testing the intake for the yellow sample Autonomous route
Begin and finish programming and testing the intake for the specimen alliance specific Autonomous route
Finish writing the autonomous and business sections of my presentation script

Team:

Mount intake and outtake to the robot


Add kNN-MT

This is the refactored implementation from the MTMA-2022 kNN-based Retrieval Module for Sockeye project. It re-implements the models as in Khandelwal et al. 2021.
Pull Request Checklist

[x] Changes are complete (if posting work-in-progress code, prefix your pull request title with '[WIP]'
until you can check this box.
[x] Unit tests pass (pytest)
[x] Were system tests modified? If so did you run these at least 5 times to account for the variation across runs?
[x] System tests pass (pytest test/system)
[x] Passed code style checking (./style-check.sh)
[x] You have considered writing a test
[x] Updated major/minor version in sockeye/__init__.py. Major version bump if this is a backwards incompatible change.
[x] Updated CHANGELOG.md

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thanks @mjdenkowski and @fhieber for the initial comments!
re: Installation -- Great idea! I'll update the code to reflect that.
re: Naming -- Maybe let's do "store"? This establishes some connection with the original paper's notion of "create a datastore" (but IMO "datastore" is too vague of a concept for people who are not familiar with that paper).
re: Testing -- I'll look into this and add some tests to the PR.

re: Naming -- Maybe let's do "store"? This establishes some connection with the original paper's notion of "create a datastore" (but IMO "datastore" is too vague of a concept for people who are not familiar with that paper).

Following the original paper for clarity is a good idea. The paper refers to "a high-dimensional representation of the entire translation context computed by the MT decoder" and states that "the representations are generated by a single forward pass over each example".
How about using python3 -m sockeye.generate_decoder_states --output-prefix [output prefix] and class DecoderStateGenerator?

Hi All,
I have added some unit tests and addressed comments from the previous round. This should be ready for another round of reviews.
Both unit tests and style check should pass out-of-the-box, but without faiss, all the faiss-related tests will be skipped, so @mjdenkowski or @fhieber you may want to update the Github workflow to run those tests.
Shuoyang

Thanks @shuoyangd, I'll take a look in the next days.
I think you can actually change the workflow yourself by modifying the yml file in your branch:
You could add the following to https://github.com/awslabs/sockeye/blob/main/.github/workflows/push_pr.yml#L35:
- name : Install FAISS
  run: pip install  faiss

(or even create a faiss requirements file in your branch).

I updated push_pr.yaml following the deepspeed example, together with a few more type annotations to pass mypy tests for python 3.7.

Hmmm, it seems like faiss only works on macOS with conda install -c pytorch faiss-cpu but not with pip. The official document also recommends installing with conda instead of pip.
Is this something we can do for the macos test?

Disabling faiss-related tests on OS X is easier, but after a little digging I also found this action that should set up miniconda.

Hi All,
I updated the Github workflow and addressed Michael's latest comments in the latest two commits. Looks like workflow checks are all passing now! This is probably a good time to take another look and let me know if there are more comments on the code.
Shuoyang

Sorry, thought the 120-line margin is a soft one (quite a few existing lines go beyond that). Just updated again.


Add extended typing through janus_types module

Quick rough-and-ready types module

Need to consider if trying to suggest arguments for ASE routines is sensible.

@oerc0122 except the need to settle the issue above I think we are fine with this one, will need rebased to be sure we do not have anything failing in ci.

@oerc0122 except the need to settle the issue above I think we are fine with this one, will need rebased to be sure we do not have anything failing in ci.

Already done


Add support for Secret Management

This implements the endpoints for the Secret Management API - https://nexmo-developer-staging-pr-579.herokuapp.com/api/account/secret-management
It's the first API that follows RFC7807 for errors (plus our invalid_parameters extension for validation errors). To help with this, I've added ApiErrorHandler::check which throws formatted exceptions on error.
I've tested 2xx, 4xx and 5xx errors for all of the endpoints, plus an additional test for validation on createSecret.
This PR adds two classes, Secret and SecretCollection for wrapping the API responses. They each have object access and arrayAccess functionality

We can ignore codeclimate for now

We need to rename accountId to apiKey before merging

accountId renamed to apiKey. This is good to merge + tag a release

Did you remove my code examples from the README file intentionally? I went to check the code samples one more time and they're no longer present.

Ah no, that was a mistake. I must've missed with-lease when I pushed.

Ah the dangers of recreational rebasing on shared branches! I can pull it from my reflog, no worries

Do you want a 1.4.1 or a 1.5.0 since we added new API support here?


Revise permissions per SREP-1008

remove user.openshift.io from dedicated-cluster-admin
remove authorization.openshift.io from dedicated-cluster-admin (use “rbac.authorization.k8s.io”)
move rbac.authorization.k8s.io / rolebindings to dedicated-project-admin
remove oauth.openshift.io from dedicated-cluster-admin
remove minions from dedicated-cluster-admin
move events, pods to dedicated-project-admin
move image.openshift.io to dedicated-project-admin
move network.openshift.io to dedicated-project-admin
add Watch to network.openshift.io / clusternetworks
move build.openshift.io to dedicated-project-admin
remove dedicated-reader
added rolebinding in each namespace for 'dedicated-admins' group to 'admin' clusterrole

/lgtm


Support Direction.Up

Enable swiping Up as a Direction

Hi Alex! i have added this functionality,working on final touches

Hi Alex! i have added this functionality,working on final touches

The repo is not currently in a stage where it can accept external contributions other than bug fixes. Until the API is stable (1.0.0 release) Im happy with new issues with feedback, suggestions and bug fixes instead.

This was introduced in 0.1.0. Closing this as done


Completely do away with the doNotAskForLocationPermission global state

We have a global state in our app with the key doNotAskForLocationPermission. It seems to be complicate understanding of the code flow more difficult than it should be. We need to explore ways to completely remove the same and handle it in other ways that are more maintainable.
The following is the PR comment that led to the creation of this issue: https://github.com/commons-app/apps-android-commons/pull/5494#discussion_r1518566915
That PR seems to already reduce our dependence on the doNotAskForLocationPermission global state to some extent. This issue is about refactoring the code such that we no longer need it at all. Feel free to propose solutions that could help us achieve this.

@sivaraam I would like to work on this issue and propose a solution as soon as the PR linked in the comment gets merged :)

@ShashwatKedia  I unassign for now, but if you are you still working on this, please let us know. If no answer, someone else may be assigned to it. Thanks a lot. :-)


Unable to add both read and write permissions on Console role creation

Describe the issue:

Go to Console Settings -> Roles
Create a role by giving a name and selecting an API
From the selected API select the "Write" button
It will add Create, update, and delete permissions. "Read" permission is not added
We can't select both Read and Write for given API as well

https://github.com/wso2/product-is/assets/25483865/68bf7f2c-3cb4-4ea7-b185-45fec847fd5c
Expected behavior:

[ ] Rename Read -> View and Write -> Edit

[ ] If user selects the Edit, "read", "create", "update" and "delete" permissions should be selected

Decided to rename the terms based on an offline discussion:

read -> View
write -> Edit


Fixes the Visual Studio Code for Mac download link

Hi @aspnetde, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

Thanks! 63bd9c7362b7b60de5a10503749f786084b209ad


Output for "overheat" protection.

The original W1209 firmware has a configurable overheat protection that shuts off the relay when the temp rises above a set value. I'd like to create a similar feature that, rather than shutting off the relay, signals an external MCU when the set temp is reached. The easiest would be to toggle a GPIO low/high, however it doesn't appear there are any GPIO's available. So I was wondering if a command could be sent over serial instead? Any input appreciated, thanks!

Sean,
Yes it is definitely possible. Thomas helped me set up the Forth code to send the present temperature, a serial counter and a CRC on the serial port every 2.5 seconds or so.
Thanks,
Paul

On Aug 26, 2019, at 11:03, Sean B<EMAIL_ADDRESS>wrote:
The original W1209 firmware has a configurable overheat protection that shuts off the relay when the temp rises above a set value. I'd like to create a similar feature that, rather than shutting off the relay, signals an external MCU when the set temp is reached. The easiest would be to toggle a GPIO low/high, however it doesn't appear there are any GPIO's available. So I was wondering if a command could be sent over serial instead? Any input appreciated, thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/TG9541/W1209/issues/24?email_source=notifications&email_token=ABH5XSTGU5W3DYKL2J43QSDQGPWDLA5CNFSM4IPQUBK2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHM3SGA, or mute the thread https://github.com/notifications/unsubscribe-auth/ABH5XSXPA7OBLOLXHJGSRNLQGPWDLANCNFSM4IPQUBKQ.

@Sean541 sorry for not responding in a timely manner.
As @paulcrawford kindly pointed out such a feature is easy to implement (e.g. as a new module in the processing chain or as a new feature of control.fs. It might also be interesting to use a different board for such an application, e.g. the C0135. The only thing you'd be missing is a display, but I'm quite sure that one can hack a W1209 to serve as a display.


Double names should be used in expectation failures

    example do
      foo = double("Foo")
      bar = double("Bar")

      expect([foo]).to include(bar)
    end

Fails with:
     Failure/Error: expect([foo]).to include(bar)
       expected [#<RSpec::Mocks::Double:0x84433530 @name="Foo">] to include #<RSpec::Mocks::Double:0x844333c8 @name="Bar">
       Diff:
       @@ -1,2 +1,2 @@
       -[#<RSpec::Mocks::Double:0x844333c8 @name="Bar">]
       +[#<RSpec::Mocks::Double:0x84433530 @name="Foo">]

...which is pretty ugly.  This would be so much nicer:
     Failure/Error: expect([foo]).to include(bar)
       expected [(Double "Foo")] to include (Double "Bar")
       Diff:
       @@ -1,2 +1,2 @@
       -[(Double "Bar")]
       +[(Double "Foo")]

Care will have to be taken to maintain the independence of rspec-mocks and rspec-expectations. I suspect that this may need changes in rspec-support to support this. (Or perhaps some if defined?(RSpec::Mocks) checks).

@myronmarston I think we can achieve this if we modify inspect method on lib/rspec/mocks/test_double.rb as Double (#{@name}). Please check https://github.com/sivagollapalli/rspec-mocks/commit/42414afc092ed765570c457972f913a2ae460cf6. If it is fine I will send a PR .

I think that's a reasonable solution, although I noticed that the existing inspect and to_s definitions are obviously intentional, to the point of having a spec for it:
https://github.com/rspec/rspec-mocks/blob/v3.2.0/lib/rspec/mocks/test_double.rb#L41-L48
https://github.com/rspec/rspec-mocks/blob/v3.2.0/spec/rspec/mocks/double_spec.rb#L20-L23
That predates my involvement with RSpec, and I'm not sure the reason that was chosen for inspect rather than something like "Double (#{@name})" like you suggest.
@dchelimsky, do you know why RSpec::Mocks::Double#inspect was chosen to be that way in RSpec 1?

@myronmarston Shall I make a PR to rspec-mocks with above change?

Sorry for the delay, @sivagollapalli.  Changing Double#inspect may have undesirable side effects.  We're moving in the direction of centralizing object inspection for the purpose of failure output in rspec-support (see rspec/rspec-support#184), so maybe you can work with @gavingmiller to get support for doubles added to the new RSpec::Support::ObjectInspector?

@myronmarston I made a PR(https://github.com/rspec/rspec-support/pull/190) with the change as discussed above. Please check

I don't remember the motivation, and looking back that example was in place when we split the repos (a64df194cccf5acb9dbdc0b18154d7a1ceebfc37) in 2009, so git history won't help us (the referenced commit doesn't exist in the rspec repo). Sorry I can't help.

So did #190 close this?

No, rspec/rspec-mocks#920 needs to be finished first.

Closing in favor of rspec/rspec-mocks#932.


[Enhancement] Optimize-MaskMergeIterator-read-speed (#5826)

Signed-off-by: xyz<EMAIL_ADDRESS>What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] others

Which issues of this PR fixes ：

Fixes #5826
Problem Summary(Required) ：

The mask_merge_iterator chunk read order is based on the _mask_buffer.
In each time, we will first get the min_chunk from current position of  _mask_buffer. And then check if the next rows(usually 4096) in _mask_buffer are all from the min_chunk. If it is, we swap the min_chunk out. If not, we only append one line from min chunk and then repeat the above procedure. The append operation is very time consuming.
To solve this problem, like what we did in Optimize-HeapMergeIterator-read-speed, i will obtain the max_same_source_count from the _mask_buffer, these continous rows are all from the mim_chunk, and then append them in one batch.
In my test, there are 160 million random data. The vertical base compaction before optimization takes 144 seconds, after optimization it only takes 87 seconds, improve by 1.655x.

Test case
Table:
CREATE TABLE `table1` (
  `key1` int NOT NULL COMMENT "",
  `key2` datetime NOT NULL COMMENT "",
  `key3` tinyint NOT NULL COMMENT "",
  `key4` smallint NOT NULL COMMENT "",
  `key5` tinyint NOT NULL COMMENT "",
  `key6` tinyint NOT NULL COMMENT "",
  `key7` tinyint NOT NULL COMMENT "",
  `key8` tinyint NOT NULL COMMENT "",
  `key9` smallint NULL COMMENT "",
  `key10` varchar(20) NOT NULL DEFAULT "baishan" COMMENT "",
  `key11` datetime NOT NULL COMMENT "",
  `key12` datetime NOT NULL COMMENT "",
  `key13` datetime NOT NULL COMMENT "",
  `value1` bigint SUM NULL COMMENT "",
  `value2` bigint SUM NULL COMMENT "",
  `value3` bigint SUM NULL COMMENT "",
  `value4` bigint SUM NULL DEFAULT "0" COMMENT "",
  `update_time` datetime REPLACE NULL COMMENT ""
) ENGINE=OLAP
AGGREGATE KEY(`key1`, `key2`, `key3`, `key4`, `key5`, `key6`, `key7`, `key8`, `key9`, `key10`, `key11`, `key12`, `key13`)
COMMENT "OLAP"
DISTRIBUTED BY HASH(`key1`) BUCKETS 1
PROPERTIES (
"replication_num" = "1",
"in_memory" = "false",
"storage_format" = "V2"
);

Step1: use python to generate 160 million random data.
Step2: enable cumulative and base compaction, let 160 million data merged into base rowsets.
Step3: Disable cumulative and base compaction, load 60 files, each with around 100000 lines of random data.
Step4: Enable base compaction, monitor the performance of base compaction, which merges 61 rowsets (1 base rowset and 60 incoming rowsets) into a larger base rowset.

Results

Compaction type
Before optimization, duration of base compaction
After optimization, duration of base compaction

Vertical compaction
144s
87s

be_unittest not pass,  i will fix

@wyb PTAL


i LIKE Your video styles may I ask which app you are using to generate it? Thank you!

rt

The video that  you visualize all the generated images

We render each frame and then use ffmpeg to convert the images to video. When generating each frame, we manually tile the images and calculates the offset.

Oh, sounds like it takes sometimes to generate this beautiful visualization. Thank you for your response


Update generate.js

Used the async/await syntax for asynchronous operations. Removed unnecessary variable assignments and reduced redundant code. Applied object spread syntax for creating a copy of req.context. Used const and let appropriately for variable declarations. Combined multiple variable declarations into a single line where appropriate.Moved the main function call to the end of the script.

Why:
Closes:

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

pulling


Add map method to all vector, matrix, and rotation types

Fixes #40.

@pengowen123 before we proceed, could you share more details on the use case that this map enables?

@kvark The main use for this is converting between types, such as when using f64 for physics simulation but converting to f32 for rendering. This is possible to do today by converting each field manually. but this makes it clearer and more convenient, especially for the larger matrix types. For example, compare
let transform = Matrix3 {
    x: Vector3 {
        x: transform.x.x as f32,
        y: transform.x.y as f32,
        z: transform.x.z as f32,
    },
    y: Vector3 {
        x: transform.y.x as f32,
        y: transform.y.y as f32,
        z: transform.y.z as f32,
    },
    z: Vector3 {
        x: transform.z.x as f32,
        y: transform.z.y as f32,
        z: transform.z.z as f32,
    },
};

with
let transform = transform.map(|x| x as f32);

Adding #[inline] to the new methods is probably a good idea so that it has no performance penalty. Also, if this were to be used for non-type conversion operations, the current implementation would copy the entire structure. For this case a separate set of methods for in-place modification would be more efficient, though perhaps supporting that use case would be out of scope.

Thank you for describing this! Where exactly would you be using that conversion?
I'm asking because mint is not about doing any transformations. You aren't expected to do anything other with mint types than converting to/from other math libraries.

I was under the impression that mint was meant to be built on top of by other libraries, which made offering very basic functionality like this make more sense. If it is solely for conversion between types from different libraries, then this is probably not necessary because those libraries likely provide similar functions that could be used instead.

I was under the impression that mint was meant to be built on top of by other libraries

I'm not sure what you mean by "built on top" here. See the last sentence from the readme:

There are no operations defined for the types other than for the means of conversion from/into external types.

I thought mint provided common data structures to be extended with traits by different math libraries so that users wouldn't have to perform so many conversions, but looking at the readme again I see I was mistaken. I think it could be made more clear though.

First of all, sorry about not realizing this earlier and providing you feedback only when you spent an effort writing down the code. Thank you for doing this!
The classical case today is: a library uses library X, exposes mint, and the user uses library Y. In this case no map should be needed.
Having traits somewhere with mint structures implementing them is an idea we've been slowly considering, but there isn't much demand for yet another math implementation, so we keep mint only for the interop.

No worries, it could still be useful if you decide to expand the library someday.


[AutoPR netapp/resource-manager] New swagger for 2019-08-01 API

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/7660

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/6288


Copy button in markdown code block in publishing

Please select if your request is either something new or an enhancement

[x] Enhancement of an existing Feature.
[ ] Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup - Dendron's Lookup Command
[ ] Views - Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema - Dendron Schemas
[ ] Pod - Data import from / export to Dendron
[x] Publish - External Site Publish
[ ] Markdown - Markdown features, such as syntax support and features

Is your feature request related to a problem? Please describe
When I have to copy code I have to use my mouse to drag across the text and THEN either right click and copy or press some keyboard keys, instead of just clicking one simple button.
Describe the solution you'd like
A copy button as part of the code blocks (or option to make a specific block type have a copy button), just like github natively supports, i.e.
print('Here is some random code')

Describe alternatives you've considered
Clicking and highlighting the text, ctrl+c

Thank you for the suggestion. We'll track this in our backlog and get back to you.

Is the React component for the Notes the same for preview and publish?
If so it could be added to that through CSS and an Eventhandler for the Code Element.
I would be open to doing that. @hikchoi

@flammehawk

Is the React component for the Notes the same for preview and publish?
If so it could be added to that through CSS and an Eventhandler for the Code Element.
I would be open to doing that. @hikchoi

for publishing, notes are statically generated and loaded here: https://github.com/dendronhq/nextjs-template/blob/main/components/DendronNotePage.tsx
and for preview notes are rendered here: https://github.com/dendronhq/dendron/blob/master/packages/dendron-plugin-views/src/components/DendronNotePage.tsx
you may have to handle the click event separately for the preview.

@hikchoi
Wouldn’t https://github.com/dendronhq/dendron/blob/master/packages/common-frontend/src/components/DendronNote.tsx be a better place to add it to? since that gets included and used in Preview as well as Publish.

@flammehawk
Yes you are correct that that is the common component. but if you look at the component it is getting the rendered note content as a prop and wrapping it. Notice that there isn't a trivial way at this point to add a copy button. I guess you could take the noteContent prop, slice it up and insert buttons where it should be, but again, non-trivial and a bit out of scope of this particular component in my opinion.
the note content (html) are actually getting rendered by the engine.
I haven't put much thought to this, but I imagine this would be done through a unified plugin where a markdown code block would be transformed into html. during the process you would want to add the button.
For a similar example: see how we are adding block anchors https://github.com/dendronhq/dendron/blob/master/packages/engine-server/src/markdown/remark/blockAnchors.ts#L106:L106


警告: Received promise reject callback with event 0 PromiseRejectWithNoHandler.

V8Runtime v8Runtime = V8Host.getV8Instance().createV8Runtime();

When using the module function of the V8 engine, error codes cannot provide error information

Please refer to this doc for details.

@caoccao thanks


gurgly audio

just recently got this working with Discord since pulse decided to die after an update...
(I'm completely happy with pulse dieing because it sucked anyways)
so while this works in Discord, all audio coming through it is gurgly, and any call just drops audio after 10 seconds at most if not instantly.
note that this does not include my mic, that has no problems at all and works perfectly.
no it's not discord as everything but voice works perfectly fine on alsa

set the audio buffer to 128.
I'm not sure how to do that on discord, but with chrome it's --audio-buffer-size=128
bigger buffers are worse.

seems to be the same issue on Firefox 67.0.2, any idea how to increase buffer for Firefox?

I run into some similar issues.
Im currently testing apulse with firefox 66 and chromium on linux.
I play a test stereo mp3 file and analyze the buffer from the apulse-stream.
It looks like, apulse gets „null bytes“ from both browsers during playback.
If I write the buffer into a file in binary mode, the content looks like:
(Simplistic showcase):
0x00 0x00 0x00 0x00 0x00 DATA DATA 0x00 0x00 DATA 0x00 0x00 DATA 0x00 0x00
Which results in „stuttering“ because the audio stream gets somewhere corrupted by those 0x00.
I tried debugging this and analyzed this with audacity and played the saved file with the raw buffer data.
I tried setting „—audio-buffer-size=128“ in the chromium tests, but this did not change anything with this stuttering 0x00 byte issue.
Any idea whats going on here?

Crypto90: just for testing, can you throw those 0x00s out when they do enter the stream?

Crypto90: just for testing, can you throw those 0x00s out when they do enter the stream?

I tried.
I tried l:
apulse mplayer test.mp3
which worked great. No silence stutter gaps between the sound data.
Firefox and chromium create all those issues.
I just want to record the audio into a file, i will not pass the data to alsa. I set the default input and output device with the environment variable to null.
I tried different browser versions, tested firefox 67, 66, 60, also firefox-esr, chromium. All do get the same issue.
Yesterday I made some more tests and saw, that those stuttering gaps between the sound data is not persistent.
If I run the test 10 times, the recorded output file will have 10 times different sizes.
So it looks like those silence gaps gets produced in a way each time is different.
My test mp3 file is 30 seconds long, the recorded output file is 7-10 minutes long, bloated with those silence gaps all over the track.


const used in closure before initialization is not marked as an error

TypeScript Version:  3.4.0-dev.20190326

Search Terms: typescript hoisting const arrow function no error
Code
function useX(): number {
    // expect error for use of x before definition
    return x + 2;
}

alert(useX());

const x = 3;

Expected behavior: error for using x before definition
Actual behavior: no error, useX returns NaN
Playground Link: https://www.typescriptlang.org/play/#src=function useX()%3A number {
    return x %2B 2%3B
}

alert(useX())%3B%0D%0A%0D%0Aconst%20x%20%3D%203%3B%0D%0A
Related Issues:
Seems similar to: https://github.com/Microsoft/TypeScript/issues/29125

Duplicate of #13638.


Plans for WebTransport support

Hello!
Are there plans for supporting this new protocol? It has been available for a year and a half-ish in browsers: https://developer.mozilla.org/en-US/docs/Web/API/WebTransport

There are not. Beast is in maintenance mode.

HTTP/3 lol

I assume no chance for it in Beast (or anywhere in boost) either?

HTTP/3 and SPDY are boondoggles

I mean maybe but at some point some service is going to expose a WebTransport endpoint only and I'll want to connect to it from C++ code - or conversely, some standard protocol for $whatever will emerge on top of WebTransport which i'll want to provide a performant backend for

e.g. there's currently standardisation effort towards some new low latency media stack for web browsers, based on WebTransport - and C++ is going to be a major implementation language for this kind of backend (low-latency multimedia processing and streaming)

That is very nice but the amount of work to design and implement a conforming library is way beyond my abilities, or desire.


[Lighthouse / Estimated Input Latency / Helpful]

The reference to #what seems to be broken / missing ?
It's from this sentence in the first section "What the audit tests for".

Thank you for the report, @BatJan!
You are the bat.


Running custom scripts on container-registry.oracle.com/database/enterprise:<IP_ADDRESS>

I am trying to run custom scripts as described here https://github.com/oracle/docker-images/tree/master/OracleDatabase/SingleInstance/samples/customscripts on oracle <IP_ADDRESS> from oracle registry.
So far the scripts don't seem to execute, are they supported on that image?
I have tried this command:
 docker run --name customscripts \
-p 1521:1521 -p 5500:5500 \
-v /Users/guillaume/oracle/oradata:/opt/oracle/oradata \
-v /Users/guillaume/oracle/scripts:/opt/oracle/scripts/setup \
container-registry.oracle.com/database/enterprise:<IP_ADDRESS>

The image on the registry does not support custom scripts. You will need to build the image manually using the content from this repo instead.


scp limited fs

i wish i could make like, an fs with a limited file system size for use with scp.
like, using ratelimiter for bandwidth/burst related limiting, but something that would let me provide a directory and they can put as much as they want until the dir (and anything in it) is more than limit amount. if a put would be more than amount then error.
is there a simple way to make this? so that users can scp, idk, up to 2gb, but any more breaks

You'll probably have to implemente a scp.Handler decorating scp.FileSystemHandler and dealing with all that in the Write method... something like:
package foo

// ...

type limitedHandler struct {
	scp.Handler
}

func (h limitedHandler) Write(s ssh.Session, entry *scp.FileEntry) (int64, error) {
	// check disk usage...
	return h.Handler.Write(s, entry)
}

func main() {
	handler := limitedHandler{scp.NewFileSystemHandler("./examples/scp/testdata")}
        // ...
}

Hope that helps :)

ahh that makes sense! thank you


Scala implementation uses very fast Jsonal parser

Speeds up WCON file reading by close to a factor of 10 if the numbers are printed nicely (not lots of extra meaningless digits), and by about a factor of 3 if the numbers are a mess.

This was correct until I changed the syntax of Jsonal, so I will merge it even though it fails now.


Further limit cluster-wide read-write permissions

Followup after #3831 to remove even more read-write permissions, and document why we need that access where possible.
Changes
/kind cleanup
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[n] Includes tests (if functionality changed/added)
[n] Includes docs (if user facing)
[y] Commit messages follow commit message best practices
[y] Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
Remove cluster-wide write access to ConfigMaps, LimitRanges and remove all cluster-wide access to Deployments

/assign @vdemeester

/test pull-tekton-pipeline-integration-tests


rocksdb support

Why is rocksdb limited to certain build targets?
I compiled it for aarch64-apple-darwin and dabbled around with it while using rocksdb as store data and everything worked perfectly fine.
Is there something I'm not aware of?

The issue is that the build failed in CI, which is one that often comes up with RocksDB. So yes, compiling it manually should be fine. Hopefully this will be resolved soon.

Alright, thanks for the clarification.

@RaphaelDarley Is this build on the roadmap to be delivered for Apple M1? I tried using it, but I was unsuccessful

@calebeaires You can currently use it on M1/M2, but only if you self compile it, if you want to do this I can explain how. The problem is specifically with github actions and rocksdb. Embedded in the node library will hopefully be available soon on all platforms

@calebeaires Alternatively you actually can just grab the precompiled package from https://github.com/surrealdb/surrealdb.node/releases/download/v0.3.0/surrealdb.node.darwin-arm64.node and manually put it into surrealdb.node/npm/darwin-arm64


update employee training app template images

Docs Build status updates of commit 1b0cda0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/employee-training-create-event.jpg
:white_check_mark:Succeeded
View

msteams-platform/assets/images/employee-training-discover-tab.png
:white_check_mark:Succeeded
View

msteams-platform/samples/app-templates.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Need to validate Manifest for existence of required Libraries property

We are getting null ref exceptions if Manifest does not have Libraries propertiy specified.
We should add validation for Manifest for required properties.
Trying to restore a LibMan.json without Libraries property will lead to the messages in the output window:
Restore operation started...
Restoring libraries for project Core20_AllRestoreErrors
Restore operation completed
Time Elapsed: 00:00:00.0062925
========== Finished ==========

Duplicate of #249, created 3 weeks prior, tagged with "P3" and "bug".


enable dynamic compile for mpi

What does this PR do?

enable dynamic compile for mpi

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

@libinta  this commit is required with next OH release

@chaojun-zhang  @astachowiczhabana
How can we test these changes?

@regisss @imangohari1 ， This fix is primarily aimed at model training using MPI and torch.compile, where the inference process currently does not reach this point.

@regisss @imangohari1 ， This fix is primarily aimed at model training using MPI and torch.compile, where the inference process currently does not reach this point, so there is no mpi integration for inference at present.

@regisss @imangohari1 ， This fix is primarily aimed at model training using MPI and torch.compile, where the inference process currently does not reach this point, so there is no mpi integration for inference at present.

@chaojun-zhang I agree with @imangohari1 that we should add a test.
Also, please sync your branch with main and run make style again.

Thanks for your review, @regisss  This fix is primarily aimed at model training using MPI and torch.compile, where the inference process currently does not reach this point, so there is no mpi integration for inference at present.

@chaojun-zhang I agree with @imangohari1 that we should add a test.
Also, please sync your branch with main and run make style again.

Thanks for your review, @regisss This fix is primarily aimed at model training using MPI and torch.compile, where the inference process currently does not reach this point, so there is no mpi integration for inference at present.

@chaojun-zhang
Independent of the usecase, we need to include a pytest for this.
Please look at the tests/ folder and add the proper tests that this PR intends to be useful.
Thanks.

@chaojun-zhang I agree with @imangohari1 that we should add a test.
Also, please sync your branch with main and run make style again.

Thanks for your review, @regisss This fix is primarily aimed at model training using MPI and torch.compile, where the inference process currently does not reach this point, so there is no mpi integration for inference at present.

@chaojun-zhang Independent of the usecase, we need to include a pytest for this. Please look at the tests/ folder and add the proper tests that this PR intends to be useful. Thanks.

Thanks for your reply, i have added the test ,please take a look . thanks


Two different links using the same URL

[Enter feedback here]
In the Next Steps section, the Data Factory feature requests and Microsoft Q&A page have the same URL.
The Data Factory feature requests link might be better if it went to: https://feedback.azure.com/d365community/forum/1219ec2d-6c26-ec11-b6e6-000d3a4f032c
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 4f08da82-c201-c9be-c1bf-c966868b00ba
Version Independent ID: f8b2271c-af45-6dee-ae29-ec867068c285
Content: Troubleshoot the Snowflake connector - Azure Data Factory & Azure Synapse
Content Source: articles/data-factory/connector-troubleshoot-snowflake.md
Service: data-factory
Sub-service: data-movement
GitHub Login: @jianleishen
Microsoft Alias: jianleishen

@TangoMike1
Thanks for your feedback! We will investigate and update as appropriate.

@TangoMike1
I've delegated this to @jianleishen, a content author, to review and share their valuable insights.


Documentation suggestions

Hi
I installed the plugin today and got it to work, thanks.
I have a couple of suggestions for the documentation.

I would add to the 'Installation' section the explicit instruction to install the package sublime-reason once the repository is added. Adding the repository https://github.com/reasonml-editor/sublime-reason.git does not seem to install the package.

I installed the plugin to be able to edit files in this workshop:
https://github.com/bassjacob/reason-workshop
All the source files there are .re hence I had to add the following to the Preferences: LSP Settings

"scopes": ["source.reason", "source.ocaml", "source.re"],
Thanks

Hey!

That should have worked? What else did you need to do afterward?

You shouldn't need source.re? Btw, I'm upstreaming the config to ST LSP, so in the future, you can remove the custom config here =)

Hi @chenglou  thanks for the reply

adding the repo did not install the package, I had to install it explicitly in Package Control using Install Package

Without source.re the syntax highlighting did not work for .re files. Good about the LSP upstream :)

Cheers

Coming back to this issue. I've documented the first part afterward but I can't find anywhere in my sublime settings where I needed to set source.re. This is really weird...

Hi @chenglou do you mean your configuration is highlighting syntax correctly for .re files without  having to do anything? Or do you mean you cannot find where to add the config?
If the latter, what I did was:

Go to Tools > Command Palette
Select 'Preferences: LSP Settings'
Modify the User preferences adding source.re to the following:

// Settings in here override those in "LSP/LSP.sublime-settings",
{
	"clients":
	{
    	"reason":
    	   {
      		"command": ["ocaml-language-server", "--stdio"],
      		"scopes": ["source.reason", "source.ocaml", "source.re"],
      		"syntaxes": ["Packages/sublime-reason/Reason.tmLanguage"],
      		"languageId": "reason"
    	   }
  	}
}

Without this syntax highlighting for .re files did not work
Hope it helps.

Right, I'm saying I didn't have to do that (after having installed sublime-reason itself). That's weird, @bsansouci did you encounter this?

No didn't need to that. I had LSP and just re-installed sublime-reason and I got highlighting immediately (and I have reason-cli so ocamlmerlin worked).
Without sublime-reason I had no highlighting.

I've reinstalled everything and it seems that source.re isn't needed. Maybe it's a stale config?
1 is resolved a while ago now. Thanks for the feedback! I'll close this issue; if there are still problems, please ping me =)


[WIP][SPARK-24375][Prototype] Support barrier scheduling

What changes were proposed in this pull request?
This PR is to add new RDDBarrier and BarrierTaskContext to support barrier scheduling in Spark. It also modifies how the job scheduling works to accommodate the new feature.
Note: this is a prototype to facilitate the discussion. It's not meant for the final design or anything. It just shows one way that might works.
How was this patch tested?
Simple unit test and integration test.

Test build #91471 has started for PR 21494 at commit 84cdc68.

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/3807/
Test PASSed.

Test build #91471 has finished for PR 21494 at commit 84cdc68.

This patch fails from timeout after a configured wait of `300m`.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Hi, @jiangxb1987 , can you explain more for what is barrier scheduling in spark and  elaborate an example which would only works with  barrier scheduling( but could not work under current spark schedule mechanism) for better understanding ?

@Ngone51 You can refer to the SPIP that xiangrui proposed in SPARK-24374 for a basic background and major goal of barrier scheduling, and you can also refer to SPARK-24375 for a design sketch. If you have further comments please feel free to talk on the JIRA (recommended because that works better for something we may want to revisit later) or here :)

Close this in favor of #21758 and #21898 , thanks for your comments! I hope they're addressed in the new code.


MapData flickering by clearing it and readding Point

Hey there, first of all I am doing a navigation app on Android. There is a User with its location centered on the map.
I am using MapData, which got normally included into a MapController, to show the current location of the User on the map.
The MapData always contains only one Point, which is the current location of the User. The previous locations need to get deleted, otherwise multiple Locations of the User are placed on the screen. That is why I have to call the clear method of MapData beforehand.
To get a better understanding here a screenshot:
https://s17.directupload.net/images/190911/6ujpvkd7.jpg
The green pin in the center is the Location of the User.
This is the most important chunk of code:
//Initialize at start of Activity
MapData userMapData = map.addDataLayer("user");

//These lines of code get called every second
LngLat position = getCurrentLocationOfUser();
userMapData.clear();
userMapData.addPoint(position, null);

RESULT:
By always clearing the MapData before inserting the next location-MapData a flickering on the green pin (the displayed MapData on the Map) happens. Basically for a few frames of the clearing-operation no Location of the User can be seen at all, thus creating that effect.
EXPECTED RESULT:
No flickering happening. My question is? Is there a workaround to this? Can I use another class maybe?
ENVIRONMENT:
Version used: 0.10

It works with a marker now in 0.11.1


really man

Describe the bug
really man
To Reproduce
Steps to reproduce the behavior:

crane
spent
"really man"

Expected behavior
To not say "really man"
Screenshots

Desktop (please complete the following information):

Browser firefox

Additional context
really man

Wow that's actually the word today lol.
I basically grabbed all five letter words from the popular dictionary textfile in this repo: https://github.com/dolph/dictionary
I was thinking about finding a new dictionary at some point. I can also consider removing these types of words while at it to make it more appropriate/family friendly.

Not going to lie I gave a chuckle so no need to go changing things


Embed serialized AST declarations in BC files

When a module is imported, it should be possible for the resolved module to come from a .slang-module file on disk (or previously loaded into the session) rather than source code on disk.
The .slang-module file, which contains our "BC" bytecode format should contain data structures to represent the externally-visible declarations that were compiled into the module file: functions, variables, etc. At its most basic, this forms a serialization format for our AST declarations and types, so we can build a usable AST-level representation of the module by deserializing.
The BC format should not, in general, need to include serialized forms of AST statements and expressions. Instead, these will need to be translated into the instruction sequences that make up the body of IR-level functions (which also get written to the BC file).

Serialization support for the AST is largely implemented. The next sticking points are all around defining the "container" format for libraries.


View Components

Thank you for your walkthrough on creating Laravel packages. Being new to Laravel, it has been a great help.
I noticed that it does not have information to help us if our package uses View Components (Class and View). I feel it would be a great asset to help make it more thorough.
Thanks again for the invaluable resource!

Hi @WadeShuler
Great to hear that the site has helped you! 👍
I think it is a good idea to also cover View Components. I created a PR #72 to add a section on this topic.
I'd love to hear your opinion on this part and if you think this would cover it.
You can check out a deployed preview over here: https://deploy-preview-72--laravel-package.netlify.app/09-routing.html#view-components


Database transactions

Where should I put database transactions. Let's say I am building an e-commerce website, and I want to create a feature to order an item with a third-party payment. The simplified flow:

Deduct item stock in database
Charge to Paypal
Create invoice in database

Where should I put the transaction implementation? It should not be in the repository layer no?

Transactions with this model are hard, what I do is create a Unit of Work implementation, in which you pass a list of repositories that have to work together, and basically behind the scene create a TX for all of them, so all the calls, on that context, to the Repositories will be done on a TX.
This allows to have different TX (MySQL, FS) and other implementations of the repositories you have implement it's own way of having TX if any.
type StartUnitOfWork func(ctx context.Context, uowFn func(uow UnitOfWork) error, repositories ...interface{}) error

type UnitOfWork interface {
  Users user.Repository
}

err := s.startUnitOfWork(ctx, func(uow unitwork.UnitOfWork) error {
  uow.Users().Create(...)
}, s.users)

This is what I use and it works really good for me, I had to invest a big amount of time to find a good implementation that would fit the patterns ans till have separation without attaching the logic to an specific repository implementation (MySQL for example).
This is just an small example but to give ideas on how I solved it.

Hi @xescugc, I haven't thought of that, and that is a really cool implementation. A couple of questions, where is startUnitOfWork()'s function being declared? Is it in the domain? Do you have a sample application that you can share?

@marcusolsson what's your way of handling this? I managed to think of a solution but it involes leaking an abstraction of my underlying store
type UserStore interface {
    Save(tx sql.Tx, u *User) error
}

this works but I'm constraining myself to sql stores only :/

@adamfdl Sorry I lost the notification, this will also help @fr3fou.
I have one example of the Unit of Work that I was mentioning. The definition is https://github.com/xescugc/rebost/blob/master/uow/unit_of_work.go and the implementation is https://github.com/xescugc/rebost/blob/master/boltdb/unit_of_work.go for boltdb and https://github.com/xescugc/rebost/blob/master/fs/unit_of_work.go for filesystem. Basically what this allows is the Domain to be abstracted of the implementation behind a Repository, just make a UoW and be able to work.
I have MySQL implementation too but are from work so I can not release the info hehe but with those 2 examples you get the idea.
With this 2 implementation I can have the domain logic deal with the Repositories, and they deal with the implementation for rollbacks and transactions (the fs one is manual but it's the same Idea), you can see them in use in https://github.com/xescugc/rebost/blob/master/volume/volume.go#L348


jsonFilter does not work properly after upgrade to 1.1.0 RC 4 from 0.9.6

Before upgrade:
* def query = karate.jsonPath(response<EMAIL_ADDRESS>+ subscriptionId + "')]")
This line worked properly to filter the object matching the id from the array. (p.s. https://intuit.github.io/karate/#jsonpath-filters)
After upgrade:
This line would just return an empty object.
Reference link to stackoverflow question: https://stackoverflow.com/questions/68582957/jsonpath-starts-not-working-after-karate-frameworking-being-upgraded-to-1-1-0

@hkkk333 can you read this once again: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue
I need a way to replicate to re-open

@hkkk333 and let me try and make it easier for you. this is also mentioned in the above instructions:

That said, if the problem can be demonstrated in a single snippet of Karate-script (which we can just cut, paste and run - and no external variables or files are needed), you can try submitting an issue without the quick-start.

My bad, a snippet should be able to demonstrate that. Do I just post on here so that you could reopen the issue or I just re-create another one? Thanks

@hkkk333 post here please, I can reopen

@ptrthomas I was trying with some hardcoded response. It seems working fine with the jsonPath, and it is more likely some issue related to the follow up operation on a response after doing some http calls. I may need to re-investigate the issue, or if you have any idea about this, please let me know as well. Thank you so much

@hkkk333 take a look at karate.filter() which I recommend when your JsonPath expressions start getting too complex, it makes things much more readable: https://stackoverflow.com/a/66767431/143475

@ptrthomas
I just tried the way you mentioned, did not really work in my case.
I also tried in this way, works just fine in this case:

* def subscriptionId = "7128378193"
    * def json =
    """
    [
      {
        "uuid": "7128371093701",
        "subscriptionId": '#(subscriptionId)',
        "subscriberId": 173819819,
        "userId": 127380191,
        "customerTypeId": 100,
        "customerId": 394578924,
        "zipcode": 98004,
      },
      {
        "uuid": "7128371093701",
        "subscriptionId": '82934',
        "subscriberId": 173819819,
        "userId": 127380191,
        "customerTypeId": 100,
        "customerId": 394578924,
        "zipcode": 98004,
      },
      {
        "uuid": "7128371093701",
        "subscriptionId": '123',
        "subscriberId": 173819819,
        "userId": 127380191,
        "customerTypeId": 100,
        "customerId": 394578924,
        "zipcode": 98004,
      }
    ]
    """
#   * def result = karate.jsonPath(json<EMAIL_ADDRESS>+ subscriptionId + "')]")
   * def fun = function(x) { return x.subscriptionId == karate.get('subscriptionId') }
   * def result = karate.filter(json, fun)
   * print "----------- result: " + karate.sizeOf(result)
   * print "----------- result: " + result[0]
   * print "----------- result: " + result[0].uuid
   * print "----------- result: " + result[0].subscriptionId
   * print "----------- result: " + result[0].subscriberId
   * print "----------- result: " + result[0].userId

But once I try it on a response object that comes back from a http call. It does not work like the same. When I print the response, it does have the info accordingly, but if I do any operation on that response, the result is undefined somehow.

* print "------------------ response 2: " + orderId
    * print "------------------ response 2: " + response[0].orderId
    * print "------------------ response 2: " + response[0].uuid
    * print "------------------ response 2: " + response[0].subscriptionId
    * print "------------------ response 2: " + response[0].subscriberId

    * def fun = function(x) { return x.subscriptionId == karate.get('subscriptionId')  }
    * def result = karate.filter(response, fun)
    * print "------------------ query result 2:" + karate.sizeOf(result)
    * print "------------------ query result 2: " + result[0].orderId
    * print "------------------ query result 2: " + result[0].uuid
    * print "------------------ query result 2: " + result[0].subscriptionId
    * print "------------------ query result 2: " + result[0].subscriberId

But once I try it on a response object that comes back from a http call. It does not work like the same.

sorry I have to ignore everything except the fact that we don't have a way to replicate

no problem, I will see if I could figure something out, or maybe come up with a replicated one for your debug. Thanks alot.


Add G2V score to table

The Open Targets G2V score (which combines VEP and functional genomics) should be added as a column to the evidence table.

Fixed in 0c511fe


Enhancement: Skip Song > Story Mode

What is your suggestion, and why should it be implemented? just a simple feature/suggestion that would be nice for story mode , as we may be having trouble with the song for being to difficult with our skill when first playing it .


fix: doc-changelog action infinite loop with pre-commit.ci

Trailing whitespace in the title caused an infinite loop between the changelog action and pre-commit.ci fixing the fragment file by removing the trailing whitespace
Fragment file is created with space in PR title: https://github.com/ansys/pymechanical/actions/runs/8482062321/job/23240588260
Fragment file not updated when pre-commit.ci removes the trailing whitespace from the title: https://github.com/ansys/pymechanical/actions/runs/8482076237/job/23240627870
Fragment file is updated if the title changes: https://github.com/ansys/pymechanical/actions/runs/8482141047/job/23240810736?pr=667
Fragment file not updated if a trailing whitespace is added to original title: https://github.com/ansys/pymechanical/actions/runs/8482188997/job/23240957958?pr=667
It would probably be easier if I just stripped the trailing whitespace from the PR title...let me know if I should change the logic to do that instead
Closes #436

Seen this behaviour as well in PyAnsys Geometry...

I would strip trailing and leading whitespaces indeed... Seems like a cleaner solution


BUG? Updating true Home Assistant/MQTT seems to ignore networks: configuration

This is the perfect addon to manage my containers but today i noticed after updating a few that it ignores my networks configuration assigned to containers.
Many of my containers have a static IP configured like this but it gets ignored when you update them via HA/MQTT, it assigns a completly different IP from the same subnet to my containers.
Any idea why and how this happens and can it be fixed?
    networks:
      ipvlan_custom:
        ipv4_address: <IP_ADDRESS>

networks:
  ipvlan_custom:
    name: ipvlan_custom
    ipam:
      config:
        - subnet: <IP_ADDRESS>/24
          gateway: <IP_ADDRESS>

Since i need to pass every parameter from the old running container restructure its data and pass it to the creation of the new container some data/config might get lost, like in this case.
Im currently working activevly on this issue and on named volume mounts since they suffer from the same issue.
Im gonna come back to this issue when i made some progress


Check for updates in the new menu doesnt show keybinding

Testing #27454
Assign a keybinding for the Check for updates command.
Open the new menu or the old one
Keybinding doesnt show up against Check for updates menu entry

@ramya-rao-a I think you are confusing that action, it checks for extension updates:

So Check for Updates i.e. workbench.extensions.action.checkForUpdates is not a command to which a keyboard shortcut can be assigned ?

@ramya-rao-a you can, but the one you see in the menu is not that action.

@bpasero thanks for clarification
Closing as desgined

doh, my bad, totally missed the "extensions" word.
Sorry, was a little sleep deprived yesterday :(


Updates to the contextual user ability argument.

Re #1: This copy leads with an explanation of accessibility-the-concept, so that readers understand the relevance of accessibility in a way that does not necessarily rely on comparison to specific groups of people. Able readers who do not yet understand the moral value of accessibility are likely to categorize disabled users as an out-group and see accessibility as a them-not-me problem, so a good explanation of the utility in accessibility is paramount.
Edit: "[...] it will be better for everyone" could be modified. Maybe "The benefits will be universal"?

Thanks @dengeist!


HIVE-15757: Allow EXISTS/NOT EXISTS correlated subquery with aggregates

What changes were proposed in this pull request?

When transforming subquery AST to calcite plan check whether the subquery is a full aggregation: has aggregate functions without group by clause
When building subquery expression return true literal if subquery is a full aggregation having EXISTS operator instead of RexSubQuery

Why are the changes needed?
To support queries like:
SELECT t1.bigint_col
FROM alltypestiny t1
WHERE EXISTS
  (SELECT SUM(smallint_col) AS int_col
   FROM alltypestiny
   WHERE t1.date_string_col = string_col AND t1.timestamp_col = timestamp_col)
GROUP BY t1.bigint_col

Does this PR introduce any user-facing change?
Yes. Current Hive implementation throws exception when compiling queries like the example above. With this patch query compiles and runs.
How was this patch tested?
mvn test -Dtest.output.overwrite -DskipSparkTests -Dtest=TestMiniLlapLocalCliDriver -Dqfile=subquery_full_aggregate.q -pl itests/qtest -Pitests

I gave +1 based on the code but I see there are some test failures. Please let me know when those are addressed and I can take a look again. Thanks


Post release automated changes for instrumentation releases

Post release automated changes for azure-opentelemetry-instrumentation-azure-sdk

API change check
API changes are not detected in this pull request.

/check-enforcer override


make: f4pga: No such file or directory make: *** [Makefile:10: build] Error 127

Hi
when i try to build a file in rpi4 platform i have the following error
make: f4pga: No such file or directory
make: *** [Makefile:10: build] Error 127
any suggestion or solutiThanks

Please, provide details about the procedure you followed. Running make without first creating the Conda environment is likely to fail.

Also I am pretty sure f4pga-examples will not work on RPi4 as we do not currently provide ARM packages on conda (yet)...

Also I am pretty sure f4pga-examples will not work on RPi4 as we do not currently provide ARM packages on conda (yet)...

Have you Know any other solution to make f4pga-examples on RPI4.
Thanks

Please, provide details about the procedure you followed. Running make without first creating the Conda environment is likely to fail.

The project consist on impliment verilog code with openfpga bootloader by the mean of rpi4


SQL Subqueries

I know CosmosDB SQL API includes Subquery support. When will the documentation be updated to include what subquery support is supported?

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

ID: 267e7493-cefe-0e44-b33e-c925b0f874de
Version Independent ID: 2ffbb916-74f2-4b50-6b8d-3856afa42ca5
Content: SQL queries for Azure Cosmos DB
Content Source: articles/cosmos-db/how-to-sql-query.md
Service: cosmos-db
GitHub Login: @markjbrown
Microsoft Alias: mjbrown

Hello,
Very curious to see an example here as well!

Hey folks. Sorry it's taken so long to get these documented. I've posted some examples you can try out today. I'm sorry I don't have a schema or sample data for you to try this out on but these should give you some idea of how to write these queries.
We are actively working on this now. I think maybe 3 weeks this will be fully documented with sample data, etc.
Thanks everyone for your patience.
Optimize JOIN Expressions
Consider the following query:
SELECT Count(1) AS Count
FROM c
JOIN t IN c.tags
JOIN n IN c.nutrients
JOIN s IN c.servings
WHERE t.name = 'infant formula' AND (n.nutritionValue > 0
AND n.nutritionValue < 10) AND s.amount > 1
For this query, the index will match any document that has a tag with the name ‘infant formula’, a nutrient item with a value between 0 and 10 and a serving item with an amount greater than 1. However, the JOIN expression here will perform the cross product of all items of tags, nutrients and servings arrays for each matching document. The WHERE clause will then apply the filter predicate on each <c, t, n, s> tuple. For instance, if a matching document had 10 items in each of the 3 arrays, it will expand to 1 x 10 x 10 x 10 (i.e. 1,000) tuples. Using subqueries here, can help filtering out joined array items before joining with the next expression.
This query is equivalent to the one above but utilizes subqueries:
SELECT Count(1) AS Count
FROM c
JOIN (SELECT VALUE t FROM t IN c.tags WHERE t.name = 'infant formula')
JOIN (SELECT VALUE n FROM n IN c.nutrients WHERE n.nutritionValue > 0 AND n.nutritionValue < 10)
JOIN (SELECT VALUE s FROM s IN c.servings WHERE s.amount > 1)
Assuming only 1 item in the tags array matches the filter, and 5 items for both nutrients and servings arrays, the JOIN expressions will expand to 1 x 1 x 5 x 5 = 25 items as opposed to 1,000 items in the first query.

One of the most common subqueries use cases will probably involve EXISTS()
Here’s an excerpt for that:
A very common use case is to filter a document by the existence of an item in
SELECT TOP 5 f.id, f.tags
FROM food f
WHERE ARRAY_CONTAINS(f.tags, {name: 'orange'})
The same query could be rewritten to use EXISTS
SELECT TOP 5 f.id, f.tags
FROM food f
WHERE EXISTS(SELECT VALUE t FROM t IN f.tags WHERE t.name = 'orange')
Hope these are helpful.


Update React packages

Updated React-related packages to versions ^15, and fixed deprecation warnings

Oops, meant to open this PR in a fork


Error creating resource: after every 10-12 times I run script on localhost.

It shows me error like this after every 10-12 times I run the code in my browser. It works fine for few times then it shows me this error. I am using the same code provided in the documentation.
Error creating resource: [message] fopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known [file] /Desktop/php_projects/text_speech/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php [line] 323 [message] fopen(https://oauth2.googleapis.com/token): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known [file] /Desktop/php_projects/text_speech/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php [line] 323.

Hello @Asdeegen !
Could you tell me which snippet of code you're running?
Because this is throwing an error for calls made to oauth2.googleapis.com/token, I believe this is not an error with the TTS sample code, but is rather a networking issue on your end.

Closing due to inactivity

@bshaffer I got the same error and I reported here:
https://github.com/googleapis/google-cloud-php/issues/2424
Do you have any experiences on this? Please give me advice.
It made me headache some these days.


Added new propagation module (Fixed #55)

New module provides a cleaner API for user to specify different combinations of credible and prediction interval plots.  It is less tied to the form of the data structure used in actually running the MCMC simulation, so the code itself is much more readable than the original PredictionIntervals class that was created for an earlier release of the code.

Pull Request Test Coverage Report for Build 432

230 of 232 (99.14%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 97.708%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pymcmcstat/propagation.py
216
218
99.08%

Totals

Change from base Build 430:
0.1%

Covered Lines:
2558

Relevant Lines:
2618

💛  - Coveralls


Add dependency instructions to readme

Add some notes on how to depend on m2x-elixir via github dependency until this gets published in hex.pm repository.

@vic Actually, it's already published on hex.pm here.  I'm not opposed to adding this to the README for those who want to depend on Github master in between releases, but it's probably worth mentioning the hex.pm release in the README as well.
What do you think?

@jemc agreed re: mentioning hex.pm in the readme setup instructions.


any examples

Hey @AltairInglorious
thank you for this repo..
I am a bit of a fan of nats and surreal db. Partly because there are both real time but also the multi modal aspects of surreal DB allows it to do many things.
If it's possible to see any example usage please let me know. I would like to try this approach out with using NATS as a transport.
I am also wondering if Live queries ( https://surrealdb.com/docs/surrealdb/surrealql/statements/live ) are supported. It would seem to me that this could work very well with NATS Consumers. So we basically have a real time DB with a real time network married up.

Hi, @gedw99
I'm glad to see that someone is interested in my project. At the moment, I've moved to another stack, so I've suspended work on this project. Below, I will add a code sample from one project where I used this library.
https://gist.github.com/AltairInglorious/50510d94da39a2f1bb06cf2290802e25

Thanks 🙏
what stack did you move to ?

I move on Typescript & NodeJS (Bun) for simplification and easy collaboration with other developer from company

Ok
I think that I will try out this with https://github.com/infogulch/xtemplate
the code samples are very useful
using xtempkste and it’s htmx allows scripting without reconciliation btw..
Caddy can run it too for multi tenant .
I’m have a look if your curious