There is not way to get event about changing native property

Initially commented https://github.com/Polymer/polymer/issues/2815#issuecomment-166150694, but turns out to be different issue.
Example: http://jsbin.com/gudomudaja/edit?html,output
<script>
  // only need this when in the main document and on non-Chrome
  addEventListener('WebComponentsReady', function () {
    Polymer({
      is        : 'x-textarea',
      extends   : 'textarea',
      listeners : {
        change : '_changed',
        input  : '_changed'
      },
      _changed : function () {
        this.notifyPath('value', this.value);
      }
    });
  });
</script>

<dom-module id="x-test">
	<template>
      <textarea id="t1" is="x-textarea" value="{{content}}"></textarea>
      <textarea id="t2" is="x-textarea" value="{{content}}"></textarea>
	</template>
	<script>
		addEventListener('WebComponentsReady', function () {
			Polymer({
				is         : 'x-test',
                properties : {
                  content: String
                },
				ready : function () {
					var t2 = this.$.t2;
                    // No events fired on #t2 unfortunately
                    t2.addEventListener('change', function () {console.log('change');});
                    t2.addEventListener('input', function () {console.log('input');});
                    t2.addEventListener('value-changed', function () {console.log('value-changed');});
				}

			});
		});
	</script>
</dom-module>

<x-test></x-test>

When typing something in #t1 I can't find a way to detect changes in #t2, while content is propagated properly.

Well, I think there is a need to fire some event in case of native properties, since otherwise it is not possible to know about any change.
For instance, with value property, change event should be triggered afterwards for input, textarea and select elements I guess. Or at least make it possible somehow otherwise.

Have you seen https://www.polymer-project.org/1.0/docs/devguide/data-binding.html#two-way-native?

Sure, I know about it, but it will not work for multi-line content of textarea which I need in this example.
I understand why there are no observers for such properties, but if data binding system gets notification from outside and changes property - I should be able to hear about this.

So to be specific--the issue you have here is that the second textarea doesn't generate an event when it's updated from the outside, via data binding?
If so, that would be the outcome I'd expect, because data binding is basically setting a property imperatively. And the spec says:
"Any time the user causes the element's raw value to change, the user agent must queue a task to fire a simple event that bubbles named input at the textarea element." (emphasis added)
However, I'm not positive whether that's the issue you're reporting here.

So to be specific--the issue you have here is that the second textarea doesn't generate an event when it's updated from the outside, via data binding?

Exactly.
However I didn't get precisely what does your quote mean in context of this issue. I'm not expecting UA to generate any event, because of changing value directly it is Polymer's job to generate such an event.

But if you change the value of an textarea-element programmatically say:
 var t2 = ...getElelement..
 t2.value = 'Hello';

the element - the native element - will not fire any of the events (change, input) you're listening to. Correct?
Your custom element does not add this behavior as well. Clearcase, close the ticket. :lollipop:

@kaste, we are talking about Polymer, more specifically about data binding system. Polymer already provides a lot of features native elements doesn't have. In this case Polymer does know that value was changed, why developer is not able to know that as well?
Yes, input event is generated on t1 when typing, but since Polymer distributes data using data binding system to t2, t2 MUST be able to know its property was changed, however since value is native property and Polymer changes it directly there is no way to know that currently. This is what this issue about.

Just wanted to refine the problem, @nazar-pc. From outside of x-textarea you obviously know that the value changed b/c you can observe content. What you want is: Inside of x-textarea, how can I observe incoming user data on the (native) value property. Right?

Yes, exactly.
The only trick is that Polymer is the guy who changes native property, but any observers like following doesn't work:
...
    observers : [
        "_value_changed(value)"
    ],
...

Live example: http://jsbin.com/tixufudebo/edit?html,console,output

Hmm, this seems even simpler in this bin: http://jsbin.com/neyayo/edit?html,console,output
The observer never fires, even though the value updates in the parent.

Not quite that simple http://jsbin.com/xeluyif/edit?html,console,output

Yes, @azakus's example is not correct

For the time being, in Polymer 2.x we're not supporting type-extension custom elements, so the severity of this issue is lower, since HTMLElement has fewer useful properties one might want to observe changing via accessor.  However, there are still a few (one could conceivably override, e.g. hidden on HTMLElement), and type-extension custom elements could eventually come one day, so wanted to show a way this can be achieved in 2.x.
The accessors that Polymer 2.x generates to detect and perform property effects when properties change are implemented using overridable API's: _setPendingProperty and _getProperty (erk, the latter one is exposed but not actually called by the getter, so it's not technically overridable -- this should probably be fixed for the most correct implementation, but most of this still applies).
In the following jsBin, I've shown a simple mixin that can be applied to a Polymer.Element to allow adding property effects (e.g. observers) to native properties.  It generates a list of all of the native properties on HTMLElement and then calls the native setter/getters from the accessor implementations that Polymer uses:
http://jsbin.com/wasabum/edit?html,console,output
Note, Polymer effects won't be run if the native value changes without setting the setter.  This could be achieved by mapping events to the native properties, but I didn't handle that here.

Lowering priority since there are user-space workarounds now.


Improvements for DKG reconstruction phase

Until now, the reconstruction of the public key share of an inactive/disqualified member was performed only when such member was part of the QUAL set (i.e. their shares broadcasted in phase 3 were valid). Unfortunately, this approach had an uncovered edge case when a member becomes inactive/disqualified exactly in phase 9. In that case, an inactive/disqualified member belongs to the QUAL set, it is selected for reconstruction and its reconstructed public key share is added to the group public key. But, becoming inactive/disqualified in phase 9 means that the member also provided valid public key share during phase 7 which are also added to the group public key. As a result, the group public key becomes invalid and causes errors while signing. The proposed fix improves the membersForReconstruction method by checking also the received valid public key shares map.

The code looks good, double-checked with DKG and two relay requests, no problems found.


[Auth] Signup and Login screens render issues

Bug report
Describe the bug
It seems that when the Auth screen renders, the focus is automatically moved to the email field. This makes it impossible to type a password since the focus is constantly switching back
To Reproduce
Using the following default example
import { supabase } from '../utilities/supabaseClient'
import { Auth, Typography, Button } from '@supabase/ui'

const Container = (props) => {
  const { user } = Auth.useUser()
  if (user)
    return (
      <>
        <Typography.Text>Signed in: {user.email}</Typography.Text>
        <Button block onClick={() => props.supabaseClient.auth.signOut()}>
          Sign out
        </Button>
      </>
    )
  return props.children
}

export default function AuthBasic() {
  return (
    <Auth.UserContextProvider supabaseClient={supabase}>
      <Container supabaseClient={supabase}>
        <Auth supabaseClient={supabase} />
      </Container>
    </Auth.UserContextProvider>
  )
}

Steps to reproduce the behavior, please provide code snippets or a repository:

Use the default  component with the default
Click on password field
Type anything
See error, the focus will be moved to the top

Expected behavior
Should stay in the current focused field
Screenshots

System information

OS: macOS
Browser Safari Version 14.1.1 (166<IP_ADDRESS>.4)

trying to reproduce this now 👍

thanks so much for the steps to reproduce and code snippet, super helpful !

@raulriera
I can't recreate this so far.
currently I'm trying it with following dependencies:
  "dependencies": {
    "@supabase/supabase-js": "^1.18.0",
    "@supabase/ui": "^0.28.1",
    "next": "11.0.1",
    "react": "17.0.2",
    "react-dom": "17.0.2"
  },

could you confirm what versions you have in package.json ?

This is what I'm using

// pages/index.js

import { Auth, Typography, Button } from "@supabase/ui";
import { createClient } from "@supabase/supabase-js";

// Create a single supabase client for interacting with your database
const supabase = createClient(
  "--project-url-here-",
  "--service_role__api-key-here-"
);

const Container = (props) => {
  const { user } = Auth.useUser();
  if (user)
    return (
      <>
        <Typography.Text>Signed in: {user.email}</Typography.Text>
        <Button block onClick={() => props.supabaseClient.auth.signOut()}>
          Sign out
        </Button>
      </>
    );
  return props.children;
};

export default function AuthBasic() {
  return (
    <Auth.UserContextProvider supabaseClient={supabase}>
      <Container supabaseClient={supabase}>
        <Auth supabaseClient={supabase} />
      </Container>
    </Auth.UserContextProvider>
  );
}

I see, we have a small difference in versions. Let me double check with that one
  "dependencies": {
    "@supabase/supabase-js": "^1.17.0",
    "@supabase/ui": "^0.27.3",
    "next": "11.0.1",
    "react": "17.0.2",
    "react-dom": "17.0.2"
  },

Thanks for the prompt replies!

Strange, I can still reproduce it with the new version as well. And our code is exactly the same, minus the client part I create that globally in the utilities folder
import { createClient } from '@supabase/supabase-js'

const supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL
const supabaseAnonKey = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY

export const supabase = createClient(supabaseUrl, supabaseAnonKey)

This doesn't appear to be happening in Chrome, maybe its something in Safari that is causing this (no extensions)

@raulriera would you be able to share all the code somewhere so I can take a look ?

For sure, I'll drop it here. Maybe this is something related to Safari keychain as I can't seem to replicate it in the docs either :/ thanks again for looking into this!
(I removed the node_modules folder from this to make it lighter)
project.zip

I'm having the same issue - only on safari, with the component as the only child of App

I can reproduce it too.


Major drop in performance due to component nesting

Describe the bug
The nesting of components results in a significant drop in performance. I noticed this for the first time in my project, which is quite large and therefore has many components. I reached in my project with a wrk benchmark just 8req/sec.
After searching for the problem, I found that the nesting of components is very cpu intensive.
I have written an example below to roughly reproduce the problem.
Below are also 2 wrk benchmarks in which I have benchmarked once with these components and once without.
Wrk Benchmarks
Without test components:
Running 10s test @ http://localhost:3000
2 threads and 10 connections
Thread Stats   Avg      Stdev     Max   +/- Stdev
Latency     5.01ms   10.41ms  42.77ms   85.33%
Req/Sec    15.36k     2.20k   20.93k    69.31%
308753 requests in 10.10s, 5.29GB read
Requests/sec:  30570.08
Transfer/sec:    536.47MB
With test components (example reproduction code below):
Running 10s test @ http://localhost:3000
2 threads and 10 connections
Thread Stats   Avg      Stdev     Max   +/- Stdev
Latency     5.32ms   10.42ms  51.70ms   85.55%
Req/Sec     6.00k     1.49k   10.59k    71.64%
120073 requests in 10.10s, 2.45GB read
Requests/sec:  11888.37
Transfer/sec:    248.65MB
System
CPU: AMD Ryzen 5 2600X (12) @ 3.600GHz
RAM: 16GB DDR4
Leptos Dependencies
axum = { version = "0.6.4", optional = true }
console_error_panic_hook = "0.1"
console_log = "1"
cfg-if = "1"
leptos = { version = "0.5", features = ["nightly"] }
leptos_axum = { version = "0.5", optional = true }
leptos_meta = { version = "0.5", features = ["nightly"] }
leptos_router = { version = "0.5", features = ["nightly"] }
log = "0.4"
simple_logger = "4"
tokio = { version = "1.25.0", optional = true }
tower = { version = "0.4.13", optional = true }
tower-http = { version = "0.4", features = ["fs"], optional = true }
wasm-bindgen = "=0.2.88"
thiserror = "1.0.38"
tracing = { version = "0.1.37", optional = true }
http = "0.2.8"

To Reproduce
My example reproduction code:
/// Renders the home page of your application.
#[component]
fn HomePage() -> impl IntoView {
    view! {
        <EntryComponent/>
        <EntryComponent/>
        <EntryComponent/>
        <EntryComponent/>
        <EntryComponent/>
        <EntryComponent/>
        <EntryComponent/>
        <EntryComponent/>
    }
}

#[component]
fn EntryComponent() -> impl IntoView {
    view! { <Component2/> }
}

#[component]
fn Component2() -> impl IntoView {
    view! { <Component3/> }
}

#[component]
fn Component3() -> impl IntoView {
    view! { <Component4/> }
}

#[component]
fn Component4() -> impl IntoView {
    view! { <Component5/> }
}

#[component]
fn Component5() -> impl IntoView {
    view! { <Component6/> }
}

#[component]
fn Component6() -> impl IntoView {
    view! { <Component7/> }
}

#[component]
fn Component7() -> impl IntoView {
    view! { <Component8/> }
}

#[component]
fn Component8() -> impl IntoView {
    view! { <Component9/> }
}

#[component]
fn Component9() -> impl IntoView {
    view! { <Component10/> }
}

#[component]
fn Component10() -> impl IntoView {
    view! { <Component11/> }
}

#[component]
fn Component11() -> impl IntoView {
    view! { <Component12/> }
}

#[component]
fn Component12() -> impl IntoView {
    view! { <Component13/> }
}

#[component]
fn Component13() -> impl IntoView {
    view! { <Component14/> }
}

#[component]
fn Component14() -> impl IntoView {
    view! { <Component15/> }
}

#[component]
fn Component15() -> impl IntoView {
    view! { <Component16/> }
}

#[component]
fn Component16() -> impl IntoView {
    view! { <Component17/> }
}

#[component]
fn Component17() -> impl IntoView {
    view! { <EndComponent/> }
}

#[component]
fn EndComponent() -> impl IntoView {
    view! {
Test
 }
}

Expected behavior
Only a minimal change in performance, as in the end the components should have no influence on the performance of the application.

In case you have time to test this before I do: Is it something to do with components or with function calls? ie., if you remove the component macro on all your components and call them as functions ({Component()} instead of <Component/>) is there any change?

Okay, so I ran your example locally.
#[component] vs function calls
With #[component], I get 19k rps:
╰─ rewrk -d 10s -c 10 -h http://<IP_ADDRESS>:3004
Beginning round 1...
Benchmarking 10 connections @ http://<IP_ADDRESS>:3004 for 10 second(s)
  Latencies:
    Avg      Stdev    Min      Max
    0.52ms   1.11ms   0.13ms   150.82ms
  Requests:
    Total: 193978  Req/Sec: 19397.95
  Transfer:
    Total: 806.02 MB Transfer Rate: 80.60 MB/Sec

With function calls, I get 91k rps:
╰─ rewrk -d 10s -c 10 -h http://<IP_ADDRESS>:3004
Beginning round 1...
Benchmarking 10 connections @ http://<IP_ADDRESS>:3004 for 10 second(s)
  Latencies:
    Avg      Stdev    Min      Max
    0.11ms   0.05ms   0.03ms   6.34ms
  Requests:
    Total: 914689  Req/Sec: 91468.30
  Transfer:
    Total: 1.44 GB Transfer Rate: 147.59 MB/Sec

I'll paste what I mean by "with function calls" at the bottom of this for clarity.
Diagnosis
I think the core issue here is that the current SSR + hydration model does not treat components as zero-cost: i.e., they are assigned hydration IDs, which need to be created and stringified, they have markers showing where they end, they are converted into an enum because the whole view tree is dynamically typed Views, etc.
This is not really possible to change/fix correctly without pretty much rewriting the whole rendering system. Luckily, I'm actually in the middle of doing that for the 0.6 release, and am making good progress. I did the same test against that release and I do not anticipate this being an issue there.
But also, ... what?
So, granted that there's a large difference between 91k rps and 19rps. I tried to see how far I'd have to push it to get all the way down to the 9 rps you reported.
I built an example that is 1024 EntryComponents wide (i.e., instead of the 8 in the example it's 1024) and the same 18 components deep. I get 147 requests per second rendering that page with 18,432 components. So I wonder if, alongside the cost of components, there might be something else going on in your app.

My function-call version:
pub fn App() -> impl IntoView {
    (
        EntryComponent(),
        EntryComponent(),
        EntryComponent(),
        EntryComponent(),
        EntryComponent(),
        EntryComponent(),
        EntryComponent(),
        EntryComponent(),
    )
}

fn EntryComponent() -> impl IntoView {
    Component2()
}

fn Component2() -> impl IntoView {
    Component3()
}

fn Component3() -> impl IntoView {
    Component4()
}

fn Component4() -> impl IntoView {
    Component5()
}

fn Component5() -> impl IntoView {
    Component6()
}

fn Component6() -> impl IntoView {
    Component7()
}

fn Component7() -> impl IntoView {
    Component8()
}

fn Component8() -> impl IntoView {
    Component9()
}

fn Component9() -> impl IntoView {
    Component10()
}

fn Component10() -> impl IntoView {
    Component11()
}

fn Component11() -> impl IntoView {
    Component12()
}

fn Component12() -> impl IntoView {
    Component13()
}

fn Component13() -> impl IntoView {
    Component14()
}

fn Component14() -> impl IntoView {
    Component15()
}

fn Component15() -> impl IntoView {
    Component16()
}

fn Component16() -> impl IntoView {
    Component17()
}

fn Component17() -> impl IntoView {
    EndComponent()
}

fn EndComponent() -> impl IntoView {
    view! {
Test
 }
}

Thank you. Yes probably something else is broken - check my code later :)
Important for me is: When do you recommend using components and when function calls?

Important for me is: When do you recommend using components and when function calls?

To be honest, this is the first time anyone's raised a performance concern about components in this way, so I have not thought much about it: I just thought it was a worthwhile comparison for the purpose of the question.
I'd generally recommend just using components, because of the support for named arguments (which Rust doesn't otherwise have) and the ability to use them without breaking out of the flow of the view macro. But for zero-prop components like the ones in the example above, maybe it's not a big deal.
Of course if you do find that the current component model is causing your performance issue then switching to functions may be a good solution until 0.6.

I understand.
Our project is very massive with thousands of lines of code, we are building a complete store system in Leptos.
A lot is from scratch, therefore a lot of components :)
The biggest and most difficult things are already done and that's why we did some benchmarks.
I'm curious to see what you think of the result. We will probably need a few more months before we do a production deploy.


Release new version without print statements

I've noticed there were print statements. They were removed from the source, but as of today, no new version was released. Is it possible to release a new version without the print statements?
https://github.com/eir-forsakring/aws-lambda-haskell-runtime-wai/commit/2f7b4007a0149ef6562517faca94201fff8d6e0a#diff-7e4d7ac297643df5f57ed72e9fc6e20c

"Working: Something went wai"

Sorry about that! I honestly forgot this was up on Hackage, since we're still using a git dependency.
I'll release a new version in a few minutes.

Alright. Version 1.0.1 is up on Hackage. That also includes your query string hotfix. Thanks again!

@dnikolovv https://github.com/theam/aws-lambda-haskell-runtime/pull/87 was merged :)


Table or more readable output

It would be nice to have a more readable output for scanning directories/multiple binaries.
Some ideas:

If a given mitigation is not enabled in all binaries, list it only in a summary that all binaries lack those mitigations
Display output in a table, so that column headers would be mitigations and rows would be values
Consider adding a prettified json output

@disconnect3d, great ideas! Personally I have been using the json output to feed into a centralized webapp for doing better trend analysis when looking at platforms as a whole but I can easily migrate some of that logic into checksec itself and present it locally as you mentioned.
As far as prettified json output, I have been using jq in testing but relying on external utilities is not ideal and the additional option for human-readable json should be straight forward so that will also be included in addition to some commits planned for merging into master this week.

Prettified json output has been included with https://github.com/etke/checksec.rs/commit/ec5694f196e183ba64024f1c5e44664430dcc787 and https://github.com/etke/checksec.rs/commit/e5cdbd19bc1555297f4b550f4c82e8346cca13de
Leaving the issue open untill table output and mitigation statistics requests are fulfilled.


Delete the SHA1 for retired testVersions

These were a bit confusing, and it seems easier to simply git log -p within the file
we're interested in.

wholehearted support.
I believe this would be a good time to delete the comments in passio_test.go about testVersion (I knew I saw those somewhere, but couldn't find them until I grepped  for testVersion just now to make sure nothing was missed

Oooh, yepp. Let me do that in this PR.

Updated.

Seems good. I hope you don't mind if I just merge that.

Nah, that's great, thanks.


Add flushallAsync as a cluster-level command

This (eventually) closes #1359 by introducing flushallAsync as a cluster-level command. This is a draft and I know there are a couple big things I still need to address.
In particular:

I'm struggling to figure our where any of the methods in RedisAdvancedClusterCommands are actually implemented, and would certainly appreciate a hint there.
I'm having some trouble getting tests to run locally, and haven't yet found documentation explaining how to get started. I'd also welcome a hint here.

Thanks!

Care to convert the draft PR into a proper pull request?

Done, but please let me emphasize that I haven't been able to run tests locally and am only a little confident that I've done the right thing. Is there somewhere I can read more about what needs to happen to get tests going?

I haven't been able to run tests locally

Well, it looks like I just had to complain about it. I just tried it again and it worked. Pardon me!

Thank you for your contribution. That's merged, polished, and backported now.


How best to write data for easy pasting into Excel

I'm trying to implement an 'Export to Clipboard' feature in my app with the below code:
navigator.clipboard.writeText(XLSX.utils.sheet_to_html(ws));

This makes it easy for the values to end up in the correct cells when Pasting (Ctrl-V) in Excel (windows app).
However, the cell sizing becomes strangely inflated (in height), and the only remedy is to 'format as text' in Excel.
pasted - directly:

select: 'keep text' in the paste context menu:

Question
is there a way to copy/paste the data so that it ends up as a 'native paste' without having to especially select 'keep as text' from the context menu (essentially skipping one step in the process)?

Answer
It appears that Excel natively respects 'tab delimited'. So to get a native 'copy/paste' format, use the following code:
        navigator.clipboard.writeText(XLSX.utils.sheet_to_csv(ws, { FS: "\t" }));

You can also use sheet_to_txt (which uses the tab character as the field separator)

Demo https://docs.sheetjs.com/docs/getting-started/demos/clipboard#browser-writing-copy


Special

introduce
This is a modified version, in order to support the latest version of boost,and cross platform as well as  modular development.
Requirements

C++ compiler with good C++17 support (tested with g++>7.1)
Any version of boost library
CMake for build examples
Linking with tcmalloc/jemalloc is recommended for speed.
Now supporting VS2019 with limited functionality (only run-time check for url is available.)

Examlpe
Static reflection
  app.route_dynamic("/list")([]() {
	List list=json::parse(R"({"user":{"is":false,"age":25,"weight":50.6,"name":"www"},
            "userList":[{"is":true,"weight":52.0,"age":23,"state":true,"name":"wwzzgg"},
	    {"is":true,"weight":51.0,"name":"best","age":26}]})").get<List>();
	json json_output=json(list);
	return json_output.dump(2);
  });

server rendering
  CROW_ROUTE(app,"/")([] {
	char name[64];gethostname(name,64);
	mustache::Ctx x;x["servername"]=name;
	auto page=mustache::load("index.html");
	return page.render(x);
  });

JSON Response
CROW_ROUTE(app, "/json")([]{
    crow::json x;
    x["message"]="Hello, World!";
    x["double"]=3.1415926;
    x["int"]=2352352;
    x["true"]=true;
    x["false"]=false;
    x["null"]=nullptr;
    x["bignumber"]=2353464586543265455;
    return x;
});

Arguments
CROW_ROUTE(app,"/hello/<int>")([](int count){
    if (count > 100) return crow::Res(400);
    std::ostringstream os;
    os << count << " bottles of beer!";
    return crow::Res(os.str());
});

Handler arguments type check at compile time
// Compile error with message "Handler type is mismatched with URL paramters"
CROW_ROUTE(app,"/another/<int>")([](int a, int b){
    return crow::Res(500);
});

Handling JSON Requests
CROW_ROUTE(app, "/add_json").methods("POST"_method)
([](const crow::Req& req){
    auto x = crow::json::load(req.body);
    if (!x)
        return crow::Res(400);
    std::ostringstream os;
    os << x.dump();
    return crow::Res{os.str()};
});

Hello @asciphx, unfortunately this version of Crow is no longer being maintained. A few members of the community and myself are maintaining a separate version here. Feel free to contribute any changes you'd like to see there or let us know about any issues that might exist in that code.


fix train sft llama script

remove not exists directory

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: charles9304:x: beinggodbeinggod seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

thanks for the pull request, the issue has already resolved in https://github.com/alibaba/ChatLearn/commit/e1685fa0157a6ceba9c6c72dd72100ad44dd941b#diff-fe6e541f985e1ef4487aa12ea7c40492d7fbc16c09b29478d6b4fc234f072dfa

Thanks a lot.


Simple Process Tracking: Landlord Form Submission Review Flow

Overview
Frontend
Implement the Unit Specific Page - Housing Locator view (Figma).
Unit API
In  frontend/src/api/unit.ts create a approveUnit function that takes in a Unit id as a parameter that calls PUT /api/unit/:id/approve appropriately.
Functionality
If the user is an HL, and the unit is not approved, show the Pending Approval banner at the top and the Approve Listing button at the bottom.
When the Approve Listing button at the bottom is clicked:

Call approveUnit appropriately.
Hide the Approve Listing button
Show the Approval Confirmed banner at the top

Backend
Unit Approval Route
Implement the PUT /api/unit/:id/approve route (reference)
Acceptance Criteria

[ ] Unit Specific Page - Housing Locator view implementation
[ ] PUT /api/unit/:id/approve route
[ ] approveUnit API route function
[ ] Working landlord form submission review flow

Frontend can be started after #44 merges


Streaming responses back to the client should use a single nonce, to avoid possible reordering attacks

Already addressed


multi languages Email Template embededSample, hope this will helps

Sample, hope this will helps
const emailEditorRef = useRef([null]);
const [inviteTemplates, setInviteTemplates] = useState({
    items: [0, 1] // As many items in array as many editors you will get
    // Also you can use setInviteTemplates for dynamic
})

useEffect(() => {
    emailEditorRef.current = emailEditorRef.current.slice(0, inviteTemplates.items.length);
    console.log('emailEditorRef', emailEditorRef)
}, [inviteTemplates.items]);

const loadEditorEmail = (index) => {
    if(emailEditorRef && emailEditorRef.current && emailEditorRef.current[index] && emailEditorRef.current[index].editor){
        emailEditorRef.current[index].editor.addEventListener('design:updated', (data) => {
            emailEditorRef.current[index].editor.exportHtml((data) => {
                const { design, html } = data;
                //Your code ...
            });
        });
    } else {
        //Your code ...
    }
}

//This goes in your render function
{inviteTemplates.items.map((item, i) => (
    <div key={i}>
        <Editor
            key={i}
            ref={el => emailEditorRef.current[i] = el}
            onLoad={() => loadEditorEmail(i)}
        />
    </div>
))}

Originally posted by @xantos008 in https://github.com/unlayer/react-email-editor/issues/28#issuecomment-841818083

Hello @Aftabalamkhan120, we monitor this channel for documentation enhancements and bugs. Can you please elaborate more on the issue faced and provide a link for the documentation referred? Thanks

Since we have not heard back from you, we will now proceed to close this issue out. If you are still facing any issues, I request you to please create a new issue with the required details mentioned above. Thank you!


Fixed location permission issue which resulted in the application cra…

…shing.

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

support/src/main/java/edu/byu/support/activity/ByuLocationActivity.java, line 91 at r1 (raw file):

				requestLocationUpdates();
			} else if (grantResults[0] == PackageManager.PERMISSION_DENIED) {
				//googleApiClient.disconnect(); This will disconnect the client and will be taken care of at a later point.

Remove the "googleApiClient.disconnect(); from this comment

support/src/main/java/edu/byu/support/activity/ByuLocationActivity.java, line 192 at r1 (raw file):

	private void stopUpdatingLocation() {
		if(googleApiClient.isConnected()) {

CMD-OPT-L

Comments from Reviewable

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

Reviewed 1 of 1 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


[MLIR] Add tf.VarIsInitializedOp op and its canonicalization pattern

Add tf.VarIsInitializedOp op to the MLIR TF dialect along with a
canonicalization to erase it when its result is unused. This op has side
effects on resources but can still be erased if its result is unused.
Signed-off-by: Uday Bondhugula<EMAIL_ADDRESS>

@jpienaar for visibility.


Feat: Buttons when hovered have issue

Describe the feature
https://github.com/anuragverma108/SwapReads/assets/75419419/d98cfa9f-51fa-479a-bbc5-450e0c260922
The first two buttons, as shown in the video, need improvement, while the third button should be enhanced with the new feature.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@anuragverma108 Please assign this issue to me. I have reviewed the video and am ready to make the necessary improvements and add the new feature.


Add feature to distinguish nodes for different tests in one scenario

Need to create more flexible inventory

Not an issue, works correctly already


Store hidden items on the server to allow for device sharing

Option to store hidden items on the server, so multiple devices could link UUID and use the same shared list.
Some user store thousands of hidden items, so the solution for sync'ing needs to be smart enough not to constantly transfer all the list for every page load.
User wanting to use a shared list will need to sync up all their devices/browsers to the same uuid.
General idea on how to implement that:

Return hidden status for items when requesting data from the listing from the api action":"getinfo"
When hiding of showing an item, send a query to update the server. Store the created_at time stamp
When loading a page, send an api action:"gethiddenitems" with a parameter: "mostrecent": . The server would return up to 1000 items newer than mostrecent, ordered from the oldest to the newest. If there are more than 1000 items, they will be synched on the next page load.

Done.


Do you have any idea to publish the training codes?

Hi, do you have any idea to publish the training codes? Thanks.

No training involved in our work!


Particles without recoloring

Is there any way to have particles that are not recolored and just render normally? It seems that passing an empty array to addColors or skipping it results in all particles being rendered red.

@0x7fs assuming you're talking about using a DrawableShape you can set tint to false for that object

@DanielMartinus Ahh yes that was it. Thanks for the help!


Little detail with typography style alerts

@garronej https://github.com/InseeFrLab/onyxia-ui/blob/09436b48a4c1edcc7d10102bb497222c8e8bc05b/src/app/components/designSystem/Alert.tsx#L24-L37

Body 1  at the moment

Change to Subtitle 2

Done (long time ago)


Rewrite using mdast-util-find-and-replace

The same as remark-github recently did. Then we'll no longer do our thing in the parse phase, but after, as a transform.
See mdast-util-find-and-replace.

Done in https://github.com/vweevers/remark-autolink-references/commit/ab4176e93c48a27ca3decf1f833ee543ea48c528


FEATHER model

Hello, Is the FEATHER model suitable for directed graph embedding or other methods ?
Thanks in advance.

It works on directed graphs too.

However, our proofs in the paper consider undirected ones.


Add playground support for dotnet

It would be great if this could be extended to support .NET Languages (i.e. C#/F#/VB.NET) where instead of a Live preview in a browser it would just need to show the console standard output of the dotnet watch command.

Closing this in favor of the new CodeSwing, where I'll be implementing this in 👍


Project Image

Get the project image from the user
Copy the image to the current project directory
Change the image path to project image path

Successfully added


Add entity debug field

This will allow for a better implementation of
https://github.com/Unvanquished/Unvanquished/pull/2270
This has an Unvanquished counterpart too, because the intent was to modify entityState_t, and apparently entityState_t has to be kept in sync with playerState_t, and playerState_t lies in Unvanquished. Yep.

Companion PR to https://github.com/Unvanquished/Unvanquished/pull/2386, since its unlikely to be merged, let's close as we work to gear up for the 0.55 release


MongoDB CDC Source

Is your feature request related to a problem? Please describe.
We have supported handling mongodb cdc messages ingested via Kafka. We are going support mongodb direct cdc without message queue.
Tracking:

[x] basic functionality #14966
[x] add e2e test and integration test #15003

Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

Can we close this issue now?


Systems and Settings: "On this page" navigation links don't work

Fixes #8204 #7841
This PR enhances USLinks to automatically detect relative/absolute RS urls to properly use react-router's Link instead of an anchor element.

As part of this, can remove the usage of the anchor prop as well just for clean up, ie:
https://github.com/CDCgov/prime-reportstream/blob/af9421f48d571c0a1256478a0c13686f3c3af86d/frontend-react/src/pages/resources/legacy-page-content/ElrChecklist.tsx#L54

@etanb you're in luck because there was another ticket covering making all possible links to "just work" which in essence is just checking if the url is ours or not and using the appropriate component.

@stephenkao I don't see any way to tell sonar that the three instances of non-secure http urls is for testing purposes. Should I just remove those tests?

@stephenkao I don't see any way to tell sonar that the three instances of non-secure http urls is for testing purposes. Should I just remove those tests?

Nah, I think it's worth keeping those tests in -- we can ignore SonarCloud here :)

@jpandersen87 Mind rebasing on top of master?  I think there are minimal changes once this is up-to-date with latest 🙏


fix(action): naming mistake in JSON config

No problem, found it the hard way when using it in one project :D


TypeError: null is not an object (evaluating 'RNCImageEditor.cropImage')]

Question
I'm running into an issue that I cannot solve.  I can't find any examples of using a local file - advanced usage example uses http - but I don't know that that's the issue.  The local file URI I'm getting is from React Native Expo Camera.
One thing I noticed is the URI seems to be double URI encoded.  Running decodeURI doesn't solve this.  So I've had to hard code the expo cache.  The two characters that are URI encoded are:
%2540 - @
%252F - /
These chraceters are on either side of anonymous in the Expo Camera cache directory.
The end result is a file URI that looks like<EMAIL_ADDRESS>The crop data is something similar to the following - depends on the image.
{   "displaySize": Object {     "height":<PHONE_NUMBER>414062,     "width":<PHONE_NUMBER>871094,   },   "offset": Object {     "x":<PHONE_NUMBER>9743652,     "y":<PHONE_NUMBER>625,   },   "resizeMode": "cointain",   "size": Object {     "height":<PHONE_NUMBER>414062,     "width":<PHONE_NUMBER>871094,   }, }
My issue is that I'm getting a promise rejection error - I think it's actually a TypeError.

[Unhandled promise rejection: TypeError: null is not an object (evaluating  'RNCImageEditor.cropImage')]

node_modules/@react-native-community/image-editor/lib/ImageEditor.js:65:26 in cropImage

App.js:180:27 in handleCrop
App.js:197:6 in _callee3$

node_modules/regenerator-runtime/runtime.js:45:44 in tryCatch
node_modules/regenerator-runtime/runtime.js:271:30 in invoke
node_modules/regenerator-runtime/runtime.js:45:44 in tryCatch
node_modules/regenerator-runtime/runtime.js:135:28 in invoke
node_modules/regenerator-runtime/runtime.js:145:19 in
node_modules/promise/setimmediate/core.js:37:14 in tryCallOne
node_modules/promise/setimmediate/core.js:123:25 in
node_modules/react-native/Libraries/Core/Timers/JSTimers.js:152:14 in _callTimer
node_modules/react-native/Libraries/Core/Timers/JSTimers.js:200:17 in _callImmediatesPass
node_modules/react-native/Libraries/Core/Timers/JSTimers.js:473:30 in callImmediates

[native code]:null in callImmediates

node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:337:6 in __callImmediates
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:135:6 in
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:314:10 in __guard
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:134:17 in flushedQueue

[native code]:null in flushedQueue
[native code]:null in callFunctionReturnFlushedQueue

I modified https://github.com/react-native-community/react-native-image-editor/blob/master/lib/ImageEditor.js#L63 to match the following:
  static cropImage(uri: string, cropData: ImageCropData): Promise<string> {     console.log( 'Calling RNC Image Editor', uri, cropData )     return RNCImageEditor.cropImage(uri, cropData);   }
I used this modification to get the above URI and cropData code.
I don't know what I'm doing wrong.
Here is my system information.  In addition I'm using sublime text as my editor.  I'm not using xcode.
Expo CLI 3.1.2 environment info:     System:       OS: macOS High Sierra 10.13.1       Shell: 3.2.57 - /bin/bash     Binaries:       Node: 8.11.4 - /usr/local/bin/node       npm: 6.11.3 - /usr/local/bin/npm     IDEs:       Xcode: 9.2/9C40b - /usr/bin/xcodebuild     npmPackages:       expo: ^35.0.0 => 35.0.0        react: 16.8.3 => 16.8.3        react-native: ^0.59.8 => 0.59.10      npmGlobalPackages:       expo-cli: 3.1.2

I solved this error. My suggestion might not be related to your case since I am on RN 0.59.5. (NPM version of @react-native-community/image-editor is 2.0.0)
In my case I forgot to link the library.
react-native link @react-native-community/image-editor

I failed to mention that.  I had linked the library.  Thinking I had to link RNCImageEditor and not @react-native-community/image-editor, I unlinked the library.  Finding that I had properly linked the library the first time I had linked the library once again, to no avail.

Having an epiphany, I Googled around and found this:

But no native modules...
The most limiting thing about managed Expo projects is that you can't add in your own native modules without detaching and using ExpoKit. Continue reading the next question for a full explanation.
https://docs.expo.io/versions/latest/introduction/faq/#what-is-the-difference-between-expo-and

Prematurely closed this.  Further reading the docs made me think maybe Expo had a ImageEditor/cropping module I could use without ejecting.
https://docs.expo.io/versions/latest/sdk/imagemanipulator/

this bug is not fixed, yet

Any idea of how to fix this?

running npx pod-install fixed this for me.


graphman commands for interacting with POI dispute service

graphman addendum to allow an indexer to sync their data for arbitration.
Build
cargo build --bin graphman
How to run:

graphman requires that you have a valid GRAPH_NODE_CONFIG environment variable pointing to a configuration. You can find an example one in graph-node/store/test-store/config.simple.toml

export GRAPH_NODE_CONFIG=/path_to/graph-node/store/test-store/config.simple.toml

Submit your POI to the service:

graphman dump-poi dump -d $DISPUTE_ID -i $INDEXER_ID -s $SUBGRAPH_DEPLOYMENT  -h $DISPUTE_SERVICE_HOST -v

This will only work if the service recognizes the dispute as accepting POI and that the indexer can contribute to said dispute.

Once analysis has been completed on the POI you will be able to sync your entities

graphman dump-poi sync-entities -d $DISPUTE_ID -i $INDEXER_ID -s $SUBGRAPH_DEPLOYMENT  -h $DISPUTE_SERVICE_HOST   -v

This will only work if the service recognizes the dispute as accepting entities and that the indexer can contribute to said dispute.
Enhancements:

[ ] Remove flag for indexer_id and auto-populate by signing with graph-node
[ ] Expose an endpoint in the graph-node server that can invoke the functions in this PR when called by an arbitrator.
[ ] Allow graph-node to process tabular data without need of the service by using  something like https://github.com/pola-rs/polars
[ ] Instead of uploading the whole POI table, use a binary search on block range to compare to other indexers to find the earliest mismatch. Requires exposing an endpoint that indexers can use to query other indexers who are indexing a subgraph deployment.

I think this is missing files in node/src/manager/commands.
For the command line, it would be better to call this subcommand just poi so that you can write graphman poi dump ... and graphman poi sync .... Since what the commands do isn't entirely obvious, it would be good to have more code comments/help text that explains to users what these things do.


No ability to approve coin withdraw requests

I've run into a situation where I do not seem to be able to manually approve coin withdraw requests. I saw the fix that went in yesterday that returned the "Reject" button to the withdrawal detail admin  screen, so that's now showing up correctly, but the "Process" button is not appearing as I remember it did in the past.
Is there a rake task that should be running in the background to handle these automatically if the coin balance of the account is high enough to fulfill the withdrawal? I've confirmed that this happens on accounts with more than enough funds (withdrawal amount + tx fees).

This is an internal testing exchange, so it has been deployed and is running in Production ENV, but it is based on a personal testnet block chain, so that's why the values look so large.
Am I missing something fundamental, or is there another underlying issue I may be able to look for? I don't see anything (seemingly) amiss in the log files.

@brossi What was the issue with not Accepting RPC connections?

In my case it was a local firewall misconfiguration. Once I restarted all the daemons and made sure that ufw was set to allow connections on the RPC port used, incoming transactions were appropriately processed.


Getting text from globally translation file set

I have a file that loads the translation plugin as it's set on the example:
Vue.use(VueTranslate);

Vue.locales({
	spanish: {
		'hello-world': 'hola mundo'
	}
        pt-br: {
                'hello-wolrd': Olá mundo
});

But I how do I get the hello-world in pt-br translation, for example?
I tried something like this.$translate.text('hello-world') on my script but it just appear hello-world instead of 'hola mundoorOlá mundo` when it's set as pt-br.

Isn't there a typo? wolrd

@LeonardoSSev Thanks for the issue. As @tonn-talvik says, you have a typo there, please confirm if that fixes it. Thanks!

Thanks for that observation, @tonn-talvik and @javisperez . Although I had written wrongly, the problem wasn't solved after I fixed the typo.
But I got the answer for what I needed. The translated string can be got through this.t('hello-world'); inside


add debug gem

accidentally left in https://github.com/Energy-Sparks/energy-sparks/pull/3686 and isn't breaking tests there so closing this

appears to be intermittent failures with ruby 3.0 so re-opening this


distribute with Vim?

there is an issue open in the vim repository, to distribute more colorschemes with Vim. Would you kindly give your permission to distribute this colorscheme with Vim?
(it would help, if it actually supported termguicolor mode, see #66).

see https://github.com/tomasr/molokai/issues/2#issuecomment-139385571

I would still prefer an ACK anyhow.

Sure, no problem from me.


Hexen II only outputs player stats for one player

qstat does not return a list of all connected players and their stats when multiple players are connected to a Hexen II server. This works perfectly with other games like HexenWorld or Heretic II for example.
Multiple players are reported by $PLAYERS in server.txt so the output will look like: 2/8 (as it should) but only one $PLAYERNAME and stats for that player are reported in the output.
qstat -f hexen2.txt -Th header.txt -Ts server.txt -Tp player.txt -P|grep -v -e 'DOWN|TIMEOUT|192.168.|ERROR|HOSTNOTFOUND|^$'
contents of hexen2.txt:
h2s blackmarsh.hexenworld.org:26900
h2s blackmarsh.hexenworld.org:26901
h2s blackmarsh.hexenworld.org:26902
contents of header.txt:
,SERVER NAME,ADDRESS,PLAYERS,MAP,GAME
contents of server.txt:
$TYPE,$SERVERNAME,$HOSTNAME,$PLAYERS/$MAXPLAYERS,$MAP,$GAME
$PLAYERTEMPLATE
contents of player.txt:
,NAME,FRAGS,PING,TIME,
,$PLAYERNAME,$FRAGS,$PLAYERPING,$CONNECTTIME,
Actual output:
,SERVER NAME,ADDRESS,PLAYERS,MAP,GAME
Hexen II,Hexen II DM w/ bots,blackmarsh.hexenworld.org:26900,0/8,ravdm2,
Hexen II,Hexen II Coop Peanut,blackmarsh.hexenworld.org:26901,0/8,demo1,
Hexen II,Hexen II DM,blackmarsh.hexenworld.org:26902,2/8,demo3,
,NAME,FRAGS,PING,TIME,
,player1,0,0,    1m,
Desired output:
,SERVER NAME,ADDRESS,PLAYERS,MAP,GAME
Hexen II,Hexen II DM w/ bots,blackmarsh.hexenworld.org:26900,0/8,ravdm2,
Hexen II,Hexen II Coop Peanut,blackmarsh.hexenworld.org:26901,0/8,demo1,
Hexen II,Hexen II DM,blackmarsh.hexenworld.org:26902,2/8,demo3,
,NAME,FRAGS,PING,TIME,
,player1,0,0,    2m,
,player2,0,0,    1m,
On a separate note, I also noticed that no player ping is returned for Hexen II. Is this a limitation of qstat?

Tried to reproduce but the servers you listed don't have players.

Try port blackmarsh.hexenworld.org:26902. I am online now and will try to get a second player to log in.

quakestat -h2s blackmarsh.hexenworld.org:26902 -P will reproduce the issue.

It's only saying there is 1 player :(

I have a second player who just joined. Please also check here: https://hexenworld.org/qstat/
It shows 2 players connected but only lists one name.

quakestat -h2s blackmarsh.hexenworld.org:26902 -P
ADDRESS           PLAYERS      MAP   RESPONSE TIME    NAME
blackmarsh.hexenworld.org:26902          3/8   0/0     demo1   1307 / 4   bmiller
#0    0 frags    11m42s     Peach:Red       ws

Thanks for getting the players on the server for a test case.
Can you try the fix in #115 please.

That worked perfect! I now see 2 players :)
I do see that player ping always shows 0. Is this a limitation of qstat?
I was reading the 2.10 documentation and it says the following for $PLAYERPING: "The player's ping time to the server. This value is not available from Half-Life or Ghost Recon servers."

Looking at the Hexen 2 server source code it only provides the following items per player:

number
name
colors
connected time
address

So no ping is not part of the data the server sends I'm afraid.


Parallel flutter tests fail

STEPS TO REPRODUCE

cd dev/automated_tests/test_smoke_test
flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart
wait

EXPECTED RESULTS
All the tests pass.
ACTUAL RESULTS
Some of the tests fail with errors like this (logs edited slightly for clarity):
00:02 +0: loading /home/ianh/dev/flutter/dev/automated_tests/test_smoke_test/pass_test.dart
Warning: Tried to initialize from a previous compilation (file:///home/ianh/dev/flutter/dev/automated_tests/build/test_cache/build/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill), but
couldn't.
Error message was 'null:26853376: indicated size does not match file size at '.
Stacktrace included '#0      BinaryBuilder.fail (package:kernel/binary/ast_from_binary.dart:187:5)
#1      BinaryBuilder._indexComponents (package:kernel/binary/ast_from_binary.dart:584:15)
#2      BinaryBuilder.readComponent.<anonymous closure> (package:kernel/binary/ast_from_binary.dart:635:38)
#3      Timeline.timeSync (dart:developer/timeline.dart:163:22)
#4      BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:616:21)
#5      IncrementalCompiler.initializeFromDill (package:front_end/src/fasta/incremental_compiler.dart:1765:14)
<asynchronous suspension>
#6      IncrementalCompiler.ensurePlatformAndInitialize (package:front_end/src/fasta/incremental_compiler.dart:1227:28)
<asynchronous suspension>
#7      IncrementalCompiler.computeDelta.<anonymous closure> (package:front_end/src/fasta/incremental_compiler.dart:236:11)
<asynchronous suspension>
#8      IncrementalCompiler.compile (package:vm/incremental_compiler.dart:69:29)
<asynchronous suspension>
#9      FrontendCompiler.compile (package:frontend_server/frontend_server.dart:520:11)
<asynchronous suspension>
#10     listenAndCompile.<anonymous closure> (package:frontend_server/frontend_server.dart:1132:11)
<asynchronous suspension>
'.
This might be a bug.

The Dart team would greatly appreciate it if you would take a moment to report this problem at http://dartbug.com/new.
If you are comfortable with it, it would improve the chances of fixing any bug if you included the file /tmp/initialize_from.dillGKLDIH/initialize_from.dill.gz in your error report, but be
aware that this file includes your source code.
Either way, you should probably delete the file so it doesn't use unnecessary disk space.

Lowering hte priority as it not currently prioritized


Support hexadecimal / non-decimal numeric constants

Is your feature request related to a problem? Please describe.
I would like to be able to express integer constants in hexadecimal.  Our database has bit flag columns (sigh) and so working with hex constants is best in this case.
Example:
SELECT
    b.flag_column & 0x08 != 0 AS my_special_flag, -- FLAG_MY_SPECIAL_FLAG

Describe the solution you'd like
PG 16 added support for non-decimal numeric constants, like decimal numbers: https://www.postgresql.org/docs/16/sql-syntax-lexical.html#SQL-SYNTAX-CONSTANTS-NUMERIC
All are valid examples in binary, octal, and hex, from the docs:
0b100101
0B10011001
0o273
0O755
0x42f
0XFFFF

Also you are allowed to add some "comma separators" to the numbers using underscores for readability:
1_500_000_000
0b10001000_00000000
0o_1_755
0xFFFF_FFFF
1.618_034

It would be nice if RisingWave could support all the above latest PG 16 syntax.
Describe alternatives you've considered
The workaround seems to be to express the numbers in decimal.  However, the flag values are harder to read in such a case, and also don't align well with the original PHP code which expresses the constants using hexadecimal.
So it hurts readability in our case.
Additional context
No response

Thank you for sharing the new PostgreSQL 16 syntax. We are glad to support it as well.


1.4.2. Sync gets stuck on saving fw 3.29.1

Description:
Oneplus 7T Pro
(replicated on Samsung S8)
User reported Sync gets stuck on downloading data from fw 3.29.1 tag to Ruuvi Station
Actual:
Press sync button, process connects and starts downloading, when it gets to end it doesn't enable OK button
If user exists by back button on phone he will see no data was downloaded to graphs
Expected:
Syncs data successfully

Fixed in 1.4.2.
QA passed


Pinephone Pro bricked after tow-boot and failed write to internal storage

I successfully loaded tow-boot installed onto a microSD card and installed it to the SPI on the PPP.  I then used the hold volume up function to provide the "jumpdrive" feature so I could write to the internal storage.
Using Balena Etcher I wrote Manjaro Phosh to the exposed device but it failed part way through, I believe because of a dodgy cable.
Now when the device boots it just shows a red LED and vibrates continually.  Occasionally I can get it to behave like normal, hold vol up gets me a blue LED and hold vol down yellow LED but they don't function properly.  So it doesn't expose the internal storage or boot from the microSD.
Any help would be greatly appreciated.

I haven't luck with etcher, try dd command instead, that works for me (not messed with internal storage yet)...

After leaving the PPP unplugged for a couple of minutes and 10+ attempts, I managed to flash Manjaro + Phosh onto it and it now seems stable.  However the reason I was using tow-boot in the first place is still not working, waking from suspend.  Is there anything I need to do to the OS to get it to work?

However the reason I was using tow-boot in the first place is still not working, waking from suspend

Although nice that it works (normally), that's not the main reason you should be using Tow-Boot :wink:  Instead you should use it for full EBBR compliance, the great and "boring" booting experience and the possibility to boot UEFI-using distros (which hopefully most distributions will be in the near future).
Anyway you might have issues because of an (almost) empty battery. Make sure it's charged before you start flashing things.

Now when the device boots it just shows a red LED and vibrates continually.

That just means it tried to boot an OS but failed. Makes sense since you said flashing Manjaro failed halfway through. In these cases it's often best to just reflash the distro.
Calling your device bricked even though Tow-Boot was running fine is a bit harsh, it was just as much bricked as your laptop would be with a broken OS on it :wink: I suppose this issue can be closed, please make a new one for your suspend issue although I'd check with your distribution first to make sure it's not a distro-specific issue.

Although nice that it works (normally), that's not the main reason you should be using Tow-Boot wink Instead you should use it for full EBBR compliance, the great and "boring" booting experience and the possibility to boot UEFI-using distros (which hopefully most distributions will be in the near future).

While all that stuff is great, with the PPP I'm much more concerned about the fundamental issue of battery life at the moment!

Anyway you might have issues because of an (almost) empty battery. Make sure it's charged before you start flashing things.

I think this may have been the real issue, I didn't have the battery in at all and was just relying on the USB to power the device.  I didn't think that would be an issue.

That just means it tried to boot an OS but failed. Makes sense since you said flashing Manjaro failed halfway through. In these cases it's often best to just reflash the distro.

It shouldn't have been booting an OS at that stage, it should have been giving me time to select boot from microSD or expose the internal storage but it just immediately upon turning on showed a red LED (normal) and continually vibrated.

Calling your device bricked even though Tow-Boot was running fine is a bit harsh, it was just as much bricked as your laptop would be with a broken OS on it wink I suppose this issue can be closed, please make a new one for your suspend issue although I'd check with your distribution first to make sure it's not a distro-specific issue.

It's more akin to my laptop BIOS not giving me the option to boot from an alternate source and having a broken OS.
So I'm guessing the issue I was really raising is that the boot up doesn't work consistently if a battery is not present on the PPP?

it just immediately upon turning on showed a red LED (normal) and continually vibrated.

Ah I misunderstood, that sounds like a bug then. It should indeed have given you some time to press a button. I'm guessing it's indeed either an empty battery or it not being plugged in correctly and thus relying on USB power only.


Fix SyntaxError

So the latest commit includes the change where every "".format() was changed to f-strings.
But one of them returning a SyntaxError, so here's a pr to fix it :p

frick, should've tested, bleh
thanks


python3Packages.pytimeparse2: init at 1.7.1 python3Packages.mysql-connector: 8.0.29 -> 8.0.33 sqlite3-to-mysql: 1.4.19 -> 2.0.3

Description of changes
For the update of sqlite3-to-mysql I had to update mysql-connector and init pytimeparse2:

Changelog for mysql-connector: https://github.com/mysql/mysql-connector-python/blob/8.0.33/CHANGES.txt

For the "C" extension to work I had to add the corresponding libraries to setup.py.
I removed "Allow for clang to be used to build native extensions" patch, since upstream incoprorated the change here

pytimeparse2 : https://github.com/onegreyonewhite/pytimeparse2
sqlite3-to-mysql Changelog: https://github.com/techouse/sqlite3-to-mysql/blob/master/CHANGELOG.md

Info at maintainers: @neosimsim @turion
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 252135 run on x86_64-linux 1

10 packages built:

python310Packages.mysql-connector
python310Packages.mysql-connector.dist
python310Packages.pytimeparse2
python310Packages.pytimeparse2.dist
python311Packages.mysql-connector
python311Packages.mysql-connector.dist
python311Packages.pytimeparse2
python311Packages.pytimeparse2.dist
sqlite3-to-mysql
sqlite3-to-mysql.dist

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 252135 run on x86_64-linux 1

10 packages built:

python310Packages.mysql-connector
python310Packages.mysql-connector.dist
python310Packages.pytimeparse2
python310Packages.pytimeparse2.dist
python311Packages.mysql-connector
python311Packages.mysql-connector.dist
python311Packages.pytimeparse2
python311Packages.pytimeparse2.dist
sqlite3-to-mysql
sqlite3-to-mysql.dist

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:

python310Packages.pytimeparse2.dist:

A typo in pythonImportsCheck got detected.

python310Packages.pytimeparse2:

A typo in pythonImportsCheck got detected.

python311Packages.pytimeparse2.dist:

A typo in pythonImportsCheck got detected.

python311Packages.pytimeparse2:

A typo in pythonImportsCheck got detected.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 252135 run on x86_64-linux 1

10 packages built:

python310Packages.mysql-connector
python310Packages.mysql-connector.dist
python310Packages.pytimeparse2
python310Packages.pytimeparse2.dist
python311Packages.mysql-connector
python311Packages.mysql-connector.dist
python311Packages.pytimeparse2
python311Packages.pytimeparse2.dist
sqlite3-to-mysql
sqlite3-to-mysql.dist


Support spaces

With this PR it should be able to open notebooks with spaces in filenames and paths.

Thank you!


Primer::Beta::Blankslate does not allow custom call to action

The primary action, for example, from https://github.com/primer/view_components/blob/main/app/components/primer/beta/blankslate.rb, will always renders as a button link.
There does not seem to be a way to inject different content at the end of the blankslate container.
Example use cases:
A primary call to action that looks exactly like the example, but is backed by a form that submits to a POST request:
https://github.com/github/github/blob/8d3630c421ad803d77dabc524efbefb4252e2ab8/app/components/repos/security/policy_component.html.erb#L47-L56
A custom button that is defined on its own component:
<%= render Primer::Beta::Blankslate.new(spacious: true) do |component| %>
  ...
  <% component.with_primary_action(SomeCustomButtonComponent) %>
<% end %>

The Primer::BlankslateComponent allowed passing anything to its block so it would render inside.

Hi @heynan0 👋🏻 , can you share any more about the specific product launch or area where you have a need for this functionality so that we can better prioritize the enhancement request?

@lesliecdubs, the security policy page uses a custom primary action button:
https://github.com/heynan0/one-commit/security/policy
Code:
https://github.com/github/github/blob/8d3630c421ad803d77dabc524efbefb4252e2ab8/app/components/repos/security/policy_component.html.erb#L47-L56

@heynan0 We will be discussing this in our primer design patterns discussion and will follow up on next steps.

@heynan0 - does the example from https://github.com/github/github/blob/8d3630c421ad803d77dabc524efbefb4252e2ab8/app/components/repos/security/policy_component.html.erb#L47-L56 get you closer to a solution?
cc @camertron

@mperrotti unfortunately that example uses Primer::BlankslateComponent whereas @heynan0's question is about Primer::Beta::Blankslate. I believe custom CTA content was intentionally disallowed.

Oops! My mistake.

I'm going to close this for now. @heynan0, please feel free to re-open if this is still an issue for you :)


Support ray intersects mesh instances

This is a solution for https://forum.playcanvas.com/t/way-to-get-mesh-instance/4646 .
And the code is migrated from THREE.js 😃
Usage is learned from app.systems.rigidbody.raycastFirst:
var meshInstances = entity.model.model.meshInstances;
app.mouse.on('mousemove', function(e) {
    camera.camera.screenToWorld(e.x, e.y, camera.camera.nearClip, fromPoint);
    camera.camera.screenToWorld(e.x, e.y, camera.camera.farClip, toPoint);
    ray.origin.copy(fromPoint);
    ray.direction.copy(toPoint).sub(ray.origin).normalize();

    var results = app.systems.camera.raycastMeshInstances(ray, meshInstances);
    console.log(results);
});

The result:
[
    {
        index: Number, // the index of triangle based on IndexBuffer
        distance: Number, // the distance between ray.origin and the hit point
        point: Vec3, // the hit point of world
        localPoint: Vec3, // the hit point of local
        normal: Vec3, // the triangle's normal
        vertices: [Vec3, Vec3, Vec3], // the triangles's vertices
        meshInstance: meshInstance // the meshInstance of this triangle
    }
]

I've made a demo in https://scarletsky.github.io/engine/, you can open the console and see the performance and the result.

@mvaligursky + @slimbuck: This is our oldest PR (nearly 3 years!!). We need to figure out what to do with it.
My personal positive feelings are:

It's cool to be able to raycast without having to depend on the physics engine.
It's cool that this PR works with skinned mesh instances.
Code looks reasonably straightforward and clean.

And negative feelings are:

What about batched stuff?
What about morphed mesh instances?
Is performance good enough?

@willeastcott
This PR just scan all triangles of mesh, and its performance may not so good.


Automatically generate plantuml diagrams

Description
Automatically generate plantuml diagrams, updated existing diagrams to use automatically generated versions
Check List

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

After something is generated you should PR it probably as part of the workflow.

Hmm, need to figure out what is wrong with this, I'll break it up as suggested


Pen test of MiniTwit

Task 2 here:
https://github.com/itu-devops/lecture_notes/blob/master/sessions/session_11/README_TASKS.md

As we have a load balancer all the traffic go through, we do never have requests directly from the client to the different Docker workers


Use Blue Noise for dithering

Is your feature request related to a problem? Please describe.
#3090 (based on #1362) greatly improved perceptual quality of dark images, however at high zoom levels or in images with smooth gradients, the crosshatching becomes obvious and even distracting on some images.
Describe the solution you'd like
Adding a decode flag, or outright replacing the 8x8 ordered dithering with one of the fast solutions already in use for blue noise dithering https://psychopath.io/post/2022_07_24_owen_scrambling_based_dithered_blue_noise_sampling

Blue noise dithering and bayer dithering are actually the same algorithm (ordered dither). The only difference is replacing a bayer pattern matrix with a blue noise pattern matrix, for a free improvement in image fidelity.

cc0-licensed 2D blue noise patterns are available here:
http://momentsingraphics.de/BlueNoise.html


Entity buffer tables migration

Hello,
We are running the migration from On-Premise to Cloud and noticed that "Sales Order Entity Buffer" and "Sales Cr. Memo Entity Buffer" have ReplicateData = false.
Since they are not migrated we are not able to retrieve migrated records from API using the GET request.
Am I doing something wrong? Please elaborate on how this should be handled
Version: DE Business Central 19.1 (Platform 19.0.31889.33296 + Application 19.1.31886.32222)
API request: GET https://api.businesscentral.dynamics.com/v2.0/{tenantId}/{environtment}/api/v2.0/companies({companyId})/salesOrders
ER: all migrated records should be available from API
AR: request returns empty value
p.s. after modify is triggered it becomes available in API

Should move to https://github.com/microsoft/AL/issues/


24 wallets with airdrop hunter

Related Safe Addresses
0x06f328725c02888df24385aaabc5fa1fea619394
0xda43394f4c403df53e95865b1a2659039ecdb2a2
0xf2b7195805e7c1e66775d811ebc02d9b83ab54e5
0x8ac00ae8db651c46a7e35263ef0e4350b22ffe68
0xf4f31dae77842165fef83abdc902337dad6169e0
0xd6251a28d17b53c4d59ee85fceef992ca3420c9e
0xe6f0f92e0a0b672fa7293a89f70baa6bcf77d087
0xef7a277dc145410084ed9a31f7b20437298e8bd4
0x69482418ded8ba0b2b2f3fdb93210895497f13e7
0x728708ed43821fc8abf4f94d0b8bf98325923355
0x5c017dcedd52743b86711fd8bf39f4bc43393954
0x716c65a6f1d6bdc17ec2bbfc2801466885b69010
0x1cfbbfc0a2a4bfcece1e7a0cad2647c1d99a1fdd
0x770e1d9628e722f9c101fe63f2c5fa87b6433805
0x79b5278867e3d33229fd7956a29b6371219c7e9c
0xe7f5320c28212a74a2ab038fec940716d71ddaf2
0x727c7f0488ddbd0b520be2a3c3a9b1ccf993d2f3
0x7b03ED7c2c748E19DA0B455E2B96Ebf189e00208
0x24161ECeA12F4c0535393e958Ef5a186776bab0e
0x06F8345Ea88dB23858cD1d4c585efcfA65CD5dfe
0x593FC161559405253d9b80D0462f0fAd2272fAD2
0x4a6fB0f864313BBc5303A006516b3C0299f3332d
0x4E020272C031121d7bcF6b2eEfDc34AEd1b611Ce
0x7eF74555c44d103710a2Df9554D61BfbD14A4Be7
Reasoning
initial account:  0xed6fd1c824c7269e1f493fb9ad802f049b67760f   this account creat 9 safe wallets then send eth to 0xa6e087A55837f10B6C01480991C70f62D42C585C ,  then use second address create  15 safe wallets. it is clear that this guys is airdrop hunter.  All safe addresses are just for airdrop and no more transcation. Same amount of tokens from these accounts.
Methodology
just discovered by etherscan and excel , it is so clearly for this airdrop hunter.
Safe Address
0x4c4682F81A95F6D76444e3ea20753AD5B7d643b4

We haven't received any further information on this ticket and therefore deemed this submission invalid.
Unfortunately just the pure fact that Safes...

were created by the same address
have the same owner
conducted the same transactions
received assets from the same address

... is not enough reasoning for a valid submission, as there are legit user behaviour leading to such as well (relayer, scripts, power users, exchanges)
This submission didn't provide sufficient indicators to convince the team that there is some targeted airdrop farming behind the provided addresses. As per the rules, when in doubt we will default in favor of the airdrop recipients in order to not risk any false positives when sorting out airdrop hunters.


Improve documents

add links to related projects
use actual results of code in the documents instead of writing them by hand

:+1:


[Enhancement, Help needed] Add parsing for german, french and other languages.

Hello,
it would be cool if some people could help me with other language translations for parsing.
The current Pull Request #475 adds german and french for signature type.
Mfg Kill4Free

I can help with Simplified Chinese translation. (actually did it before via changing source code on my own server)

:heavy_check_mark: Issue resolved
This issue was resolved by the commit(s) and/or the comments above.
It will be auto-closed with the upcoming release ( merge into master branch). Please check the attached Milestone information.
Many thanks to all participants/contributors for the helpful comments! :+1:
:information_source: Please reopen/comment this, if you have problems/questions about it.

Auto-generated response


showShortTop() / longTop() shows on center

Expected behaviour
Should show on top
Actual behaviour
Shows on center
I'm seeing this behaviour on

[x] iOS device
[x] iOS sim
[x] Android device
[x] Android sim

Hardware models
Example: Samsung Galaxy S6 Edge, iPhone 6
OS versions
Example: Android 5, iOS 9.3
I'm not a dummy, so I've checked these

[x] It happens on a fresh Cordova CLI project as well.
[x] I'm waiting for deviceready to fire.
[x] My JavaScript has no errors (window.onerror catches nothing).

   window.plugins.toast.showShortTop($scope.trans.LINK_COPIED_TO_CLIPBOARD);


GFX

Add routines for :

Sprites
Text output
Scrolling
Palettes

Done so far:

vdc initialization
BAT size computation
various helper macros

Todo (short term):

copy data to VRAM
font printing routines


Order from xchange-core should have cost and fee ticker

I was evaluating streaming api for couple of exchanges.
StreamingTradeService is supporting stream of orders and user trades. However I am missing couple of key fields:

cost of each user trade
cumulative cost of executed order
fee ticker
raw data for additional data (

Basically cost of user trade is price * cost. However exchanges round the cost of the trade based on theirs rounding policy.
Number of decimal places also varies between different currencies. To get accurate value we should map cost if available from exchange api.
For example from Kraken:
price = average price order was executed at (quote currency)
cost = total cost of order (quote currency)
fee = total fee (quote currency)
vol = volume (base currency)
From Binance (for order):
vol = volume of order (base currency unless viqc set in oflags)
vol_exec = volume executed (base currency unless viqc set in oflags)
cost = total cost (quote currency unless unless viqc set in oflags)
fee = total fee (quote currency)
price = average price (quote currency unless viqc set in oflags)

The same goes for Order. But it is even more evident, because total cost in an order is sum of cost of each trade. But when you take into account that exchanges round cost for each trade, it is impossible to get calculate the exact cost of order.

Fee ticker is another interesting value. Sometimes you can burn other tokens for fee purposes (BNB on binance). It is very important to know the currency of the fee amount.

For above reasons we use mostly raw api from exchange without xchange core mapping. To get additional data from a trade. But for xchange-streaming (KrakenStreamingTradeService) you cannot get Raw value from Api. You should have the possibility to have raw and mapped stream.

I have similar use cases and prefer to pick up the raw value in many cases, I tend to just create a new instance of KrakenStreamingService() directly and subscribe doing something like
final String channelName = KrakenSubscriptionName.trade + KRAKEN_CHANNEL_DELIMITER + p.base.toString() + "/" + p.counter.toString(); streamingService.subscribeChannel()

Yes. There can be a "hack" for each specific exchange going around xchange-api. But I would prefer more generic solution.
Another (additional) solution is to add raw Object field to Trade, Order, Balance? with the raw value from exchange. This will make it possible to get ALL additional fields from the exchange. Like extra statuses, order sub types (huobi: buy-market, sell-market, buy-limit, sell-limit, buy-ioc, sell-ioc, buy-limit-maker, sell-limit-maker, buy-stop-limit, sell-stop-limit, buy-limit-fok, sell-limit-fok, buy-stop-limit-fok, sell-stop-limit-fok), timeInForce, stopPrice, ... etc ...

Yes, this is the standard approach. Lots of exchanges have getRaw... methods on the StreamingMarketDataService/StreamingTradeService/etc that expose the exchange specific DTOs.
I accept that these will not always be fully up to date with changes in the raw JSON from exchanges, but at the same time it doesn't seem to be much harder to update those DTOs (even if it's via a classpath override in your project while waiting for the XChange PR to be merged) than to work with the raw JSON in your own project.

@badgerwithagun so I actually had another thought on this. Didn't realize enough other folks were doing it to warrant it but I think instead of getRaw.. returning a type that has any exchange specific resemblance, we should either have getRaw which returns JsonNode or have getOrderbook, getTicker, getTrades all which return JsonNode as part of the interface.
I don't see as much value in having a getRaw that still massages the message into an exchange specific message which requires maintenance. This is how I have implemented the code in my workspace.

@earce I prefer getRaw interface instead of JsonNode. Much much better type safety and easier api usage. Both approaches require maintenance. If one user get's an error and fixes raw pojo, then you have a solution for everybody (after simple compile fix) ... If you have JsonNode every developer must do their magic on their own and getting sense of api for each exchange.
But lets focus on the original issue. This is promoting couple of fields to a common interface (order cost, trade cost & fee ticker). This data is common in api on most exchanges.

@matejsp I would make the argument that for getRaw your API usage is not any easier if each exchange has its own object implementation, it's not very generic. But I see the case for what you're describing, unfortunately the release cadence isn't always fast enough to depending on for a fast moving system.
As for promoting these fields I would have to leave that to @badgerwithagun :)

I for one don't understand why you return fees for all symbols, the maker and taker are exchange specific, but not coinspecific and what about the withdrawfee? Havent checked the whole project yet, but at first glance couldn't find it

@ufotje This is not always correct. Fees can be also market specific.
For example on kraken fee for stablecoins trading is different than crypto trading fee.
https://www.kraken.com/features/fee-schedule


GenerateDownloadReport  job adds duplicate entries

This is fixed in the new downloadlookup to check for duplicates.
https://github.com/NuGet/NuGet.Services.Metadata/commit/f18a03f4f63fdf5cfe216002ee49b6463f4cb945


page Creating custom presets #567 fix

Thanks for taking care of that issue which has dropped from our attention. I manually merged your change to our sources (giving proper credit) but do not want to merge your pull request because it contains other files in a subdirectory .idea which we do not want to import.


Change app name demo-app into app or twiddle

It would be even better if the user could specify.

true. Maybe parse a minimal version package.json

this sounds like a relatively simple thing now we have twiddle.json

Hey Gaurav, I would like to work on this issue.

@leomeira Thanks!

I'd be careful with this considering the fact that addons actually need to know the app name so making it variable is probably not a good idea (or we'd have to write a custom resolver...)

Addons that rely on knowing the app name except via modulePrefix are buggy.

@Gaurav0 that may be but during the build process anything in the app directory of an addon is namespaced to the app name. If we want #349 to work we need a consistent app (module) name.

I see. In that case let's agree on app and keep it simple?

:+1:

The app name was changed but ideally we make this backwards compatible. This required

[ ] The addon-builder to use variable app names
[ ] The UI to use variable app names

We may also choose NOT to do this, based on:
https://github.com/ember-cli/ember-twiddle/pull/394#issuecomment-208912214

It doesn't break imports that use relative urls. We never made 'demo-app' name public.

closed by #396


Fix typos.

form TensorFlow → from TensorFlow
libraries than can be → libraries that can be

[x] This PR fixes a minor issue (e.g. typo or small bug) or improves the docs (you can dismiss the other checks if that's the case).

Codecov Report

Merging #1595 (86372e3) into main (b391239) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1595   +/-   ##
=======================================
  Coverage   82.75%   82.75%
=======================================
  Files          68       68
  Lines        5583     5583
=======================================
  Hits         4620     4620
  Misses        963      963

Continue to review full report at Codecov.

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


ImportError: libpython3.10.so.1.0: cannot open shared object file: No such file or directory

When i try to run
python3 bin/infer.py --output-dir infer/demos --model-name valle --norm-first true --add-prenet false --decoder-dim 1024 --nhead 16 --num-decoder-layers 12 --text-prompts "KNOT one point one five miles per hour." --audio-prompts /e3/Debasish/VALL_E/vall-e/data/libri2/248-130644-0011.wav --text "To get up and running quickly just follow the steps below." --checkpoint exp_dir/epoch-100.pt
It's throwing an error like ImportError: libpython3.10.so.1.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/e3/Debasish/VALL_E_lifeteing/valle/egs/libritts/bin/infer.py", line 37, in
from icefall.utils import str2bool
File "/e3/Debasish/VALL_E_lifeteing/icefall/icefall/init.py", line 3, in
from . import (
File "/e3/Debasish/VALL_E_lifeteing/icefall/icefall/decode.py", line 20, in
import k2
File "/e3/Debasish/VALL_E_lifeteing/valle_lifeteing/valle_lifeteing/lib/python3.10/site-packages/k2/init.py", line 23, in
from _k2 import DeterminizeWeightPushingType
ImportError: libpython3.10.so.1.0: cannot open shared object file: No such file or directory

I ran into this issue also, something was odd with my anaconda instalation and I tried to run it on plain Windows also.
I recommend either using WSL directly and make sure to use the only the linux filesystem (not the mounted windows partitions), or in case you're on linux already, do a clean reinstall of anaconda and your python env.
Also make sure to follow the instructions in the readme precisely.
In case it helps; sharing a couple of Issues I ran into initially: https://github.com/lifeiteng/vall-e/issues/105

Thanks for replying @RuntimeRacer . I have already rectified this issue by downgrading python3.10 to 3.8 (anaconda env), and seperately built the K2 package on my basis of my CUDA Version.
Hoping if anyone gets this issue again they can follow up this conversation and can rectify there.

Thanks! so i am closing this issue!!


two storage versions are listed

[Enter feedback here]
Step 3, b
https://docs.microsoft.com/en-us/windows-server/failover-clustering/deploy-cloud-witness#to-create-an-azure-storage-account
There are two options in azure, Storage(general purpose v1 ) and StorageV2 (general purpose v2) listed.

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

ID: 7e6da99e-a148-b5ea-224d-8a4c48604945
Version Independent ID: a6a90a1f-870c-3501-ce6e-fbf52f802dfb
Content: Deploy a cloud witness for a Failover Cluster
Content Source: WindowsServerDocs/failover-clustering/deploy-cloud-witness.md
Product: windows-server
Technology: failover-clustering
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

#assign:IngridAtMicrosoft
gh issue comment 4718 -b #assign:IngridAtMicrosoft

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Discord channel for OSX/LINUX

I have been following https://github.com/runelite/runelite/issues/6482#issuecomment-616189834
for a while and I think it would be a good idea that all the users that are contributing could join this suggested OSX/LINUX discord channel
I am not a programmer but I would happily test any build and report back. I am sure many people would also love to do so!
Lets come together 😃

This is better discussed in discord itself.


Tailwind CSS support

Check for existing issues

[X] Completed

Language
Tailwind CSS
Tree Sitter parser link
No response
Language server link
https://github.com/tailwindlabs/tailwindcss-intellisense/tree/master/packages/tailwindcss-language-server
Misc notes
Hope to be like Tailwind's VS Code plugin: https://github.com/tailwindlabs/tailwindcss-intellisense
Feature:

Autocomplete ( with color preview and properties details)
Linting
Hover Preview

Is there TailwindCSS support?

There's no Tailwind CSS support yet.

+1. Buzz kill. Started using Zed, loved it. Then hit landmine -- no Tailwind intellisense. Stops me dead in my tracks. I'll stay subscribed and switch over after Tailwinds support added. Otherwise fantastic editor!!

Would love to see this come to Zed. Definitely would make the switch easier

please be considerate and only write a comment if there's something meaningful to add
for showing interest is enough to react with a 👍🏻 to this issue, writing +1 comments won't make this development go faster
these comments don't add any value to the issue, and we don't want to have to lock the issue to avoid the noise
with that said, it is on our radar and it will be tackled when priorities allow it

It would be good if Zed supported other locations of the tailwind.config file than project root - at the moment I have this file "buried" in several folders and autocomplete does not work at all 🤷♂

Or you can have a monorepo project with more different tailwind.config files.

@widersky Our experimental Tailwind autocomplete support has not shipped yet, you can try it out in our next preview build this Wednesday or on stable next week 😄

Just tried it, it works in .html files and in css selectors when using it with @apply. But not in svelte/vue files.
Can I fix this with a setting somehow?

@widersky Our experimental Tailwind autocomplete support has not shipped yet, you can try it out in our next preview build this Wednesday or on stable next week 😄

I'm wondering if this will also work in JSX/TSX files, as opposed to just HTML/CSS?

@widersky Our experimental Tailwind autocomplete support has not shipped yet, you can try it out in our next preview build this Wednesday or on stable next week 😄

I'm wondering if this will also work in JSX/TSX files, as opposed to just HTML/CSS?

I try on tsx it work fine.

@ForLoveOfCats tried and didn't work when config file was inside another folder 🤷♂

Hey all, I'm going to close this issue since initial support is now in preview now.  We're bound to have some bugs.  If you're running into anything, please open new issues so we can track those separately.

@patrikengborg I've created a separate issue for Tailwind in Svelte components here #2029, so it can be tracked there.

Updated to 0.103.1 which supposedly has this feature but as seen above it does not work with https://www.solidjs.com
Can it be made to work there too please? Solid uses class= syntax, maybe thats why it does not work?
The file/line I am editing above is this.

I've been using the preview for a few weeks now, and I still can't get the language server working. It simply doesn't appear in the list of language servers.
Using the default NextJS project config.

Do we need to do something to enable the TW language server? So far in TSX files I'm not getting any completion / suggestions. Further, Library/Application Support/zed/languages/tailwindcss-language-server is empty. I tried manually building it from source and adding the binary in that dir but it seems to get overwritten / emptied out on start up.


[BUG] Huge JVM Heap Usage

Describe the bug
We are suffuring a huge jvm heap usage. Seemed like many fasterxml class in jvm and can not be GC normally.

Related component
Search
To Reproduce
Run OpenSearch for a while
Expected behavior
GC normally.
Additional Details
OpenSearch 2.14.0
128G Memory 64G JVM
/usr/share/opensearch/jdk/bin/java -Xshare:auto -Dopensearch.networkaddress.cache.ttl=60 -Dopensearch.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -XX:-OmitStackTraceInFastThrow -XX:+ShowCodeDetailsInExceptionMessages -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dio.netty.allocator.numDirectArenas=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Djava.security.manager=allow -Djav.locale.providers=SPI,COMPAT -Xms64g -Xmx64g -XX:+UseG1GC -XX:G1ReservePercent=25 -XX:InitiatingHeapOccupancyPercent=30 -Djava.io.tmpdir=/tmp/opensearch-15234535429733417150 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/lib/opensearch -XX:ErrorFile=/var/log/opensearch/hs_err_pid%p.log -Xlog:gc*,gc+age=trace,safepoint:file=/var/log/opensearch/gc.log:utctime,pid,tags:filecount=32,filesize=64m -Djava.security.manager=allow -Djava.util.concurrent.ForkJoinPool.common.threadFactory=org.opensearch.secure_sm.SecuredForkJoinWorkerThreadFactory -Dclk.tck=100 -Djdk.attach.allowAttachSelf=true -Djava.security.policy=file:///etc/opensearch/opensearch-performance-analyzer/opensearch_security.policy --add-opens=jdk.attach/sun.tools.attach=ALL-UNNAMED -XX:MaxDirectMemorySize=34359738368 -Dopensearch.path.home=/usr/share/opensearch -Dopensearch.path.conf=/etc/opensearch -Dopensearch.distribution.type=rpm -Dopensearch.bundled_jdk=true -cp /usr/share/opensearch/lib/* org.opensearch.bootstrap.OpenSearch -p /var/run/opensearch/opensearch.pid --quiet

https://github.com/FasterXML/jackson-core/issues/1271
https://github.com/FasterXML/jackson-core/issues/1266

OpenSearch 2.14 was released using Jackson 2.17.0. It is very possible that the issue here is related to the Jackson issue(s) posted above, which were fixed in Jackson 2.17.1.
We've already incorporated the new Jackson version (#13817) for the next release. We should probably consider patching the 2.14 release if this is as serious as it looks.

We've already incorporated the new Jackson version (#13817) for the next release. We should probably consider patching the 2.14 release if this is as serious as it looks.

I will backport the 2.17.1 bump to 2.14.x and we could decide if patch release is necessary taking into account that 2.15.0 is pretty close

Hi @reta @andrross ,
With 2.15.0 having the freeze date on 2024/06/07 (this Friday), do you guys think it would be the best to release 2.15.0 directly? Any arguments to have a 2.14.1 release now as it could take equally or just a bit less amount of time.
Also syncing @elfisher @Pallavi-AWS @getsaurabh02 into the conversation as we need to decide on this quick. Thanks!

Hi @reta @andrross ,
With 2.15.0 having the freeze date on 2024/06/07 (this Friday), do you guys think it would be the best to release 2.15.0 directly? Any arguments to have a 2.14.1 release now as it could take equally or just a bit less amount of time.
Also syncing @elfisher @Pallavi-AWS @getsaurabh02 into the conversation as we need to decide on this quick. Thanks!

If releasing 2.14.1 would take significant bandwidth, we can go with 2.15 directly and make sure that releases on time with all fixes included.

After upgrade jackson-core to 2.17.1 on OpenSearch 2.14.0. JVM seemed normal now.

I agree. If there's no urgent need, considering it's likely a dependency issue rather than the code itself, upgrading to version 2.15 directly should be an option. We're only a few days away from the code freeze.

Added label to move the fix to 2.15.0 release.
Based on the suggestions we will not release 2.14.1 for now.
Thanks.

[Triage - attendees 1 2 3 4 5 6 7]
@artemus717 Thanks for creating this issue


Remove defaultcomponents and add components inline in tests, and remove include_core flag in builder

Description:
This is a draft PR to remove defaultcomponents from tests, add components inline in tests, and deprecate/remove the include_core flag in builder. Please refer to PR # 4087 in otel-collector upstream.
Link to tracking Issue:
Issue # 3927

closing PR, merged upstream


Issue86

I have worked on #86  as discussed for language code. Please have a look.

In this pull request I also tested all the modified functionality by running the test cases as well and changes are working fine for me.


Add the ASCL repository to the dashboard

Met Alice Allen, an editor for the Astrophysics Source Code Library. She would love to see her trove of research software catalogued in the dashboard. It's about 1200 repositories, so it'll be nice to have. The API isn't too search friendly (you can only grab by modified time stamps essentially), so she was kind enough to actually email me the entire existing dataset in JSON.
we'll have to talk about how and where we want to persist that data, and query against it. But I would definitely love to see this added in. Any thoughts, feel free to discuss

@lukecoy How is the data formatted (one file, multiple files, in a directory structure)? Is it all metadata with links to actual code? Also, how large is the entire thing?

it's not big. about 1300 entries.

happy to report that I have a fts (full text searchable) instance of sqlite running, with all of the data appropriately formatted. super cool.


Parent folder does not exist: \tmp\kafka-retry-cache

windows 7  exception  when  kafka-clj.client/create-connector
CompilerException java.io.IOError: java.io.IOException:
Parent folder does not exist: \tmp\kafka-retry-cache,
compiling:(kafkaproducer.clj:9:8)

(def c (create-connector [{:host "api.baidu.com" :port 9090}] {:flush-on-write true :retry-cache-file (clojure.java.io/file (str (System/getProperty "java.io.tmpdir") (System/nanoTime)))}))
now is ok

great catch, its been years since I worked with windows and sort off just accept /tmp/ exists :)
could you make a PR for this?
thanks!

fixed in https://github.com/gerritjvv/kafka-fast/pull/44


Update feature-gates.md with v1.15 release

Update feature_gates.md with v.1.15 release.
Source:

https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apiserver/pkg/features/kube_features.go
https://github.com/kubernetes/kubernetes/blob/master/pkg/features/kube_features.go

/assign @cody-clark

Awesome job.
/lgtm
/approve